Commit Graph

548 Commits

Author SHA1 Message Date
pdxlocations b6767f423e Fix settings redraw (#214)
* current window 4

* refresh settings on new message

* redraw dialog and fix traceroute

* formatting and catch

* move continue
2025-07-31 00:08:08 -07:00
pdxlocations b1252fec6c Update README.md 2025-07-30 22:18:01 -07:00
pdxlocations 43d1152074 Update README.md 2025-07-30 22:14:46 -07:00
pdxlocations 786a7b03c5 Configure Filepath for Export Node Config (#213)
* add node config path to settings

* try reload config but failed
2025-07-29 16:51:26 -07:00
pdxlocations 8d111c5df7 Add Warning for Sending Messages Quickly (#212)
* Warn About 2-Second Message Delay

* add comment

* update lines and cols
2025-07-28 23:04:57 -07:00
pdxlocations b314a24a0c Input Validation Framework (#211)
* init

* validation framework

* add rules

* automatic types

* changes

* fix positions

* redraw input

* check for selected_config

* tweaks

* refactor
2025-07-26 21:20:15 -07:00
pdxlocations 4378f3045c unused argument 2025-07-24 18:02:44 -07:00
pdxlocations a451d1d7d6 note to future me 2025-07-21 23:18:11 -07:00
pdxlocations fe1f027219 Merge pull request #209 from pdxlocations/check-db-fields-for-null
Check for NULLS in DB
2025-07-21 10:57:18 -07:00
pdxlocations 43435cbe04 replace \x00 in messages 2025-07-21 10:54:19 -07:00
pdxlocations fe98075582 bump version 1.3.16 2025-07-21 00:04:00 -07:00
pdxlocations 8716ea6fe1 dont write to the log before config 2025-07-20 23:46:24 -07:00
pdxlocations a8bdcbb7e6 Merge pull request #208 from pdxlocations/config
fallback to user if install dir not writable
2025-07-17 23:00:13 -07:00
pdxlocations 02742b27f3 fallback to user if install dir not writable 2025-07-17 22:59:35 -07:00
pdxlocations ae028032a0 Merge pull request #207 from pdxlocations/errors
show connection errors in console
2025-07-17 00:12:12 -07:00
pdxlocations 30402f4906 show connection errors in console 2025-07-17 00:10:17 -07:00
pdxlocations 324e0b03e7 Merge pull request #206 from pdxlocations/notifications
maybe fix aplay
2025-07-16 19:43:37 -07:00
pdxlocations 056db12911 maybe fix aplay 2025-07-16 18:46:51 -07:00
pdxlocations 685a2d4bf8 bump version 1.3.15 2025-07-14 08:15:16 -07:00
pdxlocations 6ed0cc8c9f Merge pull request #199 from rfschmid/add-traceroute-sent-message-to-history
Add traceroute sent message to history
2025-07-03 10:46:07 -07:00
Russell Schmidt fc208a9258 Add "Traceroute Sent" to message history 2025-07-03 12:43:18 -05:00
Russell Schmidt eaf9381bca Refactor message saving
Add common function for saving a message to history, removing some
duplicate code and making traceroutes add timestamps like other messages
do.
2025-07-03 12:43:18 -05:00
pdxlocations 367af9044c Merge pull request #198 from rfschmid/add-node-name-to-traceroute-confirm-dialog
Add node name to traceroute confirm dialog
2025-07-03 10:32:41 -07:00
Russell Schmidt d8183d9009 Make capitalization consistent 2025-07-03 12:19:24 -05:00
Russell Schmidt 3fb1335be3 Add node name to traceroute confirm dialog 2025-07-03 12:10:56 -05:00
pdxlocations 8b05072786 bump version 1.3.14 2025-06-13 15:33:57 -07:00
pdxlocations 4455781e6c fix types and returns 2025-06-12 16:38:05 -07:00
pdxlocations 0c8aaee415 Merge pull request #197 from rfschmid/redirect-sound-player-output-to-dev-null
Redirect sound player output to dev null
2025-06-12 16:10:26 -07:00
pdxlocations b97d9f4649 Merge pull request #196 from rfschmid/only-clear-input-text-on-enter-if-sending-message
Only clear input on enter when sending message
2025-06-12 16:09:44 -07:00
Russell Schmidt 4152fb6a21 Redirect sound player output to dev null
On my linux system, the sound playing code goes to aplay. When called,
aplay outputs a message about the file it is playing to stderr, which
causes it to be printed on the input line, which can't be easily
cleared. Redirect output from the audio player executable to dev/null.
Deduplicate sound playing code a bit so we only need one call to
subprocess.run, so I don't have to make this change in three places.
2025-06-12 17:28:30 -05:00
Russell Schmidt 384e36dac2 Only clear input on enter when sending message
We should only clear the input field when the user presses enter if the
user actually sent the message. If selecting a different node to send
to, don't clear input.
2025-06-12 17:23:03 -05:00
pdxlocations 65bca84fe6 minor refactor 2025-06-10 23:24:11 -07:00
pdxlocations 16fa2830fd bump version 1.3.13 2025-06-10 22:29:31 -07:00
pdxlocations c8f1da99e3 Merge pull request #194 from rfschmid:fix-crash-with-newlines
Fix crash with newlines, message spacing
2025-06-10 22:28:41 -07:00
Russell Schmidt 702250c329 Fix crash with newlines, message spacing 2025-06-10 17:42:14 -05:00
pdxlocations 6291082405 Merge pull request #192 from rfschmid/fix-wrapping-with-wide-chars
Fix crash when wrapping with wide characters
2025-06-10 12:19:02 -07:00
pdxlocations 4fa5148664 Merge pull request #193 from rfschmid/fix-backspace
Fix enter not clearing input
2025-06-10 11:57:06 -07:00
Russell Schmidt d62ec09eea Fix enter not clearing input
Similar to 981d72e, pressing enter wasn't clearing the input field.
2025-06-10 12:19:03 -05:00
Russell Schmidt 61026dcc73 Fix crash when wrapping with wide characters
Update contact_ui.py to use already-existing custom wrap function
implemented in nav_utils instead of textwrap library. Update custom
wrap_text function to use east_asian_width to determine characters that
can use two columns of width.
2025-06-10 12:17:23 -05:00
pdxlocations 1362d3a219 bump version 1.3.12 2025-06-10 10:02:04 -07:00
pdxlocations 981d72e688 fix backspace 2025-06-10 10:01:44 -07:00
pdxlocations 0b5ec0b3d7 Merge pull request #191 from pdxlocations:refactor-ui-functions
Refactor keypress handling
1.3.11
2025-06-09 23:20:42 -07:00
pdxlocations cbb4ef9e34 break out key functions 2025-06-09 23:19:28 -07:00
pdxlocations fecd71f4b7 refactor window sizes 2025-06-09 22:37:51 -07:00
pdxlocations 59edfab451 add notif sound prefs (#190) 2025-06-09 22:15:53 -07:00
pdxlocations 39159099e1 change prints to logging 2025-06-09 19:01:40 -07:00
pdxlocations 02e5368c61 waits in configio 2025-06-09 07:40:07 -07:00
pdxlocations 9d234a75d8 change default configs order 2025-06-06 22:45:06 -07:00
pdxlocations c7edd602ec Make widths configurable (#189) 2025-06-06 22:37:10 -07:00
pdxlocations 00226c5b4d don't use white in green config (#188) 2025-06-06 22:19:58 -07:00