Wykres commitów

7287 Commity (3d9159c0b45377caa01796040226de20b6506fc0)

Autor SHA1 Wiadomość Data
Thibaud Colas c0203ce26e Recycle explorer menu tests 2017-05-17 13:14:47 +01:00
Matt Westcott 32bae04366 Remove obsolete get_navigation_menu_items function 2017-05-17 13:14:44 +01:00
Matt Westcott 69bc5d4698 Remove obsolete explorer nav templates / tags 2017-05-17 13:14:43 +01:00
Matt Westcott b5252d96f2 Remove explorer_nav view 2017-05-17 13:14:41 +01:00
Matt Westcott 59f2a5953b Remove Javascript from explorer menu item 2017-05-17 13:14:40 +01:00
Matt Westcott 761b19be96 Don't use explorer-menu.js to test for menu JS being pulled in
because we're about to ditch it
2017-05-17 13:14:36 +01:00
Matheus Bratfisch 41c8bfced9 Add live_revisions fk on Page, tests, migrations, update template 2017-05-16 17:06:02 +01:00
Matt Westcott 1f8edc8984 Cache `Site.get_site_root_paths` in the request scope (#3354) 2017-05-16 15:24:48 +01:00
iSar 411c117964 Fix typo in settings doc (#3595) 2017-05-15 09:12:16 +03:00
Thibaud Colas b17d11af05 Release notes for #3012 2017-05-13 23:53:10 +03:00
Janneke Janssen 2ff4a5aad1 Update explorer for latest scope, UI, with tests 2017-05-13 23:53:10 +03:00
Rob Moorman a0e4b0bafa Pin eslint-config-wagtail version
Pin eslint-config-wagtail version to prevent conflicts with minor rule changesets
2017-05-13 23:53:10 +03:00
Thibaud Colas f250a233b5 Clean up React code and tooling 2017-05-13 23:53:10 +03:00
Harris L 3f85c5fed5 Make explorer tab-navigable
* use focus-trap-react
* switch clickable span to button
* let focus trap handle outside click
2017-05-13 23:53:10 +03:00
Sævar Öfjörð Magnússon 81c6f3e3b1 Change explorer behavior for pages w/ children, with tests 2017-05-13 23:53:10 +03:00
Janneke Janssen 26695a09c8 Renamed 'explorer' to 'pages' 2017-05-13 23:53:10 +03:00
Eirikur Ingi Magnusson 301d128ea6 Fix explorer scrolling and closing behavior 2017-05-13 23:53:10 +03:00
Thibaud Colas 8bf2c9bf2e Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
Maurice Bartnig 743a8304a6 Add support for i18n of the explorer 2017-05-13 23:53:10 +03:00
Josh Barr d675807cf8 First version of the explorer on top of admin API 2017-05-13 23:53:10 +03:00
Bertrand Bordage ded36c5634 Isorts #3586. 2017-05-10 11:31:57 +02:00
Martin Hill 9f5ce0755a Fixed RuntimeError: dictionary changed size during iteration, raised while purging stale preview data from session
Added TestPreview.test_preview_on_edit_expiry to exercise PreviewOnEdit.remove_old_preview_data
Added freezegun package in testing_extras
2017-05-10 11:28:45 +02:00
Matt Westcott d37838711b fill in release date for 1.10 2017-05-03 12:56:55 +01:00
Matt Westcott e233177173 Pull new translations from Transifex 2017-05-03 12:12:22 +01:00
Matt Westcott 3d9b708b8e Preserve multi-value dict items on page preview
Fixes #3564. Convert QueryDict to a plain dict when writing to session and vice versa when retrieving, so that multi-value fields are preserved.
2017-05-02 15:18:25 +01:00
Matt Westcott 50a3267ed7 Add test case for preview_on_edit too 2017-05-02 15:18:24 +01:00
Matt Westcott 9bcba959b8 Failing test for #3564 2017-05-02 15:18:23 +01:00
dnsl48 85bcd5a176 [Postgres search] Orders by ranking in a more reliable way.
PostgreSQL does not guarantee the outer queries having the same ordering as subqueries
after joining other tables. For more details see:
https://www.postgresql.org/message-id/4CA16EE8.5040406@postnewspapers.com.au
2017-04-29 12:38:17 +02:00
Bertrand Bordage 260257d9a5 [Postgres search] Tests ranking. 2017-04-29 12:33:49 +02:00
Matt Westcott a3b048d403 Fix incorrect field panels in custom form example
Fixes #3571. Thanks to @patta42 for the report!
2017-04-28 15:28:25 +01:00
Bertrand Bordage 344b5d4bf7 [Postgres search] Improves and tests weight calculus. 2017-04-28 14:12:06 +02:00
Matt Westcott ea746ee74f Use 'Your preferences have been updated.' as notification preference success message
This matches the confirmation for language preference, and fits Wagtail 'house style' better
2017-04-26 15:51:09 +01:00
Matt Westcott be73eac8cf Allow users to unset their preferred language
Fixes #3560

This reverts their language to the site-wide default.

Also, redirect to the account index on submission, for consistency with other views (and to prevent 'form resubmission' alerts when navigating browser history).
2017-04-26 15:51:09 +01:00
Karl Hobley 7020fb3d98 Moved ratio calculation to Embed model (#1894) 2017-04-25 11:20:42 +01:00
Thibaud Colas f2e4c8eea9 Shrink BrowserStack logo to its display size (#3566)
Spotted by Mikalai in pypi, which doesn't seem to respect the width attribute of rst images.
2017-04-24 17:08:29 +03:00
Matt Westcott b5ba99bc14 Fill in release date for 1.9.1 2017-04-21 15:22:37 +01:00
Matt Westcott f9e9f6768b Fill in release date for 1.8.2 2017-04-21 15:22:36 +01:00
Matt Westcott 6d31b9dc8e Release note for #3252 backport to 1.9.x 2017-04-21 15:15:23 +01:00
Matt Westcott b04b31dc90 Release note for #3252 backport to 1.8.x 2017-04-21 15:15:22 +01:00
Matt Westcott a1ba54038f Release note for #3277 backport to 1.8.x 2017-04-21 14:54:57 +01:00
Matt Westcott 7c5d1b2ddb Release note for backported |safe filter fix (789872d84e) 2017-04-21 14:43:34 +01:00
Matt Westcott a515b7019e Release note for backported |safe filter fix (bbcbb5d) 2017-04-21 14:42:59 +01:00
Matt Westcott f99bc700b8 Doc placeholders for 1.8.2 2017-04-21 14:42:26 +01:00
Matt Westcott c27855332e Release note for 9e51c7a 2017-04-21 14:09:09 +01:00
Matt Westcott 12a68c00dd Remove erroneous |safe filter from search results template 2017-04-21 14:09:08 +01:00
Tim Heap f5890ca66c Add parent_page argument in page forms even in GET requests (#3508)
This allows a new page to inherit values from its parent page by
overriding `base_form_class`, or to modify the form based on some
conditions of its parent.
2017-04-21 12:09:04 +01:00
Loic Teixeira 6e42a7755a Allow default JS options to be overwritten for TableBlocks 2017-04-21 11:54:23 +01:00
Matt Westcott 5ba806efaa Use strftime for formatting datetimes in test form submissions
Datetime-related tests are intermittently failing on Appveyor; the error at https://ci.appveyor.com/project/wagtail/wagtail/build/1.0.141/job/30t7t1ydh78gupie implies that this is due to invalid datetime formats being returned from submittable_timestamp. Using strftime means that we're not reliant on the return value of str(timestamp) being formatted in a specific way.
2017-04-21 10:39:35 +01:00
Matt Westcott 18cf4fc5b6 Add Sebastian Bauer to contributors 2017-04-21 09:18:35 +01:00
Sebastian 49d706b406 Update docs - run python manage.py migrate once
We have to run python manage.py migrate once, in order to create the necessary tables for the postgres search backend.
Otherwise we get an error, as the insert in the table is not possible.
2017-04-21 09:16:44 +01:00