Commit graph

358 commits

Author SHA1 Message Date
Garth Vander Houwen
adab69dab7 Default precision of 14 2024-09-08 11:10:58 -07:00
Garth Vander Houwen
4f813c12d3 Clean up precision ranges for locations on the map report and public key 2024-09-06 17:05:25 -07:00
Garth Vander Houwen
d0e10ef330 Finish up the admin, make the admin dropdown a navigationlink so you can read the full long name 2024-09-05 19:31:29 -07:00
Garth Vander Houwen
6e6027263a Log node info packet json 2024-09-05 10:39:54 -07:00
Garth Vander Houwen
44d65d8185 Additional config sections 2024-09-04 10:27:06 -07:00
Garth Vander Houwen
a4fe551e03 Update several config sections to use the new pki admin structures 2024-09-04 10:06:34 -07:00
Garth Vander Houwen
9d911a8d2c hook up session passkey to bluetooth config 2024-09-03 18:01:32 -07:00
Garth Vander Houwen
d3a7de2f76 Seperate apps settings and data clearing, update logic for online nodes text 2024-08-25 23:02:43 -07:00
Garth Vander Houwen
55c90a815c Add some text for the new admin channel settings, show missing ack text 2024-08-23 19:49:06 -07:00
Garth Vander Houwen
eb3efd88ad fix return statement 2024-08-20 07:40:20 -07:00
Garth Vander Houwen
b8861c0e0f Fix weird validation bug 2024-08-20 07:33:29 -07:00
Garth Vander Houwen
e2f223b30a Initial validation 2024-08-19 21:50:28 -07:00
Garth Vander Houwen
2bbaada3cc
Merge branch 'main' into pki 2024-08-19 16:06:23 -07:00
Garth Vander Houwen
10157ed547 Update admin node list sort to be less infurating 2024-08-19 00:27:26 -07:00
Garth Vander Houwen
8b2bc246dd Add change events for all keys 2024-08-18 11:43:42 -07:00
Garth Vander Houwen
aad3bd4f89 Pass keys around better 2024-08-18 11:39:41 -07:00
Garth Vander Houwen
9b50626ebe Clean up admin drop down 2024-08-18 10:00:15 -07:00
Garth Vander Houwen
45d4cb64f5 Allow saving of admin key 2024-08-18 08:44:33 -07:00
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
56b75cbd3c Match the firmware and do 3 decimal points for decimals 2024-08-10 12:30:33 -07:00
Garth Vander Houwen
aeb69e14cc simplify bool onchange 2024-08-10 07:05:09 -07:00
Garth Vander Houwen
f6c95fe328 Add ledheartbeat change event 2024-08-08 12:16:14 -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