Commit Graph
6 Commits
Author SHA1 Message Date
Markus Graf 64947deeb1 fix: use append (>>) instead of overwrite (>) for cron logs and add missing dependencies
- Fixed api/schema.py to generate cron jobs using '>> wecker.log' so logs aren't truncated.
- Added test_bugfix_default_command_uses_append_for_logs in tests/test_api.py to prevent regression.
- Added RPi.GPIO and pygame to pyproject.toml via 'uv add' to fix ModuleNotFoundError in cron jobs.
- Updated README.md to reflect that system python packages are no longer needed.
2026-05-11 22:08:57 +02:00
Markus Graf ff79224560 feat: make command parameter optional in set_alarm mutation 2026-05-11 15:05:29 +02:00
Markus Graf 5b5b845e41 Fix premature evaluation after blinking completes
When transitioning from STATE_BLINKING to STATE_WAIT_FOR_INPUT, the script used a stale timestamp `now` from before the blocking `blink_led` function. This caused the puzzle to immediately evaluate as failed. Updated to use `time.time()` after blinking finishes to ensure the user gets the full 3 seconds to enter their answer.
2026-05-10 07:41:00 +02:00
Markus Graf a7c4febd67 test: add tests and refactor wecker.py state machine for testability 2026-05-09 22:31:28 +02:00
Markus Graf 96aa183434 feat: implement graphql API with static key authentication 2026-05-09 22:18:40 +02:00
Markus Graf 36bfe0c69d feat: implement crontab manager for managing alarms 2026-05-09 22:18:38 +02:00