Wykres commitów

7360 Commity (0f5db963646a3b55044d2f4e2dc844c659295d08)

Autor SHA1 Wiadomość Data
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
Thibaud Colas 952e3a8e49 Add a test building front-end assets in CicleCI tests (#3636)
A valuable check for PRs like #3628 touching the tooling.
2017-06-07 12:22:45 +03:00
Matt Westcott b976db3afc Pin isort to 4.2.5 - fixes #3623 2017-06-02 12:23:49 +01:00
Matt Westcott 0c745855ff Add release note re wagtailsitemaps fix 2017-06-02 10:59:54 +01:00
Matt Westcott 927770eaab Release note / docs for #3608 2017-06-02 10:58:34 +01:00
Matt Westcott 4aa404251d Add migration to populate Page.last_published_at from latest_revision_created_at 2017-06-01 14:46:53 +01:00
Matt Westcott 7f34adda0a Use last_published_at for lastmod in sitemaps - fixes #3565 2017-06-01 11:53:01 +01:00
Matt Westcott 21dc3e2fac Add last_published_at field
Also tighten up behaviour of first_published_at and live_revision when copying pages and publishing with a future go-live date
2017-06-01 11:53:01 +01:00
John Franey 3f8052064e Mention PostgreSQL backend in docs Search index
Updates the Search docs index to mention the new PostgreSQL backend
2017-05-30 20:48:46 +01:00
Matt Westcott 2f2bfa0159 Make tagging example not rely on an unmentioned 'blogs' method - fixes #3602 2017-05-30 20:39:30 +01:00