Wykres commitów

7295 Commity (55a56416f54de7e569df99f8092f17cf5f521c2b)

Autor SHA1 Wiadomość Data
Tim Heap 55a56416f5 Call Field.prepare_value from FieldBlocks
This is used by some form fields to convert from the internal Python
value to the value used by a widget, much like `Block.get_prep_value`
for blocks or `Field.get_prep_value` for model fields.
2017-06-26 23:21:13 +01:00
Matt Westcott 0965ea743b Rotate deprecation warnings 2017-06-22 18:33:48 +01:00
Matt Westcott 8a07ce57f4 Version bump to start work on Wagtail 1.12 2017-06-22 18:33:48 +01:00
Matt Westcott deeee4a597 Ensure example.doc is deleted after running TestServeView 2017-06-20 13:46:50 +01:00
Matt Westcott b00377c418 Version bump to 1.11rc1 2017-06-19 18:31:33 +01:00
Matt Westcott 9488a42c27 Generate new strings for translation 2017-06-19 17:57:00 +01:00
Matt Westcott ea63e6f7ad Add Persian to default admin languages 2017-06-19 17:52:51 +01:00
Matt Westcott d5cfaa8cd5 Fetch new translations from Transifex 2017-06-19 17:48:07 +01:00
Matt Westcott 3d9159c0b4 Release note for #3663 2017-06-19 16:57:05 +01:00
Paul Kamp b92b862537 Fix #3639, KeyError on Preview Link (#3663)
If the session key does not exist, fall back to the preview error.  The user can then try previewing the article again.
2017-06-19 16:48:46 +01:00
Mikalai Radchuk 5f651299df oEmbed: Add support of Tumblr 2017-06-19 15:10:54 +01:00
Matt Westcott 0611a1b2cd Release note for #3545 2017-06-19 15:08:24 +01:00
Mikalai Radchuk 0cb717d48c Use non-greedy patterns in some cases for Facebook 2017-06-19 15:06:42 +01:00
Mikalai Radchuk 94ca64fd95 Add support of Facebook oEmbed
Fixes #3532
2017-06-19 15:06:42 +01:00
Matt Westcott 6bc6480cd2 Fix deprecated import of modelcluster.tags in tutorial 2017-06-19 12:23:30 +01:00
Matt Westcott b77848de20 Move get_url_name to base ViewSet 2017-06-19 12:12:37 +01:00
Matt Westcott 560e430d0a Provide a default label for the delete button on generic EditView 2017-06-19 11:47:37 +01:00
Matt Westcott 280c317c68 Require setting form_fields or exclude_form_fields on ModelViewSet when not providing a get_form_class method
This matches Django's current policy on ModelForms; form_fields = '__all__' can be used to restore the old 'all fields' behaviour.
2017-06-19 11:47:35 +01:00
Matt Westcott ba4a21687a Allow URL prefix to be specified independently of viewset.name 2017-06-19 11:47:34 +01:00
Matt Westcott c677cefba1 Call super on get_urlpatterns to support multiple inheritance 2017-06-19 11:47:33 +01:00
Karl Hobley 2226385f7c Added ViewSetRegistry 2017-06-19 11:47:32 +01:00
Karl Hobley f97536f14d Converted wagtailsites to use viewsets 2017-06-19 11:47:30 +01:00
Karl Hobley 022ff09e3f Added view sets 2017-06-19 11:47:10 +01:00
Bertrand Bordage 729bee6c14 Changelog for #2547. 2017-06-19 03:34:16 +02:00
Bertrand Bordage 1943d5a83c Fixes PostgreSQL search backend for #2547. 2017-06-19 03:28:02 +02:00
Bertrand Bordage 1b070295c7 Simplification. 2017-06-19 03:27:38 +02:00
Bertrand Bordage e61980de1c Moves an elasticsearch test to all search backends. 2017-06-19 03:27:20 +02:00
Bertrand Bordage 9beab7b999 Updates elasticsearch2 & 5 tests for #2547. 2017-06-19 03:26:44 +02:00
Lucas Moeskops 90a62523d1 Support for foreign related objects for Elasticsearch backend search.
See pull request #2547.
2017-06-19 02:29:45 +02:00
Matt Westcott 4bd8ebb85f Add acknowledgement to Wharton for sponsoring private docs feature 2017-06-16 15:55:39 +01:00
Matt Westcott 4e5fff7e41 Release note for #3245 / #3644 2017-06-16 15:33:54 +01:00
Matt Westcott eb16d1a2a2 fixup! Add collection view restriction model 2017-06-16 14:52:06 +01:00
Matt Westcott b2fbd91864 Document the DOCUMENT_PASSWORD_REQUIRED_TEMPLATE setting 2017-06-16 14:50:48 +01:00
Matt Westcott 9336f9c5a3 Add tests for document view restrictions 2017-06-16 14:50:48 +01:00
Matt Westcott 538b3881ed Split wagtaildocs tests into multiple files 2017-06-16 14:50:48 +01:00
Matt Westcott 18864102ee Add hook and authenticate_with_password view for document view restrictions 2017-06-16 14:50:48 +01:00
Matt Westcott 48d6b2d93e Rename PasswordPageViewRestrictionForm to PasswordViewRestrictionForm, as there's nothing page-specific about it 2017-06-16 14:50:48 +01:00
Matt Westcott 60f40f10ee Move 'mark view restriction as passed' logic to the BaseViewRestriction model 2017-06-16 14:50:48 +01:00
Matt Westcott 049b15f3fe Define a 'before_serve_document' hook 2017-06-16 14:50:47 +01:00
Matt Westcott 83c8db1ab5 Add admin interface for setting collection view restrictions 2017-06-16 14:50:47 +01:00
Matt Westcott 58d7112e5f Add collection view restriction model 2017-06-16 14:50:47 +01:00
Matt Westcott a4c7709c51 Use RemovedInWagtail113Warning for generic view 'instance' deprecations (part 2) 2017-06-16 11:50:25 +01:00
Matt Westcott fe6b2f9f89 Use RemovedInWagtail113Warning for generic view 'instance' deprecations 2017-06-16 11:30:46 +01:00
Matt Westcott 844cb7746c Add raw SQL fallback for 'last edited pages' query for MySQL 2017-06-15 11:15:45 +01:00
Matt Westcott 3f2d299171 Replace 'recent edits' query with a pure ORM version
Thanks to @BertrandBordage for suggesting this version!
2017-06-15 11:15:44 +01:00
Stein Strindhaug 149ed74f56 CSS fix: make label-above class actually work 2017-06-14 15:12:55 +01:00
Kees Hink 6277ebad9e Add form logic + tests for editing first_published_at 2017-06-14 15:11:56 +01:00
Kees Hink 65d74a567f Update Page model to make first_published_at editable 2017-06-14 15:11:53 +01:00
Thibaud Colas bdf00874bd Enable tree shaking via Webpack 2 2017-06-14 13:47:53 +02:00
Marc Tudurí ed01d58b57 Set Page owner as editable 2017-06-13 10:55:39 +01:00