Shell Tools

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2025-02-14
20:15
Fix Netto downloader. The previously assumed constant ID was not constant. Extract the correct PDF path from the website. Leaf check-in: 17dae30cd2 user: thomas tags: fix_leaflet_bot
19:03
Fix the NettoScottie downloader. The assumed-constant hex id was not actually a constant. The new approach asks the REST API for all catalogs for a hopefully constant dealer/shop id, then fetches the proper leaflet from there. check-in: 72e475d494 user: thomas tags: fix_leaflet_bot
2025-02-13
11:35
backup-paperless.xsh: Restore missing --exclude-from parameter in bup index call. Ignoring unwanted stuff works again Leaf check-in: 6de5461709 user: thomas tags: trunk
2025-02-11
15:46
Fix udev rule to only trigger on device plug-in, and not on disconnect check-in: f7c49f3685 user: thomas tags: trunk
15:13
run-in-gui: Use udev with systemd user services to run GUIs on USB device plugin. Currently for Yubico Yubikey USB FIDO2/TOTP hardware security devices. check-in: 8a7abc964e user: thomas tags: trunk
11:26
Add a bot that manages leaflets in a Paperless-ngx installation. Consists of - A download script that downloads leaflets as PDF and adds them to a Paperless-ngx installation - Weekly systemd timers to trigger downloads - A cleanup script that moves outdated leaflets to the trash bin - A monthly systemd timer for monthly-released magazines check-in: 51cddc81ff user: thomas tags: trunk
2025-02-06
21:44
Add a bunch of docstrings to methods. Closed-Leaf check-in: 30a6b647c0 user: thomas tags: paperless_leaflet_bot
19:30
Add missing correspondent in config.ini check-in: 1140a6dfc0 user: thomas tags: paperless_leaflet_bot
19:28
Implemented downloading from Penny. Construct a PDF from a sequence of PNGs offered by the website check-in: d0ab51466c user: thomas tags: paperless_leaflet_bot
2025-02-05
21:49
backup-paperless.service: Ignore failure to start backup-sync.service in ExecPostStop. A failure there is not a failure of the backup snapshot service, and should be ignored. check-in: baafab4d70 user: thomas tags: trunk
21:43
Implemented automatic, rate- and attempt-limited download retry. The fetcher service is configured to perform up to 5 attempts total to download a leaflet, with 5 minutes between attempts. check-in: ff7573592b user: thomas tags: paperless_leaflet_bot
2025-02-02
15:43
Refactor request client creation for downloaders. The client creation can be customized by individual classes. NettoDownloader uses this to set a user agent string to circumvent server-side ban logic. check-in: e54ada2499 user: thomas tags: paperless_leaflet_bot
15:05
Implemented downloader for Netto. It assumes some random number is a constant. To be verified next week check-in: 717a41df9c user: thomas tags: paperless_leaflet_bot
10:49
Implemented downloading Netto Scottie check-in: ea383a9be5 user: thomas tags: paperless_leaflet_bot
09:07
Shorten titles for entries not falling into a work week. Remove parenthesis in those cases. Always remove dots after months. check-in: fefe7159d3 user: thomas tags: paperless_leaflet_bot
08:52
Map Globus-Magazin correspondent to Globus check-in: 78900c867f user: thomas tags: paperless_leaflet_bot
08:49
Fix Kaufland leaflet valid duration. Because it spans over Sunday, it needs to be 7. check-in: a6995849c3 user: thomas tags: paperless_leaflet_bot
08:47
Fix bad date specification for monthly releases. datetime is 1-indexed. check-in: 5703fa3ea3 user: thomas tags: paperless_leaflet_bot
2025-02-01
21:02
Update the leaflet-fetcher.service description check-in: 7792c71925 user: thomas tags: paperless_leaflet_bot
20:59
Enable the Globus Magazin downloader check-in: 184aaf8194 user: thomas tags: paperless_leaflet_bot
20:58
Implemented downloading the Globus mio Magazin. check-in: 15383a9d95 user: thomas tags: paperless_leaflet_bot
20:46
Add a monthly timer triggering each second morning of the month check-in: 7e2dbcd807 user: thomas tags: paperless_leaflet_bot
20:38
Fix dm-Magazin release date. Always date back to the first day of the current month check-in: 2ac2a7a846 user: thomas tags: paperless_leaflet_bot
20:34
Fix dm-Magazin title. The default generation does not work with monthly titles. check-in: adf88a58d0 user: thomas tags: paperless_leaflet_bot
20:21
Implemented fetching the dm Alverde Magazin, releasing every month check-in: 820f732f62 user: thomas tags: paperless_leaflet_bot
19:32
Restructure document types. Put these in a separate configuration file section check-in: 42e98cbb0e user: thomas tags: paperless_leaflet_bot
19:27
Configurable document type. Downloader classes can now specify if they fetch leaflets or magazines check-in: 9ae0e857b2 user: thomas tags: paperless_leaflet_bot
18:47
Use the json= parameter to post the bulk edit data check-in: c8b9a82792 user: thomas tags: paperless_leaflet_bot
18:43
Add missing terminating / in the bulk delete API endpoint check-in: ddd62ba4a8 user: thomas tags: paperless_leaflet_bot
18:40
Fix for filtering by document type id in the leaflet search check-in: 4f18ff4e99 user: thomas tags: paperless_leaflet_bot
18:23
Remove bad, autogenerated import check-in: 0b3bf58bed user: thomas tags: paperless_leaflet_bot
18:22
Redone finding outdated leaflets. Include the leaflet document type in the query to only delete those. check-in: 412f6ee433 user: thomas tags: paperless_leaflet_bot
17:55
Use the bulk edit endpoint to mass-delete all outdated leaflets check-in: 90389e9d44 user: thomas tags: paperless_leaflet_bot
17:46
Refactor cleanup task script. Use the same client code as the fetcher script. Use the new valid-until custom field to determine outdated state by comparing against the current date. check-in: a4c173e1be user: thomas tags: paperless_leaflet_bot
17:19
Fix use of the document editing API. Use the proper HTTP method (PATCH) instead of PUT check-in: 8757890dd8 user: thomas tags: paperless_leaflet_bot
17:13
Potentially fix _set_document_dates JSON serialization check-in: c98748bb7f user: thomas tags: paperless_leaflet_bot
17:09
Fix Paperless tasks API usage. check-in: 4778030dc2 user: thomas tags: paperless_leaflet_bot
16:59
Fix tests. Fix Phillips downloader file name and URL generation. check-in: f38297e672 user: thomas tags: paperless_leaflet_bot
16:38
Decompose API uploading into individual parts for PDF upload, waiting on consumption, and setting additional data. check-in: e0d8e74b63 user: thomas tags: paperless_leaflet_bot
15:37
Correct Phillips leaflet available time check-in: 3d4242e884 user: thomas tags: paperless_leaflet_bot
15:30
Set valid until custom field when uploading leaflets to Paperless. check-in: 5516076917 user: thomas tags: paperless_leaflet_bot
14:02
Fix local storage mode. Do not try to create a requests.Session when not uploading to Paperless via API. check-in: 2d94a4f11c user: thomas tags: paperless_leaflet_bot
13:53
Refactored downloader script logic. Drop writing PDFs to temporary directories in /tmp. Instead keep the binary data in memory. Pass the data together with all metadata in a container class for easier management check-in: 34bd87eed7 user: thomas tags: paperless_leaflet_bot
09:31
Implemented downloading from Rewe check-in: 7429587e93 user: thomas tags: paperless_leaflet_bot
08:28
Fix weekly timers check-in: c98b49c10c user: thomas tags: paperless_leaflet_bot
2025-01-31
23:38
Implemented downloader for Kaufland. Uses some internal REST API to obtain the download URI. check-in: 948b9c0999 user: thomas tags: paperless_leaflet_bot
23:38
Add two additional weekly timers check-in: 15562131f5 user: thomas tags: paperless_leaflet_bot
14:57
Gate uploading to the Paperless API behind a config switch. Allows easier local testing with copy to current directory being the default action unless explicitly enabled. check-in: 3704ac8b28 user: thomas tags: paperless_leaflet_bot
14:54
Implement downloading from Aldi Nord check-in: 9a4b0fcc83 user: thomas tags: paperless_leaflet_bot
13:47
Implemented downloading from Lidl. check-in: 8d71a6dc4d user: thomas tags: paperless_leaflet_bot