Commit graph

4073 commits

Author SHA1 Message Date
Tom Dyson
290cde9c31 README REORG 2015-05-14 12:31:55 +01:00
Tom Dyson
7ee60590f5 update README
Bash syntax highlighting was confusing
2015-05-14 12:19:06 +01:00
Tom Dyson
f62752215c Project README updates
modern badges, new screenshot, updated feature list, simplified
‘getting started’.
2015-05-14 12:15:26 +01:00
Karl Hobley
543cedec40 Merge remote-tracking branch 'davecranwell/docs-reorganisation' 2015-05-14 12:14:58 +01:00
Dave Cranwell
5c16f9e7e0 moved attr/prop/method reference into pages section 2015-05-14 11:54:41 +01:00
Dave Cranwell
13e8c5b04b Merge pull request #1299 from veryhappythings/fix-image-filenames
Fix image filenames
2015-05-14 11:30:41 +01:00
Tom Dyson
dbf7884236 Merge pull request #1302 from kaedroho/form-builder-spelling-fixes
Spelling fixes for form builder
2015-05-14 11:22:38 +01:00
Dave Cranwell
3e5eb60bf9 moved pages, images, snippets, form builder, search into reference. Updated requirements, removed conflicting theme css file, updated README 2015-05-14 11:20:50 +01:00
Karl Hobley
c94ce91823 Spelling fixes for form builder 2015-05-14 11:11:58 +01:00
Karl Hobley
16294c2fd2 Fix reference to javascript_guidelines 2015-05-14 10:26:03 +01:00
Karl Hobley
48106c3693 Merge pull request #1261 from kaedroho/contrib-spelling-fixes
Spelling fixes for contrib section
2015-05-14 10:22:12 +01:00
Karl Hobley
8274cb83d7 Tweaks to RoutablePage docstrings
Thanks to @tomdyson for suggestions
2015-05-14 10:21:38 +01:00
Mac Chapman
e810bf47e8 Change quotes to match code style 2015-05-14 10:19:56 +01:00
Karl Hobley
4f98523116 Spelling fixes for contrib section 2015-05-14 10:17:33 +01:00
Mac Chapman
2058f846ce Fix indentation 2015-05-14 09:28:51 +01:00
Mac Chapman
982ada9aa7 Escape HTML in uploaded image filenames.
Fixes #1293.
2015-05-14 09:00:15 +01:00
Karl Hobley
089f2843f8 Merge pull request #1296 from kaedroho/update-translations
Update translations from transifex
2015-05-13 20:23:40 +01:00
Karl Hobley
64a630b8d5 Update translations from Transifex
And also remove translations with less than 30% coverage
2015-05-13 17:03:09 +01:00
Karl Hobley
aea724dc85 Merge pull request #1294 from kaedroho/show-resource-warnings
Show ResourceWarnings when running tests
2015-05-13 10:33:41 +01:00
Karl Hobley
7e9d48d76c Merge pull request #1273 from kaedroho/issue-1256
A couple of fixes to get_willow_image
2015-05-13 10:02:54 +01:00
Karl Hobley
8c88de9d93 Show ResourceWarnings when running tests
This warning is raised when a file is opened inside a test, but not closed. This can help spot bugs in Wagtail.

