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
Philipp Dörner
60e629d9e5
preventing thousands seperators when printing max filesize in JS
2015-05-11 20:45: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
fcec9936ad
Add offset when getting single item. Fixes #1271
2015-05-05 16:49:49 +01:00
Karl Hobley
375b25c1e5
Added tests for ElasticSearchResults class
2015-05-05 16:49:49 +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
Tim Heap
676799da45
Add docs on compiling the static admin assets
2015-05-05 22:23:05 +10: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
Salvador Faria
f19623b401
Keep collapsible blocks open if there is any form error.
...
By default the collapsible blocks will be hidden after saving or from preview.
When there is a form error inside one of these blocks, the block is hidden and the user does not know where the form errors are located.
2015-05-04 22:00:32 -04:00
Salvador Faria
c3d4b47530
Show upload tab when there is form error when adding a new document.
2015-05-04 10:52:57 -04:00
Karl Hobley
0fb4880acf
0.8.8 is in development
2015-05-04 15:15:32 +01:00
Karl Hobley
b3030ac6b0
Changelog/release note/contributor for #1260
2015-05-03 11:26:12 +01:00
Karl Hobley
8f642a5b2f
Removed a bit of unused code
2015-05-03 11:19:45 +01:00
Arne Schauf
61584ae2f8
fix TypeError if submitting unchecked BooleanField
2015-05-03 11:11:12 +01:00
Karl Hobley
cc07406f3d
Failing test for #1260
2015-05-03 11:09:02 +01:00
Felicity Tarnell
771ca040b3
scripts/make-latest.sh: show usage with no arguments
2015-05-01 14:13:18 +01:00
Felicity Tarnell
f612db20c4
scripts/make-latest.sh: new script to generate new latest.sh
2015-05-01 14:11:05 +01:00
Felicity Tarnell
8937ffd560
scripts/latest.sh: if file is unchanged, do not exit with an error
2015-05-01 14:07:24 +01:00
Felicity Tarnell
9fa78bf21b
scripts/latest.sh: set correct acl on upload
2015-05-01 14:05:17 +01:00
Felicity Tarnell
b0b577e963
scripts/latest.sh: should be TERM here, not EXIT
2015-05-01 13:58:40 +01:00
Felicity Tarnell
20e159d1f8
scripts/latest.sh: script to edit latest.txt
...
This script supports 'get', 'put' and 'vi' commands to edit the file at
http://releases.wagtail.io/latest.txt . Usage is fairly straightforward:
$ scripts/latest.sh get my-latest.txt
$ vi my-latest.txt
$ scripts/latest.sh put my-latest.txt
Or, in a single command (equivalent to get, vi and put):
$ scripts/latest.sh vi
'put' will automatically create a CloudFront invalidation, that
typically takes around 15 minutes to fully deploy
TODO: documentation; script to create a template latest.txt based on
command-line arguments.
2015-05-01 12:29:58 +01:00
Karl Hobley
3bc798a450
Typo fix in search backends tests
2015-05-01 11:10:42 +01:00
Tim Heap
4614526416
Move require()
calls out of gulp tasks
2015-05-01 08:53:05 +10:00
Tim Heap
2af8fdf8b6
Build assest as part of watching them
2015-05-01 08:53:05 +10:00
Tim Heap
37816f68cf
Move all static assets to static_src
, compile to static
...
The fonts were also relocated out of the `scss/fonts` directory to their
own `fonts` directory.
All the `static` directories are now ignored, and are completely
generated from the compilation process.
2015-05-01 08:53:04 +10:00
Tim Heap
0be22dc3f0
Check for and warn about missing assets in setup.py install
2015-05-01 08:53:04 +10:00