0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 11:10:43 +01:00
Commit Graph

436 Commits

Author SHA1 Message Date
Coen van der Kamp
525cf5922e Update Changelog 2019-08-18 16:12:14 +10:00
Jonathan Liuti
2de92f045c Upgrade minimum 6.x release for Elasticsearch to 6.4.0
Fix doc and test on ES6 python client compat

This commit changes the statement that version < 6.3.1 of the
elasticsearch python client should be used to instead state
that 6.4.0 is fine.

It also update the tests to reflect the statement.

Initially the `update_all_types` argument has been used to work
around an issue described in:
https://github.com/wagtail/wagtail/issues/2968

This argument was removed in elasticsearch-py 6.3.1 and making
use of it was raising an error.

With 6.4.0 nothing is raising anymore.
2019-08-18 15:37:11 +10:00
John Carter
3bb2ab85fd Resolve DeprecationWarning (#5485)
Resolves "DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working" - see #5484
2019-08-06 10:49:45 +01:00
Iman Syed
d3f720995a Make image fallback work for images with big/small aspect ratios. Fix #5472 (#5474) 2019-08-01 11:46:34 +01:00
Matt Westcott
d651f9417c Fetch new translations from Transifex 2019-08-01 10:34:31 +01:00
Rodrigo
1a2bf525f2 Add https support for scribd oembed provider (#739)
Currently scribd defaults to https for their sharing links - http still works but if you copy&paste quickly you may think it's broken
2019-07-25 14:19:07 +01:00
Matt Westcott
d6239bd5dd Fetch new translations from Transifex 2019-07-09 14:25:52 +01:00
Andrew Miller
b9816d194a Don't make assumptions about the username field
The USERNAME_FIELD exists to allow customisation. Therefore we should make an assumption that `.username` exists on the model. Instead, we need to pull the required value from the USERNAME_FIELD and add in a fallback default.
2019-07-08 20:11:14 +01:00
William Blackie
3754d34caa Search query normalisation no longer removes punctuation #5416 2019-07-04 16:53:27 +01:00
Jonny
851bd5f24d Added missing is_stored_locally() to AbstractDocument 2019-07-03 15:53:51 +01:00
jordan_bauer
0dac8f0764 added construction_hook_name to settings_menu (#5384) 2019-06-25 12:04:53 +01:00
Mikalai Radchuk
9291f95b7e
Update CONTRIBUTORS.rst 2019-06-24 14:05:48 +01:00
Fidel Ramos
41f80af5db Optimization of UserPagePermissionsProxy.revisions_for_moderation (#5311)
revisions_for_moderation() was iterating over Page instances only
to use their path attribute. The optimization uses values_list()
over the GroupPagePermission queryset to retrieve only the page
paths without having to create the model instances in memory. This
saves roughly 50% of the runtime.
2019-06-18 20:14:54 +01:00
jordan-bauer
998440cfa9 Remove buggy tab order customisations in CMS admin (#5383, #5351) 2019-06-18 12:49:16 +01:00
Eric Dyken
eba3357fd4 Adds Collections section to editor's guide 2019-06-17 10:13:49 +01:00
Andy Babic
fdd8ddc2b1 Release notes for #5373 2019-06-13 13:56:49 +01:00
Dillen Meijboom
dd1597ea37 Implemented branding title prefix customization (#5344) 2019-06-07 17:06:00 +01:00
LB Johnston
d57c7c59f3 Update changelog/contributors & release notes with recent contributions 2019-05-23 16:58:19 +10:00
Jonny Scholes
d76410f5ce
Update CONTRIBUTORS.rst 2019-05-22 20:07:32 +10:00
Thibaud Colas
70a749b10a Add release notes for #5290 2019-05-14 14:16:10 +01:00
Alex Tomkins
4891db0d89 Improve EditHandler __repr__
The string of self.form is the same as form.as_table - which is too verbose.

This updates the __repr__ of EditHandler/FieldPanel to show the class name of the form being used instead (or NoneType if it's None).
2019-05-10 15:35:52 +01:00
rinti
1b22794da2 Add correct dir attribute to html tag in admin 2019-05-10 14:47:10 +01:00
Adam
22e9e71ca7 Updated Page Chooser Panel ForeignKey
Needs a related_name
2019-05-10 14:41:09 +01:00
Matt Westcott
51d8cac6f4 Release note for #4906 2019-05-03 16:56:46 +01:00
Michael Hearn
7c9c00ab7c Don't show pages in explorer that user has no permissions to access
Partially addresses #4660
2019-05-03 11:42:38 +01:00
scil
1e55b98af0 Update performance.rst 2019-05-01 12:58:22 +01:00
Po-Chuan Hsieh
02f3ae5696 Relax pillow version restriction
It allows to build with Pillow 6.x.
2019-05-01 12:46:28 +01:00
Matt Westcott
60cac850d0 Fetch new translations from Transifex 2019-04-24 16:08:46 +01:00
Deniz Dogan
647f2c1d1d Fix Redux DevTools deprecation warning (#5231). Fix #5214 2019-04-23 15:02:53 +01:00
Matt Westcott
14cb03b539 Stop ModelAdmin from failing when filtering over a foreign key relation
Supersedes #4998
As per https://github.com/wagtail/wagtail/pull/4998#issuecomment-471005219, the implementation of `lookup_allowed` is flawed and breaks on some valid lookups while allowing invalid ones. We are therefore better off removing that validation entirely.
2019-04-12 18:56:56 +01:00
dthompson86
444744dbfe Update the_explorer_page.rst (#5220)
Fixed a typo ;-)
2019-04-12 16:32:42 +01:00
Cassidy Brooke
942979fc4e Missing step for Migrating RichTextFields to StreamField (#5207)
This generated block of code needs to stay or else there will be an error while running ./manage.py migrate. It is misleading that it is not included in this tutorial.
2019-04-12 16:20:11 +01:00
Matt Westcott
d5bc3c92d2 Fetch new translations and update config for Chinese (#3668)
* Fetch new translations from Transifex, update contributors, add new languages with >90% coverage to WAGTAILADMIN_PROVIDED_LANGUAGES
* Update transifex config to download Chinese (Simplified) and Chinese (Traditional) translations as zh_Hans and zh_Hant respectively
* Fix get-translator-credits.py to recognise 'tet' as the locale string for Tetum (which Babel doesn't)
2019-04-08 22:27:18 +01:00
Thibaud Colas
c447f75bd4
Make the page reordering UI easier to find (#5187)
* Update icon-order icon glyph
* Implement new UI for child ordering toggle
* Update documentation for page reordering
2019-03-29 14:38:05 +00:00
Matt Westcott
a98d6567dc Update core team in CONTRIBUTORS.rst 2019-03-29 12:14:09 +00:00
Kalob Taulien
062ff73665 Add documentation for the ajax_template attribute 2019-03-29 11:25:01 +00:00
Haydn Greatnews
fa5c69ee00 Call specific on parent page and breadcrumbs in page chooser
There was a small bug in the page chooser, where it would display
`page.title` instead of `get_admin_display_title` when loaded on with a
specified parent. This was because the page chooser was falling back to
Page.get_admin_display_title instead of the specific kind
2019-03-29 11:21:06 +00:00
Tom Usher
0f8a55a6ce Pass validators to FieldBlocks (#5148) 2019-03-15 18:42:08 +01:00
Md. Arifin Ibne Matin
edfd9afc1d Add more built-in rich text formats (#5141) 2019-03-15 01:39:18 +01:00
Wesley van Lee
a700e1352c Preserve non breaking white spaces in rich text processing. Fix #4996 (#5142)
Prevent the initial loading of the rich-text field to replace non-breaking white spaces with normal spaces
2019-03-14 17:31:10 +01:00
Damian
ef7bd7989e add form media to user add/edit forms (#5146) 2019-03-14 14:42:26 +01:00
Esperk
9f2e4033ea Abort unfinished ajax before firing new ajax call. Fix #4594 (#5137)
To prevent showing old results always cancel unfinished query requests before firing a new one
2019-03-13 15:44:12 +01:00
patta42
be03eeee2e Removed redundant try-except (#5123) 2019-03-07 20:55:27 +00:00
Thomas Kremmel
4e8f197a9d allow panels & edit_handler to be defined on ModelAdmin (#4900) 2019-03-06 12:26:20 +00:00
Gassan Gousseinov
d37ce9f699 routablepageurl returns urls only for default site on multisite installation (#5102) 2019-02-27 19:21:26 +00:00
Neil Lyons
f10c5cab58 Update docs for construct_homepage_panels hook (#5109)
`construct_homepage_panels` hook doesn't need a return statement.

[Looking at the code](https://github.com/wagtail/wagtail/blob/master/wagtail/admin/views/home.py#L101-L102), the user doesn't need to return a list, they need to mutate the list passed in.
2019-02-27 14:50:01 +00:00
Evan Winter
a4c3ccc464 Fix typo in docs (#5103) 2019-02-26 21:46:23 +00:00
damianos
20f47ff50e Fixed ValueError not raised (#5095)
Raised `ValueError` in `wagtail/images/utils.py` that was called but not raised

I work for Semmle and I noticed these issues using our LGTM code analyzer
https://lgtm.com/projects/g/wagtail/wagtail/alerts/?mode=tree&severity=error&ruleFocus=1505923886371
2019-02-26 19:48:16 +00:00
Karl Hobley
04861bc37d Release note / contributor for #5097 2019-02-23 14:15:07 +00:00
Matt Collins
37a472834a Update legacy wagtail.wagtailadmin paths (#5090)
Update legacy wagtail.wagtailadmin paths to wagtail.admin
2019-02-19 10:49:15 +00:00