Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/contrib/staticfiles/management
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25346 -- Allowed collectstatic to delete broken ↵Yusuke Miyazaki2015-10-171-1/+6
| | | | symlinks.
* Fixed #25350 -- Added alias --no-input for --noinput to ↵Raphael Michel2015-09-081-1/+1
| | | | management commands.
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-1/+0
|
* Fixed #24890 -- Added warning to collectstatic when ↵Markus Amalthea Magnuson2015-06-141-0/+8
| | | | static files have clashing names
* Fixed #23986 -- Fixed collectstatic --clear failure if ↵Sztrovacsek2015-03-071-0/+3
| | | | STATIC_ROOT dir doesn't exist.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-063-8/+7
|
* Fixed #23701 -- Removed an unneeded check in collectstatic.Tim Graham2014-10-221-2/+1
| | | | Thanks prathik for the report.
* Fixed #23663 -- Initialize output streams for ↵Loic Bistuer2014-10-221-1/+1
| | | | | | | | | BaseCommand in __init__(). This helps with testability of management commands. Thanks to trac username daveoncode for the report and to Tim Graham and Claude Paroz for the reviews.
* Fixed #22891 -- Clarified that collecstatic --clear with ↵Tim Graham2014-07-231-1/+1
| | | | delete all files in the storage location.
* Fixed #22835 -- Deprecated NoArgsCommand.Maxime Turcotte2014-06-191-5/+7
|
* Converted remaining management commands to argparseClaude Paroz2014-06-143-43/+41
|
* Appeased flake8 2.1.0.Aymeric Augustin2014-04-211-3/+4
|
* Corrected many style guide violations that the newest ↵Alex Gaynor2014-03-301-1/+1
| | | | version of flake8 catches
* Simplified implementation of collectstatic command.Baptiste Mispelon2014-03-131-6/+1
| | | | | | | Since d2e242d16c6dde6f4736086fb38057424bed3edb made isinstance() calls work correctly on LazyObject, we can simplify the implementation of is_local_storage added in 7e27885c6e7588471fd94a4def16b7081577bdfc.
* Reworked the detection of local storages for the ↵Loic Bistuer2014-02-121-2/+9
| | | | | | | | | | | | collectstatic command. Before 4befb30 the detection was broken because we used isinstance against a LazyObject rather than against a Storage class. That commit fixed it by looking directly at the object wrapped by LazyObject. This could however be a problem to anyone who subclasses the collectstatic management Command and directly supplies a Storage class. Refs #21581.
* Fixed #20780 -- Get rid of stale symlinks when using ↵Jannis Leidel2014-02-091-0/+2
| | | | | | collectstatic. Thanks to John Giannelos for the initial patch.
* Fixed #19879 -- Have 'findstatic' says on which ↵Vajrasky Kok2014-02-091-3/+13
| | | | | | | | | directories it searched the relative paths. Added searched_locations in finders module. Added verbosity flag level 2 on 'findstatic' command that will output the directories on which it searched the relative paths. Reported by ccurvey. Initial patch by Jonas Svensson and Vajrasky Kok.
* Fixed #21482 -- Uplifted restriction of collectstatic ↵Jannis Leidel2014-02-091-8/+14
| | | | | | using symlink option in Windows NT 6. Original patch by Vajrasky Kok. Reviewed by Florian Apolloner, Aymeric Augustin.
* Fixed #16905 -- Added extensible checks (nee validation) ↵Russell Keith-Magee2014-01-201-1/+1
| | | | | | | | | | | framework This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844.
* Fixed #21581 -- Fixed a number of issues with collectstatic.Loic Bistuer2013-12-311-17/+23
| | | | | | | | | | | | | | | When STATIC_ROOT wasn't set, collectstatic --clear would delete every files within the current directory and its descendants. This patch makes the following changes: Prevent collectstatic from running if STATIC_ROOT isn't set. Fixed an issue that prevented collectstatic from displaying the destination directory. Changed the warning header to notify when the command is run in dry-run mode.
* Fixed #21380 -- Added a way to set different permission ↵Vajrasky Kok2013-11-291-6/+0
| | | | | | | | | for static directories. Previously when collecting static files, the directories would receive permissions from the global umask. Now the default permission comes from FILE_UPLOAD_DIRECTORY_PERMISSIONS and there's an option to specify the permissions by subclassing any of the static files storage classes and setting the directory_permissions_mode parameter.
* More attacking E302 violatorsAlex Gaynor2013-11-022-0/+2
|
* Deprecated SortedDict (replaced with ↵Curtis Maloney2013-08-041-2/+2
| | | | | | collections.OrderedDict) Thanks Loic Bistuer for the review.
* Replaced `and...or...` constructs with PEP 308 ↵Ramiro Morales2013-05-271-5/+3
| | | | conditional expressions.
* Replaced an antiquated pattern.Aymeric Augustin2013-05-171-1/+1
| | | | Thanks Lennart Regebro for pointing it out.
* Fixed #18986 -- Improved error message for missing filesAymeric Augustin2013-04-281-0/+6
| | | | in CachedStaticFilesStorage. Thanks zyegfryed for his work on the patch.
* Fixed #19715 -- Simplified findstatic output when ↵Matt Robenolt2013-02-011-5/+8
| | | | verbosity set to 0
* Fixed #19540 -- Stopped using deprecated ↵Aymeric Augustin2013-01-261-4/+3
| | | | os.stat_float_times.
* Update ↵Mitar2012-12-271-1/+1
| | | | | django/contrib/staticfiles/management/commands/collectstatic.py Fixed small output error.
* Fixed comment typoDavid Fischer2012-08-301-1/+1
|
* [py3] Replaced raw_input by inputClaude Paroz2012-08-081-1/+2
| | | | | The six addition has been borrowed from: https://bitbucket.org/gutworth/six/changeset/733ef740
* [py3] Ported django.utils.encoding.Aymeric Augustin2012-08-072-6/+6
| | | | | | | | | | | * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str.
* Fixed #18269 -- Applied unicode_literals for Python 3 ↵Claude Paroz2012-06-072-17/+21
| | | | | | | compatibility. Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
* Fixed #18325 -- Wrapped self.stdout/stderr in ↵Claude Paroz2012-05-192-9/+4
| | | | OutputWrapper class
* Fixed #18035 -- Removed deprecated AdminMediaHandler, as ↵Claude Paroz2012-04-081-3/+3
| | | | | | per official deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Removed with_statement imports, useless in Python >= ↵Claude Paroz2012-03-301-2/+0
| | | | | | 2.6. Refs #17965. Thanks jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #17737 -- Stopped the collectstatic management ↵Jannis Leidel2012-03-021-3/+7
| | | | | | command from copying the wrong file in repeated runs. Thanks, pigletto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Stopped the collectstatic management from being wastful ↵Jannis Leidel2012-02-141-1/+1
| | | | | | with file handlers. Refs r17519. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Minor bugfixing of the staticfiles app following ↵Jannis Leidel2012-02-131-44/+70
| | | | | | | | | | upstream development in django-staticfiles. - Create the files to ignore during the tests dynamically (.hidden and backup~) - Refactored the post_processing method of the CachedFilesMixin storage mixin to be less time consuming. - Refactored handling of fragments in the post_process method. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #17656 -- Stopped the collectstatic management ↵Jannis Leidel2012-02-121-0/+1
| | | | | | command from running the database validation. Thanks, jcspray. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16360 -- Added WSGI entrypoint to startproject ↵Carl Meyer2011-10-221-4/+6
| | | | | | layout, and enabled internal servers (runserver and runfcgi) to use an externally-defined WSGI application. Thanks to Armin Ronacher, Jannis Leidel, Alex Gaynor, ptone, and Jacob Kaplan-Moss. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #15252 -- Added static template tag and ↵Jannis Leidel2011-08-111-28/+56
| | | | | | | | CachedStaticFilesStorage to staticfiles contrib app. Many thanks to Florian Apolloner and Jacob Kaplan-Moss for reviewing and eagle eyeing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16518 -- Fixed collectstatic management command ↵Jannis Leidel2011-07-261-2/+3
| | | | | | to run on Jython. Thanks, Josh Smeaton. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Explicitly close a file in the collectstatic management ↵Alex Gaynor2011-07-081-2/+5
| | | | | | command. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16424 -- Fixed regression in collect static ↵Jannis Leidel2011-07-061-2/+4
| | | | | | management command introduced in r16509 that prevented prefixed collection. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16161 -- Added `--clear` option to ↵Jannis Leidel2011-07-041-38/+74
| | | | | | `collectstatic` management command to be able to explicitly clear the files stored in the destination storage before collecting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Modified collectstatic management command to not include ↵Jannis Leidel2011-03-091-2/+2
| | | | | | STATIC_ROOT in the user prompt since it's misleading when using a non-local storage backend. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed the staticfiles management commands collectstatic ↵Jannis Leidel2011-02-152-15/+22
| | | | | | and findstatic to not raise encoding related exceptions when handlings filenames with non-ASCII characters. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #15190 -- Refactored the collectstatic command to ↵Jannis Leidel2011-02-011-83/+104
| | | | | | improve the symlink mode and generally straighten out its behavior. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Call superclass init in collectstatic command, otherwise ↵Karen Tracey2011-01-191-0/+1
| | | | | | printing error messages for it fails since style has not been set. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15245 bcc190cf-cafb-0310-a4f2-bffc1f526a37