Commit graph

94 commits

Author SHA1 Message Date
Garth Vander Houwen
b66843b48d Set distance back again 2024-10-11 18:21:33 -07:00
Garth Vander Houwen
cba23fea61 Fix map zoom level 2024-10-06 15:00:21 -07:00
Garth Vander Houwen
d7e887dd63 Update onchange events 2024-10-06 08:50:12 -07:00
Garth Vander Houwen
3dcec505ff linter updates 2024-10-05 16:35:42 -07:00
Garth Vander Houwen
a4d5aefca3 Bossy linter 2024-10-05 15:50:57 -07:00
Garth Vander Houwen
d477de80c2 Remove ios 16 conditions 2024-10-05 10:44:46 -07:00
Garth Vander Houwen
4a5c728978 Merge branch 'main'
#Conflicts:
#	Meshtastic/AppIntents/MessageChannelIntent.swift
#	Meshtastic/Views/Settings/Config/DeviceConfig.swift
2024-10-05 10:04:19 -07:00
Garth Vander Houwen
e1ec14db2c Upgrade to ios 17 2024-10-04 19:36:30 -07:00
Garth Vander Houwen
25143ddf75 while 2024-09-22 08:03:18 -07:00
Garth Vander Houwen
10751e374c Dont be dumb 2024-09-06 09:23:54 -07:00
Garth Vander Houwen
8954b21faa stop unwrapping nuilable positon 2024-09-06 09:21:40 -07:00
Garth Vander Houwen
5fbb4ecec9 Clean up waypoint form 2024-09-03 07:12:15 -07:00
Garth Vander Houwen
01e303d74b Add a button to drop a pin for a waypoints in maps 2024-09-02 21:35:01 -07:00
Garth Vander Houwen
fa872a9d22 Assorted cleanup 2024-08-23 20:10:57 -07:00
Garth Vander Houwen
bb4967fbf4 Use new set time method after want config is complete 2024-08-17 13:12:13 -07:00
Garth Vander Houwen
81084976db Hops away for position popower 2024-08-16 10:44:56 -07:00
Garth Vander Houwen
d9547c4362 little feets 2024-08-04 15:53:59 -07:00
Garth Vander Houwen
78df35cae4 Sheet improvements 2024-07-17 21:43:06 -07:00
Garth Vander Houwen
233518ebbf
Merge branch 'main' into app-routing 2024-07-17 09:15:46 -07:00
Garth Vander Houwen
4a8941242c
Merge branch 'main' into swiftlint-autocorrect 2024-07-16 09:14:37 -07: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
3a746af27e Refactor the apps routing structure to enable app-wide navigation through a Router to improve how deep link URLs are handled 2024-07-15 15:57:42 -05:00
Garth Vander Houwen
eadb5d0c66 set initial position further out 2024-07-09 18:34:40 -07:00
Blake McAnally
964d08098b Run swiftlint --fix over the project 2024-07-09 20:03:40 -05:00
Garth Vander Houwen
2a7752c0b8 fix app log version discrepancy 2024-07-07 14:11:29 -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
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Garth Vander Houwen
84fb8c9b60 Hook position popower back up on the mesh map 2024-06-02 23:53:26 -07:00
Garth Vander Houwen
51929b3a35 Swiftlint fixes 2024-06-02 18:32:14 -07:00
Garth Vander Houwen
a2233cddba Merge remote-tracking branch 'refs/remotes/origin/2.3.10_Working_Changes' 2024-06-01 23:02:19 -07:00
Garth Vander Houwen
187acc7466 Update protobufs, tag for map circle 2024-06-01 23:02:06 -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
3046361dd0 Assorted changes 2024-05-24 18:15:53 -07:00
Garth Vander Houwen
0997cc7dba Cleanup 2024-05-14 23:07:09 -07:00
Garth Vander Houwen
8bcf40f543 Deep Links
Updated position precision
2024-05-06 23:03:51 -07:00
Garth Vander Houwen
70fb1eb8d8 Don't add channels with the same name
Add additional precision options
2024-05-05 08:38:27 -07:00
Garth Vander Houwen
9beccc1639 fix delete waypoint bugs 2024-04-08 10:59:38 -07:00
Garth Vander Houwen
aa08f2ff33 Drop the last character for string length validation, bump version 2024-04-04 09:39:03 -07:00
Garth Vander Houwen
8a214d93eb Contact list filters 2024-04-02 11:16:32 -07:00
Garth Vander Houwen
d64acccc3e Remove VIP, clean up add channel method 2024-04-01 10:51:06 -07:00
Garth Vander Houwen
f38e61b0b2 Hook up favorites, clean up admin dropdown list 2024-03-29 14:37:09 -07:00
Garth Vander Houwen
170ec3b88b Fix node map display bug 2024-03-29 10:54:30 -07:00
Garth Vander Houwen
1162a7ef44 Show firmware version for remotely administered nodes on the node deails. Don't show the delete waypoint button if you are not conneced to a node 2024-03-28 16:14:57 -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
4d584f64c9 Flat the map by default so precision circles are prettier 2024-03-27 16:30:58 -07:00
Garth Vander Houwen
496451c15c Add node filters 2024-03-26 07:54:16 -07:00
Garth Vander Houwen
525b1b2509 More map cleanup 2024-03-25 19:20:36 -07:00
Garth Vander Houwen
80103ebda2 Revert user default updates, move everything to the map settings form 2024-03-25 18:43:03 -07:00
Garth Vander Houwen
7eb6659c0c Move fetch requests to mapcontent 2024-03-25 15:21:38 -07:00