76 Commits

Author SHA1 Message Date
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 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 41c60a49e9 Merge pull request #48 from rfschmid/fix-crash-on-long-input 2025-01-22 17:00:58 -08:00
pdxlocations fb3138883f Merge pull request #47 from rfschmid/make-selected-channel-green 2025-01-22 16:54:56 -08:00
Russell Schmidt 43680f8afb Fix crash on long input 2025-01-22 17:25:12 -06:00
Russell Schmidt e15f625716 Fix default channel messages not showing on start 2025-01-22 17:14:49 -06:00
Russell Schmidt c090b3dd58 Make messages pad actually work 2025-01-22 17:11:32 -06:00
Russell Schmidt 80fe10c050 Make selected channel green
So you can tell which channel you're looking at when the channel list
isn't highlighted
2025-01-22 12:52:03 -06:00
pdxlocations a710374fe9 refactor notification 2025-01-22 08:20:51 -08:00
Russell Schmidt cb088c51d4 Count total lines of messages 2025-01-21 19:10:43 -06:00
Russell Schmidt ccb46b8553 Account for packet log window 2025-01-21 19:10:33 -06:00
Russell Schmidt 35748d071e Various tweaks, added back messages border 2025-01-21 19:09:46 -06:00
Russell Schmidt 7e85085b98 WIP - Convert messages window to pad
Change to use a curses "pad" so we can scroll better
2025-01-21 19:09:44 -06:00
Russell Schmidt d0af0e6af1 Make forward slash possible to type
Packet log is now Ctrl + P
2025-01-21 17:39:49 -06:00
Russell Schmidt 1c0704b940 Handle backspace character
Co-authored-by: pdxlocations <117498748+pdxlocations@users.noreply.github.com>
2025-01-21 17:13:46 -06:00
Russell Schmidt 6384777bb6 Delete leftover comment 2025-01-21 14:58:34 -06:00
Russell Schmidt 2fbaee5fc5 Fix input of wide characters 2025-01-21 12:44:41 -06:00
pdxlocations 06e71331b6 select last message when changing channels 2025-01-21 09:54:33 -08:00
pdxlocations bc72c3b0b6 break out color definitions 2025-01-20 23:01:04 -08:00
pdxlocations 2abdd763c1 fix text wrap line count 2025-01-20 20:51:03 -08:00
pdxlocations 89d8b7690f New Settings Menu (#39)
* init

* backup old code

* working changes

* bckup old settings

* working changes

* working changes

* rename backup

* current state of things

* starting to work

* no test for you

* working changes

* working changes

* semi-working changes

* changes

* integrating with contact main.py

* working changes

* working changes

* working changes

* rm settings.log

* bool messages and sys function confirmation

* start IP's and sub-categories

* display enum names

* fix deep nested configs
2025-01-20 16:02:20 -08:00
Russell Schmidt fae3330bb0 Limit refreshing on changing windows 2025-01-16 18:21:17 -06:00