Commit graph

3335 commits

Author SHA1 Message Date
Dave Cranwell
1c551b55e9 creating should also remain on page after submit 2014-10-13 11:44:16 +01:00
Dave Cranwell
29d5cc0cb1 mistake 2014-10-13 11:40:06 +01:00
Dave Cranwell
cfae30a328 corrected redirect 2014-10-13 11:39:03 +01:00
Dave Cranwell
e18e156564 added missing indicators on pages_for_moderation and recent_edits 2014-10-13 11:31:10 +01:00
Dave Cranwell
78d9dede0b editing a page no longer redirects to explorer. success messages added to locking/unlocking process. 2014-10-13 11:17:58 +01:00
Karl Hobley
d78b540e20 Merge pull request #691 from zerolab/seperated-separated-typo
Typo fix in wagtailforms help text
2014-10-10 10:51:55 +01:00
John-Scott Atlakson
f058e89e4d Fixed more instances of username => get_username() 2014-10-09 20:10:13 -04:00
John-Scott Atlakson
6edaa095bf Fixed admin home page for custom user models 2014-10-09 19:33:35 -04:00
Dan Braghis
f3569c61fc Fix typo 2014-10-09 20:53:53 +01:00
Matt Westcott
d5d0dcc5c5 update translations 2014-10-09 20:10:29 +01:00
Matt Westcott
aa0f0b942e prepare for 0.7 release 2014-10-09 19:51:26 +01:00
Karl Hobley
9640030e4c Merge pull request #688 from gasman/fix/delete_duplicate_renditions
update focal_point_key migrations to delete duplicate renditions (ref: #685)
2014-10-09 17:32:00 +01:00
Matt Westcott
4bc657e1a2 release note re updating custom Rendition models - fixes #685 2014-10-09 17:29:10 +01:00
Matt Westcott
44b7fb247d update focal_point_key migrations to delete duplicate renditions 2014-10-09 17:04:01 +01:00
Karl Hobley
0264c794bd Update images/index.rst 2014-10-09 13:10:18 +01:00
Matt Westcott
1ef27b5b25 Merge branch 'kaedroho-feature/order-by-last-revision-date' 2014-10-09 12:24:50 +01:00
Matt Westcott
f2af37cc6c release note for #683 2014-10-09 12:24:31 +01:00
Matt Westcott
55adcf63c6 Consistently include the word 'ago' when using the timesince filter 2014-10-09 12:18:51 +01:00
Matt Westcott
ad9468b550 Merge branch 'feature/order-by-last-revision-date' of https://github.com/kaedroho/wagtail into kaedroho-feature/order-by-last-revision-date 2014-10-09 12:07:50 +01:00
Karl Hobley
d1d5e68ed4 Fixed test 2014-10-08 18:38:16 +01:00
Matt Westcott
58e42e9acd Update the Sites documentation, because the Sites UI is no longer in the future :-) 2014-10-08 16:56:12 +01:00
Tom Dyson
8b91757e58 Screenshots in 0.7 release notes 2014-10-08 16:42:54 +01:00
Karl Hobley
19cb2c5731 UI for ordering by latest revision 2014-10-08 16:13:55 +01:00
Karl Hobley
6ecd082958 Added last_revision_created_at to Page 2014-10-08 15:28:10 +01:00
Matt Westcott
c19fef8669 Merge pull request #682 from kaedroho/missing-migration
Added missing migration
2014-10-08 14:40:46 +01:00
Karl Hobley
2fca6e682e Update frontendcache.rst 2014-10-08 13:27:51 +01:00
Karl Hobley
3dda58f4e9 Added missing migration 2014-10-08 13:19:59 +01:00
Matt Westcott
318c4503f8 add release note for #505 2014-10-08 13:11:58 +01:00
Matt Westcott
f42f92a201 Fix heading levels in frontend cache docs 2014-10-08 13:08:48 +01:00
Karl Hobley
0e6f815ed9 Merge pull request #681 from tomdyson/master
Link to new image uploader
2014-10-08 13:03:08 +01:00
Matt Westcott
5bf5b49343 Merge pull request #505 from kaedroho/cloudflare-cache-invalidation
Added cloudflare cache invalidation
2014-10-08 13:01:41 +01:00
Karl Hobley
340d038847 Frontendcache backend logging changes 2014-10-08 12:23:22 +01:00
Karl Hobley
bbdbab0c70 Fixed broken tests 2014-10-08 12:21:12 +01:00
Tom Dyson
ed8a5aefcf Link to new image uploader
from zero image results page
2014-10-08 12:21:05 +01:00
Karl Hobley
51a30bfb54 Merge remote-tracking branch 'torchbox/master' into cloudflare-cache-invalidation 2014-10-08 12:08:32 +01:00
Matt Westcott
a973bfd2d9 Merge pull request #679 from takeflight/bug/missing-migration
Add missing migrations
2014-10-08 11:39:14 +01:00
Karl Hobley
b6c755400b Docs for cloudflare cache invalidation 2014-10-08 11:32:44 +01:00
Karl Hobley
d97a0510e8 Readded purge_url_from_cache. Logging improvements 2014-10-08 11:32:02 +01:00
Matt Westcott
9de19b4d44 set 'titlesonly' in sphinx menus to prevent subheadings from the Search intro page from appearing 2014-10-08 11:14:36 +01:00
Tim Heap
3095941bb3 Fix Python 2.6 compatibility 2014-10-08 20:58:53 +11:00
Matt Westcott
ad80554558 fix warning about code-block directive 2014-10-08 10:57:10 +01:00
Karl Hobley
703ddbbb94 WAGTAILFRONTENDCACHE_LOCATION compatibility 2014-10-08 10:45:13 +01:00
Tim Heap
620020c9f0 Fix migrations after merging in missing migrations 2014-10-08 20:39:00 +11:00
Tim Heap
e2503fcf37 Merge branch 'bug/missing-migration' into bug/scripts-at-bottom
* bug/missing-migration:
  Add missing migrations
