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
LB Johnston
edb86a7e8f
Documentation - Fix missing links / images
...
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
dependabot[bot]
beb2e94b75
Bump json5 from 1.0.1 to 1.0.2
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 12:04:51 +00:00
dependabot[bot]
e04dd2cb1a
Bump json5 from 2.2.0 to 2.2.3 in /client/tests/integration
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 12:04:42 +00:00
Matt Westcott
26ea675520
Release note for #9851
2023-01-05 12:03:14 +00:00
Jake Howard
55ea8f8532
Document the policy needed to create invalidations in CloudFront
2023-01-05 12:02:04 +00:00
Matt Westcott
1da5b97d51
Add release notes and versioned deprecation warnings for #9824
2023-01-04 18:17:35 +00:00
Sylvain Fankhauser
dc971fb863
Add backwards compatibility for Azure cache
2023-01-04 17:56:47 +00:00
Sylvain Fankhauser
b408906c53
Upgrade azure libraries
2023-01-04 17:56:47 +00:00
Matt Westcott
6e4c449fda
Release note for #9795
2023-01-04 17:51:43 +00:00
Jake Howard
04676cbe2b
Add fullpageurl
to jinja2 environment
2023-01-04 16:13:56 +00:00
Jake Howard
0b44b20367
Add test case for pageurl
not being called with a page
2023-01-04 16:13:56 +00:00
Jake Howard
14be13391d
Clear cache between test runs
...
This avoids any potential issue of caches persisting between runs
2023-01-04 16:13:56 +00:00
Jake Howard
0b72e3f598
Fix typo in docs
...
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2023-01-04 16:13:56 +00:00
Jake Howard
0f209ee848
Add {% fullpageurl %}
for resolving absolute URLs to pages
2023-01-04 16:13:56 +00:00
Jake Howard
45445df88a
Simplify pageurl tag
...
This doesn't change functionality, but simplifies the tag implementation which may improve performance in some edge cases.
Also add some `assertNumQueries` for future work.
2023-01-04 16:13:53 +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
Daniel Kirkham
2204dd05cf
Fix indentation of Telepath Adapter example ( #9836 )
2023-01-03 10:21:13 +00:00
dr-rompecabezas
b327d536e4
Fix typo in project_template.md ( #9835 )
2023-01-03 10:17:03 +00:00
LB Johnston
8678cad90b
Update third party tutorials for December 2022
2023-01-03 10:13:51 +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
Vallabh
71c9415327
Added release notes for #9683 (devdocs)
...
- #9683
2022-12-28 08:15:10 +10: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
LB Johnston
86f8d2b7ad
Add AutoFieldController
...
- used to provide the ability for an input element to submit its form once changed or interacted with
2022-12-19 14:00:11 +00:00
LB Johnston
ede189ada5
Set up initial stimulus application integration
2022-12-19 14:00:11 +00:00
LB Johnston
70681ec2bb
Fix Draftail unit test failure
2022-12-19 14:00:11 +00:00
Matt Westcott
4f31804e63
Changelog note for #9763
2022-12-15 09:51:40 +00:00
Sage Abdullah
100d213b00
Fix page unlock message
...
Regression in ddbdd51
2022-12-15 09:39:45 +00:00
Sage Abdullah
d4e036a67e
Apply capfirst
to locking help_text
2022-12-14 11:46:58 +00:00
Sage Abdullah
e1041b242d
Add checks to ensure LockableMixin
is applied before RevisionMixin
2022-12-14 11:46:58 +00:00
Sage Abdullah
8dcc292d26
Add docs for LockableMixin
and locking snippets
2022-12-14 11:46:57 +00:00
Sage Abdullah
1a09e2d70e
Rename WAGTAILADMIN_GLOBAL_PAGE_EDIT_LOCK
to WAGTAILADMIN_GLOBAL_EDIT_LOCK
2022-12-14 11:46:57 +00:00
Sage Abdullah
10dbbddaf3
Add tests for locking snippets
2022-12-14 11:46:54 +00:00
Sage Abdullah
1952ecbb63
Add the ability to lock snippets that extend LockableMixin
2022-12-14 11:10:14 +00:00
Sage Abdullah
70e0d2c1dc
Create get_latest_str utility function
2022-12-14 11:10:14 +00:00
Sage Abdullah
12c6c97a8b
Create and show 'lock' and 'unlock' permissions for snippets with LockableMixin
2022-12-14 11:10:14 +00:00
Matt Westcott
3013c4b8b1
Remove LGTM badges from readme
...
LGTM is shutting down imminently (https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/ ), and badges will no longer be functional. We now use Github's native CodeQL scanner instead - https://github.com/wagtail/wagtail/blob/main/.github/workflows/codeql-analysis.yml
2022-12-13 11:34:11 +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
da90061ca8
Docs - formatting - clean up whitespace
2022-12-11 18:43:50 +10:00
Damascene
5d78e03084
Docs - Update PASSWORD_REQUIRED_TEMPLATE example
...
- Add messaging for signed in users that do not have permission for a page
2022-12-11 15:33:30 +10:00
LB Johnston
abc39ad3c4
Changelog for #9761
...
- Closes #9748
2022-12-11 15:32:47 +10:00
Lovelyfin00
5728b876e0
Update Eslint config
...
- Legacy code ignoring no longer needed for some rules
2022-12-11 15:32:47 +10:00
Lovelyfin00
2695a53265
Clean up unit tests & super usage in JS
...
- fixed the prototype error in table.test.js and also the build error
- added super to constructor class due to the error shows during testing
2022-12-11 15:32:47 +10:00
Lovelyfin00
8e2e66bef0
Update tsconfig to align with latest browser usage
...
- Added the target : es2021 option because least browser support is safari 14.
- Added the dom.iterable option in order for the spread operator to work on DOM elements.
- Added the "strictPropertyInitialization": true option. This ensures that any class constructor property that is declared must be initialized or set.
- Added the "forceConsistentCasingInFileNames": true option to ensure that different filesystem renaming issues will be flagged early
- Re-order the config to be alphabetical
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