Thibaud Colas
d58c90db5d
Update accessibility contribution guidance in bug report and PR templates ( #7142 )
...
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2021-05-11 16:57:29 +01:00
Matt Westcott
7fbd656a43
flake8
2021-05-11 15:07:48 +01:00
Matt Westcott
aa2d10c713
Release note for #6477
2021-05-11 15:05:59 +01:00
Matt Westcott
c1f1c2e95c
Copyediting for group view customisation docs
2021-05-11 14:56:33 +01:00
Matt Westcott
604e4d7297
Simplify get_group_viewset_cls
2021-05-10 15:56:47 +01:00
Jan Seifert
9dda314263
Allow GroupViewSet to be customised ( #6477 )
2021-05-10 14:43:53 +01:00
Matt Westcott
3f128b554e
Prevent JS error on URL hashes that are not tabs ( #7169 )
...
The tab code looks for the presence of a URL hash and calls showTab on a link with that href, without checking that the link A) actually exists and B) is a tab as identified by the data-tab attribute. As a result, non-tab-related uses of URL hashes (such as simply visiting /admin/#foo) throw a JS error.
2021-05-07 17:02:08 +01:00
Karl Hobley
8eb0ddfbc3
Add filter to hide all commenting actions from history
2021-05-07 13:08:46 +01:00
Kevin
3a4f7d9e36
Change 'iff' to 'if and only if' to avoid confusion. ( #7158 )
2021-05-06 17:28:30 +01:00
Matt Westcott
c1d3b87674
Prevent StreamField initialisation from being broken by colliding HTML IDs ( #7152 )
...
Fixes #7146 - the root StreamField element is now matched by ID _and_ having a data-block attribute. (Duplicate IDs are invalid HTML and the 'proper' fix would be to add a global prefix to form fields, particularly since this problem isn't necessarily specific to StreamFields - but that would be a bigger breaking change.)
2021-05-06 09:45:23 +01:00
fabienheureux
6d01ced56b
Fix usage of html syntax instead of html+django ( #7138 )
2021-05-05 11:08:40 +01:00
Storm Heg
4d67cc8bb3
Add release notes for #7126
2021-05-04 21:16:11 +02:00
Tijani-Dia
06b6f91b91
Admin URLs respect APPEND_SLASH setting ( #7126 )
...
* Modified urlconf regex for default view depending on settings.APPEND_SLASH
Fixes #5331
Co-authored-by: tijani <tijani-dia@github.com>
2021-05-04 21:15:48 +02:00
Matt Westcott
9d29ba862c
Document idForLabel on the telepath widget API
...
Fixes #7145
2021-05-04 16:01:01 +01:00
Karl Hobley
19671c7073
Remove no longer needed enable_comment_panel hack
2021-05-04 15:07:03 +01:00
Karl Hobley
c6d15175e8
Remove unneeded check from log_commenting_changes
2021-05-04 15:07:03 +01:00
Karl Hobley
8be72de524
Check for commenting changes in workflow actions too
...
One of them checks has_content_changes before creating a revision. Think
it's worth checking this in all variants for consitency, and also so we
don't forget to update the logic if we ever move comments out of
content in the future.
2021-05-04 15:07:03 +01:00
Karl Hobley
935ad479db
Added methods to Comment and CommentReply for creating logs
2021-05-04 15:07:03 +01:00
Karl Hobley
0e184aefdc
Make get_commenting_changes return a dict
2021-05-04 15:07:03 +01:00
Karl Hobley
8d19454a49
Allow log actions to define comments
2021-05-04 15:07:03 +01:00
Karl Hobley
122f509b1d
Move comment formatting logic to LogActionRegistry
2021-05-04 15:07:03 +01:00
Karl Hobley
7494075e98
Add basic audit logging for replies
2021-05-04 15:07:03 +01:00
Karl Hobley
5089195cf3
Add basic audit logging for comments
2021-05-04 15:07:03 +01:00
Karl Hobley
5b197bab8b
Add get_commenting_changes method to EditView
2021-05-04 15:07:03 +01:00
Karl Hobley
5e13a74a6d
Allow message formatters to take the whole log entry record
2021-05-04 15:07:03 +01:00
jacobtoppm
722d8836a9
Remove explicit height from comment-list to stop overflow on short pages
2021-05-04 15:05:19 +01:00
Karl Hobley
437a098ece
Update ts-loader to 9.1.1
...
Current version is incompatibile with our version of Webpack.
Fixes #7153
2021-05-04 14:48:56 +01:00
Karl Hobley
09e0126583
Add .get_users() method to log entry query sets
2021-05-04 14:39:19 +01:00
Karl Hobley
074f673629
Split views/reports.py into multiple files
2021-05-04 14:39:19 +01:00
Karl Hobley
b03279e7e2
Move non-reusable filter set classes into their respective views
2021-05-04 14:39:19 +01:00
jacobtoppm
8eca778314
Swap footer__save-warning class to child to correct spacing
2021-05-04 10:48:18 +01:00
jacobtoppm
af92d56b49
Fix unsaved changes warning not hiding fully on mobile
2021-05-04 10:16:23 +01:00
jacobtoppm
f7bc89c03e
Remove teal line under active tab and align tab and comment text better
2021-05-04 10:16:23 +01:00
Karl Hobley
d50da87cf4
Get commenting stories working again
2021-05-03 17:05:56 +01:00
Karl Hobley
b9d61ab82a
Use stubs in storybook
2021-05-03 17:05:56 +01:00
Karl Hobley
325587c3d2
Update to a pre-release of Storybook 6.3
...
https://stackoverflow.com/questions/67070802/webpack-5-and-storybook
2021-05-03 17:05:56 +01:00
Karl Hobley
d927838b6c
Add crypto to storybook fallbacks
2021-05-03 17:05:56 +01:00
Karl Hobley
66ff35ea52
Installed storybook
...
- Run `npx -p @storybook/cli sb init --type react --builder webpack5`
- Moved .storybook and stories folders into client
- Run `npm i --save-dev html-webpack-plugin@latest` to workaround https://github.com/storybookjs/storybook/issues/13332
- Add storybook-static to .gitignore
2021-05-03 17:05:56 +01:00
jacobtoppm
59f63abdad
Add documentation for commenting
2021-04-30 17:46:08 +01:00
Matt Westcott
85c97fe87f
Drop support for Django 2.2
2021-04-30 10:33:41 +01:00
jacobtoppm
9b1156210c
Prevent Draftail rerender when editing comments
2021-04-29 10:58:07 +01:00
Matt Westcott
6f87665735
Remove Django 2.2 from Wagtail 2.14 compatibility list
2021-04-29 10:31:39 +01:00
Matt Westcott
e316d1f424
Add note about end of Django 2.2 support
2021-04-29 10:30:52 +01:00
jacobtoppm
6c3647f3c5
Fix comment reply actions padding
2021-04-28 17:36:07 +01:00
Naomi I. Morduch Toubman
552ee52e43
Update core team ( #7123 )
...
* Alphabetize core team in contributors list
* Update core team list
* Add Cynthia, Martin, & Storm to the core team list
2021-04-28 11:27:59 -04:00
jacobtoppm
7be2006e8d
Align comment notification with comment bottom
2021-04-28 16:21:52 +01:00
Jacob Topp-Mugglestone
c652e67c5e
Feature/commenting streamfield hover fix ( #7131 )
...
* Fix streamfield comment buttons not showing on hover
* Fix hover colour change only happening for some comment buttons
2021-04-28 16:21:16 +01:00
jacobtoppm
0c27528dda
Swap sr-only class for visuallyhidden, as sr-only is from bakerydemo css
2021-04-28 10:29:46 +01:00
jacobtoppm
24899dddb8
Add WAGTAILADMIN_COMMENTS_ENABLED default to docs
2021-04-28 10:08:13 +01:00
Matt Westcott
cf3c328f71
Make StreamField block objects available globally
2021-04-28 09:16:58 +01:00