0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

68 Commits

Author SHA1 Message Date
Matt Westcott
e5f2611cc1 Move edit locking upgrade considerations note to 2.8 2020-01-08 15:20:25 +00:00
Karl Hobley
5f68627950 Merge branch 'master' into author-specific-locking 2019-11-26 15:55:49 +00:00
Matt Westcott
39422b259e Fill in release date for 2.7 2019-11-06 13:06:22 +00:00
Karl Hobley
2f93ae56e5 Upgrade consideration 2019-10-29 11:01:44 +00: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
Matt Westcott
a5d54a587b Mark Python 3.8 support as official in changelog 2019-10-22 16:25:59 +01:00
Matt Westcott
96c1c41daa Release note for #5643 in 2.7 2019-10-22 16:14:25 +01:00
Matt Westcott
fe9132823a Changelog cleanup
* note Python 3.8 support as provisional
* Remove mentions of minor doc fixes (there are many more fixes beyond the ones mentioned here, and including them all in the release notes would add too much noise...)
2019-10-16 18:17:17 +01:00
Matt Westcott
142e133209 Rename wagtail/admin/locale.py to localization.py
Having a module called locale interferes with Django's makemessages / compilemessages commands :-(
2019-10-16 17:42:16 +01:00
Matt Westcott
302d22e252 Release note for #5249 / #5629 2019-10-16 16:21:26 +01:00
Matt Westcott
3024e02481 Revert "Formalise Python 3.8 support"
This reverts commit ddbbaea288.
2019-10-16 14:27:59 +01:00
Karl Hobley
b4ecead6d9 [5225] Take number of frames into account when limiting image size 2019-10-16 11:36:07 +01:00
Matt Westcott
ddbbaea288 Formalise Python 3.8 support 2019-10-15 20:08:04 +01:00
LB (Ben Johnston)
03cd4056df Docs - Add AbstractUser import to custom user model
- `from django.contrib.auth.models import AbstractUser`
- revise a previous changelog entry to clarify 'clean up' vs 'fix'
2019-10-12 09:57:47 +10:00
Matt Westcott
9d7d09bd75 Replace format() placeholders in translatable strings with % formatting
Fixes #5539. Transifex and Django's makemessages command have validation to catch invalid placeholder variables within translated strings - for example, where the translator has translated the variable name - but these only recognise old-style `%` formatting, not the `format` method, and so it's better for us to standardise on % formatting.

To reduce the burden on translators having to re-translate these strings, only the ones using named placeholders (`"Edited page {title}"`) rather than numeric ones (`"Edited page {0}"`) have been changed - hopefully the latter give less room for error.

