Commit Graph

8 Commits (6e6f144b7a5c88a37305754802d3baa438874f61)

Author SHA1 Message Date
Ozzieisaacs 2ea45b1fdc Removed shebang on non executable scripts 5 years ago
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
5 years ago
Ozzieisaacs 836c6fd245 Updated translations
Added license texts in flies
6 years ago
Andriy Zasypkin 442fb23b18
python3 compatibility 7 years ago
OzzieIsaacs b6b73d39c2 Fix #329
Code cosmetics
7 years ago
Jonathan Rehm 8cbd6a8431 Do not append query string if file_hash is not found 7 years ago
Jonathan Rehm 13c2a53c0f Fix issues with Windows path separators 7 years ago
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.
7 years ago