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

4503 Commits

Author SHA1 Message Date
Thibaud Colas
bf217a54fb Use the correct padding for autocomplete block picker 2022-11-28 11:44:22 +00:00
Loic Teixeira
5c1c2c8f53 Enforce the use of a single string formatting mechanism for translation source strings
Close #9377
2022-11-26 11:00:05 +01: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
LB Johnston
30585340fd Add upgrade considerations for classname convention changes 2022-11-23 19:50:27 +00:00
LB Johnston
71f3738e8c add classname naming convention to general coding guidelines 2022-11-23 19:50:27 +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
LB Johnston
682ed3b21f Clean up unintentional whitespace in documentation 2022-11-20 23:21:56 +10:00
Jeremy Thompson
4613fa2562 Fix RichTextField to StreamField example migration 2022-11-20 22:06:24 +10: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
Coen van der Kamp
26f5a4fcb1 Move custom image filter to extendig Wagtail section 2022-11-20 08:03:33 +10:00
Coen van der Kamp
1fb588c314 Add custom image operation example to docs 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
Temidayo
b0988d3e2a
Improving the StreamField documentation with class inheritance information (#9451) 2022-11-18 15:09:43 +00:00
Damilola Oladele
b20b98907a
Grammatical adjustments of page models usage guide to resolve issue #9398 (#9399)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 15:01:31 +00:00
DokuaAsiedu
0c47342c76
Improve 'first wagtail site' tutorial (#9329)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 14:47:16 +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
Sævar Öfjörð Magnússon
629b8e7a55 Add ability to easily use Form Page fields in API
Improve documentation. Adding information about how to retrieve form fields from the API.
Include the API fields on the form field model
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
sag᠎e
8cd8769eb6
Use consistent heading styles on top-level fields in the page editor (#9659)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-17 16:23:38 +00:00
sag᠎e
dd0d2c4b88
Make it possible to resize the page editor’s side panels (#9276)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-17 15:53:15 +00:00
Yekasumah
119f288a3c Added unit tests & JSDoc to initDissmisibles
- Fixes #9495
2022-11-17 18:21:25 +10:00
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
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
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
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
LB Johnston
a4ec6afae5 Add changelog for #9609 & update contributor name
- Update Chisom  to Chisom Okeoma
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