2014-10-08 20:25:56 +11:00
Tim Heap
3701e7d8e4 Add missing migrations 2014-10-08 20:21:09 +11:00
Tim Heap
385564afe5 Refactor edit handler JavaScript integration
Edit handler panels which required JavaScript provided the JavaScript in
a `render_js` function, the output of which was collected together and
inserted after the `<script>` tags in the footer. Now that the
`<script>` tags are at the top of the `<body>`, these collected
initialisations were failing when they could not find the elements.

A new set of widgets have been created: `AdminPageChooser`,
`AdminImageChooser`, `AdminSnippetChooser`, `AdminDocumentChooser`.
These widgets output the initialisation JavaScript in a `<script>` tag
immediately following the widget itself, assuming that the required
external libraries and scripts are now included further up in the page.
This is how the GeoDjango fields from Django work, as well as many other
third party widgets. It makes writing integrations for arbitary widgets
easy, as they do not have to know anything about Wagtail edit handlers.

This also removes the need for the `fixPrefix()` JavaScript function
wrapping all field initialisers. As the fields are initialised as they
are inserted in to the page, any scripts included with them are inserted
at the same time. Additionally, the `__prefix__` placeholder in empty
form fields is also present in the initialisation scripts, and is fixed
at the same time. A template tag `escapescript` has been added to help
with this, to prevent `<script>` initialisation blocks from prematurely
closing the `<script type='text/django-form-template'>` tags.
2014-10-08 17:24:48 +11:00
Tim Heap
f2b9615ac8 Move <script> tags to top of body
Having <script> tags at the bottom of the <body> caused some widgets
that relied upon JavaScript to fail, as the required libraries had not
been loaded at the point where the widgets were added to the page.
2014-10-08 11:47:09 +11:00
Karl Hobley
f5d37db916 Update images/index.rst 2014-10-07 17:39:45 +01:00
Matt Westcott
3f934d026d Add 'fields' to modelform definitions to silence warnings, as per #674 2014-10-07 16:18:35 +01:00
Matt Westcott
dedaead8a0 release note / upgrade consideration note for #576 2014-10-07 16:08:39 +01:00