Thibaud Colas
6b605aaa0d
Create new release note sections for Wagtail 1.13
2017-08-16 00:38:09 +03:00
Thibaud Colas
65e6c6920f
Add npm run lint:css command to run Sass linting
2017-08-11 16:26:11 +01:00
Thibaud Colas
4eafad0a57
Fix scss_lint gem naming
2017-08-11 16:26:11 +01:00
Thibaud Colas
91490566c2
Replace references to Node versions
2017-08-11 15:40:43 +01:00
Tomasz Knapik
80c846a0cf
Add help_text to DecimalBlock and RegexBlock
2017-08-11 11:48:51 +01:00
Jeffrey Chau
c26e019ed1
Followup to #3640 . Fix hidden field rendering in other document forms
2017-08-11 11:25:04 +01:00
Karl Hobley
2e81c30ca5
Changelog/release note for #3344
2017-08-11 10:18:21 +01:00
Matt Westcott
b376da022f
Grammar nitpick ('By default' sounds more natural than 'Per default')
2017-08-11 09:58:44 +01:00
Andreas Nüßlein
39bca11283
added default index_route for RoutablePageMixin
...
RoutablePageMixin has a default index_route method that is decorated
with `@route(r'^$')`. This way, including RoutablePageMixin doesn't
force you to re-enable the default functionality you would expect from a
Page anyways.
index_route behaves exactly like a standard Wagtail Page.
To override the default behaviour, one can simply override the route by
decorating another function with r'^$'.
(as disussed in issue #2866 )
2017-08-11 09:58:44 +01:00
kapito
e008838d53
Non-obstructive navbar toggle icon
...
Changes the design of the navbar toggle slightly so that it no longer obstructs page headers.
Currently: https://cdn.pbrd.co/images/GAruhHC.png , https://cdn.pbrd.co/images/GArxXtn.png
With fix: https://cdn.pbrd.co/images/GArvF7ec.png , https://cdn.pbrd.co/images/GArwp3o.png
2017-08-11 03:41:51 +03:00
kapito
aed6791088
Optimise caudal oscillation parameters on logo ( #3740 )
2017-08-10 15:31:29 +01:00
Matt Westcott
f9824236a8
Fix Christine Ho's credit
2017-08-10 14:31:23 +01:00
Matt Westcott
9942822fca
Make paragraph elements an always-on plugin rather than configurable with plugins
2017-08-10 14:19:34 +01:00
Matt Westcott
c1b9204615
Release notes for rich text features
2017-08-10 14:19:34 +01:00
Matt Westcott
7c99cad62b
Documentation for rich text features
2017-08-10 14:19:34 +01:00
Matt Westcott
0f5db96364
Add WAGTAILUSERS_PASSWORD_ENABLED and WAGTAILUSERS_PASSWORD_REQUIRED settings
...
Fixes #3706 . These options restore the ability to create users with no password set on the Django side, for setups where authentication is managed externally (e.g. LDAP) - this was inadvertently dropped in Wagtail 1.10 when the form validation was tightened up (#3007 ). Additionally, the password fields can now be removed entirely, to enforce the use of an external auth setup.
2017-08-10 10:11:47 +01:00
Jack P
f9aebb77d7
Fix inconsistent footer width ( #3723 )
2017-08-08 21:55:08 +03:00
Thibaud Colas
85286699d2
Release notes for #3748
2017-08-08 21:41:37 +03:00
Karl Hobley
3163f77d2a
Changelog/contributor/release note for #3701
2017-08-04 14:32:57 +01:00
kapito
b6e01515cb
fix deprecated load() function
2017-08-03 19:47:16 +01:00
Matt Westcott
8ba95cb664
Add release note about the need to specify draft_title in fixtures
2017-08-03 13:24:24 +01:00
Matt Westcott
70aa876e55
Extra documentation / release note re the relationship between draft_title and get_admin_display_title
2017-08-03 12:05:52 +01:00
Matt Westcott
8a055addad
Don't render a StructValue's template on calls to str(value)
...
This is liable to cause infinite loops on debug / logging code that attempts to log the fact that it's rendered a template with this value in the context.
Fixes #2874 , https://github.com/jazzband/django-debug-toolbar/issues/950
2017-08-02 14:04:47 +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
Stein Strindhaug
f663c76490
Prevent users from demoting or deactivating themself
...
Remove is_active and is_superuser fields completely when editing
oneself, to avoid locking oneself out.
2017-08-02 00:13:05 +01:00
Matt Westcott
2021042d57
Release note for #3605
2017-08-01 15:03:07 +01:00
Matt Westcott
2e5dd9aa55
Refactor #3605 to work alongside 'required' param
2017-08-01 15:02:52 +01:00
ebar0n
993cff3e22
Add validations for min_max_fields on StreamBlock
2017-08-01 10:41:49 +01:00
Edwar Baron
58ad6545be
Add ability to specify min/max block counts on StreamBlock
2017-08-01 10:41:48 +01:00
Matt Westcott
4a5f3072bd
Release note and docs for #3315
2017-08-01 00:17:02 +01:00
Levi Adler
6bd7515663
Reduce queries and speed up sitemap generation with PageQuerySet.specific ( #3727 )
2017-07-28 16:07:16 +01:00
Jeffrey Chau
988a2487ef
Update documentation to reflect specific behavior of form_classname meta attribute
2017-07-28 15:41:38 +01:00
Eugene Morozov
7b55c5094f
Backslash is not necessary when multi-line expression is parenthesized.
2017-07-18 09:56:42 +03:00
Eugene Morozov
f85f186cea
Hide wagtail icon from printed page representation.
2017-07-14 11:49:52 +02:00
Matt Westcott
a9b7265784
Add docs about upgrading and supported Django / Python versions ( #3690 )
...
* Add docs about upgrading and supported Django / Python versions
Fixes #2429
* Add table of LTS support periods
2017-07-12 14:50:27 +01:00
Matt Westcott
2bd54431b4
fill in release date for 1.11.1
...
Conflicts:
CHANGELOG.txt
2017-07-07 14:40:16 +01:00
Matt Westcott
a0c6e46580
Release note for #3694
...
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
2017-07-07 14:39:28 +01:00
Matt Westcott
8003185ac2
Release note for #3569
2017-07-06 15:23:40 +01:00
Matt Westcott
4caa860149
Mark 0.8, 1.4, 1.8 and 1.12 as LTS releases in release notes
2017-07-04 15:20:44 +01:00
Karl Hobley
8a8b440532
Put a space back
...
Accidentally removed by previous commit
2017-07-04 09:58:01 +01:00
Karl Hobley
1d878c6788
Remove a broken link from pages.rst
...
This link now just leads to a blank page with the message "The Django wiki is no longer used for this information."
2017-07-04 09:56:36 +01:00
Karl Hobley
01e2d5f4a0
Class based embed finders and new embed finder configuration ( #2127 )
...
* Allow additional oembed providers to be used (currently all are hardcoded)
* Make per-provider configuration possible
* Choose which finders get used for which provider (eg, force use of oembed for instagram but use embedly for everything else)
* Allow specifying additional parameters for certian providers such as scheme=https to YouTube
2017-07-03 18:28:13 +01:00
Mikalai Radchuk
cc4f941c0a
Add release notes for #3285
2017-07-03 10:14:16 +01:00
Matt Westcott
4bcd4b1834
Fill in release date for 1.11
...
Conflicts:
CHANGELOG.txt
2017-06-30 14:39:07 +01:00
Karl Hobley
ae070c688e
Changelog/release note for #3670
2017-06-30 09:33:35 +01:00
David
240fa9153b
Added multiselect form field
2017-06-28 17:25:25 +01:00
Matthew Downey
27808a9fe1
Respect max_num when setting initial disabled state for InlinePanel add button #3316
2017-06-28 15:56:50 +01:00
Tim Heap
55a56416f5
Call Field.prepare_value from FieldBlocks
...
This is used by some form fields to convert from the internal Python
value to the value used by a widget, much like `Block.get_prep_value`
for blocks or `Field.get_prep_value` for model fields.
2017-06-26 23:21:13 +01:00
Matt Westcott
8a07ce57f4
Version bump to start work on Wagtail 1.12
2017-06-22 18:33:48 +01:00
Matt Westcott
3d9159c0b4
Release note for #3663
2017-06-19 16:57:05 +01:00
Mikalai Radchuk
5f651299df
oEmbed: Add support of Tumblr
2017-06-19 15:10:54 +01:00
Matt Westcott
0611a1b2cd
Release note for #3545
2017-06-19 15:08:24 +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
Matt Westcott
4bd8ebb85f
Add acknowledgement to Wharton for sponsoring private docs feature
2017-06-16 15:55:39 +01:00
Matt Westcott
4e5fff7e41
Release note for #3245 / #3644
2017-06-16 15:33:54 +01:00
Matt Westcott
b2fbd91864
Document the DOCUMENT_PASSWORD_REQUIRED_TEMPLATE setting
2017-06-16 14:50:48 +01:00
Matt Westcott
049b15f3fe
Define a 'before_serve_document' hook
2017-06-16 14:50:47 +01:00
Matt Westcott
980f979d90
Release note for #3492
2017-06-12 19:08:33 +01:00
LB
18cb0245fc
allow default for show_in_menus
2017-06-09 12:50:39 +01:00
Jeffrey Chau
0c9ad90edd
Fix document chooser template to account for hidden fields
2017-06-09 12:31:33 +01:00
Matt Westcott
ea8ab5de45
Document Elasticsearch 5.4 incompatibility with ATOMIC_REBUILD
2017-06-07 15:08:48 +01:00
Matt Westcott
b976db3afc
Pin isort to 4.2.5 - fixes #3623
2017-06-02 12:23:49 +01:00
Matt Westcott
927770eaab
Release note / docs for #3608
2017-06-02 10:58:34 +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
Matt Westcott
2f2bfa0159
Make tagging example not rely on an unmentioned 'blogs' method - fixes #3602
2017-05-30 20:39:30 +01:00
Mikalai Radchuk
9d64068082
Release notes for #3588
2017-05-23 20:55:43 +01:00
Matt Westcott
188a24e04c
Release note for #3603
2017-05-19 12:54:15 +01:00
Karl Hobley
415a6b2fbe
Changelog/release note for #3593
2017-05-18 09:56:10 +01:00
Matt Westcott
e96ee76c3d
Add release note for #3586
2017-05-17 16:35:50 +01:00
Thibaud Colas
7870067c2c
Update documentation referring to the explorer menu
2017-05-17 13:14:50 +01:00
Matheus Bratfisch
41c8bfced9
Add live_revisions fk on Page, tests, migrations, update template
2017-05-16 17:06:02 +01:00
Matt Westcott
1f8edc8984
Cache Site.get_site_root_paths
in the request scope ( #3354 )
2017-05-16 15:24:48 +01:00
iSar
411c117964
Fix typo in settings doc ( #3595 )
2017-05-15 09:12:16 +03:00
Thibaud Colas
b17d11af05
Release notes for #3012
2017-05-13 23:53:10 +03:00
Matt Westcott
d37838711b
fill in release date for 1.10
2017-05-03 12:56:55 +01:00
Matt Westcott
a3b048d403
Fix incorrect field panels in custom form example
...
Fixes #3571 . Thanks to @patta42 for the report!
2017-04-28 15:28:25 +01:00
Matt Westcott
6d31b9dc8e
Release note for #3252 backport to 1.9.x
2017-04-21 15:15:23 +01:00
Matt Westcott
b04b31dc90
Release note for #3252 backport to 1.8.x
2017-04-21 15:15:22 +01:00
Matt Westcott
a1ba54038f
Release note for #3277 backport to 1.8.x
2017-04-21 14:54:57 +01:00
Matt Westcott
7c5d1b2ddb
Release note for backported |safe filter fix ( 789872d84e
)
2017-04-21 14:43:34 +01:00
Matt Westcott
a515b7019e
Release note for backported |safe filter fix ( bbcbb5d
)
2017-04-21 14:42:59 +01:00
Matt Westcott
f99bc700b8
Doc placeholders for 1.8.2
2017-04-21 14:42:26 +01:00
Matt Westcott
c27855332e
Release note for 9e51c7a
2017-04-21 14:09:09 +01:00
Loic Teixeira
6e42a7755a
Allow default JS options to be overwritten for TableBlocks
2017-04-21 11:54:23 +01:00
Sebastian
49d706b406
Update docs - run python manage.py migrate once
...
We have to run python manage.py migrate once, in order to create the necessary tables for the postgres search backend.
Otherwise we get an error, as the insert in the table is not possible.
2017-04-21 09:16:44 +01:00
Matt Westcott
579d02246a
Release note for #3046
2017-04-20 16:58:05 +01:00
Matt Westcott
b6ee2db6ac
Create new release note sections for Wagtail 1.11
2017-04-20 16:52:28 +01:00
Matt Westcott
26eb481cf6
Update docs to mention Django 1.11 / Python 3.6 support
2017-04-20 10:57:22 +01:00
Matt Westcott
ae52fed0f9
scenarii -> scenarios
2017-04-20 10:52:25 +01:00
Bertrand Bordage
2b135a519c
Doc typos.
2017-04-19 18:38:17 +02:00
Bertrand Bordage
769413dd2d
Promotes new admin preview in release notes.
2017-04-19 18:37:54 +02:00
Matt Westcott
50ef80f7c1
Promote user language preference to a headline feature in release notes
2017-04-19 15:14:02 +01:00
Bertrand Bordage
29767b1f7a
Fixes typos from #3310 release notes.
2017-04-19 15:51:50 +02:00
Janneke Janssen
c1a751e6c0
Fix reorder past a deleted item
2017-04-19 14:42:11 +01:00
Bertrand Bordage
c965212003
Updates release notes for #3310 .
2017-04-19 15:16:54 +02:00
Bertrand Bordage
b866e5b934
Adds some missing versionadded in settings docs.
2017-04-19 15:13:02 +02:00
Bertrand Bordage
1a82c19191
Adds documentation for WAGTAILADMIN_PERMITTED_LANGUAGES.
2017-04-19 15:09:58 +02:00
Matt Westcott
88136dab73
Further typos for #3310 .
2017-04-19 14:54:36 +02: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
Michael van Tellingen
911009473b
Update release notes for sitemap update
2017-04-19 13:40:43 +02:00
Michael van Tellingen
7ad348ffa7
Minor documentation update for sitemaps
2017-04-19 13:40:43 +02:00
Michael van Tellingen
c6c2868c58
Update documentation related to the sitemaps
...
Since we now use regular Django sitemaps we can mostly just refer to the
Django documentation
Co-authored with @mikedingjan
2017-04-19 13:40:43 +02:00
Karl Hobley
ef1cd3d51a
Changelog/release note for auto update preview
2017-04-12 17:09:05 +01:00
Bertrand Bordage
511c158b18
New admin preview ( #3383 )
...
* Rewrites the page preview to make it reliable.
* Updates preview tests.
* Fixes View import on Django 1.8 & 1.9.
* Starts sending preview auto-update data only after clicking on preview.
* Changes the preview session key prefix.
2017-04-12 16:35:38 +01:00
Karl Hobley
0d1c277e85
Added versionadded tag to postgres search doc
2017-04-12 16:30:45 +01:00
Karl Hobley
554ce992da
Changelog/release note for postgres search engine
2017-04-12 16:30:25 +01:00
Bertrand Bordage
e62d67bd73
Adds PostgreSQL search backend. ( #3515 )
...
* Adds PostgreSQL search backend.
* Isort nitpicks.
* Fixes PostgreSQL versions incompatibilities.
* Uses Django lru_cache instead of building our own.
* Fixes PostgreSQL search index on some empty vector & query cases.
* Never sets the PostgreSQL search vector to NULL.
* Simplification + removes caching on two fast enough functions.
* Rewrites stale entries deletion to use the ORM.
2017-04-12 16:16:16 +01:00
Bertrand Bordage
c3ca99cd3c
Adds upgrade notes for #3528 .
2017-04-12 11:54:44 +02:00
Matt Westcott
3cf7006a86
Release note for #3252
2017-04-10 21:55:13 +01:00
Andreas Nüßlein
bfd4a2ef4b
Adding the Meta attribute group
to Blocks.
...
The idea is that Streamfield-Blocks can be grouped in the CMS
by setting Meta's `group` attribute.
This gives a better overview, particularly with many blocks.
If the attribute remains unset, nothing changes.
2017-04-10 20:27:32 +01:00
Matt Westcott
922260833b
Release note for #3423
2017-04-10 19:18:37 +01:00
Bertrand Bordage
985ac8d1c4
Update 1.10.rst
2017-04-08 21:10:30 +02:00
Bertrand Bordage
ce251fbd96
Update 1.10.rst
2017-04-08 14:37:44 +02:00
Bertrand Bordage
8cf37bc877
Merge pull request #3460 from rosco77/patch-1
...
[Docs] Removes common prefix from i18n_patterns.
2017-04-08 01:53:18 +02:00
Matt Westcott
fb82650943
Release note for Django 1.11 compatibility - fixes #3314
2017-04-07 16:52:31 +01:00
Bertrand Bordage
8ed083fc36
Updates 1.10.rst.
2017-04-06 20:10:10 +02:00
Bertrand Bordage
d36fe2b253
Merge pull request #3462 from kaedroho/feature/images-in-api-simple
...
Allow custom field classes to be used in api_fields
2017-04-06 19:41:29 +02:00
Karl Hobley
fd9db9335a
Docs edits
2017-04-06 15:27:34 +01:00
Karl Hobley
7e160edad6
Docs
2017-04-06 15:17:57 +01:00
Matt Westcott
e62663e2b3
update modelcluster/taggit in doc dependencies
2017-04-05 22:08:38 +01:00
Matt Westcott
6d553ab396
Document that 'format' on Date(Time)Block must be one of the recognised DATE(TIME)_INPUT_FORMATS
2017-03-31 16:46:00 +01:00
Bojan Mihelac
0f53afc5a6
Adds support for custom date and datetime formats ( #2595 )
...
It is possible to set default format for date/datetime inputs. This works together
with standard django localization.
# django settings
USE_I18N = True
LANGUAGE_CODE = 'sl'
# wagtail settings
WAGTAIL_DATE_FORMAT = '%d.%m.%Y.'
WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M'
DateBlock, DateTimeBlock accepts additional keyword argument `format`.
2017-03-31 16:30:27 +01:00
Nick Smith
48949e69a7
Add to StreamField migrations documentation
...
- Add example code for migrating draft pages and page revisions
2017-03-30 21:37:12 +01:00
Matt Westcott
72a1b82e3e
Release note for #3068
2017-03-30 17:38:44 +01:00
Andreas Nüßlein
421eb9ef8a
a few too many quote's
...
pk = quote(getattr(obj, self.opts.pk.attname))
self.url_helper.get_action_url('edit', quote(pk)) # < this was a little unneccessary, double function calls in multiple locations
2017-03-30 17:06:01 +01:00
Karl Hobley
babe8a0c09
Fix annotate_score followed by slice ( #3518 )
...
This fixes the bug reported by @nimasmi in
https://github.com/wagtail/wagtail/issues/3431#issuecomment-288051751
Slicing creates a new SearchResults object but the ``score_field`` (set
by ``.annotate_score()`` wasn't being passed along to the new
SearchResults causing the score to not be annotated.
2017-03-30 14:24:17 +01:00
Matt Westcott
cc52c1b1ca
Revert "Fixes ticket #2251 . Implemented is_multipart on EditHandler and created tests." ( #3519 )
...
See https://github.com/wagtail/wagtail/pull/3501#issuecomment-290380892 - this change wrongly assumes that edit handlers will always be used with a ClusterForm, and a fix isn't required here anyway because it was fixed separately as https://github.com/wagtail/django-modelcluster/pull/73 .
This reverts commit a6bb67f75d
.
2017-03-30 14:16:46 +01:00
Thijs Kramer
6a87e90171
Adjust the filter button height to match the height of the input fields next to it
2017-03-28 19:54:46 +02:00
Andy Babic
37bbbb9dba
Improved code separation in contrib.modeladmin
( #3467 )
...
* Split `helpers.py` into separate `url.py`, `permission.py` and `button.py`, dedicated to those separate concerns and update the docs accordingly
* Move `ThumbnailMixin` out to `mixins.py` and update documentation accordingly
* Ad #NOQA to import lines to hush pep errors
* Alphabetise helper import order
* - Delete `helpers/helpers.py`
- wagtal -> wagtail in docs
2017-03-28 10:34:03 +01:00
Mikalai Radchuk
35a1af2b3b
Release notes for #3482
2017-03-27 20:28:45 +03:00
Janneke Janssen
4ab57ddd1f
Fixes invalid focal_point for hiding the marker if no focal point is applicable
2017-03-26 13:30:56 +02:00
maartenkling
270ac669a8
Added remove focalpoint button
2017-03-26 13:27:35 +02:00
Kees Hink
a2b9c2bfe4
Document pep8 issues to ignore ( #3503 )
...
* Docs: E501 is not the only PEP8 violation we accept.
* Add the list of PEP8 violations we accept to tox.ini
2017-03-25 15:10:12 +01:00
Wietze Helmantel
a6bb67f75d
Fixes ticket #2251 . Implemented is_multipart on EditHandler and created tests.
2017-03-25 13:20:24 +01:00
Christine Ho
78a2e8ae96
Display a comma separated string for fields returning content as lists
2017-03-24 14:30:01 +01:00
Rob Moorman
d5d23b01a5
Fix missing target for django-bakery docs
2017-03-24 14:27:59 +01:00
Ralph Jacobs
87a7a798c9
Change scroll factor to make it more userfriendly
2017-03-24 14:01:17 +01:00
Kees Hink
6961f33078
Restrict view_draft to can_publish / can_edit permissions ( #3474 )
2017-03-24 11:54:10 +01:00
Janneke Janssen
20e8aabdf9
Release notes for #3291 / #3481
2017-03-24 11:52:38 +01:00
Matt Westcott
b229953c0f
Release note for #3439 / #3495
2017-03-24 11:41:45 +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
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
Christine Ho
67ff4c26df
Add Page type to PageChooser button label
2017-03-23 17:40:27 +01:00
Alex Gleason
bbdbf3fd81
Allow spaces in tag fields
2017-03-23 17:19:47 +01:00
Matt Westcott
eb9cc639d2
Link to the full Elasticsearch setup docs from the Performance page
2017-03-23 15:51:11 +01:00
Matt Westcott
00c6a5f220
Don't set is_staff flag on users
...
Wagtail doesn't routinely require access to Django admin, so it makes sense for Wagtail to not enforce an opinion on who does or doesn't get access.
Fixes #970 and #2777
2017-03-23 15:39:51 +01:00