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

2398 Commits

Author SHA1 Message Date
Matt Westcott
99eaef6ee6 Remove resize handles from autosize text areas (#9713)
Fixes #7210, replacing #9651 as per https://github.com/wagtail/wagtail/issues/7210#issuecomment-1325707942. AdminAutoHeightTextInput now inserts a w-field__autosize classname which explicitly disables the resizing handle, leaving resizing fully in control of the jquery.autosize plugin.
2023-01-05 14:13:29 +00:00
Rishabh Jain
e68f2e0d7d Added check for file overwrite setting (#9823) 2023-01-05 13:48:21 +00:00
Matt Westcott
26ea675520 Release note for #9851 2023-01-05 12:03:14 +00:00
Matt Westcott
1da5b97d51 Add release notes and versioned deprecation warnings for #9824 2023-01-04 18:17:35 +00:00
Matt Westcott
6e4c449fda Release note for #9795 2023-01-04 17:51:43 +00:00
Jake Howard
0f209ee848 Add {% fullpageurl %} for resolving absolute URLs to pages 2023-01-04 16:13:56 +00:00
Jake Howard
2f86d9abc7 Use util method to construct util dummy requests (#9797)
This more reliably mocks a request for a given site and path.
2023-01-03 15:00:23 +00:00
Thibaud Colas
1de29709de
Remove unused search-bar and button-filter styles (#9812)
- Remove unneeded search-bar class from templates
- Remove _file_field_as_li template with unneeded overrides
- Remove unused search-bar styles
2023-01-03 09:39:21 +00:00
Albina
5cf621660c
Refactor Wagtail userbar as a web component (#9816)
* Add a border around the userbar menu in Windows high-contrast mode so it can be identified
* Make sure browser font resizing applies to the userbar
* Switch userbar to initialise a Web Component to avoid styling clashes
* Refactor userbar stylesheets to use the same CSS loading as the rest of the admin
2022-12-27 16:55:19 +00:00
Albina
5eb2064574
Close the userbar when clicking its toggle. Fix #9342 (#9808)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Fixes https://github.com/wagtail/wagtail/issues/9342
2022-12-27 15:36:05 +00:00
Thibaud Colas
4246c0b703 Add release notes for #9772 in v4.1.2 2022-12-19 14:05:41 +00:00
Thibaud Colas
84e2390192 Add release notes for Stimulus adoption 2022-12-19 14:00:11 +00:00
Matt Westcott
4f31804e63 Changelog note for #9763 2022-12-15 09:51:40 +00:00
Natarajan Balaji
b6f7fbf828 Fix issue where Decimal value block null caused an error
- Fixes #9777
- DecimalBlock value when Null forces a conversion to null which crashes the server. Fixed it by returning null when the value is null and decimal when a value is other than null
2022-12-13 07:47:18 +10:00
LB Johnston
abc39ad3c4 Changelog for #9761
- Closes #9748
2022-12-11 15:32:47 +10:00
Lovelyfin00
6997ff1d68 Use browser URLSearchParams to determine q param (core.js)
- Fixes #9765
- removed the function for getURLParam function and replaced with URLSearchParam method
- already used in many other places in the same file
2022-12-10 07:19:48 +10:00
LB Johnston
ec41b7448a Add changelog for #8746 2022-12-10 07:05:39 +10:00
Thibaud Colas
0bf26a73c1 Fix horizontal positioning of rich text inline toolbar 2022-12-10 06:56:54 +10:00
Matt Westcott
f635038e13 Release note for StreamField data migration helpers (#9694) 2022-12-09 16:40:07 +00:00
4the4ryushin
7fe09f65bb conditional display of meta description (#9764) 2022-12-08 14:35:46 +00:00
Sage Abdullah
ddbdd51607 Extract generic Lock/Unlock views and make page's views extend from them (#9740) 2022-12-08 12:06:52 +00:00
LB Johnston
f31cce6786 Update changelog for #9750 2022-12-08 07:45:00 +10:00
LB Johnston
fa544d4ec2 Add changelog for #9762 2022-12-08 07:43:30 +10:00
Matt Westcott
5b8b508385 Release note for #9726 2022-12-07 10:43:09 +00:00
Matt Westcott
bb9dad4f96 Release note for #9709 2022-12-06 18:08:56 +00:00
Sage Abdullah
1f143cf8ca Create and show publish permissions for snippets with DraftStateMixin applied (#9711) 2022-12-06 16:16:59 +00:00
LB Johnston
9713274e05 Add changelog for #9376 2022-12-03 15:53:48 +10:00
Sage Abdullah
a5b372e47a Remove grey background from .content-wrapper
- Fixes #9667
2022-11-30 07:57:38 +10:00
Thibaud Colas
bf217a54fb Use the correct padding for autocomplete block picker 2022-11-28 11:44:22 +00:00
Thibaud Colas
713636a00e
Always show the page editor title field’s border when the field is empty. Fix #9318 (#9719) 2022-11-25 17:16:05 +00:00
Benjamin Bach
b6d35adb5f Improve validation errors for non-unique slug
- Informative validation: Tell users/devs which slug that is offending inside which URL hierarchy
2022-11-25 08:47:32 +10:00
Matt Westcott
9e0bcce014 Move release note for #9651 to 4.2 2022-11-23 22:05:40 +00:00
Matt Westcott
d2167ed705 Release note for #8886 2022-11-23 20:04:56 +00:00
Andy Chosak
4e76241295 Fix: Review or revert to a page's initial revision
Currently it's not possible to review or revert to a page's initial
revision because we don't log a PageLogEntry "wagtail.edit" event
in certain cases:

- When a page is first created, and saved as draft
- When a page is first created, and published right away
- When a page is first created, and submitted for moderation

This commit alters the current behaviour so that a "wagtail.edit" event
is created in those cases. This allows these initial revisions to be
reviewed or reverted to in the page history view.

This commit also updates the existing create_log_entries_from_revisions
management command to try to populate these initial revisions there as
well. The relevant unit tests have been updated.

Fixes #8337
2022-11-23 08:45:39 +10:00
Ben Gosney
c7a5e9a959 Add missing kwargs to the send_mail helper
Fixes #5899
2022-11-23 08:31:13 +10:00
4the4ryushin
a03bbba347 Fix pluralisation for Tab error count shown to screen readers
Fixes #9521
2022-11-23 07:52:24 +10:00
Sage Abdullah
573107a3b6 Add StreamField.get_db_prep_value() to delegate serialisation of JSONField lookup values (#9693)
Fixes #9692
2022-11-21 17:28:07 +00:00
4the4ryushin
bc05374c95 Added raw check for fixtures and test for pre_save_feature_detection
Fixes #3589
2022-11-20 21:53:26 +10:00
Theresa-o
af1f1715a3 Refine the grid position of uploaded images
Closes #9674
Ensure that when there are less images to fill up the columns, the columns still have the same max width
2022-11-20 21:18:23 +10:00
LB Johnston
92576b57b5 Add changelog #9558 2022-11-20 08:03:33 +10:00
Ivy
4fbccd1c88
Support text resizing in workflow steps cards (#9525)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 23:23:39 +00:00
Theresa-o
8d30e716f7
Move DateField, DateTimeField, TimeField comment buttons to be right next to the fields. Fix #9543 (#9549)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 23:07:24 +00:00
Thibaud Colas
edff772aee Update contributor name in credits 2022-11-18 22:17:59 +00:00
Anisha Singh
82c0fb5934
Allow both horizontal and vertical manual resizing of TextFields. Fix #7210 (#9651)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 21:57:46 +00:00
Thibaud Colas
9c96daa28b Add release notes for documentation contributions 2022-11-18 15:19:15 +00:00
benita
c108de2bb5 Fix logo in README not being visible in high-contrast mode. Fix #8160
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 14:05:37 +00:00
ChickenF622
4ee7a633b6
Add clarification on where to register entity plugins (#9487)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 11:24:08 +00:00
Temidayo
97db766d01
Added links and more info to documentation (#9517)
* Docs: Mention Wagtail’s usage of Django’s default user model by default (Temidayo Azeez)
 * Docs: Add links to treebeard documentation for relevant methods (Temidayo Azeez)

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 11:18:01 +00:00
LB Johnston
25c4763d08 Add changelog for #8782 / #8696 2022-11-18 06:58:16 +10:00
Coen van der Kamp
b91ed2cce4
Allow button labels to wrap onto two lines in dropdown buttons. Fix #9613 (#9643)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-17 16:37:21 +00:00