Commit Graph

100 Commits

Author SHA1 Message Date
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
Russell Schmidt 9a306f1553 Refresh display when closing dialogs 2025-01-26 18:12:10 -06:00
pdxlocations ed1e9a3055 reorder config menu 2025-01-25 20:45:23 -08:00
pdxlocations 44b1a3071b fix packet log border color 2025-01-25 18:02:37 -08:00
pdxlocations 916b0cfe53 fix splash border 2025-01-25 15:36:24 -08:00
pdxlocations e086814b83 fix color fixes 2025-01-25 15:30:06 -08:00
pdxlocations ca17bbee31 color fixes 2025-01-24 22:12:25 -08:00
pdxlocations 84246aefd9 Move user config into JSON file (#68)
* working changes

* Reduce redraws in settings (#66)

* Reduce redraws in settings

* Fix drawing sensitive settings in red

* Update other settings to use new color API

* Update reduce redraw changes to use new color API

* Fix highlight/unhighlight red settings

* add settings colors

* format json file

---------

Co-authored-by: Russell Schmidt <russ@sumonkey.com>
2025-01-24 21:00:00 -08:00
pdxlocations d5a6a0462f Color Customization (#64)
* init

* customize colors

* fix splash frame

* cleanup
2025-01-23 23:08:01 -08:00
Russell Schmidt c61dc19319 Don't allow sending empty string 2025-01-23 19:15:35 -06:00
pdxlocations 91d331af4f Merge pull request #60 from rfschmid/add-home-end-pgup-pgdn-to-channels-nodes 2025-01-23 16:15:43 -08:00
pdxlocations be92ac5de3 Merge pull request #61 from rfschmid/box-active-window-in-green 2025-01-23 16:12:31 -08:00
Russell Schmidt 10179c4179 Add home/end/pgup/pgdn to channels and nodes 2025-01-23 17:38:43 -06:00
Russell Schmidt 152555156e Outline active window in green 2025-01-23 17:28:12 -06:00
pdxlocations 11bd9c75ed Add Hourly Timestamps (#58)
* init

* formatting

* white stamps and no seconds
2025-01-23 12:21:38 -08:00
Russell Schmidt aa7d98b1b0 Stop refreshing when changing windows 2025-01-23 12:53:55 -06:00
Russell Schmidt 8895784503 Fix not clearing notifications 2025-01-23 12:29:32 -06:00
Russell Schmidt 695b4949c0 Fix drawing messages when switching channels 2025-01-23 12:09:21 -06:00
Russell Schmidt 404bac9133 Convert channels window to pad 2025-01-23 08:09:38 -06:00
pdxlocations c19684c119 Merge pull request #51 from rfschmid/convert-nodes-window-to-pad
Convert nodes window to pad
2025-01-22 20:43:44 -08:00
Russell Schmidt f9774b2248 Convert nodes window to pad 2025-01-22 21:39:19 -06:00
Russell Schmidt d6db1e1832 Add home/end/pageup/pagedown message support 2025-01-22 20:48:14 -06:00
pdxlocations 4c85aaecdf sent messages cyan 2025-01-22 18:21:51 -08:00
pdxlocations d8fc02b28a Merge pull request #36 from rfschmid/convert-messages-window-to-pad
Convert messages window to pad
2025-01-22 17:47:04 -08:00
Russell Schmidt 039673bb18 Disable message window looping 2025-01-22 19:41:30 -06:00
pdxlocations d81e694ee6 Merge pull request #49 from pdxlocations/settings-cleanup
Add is_licensed to user settings
2025-01-22 17:32:38 -08:00