Wykres commitów

3620 Commity (58f89d2a9135533e48db3de489f456ee180829b1)

Autor SHA1 Wiadomość Data
Karl Hobley 58f89d2a91 Admin menu => Left hand menu 2015-03-18 10:08:48 +00:00
Karl Hobley 62f755054a Add some more detail to a 0.9 release note
Fixes #1065
2015-03-18 10:08:01 +00:00
Matt Westcott 406cc10796 Merge branch 'kaedroho-page-published-date' 2015-03-17 16:26:57 +00:00
Matt Westcott 846b309593 Release note for #1054 2015-03-17 16:26:43 +00:00
Matt Westcott 651dd4d9f3 Merge branch 'page-published-date' of https://github.com/kaedroho/wagtail into kaedroho-page-published-date 2015-03-17 15:56:39 +00:00
Matt Westcott 3abfa63046 Specify 1.7.1 as the minimum supported Django version 2015-03-17 14:49:29 +00:00
Karl Hobley 24e633e8e7 Test republishing a page wont set first_published 2015-03-17 13:51:17 +00:00
Karl Hobley 6f916a611b Make sure first_published_at is using live copy
When publishing, the first_published at gets set on the live copy, not in the revision.

This caused it to be set again on next publish because it is reading from the revision.
2015-03-17 11:49:42 +00:00
Karl Hobley af7c1de978 Removed page modes tests
These views were already being tested in TestFormSubmission. I don't think anyone will ever call the modes directly making these tests a bit pointless.

They also use the assertTemplateUsed method badly (these should be used on a response).
2015-03-16 11:58:34 +00:00
Karl Hobley 00e5138885 Some tests for first_published_at 2015-03-12 13:55:06 +00:00
Karl Hobley 0bbd8edf68 Set first_published_at on first publish 2015-03-12 13:54:23 +00:00
Karl Hobley cdbae1f575 Added first_published_at field to Page 2015-03-12 10:57:54 +00:00
Matt Westcott 80cb6e16e7 prepare for 0.8.6 release
Conflicts:
	CHANGELOG.txt
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2015-03-10 17:32:14 +00:00
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