Wykres commitów

2937 Commity (3de931fcf6f60f45b718f021089f31df5c29ba0d)

Autor SHA1 Wiadomość Data
Karl Hobley c76bc9c30e Clear wagtail_site_root_paths on Site delete
Fixes #706
2014-10-26 18:19:08 +00:00
Karl Hobley ff4b42c38b Fixed allowed extensions in multiple image uploader 2014-10-26 11:50:15 +00:00
Karl Hobley 451abb9cc9 Clarity/translatablity improvements. Fixed test 2014-10-26 11:50:15 +00:00
Dave Cranwell 66c92f0333 unifying of messages and added to uploader 2014-10-26 11:50:15 +00:00
Karl Hobley 82657344de Added separate error when image format is known 2014-10-26 11:50:15 +00:00
Karl Hobley 71c48e01ed WagtailImageField help text. Some refactoring 2014-10-26 11:50:15 +00:00
Dave Cranwell 140855c03c less poluting method of variable scoping 2014-10-26 11:50:15 +00:00
Dave Cranwell 9b47343e2a updates to how error message and accepted file type/size are mentioned by jquery upload plugin 2014-10-26 11:50:14 +00:00
Dave Cranwell 57c4253b94 started adding pre-upload validation to images 2014-10-26 11:50:14 +00:00
Dave Cranwell c0c6a1bd7c started adding pre-upload validation to images 2014-10-26 11:50:14 +00:00
Karl Hobley 4a6a09ec13 Check image file size before the format
Checking the file format may take a long time if the uploaded file is
very big so it makes sense to check the file size first to prevent the
server being held up unneccessarily.
2014-10-26 11:50:14 +00:00
Karl Hobley ffec059c12 Refactored image validation into a custom field
This fixes issues with Django closing the image file before running
validators.
This may give a slight improvement in upload speed as the file doesn't
keep having to be reopened.
This unifies our image validation with Django's image validation so
error messages could be shared (not implemented yet though).
The code is more maintainable (the validators no longer need to be
called manually from the multiple image uploader for example)
2014-10-26 11:50:14 +00:00
Dave Cranwell 50f8aed9c3 tweak to validator message. passing through max size vars 2014-10-26 11:50:14 +00:00
Karl Hobley 5999e96505 Fixed display of hidden fields on image add view
Same as #668 but for the old image add view
2014-10-26 11:50:14 +00:00
Karl Hobley 948c11bbd2 Added max_filesize to all image uploader views 2014-10-26 11:50:14 +00:00
Karl Hobley b7b5e182fa Added image filesize validation 2014-10-26 11:50:14 +00:00
Karl Hobley 7cf31a4386 Merge pull request #751 from kaedroho/images-tests-reorg-2
Reorganised images tests
2014-10-26 11:49:15 +00:00
Karl Hobley 9165351343 Reorganised images tests 2014-10-26 11:37:00 +00:00
John-Scott Atlakson e32827f143 Merge branch 'master' into custom-user-model-fixes
Conflicts:
	wagtail/wagtailadmin/forms.py
2014-10-24 13:59:47 -04:00
Matt Westcott 793ebd4cc2 Release note for #743 2014-10-24 16:42:38 +01:00
Matt Westcott 24ca59465e Merge pull request #743 from kaedroho/template-dependency-fix
Project template: Fixed migration dependency
2014-10-24 16:29:08 +01:00
Matt Westcott b57fab3cca Merge pull request #720 from kaedroho/use-lastest_revision_created_at-in-sitemap-generator
Use latest_revision_created_at in sitemap generator
2014-10-24 15:33:40 +01:00
Matt Westcott 92d0dd9895 Release note for #748 2014-10-24 10:58:54 +01:00
Matt Westcott 23393eaf90 Merge pull request #748 from kaedroho/fix-revisions-copying-on-child-pages
Fix revisions still copying for child pages
2014-10-24 10:53:53 +01:00
Matt Westcott e7be80af50 release note for #732 2014-10-24 10:52:03 +01:00
Matt Westcott 548b10a82a Merge pull request #732 from kaedroho/copy-revisions-created-at-bug
Don't overwrite created_at of copied page revisions
2014-10-24 10:42:48 +01:00
Karl Hobley 3503981802 Fix revisions still copying for child pages
When Page.copy runs recursively, it forgot to pass through the
copy_revisions value that the user specified causing revisions to always
be copied for subpages regardless of what the user wanted
2014-10-24 10:32:20 +01:00
Karl Hobley 13e8e73830 Project template: Fixed migration dependency
The project template currently crashes on first migrate because it tries
to run the create homepage migration before the Page.locked field is
created.

