Commit graph

54 commits

Author SHA1 Message Date
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
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
d9547c4362 little feets 2024-08-04 15:53:59 -07:00
Garth Vander Houwen
f24a14bd19 Sort Descriptors 2024-08-03 07:02:51 -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
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
787bf4ed38 Node filter for environment nodes 2024-07-12 01:28:56 -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
a8399f6148 Swiftlint updates 2024-06-28 19:41:17 -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
b73b3864ea Delete admin message list 2024-06-23 12:25:08 -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
58e7a53c30 1000 node mesh map limit 2024-05-28 12:47:06 -07:00
Garth Vander Houwen
33d8f6bc1a add back other core data filters 2024-05-28 12:39:30 -07:00
Garth Vander Houwen
ba35e08309 Take off mesh map node limits, reduce max font size for circle text 2024-05-28 12:33:49 -07:00
Garth Vander Houwen
0b855a08bf Check node num length before making a new node info or user core data object 2024-05-26 12:15:50 -07:00
Garth Vander Houwen
60831f6e75 Mute channels 2024-04-30 11:09:04 -07:00
Garth Vander Houwen
59b9fa9581 Button to request updated device metadata for admin channels 2024-04-15 17:31:53 -07:00
Garth Vander Houwen
8a214d93eb Contact list filters 2024-04-02 11:16:32 -07:00
Garth Vander Houwen
78c0bca781 Add favorite and distance filter to the node list 2024-04-02 06:17:03 -07:00
Garth Vander Houwen
52c52ae1e6 100 node limit on the node map, remove 2500 mile distance filter 2024-03-31 12:38:17 -07:00
Garth Vander Houwen
6a7baf1ebe Add back 48 hour filter to the mesh map, add admin channel tip 2024-03-28 08:39:34 -07:00
Garth Vander Houwen
7c022813a2 Fixed position updates 2024-03-27 16:06:24 -07:00
Garth Vander Houwen
496451c15c Add node filters 2024-03-26 07:54:16 -07:00
Garth Vander Houwen
7eb6659c0c Move fetch requests to mapcontent 2024-03-25 15:21:38 -07:00
Garth Vander Houwen
d768eb64e9 Dont allow json and the client proxy, max position request of 300 for the mesh map 2024-03-24 22:31:47 -07:00
Garth Vander Houwen
554fe9a3ca Node distance filter for the mesh map 2024-03-24 22:23:55 -07:00
Garth Vander Houwen
6be729305d All positions query updates 2024-03-24 13:13:05 -07:00
Garth Vander Houwen
e9e886e5bc Filter out far away positions on the node map 2024-03-24 11:45:49 -07:00
Garth Vander Houwen
03a210e415 Get the last 50 nodes seen for the mesh map, zoom much closer by default, only show nodes from the last 48 hours on the mesh map 2024-03-23 18:22:10 -07:00
Garth Vander Houwen
7d00a5882b Try and use less ram on the mesh map 2024-03-23 18:01:20 -07:00
Garth Vander Houwen
02cca19f26 Assorted updates 2024-03-23 09:01:44 -07:00
Garth Vander Houwen
505e1128ed Complete pax counter log 2024-02-25 21:40:25 -08:00
Austin Payne
bb0acba742 improvement: dedupe canRetry definition 2024-02-17 14:10:25 -07:00
Garth Vander Houwen
aba2c9bece Add store and forward router bool 2024-02-10 17:43:01 -08:00
Garth Vander Houwen
5dd805cb2d Method to create empty node info 2024-01-16 08:55:23 -08:00
Garth Vander Houwen
ee6afcc0cb Updated GPS view for ios 17 2023-12-22 08:25:59 -08:00
Garth Vander Houwen
bd5191ccd2 Initial trace route log 2023-12-08 11:41:29 -08:00