Wykres commitów

3607 Commity (a3b39fa9019adf5eb1905358df6d1c98cabae83d)

Autor SHA1 Wiadomość Data
Matt Westcott a3b39fa901 upgrade consideration note for #1044 2015-03-10 17:26:24 +00:00
Karl Hobley 4f7edeed1f Changelog/release note for #1037 2015-03-10 13:07:03 +00:00
Karl Hobley 7cf60b676d Merge pull request #1037 from gasman/fix/recursive-page-deletion-2
Ensure that deletions always happen on the base Page model, to work around treebeard bug
2015-03-10 13:03:37 +00:00
Karl Hobley 38b7afc8ed Changelog/release note for #1044 2015-03-10 12:07:16 +00:00
Karl Hobley 9300179159 Merge pull request #1044 from gasman/fix/fixorphanedpages-task
Update 'fixtree' task to support deleting orphaned pages
2015-03-10 12:04:15 +00:00
Karl Hobley 4357e36391 Tests for #1044 2015-03-10 10:12:31 +00:00
Karl Hobley 87703c95fd Tweaked fixtree command to make it more testable
We can now pass thorough a "delete_orphans" option from the test which simulates a user pressing "y" at the prompt
2015-03-10 10:10:56 +00:00
Karl Hobley 80b3665dfd Use functools.reduce instead of reduce
reduce() no longer exists in python 3
2015-03-10 09:44:35 +00:00
Karl Hobley 71305f0774 Merge pull request #1046 from gasman/push-translations
Generate new translation source files
2015-03-09 10:24:13 +00:00
Matt Westcott 22cb8c6b98 use self.stdout.write instead of print 2015-03-09 10:18:17 +00:00
Matt Westcott 36fe2bea3a When initialising a ListBlock's default, use the child's default explicitly because None doesn't work 2015-03-06 17:07:21 +00:00
Matt Westcott 920ce81182 make StreamField more robust in the face of unexpected nulls 2015-03-06 15:55:41 +00:00
Dave Cranwell 7a17f1b5eb stream menus should be open if no stream children exist 2015-03-06 15:23:46 +00:00
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
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 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