0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
Karl Hobley
17f7f70170 Added "find" API view and ability to find pages by HTML path
This implements a new "find" view for all endpoints which can be used
for finding an individual object based on the URL parameters passed to
it.

If an object is found, the view will return a ``302`` redirect to detail
page of that object. If not, the view will return a ``404`` response.

For the pages endpoint, I've added a ``html_path`` parameter to this
view, this allows finding a page by its path on the site.

For example a GET request to ``/api/v2/pages/find/?html_path=/`` will
always generate a 302 response to the detail view of the homepage. This
uses Wagtail's internal routing mechanism so routable pages are
supported as well.

Fixes #4154
2018-04-13 12:08:19 +01:00
Tom Dyson
edbfba5af3 Allow any host in development 2018-04-13 11:36:26 +01:00
Sergey Fedoseev
63e824f100 Fixed #4423 -- Fixed background color in docs css. 2018-04-12 10:55:24 +02:00
Coen van der Kamp
3bcefe351a 4412 Position modeladmin title 2018-04-12 10:33:30 +02:00
Benoit Vogel
9a21060aff Fix Add user button label (input->button) 2018-04-12 10:24:33 +02:00
Karl Hobley
e809b6addd Changelog/release note for #4458 2018-04-11 10:04:27 +01:00
Sander Tuit
4e7ccdcdc9 Add icon template tag with accessibility options (PoC) (#4381) 2018-04-08 23:41:24 +03:00
Janneke Janssen
783776928d Release notes for #4398 2018-04-06 19:12:00 +02:00
Loic Teixeira
b12a7b08bd Ensure order of headings features is consistent for HalloJS 2018-04-06 16:22:13 +10:00
Matt Westcott
dd9bb32b69 Fix monospace formatting 2018-04-04 15:00:19 +01:00
Matt Westcott
6bc7fbdc82 Release note for #4138 in 2.1 2018-04-04 11:42:18 +01:00
Coen van der Kamp
7841f54fe8 ImageChooser now sets a default title based on filename. Fix #2844 (#4385) 2018-04-02 17:11:49 +03:00
Rajeev J Sebastian
35049c352a Add request parameter to edit handlers (#4382) 2018-04-02 16:51:14 +03:00
alejandrogarza
5a5e6d5d2b Added change email functionality from the account settings. Fix #4325 (#4375) 2018-04-02 15:42:46 +03:00
Bertrand Bordage
3939397850 Changelog for #4421. 2018-03-29 21:01:47 +02:00
Dave Bell
b2ef833915 allow chunk_size to be set in update_index 2018-03-29 17:49:43 +02:00
Matt Westcott
626418d348 Ensure breadcrumb respects custom get_admin_display_title methods. Fixes #4353 2018-03-29 17:36:32 +02:00
Bertrand Bordage
b375db5a45 Changelog for #4426 in 2.1. 2018-03-27 22:38:16 +02:00
Matt Westcott
99aa078178 Fix indentation on 2.1 release notes
(technically we should standardise on no leading space, because the leading space creates a blockquote element - however, it's not really noticeable in the end result, and this way we can easily copy and paste from the changelog...)
2018-03-23 12:32:40 +00:00
Matt Westcott
3101e7be50 Add release note for #4416 on 2.1 2018-03-23 12:30:13 +00:00
Mike Kamermans
59506ae69f Update jquery-datetimepicker dependency to make Wagtail more CSP-friendly (unsafe-eval). Fix #4329 (#4337)
* Update jquery-datetimepicker to 2.5.19

- Fixes an `eval()` CSP violation
- includes touch scroll fix from commit #87a7a7 (L909)
2018-03-22 23:51:37 +02:00
Bertrand Bordage
e24b198872 Changelog for #4397. 2018-03-22 03:03:19 +01:00
Bertrand Bordage
4ae3c30fdb Changelog for #4402 in 2.1. 2018-03-22 02:59:47 +01:00
Bertrand Bordage
c697711bb1 Changelog for #4362 for 2.1. 2018-03-22 02:54:19 +01:00
Bertrand Bordage
afe3b74f7d Changelog for #4374. 2018-03-22 02:42:14 +01:00
Tony Yates
cab90e5d1b Adding external link with selected text now includes text in link chooser. Fix #4328 (#4366) 2018-03-21 00:35:41 +02:00
Matt Westcott
e64c4daca6 Changelog cleanup
Documentation typo fixes aren't covered in the changelog (they happen frequently enough that covering them all would create too much noise)
2018-03-20 14:41:00 +00:00
Kim Chee Leong
2fdb924b56 Call 'specific' attribute when fetching page
Get the specific implementation of a page, this shows the correct
get_admin_display_title on the delete confirmation page.
2018-03-20 14:36:13 +00:00
DanAtShenTech
72e1491f39 Fix typo 2018-03-16 19:54:59 +01:00
Karl Hobley
26d452c4bb Release notes for #4384 2018-03-16 15:16:40 +00:00
Lucas Moeskops
f7b0b6917c Added if statement around error box html for both fields 2018-03-16 11:48:24 +01:00
Janneke Janssen
3536796471 Correct dropdown arrow styling in Firefox, IE11. Fix #4336 (#4373) 2018-03-15 12:36:51 +01:00
Caspowned
977dbae585 Rewrite password change feedback message. Fix #4200 (#4364) 2018-03-15 00:53:33 +01:00
Thibaud Colas
6246832408 Add JS source maps in production build for packaged Wagtail 2018-03-14 23:03:00 +01:00
Thibaud Colas
6126510176 Fix focal area removal not working in IE11 and MS Edge. Fix #4284 2018-03-14 14:08:55 +01:00
Thibaud Colas
68daec7848 Remove outdated X-UA-Compatible meta from admin template 2018-03-14 10:35:50 +01:00
Samir Shah
4c5eed2dd0 Remove support for IE6 to IE9 from project template (#4355)
I'd like to propose removing the shims for IE6-9 from the project template.

The rationale for this is the same as for dropping support for EOL version of Django, etc. - i.e., these versions of Internet Explorer are no longer supported by the vendor (the last version of Windows that you cannot upgrade to use IE10 or higher was Windows XP, which reached end of life in 2014).

On that basis I think that Wagtail should not include these shims by default - projects that for whatever reason still need to support these browsers can easily add them to their templates.
2018-03-12 11:40:09 +01:00
Matt Westcott
8e3308af83 Release note for #4312 in 2.1 2018-03-08 17:00:16 +00:00
Matt Westcott
a2d41ef6bf Release note for #4314 in 2.1 2018-03-08 16:24:28 +00:00
Todd Dembrey
09f8a4f38a Draftail was failing to initialise with defined options in settings 2018-03-05 16:04:02 +00:00
Michael Harrison
4da0bd7bd2 Improve redirect links search in the admin 2018-02-27 16:08:11 +11:00
Tim Heap
e8a9f9d8c9 Use correctly sorted StreamBlock children in both prepend and append menus
Previously blocks were only correctly sorted and grouped in the prepend
menu, while they appeared in definition order in the append menu.
2018-02-22 13:52:13 +00:00
Julian Gallo
9e67741f2b Fix position of action buttons in image editor on mobile (#3771) 2018-02-14 15:26:35 +02:00
Carlo Ascani
8c0170bb62 Animate the chevron icon when opening sub-menus in the admin (#3069) 2018-02-14 14:06:19 +02:00
Ben
6412bad624 Persist tab hash in URL to allow direct navigation to tabs in the admin interface (#4231)
Save the hash when clicking on a tab and select the tab if loading a page with a hash in it. This allows for giving direct links to a specific tab.

![tabs](https://user-images.githubusercontent.com/272675/35627540-c8e22f36-065e-11e8-848e-78924335a146.gif)

Fixes wagtail/wagtail#4111
2018-02-14 11:37:44 +02:00
Dave Bell
99e9d5468a Use Rendition in image_to_html 2018-02-12 20:24:17 +00:00
LB (Ben Johnston)
6825aab5f7 Add wrapping for image titles in listing. Fix #4233 (#4243) 2018-02-10 01:56:30 +02:00
Matt Westcott
139cfa3fbe Release note for #3988 2018-01-30 19:03:34 +00:00
Matt Westcott
e20f37013b Version bump to start work on 2.1 2018-01-30 16:36:19 +00:00