Matt Westcott
19310a84ed
Documentation and release notes for #3275
2017-01-16 18:51:42 +00:00
Matt Westcott
1d4743d27c
Update project template + docs to clarify that wagtail_urls should appear at the end of urlpatterns
2017-01-13 17:06:52 +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
Janneke Janssen
0e9c255b03
Marked text for translation
2017-01-06 12:45:17 +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
Matt Westcott
b006b19582
Release note for #3168
2017-01-04 17:35:12 +00:00
Matt Westcott
39cb87507d
Add release note for #3254 to 1.9 docs
...
apparently my save button doesn't work
2017-01-04 17:32:35 +00:00
Matt Westcott
0f94222689
Specify version 4.x, 5.x or 6.x of Node
...
Gulp 3.x is currently incompatible with Node 7: https://github.com/gulpjs/gulp/issues/1843
Fixes #3253
2017-01-03 16:47:32 +00:00
Matt Westcott
7288a96950
Point people to Stack Overflow for support queries in preference to the Google group ( #3255 )
...
We plan to put additional resources into support on Stack Overflow, based on feedback at https://twitter.com/WagtailCMS/status/801384753589080064
2017-01-03 16:02:24 +00:00
Matt Westcott
5e13a1d674
Remove old versionadded line
2016-12-15 16:23:05 +00:00
Matt Westcott
762355382f
set release date for 1.8
2016-12-15 12:01:12 +00:00
Matt Westcott
6f834c9a9b
Update links to github.com/torchbox to point to github.com/wagtail
2016-12-15 11:49:49 +00:00
Matt Westcott
d3aeace155
Add breadcrumb permission limits and tutorial to 1.8 major feature list
2016-12-14 17:55:13 +00:00
Tom Dyson
69661b0455
1.8 release notes - 'other', not 'minor' ( #3218 )
2016-12-14 11:41:40 +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
Matt Westcott
d5ef2edc8f
Version bump to begin work on 1.9
2016-12-09 15:43:53 +00:00
Matt Westcott
723cd0829f
Image / updated writeup for page privacy feature in 1.8
2016-12-09 15:30:46 +00:00
Matt Westcott
2c9805dc3f
Add upgrade consideration note re direct use of Filter and Rendition
2016-12-06 15:05:50 +00:00
Matt Westcott
978cd2e95b
Switch to Rendition.filter_spec as the active field for looking up filters
2016-12-06 15:03:15 +00:00
Matt Westcott
f2fcfe54a2
Release note for #3193
2016-12-05 19:23:29 +00:00
Matt Westcott
ff44666c36
Add note that wagtailforms is not a replacement for Django forms ( #3190 )
2016-12-05 18:19:59 +00:00
Matt Westcott
f54498b3b0
Clarify '# ...' comments when omitting code in tutorial snippets
...
See https://groups.google.com/d/msg/wagtail/NFFqKY98jiY/XZjmk3-mBAAJ
2016-12-01 13:43:19 +00:00
Karl Hobley
cc299d8873
Added example to #3036 upgrade consideration
2016-12-01 12:04:14 +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
Matt Westcott
11676408c9
remove Fix: prefix
2016-11-30 18:46:22 +00:00
Chris Rogers
89e985d02a
added convenience method in_site and tests
2016-11-30 18:45:14 +00:00
Edd Baldry
cb268c233a
Disable editing when page lock turned on
2016-11-30 17:16:47 +00:00
Matt Westcott
6fda0dc01f
Release note for #3139
2016-11-30 17:00:30 +00:00
Matt Westcott
3fd5bb1820
Add image gallery / InlinePanel section to tutorial
2016-11-30 16:38:20 +00:00
Matt Westcott
5df8f1e34e
Release note for #3145
2016-11-30 16:35:21 +00:00
Karl Hobley
18316d627d
Added Elasticsearch 5 to search backend docs
2016-11-30 16:31:20 +00:00
Diederik van der Boor
f960753d74
Add the alters_data attribute on Page.copy().
...
This makes sure the variable can't be printed in the template,
performing an accidental copy of the page. That also happened when using
the `{% print %}` tag from my django-debugtools package
2016-11-29 11:39:37 +00:00
Scot Hacker
2882775842
Add BlockQuoteBlock to core block types
2016-11-29 10:13:10 +00:00
Morgan Aubert
4e23e46159
Fix #3167 - Ensure TableBlock content is indexed
...
Changes include:
* adding the 'get_searchable_content' method on the TableBlock
* ... and the related test
2016-11-28 20:40:47 +00:00
Matt Westcott
3d37f84311
Release note for #2812
2016-11-28 17:45:17 +00:00
Mikalai Radchuk
55bdae573b
Add support of callable choices for ChoiceBlock
...
Fixes #2809
2016-11-28 17:44:35 +00:00
Matt Westcott
02360e6651
re-indent template performance code snippet
2016-11-28 13:45:42 +00:00
Tim Heap
16213db0f8
Remove old versionadded notes
...
A step has been added to the release process notes to do this for future
releases as well.
https://github.com/torchbox/wagtail/wiki/Creating-a-new-Wagtail-release
2016-11-28 13:41:35 +00:00
Tim Heap
6ba34636cb
Fix whitespace errors in docs
...
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Tim Heap
254e675634
Use .. code-block:: console for all shell commands
...
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/ >. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00
Tim Heap
f742d4a476
Use .. code-block:: for all python, html blocks
2016-11-28 13:41:34 +00:00
Tim Heap
2f8a43cd66
Document new blocks in login template
...
The old `branding.rst` docs were combined with the new docs on
customising the login page in a new `admin_templates.rst` document.
2016-11-28 12:41:06 +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
Andy Babic
23eced1fcd
`Added support for 'exclude_from_explorer' attribute on ModelAdmin class
2016-11-23 16:51:08 +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
Matt Westcott
98b4a6dccd
remove as-yet-unused tutorial screenshots for categories
2016-11-09 15:47:55 +00:00
Matt Westcott
011f2099eb
Remove categories section, add better example of MultiFieldPanel, minor copyediting
2016-11-09 14:35:58 +00:00
Scot Hacker
756d5ec0dd
Move slugurl example/explanation
...
- Also misc cleanup
2016-11-09 10:42:47 +00:00
Scot Hacker
3634c2b289
Add a Categories system to Getting Started tutorial
2016-11-09 10:42:46 +00:00
Scot Hacker
8c5b62ccfc
Intro tutorial additions and improvements
...
- Addresses all issues raised in PR review
- Adds more info to "Navigating parents/children"
- Adds a new dedicated section on overriding context
2016-11-09 10:42:45 +00:00
Scot Hacker
32f97ff43a
Update Getting Started tutorial to include posts automatically, plus tagging
...
- Resolves #3096
2016-11-09 10:42:44 +00:00
Matt Westcott
d9c27f0325
Tell developers to use the bundled version of six (we don't install it as a dependency any more)
2016-11-09 10:35:12 +00:00
Tom Dyson
d68c015658
Specify Github merge option for minor doc fixes ( #3144 )
2016-11-08 09:57:15 +00:00
Janneke Janssen
24eee6e41e
[FIX] Cloudfront docs typo ( #3143 )
2016-11-08 09:42:46 +00:00
Matt Westcott
59e9a31bc1
Document the fact that a matching version of the elasticsearch package must be used
2016-11-04 11:14:12 +00:00
Matt Westcott
8de1b1b16f
Release note for #3035
2016-11-03 16:58:54 +00:00
Matt Westcott
1b2cb50a84
Add documentation for bulk delete permission
2016-11-03 16:58:50 +00:00
Matt Westcott
bc9ebe46d2
Add release note detailing how to restore bulk delete permission to existing groups
2016-11-03 16:58:49 +00:00
Matt Westcott
5c9fc29fbe
Mention that deleting a published page requires publish permission
2016-11-03 16:10:11 +00:00
Matt Westcott
e681cb3626
Add documentation about permission configuration
2016-11-03 16:10:09 +00:00
Matt Westcott
c9137d1dc0
Update release note and credits for #3071
2016-11-01 14:05:05 +00:00
Matt Westcott
7545ed3675
We don't have t-shirts any more :-(
2016-10-27 20:55:19 +01:00
Ducky
7922f1abeb
restructured and added to contribution guide
...
As a new contributor I found some of the information for contributing hard to
find easily. I think this restructure should fix that, by bringing relevant
menus under their headings and adding an additional heading for 'more
information' instead of just 'other contributions'.
2016-10-27 20:50:28 +01: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
Sævar Öfjörð Magnússon
169045b186
Loop through all multiple value fields when sending form submission by email.
...
A form field with multiple checkboxes may introduce submissions that have more than one value. The `send_email` function would loop through all form fields and grab only the first item of each field, ignoring fields that may have multiple values selected. This is a side effect of using `QueryDict.get()`, which will only return the last value of a list.
This commit fixes that by first converting the `QueryDict` instance to a regular dict of lists so that `get` will return all values, then joining multiple items if needed.
2016-10-27 20:24:25 +01:00
Mikalai Radchuk
f28bcaa003
Release notes for #3071
2016-10-27 16:42:14 +03:00
Matt Westcott
59440c92f1
Update PageViewRestriction model to support group/login restriction type
...
Update page privacy form with login/group options
Add unit tests for setting group-based permissions
Add a basic login page to wagtailcore
Implement front-end logic for group and login-based permissions
Allow overriding the frontend login template name with WAGTAIL_FRONTEND_LOGIN_TEMPLATE
Add documentation for customising the login page
Add message on login page for authenticated users who don't have access
2016-10-27 16:42:08 +03:00
Matt Westcott
2442416e93
Release notes for #3072
2016-10-26 13:09:40 +01:00
Tim Heap
9d54031a50
Add PageChooserBlock target_model option
...
It allows selecting a restricted subset of pages, like with the
PageChooserPanel
2016-10-26 13:01:46 +01:00
Tim Heap
d377f0c521
Add Page.objects.first_common_ancestor() method
2016-10-26 13:01:46 +01:00
Jaap Roes
10bcb50fff
Recommend Django's cached template loader
...
As noted in PR #3077 :
"With the cached template loader enabled, there's a significant performance improvement"
2016-10-26 13:24:36 +02:00
Benjamin Bach
4a92505c3b
set_url_paths Django 1.10 friendly, add a test
2016-10-26 09:59:53 +01:00
Nick Smith
992b315be6
Use paginator.count, not page|length, in header
...
Fixes #3097
2016-10-25 15:29:29 +01:00
Matt Westcott
a326cd8559
Custom Page Manager documentation fix
...
Thanks to @nimasmi for reporting!
2016-10-25 11:48:02 +01:00
Andy Babic
9f92f894b8
Improve consistency of modeladmin views
2016-10-24 22:10:34 +01:00
Andy Babic
78f67f8fdb
* Gives the result_row_display control over the <tr> element for each row in IndexView by shifting the <tr> out of result_list.html and into result_row.html
...
* `result_row_display` adds a `data-object_pk` attribute to each row, to make items easier to identify with JS
* Adds `get_extra_attrs_for_row()` method to `ModelAdmin`, to give developers a way of adding further attributes to the `<tr>` element
2016-10-21 17:20:54 +01:00
Tom Dyson
512bf8936d
single typo in Cloudfront docs ( #3099 )
2016-10-20 15:25:27 +01:00
Matt Westcott
2ce6ec8046
Mark 1.7 as no longer in development
...
Conflicts:
CHANGELOG.txt
2016-10-20 10:25:18 +01:00
pure-zero
800bfa7c16
should use rest_framework not restframework ( #3087 )
2016-10-15 10:58:00 +01:00
Dan Braghis
e0e957f92a
Fix page chooser parent link on row hover [ #3080 ]
2016-10-14 10:39:09 +01:00
Gagaro
1d33cc7838
Fix: remove responsive behavior in embed when there is no ratio available
2016-10-13 17:40:30 +01:00
Gagaro
49421e5a41
Fix: Use specific page model for the parent page in the explore index
2016-10-13 16:28:48 +01:00
Henk-Jan van Hasselaar
8a3c47f76a
Use get_admin_display_title in admin
2016-10-13 15:46:12 +01:00
Gagaro
9710c292eb
Added getters for templates in AbstractForm
2016-10-13 15:08:49 +01:00
Matt Westcott
0cf3b13a1d
Release note for #3075
2016-10-13 14:54:34 +01:00
Tim Heap
b6fe08a634
Docs for get_image_model/get_image_model_string
2016-10-13 11:55:21 +02:00
Mikalai Radchuk
2e1c58a586
Release notes for #3047
2016-10-10 14:24:01 +03: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
a3ba533afb
start work on 1.8 / remove deprecated features ( #3058 )
...
* Version bump to start work on Wagtail 1.8
* Remove features deprecated in Wagtail 1.8
2016-10-07 16:02:04 +01:00
Matt Westcott
b658b44e1b
Add upgrade consideration note re 'embed' becoming a template tag
2016-10-07 15:44:15 +01:00
Matt Westcott
534b5d1fd9
Release note for #2474
2016-10-05 16:03:54 +01:00
Matt Westcott
7ec734e925
Document how to chain image operations in the image serve view (ref #908 )
2016-10-05 15:54:05 +01:00
Karl Hobley
2a6f908972
Various docs tweaks
...
Thanks @tomdyson for spotting!
2016-10-05 15:54:05 +01:00
Karl Hobley
6c57b5b280
Docs for format and jpegquality image filters
...
This also fixes #1205
2016-10-05 15:54:05 +01:00
Ricky Robinett
9c0968ad12
Fix bug where filenames with no extension cause an infinite loop
2016-10-05 15:26:29 +01:00
Aymeric Augustin
a108f16eff
Fix preview when SECURE_SSL_REDIRECT = True.
...
Fix #3048 .
2016-10-05 15:01:36 +01:00
Karl Hobley
882facf352
Optimise JPEG images when generating renditions
...
We've recently added support in Willow to make use of Pillow's image optimisation. This commit enables this in Wagtail.
All JPEGs are now optimised and saved in progressive format.
2016-10-05 12:24:11 +01:00
Matt Westcott
5dc5a32adc
release note for #3039
2016-10-05 12:17:57 +01:00
Matt Westcott
f45181764b
Set a related_name of wagtail_userprofile on wagtailusers.UserProfile
...
This prevents it from clashing with other userprofile models defined elsewhere in the project. Fixes #3025
2016-10-05 12:13:53 +01:00
Bojan Mihelac
51bcecf368
Fixes Images / documents pagination ( #2700 )
...
Refactored pagination_nav template to allow empty linkurl in which case
url is created replacing page in QUERY_STRING.
2016-10-03 18:31:17 +01:00
Janneke Janssen
2992d90e97
Account settings button ( #2805 )
2016-10-03 12:21:38 +01:00
Liam Brenner
769ad6deb8
Fix documentation typo ( #3042 )
2016-10-03 09:04:39 +01:00
Mikalai Radchuk
90552bedb5
Fix site ref in docs
2016-10-01 22:04:46 +03:00
Nick Smith
df9a5e31fa
Allow referencing models by string representation in SnippetChooserBlock
2016-09-30 17:11:51 +01:00
Matt Westcott
869349f86c
Release note for #3017
2016-09-30 10:06:44 +01:00
Andy Babic
0c1b67bc16
Add documentation to help with customisation of contrib.modeladmin
2016-09-28 20:52:19 +01:00
Matt Westcott
e31b26c4db
Eliminate dependencies on __latest__ migrations
...
See https://groups.google.com/d/msg/wagtail/a1lbdKe-QPk/GefsBFnRBgAJ - using __latest__ prevents us from ever applying migrations that are subsequently added to the referenced apps, since logically those migrations must have been applied before the current one (which they weren't, because they didn't exist). This logic is enforced as of Django 1.10.
2016-09-26 17:57:52 +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
riceyrice
5869bc37bb
Allow configuration or override of QueryDailyHits garbage collection
2016-09-22 14:21:38 +01:00
Mikalai Radchuk
48296e7568
Release notes for #3016
2016-09-22 14:43:53 +03:00
Mikalai Radchuk
fb93a6d6b9
Allow to limit access to form submissions ( #3016 )
...
Add the filter_form_submissions_for_user hook
Thanks @kaedroho for the code review and docs.
2016-09-22 14:36:39 +03:00
Karl Hobley
9a57e39cfd
Implemented annotate_score on SearchResults
...
This allows the user to retrieve the scores for each search result:
for page in Page.objects.search("Hello").annotate_score('_score'):
print(page.title, page._score)
2016-09-22 12:03:23 +01:00
Nick Smith
504759d267
#1446 add pagination to wagtailadmin.views.pages.move_choose_destination
2016-09-22 11:53:38 +01:00
Karl Hobley
ebe597610e
API v2 docs ( #2940 )
2016-09-22 11:15:18 +01:00
Mikalai Radchuk
ae33f7192d
Adds "Supported versions of Django"
...
Adds "Supported versions of Django" section
into "Wagtail's release process" document.
2016-09-21 18:50:44 +01:00
Mikalai Radchuk
d3568df5b3
Adds docs about release process
2016-09-21 18:50:21 +01:00
Karl Hobley
9d655a9f8a
Changelog/release note for #2975
2016-09-21 13:33:13 +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
8dc1d9c342
Document the steps for creating a filter_spec migration for a custom image model
2016-09-20 15:38:36 +01:00
Mikalai Radchuk
b1d10db7f2
Release notes for #3002
2016-09-19 19:31:37 +03:00
Matt Westcott
89f4699a91
Fix underlines
2016-09-19 13:51:04 +01:00
Matt Westcott
86e60fd4a3
Mention where to access the styleguide - fixes #3009
2016-09-19 13:49:52 +01:00
Matt Westcott
c6666c6de5
Disable escape key on rich text fields - fixes #2998
2016-09-16 15:19:12 +01:00
Matt Westcott
8aa316c575
Correct description of 'title' class on FieldPanel - fixes #2990
2016-09-15 17:02:25 +01:00
Matt Westcott
b0aa210078
Recognise classname parameter on InlinePanel. Fixes #1316
2016-09-15 16:44:51 +01:00
Karl Hobley
4dc1ef05f8
Removed unused import from example
...
Thanks @timheap for spotting
2016-09-15 09:18:04 +01:00
Matt Westcott
a7af8f7da3
Release note for #2997
2016-09-14 16:54:02 +01:00
Karl Hobley
8b9b2ced36
Docs for new hooks
2016-09-14 16:52:28 +01:00
Matt Westcott
3b4c24e0b5
Release note for #2619
2016-09-08 12:10:53 +01:00
Matt Westcott
6c57aba8a2
Mark 1.7 as in development
2016-09-06 14:46:13 +01:00
Matt Westcott
1181a4ea8e
Add content_panels declarations to i18n duplicate tree example code - fixes #2981
2016-09-06 10:44:33 +01:00
Tobias
ceec8c2d9f
Update settings.rst
...
Fix typo.
2016-09-05 14:24:33 +02:00
Matt Westcott
29e7c0740b
Release note for #2971
2016-09-05 11:48:26 +01:00
Luiz Boaretto
24feca5333
Fix typo on modeladmin docs
2016-09-04 12:43:39 -03:00
Matt Westcott
1d5475672e
Release note for #2577
2016-09-01 16:20:57 +01:00
dirtycoder
959723eddb
Create a panel to display informations about the submissions for form pages, fix #406
2016-09-01 15:22:30 +01:00
Matt Westcott
57b7f4b56e
Release note for #2963
2016-09-01 15:07:05 +01:00
Janneke Janssen
722ea1d3d8
Update the docs for the custom image model to mention post_delete instead of pre_delete
2016-09-01 15:07:05 +01:00
Mikalai Radchuk
8a41baa87d
Release notes for #2966
2016-09-01 17:02:55 +03:00
Mikalai Radchuk
7c3b38ad40
Move release notes for #2573 to the top
...
[skip ci]
2016-08-31 14:57:59 +03:00
Mikalai Radchuk
5598910a2b
Release notes for #2573
2016-08-31 14:13:47 +03:00
Karl Hobley
daa82936d7
Elasticsearch 2 support ( #2573 )
...
* Created Elasticsearch 2 backend
* Added tests for Elasticsearch 2 backend
* Split models up into different indices
pages, images and documents are now in separate indices
* Prefix fields of child models to prevent mapping clashes
* Replaced index_analyzer with analyzer/search_analyzer
index_analyzer has been removed in Elasticsearch 2.0
https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_mapping_changes.html#_analyzer_mappings
There's no indication in Elasticsearch's docs that this wouldn't work on Elasticsearch 1.x. However, we found that the new configuration isn't reliable on Elasticsearch 1.6 and below (causes the test_query_analyzer test to fail randomly).
* Implemented new way of representing content types in search index
Instead of using a long string of model names that is queried using a
"prefix" query, we instead use a multi-value string field and query it
using a simple "match" query.
The only reason why this isn't implemented in the Elasticsearch 1.x
backend yet is backwards compatibility
* Added another child model of SearchTest with clashing field mapping
This checks that the namespacing of fields on child models is working properly (if it doesn't the update_index tests will fail)
* Added tests for get_model_root function
* fixup! Added tests for get_model_root function
* Docs updates for Elasticsearch 2 support
Also tweak examples to use elasticsearch2 backend by default
* Test against Elasticsearch 2 on travis
2016-08-31 13:46:57 +03:00
Karl Hobley
e29f9b2423
No longer say that ATOMIC_REBUILD is "Experimental"
...
We've used this in production on a few sites for over a year now and haven't hit any problems.
2016-08-31 09:54:35 +01:00
Matt Westcott
ae947642cd
release note for #2562
2016-08-30 15:09:26 +01:00
Robert Rollins
f6b47235a3
Fixes the javascript error that was breaking the userbar on touch devices.
2016-08-30 12:22:59 +01:00
Matt Westcott
e6c0d4f33e
Fix spelling of Janssen
2016-08-30 11:03:28 +01:00
Matt Westcott
73fd2d8820
Make indenting of bullet points consistent
2016-08-30 11:00:02 +01:00
Matt Westcott
f9f8399602
Release note for #2955
2016-08-30 10:59:14 +01:00
Karl Hobley
cdcdb4a4cd
Update frontendcache.rst
2016-08-29 16:38:26 +01:00
Karl Hobley
692c4017f9
Changelog and release note for #1845
2016-08-29 15:24:53 +01:00
Rob Moorman
df45c215a2
Added support for AWS CloudFront in Frontend cache invalidation module ( #1845 )
...
* added base cloudfrontbackend and testcase
* added boto3 cloudfront client
* implemented create invalidation method
added error handling botocore
* added aws docs
* fixed typo
* flake8 fixes
* added boto3 configuration docs
* removed return
* purge path instead of full url
* added multisite hostname mapping
* added validation of DISTRIBUTION_ID
* renamed Cloudfront to CloudFront
* added note to include www in mapping
added tests for cloudfront site mapping
* removed deprecated has_key, used in
fixed _create_invalidation
* changed type checking of dict
removed debug line of code to check hostname
* fixed dict type checking condition
added assert t make sure no invalid cache is being purged
* changed import order
* fixed isort error
* more detailed error message for cloudfront
pep8 fixes 120 chars per line
* Log missing cloudfront distribution id as info
Was logging as error, but it may be possible that a developer wants cloudfront on only specific hostnames.
* , => .
* Docs edits
* Removed hard-dependency on boto3
2016-08-29 15:15:27 +01:00
Matt Westcott
36089e5723
Mention WAGTAIL_ALLOW_UNICODE_SLUGS setting in release notes
2016-08-26 16:23:31 +01:00
Matt Westcott
205e22cc55
Mark 1.6.1 as no longer in development
2016-08-26 11:28:46 +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
Mikalai Radchuk
c40ab3596a
Release notes for #2942
2016-08-26 10:49:40 +03:00
Mikalai Radchuk
9b81d3b667
Release notes for #2937
2016-08-25 19:03:47 +03:00
Matt Westcott
fc308c9ced
Add setting to disable Unicode slug support #2937
...
* Ship our own copies of urlify.js and xregexp.min.js
This avoids issues with missing files when using Django 1.8 or omitting django.contrib.admin from INSTALLED_APPS (#2927 ), and guards against any breaking changes to these files in future Django releases.
* Add a WAGTAIL_ALLOW_UNICODE_SLUGS setting
2016-08-25 19:03:37 +03:00
Janneke Janssen
603962146b
Added documentation for editors to configure redirects
2016-08-25 11:18:55 +01:00
Elwin Buisman
fd8f4b22fb
Bumped supported Django version to 1.10
...
Bumped supported Django version to 1.10 according to requirements in setup.py
2016-08-25 10:09:08 +01:00
Matt Westcott
9111483dec
Force ChoiceBlock.get_searchable_content to text - fixes #2928
2016-08-24 18:48:10 +01:00
Matt Westcott
7bc819640d
Restore PageManager behaviour by setting it on an abstract superclass of Page
...
Django's standard behaviour is to preserve managers that are set on abstract
superclasses, so this allows us to eliminate the metaclass hackery.
Fixes #2933
2016-08-23 20:12:22 +01:00
Karl Hobley
bfff095f8a
Fixed minor formatting error in 1.6.1 release notes
2016-08-23 12:58:11 +01:00
Karl Hobley
7288644932
Changelog/release note for #2895
2016-08-23 12:56:27 +01:00
Karl Hobley
230f6eab5d
Changelog/release note for #2922
2016-08-23 11:56:02 +01:00
David Burke
db54a9f0c4
Update IntegerBlock docs to show correct kwargs ( #2930 )
...
It should be max and min value - not length. See [here](07c3ba84fb/wagtail/wagtailcore/blocks/field_block.py (L306) ).
So this would work
`blocks.IntegerBlock(max_value=10, min_value=0)`
but this wouldn't do anything
`blocks.IntegerBlock(max_length=10, min_length=0)`
2016-08-20 02:38:00 +01:00
Mikalai Radchuk
f804174666
Marks names of default formats for translations
2016-08-18 20:43:17 +01:00
Matt Westcott
7c9dc029c7
Release note for #2877
2016-08-18 12:05:33 +01:00
Tim Heap
75e58efab8
Move version from wagtail.wagtailcore to wagtail
...
This is where developers expect it to be, similar to Django and other
projects. The version info still exists at the old `wagtail.wagtailcore`
location, for backwards compatibility.
Fixes #2557
2016-08-18 12:05:33 +01:00
Tim Heap
948cc5190d
Use new VERSION tuple to build docs version
2016-08-18 12:05:33 +01:00
Matt Westcott
197d85ce9f
Disable client-side validation on Django 1.10 for multipart forms
...
Client-side validation fails on forms with prefilled file upload fields -
see https://code.djangoproject.com/ticket/27037 . This is fixed in Django 1.10.1,
so as a workaround we disable client-side validation (using the 'novalidate'
attribute) for forms with enctype="multipart/form-data" on Django 1.10 only.
Fixes #2897
2016-08-15 18:36:11 +01:00
Matt Westcott
e39fb5646c
Release note for #2534
2016-08-11 12:04:10 +01:00
Matt Westcott
20df607918
Remove deprecated wagtail.wagtailimages.utils module
2016-08-09 20:11:31 +01:00
Matt Westcott
9080636903
Version-bump to start work on 1.7
2016-08-09 16:22:14 +01:00
Matt Westcott
bc7739e104
Add usage examples for EmailBlock, IntegerBlock, DecimalBlock
...
Thanks to @OktayAltay for the original pull request.
2016-08-08 20:15:45 +01:00
Mikalai Radchuk
fcea4ee30d
Update "Upgrade considerations" for 1.6 ( #2896 )
...
`AbstractFormField.to_address` also requires migration.
We need to mention it in "Upgrade considerations" for Wagtail 1.6
[skip ci]
2016-08-08 14:56:36 +01:00
anatoly techtonik
b3ab3c4e02
Add another tutorial ( #2894 )
2016-08-05 11:20:55 +03:00
Tom Dyson
5ce99e85c4
credit Caltech ( #2885 )
2016-08-02 17:10:43 +01:00
Matt Westcott
7eed879c6f
Revert "Mark Django 1.10 support as provisional"
...
This reverts commit 0384a18f37 .
2016-08-02 16:11:38 +01:00
Matt Westcott
0384a18f37
Mark Django 1.10 support as provisional
2016-08-01 15:02:01 +01:00
Matt Westcott
36564ac0fa
Version bump for 1.6rc1
2016-08-01 14:37:01 +01:00
Matt Westcott
ca02019404
Release note for #2838
2016-08-01 13:07:25 +01:00
Matt Westcott
43269fd763
Release note for #2869
2016-08-01 13:00:36 +01:00
Matt Westcott
043db8549d
Release note for #2879
2016-08-01 11:36:02 +01:00
Eraldo Energy
1a956be2f2
Added file handling to support custom user add/edit forms.
2016-07-29 17:02:31 +01:00
Matt Westcott
cceb216536
Fix --schema-only to not expect an argument - fixes #2788
2016-07-29 16:41:28 +01:00
Matt Westcott
5dee12508d
Mark django-medusa as no longer maintained
2016-07-29 15:54:52 +01:00
Matt Westcott
28c8ae3ab9
Revert "Refactor: remove Filter as a Django model."
...
This reverts commit 4d7bdfd160 .
Conflicts:
CHANGELOG.txt
docs/releases/1.6.rst
2016-07-29 14:49:01 +01:00
Matt Westcott
5dfcdfb2a6
Release note for #2872
2016-07-28 11:41:12 +01:00
Karl Hobley
e4bb09fd8d
Changelog/release note for #2811
2016-07-28 10:06:50 +01:00
Matt Westcott
6886e89e41
Tweak wording for include_block tag documentation
2016-07-27 17:04:19 +01:00
Mikalai Radchuk
d696d6bf9f
Adds docs for a Jinja2 version of include_block
2016-07-27 16:52:14 +01:00
Matt Westcott
3c5c69138c
Mention jinja2 include_block tag in 1.6 release notes
2016-07-27 16:52:14 +01:00
Matt Westcott
e9279c8512
Release note for #2663
2016-07-21 16:37:25 +01:00
Matt Westcott
c51177a0fa
Release notes for #2858 / #2859
2016-07-21 12:03:53 +01:00
Chris Darko
bd226fcedf
Fix use of Page instead of specific_class
...
Uses specific_class.url instead of Page.url for getting the 'view_live' URL
in the success message following Page publication.
2016-07-21 11:55:10 +01:00
Tom Dyson
703c9984c6
Make /admin a link in the Getting Started tutorial
2016-07-20 09:41:03 +01:00
Gagaro
16c279d705
fix : #1735 Unable to use models with a StreamField inside Inline Panels
2016-07-19 19:32:16 +01:00
Matt Westcott
7d8c7ec758
Add 'issue tracking' docs ( #2794 )
2016-07-19 16:17:54 +01:00
Matt Westcott
0714cddd54
Release note for #2848
2016-07-19 10:45:19 +01:00
Matt Westcott
d3bdd64cc5
Add release notes for 1.5.3
...
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
2016-07-18 19:15:27 +01:00
Matt Westcott
0308795490
Add release notes for 1.4.6
...
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
2016-07-18 19:14:28 +01:00
Nik Nyby
389317c104
docs: fix typo ( #2845 )
2016-07-15 21:58:47 +03:00
Matt Westcott
bdd80dd33e
Fix styling of email fields in AbstractEmailForm example ( #2821 )
...
classname="full" is incorrect here (it generates excessive padding); also, using a FieldRowPanel
can make the display neater.
2016-07-08 16:47:54 +03:00
Mikalai Radchuk
07ac5aa8ee
Release notes for #2830
2016-07-08 16:15:19 +03:00
Matt Westcott
be1e1927c5
Promote include_block and unicode page slugs to major features
2016-07-07 11:20:43 +01:00
Robert Rollins
cbabc3d9c7
Page.dummy_request() now takes an optional request object argument.
...
When building a dummy request, you can now pass in the original request object
to add additional information to the dummy. Currently, that includes the
following headers:
REMOTE_ADDR
HTTP_X_FORWARDED_FOR
HTTP_COOKIE
HTTP_USER_AGENT
More may be added later.
This changes ensures that middleware which work on the client IP aren't flumuxed
by its absense, and also makes it possible for previews to be rendered as the
logged in user (they had previously been rendered using an AnnonymousUser).
Because the user's logged in state is now detectable in a Page previews, the
Wagtail userbar now hides itself explicitly during previews, rather than relying
on the fact that previews used to be built with AnonymousUser.
2016-07-06 20:28:05 +01:00
Vincent Audebert
14919f3b41
Possibility to delete a user #2371
...
As mentioned in the comments I didn't see the first pull request (https://github.com/torchbox/wagtail/pull/2509 )
However, I think my changes were a tiny bit more complete in terms of UI/UX. I allow to delete a user directly from the user list + you can delete any user if you are superuser, except yourself. This way we are sure to keep at least one superuser but we can still delete superusers.
I added some tests from this PR to my code and also added the permission denied on the delete page.
2016-07-06 17:05:17 +01:00
Mikalai Radchuk
0b29ba80db
Makes notes for settings module more visible ( #2826 )
2016-07-06 19:01:09 +03:00
Mikalai Radchuk
b79069b247
Release notes for #2786
2016-07-06 17:44:57 +03:00
Matt Westcott
dbc4c9b28e
Adds the include_block template tag ( #2786 )
...
Update render and render_basic methods on Block to take a context kwarg
Update TableBlock to support passing extra context to render
Implement render_as_block on BoundBlock, StreamValue and StructValue.
Collectively, these are the objects encountered during template rendering which typically render
a block template when output inside {{ ... }} tags. Implementing render_as_block allows us to do
the same thing, but passing a template context as well.
Implement include_block tag
Support extra context vars on include_block via 'with foo=bar'
Support 'only' flag on include_block tag, to omit the parent context
Update StreamField documentation to cover the include_block tag
Rewrite 'BoundBlocks and values' docs based on the include_block tag
Add tests for blocks with legacy render / render_basic methods
Any bits of StreamField infrastructure that attempt to call render or render_basic
on a block with a 'context' kwarg, should (for now) also work on blocks that don't
accept the context kwarg, but output a RemovedInWagtail18Warning.
Explicitly test whether render / render_basic will accept a 'context' kwarg
This avoids unexpected behaviour when the method legitimately accepts a context
kwarg, but happens to throw an unrelated TypeError - in this situation, the final
output (or error diagnostics) will behave as if the context was never passed,
making debugging difficult. See https://github.com/torchbox/wagtail/pull/2786#discussion_r69563984
2016-07-06 17:44:02 +03:00
Karl Hobley
60003da430
Fix typos in 1.3 release notes
2016-07-05 15:00:32 +01:00
Serafeim Papastefanos
16953c79f3
Allow multiple, comma seperated email addresses...
...
to be used in the `to_address field` in the `AbstractEmailForm`.
2016-07-05 13:02:57 +01:00
Matt Westcott
9961455c6a
Add formal support for customising the form rendering of StructBlocks
...
The `form_template` attribute was mentioned in passing in the docs, but was missing various things
to make it fully useful:
- context passed to form_template now includes 'prefix' and 'block_definition'
- context for the form is now populated in a separate overrideable `get_form_context` method
- full documentation and tests for form_template and get_form_context added
2016-07-05 11:48:09 +01:00
Janneke Janssen
9f72e12159
Inherit relevant border-radius from the parent
2016-07-04 21:34:12 +01:00
Josh Schneier
1dad100695
Add a check that the declared search_fields exist
2016-07-04 20:58:30 +01:00
Matt Westcott
bdbc1b0c5b
Release note for Django 1.10 compatibility
2016-06-28 16:34:46 +01:00
Matt Westcott
5758b54f2e
Support error_messages dict as argument to RegexBlock
...
The individual `error_message` kwarg on RegexField is deprecated in Django 1.8
(and removed in Django 1.10), so it's appropriate for RegexBlock to follow the
same convention.
2016-06-28 16:11:52 +01:00
Matt Westcott
64c7a6367a
Document isort and 'make lint' in Python coding guidelines
2016-06-23 16:31:44 +01:00
Matt Westcott
ac5f57f1ce
Release note for #2737
2016-06-23 11:07:42 +01:00
Chris Rogers
daf68f5e2e
Added Wagtail version to settings menu
2016-06-23 11:05:51 +01:00
OktayAltay
9358e3b611
Add new FloatBlock, DecimalBlock and a RegexBlock ( #2737 )
2016-06-23 10:14:28 +01:00
kakulukia
334bebc55c
dont enforce HTML templates :(
2016-06-22 16:09:51 +01:00
Mike Dingjan
33f53a6e78
Added __bool__ method for proper evaluating the RichText object value
2016-06-21 12:04:52 +01:00
Oktay Altay
31ce2e802c
Add new EmailBlock and IntegerBlock
2016-06-17 23:39:49 +01:00
Karl Hobley
35e506c47f
Changelog/release note for #2715
2016-06-17 15:51:39 +01:00
Michael van Tellingen
7d7509aee5
Implement initial version of Block.bulk_to_python (with jaroel)
...
This prevents n+ queries for n blocks of a specific type.
2016-06-17 15:08:14 +02:00
Matt Westcott
367c71dbaa
TagSearchable needs to be removed from migrations
2016-06-17 09:45:28 +01:00
Gagaro
4d7bdfd160
Refactor: remove Filter as a Django model.
2016-06-17 02:21:36 +02:00
Ludolf Takens
e995bc0e19
Fix #2533 : Prevent removal of '/' when redirect from url is just '/' ( #2721 )
2016-06-16 11:48:45 +01:00
Matt Westcott
852a6de301
fix formatting on release notes page
2016-06-15 18:15:21 +01:00
Johannes Spielmann
a2ec49e01a
allow wagtailforms field choices to be as long as they want
2016-06-15 18:14:41 +01:00
Andreas Nüßlein
5b72f81327
mention edit_handler in this context ( #2716 )
2016-06-15 13:54:54 +01:00
Matt Westcott
8121b633a4
Fix incorrect CSS path on ModelAdmin's 'choose a parent page' view - fixes #2703
2016-06-15 13:50:45 +01:00
Moritz Pfeiffer
6c9d202057
Removed cell content aligment options from table editor context menu.
2016-06-13 20:59:10 +01:00
Janneke Janssen
06bfa43782
Documented the settings variable for WAGTAIL_USAGE_COUNT_ENABLED ( #2706 )
2016-06-13 20:47:27 +01:00
Matt Westcott
f6706977bd
Validate against duplicate form field names - fixes #585
...
Thanks to @tacitus for this fix (#2445 ).
2016-06-13 19:53:44 +01:00
Matt Westcott
bdaf696cd2
Release note / docs for #2257
2016-06-10 14:26:30 +01:00
Mikalai Radchuk
ba807e5f45
Release notes for #2677
2016-06-08 16:53:01 +03:00
Mikalai Radchuk
ba220d58ca
Release notes for #2691
2016-06-08 15:24:18 +03:00
Matt Westcott
79d19a5b1b
Release note for 1.5.2
2016-06-08 11:52:27 +01:00
Mikalai Radchuk
b66830ce27
Release notes for #2684
2016-06-08 13:36:27 +03:00
Matt Westcott
38cca0e47a
mark 1.5.1 as no longer in development
...
Conflicts:
CHANGELOG.txt
2016-06-07 18:59:13 +01:00
Matt Westcott
aaceb9b08f
Make 'permanent' / 'temporary' label on redirects translatable; don't translate the classname
...
Thanks to leo_naeka for reporting!
2016-06-07 17:34:22 +01:00
Yannick Chabbert
3ba4064d89
fix modeladmin delete view message
2016-06-07 16:44:27 +01:00
riceyrice
cd0f8381cd
Ensure pagination is retained on invalid upload
...
Otherwise hidden Search tab causes web browser to load _every_ image in the system.
2016-06-07 16:22:34 +01:00
Matt Westcott
64132728d1
Revert "Fixing #2520 "
...
This reverts commit ab53b1817f .
Conflicts:
CHANGELOG.txt
docs/releases/1.5.rst
2016-06-07 14:56:52 +01:00
Gagaro
871a5b5d9c
Use python_2_unicode_compatible in snippets.rst ( #2688 )
...
We should use `python_2_unicode_compatible` in the documentation so that new users know the best practice.
2016-06-07 13:49:28 +01:00
Matt Westcott
f7816b6bce
Credit Gagaro under preferred name
2016-06-06 17:55:19 +01:00
Matt Westcott
aacb1116db
Track parent page for internal links in rich text - fixes #2639
2016-06-06 13:38:25 +03:00
Janneke Janssen
978cef5218
Documented the WAGTAILIMAGES_MAX_UPLOAD_SIZE ( #2683 )
2016-06-05 18:16:13 +01:00
Matt Westcott
8f796cddfd
Return URL in document chooser response - fixes #2660
2016-06-04 17:12:59 +03:00
Matt Westcott
8d1c8193fa
Remove duplicate definition of form media in settings - fixes #2664
...
Form media declarations are output in edit.html, but this is redundant as they're already output in _editor_css.html / _editor_js.html,
and the duplicate definitions cause the rich text editor to fail to activate for some reason.
2016-06-03 20:27:20 +03:00
Matt Westcott
892c4c77d6
Ensure that form media required by InlinePanels is correctly pulled in to the edit page - fixes #2662 .
...
Based on code from #2659 by @Gagaro - thanks!
2016-06-03 19:33:24 +03:00
Loic Teixeira
c39f830ae2
Mark the field as modified after removing element
...
Fix #2637
2016-06-03 16:41:00 +01:00
riceyrice
05d9fceaa7
Choose existing page for page links only
...
Present new page chooser when editing any other link type.
2016-06-03 16:30:39 +01:00
Matt Westcott
bfa255537f
Add docs / changelog section for Wagtail 1.5.1
2016-06-03 15:47:56 +01:00
Behzad Nategh
b1f194a637
Unicode support for slug as of Django 1.9
2016-06-01 13:44:01 +01:00
Tomas Olander
5ebc7d5044
Update branding docs to remove django-overextends
...
Fixes #2609
2016-05-31 10:34:26 +01:00
Andreas Nüßlein
8e6c9f555f
Update staticsitegen.rst ( #2647 )
...
added python3 hint for http.server
2016-05-30 18:28:48 +01:00
Jack P
78168ba824
Perform client side validation on image upload form, so that the selected file is not lost in the submission - fixes #92
2016-05-26 17:11:27 +01:00
Matt Westcott
c55eed9e99
Version bump to start work on 1.6
2016-05-23 16:36:10 +01:00
Matt Westcott
f3f37cc52b
promote rich text link handling to a major feature
2016-05-19 17:01:17 +01:00
Matt Westcott
4a3bc94185
Add screenshots to 1.5 release notes
2016-05-19 15:49:04 +01:00
Matt Westcott
59ecdb711f
version bump for 1.5rc1
2016-05-19 15:13:38 +01:00
Matt Westcott
d375cc62cc
1.4.5 is now released
2016-05-19 15:00:35 +01:00
Matt Westcott
197527c5d2
Release note for #2416
2016-05-19 13:44:15 +01:00
Karl Hobley
a99c6c4c2d
Changelog/release note for #2615
2016-05-19 11:45:49 +01:00
Matt Westcott
7f8cf2539f
Add BASE_URL setting back to project template
2016-05-18 22:12:48 +01:00
Alex Gleason
8d5d29c2f3
Rename table_block.fields to table_block.blocks
2016-05-18 15:51:54 +01:00
Matt Westcott
737731de0c
Release notes for #2407
2016-05-18 15:50:08 +01:00
Karl Hobley
c63dcdfc15
Added a missing link to release notes
2016-05-17 16:55:59 +01:00
Karl Hobley
f8d7276800
Release note for #2459
2016-05-17 16:39:11 +01:00
Yannick Chabbert
58dfea096e
add a sendfile class based view implementation
2016-05-17 16:34:32 +01:00
Matt Westcott
06af3fe33d
Account for deletions when constructing page paths for preview_on_create - fixes #2599
2016-05-17 16:03:15 +01:00
Matt Westcott
95aeda48f3
Release note for #2614
2016-05-17 15:58:30 +01:00
Matt Westcott
fc814298d1
Release note for #2613
2016-05-17 15:54:47 +01:00
Matt Westcott
a0c4dbd2d4
Release note for #2623
2016-05-16 18:09:16 +01:00
riceyrice
0899c48117
Use cross-browser document.activeElement instead of (non-IE) event.target.activeElement
...
Conflicts:
CONTRIBUTORS.rst
2016-05-12 20:32:15 +01:00
Matt Westcott
0eaac1882c
Release note for #2605
2016-05-12 17:03:29 +01:00
Matt Westcott
024b96d0ed
Release note for #2414
2016-05-12 15:34:14 +01:00
Matt Westcott
6ff98a543b
Move custom user forms example to a new page under advanced_topics/customisation
2016-05-12 15:34:14 +01:00
nfletton
c4feb6462f
Add ability to override user creation and edit forms to allow custom user model
...
fields to be edited via Wagtail admin.
2016-05-12 15:34:14 +01:00
Mikalai Radchuk
4392680067
Fixes UnicodeEncodeError in wagtailforms
...
If you will create form field entry with unicode characters,
you will get `UnicodeEncodeError`. This commit fixes this bug.
2016-05-12 11:00:03 +01:00
Karl Hobley
d90c2a6c71
Changelog for #2476
2016-05-12 10:39:31 +01:00
Karl Hobley
9cd2bf6447
Changelog for #2585
2016-05-12 10:25:56 +01:00
Juha Yrjölä
616a18aeff
Replace calls to __() with ugettext_lazy()
...
This makes xgettext discover the translatable strings.
2016-05-11 21:08:36 +01:00
Vincent Audebert
42b9fb893c
Fixing #2560 - changing z-index on class sequence-controls so we can see the controls on top of stream field menu
2016-05-11 17:17:15 +01:00
Matt Westcott
ac5aa73de9
add release note for link tooltips ( #2147 )
2016-05-11 16:58:00 +01:00
Matt Westcott
8ab3184731
Release note for #2147
2016-05-11 16:56:19 +01:00
Matt Westcott
9338fc2ac4
Release note for #1705
2016-05-11 15:45:42 +01:00
Brad Busenius
53dfe6f5de
Added documentation for table_block.
2016-05-11 15:16:06 +01:00
Liam Brenner
ca846a5941
Add logout success message
2016-05-10 20:08:57 +03:00
Liam Brenner
05be39e85f
Add spinner/button longrunning class to settings save button
2016-05-10 19:59:07 +03:00
Karl Hobley
e72b25f61c
Make api_fields a list
...
All other model attribute settings in Wagtail use lists now. This commit changes the api_fields docs to use a list as well.
Both list and tuple work, but list is now the recommended option
2016-05-10 19:35:41 +03:00
Karl Hobley
fcd2aa023c
Support field widget media inside streamfield blocks
2016-05-10 17:17:41 +03:00
Karl Hobley
948bdf8d3c
Tweaks to image serve view docs ( #2588 )
...
- key => signature
- Added "Advanced configuration" section (the last bit of the docs doesn't really fit into the general usage section above)
-
2016-05-10 14:56:12 +01:00
Karl Hobley
9dcc12ac55
Fix a typo in model reference
2016-05-10 14:28:34 +01:00
Matt Westcott
703ee3edf5
Update release notes / contributors with new translations imported into 1.4.4
2016-05-10 11:28:46 +01:00
Matt Westcott
7aaab7b52d
Fix for #2519 is now in 1.4.x (and also fixes #2549 )
2016-05-09 19:08:52 +01:00
Liam Brenner
75295209bb
Added auto resizing text field, richtext field, and snippet chooser to styleguide
...
Fix button on styleguide linking to the add an image page
2016-05-09 12:56:47 +03:00
Tim Heap
facd66cf82
Use code-block:: python for a code example in docs
2016-05-08 04:59:34 +02:00
Philipp Dieter
d247fe9bf6
Fix name of ForeignKey object
2016-05-08 04:50:37 +02:00
Mario César
b95cc1e687
Update decorator patterns util to preserve original view method name when introspecting.
...
When decorate_urlpatterns apply a decorator to a view function it lost spec names, docs, and the module where it was imported, making it uneasy to inspect when debugging (Like getting the name view and docs when using django-debug-toolbar)
Using functools.update_wrapper it updates the resulting function to look like the original wrapped view function.
Without the use of this decorator factory, the name of the wrapped view function would have been 'decorated_view'.
2016-05-08 04:44:30 +02:00
Josh Schneier
6d1a9efbb6
Update documentation and code to put mixin first
2016-05-04 14:05:33 +01:00
Karl Hobley
629deeba68
Changelog/release note for #2528
2016-05-04 12:29:21 +01:00
Matt Westcott
796239b7d9
Add semi-transparent border around explorer menu
...
Fixes #2519 . Fix provided by @alexgleason
2016-05-03 15:49:54 +01:00
Tim Heap
b727ec4064
Add documentation on the base_form_class attribute
2016-05-03 14:00:21 +01:00
Tim Heap
80ad8ffc94
Do not get message classes from MESSAGE_TAGS
...
If the developer had overridden MESSAGE_TAGS in their site, Wagtail
messages used these classes in the admin. This caused the messages to
lose their styles.
Wagtail now ignores the MESSAGE_TAGS setting, using the default classes
defined in `django.contrib.messages.constants.LEVEL_TAGS`.
Fixes #2551
2016-05-03 11:42:26 +01:00
kapito
7de9b51f6f
Prevent spinner from spinning on required form entry
2016-05-03 00:03:38 +01:00
Matt Westcott
b39ff4a134
add note about Wagtail <=1.4 syntax for search_fields
2016-05-02 18:42:21 +01:00
Karl Hobley
5eef0f0a24
Mention that ImageMagick must be installed in "Animated GIF support"
...
Fixes #2505 . Thanks to Frank Wiles and @ghostwords for spotting
2016-04-29 16:23:27 +01:00
Matt Westcott
1de152c145
Release note for #2499
2016-04-28 16:24:08 +01:00
Matt Westcott
83d872b3a3
Release note for #2501
2016-04-28 15:22:10 +01:00
Matt Westcott
139c8a1e76
Release note for #2495
2016-04-28 14:56:07 +01:00
Matt Westcott
26f4b4868d
Release note for #2526
2016-04-28 13:13:13 +01:00
Matt Westcott
518abc2673
changelog entry for #2517 should be in 1.4.4
2016-04-28 11:45:41 +01:00
Robert Rollins
7523d7f57f
Removed all uses of STATIC_URL from code samples, replaced with static().
...
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.
I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
2016-04-28 10:57:22 +01:00
Robert Rollins
11793f88c5
Changed indentation on all code samples to 4 spaces.
...
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Robert Rollins
1a9caccdcd
The "code-block:: json" tag doesn't work for full HTML response text.
...
You get a lexer error from the document builder if you use "code-block:: json",
and the json-style highlighting ends up not being applied. So I switched it to
"code-block:: text".
2016-04-28 10:57:22 +01:00
Matt Westcott
91e81d6bc0
Upgrade consideration note for #2524
2016-04-28 10:52:10 +01:00
Vincent Audebert
ab53b1817f
Fixing #2520
...
Switching explorer from position absolute to position fixed.
I did it in a pure CSS way but it would be good to be able to modify jquery.dlmenu.js line 213 to avoid it adding automatically a CSS property top on the element.
2016-04-27 22:05:17 +01:00
Matt Westcott
83bfaf14a8
failing test for #2511 for document uploader
...
Make collection field on document chooser upload respect user permissions
failing test for #2511 for image uploader
Make collection field on image chooser upload respect user permissions
2016-04-26 19:45:01 +03:00
Vincent Audebert
a3d36a122c
Fixing #2393 , replacing rem with em
2016-04-26 17:47:14 +12:00
Matt Westcott
544c871b80
Release note for #2420
2016-04-25 23:45:52 +01:00
Andrew T. Baker
228088d33d
Add WAGTAIL_APPEND_SLASH setting
2016-04-25 23:12:57 +01:00
nfletton
03e247396b
Display the details of server errors when they occur in the multi-image uploader
2016-04-25 22:18:58 +01:00
Roel Bruggink
ac59fc814c
Improve L10N and I18N for revisions list.
2016-04-25 21:52:05 +01:00
Matt Westcott
f9947b2c08
Release note for #2489
2016-04-25 21:00:30 +01:00
Matt Westcott
c35c1f360a
Release note for #2439
2016-04-22 17:22:40 +01:00
Matt Westcott
e5848941a0
#2456 is now in 1.4.x
2016-04-19 14:18:13 +01:00
Tim Heap
14398bfdd7
Correctly construct Meta class for multi-inherited Blocks
2016-04-19 11:26:25 +01:00
Karl Hobley
9fe6c7c494
Changelog for #2488
2016-04-18 23:20:26 +01:00
Andy Babic
dcb67dcfdf
Added wagtailmodeladmin to contrib with docs
2016-04-14 15:03:49 +01:00
Benjamin Bach
dfd8a5cc2b
add distinct icons to blocks
2016-04-12 16:50:48 +01:00
Karl Hobley
b978fb826f
Added --schema-only flag to update_index command
2016-04-12 16:21:46 +01:00
Matt Westcott
1aa0817a03
Release note for #2205
2016-04-12 16:07:09 +01:00
Karl Hobley
2e970f88ea
Changelog and release note for #2451
2016-04-12 06:57:27 +01:00
Tim Heap
31d2d43d5b
Add wagtail.contrib.settings.jinja2tags ( #2451 )
2016-04-12 06:49:32 +01:00
Karl Hobley
eda39c85c8
Changelog for #2453
2016-04-11 22:46:42 +01:00
Mikalai Radchuk
6c53a439a5
Update CHANGELOG and release notes
2016-04-11 17:01:55 +01:00
Charlie Hornsby
5cb7ae01f6
FIx incorrect paginator label in example code ( #2468 )
2016-04-10 11:06:51 +01:00
Chris Rogers
26f5016bb5
Use site_name for display for sites if available
2016-04-08 16:50:58 +01:00
Matthew Downey
9bbf1ba9a0
updated Site.find_for_request() to only hit the database once, and related unit tests
2016-04-08 12:15:23 +01:00
Liam Brenner
8b2a58ecae
Changed button class for saving settings
2016-04-06 14:56:31 +01:00