jacobtoppm
34c37bc914
Stop comments being added on inline panels
...
- They do not have stable ids when models are not persisted to the database
- Fixes #9641
This feature should was enabled unintentionally. It would be great to add the ability to comment on child models in the future, but just like ListBlock before the addition of ids, we need a stable way to calculate the id to attach a comment before we can do this. This is a problem we'll need to solve - potentially via a uuid field on the model to identify models that haven't yet been saved to the database outside revisions.
2022-11-17 07:55:30 +10:00
Sage Abdullah
baddbfad42
Fix missing preview_url_name in SnippetViewSet.revisions_revert_view ( #9663 )
2022-11-16 16:45:34 +00:00
Matt Westcott
0c62704836
Release note for #9672
2022-11-16 16:24:43 +00:00
Sage Abdullah
a886e26993
Use next parameter for redirect response in generic RevisionsUnscheduleView
2022-11-16 16:21:29 +00:00
Sage Abdullah
fd8ffba638
Move get_valid_next_url_from_request to wagtail.admin.utils
2022-11-16 16:21:29 +00:00
Matt Westcott
44933d06c4
Add Documentation / Maintenance subgroups to release notes
...
Reorganise the 4.2 release notes and changelog to include new sections for documentation and maintenance. This helps to highlight the most relevant changes from the perspective of a developer wanting to know what they can expect from an upgrade, while still recognising less visible contributions. Also update the "committing code" docs to explain the new classification scheme.
2022-11-16 16:15:33 +00:00
Dev-Liz
a8abb58ccf
Add changelog entry for Zeal docs update inc. 4.1
...
- PR #9681
- Closes #9420
2022-11-16 20:09:14 +10:00
Matt Westcott
1af0815af0
Update latest.txt to reference 4.1.1
2022-11-11 22:20:47 +00:00
Matt Westcott
ed58179d88
Add 4.1.1 to release notes index
2022-11-11 17:16:29 +00:00
Matt Westcott
679b8ca87a
Fill in release date for 4.1.1
2022-11-11 16:32:52 +00:00
Matt Westcott
bb4933e4af
Fetch new translations from Transifex
2022-11-11 16:28:09 +00:00
Joshua Munn
35165b99b5
Fix aging pages report KeyError caused when page publisher deleted ( #9531 )
2022-11-11 16:12:33 +00:00
Matt Westcott
74738703a3
Release note for #9636
2022-11-11 14:41:06 +00:00
Sage Abdullah
87e868d315
Move preview_settings to wagtail_config template tag
2022-11-11 14:18:12 +00:00
Sage Abdullah
ff8a33733c
Use CSRF_HEADER_NAME from global config for preview panel DELETE request
2022-11-11 14:18:12 +00:00
LB Johnston
a4ec6afae5
Add changelog for #9609 & update contributor name
...
- Update Chisom to Chisom Okeoma
2022-11-11 08:08:39 +10:00
xomcodes
4eb720b6c6
Move initTagField from core.js to initTagField.ts
...
- Add JSDoc & unit tests for pulled out includes file
- Fixes #9496
2022-11-11 08:08:39 +10:00
xomcodes
c4910fe77b
Add jQuery types package dependency
...
- This will make it easier to work with jQuery in TypeScript
2022-11-11 08:08:39 +10:00
4the4ryushin
35a2f2cb7e
Add purge_embeds management command
...
- Fixes #1267
- Caching OEmbed markup prevents markup changes for existing embeds so allow an easy way to clear these if needed
2022-11-11 08:00:50 +10:00
Thibaud Colas
77a63c224f
Make sure minimap error indicators follow the minimap scrolling ( #9624 )
2022-11-10 08:31:00 +00:00
FatumaA
d4792785b8
Refactor - convert initTooltips to TypeScript, add JSDoc & tests
...
- Fixes #9505
2022-11-10 07:34:43 +10:00
Seremba
dcd8148dfe
Style default secondary buttons with icons
...
- Style secondary button with icon to match according to Wagtail Design System
- Fixes #9198
2022-11-10 07:24:27 +10:00
Albina Starykova
d36790640e
Remove unnecessary box-sizing: border-box declarations
...
- box-sizing: border-box added to all elements globally in #8921
- Relates to #9031
2022-11-10 06:52:09 +10:00
Lovelyfin00
933a730928
Removed no-prototype-builtins rule from eslintrc and fixed minor additional issues
2022-11-10 06:40:40 +10:00
Lovelyfin00
67c7f82de5
Create a util hasOwn
to simplify object property checks
2022-11-10 06:40:40 +10:00
Florian Vogt
cafc2130af
Use blocktrans to remove trailing whitespace in headers
...
- Fixes #9596
2022-11-10 06:31:38 +10:00
Matt Westcott
2a20764b00
Release notes for #9625
2022-11-09 14:21:20 +00:00
Matt Westcott
32bd6cf83e
Add clarifying comment for GFK content type handling
2022-11-09 14:06:22 +00:00
Matt Westcott
0534f74002
Fix handling of generic foreign keys in reference index
...
Fix two bugs with the handling of generic foreign keys within `ReferenceIndex._extract_references_from_object`:
* null values were not considered
* content type ID was copied directly from the source field, unlike all other cases that translate to the base content type instead - lookups use the base content type, so these results were not returned.
Fixes #9615
2022-11-09 14:06:21 +00:00
Matt Westcott
a87a5d8d5a
Gracefully skip reference indexing for objects with a null ParentalKey
...
Fixes #9583 . The use case for null ParentalKeys is a bit questionable, but if they exist, we don't want reference indexing to break on them. Since references are always stored against the parent object, there's no valid way to record these references, so gracefully skip over them instead.
2022-11-09 14:05:53 +00:00
mohammadareeb95
66f2512ef5
Ensure links that have .nolink (current link) can be seen in WHCM
...
- Fixes #9578
2022-11-09 22:55:03 +10:00
AdeboyeJuliet
c225172c1f
fix:Tippy tooltip arrows render as rectangles in WHCM
...
- Fixes #8835
2022-11-09 22:12:57 +10:00
Albina Starykova
b1c4ca5489
Fix tag field styles in WHCM
...
- Fixes #9529
2022-11-09 21:45:50 +10:00
DokuaAsiedu
7ae2625132
Add new development documentation section "Development on Windows"
...
- Fixes #9540
- Remove duplicate name in contributors
2022-11-09 21:32:13 +10:00
AdeboyeJuliet
f41a219697
Migrate initSkipLink to typescript, add unit tests & JSDOC
...
- Additionally clean up the exports and imports to be sorted & align with named export usage
- Fixes #9541
2022-11-09 21:25:53 +10:00
Dev-Yusuf
c2ba84e825
Resolved the skip link contrast issues to meet requirements
...
- Update client/scss/components/_skiplink.scss
- fixes #9515
2022-11-09 21:17:37 +10:00
Doug Harris
2af1871271
Fix spelling middlware
-> middleware
( #9633 )
...
* Fix spelling `middlware` -> `middleware`
2022-11-09 07:22:51 +10:00
dependabot[bot]
ef375f05e9
Bump loader-utils from 1.4.0 to 1.4.1
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 06:25:49 +10:00
Matt Westcott
bafac01ca7
Releasse note for #9631
2022-11-08 17:56:53 +00:00
Matt Westcott
df7442cd60
Ignore tag relations when reference-indexing
2022-11-08 17:53:32 +00:00
Matt Westcott
4013773d06
Fall back on field.name for fields that don't provide a verbose_name property
2022-11-08 17:53:32 +00:00
Omer Ali
748c082e01
Docs / release note for #9602
2022-11-08 16:16:17 +00:00
4the4ryushin
65b2cb357a
Added test for verbosity option on rebuild_references_index
2022-11-08 16:04:37 +00:00
Omer Ali
2de166c7e0
Added option for verbosity to rebuild_references_index ( #9602 )
2022-11-08 16:04:07 +00:00
Matt Westcott
4d18e669ff
Defer snippet registration until models are loaded ( #9605 )
...
Fixes #9586 . All calls to `register_snippet` that happen before `WagtailSnippetsAppConfig.ready` are now queued up and processed once we are sure models are fully loaded. This avoids any issues with unloaded models during viewset construction, as seen when subclassing django-filters's FilterSet.
2022-11-08 10:22:25 +00:00
LB Johnston
55f5cad7f2
Ensure the ngettext (JS) util emulates the Django global if not present
...
Follow up from #9617
2022-11-08 09:09:45 +10:00
Lovelyfin00
0000ed88f7
removed unused styles from utility.legacy.scss file and clean up
...
- `divider-before` not used
- add w-list-none to Tailwind utility classes
- remove now unused unlist class
- relates to #8947
2022-11-08 08:45:23 +10:00
LB Johnston
da36c3994b
Rename test file - #9593
2022-11-08 08:38:56 +10:00
Lovelyfin00
b1c1618c9b
Migrated initButtonSelects from core.js to own includes file
...
- removed initButtonSelects from core.js , migrate to Typescript & and wrote test for it
- Fixes #9494
2022-11-08 08:28:59 +10:00
Matt Westcott
f3b73137d9
Release note for #9566 in 4.1.1
2022-11-07 12:27:13 +00:00