Wykres commitów

2776 Commity (70da204eb1e8b2083e9a92af05ca895c2defa5dd)

Autor SHA1 Wiadomość Data
Jack Paine 70da204eb1 Reduce contrast of rich text toolbar. Fix #4997 (#5740) 2020-01-25 00:05:27 +00:00
Thibaud Colas 2933589680 Add release notes for #5467 2020-01-24 20:56:18 +00:00
Thibaud Colas eb0612c21c Add release notes for #5784 2020-01-24 15:56:34 +00:00
Thibaud Colas b7872e3f2f Add release notes for #5773 2020-01-23 16:21:43 +00:00
Thibaud Colas ef6ace6e98 Add release notes for #5775 2020-01-23 15:59:43 +00:00
Matt Westcott 11ba755f63 Release note for #5777 2020-01-23 15:33:19 +00:00
Matt Westcott 8ad9f8ecf7 Add changelog / release notes for 2.9 2020-01-23 11:56:35 +00:00
LB Johnston d202195333 fix minor typos in changelog/2.8 release notes 2020-01-22 07:27:34 +10:00
Matt Westcott d2080ff892 Update docs to cover responsive HTML being disabled by default 2020-01-20 18:57:51 +00:00
Matt Westcott 25942a4467 Rename WAGTAIL_ENABLE_RESPONSIVE_EMBED to WAGTAILEMBEDS_RESPONSIVE_HTML for consistency with other settings 2020-01-20 18:57:51 +00:00
Saptak S eda098de58 Abort unfinished ajax before new calls in all search ajax 2020-01-17 17:41:51 +00:00
Eric Sherman f5f841ed59 dropdown on search page by initing dropdowns on ajax success 2020-01-17 16:56:21 +00:00
Kalob Taulien aefb0f9506 Responsive emebed setting 2020-01-17 16:44:46 +00:00
Matt Westcott 7a92ca5ad9 Mark nested InlinePanels as experimental for now
See https://github.com/wagtail/wagtail/issues/5126#issuecomment-575607574, https://github.com/wagtail/wagtail/pull/5732#issuecomment-574753410
2020-01-17 13:00:50 +00:00
Matt Westcott 590bea3b7b Revert "Fix submenu footer blocking items in admin" (#5606)
This change causes the footer to no longer be bottom-aligned when the menu is shorter than window height.

This reverts commit a459e91692.
2020-01-17 12:58:20 +00:00
Andy Chosak 349fca66f3 Fix: Properly save ordering of nested InlinePanels
The order of nested InlinePanels (recently formally added in 5566)
doesn't get saved properly due to some now-invalid assumptions in the JS
selector code.

Currently, Wagtail users can use the editor up/down arrows to order
InlinePanel elements that contain child InlinePanels, but these may not
be properly saved.

Before InlinePanel nesting was supported, it was a safer bet that a
child panel would only contain one hidden input named "-ORDER". With
nesting, however, a parent panel will also contain hidden inputs named
like this for its child panels. This breaks the logic used in the
ordering code.

This change modifies the logic to use the jQuery `.children()` selector
instead of `.next()`, ensuring that we reference the correct adjacent
panel item.

An easy way to test this against current master is to use the Wagtail
testapp test models that exercise this behavior:

1. `wagtail start testwagtail` to create a new project.
2. `cd testwagtail`
3. Edit testwagtail/settings/base.py to add the Wagtail test
application `'wagtail.tests.testapp'` to the list of `INSTALLED_APPS`.
For the admin to work properly with this app, you also need to add
`'wagtail.contrib.settings'` to that list and copy the definition of
`WAGTAILADMIN_RICH_TEXT_EDITORS` from wagtail/tests/settings.py.
4. `./manage.py migrate` to create your local database.
5. `./manage.py createsuperuser` to create an admin user.
6. Create a new Event Page
(http://localhost:8000/admin/pages/add/tests/eventpage/3/).
7. Fill in all required items, and then add multiple speakers under
"Speaker Lineup". For each speaker, add at least one Award. Save the
page.
8. Try using the up/down arrows to reorder the speakers (the parent
InlinePanel), and save the page.
9. Note that when the page reloads, the ordering hasn't been saved. If
you debug using the developer tools, you'll notice that this is because
the code being modified here selects the child panel items instead of
the adjacent parent panel item.
2020-01-15 16:43:32 +00:00
Ascani Carlo 4864920555 Fix update_index throwing AttributeError when value is None (#5757) 2020-01-14 11:33:25 +00:00
Dan Braghis c4a0ec2c4f Use sensitive_post_parameters on password reset form (#5760) 2020-01-14 11:13:21 +00:00
Matt Westcott 1e44186f32 Reword upgrade note about removal of Page/Site from Django admin 2020-01-08 15:50:05 +00:00
Matt Westcott e927f6269a Release note for #5634 2020-01-08 15:43:34 +00:00
Matt Westcott e5f2611cc1 Move edit locking upgrade considerations note to 2.8 2020-01-08 15:20:25 +00:00
Matt Westcott 3f27014a86 Merge branch 'author-specific-locking' of https://github.com/jacobtoppm/wagtail into kaedroho-author-specific-locking 2020-01-08 15:05:59 +00:00
Matt Westcott ee8eda8353 Merge branch 'author-specific-locking' of https://github.com/kaedroho/wagtail into kaedroho-author-specific-locking 2020-01-08 15:02:19 +00:00
Matt Westcott 7fdb06c86c Fill in release date for 2.7.1 2020-01-08 10:39:45 +00:00
Matt Westcott 8c49f2e68d Release notes for #5694 2020-01-07 17:03:09 +00:00
jacobtm 7421590dc7 Document reports submenu hooks 2020-01-02 09:47:52 +00:00
jacobtm 99cb3154cc Correct model reference for page, page cannot be edited when locked is True, rather than False 2020-01-02 09:41:42 +00:00
Johannes Vogel 4a1b337461 add etag support for documents 2019-12-18 15:28:23 +00:00
Matt Westcott 110101d96e Make Django 3.0 support official 2019-12-17 14:24:31 +00:00
Janneke Janssen 146853914e Add verbose_name_plural to form submission due to translation mismatch 2019-12-17 12:28:56 +00:00
Nick Smith 7acf4889db Move wagtail_urls to the end of template urls.py (#5733)
The `wagtail_urls` patterns is a catch-all list of urlpatterns, and will
prevent any patterns later in the list from being matched. The default
case when Django is in debug mode for local development is to use
`django-admin.py runserver`, and in this case the static patterns in the
example [are redundant][1]. However for anyone using a different server
for local development, this makes them work again.

[1]: https://docs.djangoproject.com/en/3.0/howto/static-files/#serving-static-files-during-development
2019-12-17 12:24:24 +00:00
Matt Westcott 4001516a27 Add formal support for nested InlinePanels
Fixes #1952 and #5511
2019-12-02 10:20:45 +10:00
Benedikt Willi 233e7f5189 Add ability to filter image index by a tag
- Fixed error when searching and filtering by tag at the same time
2019-12-02 09:54:35 +10:00
Dan Swain 749d0172e5 Documentation - include {{ block.super }} example in modelAdmin 2019-12-02 09:43:33 +10:00
Dan Swain 5a8c4edba5 Documentation - add StreamFieldPanel to available panel types 2019-12-01 19:13:11 +10:00
Andreas Bernacca 4945acf2db Update document size & hash when changing document file
Resolves #5704
2019-12-01 19:00:57 +10:00
Andreas Bernacca 5a8f468c2d Fix layout issue when using FieldRowPanel with a heading
Resolves #5691
2019-12-01 18:20:44 +10:00
Pete Andrew abd8320dc3 Update links in docs to point at stable Django version 2019-12-01 13:19:40 +10:00
Matt Westcott d65532dd0f Mention the need to inherit from PermissionsMixin in custom user model docs 2019-11-28 12:35:30 +00:00
Matt Westcott 1d8f85c1c5 Add upgrade considerations note for rename of API endpoint classes 2019-11-28 11:21:18 +00:00
Karl Hobley 36d440d2dd Rename `endpoints` modules to `views` 2019-11-28 09:00:56 +00:00
Karl Hobley 16d5b5c99e Rename Endpoints to ViewSets
For consistency with Django REST Framework
2019-11-28 09:00:35 +00:00
Karl Hobley 5f68627950 Merge branch 'master' into author-specific-locking 2019-11-26 15:55:49 +00:00
Karl Hobley 0dbe25c512 Changelog/release note for #5721 2019-11-26 15:50:44 +00:00
Andreas Bernacca 3cb59c2667 Remove Page & Site models from Django admin
- added instructions to release notes on how to reinstate on a per project basis
- Resolves #5703
2019-11-26 22:49:48 +10:00
Matt Westcott 96965d2a3a Update link to settings reference doc 2019-11-20 17:54:43 +00:00
Karl Hobley 633ad38925 Rename settings how-to guide 2019-11-20 17:54:08 +00:00
Karl Hobley 23145382e9 Move settings reference into separate doc 2019-11-20 17:39:46 +00:00
Timothy Bautista 1b0aed7b20 use block.super in extra CSS/JS blocks
- ensure templates that have extra css/js blocks call {{ block.super }} in them
- wagtail.contrib.settings edit
- modeladmin templates
2019-11-20 20:34:00 +10:00
Karl Hobley d37d5c1c60 Changelog/release notes for #5676 and #5688 2019-11-19 14:50:01 +00:00