Commit Graph

125 Commits

Author SHA1 Message Date
pdxlocations 14aa5c00a3 none isn't better than nothing 2025-02-08 08:00:20 -08:00
pdxlocations a201bcccb2 more excuses 2025-02-08 07:57:09 -08:00
pdxlocations 5690329b06 notes 2025-02-07 22:11:53 -08:00
pdxlocations a080af3e84 add logging 2025-02-07 21:50:14 -08:00
pdxlocations dd11932a53 make sure nodes_pad exists legitely 2025-02-07 21:44:17 -08:00
pdxlocations dae71984bc make sure nodes pad is created 2025-02-07 21:01:06 -08:00
pdxlocations 3668d47119 define windows in resize 2025-02-07 20:49:38 -08:00
pdxlocations fe3980bc5a ok I'll stop 2025-02-07 20:23:47 -08:00
pdxlocations 9c380c18fd maybe this 2025-02-07 20:19:26 -08:00
pdxlocations 0d6f234191 more testing 2025-02-06 23:10:01 -08:00
pdxlocations 16c8e3032a fix startup error test 2025-02-06 23:06:19 -08:00
pdxlocations e7850b9204 add role to node details 2025-02-05 16:31:12 -08:00
pdxlocations 4306971871 switch locked emoji 2025-02-05 16:05:39 -08:00
pdxlocations 353412be11 Merge pull request #117 from rfschmid:add-node-search-feature
Add channel and node search feature
2025-02-04 17:21:20 -08:00
Russell Schmidt 8382da07a3 Fix indexing if list changes while searching 2025-02-04 19:16:00 -06:00
Russell Schmidt 1675b0a116 Add channel and node search feature
Press Ctrl + / while the nodes or channels window is highlighted to
start search

Type text to search as you type, first matching item will be selected,
starting at current selected index

Press Tab to find next match starting from the current index - search
wraps around if necessary

