Commit graph

1908 commits

Author SHA1 Message Date
Austin Payne
3c0e56aeaf improvement: avoid duplicate map tile loading
Previously a map tile cache miss would cause 2x loading of the tile: once from
the remote tile server (which is then written to disk) and once from disk
during the default MKTileOverlay.loadTile function. Instead we now directly
implement loadTile so that we can avoid the duplicate loading and simply
return the fetched remote tile after it is cached, which leads to a
noticeable improvement in offline map performance.
2024-02-15 21:12:00 -07:00
Garth Vander Houwen
231a160c1e Let duty cycle restricted messages be retried 2024-02-15 20:09:33 -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
0758aaea56 Clean up the node list 2024-02-14 21:43:29 -08:00
Garth Vander Houwen
b388a2babf Bump version 2024-02-13 21:31:13 -08:00
Garth Vander Houwen
b16b029128 Show retry button for DM's 2024-02-13 18:58:29 -08:00
Garth Vander Houwen
bdce50cc20 Only show retry for ack error 5 and 3 2024-02-13 18:47:07 -08:00
Garth Vander Houwen
0cfe986c84
Merge pull request #486 from Austinpayne/feature/retry-button
feature: add simple retry mechanism
2024-02-13 18:39:20 -08:00
Garth Vander Houwen
a2476a212f Only show client history to S&F routers 2024-02-13 14:23:07 -08:00
Garth Vander Houwen
caef40addc Handle incoming store and forward messages 2024-02-13 14:21:49 -08:00
Garth Vander Houwen
d4ff24cb16 Add some padding to the share location button 2024-02-13 10:58:07 -08:00
Austin Payne
6849977239 feature: add simple retry mechanism 2024-02-12 23:56:33 -07:00
Garth Vander Houwen
3f4f493d69 Try and reduce device switching crashing a bit 2024-02-12 22:31:03 -08:00
Garth Vander Houwen
c14ff8d075 Merge remote-tracking branch 'refs/remotes/origin/2.2.22_Working_Changes' 2024-02-12 22:09:36 -08:00
Garth Vander Houwen
48ef2e656c Add node info broadcast interval 2024-02-12 22:09:22 -08:00
Garth Vander Houwen
ae6a74189f
Merge pull request #480 from Austinpayne/fix/map-options-resizing
fix: inverted map options sheet resizing
2024-02-12 18:38:16 -08:00
Garth Vander Houwen
b69ca32bcd
Merge pull request #481 from Austinpayne/fix/offline-overfetching
fix: don't fetch tiles greater than specified upper bound
2024-02-12 18:37:20 -08:00
Garth Vander Houwen
60f830259f
Merge pull request #482 from Austinpayne/fix/dl-tiles-twice
fix: map tiles being downloaded remotely twice
2024-02-12 18:35:55 -08:00
Garth Vander Houwen
8f50e7f447
Merge pull request #484 from Austinpayne/fix/slow-typing
fix: slow typing speed when lots of messages
2024-02-12 18:05:09 -08:00
Garth Vander Houwen
1108f8d362 Additional store and forward cleanup 2024-02-12 18:00:04 -08:00
Garth Vander Houwen
c23e18316d Store and Forward updates 2024-02-12 16:35:29 -08:00
Austin Payne
8cd7905379 fix: inverted map options sheet resizing 2024-02-11 21:58:36 -07:00
Austin Payne
58fa4e26f1 fix: don't fetch tiles greater than specified upper bound 2024-02-11 21:57:31 -07:00
Austin Payne
ae66e5af59 fix: map tiles being downloaded remotely twice
The url returned by MKTileOverlay.url(forTilePath:) is subsequently used by
MKTileOverlay.loadTile(at:result:) for download. In the case of a tile that
was just cached by OfflineTileManager.persistLocally(path:) we now return
the local file URL to avoid downloading the remote image twice.
2024-02-11 21:57:17 -07:00
Austin Payne
3882add56a fix: slow typing speed when lots of messages
Refactors both the channel and user message views to isolate typing state which
prevents excessive re-rendering of large message lists on every new character
typed. Also consolidates typing view code of both lists into the new
TextMessageField and related sub views.
2024-02-11 21:47:09 -07:00
Garth Vander Houwen
416d5e5f41 Frequency Slot 2024-02-11 19:38:51 -08:00
Garth Vander Houwen
1e2cb76b0f Add text message handling to unset 2024-02-11 17:50:18 -08:00
Garth Vander Houwen
e9aec54508 Hook up store and forward as reccomended by @GUVWAF 2024-02-11 17:45:03 -08:00
Garth Vander Houwen
a5ae02978e Tidy up the node list 2024-02-10 18:03:13 -08:00
Garth Vander Houwen
880509a9a7 Add route recorder back 2024-02-10 17:43:54 -08:00
Garth Vander Houwen
aba2c9bece Add store and forward router bool 2024-02-10 17:43:01 -08:00
Garth Vander Houwen
a89490097f Add Singapore
Update store and forward logic
2024-02-10 17:21:31 -08:00
Garth Vander Houwen
029a820f76 Bump version, fix client hidden crash 2024-02-07 15:42:20 -08:00
Garth Vander Houwen
f8eebfa077 Hide route recorder 2024-02-07 08:44:29 -08:00
Garth Vander Houwen
2d2a94a3d6 store and forward fix 2024-02-07 08:43:35 -08:00
Garth Vander Houwen
718842bafb Localize new settings 2024-02-06 16:47:12 -08:00
Garth Vander Houwen
ef59160b16 Handle unknown store and forwared packets as text messages. 2024-02-06 12:29:42 -08:00
Garth Vander Houwen
4d420a8008 Save GPS state 2024-02-06 11:11:03 -08:00
Garth Vander Houwen
2b15fd93a6 Default to 128bit keys 2024-02-06 10:04:04 -08:00
Garth Vander Houwen
69e61cac53 Warn that using MQTT with a duty cycle is the end of your mesh 2024-02-06 09:13:57 -08:00
Garth Vander Houwen
b0272e0578 Via MQTT 2024-02-05 23:48:23 -08:00
Garth Vander Houwen
c3f4923531 Add via mqtt, does not seem to be working with the client proxy 2024-02-05 23:02:33 -08:00
Garth Vander Houwen
6c03f4164d Update Roles 2024-02-05 22:45:16 -08:00
Garth Vander Houwen
8e26b52946
Merge pull request #478 from tandrej98/readme_fix
fix typo in README
2024-02-05 22:51:39 -07:00
Garth Vander Houwen
96d6987b10
Merge pull request #475 from Austinpayne/fix/offline-map-option
fix: offline map type option getting out of sync
2024-02-05 22:51:09 -07:00
Garth Vander Houwen
8f6e1a2d0d Add app smart position and setting
Update protobufs
Use new GPS tri state on position config
2024-02-05 21:46:16 -08:00
Garth Vander Houwen
bd93f76ccb Add detection sensor localizable string to languages other than english 2024-02-04 22:29:10 -08:00
Garth Vander Houwen
34d4a36813 Try again and crash if the persistent store is not re-created properly 2024-02-04 22:04:40 -08:00
Garth Vander Houwen
ea4aa8a7ff Add a try catch when adding the persistant store back after switching between nodes. 2024-02-04 21:59:54 -08:00
Garth Vander Houwen
03e3bb2f46 Update logic when switching devices 2024-02-04 21:46:11 -08:00