0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

270 Commits

Author SHA1 Message Date
Matt Westcott
84efa88883 Release note for #3256
Conflicts:
	CHANGELOG.txt
	CONTRIBUTORS.rst
	docs/releases/index.rst
2017-01-26 12:38:11 +00:00
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
Matt Westcott
5dfcdfb2a6 Release note for #2872 2016-07-28 11:41:12 +01:00
Matt Westcott
ad1f6716c5 Add Sean Muck to contributors 2016-07-27 14:31:01 +01:00
Matt Westcott
321c016433 Fix specificity of login button CSS, to restore large button style.
Thanks to @sebworks for the bug report and investigation!
2016-07-26 17:17:15 +01:00
Matt Westcott
4108e51871 Add Adriaan Tijsseling to contributors 2016-07-26 15:35:22 +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
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
Matt Westcott
f014332a52 Add Thibaud Colas to contributors 2016-06-30 19:13:20 +01:00
Mikalai Radchuk
520d34f6d8 Add Tim Graham to the contributors list 2016-06-29 13:02:09 +03:00
Matt Westcott
3e38bab785 fix typo in Raphael Stolt's name 2016-06-27 18:27:46 +01:00
Matt Westcott
bf912b2aa9 Add Raphael Stolz to contributors 2016-06-27 17:37:22 +01:00
kakulukia
334bebc55c dont enforce HTML templates :( 2016-06-22 16:09:51 +01:00
Matt Westcott
e2c9c878de Add Paul J Stevens to contributors 2016-06-21 13:08:07 +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
Ludolf Takens
e995bc0e19 Fix #2533: Prevent removal of '/' when redirect from url is just '/' (#2721) 2016-06-16 11:48:45 +01:00
Johannes Spielmann
a2ec49e01a allow wagtailforms field choices to be as long as they want 2016-06-15 18:14:41 +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
Mikalai Radchuk
ba220d58ca Release notes for #2691 2016-06-08 15:24:18 +03:00
Matt Westcott
b34f920832 Pull translations from Transifex (#2690) 2016-06-07 17:23:52 +01:00
Matt Westcott
f7816b6bce Credit Gagaro under preferred name 2016-06-06 17:55:19 +01: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
Behzad Nategh
b1f194a637 Unicode support for slug as of Django 1.9 2016-06-01 13:44:01 +01:00
Matt Westcott
62db929d87 Fetch new translations from Transifex 2016-05-31 11:53:01 +01:00
Matt Westcott
f01f4481e6 Update translations (#2634)
* Pull new translations from Transifex

* Generate new strings for translation
2016-05-18 23:30:20 +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
72cf8c7bdb Add Robert Moggach to contributors (ref #2165, original suggestion for #2476) 2016-05-12 10:34:49 +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
Matt Westcott
9338fc2ac4 Release note for #1705 2016-05-11 15:45:42 +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
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
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
kapito
eecec1b7ce Add global declaration to $prop assignment. 2016-04-27 10:39:40 +01:00
Vincent Audebert
a3d36a122c Fixing #2393, replacing rem with em 2016-04-26 17:47:14 +12:00
Andrew T. Baker
228088d33d Add WAGTAIL_APPEND_SLASH setting 2016-04-25 23:12:57 +01:00
Matt Westcott
f9947b2c08 Release note for #2489 2016-04-25 21:00:30 +01:00
Andy Babic
dcb67dcfdf Added wagtailmodeladmin to contrib with docs 2016-04-14 15:03:49 +01:00
Matt Westcott
1d2ec402fa Prefetch root page in Site.find_for_request. Thanks to Yannick Chabbert for the suggestion! 2016-04-12 12:54:14 +01:00
Roel Bruggink
bedde59aaa Add 'revisions' action to 'more'. 2016-04-05 15:43:24 +01:00
Matt Westcott
c428f92711 Add Janneke Janssen to contributors 2016-04-05 15:04:10 +01:00
Tim Heap
27db7fb69e Add @danni to CONTRIBUTORS.rst
See #2359
2016-03-28 02:49:07 +02:00
Tim Heap
e001cac581 Release notes for #2260 2016-03-22 14:36:21 +11:00
Math1985
03cba5b91c Ask user for old password when changing password
This is accomplished by using PasswordChangeForm instead of SetPasswordForm.

This adds extra security, as without this commit, an attacker that has access to
a user's session at one point in time will be able to change the user's password
and gain permanent access.
2016-03-22 11:50:18 +11:00
Rob Moorman
5158ee7aad Removed arrow-up after selector issue #2365 2016-03-17 01:25:26 +00:00
Matt Westcott
8976453dfc Add Antonin Enfrun and Edd Baldry to French translators list 2016-03-16 12:33:21 +00:00
Matt Westcott
78bd519fb5 Update translator list in contributors.rst 2016-03-09 12:26:15 +00:00
Matt Westcott
2cbbad492e Update Benjamin Bach's name in contributors 2016-03-08 15:49:10 +00:00