Albina
2508b712a9
Language label fine-tunes ( #12136 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-07-19 12:48:55 +01:00
SebCorbin
966f2df4ce
Fix focal point data being localized
2024-07-19 12:19:16 +01:00
Th0masCat
5cc28acc56
Fix not allowed extension not showing in the error message
2024-07-19 12:07:36 +01:00
Matt Westcott
f82f6fd2b7
Downgrade minimum version of Sphinx for Python 3.8 compatibility
...
In 5a8c33f34a
the minimum version was set to 7.3 to allow use of the long-form `--fail-on-warning` option, but this is not compatible with Python 3.8. Revert this to the original `-W` option and set 7.0 as the minimum version.
2024-07-19 12:01:18 +01:00
Nathanaël Jourdane
5a8c33f34a
doc: fix pdf export ( #12076 )
2024-07-19 01:27:07 +01:00
Matt Westcott
e066424163
Release note for #12044
2024-07-19 00:23:55 +01:00
Matt Westcott
a7d72f9fbf
Fix formatting errors
2024-07-19 00:21:39 +01:00
Chris Shenton
d1c020cd5f
Fix Page.copy ref; silence warnings due to Sphinx missing support for type hints
...
Builds upon HimanshuGarg47:fix/11972-documentation-build-with-errors
2024-07-18 23:15:58 +01:00
Himanshu Garg
de4eee4849
update 1.1.rst
2024-07-18 23:15:51 +01:00
Himanshu Garg
9adf742580
fixes errors by adding aliases, double backtick, changing indexentry
2024-07-18 23:15:40 +01:00
Himanshu Garg
e02ca6ce62
fixes some of errors by removing directives
2024-07-18 23:13:26 +01:00
Sage Abdullah
6b5662cbdc
Release note for #12023
2024-07-18 18:26:38 +01:00
Sage Abdullah
9ac9a93e54
Reinstate canAddBlock assertions for StreamBlock and ListBlock's max_num
2024-07-18 18:26:14 +01:00
Matt Westcott
6eacfec4ec
Add tests for showing / hiding errors on per-block-type min_num
2024-07-18 18:26:14 +01:00
Matt Westcott
b2f49f64a1
Add tests for showing / hiding errors on per-block-type max_num
2024-07-18 18:26:13 +01:00
Matt Westcott
c510d7f720
Show error when ListBlock falls below min_num
2024-07-18 18:26:13 +01:00
Matt Westcott
14325d4615
Show error when StreamBlock falls below min_num
2024-07-18 18:26:13 +01:00
Matt Westcott
23df591435
Show error on exceeding ListBlock maxNum, rather than disabling addition
2024-07-18 18:26:13 +01:00
Matt Westcott
0fb10fb663
Show error on exceeding StreamBlock maxNum, rather than disabling addition
...
As per #9513 / #9784
2024-07-18 18:26:13 +01:00
smark-1
95eac5ab78
Allow page to change private page options
2024-07-18 17:23:30 +01:00
Albina
2d568dd825
Content checks design upgrade: help text and separate cards ( #12090 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-07-16 22:27:27 +01:00
Albina
62674d3fbb
Add underscore as an alt text antipattern ( #12119 )
2024-07-16 08:53:23 +01:00
Thibaud Colas
707467503d
Release notes for #12092
2024-07-16 08:08:26 +01:00
Sage Abdullah
063c52e1f2
Move inline script for activating workflow actions to workflow-action.js
...
Also deprecate the `window.ActivateWorkflowActionsForDashboard` and
`window.ActivateWorkflowActionsForEditView` functions as they no longer
need to be globally-accessible
2024-07-16 08:08:26 +01:00
Sage Abdullah
d0bdb3f769
Revert "Fix workflow action buttons in awaiting review dashboard panel"
...
This reverts commit b3846a63fc
.
It's a partial revert as the changes to DropdownController itself is
still useful, since it allows us to target the 'shown' event on the more
specific element instead of the document.
2024-07-16 08:08:26 +01:00
Sage Abdullah
1dd45f1cb8
Keep actions dropdown mounted in the 'workflow objects to moderate' dashboard item
...
For the same reason as the change to the footer actions in the editor
2024-07-16 08:08:26 +01:00
Sage Abdullah
8da32170c2
Revert "Fix workflow action buttons initialisation in footer actions"
...
This reverts commit fa267c9b1a
.
2024-07-16 08:08:26 +01:00
Sage Abdullah
bbb083a183
Keep footer actions dropdown mounted
...
This allows us to more easily hook up any event listeners for elements in the dropdown on init. Without keeping it mounted, Tippy will immediately unmount the content, making it impossible for attaching event listeners without listening for the dropdown's show event
2024-07-16 08:08:26 +01:00
Sage Abdullah
9d1bf256a2
Simplify revision checking and the ordering of editing sessions
2024-07-12 09:43:56 +01:00
Sage Abdullah
5efef7e440
Only show the current user in other sessions if there is one that's editing or there's a new revision made by the user
2024-07-12 09:43:56 +01:00
Sage Abdullah
7b11422a55
Use a snippet model without RevisionMixin for testing EditingSession
...
We want to make sure the feature works (without the new version
detection) when using a snippet model that does not use RevisionMixin.
We don't have any tests that ensures the new version detection works
with a RevisionMixin-enabled snippet. We can add those later, but the
code itself doesn't make a special-case between snippet vs pages, so
it's probably okay to skip them.
2024-07-12 09:43:56 +01:00
Sage Abdullah
1f67b5ae1d
Add test for editing session ping when latest revision has no associated user
2024-07-12 09:43:56 +01:00
Sage Abdullah
c58e156cd9
Prioritise sessions with revision_id, is_editing, and oldest ID
2024-07-12 09:43:56 +01:00
Sage Abdullah
349d052bbe
Only annotate the newest revision in the editing sessions
2024-07-12 09:43:56 +01:00
Sage Abdullah
d302a51751
Handle validation error when saving EditingSession
2024-07-12 09:43:56 +01:00
Sage Abdullah
08bc2cd367
Require POST for editing session ping endpoint
2024-07-12 09:43:55 +01:00
Sage Abdullah
86b29fe588
Rename 'editing' query param to 'is_editing'
2024-07-12 09:43:55 +01:00
Matt Westcott
af830636b1
Include recently-saved revision data in other_sessions
2024-07-12 09:43:55 +01:00
Matt Westcott
23072c8dae
In ping response, merge multiple editing sessions by the same user
...
This will simplify the logic when we come to incorporate revision data, since A) we have a lookup by user ID to work with, and B) if a user has multiple sessions AND a revision, we'd have to arbitrarily choose one session to attach the revision data to.
2024-07-12 09:43:55 +01:00
Matt Westcott
cee7f389ab
Add is_editing flag to EditingSession
2024-07-12 09:43:55 +01:00
Albina
14f3d4607f
Add content metrics board ( #12058 )
2024-07-11 14:58:19 +01:00
Matt Westcott
15378899e2
Update latest.txt for 6.1.3 and 5.2.6
2024-07-11 12:59:43 +02:00
Matt Westcott
60d95b6f71
Add missing release notes for 6.1.3
2024-07-11 12:51:56 +02:00
Matt Westcott
3cbf7e01bc
Fix test syntax for Python<=3.11
2024-07-11 12:13:27 +02:00
Matt Westcott
323af126b7
Fetch new translations from Transifex
2024-07-11 11:56:07 +02:00
Matt Westcott
74b2f54e05
Add release notes / fill in release date for 6.1.3
2024-07-11 11:43:18 +02:00
Matt Westcott
26de9fdc19
Add release notes for 6.0.6
2024-07-11 11:41:57 +02:00
Matt Westcott
11c061e51e
Fill in release date for 5.2.6
2024-07-11 11:41:38 +02:00
Matt Westcott
7c16075342
Release note for CVE-2024-39317 in 5.2.6
2024-07-11 11:40:54 +02:00
Jake Howard
8667318326
Require word boundaries before search query filters (CVE-2024-39317)
...
Requiring a word boundary before the start of a filter prevents backtracking, as substrings of the filter name are no longer valid filter names.
This also makes matching around an order of magnitude faster.
2024-07-11 11:40:32 +02:00