Matheus Bratfisch
b01376ad72
Add after/before_copy_page hooks, test and docs
2017-01-16 19:00:29 +00:00
Matt Westcott
19310a84ed
Documentation and release notes for #3275
2017-01-16 18:51:42 +00:00
Mikela Clemmons
26b7071307
RegexBlock error_message typo in docs
...
In the documention an example had a singular
2017-01-13 10:06:19 +00:00
Alex Zagorodniuk
0fdf98469c
Provide fallback value for schema_only parameter in update_index management command
2017-01-13 10:03:58 +00:00
Nikolai R Kristiansen
54bfd1a802
docs: Fix INDEX_SETTINGS in ES search backend ex.
...
The key `number_of_shards` lives below the `index` key.
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-create-index.html#create-index-settings
2017-01-06 11:23:16 +00:00
J. Heasly
9424a8eab9
Give indication that there may be other template bits necessary for tag to work.
...
I came to this page from "Getting Started" template examples where all pages examples are rendered within {% block content %} tags which are not in these template examples."
;
2017-01-05 10:14:07 +00:00
Andreas Nüßlein
2734dfca8b
added default argument to ChoiceBlock.
...
If default is not None and required is True,
don't render a blank option.
2017-01-04 16:09:30 +00:00
erickmk
eb16a476ba
replace self with cls for class method
2017-01-04 12:08:31 +00:00
Janneke Janssen
296023b09a
Fixes untranslated titles in the admin for adding a child page
2016-12-14 18:15:58 +00:00
Mihail Russu
4f5ffe98bc
Fix the inconsistent use of `blogpages`
...
`page.get_children` was changed earlier to `blogpages` in order to show the blog posts ordered and hide the unpublished ones
2016-12-13 10:07:11 +00:00
Marco Fucci
2f06afe6e1
Make all live and draft links open in a new win
...
Some 'live' and 'view draft' links were opening in a new window
and some weren't for no apparent reason.
This fixes that inconsistency.
2016-12-12 19:04:27 +00:00
MattRijk
d5ec4fbb93
Fix for issue 3202 Updated dependencies on setup.py -fixes issues with sphinxcontrib-spelling
...
Fixes sphinxcontrib-spelling is throwing an error when installing from setup.py
2016-12-07 22:38:51 +00:00
Matt Westcott
4e181152f0
Fetch new translations from Transifex
2016-12-06 22:42:08 +00:00
Craig Loftus
8c4644f4ca
wagtailapi.serializers.PageSerializer was calling super(BaseSerializer)
...
This issue was found via lgtm.com/projects/g/torchbox/wagtail/
2016-12-05 21:34:24 +00:00
Matt Westcott
f2fcfe54a2
Release note for #3193
2016-12-05 19:23:29 +00:00
pyMan
7d1114c1a1
Extra ES params passed through new OPTIONS key
...
Closes #2778
Extra ES params are now passed through new OPTIONS key in the
WAGTAILSEARCH_BACKENDS setting.
It's backward compatible: if no OPTIONS key is found and some parameters
still exist, those parameters are used for the ES constructor..
2016-12-01 12:04:14 +00:00
Edd Baldry
cb268c233a
Disable editing when page lock turned on
2016-11-30 17:16:47 +00:00
Matt Westcott
960c2b9341
Use Sean Hoefler's full name in CONTRIBUTORS.rst
2016-11-30 11:00:52 +00:00
shoefler
7994d19f65
Set array arguments to None
2016-11-29 10:30:22 +00:00
Diederik van der Boor
d21171c1b0
Fix errors by settings context processor in out-of-request templates
...
When templates are rendered outside the request cycle,
the `settings` context processor fails because `request.site` is not
created because `SiteMiddleware` was not processed.
This happens whenever requests are mocked for rendering.
For example email rendering by third party packages or unittests
that mock a request object without taking all middleware into account.
2016-11-24 12:14:58 +00:00
Morgan Aubert
51b4f0f53d
Fix #3134
...
Changes include:
* fixing the FieldError exception that can occur as described in #3134
* add tests for the "search_garbage_collect" command
2016-11-17 14:34:56 +00:00
Albert O'Connor
a5b544631b
Update the Cloudflare backend to use the v4 API
...
Fixes #3146
2016-11-17 12:01:57 +00:00
Manuel E. Gutierrez
5a26e22c0f
Improve TranslatedField example
...
Avoid allocating two variables when only need one.
2016-11-15 10:39:55 +00:00
Benoit Vogel
2fba07ad8e
Implemented StaticBlock
...
Uses admin_text which is a Meta attribute.
* StaticBlock code in wagtailcore/blocks + tests
* StaticBlock in Streamfield docs
2016-11-15 10:29:06 +00:00
Thejaswi Puthraya
6821c763ea
Refs #2717 . Custom forms for modeladmin.
2016-11-11 15:30:44 +00:00
Hammy Goonan
7cdc1cd0aa
Closing p tag on home_page template.
2016-11-04 10:39:55 +00:00
Gary Krige
9038da9fcd
Don't repeat set_url_path logic
2016-11-01 17:09:45 +00:00
Matt Westcott
c9137d1dc0
Update release note and credits for #3071
2016-11-01 14:05:05 +00:00
Ducky
76ffc972a5
fixes issue where closing the 'MORE' action scrolls to the top of page.
...
fixes #3076
2016-10-27 20:47:16 +01:00
Jaap Roes
fb06f6c0c1
Fixed #3078 -- Add empty panel attributes
...
Accessing any of these attributes before importing `wagtailadmin.edit_handlers` would raise a `AttributeError`. In some cases this would mask the actual error; e.g. forgetting to import `wagtailadmin.edit_handlers`.
2016-10-25 16:43:18 +01:00
Matt Westcott
acc69096d3
Fetch translations from Transifex
2016-10-20 11:29:28 +01:00
Alex
ee4e2ed27b
Add site name to `<title>` element in the project template
2016-10-13 16:21:50 +01:00
Henk-Jan van Hasselaar
8a3c47f76a
Use get_admin_display_title in admin
2016-10-13 15:46:12 +01:00
Axel Haustant
e893dd895b
Allows to define custom site settings edit handler
...
Added site settings edit handler tests
Ensure proper setting rendering with tabs
2016-10-10 14:23:57 +03:00
Matt Westcott
cfc077b3c6
Fetch new translations from Transifex
2016-10-05 16:28:28 +01:00
Ricky Robinett
9c0968ad12
Fix bug where filenames with no extension cause an infinite loop
2016-10-05 15:26:29 +01:00
Matt Westcott
766636edbc
Pull new translations from Transifex
2016-09-22 15:51:29 +01:00
Matt Westcott
674af5586b
Prevent USE_THOUSAND_SEPARATOR from breaking the rendering of maxForms in InlinePanel's JS code
...
Fixes #2699 . Thanks to Mattias Loverot for the report and original fix.
2016-09-22 15:07:23 +01:00
Nick Smith
504759d267
#1446 add pagination to wagtailadmin.views.pages.move_choose_destination
2016-09-22 11:53:38 +01:00
Stein Strindhaug
ffa21943d0
Increase legibility by increasing contrast
...
Raise contrast by slightly adjusting font-weight, color and font size (from 12.2px to 12.8px in the menu)
2016-09-21 12:02:23 +01:00
Matt Westcott
b0aa210078
Recognise classname parameter on InlinePanel. Fixes #1316
2016-09-15 16:44:51 +01:00
Jayden Smith
5732e215b0
Allow passing of options into Rich Text Editor.
2016-09-14 15:33:45 +01:00
Matt Westcott
3b4c24e0b5
Release note for #2619
2016-09-08 12:10:53 +01:00
digia
875d2fcbd4
Fix bug with forcing a user to exist on request
...
Allow for testing views without having to mock a user on the request.
2016-09-06 17:28:05 +01:00
Matt Westcott
29e7c0740b
Release note for #2971
2016-09-05 11:48:26 +01:00
Mikalai Radchuk
b37e8ccbcf
Change method name to AbstractEmailForm.send_mail
...
Also contails release notes for #2926
2016-08-26 12:06:23 +03:00
Matt Westcott
87f9031665
Update translator credits
2016-08-18 11:57:36 +01:00
Matt Westcott
5e27a94ca1
Pull new translations from Transifex (2016-08-01) ( #2883 )
...
* Pull new translations from transifex
* Update translator credits
2016-08-01 14:23:11 +01:00
Matt Westcott
ca02019404
Release note for #2838
2016-08-01 13:07:25 +01:00
Eraldo Energy
1a956be2f2
Added file handling to support custom user add/edit forms.
2016-07-29 17:02:31 +01:00