Commit graph

136 commits

Author SHA1 Message Date
Garth Vander Houwen
f0838eace9 Update trace route list, only show traceroute icon if there are responses, temp layout test 2024-10-13 09:20:05 -07:00
Garth Vander Houwen
bb5320035b Fix potential traceroute position crashes 2024-09-29 10:25:37 -07:00
Garth Vander Houwen
5024272c0b Split trace route text into to and fro 2024-09-26 16:48:18 -07:00
Garth Vander Houwen
09bd3059d7 Imporoved length validation 2024-09-22 07:49:55 -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
f757909aa4 remove local stats call 2024-08-26 22:53:12 -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
25f8e424ed Sync up isonline with the firmware add local stats extension 2024-08-25 10:08:32 -07:00
Garth Vander Houwen
4361a082c5 Sync up online timeframes with the stats at seen in the last 2 hours 2024-08-25 09:50:01 -07:00
Garth Vander Houwen
2bbaada3cc
Merge branch 'main' into pki 2024-08-19 16:06:23 -07:00
Garth Vander Houwen
dee96175bf Update admin drop down 2024-08-18 17:15:55 -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
b260b644e4 Fix node list battery level update bug 2024-08-17 15:31:35 -07:00
Garth Vander Houwen
e7f6402e51 Hook ack errors up to the canRetry bool 2024-08-16 09:38:09 -07:00
Garth Vander Houwen
affdd39542 Add onFirstAppear extension 2024-08-14 03:10:12 -07:00
Garth Vander Houwen
ee2313ff0d Throw out any time that is off by more than 10 seconds in either direction and use now for message timestamp 2024-08-08 19:17:05 -07:00
Garth Vander Houwen
f4bcad2c68 Linting fixes 2024-08-04 21:42:02 -07:00
Garth Vander Houwen
440f3b3494 Add device metrics chart for ios 16 2024-08-04 20:31:12 -07:00
Garth Vander Houwen
d9547c4362 little feets 2024-08-04 15:53:59 -07:00
Garth Vander Houwen
257ec71a93 True bearing for the node list 2024-08-04 13:13:02 -07:00
Garth Vander Houwen
f24a14bd19 Sort Descriptors 2024-08-03 07:02:51 -07:00
Garth Vander Houwen
1b77513b2f Remove broken MB tiles funcitionality 2024-08-01 08:00:27 -07:00
Garth Vander Houwen
33978592d3 Remove lightly used receivedTimestamp 2024-07-31 20:56:09 -07:00
ChDel
3032a4d4de Changes to support iOS 18 Beta 2024-07-31 18:11:15 -05:00
Garth Vander Houwen
5eea9ea87c Node num details 2024-07-17 00:20:35 -07:00
Blake McAnally
fcbdaaf01f Extract some magic numbers to named constants with some documentation 2024-07-16 16:31:25 -05:00
Garth Vander Houwen
4a8941242c
Merge branch 'main' into swiftlint-autocorrect 2024-07-16 09:14:37 -07:00
Blake McAnally
9fb3eedb9e Prune several duplicate images from the asset catalog, and update to use single scale assets for most cases 2024-07-15 22:48:26 -05:00
Garth Vander Houwen
c779461c5d Set right default for weather kit setting 2024-07-13 08:06:10 -07:00
Garth Vander Houwen
787bf4ed38 Node filter for environment nodes 2024-07-12 01:28:56 -07:00
Garth Vander Houwen
2a5cb7bf77 Cleanup 2024-07-12 00:24:09 -07:00
Garth Vander Houwen
4bfd70bf3b Environment display for sensor data 2024-07-11 23:52:35 -07:00
Garth Vander Houwen
796c1abb31 Weatherkit widgets 2024-07-11 08:42:27 -07:00
Blake McAnally
964d08098b Run swiftlint --fix over the project 2024-07-09 20:03:40 -05:00
Garth Vander Houwen
509037c102 Remove extra space 2024-06-28 22:07:52 -07:00
Garth Vander Houwen
a8399f6148 Swiftlint updates 2024-06-28 19:41:17 -07:00
Garth Vander Houwen
9f1b3975f8 Use indigo for debug color, clean up filters 2024-06-28 19:30:12 -07:00
Garth Vander Houwen
d0d383f5ce Colorful logs 2024-06-28 18:21:54 -07: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
2b0cb11ee5 Better emoji for dark mode 2024-06-23 19:28:12 -07:00
Garth Vander Houwen
fc97247b8c Logging and linting 2024-06-23 16:11:02 -07:00
Garth Vander Houwen
12e090059d Backup database functionality 2024-06-23 13:00:20 -07:00
Garth Vander Houwen
b73b3864ea Delete admin message list 2024-06-23 12:25:08 -07:00
Garth Vander Houwen
f7a9345b4e Update client proxy logging 2024-06-23 08:06:59 -07:00
Garth Vander Houwen
26e785926f OS Log Viewer, device serial log over BLE 2024-06-23 07:09:14 -07:00
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -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
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
58e7a53c30 1000 node mesh map limit 2024-05-28 12:47:06 -07:00