screen-locker/screen_locker
Krzysztof kuhy Rudnicki 6c25a36820 screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights
- Added SCHEDULED_SKIPS_FILE constant pointing to scheduled_skips.json
- Added _is_scheduled_skip_today() method: reads JSON list of YYYY-MM-DD
  strings, exits 0 if today's UTC date is found (skips lock entirely)
- _shutdown.py: changed rtcwake -m no -> -m disk so machine hibernates
  immediately when scheduling morning alarm (bedroom use)
- Added tests/test_scheduled_skip.py with full branch coverage
- Added scheduled_skips.json with initial skip dates
2026-05-22 16:00:15 +02:00
..
tests screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights 2026-05-22 16:00:15 +02:00
__init__.py Fix test discovery and coverage for python_pkg modules 2025-12-02 22:33:34 +01:00
_constants.py screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights 2026-05-22 16:00:15 +02:00
_log_integrity.py Add tests and fix pre-commit issues across all projects 2026-04-12 20:45:24 +02:00
_phone_verification.py Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
_shutdown.py screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights 2026-05-22 16:00:15 +02:00
_sick_dialog.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
_sick_tracker.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
_time_check.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
_ui_flows.py feat(screen-locker): add sick-day tracker and commitment debt flow 2026-05-14 19:52:15 +02:00
adjust_shutdown_schedule.sh Apply focus-mode, screen-locker, and steam backlog updates 2026-05-03 22:41:53 +02:00
early-bird-workout-check.timer feat(screen-locker): add early-bird workout checks and phone verification updates 2026-05-01 19:07:34 +02:00
install_autostart.sh feat: better screen lock checker 2026-03-08 21:39:39 +01:00
install_systemd.sh fix: PYTHONPATH in screen locker status check; sudo for steam enforcer install 2026-05-15 01:19:57 +02:00
remove_autostart.sh refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
remove_systemd.sh refactor: remove manual workout forms, ADB-only verification + sick mode 2026-03-27 15:54:01 +01:00
run.sh refactor: split oversized SBE modules, extend screen locker, and enhance Horatio demo 2026-03-29 22:50:24 +02:00
scheduled_skips.json screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights 2026-05-22 16:00:15 +02:00
screen_lock.py screen_locker: add scheduled-skip date mechanism + hibernate on alarm nights 2026-05-22 16:00:15 +02:00
workout-locker.service feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00