Commit graph

2380 commits

Author SHA1 Message Date
Karl Hobley
dc26d7e347 Moved image tag documentation to images section 2014-09-28 08:57:38 +01:00
Matt Westcott
504ddecde2 release note for #652 (and better description for the wagtail start bugfix) 2014-09-26 11:20:11 +01:00
Matt Westcott
85d1a496e1 release note for #652 2014-09-26 11:15:55 +01:00
Matt Westcott
6bc37bf1a1 Merge pull request #652 from kaedroho/image-frontend-cache-fix
Use cache_control decorator instead of cache_page
2014-09-26 11:08:22 +01:00
Karl Hobley
297ebd1148 PEP8 fix 2014-09-26 10:51:08 +01:00
Karl Hobley
e292f87e53 Use cache_control decorator instead of cache_page
I used cache_page originally as it sets all the relevant HTTP headers
("Cache-Control" and "Expires") to ask browsers/proxys to cache the
generated image to reduce load.

What I didn't know at the time is that cache_page also inserts the
generated images into the cache backend. Sites with many images being
served thorugh the "Frontend URLs" mechanism could end up with their
cache servers being overloaded.

This pull request replaces the use of cache_page with cache_control
which doesn't insert the image into the cache.

Also, cache_control only sets the "Cache-Control" HTTP header (and not
"Expires"). As "Cache-Control" is defined in the HTTP 1.1 spec, I think
it's safe to assume that the vast majority of browsers and proxys
support it.
2014-09-26 10:44:44 +01:00
Karl Hobley
944fd8897f Release note for #651 2014-09-25 09:46:25 +01:00
Karl Hobley
618eb41922 Changelog for #651 2014-09-25 09:45:52 +01:00
Karl Hobley
d6857b7749 Merge pull request #651 from gasman/fix/625
Invoke django-admin.py over Python API rather than as external executable - fixes #625
2014-09-25 09:44:32 +01:00
Matt Westcott
1d916ded1b Invoke django-admin through python API call rather than on the command line, to sidestep platform-specific issues with finding / launching executables - fixes #625 2014-09-25 00:13:29 +01:00
Dave Cranwell
5f09dd688c removed debugging 2014-09-23 10:27:02 +01:00
Dave Cranwell
70d263ce6e Fixing issue with inline panels used in non-content panels failing to display correctly due to use of :visible, which doesn't work as expected when content is already hidden at runtime 2014-09-23 10:26:15 +01:00
Matt Westcott
31cfabc275 update pypi classifier to Production / Stable 2014-09-22 21:11:22 +01:00
Matt Westcott
6f9065d769 release note for #643 2014-09-22 21:03:45 +01:00
Matt Westcott
616183a360 Merge branch 'kaedroho-feature/template-dj17' 2014-09-22 21:01:17 +01:00
Karl Hobley
4f0c6b9b8b Merge pull request #648 from takeflight/update-taggit
Bump django-taggit version to 0.12.2
2014-09-22 08:52:47 +01:00
Tim Heap
2148da54cb Bump django-taggit version to 0.12.2
0.12.1 did not have all of its migrations applied, which played havoc
with migrations of apps that depended upon django-taggit
2014-09-22 10:33:27 +10:00
Matt Westcott
fe6684ec77 Merge branch 'feature/template-dj17' of https://github.com/kaedroho/wagtail into kaedroho-feature/template-dj17 2014-09-19 17:01:12 +01:00
Dave Cranwell
408d2c6b68 Update 500.html 2014-09-19 16:42:53 +01:00
Dave Cranwell
4458f382e0 Update base.html 2014-09-19 16:42:37 +01:00
Dave Cranwell
2c911c20e3 Update CONTRIBUTORS.rst 2014-09-18 14:49:53 +01:00
Karl Hobley
f50ed21156 Merge pull request #561 from kaedroho/bad-imports-cleanup
Cleaned up bad imports. Fixes #544
2014-09-18 12:38:55 +01:00
Karl Hobley
078d4fadde No need to run syncdb in project template vagrantfile anymore 2014-09-18 10:57:33 +01:00
Karl Hobley
31b8a14b62 Docs update for project template django 1.7 support 2014-09-18 10:57:10 +01:00
Karl Hobley
f56a234e28 Removed south from base settings in project template 2014-09-18 10:56:47 +01:00
Karl Hobley
2574cfad9d Added Django 1.7 support into project template 2014-09-18 10:43:41 +01:00
Karl Hobley
2ffc5828ff Merge remote-tracking branch 'torchbox/master' into bad-imports-cleanup
Conflicts:
	wagtail/wagtailembeds/__init__.py
	wagtail/wagtailsearch/__init__.py
