Commit graph

7 commits

Author SHA1 Message Date
Juerd Waalboer
19dd4c820e openepaperlink: erase tag images on unlink 2025-01-17 01:17:43 +01:00
Juerd Waalboer
65e387d84b openepaperlink: keep deleted products linked
This allows commenting a product in revbank.products to temporarily make
it unavailable, which is useful in the workflow that @PI4DEC wants.
2025-01-07 19:49:56 +01:00
Juerd Waalboer
4d1dee6794 Rename revbank.oepl to .revbank.oepl
Generally, files that revbank writes to are hidden.

(revbank.accounts and revbank.statiegeld were mistakes.)
2025-01-05 01:17:46 +01:00
Juerd Waalboer
e16d76b758 onepaperlink: fix handling of multiple changes
This change removes two recently added hooks. No deprecation cycle
because they have only existed for a week, so it's extremely unlikely
that anyone's using them.
2025-01-05 00:23:34 +01:00
Juerd Waalboer
614c612ec9 openepaperlink: The touch/mtime solution is not right.
The hook gets fired for each product individually, so a single mtime
update is not good enough.

The timestamp needs to be recorded per product or tag. Meh.
2025-01-04 22:04:29 +01:00
Juerd Waalboer
5d910510b8 openepaperlink: handle concurrent revbank instances better
RevBank reads the new products file on every interaction (e.g. pressing
enter), and then fires hooks like `product_changed`. Every running
instance gets those hooks, but the price tage should be generated only
once.
2025-01-04 22:00:43 +01:00
Juerd Waalboer
3e7dee0da7 openepaperlink plugin: initial commit 2025-01-04 02:43:04 +01:00