Matt Westcott
cc3b826025
fixup! Add Django 1.11b1 to Travis as allow_failures
2017-03-12 12:52:42 +03:00
Matt Westcott
73639938b7
fixup! Add Django 1.11b1 to Travis as allow_failures
2017-03-12 12:52:42 +03:00
Matt Westcott
2f6c88f52b
Add Django 1.11b1 to Travis as allow_failures
2017-03-12 12:52:42 +03:00
Matt Westcott
e17668521a
Fix remaining tests to use HTML-level comparison
2017-03-12 12:52:42 +03:00
Matt Westcott
68fa4dbea8
Add allow_extra_attrs option to assertTagInHTML
2017-03-12 12:52:42 +03:00
Matt Westcott
06605acae3
Use assertTagInTemplateScript to test HTML declarations
2017-03-12 12:52:42 +03:00
Matt Westcott
9c5ab4facf
Add assertTagInTemplateScript test helper function
...
This asserts that a tag exists within a <script type="text/template"> block in the given HTML,
matching as per assertTagInHTML rules.
2017-03-12 12:52:42 +03:00
Matt Westcott
064d06c62c
Use appropriate assertInHTML / assertTagInHTML variants for FieldBlock tests
2017-03-12 12:52:42 +03:00
Matt Westcott
5ac2aa62c1
Add assertTagInHTML test helper
...
This asserts that the given tag exists in the HTML content, respecting tag name and attributes but ignoring content.
2017-03-12 12:52:42 +03:00
Matt Westcott
8fc035af5e
Ignore HTML attribute ordering in widget rendering tests
...
Patch provided by @timgraham via https://github.com/wagtail/wagtail/issues/3314#issuecomment-281774365
2017-03-12 12:52:42 +03:00
hyden
01e891d0c4
Convert every Cloudflare API error message into string ( #3436 )
2017-03-09 19:36:08 +00:00
Daniel Chimeno
92f64bef27
make script py2/3 compatible
2017-03-08 15:51:23 +00:00
Matt Westcott
21f1292cf7
Reinstate underscore in fields param, as per 40842fe8bf (commitcomment-21183519)
2017-03-07 11:03:30 +00:00
Matt Westcott
60f28f8dc3
Mark API v1 documentation as deprecated ( #3429 )
2017-03-07 10:49:19 +00:00
jacoor
40842fe8bf
typo fix
2017-03-07 10:48:30 +00:00
Matt Westcott
ef5c61ece7
Fix inconsistent capitalisation that resulted in unnecessary extra strings to translate
...
Thanks to @chimeno
2017-03-07 10:23:16 +00:00
Andy Babic
3348cd5c89
Reduce modeladmin’s dependency on wagtail.wagtailimages and wagtail.wagtaildocs
...
- Remove imports at the top of options.py and views.py that result in ImportError when those apps aren’t installed
- Alter ThumbnailMixin and InspectView to use the `wagtail.wagtailimages.shortcuts.get_rendition_or_not_found()` method to render images, which handles missing image source files gracefully, and reduces code duplication.
- Simplify `get_field_display_value()` by not limiting image and document rendering to ForeignKey fields. It should work consistently for property methods or other attributes too.
2017-03-03 15:33:17 +00:00
Matt Westcott
449c578c38
Fix UnorderedObjectListWarnings from paginated lists not specifying an ordering
2017-03-03 14:41:59 +00:00
Matt Westcott
29070191d6
Add on_delete param to ParentalKey
2017-03-03 12:34:12 +00:00
Trent Holliday
f28130647a
Title not displaying page name
...
The `page` context variable does not exist for that view.
2017-03-03 09:56:05 +01:00
Thibaud Colas
d4e63c74e5
Mention Awesome Wagtail on "third-party tutorials" page ( #3419 )
...
It feels relevant to mention Awesome Wagtail here since it serves the same purpose as this page.
2017-03-02 12:00:38 +00:00
Janneke Janssen
6e9965d47f
Fix possibility of tabbed interface conflicting with regular IDs
2017-03-01 16:57:09 +00:00
cho-leukeleu
d2baa4ba05
Update results.html
...
Close anchor tag
2017-03-01 15:55:44 +00:00
Stein Strindhaug
35305e1649
Fix for #3268 : Make file-label translated
2017-03-01 15:50:42 +00:00
Karl Hobley
986749d309
Flake8 plugins ( #3411 )
...
* Installed flake8-blind-except plugin
* Installed flake8-print plugin
* Combined flake8 and isort in Drone
flake8 needs to install a couple more dependencies now so I think it
makes sense to merge these and install testing dependencies in one go.
2017-03-01 12:21:34 +00:00
Matt Westcott
aa3ff07053
Dj1.11 - Specify ALLOWED_HOSTS in preview test
...
Django 1.11 now validates ALLOWED_HOSTS during tests:
https://docs.djangoproject.com/en/1.11/topics/testing/advanced/#topics-testing-advanced-multiple-hosts
2017-03-01 11:56:26 +00:00
Matt Westcott
54012e6397
Fix backtick quoting
2017-02-23 12:24:32 +00:00
Matt Westcott
d4114ff4ae
Release note for #3007
2017-02-23 12:23:03 +00:00
Bertrand Bordage
87e11bec86
Adds password validation.
2017-02-23 12:19:24 +00:00
Bertrand Bordage
9216d434db
Factorizes UserCreationForm and UserEditForm.
2017-02-23 10:40:45 +00:00
Tim Graham
7d8a1a0d1e
Remove transitive imports of django.forms.utils.flattatt ( #3397 )
2017-02-22 19:31:07 +00:00
Matt Westcott
63d52af0a3
Release note for dropping Django 1.9 and Python 3.3 ( #3376 )
2017-02-22 17:40:09 +00:00
Matt Westcott
187908e773
Remove statement of Django 1.9 and Python 3.3 compatibility from docs
2017-02-22 17:39:38 +00:00
Matt Westcott
fef8b28089
Drop Django 1.9 and Python 3.3 from CI
...
As agreed at https://groups.google.com/d/msg/wagtail-developers/nTn-rthPMsA/ORP3GA-hCQAJ
2017-02-22 17:39:38 +00:00
Janneke Janssen
23649990c2
Fixes the search promotion query popup from throwing an unexpected error. ( #3395 )
...
Fixes #3384
2017-02-22 16:16:36 +00:00
Thibaud Colas
f9bc308ef5
Update image link in README to point to new file
2017-02-22 14:23:46 +02:00
Thibaud Colas
816a753f73
Add new section to README to credit supporters ( #3394 )
...
Credits only BrowserStack for now.
2017-02-22 14:22:12 +02:00
Matheus Bratfisch
ca16e9187f
Add exclude_fields to ModelAdmin and ModelFormView, tests and doc
2017-02-22 11:41:44 +00:00
Scot Hacker
6364104282
Document get_rendition()
2017-02-21 22:48:20 +00:00
David Ray
b69bf0e9bb
Updating Sphinx and other doc dep versions ( #3386 )
...
* Updating Sphinx and other doc dep versions
* Don't bother to install docs dependencies on Drone
2017-02-21 13:46:21 +00:00
Matt Westcott
498f4f4627
Add note that promoted search results are an optional feature ( #3343 )
...
Addresses #3321
2017-02-21 10:57:25 +00:00
Tim Heap
9c2f2aac0f
Use render_basic for StructBlocks ( #3393 )
...
Having a StructBlock rendered via a template was inconsistent with other
blocks, It also meant that overriding `render_basic()` in a child class
did nothing, again unlike all other blocks. Providing a `render_basic()`
is useful for block libraries, where a `render_basic()` provides a very
minimal implementation with the expectation that developers will provide
their own render method via a template.
2017-02-21 10:39:29 +00:00
Thibaud Colas
1e3548e671
Add browser support targets in contributing guidelines
2017-02-20 20:46:40 +00:00
Daniel Chimeno
f70226c845
add way of autocompile documentation
2017-02-20 20:24:17 +00:00
Daniel Chimeno
85de048a89
speedup tests
2017-02-20 19:05:16 +00:00
Janneke Janssen
493a30bcf9
Add nvmrc to the project and updated developing docs
2017-02-20 11:14:33 +01:00
Andy Babic
0c056552eb
Style amends for modeladmin.view.IndexView:
...
- Removes unnecessary right padding from result list when listing is supposed to be full-width (no filters) on desktop
- Removes unnecessary left/right padding from result list on mobile (the table cells have padding of their own)
- In order to be more consistent with the Explorer list view, only make orderable column header links 'teal' if the listing is currently ordered by that field
- Better use of scss hierarchy to improve readability
- Remove the ‘teal’ CSS class from orderable header links
2017-02-17 21:08:13 +01:00
Mikalai Radchuk
eb47526888
Enhancement for PageChooserBlock
...
Allow the target_model argument to be a list or tuple.
2017-02-17 11:30:32 +00:00
Gagaro
46c9cdda15
feat: Added construct_image_chooser_queryset
, construct_document_chooser_queryset
and construct_page_chooser_queryset
hooks
2017-02-17 10:40:03 +00:00
Andy Chosak
b00bf70229
Document register_page_listing_more_buttons ( #3377 )
...
* add docs for register_page_listing_more_buttons
2017-02-16 21:40:57 +00:00