| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-11-06 | [2.0.x] Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | |
| Backport of 6c0042430e3618ce5c276d195d92a6b884daa3a3 from master | |||
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-08-23 | Fixed #27796 -- Prevented middleware being loaded twice with runserver | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-07-29 | Used assertRaisesMessage() to test Django's error messages. | Mads Jensen | |
| 2017-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-06-01 | Sorted imports per isort 4.2.9. | Tim Graham | |
| 2017-03-17 | Fixed #27948 -- Removed incorrect unquote() in static serving views. | Tim Graham | |
| 2017-02-03 | Fixed #27741 -- Isolated TestCollectionHashedFilesCache in a tmpdir. | David Sanders | |
| 2017-02-01 | Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments. | Vytis Banaitis | |
| 2017-02-01 | Fixed #27661 -- Moved FileSystemFinder's ImproperlyConfigured exceptions to ↵ | Ling-Xiao Yang | |
| system checks. Thanks Simon Charette, Mariusz Felisiak, Tim Graham, and Adam Johnson for review. | |||
| 2017-01-26 | Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ↵ | Chillar Anand | |
| manager. | |||
| 2017-01-25 | Refs #27741 -- Fixed staticfiles_tests.test_views when run in isolation. | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-25 | Refs #23919 -- Replaced errno checking with PEP 3151 exceptions. | Tim Graham | |
| 2017-01-24 | Removed unneeded force_text calls in the test suite | Claude Paroz | |
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-19 | Refs #23919 -- Removed obsolete contextlib.closing() calls (for Python 2). | Tim Graham | |
| 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 six.PY2/PY3 usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 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 | |
| 2017-01-04 | Fixed #27658 -- Prevented collectstatic from overwriting newer files in ↵ | Tim Graham | |
| remote storages. Thanks revimi for the initial patch. | |||
| 2017-01-04 | Tested collectstatic's deleting of files/symlinks when toggling --link. | Tim Graham | |
| 2017-01-03 | Refs #15035 -- Corrected a bug and improved comments for a staticfiles test. | Tim Graham | |
| 2016-12-19 | Refs #25484 -- Removed incorrect unquoting in {% static %}. | Tim Graham | |
| Regression in 374e6230ca9f9bb84cc9dd760dfb6395fbb5ff0f. Thanks Florian Apolloner for the report and analysis. | |||
| 2016-12-17 | Fixed #25484 -- Made {% static %} render escaped URLs. | alix- | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-09-02 | Fixed #27108 -- Displayed collectstatic's delete/overwrite warnings only if ↵ | François Freitag | |
| some files exist in STATIC_ROOT. | |||
| 2016-09-01 | Added tests for collectstatic interactivity. | François Freitag | |
| 2016-07-12 | Fixed #26671 -- Made HashedFilesMixin ignore the 'chrome' scheme. | Andrew Nester | |
| 2016-06-23 | Fixed #26791 -- Replaced LiveServerTestCase port ranges with binding to port 0. | Tim Graham | |
| 2016-06-20 | Refs #26666 -- Added ALLOWED_HOSTS validation when running tests. | Tobias McNulty | |
| Also used ALLOWED_HOSTS to check for external hosts in assertRedirects(). | |||
| 2016-06-16 | Fixed #26747 -- Used more specific assertions in the Django test suite. | Jon Dufresne | |
| 2016-05-31 | Fixed #26691 -- Removed checking for a file's existence before deleting. | Jon Dufresne | |
| File operations always raise a ENOENT error when a file doesn't exist. Checking the file exists before the operation adds a race condition condition where the file could be removed between operations. As the operation already raises an error on a missing file, avoid this race and avoid checking the file exists twice. Instead only check a file exists by catching the ENOENT error. | |||
| 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. | |||
