Thibaud Colas
6b32591c85
Always show StreamField and InlinePanel nesting guide lines
2023-03-30 00:14:03 +01:00
Thibaud Colas
9855382a62
Always show StreamField and InlinePanel block actions
2023-03-30 00:14:03 +01:00
Thibaud Colas
b504403ebf
Release notes for #10277
2023-03-29 13:20:23 +01:00
Thibaud Colas
5ba84b7897
Convert "add child page" icon to SVG
2023-03-29 13:20:23 +01:00
Thibaud Colas
ef3d93819e
Convert user creation form to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
978d62122c
Convert form submissions listings to use the same ordering icons as other listings
2023-03-29 13:20:23 +01:00
Thibaud Colas
4c7b263010
Fix typo in header.html docs
2023-03-29 13:20:23 +01:00
Thibaud Colas
e8ead77b7a
Remove dead styles from legacy dropdown
2023-03-29 13:20:23 +01:00
Thibaud Colas
620f4ee11f
Convert add multiple thumbnail icon to SVG
2023-03-29 13:20:23 +01:00
Thibaud Colas
de0f876744
Convert "after" ordering icons to SVG
2023-03-29 13:20:23 +01:00
Thibaud Colas
531f71a924
Convert jQuery Datetimepicker to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
6adc13abf2
Convert error messages to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
47cad1f2d3
Convert history edit buttons to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
37fe4eac63
Convert image and document FileFields to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
c2dc689fc9
Convert privacy switch to SVG icons
2023-03-29 13:20:23 +01:00
Thibaud Colas
1d3d04972f
Remove unused help-inverse icon
2023-03-29 13:20:23 +01:00
Thibaud Colas
593e21ca4f
Remove unneeded icon-help definitions
2023-03-29 13:20:23 +01:00
LB (Ben Johnston)
8b559fb671
Fix issue with MessagesController (base html) - error type ( #10281 )
...
The success type was used twice so there was no way to add an error message. See #10182 .
2023-03-29 13:16:13 +01:00
mansi0829
433d70d3bf
Adopt w-status instead of status for classes
...
- Fixes #10244
2023-03-29 08:07:47 +10:00
LB Johnston
c7ad413e1f
userbar tests - fix small eslint warning
...
- variable length warning
2023-03-29 07:34:07 +10:00
Sage Abdullah
7fa19020f6
Use SnippetViewSet.icon in SnippetChooserBlock
2023-03-28 17:20:54 +01:00
Thibaud Colas
15643015c6
Remove eef0b2701d
from v4.1.4 release notes
2023-03-28 17:17:33 +01:00
Babitha Kumari
eef0b2701d
Avoid showing scrollbars in the block picker unless necessary. Fix #10253 ( #10268 )
2023-03-28 17:15:38 +01:00
Sage Abdullah
d1a668a3b1
Explicitly specify MenuItem.name
for Snippets, Reports, and Settings menu items ( #10270 )
2023-03-28 17:07:20 +01:00
Thibaud Colas
27459d61ce
Release notes for #10262 / #6667
2023-03-28 16:13:35 +01:00
Thibaud Colas
c89da173e0
Switch styleguide navigation to use panel components and minimap
2023-03-28 16:13:35 +01:00
Thibaud Colas
d856e702e1
Update documentation on icons management, with available icons
2023-03-28 16:13:35 +01:00
Thibaud Colas
43ca8be9f0
Re-implement styleguide icons list as an auto-generated sequence of tables
2023-03-28 16:13:35 +01:00
Lovelyfin00
a81242ca86
Migrate initAutoPopulate to Stimulus
...
- Removed initAutoPopultae function from editor.js
- Added the compare and urlify methos to SlugController
- Wrote tests for SyncController, added more test cases to slugController
- Closes #10088
2023-03-27 21:55:56 +10:00
LB Johnston
d6d8b99f3e
BaseSequenceBlock - remove extra space in HTML
2023-03-25 22:13:47 +10:00
Matt Westcott
569bdd3cb9
Disconnect signal handlers that are connected during tests
...
Saves over 30 seconds on a full test run, in my not-so-scientific trial.
2023-03-24 17:13:13 +00:00
Thibaud Colas
ca83e5a34f
Re-label "StreamField blocks" option in block picker to "Blocks"
2023-03-24 15:46:51 +00:00
Thibaud Colas
9288f3940c
Fix server-side caching of the icons sprite
2023-03-24 15:31:58 +00:00
Sage Abdullah
8285936d99
Add missing changelog for #10223 and #10255 in 4.1.4 and 4.2.2
2023-03-24 15:31:43 +00:00
Sage Abdullah
22c5de6dd0
Handle multi-valued query parameters in ModelAdmin IndexView
...
Ref: https://github.com/django/django/pull/16621
Without this change, the filters break in Django 5.0 because the ListFilter class expects the value to be a list
2023-03-23 18:40:20 +00:00
Matt Westcott
15821675e8
Release note for #10241
2023-03-23 14:17:44 +00:00
Sage Abdullah
094bb83848
Allow customising the number of snippets per page on the chooser view
2023-03-23 14:15:47 +00:00
Sage Abdullah
f533ab219d
Allow customising the number of snippets per page on the listing view
2023-03-23 14:15:42 +00:00
Matt Westcott
8d2b1c68cb
Release note for #10235
2023-03-23 13:55:42 +00:00
Sage Abdullah
b713a1753e
Allow admin URL customisation for snippet chooser views via SnippetViewSet
2023-03-23 13:54:59 +00:00
Sage Abdullah
9f070f6262
Make sure hooks are loaded when looking for snippet models
...
Snippets can be registered in wagtail_hooks.py by calling register_snippet as a function instead of a decorator. If there is code that looks for snippet models and is executed before hooks are loaded, it may lead to incorrect results.
For example, the create_extra_permissions function is connected to the post_migrate signal, which gets called very early when testing. Without this change, running wagtail.snippets.tests.test_locking separately will result to a failing test because the permissions for FullFeaturedSnippet (that is registered in wagtail_hooks) have not been set up, as the testapp's hooks have not been called by the time the post_migrate signal is sent.
2023-03-23 13:54:54 +00:00
Sage Abdullah
e6d920d435
Add docs and tests for snippets admin URL customisation
2023-03-23 13:54:49 +00:00
Sage Abdullah
dc44e571c8
Allow admin URL customisation for snippets via SnippetViewSet
2023-03-23 13:54:43 +00:00
Sage Abdullah
9f33ef3137
Add missing extra CSS and JS defined by filters in snippets listing view
...
- Fixes #10254
2023-03-23 09:06:33 +10:00
Matt Westcott
5f154a5a51
Release note for #10178
2023-03-22 15:30:42 +00:00
Daniel Kirkham
198388bf55
Add docs and tests for customising snippet icons
2023-03-22 15:15:30 +00:00
Sage Abdullah
c2d4f89692
Use SnippetViewSet.icon in SnippetBulkAction
2023-03-22 15:05:18 +00:00
Sage Abdullah
dd54899ec8
Pass icon to AdminSnippetChooser in SnippetViewSet.register_chooser_widget()
...
This effectively sets the chooser widget icon to use SnippetViewSet.icon
2023-03-22 15:05:12 +00:00
Sage Abdullah
def6723a21
Allow BaseChooser widget to accept an icon kwarg
2023-03-22 15:05:06 +00:00
Daniel Kirkham
fd1ccbc669
Allow a custom icon in SnippetViewSet to be used across the admin views
2023-03-22 15:03:48 +00:00