0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

1492 Commits

Author SHA1 Message Date
Thibaud Colas
d97f940e58 Release notes for #5885 2020-07-23 13:56:12 +01:00
Matt Westcott
b8848ae2f5 Release note for #6250 2020-07-22 17:44:52 +01:00
LB (Ben Johnston)
1b3d190b3f
Fix group permission checkboxes not being clickable in IE11. Fix #5903 (#6115)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-07-21 22:24:14 +01:00
LB (Ben Johnston)
45ec139bc5
Hide snippets’ bulk delete for screen reader users as well (#6116)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-07-21 21:06:45 +01:00
Andreas Bernacca
f9c5bab9cb
Add chevron to dropdowns that are missing them, and make "Site" label translateable (#6242)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-07-21 20:13:25 +01:00
Martin Coote
9f0dcf0097
Add skip link for keyboard users. Fix #5406 (#5780)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-07-21 18:16:36 +01:00
Matt Westcott
5714c2f71d Release note for 2.9.3 2020-07-20 10:38:07 +01:00
Matt Westcott
457643e686 Release note for 2.7.4 2020-07-20 10:37:13 +01:00
LB (Ben Johnston)
e097cfaab2 Changelog update for #6151 & #6189 2020-07-16 16:20:44 +10:00
Matt Westcott
1ed501e5af
Sanitise window.location.hash when passing to jquery for tab handling (#6155)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-07-15 16:20:39 +01:00
Matt Westcott
9917d7d2e9 Additional documentation for next_url 2020-07-15 11:53:39 +10:00
Matt Westcott
ee954b8fe6 Release note for #5240 2020-07-13 18:32:01 +01:00
Matt Westcott
0546237a15 Release note for #6093 2020-07-13 14:03:18 +01:00
Matt Westcott
34785b9085 Release note for #6196 2020-07-03 19:19:41 +01:00
Matt Westcott
8b1699437f Release notes for 2.9.2 2020-07-03 12:58:19 +01:00
Maxxen
4afdbdea56 added maxNumChildBlocks property and callbacks to disable adding/removing child blocks to sequence. Also made streamfield add-buttons dissapear when capacity is reached (#6070) 2020-06-30 15:02:16 +01:00
Matt Westcott
ccbbe8b8ee Release note for #6183 in 2.10 2020-06-30 14:25:30 +01:00
Andy Babic
58741d3989 Update Page.objects.specific() to warn instead of erroring when pages of the specific type cannot be found (#5928) 2020-06-30 14:23:25 +01:00
Matt Westcott
4ee07d8073 Fill in release date for 2.9.1 2020-06-30 11:53:42 +01:00
Matt Westcott
98301fe736 Release note for #6183 in 2.9.1 2020-06-30 11:49:55 +01:00
Seb
b9347ee970 Add ability to extend EditHandler without a children attribute
- Only run checks on children for tabs that use BaseCompositeEditHandler (have children)
2020-06-30 07:08:03 +10:00
Matt Westcott
1b92c0a9ea
Upgrade jquery to 3.5.1 (#6167)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-06-27 08:22:13 +01:00
Dan Braghis
18fdd905d3 Release notes for #6125 and #6121 2020-06-26 11:12:35 +01:00
Samir Shah
30419231e5 Disable password auto-completion on UserForm password fields. (#6175) 2020-06-25 17:11:03 +01:00
Matt Westcott
3ec7eada56 Promote redirect importing to a major feature 2020-06-25 17:09:17 +01:00
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