0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

2552 Commits

Author SHA1 Message Date
Matt Westcott
9e4226dd61 Release note for #10297 2023-03-30 14:54:41 +01:00
Matt Westcott
fd88ec3eb7 Release note for #9842 2023-03-30 10:45:09 +01:00
Thibaud Colas
da7e68ea08 Release notes for #9666 2023-03-30 00:14:03 +01:00
Thibaud Colas
b504403ebf Release notes for #10277 2023-03-29 13:20:23 +01:00
mansi0829
433d70d3bf Adopt w-status instead of status for classes
- Fixes #10244
2023-03-29 08:07:47 +10:00
Thibaud Colas
15643015c6 Remove eef0b2701d from v4.1.4 release notes 2023-03-28 17:17:33 +01:00
Babitha Kumari
eef0b2701d
Avoid showing scrollbars in the block picker unless necessary. Fix #10253 (#10268) 2023-03-28 17:15:38 +01:00
Sage Abdullah
d1a668a3b1 Explicitly specify MenuItem.name for Snippets, Reports, and Settings menu items (#10270) 2023-03-28 17:07:20 +01:00
Thibaud Colas
27459d61ce Release notes for #10262 / #6667 2023-03-28 16:13:35 +01:00
Lovelyfin00
a81242ca86 Migrate initAutoPopulate to Stimulus
- Removed initAutoPopultae function from editor.js
- Added the compare and urlify methos to SlugController
- Wrote tests for SyncController, added more test cases to slugController
- Closes #10088
2023-03-27 21:55:56 +10:00
Thibaud Colas
ca83e5a34f
Re-label "StreamField blocks" option in block picker to "Blocks" 2023-03-24 15:46:51 +00:00
Thibaud Colas
9288f3940c
Fix server-side caching of the icons sprite 2023-03-24 15:31:58 +00:00
Sage Abdullah
8285936d99
Add missing changelog for #10223 and #10255 in 4.1.4 and 4.2.2 2023-03-24 15:31:43 +00:00
Matt Westcott
15821675e8 Release note for #10241 2023-03-23 14:17:44 +00:00
Matt Westcott
8d2b1c68cb Release note for #10235 2023-03-23 13:55:42 +00:00
Sage Abdullah
9f33ef3137 Add missing extra CSS and JS defined by filters in snippets listing view
- Fixes #10254
2023-03-23 09:06:33 +10:00
Matt Westcott
5f154a5a51 Release note for #10178 2023-03-22 15:30:42 +00:00
Matt Westcott
7a7bbfa6cf Release note for #10072 2023-03-21 14:31:05 +00:00
Andy Babic
f680f188f3 Add useful properties to Locale
- Update get_display_name() to always return a string
- Add documentation and unit tests
2023-03-21 08:02:40 +10:00
zerolab
d51ec00ce1 Fix TableBlock initialisation
- move Handsontable render after load & resize width after load
- stops firing a resize event
- adjusts targets to account for the changed markup
- fixes #9107
2023-03-21 07:02:00 +10:00
Stefan Hammer
0016ee7dfd
Fix timezone handling of TemplateResponses for users with a custom timezone
The PR #9628 missed the cases, where a TemplateResponse is used, which
defers the rendering to a point outside the override_tz() context
manager. This change re-uses the existing handling for the user's
preferred language.

Fixes #10243
2023-03-20 11:43:10 +00:00
Thibaud Colas
8705124eaf Add release notes for #10239 2023-03-20 09:51:51 +00:00
4the4ryushin
66a086da29 Add support for double quotes query string searches
- Fixes #9951
2023-03-19 21:30:21 +10:00
4the4ryushin
df9437b4de Adopt shared header in Snippets type index header
- Fixes #9227
2023-03-19 20:53:31 +10:00
Satvik Vashisht
4ee60b5d47 Adopt the pageurl template tag over page.url where possible
- Fixes #10125
- So that determining page URL is more performant - see https://docs.wagtail.org/en/stable/advanced_topics/performance.html#page-urls
2023-03-18 07:35:27 +10:00
Himanshu Garg
427f5623d9 Update leftover status-tag class usage to use status template tag
- Closes #10129
- Relates to #8656 & #9721
2023-03-18 07:10:24 +10:00
Matt Westcott
71563ec720 Release note for #10099 2023-03-14 14:28:33 +00:00
Matt Westcott
87650344e2 Fill in release date for 4.2.1 2023-03-13 10:14:07 +00:00
Matt Westcott
bcf5b6459f Fill in release date for 4.1.3 2023-03-13 10:14:00 +00:00
Sage Abdullah
cfcfd85525
Clarify ClusterableModel requirements for using relations with RevisionMixin-enabled models 2023-03-13 09:35:05 +00:00
Andy Chosak
6eca0004b3 Fix paginated results count on document search #10220
Paginated document search results currently always show the number of
documents per page instead of the total number of documents in the
search results.

For example, if a document search
(at http://localhost:8000/admin/documents/)
returns 100 results, and the results are paginated by 20, the results
view always says "There are 20 matches", when it should instead say
"There are 100 matches".

This commit fixes that bug and adds a unit test to cover it.
2023-03-12 20:28:50 +10:00
Daniel Kirkham
af57a3eb7e Add ability to disable search indexing for a model #9821
- Add tests for search disable capability
- Update index disable to use empty search_fields property
- Relates to #7570
2023-03-12 20:16:19 +10:00
LB Johnston
efe7202575 Add changelog for #10216
- Relates to #10206
2023-03-12 19:41:42 +10:00
AceHunterr
ff7494bf79 Replace ButtonSelect widgets with radio buttons
- Instead of a complex and non-accessible JS solution for filter selects, replace with simple radio select fields
- Fixes #9838
2023-03-11 17:21:00 +10:00
George Sakkis
38e39271ee ChooserWidget: Trigger manually change event when input.value is set
- Ensure that the change events bubble as this is the default browser behaviour
- By default, changes to hidden values will not fire a `change` event, nor those that are a result of programatic changes to `value, so instead this needs to be added manually so that other code can listen to changes to chosen fields with DOM event listeners.
- https://stackoverflow.com/questions/6533087/jquery-detect-value-change-on-hidden-input-field/8965804#8965804
- Closes #10187
2023-03-11 15:57:33 +10:00
Thibaud Colas
d5e4ac5590
Update Algolia DocSearch integration with new application and correct versioning setup 2023-03-10 15:57:17 +00:00
Albina
5e23eedcd8
Axe accessibility checker: sorting violations based on their place in DOM (#10013)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-10 12:05:12 +00:00
Matt Westcott
b7f81bc720 Release note for #10215 2023-03-10 12:03:14 +00:00
Thibaud Colas
fff70ad2f9 Add missing CHANGELOG entry for v4.2.1 2023-03-10 09:55:48 +00:00
Deepam Priyadarshi
de3a0b3495
Fixing duplicate addition of StreamField blocks with the new block picker. Fix #10057 (#10149)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-10 09:52:17 +00:00
Matt Westcott
ab05be3bb2
Prevent matches from unrelated models from leaking into SQLite FTS searches
Fixes #10188
2023-03-09 10:13:54 +00:00
Thibaud Colas
c01303927a Release notes for #10171 2023-03-08 15:21:38 +00:00
4the4ryushin
eb5bb5a9c8 Migrate window.addMessage to a Stimulus Controller w-message
- Introduce a new controller `MessagesController` to contain the dynamic updating of messages
- Ensure the document updated label does not repeat every time a document is updated
- Using the Stimulus controller with templates approach, icons can easily be pre-loaded for each message type
- Ensure that messages are consistently cleared when new ones are added (this was done ad-hoc across some usage and not others)
- Fixes #9493
2023-03-08 21:35:34 +10:00
Sage Abdullah
24ba0b7fc1
Release notes for #9628 in 4.1.3 and 4.2.1 2023-03-07 19:01:40 +00:00
Sam
a393ea8091
Fix dialog component's message to have rounded corners at the top side
Fixes #10177
2023-03-07 18:36:02 +00:00
Suyash Srivastava
382b7fbbee
Keep applied filters when downloading form submissions
Made use of the xlsx_export_url and the csv_export_url properties instead of hardcoding the urls in the template
2023-03-07 18:21:00 +00:00
sheepman4267
04cca97f09
Fix typo in "Extending Draftail" docs (#10185)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-07 10:11:45 +00:00
Thibaud Colas
468e8d8581 Docs - Prepare short section on Stimulus usage in UI guidelines
- Aimed at contributors, based on initial implementation learnings and original RFC content
- See https://github.com/wagtail/rfcs/blob/main/text/078-adopt-stimulus-js.md#c-documentation-for-contributors
- Closes #10093
2023-03-07 18:11:39 +10:00
Sage Abdullah
b3b53c8b70
Release notes for #9628 2023-03-01 12:00:43 +00:00
Matt Westcott
114e25e7db Release note for custom StreamField validation support (#7250) 2023-03-01 12:24:05 +01:00