Gassan Gousseinov
a4e05f4538
I would like only add my own editor without to redefine a default one. ( #6118 )
2020-06-25 16:53:06 +01:00
Matt Westcott
8d21ad6e5a
Release note for #6176 in 2.10
2020-06-25 10:31:29 +01:00
Matt Westcott
0067194d71
Release note for #6176 on 2.9.1
2020-06-25 10:29:52 +01:00
Matt Westcott
216dfdf459
Add release notes for Wagtail 2.9.1
2020-06-25 10:29:15 +01:00
Timothy Bautista
cfc2bc8470
Fix minor typo in 2.10 changelog ( #6140 )
...
XLX/XLXS -> XLS/XLSX
2020-06-12 09:30:39 +01:00
Karl Hobley
06303c7169
Change contributor name for mozgsml to Nikolay Lukyanov
2020-06-09 11:04:13 +01:00
Karl Hobley
8d84f6a415
Changelog/release note/contributor for #6040
2020-06-09 09:42:48 +01:00
Martin Sandström
301d1bc7f5
Add ability to import redirects from a file wagtail.contrib.redirects
...
* Add support for importing redirects via tsv, csv, xls and xlsx files
* Add import_redirects management command to redirects documentation
2020-06-07 11:20:39 +10:00
Matt Westcott
6e9bcef5db
Release note for #6013
2020-06-05 15:23:50 +01:00
Thibaud Colas
df164a7e69
Fix JS not working in IE11 due to using unimplemented NodeList#forEach
2020-06-05 07:24:33 +10:00
Matt Westcott
67fc0d7787
Release note for #6046
2020-06-03 17:28:34 +01:00
Coen van der Kamp
eb9cff7bf3
Drop null=True from Site.site_name
...
* Avoid using null on string-based fields such as CharField and TextField. If a string-based field has null=True, that means it has two possible values for “no data”: NULL, and the empty string.
* See: https://docs.djangoproject.com/en/3.0/ref/models/fields/#django.db.models.Field.null
2020-06-02 20:42:29 +10:00
Timothy Bautista
48511a7457
Strip HTML tags search index for RichTextBlock & RichTextField
...
* Add get_searchable_content function to RichTextField
* Fixes #6098
2020-06-02 20:34:38 +10:00
Matt Westcott
ab71e515e4
Release notes for #6057
2020-05-27 18:17:04 +01:00
Dan Bentley
f43db1e69e
Fetch and apply annotations if using specific()
2020-05-24 10:09:45 +10:00
Coen van der Kamp
a1a2c35c1c
Template render richtext without wrapper, add wagtail.contrib.legacy.richtext
...
* Add wagtail.contrib.legacy.richtext with tests & docs
* Make RichText.__html__ behave the same as template filter
* Resolves #1214
2020-05-21 07:53:31 +10:00
Coen van der Kamp
eed16e0034
Add SVG Icons and include in admin menu
...
* This commit only covers the migration of the icons in the menu and draftail editor. All
other admin menu icons remain implemented as before.
* Existing font based icon support still exists.
* Convert menu icons to SVG
* This could be considered a breaking change for any Wagtail sites or
packages that are leveraging Wagtail's Button and Icon React components.
* Remove references to unused `submenu-trigger` class
* Prefix icon `id`s with `icon-` to prevent `id` collisions
* Add hooks support (not yet documented) for adding custom icons
2020-05-21 07:36:33 +10:00
Matt Westcott
dcb517f080
Changelog note for phrase search / search query expressions
2020-05-20 14:31:37 +01:00
Thibaud Colas
7eeb44ad04
Replace gulp-sass with gulp-dart-sass
...
* Rewrite Sass code that relies on deprecated or removed features in Dart Sass
* Remove unneeded rebuild of node-sass
* Update lockfile
2020-05-17 21:00:20 +10:00
Thibaud Colas
471823f238
Upgrade to Jest 23
...
* Jest 24 is out but upgrading to it would require us to also update our Webpack tooling to Babel 7, which is quite significant work.
* Rewrite Draftail initialisation tests to stop relying on jsdom script parsing
2020-05-17 20:35:00 +10:00
Lars van de Kerkhof
6194dcb74b
Do not download entire search index on search terms with no hits
...
When a slice is specifically set to [0:0], which would yield an empty list,
instead wagtail will clear the slice, effectively downloading the entire search
index.
This scenario happens when a search term does not return any results.
So every time you enter a search term that has no results, the entire search
index is downloaded, you don't really feel it because wagtail only downloads
the pk values, and it is unlikely a site has millions of pages, but it is still
very inefficient and unwanted.
2020-05-15 11:45:54 +10:00
Coen van der Kamp
7253b2f6db
Show userbar on moderation preview with approve and reject items
...
* Fixes #6008
* Regression from cbabc3d9c7
2020-05-15 11:30:42 +10:00
Kalob Taulien
f757324039
Add Snippet hooks (after_edit_snippet, after_create_snippet and after_delete_snippet)
2020-05-14 20:47:36 +10:00
Robert Rollins
982b1d60a4
Page can_move permission method to ignore bulk_delete permission check
...
* bulk_delete exists to avoid allowing users to delete a whole lot of pages all at once by mistake, when they think they're just deleting one. However, the move/delete analogue breaks down when you're talking about moving an entire subtree, because you're *not* directly altering the children of the moved Page.
2020-05-10 21:12:24 +10:00
Brylie Christopher Oxley
ff37ad6ab9
Add 'add_redirect' static method to Redirect
...
* This method was inspired by a Lacey Williams Henschel (@williln) presentation at Wagtail Space US 2018, called 'What the Wagtail docs don't tell you'. https://www.youtube.com/watch?v=PCkxBNXWM64&t=1220s
* Add docs section reference/contrib/redirects
2020-05-10 18:48:33 +10:00
Timothy Bautista
ee99f91aa5
Add select_related to public_q query
...
* Prevents n+1 query count when getting a list of pages with view restrictions
* Add query count checks to public/not_public tests
2020-05-10 17:28:07 +10:00
LB
d88dae75ae
Fix back tick usage in changelog/release notes
2020-05-10 17:11:36 +10:00
Neal Todd
2b35a852fe
Add Rustface to the feature detection docs (images)
2020-05-10 17:09:33 +10:00
LB Johnston
8fc722a6f3
Add ability to define form_classname on ListBlock & StreamBlock
...
* resolves #4042
2020-05-10 16:48:24 +10:00
Coen van der Kamp
68b2dc01c2
Render user bar on non page views
...
* resolves #5565
2020-05-10 16:10:45 +10:00
jacobtoppm
30c398c91a
Add purge_revisions management command
...
* Fix typo in publish_scheduled_pages dry run
* Add purge_revisions to docs
* Resolves #5192
2020-05-08 11:35:30 +10:00
Liam Mullens
52cb7ab77b
Update ImageRendition field to return Image alt text
...
* Update ImageRendtion to use default_alt_text property of Image
* Update example in documentation
* Add a test for ImageRenditionField
* Resolves #5816
2020-05-08 11:22:49 +10:00
Meteor0id
829a9bbf06
Add ability to replace the default Wagtail logo in the userbar, via branding_logo
block ( #4731 )
2020-05-08 00:11:05 +01:00
Jérôme Lebleu
f1dadba75a
Remove FieldRowPanel top padding inside MultiFieldPanel
...
- fixes #5904
2020-05-07 22:55:25 +10:00
saeed
44c1f1cab2
Remove sticky footer on small devices
2020-05-07 22:55:25 +10:00
lukealhardwick
30a66638cb
Add Reddit to oEmbed provider list
...
- Added endpoint for reddit comments to be embedded
2020-05-07 22:55:24 +10:00
Coen van der Kamp
758ebce865
Add ordering to Site
...
- Display domain names in switcher
- Ensure sorted values are shown in Site index view & Site switcher
2020-05-07 20:10:50 +10:00
Matt Westcott
4717c2c1c4
Release note for CVE-2020-11037 in 2.9
2020-05-04 13:28:18 +01:00
Matt Westcott
f26d8ee72a
Release note for 2.8.2
2020-05-04 13:28:11 +01:00
Matt Westcott
e6accccfff
Release note for 2.7.3
2020-05-04 13:28:04 +01:00
Matt Westcott
1ef36d0420
Fill in release date for 2.9
2020-05-04 11:35:15 +01:00
Rick van Hattem
40aedfc66b
Show more granular error messages from Pillow (image uploads)
...
* Prevent `invalid_image` from hiding Pillow errors, instead rename key to `invalid_image_extension`
* Django already uses `invalid_image` - https://github.com/django/django/blob/stable/3.0.x/django/forms/fields.py#L639
* Add tests separate for images with invalid extensions vs non-images
2020-05-03 21:14:08 +10:00
Andy Babic
4846a3e801
Add get_page_url() method to BaseSetting
...
* adds a convenience `page_url` shortcut to improve how page URLs can be accessed from site settings in Django templates
2020-05-03 15:14:41 +10:00
Jonatas Baldin
a7f58821a7
Add publish & unpublish page hooks
...
* Add `before_unpublish_page` and `before_unpublish_page` hooks
* Add `before_publish_page` and `before_publish_page` hooks
* Resolves #4590
2020-05-03 14:18:13 +10:00
Coen van der Kamp
b98e6d7549
Accept ipv6 as domain
...
* fixes #2375
2020-05-02 10:23:57 +10:00
Jim Jazwiecki
6ea0cc52f3
Upgrade to Gulp v4 & Node 10
...
* Syntax changes to get Gulp working
* Require Node 10, use node 10 in CircleCI and squash.yml
* Update docs
* resolves #5653
2020-05-01 12:01:03 +10:00
François Poulain
55e65be079
allows unicode string in page copy form ( #5991 )
...
* resolve #5990
2020-04-29 18:28:56 +01:00
Tomas Walch
9987c46647
Fix for Issue #5975 : Adds "Cache-Control: private" in serve_preview to bypass caching. ( #5986 )
2020-04-28 16:28:39 +01:00
Chrisranjana.com
1f421e35f0
Add ability to sort search promotions on listing page
...
* resolves #3897
2020-04-28 20:44:54 +10:00
Andy Babic
3fe8775024
Add pre_page_move and post_page_move signals
...
* Documentation for pre_page_move and post_page_move signals
* Resolves #2728
2020-04-28 20:26:40 +10:00