Wykres commitów

2673 Commity (d633cbfd6c7a39fd0e9a6d37abe05739c09c18fd)

Autor SHA1 Wiadomość Data
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 a91cd56824 removed shadow till open 2014-09-19 11:06:16 +01:00
Dave Cranwell 5cb033fec6 wrong selector 2014-09-19 11:05:28 +01:00
Dave Cranwell 457c9f2ac1 added back search menu 2014-09-19 11:03:02 +01:00
Dave Cranwell 1eb8d6ee88 tweak 2014-09-19 10:27:54 +01:00
Dave Cranwell 7fb2d196b4 styling for mobile 2014-09-19 10:19:57 +01:00
Dave Cranwell a5c2a708d5 teal -> salmon 2014-09-18 16:55:17 +01:00
Dave Cranwell 12983c446e merged my previous changes in feature/settings-menu 2014-09-18 16:40:04 +01:00
Dave Cranwell 1ee5987339 merged design branch of settings menu changes 2014-09-18 15:11:24 +01:00
Dave Cranwell b17ded928c merge master 2014-09-18 15:09:29 +01:00
Dave Cranwell c5ae725401 Merge branch 'master' into pr/539 2014-09-18 15:03:33 +01:00
Dave Cranwell 1853c51355 alignment tweak 2014-09-18 15:00:36 +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
Karl Hobley 1bce98795e Docs for update_index --backend option 2014-09-18 10:37:09 +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
Dan Braghis 23bbc1bcf9 Fix typo and slight PEP8 cleanup. 2014-09-17 16:17:02 +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
Dave Cranwell c6b61e1cd0 font size tweaks 2014-09-16 17:11:36 +01:00
Dave Cranwell e8f6ed4409 updated font again 2014-09-16 17:08:27 +01:00
Dave Cranwell d8afd1899d tweaks to icon sizes 2014-09-16 17:06:10 +01:00
Dave Cranwell a6f4f5e5a5 replaced eye icon and updated usage of the icon in UI 2014-09-16 16:50:36 +01:00