Commit Graph
96 Commits
Author SHA1 Message Date
nathanmcrae 0594a64812 Remove unused portions of pom.xml
They were different attempts to get it working, so might be useful to
reference in the future.
2025-03-09 15:18:14 -07:00
nathanmcrae 48790790b4 Add pom.xml and set up jar packaging
FXML loading needed to change when resources were packaged in jar.
2025-03-09 15:18:14 -07:00
nathanmcrae 81b347eb41 Rearrange main view so message box grows 2025-03-08 19:37:07 -08:00
nathanmcrae 49aa06fb03 Update launch path again 2025-03-05 22:46:29 -08:00
nathanmcrae 1347f313c7 Remove stray newline 2025-03-05 22:46:13 -08:00
nathanmcrae dbba2d2285 Set up basic SFTP upload 2025-03-05 22:46:03 -08:00
nathanmcrae d7852e281d Update launch path 2025-03-03 21:39:54 -08:00
nathanmcrae 8d1e910cc5 Delete scheduled task when schedule is managed externally 2025-03-03 21:39:36 -08:00
nathanmcrae 6c43289860 Add removal methods to WindowsScheduler and StationSettings 2025-03-03 21:10:07 -08:00
nathanmcrae e74ddc99ca Use enter or esc to select station or cancel dialog 2025-02-24 20:56:24 -08:00
nathanmcrae 89181c0fa9 Fix wordpress connection test 2025-02-24 20:01:01 -08:00
nathanmcrae 705620d0a2 Handle unsaved changes in message editor
Window title shows asterisk of changes are unsaved.

Anything that would erase/overwrite message prompts a confirmation
dialog.
2025-02-23 14:24:39 -08:00
nathanmcrae 97c3cc3243 Show notification for error while running station 2025-02-22 19:29:10 -08:00
nathanmcrae 18b3e5d0d9 Fix argument quoting in run.sh 2025-02-22 19:21:22 -08:00
nathanmcrae 917be83ddc Change all buttons to use onAction
Covers more activation cases. I initially tried to use onAction, but
that didn't seem to work at the time, but I must've been mistaken.
2025-02-22 18:51:21 -08:00
nathanmcrae 12df6d97fa Load next message file to message buffer 2025-02-22 14:20:39 -08:00
nathanmcrae e4ad5d16d6 Add split pane so user can adjust number of text columns 2025-02-20 22:57:47 -08:00
nathanmcrae 307620a930 Update layout to work on linux 2025-02-19 22:31:03 -08:00
nathanmcrae 5703d9bce4 Remove module path logging 2025-02-19 22:30:31 -08:00
nathanmcrae edbbec1527 Reference stylesheet in fxml directly 2025-02-19 22:21:29 -08:00
nathanmcrae 9553c2a854 Add build/run scripts for linux 2025-02-19 22:21:29 -08:00
nathanmcrae 26fa5e34cd Move .fxml files to resources 2025-02-19 21:10:17 -08:00
nathanmcrae 7ba68c5ec1 Simplify lib path 2025-02-17 22:29:05 -08:00
nathanmcrae 6e86e660a7 Format settings file
See this answer https://stackoverflow.com/questions/22950542/pretty-printing-xml-with-jackson-library
2025-02-17 22:28:53 -08:00
nathanmcrae 15192e04e4 Exit application when notification dismissed 2025-02-17 21:55:52 -08:00
nathanmcrae 59625b773c Exit process when application closes 2025-02-17 21:55:40 -08:00
nathanmcrae cb3f0b0938 Add notifications and some basic usage
Since I can't rely on platform specific notifications, I'll just have to open
a custom window that stays until dismissed.
2025-02-16 23:13:32 -08:00
nathanmcrae 3aea6f1281 Factor out argument parsing
and encapsulate the result in a class
2025-02-16 23:10:35 -08:00
nathanmcrae 8f5d5be291 Move build/run scripts to root 2025-02-09 18:08:03 -08:00
nathanmcrae 23f81b4b5c Anchor settings button to right 2025-02-09 18:08:03 -08:00
nathanmcrae 7cff7e7559 Reorder modules alphabetically 2025-02-08 17:50:10 -08:00
nathanmcrae 475808acd8 Move data directory when station is renamed 2025-02-08 17:28:52 -08:00
nathanmcrae 8af3162f46 Remove spurious test statements 2025-02-08 17:13:04 -08:00
nathanmcrae 00832e92bf Fix bug when selected station doesn't exist 2025-02-08 17:12:05 -08:00
nathanmcrae 741055b200 Add confirmation to station delete
And actually delete the station dir
2025-02-08 17:04:14 -08:00
nathanmcrae fa0130b4b4 Add checks on station name when editing 2025-02-08 17:03:51 -08:00
nathanmcrae 53d6132ecd Add checks on station name when adding 2025-02-08 14:12:47 -08:00
nathanmcrae c0028b2978 Add prefix-checking to message
We want to make sure the message doesn't match any of the station's listed prefixes.

