0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

14732 Commits

Author SHA1 Message Date
Matt Westcott
dc2afe89b9 Specify that h1, h5, h6 are disabled in rich text by default
Fixes #10124
2023-02-22 08:48:02 +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
Andy Chosak
8d1835f55c Fix audit log display of deleted models
The audit log report currently raises an unhandled exception if it
tries to display log entries for model instances where the model was
deleted after the log entry was made. This commit fixes that bug.

If the model was deleted via a migration but the content type still
exists in the database (a "stale content type" in Django parlance),
the report will now display a capitalized version of the content type's
"name" field, for example "Homepage" for the HomePage model.

If the content type has also been deleted (likely via Django's
remove_stale_contenttypes management command), the report will now
display the phrase "Unknown content type".

Fixes issue 8699.
2023-02-21 17:40:49 +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
4the4ryushin
12dff30a9e Move collection_id from index view to add view in doc/image upload
- Ensure query string is correctly used for any future scope
- Closes #7160
2023-02-21 21:48:38 +10:00
Bojan Mihelac
c89ab4d341 Respect selected collection when adding documents or images
- Relates to #7160
- Original PR #7756
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
LB Johnston
469f3ee1d2 Documentation - remove legacy docs references
- Permissions/commenting links no longer exist in the documentation and have moved to the user guide
- As these are quite old releases now, remove the references to avoid build errors in docs
2023-02-19 16:01:38 +10:00
Julian Bigler
8be4722458 Add release notes & contributors #9813 2023-02-19 14:39:06 +10:00
LB Johnston
7cbd20de76 Add contributor - #10115 2023-02-19 14:39:01 +10:00
Kenny Wolf
f50f04e129
Docs - Remove deprecated Settings Tab from documentation (#9813)
Since Wagtail 4.1 the Settings Tab and the corresponding scheduling of pages has been moved to the Status side panels. As mentioned in the release notes of Wagtail 4.1: [See here](https://docs.wagtail.org/en/stable/releases/4.1.html#new-ui-for-scheduled-publishing).

In the documentation section for customising the edit interface, this snippet is still available. When implemented, there is no effect and no error is shown.

Therefore this line is obsolete and only the two tabs 'Content' and 'Promote' should be available.

Co-authored-by: Julian Bigler <disperate@users.noreply.github.com>
2023-02-19 14:32:13 +10:00
Suyash Srivastava
98de22a412
Update package-lock.json file and resolved Caniuse-lite version (#10115)
Caniuse-lite  "version": "1.0.30001373" updated to  "version": "1.0.30001456",
Closes #10114
2023-02-19 14:18:10 +10:00
LB Johnston
8c006a16c9 Minor clean up items on ProgressController
- Relates to #10062
2023-02-17 13:40:35 +10:00
Thibaud Colas
4bea98d981 Convert userbar implementation to TypeScript 2023-02-17 01:13:51 +00:00
Albina Starykova
71cbf9087a Rename userbar.js to userbar.ts 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
Vallabh
c73b03e03c Added requested changes 2023-02-16 16:17:03 +00:00
Vallabh
123d944674 Added docs about abtract model for InlinePanel (#9887) 2023-02-16 16:17:03 +00:00
Vallabh
e0ea3ee448 Added link to description of InlinePanel 2023-02-16 16:17:03 +00:00
Vallabh
407860286b Removed obsolete section of InlinePanels 2023-02-16 16:17:03 +00:00
Vallabh
996d45e0f0 Added description for parameters taken by InlinePanel 2023-02-16 16:17:03 +00:00
Matt Westcott
9417e13445 Release note for #10009 2023-02-16 15:29:21 +00:00
Sage Abdullah
b00b915ea7 Ignore reference indexing for PageSubscription 2023-02-16 15:22:40 +00:00
Sage Abdullah
aaa723a14d Change 'used' -> 'referenced' 2023-02-16 15:22:40 +00:00
Sage Abdullah
d7cad89b4d Add tests for page usage views 2023-02-16 15:22:40 +00:00
Sage Abdullah
a09bc8f8fd Show usage information in page status side panel 2023-02-16 15:22:40 +00:00
Sage Abdullah
0383e645fd Create usage view for pages using the generic usage view 2023-02-16 15:22:40 +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
Coen van der Kamp
3e5583e0fe Style Django form nonfield error the same as help-critical 2023-02-16 00:00:34 +10:00
Coen van der Kamp
d359faf321 Add duplicate hostname tests 2023-02-16 00:00:34 +10:00
Coen van der Kamp
48d2a806b6 Display non field errors on create and edit 2023-02-16 00:00:34 +10:00
Coen van der Kamp
a0755b226c Store hostname in lower case 2023-02-16 00:00:34 +10:00
LB Johnston
3f72b3ebf4 Prettier/Eslint - ignore storybook build folder - see #10089 2023-02-15 23:42:13 +10:00
Lovelyfin00
566c3e2280 Fixed error in the url to be cloned in forked copy of Wagtail in documentation 2023-02-15 23:41:31 +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
Thibaud Colas
0246d3a6f4 Fix Storybook not supporting TypeScript declare class fields 2023-02-15 22:52:49 +10:00
Thibaud Colas
fa1cbfbe98 Fix Storybook pattern library proxying in Node 18 2023-02-15 22:52:49 +10:00
Thibaud Colas
a517ee6dc9 Fix Storybook stories intialisation broken due to script config dependencies 2023-02-15 22:52:49 +10:00
Thibaud Colas
09023719a3 Run Storybook builds in CircleCI 2023-02-15 22:52:49 +10:00
LB Johnston
b834318405 fix storybook (pattern library) tabs data
- fixes #9092
2023-02-15 22:48:09 +10:00
LB Johnston
38d678eca3 ActionController - add JSDoc note & type
- Relates to #9844
2023-02-15 21:41:26 +10:00