Commit graph

230 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
7596294250 Remove channel list selection that is breaking ios18 2024-07-08 19:59:30 -07:00
Garth Vander Houwen
b9f36d8a05 Remove extra brackets 2024-07-02 10:18:42 -07:00
Garth Vander Houwen
54af67284b
Update Meshtastic/Views/Messages/UserList.swift
Co-authored-by: Blake McAnally <bwm003@gmail.com>
2024-07-02 08:01:13 -07:00
Garth Vander Houwen
33d1c6bbac Fix role query on user list 2024-06-29 19:25:14 -07:00
Garth Vander Houwen
8059f4332a Role Silders for user and node list filters 2024-06-29 19:13:48 -07:00
Garth Vander Houwen
236955900e Role filters 2024-06-29 16:19:56 -07:00
Garth Vander Houwen
b19109b7c7 role filter mockup 2024-06-29 16:05:54 -07:00
Blake McAnally
bc77834a86
Merge branch '2.3.12_Working_Changes' into fetch-request-api 2024-06-28 11:49:24 -05: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
Blake McAnally
a58c5d894b Refactor fetch requests to use the EntityName.fetchRequest() API to prevent unnecessary branching 2024-06-28 09:04:24 -05:00
Garth Vander Houwen
df87fb538d log updates 2024-06-24 07:24:24 -07:00
Garth Vander Houwen
847892d45d Log categories 2024-06-03 02:17:55 -07:00
Garth Vander Houwen
82a8336e35 Additional swift lint fixes 2024-06-02 20:13:40 -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
3046361dd0 Assorted changes 2024-05-24 18:15:53 -07:00
Garth Vander Houwen
dbc05605d6 Show alerts when app is in the foreground 2024-05-15 08:06:27 -07: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
8bcf40f543 Deep Links
Updated position precision
2024-05-06 23:03:51 -07:00
Garth Vander Houwen
52c5adb7ec Merge changes 2024-05-01 19:39:32 -07:00
Garth Vander Houwen
60831f6e75 Mute channels 2024-04-30 11:09:04 -07:00
Garth Vander Houwen
c6965b28ce Remove power values from environment metrics add a little space to the user info in channel messages 2024-04-27 18:55:51 -07:00
Garth Vander Houwen
5869a27369 Mute all channel message notifications 2024-04-26 18:06:23 -07:00
Garth Vander Houwen
a17c90a657 Remove the bang 2024-04-26 15:49:38 -07:00
Garth Vander Houwen
940026b1eb Show long name and userid in group messages, above the message like imessage. 2024-04-26 15:35:08 -07:00
Garth Vander Houwen
2054511936 Update message details 2024-04-21 10:46:17 -07:00
Garth Vander Houwen
2478db7232 Show alert bell on direct messages. 2024-04-17 10:31:13 -07:00
Garth Vander Houwen
ee7c2467c7 Not pink 2024-04-10 20:06:01 -07:00
Garth Vander Houwen
2b785b66b0 PINK! 2024-04-10 19:59:35 -07:00
Matthew Davies
70d4c6043e
Fix bug where MQTT was showing connected even if down/up was not enabled 2024-04-06 16:02:25 -07:00
Garth Vander Houwen
2ac6d80dab Show admin channel in channels list 2024-04-05 17:29:37 -07:00
Garth Vander Houwen
b050e39a45
Merge pull request #583 from daviesgeek/update-mqtt-status-icons
Better mqtt status icons, including up/down icons
2024-04-04 17:52:36 -07:00
Garth Vander Houwen
aa08f2ff33 Drop the last character for string length validation, bump version 2024-04-04 09:39:03 -07:00
Matthew Davies
3219ab6982
Better mqtt status icons, including up/down icons 2024-04-03 14:52:41 -07:00
Garth Vander Houwen
6b769ddb5b Touch up favorites 2024-04-02 17:10:42 -07:00
Garth Vander Houwen
8a214d93eb Contact list filters 2024-04-02 11:16:32 -07:00
Garth Vander Houwen
515bc7fcd6 Finish hooking up favorites 2024-03-31 14:45:30 -07:00
Matthew Davies
769a35c485
Add mqtt status icon in channels with uplink/downlink enabled 2024-03-29 15:04:00 -07:00
Garth Vander Houwen
02cca19f26 Assorted updates 2024-03-23 09:01:44 -07:00
Garth Vander Houwen
c36832586c Scoll to dismiss keyboard for the two searchable lists 2024-03-10 22:14:46 -07:00
Garth Vander Houwen
4fd8efe4b3 Disasble auto correct on node and user lists 2024-03-10 00:34:21 -08:00
Garth Vander Houwen
2ba208fa8e Bump version and protos 2024-03-09 20:07:12 -08:00
Garth Vander Houwen
1db42dbbcd Add exchange position node list menu item, add improved search to the user list. 2024-03-02 10:18:57 -08:00
Austin Payne
a16c6be659 fix: channel message retry not updating ack state 2024-02-21 00:29:26 -07:00
Garth Vander Houwen
d9d8415109 Contact tip cleanup 2024-02-17 15:08:01 -08:00
Garth Vander Houwen
d4e6e0b580
Merge pull request #500 from Austinpayne/improvement/message-refactors
Improvement: various message list refactors
2024-02-17 14:47:28 -08:00
Garth Vander Houwen
bfd71ca263 array of restricted channels for messages 2024-02-17 14:46:09 -08:00
Austin Payne
9efdd568d8 fix: don't push ack text left
Aligns RetryButton to look more like iMessages retry button
2024-02-17 14:10:25 -07:00