Sergey Fedoseev
8f8faf3c60
Fixed some formatting in 'Customising IndexView' doc. ( #4877 )
...
* Fixed some formatting in 'Customising IndexView' doc.
* Make coverage omit docs/conf.py.
2018-10-30 12:29:11 +00:00
Sergey Fedoseev
29c8ad6637
Fix reference in ModelAdmin.ordering docs.
2018-10-30 12:23:17 +00:00
Benjamin Bach
5b0f2e1a54
First positional argument for tox as test module/case path
2018-10-30 12:16:45 +00:00
Matt Westcott
866d8c1602
Generate new strings for translation
2018-10-28 17:58:06 +03: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
FedorSelitsky
86865bafc2
Revision page edit button only shows with correct perms
...
Add tests for moderation list
2018-10-28 17:25:02 +03:00
FedorSelitsky
6d79169dad
Add PyPI trove classifiers for Wagtail
2018-10-28 16:43:42 +03:00
Stas Rudakou
3a678a4e32
Make text 'There is one match' more translation-friendly
...
For languages that have more than 2 plural forms (e.g. Belarussian)
it's important for all the translation to have counter variable
included. Otherwise transifex won't let translators include a variable
like that to the forms that need it (e.g. we can't use counter for 2,
3 or 4 in Belarussian).
2018-10-28 16:41:24 +03:00
Matt Westcott
a5416d8604
Fix tests that check storage.exists on missing files
...
Several tests that check for the deletion of underlying files of FileField were implemented incorrectly: the filename of a FileField is cleared on deletion, so they were testing the presence of None as a filename rather than testing the filename we're interested in.
Up until bb81c22d90
, None was being cast to a string and thus the assertions were always succeeding (assuming no file named "None" existed); the removal of this cast has caused the error to surface in Django 2.2a0.
2018-10-28 16:39:53 +03:00
Mikalai Radchuk
41321158a5
Adds credits to the release notes
2018-10-28 16:23:40 +03:00
Mikalai Radchuk
604bc6c4c7
Adds release notes for #4856
2018-10-28 16:21:46 +03:00
Yannick Chabbert
515aa61943
Add template tag for dynamic image url
...
Update documentation
Co-Authored-By: zerolab <dan@zerolab.org>
2018-10-28 16:21:46 +03:00
Thibaud Colas
ba5138e3fd
Fix StreamField full-width layout, UI regression from #4855 ( #4866 )
2018-10-28 16:14:11 +03:00
Meteor0id
49b280ab0a
Allow custom logos of any height in the admin menu ( #4747 )
2018-10-28 15:48:04 +03:00
Matt Westcott
fba4f4de4c
Add gmmoraes to contributors
2018-10-28 12:34:03 +03:00
Mikalai Radchuk
bfc41752e3
Adds release notes for #4859
2018-10-28 11:57:06 +03:00
Stas Rudakou
bfbdc21bdb
Use a nicer documents chooser help message if no documents exist
...
This improves helper text at documents chooser. If no documents exist
in DB, we used to display `Sorry, no documents match ""`. Let's make
it clear that no documents exist and suggest to add one if the user
has permissions to do that.
2018-10-28 10:45:37 +03:00
Stas Rudakou
9d333760c7
Extend WagtailTestUtils::login
to login other users
2018-10-28 10:45:22 +03:00
Scott Cranfill
f1148e7f76
Address more feedback on new welcome page
2018-10-27 19:10:31 +03:00
Allen, Timothy
01ac14c139
Take the Django 'It Worked' page as a starting point for a Wagtail intro 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
Matt Westcott
cea4cbc836
Release note for #4854
2018-10-27 16:44:14 +03:00
Janneke Janssen
a5e47d0ae5
Add tests for the document listing to (not) contain a collection reference
2018-10-27 16:44:14 +03:00
Janneke Janssen
109f4e94db
Double-check if the end-user is using collections or not
2018-10-27 16:44:14 +03:00
alejandro
743a26819c
Feature 4162: Show an overview of collections on the Image/Document chooser
2018-10-27 16:44:14 +03:00
Matt Westcott
aaa0953d05
Document the Dockerfile in the project template ( #4853 )
2018-10-27 15:18:25 +02:00
Matt Westcott
66a428f741
Release note for #4840
2018-10-27 15:58:13 +03:00
Sergey Fedoseev
a3ee6aaf19
Added tests for custom document fields showing on multi-upload form
2018-10-27 15:30:14 +03:00
Robert Rollins
8722e3594a
BUGFIX: Custom Document models now display custom fields on multi-upload form.
2018-10-27 15:25:14 +03:00
Dan Braghis
3b1dc5be86
Add Page max_count
2018-10-27 15:13:16 +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
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