Commit Graph
100 Commits
Author SHA1 Message Date
NeilClack d385840e8e change on back to push for testing 2026-06-25 14:15:38 -05:00
NeilClack 09cd53fd25 Modify nix build command to print out output paths so we can copy binaries 2026-06-25 14:14:51 -05:00
NeilClack 17dbb759bd Copy binary to home directory and upload artifact to Codeberg 2026-06-25 14:07:47 -05:00
NeilClack af13d9a56c Update "Build" step
Updated nix command to utilize the nix-daemon
2026-06-25 13:34:53 -05:00
NeilClack f899b046e4 Fix action file... 2026-06-25 13:16:38 -05:00
NeilClack 5d8fe4d5b7 Update build steps to host instructions 2026-06-25 13:15:23 -05:00
NeilClack 2115a135e9 Update Install Nix - Uses
From cachix/nix-ci-action@V26
To https://github.com/cachix/install-nix-action@v27
2026-06-25 13:05:54 -05:00
NeilClack 70acdc2db5 Update runner name 2026-06-25 12:46:57 -05:00
NeilClack b499e16961 Start automating builds. v1 2026-06-25 11:25:16 -05:00
NeilClack f8e75194e8 Update version hash for visual verification 2026-06-24 23:20:57 -05:00
NeilClack cd79a6ffa1 Rename package files for consistency 2026-06-24 23:18:52 -05:00
NeilClack 57500308b0 Handle locked database cases 2026-06-24 23:18:32 -05:00
NeilClack a4eff17b77 fix(network): fix wifi page never scanning, never exiting, and UI freezes on connect
WiFiSetupPage never showed networks and could not be exited once entered.
Several compounding bugs were responsible across network.go and page.go.

Primary bugs fixed:

- WiFiSetupPage.Init() never assigned p.wifiDevice after FindDevices(),
  so startScan() always hit the nil guard and exited without launching
  a scan goroutine. No networks ever appeared in the list. A value copy
  of the Wi-Fi device is now taken from m.Devices immediately after
  FindDevices() returns, with an explicit error if no adapter is found.

- CheckInternetConnection() called FindDevices() on every tick, rebuilding
  m.Devices every 2 seconds. This caused [NET-030] log spam, invalidated
  any pointers held into the slice, and meant checkState()'s fresh Manager
  instances (which have an empty Devices slice) would never detect internet
  after Fix 2 was applied. CheckInternetConnection() now calls FindDevices()
  only when m.Devices is empty (fresh Manager), and does a cheaper per-device
  State property refresh when devices are already known (long-lived Manager).
  This satisfies both callers correctly.

- Connect() called WaitForInternet(30s, 5s) synchronously before returning,
  blocking the main UI thread for up to 35 seconds. It also returned an error
  if internet wasn't stable in time, even though AddAndActivateConnection had
  succeeded, causing the page to show "Failed to initiate connection" while NM
  was still negotiating in the background. WaitForInternet removed from
  Connect(); the page's existing checkConnectionStatusLoop and
  handleConnectionStatusUpdate already handle post-connection state tracking.

Additional bugs fixed:

- startScan() launched a new StartScan goroutine on every R-press without
  signalling the previous one to stop. Concurrent goroutines raced on
  resultsChan and accumulated indefinitely. stopScan is now closed and
  replaced before each scan, and checkConnectionStatusLoop is restarted
  with the new channel.

- Connect() always generated a new UUID and called AddAndActivateConnection
  without checking for an existing profile. Repeated connection attempts
  (e.g. wrong password then correct) accumulated duplicate stale profiles
  in NetworkManager. Existing profiles matching the SSID are now deleted
  via Settings.Connection.Delete before creating a new one.

- m.Devices was read and written concurrently from StartScan and
  CheckInternetConnection goroutines without synchronisation. A sync.RWMutex
  is added to Manager; state refreshes take a write lock, StartScan device
  lookup takes a read lock.

- Connect() checked wifiDevice.State using the caller's value copy taken at
  Init() time, which never updated. The current state is now read from
  m.Devices under lock at the point of connection.

- auth-alg: "open" was unconditionally set in the 802-11-wireless-security
  settings block. This field is only meaningful for WPA/WPA2-Personal and
  should be omitted for SAE (WPA3) and EAP variants. It is now only set
  when KeyMgmt is "wpa-psk".
