Commit Graph

8 Commits

Author SHA1 Message Date
Marc Brooks
c8dd84c6b7
fix/Jiggler settings not saving (#786)
Some checks failed
build image / Build (push) Failing after 2s
golangci-lint / lint (push) Failing after 2s
ui-lint / UI Lint (push) Failing after 1s
Ensure the jiggler config loads the defaults so they can be saved.
Ensure the file.Sync occurs before acknowledging save.
Also fixup the old KeyboardLayout to use en-US not en_US
2025-09-09 14:48:49 +02:00
Adam Shiervani
8527b1eff1
feat: improve custom jiggler settings and add timezone support (#742)
* feat: add timezone support to jiggler and fix custom settings persistence

- Add timezone field to JigglerConfig with comprehensive IANA timezone list
- Fix custom settings not loading current values
- Remove business hours preset, add as examples in custom settings
- Improve error handling for invalid cron expressions

* fix: format jiggler.go with gofmt

* fix: add embedded timezone data and validation

- Import time/tzdata to embed timezone database in binary
- Add timezone validation in runJigglerCronTab() to gracefully fallback to UTC
- Add timezone to debug logging in rpcSetJigglerConfig
- Fixes 'unknown time zone' errors when system lacks timezone data

* refactor: add timezone field comments from jiggler options

* chore: move tzdata to backend

* refactor: fix JigglerSetting linting

- Adjusted useEffect dependency to include send function for better data fetching
- Modified layout classes for improved responsiveness and consistency
- Cleaned up code formatting for better readability

---------

Co-authored-by: Siyuan Miao <i@xswan.net>
2025-08-19 16:50:42 +02:00
jackislanding
f7b8efde7c
Added crontab scheduler for jiggler (#316) 2025-08-12 20:50:03 +02:00
Aveline
25e30f6420
refactor: remove init functions (#489) 2025-05-22 10:29:16 +02:00
Siyuan Miao
4c37f7e079 refactor: use structured logging 2025-04-11 00:43:46 +02:00
SuperQ
97ce785056
Fix more linter issues.
Signed-off-by: SuperQ <superq@gmail.com>
2025-03-11 18:35:12 +01:00
Aveline
554121a20b
chore: ensure config is loaded before init functions (#226)
Some checks failed
build image / Build (push) Has been cancelled
build image / Smoke test (push) Has been cancelled
2025-03-04 11:32:54 +01:00
Adam Shiervani
20780b65db Release 202412292127 2024-12-29 21:27:42 +01:00