| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-01-18 | Fixed #33446 -- Added CSS source map support to ManifestStaticFilesStorage. | Adam Johnson | |
| 2021-11-05 | Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ↵ | Mariusz Felisiak | |
| ManifestStaticFilesStorage." This reverts commit 91e21836f667c784a8a63ab1f18d81f553e679cb. `export` and `import` directives have several syntax variants and not all of them were properly covered. Thanks Hervé Le Roy for the report. | |||
| 2021-11-04 | Fixed #33237 -- Fixed detecting source maps in ManifestStaticFilesStorage ↵ | Carlton Gibson | |
| for multiline files. Switched regex to multiline mode in order to match per-line, rather than against the whole file. Thanks to Joseph Abrahams for the report. Regression in 781b44240a06f0c868254f40f36ce46c927f56d1. | |||
| 2021-08-05 | Fixed #27590 -- Allowed customizing a manifest file storage in ↵ | Jarosław Wygoda | |
| ManifestFilesMixin. | |||
| 2021-06-07 | Fixed #32716 -- Fixed ManifestStaticFilesStorage crash when ↵ | aryabartar | |
| max_post_process_passes is 0. | |||
| 2021-05-31 | Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage. | Gildardo Adrian Maravilla Jacome | |
| 2021-05-06 | Removed unused TestHashedFiles._max_post_process_passes. | Mariusz Felisiak | |
| Unused since f1894bae3071da4ee577fc40ae61491f3e03d82c | |||
| 2021-04-02 | Fixed #32383 -- Added source map support to ManifestStaticFilesStorage. | Adam Johnson | |
| 2021-02-26 | Fixed #28607 -- Prevented duplicates in HashedFilesMixin post-processing ↵ | Jacob Walls | |
| results. Thanks Ed Morley for the implementation idea. | |||
| 2020-09-01 | Fixed CVE-2020-24583, #31921 -- Fixed permissions on intermediate-level ↵ | Mariusz Felisiak | |
| static and storage directories on Python 3.7+. Thanks WhiteSage for the report. | |||
| 2020-04-28 | Fixed #31517 -- Fixed HashedFilesMixin.hashed_name() if hash of the file is ↵ | Richard Campen | |
| None. | |||
| 2019-11-06 | Harmonized Windows checks in tests to a single style. | Jon Dufresne | |
| 2019-09-10 | Refs #28606 -- Removed CachedStaticFilesStorage per deprecation timeline. | Mariusz Felisiak | |
| 2019-08-02 | Fixed #30599 -- Prevented ManifestFilesMixin.read_manifest() from silencing ↵ | zeyneloz | |
| errors other than FileNotFoundError. | |||
| 2019-08-02 | Added test for handling of non-existent manifest in ↵ | zeyneloz | |
| ManifestFilesMixin.read_manifest(). | |||
| 2019-06-03 | Fixed #28604 -- Prevented ManifestStaticFilesStorage from leaving ↵ | Nathan Gaberel | |
| intermediate files. | |||
| 2018-10-27 | Fixed #28606 -- Deprecated CachedStaticFilesStorage. | Tim Graham | |
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2017-11-06 | Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | |
| 2017-06-01 | Sorted imports per isort 4.2.9. | Tim Graham | |
| 2017-02-03 | Fixed #27741 -- Isolated TestCollectionHashedFilesCache in a tmpdir. | David Sanders | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-24 | Removed unneeded force_text calls in the test suite | Claude Paroz | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-11 | Fixed #24452 -- Fixed HashedFilesMixin correctness with nested paths. | David Sanders | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-07-12 | Fixed #26671 -- Made HashedFilesMixin ignore the 'chrome' scheme. | Andrew Nester | |
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-03-30 | Fixed #19670 -- Applied CachedFilesMixin patterns to specific extensions | Claude Paroz | |
| Thanks Simon Meers for the initial patch, and Tim Graham for the review. | |||
| 2016-03-28 | Cleaned class inheritances in staticfiles tests | Claude Paroz | |
| Thanks Tim Graham for precious inputs. | |||
| 2016-03-03 | Cleaned up TestStaticFilePermissions to use call_command(). | Jon Dufresne | |
| 2016-02-23 | Prevented static file corruption when URL fragment contains '..'. | Aymeric Augustin | |
| When running collectstatic with a hashing static file storage backend, URLs referencing other files were normalized with posixpath.normpath. This could corrupt URLs: for example 'a.css#b/../c' became just 'c'. Normalization seems to be an artifact of the historical implementation. It contained a home-grown implementation of posixpath.join which relied on counting occurrences of .. and /, so multiple / had to be collapsed. The new implementation introduced in the previous commit doesn't suffer from this issue. So it seems safe to remove the normalization. There was a test for this normalization behavior but I don't think it's a good test. Django shouldn't modify CSS that way. If a developer has rendundant /s, it's mostly an aesthetic issue and it isn't Django's job to fix it. Conversely, if the user wants a series of /s, perhaps in the URL fragment, Django shouldn't destroy it. Refs #26249. | |||
| 2016-02-23 | Fixed #26249 -- Fixed collectstatic crash for files in STATIC_ROOT ↵ | Aymeric Augustin | |
| referenced by absolute URL. collectstatic crashed when: * a hashing static file storage backend was used * a static file referenced another static file located directly in STATIC_ROOT (not a subdirectory) with an absolute URL (which must start with STATIC_URL, which cannot be empty) It seems to me that the current code reimplements relative path joining and doesn't handle edge cases correctly. I suspect it assumes that STATIC_URL is of the form r'/[^/]+/'. Throwing out that code in favor of the posixpath module makes the logic easier to follow. Handling absolute paths correctly also becomes easier. | |||
| 2015-11-12 | Fixed #25283 -- Fixed collectstatic crash if a URL contains a fragment with ↵ | msaelices | |
| a path. A @font-face declaration may contain a fragment that looks like a relative path, e.g. @font-face { src: url('../fonts/font.svg#../path/like/fragment'); } In this case, an incorrect path was passed to the storage backend, which raised an error that caused collectstatic to crash. | |||
| 2015-09-09 | Prevented staticfiles test from colliding when run in parallel. | Aymeric Augustin | |
| This requires that each test never alters files in static directories collected by other tests. The alternative is to add a temporary directory to STATICFILES_DIRS or a new app to INSTALLED_APPS. | |||
| 2015-07-01 | Fixed #24982 -- Split staticfiles tests into multiple files | Moritz Sichert | |
