Wykres commitów

2522 Commity (6eca0004b3b0187d52e45b1722b334eea372b77b)

Autor SHA1 Wiadomość Data
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
Sage Abdullah 4956e9554c
Release notes for #9946 2023-03-01 09:23:40 +00:00
Sage Abdullah f3f45a9860
Fix page/snippet cannot proceed a GroupApprovalTask if it's locked by someone outside of the group
Regression in d85db866cc
2023-02-28 13:22:06 +00:00
4the4ryushin 9537547b46 Migrate initErrorDetection to a Stimulus Controller `w-count`
- Used for tabs error counts
- Fixes #10090
2023-02-27 23:11:19 +10:00
LB Johnston 845b731d13 Add release notes & upgrade considerations for #7277
- Relates to #8012
2023-02-26 12:59:18 +10:00
jatinkumar001 b87f71ca38 Update privacy collection switch button
- The status tag styles did not actually change when the permissions changed
- Instead of trying to treat the status tag as a button, use an actual button styling as this pattern is not used anywhere else in Wagtail
- Fixes #10128
2023-02-25 08:10:43 +10:00
4the4ryushin fd73fc2905 Use shared header template in ModelAdmin index
- Closes #8907
2023-02-24 17:38:33 +10:00
Himanshu Garg 2ae061a703
Add curlylint and update djhtml, semgrep versions in pre-commit config
The djhtml and semgrep versions are now in sync with the ones in setup.py
2023-02-23 11:24:50 +00:00
Matt Westcott 55fcace173 Release note for #10130 in 4.1.3 2023-02-21 17:47:53 +00:00
Matt Westcott 0dd7dfedeb Release note for #10130 in 4.2.1 2023-02-21 17:47:06 +00:00
Matt Westcott 517b59c736 Release note for #10130 in 5.0 2023-02-21 17:42:40 +00:00
4the4ryushin 93077eaccd Migrate status tag usage to shared Template tag
* Style guide updated tests added
* Added story for status tag and put pageurl tag in use for page_status_tag
* Allow for url/non-url variant & attrs to be passed through to root element
* Closes #8656
2023-02-21 22:30:18 +10:00
LB Johnston d5eb255320 Add changelog for #9934 / #7756
- Closes #7160
- Add additional test coverage
2023-02-21 21:48:38 +10:00
Lovelyfin00 2a9d01b849 Migrate initSlugCleaning to Stimulus SlugController
- Closes #10086
2023-02-21 08:57:20 +10:00
Julian Bigler 8be4722458 Add release notes & contributors #9813 2023-02-19 14:39:06 +10:00
Thibaud Colas 4bea98d981 Convert userbar implementation to TypeScript 2023-02-17 01:13:51 +00:00
Fabien Le Frapper 065df6064a
Remove unneeded float styles on 404 page (#8914)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-17 00:06:57 +00:00
Albina afff60e3b9
Add unit tests for MinimapItem (#10083)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-16 23:51:00 +00:00
Matt Westcott cbe5e0d22d Release note for #9940 2023-02-16 16:19:33 +00:00
Matt Westcott 9417e13445 Release note for #10009 2023-02-16 15:29:21 +00:00
Ayman Makroo ff4957799b Fix overflow of search results on mobile devices (docs)
- Fixes #9893
2023-02-16 19:48:02 +10:00
LB Johnston 0187a1494b Add release note item about additional button fix
- Fixed in #10062 / #9956
2023-02-16 08:19:44 +10:00
rishabhDev2700 49d0aab24d Replaced script tags with template tag for image/document bulk uploads
- Fixes #10033
- Partial work on #7053
2023-02-16 08:17:07 +10:00
Lovelyfin00 ab05f7dd3c Rename AutoFieldController to SubmitController
- Closes #10092
2023-02-16 07:23:03 +10:00
LB Johnston 3cf38f0365 Add changelog for #6086
- Fixes #6085
2023-02-16 00:00:34 +10:00
Lovelyfin00 6f38e979a4 Improve docs for getting started and development (new contributors)
- Added a new section for common issues faced in getting started
- Added a section link for environment creation
- Refine confusing wording around fork/clone
2023-02-15 23:01:27 +10:00
Matt Westcott 297e08df2a Release note for #10007 2023-02-15 09:57:18 +00:00
GLEF1X 768d8f3d2c refactor code, fix some minor issues 2023-02-14 17:35:26 +00:00
Sage Abdullah e6afce23dc
Release notes for #10021 in 4.1.3 2023-02-14 16:51:43 +00:00
Sage Abdullah 8c2a382949
Release notes for #10021 in 5.0 2023-02-14 15:35:37 +00:00
Sage Abdullah 7addcbef8d
Release notes for #10021 in 4.2.1 2023-02-14 15:35:20 +00:00