Wykres commitów

8866 Commity (80ef9554bc907720935b934995b6bf3a20dadec2)

Autor SHA1 Wiadomość Data
Janneke Janssen 80ef9554bc Update npm-run-all due to its flatmap-stream and event-stream vulnerabilities () 2018-11-28 11:35:21 +00:00
Nick Travis 469abe60f3 fixes remove deprecated references 2018-11-28 11:06:29 +00:00
Sergey Fedoseev 60bf798db1 Use unittest.mock instead of external module. ()
* Use unittest.mock instead of external module.

* Avoid assert_called and assert_called_once, for Python <3.6 compatibility
2018-11-27 18:31:32 +00:00
Matt Westcott ef3efdd185 Release note for 2018-11-27 15:52:23 +00:00
Karl Hobley 0e24494d88 Create a squashed migration for wagtailimages ()
* Create a squashed migration for wagtailimages

* Remove unneeded image updates

As this is the initial migration, there won't be any images. Not in
Wagtail's or a customised image model.

* Move RunPython blocks to the end of the migration

They can all be run on the latest schema without changes. This allows
the schema changes to be squashed.

* Simplify migration
2018-11-27 15:50:09 +00:00
Matt Westcott 76c7ef7262 Release note for 2018-11-27 15:47:29 +00:00
Karl Hobley b5f38c7d81 Create new squashed migration for wagtailcore ()
* Create new squashed migration for wagtailcore

* Remove unneeded page updates

Since this is the initial migration, there won't be any pages other than
those created at the beginning

* Move RunPython blocks to the bottom of the migration

They can all be run on the latest schema without changes. This allows
the schema changes to be squashed.

* Simplify the migration
2018-11-27 15:45:27 +00:00
Karl Hobley cc25168917 Changelog/release notes for and 2018-11-22 11:26:26 +00:00
Karl Hobley 742027faae Fix flake8 errors: W504 line break after binary operator 2018-11-22 11:19:12 +00:00
Matt Westcott cb8148ede2 Support media definitions on action menu items 2018-11-22 11:17:25 +00:00
Matt Westcott 9b3e0c15e0 Replace the page_action_menu template tag with a PageActionMenu class to manage rendering 2018-11-22 11:17:25 +00:00
Matt Westcott b48566e735 Move action menu components to a new wagtail.admin.action_menu module 2018-11-22 11:16:59 +00:00
Matt Westcott 2a477c8e79 Add construct_page_action_menu hook 2018-11-22 11:14:01 +00:00
Matt Westcott 6adf7c8423 Add register_page_action_menu_item hook 2018-11-22 11:14:01 +00:00
Matt Westcott 89779f6e49 Add a generic menu item template 2018-11-22 11:14:01 +00:00
Matt Westcott 257f2a57a3 Add ordering indexes to action menu items 2018-11-22 11:14:01 +00:00
Matt Westcott bea004cc75 Move action menu items into individually renderable components 2018-11-22 11:14:01 +00:00
Benjamin Bach b3f1f50fba Use LocaleMiddleware's language as fallback language for user profiles w/o prefferred language
Also includes setting "en" as explicit language for tests
2018-11-22 11:11:56 +00:00
Karl Hobley 87da49bbb1 Changelogs/release notes for , , and 2018-11-21 23:08:36 +00:00
Sergey Fedoseev a134302548 Use functools.partial instead of django.utils.functional.curry().
django.utils.functional.curry() is planned to be removed in the future.
See https://code.djangoproject.com/ticket/27753.
2018-11-21 23:01:58 +00:00
Robert Rollins ebf537a31a Allow overridden copy() methods in Page subclasseds to be called from the page copy view. 2018-11-21 23:01:17 +00:00
Matt Westcott 6baac3473b Make documentation links on welcome page work for prereleases
On a prerelease or release candidate of Wagtail, the documentation links on the welcome page are broken, which may confuse users into thinking this is a bug. In this case, we should link to the 'latest' branch of the docs, and use the 'main' version (e.g. 2.4a0 => 2.4) as the release notes page.
2018-11-21 22:59:48 +00:00
Matt Westcott 0ae5fe73c5 Documentation fixes don't go in the changelog (there are too many of them...) 2018-11-16 17:14:36 +00:00
Andy Chosak 17fc5cc913 add slovak character map for js slug generation
Porting of Django PR , which fixes Django ticket . These
changes were made in Django 2.1.

This adds support for certain Slovak characters when auto-generating
slugs for new pages. This logic is only triggered if
settings.WAGTAIL_ALLOW_UNICODE_SLUGS is set to False; see

