| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-06-16 | [1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| Backport of 4f336f66523001b009ab038b10848508fd208b3b from master | |||
| 2016-04-22 | Fixed #20189 -- Allowed customizing staticfiles ignored_patterns list | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 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-17 | Fixed #26297 -- Fixed `collectstatic --clear` crash if storage doesn't ↵ | Berker Peksag | |
| implement path(). | |||
| 2016-03-03 | Cleaned up TestStaticFilePermissions to use call_command(). | Jon Dufresne | |
| 2016-02-23 | Fixed #23832 -- Added timezone aware Storage API. | James Aylett | |
| New Storage.get_{accessed,created,modified}_time() methods convert the naive time from now-deprecated {accessed,created_modified}_time() methods into aware objects in UTC if USE_TZ=True. | |||
| 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. | |||
| 2016-02-23 | Used call_command return value in staticfiles tests | Claude Paroz | |
| Refs #26190. | |||
| 2016-01-29 | Refs #26022 -- Replaced six.assertRaisesRegex with assertRaisesMessage as ↵ | Hasan | |
| appropriate. | |||
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-19 | Refs #21221 -- Added test for legacy static usage in form Media. | Johannes Hoppe | |
| Before cf546e1, static files in form or widget Media were usually wrapped with contrib.staticfiles.templatetags.staticfiles.static. This test ensures compatibility with third-party code that's still using this pattern. | |||
| 2015-12-10 | Fixed #21221 -- Made form Media and static template tag use staticfiles if ↵ | Johannes Hoppe | |
| installed. | |||
| 2015-12-03 | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | |
| 2015-11-22 | Fixed #25784 -- Prevented an exception on collectstatic help | Alex Morozov | |
| Made the `manage.py help collectstatic` don't fail if the `STATIC_ROOT` setting is empty. | |||
| 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-10-17 | Fixed #25346 -- Allowed collectstatic to delete broken symlinks. | Yusuke Miyazaki | |
| 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-06 | Fixed some unclosed objects in tests | Andriy Sokolovskiy | |
| 2015-07-01 | Fixed #24982 -- Split staticfiles tests into multiple files | Moritz Sichert | |
| 2015-06-13 | Fixed #24890 -- Added warning to collectstatic when static files have ↵ | Markus Amalthea Magnuson | |
| clashing names | |||
| 2015-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-03-11 | Fixed staticfiles test on Windows; refs #23986. | Tim Graham | |
| 2015-03-07 | Fixed #23986 -- Fixed collectstatic --clear failure if STATIC_ROOT dir ↵ | Sztrovacsek | |
| doesn't exist. | |||
| 2015-02-23 | Fixed a test failure under Windows and Python 2. | Aymeric Augustin | |
| 2015-02-23 | Guaranteed removal of temporary files during tests. | Aymeric Augustin | |
| Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions. | |||
| 2015-02-22 | Removed rmtree_errorhandler. | Aymeric Augustin | |
| The stated reason for its introduction in d18d37ce no longer applies since Django's code repository was switched from Subversion to git. Furthermore it never had any effect because shutil.rmtree ignores its onerror argument when ignore_errors is True. The reason for its use in template management commands is unclear. | |||
| 2015-02-21 | Removed obsolete reference to media directory. | Aymeric Augustin | |
| 2015-02-21 | Removed workaround for SVN limitations. | Aymeric Augustin | |
| In addition to simplifying the code, this reduces the number of writes. | |||
| 2015-02-21 | Avoided collecting admin static files in tests. | Aymeric Augustin | |
| This makes the staticfiles tests 2.5 times faster. | |||
| 2015-02-21 | Removed TestServeAdminMedia. | Aymeric Augustin | |
| It should have been removed when the ADMIN_MEDIA_PREFIX setting was deprecated. | |||
| 2015-02-17 | Refs #24324 -- Fixed Python 2 test failures when path to Django source ↵ | Tim Graham | |
| contains non-ASCII characters. | |||
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-02-04 | Fixed #24197 -- Added clearing of staticfiles caches on settings changes ↵ | mlavin | |
| during tests Cleared caching in staticfiles_storage and get_finder when relevant settings are changed. | |||
| 2015-02-03 | Fixed #24149 -- Normalized tuple settings to lists. | darkryder | |
| 2015-01-01 | Fixed #23700 -- Fixed non-deterministic static files test failures on Windows. | Tim Graham | |
| This partially reverts commit 949ee521fab106b44218c30577eb55f0097d39cd refs #21230. | |||
| 2014-12-09 | Refs #23947 -- Prevented staticfiles tests from having side effects. | Diego Guimarães | |
| 2014-10-31 | Avoided using private API get_template_from_string. | Aymeric Augustin | |
| 2014-09-09 | Avoid the word "stupid". | Aymeric Augustin | |
| There's always a better word. | |||
| 2014-08-28 | Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCase | Claude Paroz | |
| Refs #20739. Thanks Raphaël Hertzog for the report and the initial patch. | |||
| 2014-08-12 | Updated tests for added newlines in 68686430638215b5405b20bd767c0be392c9221d. | Tim Graham | |
| 2014-08-12 | Added newlines to the ends of CSS, HTML, and JavaScript files missing them. | Trey Hunner | |
| 2014-06-21 | Removed some apps from ALWAYS_INSTALLED_APPS | Claude Paroz | |
| 2014-06-14 | Converted remaining management commands to argparse | Claude Paroz | |
| 2014-06-12 | Fixed a staticfiles test on Windows. | Tim Graham | |
| 2014-05-20 | Fixed #22557 -- ManifestStaticFilesStorage did not cleanup deleted files. | Denis Cornehl | |
| When using ManifestStaticFilesStorage, deleted static files would be correctly cleaned up by "collectstatic --clear", but the manifest file would still contain the stale entries. Thanks to tedtieken for the report | |||
| 2014-05-18 | Refs #21230 -- removed direct settings manipulation from staticfile tests | Huu Nguyen | |
| 2014-04-21 | Fixed monkeypatching in a staticfiles test. | Florian Apolloner | |
| 2014-04-21 | Appeased flake8 2.1.0. | Aymeric Augustin | |
