Wykres commitów

11421 Commity (acb016a255d09ae0c46b2b778733871c1db20f56)

Autor SHA1 Wiadomość Data
Cynthia Kiser acb016a255
Update sponsors list with recent contributions ()
* Update sponsors list with recent contributions
2021-05-17 10:09:08 +01:00
Helen Chapman 868f19c95d
Prevent “Forgotten password” link from overlapping with field on mobile devices ()
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-05-14 22:26:44 +01:00
Matt Westcott abf9199682 Remove redundant badges from readme
* Codecov is only tracking JS coverage, so displaying a coverage figure for the whole project is misleading
* wagtail-slack.now.sh appears to be dead
2021-05-14 16:18:22 +01:00
Karl Hobley 8e25960972
Telepath set up for new sidebar
* Add ability to register multiple hooks with register_temporarily

It's not possible to add multiple items in a ``with`` block in multiple
lines. So to register multiple hooks, you either need to put them all on
one line or add many nested ``with`` blocks.

This commit adds the ability to pass in a list of hooks into one call.
This works around the syntax error, but there's still no way to
represent this in a way that flake8 is happy with so I've added
``#noqa`` in a few places.

* Telepath set up for new sidebar

* unindent hooks.register_temporarily with blocks

Co-authored-by: Matt Westcott <matt@west.co.tt>

* Update wagtail/core/telepath.py

Co-authored-by: Matt Westcott <matt@west.co.tt>

Co-authored-by: Matt Westcott <matt@west.co.tt>
2021-05-14 16:16:55 +01:00
Matt Westcott cfadc59acc Fix eslint/csslint warnings about line length / indenting 2021-05-13 16:09:02 +01:00
Matt Westcott 53ab6741b5 Fill in release date for 2.13 2021-05-12 14:58:08 +01:00
Matt Westcott 7feb2f4b2a Fetch new translations from Transifex 2021-05-12 14:51:56 +01:00
Coen van der Kamp 95693efc10
Disable options without translated parent. Add help text. () 2021-05-12 13:49:36 +01:00
Matt Westcott 7b0b8e2eb6 Add note about incompatibility with other streamfield replacement packages 2021-05-12 12:03:02 +01:00
Matt Westcott 004bcf2650
Add documentation for custom JS on StructBlocks ()
* Document the need for data-contentpath with StructBlock.form_template

* Add documentation for custom JS on StructBlocks
2021-05-12 11:52:25 +01:00
Dan Braghis df772cffea
Add feedback section in the release notes () 2021-05-12 11:22:26 +01:00
Thibaud Colas d58c90db5d
Update accessibility contribution guidance in bug report and PR templates ()
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 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 () 2021-05-10 14:43:53 +01:00
Matt Westcott 3f128b554e
Prevent JS error on URL hashes that are not tabs ()
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. () 2021-05-06 17:28:30 +01:00
Matt Westcott c1d3b87674
Prevent StreamField initialisation from being broken by colliding HTML IDs ()
Fixes  - 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 () 2021-05-05 11:08:40 +01:00
Storm Heg 4d67cc8bb3
Add release notes for 2021-05-04 21:16:11 +02:00
Tijani-Dia 06b6f91b91
Admin URLs respect APPEND_SLASH setting ()
* Modified urlconf regex for default view depending on settings.APPEND_SLASH

Fixes  

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 
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 
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