Edd Baldry
a28fa5e8c8
Amends label for when user changes images closes #3955
2017-11-03 16:12:22 +00:00
Bertrand Bordage
d7180bec1a
Merge pull request #3965 from BertrandBordage/admin-dropdown
...
Fixes admin dropdown arrow.
2017-11-03 17:06:51 +01:00
Matt Westcott
b0ddfc6da4
Update warning re ATOMIC_REBUILD on Elasticsearch >= 5.4
...
It appears that the bug may have reappeared in 5.5 final. Fixes #3985
2017-11-03 15:53:29 +00:00
Matt Westcott
31294f3b38
Release note for #3974 backport to 1.13.x
2017-11-03 15:44:20 +00:00
Matt Westcott
ced5cf2fe8
Release note for #3974 backport to 1.12.x
2017-11-03 15:44:14 +00:00
Matt Westcott
e61481442e
Release note for #3912 backported to 1.12.x
2017-11-03 15:04:04 +00:00
Matt Westcott
3a017fc00d
Add release note for #3973 backported to 1.13.x
2017-11-03 15:03:55 +00:00
Matt Westcott
77093a8cc6
Add release note for #3973 backported to 1.12.x
2017-11-03 15:02:48 +00:00
Matt Westcott
022c31d91e
Release note for #3973
2017-11-03 14:43:32 +00:00
Karl Hobley
e7312a429d
Fix AttributeError in listing_view endpoint
...
Fixes #3967
If there was no site configured, the listing views in the API would
break with an AttributeError.
Now, the following happens if there is no site record:
- In the Admin API, all pages are returned but links in the response do
not include a domain name
- In the Public API, no pages are returned
2017-11-03 14:39:39 +00:00
Matt Westcott
cc64f40237
Update CONTRIBUTORS.rst with current core team
2017-11-02 10:41:13 +00:00
Karl Hobley
6fecf271fc
Remove hostnames from expected redirect URLs
2017-11-01 16:22:46 +00:00
Karl Hobley
0f6f650178
Rename field.rel to field.remote_field
2017-11-01 16:22:46 +00:00
Karl Hobley
7a3707eca0
Moved app_name
URLconf setting into included urls modules
2017-11-01 16:22:46 +00:00
Karl Hobley
be6284c0a0
Add on_delete= on search models
2017-11-01 16:22:46 +00:00
Karl Hobley
bf7936ade2
Replace django.core.urlresolvers
with django.urls
2017-11-01 16:22:46 +00:00
Tim Heap
62aa2b2726
Update Tim Heap's contributor note
...
I've changed employers, but still contribute to Wagtail.
2017-11-01 09:48:58 +00:00
Tim Heap
1f2b8ccaf1
Filter pop-out explorer pages using 'construct_explorer_page_queryset'
...
The pages listed when browsing the /admin/pages/ explorer differed from
the pages listed in the new React/admin API powered pop-out explorer.
The latter did not pass the queryset through the
'construct_explorer_page_queryset' hook, so pages that should have been
hidden were visible. Visiting these pages in the explorer could then
lead to unexpected behaviours, as hidden sections of the site became
browsable.
A new `for_explorer=1` query parameter has been added to the admin API,
which will pass the page queryset through the
'construct_explorer_page_queryset' hooks.
2017-10-31 15:55:01 +00:00
Mikalai Radchuk
e1fc584f1c
Implementation of separate_filters_from_query ( #2766 )
...
* Implementation of separate_filters_from_query
* Adds test with unclosed quotation mark
2017-10-30 10:34:31 +00:00
Karl Hobley
0fb6edcf5f
Changelog/release notes for #3979 and #3983
2017-10-30 10:17:12 +00:00
Karl Hobley
c3022c23b5
Moved SearchableListMixin to wagtailadmin ( #3970 )
...
* Moved SearchableListMixin to wagtailadmin
* Add wagtailsearch support to SearchableListMixin
* Cleanup in SearchableListLixin
As per https://github.com/wagtail/wagtail/pull/3970#discussion_r146959286
2017-10-30 09:47:40 +00:00
Bertrand Bordage
d6df75e1d2
Makes PageChooserPanel
search in all fields. ( #3979 )
2017-10-30 09:38:45 +00:00
Tim Heap
25f60060d3
Only show "View live" buttons if pages are accessible ( #3983 )
...
"View live" buttons in flash messages are now only displayed if the page
has a live URL. Editing pages that do not have a URL will no longer
produce broken buttons.
Fixes #3982
2017-10-30 09:31:43 +00:00
Tom Dyson
aeef5a5454
Make license perpetual
2017-10-27 09:55:03 +01:00
Karl Hobley
1c9c934f9f
Changelog/release notes for #3856 and #3946
2017-10-26 16:53:09 +01:00
Karl Hobley
b350672585
Merge pull request #3934 from gasman/cleanup/remove-python2
...
Remove Python 2 fallback code
2017-10-26 14:41:43 +01:00
Kees Hink
feb02e7857
Use full width (drop right column) if usage is off
2017-10-26 14:34:58 +01:00
Kees Hink
9b0139ff33
Remove padding
2017-10-26 14:34:58 +01:00
Kees Hink
034b3a32a5
Show Usage info link on delete form for Documents and Snippets
2017-10-26 14:34:58 +01:00
Kees Hink
454af89c17
Move Usage info (Documents, Images) to sidebar
2017-10-26 14:34:58 +01:00
Venelin Stoykov
57969731b2
Fix routablepageurl to work with WAGTAIL_APPEND_SLASH = False ( #3856 )
2017-10-26 14:25:36 +01:00
Karl Hobley
030c6b9548
Changelog/release notes for #3925 , #3930 and #3974
2017-10-26 13:55:21 +01:00
Stein Strindhaug
b641bb8ce8
Tolerate sites where all pages are private ( #3974 )
...
When all pages on a site is private, the last_mods set will be empty
causing a crash when trying to get the max value from it.
This fix adds a test that the set is truthy (not empty) before calling
max.
2017-10-26 11:53:05 +01:00
LB (Ben Johnston)
f219493365
Implement ordering by date in Form Submission View
...
* add url parsing for ordering
* add data_fields_with_ordering
* send data_fields_with_ordering and use in template
* use full words 'ascending' not 'asc'
* add styles for ordered headings
* add links for changing ordering to headings
* linting
* move field ordering to the form page model
* use form page model field ordering
* view to use rearranged field ordering
* add tests for new submission list ordering
* change to be easier to read
* Update tests to reflect new listing with ordering information
2017-10-25 16:57:33 +01:00
Karl Hobley
fa302c0853
Remove wagtail.contrib.wagtailapi
2017-10-25 16:49:17 +01:00
Karl Hobley
bd38525e5b
Merge branch 'master' into cleanup/remove-python2
2017-10-25 16:21:27 +01:00
Matt Westcott
5ce8fe3566
Remove dont_use_model_field_default_for_empty_data flag required by Django 1.10.1
2017-10-25 16:15:02 +01:00
Matt Westcott
6ab10b5e11
Remove remaining DJANGO_VERSION checks for Django <1.11
2017-10-25 16:15:02 +01:00
Matt Westcott
1f54141aeb
Remove unnecessary comment re Django 1.8
2017-10-25 16:15:02 +01:00
Matt Westcott
6882a1fb42
Remove pre-Django 1.8 code from check_image_file_format
2017-10-25 16:15:02 +01:00
Matt Westcott
98f600c514
Remove Django 1.8 fallback code for transaction.on_commit
2017-10-25 16:15:02 +01:00
Matt Westcott
60c26e5565
Remove note about Django 1.10 being required for postgres search backend
2017-10-25 16:15:02 +01:00
Matt Westcott
56a68c3ee8
Remove more Django 1.8 references from docs
2017-10-25 16:15:02 +01:00
Karl Hobley
499ef19a9b
Changelog/release note for #3521
2017-10-25 15:28:32 +01:00
Karl Hobley
1c09c808c6
Fix offset when using scroll API
2017-10-25 15:10:40 +01:00
Karl Hobley
0bcf5a951e
Factor out repeated code
2017-10-25 15:10:40 +01:00
Karl Hobley
688b025187
Implement tweaks suggested by @BertrandBordage
2017-10-25 15:10:40 +01:00
Karl Hobley
ca1ebc7a1e
Added tests that retrieve more than 100 results from Elasticsearch
2017-10-25 15:10:40 +01:00
Karl Hobley
dea74450ca
Clear the scroll when we are done with it
2017-10-25 15:10:40 +01:00
Karl Hobley
d794a52ff8
Don't use scroll API when less than 100 items are requested
2017-10-25 15:10:40 +01:00