ResourceWarning was added in Python 3.2 and isn't available in Python 2
2015-05-13 09:39:02 +01:00
Dave Cranwell
eaccdc736c '.menu-active a' wasn't specific enough and highlighted salmon colour was overriden by later rules 2015-05-12 14:44:09 +01:00
Karl Hobley
33f7da8285 Merge pull request #1290 from chimeno/patch-2
Update form builder documentation link in README
2015-05-12 08:21:42 +01:00
Daniel Chimeno
a3d1e001c7 Update README.rst
Update form builder documentation link
2015-05-12 01:29:27 +02:00
Matt Westcott
9d352dfe2c Merge pull request #1275 from kaedroho/vary-key-rename
Rename vary_key to cache_key
2015-05-08 11:57:40 +01:00
Karl Hobley
bbdb4379a0 Sendfiles mod_wsgi backend broken on Django 1.8 2015-05-07 11:36:46 +01:00
Karl Hobley
10fb0c4249 Changelog/release notes/contributors for #1176 2015-05-07 10:12:31 +01:00
Karl Hobley
40092e1852 Must use simple sendfile when using staticsitegen 2015-05-07 09:54:28 +01:00
Karl Hobley
c8d7f5baad Merge branch 'jordij/feature/docs-sendfile' 2015-05-07 09:36:11 +01:00
Karl Hobley
8673d07d8b Updated sendfile to 0.3.7 2015-05-07 09:35:31 +01:00
jordij
5db78ec012 PEP-8 fixes 2015-05-07 09:33:11 +01:00
Karl Hobley
f70eb09d07 Added streaming sendfile backend
The simple sendfile backend doesn't stream responses. This commit adds a backend that does.
2015-05-07 09:33:11 +01:00
Karl Hobley
b3348534cc Fallback to simple sendfile backend
If SENDFILE_BACKEND is not set
2015-05-07 09:33:11 +01:00
Karl Hobley
6e0a448f11 Import sendfile into wagtail utils 2015-05-07 09:33:10 +01:00
Karl Hobley
b1062a712e Added tests for a few sendfile backends
So we can test sendfile against our test matrix
2015-05-07 09:33:10 +01:00
jordij
e33ff5d34d documents served using django-sendfile 2015-05-07 09:33:05 +01:00
Dan Braghis
e7e0ddcedd Release/Changelog notes for #1263/#1269 2015-05-06 17:19:57 +01:00
Dave Cranwell
edce85e56a Merge pull request #1263 from salvadormrf/patch-1
Show upload tab when there is form error when adding a new document.
2015-05-06 16:12:38 +01:00
Dave Cranwell
a261d97058 Merge pull request #1269 from salvadormrf/patch-2
Keep collapsible blocks open if there is any form error.
2015-05-06 16:12:34 +01:00
Karl Hobley
1011b3ba39 Merge pull request #1270 from kaedroho/fix-forms-unicodeencodeerror
Fix UnicodeEncodeError on Python 2. And some cleanup of wagtailforms tests
2015-05-06 15:25:36 +01:00
Karl Hobley
cfdc4181bc Rename vary_key to cache_key 2015-05-06 14:50:20 +01:00
Karl Hobley
9c934f4660 Don't open image before checking it's open
This caused images that were closed to be detected as open. Oops
2015-05-06 14:34:17 +01:00
Karl Hobley
62c0021843 Added test that image is closed on exception
This was an actual bug but forgot to add a regression test for it earlier
2015-05-06 13:16:15 +01:00
Karl Hobley
6ae8213e05 Only close image if it wasn't already open
Fixes #1256
2015-05-06 13:12:46 +01:00
Karl Hobley
b445f2a28f Failing test for #1256 2015-05-06 13:09:27 +01:00
Matt Westcott
52bc8ae627 Merge pull request #1217 from kaedroho/page-validation-changes
Cleaned up page validation
2015-05-06 10:22:23 +01:00
Karl Hobley
4186bee2be Fix UnicodeEncodeError on Python 2 2015-05-05 14:11:29 +01:00
Karl Hobley
a1bf1159c4 Make form page in wagtailforms tests 2015-05-05 13:52:35 +01:00
Karl Hobley
52ab03ee93 Cleaned up page validation
Previously, we added an extra validation rule to the slug field by overriding the clean_slug method on the page, which was a little hacky I think.

This PR removes this code and uses form.add_error instead (added in Django 1.7) for performing the extra validation rules.
2015-05-05 11:38:02 +01:00
Karl Hobley
0ca1eb310a Add test for too long slug 2015-05-05 11:36:58 +01:00