Wykres commitów

1107 Commity (95333ba8ec5c19a039fa0328bb855d8fa95f1eec)

Autor SHA1 Wiadomość Data
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 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
Coen van der Kamp 84a2a45d49 Add invalid password reset link error message 2018-04-06 19:11:47 +02:00
Loic Teixeira b12a7b08bd Ensure order of headings features is consistent for HalloJS 2018-04-06 16:22:13 +10:00
Matt Westcott 8e71a59712 Fill in release date for 2.0.1
Conflicts:
	CHANGELOG.txt
2018-04-04 14:59:52 +01:00
Matt Westcott 3482b45716 Release note for #4138 in 2.0.1 2018-04-04 11:45:48 +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
Loic Teixeira f92a890303 Update LTS imformation 2018-03-29 14:30:27 +02:00
Bertrand Bordage b375db5a45 Changelog for #4426 in 2.1. 2018-03-27 22:38:16 +02:00
Matt Westcott 3101e7be50 Add release note for #4416 on 2.1 2018-03-23 12:30:13 +00:00
Matt Westcott 96061ae301 Add Python 2 check to `wagtail` command 2018-03-23 12:28:57 +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 72e181a788 Changelog for #4402 in 2.0.1. 2018-03-22 02:59:18 +01:00
Bertrand Bordage c697711bb1 Changelog for #4362 for 2.1. 2018-03-22 02:54:19 +01:00
Bertrand Bordage 587a049270 Changelog for #4362 for 2.0.1. 2018-03-22 02:53:14 +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 7a7d088d9c Release note for #4312 in 2.0.1 2018-03-08 17:02:11 +00:00
Matt Westcott 8e3308af83 Release note for #4312 in 2.1 2018-03-08 17:00:16 +00:00
Matt Westcott 0d4f324d27 Release note for #4314 in 2.0.1 2018-03-08 16:26:36 +00:00
Matt Westcott a2d41ef6bf Release note for #4314 in 2.1 2018-03-08 16:24:28 +00:00
Matt Westcott ed6ee71438 Add 2.0.1 release notes 2018-03-08 12:45:21 +00:00
Todd Dembrey 09f8a4f38a Draftail was failing to initialise with defined options in settings 2018-03-05 16:04:02 +00:00
Matt Westcott 5a028919b9 Fill in release date for 2.0
Conflicts:
	CHANGELOG.txt
