Matt Westcott
113005aa05
Page description ( #8164 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Co-authored-by: Kalob Taulien <kalob.taulien@gmail.com>
2022-04-01 22:16:41 +01:00
Thibaud Colas
34cd9e2aaa
Code review cleanup
2022-04-01 17:01:26 -04:00
Karl Hobley
849ac514a2
Define gettext functions in an importable module
2022-04-01 17:01:26 -04:00
Karl Hobley
39d9f3f4a6
Enable Django's javascript catalog view
2022-04-01 17:01:26 -04:00
Karl Hobley
e8692b43de
Commit initial version of extracted javascript strings
2022-04-01 17:01:26 -04:00
Karl Hobley
2b1d1d0749
Add a script to extract strings from javascript
2022-04-01 17:01:26 -04:00
Karl Hobley
1e884285a1
Replace STRINGS constants with gettext
2022-04-01 17:01:26 -04:00
Matt Westcott
b159404413
Update Saurabh kumar's name
2022-04-01 20:55:16 +01:00
Andy Chosak
00adeb8cf2
Fix bulk publishing of pages without revisions
...
Currently bulk publishing raises an error if you include pages that
exist in the database without any revisions. This commit ensures
that a revision exists before the page is published.
Fixes issue 8187.
2022-04-01 14:50:53 -04:00
Matt Westcott
30ad2ee217
Add Saurabh to contributors
2022-04-01 17:14:15 +01:00
Saurabh
a70aefe243
fixed punctuation issues and modified text in wagtail documentation. ( #8262 )
2022-04-01 17:12:57 +01:00
Thibaud Colas
c2231530a5
Update core team alumni list
2022-04-01 12:19:57 +01:00
Coen van der Kamp
68f2cc5f7e
Add Wagtail Space NL 2022 banner to docs ( #8264 )
2022-04-01 10:58:02 +01:00
LB Johnston
8b6b0425de
forms - remove unidecode and legacy clean name approach
...
- resolves #7975
2022-03-31 14:53:44 +01:00
Matt Westcott
da819c0c36
Release note for #8075
2022-03-31 14:44:02 +01:00
Luis Nell
23895120b0
adds instagram reels support ( #8075 )
2022-03-31 14:42:45 +01:00
Matt Westcott
97e781e31c
Renumber Wagtail 2.17 to 3.0
...
As per discussion on https://github.com/wagtail/wagtail/discussions/7732 , the changes in the upcoming release (sidebar redesign, removal of hallo.js, module reorganisation) warrant a version bump to 3.0 if we're following semantic versioning.
2022-03-31 06:38:27 +10:00
Matt Westcott
ff18b4c303
Remove description of some-day milestone ( #8255 )
...
Issues that are accepted but not prioritised will now be indicated by removing the 'Unconfirmed' label, rather than assigning to a milestone.
2022-03-30 15:52:51 -04:00
Hitansh Shah
a8106e5072
Added lint-server, lint-client, format-server and format-client tasks to the Makefile ( #8177 )
2022-03-30 14:14:30 +01:00
Matt Westcott
e961ae202c
Upgrade to curlylint 0.13.1
...
Addresses https://github.com/thibaudcolas/curlylint/issues/132
2022-03-30 21:43:24 +10:00
LB Johnston
316bbf9508
format migration files - black
2022-03-29 22:57:19 +01:00
Dan Braghis
f1dcf407e3
Bump black to 22.3.0 to fix issue with dependency
...
Ref: https://github.com/psf/black/issues/2964
2022-03-29 20:04:58 +01:00
jacobtoppm
aaf1b53e20
Release notes for #8037 and missing changelog entries for other JSONField conversions
2022-03-29 18:18:07 +01:00
Sage Abdullah
dcae64c255
Allow StreamField
to use JSONField
internal type via use_json_field
kwarg
...
Add system check for use_json_field in StreamField
Change system check level to Warning
Add use_json_field argument to StreamField in test models
Use RemovedInWagtail219Warning instead of a system check
Handle unpacked values in to_python when use_json_field is True
Duplicate models and tests for JSONField-based StreamField
Add basic tests for JSONField-based StreamField
Add json_field property in StreamField to unify JSONField usage
Add docs
Don't use destructuring for kwargs in deconstruct
Add versionchanged note to StreamField reference
2022-03-29 18:18:08 +01:00
Steve Stein
af4c4d0653
Change slim sidebar to be fully usable in slim mode. Fix #7918 ( #8197 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
- Removing the peeking attribute so the sidebar only opens when intentionally set to expanded mode by using expand or search or account functionalities
- Adding tooltips on link item hovers
- Expanding of slim sidebar when search is clicked and when account options are clicked
2022-03-28 15:43:35 +01:00
Thibaud Colas
2fb2629ba3
Add release notes for #8218 and #8225
2022-03-28 15:16:18 +01:00
Matt Westcott
5c6f12a0e9
Put PR template boilerplate in HTML comment
2022-03-28 07:52:20 +10:00
Thijs Kramer
128b319b99
Fix permission error when sorting pages having page type restrictions
2022-03-26 18:31:05 -07:00
Luis Espinoza
b53017ad94
remove redundant role="main" for <main>
2022-03-26 12:03:35 -07:00
Stephanie Smith
e726c5004f
Fixing translations for 'Title' in listing templates ( #8218 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-26 16:44:59 +00:00
Kyle Hart
ca4ccdbf17
Improved CTAs for complying with check in procedures ( #8219 )
2022-03-26 10:43:21 -06:00
Kyle Hart
3fabe10d5c
Remove Spacing section from CSS guidelines ( #8216 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
Removed Spacing section. It’s no longer relevant because we’re now using Prettier.
2022-03-26 15:56:44 +00:00
Matt Westcott
76e1bd2bbe
Update release notes for #8110
2022-03-26 11:34:21 -04:00
LB Johnston
7036497240
clean up oembed providers
...
- sort all items alphabetically
- fix up spelling of flickr (was flikr)
2022-03-26 07:28:54 +10:00
LB Johnston
10f8e8d216
AbstractFormField.save - add to the docstring about clean name
2022-03-26 07:28:26 +10:00
Matt Westcott
f9fd247290
Remove deprecation for field_permission method
...
...since it's never made it into a release in the first place
2022-03-25 16:09:27 -04:00
Matt Westcott
84228b623c
Convert remaining EditHandlers to implement get_form_options
2022-03-25 16:09:27 -04:00
Matt Westcott
ae79eb4cb2
Introduce a get_form_options method to combine widget_overrides / required_fields / required_formsets / field_permissions
2022-03-25 16:09:27 -04:00
Matt Westcott
53a0acdf84
Update get_form_for_model to take arbitrary kwargs
2022-03-25 16:09:27 -04:00
Matt Westcott
bc93b8c782
Remove special casing of hidden fields in FieldPanel.get_comparison_class
...
There's no clear reason to put a hidden field in a FieldPanel (or why you would expect it to change between revisions, and not want to know about it in the comparison view) and if you do have some weird customisation that requires that behaviour, you could always subclass FieldPanel to return None from get_comparison_class for that one case.
2022-03-25 16:09:27 -04:00
Matt Westcott
ae51ebadf0
Simplify FieldPanel kwarg handling
...
there's no reason to bend over backwards to distinguish between not passing a kwarg and passing None...
2022-03-25 16:09:27 -04:00
Matt Westcott
fc66f06da6
Remove 'exclude' rule from WagtailAdminPageForm
...
EditHandlers always pass an explicit fields list, so this was redundant in practice, and just legitimised leaving out fields / exclude when subclassing it - which our tests did liberally.
2022-03-25 16:09:27 -04:00
Matt Westcott
32651f51c2
Fix inheritance on TabbedInterface / ObjectList
...
ObjectList isn't a special case of TabbedInterface - they're just two BaseFormEditHandlers with different templates.
2022-03-25 16:09:27 -04:00
Matt Westcott
6ef6134530
Remove show_comments_toggle kwarg from BaseFormEditHandler
...
Nothing ever uses it.
2022-03-25 16:09:27 -04:00
Matt Westcott
5199df3a2a
Fix some references to wagtail/test/manage.py
2022-03-25 15:03:03 -04:00
Matt Westcott
5ddc374b6c
Release notes for #8191 and #8011
2022-03-25 14:31:33 -04:00
Seb
0fd23e5aba
Remove deprecated jinja2 references
2022-03-25 11:29:01 -04:00
Matt Westcott
3b77e23cfe
Rename BaseCompositeEditHandler to PanelGroup
2022-03-25 10:44:25 -04:00
Matt Westcott
dc4c9b704d
Rename the EditHandler base class to Panel
2022-03-25 10:44:25 -04:00
Matt Westcott
6bb26c774e
Move template paths from edit_handlers to panels
2022-03-25 10:44:25 -04:00