0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

3796 Commits

Author SHA1 Message Date
Matt Westcott
3efad3089d release note for #1045 2015-03-06 13:57:45 +00:00
Matt Westcott
f0747918bc regenerate translation messages 2015-03-06 12:21:17 +00:00
Matt Westcott
6a982674a6 Merge pull request #1045 from gasman/update-translations
Pull new translations from Transifex
2015-03-06 12:20:15 +00:00
Matt Westcott
1ce0b9fe68 Update translator credits (as best we can from the transifex data) 2015-03-06 11:56:49 +00:00
Matt Westcott
8123f31a2c Compile new translations (django-admin compilemessages) 2015-03-06 11:15:04 +00:00
Matt Westcott
2548e49ef5 fetch new translations (tx pull -a) 2015-03-06 11:08:37 +00:00
Matt Westcott
390718b63b Update 'fixtree' task to support deleting orphaned pages 2015-03-05 20:15:54 +00:00
Matt Westcott
b2372c8787 Discard invalid StreamField data rather than throwing ValueError 2015-03-05 10:36:58 +00:00
Matt Westcott
774924ce40 Perform page deletion on the base Page class, not page.specific
This avoids a treebeard bug where calling SpecificPage.delete() would fail to delete child pages that are not instances of SpecificPage.

This partially reverts #737, and adds logic at the model level to ensure that any other calls to SpecificPage.delete() get diverted to Page.delete() instead. Re the rationale given in #737, reverting this is legitimate (and does not cause any meaningful regression) because:
1) Django always fires pre/post delete signals from both Page and SpecificPage regardless of which one is deleted;
2) Overriding delete() can never reliably work whatever we do; even if we consistently call SpecificPage.delete() within wagtail, we can't get treebeard to do that for child pages because treebeard has no knowledge of how to obtain a SpecificPage instance.
2015-03-04 16:16:06 +00:00
Matt Westcott
2df05ec000 test that pre/post delete signals are fired on the classes we're interested in 2015-03-04 15:51:00 +00:00
Matt Westcott
61852c1f43 Add treebeard sanity checks in tests for wagtailadmin operations that modify the tree 2015-03-04 14:01:07 +00:00
Matt Westcott
544623cd35 add extra page deletion tests, including a failing one for subpages 2015-03-04 13:43:36 +00:00
Matt Westcott
40bbbfbc30 Fix test for request.POST on page deletion to accept empty POSTs
This means we don't have to submit dummy data in our tests
2015-03-04 13:11:32 +00:00
Dave Cranwell
6f37c78c95 transition added to stream menu toggle 2015-03-04 11:15:16 +00:00
Dave Cranwell
cc27e57d48 Merge remote-tracking branch 'upstream/master' 2015-03-04 11:13:47 +00:00
Dave Cranwell
5e40ece6f6 tweak 2015-03-04 11:12:15 +00:00
Dave Cranwell
253db37483 replacing css animations which couldn't do autoheight, with js ones that can 2015-03-04 11:10:57 +00:00
Matt Westcott
1475eba5a8 missing backtick 2015-03-04 10:54:34 +00:00
Matt Westcott
11cb63d892 release note for #1036 2015-03-04 10:54:34 +00:00
Matt Westcott
e6ad142bc9 Merge pull request #1036 from kaedroho/taggit-update
Update taggit
2015-03-04 10:38:56 +00:00
Karl Hobley
4a0df96e3f Removed stray console.log 2015-03-04 10:28:11 +00:00
Dave Cranwell
418bb00518 Merge remote-tracking branch 'upstream/master' 2015-03-04 09:57:44 +00:00
Karl Hobley
a4ffd3b485 Update taggit
Also, test SQLite with latest version of Django
2015-03-04 09:47:40 +00:00
Dave Cranwell
2d38f23fb0 ensuring autosize fires. styling field 2015-03-04 09:23:34 +00:00
Karl Hobley
b019bc2261 Test with taggit 0.12.3 2015-03-04 08:42:42 +00:00
Karl Hobley
d7ced6f243 Tox: Use dev django-taggit when testing Django 1.8 2015-03-03 22:55:12 +00:00
Dave Cranwell
27c605c00f initial work on allowing jquery.autosize to work with our new streamfield textblock 2015-03-03 17:43:45 +00:00
Dave Cranwell
15e6336db6 tweaks to stream-menu display at mobile resolutions 2015-03-03 17:05:09 +00:00
Dave Cranwell
60ed2a6d35 improving line height in rich text fields 2015-03-03 16:50:57 +00:00
Matt Westcott
1df3b6f7b9 Add a get_panel definition on StreamField to ensure it uses StreamFieldPanel.
This will probably only get used in very obscure cases (streamfields inside inline panels that don't have an explicit panel def) but it can't hurt to add it...
2015-03-03 11:48:21 +00:00
Karl Hobley
3d314b80ae Installation docs wording tweaks 2015-03-03 10:00:44 +00:00
Matt Westcott
46b77d49a4 Merge branch 'master' of github.com:torchbox/wagtail 2015-03-02 14:26:15 +00:00
Matt Westcott
62e7a95a1a Add logic to enable/disable moveup/movedown buttons at the top/bottom of the list 2015-03-02 14:26:02 +00:00
Karl Hobley
901b68c85f Make test INSTALLED_APPS a tuple 2015-03-02 13:41:32 +00:00
Matt Westcott
33be91d314 implement move up/down buttons for streams 2015-03-02 12:58:46 +00:00
Matt Westcott
2bc9e7bd14 implement move up/down buttons for lists 2015-03-02 12:56:52 +00:00
Dave Cranwell
334c8e6758 merge upstream 2015-03-02 10:47:40 +00:00
Dave Cranwell
5e1ec48df7 textareas should be treated like text inputs 2015-03-02 10:47:01 +00:00
Matt Westcott
5ca8f696a3 make comments about the purpose of 'sequence' more loud and obnoxious 2015-02-27 20:11:46 +00:00
Matt Westcott
1527a3a4a5 sequence_member.html should not contain stream-specific UI elements 2015-02-27 19:46:51 +00:00
Matt Westcott
9a5aaf3288 move menu show/hide logic out of sequence.js and into stream.js's StreamBlockMenu code 2015-02-27 19:36:31 +00:00
Matt Westcott
a52f7ccf1a Assign ID attribute to a stream-menu as a whole.
Use that (plus classnames on each icon button) to attach behaviour to icon buttons, rather than giving each button a globally unique ID. Also change the per-button classname from block-foo to action-add-block-foo, because block-foo is horribly generic and prone to namespace collisions (and providing this as a general-purpose styling hook doesn't seem like a particularly good idea).
2015-02-27 19:04:24 +00:00
Dave Cranwell
4e63ed9569 addressing issue with button text showing 2015-02-27 17:57:11 +00:00
Matt Westcott
fea640fbf3 refactor code for initialising stream menu buttons into a StreamBlockMenu helper object 2015-02-27 17:37:29 +00:00
Matt Westcott
f9a442b28c semicolon pedantry 2015-02-27 17:09:31 +00:00
Matt Westcott
6afc15c395 fix wagtailsnippets_edit URL params on snippet_chooser.
Using target_content_type instead of target_content_type.model apparently meant that we were using the verbose name, causing it to fall over when that contained spaces
2015-02-27 16:18:44 +00:00
Matt Westcott
eb7dd44055 gracefully handle missing model classes in Page.specific() 2015-02-27 16:18:38 +00:00
Dan Braghis
2895aac7f3 Add changelog/release notes for #1022 2015-02-27 14:48:55 +00:00
Dan Braghis
096a24648d Merge pull request #1022 from gasman/feature/custom-page-edit-handler
Allow specifying custom edit handlers for pages - fixes #210
2015-02-27 14:41:45 +00:00
Matt Westcott
40ebd540f6 add TextBlock 2015-02-26 16:41:47 +00:00