2018-02-27 19:36:07 +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
Matt Westcott bed10c31cb Add release notes for form data helpers 2018-02-15 11:54:36 +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
LB (Ben Johnston) 6825aab5f7 Add wrapping for image titles in listing. Fix #4233 (#4243) 2018-02-10 01:56:30 +02:00
Thibaud Colas 19a83364dc Add missing release notes and dependencies as globals docs from Draftail work 2018-02-09 15:24:24 +00:00
Thibaud Colas 9760e8f520 Document Hallo extension points in docs, CHANGELOG, upgrade considerations 2018-02-09 15:24:24 +00: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
Matt Westcott e1325ed4d6 Release notes and documentation for Draftail (#4136) 2018-01-25 16:38:38 +00:00
Thibaud Colas 9f65e7001f Release notes for #3806 2018-01-17 21:48:44 +02:00
Matt Westcott 925b0bd021 Reinstate error reporting on image upload from #2167 2018-01-17 16:32:58 +00:00
Matt Westcott 95b394e5e5 Make 'add/change/delete collection' permission configurable on group edit page 2018-01-17 15:17:42 +00:00
Matt Westcott 8c0b9b0bc1 Release note for #4050 2018-01-16 00:34:00 +00:00
Matt Westcott 5fc191b116 Simplifies edit handlers by removing redundant classes.
This also allows to provide some missing arguments to panels like PageChooserPanel.
2018-01-13 17:21:36 +00:00
Chris Bledsoe 3d945d0255 extract get_template method to allow overriding template on instances of blocks
to allow for customization and make the Block type mirror how the Page model allows for a get_template method to override it.

add per contrib guidelines
2018-01-11 16:03:22 +00:00
Tom Dyson 49bc130b16 simple Dockerfile 2018-01-11 15:25:23 +00:00
Bruno Alla be164048b8 Add setting to disable notification to superusers -- Fixes #3969
WAGTAILADMIN_NOTIFICATION_INCLUDE_SUPERUSERS, default to True
If set to False, superusers do not receive moderation notification,
only moderators do.
2018-01-10 17:26:02 +00:00
Matt Westcott 7e66660b30 Add some rather important forgotten release notes 2018-01-10 15:40:11 +00:00
Matt Westcott 6537af0473 Release note for #4185 2018-01-10 15:33:20 +00:00
LB 3eac584c7c Make FormBuilder more easy to extend 2018-01-10 19:04:42 +10:00
LB 149a531852 Release note for #3812 2018-01-10 16:41:19 +10:00
Bertrand Bordage 5f465276a1 window.history.pushState → replaceState.
No longer floods the history.
2018-01-08 15:29:22 +01:00
Johan Arensman 815cb6e405 Use class based views instead of function views
Changes `index`, `delete_submissions` and `list_submissions`.
Adjusted view tests to properly test the new class based structure.
remove get_field_ordering from FormPage model - now on view
2018-01-08 16:27:09 +10:00
Matt Westcott 3da8dce3fc Release note for #4079 2018-01-05 16:18:18 +00:00
LB d6da38892a add wagtail colours to docs sidebar 2018-01-05 14:51:05 +10:00
Matt Westcott 21c5c7cc67 Release note for #4021 2018-01-04 15:31:17 +00:00
Matt Westcott 77877a48d5 Release note for #4003 / #4166 2018-01-04 13:51:02 +00:00
Bertrand Bordage c3b6966b31 Release notes for #4133. 2018-01-04 14:16:40 +01:00
Bertrand Bordage ca96902c56 Adds release notes for #4059. 2018-01-04 14:06:17 +01:00
Mike Dingjan ef27853a05 Allow overriding login form via ``WAGTAILADMIN_USER_LOGIN_FORM`` setting 2018-01-03 15:57:40 +00:00
Bertrand Bordage 3097e5e610 Changelog for #3911. 2018-01-03 11:32:22 +01:00
Matt Westcott be2b5a7981 Release notes for #4060 2017-12-15 13:50:36 +00:00
Karl Hobley 26d9fb42a3 Changelog/release notes for #3947 2017-12-14 15:22:29 +00:00
Karl Hobley 91eb6b0f6c Changelog/release note for #4128 2017-12-14 11:36:12 +00:00
LB 4ea8365203 Add ability to set custom value_class on StructBlock 2017-12-13 00:00:35 +00:00
LB 78cd642def Release notes for #4093 2017-12-06 13:29:41 +08:00
Matt Westcott 733f487dc0 Enable password validators on the project template.
Thanks to @tmsndrs for the heads-up!
2017-12-04 22:49:09 +00:00
Janneke Janssen 91d1150fc4 Release notes for #3592 2017-12-01 16:24:05 +01:00
LB 7c54c14709 search on changed query only
linting
2017-12-01 12:52:57 +01:00
Janneke Janssen 2cd6086f0b Fix revisions link collapsing 2017-12-01 10:37:11 +01:00
LB a42893f497 FormSubmissionsPanel to use get_submission_class 2017-11-30 12:42:49 +00:00
Matt Westcott 9610c2d3af Make InlinePanel heading independent of label. Original commit by @Adrian-Turjak 2017-11-30 12:08:19 +00:00
LB f0bdfcb22f Release notes for #4024 2017-11-28 22:11:21 +08:00
Karl Hobley 49b28311fc Changelog/release note for #3951 2017-11-23 09:48:19 +00:00
Bertrand Bordage 50a52c20a6 #3583 release notes. 2017-11-22 18:06:25 +01:00
Bertrand Bordage c5593ac49a Changelog for #3936. 2017-11-22 17:04:48 +01:00
Matt Westcott 97c98e170a Fill in release date for 1.13.1 2017-11-17 11:15:34 +00:00
Matt Westcott ae0d7e6149 Fill in release date for 1.12.3 2017-11-17 11:15:11 +00:00
Matt Westcott 9613bc087d Release notes for #4028 2017-11-17 10:58:05 +00:00
Matt Westcott b4f2017123 Release notes for #4027 2017-11-17 10:58:05 +00:00
Matt Westcott 970f26249b Release note for #4017 2017-11-16 17:08:34 +00:00
Matt Westcott 4cceba80f1 Release note for #4018 2017-11-16 17:08:34 +00:00
Matt Westcott e8720c7627 Release note for #4007 2017-11-14 20:12:32 +00:00
Matt Westcott 501273f3d8 release note for #3987 2017-11-10 11:14:27 +00:00
Matt Westcott c9b6d3a4e6 Release note for #3999 backported to 1.13.x 2017-11-07 16:48:26 +00:00
Matt Westcott e603080092 Release note for #3999 2017-11-07 16:45:55 +00:00
Matt Westcott fa0734b4b2 Release note for #3981 2017-11-06 14:30:04 +00:00
Matt Westcott e5ecc6318b Release note for #3965 2017-11-03 18:12:41 +00:00
Jonathan Carmack 7859627a6e Added hooks for user for create, delete, and edit actions 2017-11-03 16:53:32 +00:00
Edd Baldry a28fa5e8c8 Amends label for when user changes images closes #3955 2017-11-03 16:12:22 +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
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
Karl Hobley 0fb6edcf5f Changelog/release notes for #3979 and #3983 2017-10-30 10:17:12 +00:00
Karl Hobley 1c9c934f9f Changelog/release notes for #3856 and #3946 2017-10-26 16:53:09 +01:00
Karl Hobley 030c6b9548 Changelog/release notes for #3925, #3930 and #3974 2017-10-26 13:55:21 +01:00
Karl Hobley 499ef19a9b Changelog/release note for #3521 2017-10-25 15:28:32 +01:00
Karl Hobley 328e337395 Changelog and release notes for #3940 and #3968 2017-10-25 11:56:39 +01:00
Kees Hink c03f43a70b Also show link to image usage page on confirm_delete page 2017-10-19 10:23:36 +01:00
Matt Westcott fd9d36d66b Mark 1.13 as no longer in development
Conflicts:
	CHANGELOG.txt
2017-10-16 19:03:47 +01:00
Ross Crawford-d'Heureuse 32555f7a1c Added hiddenfield 2017-10-13 17:26:20 +01:00
Sævar Öfjörð Magnússon 9ac07d0a75 Bypass removelist in urlify when dealing with unicode characters. Fixes #3915 2017-10-13 16:57:20 +01:00
Matt Westcott 2b64922a05 Add release note re removal of Python 2.7, Django 1.8 and Django 1.10 support 2017-10-11 17:31:08 +01:00
Matt Westcott f69c73ef66 Version bump to begin work on 2.0 2017-10-09 18:34:43 +01:00
Matt Westcott e93b21036e Allow navigation from page usage/search results
Remove the allow_navigation flag from the 'explore' page listing, and have navigation always enabled - there's no good reason to leave it out, and people have asked for it. Fixes #952
2017-10-06 14:17:41 +01:00
Matt Westcott be73f16e14 Make custom PageManagers return the correct PageQuerySet subclass
As reported in https://github.com/wagtail/wagtail/issues/3250#issuecomment-284988695, custom page managers created with PageManager.from_queryset(CustomPageQuerySet) fail to return instances of CustomPageQuerySet. This breaks the EventPageQuerySet example given at http://docs.wagtail.io/en/v1.9/topics/pages.html#custom-page-managers.
2017-10-06 13:06:18 +01:00
Matt Westcott 700864bb2a Release note for #3794 2017-10-06 00:37:47 +01:00
Matt Westcott de3f9550b4 Release note for #3824 2017-10-05 15:40:55 +01:00
Samir Shah 62b8caedd5 Remove SessionAuthenticationMiddleware from project template and docs.
The project template assumes Django 1.11, where SessionAuthenticationMiddleware is redundant (see https://docs.djangoproject.com/en/1.11/releases/1.10/#features-removed-in-1-10).

Also update the documentation to consistently refer to MIDDLEWARE instead of MIDDLEWARE_CLASSES.
2017-10-04 16:14:34 +01:00
Mikalai Radchuk ddb0665f79 Make last_published_at filterable 2017-10-02 21:39:31 +01:00
Matt Westcott ce0e88c3ae Release note for #3893 2017-10-02 21:15:36 +01:00
Mikalai Radchuk bcf3a8f364 Release notes for #3792 2017-10-02 10:20:17 +01:00
Janneke Janssen b3e126d6b9 Update React to 15.6.2 due to relicensing (#3884) 2017-09-29 18:18:16 +13:00
Matt Westcott 46ce262bc0 changelog note for #3878 2017-09-27 14:46:33 +01:00
Matt Westcott c19bea67b9 Stop breadcrumb home icon from showing as ellipsis in Chrome 2017-09-26 16:18:22 +02:00
Matt Westcott f9de02b806 Release note for #3705 2017-09-21 15:00:10 +01:00
Matt Westcott 6570cf1a76 Release note for #3442 2017-09-20 20:48:03 +01:00
Matt Westcott 37be77143d Release note for #3822 2017-09-20 16:08:58 +01:00
Matt Westcott 65e833603a Release note for #3821 2017-09-20 15:59:57 +01:00