Ozzieisaacs
790080f2a0
Fix Cache Buster
2022-05-22 12:49:00 +01:00
Ozzieisaacs
4ea80e9810
Code cosmetics
2022-05-21 21:52:59 +01:00
Ozzie Isaacs
8adae6ed0c
Handle permission errors for static files (Fix for #2358 )
...
Version bump
2022-04-03 20:26:43 +02:00
Ozzie Isaacs
ed26d34961
Code cleaning (remove python2)
2021-10-04 19:23:24 +02:00
Ozzie Isaacs
b75247ea3a
Suppress some errors
2021-03-15 13:48:05 +01:00
Ozzieisaacs
2ea45b1fdc
Removed shebang on non executable scripts
2020-02-10 18:37:47 +01:00
Ozzieisaacs
4708347c16
Merge branch 'Develop'
...
# Conflicts:
# MANIFEST.in
# README.md
# cps/helper.py
# cps/static/js/archive/archive.js
# cps/translations/nl/LC_MESSAGES/messages.mo
# cps/translations/nl/LC_MESSAGES/messages.po
# cps/ub.py
# cps/updater.py
# cps/web.py
# cps/worker.py
# optional-requirements.txt
2019-07-13 20:54:21 +02:00
Ozzieisaacs
836c6fd245
Updated translations
...
Added license texts in flies
2019-01-20 19:37:45 +01:00
Andriy Zasypkin
442fb23b18
python3 compatibility
2017-09-24 07:52:59 -04:00
OzzieIsaacs
b6b73d39c2
Fix #329
...
Code cosmetics
2017-09-17 07:15:08 +02:00
Jonathan Rehm
8cbd6a8431
Do not append query string if file_hash is not found
2017-08-19 09:09:12 -07:00
Jonathan Rehm
13c2a53c0f
Fix issues with Windows path separators
2017-08-19 08:32:00 -07:00
Jonathan Rehm
a27848b351
Add static asset cache busting
...
Calculates MD5 hash of static assets on server start. These are appended to the file name's when url_for is used, telling browsers to download the latest version of the files, e.g. style.css?q=81cf0ee.
Inspired by https://github.com/ChrisTM/Flask-CacheBust but uses query strings instead of rewriting the path because fonts inside CSS files break when the path is rewritten.
2017-08-13 09:32:29 -07:00