This commit fixes (and hopefully, future proofs) this by telling Django
that the core app migrations depend on the latest wagtailcore migration,
which should make Django fully migrate wagtailcore before starting the
core app.
2014-10-23 20:06:26 +01:00
Matt Westcott 1871a29f30 release note for #569 2014-10-23 17:31:54 +01:00
Matt Westcott 04f93e2bbf Merge branch 'kaedroho-logging' 2014-10-23 17:18:45 +01:00
Matt Westcott 1d54ebaabf Merge branch 'logging' of https://github.com/kaedroho/wagtail into kaedroho-logging 2014-10-23 17:10:36 +01:00
Matt Westcott 3f95387ba9 Merge branch 'nimasmi-login_page_tabindex' 2014-10-23 16:09:43 +01:00
Matt Westcott 9b3048a141 Merge branch 'login_page_tabindex' of https://github.com/nimasmi/wagtail into nimasmi-login_page_tabindex 2014-10-23 16:08:13 +01:00
Karl Hobley 3de6cb5ff4 Use new_url_path in page move log 2014-10-23 16:08:08 +01:00
Matt Westcott f8f3fbd17e Merge branch 'logging' of https://github.com/kaedroho/wagtail into kaedroho-logging 2014-10-23 15:14:51 +01:00
Karl Hobley df7110625a Added logging for moderation approval/rejection 2014-10-23 14:57:07 +01:00
Karl Hobley 4027262433 Log page deletions 2014-10-23 14:57:07 +01:00
Karl Hobley 568ba42c95 Added logging for most page operations 2014-10-23 14:56:15 +01:00
Matt Westcott 2bf8e44707 release note for #463 2014-10-23 12:57:04 +01:00
Matt Westcott 8bb1a8a459 Merge branch 'takeflight-bug/url-check' 2014-10-23 12:40:38 +01:00
Matt Westcott 4b466ae041 Merge branch 'bug/url-check' of https://github.com/takeflight/wagtail into takeflight-bug/url-check 2014-10-23 11:32:51 +01:00
Karl Hobley bdcef9e05f Merge pull request #736 from jsma/py3-fix
`unicode()` doesn't exist in PY3, changed to `str()`
2014-10-23 09:46:35 +01:00
Karl Hobley 9d4d414933 Use specific page class in all admin actions. Fixes #737 2014-10-23 09:34:51 +01:00
John-Scott Atlakson ad687c500f Switched usage of `str()` to `six.text_type()`
Removed unused import
2014-10-23 04:18:01 -04:00
John-Scott Atlakson 0edb1244a1 `unicode()` doesn't exist in PY3, changed to `str()` 2014-10-23 03:18:14 -04:00
John-Scott Atlakson 7d753fe99f Merge branch 'master' into custom-user-model-fixes 2014-10-22 17:21:54 -04:00
Karl Hobley d633cbfd6c Added @edrex to contributors 2014-10-22 22:11:22 +01:00
Karl Hobley cc2af2f4e2 Merge pull request #734 from edrex/patch-1
docs: fix code sample indentation
2014-10-22 22:10:05 +01:00
Karl Hobley e43b3e25d5 Release note for #721 2014-10-22 22:08:40 +01:00
Karl Hobley 23c9589156 Changelog for #721 2014-10-22 22:07:59 +01:00