- 31 Dec, 2016 1 commit
-
-
A commit made in 1.6.10 (ae6b3f8e) changed a storage lookup to use the prefixed_path variable instead of the path variable when looking up modification times in order to determine if an existing collected file should be deleted and re-collected. By using the wrong path variable, the storage lookups always failed, resulting in every single file being re-collected every single time. This reduces performance considerably, particularly with large codebases. Since every file ends up copied, they appear as new and are recompiled. This can result in very long page reloads on a development server, especially if working on an older machine, in a VM, on a shared filesystem, or on the Linux subsystem for Windows. This is a simple change that fixes the lookup to use the correct variable. Unit tests were added to ensure this continues to work as expected and does not regress.
Christian Hammond committed
-
- 17 Dec, 2016 1 commit
-
-
Timothée Peignier committed
-
- 10 Nov, 2016 2 commits
-
-
Fixing compatibility bug to support Django 1.10 new style middleware
Timothée Peignier committed -
Silvan Spross committed
-
- 27 Oct, 2016 1 commit
-
-
Fix formatting and structure
Safwan Rahman committed
-
- 26 Oct, 2016 2 commits
-
-
Chris Streeter committed
-
Chris Streeter committed
-
- 20 Oct, 2016 6 commits
-
-
Start Django 1.10 compatibility
Timothée Peignier committed -
Austin Pua committed
-
Austin Pua committed
-
Austin Pua committed
-
Austin Pua committed
-
Austin Pua committed
-
- 01 Sep, 2016 1 commit
-
-
Timothée Peignier committed
-
- 30 Aug, 2016 3 commits
-
-
Remove empty args from argument_list in SubprocessCompiler
Timothée Peignier committed -
Use lastest node and latest package versions
Timothée Peignier committed -
This should make build faster and more reliable.
Timothée Peignier committed
-
- 29 Aug, 2016 1 commit
-
-
Solkaz committed
-
- 26 Aug, 2016 1 commit
-
-
Solkaz committed
-
- 05 Jul, 2016 1 commit
-
-
Added missing classifiers to the `setup.py`
Sobolev Nikita committed
-
- 01 Jul, 2016 1 commit
-
-
I have added extra topics: ``` + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Internet :: WWW/HTTP', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ``` Added information about framework: ``` 'Framework :: Django', 'Framework :: Django :: 1.6', 'Framework :: Django :: 1.7', 'Framework :: Django :: 1.8', 'Framework :: Django :: 1.9', ``` And `python` versions: ``` 'Programming Language :: Python :: 2.7', ... 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ``` I have also sorted the classifiers alphabetically.
Sobolev Nikita committed
-
- 11 Jun, 2016 2 commits
-
-
Convert readthedocs links for their .org -> .io migration for hosted projects
Timothée Peignier committed -
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
Adam Chainz committed
-
- 07 Jun, 2016 1 commit
-
-
Make the JS wrapper configurable
David Trowbridge committed
-
- 28 May, 2016 1 commit
-
-
Nikita committed
-
- 08 May, 2016 1 commit
-
-
Timothée Peignier committed
-
- 31 Mar, 2016 3 commits
-
-
Removed duplicate DISABLE_WRAPPER key in conf.py
David Trowbridge committed -
Joseph Atkins-Turkish committed
-
David Trowbridge committed
-
- 30 Mar, 2016 1 commit
-
-
Updated logger warnings
David Trowbridge committed
-
- 29 Mar, 2016 2 commits
-
-
Alvin Mites committed
-
Alvin Mites committed
-
- 23 Mar, 2016 1 commit
-
-
The outdated file checks in the compilers were using django storages to check file existence and compare mtimes, but with my recent change (which restored the older behavior of comparing the infile and outfile), these were operating on absolute, local files, which could result in a SuspiciousFileOperation. The compilers always operate on local files, so we can switch to using the os.path methods for these instead. This is both more correct and more efficient.
David Trowbridge committed
-
- 22 Mar, 2016 2 commits
-
-
Link to RTD via HTTPS.
Timothée Peignier committed -
Corey Farwell committed
-
- 21 Mar, 2016 2 commits
-
-
Split render_compressed in templatetags for easier subclassing
David Trowbridge committed -
The base mixin for the template tags, PipelineMixin, performed the bulk of its rendering logic in the render_compressed() method. It handled both rendering output files (if PIPELINE_ENABLED was True), or source files (if False). Due to the complexity of this method, it was difficult for a subclass (which may need to perform more specialized logic) to override this method without copying the code. This splits out that function into two new utility methods, render_compressed_sources() and render_compressed_output(). These take the same arguments as render_compressed(), and are called by that method as well. This allows a subclass to more easily replace the logic for determining which to call, or to replace the logic for either of these renders.
Christian Hammond committed
-
- 10 Mar, 2016 3 commits
-
-
David Trowbridge committed
-
Add a view for collecting static files before serving them.
David Trowbridge committed -
In a Django development setup, it's common to have a /static/ URL set up to serve static media to the browser upon request. That's usually set to either serve out of a specific directory or out of any configured finders. However, the former doesn't guarantee any referenced files were collected first, and the latter only considers source files (for the purposes of timestamp calculation/caching) and not the collected/compiled files. This change introduces a new view, meant for use with Django's static serving view, that will collect the referenced file before serving it, guaranteeing that media like images and fonts are present. To ensure that this view will return content quickly (especially considering it will serve up any files referenced by the template tags), an optimization was made to Collector to allow the caller to collect only the given list of files. The view makes use of this to handle the collection process fast.
Christian Hammond committed
-