e05335bbb7
chore: add noqa blocker, per-app timeouts, clean up per-file-ignores
...
- Add no-noqa and no-ruff-noqa pre-commit hooks
- Add per-app timeout overrides for beeper/signal (20m)
- Remove excessive per-file-ignores for cinema_planner, linux_configuration,
word_frequency, praca_magisterska_video
- Add PT019 allowance for test files
- Add S310 per-file exceptions for geo_data.py and library_hider.py
2026-04-10 18:46:17 +02:00
4d3da460fc
refactor(linux_configuration): fix ruff violations in digital wellbeing and transcription scripts
...
- Add type annotations and docstrings to focus_mode_daemon.py, transcribe_fw.py, transcribe_helpers.py
- Use logging module instead of print
- Fix bare except clauses with specific exception types
2026-03-13 20:42:39 +01:00
192c91094e
feat: screen locker made even stronger
2026-02-23 22:50:42 +01:00
720a291388
leechblock: switch defaults to gist JSON, seed LevelDB directly, block unsupported browsers
...
- Replace leechblock_defaults.js with LeechBlockOptions.json fetched from
private gist (30 block sets, 1568 keys)
- Add seed_leechblock_storage.js: writes settings directly into Chrome's
LevelDB via classic-level, bypassing content-verification entirely
- Supports both .json and legacy .js defaults files
- Chunked writes (individual db.put) to avoid batch size limits
- Per-profile error isolation; Thorium LevelDB warning demoted to non-fatal
- Add package.json (type:module + classic-level dep) and .gitignore for
node_modules
- install_leechblock.sh: drop background.js patching, call seeder instead;
auto-installs classic-level if node_modules absent
- install_pacman_wrapper.sh: deploy .json defaults, seeder, and package.json
to /usr/local/share/digital_wellbeing; run npm install there
- pacman_blocked_keywords.txt: add browsers not handled by install script
(Microsoft Edge family, firefox-esr/nightly, opera-beta/dev,
iridium, slimjet, chromium-dev, qutebrowser, midori)
2026-02-23 22:00:31 +01:00
09e85cd914
feat: LeechBlock default config, Chrome repo, nsswitch fixes, extended checker
...
- Add leechblock_defaults.js with pre-configured blocking rules matching
hosts/install.sh (YouTube, food delivery, fast food — 3 block sets)
- install_leechblock.sh: switch to LeechBlockNG-chrome repo, download
jQuery UI, inject defaults.js into extension, patch background.js to
seed storage on first run, replace browser binary in-place
- remove_guest_mode.sh: fix associative array key spacing
- enforce-nsswitch.sh: handle 'resolve' without 'dns' in emergency fix
- setup_hosts_guard.sh: ensure 'files' in nsswitch hosts line before
snapshotting, remove erroneous 'local' outside function
- check_and_enable_services.sh: extend from 5 to 12 services, add
nsswitch.conf validation and auto-fix
2026-02-20 20:24:13 +01:00
4c4e966e5f
feat: great beautiful fixes
2026-02-20 01:17:53 +01:00
9e4fee54d7
pre commit fixes
2026-02-20 00:21:41 +01:00
20337f07eb
fixes for existing scripts and pomodoro with local sync
2026-02-14 18:42:20 +01:00
04c132c9a4
Add 'linux_configuration/' from commit '0762e3d07b90bac9256eb272de10bf9f42878094'
...
git-subtree-dir: linux_configuration
git-subtree-mainline: 11427631cd
git-subtree-split: 0762e3d07b
2026-02-06 21:43:26 +01:00