822e156942
Purge PDF listings page when new PDFs are uploaded
...
This will update which versions have PDFs as well as their sizes.
2021-05-18 09:59:10 +02:00
60aadf65d9
Handle varnish purges for the static repo as well
...
By calling the purge notifier script with --static, the paths wil be
taken as part of the pgweb-static repostory instead, and purged with a
prefix of files/
2021-05-17 12:03:35 +02:00
a10eb6420b
More generic changes from 2to3
2019-01-26 16:19:26 +01:00
07d83eae42
Update script shebangs to use python3
2019-01-26 16:19:26 +01:00
b7f0398c15
Fix unicode for hashlib operations
2019-01-26 16:19:26 +01:00
00ab822ea8
Fix deprecated comparison structs
2019-01-17 21:19:57 +01:00
0883ac6423
Fix whitespace and indentation, per pep8
2019-01-17 20:47:43 +01:00
87237f6536
Tabs, meet your new overlords: spaces
...
In a quest to reach pep8, use spaces to indent rather than tabs.
2019-01-17 15:35:39 +01:00
e934d32251
Update purge hook for non-template updates
...
For /media/ changes, generate a classic purge based on the URL. For
anything tha'ts not templates *or* media, just don't generate any purges
at all (of course).
2018-07-16 11:31:21 +02:00
2d18abd401
Add a purgehook script that will auto-purge pages on git push
...
This will integrate with the gitdeployer script to automatically purge
pages using specific templates using the xkeys that were added some time
ago.
2018-07-16 11:10:42 +02:00