0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00
Commit Graph

12981 Commits

Author SHA1 Message Date
Tom Hu
1f3605b98a chore(ci): add informational Codecov status checks
we were usng Codecov but weren't actually getting any notifications on pull requests.
Update codecov.yml
Removing `after_n_builds` as there is only 1 build
2022-05-13 08:16:12 +10:00
Fabien Le Frapper
aad51b2bb2 Update docs/reference/contrib/frontendcache.rst
Co-authored-by: Jake Howard <RealOrangeOne@users.noreply.github.com>
2022-05-13 08:15:35 +10:00
Fabien Le Frapper
aff9b9a623 fix linting issues 2022-05-13 08:15:35 +10:00
Fabien Le Frapper
44456ff4dd Fix typo that broke a link 2022-05-13 08:15:35 +10:00
Fabien Le Frapper
b54e9cbc62 Add instructions about where to find cloudflare zone id 2022-05-13 08:15:35 +10:00
LB Johnston
d9981e0ec7 fix up spelling in documentation & docstrings (should be en-GB not en-US)
- customize -> customise
- color -> colour
- customizing -> customising
- organize -> organise
2022-05-13 08:13:06 +10:00
Stefan Hammer
885b593234 Use FormData for docs/images add-multiple's edit handling
The ajax-request now uses multipart/form-data, similar to
image-chooser-modal.js/document-chooser-modal.js, which allows to add
and use FileFields in the bulk-upload-views.
2022-05-13 08:07:29 +10:00
LB (Ben Johnston)
f5044828b8
2.16 release notes - fix up internal reference (#8525) 2022-05-12 14:22:25 +01:00
Christian Franke
7d6240a489 Throw error if images.Filter.run cannot create output (#8508)
If Filter.run is requested to create an unknown output format,
it should not fail silently without writing any output, but instead
throw an exception.

Fixes #8503
2022-05-12 14:20:45 +01:00
Matt Westcott
7d8d900d10
Set comment position correctly relative to scroll position (#8511)
Fixes #8500. As a consequence of the CSS changes in c6fdb6bbb3, scroll position is no longer reflected in the document element's scrollTop property, but on the `<main>` element instead. As a result, comment positions were not being adjusted for scroll position. To account for this (and any future CSS changes), we walk all ancestor elements to calculate the true scroll position.
2022-05-12 14:11:47 +01:00
LB (Ben Johnston)
ca1c69b8ea
fix issue with image model docstrings (#8524)
* asterisk was being parsed as markdown and not rendering correctly in the documentation
2022-05-12 10:58:31 +01:00
Stefan Hammer
7d384e70c1 Added handling for lazily evaluated page_description, fixes #8523 (#8527) 2022-05-12 10:54:07 +01:00
LB Johnston
091cc45891 fix changelog entry for #8519 2022-05-11 22:26:04 +10:00
th3hamm0r
ec1aea0f20 Fix typo in ResumeWorkflowActionFormatter message 2022-05-11 21:47:53 +10:00
Thibaud Colas
7129ccefc9 Remove logical properties compatibility styles for Safari 13
- update caniuse-db & browserslist
- resolves #8124
2022-05-11 21:41:15 +10:00
jacobtoppm
7e98db7197 Disable webpack css url rewriting
This was causing relative urls to be rewritten to use the publicPath.
This meant that the icon font would be referenced at the wrong location
if sites had changed STATIC_URL
fixes #8517
2022-05-11 19:27:49 +10:00
Cynthia Kiser
399a34bc93
Make nested list render as a nested list (#8516) 2022-05-11 09:05:02 +01:00
Thibaud Colas
74ed301562 Fix cropped descenders in sidebar 2022-05-10 16:56:08 +01:00
Thibaud Colas
5afbd6371a Adjust branding spacing in sidebar 2022-05-10 16:55:37 +01:00
Steve Stein
43ebdbaea9
Update workflow state icon, add workflow state requested by user name (#8469). Fix #8464
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-10 14:52:38 +01:00
Sage Abdullah
2006b94be8 Add missing media context in revisions_revert view 2022-05-10 14:27:49 +01:00
LB Johnston
f220d45e32 Add Wagtail 3 classifier to documentation 2022-05-08 19:27:51 +10:00
Steve Stein
95fcddd9d2
Switch locales selector JS error (#8468). Fix #8466, #8462
* Check for hover tool tip instance to avoid throwing errors

* Remove multiple attr because it is un-needed now
2022-05-06 16:10:09 +01:00
Steve Stein
cc74182c21
Hide side_panel_button if empty (#8492)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-06 15:48:55 +01:00
Steve Stein
3ff6634e7c
Add margin to icons in footer actions menu (#8467) 2022-05-06 15:35:28 +01:00
Sandil Ranasinghe
5cea62b4b8 Ensure InlinePanel.get_comparison passes label for field comparison
- FieldComparison.field_label should pick up labels from InlinePanel
- fixes #4732
- add unit test for InlinePanel label as field label
2022-05-06 07:43:00 +10:00
Josh Woodcock
8a4a6b4ced modeladmin - fix issue where action button class conflicted (#6387)
- It was creating styling issues in the wagtailadmin when list export was enabled
- ensure that all actions are contained within the actionbutton div
2022-05-06 06:40:50 +10:00
sag᠎e
bb2c826cbc
Use PostgreSQL 11 when testing against Django main (#8489)
Django dropped support for PostgreSQL 10 as of Django 4.1
2022-05-05 10:47:38 +01:00
Matt Westcott
e4d563e492 Fix typo in BoundPanel subclassing example 2022-05-03 11:26:36 +01:00
Matt Westcott
5b4242df3c
Fix test migrations for django-taggit 3.0.0 (#8451)
* Fix test migrations for django-taggit 3.0.0 (forthcoming)

The next release of django-taggit [will change slugs to allow_unicode=True](https://github.com/jazzband/django-taggit/pull/797), which breaks our check for missing migrations.

This change is not released yet, but the fix is needed now so that we can run against django-taggit git master for our tests against Django main. It's also dependent on the version bump happening at the django-taggit end: https://github.com/jazzband/django-taggit/pull/800

* Allow django-taggit 3.x as a dependency and drop special case when testing against Django main
2022-05-02 14:47:48 +01:00
Matt Westcott
4a7260c8b5 Regenerate translation strings 2022-04-29 14:47:56 +01:00
Matt Westcott
3d6826cd8e Fetch new translations from transifex 2022-04-29 14:47:56 +01:00
Thibaud Colas
d4f6e81067 Fix last integration test failure 2022-04-29 14:43:45 +01:00
Steve Stein
bb083e4463
Status sidebar design review and fixes (#8445)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-29 14:38:53 +01:00
LB (Ben Johnston)
30e1e06a59
Make new font stacks available as css custom properties (3.0) (#8415)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-29 14:23:55 +01:00
Steve Stein
e8c8ae778f
Allow external tab triggers - Underline tab issue (#8454)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-29 14:21:54 +01:00
Thibaud Colas
28c6a96de8
Separate tab focus and selection to avoid always setting URL hash (#8460) 2022-04-29 14:01:13 +01:00
Thibaud Colas
03bbc2c747
Page explorer regression fixes (#8459) 2022-04-29 14:00:19 +01:00
Steve Stein
e6c5174170
Vertically center footer actions and preview buttons (#8456) 2022-04-29 13:57:36 +01:00
Steve Stein
20d9fd145e
Design review updates - Remove tab animation, adjust tab spacing and high contrast support, sidebar alignment (#8452) 2022-04-29 13:51:42 +01:00
Steve Stein
91d6606c2f
Add horizontal padding back to inline panels (#8455)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-29 13:07:47 +01:00
Karl Hobley
ad8e8034da
Header styling tweaks (#8438)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-29 12:59:52 +01:00
Thibaud Colas
64d99d5f57 Fix failing unit tests from #8447 2022-04-29 12:06:44 +01:00
Steve Stein
815f621df4
Resize textareas onload and tab-changed event (#8442) 2022-04-29 11:37:20 +01:00
Thibaud Colas
d2aefa547c
Re-add Pages explorer focus trap. Fixes #8035 (#8447) 2022-04-29 11:33:29 +01:00
Matt Westcott
d308d6930a Ensure wagtail updatemodulepaths works when system locale is not UTF-8 (#8450)
Prompted by https://github.com/wagtail/wagtail/discussions/8362#discussioncomment-2647505 - Python files are expected to be in UTF-8, but `open()` will use the system default encoding, which is likely to be Windows-1252 on Windows. Unfortunately [fileinput](https://docs.python.org/3/library/fileinput.html) doesn't provide an encoding argument until Python 3.10, so we have to over-engineer things a bit to keep things consistent across the rewrite / list / diff modes - opening files in binary mode and explicitly decoding each line as utf-8 (with graceful fallback behaviour on UnicodeDecodeError, so that we don't end up clobbering a file mid-write).
2022-04-29 09:38:27 +01:00
Steve Stein
8efb235695
Restyle badge for tab errors (#8446) 2022-04-28 13:49:54 +01:00
Steve Stein
7756453849
Breadcrumbs & Slim header design review styling (#8434)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-28 13:25:59 +01:00
Steve Stein
db5f4106db
Sidebar animation fixes (#8423). Fix #8311
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

- Animations – The close animation for sub-menus doesn't seem to play when the menu is expanded - Made it so sub menu's stay open when the menu is expanded and collapsed
- Animations – The account menu seems to have a different tween animation to the rest of the menu. Causing it to do a weird thing when you collapse the menu while the account menu is open
- Animations – The avatar suddenly jumps to the right when you collapse the menu
- Animations – The Bird seems to have two hover states (try slowly moving your mouse cursor from top to bottom and you'll see it's wing appears before the hover animation is triggered). Not sure if this is intended behaviour.
- Accessibility – Focus order is incorrect on the mobile version (it should be possible to move to the sidebar after having toggled it)
- Try and fit more letters in to the sidebar menu items by reduce the padding / margin on the right side of the arrow, and reduce the gap between the icon and the text a tiny bit
- Make it so when you have a menu open (e.g. Bakery misc) and you click the slim sidebar icon, the menu stays open as the menu gets slim.
- Add a label to the sidebar’s `<aside>`
2022-04-28 02:14:18 +01:00
sag᠎e
1cd471f1d1
Remove is_searchable check from shared header template (#8427)
Not all views that use this template extend from generic IndexView.
They might only define search_url without is_searchable in the context.
2022-04-26 16:10:34 +01:00