Wykres commitów

11837 Commity (9aa2f68dfa04d5ab21eab059fc5432e7fcfee883)

Autor SHA1 Wiadomość Data
Matt Westcott f8f7f543b3
Update contributing docs to specify Node 14 2021-08-31 10:32:40 +01:00
infinityplusone 5f3207ca43 add object count to modeladmin header listing view 2021-08-31 11:53:34 +10:00
Chris 5593b8b42e Fix: Update elasticsearch path in documentation
New location: https://github.com/wagtail/wagtail/blob/main/wagtail/search/backends/elasticsearch7.py
2021-08-31 11:29:56 +10:00
dependabot[bot] 7804b9e3a4 Bump tar from 6.1.0 to 6.1.3
Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.3.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 11:15:49 +10:00
dependabot[bot] 637377292b Bump trim-newlines from 3.0.0 to 3.0.1
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases)
- [Commits](https://github.com/sindresorhus/trim-newlines/commits)

---
updated-dependencies:
- dependency-name: trim-newlines
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 11:15:37 +10:00
dependabot[bot] ed95f6308b Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 11:15:17 +10:00
LB Johnston 277e5481e7 update node requirements to node v14
- fixes #7473
2021-08-31 11:11:26 +10:00
fabienheureux cb08c997ea
Make all edit panels collapsible (#7365)
* Make more panels type collapsible
* Remove duplicate js in homepage template
* Move collapsible code into its own js file
* Change $li to $target in collapsible.js, as in #6342

Closes #7364, #6342, #6187, #2123

Co-authored by: Fabien Le Frapper <contact@fabienlefrapper.me>
Co-authored-by: Robbie Mackay <rm@robbiemackay.com>
Co-authored-by: Scott Cranfill <scott.cranfill@jpl.nasa.gov>
2021-08-30 08:33:43 -07:00
Chakita b5abd8b155 High-contrast mode: restored vertical separation between field panels
- fixes #7455
2021-08-30 20:10:15 +10:00
Stefan Hammer 22a35b70d2 Fix home icon in breadcrumbs for limited-permission users, fixes #7348
- The html has just been synced with the html for unlimited users
2021-08-30 19:56:17 +10:00
amychan331@yahoo.com f1b3bbc52f Update form label css to be readable by screen reader
- login screen
2021-08-30 19:12:22 +10:00
LB Johnston 5d2794b932 add release note for #7381 2021-08-25 07:38:44 +10:00
Matt Westcott eca0e2d413 Add 'only' to prevent action_url from leaking into header.html's context and creating a spurious action button
Have confirmed that this doesn't strip out any context variables that we do rely on - IndexView is the only thing descending from the generic base template which customises the header beyond title/subtitle/icon, and it does that by explicitly passing parameters to `include`, not by having them floating around in the template context.
2021-08-25 07:38:44 +10:00
Matt Westcott 433fc29479 Remove redundant (and/or just plain wrong) sites-list div 2021-08-25 07:23:43 +10:00
Matt Westcott b89e298c08 Give generic/create.html and generic/edit.html a shared form.html base template 2021-08-25 07:23:43 +10:00
Matt Westcott 20385adde2 Add a mixin / base template to handle the admin page furniture including header
Fixes the inconsistency where some views have a subtitle attribute available and some don't.
2021-08-25 07:23:42 +10:00
Matt Westcott 2271dc6d2f Rejig generic/create.html to match edit.html 2021-08-25 07:23:42 +10:00
Matt Westcott c919d4c3b3 release note for #7425 2021-08-24 15:57:03 +01:00
Matt Westcott 1d5c696785 double backticks 2021-08-24 15:55:17 +01:00
Matt Westcott 1155373d72 "simplest way" -> "preferred way" 2021-08-24 15:42:04 +01:00
Matt Westcott 8921cb3a4d More helpful error message when passing a non-component to the component template tag 2021-08-24 15:42:04 +01:00
Matt Westcott e777517950 Update docs on action menu items to cover new API 2021-08-24 15:42:04 +01:00
Matt Westcott 83d24c8346 Link to release notes from deprecation warnings 2021-08-24 15:42:04 +01:00
Matt Westcott 1ad6f3518c Update docs to cover use of components in homepage panels / summary items 2021-08-24 15:42:04 +01:00
Matt Westcott 428c4c7a3f Documentation for template components 2021-08-24 15:42:04 +01:00
Matt Westcott f73a59402d Add tests for {% component %} tag, including HTML escaping 2021-08-24 15:42:04 +01:00
Matt Westcott 21d5a9bbfc Convert SiteSummaryPanel to a Component
Ensure that media defined on summary items is pulled through to the template.
2021-08-24 15:42:04 +01:00
Matt Westcott 18a093e14b update get_context on built-in summary items 2021-08-24 15:42:04 +01:00
Matt Westcott 0fbf2fff30 Update SummaryItem to use components 2021-08-24 15:42:04 +01:00
Matt Westcott a2c0ca346f Ensure that media defined on homepage panels is pulled in 2021-08-24 15:42:04 +01:00
Matt Westcott 10122a7590 Convert homepage panels to use components 2021-08-24 15:42:04 +01:00
Matt Westcott 28004176e0 convert snippet ActionMenuItems to components 2021-08-24 15:42:04 +01:00
Matt Westcott 08c7b48d3b Extract a reusable Component pattern from ActionMenuItem 2021-08-24 15:42:04 +01:00
Seb a9f13d2dfb Apply list styles for MultipleChoceFields 2021-08-24 08:34:40 +10:00
LB Johnston 1b50c74424 add release notes for #7209 #7251 #7446 2021-08-23 20:46:09 +10:00
Matt Westcott fe3b9446e9 Add a separate URL endpoint for document search results include
Eliminates use of request.is_ajax
2021-08-23 20:37:36 +10:00
Matt Westcott 9fd2ad03d3 Use TemplateView for documents index 2021-08-23 20:37:36 +10:00
Matt Westcott 45aa59f519 Convert documents index to a class-based view 2021-08-23 20:37:36 +10:00
Dmitrii Faiazov fb66c1fd17 Styling for Windows high contrast
- add media queries for icons & logos
- fix issue with color problems
2021-08-23 20:15:08 +10:00
dex 415c74b892 Updated the formatting of the bullets
We also need to update the screenshot so it matches the new description. Not sure how to do that.
2021-08-20 17:10:55 +01:00
Andy Chosak e9e1a48b68 Fix broken references in Pages topic documentation
The "Page models" documentation page in the Wagtail usage guide has
several broken links (see current page at
https://docs.wagtail.io/en/stable/topics/pages.html).

These links work when developing the documentation locally, but not when
served on ReadTheDocs (docs.wagtail.io)

The broken links are all of the form /some/page.html#anchor - somehow
this format doesn't translate properly to get the necessary RTD prefix
(for example /en/stable/).

I've modified these links to use RST references, which will also make
them more robust to future changes.
2021-08-20 17:08:35 +01:00
Thibaud Colas 2e7203f2fa
Add specific CONTRIBUTING.md call to action for accessibility testing (#7462) 2021-08-20 16:32:37 +01:00
Andy Chosak b349ba436e Add missing args/kwargs to Page documentation
Documentation examples of `Page.get_context` and `Page.get_template`
lack `*args` and `**kwargs` parameters (which were added way back in
8c4c268641).

This commit adds those missing parameters.
2021-08-19 19:31:07 +01:00
Alex Tomkins c825261bd1 Fix session key generation for wagtail previews (#7393)
Fixes #7392
2021-08-19 19:29:08 +01:00
Jake Howard 90c86e76d0 Add a debug logger around rendition generation (#7391)
This allows insight into which images are taking the longest to generate, which fail to render at all, and potentially which images are causing crashes (as in they start, but never stop).

The logging is intentionally only on DEBUG level, so it's opt-in, and is also reasonably quiet so it doesn't bloat logs.
2021-08-19 19:00:13 +01:00
LB Johnston 8d36168c5c documentation - add third party tutorials from late 2020 to now 2021-08-19 18:53:20 +01:00
Martey Dodoo d2eb7fd520 Allow use of xlsxwriter 2.0 and 3.0.
Update xlsxwriter constraint to allow usage of xlsxwriter 2.0 and 3.0.
The latter version includes significant improvements to xlsxwriter's
performance.
2021-08-19 14:51:18 +01:00
Matt Westcott 2818e10a25 Add Jannis Vajen to contributors 2021-08-19 14:49:20 +01:00
Jannis Vajen fd42d192c9 Fix typo in StructBlock documentation
The StructValue class `LinkValue` is refrerenced as `LinkStructValue` in the Meta class.
2021-08-19 14:48:16 +01:00
DeviousLab 2d741386c4 Add publish instructions for child pages in tutorial #7430
Added extra instruction to publish a blog post rather than save as a draft for the overriding section.
2021-08-13 17:30:51 +01:00