0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

7429 Commits

Author SHA1 Message Date
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
Matt Westcott
980f979d90 Release note for #3492 2017-06-12 19:08:33 +01:00
Henk-Jan van Hasselaar
62f5a0a4a1 Add tests for can_choose_page helper 2017-06-12 18:45:31 +01:00
Henk-Jan van Hasselaar
0bd3cbfc91 Add and fix some tests 2017-06-12 18:44:50 +01:00
Henk-Jan van Hasselaar
038511b7fe Add user permission tester to the admin page chooser panel 2017-06-12 18:44:49 +01:00
Henk-Jan van Hasselaar
ae487a22c8 Validate the copy form on page paremissions for the new parent page 2017-06-12 18:42:49 +01:00
Gagaro
bb4ea5922c refactor: 3621 Generic view classes should inherit from TemplateView etc 2017-06-12 15:58:38 +01:00
Thibaud Colas
12048d923b Fix mobile explorer scrolling issue (#3645)
* Fix last bug in explorer scrolling behavior on mobile

* Refactor explorer CSS one last time

* Fix JS linting warnings
2017-06-11 23:31:52 +03:00
Michael van Tellingen
ccf3b80e88 Set codecov after_n_builds to 10 as a test
This should fix the issue that codecov reported a coverage percentage
which didn't take all builds into account (due to cancellation)

There are currently 29 travis builds so 10 should be a safe number
2017-06-11 19:18:12 +02:00
Thibaud Colas
2c68da349d Update shrinkwrap 2017-06-09 16:57:36 +03:00
Thibaud Colas
04b658a263 Update shrinkwrap 2017-06-09 16:43:50 +03:00
Thibaud Colas
6cfd139cc2 Inline util from redux-actions to reduce bundle size 2017-06-09 16:43:50 +03:00
Thibaud Colas
e64903659e Remove unused react-addons-test-utils 2017-06-09 16:43:50 +03:00
Thibaud Colas
fea537566f Remove unused Webpack loaders and babel-cli 2017-06-09 16:42:48 +03:00
Thibaud Colas
b4f8e09e43 Replace babel-polyfill with more lightweight polyfills 2017-06-09 16:42:48 +03:00
Thibaud Colas
248cc95bc4 Hide all modules in Webpack output by default 2017-06-09 16:42:48 +03:00
Thibaud Colas
3bf4e10902 Add best practice node modules aliasing 2017-06-09 16:42:48 +03:00