Wykres commitów

419 Commity (a3f2748c5d28cfd1e9416986768106a295621981)

Autor SHA1 Wiadomość Data
Rajeev J Sebastian 35049c352a Add request parameter to edit handlers (#4382) 2018-04-02 16:51:14 +03:00
alejandrogarza 5a5e6d5d2b Added change email functionality from the account settings. Fix #4325 (#4375) 2018-04-02 15:42:46 +03:00
Matt Westcott 626418d348 Ensure breadcrumb respects custom get_admin_display_title methods. Fixes #4353 2018-03-29 17:36:32 +02:00
Mike Kamermans 59506ae69f Update `jquery-datetimepicker` dependency to make Wagtail more CSP-friendly (`unsafe-eval`). Fix #4329 (#4337)
* Update jquery-datetimepicker to 2.5.19

- Fixes an `eval()` CSP violation
- includes touch scroll fix from commit #87a7a7 (L909)
2018-03-22 23:51:37 +02:00
Thibaud Colas eb9ad812f7
Update my contributing info 2018-03-22 23:43:31 +02:00
Tony Yates cab90e5d1b Adding external link with selected text now includes text in link chooser. Fix #4328 (#4366) 2018-03-21 00:35:41 +02:00
DanAtShenTech 72e1491f39 Fix typo 2018-03-16 19:54:59 +01:00
Karl Hobley 26d452c4bb Release notes for #4384 2018-03-16 15:16:40 +00:00
Kevin Chung d188576af8 Adds a new HelpPanel (#4374) 2018-03-15 16:46:34 +01:00
Caspowned 977dbae585 Rewrite password change feedback message. Fix #4200 (#4364) 2018-03-15 00:53:33 +01:00
Sebastian Brestin e8ee632b29 Permission checking consistency #4305 2018-03-05 17:18:16 +00:00
Todd Dembrey 09f8a4f38a Draftail was failing to initialise with defined options in settings 2018-03-05 16:04:02 +00:00
Matt Westcott 530b8b32ec Fetch new translations from Transifex 2018-02-27 19:29:55 +00:00
Michael Harrison 4da0bd7bd2 Improve redirect links search in the admin 2018-02-27 16:08:11 +11:00
Matt Westcott 501aa5ab63 Fetch new translations from Transifex 2018-02-16 11:31:07 +00:00
Dan Dietz 54ad64e431 Added LineBreakHandler to resolve missing line breaks 2018-02-15 17:36:59 +00:00
Julian Gallo 9e67741f2b Fix position of action buttons in image editor on mobile (#3771) 2018-02-14 15:26:35 +02:00
Carlo Ascani 8c0170bb62 Animate the chevron icon when opening sub-menus in the admin (#3069) 2018-02-14 14:06:19 +02:00
Ben 6412bad624 Persist tab hash in URL to allow direct navigation to tabs in the admin interface (#4231)
Save the hash when clicking on a tab and select the tab if loading a page with a hash in it. This allows for giving direct links to a specific tab.

![tabs](https://user-images.githubusercontent.com/272675/35627540-c8e22f36-065e-11e8-848e-78924335a146.gif)

Fixes wagtail/wagtail#4111
2018-02-14 11:37:44 +02:00
Dave Bell 99e9d5468a Use Rendition in image_to_html 2018-02-12 20:24:17 +00:00
Dário 55580d96e8 Embed Docs: fix broken link (#4270) 2018-02-12 10:15:22 -05:00
Mary Kate Fain 6c7d0abad7 Add on_delete to BlogPageTag model 2018-02-08 11:52:45 +00:00
J Rob Gant 218a47e802 Remove unreachable code from slugurl tag. 2018-01-29 18:55:44 +00:00
Matt Westcott 9ef1e4883c Fetch new translations from Transifex 2018-01-26 16:24:14 +00:00
Matt Westcott 5fc191b116 Simplifies edit handlers by removing redundant classes.
This also allows to provide some missing arguments to panels like PageChooserPanel.
2018-01-13 17:21:36 +00:00
Chris Bledsoe 3d945d0255 extract get_template method to allow overriding template on instances of blocks
to allow for customization and make the Block type mirror how the Page model allows for a get_template method to override it.

add per contrib guidelines
2018-01-11 16:03:22 +00:00
Bruno Alla be164048b8 Add setting to disable notification to superusers -- Fixes #3969
WAGTAILADMIN_NOTIFICATION_INCLUDE_SUPERUSERS, default to True
If set to False, superusers do not receive moderation notification,
only moderators do.
2018-01-10 17:26:02 +00:00
Matt Westcott c10e050076 Add misraX to contributors 2018-01-02 23:37:56 +00:00
Philipp Bosch a9f51a09c4 [Docs] Fix imports in "Buttons with dropdown lists" hooks example 2017-12-05 00:12:06 +00:00
Janneke Janssen 91d1150fc4 Release notes for #3592 2017-12-01 16:24:05 +01:00
Matt Westcott 9610c2d3af Make InlinePanel heading independent of label. Original commit by @Adrian-Turjak 2017-11-30 12:08:19 +00:00
Matt Westcott 1035a83b80 Add LB Johnston to core team 2017-11-15 21:52:37 +00:00
Martin Sandström 345b527ca2 Fix syntax error in ImageRenditionField example 2017-11-12 18:07:38 +00:00
Matt Westcott 6dc89c1f7f Remove Tim Heap from core team (hopefully only temporarily...) 2017-11-08 11:00:23 +00:00
Matt Westcott f5e800f5e5 Add Jon Carmack to contributors 2017-11-03 16:56:16 +00:00
Matt Westcott cc64f40237 Update CONTRIBUTORS.rst with current core team 2017-11-02 10:41:13 +00:00
Tim Heap 62aa2b2726 Update Tim Heap's contributor note
I've changed employers, but still contribute to Wagtail.
2017-11-01 09:48:58 +00:00
Matt Westcott 9ec8daba43 Update `slugurl` documentation with a "real-world" example.
Thanks to @rifuso for the suggestion!
2017-10-23 12:40:07 +01:00
Matt Westcott 54f362f2ac Fetch new strings for translation
Also remove tr_TR translations, as they will mask the more-complete TR translation due to #3600.
2017-10-16 19:03:21 +01:00
Ross Crawford-d'Heureuse 32555f7a1c Added hiddenfield 2017-10-13 17:26:20 +01:00
Patrick Woods fa853de486 Use parse_known_args so we can handle extra testrunner named parameters 2017-10-13 16:35:03 +01:00
Matt Westcott 26c677cc5a Pull new translations from Transifex 2017-10-06 16:08:01 +01:00
Samir Shah 62b8caedd5 Remove SessionAuthenticationMiddleware from project template and docs.
The project template assumes Django 1.11, where SessionAuthenticationMiddleware is redundant (see https://docs.djangoproject.com/en/1.11/releases/1.10/#features-removed-in-1-10).

Also update the documentation to consistently refer to MIDDLEWARE instead of MIDDLEWARE_CLASSES.
2017-10-04 16:14:34 +01:00
Mads Jensen aa3f5b7828 Added missing on_delete to SearchTestSubObject.parent 2017-10-02 22:51:37 +01:00
Matt Westcott 563b8e48ef Release notes for #3541 2017-09-13 21:41:35 +01:00
Venelin Stoykov 90ce50307e Make it possible to reverse migrations
Conflicts:
	CONTRIBUTORS.rst
2017-09-06 16:37:31 +01:00
Anselm Bradford a900965fba Fixes #3516 - replaces scss-lint with stylelint 2017-08-26 16:39:45 +03:00
Matt Westcott 49745cd471 Add Ben Sturmfels to contributors (#3786) 2017-08-23 21:12:24 +01:00
Joe Cronyn d56f1069ef Updating to allow no limit max 2017-08-22 12:09:05 +01:00
Thibaud Colas b0b5e25e97 Release note for #3763, in 1.13 2017-08-16 00:40:49 +03:00
Tomasz Knapik 80c846a0cf Add help_text to DecimalBlock and RegexBlock 2017-08-11 11:48:51 +01:00
Matt Westcott c5fb5cd6d2 Fetch new translations from Transifex 2017-08-10 16:52:02 +01:00
Matt Westcott f9824236a8 Fix Christine Ho's credit 2017-08-10 14:31:23 +01:00
Karl Hobley 3163f77d2a Changelog/contributor/release note for #3701 2017-08-04 14:32:57 +01:00
Matt Westcott 17939e5190 release note fixup 2017-08-02 12:28:28 +01:00
Jack P ee2e44c125 Fix footer collapsing too early (#3719) 2017-08-02 13:45:45 +03:00
Matt Westcott 2021042d57 Release note for #3605 2017-08-01 15:03:07 +01:00
Levi Adler 6bd7515663 Reduce queries and speed up sitemap generation with PageQuerySet.specific (#3727) 2017-07-28 16:07:16 +01:00
Eugene Morozov f85f186cea Hide wagtail icon from printed page representation. 2017-07-14 11:49:52 +02:00
Matt Westcott cfa37db195 Fetch new translations from Transifex 2017-06-30 12:02:17 +01:00
David 240fa9153b Added multiselect form field 2017-06-28 17:25:25 +01:00
Matt Westcott d5cfaa8cd5 Fetch new translations from Transifex 2017-06-19 17:48:07 +01:00
Matt Westcott 3d9159c0b4 Release note for #3663 2017-06-19 16:57:05 +01:00
Matt Westcott 6bc6480cd2 Fix deprecated import of modelcluster.tags in tutorial 2017-06-19 12:23:30 +01:00
Bertrand Bordage 729bee6c14 Changelog for #2547. 2017-06-19 03:34:16 +02:00
Marc Tudurí ed01d58b57 Set Page owner as editable 2017-06-13 10:55:39 +01:00
John Franey 3f8052064e Mention PostgreSQL backend in docs Search index
Updates the Search docs index to mention the new PostgreSQL backend
2017-05-30 20:48:46 +01:00
Mikalai Radchuk 9d64068082 Release notes for #3588 2017-05-23 20:55:43 +01:00
Matt Westcott e96ee76c3d Add release note for #3586 2017-05-17 16:35:50 +01:00
Thibaud Colas b17d11af05 Release notes for #3012 2017-05-13 23:53:10 +03:00
Matt Westcott e233177173 Pull new translations from Transifex 2017-05-03 12:12:22 +01:00
Matt Westcott 18cf4fc5b6 Add Sebastian Bauer to contributors 2017-04-21 09:18:35 +01:00
Matt Westcott 31bed83351 Add Medhat Assaad to contributors 2017-04-20 10:52:00 +01:00
Matt Westcott d1108be87e Fetch new translations from Transifex 2017-04-19 20:39:30 +01:00
Daniel Chimeno 72a935a8f0 Adds user-prefered admin language (#3310).
added prefered language field and migration

added form and view to select prefered language

Added some tests

modified tests

fix styleguide errors

activate middleware only for authenticated users

fixed typos

fixed test undoing language preferences

fixed lint issues

fixed tests

fixed message

change behaviour and more test added

added utf8 coding

[skip ci] initial documentation for preferred language

added contributor

refactor get_available_admin_languages

refactor get_available_admin_languages

make language name language aware

translate notifications to recipient language

make language name language aware

fixed lint
2017-04-19 14:48:06 +02:00
Bertrand Bordage 9132bcc23d Adds Ross Curzon-Butler to CONTRIBUTORS. 2017-04-08 21:41:52 +02:00
Mikalai Radchuk 35a1af2b3b Release notes for #3482 2017-03-27 20:28:45 +03:00
Janneke Janssen 20e8aabdf9 Release notes for #3291 / #3481 2017-03-24 11:52:38 +01:00
Matt Westcott 6aea6a6856 Release note for #3425 / #3494 2017-03-24 11:06:42 +01:00
maartenkling c0c0a58c44 Change buttons for mobile #2780 2017-03-24 10:11:56 +01:00
Will Giddens 40dc7f7aa9 call super in Page.clean 2017-03-23 18:08:14 +01:00
Patrick Gerken 50a16c37db Make installing deps more stable
The old syntax works with bash, but not with zsh. The new syntax works with both.
2017-03-23 18:04:20 +01:00
Wietze Helmantel 285d9f0b43 Ticket #2918 added is_preview flag to serve_preview methods 2017-03-23 17:58:18 +01:00
Ralph Jacobs cf815e8897 Change event handler to keyup. This fixes the IE10 + IE11 submit issue 2017-03-23 12:04:04 +01:00
Matt Westcott 31f4ac18c6 Release note for #3478 2017-03-23 11:50:57 +01:00
hyden 01e891d0c4 Convert every Cloudflare API error message into string (#3436) 2017-03-09 19:36:08 +00:00
jacoor 40842fe8bf typo fix 2017-03-07 10:48:30 +00:00
Trent Holliday f28130647a Title not displaying page name
The `page` context variable does not exist for that view.
2017-03-03 09:56:05 +01:00
cho-leukeleu d2baa4ba05 Update results.html
Close anchor tag
2017-03-01 15:55:44 +00:00
Matt Westcott 6ba69b8aed Pull new translations from Transifex 2017-02-16 10:47:00 +00:00
Matt Westcott 14f991df14 Allow pageurl / slugurl tags to function when request.site is not available
Fixes #3352

Conflicts:
	CONTRIBUTORS.rst
2017-02-16 10:15:39 +00:00
LB (Ben Johnston) 5aa8e00d77 fix location of {{ block.super }}
Fix: extra_js in snippets type_index `{{ block.super }}` should be outside script tags.
All other locations of block.super are outside of script tags
2017-02-14 10:45:25 +00:00
Janneke Janssen 5d706d2542 Release notes for #3359 2017-02-13 11:21:40 +01:00
Florian Vogt ff9ef9068b Mark wagtailforms-date-filter-placeholder for translation 2017-02-11 22:27:03 +00:00
Matt Westcott 0421da9198 Fetch new translations from Transifex 2017-02-06 12:31:07 +00:00
Alasdair Nicol d8926913bd Updated docs to use a list for urlpatterns
This style is recommended for Django 1.8+, and required for 1.10+
2017-02-05 19:59:39 +00:00
David Ray 49b78dd8a7 Removing errant words in sample path/to/wagtail 2017-02-03 20:41:08 +00:00
Martey Dodoo 3923ee668c Remove references to Gondor.io in documentation.
Gondor.io has been retired by Eldarion (see
http://eldarion.cloud/blog/2016/04/21/goodbye-gondor-hello-kel-and-eldarion-cloud/),
so the tutorial wouldn't be helpful even if it was accessible.
2017-01-30 12:36:26 +00:00
Kevin Whinnery 6402e56fb5 Update model_reference.rst 2017-01-26 20:05:35 +00:00
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