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

7269 Commits

Author SHA1 Message Date
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
Thibaud Colas
8a0238768d Move polyfills definition outside of Webpack config 2017-06-09 16:42:48 +03:00
Thibaud Colas
53923397cc Move Babel config to package.json 2017-06-09 16:42:48 +03:00
Thibaud Colas
f75fa0a880 Use portable sub-directory install npm command 2017-06-09 16:42:48 +03:00
Thibaud Colas
d2a62f7277 Remove useless browserify config from package.json 2017-06-09 16:42:48 +03:00
LB
18cb0245fc allow default for show_in_menus 2017-06-09 12:50:39 +01:00
Jeffrey Chau
0c9ad90edd Fix document chooser template to account for hidden fields 2017-06-09 12:31:33 +01:00
Thibaud Colas
61b6de2e4e Tidy up new React + API explorer for mobile (fixes #3607) (#3635)
* Remove useless CSS declaration

* Remove commented out styles

* Merge duplicate declarations

* Remove even more commented out code

* Move footer mq to footer declaration

* Remove more useless code

* Stop vendor prefixing for IE below 11

* Remove useless vendor prefixing

* Merge identical declarations

* Fix 1px overflow in content wrapper

* Fix explorer scrolling when open on mobile

* Remove unused import

* Add Redux performance measurements to explorer menu

* Rewrite explorer reducer to avoid unnecessary operations

* Stop changing reducer state on every action regardless of type

* Remove redundant children.isFetching property in nodes reducer

* Remove redundant children.isLoaded property in nodes reducer

* Remove redundant children.isError property in nodes reducer

* Refactor nodes explorer reducer with sub-reducer

* Fix linting issue

* Remove unused class name

* Change default icon className from empty string to null

* Remove old TODO comment

* Hoist icons in ExplorerItem component for better performance

* Add comment

* Add tooling for performance measurement of React components

* Clean up explorer panel component definition

* Make performance measurements opt-in

* Improve alignment of page explorer menu on mobile

* Close explorer on touchend rather than touchstart

* Comment out performance measurement code

* Remove fade transition completely
2017-06-09 00:08:04 +03:00
Matt Westcott
ea8ab5de45 Document Elasticsearch 5.4 incompatibility with ATOMIC_REBUILD 2017-06-07 15:08:48 +01:00
Matt Westcott
ad3e4c3d53 Install Elasticsearch 5.3.3 for Travis
5.4 has a bug in testing existence of aliases which causes tests to fail: https://github.com/elastic/elasticsearch/issues/24644
2017-06-07 15:08:48 +01:00
Janneke Janssen
911567af4e Update Webpack to v2 (#3628)
* Update webpack and its dependencies
* Update base config to Webpack 2
2017-06-07 12:39:24 +03:00