Commit Graph
157 Commits
Author SHA1 Message Date
NeilClack 1f9da7ee78 Attempt to fix proclamation sync
internal/sync/sync.go: Return proclamations after updating.
internal/page/proclamationOptions: Handle sync return value and fallback to db if empty
2026-05-11 12:55:16 -05:00
NeilClack 870d73d6e1 Filter logs to WARNING+ 2026-05-10 22:51:26 -05:00
NeilClack 87d484353f Fixed WiFi password bug. Ready for testing and merge 2026-05-10 21:19:07 -05:00
NeilClack 3cf3e4cf23 Fix database syncronization
When connecting to the internet for the first time, the proclamations table is empty.
If the user navigates to Settings -> Proclamations, then the sync.SyncProclamations
function is called. After this function returns, the ProclamationOptions screen
queries the database for proclamations which returns an empty list. Even though
the database was updated, the ProclamationOptions screen's instance of the database
connection was returning empty.
2026-05-06 10:16:19 -05:00
NeilClack 6b151eb0c5 Disable DEBUG logs unless explicitly enabled 2026-04-25 19:06:37 -05:00
NeilClack f4a205c472 Switch logs to Debug and remove SwitchDevice 2026-04-24 18:20:52 -05:00
NeilClack c12db4ba52 Remove broken logger line 2026-04-24 18:20:39 -05:00
NeilClack b30489ad0f Increment version for testing purposes 2026-04-24 18:00:35 -05:00
NeilClack 7f344ae5c8 Optimize proclamation loading 2026-04-24 11:06:50 -05:00
NeilClack ec3ccabb62 Remove Universal Wellbeing from visual and toggle-able list 2026-04-23 17:30:33 -05:00
NeilClack cfd67f3545 Optimize word collection loop 2026-04-23 17:30:33 -05:00
NeilClack dd069e9345 WIP: Stagger proclamations
Proclamations are now inserted 10 times, and in between each proclamation, the Universal Wellness proclamation is inserted.
Now I need to optimize the loop & remove the Universal Wellbeing option from the Proclamations menu (hide it) because it's always enabled.
2026-04-23 17:30:33 -05:00
NeilClack 0197f6cba8 Cleanup version by removing the 'v' 2026-04-23 17:30:33 -05:00
NeilClack 89b3a3b6d5 Shorten version
Customer's don't care about these updates, just minor/major, so why confuse them?
2026-04-23 17:30:33 -05:00
NeilClack 82651ec491 Remove 'Check for Updates' entry in Settings 2026-04-23 17:30:33 -05:00
NeilClack 504095caa8 Sync instead of download.
Updated Sync functions to perform proper synchronizations instead of pure downloads.
This means that if something is deleted on the server, it will be deleted on the client as well, instead of just left hanging.
The SyncProclamations function was also updated to perform this way, but while retaining the user's saved list.
2026-04-23 17:29:21 -05:00
NeilClack 10ba5df132 Force re-initialization of audio device when Play() is called 2026-04-23 17:29:21 -05:00
NeilClack c8756d0528 Recurse if inited but no deviceOpen 2026-04-23 17:29:21 -05:00
NeilClack 9c88f0c9fd Re-organize Settings Menu 2026-04-23 17:29:20 -05:00
NeilClack 6b358bae42 Justify settings entries 2026-04-23 17:29:20 -05:00
NeilClack b6bf0f1873 Sync proclamations when entering proclamation list 2026-04-23 17:29:20 -05:00
NeilClack 4f392242c9 Update audio page name 2026-04-23 17:29:20 -05:00
NeilClack 105d8900d5 Replace audio devices with audio toggle 2026-04-23 17:29:14 -05:00
NeilClack 4f33296f24 remove device list
audio toggle is still not rendering
2026-04-23 17:26:22 -05:00
NeilClack 05a7098886 Remove devices list and device vector length check 2026-04-23 17:26:22 -05:00
NeilClack de0d9a1754 Remove unused method 2026-04-07 09:43:49 -05:00
NeilClack f65a41333d Search works
Search works well enough. Right now, you can only search via a single keyword at a time, and the search only filters based on the name, not the content. I believe we should implement a search tag feature on proclamations
2026-03-31 12:12:07 -05:00
NeilClack 2f93ab1c0b Search works 2026-03-31 11:50:00 -05:00
NeilClack 201955db11 Merge branch 'dev' into search-proclamations 2026-03-31 09:14:54 -05:00
NeilClack 2287ee65a6 Force sub-categories to be expanded always 2026-03-31 09:13:50 -05:00
NeilClack 8707fe0bd6 Plan search bar implementation 2026-03-30 21:27:05 -05:00
NeilClack 04b3e2bb36 Change update service to nixos-upgrade 2026-03-30 12:27:55 -05:00
NeilClack 95647334ee Add message page for displaying errors 2026-03-30 09:58:00 -05:00
NeilClack 12a20b336f Remove display counts 2026-03-30 09:20:45 -05:00
NeilClack 9556e95540 Merge branch 'dev' 2026-03-30 00:43:37 -05:00
NeilClack 120772175d Update Proclamation selection
Moved selection keybinds:
- Enter now saves
- Space selects
- Removed A

Updated colors to be more readable and colorblind friendly.

Cleaned up instructional text to be easier and more simple to read.
2026-03-30 00:43:01 -05:00
NeilClack 331a8255fd Set version to 1.0.0 statically 2026-03-30 00:10:21 -05:00
NeilClack aea646f788 Set default volume to MAX
Set MAX volume for SDL2 Mixer, as well as the volume for all audio sinks via wpctl to 1.0.
This forces the computer to always be at absolute max volume, without creating scripts on the machine to run wpctl commands. Leaving the display or connected speakers to be in full control over the volume of music.
2026-03-30 00:08:52 -05:00
NeilClack 6e28b90ee8 Add wifi, license and email checks 2026-03-29 23:41:16 -05:00
NeilClack 7339a30cca Fix update to omit "selected" field. 2026-03-27 19:12:40 -05:00
NeilClack 03bd6fe8d5 Fix update page scaling 2026-03-27 19:12:17 -05:00
NeilClack 205b068fbf Fix audio bug 2026-03-25 17:17:22 -05:00
NeilClack 8763f70452 Fix no-start issue 2026-03-25 15:13:35 -05:00
NeilClack 57691e6b68 Fix font scaling issue 2026-03-25 13:53:05 -05:00
NeilClack 678d679b53 Fix bug loading 0 proclamations 2026-03-25 11:27:16 -05:00
NeilClack 9b6bae9511 List proclamations inside of categories
F2 also redirects when no proclamations are selected (the default)
2026-03-24 11:19:50 -05:00
NeilClack 8d23841391 Pull Proclamations & Categories from API and store them in the database 2026-03-23 17:35:52 -05:00
NeilClack 17c088cc2f Update Database
Database is more usable now.
All pages have been updated to use the database, and share an application configuration.
Page Stack has been removed, no more pages hanging around in memory. Replaced with a 'Router' which uses an Enum to determine which page should be displayed, destroys the old page and initializes the new page all in one go. No more push, pop, rollback, etc. No more holding instances of pages.
Logger has been updated with proper timestamps and sorting now works as expected."
2026-03-23 15:02:07 -05:00
NeilClack 5f254e94cd Fix WiFi page update 2026-03-13 21:13:21 -05:00
NeilClack 5fef01107b Attempt to fix wifi connectivity 2026-03-13 20:58:28 -05:00