Commit graph

128 commits

Author SHA1 Message Date
Blake McAnally
b011cbde42 Create dedicated data layer types for querying and updating CoreData 2024-07-10 16:03:38 -05:00
Garth Vander Houwen
71d0ff535a Clear database when changeing device 2024-07-09 08:47:21 -07:00
Garth Vander Houwen
512f6b8c9e assorted backup fixes 2024-06-26 15:12:24 -07:00
Garth Vander Houwen
fd90d26acd use replace instead of migrate 2024-06-26 09:31:37 -07:00
Garth Vander Houwen
9d964f1614 Backup and restore database 2024-06-25 21:44:11 -07:00
Garth Vander Houwen
4b42bc257d Connect view cleanup 2024-06-25 18:55:43 -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
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Garth Vander Houwen
51929b3a35 Swiftlint fixes 2024-06-02 18:32:14 -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
52c5adb7ec Merge changes 2024-05-01 19:39:32 -07:00
Garth Vander Houwen
04fef0cba9 Get out of disconnect loop 2024-04-30 12:26:57 -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
7e67532f24 Add power off to connect context menu 2024-04-20 23:37:14 -07:00
Garth Vander Houwen
50f2ce5ece Allow cancelling the timer connection 2024-04-13 09:46:13 -07:00
Garth Vander Houwen
c1cfda67a6
Merge pull request #586 from daviesgeek/2.3.4_Working_Changes
Fix bug where MQTT was showing connected even if down/up was not enabled
2024-04-08 09:46:43 -07:00
Garth Vander Houwen
a80502484e Stop reseting app settings when connecting a new device as fixed position as been refactored.
Make trace route positions be 24 hours
2024-04-08 08:21:37 -07:00
Matthew Davies
f40f934551
Add mqtt connected indicator & topic to connect screen 2024-04-06 16:09:08 -07:00
Matthew Davies
3219ab6982
Better mqtt status icons, including up/down icons 2024-04-03 14:52:41 -07:00
Garth Vander Houwen
50add85292 Tighten up node list
Add m to dBm on lora config
New reverse geocoded nearby mqtt topics
2024-03-13 05:52:31 -07:00
Garth Vander Houwen
524103f5ec Try and make temp have even less digits, make another attempt at clearing the database with less crashing 2024-02-16 10:01:08 -08:00
Garth Vander Houwen
36f7ae16c6 Go nuclear on the core data database, delete the data, destroy it and then reset the context. Somehow this does not crash. 2024-02-15 19:57:26 -08:00
Garth Vander Houwen
3f4f493d69 Try and reduce device switching crashing a bit 2024-02-12 22:31:03 -08:00
Garth Vander Houwen
48ef2e656c Add node info broadcast interval 2024-02-12 22:09:22 -08:00
Garth Vander Houwen
03e3bb2f46 Update logic when switching devices 2024-02-04 21:46:11 -08:00
Garth Vander Houwen
61768bee9b Consistent checks for context 2024-01-14 11:25:00 -08:00
Garth Vander Houwen
fc0e152455 Tips and empty content views 2023-09-15 18:40:52 -07:00
Garth Vander Houwen
3658aacbe1 Assorted ios 17 updates and live activity cleanup 2023-09-07 16:26:25 -07:00
Garth Vander Houwen
f3fb06caa9 Import activitykit 2023-09-06 20:56:08 -07:00
Garth Vander Houwen
c75ca8ad5a
Merge branch 'main' into iOS17_Working_Changes 2023-09-05 21:53:42 -07:00
Garth Vander Houwen
06f39d40f2 Remove another circletext parameter 2023-09-02 18:02:51 -07:00
Garth Vander Houwen
b6cfd07000 Question everything 2023-09-02 17:37:35 -07:00
Garth Vander Houwen
42cc9725b2 Simplify circle text so they are all consistant 2023-09-01 00:22:30 -07:00
Garth Vander Houwen
7a1c20dbb9 Tips 2023-08-31 22:39:51 -07:00
Garth Vander Houwen
a990d7f2bd Lint 2023-08-26 23:17:30 -07:00
Garth Vander Houwen
c15b1b9454 Bump version, set minimum version to 16.2 2023-08-22 11:15:14 -07:00
Garth Vander Houwen
0231e110fb Update Mqtt proxy indicator on Bluetooth view to actually work. 2023-08-15 18:45:47 -07:00
Garth Vander Houwen
119043bc06 Clean up MQTT Connection indicator 2023-08-15 08:48:32 -07:00
Garth Vander Houwen
c7d74f85ae Updated Protos
Change battery line type on device metrics chart
Clean up buttons
Update circle text to handle large 4 character short names.
2023-08-11 07:10:22 -07:00
Garth Vander Houwen
6cd2fdfdb9 Fix some bugs, update protos, remove deprecated and duplicate my info fields. 2023-06-07 17:19:36 -07:00
Garth Vander Houwen
255e10bbe5 * New Tile Server
* More Emoji
* Signal Strength indicators for lora
* Restrict tile overlays to zoom levels
2023-05-10 13:44:27 -07:00
Garth Vander Houwen
3b76207247 Improved localization helper for strings 2023-05-05 09:27:24 -07:00
Garth Vander Houwen
c27798d036 Delete parallel user settings structure 2023-04-26 09:19:45 -07:00
Garth Vander Houwen
7e429b79eb Ringtone cleanup, translation strings 2023-03-26 09:46:51 -07:00
Garth Vander Houwen
cfa4c03faa Move notification check to init
Clean up initial map centering
2023-03-26 09:08:08 -07:00
Garth Vander Houwen
147721dfdf Fix battery level bug on live activity
Restrict node history to the current day
2023-03-22 09:58:46 -07:00
Garth Vander Houwen
c0586f71e3 Don't disconnect after oat reboot message
Sort BLE devices alphabetically by name
2023-03-16 17:46:44 -07:00
Garth Vander Houwen
c5d6790bc6 Star for preferred peripheral 2023-03-14 20:45:09 -07:00