Commit graph

75 commits

Author SHA1 Message Date
Garth Vander Houwen
5b060f9aa5
2.7.2 Working Changes (#1397)
* Bump version

* iOS 26 styled keyboard toolbar
Update tips backgrounds

* Link the logo to the about page

* Remove double logo on node list, update scary location log message, update tls toggle visibility and keyboard scroll dismiss on mqtt config

* Remove redundant colorScheme check
2025-09-13 14:13:20 -07:00
Benjamin Faershtein
9649b8461b
Overriding frequenccy is now exportable (#1373) 2025-09-07 16:04:25 -07:00
Garth Vander Houwen
026bb80fba
Transports Interface to Support TCP for all Platforms and Serial on Mac (#1341)
* Initial implementation of transports

* Initial LogRadio implementation

* Fixes for Settings view (caused by debug commenting)

* Refinement of the object and actor model

* Connect view text and tab updates

* Fix mac catalyst and tests

* Warning and logging clean-up

* In progress commit

* Serial Transport and Reconnect draft work

* Serial transport and reconnection draft work

* Quick fix for BLE - still more work to do

* interim commit

* More in progress changes

* Minor improvements

* Pretty good initial implementation

* Bump version beyond the app store

* Fix for disconnection swipeAction

* Tweaks to TCPConnection implementation

* Retry for NONCE_ONLY_DB

* Revert json string change

* Simplified some of the API + "Anti-discovery"

* Tweaks for devices leaving the discovery process

* Bump version

* iOS26 Tweaks

* Tweaks and bug fixes

* Add link with slash sf symbol

* update symbol image on connect view

* BLE disconnect handling

* Log privacy attributes

* Onboarding and minor fixes.

* change database to nodes, add emoji to tcp logs

* Error handling improvements

* More logging emojis

* Suppressed unnecessary errors on disconnect

* Heartbeat emoji

* Add bluetooth symbol

* add privacy attributes to [TCP] logs, add custom bluetooth logo

* Improve routing logs

* Emoji for connect logs

* Heartbeat emoji

* Add CBCentralManagerScanOptionAllowDuplicatesKey options to central for bluetooth

* fix nav errors by switching from observableobject to state

* Update connection indicator icon

* fix for BLE disconnects

* Connection process fixes

* More fixes/tweaks to connection process

* Strict concurrency

* Fix some warnings, remove wifi warning

* delete stale keys

* interim commit

* Update privacy for log, fix wrong space

* fix a couple of linting items

* Switch to targeted

* interim commit

* BLE Signal strenth on connect view

* Remove BLE RSSI from long press menu

* Modem lights

* minor spacing tweak

* Additional BLE logging and a scanning fix.

* Discovery and BLE RSSI improvements

* Background suspension

* Update isConnected to enable UI during db load

* update protobufs

* Replace config if statements with switches, Fix unknown module config logging, make dark mode modem circle stroke color white so they are visible

* Additional logging cleanup

* hast

* Set unmessagable to true if the longname has the unmessagable emoji

* Connect error handling improvements

* Admin popup list icon and activity lights updates

* Revert use of .toolbar back to .navigationBarItems

* More public logging

* Better BLE error handling

* Node DB progress meter

* minor tweak to activity light interaction timing

* Fix comment linting, remove stale keys

* Remove stale keys

* Easy linting fixes

* Two more simple linting fixes

* clean up meshtasticapp

* More public logging

* Replay config

* Logging

* Fix for unselected node on Settings

* Tweak to progress meter based on device idiom

* Update protos

* Session replay redaction of messages

* Serial fix for old devices, and a let statement

* Mask text too

* Fix typo

* BLE poweredOff is now an auto-reconnectable error

* Update logging

* Fix for peerRemovedPairingInformation

* Logging for BLE peripheral:didUpdateValueFor errors.

* Fix for inconsistent swipe disconnect behavior

* periperal:didUpdateValueFor error handling

* Fix for BLEConnection continuation guarding

* BLEConnection actor deadlock on disconnect

* Heartbeat nonce

* Fix for swipe disconnect and task cancellation

* Fix for swipe actions not honoring .disabled()

* Tell BLETransport when BLEConnection is cancelled

* Update navigation logging

* Logging updates

* Bump version to 2.7.0

* Organize into folders and heartbeat stuff

* Minor improvements to manual TCP connection

* Auto-connect toggle

* Possible BLE bug, still waiting to see in logs

* Concurrency tweaks

* Concurrency improvements

* requestDeviceMetadata fix. fixes remote admin

* Minor typo fixes

* "All" button for log filters: category and level

* More robust continuation handling for BLE

* @FetchRequest based ChannelMessageList

* Update info.plist and device hardware file

* Move auto connect toggle to app settings and debug mode, tint properly with the accent color

* Add label to auto connect toggle

* Update log for node info received from ourselves over the mesh

* Remove unused scrollViewProxy

* Update Meshtastic/Views/Onboarding/DeviceOnboarding.swift

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update target for connect view

* Properly Set datadog environment

* Comment out ble manager

* Adjust cyclomatic complexity thresholds in .swiftlint.yml

* Linting fixes, delete ble manager

* Make session replay debug only

---------

Co-authored-by: jake-b <jake-b@users.noreply.github.com>
Co-authored-by: jake <jake@jakes-Mac-mini.local>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-27 08:09:02 -07:00
Garth Vander Houwen
bd88e1fdd3 Bump version, add channel help to settings channel update locks to be red only if precise location is being shared on an unencrypted channel 2025-06-22 20:19:42 -07:00
Garth Vander Houwen
097d910593
Update Meshtastic/Views/Settings/ShareChannels.swift
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-18 17:00:25 -07:00
Garth Vander Houwen
e0678258be Adjust key generation, clean up userid's 2025-06-18 16:44:21 -07:00
Garth Vander Houwen
5a75368394 lock.slash.fill 2025-06-15 20:29:47 -07:00
Garth Vander Houwen
27ed820045 Add locks to channels in messaging, update share channels icons to match 2025-06-15 20:23:42 -07:00
Garth Vander Houwen
70fa86ae32 Finish updating translation strings 2025-05-08 22:50:44 -07:00
Garth Vander Houwen
00a7d83c4d More translation keys, delete unused file 2025-04-27 11:26:23 -07:00
Garth Vander Houwen
c665026c37 Start removing localiazation keys 2025-02-15 09:40:55 -08: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
e1ec14db2c Upgrade to ios 17 2024-10-04 19:36:30 -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
Garth Vander Houwen
5c57d38ee6 Update channel url query string location and support both formats 2024-07-09 18:29:59 -07:00
Garth Vander Houwen
09dfc90266 Fix disable channel crash, use a switch to make generate qr code more readable 2024-07-07 09:40:06 -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
51929b3a35 Swiftlint fixes 2024-06-02 18:32:14 -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
a4c1fc4fe6 Remove up and downlink from QR codes
Open node details view from new node notification
Fix speed
Simple deep linking structure
2024-05-14 22:39:07 -07:00
Garth Vander Houwen
b5e621df89 Show mqtt errors for the client proxy 2024-04-05 17:14:04 -07:00
Garth Vander Houwen
1e6546ea72 New share channels tip 2024-04-04 15:25:02 -07:00
Garth Vander Houwen
2a38dbbb1c Wire up adding instead of replacing channels via qr code. 2024-04-02 23:43:00 -07:00
Garth Vander Houwen
6a41cf63be Put qr code experiment in place, fix up channel editor 2024-04-02 21:49:36 -07:00
Garth Vander Houwen
acc6eb017d Add ignoremqtt to qr code 2024-01-20 21:32:36 -08:00
Garth Vander Houwen
3a5f192ac1 Map annotation popover and convex hull! 2023-09-17 19:42:03 -07:00
Garth Vander Houwen
fc0e152455 Tips and empty content views 2023-09-15 18:40:52 -07:00
Garth Vander Houwen
c75ca8ad5a
Merge branch 'main' into iOS17_Working_Changes 2023-09-05 21:53:42 -07:00
Garth Vander Houwen
b6cfd07000 Question everything 2023-09-02 17:37:35 -07:00
Garth Vander Houwen
7a1c20dbb9 Tips 2023-08-31 22:39:51 -07:00
Garth Vander Houwen
93ffd8c72d Fix username on mqtt config save
Set mqtt.address character limit to 62
2023-03-24 10:35:54 -07:00
Garth Vander Houwen
9096dbc726 Map Cleanup
Allow qr code to share only secondary channels
2023-03-21 17:53:53 -07:00
Garth Vander Houwen
373aa9c511 Fix lint errors 2023-03-14 14:33:27 -07:00
Garth Vander Houwen
93006b258d Swift Lint 2023-03-14 12:44:10 -07:00
Garth Vander Houwen
65dde905f7 Add descriptive text for LoRa Config depending on state
Fix rx boosted gain toggle
Make a big hardware model enum
2023-03-11 09:26:52 -08:00
Garth Vander Houwen
05c00aeb20 Lint! 2023-03-06 13:26:04 -08:00
Garth Vander Houwen
fdade220de SwiftLint Whitespace fixes 2023-03-06 10:33:18 -08:00
Garth Vander Houwen
322edc9e0d Fix share channels crash 2023-02-12 20:11:50 -08:00
Garth Vander Houwen
3758e6007e Finish up waypoint form 2023-02-03 19:20:23 -08:00
Garth Vander Houwen
9f23ea3fea Additionally localized strings 2022-12-29 16:36:43 -08:00
Garth Vander Houwen
464b74a118 Channel Grid 2022-12-17 19:14:53 -08:00
Garth Vander Houwen
d9243f5a00 Add oled type override to display settings
Add button to close share channels help on mac
2022-12-11 14:14:08 -08:00
Garth Vander Houwen
b1166ef5ba Add dismiss button to help sheet on share channels 2022-12-09 19:15:15 -08:00
Garth Vander Houwen
cdc4288278 Multi channel and qr code fixes 2022-11-08 12:48:16 -08:00
Garth Vander Houwen
8de0336458 Break apart channel names for display 2022-11-06 18:05:10 -08:00
Garth Vander Houwen
238b2a78d1 Messaging cleanup 2022-11-05 08:26:27 -07:00
Garth Vander Houwen
03fd74f2cd Improved channel saving logic 2022-10-29 07:31:50 -07:00
Garth Vander Houwen
b03881798a Channel cleanup 2022-10-28 09:02:37 -07:00
Garth Vander Houwen
288b35d6fc QR Code fixes 2022-10-22 13:05:54 -07:00