Commit graph

338 commits

Author SHA1 Message Date
Garth Vander Houwen
affdd39542 Add onFirstAppear extension 2024-08-14 03:10:12 -07:00
Garth Vander Houwen
5087430f02 Bump firmware version, remove outdated ble pairing information for factory reset 2024-08-13 16:44:29 -07:00
Garth Vander Houwen
6926d857ff Add secure input view to handle key inputs 2024-08-12 14:42:47 -07:00
Garth Vander Houwen
6c6b44fdaa Simplify change events to not force unwrap values 2024-08-11 21:20:10 -07:00
Garth Vander Houwen
c0fd6cbf94 Security config details, scroll dismisses keyboard,font size updates for keys 2024-08-11 20:50:48 -07:00
Garth Vander Houwen
6f0fe8fd6f Clean up change events 2024-08-11 17:31:27 -07:00
Garth Vander Houwen
3786bf5e1f New plan 2024-08-11 10:04:17 -07:00
Garth Vander Houwen
cbfde743af Clean up save button display 2024-08-11 09:59:52 -07:00
Garth Vander Houwen
c6298f785c Standardize onAppear for settings that support admin messages 2024-08-11 09:07:22 -07:00
Garth Vander Houwen
3acca7ddcb Set saved values 2024-08-11 08:09:00 -07:00
Garth Vander Houwen
aeb69e14cc simplify bool onchange 2024-08-10 07:05:09 -07:00
Garth Vander Houwen
a274d6fcf8 Update protos 2024-08-08 10:39:45 -07:00
Garth Vander Houwen
9f99980534 initial security config proto mockup 2024-08-08 07:33:31 -07:00
Garth Vander Houwen
3f139244e1 Initial security config setup 2024-08-07 09:43:48 -07:00
Garth Vander Houwen
233518ebbf
Merge branch 'main' into app-routing 2024-07-17 09:15:46 -07:00
Ben Meadors
5d59500d45 30 2024-07-16 11:28:55 -05:00
Ben Meadors
59f3e719d9 Update default intervals 2024-07-16 11:27:58 -05:00
Blake McAnally
fbf059be6a Refactor BLEManager.context setting on all the views, and just do that at the app root instead 2024-07-15 15:57:44 -05:00
Blake McAnally
58da532d32 Extract the generated protobufs into its own Swift package
This change modifies the process for generating and integrating the Meshtastic protobufs into the client application.

* The generated Swift code is now in a local SPM package `MeshtasticProtobufs`
* An Xcode Workspace file `Meshtastic.xcworkspace` was created to more easily manage the new build targets.
* The code generation script for the protos was modified to generate the Swift code into the new location.
* The README.md was updated to reflect these changes.

NOTE: After merging this PR, do not open the project file `Meshtastic.xcodeproj`. You must use the workspace `Meshtastic.xcworkspace`

Extracting out the generated protobuf code into its own library enables several opportunities for the project. This is just a first step, but with some more modularization, a standalone Apple Watch app or other targets starts to become a little bit more achievable to implement.

After extracting the protobufs into a Swift package, I validate these changes by building and running the Meshtastic app to an iPhone 15 Pro Max, and tried changing some settings on a local node. I then messaged back and forth using two local nodes connected to two different iOS devices.
2024-06-28 11:11:01 -05:00
Garth Vander Houwen
fc97247b8c Logging and linting 2024-06-23 16:11:02 -07:00
Garth Vander Houwen
d6f5c77b1a position config 2024-06-23 14:40:28 -07:00
Garth Vander Houwen
6930d87275 Add device logging config, update protobufs 2024-06-23 07:36:03 -07:00
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Garth Vander Houwen
6c1e28d94a Core data updates 2024-06-02 09:45:56 -07:00
Blake McAnally
4c7cd0d923 Adopt OSLog for logging and replace the majority of calls to print() 2024-06-01 11:30:29 -05:00
Garth Vander Houwen
fe82f1c3df
Merge branch '2.3.10_Working_Changes' into main 2024-06-01 07:30:50 -07:00
Garth Vander Houwen
7341d0b32a Fix nag timeout dropdown
Fix up circle text view
2024-05-31 20:25:37 -07:00
Blake McAnally
4d547e48db This change fixes several lint errors throughout the project, and moves the SwiftLint build phase to before compilation.
After this change, a developer can now clone the project and run without the build failing due to lint errors! 😃

