0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

796 Commits

Author SHA1 Message Date
Mariusz Felisiak
7b4cf43e2e Removed outdated handling of length parameter to If-Modified-Since header
- The length parameter is not described in RFC-7232 and it's against HTTP/1.0 and HTTP/1.1 specifications.
- It was an old and unofficial extension set by some ancient versions of IE.
- See https://httpwg.org/specs/rfc7232.html#header.if-modified-since
- https://github.com/django/django/pull/15500
2022-03-23 08:36:39 +10:00
Riley
074ea8c416 prevent page refresh on enter key in header seach
- resolves #3746
- add a hidden & disabled first submit input so that ‘enter’ does not trigger submit
- allow the behaviour of the actual submit button to still work as expected
- intentionally HTML only solution as it is simpler and more accessible than JS override
2022-03-18 22:33:47 +10:00
nmorduch
e748b1f51a Update core team & alumni list
- Add Tim Allen and Vince Salvino to the core team list
- Update Dawn's affiliation to Wharton
- Move Andy Babic and Bertrand Bordage to alumni list
- Add Michael van Tellingen to the alumni list
2022-03-16 21:13:48 +10:00
p0lygun
fda36c7343 Documentation - convert advanced topics docs to markdown 2022-03-16 20:48:03 +10:00
Nicolas Ferrari
11e7936562
Add alwaysdata among Cloud providers in documentation (#8070)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 12:29:59 +00:00
PaarthAgarwal
6a84cf4583
Switch focus outlines implementation to :focus-visible for cross-browser consistency. Fix #7994 (#8113)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-15 11:33:12 +00:00
Sage Abdullah
bf8d5b3f94 Replace data_json TextField with data JSONField in BaseLogEntry 2022-02-28 10:27:07 +00:00
Gianluca De Cola
aaee9b8c81 Remove IE11 warning message and related files
- resolves #7993
2022-02-22 17:22:39 +10:00
Joshua Munn
b8405e9ca8 Add unsaved fields to FormBuilder.formfields with clean name as key
fixes #6555,
Only the final unsaved FormField appears in the preview of a FormPage. As
FormBuilder adds fields to its formfields attribute using their
clean_name as the key, and FormField.clean_name isn't populated until
FormField.save is called, all unsaved fields are added to the
FormBuilder.formfields dict with the empty string as key. This solves
this by calling get_field_clean_name on the field before insertion
into formfields if clean_name hasn't been set yet.
2022-02-22 17:09:37 +10:00
Dennis McGregor
1bbf952453 Apply unlocalize filter to bulk action object ids
- Bulk Actions were failing for objects with id > 999 in projects with
- Django settings `USE_L10N` and `USE_THOUSAND_SEPARATOR` enabled.
- Test bulk action checkboxes handle USE_THOUSAND_SEPARATOR setting
2022-02-10 19:34:00 +10:00
Matt Westcott
475295d7b8 Fetch new translations from Transifex 2022-01-28 13:42:21 +00:00
Matt Westcott
92a323231f Add release notes for 2.11.9 2022-01-24 16:10:59 +00:00
Matt Westcott
cd6bc70d9d Fetch new translations from Transifex 2022-01-21 13:54:59 +00:00
Karl Hobley
533e85c8d1 Changelog / Release notes for #7862 and #7875 2022-01-20 14:07:47 +00:00
Wicked
88c7d46282
Improve the visibility of field error messages, in Windows high-contrast mode and out (#7663) Fix #7241
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-01-13 06:46:35 +00:00
thoang43
3651e5f21b Add draftail padding to fix cut off ol items
- fixes #7019
2022-01-08 21:44:11 +10:00
LB Johnston
4b91d6b7ee Add changelog for #7778 (2.15.2)
- relates to fix for #7768
2022-01-08 21:18:25 +10:00
Matt Westcott
93229cfc14 Release note / fixed test for #7801 2022-01-05 15:35:19 +00:00
LB Johnston
75bf48d9f7 fix contributor name for #7748 & #7745 2021-12-07 07:20:11 +10:00
FahimFBA
66237d09e7 Add links to README.md file for Who's using it section 2021-12-03 06:34:31 +10:00
Karl Hobley
4803133fee Changelogs/release notes/contributors for #7385 #7669 #7704 2021-12-02 13:47:52 +00:00
JS
40e6e1c803 Docs - Update API configuration example
Code correction - date format was incorrect.
2021-11-30 07:58:13 +10:00
Matt Westcott
1209c5e481 Fetch new translations from Transifex 2021-11-11 12:45:29 +00:00
Matt Westcott
e24fbc23a8 Fetch new translations from Transifex 2021-11-04 11:21:08 +00:00
Matt Westcott
24b99a5ebc Fetch new translations from Transifex 2021-10-28 14:38:19 +01:00
Thibaud Colas
f819d975dc
Add dedicated release notes section for Windows high contrast mode support (#7618) 2021-10-15 17:51:19 +01:00
Shariq Jamil
c4422b2bec add border to comments dropdown
- for windows high contrast mode
- fixes #7458
2021-10-15 23:25:09 +10:00
LB Johnston
196a368cdc add contributors for #7588 2021-10-13 17:54:04 +10:00
indreshp135
6e90c877ec fix issue with __prefix__ in nested inline panel
changed following:
change only first __prefix__ when multiple __prefix__ are present in
same name when orderable and blocks are nested

Co-authored-by: anirudhvs <54744932+anirudhvs@users.noreply.github.com>
Co-authored-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com>

- fixes #7587
- fixes #5770
2021-10-13 07:37:27 +10:00
Sakshi Uppoor
da1e4d9a99
Fix toggle switch bug in high-contrast mode (#7561)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-10-08 22:32:55 +01:00
Matt Westcott
5465d2e11b Fetch new translations from Transifex 2021-10-01 13:41:47 +01:00
LB Johnston
a8636781b0 release notes for #7554 & #7545
- #7554 & #7545
2021-10-01 07:23:53 +10:00
Joe Howard
4ab7080fb8 Documentation - Remove ambiguity about ModelAdmin templates
- The modeladmin folder needs to be inside the templates folder of the relevant app.
- The way it was written makes it seem like /modeladmin/ should be placed in the project root directory.
2021-09-30 21:32:57 +10:00
JaneLiu
92381698d0 Add code example for before_delete_page hook 2021-09-30 21:15:33 +10:00
Kamil Marut
8d42bec5e6 Add "other permissions" to group permissions
- instead of a separate table containing all discrete permissions for each object, show these in the object's table
- Wagtail admin access will still show inside 'other permissions'
- resolves #5482
2021-09-30 18:54:46 +10:00
Wout De Puysseleir
348aec32e5 Add TIDAL support to oembed
Adds TIDAL support for embedding playlists/tracks
2021-09-26 20:17:51 +10:00
bwilliams3
fb4a5a6961 Send notifications to active users only 2021-09-11 14:16:48 +10:00
LB Johnston
eba4ac1563 add release notes for #7489 2021-09-10 07:01:37 +10:00
Krzysztof Jeziorny
cf064f2b99 Fix width on comment notifications dropdown
- Other languages' word can break the dropdown's layout
2021-09-07 20:54:43 +10:00
Desaiakshata
22cdd89b68 Fix Window high contrast mode - tag field
-edit background color for form input field-forced color mode
2021-09-07 20:11:00 +10:00
Justin Slay
85faf19211 Change initial value of publish_copies to False 2021-09-01 17:47:12 +10:00
FDGod99
c2347a6d35 fix - high-contrast mode - sidebar needs visual separation
- Due to how high-contrast mode works, there was no visual separation between the sidebar and the main content, adding a transparent border resolves this without having any visual impact in non-high contrast mode
- fixes #7456
2021-09-01 08:02:42 +10:00
infinityplusone
5f3207ca43 add object count to modeladmin header listing view 2021-08-31 11:53:34 +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
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
Matt Westcott
2818e10a25 Add Jannis Vajen to contributors 2021-08-19 14:49:20 +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
Matt Westcott
7626a89931 Fetch new translations from Transifex 2021-08-02 14:01:13 +01:00
Sean Kelly
7a3deee8b9 Possessive "it" (#7357)
"it's" → "its"
2021-07-21 16:25:48 +01:00
Karl Hobley
8ba4bbae57 Changelog / release note / contributor for #7302 2021-07-20 18:43:21 +01:00
Matt Westcott
6e27cc762e Fetch new translations from Transifex 2021-07-13 13:31:22 +01:00
Kevin Gutiérrez
4eb7c2c019 Change spin animation name (#7299)
The animation name `spin` is too generic, and it can be easily override by other libraries (eg. the code used in (django-json-widget)[https://github.com/jmrivas86/django-json-widget/blob/master/django_json_widget/static/dist/jsoneditor.min.css]) or by custom code, affecting the saving animation.
2021-07-08 16:29:54 +01:00
Matt Westcott
60a3365ce2 Add Daniel Fairhead to contributors 2021-07-07 16:30:36 +01:00
Andrew Stone
d6c92f30af Add missing block.super in extra_css/extra_js blocks (#7310) 2021-07-05 17:28:13 +01:00
Matt Westcott
297fb10597 Add Petr Dlouhý to contributors 2021-06-25 16:45:27 +01:00
Jake Howard
d5b955b0e4 Exclude root pages from ModelAdmins (#7213)
Previously, this would fail, as `user_can_copy_obj` doesn't handle root
pages. Root pages also are special in a number of ways, and handling
copying is tricky and non-obvious.

If someone needs to show root pages (for some reason), they'll have to
special case them themselves.
2021-06-18 14:10:39 +01:00
Matt Westcott
613c4328a2
Add Godswill Melford to contributors 2021-06-16 10:19:49 +01:00
Chris Pollard
c9a55d8b1b Fix tagged page page copy regression in _copy_m2m_relations (#7224)
Fixes #7230
2021-06-11 14:08:55 +01:00
Matt Westcott
9813639b21 Fetch new translations from Transifex 2021-06-01 15:11:08 +01:00
Alex
fd4ed6aaeb Fix order
This change fixes promotion pages order.
2021-05-30 14:47:33 +02:00
Matt Westcott
7feb2f4b2a Fetch new translations from Transifex 2021-05-12 14:51:56 +01:00
Matt Westcott
aa2d10c713 Release note for #6477 2021-05-11 15:05:59 +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
Matt Westcott
df4dbfe9ec Fetch new translations from transifex 2021-04-27 16:28:05 +01:00
Storm Heg
22bb5746bd
Changelog / release note for #6962 2021-04-23 11:59:17 +02:00
Karl Hobley
feab09a6d6
Start 2.14 (#7081)
* Version bump to start work on 2.14

* Removed StreamValue.stream_data and StreamValue.TupleView

* Rotate deprecation warning classes

* Set up changelog and release notes for 2.14

* Changelog / release note for #7023

* Add 2.14 to the compatibility table in the upgrading guide
2021-04-22 17:10:57 +01:00
Matt Westcott
a0f6662293 Update translator credits 2021-04-20 20:25:38 +01:00
Dan Braghis
b21557319c Release notes for #6946 2021-04-19 10:49:55 +01:00
Matt Westcott
a44312f48f Release note for CVE-2021-29434 in 2.12.4 2021-04-19 09:59:01 +01:00
Matt Westcott
485cf7e1cc Add Vlad Podgurschi to contributors list 2021-04-08 17:04:21 +01:00
Dale Evans
197e34be56 unpin beautifulsoup, allow <4.10 instead of <4.9 2021-03-26 14:22:01 +00:00
Susan Dreher
09431f7b22 Sanitize return_url (#6909) 2021-03-25 19:09:11 +00:00
Sagar Agarwal
f9d1ec0bf7 Fix pagination url for 'view users in a group' (#6880) 2021-03-25 13:23:18 +00:00
Joan Eliot
a4e35fc02a
Make 'Documentation' an 'issue type'. Fix #6684 (#6796)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-03-11 15:28:54 +00:00
Tibor Leupold
aefff4e56c
Docs: Convert "reporting security issues" from RST to MD (#6829)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-02-23 10:26:12 +00:00
Naomi I. Morduch Toubman
1bfc13952f
Add explanations to tutorial (#6797)
Add Lara Thompson to CONTRIBUTORS

Co-authored-by: Lara Thompson <65025831+larathompson@users.noreply.github.com>
2021-02-05 14:45:51 -05:00
Thibaud Colas
3ab80b9ec7
Add John Esther to CONTRIBUTORS 2021-02-05 00:14:20 +00:00
James Gutu
7bb4fddcb3
Changed heading in image index (#6773)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-02-04 15:59:36 +00:00
Matt Westcott
843ac58ac7 Fetch new translations from Transifex 2021-02-02 16:08:34 +00:00
Karl Hobley
7131baab28 Add contributor entry for @helderco
For #6713
2021-01-29 14:08:53 +00:00
Matt Westcott
47cec03f37 Update translator list 2021-01-18 17:37:11 +00:00
Michael Brown
cadb5456c0 Apply scss styling to collection_choice_field (#6683) 2021-01-18 17:06:29 +00:00
Joshua Marantz
8e79c61564
Implement CSS variables for admin color theming (#6409)
Co-authored-by: JNaftali <jmarantz@thelabnyc.com>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-01-17 02:17:41 +00:00
Matthias Rohmer
9a1fc6d243 Add missing import to example code snippet (#6638)
Adding this makes the code snippet ready to use via copy and paste.
2021-01-15 21:10:55 +00:00
Fernando
30ad03d4ca Update S3 CORS documentation for Boto3 (#6668)
Boto3 has been around for a long time now. Adding a Boto-specific parameter in a tutorial is confusing (it was for me) as people are likely to install Boto3 directly and skip Boto. The `AWS_HEADERS` parameter was replaced by the `AWS_S3_OBJECT_PARAMETERS` parameter in Boto3 and the parameter that controls the access control list specifically is the `ACL`.

By the way, are the instructions on line 50 still relevant today?
2021-01-15 19:42:41 +00:00
Bohreromir
3d18986610 fix ModelAdmin example (#6645) 2020-12-17 16:39:30 +00:00
Vadim Karpenko
4cfd303db9 Check action menu items (pages and snippets) for None before using (#6566) 2020-12-15 19:17:53 +00:00
Matt Westcott
c21d82924e Update translator credits 2020-12-10 17:58:56 +00:00
Matt Westcott
49136ea4a5 Prevent error on publish check in create_log_entries_from_revisions (#6628)
Fixes #6498
2020-12-10 17:34:57 +00:00
Matt Westcott
f4702646bd Release note for #6572 2020-12-09 16:28:20 +00:00
Alex Sa
01d3854696
Add collection_id param to document chooser pagination handling. Fix #5913 (#6529)
Make sure document chooser pagination preserves the selected collection when moving between pages

Co-authored-by: Alexander Sajzew <a.sajzew@alexsa.de>
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-12-02 12:41:37 +00:00
Matt Westcott
2cefe4ebd9 update translators list 2020-11-17 15:57:59 +00:00
Cynthia Kiser
28cee081b2 Add custom oEmbed finders for Facebook and Instagram (#6550)
Move code from https://www.codista.com/en/blog/wagtail-instagram-new-oembed-api/ into core

Add custom oembed finder for Facebook

Apply suggestions from @originell's code review

Co-authored-by: Luis Nell <luis.nell@codista.com>

FIXUP More places to change the exception name (and a linter fix)

Extend Instagram/Facebook tests to check HTTP request

Add documentation for omitscript parameter
2020-11-17 15:06:24 +00:00
Naglis Jonaitis
74c692ba21 Fix ModelAdmin documentation example
The `get_extra_class_names_for_field_col` seems to have an `if` missing
and uses an undefined `balance`.
2020-11-03 13:49:18 +00:00
Matt Westcott
f54f0942e0 Fetch new translations from Transifex 2020-11-02 12:45:05 +00:00
Matt Westcott
cacc639688 Fetch new translations from Transifex 2020-10-23 12:32:12 +01:00
Karl Hobley
aa4a1e37b6
Remove duplicate CONTRIBUTORS entry for @samgans 2020-10-21 16:20:10 +01:00
Anton Zhyltsou
41eccc72bc Consistently redirect to admin home on permission denied
* Catch PermissionDenied exceptions in require_admin_access decorator
* Fixed permissions errors for the documents views
* Added permissions tests for the images views
* Fixed some tests for limited permissions
* fixes #6352
2020-10-22 00:10:24 +10:00
Andy Babic
cbf65ba645 Release notes for #6386 2020-10-19 21:37:28 +01:00
Karl Hobley
10137b0162 Changelog / release notes for #6440 and #6441 + some spelling fixes 2020-10-16 10:45:29 +01:00
jacobtoppm
c5a7584553 Add changelog and contributor for #6423 2020-10-05 12:36:54 +01:00
Karl Hobley
8251b4a6c7 Changelog / Release note / Contributor for #6420 2020-10-01 18:53:35 +01:00
Ameet Virdee
48a8af71e5 Add documentation for placeholder text in Field Panels 2020-10-01 08:06:43 +02:00
Dino Perovic
1267468c4c Check preview mode before displaying the button 2020-09-21 14:34:43 +01:00
Vince Salvino
7ec4b516fa Specify required python versions (#6366) 2020-09-02 17:52:00 +01:00
Matt Westcott
394e46f783 Fetch new translations from Transifex 2020-08-26 14:14:13 +01:00
Matt Westcott
3f1b41b823 Release note for #6319 2020-08-17 16:58:19 +01:00
Matt Westcott
af47fa29dc Fetch new translations from Transifex 2020-08-11 10:29:26 +01:00
Robbie Mackay
437e3b9258 Replace unidecode with anyascii in wagtail.core.utils.string_to_ascii
- Add anyascii to replace unidecode
- Update wagtail.core.utils.string_to_ascii to use anyascii.
- Anyascii has a similar but not exactly the same encoding - see updates to tests.

Refs https://github.com/wagtail/wagtail/issues/3311
2020-08-07 17:48:58 +01:00
Jesse Menn
b934194622
Make page-level actions accessible to keyboard users in page listing tables (#6280)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2020-08-01 21:52:28 +01:00
Matt Westcott
95ca4e33c7 Fetch new translations from Transifex 2020-07-31 19:06:33 +01:00
Matt Westcott
a23551b890 Fetch new translations from Transifex 2020-07-24 18:09:12 +01:00
Thibaud Colas
d97f940e58 Release notes for #5885 2020-07-23 13:56:12 +01:00
Steven Wood
5611f5ef6c Clarify origin of From address used in password reset emails (#6219) 2020-07-13 18:15:21 +01:00
Maxxen
4afdbdea56 added maxNumChildBlocks property and callbacks to disable adding/removing child blocks to sequence. Also made streamfield add-buttons dissapear when capacity is reached (#6070) 2020-06-30 15:02:16 +01:00
Matt Westcott
98301fe736 Release note for #6183 in 2.9.1 2020-06-30 11:49:55 +01:00
Jean Zombie
9baf6ce62a Update hooks.rst (#6160 / #6161)
This proposed update is in regard to Issue #6160
2020-06-25 14:54:16 +01:00
Karl Hobley
06303c7169 Change contributor name for mozgsml to Nikolay Lukyanov 2020-06-09 11:04:13 +01:00
Karl Hobley
8d84f6a415 Changelog/release note/contributor for #6040 2020-06-09 09:42:48 +01:00
Andrew Bunker
6fe9d0a23a Add note about Elasticsearch backend credentials to docs (#6097) 2020-06-03 17:37:26 +01:00
Matt Westcott
67fc0d7787 Release note for #6046 2020-06-03 17:28:34 +01:00
GTpyro
147fda12fa Update signals.rst for Python 3 compatibility
The send_to_slack example was not compatible with Python 3. Example is updated using the requests & json libraries (instead of urllib & urllib2)
2020-05-26 19:21:13 +02:00
Dan Bentley
f43db1e69e Fetch and apply annotations if using specific() 2020-05-24 10:09:45 +10:00
Brylie Christopher Oxley
ff37ad6ab9 Add 'add_redirect' static method to Redirect
* This method was inspired by a Lacey Williams Henschel (@williln) presentation at Wagtail Space US 2018, called  'What the Wagtail docs don't tell you'. https://www.youtube.com/watch?v=PCkxBNXWM64&t=1220s
* Add docs section reference/contrib/redirects
2020-05-10 18:48:33 +10:00
Coen van der Kamp
68b2dc01c2 Render user bar on non page views
* resolves #5565
2020-05-10 16:10:45 +10:00
Liam Mullens
52cb7ab77b Update ImageRendition field to return Image alt text
* Update ImageRendtion to use default_alt_text property of Image
* Update example in documentation
* Add a test for ImageRenditionField
* Resolves #5816
2020-05-08 11:22:49 +10:00
saeed
44c1f1cab2 Remove sticky footer on small devices 2020-05-07 22:55:25 +10:00
lukealhardwick
30a66638cb Add Reddit to oEmbed provider list
- Added endpoint for reddit comments to be embedded
2020-05-07 22:55:24 +10:00
Matt Westcott
a159df380f Fetch new translations from Transifex 2020-05-04 11:34:27 +01:00
Rick van Hattem
40aedfc66b Show more granular error messages from Pillow (image uploads)
* Prevent `invalid_image` from hiding Pillow errors, instead rename key to `invalid_image_extension`
* Django already uses `invalid_image` - https://github.com/django/django/blob/stable/3.0.x/django/forms/fields.py#L639
* Add tests separate for images with invalid extensions vs non-images
2020-05-03 21:14:08 +10:00
Jonatas Baldin
a7f58821a7 Add publish & unpublish page hooks
* Add `before_unpublish_page` and `before_unpublish_page` hooks
* Add `before_publish_page` and `before_publish_page` hooks
* Resolves #4590
2020-05-03 14:18:13 +10:00
Jim Jazwiecki
6ea0cc52f3 Upgrade to Gulp v4 & Node 10
* Syntax changes to get Gulp working
* Require Node 10, use node 10 in CircleCI and squash.yml
* Update docs
* resolves #5653
2020-05-01 12:01:03 +10:00
François Poulain
55e65be079 allows unicode string in page copy form (#5991)
* resolve #5990
2020-04-29 18:28:56 +01:00
Tomas Walch
72ee81fbe5 Documentation: Adding Orderable superclass in code example in "Binding Pages to Snippets". If this is not included sorting in InlinePanel won't work so good to include it in documentation. 2020-04-28 16:21:36 +01:00
Chrisranjana.com
1f421e35f0 Add ability to sort search promotions on listing page
* resolves #3897
2020-04-28 20:44:54 +10:00
Ascani Carlo
5f3c12682f Redirect to previous url when deleting/copying/unpublish a page
* modify register_page_listing_buttons & register_page_listing_more_buttons to handle next_url kwarg
* resolves #3010
2020-04-26 18:24:13 +10:00
Sylvain Fankhauser
2055da6a3a Fix code example in image file formats docs 2020-04-25 15:39:05 +10:00
Matt Westcott
4ba901691b Add changelog / release notes for 2.10 2020-04-22 13:54:09 +01:00
Matt Westcott
42a5027dcf Update translator credits 2020-04-21 14:58:33 +01:00
Matt Westcott
f06270345f Fix incorrect language code for Japanese in language choice dropdown
Fixes #5925
2020-04-21 13:56:55 +01:00
Matt Westcott
1d043914b4 Release notes for 2.7.2 2020-04-14 10:11:23 +01:00
Matt Westcott
82cafd539a Add Jacob to core team 2020-04-08 12:12:52 +01:00
Karl Hobley
9d4009bebb Changelog/release notes 2020-04-08 11:12:57 +01:00
Mohamed Feddad
bb2e460c0b Replace deprecated ugettext, ungettext with gettext and ngettext. (#5907) 2020-04-02 17:15:26 +01:00
Karran Besen
36e777418f Fix: Hide empty 'view live' links 2020-03-20 14:33:09 -04:00
Paulo
494260f8ee Fixed #5537 -- Fetch deferred stream fields from db (#5661) 2020-03-19 17:20:22 +00:00
Frantisek Holop
fc0cf64ac6 Be more specific regarding the cached loader. (#5754)
Be more explicit about not needing to enable the `cached.Loader`
manually, unless using some custom loaders.
2020-03-19 17:01:29 +00:00
Matt Westcott
f83977c291 Add cache to speed up compiling media declarations for stream blocks
As proposed by @pimarc in https://github.com/wagtail/wagtail/issues/3062#issuecomment-586331423
2020-03-18 16:12:46 +00:00
Matt Westcott
7dae758ea4 Release note for #5845 2020-03-04 11:53:03 +00:00
stevelyall
babcbb7f80 Add Vidyard to oEmbed provider whitelist 2020-03-03 17:06:05 +00:00
dt
a6fb0762a8 Mention options for schema in sitemap
Add clear way to change schema in `sitemap.xml` to https on `sitemap`
documentation page
2020-02-25 21:33:21 +00:00
Matt Westcott
51d8433b6b Release note for #5787 2020-02-17 12:30:10 +00:00
Storm Heg
9f5cd32e27 Show InlinePanel non field validation errors 2020-02-16 21:43:35 +00:00
Matt Westcott
1f5761fc6c Remove duplicate of Jérôme Lebleu from contributors 2020-02-11 12:26:38 +00:00
Matt Westcott
d192bd1d44 Version bump beautifulsoup to 4.8.x (#5817) 2020-02-11 11:02:08 +00:00
Matt Westcott
4314f3d1a1
Implement MultipleChoiceBlock (rebase of #5592) (#5819)
* Implement MultipleChoiceBlock (squashed commits from #5592)

* Omit widget from frozen kwargs

* Rename get_callable_choices to indicate it is an internal method

* Add release notes for MultipleChoiceBlock
2020-02-10 22:24:49 +00:00
Arkadiusz Ryś
47f677577e Make server-side slug generation respect WAGTAIL_ALLOW_UNICODE_SLUGS (#5808) 2020-02-05 17:33:32 +00:00
Matt Westcott
8f6b3f8cba Fetch translations from Transifex 2020-02-03 13:33:08 +00:00
Thibaud Colas
2933589680 Add release notes for #5467 2020-01-24 20:56:18 +00:00
Thibaud Colas
eb0612c21c Add release notes for #5784 2020-01-24 15:56:34 +00:00
Matt Westcott
fb74944c90 Fetch new translations from Transifex 2020-01-20 20:29:41 +00:00
Eric Sherman
f5f841ed59 dropdown on search page by initing dropdowns on ajax success 2020-01-17 16:56:21 +00:00
Matt Westcott
590bea3b7b Revert "Fix submenu footer blocking items in admin" (#5606)
This change causes the footer to no longer be bottom-aligned when the menu is shorter than window height.

This reverts commit a459e91692.
2020-01-17 12:58:20 +00:00
Andy Chosak
349fca66f3 Fix: Properly save ordering of nested InlinePanels
The order of nested InlinePanels (recently formally added in 5566)
doesn't get saved properly due to some now-invalid assumptions in the JS
selector code.

Currently, Wagtail users can use the editor up/down arrows to order
InlinePanel elements that contain child InlinePanels, but these may not
be properly saved.

Before InlinePanel nesting was supported, it was a safer bet that a
child panel would only contain one hidden input named "-ORDER". With
nesting, however, a parent panel will also contain hidden inputs named
like this for its child panels. This breaks the logic used in the
ordering code.

This change modifies the logic to use the jQuery `.children()` selector
instead of `.next()`, ensuring that we reference the correct adjacent
panel item.

An easy way to test this against current master is to use the Wagtail
testapp test models that exercise this behavior:

1. `wagtail start testwagtail` to create a new project.
2. `cd testwagtail`
3. Edit testwagtail/settings/base.py to add the Wagtail test
application `'wagtail.tests.testapp'` to the list of `INSTALLED_APPS`.
For the admin to work properly with this app, you also need to add
`'wagtail.contrib.settings'` to that list and copy the definition of
`WAGTAILADMIN_RICH_TEXT_EDITORS` from wagtail/tests/settings.py.
4. `./manage.py migrate` to create your local database.
5. `./manage.py createsuperuser` to create an admin user.
6. Create a new Event Page
(http://localhost:8000/admin/pages/add/tests/eventpage/3/).
7. Fill in all required items, and then add multiple speakers under
"Speaker Lineup". For each speaker, add at least one Award. Save the
page.
8. Try using the up/down arrows to reorder the speakers (the parent
InlinePanel), and save the page.
9. Note that when the page reloads, the ordering hasn't been saved. If
you debug using the developer tools, you'll notice that this is because
the code being modified here selects the child panel items instead of
the adjacent parent panel item.
2020-01-15 16:43:32 +00:00
Johannes Vogel
4a1b337461 add etag support for documents 2019-12-18 15:28:23 +00:00
Benedikt Willi
233e7f5189 Add ability to filter image index by a tag
- Fixed error when searching and filtering by tag at the same time
2019-12-02 09:54:35 +10:00
Pete Andrew
abd8320dc3 Update links in docs to point at stable Django version 2019-12-01 13:19:40 +10:00
Timothy Bautista
1b0aed7b20 use block.super in extra CSS/JS blocks
- ensure templates that have extra css/js blocks call {{ block.super }} in them
- wagtail.contrib.settings edit
- modeladmin templates
2019-11-20 20:34:00 +10:00
Matt Westcott
dcf5722ebb Add Dawn Wages to core team 2019-11-19 23:33:37 +00:00
Tim Gates
c54c4aa4eb Fix simple typo: unpiblished -> unpublished 2019-11-19 23:30:29 +00:00
LB
9b64a8647c Update contributor name 2019-11-16 18:28:21 +10:00
WinterComes
06fb0764e0 Move get_document_model to __init__ & add get_document_model_string
Avoids issues where models are not yet loaded and document model is needed.

- apply isort
- fix minor typos
- fixes #5614
2019-11-07 07:47:12 +10:00
Tom Readings
e75b74911e Reference the embedly package requirement for embedly finder support (#5680) 2019-11-06 17:03:44 +00:00
Matt Westcott
8f70829911 Fetch new translations from Transifex 2019-11-06 13:05:43 +00:00
Karl Hobley
40dbb940e7 Improve diffing behavior for text fields 2019-10-29 17:22:49 -04:00
LB
34db9a394f Fix contributor name
- incorrectly added the issue creator not the PR creator
- updated name to the correct one - Stefani Castellanos
2019-10-29 08:23:44 +10:00
Stefani Castellanos
92864f22b4 Added label 'URL' for external link
- Regression - missing label for external link URL field in link chooser
- Resolves #5656
2019-10-29 08:19:31 +10:00
Igoranze
a459e91692 Fix submenu footer blocking items in admin
- items longer then the page height are no longer broken by the submenu footer
- long lists of submenu items are no longer blocked by the footer (version number)
2019-10-24 08:17:55 +10:00
David
b6c5eaccfc Fixed 2.6.3 date in Changelog and updated username on Contributors 2019-10-24 07:42:16 +10:00
Matt Westcott
dda048c6b3 Fetch new translations from Transifex 2019-10-23 11:11:53 +01:00
Matt Westcott
12b4a0b8f5 Fetch new translations from transifex 2019-10-16 18:19:00 +01:00
Thijs Baaijen
fe1434e8d2 Change string based reference to class based 2019-10-16 10:51:54 +01:00
David Thompson
6a6555eb19 Fix multiple minor documentation issues
- Typo in readme (verb did not agree with the subject)
- Grammatical error in topics/pages
- #5364 - Update URL config code block in getting-started/integrating-into-django
2019-10-12 09:42:02 +10:00
a-mere-peasant
1eae1e4614 Added 'image uploads in forms' to third party tutorials 2019-10-12 09:31:19 +10:00
Karl Hobley
0507ec5377 Release notes for #5611 2019-10-10 11:03:39 +01:00
Prithvi MK
f4cc454e13 Add separate GitHub issue templates for feature requests and bugs. Fix #5560 (#5594) 2019-10-02 16:27:31 +01:00
Mike Janger
747b5402d2 Changed height's description to match width's. (#5593) 2019-10-02 09:32:16 +01:00
Tim White
f44d27642b Updating FieldDoesNotExist imports to all be django.core.exceptions. (#5581) 2019-09-25 19:04:26 +01:00
Brian Whitton
34f4ab8a3f allow image page sizes to be configurable (#5568) 2019-09-25 10:49:57 +01:00
jacobtm
a7b470bc9d Add ability to hide 'Submit for Moderation' in action menu using setting WAGTAIL_MODERATION_ENABLED. When set to false, SubmitForModerationMenuItem method is_shown returns false (#5574) 2019-09-24 16:28:47 +01:00
Dawn Wages
1b2dadc429 Update configuration.rst (#5576) 2019-09-23 12:06:16 +01:00
Dawid Bugajewski
90b7a3b0d3 Fix class selector mapping (#5571)
The markup is wrong which results in code not working properly.
2019-09-20 10:18:55 +01:00
Saptak S
c9b93c04fb Marks preview models for translation 2019-09-20 10:16:14 +01:00
Matt Westcott
10c2ee9dbc Add core team alumni section to contributors 2019-09-19 17:08:46 +01:00
Matt Westcott
c7bed060db Add translator credits 2019-09-19 15:33:39 +01:00
Thibaud Colas
bb08ff70b2
Update core team list in CONTRIBUTORS.rst 2019-09-18 16:41:13 +01:00
Kiril Staikov
4b692d67d5 Fix soundcloud embed regex 2019-09-13 12:33:40 +01:00