0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

2229 Commits

Author SHA1 Message Date
Andrew Plummer
24712b4d8b Images: handle all not found errors in get_file_size 2018-05-25 11:56:00 -04:00
Matt Westcott
8285ba4e69 Fill in release date for 2.1
Conflicts:
	CHANGELOG.txt
2018-05-22 16:14:47 +01:00
Matt Westcott
e8711a5bc2 Remove release notes for 2.0.2
There are no current plans to create another 2.0.x bugfix release; users on 2.0.x should upgrade to 2.1 instead.
2018-05-22 16:14:10 +01:00
Matt Westcott
8d786c3534 Reference the get_url method in Page model reference docs
Fixes #4424. As of #3354, `get_url` is the preferred way of obtaining a page URL, rather than the `.url` property;
.url is just a wrapper around get_url (which meant that the docstring for `get_url` was erroneously being picked up).
2018-05-18 15:26:06 +01:00
DanAtShenTech
53881ebd0b Small wording, spelling, grammar edits (#4543) 2018-05-18 14:59:06 +01:00
DanAtShenTech
f58e85fa0f Fix wording 2018-05-18 14:55:29 +01:00
Alex Gleason
1c7e90c3ee Change wagtailimages.Image on_delete CASCADE to SET_NULL in docs 2018-05-18 14:51:50 +01:00
Victor Miti
c38b172793 updated Django Docs Links to point to *docs.djangoproject.com/en/stable/* 2018-05-18 14:43:42 +01:00
Matt Westcott
2c8d7371b4 Remove frontend search view 2018-05-18 11:43:28 +01:00
Matt Westcott
31a1126123 Remove construct_whitelister_element_rules hook 2018-05-18 11:43:28 +01:00
Matt Westcott
3fc9ed5119 Remove old versionadded/versionchanged notes 2018-05-18 11:43:28 +01:00
Matt Westcott
5db57bac93 Version bump to start work on 2.2 2018-05-18 11:43:28 +01:00
Matt Westcott
6fed8400f1 Release note for #4531 in 2.0.2 2018-05-15 23:27:47 +01:00
Matt Westcott
7133428d92 Release note for #4531 in 2.1 2018-05-15 23:27:47 +01:00
Matt Westcott
fc46f12939 AWS_S3_FILE_OVERWRITE must be False, not True 2018-05-15 19:42:03 +01:00
Matt Westcott
a9a69bedf5 Move HelpPanel documentation to avoid redefinition of wagtail.admin.edit_handlers module 2018-05-15 14:57:07 +01:00
Matt Westcott
5ce14841d8 Remove ancient versionchanged notes 2018-05-15 14:54:41 +01:00
Kees Hink
0b3c20556d Docs: How to create test fixtures for custom Page models 2018-05-15 14:50:24 +01:00
Bertrand Bordage
32148b2b24 Changelog for #4533. 2018-05-11 19:05:55 +02:00
Matt Westcott
937254f321 Add documentation for deploying with cloud storage 2018-05-09 10:41:09 +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
Karl Hobley
0dec4c8f89 Update supported databases in docs 2018-05-08 11:58:31 +01:00
Matt Westcott
83df6168fc Add 2.1 to supported versions table 2018-05-04 20:45:34 +01:00
Matt Westcott
7f38c476be Release note for #4132 2018-05-04 16:19:27 +01:00
Karl Hobley
6308e6b816 Docs update for Elasticsearch 6 support 2018-05-04 15:57:36 +01:00
Karl Hobley
df4f1204e8
Fix a couple of search indexing examples 2018-05-03 12:29:35 +01:00
Andy Babic
d0670da61b Fix minor typo in modeladmin docs (#4509)
add_to_setings_menu -> add_to_settings_menu
2018-05-02 18:11:01 +03:00
Matt Westcott
fa27773d16 Release note for #4462 2018-04-23 16:26:32 +01:00
Matt Westcott
bcbfe226ee Allow disabling gravatar with WAGTAIL_GRAVATAR_PROVIDER_URL=None. Fixes #1286 2018-04-23 15:53:13 +01:00
Pierre Geier
96118cdb9a Makes it possible to set a custom Gravatar source like robohash or your own. 2018-04-23 15:53:13 +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
b743b87d2f Release note for #4469 in 2.0.x
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-04-17 12:19:38 +01:00
Matt Westcott
b704a7e188 Release note for #4469 2018-04-17 12:15:17 +01:00
Bertrand Bordage
06227a11ea Removes the temporary Kickstarter banner. 2018-04-16 17:16:05 +02: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
Loic Teixeira
8c5b1bc7ba Update LTS support period and Django compatibility
As discussed during the core team meeting of March 28th 2018.
2018-04-13 10:14:38 +10: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