2026-06-24 22:41:48 -05:00
NeilClack a7f551ccca Add extensive logging to networking package 2026-06-24 21:32:14 -05:00
NeilClack 953d0d8bc9 Rewrite entire network package and update wifi page 2026-06-24 18:29:59 -05:00
NeilClack 2d2069fd63 Remove ownership commands 2026-06-24 15:11:58 -05:00
NeilClack d903deabea Remove audio.wav and audio directory creation 2026-06-24 15:06:45 -05:00
NeilClack cc2887d2a0 Update version text and add more download logs 2026-06-24 14:57:42 -05:00
NeilClack 970b8ebf09 Add verbose logging to download.DownloadAudioFiles 2026-06-24 14:50:13 -05:00
NeilClack b018a79ecf Create a fallback for wen no audio is selected 2026-06-24 14:22:48 -05:00
NeilClack 0a9a33b87b Fix download URL mismatch 2026-06-24 14:17:06 -05:00
NeilClack 732bd7c9a0 Update audio options page to display outputs 2026-06-23 13:52:44 -05:00
NeilClack 30dd5ffdcb Create objects for tracking audio devices 2026-06-23 11:22:21 -05:00
NeilClack 6f8cfbffee Migrate scroller page to arrow pointer navigation
Change ENTER and SPACE to perform the same actions, and also save on every update.
2026-06-19 09:44:55 -05:00
NeilClack 4cd24375cd Add audio features
- Downloads all audio files in the background
- Tracks overall progress of audio downloads, keeping "position" when
  returning
- Scroller dynamically switches between audio tracks based on the
  solfeggio frequency of the currently playing proclamations
- Removed audio tracks list from Audio Options page
- Honestly a whole host of other stuff I forgot to mention
2026-06-19 00:13:25 -05:00
NeilClack 5bd2b75267 Auto play audio based on solfeggio frequencies 2026-06-19 00:11:48 -05:00
NeilClack 9ee7e8021a Remove track list from AudioOptions 2026-06-18 23:01:11 -05:00
NeilClack 1c814f4abb Reset default volume to MAX 2026-06-18 22:51:17 -05:00
NeilClack ac86864c72 Add downloading message to home screen.
Download files in the background and keep track of progress.
2026-06-18 22:43:47 -05:00
NeilClack 2af1aae885 Audio files download on application start. Home screen shows status message 2026-06-18 21:52:29 -05:00
NeilClack 7ecb90b63b Downloads are working and the goroutine is reporting updates appropriately. 2026-06-18 21:28:16 -05:00
NeilClack 397d4c9f19 Block skipping setup screens 2026-06-18 16:12:24 -05:00
NeilClack b11afe22f0 remove file downloads 2026-06-18 15:49:29 -05:00
NeilClack d8a9f6881a create scaffold for loading screen 2026-06-18 15:49:20 -05:00
NeilClack 1a67b97804 un-mask wifi password 2026-06-18 15:49:05 -05:00
NeilClack 60815ba001 Track FirstRun 2026-06-18 15:39:37 -05:00
NeilClack a5f9780f41 Add download package 2026-06-18 15:39:30 -05:00
NeilClack 26e84a4d23 Refactored the Networking package. D0.1B 2026-06-18 11:46:46 -05:00
NeilClack fe5543d50d Audio downloads when necessary 2026-06-18 11:29:45 -05:00
NeilClack d121ffdaa8 Ready to implement a loading bar 2026-06-18 08:11:33 -05:00
NeilClack 6b48679537 Add database logic 2026-06-18 08:02:21 -05:00
NeilClack 74874f97c5 audio selection works 2026-06-17 00:46:56 -05:00
NeilClack 4b7d2c13d5 Rename audio devices to audio options 2026-06-11 19:44:20 -05:00
NeilClack ddab8e446c Update version for visual preference during beta phase 2026-06-03 11:21:28 -05:00
NeilClack 3ca86aa68e Add missing characters and punctuation 2026-06-03 10:47:04 -05:00
NeilClack ee10b893d2 Merge branch 'dev' 2026-05-31 12:30:10 -05:00
NeilClack 8268022d51 Organize proclamations alphabetically 2026-05-31 12:15:10 -05:00
NeilClack 0ebc3adf4a Proclamations change colors! 2026-05-31 12:08:19 -05:00
NeilClack c6fd4f51f4 Added frequency aligned color paletes 2026-05-30 13:11:09 -05:00
NeilClack f7ef42c84a Rename application to Radiant Wave 2026-05-26 14:12:27 -05:00
NeilClack 6f031be355 Remove failing unit tests 2026-05-14 12:06:06 -05:00
NeilClack 79f613c031 Remove failing unit tests 2026-05-14 12:05:28 -05:00
NeilClack 5188c90350 Add working volume bar in audioDevices page 2026-05-14 10:21:11 -05:00
NeilClack 3ea32e0eaa Add volume changing logic 2026-05-14 09:57:13 -05:00
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 47f3c13609 Update flake.lock 2026-04-24 16:43:18 -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 b94279be69 Update changelog 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 32648377ce commit 2026-04-23 17:29:20 -05:00
NeilClack 76fd605777 Update changelog 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 9575833392 Cleanup repository 2026-04-23 17:26:22 -05:00
NeilClack 337710c8e7 Update tasks 2026-04-23 17:26:22 -05:00
NeilClack 3fb4117619 Cleanup repository from un-used files and directories 2026-04-23 17:26:22 -05:00
NeilClack 7aecf5f910 Update audioFile 2026-04-09 14:10:07 -05:00
NeilClack 1ae579cf03 Update audio file path 2026-04-09 13:03:47 -05:00
NeilClack cdcb8d4c59 Remove call to files.neilclack.com 2026-04-09 09:31:55 -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