| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-11-11 | Refs #34110 -- Reorganized django.core.files.storage into a separate module. | Francesco Panico | |
| 2022-04-11 | Fixed #32604 -- Made file upload respect group id when uploading to a ↵ | Mateo Radman | |
| temporary file. | |||
| 2022-03-24 | Refs #32365 -- Removed internal uses of utils.timezone.utc alias. | Carlton Gibson | |
| Remaining test case ensures that uses of the alias are mapped canonically by the migration writer. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-04 | Fixed CVE-2021-45452 -- Fixed potential path traversal in storage subsystem. | Florian Apolloner | |
| Thanks to Dennis Brinkrolf for the report. | |||
| 2021-07-29 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 2021-06-07 | Fixed #32821 -- Updated os.scandir() uses to use a context manager. | Chris Jerdonek | |
| 2021-06-02 | Fixed #28154 -- Prevented infinite loop in FileSystemStorage.save() when a ↵ | Jacob Walls | |
| broken symlink with the same name exists. | |||
| 2021-05-12 | Fixed #32366 -- Updated datetime module usage to recommended approach. | Nick Pope | |
| - Replaced datetime.utcnow() with datetime.now(). - Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp(). - Replaced datetime.utctimetuple() with datetime.timetuple(). - Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp(). | |||
| 2021-05-04 | Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads. | Florian Apolloner | |
| 2021-03-19 | Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.core. | Daniyal | |
| 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. | |||
| 2019-10-31 | Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path. | Hasan Ramezani | |
| 2019-08-30 | Fixed #30736 -- Added Storage.get_alternative_name() to allow customization. | yukihira1992 | |
| 2019-01-31 | Fixed #30147 -- Simplified directory creation with os.makedirs(..., ↵ | Jon Dufresne | |
| exist_ok=True). | |||
| 2019-01-28 | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | |
| Used more specific errors (e.g. FileExistsError) as appropriate. | |||
| 2018-10-31 | Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves try to ↵ | Tim Graham | |
| create the same directory. Regression in 632c4ffd9cb1da273303bcd8005fff216506c795. | |||
| 2018-10-17 | Fixed #29857 -- Added get_storage_class to django.core.files.storage.__all__. | Tim Graham | |
| 2018-10-09 | Capitalized "Python" in docs and comments. | Jon Dufresne | |
| 2018-08-20 | Fixed #29689 -- Improved performance of FileSystemStorage.listdir() and ↵ | Federico Bond | |
| FilePathField with os.scandir(). | |||
| 2018-06-29 | Fixed #28144 -- Added FileSystemStorage.OS_OPEN_FLAGS to allow customization. | Jon Prindiville | |
| 2018-06-28 | Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of pytz.utc for ↵ | Tim Graham | |
| better performance." This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a regression. | |||
| 2018-03-20 | Used datetime.timezone.utc instead of pytz.utc for better performance. | Sergey Fedoseev | |
| 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-06-28 | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | |
| 2017-03-04 | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-24 | Fixed #27836 -- Allowed FileSystemStorage.delete() to remove directories. | chillaranand | |
| 2017-02-21 | Refs #27656 -- Updated django.core docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-25 | Refs #23919 -- Replaced errno checking with PEP 3151 exceptions. | 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 -- 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-17 | Refs #23832 -- Removed deprecated non-timezone aware Storage API. | Tim Graham | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2016-07-29 | Fixed #26896 -- Allowed a lazy base_url for FileSystemStorage. | Tomas Pazderka | |
| 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-30 | Fixed #26058 -- Delegated os.path bits of FileField's filename generation to ↵ | Cristiano | |
| the Storage. | |||
| 2016-04-21 | Fixed #26495 -- Added name arg to Storage.save()'s File wrapping. | Maxim Novikov | |
| 2016-04-03 | Fixed #25905 -- Prevented leading slashes in urljoin() calls | rixx | |
| Leading slashes in the second urljoin argument will return exactly that argument, breaking FileSystemStorage.url behavior if called with a parameter with leading slashes. Also added test cases for null bytes and None. Thanks to Markus for help and review. | |||
| 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-01-07 | Fixed #26038 -- Changed FileSystemStorage defaults on setting change. | Simon Charette | |
| Thanks to Dave Voutila for the report and Tim for the review. | |||
| 2015-09-23 | Refs #9893 -- Removed shims for lack of max_length support in file storage ↵ | Tim Graham | |
| per deprecation timeline. | |||
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-06-15 | Fixed #24979 -- Removed usage of inspect.getargspec(). | Tim Graham | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-12 | Fixed #9893 -- Allowed using a field's max_length in the Storage. | Pavel Shpilev | |
| 2014-11-22 | Revert "Fixed #23892 -- Made deconstructible classes forwards compatible" | Carl Meyer | |
| This reverts commit f36151ed169813f2873e13ca9de616cfa4095321. Adding kwargs to deconstructed objects does not achieve useful forward-compatibility in general, since additional arguments are silently dropped rather than having their intended effect. In fact, it can make the failure more difficult to diagnose. Thanks Shai Berger for discussion. | |||
| 2014-11-22 | Fixed #23892 -- Made deconstructible classes forwards compatible | Carl Meyer | |
| 2014-11-11 | Removed import forgotten in previous commit. | Aymeric Augustin | |
