summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update flake8 ignoresblackMathieu Pillard2022-10-281-1/+1
|
* Reformat with blackMathieu Pillard2022-10-2847-1327/+1945
|
* Bump flake8 from 4.0.1 to 5.0.4 in /requirements (#1135)dependabot[bot]2022-10-142-3/+3
| | | | | | | | | | | | | | | | | | | | | | * Bump flake8 from 4.0.1 to 5.0.4 in /requirements Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.4. - [Release notes](https://github.com/pycqa/flake8/releases) - [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.4) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Fix flake8 error Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mathieu Pillard <mpillard@mozilla.com>
* Bump coverage from 5.5 to 6.5.0 in /requirements (#1146)dependabot[bot]2022-10-141-1/+1
| | | | | | | | | | | | | | | | | | Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.5 to 6.5.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.5...6.5.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump jinja2 from 3.0.3 to 3.1.2 in /requirements (#1125)dependabot[bot]2022-10-142-2/+1
| | | | | | | | | | | | | | | | | | | | | | | * Bump jinja2 from 3.0.3 to 3.1.2 in /requirements Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.3 to 3.1.2. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.0.3...3.1.2) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Remove obsolete jinja2.ext.with_ extension Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
* Drop Python 3.6 support (#1148)Mathieu Pillard2022-10-144-11/+4
|
* Bump rcssmin to version 1.1.1 (#1137)Areski Belaid2022-10-141-1/+1
|
* Update doc in light of new mangled name avoidance (#1145)Karen Tracey2022-09-302-1/+12
| | | | | | | * Update doc in light of new mangled name avoidance https://github.com/django-compressor/django-compressor/pull/1107 moved file-name-mangling avoidance into a `save` override, but the doc suggests calling `_save` which bypassess the new file-name-mangling-avoidance code. Updating a project to use django-compressor 4.0 that had a storages class which followed this doc resulted in mangled-named files appearing in the file system (and ultimately css changes not getting built/deployed, since the changes were in the mangled-name files while the rest of the process was using the "bare" name). * Update changelog.txt
* Update changelog.txtMathieu Pillard2022-08-141-0/+2
|
* Bump rjsmin from 1.2.0 to 1.2.1 in /requirements (#1131)dependabot[bot]2022-08-031-1/+1
| | | | | | | | | | | | | | | | | Bumps [rjsmin](https://github.com/ndparker/rjsmin) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/ndparker/rjsmin/releases) - [Changelog](https://github.com/ndparker/rjsmin/blob/master/docs/CHANGES) - [Commits](https://github.com/ndparker/rjsmin/compare/1.2.0...1.2.1) --- updated-dependencies: - dependency-name: rjsmin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Do include "Unreleased" in develop changelogMathieu Pillard2022-08-031-0/+3
|
* Don't include "Unreleased" in master/releases changelog4.1Mathieu Pillard2022-08-031-3/+0
|
* Bump version to 4.1Mathieu Pillard2022-08-031-1/+1
|
* Test Django 4.1.x in CI separately from 4.0.x (#1134)Mathieu Pillard2022-08-033-2/+16
|
* Bump rcssmin from 1.1.0 to 1.1.1 in /requirements (#1130)dependabot[bot]2022-08-031-1/+1
| | | | | | | | | | | | | | | | | Bumps [rcssmin](https://github.com/ndparker/rcssmin) from 1.1.0 to 1.1.1. - [Release notes](https://github.com/ndparker/rcssmin/releases) - [Changelog](https://github.com/ndparker/rcssmin/blob/master/docs/CHANGES) - [Commits](https://github.com/ndparker/rcssmin/commits) --- updated-dependencies: - dependency-name: rcssmin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump flake8 from 3.9.1 to 4.0.1 in /requirements (#1122)dependabot[bot]2022-07-121-1/+1
| | | | | | | | | | | | | | | | Bumps [flake8](https://github.com/pycqa/flake8) from 3.9.1 to 4.0.1. - [Release notes](https://github.com/pycqa/flake8/releases) - [Commits](https://github.com/pycqa/flake8/compare/3.9.1...4.0.1) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump beautifulsoup4 from 4.9.3 to 4.11.1 in /requirements (#1121)dependabot[bot]2022-07-121-1/+1
| | | | | | | | | | | | | | Bumps [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) from 4.9.3 to 4.11.1. --- updated-dependencies: - dependency-name: beautifulsoup4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump lxml from 4.6.5 to 4.9.1 in /requirements (#1120)dependabot[bot]2022-07-121-1/+1
| | | | | | | | | | | | | | | | Bumps [lxml](https://github.com/lxml/lxml) from 4.6.5 to 4.9.1. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.5...lxml-4.9.1) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Create dependabot.ymlMathieu Pillard2022-07-121-0/+7
|
* Implement separate storage for the offline manifestth3hamm0r2022-05-277-18/+70
| | | | | | | * Implement separate storage for the offline manifest, fixes #1112 * correctly use urljoin() for URLs; added example to docs * Updated changelog
* Fixed compatibility with Django 4.1, fixes #1114 (#1115)th3hamm0r2022-05-241-2/+5
|
* Update django template and caching documentation links (#1110)Charlie Macfarlane Brodie2022-05-101-2/+2
| | | | | Updated a link pointing to the docs for the now deprecated django 2.1 to the docs for the dev edition of django. Also changed the link to django templates to point to the /stable/ endpoint.
* Merge branch 'develop'4.0Mathieu Pillard2022-04-2311-112/+65
|\
| * Prepare 4.0Mathieu Pillard2022-04-232-3/+5
| |
| * Remove delete() call from CompressorFileStorage.get_available_name (#1107)Pēteris Caune2022-04-032-7/+16
| | | | | | | | | | * Remove delete() call from CompressorFileStorage.get_available_name * Add a testcase for duplicate handling in save()
| * add GitHub URL for PyPi (#1104)Andrii Oriekhov2022-04-031-0/+3
| |
| * added example in docs for #933 (#1059)sur.la.route2022-03-081-0/+19
| |
| * Deprecate SlimItFilter, stop testing it with Python 3.7+ (#1102)Mathieu Pillard2022-02-235-19/+23
| | | | | | * Deprecate SlimItFilter, stop testing it with Python 3.7+
| * Update LICENSE copyright year, remove obsolete references to removed codeMathieu Pillard2022-01-031-85/+1
| |
* | Fixed the default value of COMPRESS_FILTERS. (#1096)Aymeric Augustin2021-12-281-4/+4
|/ | | | Follow-up to #1050.
* Bump lxml from 4.6.3 to 4.6.5 in /requirements (#1093)3.1dependabot[bot]2021-12-181-1/+1
| | | | | | | | | | | | | | | | Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add changelog for 3.1Mathieu Pillard2021-12-181-0/+8
|
* Bump version to 3.1Mathieu Pillard2021-12-181-1/+1
|
* Fix error with verbose offline compression and context generators (#1092)Mathieu Pillard2021-12-182-29/+64
| | | | When COMPRESS_OFFLINE_CONTEXT is a generator we need to avoid calling len() on it to output the number of contexts in verbose mode.
* Created .readthedocs.yaml (#1089)Jannis Leidel2021-12-142-1/+33
| | | | | * Create .readthedocs.yaml This helps making configuration in case of build errors easier. * Fix rST typo.
* Prepare 3.0 release3.0Mathieu Pillard2021-12-122-7/+7
|
* Merge branch 'develop'Mathieu Pillard2021-12-1257-540/+464
|\
| * Update changelogMathieu Pillard2021-12-121-1/+3
| |
| * Updated Jinja dependency in tests. (#1087)Carlton Gibson2021-12-071-1/+1
| | | | | | | | Shows compatibility with Jinja v3. Closes #1060.
| * Update RCSSMIN version (#1085)Miku Chan2021-12-072-3/+3
| |
| * Fixed race condition in _compress_template (#1086)Pēteris Caune2021-12-071-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compressor avoids rendering the same node multiple times by checking for a key in offline_manifest: ``` if key in offline_manifest: continue [... render template ...] offline_manifest[key] = result ``` Multiple _compress_template calls can run concurrently, creating a race condition: each checks for a key in offline manifest, then each proceeds to render template. Finally they try to save the same file at the same time, causing #1082. My proposed fix is to atomically * check if the manifest key exists * if it doesn't exist, set it to a placeholder value (None) So, in nutshell, the first "if" part becomes: ``` with offline_manifest_lock: if key in offline_manifest: continue offline_manifest[key] = None ``` I'm not sure where to store the lock, I've put it at the module level currently. Perhaps there's a way to avoid the lock entirely.
| * Fixed test_precompiler_cache to clear cache before the test runs (#1078)Pēteris Caune2021-11-221-0/+3
| | | | | | Fixes: #1077
| * Updated CI matrix. (#1074)Carlton Gibson2021-11-222-18/+8
| | | | | | | | | | * Stopped testing against Django 3.0. * Stopped testing against Python 3.5. * Added Python 3.10 to test matrix.
| * Updated calmjs dependency for Python 3.10. (#1083)Carlton Gibson2021-11-221-1/+1
| |
| * Updated rjsmin dependency. (#1080)Miku Chan2021-11-221-1/+1
| |
| * Added Django 4.0 to test matrix. (#1072)Carlton Gibson2021-11-223-2/+10
| | | | | | | | | | * Added Django 4.0 to test matrix. * Switched to `django-admin` (without `.py` suffix) for test commands. The old aliases are Removed in Django 4.0.
| * Added `LazyScriptNamePrefixedUrl.replace` override (#1079)Pēteris Caune2021-11-221-0/+12
| | | | | | | | | | | | | | | | This is needed for LazyScriptNamePrefixedUrl to work correctly with `urllib.parse`. Python's `urllib.parse` started to call the `replace` method here: https://bugs.python.org/issue43882
| * Remove unused django-discover-runner dependency (#1063)Jaap Roes2021-09-161-1/+0
| |
| * Update classifiers (#1062)Jaap Roes2021-09-161-1/+1
| |
| * The google (#1071)Dustin Wyatt2021-08-271-1/+1
| |