64a382e82c
feat: screen locker phone check at startup with background thread
...
- ADB check runs in background thread (ThreadPoolExecutor) so the UI
remains responsive while checking StrongLifts on the phone
- Poll result every 500ms via root.after instead of blocking main thread
- Show success screen for 1.5s before auto-unlocking when verified
- Target specific ADB device via -s flag using saved phone_config.txt
to avoid errors when multiple devices (USB + wireless) are connected
- Demo mode uses local grab_set() instead of grab_set_global() so it
works alongside other fullscreen apps
- Stub _start_phone_check in create_locker to prevent background threads
leaking into unrelated tests (fixes flaky test_run_adb_success)
- 112 tests passing, 100% branch coverage
2026-02-24 21:11:05 +01:00
192c91094e
feat: screen locker made even stronger
2026-02-23 22:50:42 +01:00
2a8d61088b
chore: added delio option
2026-02-23 22:09:52 +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
21c9180b00
feat: optimized isbn number calculations
2026-02-22 22:19:28 +01:00
cc8cc53dfb
feat: added run sh and makefile scripts
2026-02-22 22:00:50 +01:00
f4f25821e5
feat: shell scripts
2026-02-22 16:57:36 +01:00
265488a478
feat: added scripts for generating images for praca magisterska obrona
2026-02-22 13:08:14 +01:00
e44661f381
fix bluetooth script
2026-02-21 21:06:41 +01:00
8fb2e96363
feat: moviepy showcase full
2026-02-21 20:40:33 +01:00
6ec85106b7
Protect nsswitch.conf and resolved.conf from hosts bypass
...
- Add enforce-resolved.sh: validates ReadEtcHosts=yes, prevents
DNSOverTLS bypass, removes drop-in overrides, locks drop-in dir
- Add resolved-guard.path/service: watches /etc/systemd/resolved.conf
and its drop-in directory for tampering
- Update pacman hooks to unlock/relock nsswitch.conf and resolved.conf
alongside /etc/hosts during package transactions
- Extend setup_hosts_guard.sh with --skip-resolved option, resolved
canonical snapshot, drop-in directory locking, and enforcement
- Add resolved.conf checks to check_and_enable_services.sh: validates
ReadEtcHosts, DNSOverTLS, drop-in overrides, immutable attribute,
and resolved-guard.path status with auto-fix capability
Fixed on live system: ReadEtcHosts was set to 'no' and nsswitch.conf
was missing 'files' in the hosts line, completely bypassing /etc/hosts.
2026-02-20 23:21:25 +01:00
feac2a7aa8
fix: install sh i3
2026-02-20 20:43:37 +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
96eb511c83
feat: great beautiful fixes
2026-02-20 00:37:32 +01:00
9e4fee54d7
pre commit fixes
2026-02-20 00:21:41 +01:00
aa8501cc49
arch laptop fixes
2026-02-20 00:13:25 +01:00
7523c708d1
feat: added sounds and fixed skip button functionality
2026-02-14 19:00:08 +01:00
20337f07eb
fixes for existing scripts and pomodoro with local sync
2026-02-14 18:42:20 +01:00
4f37aad321
feat: install joplin script
2026-02-07 19:39:08 +01:00
93426490c4
Consolidate all Anki deck generators into python_pkg/anki_decks/
...
Move warsaw_bridges, warsaw_districts, warsaw_landmarks, warsaw_metro,
warsaw_osiedla, warsaw_streets, and car_brand_logos into the existing
python_pkg/anki_decks/ directory alongside the polish_* generators.
Also move preview_all.html into anki_decks/.
Update all import paths, filesystem references in geo_data.py,
docstrings, READMEs, test imports, and .gitignore accordingly.
2026-02-07 15:32:23 +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
11427631cd
feat: added flake8 max funciton length
2026-02-06 21:39:15 +01:00
029a99aaba
feat: added flake8
2026-02-06 21:25:57 +01:00
f28bb77df1
feat: brother printer checker
2026-02-06 21:21:52 +01:00
0762e3d07b
feat: brother printer checker
2026-02-06 21:00:40 +01:00
f557c22e7c
feat(screen_locker): harden table tennis verification, remove running option
...
- Remove 'Running' workout option (too easy to fake)
- Add MIN_TABLE_TENNIS_SETS=15 minimum requirement
- Add MIN_POINTS_PER_SET=11 mathematical cross-check
- Add TABLE_TENNIS_SUBMIT_DELAY=60 (increased from 30)
- Add verification question before unlock (total points/avg/diff)
- Require minimum duration per set (2 min/set)
2026-02-02 21:38:52 +01:00
50a2fdc90d
feat: hardened scripts
2026-02-02 21:36:27 +01:00
626ab92699
feat: fix stepmania and organize downloads scripts
2026-01-23 22:13:50 +01:00
a58568faa6
feat: some improvemnets to http cat anki
2026-01-18 14:35:41 +01:00
Copilot
7a211649b9
Add Polish license plate Anki flashcard generator with Wikipedia data extraction and caching ( #4 )
...
* Initial plan
* Add Polish license plate Anki generator with bidirectional cards
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add comprehensive README for Polish license plates package
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Fix license plate data: correct WT (Wawer) and WWY (Wyszków) mappings
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add Wikipedia scraper for automatic license plate data extraction
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Improve fetch_license_plates: add constants and update User-Agent
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add caching to Wikipedia scraper to avoid unnecessary requests
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add error handling for cache file operations
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-18 14:30:22 +01:00
Copilot
684e3a1bdb
Add thesis work tracker with window monitoring and hosts-based distraction blocking ( #5 )
...
* Initial plan
* Add bachelor thesis work tracker system - core implementation
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add status script and improve installer for thesis tracker
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Security improvements: fix sourcing, temp files, validation, and error handling
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Update README to clarify bachelor vs master's thesis naming
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-16 20:50:38 +01:00
Copilot
31f5601097
Add integrity verification and VirtualBox hosts enforcement to pacman wrapper ( #6 )
...
* Initial plan
* Add integrity checks and VirtualBox hosts enforcement to pacman wrapper
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add comprehensive tests and documentation for security enhancements
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Address code review feedback: improve error handling and VirtualBox detection
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add comprehensive summary of security enhancements
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Final code review fixes: improve comments, validation, and security messaging
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Add comprehensive implementation verification document
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-16 20:50:27 +01:00
Copilot
652e86c370
Add HTTP status code Anki deck generator with http.cat images ( #3 )
...
* Initial plan
* Add HTTP status code Anki deck generator with cat images
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Address code review feedback: improve test parameter handling
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-14 21:52:20 +01:00
ce9c276057
feat: different ankis
2026-01-10 15:08:04 +01:00
6616655c97
feat: comprehensive Poland geography cards
2026-01-08 17:01:54 +01:00
46309bbe78
feat: better warsaw districts anki card
2026-01-08 15:09:45 +01:00
Copilot
aa5b566ac5
Add pre-commit workflow and fix linting violations ( #2 )
...
* Initial plan
* Add pre-commit GitHub workflow and fix linting issues
- Created .github/workflows/pre-commit.yml to run pre-commit hooks in CI
- Fixed mypy type errors in translator.py
- Fixed shellcheck warning in run_anki_generator.sh
- Added per-file ignores for word_frequency module legacy code
- Applied auto-fixes from ruff, ruff-format, autoflake, prettier
- All pre-commit hooks now passing
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Make Python scripts with shebangs executable
- Set executable bit for word_frequency module scripts with shebangs
- All 30 pre-commit hooks now passing
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Fix: Restore imports in check functions (autoflake-proof)
- Restored imports in _check_argos(), _check_deep_translator(), _check_langdetect()
- Used _ = module assignment to prevent autoflake from removing imports
- These imports test module availability by triggering ImportError if missing
- All 30 pre-commit hooks now passing
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-07 22:57:42 +01:00
Copilot
faff8ba349
Fix shell script formatting and add PR workflow validation ( #3 )
...
* Initial plan
* fix: format shell scripts with shfmt (convert tabs to 2 spaces)
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* feat: enhance shell-check workflow for PR pre-merge validation
- Add pull_request_target trigger to check PRs from forks
- Add explicit failure message with instructions
- Create BRANCH_PROTECTION.md with setup guide
- Ensure workflow runs on all PRs targeting main/master
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* refactor: improve workflow security and remove redundant exit code
- Remove pull_request_target to avoid executing untrusted fork code
- Remove redundant exit 1 from failure step
- Update documentation to reflect changes
- Standard pull_request trigger handles forks securely
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-07 22:52:20 +01:00
Copilot
6ed1f8d205
Add Anki flashcard generator for Warsaw districts using real OpenStreetMap boundaries ( #1 )
...
* Initial plan
* Add Warsaw districts Anki generator with tests and documentation
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Apply pre-commit formatting fixes
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Address code review feedback: remove unused code and fix imports
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Address PR feedback: use genanki for self-contained .apkg, fix tests, update README
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
* Use real Warsaw district boundaries from OpenStreetMap instead of mock circles
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-07 22:50:59 +01:00
92df80522e
feat: sick mode
2026-01-07 17:03:07 +01:00
e593181785
fix: remove invalid bandit B608 test, disable pyupgrade (Python 3.14 incompatible)
2026-01-06 13:11:34 +01:00
c834bcb433
feat: sick mode
2026-01-06 13:10:54 +01:00
ade22b74d4
feat: sync keepassxc files
2026-01-03 16:25:06 +01:00
33a320acc0
feat: fix yay aur database
2026-01-03 16:08:50 +01:00
69f4994127
fixes for compulsiuve opening and midnight shutdown
2026-01-03 16:03:22 +01:00
2f8edbe753
fix: worklout screen lkocker
2026-01-02 19:11:54 +01:00
f7482b4194
feat: more restrictive midnight shutdown
2026-01-02 19:05:59 +01:00
2081993682
feat: added inverse mode for anki
2025-12-29 16:10:43 +01:00
aacb4b03ef
feat: added inverse mode for anki
2025-12-29 16:10:26 +01:00