Wykres commitów

9329 Commity (d8aa83b235029eb3d8a2d75b51acb74a24e5af83)

Autor SHA1 Wiadomość Data
Matt Westcott d8aa83b235 Fix Postgres search indexing on Postgres 9.4 and Django >=2.2.1
Fixes #5547
As of Django 2.2.1, Value expressions within a SearchVector must specify an output_field: https://code.djangoproject.com/ticket/30446
2019-09-11 13:32:25 +02:00
Matt Westcott 92aeaf00ff Split up wagtail.admin.tests.test_pages_views 2019-09-09 12:59:07 +01:00
Edy b9cfc24b37 Fixed broken email header when hosting static files remotely (#5543)
Fixes #5525
2019-09-06 12:13:07 +01:00
Mads Jensen 0938c8e0c0 Stopped inheriting from object. 2019-09-06 12:04:51 +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
Mads Jensen 5e2f50403b Replaced use of force_text with force_str. 2019-09-06 10:45:18 +01:00
Mads Jensen b928747e48 Replaced SafeText with SafeString. 2019-09-06 10:37:32 +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
Bojan Mihelac df1608b080 fix: Language chosen in user preferences persists on subsequent requests (#4310) 2019-09-02 19:34:06 +01:00
Matt Westcott 6a1a46b612 Add note about CurrentSiteMiddleware incompatibility
As per https://github.com/wagtail/wagtail/issues/2840#issuecomment-522697801
2019-09-02 16:18:41 +01:00
Karl Hobley 349a23b8d4 Add wagtail nightly to readme 2019-09-02 13:20:54 +01:00
pvetch 3d7f2947c0 Update CONTRIBUTORS.rst
Correction to contributor's name per request by email
2019-08-30 09:58:38 +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
Zac Connelly a19571db7a update docs for TabbedInterface (#5374) 2019-08-29 11:23:13 +01:00
Matt Westcott e263aaf749 Update release schedule info and move dates table to the wiki
Document release schedule in readme
2019-08-23 13:15:24 -04:00
Matt Westcott 6feb29d54a Release note for StreamField design update (#5476) 2019-08-23 15:53:48 +01:00
Bertrand Bordage 1a4c157ec8 Updates to react-streamfield 0.9.5. 2019-08-23 14:55:27 +01:00
Bertrand Bordage ec60b02ea0 Updates broken JS tests. 2019-08-23 14:55:27 +01:00
Matt Westcott ee253d0de5 Fix streamfield tests for updated markup 2019-08-23 14:55:26 +01:00
Matt Westcott 268f33ea11 Update list / struct / stream block markup to match react-streamfield CSS 2019-08-23 14:55:26 +01:00
Matt Westcott 725b01c809 Replace streamfield CSS with react-streamfield CSS 2019-08-23 14:55:26 +01:00
Kalob Taulien 05f129c8f5
Updated contributors, release notes & changelog
Updated contributors, release notes & changelog for telephone links in Draftail
2019-08-22 08:53:53 -06:00
Kalob Taulien 4ba1806cdf Add telephone number links to release notes 2019-08-22 08:18:41 -06:00
Kalob Taulien f227ec0a82 Updated contributors & changelog 2019-08-21 20:01:25 -06:00
Kalob Taulien 7b2e499af0
Add support for phone links in rich text
Add support for phone links in rich text
2019-08-21 19:46:09 -06:00
Mikael Engström 7e7ca39821
Merge branch 'master' into support-phone-number-links 2019-08-21 21:36:12 +02: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
Sergey Fedoseev 94be338cbd Fix mention of non-existing PageLinkHandler.get_identifier
Refs #5184
2019-08-20 11:54:43 +01:00
Matt Westcott 9be694b508 Update references to wagtailadmin in comment 2019-08-19 18:58:56 +02:00
Matt Westcott 96c1152eab Make try/catch AttributeError less all-encompassing 2019-08-19 18:58:56 +02:00
Matt Westcott 3502c38804 Update wagtail.admin.utils and wagtail.admin.decorators imports to new locations. Fixes #5507 2019-08-19 18:58:56 +02:00
Matt Westcott a92d81be0c Fix MovedDefinitionHandler deprecation warnings to point to the import location 2019-08-19 18:58:56 +02:00
Matt Westcott 227221f7fb Update docs with new locations of wagtail.admin.utils definitions 2019-08-19 18:58:56 +02:00
Matt Westcott 3a44de4d2b Move get_site_for_user to wagtail.admin.navigation 2019-08-19 18:58:56 +02:00
Matt Westcott eabe8ae47a Move email functions from wagtail.admin.utils to wagtail.admin.mail 2019-08-19 18:58:56 +02:00
Matt Westcott e1c9c9ea6a Move authentication-related functions from wagtail.admin.decorators to wagtail.admin.auth 2019-08-19 18:58:56 +02:00
Matt Westcott fdfab0e28d Move authentication-related functions from wagtail.admin.utils to wagtail.admin.auth 2019-08-19 18:58:56 +02:00
Matt Westcott 5b1211cb6a Move model-related functions from wagtail.admin.utils to wagtail.admin.models 2019-08-19 18:58:56 +02:00
Matt Westcott 2583a886c8 Move locale-related functions from wagtail.admin.utils to wagtail.admin.locale 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
Iman Syed 794d40b86b Add ability to create anchor link tab within rich text link
- add tests

- Update changelog & release notes
2019-08-18 15:56:20 +10:00