Press Esc or Enter to exit search mode
2025-02-04 17:34:41 -06:00
Russell Schmidt b717d46441 Add lock/unlock icon for nodes with/without PSK 2025-02-04 17:23:44 -06:00
pdxlocations 313c13a96a Merge pull request #113 from rfschmid:fix-node-details-after-resize
Fix node details after resize or settings
2025-02-03 15:18:47 -08:00
Russell Schmidt 1dc0fc1f2e Fix node details after resize or settings 2025-02-03 17:14:16 -06:00
pdxlocations 03328e4115 Merge remote-tracking branch 'origin/main' into pr/rfschmid/111 2025-02-03 14:06:20 -08:00
Russell Schmidt 7560b0805a Fix help/node details drawing over outline
Leave buffer for box
2025-02-03 12:56:34 -06:00
Russell Schmidt b5a841d7d2 Show different node details for ourself
User is probably more interested in their own device's eg battery level
vs how long ago the node DB thinks we saw ourselves.
2025-02-03 12:48:04 -06:00
Russell Schmidt bae197eeca Add new options to help window 2025-02-02 17:02:09 -06:00
Russell Schmidt d0c67f0864 Fix display glitch
When deleting a channel made the newly selected channel one that had a
notification, we didn't clear the notification symbol
2025-02-02 16:59:44 -06:00
Russell Schmidt f5b9db6d7a Allow archivinig chats
^d will remove a conversation from the channels list, but preserve it in
the database in case we start a conversation with the same node again.
2025-02-02 16:22:19 -06:00
Russell Schmidt d019c6371c Add node sort preferences (#102)
* Add node sort preferences

Now supports 'lastHeard', 'name', and 'hops'. There's probably a way to
make this a multi-select type input instead of requiring the user to
type exactly the right string but it wasn't immediately obvious how to
do that.

* Select node sort from list, refresh on change

---------

Co-authored-by: pdxlocations <benlipsey@gmail.com>
2025-02-02 09:43:04 -08:00
pdxlocations c62965a94f Revert "Display Connection Status (#104)" (#105)
This reverts commit a4a15e57b4.
2025-02-02 08:51:51 -08:00
pdxlocations a4a15e57b4 Display Connection Status (#104)
* init

* working changes
2025-02-02 07:24:17 -08:00
pdxlocations 9621bb09b3 add space in node info bar 2025-02-01 22:01:29 -08:00
Russell Schmidt 466f385c31 Use nodesByNum instead of iterating over nodes
Removes no longer used function that also iterated over nodes
2025-02-01 11:51:04 -06:00
pdxlocations 5dea39ae50 refactor special menu items 2025-01-31 22:01:15 -08:00
pdxlocations ad7c7a148f Add Config Import and Export (#98)
* init

* working changes

* working changes

* remove unused code
2025-01-31 16:42:55 -08:00
Russell Schmidt df7d9b0e2e Enable resizing app (#95)
* Enable resizing app

* Crash less with narrow windows

If the window gets too narrow we'll still crash, but this lets us get
narrower than before.

* Fix resize re-drawing

* Fix crash when resizing too fast

* Fix crash after resize with dialog open

* Enable resizing settings
2025-01-31 16:37:12 -08:00
pdxlocations b9d8c9ad44 Add Lat/Lon/Alt to Position Settings (#96)
* add lat/lon/alt

* fix types and conditions
2025-01-30 22:33:42 -08:00
pdxlocations 648993607d fix packet log height 2025-01-30 14:24:13 -08:00
pdxlocations cf8ee248de adjust packet log message window offset 2025-01-30 13:40:13 -08:00
pdxlocations 5730beafa9 change get name to sql db from nodedb 2025-01-30 12:51:31 -08:00
pdxlocations 09d832a203 colors on traceroute window 2025-01-29 21:25:53 -08:00
pdxlocations aa1b7d43a8 Convert bytes PSK to base 64 2025-01-29 21:12:26 -08:00
pdxlocations 59187a3838 rm depreciated field (#92) 2025-01-29 18:36:00 -08:00
pdxlocations 47d6212b3a Minor Refactor and Dynamic Color List (#91)
* refactor init

* dynamic color list
2025-01-29 17:45:48 -08:00
pdxlocations 1d9d055a4d import cleanup 2025-01-29 16:16:38 -08:00
pdxlocations af5fe53658 Add App Settings Menu (#89)
* init

* working changes

* working changes

* working changes

* working changes

* not working changes

* almost working changes

* working changes

* working changes

* broke save and nested menus

* working better

* changes

* working changes

* scrolling text input

* allow wide char input

* set pad bg colors

* add empty color for bg

* reload colors on save

* tab to save changes

* cleanup on isle edit_value

* dynamically create theme options
2025-01-28 16:52:20 -08:00
Russell Schmidt c865d6a942 Fix crash in get node details
The last heard timestamp apparently sometimes gets populated in the dict
as None, instead of just not being present, which caused a crash. Check
for None before tryint to use it.
2025-01-28 12:42:59 -06:00
pdxlocations 0bbabba77b Merge pull request #85 from rfschmid:add-node-details
Add node details
2025-01-27 16:28:54 -08:00
pdxlocations bf43799a7d Merge pull request #86 from rfschmid/replace-clear-with-erase 2025-01-27 16:26:37 -08:00
Russell Schmidt 5bd9b45753 Fix packet log disappearing 2025-01-27 17:16:56 -06:00
Russell Schmidt 4aaef5381e Replace window.clear() calls with window.erase()
https://lists.gnu.org/archive/html/bug-ncurses/2014-01/msg00007.html
2025-01-27 12:58:01 -06:00
Russell Schmidt 51dcfb5aa2 Add node details 2025-01-27 12:46:33 -06:00
Russell Schmidt 22b2a9a50e Make refresh more efficient 2025-01-26 18:33:46 -06:00