Wykres commitów

67 Commity (045fda35950de8b37c45ffacd00fff613e1eb0d5)

Autor SHA1 Wiadomość Data
Pomax 40981b0c65 replace my name with my name
I do not write code under my passport name, if I have to be in a changelog, please use "Pomax" =)
2018-07-10 11:20:28 +01:00
Matt Westcott 8285ba4e69 Fill in release date for 2.1
Conflicts:
	CHANGELOG.txt
2018-05-22 16:14:47 +01:00
Matt Westcott 7133428d92 Release note for #4531 in 2.1 2018-05-15 23:27:47 +01:00
Karl Hobley 0e19076b1c Moved changelog/release note for #4503 to version 2.2 2018-05-08 14:50:53 +01:00
Karl Hobley 10f4c0b082 Changelog/release note for #4503 2018-05-08 13:04:31 +01:00
Matt Westcott 7f38c476be Release note for #4132 2018-05-04 16:19:27 +01:00
Matt Westcott fa27773d16 Release note for #4462 2018-04-23 16:26:32 +01:00
Karl Hobley 1849f0d54a Pass index name in URL to Bulk API
We currently index all items in Elasticsearch using the root bulk api
(at ``/_bulk``). This API is to allow multiple indices to be inserted
into at once. However, Wagtail inserts into one index at a time so this
is not needed. If we pass the index name as a parameter in the call to
``bulk()``, the index-specific bulk API will be used instead (at
``/<index name>/_bulk``.

The advantage of this change is it makes it possible to implement access
control by checking the URL an application is using. This is required in
order for the Bulk API to work on certain hosts (such as Divio).
2018-04-20 15:02:46 +01:00
David e43ea79747 Add a per-user timezone setting 2018-04-20 12:06:52 +01:00
Andy Chosak 3bd3275add more tests for ordering pages with custom titles 2018-04-19 22:40:16 -04:00
Arthur Holzner 878a5beeca Add `extra_footer_actions` template blocks 2018-04-19 12:37:52 +01:00
pyMan b3fa09b95e Improved 'purge_page_from_cache' to purge the url for any managed language 2018-04-18 11:28:23 +01:00
Thibaud Colas c309753378
Expose reusable client-side code to build Draftail extensions (#4467)
* Expose Draftail package as global variable for reuse
* Expose Wagtail React components for reuse
* Expose Draftail-related React components for reuse
2018-04-18 00:27:07 +03:00
Matt Westcott 574e7ff3fa Release note for #4470 2018-04-17 12:23:24 +01:00
Matt Westcott b704a7e188 Release note for #4469 2018-04-17 12:15:17 +01:00
Bertrand Bordage eece1654a4 Changelog for #4390. 2018-04-16 15:18:13 +02:00
Andy Chosak d1830c0909 prevent users from navigating privileged pages
This change prevents non-admins from navigating around the Wagtail page
tree for pages that lie outside of their explorable root. Currently,
non-admins can hit any page in the tree using a URL like

/admin/pages/123/

even if they don't have any permissions over that page or its part of
the page tree.

This change adds a (temporary) redirect to requests like this, so that
users may not navigate to parts of the tree that lie outside outside of
their explorable site root, as determined by the page privileges they
have. If they try to hit a URL like the one above, they get redirected
to their explorable site root navigation page instead.

Relevant unit tests have been modified to incorporate this change.
2018-04-13 16:47:54 +01:00
Andy Chosak 5c9ff23e22 make site summary panel respect user privileges
This change modifies how the Wagtail home site summary panel displays
the number of pages on the site, and where that number links to.

Instead of showing the total number of pages on the site, the panel
should show the number of pages under the user's explorable root page
(inclusive). If the user has access to the full tree, the Wagtail root
is not counted in this total.

Previously, the site summary page link would go to the Wagtail root if
there were multiple sites in an installation, and to the site root page
for a single site. This change modifies this logic so that the link
always goes to the user's explorable root page (which may be their
explorable root page).

The unit tests for the site summary panel have been pulled out into a
new module at `wagtail.admin.tests.test_site_summary`, and augmented to
test how things work for users with different permissions.
2018-04-13 14:36:13 +01:00
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