2014-09-18 10:40:32 +01:00
Matt Westcott
7c8b1c4adb Merge branch 'master' of github.com:torchbox/wagtail 2014-09-18 09:50:57 +01:00
Matt Westcott
a4cf05f1bc Merge branch 'takeflight-feature/register-snippet-decorator' 2014-09-18 09:49:15 +01:00
Matt Westcott
f11c34e059 release note for #641 2014-09-18 09:49:08 +01:00
Karl Hobley
007b8249e1 Added contributor entry for #639 2014-09-18 09:19:14 +01:00
Karl Hobley
174e9d6de4 Merge pull request #639 from jalourenco/master
wagtail 0.6.0 pt_PT localization
2014-09-18 09:16:11 +01:00
Karl Hobley
60ed50b75b Merge pull request #642 from takeflight/bug/failing-tests-613
Fix failing tests when WAGTAILSEARCH_BACKENDS not filled out
2014-09-18 09:15:05 +01:00
Tim Heap
cb3094a4a7 Fix failing tests when WAGTAILSEARCH_BACKENDS not filled out
The tests attempted to skip themselves when WAGTAILSEARCH_BACKENDS was
not filled out, but the skip code was throwing an error, causing the
test to fail.
2014-09-18 15:46:49 +10:00
Tim Heap
a1d3a32dd6 Make register_snippet usable as a decorator 2014-09-18 15:35:39 +10:00
Jose Lourenco
344df1d414 add 0.6.0 localized files 2014-09-17 17:44:58 +01:00
Jose Lourenco
f414cf2660 Merge pull request #2 from torchbox/master
Update from  torchbox:master on 2014-09-16;
Wagtail 0.6.0
2014-09-17 16:07:10 +01:00
Tom Dyson
22b32d767e Update installation docs
wagtail start command needs pip install requirements.txt in 0.6
2014-09-17 11:17:02 +01:00
Matt Westcott
354e4930f1 use absolute imports to wagtailadmin SCSS files from wagtailimages 2014-09-16 16:38:36 +01:00
Matt Westcott
abf2173e0d Merge branch 'takeflight-feature/parent_page_types' 2014-09-16 15:49:25 +01:00
Matt Westcott
4ed76af781 release note for #491 2014-09-16 15:47:40 +01:00
Dave Cranwell
04c4e380ba Update README.rst 2014-09-16 15:45:22 +01:00
Matt Westcott
fa558b149d Fix ability to pass a class object in subpage_types / parent_page_types 2014-09-16 15:44:42 +01:00
Matt Westcott
b4097dce1d add unit tests for allowed_subpage_types and allowed_parent_page_types 2014-09-16 15:38:28 +01:00
Dave Cranwell
7c69dd2616 Merge pull request #583 from kaedroho/elasticsearch-asciifolding
Enabled ASCIIFolding in Elasticsearch backend
2014-09-16 12:35:13 +01:00
Matt Westcott
4398b64282 remove allowed_parent_pages / allowed_subpages.
allowed_parent_pages was a (broken) relic of the aborted no-tree add-page interface where you selected page type first and then specify where to put it. In that context, allowed_subpages doesn't make sense because the page you're about to add doesn't have subpages...
2014-09-16 11:57:03 +01:00
Matt Westcott
f28f7f92c2 in to -> into 2014-09-16 11:55:40 +01:00
Matt Westcott
c68dcff7bc copyediting on parent_page_types documentation 2014-09-16 11:55:05 +01:00
Matt Westcott
3eaf1076ab Merge branch 'feature/parent_page_types' of https://github.com/takeflight/wagtail into takeflight-feature/parent_page_types 2014-09-16 11:53:12 +01:00
Matt Westcott
6b2b3ca43e release note for #568 2014-09-16 10:20:18 +01:00