1. 11 Ock, 2017 1 kayıt (commit)
  2. 04 Ock, 2017 3 kayıt (commit)
  3. 19 Ara, 2016 1 kayıt (commit)
  4. 17 Ara, 2016 1 kayıt (commit)
  5. 11 Kas, 2016 1 kayıt (commit)
  6. 02 Eyl, 2016 1 kayıt (commit)
  7. 01 Eyl, 2016 1 kayıt (commit)
  8. 12 Tem, 2016 1 kayıt (commit)
  9. 23 Haz, 2016 1 kayıt (commit)
  10. 20 Haz, 2016 1 kayıt (commit)
  11. 16 Haz, 2016 1 kayıt (commit)
  12. 31 May, 2016 1 kayıt (commit)
    • Jon Dufresne's avatar
      Fixed #26691 -- Removed checking for a file's existence before deleting. · 359be1c8
      Jon Dufresne yazdı
      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.
      359be1c8
  13. 22 Nis, 2016 1 kayıt (commit)
  14. 30 Mar, 2016 1 kayıt (commit)
  15. 28 Mar, 2016 1 kayıt (commit)
  16. 17 Mar, 2016 1 kayıt (commit)
  17. 03 Mar, 2016 1 kayıt (commit)
  18. 23 Şub, 2016 4 kayıt (commit)
    • James Aylett's avatar
      Fixed #23832 -- Added timezone aware Storage API. · 1ff6e37d
      James Aylett yazdı
      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.
      1ff6e37d
    • Aymeric Augustin's avatar
      Prevented static file corruption when URL fragment contains '..'. · 7f6fbc90
      Aymeric Augustin yazdı
      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.
      7f6fbc90
    • Aymeric Augustin's avatar
      Fixed #26249 -- Fixed collectstatic crash for files in STATIC_ROOT referenced by absolute URL. · 706b33fe
      Aymeric Augustin yazdı
      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.
      706b33fe
    • Claude Paroz's avatar
      Used call_command return value in staticfiles tests · 269b5f26
      Claude Paroz yazdı
      Refs #26190.
      269b5f26
  19. 29 Ock, 2016 2 kayıt (commit)
  20. 19 Ock, 2016 1 kayıt (commit)
  21. 10 Ara, 2015 1 kayıt (commit)
  22. 03 Ara, 2015 1 kayıt (commit)
  23. 22 Kas, 2015 1 kayıt (commit)
  24. 13 Kas, 2015 1 kayıt (commit)
  25. 17 Eki, 2015 1 kayıt (commit)
  26. 09 Eyl, 2015 1 kayıt (commit)
  27. 06 Tem, 2015 1 kayıt (commit)
  28. 01 Tem, 2015 1 kayıt (commit)
  29. 14 Haz, 2015 1 kayıt (commit)
  30. 20 May, 2015 1 kayıt (commit)
  31. 11 Mar, 2015 1 kayıt (commit)
  32. 07 Mar, 2015 1 kayıt (commit)
  33. 23 Şub, 2015 2 kayıt (commit)