http://docs.wagtail.io/en/v2.1.1/advanced_topics/settings.html#unicode-page-slugs

To test, create a new page and enter a title like "Vŕba". The
page's slug field will be automatically set to "vrba". In the
previous behavior, this would instead be automatically set to "vba".

https://github.com/django/django/pull/9325
https://code.djangoproject.com/ticket/28768
2018-11-16 17:13:37 +00:00
Sergey Fedoseev e8c88d44af Fixed reference to LoginView in docs. () 2018-11-15 11:13:00 +00:00
Sergey Fedoseev 1ff6a5003a Remove handling of MIDDLEWARE_CLASSES. ()
Unneeded since e844200f27.
2018-11-15 11:11:42 +00:00
Samir Shah f76f41ea01
Remove IE9 debugging information from style guide 2018-11-15 12:20:43 +03:00
Alex Gleason 08ea980410 Fix missing comma in Draftail docs code 2018-11-14 17:11:49 -05:00
Sergey Fedoseev 47465197a9 Use intersphinx for Django references when possible. () 2018-11-14 11:48:32 +00:00
Matt Westcott d2b02dff00 Update welcome page screenshot (ref ) 2018-11-13 11:39:12 +00:00
Coen van der Kamp 10d1a04d37 Replace UFO with hatching egg. Refs 4891 2018-11-13 11:20:20 +00:00
Janneke Janssen b07b7a6e2a Revamp the image editing page ()
Removed commented out code in _forms.scss
2018-11-08 23:56:54 -05:00
Janneke Janssen 487f1f47b8 Define proper breakpoint definitions rather then typing @media () 2018-11-04 23:46:42 +02:00
Meteor0id 1efad238e1 Allow nav menu to take up all available space instead of scrolling () 2018-11-02 00:57:55 +02:00
Hillary Jeffrey 8fd54fd71c Catch redirects that omit a destination link or point to a page with no routable URL ()
Fixes 
2018-10-31 19:21:07 +00:00
Noah B Johnson 0dacda9133 Added handling for null last login on user list page 2018-10-31 17:46:23 +01:00
Noah B Johnson 7842e4907b Added last login to the admin Users list
Added a table header and data element to the html template for users list. Table now includes a human readable last login date. Code is exactly the same as the Document list column.
2018-10-31 17:43:33 +01:00
Karl Hobley 9a523dbf2e Add file_hash field to Document 2018-10-31 15:13:53 +00:00
Seb aa2a973382 Ordr collection listings by name () 2018-10-31 11:29:49 +00:00
Sergey Fedoseev 8f8faf3c60 Fixed some formatting in 'Customising IndexView' doc. ()
* Fixed some formatting in 'Customising IndexView' doc.

* Make coverage omit docs/conf.py.
2018-10-30 12:29:11 +00:00
Sergey Fedoseev 29c8ad6637 Fix reference in ModelAdmin.ordering docs. 2018-10-30 12:23:17 +00:00
Benjamin Bach 5b0f2e1a54 First positional argument for tox as test module/case path 2018-10-30 12:16:45 +00:00
Matt Westcott 866d8c1602 Generate new strings for translation 2018-10-28 17:58:06 +03:00
Matt Westcott e2acd014b6 Fetch new translations from Transifex 2018-10-28 17:58:06 +03:00
Mikalai Radchuk a0a58d8396 Adds release notes for 2018-10-28 17:28:53 +03:00
FedorSelitsky 86865bafc2 Revision page edit button only shows with correct perms
Add tests for moderation list
2018-10-28 17:25:02 +03:00
FedorSelitsky 6d79169dad Add PyPI trove classifiers for Wagtail 2018-10-28 16:43:42 +03:00
Stas Rudakou 3a678a4e32 Make text 'There is one match' more translation-friendly
For languages that have more than 2 plural forms (e.g. Belarussian)
it's important for all the translation to have counter variable
included. Otherwise transifex won't let translators include a variable
like that to the forms that need it (e.g. we can't use counter for 2,
3 or 4 in Belarussian).
2018-10-28 16:41:24 +03:00
Matt Westcott a5416d8604 Fix tests that check storage.exists on missing files
Several tests that check for the deletion of underlying files of FileField were implemented incorrectly: the filename of a FileField is cleared on deletion, so they were testing the presence of None as a filename rather than testing the filename we're interested in.

Up until bb81c22d90 , None was being cast to a string and thus the assertions were always succeeding (assuming no file named "None" existed); the removal of this cast has caused the error to surface in Django 2.2a0.
2018-10-28 16:39:53 +03:00
Mikalai Radchuk 41321158a5 Adds credits to the release notes 2018-10-28 16:23:40 +03:00