Rahmi Pruitt
fe2f8644fa
Allow default item in action menu to be overridden with construct_page_action_menu hook
...
Fixes #5438
2019-10-11 12:11:08 +01:00
Karl Hobley
0507ec5377
Release notes for #5611
2019-10-10 11:03:39 +01:00
pySilver
0149eff66a
Implements ES7 support ( #5611 )
...
* Implements ES7 support
* Linter fix
* Adds docs
* isort fix
* Fixes typo
2019-10-10 11:00:14 +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
Matt Westcott
779620e53b
Disable querystrings if a storage backend with hashed filenames is active
2019-10-09 12:16:58 +01:00
Matt Westcott
8711050e49
Add cache-busting parameter to admin static files
...
Fixes #5493
2019-10-09 12:16:56 +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
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
4d2956f7e7
Deduplicate creation of fake file in document tests
2019-10-02 12:54:27 +01:00
jacobtoppm
dd5cbd8d7a
Add new docs page 'Changing rich text representation' ( #5579 )
...
* Add new docs page 'Changing rich text representation' describing how to subclass Format to provide a custom image html representation in rich text
2019-10-02 12:12:38 +01:00
jacobtm
daba83aab1
Add a note on 'Previewing and Submitting for Moderation' page about potential disabled moderation
2019-10-02 10:48:15 +01:00
Mike Janger
747b5402d2
Changed height's description to match width's. ( #5593 )
2019-10-02 09:32:16 +01:00
Andy Babic
e2607f917c
Make it possible to override the url used by Page._get_dummy_headers()
2019-10-01 17:38:05 +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
43cce16b18
Update more FieldDoesNotExist imports as per #5581
2019-09-29 16:24:45 +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
Matt Westcott
000c4990b4
Test Django master against django-modelcluster master
2019-09-25 20:35:03 +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
Matt Westcott
e87dcaf015
Release note for #5296
2019-09-23 01:25:23 +01:00
Matt Westcott
cf8ca04cb4
Additional tests for document.url and serve view behaviour
2019-09-21 18:53:48 +01:00
Matt Westcott
76d72a36c3
Documentation tweaks for WAGTAILDOCS_SERVE_METHOD
...
As suggested by @chosak - https://github.com/wagtail/wagtail/pull/5296#discussion_r324252497 , https://github.com/wagtail/wagtail/pull/5296#discussion_r324257167
2019-09-21 18:53:48 +01:00
Tobias McNulty
40fa3956f5
add WAGTAILDOCS_SERVE_METHOD setting to allow serving files from underlying storage
2019-09-21 18:53:48 +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
Matt Westcott
3668df7f5b
Fetch new translations from Transifex
2019-09-19 15:05:36 +01:00
Matt Westcott
88a688afe7
Fill in release date for 2.6.2
2019-09-19 15:05:20 +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
Matt Westcott
0d4f670625
Release note for #5559
2019-09-11 13:00:11 +01:00
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