screen-locker/screen_locker
Krzysztof kuhy Rudnicki f71024e9f4 fix(screen_locker): parse exercises from JSON column, show reason in suspicious message
- Rewrite _get_today_exercise_count() to parse JSON from workouts.exercises
  column instead of broken JOIN on exercises definition table
- Show actual reason (stale/no_exercises) instead of generic 'suspicious'
- Fix pylint issues: generated-members regex for mock assertions, design
  limits for mixins/tests, concurrent.futures no-name-in-module disable,
  implicit booleanness in assertions, module-level pylint disables in tests
- Add pytest to pre-commit pylint additional_dependencies
- Add tests for missing exercises column, null/malformed JSON, nameless
  exercise entries
2026-04-10 18:11:30 +02:00
..
tests fix(screen_locker): parse exercises from JSON column, show reason in suspicious message 2026-04-10 18:11:30 +02:00
__init__.py Fix test discovery and coverage for python_pkg modules 2025-12-02 22:33:34 +01:00
_constants.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
_log_integrity.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
_phone_verification.py fix(screen_locker): parse exercises from JSON column, show reason in suspicious message 2026-04-10 18:11:30 +02:00
_shutdown.py WIP: Enforce 500-line limit - split batch 1 2026-03-16 22:46:48 +01:00
_time_check.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
_ui_flows.py fix(screen_locker): parse exercises from JSON column, show reason in suspicious message 2026-04-10 18:11:30 +02:00
adjust_shutdown_schedule.sh fix: reduce phone penalty to 100s, fix shutdown guard race condition 2026-03-27 16:13:58 +01:00
install_autostart.sh feat: better screen lock checker 2026-03-08 21:39:39 +01:00
install_systemd.sh feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +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
screen_lock.py feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
workout-locker.service feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00
workout-locker.timer feat(screen_locker): harden bypass prevention 2026-04-09 21:44:13 +02:00