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
Anselm Bradford
303ee0f95b
Add rel="noopener noreferrer"
to target blank links
2018-10-27 12:46:49 +03:00
Brady Moe
95333ba8ec
returns content_types as a list instead of dict_values
2018-10-27 12:34:29 +03:00
Sergey Fedoseev
51ea37a403
Simplify error handling in Document.get_file_size()
...
SystemExit and KeyboardInterrupt are not inherited from Exception, so they don't need special treatment here.
2018-10-27 11:24:16 +02:00
Dan Braghis
3bb6984132
Clarify virtualenv steps for easier getting started
...
Reference: https://github.com/wagtail/wagtail/issues/4690#issuecomment-431240164
2018-10-27 11:49:12 +03:00
Matt Westcott
1f7e16a172
Eliminate imports of django.contrib.staticfiles.templatetags
...
This is dropped in favour of django.templatetags.static in Django 3.0
2018-10-27 09:40:42 +02:00
Matt Westcott
183b626dc3
Eliminate {% load staticfiles %}
and {% load admin_static %}
...
These are removed in Django 3.0 in favour of `{% load static %}`
2018-10-27 09:40:42 +02:00
Matt Westcott
d66f34692e
Remove context parameter from from_db_value
...
This is dropped in Django 3.0
2018-10-27 09:40:42 +02:00
Matt Westcott
2dce8bc1c1
Make EmbedBlock tests work offline
...
As of 42caa586b4
the embed endpoint is checked on EmbedBlock.clean, so we need to mock get_embed during these tests to avoid a live HTTP request.
2018-10-27 09:39:54 +02:00
Benjamin Bach
a671f19298
Use current year for the copyright notice
2018-10-25 18:14:36 +01:00
Matt Westcott
af69cb4a54
Convert all oembed regexps to raw strings, to avoid escaping bugs
...
Auto-converted from the old code using:
>>> from wagtail.embeds.oembed_providers import all_providers
>>> for provider in all_providers:
... print(provider['endpoint'])
... for url in provider['urls']:
... print(" r'" + url + "',")
and confirmed equal to the original using:
>>> from wagtail.embeds.oembed_providers import all_providers
>>> from wagtail.embeds.oembed_providers_old import all_providers as all_providers_old
>>> all_providers == all_providers_old
True
2018-10-25 18:03:29 +01:00
Matt Westcott
33e290b82d
Fix linting failures for flake8 3.6
2018-10-25 18:03:29 +01:00
Matt Westcott
c2a351fee1
Clarify that the default languages list is the ones with >=90% coverage
2018-10-25 12:20:59 +01:00
Matt Westcott
16bc148916
Fill in release date for 2.3
2018-10-23 15:39:56 +01: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
Janneke Janssen
52a224ca64
Fixes reference to the wagtailsearch section
2018-10-23 15:51:14 +02:00
Matt Westcott
c915ae9cb5
Fix broken link to bakerydemo ( #4834 )
2018-10-21 11:38:28 +02:00
Matt Westcott
9afcd1a8be
Remove notes about URL confs for Django<2.0
2018-10-18 11:25:12 +01:00
Matt Westcott
4965d85e72
Update hook examples to use django.templatetags.static
...
django.contrib.staticfiles.templatetags.staticfiles is deprecated as of Django 2.0
2018-10-18 08:49:15 +01:00
Matt Westcott
4bb8a5f420
Document Python 3.7 support
2018-10-17 18:23:35 +01:00
Matt Westcott
83f8988058
Add python3.7 to tox/travis config
2018-10-17 18:23:35 +01:00
Matt Westcott
9bba692d01
Fix collection imports to avoid py3.7 deprecation warning
2018-10-17 18:23:35 +01:00
Matt Westcott
e844200f27
Remove Django 1.11 support from code and docs
2018-10-17 15:30:36 +01:00
Matt Westcott
f56318a67b
Remove Django 1.11 from CI
2018-10-17 15:30:36 +01:00
Matt Westcott
565fde0d27
Rotate deprecation warnings
2018-10-17 13:58:19 +01:00
Matt Westcott
1d5aac5d10
Remove handling of missing request argument from get_sitemap_urls
2018-10-17 13:58:19 +01:00
Matt Westcott
65fb1e9cd4
Remove deprecated js_template handling from modal workflow
2018-10-17 13:58:19 +01:00
Matt Westcott
771eb42d05
add 2.4 release notes page
2018-10-17 11:46:56 +01:00
Matt Westcott
5b7bf05db8
Version bump to start work on 2.4
2018-10-17 11:07:33 +01:00
Matt Westcott
f73ca5e540
Catch empty non-StreamValues in get_prep_value. Fixes #4809
2018-10-16 13:01:00 +01:00
Matt Westcott
b5dd89f893
Fetch new translations from Transifex
2018-10-16 12:45:28 +01:00
Jorge Barata
8161d7c14c
Fix get_permission_helper_class documentation typo
2018-10-16 11:29:05 +01:00
Andy Chosak
5f3458842b
fixes wording in document upload message
...
Changes "Please update this documents" to "Please update this document".
2018-10-16 11:27:06 +01:00
Matt Westcott
7c82594c29
Trivial change to 2.3.rst to see if readthedocs picks it up
2018-10-11 17:23:27 +01:00
Matt Westcott
5b8031ee18
Move readthedocs.yml to project root
...
This is now required according to https://github.com/rtfd/readthedocs.org/issues/4668
2018-10-11 16:59:57 +01:00
Matt Westcott
523a014adb
Add note that 2.3 is the last dj1.11-compatible release
2018-10-11 14:26:24 +01:00
Matt Westcott
679aeaf759
Generate new translation strings
2018-10-11 14:17:27 +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
Coen van der Kamp
ffb4e3d286
Increase contrast to make tabs more distinct. Make tab highlight border darker
2018-10-11 12:07:51 +01:00
Coen van der Kamp
9ea40b71fb
Darken button borders
2018-10-11 12:07:51 +01:00
Coen van der Kamp
30c21feda1
Add comment refering to Wagtail stylesheet back in
2018-10-11 12:07:51 +01:00
Coen van der Kamp
9eb776af90
Restore backgrounds, input highlight and tabs. Use a darker gray for text.
2018-10-11 12:07:51 +01:00
Coen van der Kamp
8cba2a1b1c
Increase seach nav contrast and try to keep visual intensity as before
2018-10-11 12:07:51 +01:00
Coen van der Kamp
7a28c00437
Increase text on white contrast
2018-10-11 12:07:51 +01:00
Coen van der Kamp
0e1c6b953d
Detach nav colors from color-grey vars gives fine grained color control
2018-10-11 12:07:51 +01:00
Coen van der Kamp
5356ff13c8
Simplify color functions and round numbers.
2018-10-11 12:07:51 +01:00