Also, we give a finite number of tries to generate a valid message just in case prefixes somehow cover all messages.
Make it a setting so it can be increased if needed.
2025-02-08 12:38:55 -08:00
nathanmcrae eb07e42ab0 Basic commandline invocation working 2025-02-04 20:25:34 -08:00
nathanmcrae e2d9878e8e Set message textbox font style to mono 2025-02-04 20:25:34 -08:00
nathanmcrae bbca33246a Get wordpress posting working via xml-rpc
whoops
2025-02-04 20:25:34 -08:00
nathanmcrae fccec5faa6 Remove FTP/SCP and replace with Wordpress 2025-02-04 20:25:34 -08:00
nathanmcrae ebf8a6b7c1 Add main settings button 2025-02-04 20:25:34 -08:00
nathanmcrae e70be5c54c Remove some unused code 2025-02-04 20:25:34 -08:00
nathanmcrae 02b23c0e6d 'handleSettingsButtonPress' -> 'hanleStationSettingsButtonPress' 2025-02-04 20:25:34 -08:00
nathanmcrae fa78b6ba45 Add default values for station settings 2025-02-04 20:25:34 -08:00
nathanmcrae abac552971 Add catch for exception in start() 2025-02-04 20:25:34 -08:00
nathanmcrae f7314290db Implement Set as next message button 2025-02-04 20:25:34 -08:00
nathanmcrae a7169b49cc Add connecion test for SFTP 2025-02-04 20:25:34 -08:00
nathanmcrae b563adea7b Add OS check to schedule registration 2025-02-04 20:25:34 -08:00
nathanmcrae 25aa91685f Add logging to StationSettingsController 2025-02-04 20:25:34 -08:00
nathanmcrae 792baa9d3a MainSettings(View|Controller) -> StationSettings(View|Controller)
We want to reserve those to be associated with the actual main settings (i.e. the overall settings rather than specific to one station)
2025-02-04 20:25:33 -08:00
nathanmcrae b9d95acd04 Add period to Windows scheduled task 2025-02-04 20:25:33 -08:00
nathanmcrae c7fb317e05 Fix bug in updateStationSettings 2025-02-04 20:25:33 -08:00
nathanmcrae e5877c8a34 Get registering and running task scheduler task working 2025-02-04 20:25:33 -08:00
nathanmcrae 4defb7d3a0 Split build script into build and run
So run can be invoked by task manager as a stop-gap launch method
2025-02-04 20:25:33 -08:00
nathanmcrae a68952653c Start implementing task scheduler 2025-02-04 20:25:33 -08:00
nathanmcrae 591d431226 Add argument parsing 2025-01-24 23:24:09 -08:00
nathanmcrae 5a3df459f9 Add logging 2025-01-20 22:38:01 -08:00
nathanmcrae 1ae75d4891 Implement station selection cancel button 2025-01-20 20:41:29 -08:00
nathanmcrae 0704a4a931 Use XDG_CONFIG_HOME 2025-01-20 20:13:44 -08:00
nathanmcrae 837b08c4cb Disable connection controls when external program is selected 2025-01-19 22:07:26 -08:00
nathanmcrae 4eb8d60c64 Disable external program field when not selecting use external program 2025-01-19 21:55:51 -08:00
nathanmcrae dda155f160 Disable schedule controls when external schedule selected 2025-01-19 21:52:37 -08:00
nathanmcrae 5b16d0c5b5 Adjust layout 2025-01-19 21:41:48 -08:00
nathanmcrae 40a4aefa93 Customize prefix text entry
To only allow digits and to respect the digitsPerGroup spacing
2025-01-19 21:34:10 -08:00
nathanmcrae b32807de9e Set default value for digits per group if loaded invalid value 2025-01-18 21:48:16 -08:00
nathanmcrae 807e13d239 Add up/down control to time field 2025-01-18 21:47:50 -08:00
nathanmcrae 9cb0eae10f Add schedule start time setting 2025-01-15 22:37:27 -08:00
nathanmcrae b4ade494d0 Add 'manage schedule externally' setting 2025-01-15 21:56:38 -08:00
nathanmcrae 5e362673d4 Add schedule start date setting 2025-01-14 22:52:23 -08:00
nathanmcrae 008d1e2d6b Add help button 2025-01-13 22:46:45 -08:00
nathanmcrae 102c16e318 Add message period to settings 2025-01-13 22:46:34 -08:00
nathanmcrae f645cdccc7 Add updateStationSettings 2025-01-13 22:29:26 -08:00
nathanmcrae 55dc4c0181 Make station name editable 2025-01-13 21:58:06 -08:00
nathanmcrae b1d1acad2f Remove some spurious comments 2025-01-12 22:32:43 -08:00
nathanmcrae 3b725e3f29 Add prefixes to settings 2025-01-12 22:32:11 -08:00
nathanmcrae 6ab5e5d1ca Set up binding/saving for message method settings 2025-01-12 15:21:45 -08:00
nathanmcrae e21c078e4c Bind spinners to settings
and save settings values
2025-01-11 13:25:20 -08:00
nathanmcrae 9a49ea572a Restructure under numbersstation package
This keeps naming a little less verbose
2025-01-11 12:04:03 -08:00
nathanmcrae 7a6e250804 Finish fleshing out station settings view 2025-01-10 23:26:31 -08:00
nathanmcrae b434a52fa2 Save settings when settings dialog save button pressed 2025-01-10 22:59:11 -08:00
nathanmcrae 9f59fc813f Fix station selection
If current station was null, you couldn't select another station
2025-01-10 21:43:35 -08:00
nathanmcrae 4444b82edc Persist station list across sessions 2025-01-09 22:29:11 -08:00
nathanmcrae c5e0b41dab Flesh out station selection
Also, save selected station in settings. So that the application opens
with the most recently used station.
2025-01-05 22:53:53 -08:00
nathanmcrae 36b2c51787 Store StationSettings directly in ListView 2025-01-05 13:25:51 -08:00
nathanmcrae 4d1aa1842a Add jackson library dependency to build 2025-01-05 11:26:50 -08:00
nathanmcrae 4afe97334f Fix PATH setting 2025-01-05 11:26:25 -08:00
nathanmcrae 3dcd3adf03 Add basic station selection 2025-01-05 11:24:47 -08:00
nathanmcrae 47e0ad7393 Add basic property binding test 2025-01-01 20:24:14 -08:00
nathanmcrae aa42155644 Add basic settings (de)serialization 2025-01-01 20:24:02 -08:00
nathanmcrae fea5a35240 Add station selection window 2024-12-29 15:55:59 -08:00
nathanmcrae 3a45ca7ce2 'Config' -> 'Settings' 2024-12-29 12:42:34 -08:00
nathanmcrae 52f7369a10 Add message editing
Which constrains the message format and layout
2024-12-29 12:42:34 -08:00
nathanmcrae 55cec6be43 Add build script
just for documentation for the moment
2024-12-29 12:42:34 -08:00
nathanmcrae 02aac4f4e9 'Number station' -> 'Numbers station'
Seems to be the more common terminology
2024-12-29 12:42:34 -08:00