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
Edy
b9cfc24b37
Fixed broken email header when hosting static files remotely ( #5543 )
...
Fixes #5525
2019-09-06 12:13:07 +01:00
Colin Klein
33204be105
Updated the block id initialization ( #5552 )
...
The current block id generation only sets the id as the block is serialized for storage in the database, which means that the id is unavailable in the block until it is pulled back from the database. In my debugging this caused the id to be set to new values up to 3 times when saving a brand new page (each time with a new id).
This updated logic applies the new id to the actual block which makes it available right away and prevents the id from being regenerated.
2019-09-06 11:21:46 +01:00
Janne Alatalo
dd0bb9a870
Add setting to disable email management
...
This commit adds WAGTAIL_EMAIL_MANAGEMENT_ENABLED setting that defaults
to True, but when disabled, hides the 'Change email' button in account
management view, and disables the associated route. This is useful when
using external authentication method like LDAP or OpenID Connect where
email management is handled elsewhere.
Wagtail already includes WAGTAIL_PASSWORD_MANAGEMENT_ENABLED setting.
This is almost exact copy of that implementation.
2019-09-04 10:25:35 +01:00
Dani Hodovic
af4f27aa3e
Fix compatibility with pylint-django ( #5538 )
...
It's not possible to use wagtail in a project with pylint and the
pylint-django plugin.
Pylint-django does not work with foreign keys that are referenced by
their string names. See: https://github.com/PyCQA/pylint-django#known-issues
If we simply replace the string name with the foreign-key class, linting
on wagtail projects is fixed.
Also see:
https://github.com/PyCQA/pylint/issues/2995
https://github.com/PyCQA/pylint-django/issues/241
2019-09-03 10:14:00 +01:00
Sarath Kumar Somana
7fcd6e6890
Add SECURITY.md ( #5536 )
...
Adds security.md to be consistent with github's interface
2019-09-03 10:11:05 +01:00
pvetch
3d7f2947c0
Update CONTRIBUTORS.rst
...
Correction to contributor's name per request by email
2019-08-30 09:58:38 +01:00
Zac Connelly
a19571db7a
update docs for TabbedInterface ( #5374 )
2019-08-29 11:23:13 +01:00
Kalob Taulien
f227ec0a82
Updated contributors & changelog
2019-08-21 20:01:25 -06:00
Pavel Denisov
d6e4072e26
Remove Unidecode from postgres_search. Fix #5001 ( #5514 )
2019-08-20 16:12:35 +01:00
Sanyam Khurana
f9753f1f23
fix(docs/customization): Add models import to fix example ( #5520 )
2019-08-20 11:57:14 +01:00
Coen van der Kamp
525cf5922e
Update Changelog
2019-08-18 16:12:14 +10:00
Jonathan Liuti
2de92f045c
Upgrade minimum 6.x release for Elasticsearch to 6.4.0
...
Fix doc and test on ES6 python client compat
This commit changes the statement that version < 6.3.1 of the
elasticsearch python client should be used to instead state
that 6.4.0 is fine.
It also update the tests to reflect the statement.
Initially the `update_all_types` argument has been used to work
around an issue described in:
https://github.com/wagtail/wagtail/issues/2968
This argument was removed in elasticsearch-py 6.3.1 and making
use of it was raising an error.
With 6.4.0 nothing is raising anymore.
2019-08-18 15:37:11 +10:00
John Carter
3bb2ab85fd
Resolve DeprecationWarning ( #5485 )
...
Resolves "DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working" - see #5484
2019-08-06 10:49:45 +01:00
Iman Syed
d3f720995a
Make image fallback work for images with big/small aspect ratios. Fix #5472 ( #5474 )
2019-08-01 11:46:34 +01:00
Matt Westcott
d651f9417c
Fetch new translations from Transifex
2019-08-01 10:34:31 +01:00
Rodrigo
1a2bf525f2
Add https support for scribd oembed provider ( #739 )
...
Currently scribd defaults to https for their sharing links - http still works but if you copy&paste quickly you may think it's broken
2019-07-25 14:19:07 +01:00
Matt Westcott
d6239bd5dd
Fetch new translations from Transifex
2019-07-09 14:25:52 +01:00
Andrew Miller
b9816d194a
Don't make assumptions about the username field
...
The USERNAME_FIELD exists to allow customisation. Therefore we should make an assumption that `.username` exists on the model. Instead, we need to pull the required value from the USERNAME_FIELD and add in a fallback default.
2019-07-08 20:11:14 +01:00
William Blackie
3754d34caa
Search query normalisation no longer removes punctuation #5416
2019-07-04 16:53:27 +01:00
Jonny
851bd5f24d
Added missing is_stored_locally() to AbstractDocument
2019-07-03 15:53:51 +01:00
jordan_bauer
0dac8f0764
added construction_hook_name to settings_menu ( #5384 )
2019-06-25 12:04:53 +01:00
Mikalai Radchuk
9291f95b7e
Update CONTRIBUTORS.rst
2019-06-24 14:05:48 +01:00
Fidel Ramos
41f80af5db
Optimization of UserPagePermissionsProxy.revisions_for_moderation ( #5311 )
...
revisions_for_moderation() was iterating over Page instances only
to use their path attribute. The optimization uses values_list()
over the GroupPagePermission queryset to retrieve only the page
paths without having to create the model instances in memory. This
saves roughly 50% of the runtime.
2019-06-18 20:14:54 +01:00
jordan-bauer
998440cfa9
Remove buggy tab order customisations in CMS admin ( #5383 , #5351 )
2019-06-18 12:49:16 +01:00
Eric Dyken
eba3357fd4
Adds Collections section to editor's guide
2019-06-17 10:13:49 +01:00
Andy Babic
fdd8ddc2b1
Release notes for #5373
2019-06-13 13:56:49 +01:00
Dillen Meijboom
dd1597ea37
Implemented branding title prefix customization ( #5344 )
2019-06-07 17:06:00 +01:00
LB Johnston
d57c7c59f3
Update changelog/contributors & release notes with recent contributions
2019-05-23 16:58:19 +10:00
Jonny Scholes
d76410f5ce
Update CONTRIBUTORS.rst
2019-05-22 20:07:32 +10:00
Thibaud Colas
70a749b10a
Add release notes for #5290
2019-05-14 14:16:10 +01:00
Alex Tomkins
4891db0d89
Improve EditHandler __repr__
...
The string of self.form is the same as form.as_table - which is too verbose.
This updates the __repr__ of EditHandler/FieldPanel to show the class name of the form being used instead (or NoneType if it's None).
2019-05-10 15:35:52 +01:00
rinti
1b22794da2
Add correct dir attribute to html tag in admin
2019-05-10 14:47:10 +01:00
Adam
22e9e71ca7
Updated Page Chooser Panel ForeignKey
...
Needs a related_name
2019-05-10 14:41:09 +01:00
Matt Westcott
51d8cac6f4
Release note for #4906
2019-05-03 16:56:46 +01:00
Michael Hearn
7c9c00ab7c
Don't show pages in explorer that user has no permissions to access
...
Partially addresses #4660
2019-05-03 11:42:38 +01:00
scil
1e55b98af0
Update performance.rst
2019-05-01 12:58:22 +01:00
Po-Chuan Hsieh
02f3ae5696
Relax pillow version restriction
...
It allows to build with Pillow 6.x.
2019-05-01 12:46:28 +01:00
Matt Westcott
60cac850d0
Fetch new translations from Transifex
2019-04-24 16:08:46 +01:00
Deniz Dogan
647f2c1d1d
Fix Redux DevTools deprecation warning ( #5231 ). Fix #5214
2019-04-23 15:02:53 +01:00
Matt Westcott
14cb03b539
Stop ModelAdmin from failing when filtering over a foreign key relation
...
Supersedes #4998
As per https://github.com/wagtail/wagtail/pull/4998#issuecomment-471005219 , the implementation of `lookup_allowed` is flawed and breaks on some valid lookups while allowing invalid ones. We are therefore better off removing that validation entirely.
2019-04-12 18:56:56 +01:00
dthompson86
444744dbfe
Update the_explorer_page.rst ( #5220 )
...
Fixed a typo ;-)
2019-04-12 16:32:42 +01:00
Cassidy Brooke
942979fc4e
Missing step for Migrating RichTextFields to StreamField ( #5207 )
...
This generated block of code needs to stay or else there will be an error while running ./manage.py migrate. It is misleading that it is not included in this tutorial.
2019-04-12 16:20:11 +01:00
Matt Westcott
d5bc3c92d2
Fetch new translations and update config for Chinese ( #3668 )
...
* Fetch new translations from Transifex, update contributors, add new languages with >90% coverage to WAGTAILADMIN_PROVIDED_LANGUAGES
* Update transifex config to download Chinese (Simplified) and Chinese (Traditional) translations as zh_Hans and zh_Hant respectively
* Fix get-translator-credits.py to recognise 'tet' as the locale string for Tetum (which Babel doesn't)
2019-04-08 22:27:18 +01:00
Thibaud Colas
c447f75bd4
Make the page reordering UI easier to find ( #5187 )
...
* Update icon-order icon glyph
* Implement new UI for child ordering toggle
* Update documentation for page reordering
2019-03-29 14:38:05 +00:00
Matt Westcott
a98d6567dc
Update core team in CONTRIBUTORS.rst
2019-03-29 12:14:09 +00:00
Kalob Taulien
062ff73665
Add documentation for the ajax_template attribute
2019-03-29 11:25:01 +00:00
Haydn Greatnews
fa5c69ee00
Call specific on parent page and breadcrumbs in page chooser
...
There was a small bug in the page chooser, where it would display
`page.title` instead of `get_admin_display_title` when loaded on with a
specified parent. This was because the page chooser was falling back to
Page.get_admin_display_title instead of the specific kind
2019-03-29 11:21:06 +00:00
Tom Usher
0f8a55a6ce
Pass validators to FieldBlocks ( #5148 )
2019-03-15 18:42:08 +01:00
Md. Arifin Ibne Matin
edfd9afc1d
Add more built-in rich text formats ( #5141 )
2019-03-15 01:39:18 +01:00
Wesley van Lee
a700e1352c
Preserve non breaking white spaces in rich text processing. Fix #4996 ( #5142 )
...
Prevent the initial loading of the rich-text field to replace non-breaking white spaces with normal spaces
2019-03-14 17:31:10 +01:00
Damian
ef7bd7989e
add form media to user add/edit forms ( #5146 )
2019-03-14 14:42:26 +01:00
Esperk
9f2e4033ea
Abort unfinished ajax before firing new ajax call. Fix #4594 ( #5137 )
...
To prevent showing old results always cancel unfinished query requests before firing a new one
2019-03-13 15:44:12 +01:00
patta42
be03eeee2e
Removed redundant try-except ( #5123 )
2019-03-07 20:55:27 +00:00
Thomas Kremmel
4e8f197a9d
allow panels & edit_handler to be defined on ModelAdmin ( #4900 )
2019-03-06 12:26:20 +00:00
Gassan Gousseinov
d37ce9f699
routablepageurl returns urls only for default site on multisite installation ( #5102 )
2019-02-27 19:21:26 +00:00
Neil Lyons
f10c5cab58
Update docs for construct_homepage_panels hook ( #5109 )
...
`construct_homepage_panels` hook doesn't need a return statement.
[Looking at the code](https://github.com/wagtail/wagtail/blob/master/wagtail/admin/views/home.py#L101-L102 ), the user doesn't need to return a list, they need to mutate the list passed in.
2019-02-27 14:50:01 +00:00
Evan Winter
a4c3ccc464
Fix typo in docs ( #5103 )
2019-02-26 21:46:23 +00:00
damianos
20f47ff50e
Fixed ValueError
not raised ( #5095 )
...
Raised `ValueError` in `wagtail/images/utils.py` that was called but not raised
I work for Semmle and I noticed these issues using our LGTM code analyzer
https://lgtm.com/projects/g/wagtail/wagtail/alerts/?mode=tree&severity=error&ruleFocus=1505923886371
2019-02-26 19:48:16 +00:00
Karl Hobley
04861bc37d
Release note / contributor for #5097
2019-02-23 14:15:07 +00:00
Matt Collins
37a472834a
Update legacy wagtail.wagtailadmin paths ( #5090 )
...
Update legacy wagtail.wagtailadmin paths to wagtail.admin
2019-02-19 10:49:15 +00:00
Vladimir Knobel
a0d6dbb5f4
Update primer.rst ( #5068 )
...
path to overriding template doesn't match model name
2019-02-13 15:16:44 +00:00
pvetch
731b8fc9b4
Update third_party_tutorials.rst ( #5057 )
...
This content seemed moribund so have added some newer material and checked that the original links still work. There are probably lots of other newer examples that could be added (it might be worth weeding out some of the older content at this point too).
2019-02-08 17:06:01 +00:00
David Beitey
f881420a98
Add MEDIA_* settings to Django integration page ( #5046 )
...
This change adds the required MEDIA_URL/MEDIA_ROOT settings to this documentation page, so the page outlines they are required and gives an example if they're not already configured.
2019-01-31 12:19:42 +00:00
Asanka Lihiniyagoda
8c4b3fe669
'Parent' link in page chooser search should not navigate away ( #5011 )
2019-01-29 16:36:34 +00:00
Matt Westcott
67940973b5
Fetch new translations from Transifex
2019-01-25 10:38:22 +00:00
Matthew Linares
a0b4efd414
Recipe: automatic redirect creation on url edit ( #5002 )
2019-01-24 14:06:44 +00:00
aidarbek
6890f8ef76
Removing confirmation of publishing from documentation ( #5006 )
2019-01-24 12:18:47 +00:00
frmdstryr
5fcaa64d81
Avoid a pop from an empty list in HTMLToContentStateHandler ( #5004 )
2019-01-24 12:09:33 +00:00
Mukesh
fa5deb6b44
More informative error for invalid values passed to |richtext
( #4971 )
...
Fixes #4958
2019-01-10 12:35:12 +00:00
Matt Westcott
5f0fa624f9
Add Thijs Walcarius to contributors
2019-01-10 11:38:33 +00:00
Matt Westcott
e224d0f3a9
Fetch new translations from Transifex
2018-12-19 15:13:00 +00:00
Matt Westcott
d3b6bf99c2
Fetch new translations from Transifex
2018-12-06 16:54:14 +00:00
Matt Westcott
23c02ecfa1
Release note for #4924
2018-11-30 11:27:35 +00:00
Nick Travis
469abe60f3
fixes #4928 remove deprecated references
2018-11-28 11:06:29 +00:00
Hillary Jeffrey
8fd54fd71c
Catch redirects that omit a destination link or point to a page with no routable URL ( #4836 )
...
Fixes #4815
2018-10-31 19:21:07 +00:00
Noah B Johnson
0dacda9133
Added handling for null last login on user list page
2018-10-31 17:46:23 +01:00
Seb
aa2a973382
Ordr collection listings by name ( #4874 )
2018-10-31 11:29:49 +00:00
Matt Westcott
e2acd014b6
Fetch new translations from Transifex
2018-10-28 17:58:06 +03:00
Mikalai Radchuk
a0a58d8396
Adds release notes for #4850
2018-10-28 17:28:53 +03:00
Matt Westcott
fba4f4de4c
Add gmmoraes to contributors
2018-10-28 12:34:03 +03:00
Scott Cranfill
f1148e7f76
Address more feedback on new welcome page
2018-10-27 19:10:31 +03:00
Dzianis Sheka
70a9a5faf7
Fix help text positioning to avoid text cutting with narrow field ( #4855 , #3522 )
2018-10-27 18:43:46 +03:00
عبدالعزيز الفهيقي
88513b8409
support 3.7 in Dockerfile and add comments
2018-10-27 14:15:29 +03:00
Stas Rudakou
ff50c07934
Add tests for frontend_cache's HTTPBackend.purge
( #4851 )
...
* Add frontend_cache::TestBackendConfiguration::test_http that covers HTTPBackend::purge
* Add test cases for `frontend_cache::HTTPBackend::purge` that check network issues
2018-10-27 13:23:58 +03:00
yihuang
fa9e5318b6
add missing verbose_name_plurals
2018-10-27 13:15:23 +03:00
Brady Moe
95333ba8ec
returns content_types as a list instead of dict_values
2018-10-27 12:34:29 +03:00
Matt Westcott
1d442eb26d
Fetch new translations from Transifex
2018-10-23 15:37:14 +01:00
عبدالعزيز الفهيقي
b69cf7a194
update CONTRIBUTORS.rst
...
this is me with my first name
2018-10-23 15:51:49 +02:00
Jorge Barata
8161d7c14c
Fix get_permission_helper_class documentation typo
2018-10-16 11:29:05 +01:00
Matt Westcott
b15c2c92d2
Fetch new translations from Transifex
2018-10-11 14:07:41 +01:00
Matt Westcott
56801cc0ce
Release note for #4788
2018-10-11 12:46:21 +01:00
Matt Westcott
a7fd9a136e
Update core team list
2018-10-11 12:22:04 +01:00
Meteor0id
088d3ffc21
missing quotation, not that it matters
...
award of smallest contribution of the year goes to..
2018-09-13 13:00:57 +01:00
Ben Dickinson
4c72f767ea
Add HTTP_AUTHORIZATION to values copied to dummy preview requests
2018-09-12 16:37:55 +01:00