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
Matt Westcott
5703bc1133
Fix disabled style on StreamField add button
...
Fixes #9512
An `opacity: 0.2` style is defined for the disabled button state, but the `opacity: 1` hover style takes precedence over it. As a result, the only time it kicks in - on media with hover support - is when the StreamField does NOT have hover / focus, which would ordinarily be the time when the button is hidden entirely.
Fix this by adding hover states to the `&[disabled]` case, to match the order of precedence for the normal button state.
2022-11-07 12:24:54 +00:00
Theresa-o
0ebdd51882
Fix help block <a> to meet colour contrast guidelines
...
- Fixes #9569
2022-11-07 19:56:36 +10:00
LB Johnston
9118de1850
Add changelog for #9617
2022-11-07 19:51:13 +10:00
LB Johnston
acd412e8f3
Update gettext unit tests to clearly test their functionality
...
- instead of mocking the Django global functions, test each function's export that it correctly uses the global if present or test the default behaviour
2022-11-07 19:51:13 +10:00
LB Johnston
e609f15a93
Ignore test files from extract-translatable-strings
...
Avoid unit test translation usage from being added to translation strings
2022-11-07 19:51:13 +10:00
LB Johnston
2b14d0407d
Fix up changelog & release notes for #9567
2022-11-07 19:35:42 +10:00
LB Johnston
cad419ea9e
Prettier linting - clean up ignored file (search promotions)
...
- remove specific file in .prettierignore and add inline comments to allow for linting / formatting for the searchpromotions_formset
- Split from #9522
2022-11-07 19:34:57 +10:00
LB Johnston
57e75df15d
Add 4.1.1 changelog/release notes section
...
- Include bug fix reference for #9530
2022-11-07 08:38:06 +10:00
Matt Westcott
43d70b84fe
Make audit log tests ordering-agnostic ( #9611 )
...
While running tests for an unrelated fix I received a one-off random test failure, where the 'create' and 'publish' log entries were returned in the wrong order. Since these log entries are created at the same time, it's possible that the timestamps will be closer together than the database's resolution - this should not be considered a test failure. Avoid this by explicitly ordering by action codename instead.
2022-11-06 23:33:32 +01:00
LB (Ben Johnston)
f6a35268c7
cleanup - remove commented out scss in _listing.scss ( #9619 )
2022-11-06 23:27:05 +01:00
Stefan Hammer
5584b44ca7
Wrap JS in missing callbacks for DOMContentLoaded
...
Until now, those calls have been executed synchronously with the call of addEventListener.
Fixes #9528
Fixes issue where home page lock/unlock would not work at all (data-url should be used)
2022-11-07 08:10:37 +10:00
LB Johnston
1fe9581548
Add documentation for register_user_listing_buttons hook
...
- Has existed since Wagtail ~1.6 but never documented
2022-11-07 06:59:24 +10:00
Yekasumah
aeae816b27
Fix comments notice background overflow ( #9567 )
2022-11-04 18:24:13 -04:00
Matt Westcott
5a249d4e9c
Add Stefan Hammer to core team
2022-11-02 11:59:09 +00:00
LB (Ben Johnston)
68f52c8154
Add contributor for #9338
2022-11-02 21:04:59 +10:00
Jordan-Rob
9c29e6a12e
Remove duplicate code to escape HTML in JavaScript
...
* added an import for escapeHtml from utils/text and added back window.escapeHtml = escapeHtml
* Fixes #9492
2022-11-02 06:41:14 +10:00
Sage Abdullah
f1b30cc87c
Run Python tests with coverage and upload coverage data to codecov
2022-11-02 06:33:38 +10:00
Matt Westcott
c1412685fd
Update latest.txt to reference 4.1
2022-11-01 12:40:59 +00:00
Matt Westcott
9764d53624
Fill in release date for 4.1
2022-11-01 11:03:33 +00:00
Matt Westcott
8e0925c406
Fetch new translations from Transifex
2022-11-01 11:03:33 +00:00
Marvis Chukwudi
b9a5f9e333
Documentation - Minor punctuation and capitalisation fixes ( #9508 )
2022-11-01 20:42:54 +10:00
Thibaud Colas
b7c04ed960
Avoid force-scrolling the minimap when unneeded
2022-10-31 23:09:58 +00:00
Thibaud Colas
3e2cbea51a
Ignore "collapse all" for minimap hover reveal
2022-10-31 23:09:58 +00:00
Thibaud Colas
769d3e2340
Add animated transition for minimap reveal
2022-10-31 23:09:58 +00:00
Thibaud Colas
8679d29233
Fix minimap toggle button remaining visible when closing
2022-10-31 23:09:58 +00:00
Thibaud Colas
24f432dfb4
Fix legacy dropdown buttons using a different size from toggle. Fix #9476 ( #9551 )
2022-10-31 16:06:33 +00:00
Thibaud Colas
05951b3501
Re-add editor guide link ( #9539 )
2022-10-28 15:42:04 +01:00
Jake Howard
66421dac13
Performance page cleanup ( #9362 )
...
* Clean up the performance page structure
Many of the sections mentioned here will improve performance for much more than just the editor experience.
* Link to Django's performance page
2022-10-28 10:33:00 -04:00
Matt Westcott
919dab00e5
Fix editors guide link
2022-10-28 12:53:09 +01:00
Matt Westcott
67987ea2a8
Generate new strings for translation
2022-10-28 12:13:36 +01:00
Matt Westcott
d8ff3cbcf2
Fix JS string extraction for ngettext
...
The definition for ngettext in extract-translatable-strings had incorrect argument positions, and as a result strings translated with ngettext were missed from the .po file.
2022-10-28 11:30:19 +01:00
Thibaud Colas
8090e33a26
Update editor guide link in CMS to avoid redirect
2022-10-28 10:16:32 +01:00
Thibaud Colas
42f5ea1fc8
Move editor guide content to its own website
2022-10-28 10:16:32 +01:00
Matt Westcott
b848254873
Apply correct pluralisation to minimap error count
...
Fixes #9497
2022-10-28 07:20:03 +10:00
Thibaud Colas
a2f491e0d8
Update non-editor-guide screenshots
2022-10-28 06:25:47 +10:00
Jake Howard
c6afb0069d
Performance docs - Mention the importance of passing request
and current_site
to get_url
...
- Co-authored-by: Andy Babic <ababic@users.noreply.github.com>
2022-10-28 06:24:38 +10:00
LB Johnston
a748497543
Add changelog for #9148
2022-10-28 06:18:58 +10:00
LB Johnston
f362377b04
update node usage to node 18
...
- fixes #8499
2022-10-28 06:18:58 +10:00
LB Johnston
32aa35b23a
update development docs to only recommend fnm
...
- this works better for windows, is faster and avoids confusion by recommending one thing only
2022-10-28 06:18:58 +10:00
Sage Abdullah
78a7652f6b
Move scheduled publishing dialog root to editor form element
2022-10-27 17:39:51 +01:00
Sage Abdullah
74794eac53
Allow dialog component to accept classname in context
2022-10-27 17:39:51 +01:00
LB Johnston
2cf9b0e62f
Update contributor name for #9465
2022-10-27 20:42:44 +10:00
Lovelyfin00 (Nutjob)
bd62927958
Ensure logo shows correctly on log in page in Windows high contrast
...
- Added a class to the logo image and also added forced mode to the logo image class
- Fixes #9428
2022-10-27 08:29:09 +10:00
xomcodes
3dcde23e02
Fixed auth form field padding (Log in / password reset)
...
- Fixes #9440
2022-10-27 08:01:08 +10:00
DokuaAsiedu
af9f7ecbb3
Add docs & unit tests for assertCanCreate with publish ( #9458 )
...
- Builds on #9458
2022-10-27 07:54:32 +10:00