* I ran `swiftlint --fix` to resolve many auto-correctable issues (mostly whitespace)
* Excluded the `Meshtastic/Protobufs` directory from lint, since that code is automatically generated.
* Converted some single letter method parameters to lowercase.
* Converted several instances `force_cast` to instead use `guard` or `if let` to unwrap optional values. During this change, some of the SwiftUI views became "too complex to be solved in a reasonable time", so I broke up the views into distinct sub-expressions.

I was able to build and run the app on an iOS simulator.
2024-05-31 21:48:50 -05:00
Garth Vander Houwen
8e07453afd Hid fixed postion checkbox if managing a node over the admin channel 2024-05-11 10:50:58 -07:00
Garth Vander Houwen
08ea85d717 Re order gps mode toggle
add additional position precision options
Updated fixed postion text
2024-05-04 16:03:38 -07:00
Garth Vander Houwen
a27ab21101 Remove extra log 2024-05-04 14:46:42 -07:00
Garth Vander Houwen
cd0ee611eb Remove positions when removing fixed position 2024-05-04 14:27:31 -07:00
Garth Vander Houwen
016a3b748f Clean up fixed position logging 2024-05-04 13:57:35 -07:00
Garth Vander Houwen
da75837bdc Set Timezone properly on load
break device name if it is too long
2024-05-04 13:02:47 -07:00
Garth Vander Houwen
52c5adb7ec Merge changes 2024-05-01 19:39:32 -07:00
Garth Vander Houwen
5869a27369 Mute all channel message notifications 2024-04-26 18:06:23 -07:00
Garth Vander Houwen
d780f103ad Set provide location default to 30 seconds
Don't delete routes unless doing a factory reset
Close route recorder modal when finished
2024-04-21 20:36:29 -07:00
Garth Vander Houwen
5299e75f60 Compact mqtt popover 2024-04-11 19:30:05 -07:00
Garth Vander Houwen
110c9dad4a Multiline timezone field
handle nil in firmware web methods
2024-04-09 13:04:09 -07:00
Garth Vander Houwen
8156777fea Timezone 2024-04-08 11:41:54 -07:00
Garth Vander Houwen
7a06a0dbba Merge remote-tracking branch 'refs/remotes/origin/2.3.4_Working_Changes' 2024-04-05 17:14:19 -07:00
Garth Vander Houwen
b5e621df89 Show mqtt errors for the client proxy 2024-04-05 17:14:04 -07:00
Garth Vander Houwen
b050e39a45
Merge pull request #583 from daviesgeek/update-mqtt-status-icons
Better mqtt status icons, including up/down icons
2024-04-04 17:52:36 -07:00
Garth Vander Houwen
aa08f2ff33 Drop the last character for string length validation, bump version 2024-04-04 09:39:03 -07:00
Matthew Davies
3219ab6982
Better mqtt status icons, including up/down icons 2024-04-03 14:52:41 -07:00
Matthew Davies
9aa0a2c7a5
Add mqtt status in mqtt config settings screen 2024-03-29 15:19:06 -07:00
Garth Vander Houwen
3bd5c9c003
Merge pull request #571 from ChDel/2.3.2_Working_Changes
Fixing UserDefault wrapper crashing with enums
2024-03-27 16:30:27 -07:00
Garth Vander Houwen
7c022813a2 Fixed position updates 2024-03-27 16:06:24 -07:00
Christophe Delhaze
1aa5d21226
Merge branch 'meshtastic:2.3.2_Working_Changes' into 2.3.2_Working_Changes 2024-03-27 15:11:24 -07:00
Garth Vander Houwen
1c9d9b65b5 Hook up ui for new fixed position set and remove admin messages. 2024-03-26 23:36:11 -07:00