Also fixed some incorrect use of plurals (verbose_name vs verbose_name_plural) in snippet confirmation messages.
2019-10-12 09:46:57 +10: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
Matt Westcott
a0035c33c0 Add example of template rendering to TableBlock docs
Addresses #5540
2019-10-12 09:29:10 +10:00
Matt Westcott
72ba719ac8 Remove mentions of Django 3.0 compatibility from release notes
Work on compatibility is ongoing while Django 3.0 is still in development; we don't want this to be misinterpreted as a statement of formal Django 3.0 support (which we can't promise until the final release)
2019-10-11 12:28:01 +01:00
Matt Westcott
7aacade7ec Add acknowledgement to The Motley Fool 2019-10-11 12:27:18 +01:00
Matt Westcott
ee68d2214a Release note for #5500 / #5612 2019-10-11 12:18:34 +01:00
Matt Westcott
671698a59f Add release note about template change for action menu items 2019-10-11 12:11:09 +01:00
Karl Hobley
0507ec5377 Release notes for #5611 2019-10-10 11:03:39 +01:00
Matt Westcott
e1d3390a1f Release note for #5527 2019-10-09 12:53:58 +01:00
Matt Westcott
0569960acc Added upgrade note about disabling version strings 2019-10-09 12:16:59 +01:00
Sergey Fedoseev
b9c470df37 Output form media on add/edit/chooser document forms with custom models
Similar to eaad013081, but for Document
2019-10-02 12:54:27 +01:00
Sergey Fedoseev
bbec0c8bc8 Make DraftailRichTextArea be considered as visible (#5583) 2019-10-01 17:31:23 +01:00
Matt Westcott
9a21e79ff8 Add role="table" to TableBlock output
As per https://twitter.com/SaraSoueidan/status/1177622630763028480, certain browsers apply heuristics to decide whether `<table>` elements exist for layout or data purposes, and adjust the behaviour of their accessibility features accordingly. Given that TableBlock intentionally doesn't allow markup within cells, we can be reasonably sure that any tables created with it are genuine data tables, and should therefore indicate that using `role="table"`.
2019-10-01 17:27:32 +01:00
Matt Westcott
44a1e6f9f8 Eliminate dependency on default User model from style guide
Fixes #5442. Building a User object for david@torchbox.com may cause problems if a custom user model is in use, and is redundant anyhow because there's no longer a registered gravatar for that email - we should just hard-code the default blank avatar instead.
2019-09-29 09:10:17 +10: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
Matt Westcott
e87dcaf015 Release note for #5296 2019-09-23 01:25:23 +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
Bojan Mihelac
df1608b080 fix: Language chosen in user preferences persists on subsequent requests (#4310) 2019-09-02 19:34:06 +01:00
Robert Rollins
ef4b37cf5d Changed Snippet Chooser AJAX delay from 50ms to 200ms, to remove laggy typing. (#5439)
50ms is the equivalent of about 200 words per minute, so typing slower than that
meant that the javascript would send an AJAX request between every single
keystroke. This change makes the javascript wait for 200ms between keystrokes,
which lets you finish typing the word you're looking for before it sends an AJAX
request.
2019-08-29 14:13:23 +01:00
kevinhowbrook
7db44c71b3 Break listing titles by word so action buttons are visible on smaller screens (#5429) 2019-08-29 14:06:16 +01:00
kevinhowbrook
48c82516db Allow content to define the tab width on xs screens to stop cutting off text (#5392) 2019-08-29 12:27:32 +01:00
Matt Westcott
6feb29d54a Release note for StreamField design update (#5476) 2019-08-23 15:53:48 +01:00
Kalob Taulien
4ba1806cdf Add telephone number links to release notes 2019-08-22 08:18:41 -06:00
Pavel Denisov
d6e4072e26 Remove Unidecode from postgres_search. Fix #5001 (#5514) 2019-08-20 16:12:35 +01:00
Matt Westcott
227221f7fb Update docs with new locations of wagtail.admin.utils definitions 2019-08-19 18:58:56 +02:00
kevinhowbrook
31e3dab4ec Allow users to change their first and last name 2019-08-18 17:08:52 +10:00
Mikalai Radchuk
d2d8b2c9e3 Fixes layout for the FileField 2019-08-18 16:55:36 +10:00
Matt Westcott
dc780c5bb1 Fix failing tests due to different HTML escaping in Django 3.0
- Fix password reset tests
- Fix test for invalid-slug message
- Update changelog/release notes
2019-08-18 16:40:37 +10:00
Matt Westcott
34c1b4ccbe Upgrade django-taggit to 1.x
django-taggit 1.x drops Python 2.x support and thus the dependency on django.utils.six; this is a prerequisite for supporting Django 3.0.
The signature of TaggableManager.value_from_object has changed to return a list of Tags (previously it was a QuerySet of TaggedItems) and so search indexing and comparison need to be updated accordingly. There is a corresponding fix to ClusterTaggableManager in django-modelcluster 5.0.
2019-08-18 16:33:02 +10:00
Coen van der Kamp
525cf5922e Update Changelog 2019-08-18 16:12:14 +10:00