Commit Graph
100 Commits
Author SHA1 Message Date
nathanmcrae 961cdc897a Move divider between app controls and station controls 2025-05-19 20:08:29 -07:00
nathanmcrae 13ab7b82db Flesh out help 2025-05-19 19:28:55 -07:00
nathanmcrae d138ea3ad6 Add about page 2025-05-19 19:28:34 -07:00
nathanmcrae 13355ce401 Factor out config path 2025-05-19 19:28:05 -07:00
nathanmcrae e559508507 Change feed type to atom 2025-04-21 19:37:35 -07:00
nathanmcrae e0a8a237a4 Fix some text alignment 2025-04-17 22:04:59 -07:00
nathanmcrae 8bd9e4c356 Add readme
Mostly project-tracking stuff right now
2025-04-17 21:33:50 -07:00
nathanmcrae 30456c7b7e Add UI mock-up
For posterity
2025-04-17 21:33:21 -07:00
nathanmcrae a2fece0143 Add initial attempt at rss feed generation 2025-04-16 22:58:01 -07:00
nathanmcrae 897dcac243 Log station run complete 2025-04-15 22:41:29 -07:00
nathanmcrae a7148e247c Implement external program call 2025-04-15 22:41:09 -07:00
nathanmcrae c8aa18338a Down-size icon to 256x256 2025-04-15 21:24:05 -07:00
nathanmcrae c55cfbef42 Fix Station Settings button anchor 2025-04-15 21:24:05 -07:00
nathanmcrae 183d9c9794 Implement next send time label 2025-04-15 21:24:05 -07:00
nathanmcrae 9f6d4171a5 Add icon to repo 2025-04-09 19:30:32 -07:00
nathanmcrae 3a1a6223bf Adjust GUI layout for linux rendering 2025-04-09 19:26:14 -07:00
nathanmcrae ab48e726af Add basic help page
lsafej
2025-04-09 19:26:14 -07:00
nathanmcrae af555112b2 Add icon to window 2025-03-23 15:50:04 -07:00
nathanmcrae c480239636 Update schedulers to use process's executable path for invocation 2025-03-22 23:35:09 -07:00
nathanmcrae 670779a3aa Added check for argument parsing failure 2025-03-22 23:35:09 -07:00
nathanmcrae 947bccb6da Add missing MainRun.java 2025-03-10 22:55:13 -07:00
nathanmcrae 998357385e Minor WindowsScheduler updates 2025-03-10 22:54:56 -07:00
nathanmcrae 7e2d4ca1a4 Add Linux scheduler 2025-03-10 22:54:34 -07:00
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