Andy Babic
f1c7b002d8
changelog and release note updates for #5147
2019-04-10 21:29:41 +01:00
Matt Westcott
a304f0f9f8
Remove support for Python 3.4
2019-04-10 17:39:53 +01:00
Matt Westcott
de1a674b0b
Add 2.6 section to changelog and release notes
2019-04-10 17:39:11 +01:00
nmorduch
1760682db1
Typo fix in release notes
2019-04-10 11:19:54 -04:00
nmorduch
eb5a1766d3
Release notes for #5210
2019-04-10 11:19:38 -04:00
nmorduch
5d57d591fe
Change suggested location of venv folder in installation tutorial
...
- Group venv creation and activation by shell, because Windows uses backslashes
- Note that the env folder should be excluded from version control
- Account for the need to specify the directory for `wagtail start` when the directory already exists
- Move the `cd mysite` line to the project dependency instruction, because that's the first time it's really needs
-
2019-04-10 10:22:52 -04:00
nmorduch
4c849e4562
Small text changes in documentation
...
Make explanations of project template more accurate and consistent
2019-04-10 10:22:40 -04:00
nmorduch
696c7d5b45
Break lines in the installation instructions semantically
...
In the interest of better diffs:
Instead of breaking by line length, break by sentence. Break lists by item in the list and put some long urls on their own lines.
2019-04-10 10:20:35 -04:00
nmorduch
aab0393c3f
Update and clarify installation instructions
...
- Always clarify that the instructions assume a virtual environment
- Add to the tutorial instructions for using venv
- Clarify that Python 3 is required
- Clarify that the tutorial is an alternative to "Getting started" that
assumes less background knowledge
- Remove pip installation instructions because Django only supports
versions of Python that include it
- Make headings in the tutorial instead of an ordered list
This makes the page easier to scan visually and allows linking to
specific headings.
- Add the warning about Pillow dependencies to the tutorial
- In "Getting started" move Pillow's dependencies to the general
dependencies list
- Make language more welcoming (saying "we just do x" alienates people
who have less familiarity with x")
- Other small text changes
2019-04-10 10:20:24 -04:00
Matt Westcott
d5bc3c92d2
Fetch new translations and update config for Chinese ( #3668 )
...
* Fetch new translations from Transifex, update contributors, add new languages with >90% coverage to WAGTAILADMIN_PROVIDED_LANGUAGES
* Update transifex config to download Chinese (Simplified) and Chinese (Traditional) translations as zh_Hans and zh_Hant respectively
* Fix get-translator-credits.py to recognise 'tet' as the locale string for Tetum (which Babel doesn't)
2019-04-08 22:27:18 +01:00
DanAtShenTech
f4ada7cad5
Fix typo. Small grammar changes.
2019-04-08 17:32:54 +01:00
Matt Westcott
12f7ee2f1a
Deprecation note for #5184
2019-04-08 16:35:58 +01:00
Andy Chosak
d7bad06fe8
Add documentation of rewrite handlers
2019-04-08 14:31:55 +01:00
Matt Westcott
57b72a8e53
Add consistent whitespace around sortable table headings ( #5190 )
...
Labels for sortable headings need whitespace around them in order for the arrow to be correctly positioned. In addition, some headings had the label outside of the sort link - this is now fixed too.
2019-04-04 11:57:24 +01:00
Md. Arifin Ibne Matin
2b2c71a4d9
Support additional custom handler for links in Rich text editor. ( #5159 )
2019-04-03 20:50:39 +01:00
DanAtShenTech
f4d3025022
Wording fixes to column/row header descriptions
...
Also small grammar updates.
2019-04-03 20:22:29 +01:00
DanAtShenTech
f4ca13a9b3
Small wording changes
2019-04-03 10:09:12 +01:00
Matt Westcott
f16965442e
2.1 -> 2.2
2019-04-01 20:28:34 +01:00
Matt Westcott
a3283dd7fb
Formalise support for Django 2.2
2019-04-01 19:59:04 +01:00
Thibaud Colas
c447f75bd4
Make the page reordering UI easier to find ( #5187 )
...
* Update icon-order icon glyph
* Implement new UI for child ordering toggle
* Update documentation for page reordering
2019-03-29 14:38:05 +00:00
Jonny Scholes
4d004ce808
Add filter string character check to jinja2 image template tag
2019-03-29 12:15:17 +00:00
Matt Westcott
a2ba2a7a8a
Release note for #5157
2019-03-29 11:58:22 +00:00
LB Johnston
46c024ba06
add name attribute to all derived classes of ActionMenuItem
2019-03-29 11:48:15 +00:00
Kalob Taulien
062ff73665
Add documentation for the ajax_template attribute
2019-03-29 11:25:01 +00:00
Haydn Greatnews
fa5c69ee00
Call specific on parent page and breadcrumbs in page chooser
...
There was a small bug in the page chooser, where it would display
`page.title` instead of `get_admin_display_title` when loaded on with a
specified parent. This was because the page chooser was falling back to
Page.get_admin_display_title instead of the specific kind
2019-03-29 11:21:06 +00:00
Matt Westcott
3134ffa119
Recommend npm install --no-save
when setting up node toolchain ( #5161 )
...
Running `npm install` without `--no-save` can introduce spurious changes to package-lock.json due to differences in platform / node version, and these have been known to accidentally sneak into people's PRs. `npm install` without `--no-save` should only be used when actively updating node dependencies in package.json.
2019-03-21 20:41:14 +00:00
Thibaud Colas
f987fa91c9
Upgrade Draftail to v1.2.1. Fix #4985 , adds more Markdown shortcuts ( #5117 )
...
This includes:
- [v1.0.0](https://github.com/springload/draftail/releases/tag/v1.0.0 ) (identical to v0.17.2)
- [v1.1.0](https://github.com/springload/draftail/releases/tag/v1.1.0 ) (contains fix for #4985 )
- [v1.2.0](https://github.com/springload/draftail/releases/tag/v1.2.0 )
- [v1.2.1](https://github.com/springload/draftail/releases/tag/v1.2.1 ) (fixes regression in v1.2.0)
Here is the combined CHANGELOG for what's relevant to Wagtail:
Bug fixes
~~~~~~~~~
- #4985 – Prevent crash when filtering pasted content whose last block is to be removed (e.g. unsupported image) ([#179 ](https://github.com/springload/draftail/issues/179 )).
- Stop unnecessarily calling `onSave` in the editor’s `onBlur` ([#173 ](https://github.com/springload/draftail/issues/173 )).
- Prevent crash in `DraftUtils.getEntitySelection`, when the provided entity key isn't valid (undefined, missing) ([#168 ](https://github.com/springload/draftail/pull/168 )).
- Fix entity removal and editing not doing anything when the selection is backwards (right to left) ([#168 ](https://github.com/springload/draftail/pull/168 )).
- Prevent the editor from crashing when copy-paste filtering removes all of its content (https://github.com/thibaudcolas/draftjs-filters/commit/652750f )
New features
~~~~~~~~~~~~
- Add support for Markdown shortcuts for inline styles, e.g. `**` for bold, `_` for italic, etc ([#134 ](https://github.com/springload/draftail/issues/134 ), [#187 ](https://github.com/springload/draftail/pull/187 )). View the full list of [keyboard shortcuts](https://www.draftail.org/docs/keyboard-shortcuts ).
New APIs
~~~~~~~~
- Add [`onFocus`](https://www.draftail.org/docs/api#managing-focus ) and [`onBlur`](https://www.draftail.org/docs/api#managing-focus ) props to use callbacks on those events. This can be useful for [form validation](https://www.draftail.org/docs/next/form-validation ). [#170 ](https://github.com/springload/draftail/issues/170 ), [#174 ](https://github.com/springload/draftail/pull/174 ), thanks to [@TheSpicyMeatball](https://github.com/TheSpicyMeatball ).
- Add [`plugins`](https://www.draftail.org/docs/plugins ) API to support extensions of the editor using the [draft-js-plugins](https://github.com/draft-js-plugins/draft-js-plugins ) architecture ([#83 ](https://github.com/springload/draftail/issues/83 ), [#171 ](https://github.com/springload/draftail/pull/171 )).
- Add ability to disable or customise the editor toolbar with [`topToolbar`](https://www.draftail.org/docs/customising-toolbars ).
- Add ability to add a toolbar below the editor with [`bottomToolbar`](https://www.draftail.org/docs/customising-toolbars ).
- Add data reset parameter to `DraftUtils.resetBlockWithType()`.
- Enable list continuation on Enter for custom `*-list-item` blocks. All that’s required is for the block type to end with `-list-item`.
None of those API additions will be usable within Wagtail (at least without hacks) until corresponding rich text features APIs are built to allow their configuration. The last 2 additions would already be usable but they would only be useful when leveraging the other APIs.
2019-03-21 20:29:26 +00:00
kevinhowbrook
1079b7f021
Improve the snippet UI by offering 'Don't delete' actions to the edit form
2019-03-21 13:09:17 +00:00
Matt Westcott
ab986f53ee
Revert "Add more readable focus state for buttons"
...
This reverts commit 768cb2a32f
.
2019-03-19 16:40:02 +00:00
Chris Adams
768cb2a32f
Add more readable focus state for buttons
2019-03-19 17:36:05 +10:00
Tom Usher
0f8a55a6ce
Pass validators to FieldBlocks ( #5148 )
2019-03-15 18:42:08 +01:00
Wesley van Lee
c831d434ab
Added an option to the page model to be able to define the amount of subpages underneath a specific parent page
2019-03-15 18:14:05 +01:00
kevinhowbrook
339b6752af
Fix AttributeError on Cloudflare cache invalidation ( #5150 )
2019-03-15 15:40:16 +01:00
kevinhowbrook
7d583a52b9
When two date fields are in the same form, chrome ignores multiple autocomplete=off values. ( #5136 )
2019-03-15 10:58:17 +01:00
Matt Westcott
3c44037b2f
Fix warnings on building documentation ( #5145 )
...
* Fix "Duplicate explicit target name" warnings on extending_draftail.rst
ref: https://github.com/sphinx-doc/sphinx/issues/3921
* Fix 'Unknown target name' warning on third_party_tutorials.rst
* Add docstrings to Page.get_ancestors, get_descendants and get_siblings
Documents the `inclusive` flag and avoids the "Field list ends without a blank line; unexpected unindent" warning when building docs
2019-03-15 02:03:56 +01:00
Md. Arifin Ibne Matin
edfd9afc1d
Add more built-in rich text formats ( #5141 )
2019-03-15 01:39:18 +01:00
Wesley van Lee
a700e1352c
Preserve non breaking white spaces in rich text processing. Fix #4996 ( #5142 )
...
Prevent the initial loading of the rich-text field to replace non-breaking white spaces with normal spaces
2019-03-14 17:31:10 +01:00
Matt Westcott
3e1e67021e
Add release note for #5138 to 2.5 docs
2019-03-14 14:43:28 +01:00
Damian
ef7bd7989e
add form media to user add/edit forms ( #5146 )
2019-03-14 14:42:26 +01:00
Matt Westcott
23a89774ad
Deprecation note for #5128
2019-03-14 12:11:16 +01:00
Andy Babic
b2eee20e1b
Move reversing_urls.rst into a subdirectory with it's own index, and include that index in the modeladmin docs' main toctree
2019-03-14 09:48:02 +01:00
Esperk
9f2e4033ea
Abort unfinished ajax before firing new ajax call. Fix #4594 ( #5137 )
...
To prevent showing old results always cancel unfinished query requests before firing a new one
2019-03-13 15:44:12 +01:00
Arthur Holzner
6f6f9b8e46
Added fallback to pageurl ( #4603 )
2019-03-13 12:17:13 +01:00
Thijs Kramer
fdbd7ca2d3
only append model type to button when there is one target model ( #5094 )
2019-03-13 11:35:40 +01:00
Andy Babic
77a8e3b7c0
Do not allow copies of pages that exceed their models' max_count
...
Update PagePermissionTester.can_move_to() to call on the page class's 'can_create_at()' method, and respond accordingly
Add a SingletonPageViaMaxCount to the test.json fixture for use in page permission tests
Add some tests for PagePermissionTester.can_copy_to()
Create a SingletonPageViaMaxCount in setUp() instead of adding to the fixture
2019-03-13 07:57:25 +10:00
LB Johnston
fc21729a24
add docs with instructions on how to generate urls for modeladmin
2019-03-13 07:41:34 +10:00
Mani
87bbc31d88
Add a setting to apply limit on number of tags that can be added to any tagged model.
2019-03-10 20:48:33 +10:00
Matt Westcott
3fe442ff4d
Add Learn Wagtail to third-party tutorials
2019-03-10 15:57:52 +10:00
Tiago Requeijo
4f5b117250
Fix for emails missing the HTML messages.
2019-03-10 15:38:19 +10:00
kevinhowbrook
1248279114
Specify a larger length as the default of 200 isn't always enough ( #5114 )
2019-03-07 11:18:40 +00:00
Thomas Kremmel
4e8f197a9d
allow panels & edit_handler to be defined on ModelAdmin ( #4900 )
2019-03-06 12:26:20 +00:00
Matt Westcott
53cea8bc04
Release note for #4653
2019-03-06 11:24:44 +00:00
Loic Teixeira
9da3a3d975
Update documentation
2019-03-06 11:00:30 +00:00
Evan Winter
5a34090b4b
Fix typo in api/v2/usage.rst
...
first_publised_at --> first_published_at
2019-03-06 01:19:07 +00:00
Asanka Lihiniyagoda
74218a7e43
Set data-focal-point-* values to be '' instead of 'None' when they are empty.
2019-03-03 10:06:16 +10:00
Matt Westcott
8b7efc0b16
Output current language code in HTML header ( #5091 )
...
Fixes #5051
2019-03-01 11:37:44 +00:00
Matt Westcott
61e1e4c2f9
Add 'wagtail_update_index' as an alias for the 'update_index' command ( #5009 )
...
Fixes #2447
2019-03-01 11:01:41 +00:00
LB Johnston
fa2a0c2d02
add ability for page.copy to copy ParentalManyToMany field relations
2019-03-01 07:11:28 +10:00
Sergey Fedoseev
233bb17789
Add missing collection column in wagtaildocs/documents/list.html ( #5110 )
2019-02-27 19:28:40 +00:00
Sergey Fedoseev
c2a83b92da
Fix typo in docs/topics/images.rst
2019-02-27 19:25:06 +00:00
Gassan Gousseinov
d37ce9f699
routablepageurl returns urls only for default site on multisite installation ( #5102 )
2019-02-27 19:21:26 +00:00
Matt Westcott
34d7efe4e3
Add note to clarify that construct_homepage_panels should modify the ist in place
2019-02-27 14:56:40 +00:00
Neil Lyons
f10c5cab58
Update docs for construct_homepage_panels hook ( #5109 )
...
`construct_homepage_panels` hook doesn't need a return statement.
[Looking at the code](https://github.com/wagtail/wagtail/blob/master/wagtail/admin/views/home.py#L101-L102 ), the user doesn't need to return a list, they need to mutate the list passed in.
2019-02-27 14:50:01 +00:00
Evan Winter
a4c3ccc464
Fix typo in docs ( #5103 )
2019-02-26 21:46:23 +00:00
Karl Hobley
04861bc37d
Release note / contributor for #5097
2019-02-23 14:15:07 +00:00
tomedelliott
f5654981c8
Add limit image upload size by number of pixels ( #5097 )
...
* Add test for Image pixel size
* add pixel size check and update test to match
using djangos get_image_dimensions this maybe a internal function
but the commit adding it is over 9 years old
* Update docs and CHANGELOG
* fix typos
2019-02-23 14:13:00 +00:00
DanAtShenTech
e6e9fd09e2
Highlight "create" and "edit" forms ( #5081 )
2019-02-19 10:53:29 +00:00
Matt Collins
37a472834a
Update legacy wagtail.wagtailadmin paths ( #5090 )
...
Update legacy wagtail.wagtailadmin paths to wagtail.admin
2019-02-19 10:49:15 +00:00
Matt Westcott
087434f348
Update links to Draftail documentation
2019-02-14 23:24:30 +01:00
DanAtShenTech
f21e75e95d
Fix typo (missing plural)
2019-02-14 23:18:48 +01:00
DanAtShenTech
966ad8658d
Properly designate last_name field
2019-02-14 12:05:26 +00:00
DanAtShenTech
56f29a0825
Clarify explanation of ParentalKey within InlinePanel ( #5070 )
...
Make it clear that the relationship to relate a cluster of objects to a page is called ParentalKey.
2019-02-13 16:32:22 +00:00
Vladimir Knobel
a0d6dbb5f4
Update primer.rst ( #5068 )
...
path to overriding template doesn't match model name
2019-02-13 15:16:44 +00:00
Matt Westcott
4a5036839b
Respect CSS precedence rules in HTMLRuleset ( #4926 )
...
Fixes #4527
2019-02-13 14:50:20 +00:00
DanAtShenTech
dbb7ec77b3
Fix index_view_class in primer.rst
...
Fix the "index_view_class=" reference. Small grammar fixes.
2019-02-08 17:32:57 +00:00
DanAtShenTech
f1e3e2e379
Update primer.rst ( #5061 )
...
Small wording clarifications.
2019-02-08 17:26:26 +00:00
pvetch
731b8fc9b4
Update third_party_tutorials.rst ( #5057 )
...
This content seemed moribund so have added some newer material and checked that the original links still work. There are probably lots of other newer examples that could be added (it might be worth weeding out some of the older content at this point too).
2019-02-08 17:06:01 +00:00
DanAtShenTech
c9be245b0f
Update primer.rst ( #5062 )
...
Small grammar fixes
2019-02-08 17:02:30 +00:00
Thibaud Colas
96ec1e0e4e
Preserve links when copy-pasting rich text content from Wagtail to other tools ( #5054 )
2019-02-07 00:01:03 +02:00
Brady
e77338f1a3
Highlight broken links to pages and documents in rich text. Fix #4802 ( #4813 )
2019-02-02 17:04:01 +00:00
ed@sharpertool.com
f39f018ebf
Update hooks.rst ( #5044 )
...
Document and Image fields changed from `uploaded_by` to `uploaded_by_user`
2019-01-31 12:22:25 +00:00
David Beitey
f881420a98
Add MEDIA_* settings to Django integration page ( #5046 )
...
This change adds the required MEDIA_URL/MEDIA_ROOT settings to this documentation page, so the page outlines they are required and gives an example if they're not already configured.
2019-01-31 12:19:42 +00:00
Karl Hobley
6e2b8c28d0
Diffing streamfieds
2019-01-30 09:52:03 -05:00
Karl Hobley
50e72dc58b
Allow disabling search auto-update on a per-model basis ( #4946 )
2019-01-29 17:06:41 +00:00
Asanka Lihiniyagoda
8c4b3fe669
'Parent' link in page chooser search should not navigate away ( #5011 )
2019-01-29 16:36:34 +00:00
Bertrand Bordage
437f641977
Release notes for #4994 .
2019-01-26 16:39:45 +01:00
Matthew Linares
a0b4efd414
Recipe: automatic redirect creation on url edit ( #5002 )
2019-01-24 14:06:44 +00:00
aidarbek
6890f8ef76
Removing confirmation of publishing from documentation ( #5006 )
2019-01-24 12:18:47 +00:00
frmdstryr
5fcaa64d81
Avoid a pop from an empty list in HTMLToContentStateHandler ( #5004 )
2019-01-24 12:09:33 +00:00
Coen van der Kamp
a26a3309ee
Add Wagtail Space Arnhem banner to documentation
2019-01-24 11:28:56 +00:00
Sergey Fedoseev
057690815b
Made HTTP_HOST of page dummy request include port. ( #4954 )
2019-01-17 12:34:04 +00:00
Matt Westcott
dc2f487391
Release / deprecation note for #4749
2019-01-11 15:22:37 +00:00
Mukesh
fa5deb6b44
More informative error for invalid values passed to |richtext
( #4971 )
...
Fixes #4958
2019-01-10 12:35:12 +00:00
Matt Westcott
d731ea6c9f
Add missing null=True and imports to modeladmin example code
2019-01-10 10:59:05 +00:00
Matt Westcott
8afbc6c3ec
Document extended LTS date of Wagtail 1.13
2018-12-19 15:13:39 +00:00
Matt Westcott
9b24ca989f
Fill in release date for 2.4
2018-12-19 15:13:28 +00:00
Matt Westcott
4997d1e922
Revert release note for #4916
2018-12-19 12:27:28 +00:00
Matt Westcott
a11f7ee015
Exclude the error messages from the count of inline panel elements ( #4957 )
...
Ref #4304 ; explicitly identify and count inline-panel-child elements as per https://github.com/wagtail/wagtail/pull/4304#discussion_r169149310
2018-12-17 17:15:40 +00:00
Sergey Fedoseev
5f7b7230a2
Fix SERVER_PORT for Page.dummy_request() when page is attached to Site with 443 port. ( #4950 )
2018-12-11 12:39:20 +00:00
Matt Westcott
056096c2de
Remove old versionchanged note
2018-12-07 11:59:55 +00:00
Matt Westcott
26de8edf79
Add release note stubs for 2.5
2018-12-07 11:59:55 +00:00
Matt Westcott
9db37023c4
Mark 2.4 as still in development
2018-12-06 16:54:02 +00:00
Karl Hobley
4abfbf89a0
Hide "delete snippets" button when no snippets selected
2018-11-30 16:57:47 +00:00
Dan Braghis
12ac86217a
Fix #4785 Wagtail Sitemaps does not allow for Django Sitemap instances
2018-11-30 16:35:52 +00:00
Alex Gleason
e5f9c122ab
Use better examples in ModelAdmin docs, add info about FieldPanels
2018-11-30 13:11:53 +00:00
Matt Westcott
44c905bf69
Release note for #4884
2018-11-30 12:11:14 +00:00
Matt Westcott
b81e5c6b85
avoid referring to an internal function name in hook docs
2018-11-30 11:29:21 +00:00
Matt Westcott
23c02ecfa1
Release note for #4924
2018-11-30 11:27:35 +00:00
Maylon Pedroso
f34bda64ea
Add hooks for page move actions
2018-11-30 10:50:42 +00:00
Thibaud Colas
a3dc9ed477
Bump draftjs_exporter version to fix entities export bug
...
This bumps the `draftjs_exporter` dependency requirement of Wagtail to [v2.1.5](https://github.com/springload/draftjs_exporter/blob/master/CHANGELOG.md#v215 ), which fixes an export bug when entities (say, links) are adjacent in the content.
See https://github.com/springload/draftjs_exporter/issues/106 .
2018-11-29 17:37:48 +00:00
Matt Westcott
30f6a590b4
Documentation on rich text internals ( #4927 )
2018-11-29 16:36:09 +00:00
Matt Westcott
ef3efdd185
Release note for #4917
2018-11-27 15:52:23 +00:00
Matt Westcott
76c7ef7262
Release note for #4916
2018-11-27 15:47:29 +00:00
Karl Hobley
cc25168917
Changelog/release notes for #4845 and #4781
2018-11-22 11:26:26 +00:00
Matt Westcott
cb8148ede2
Support media definitions on action menu items
2018-11-22 11:17:25 +00:00
Matt Westcott
b48566e735
Move action menu components to a new wagtail.admin.action_menu module
2018-11-22 11:16:59 +00:00
Matt Westcott
2a477c8e79
Add construct_page_action_menu hook
2018-11-22 11:14:01 +00:00
Matt Westcott
6adf7c8423
Add register_page_action_menu_item hook
2018-11-22 11:14:01 +00:00
Karl Hobley
87da49bbb1
Changelogs/release notes for #4894 , #4827 , and #4907
2018-11-21 23:08:36 +00:00
Matt Westcott
0ae5fe73c5
Documentation fixes don't go in the changelog (there are too many of them...)
2018-11-16 17:14:36 +00:00
Andy Chosak
17fc5cc913
add slovak character map for js slug generation
...
Porting of Django PR #9325 , which fixes Django ticket #28768 . These
changes were made in Django 2.1.
This adds support for certain Slovak characters when auto-generating
slugs for new pages. This logic is only triggered if
settings.WAGTAIL_ALLOW_UNICODE_SLUGS is set to False; see
http://docs.wagtail.io/en/v2.1.1/advanced_topics/settings.html#unicode-page-slugs
To test, create a new page and enter a title like "Vŕba". The
page's slug field will be automatically set to "vrba". In the
previous behavior, this would instead be automatically set to "vba".
https://github.com/django/django/pull/9325
https://code.djangoproject.com/ticket/28768
2018-11-16 17:13:37 +00:00
Sergey Fedoseev
e8c88d44af
Fixed reference to LoginView in docs. ( #4901 )
2018-11-15 11:13:00 +00:00
Alex Gleason
08ea980410
Fix missing comma in Draftail docs code
2018-11-14 17:11:49 -05:00
Sergey Fedoseev
47465197a9
Use intersphinx for Django references when possible. ( #4896 )
2018-11-14 11:48:32 +00:00
Matt Westcott
d2b02dff00
Update welcome page screenshot (ref #4892 )
2018-11-13 11:39:12 +00:00
Janneke Janssen
b07b7a6e2a
Revamp the image editing page ( #4087 )
...
Removed commented out code in _forms.scss
2018-11-08 23:56:54 -05:00
Janneke Janssen
487f1f47b8
Define proper breakpoint definitions rather then typing @media ( #4860 )
2018-11-04 23:46:42 +02:00
Meteor0id
1efad238e1
Allow nav menu to take up all available space instead of scrolling ( #4746 )
2018-11-02 00:57:55 +02:00
Hillary Jeffrey
8fd54fd71c
Catch redirects that omit a destination link or point to a page with no routable URL ( #4836 )
...
Fixes #4815
2018-10-31 19:21:07 +00:00
Noah B Johnson
0dacda9133
Added handling for null last login on user list page
2018-10-31 17:46:23 +01:00
Karl Hobley
9a523dbf2e
Add file_hash field to Document
2018-10-31 15:13:53 +00:00
Seb
aa2a973382
Ordr collection listings by name ( #4874 )
2018-10-31 11:29:49 +00:00
Sergey Fedoseev
8f8faf3c60
Fixed some formatting in 'Customising IndexView' doc. ( #4877 )
...
* Fixed some formatting in 'Customising IndexView' doc.
* Make coverage omit docs/conf.py.
2018-10-30 12:29:11 +00:00
Sergey Fedoseev
29c8ad6637
Fix reference in ModelAdmin.ordering docs.
2018-10-30 12:23:17 +00:00
Benjamin Bach
5b0f2e1a54
First positional argument for tox as test module/case path
2018-10-30 12:16:45 +00:00
Mikalai Radchuk
a0a58d8396
Adds release notes for #4850
2018-10-28 17:28:53 +03:00
FedorSelitsky
6d79169dad
Add PyPI trove classifiers for Wagtail
2018-10-28 16:43:42 +03:00
Mikalai Radchuk
41321158a5
Adds credits to the release notes
2018-10-28 16:23:40 +03:00
Mikalai Radchuk
604bc6c4c7
Adds release notes for #4856
2018-10-28 16:21:46 +03:00
Yannick Chabbert
515aa61943
Add template tag for dynamic image url
...
Update documentation
Co-Authored-By: zerolab <dan@zerolab.org>
2018-10-28 16:21:46 +03:00
Meteor0id
49b280ab0a
Allow custom logos of any height in the admin menu ( #4747 )
2018-10-28 15:48:04 +03:00
Mikalai Radchuk
bfc41752e3
Adds release notes for #4859
2018-10-28 11:57:06 +03:00
Scott Cranfill
f1148e7f76
Address more feedback on new welcome page
2018-10-27 19:10:31 +03:00
Allen, Timothy
01ac14c139
Take the Django 'It Worked' page as a starting point for a Wagtail intro page.
2018-10-27 19:10:31 +03:00
Dzianis Sheka
70a9a5faf7
Fix help text positioning to avoid text cutting with narrow field ( #4855 , #3522 )
2018-10-27 18:43:46 +03:00
Matt Westcott
cea4cbc836
Release note for #4854
2018-10-27 16:44:14 +03:00
Matt Westcott
aaa0953d05
Document the Dockerfile in the project template ( #4853 )
2018-10-27 15:18:25 +02:00
Matt Westcott
66a428f741
Release note for #4840
2018-10-27 15:58:13 +03:00
Dan Braghis
3b1dc5be86
Add Page max_count
2018-10-27 15:13:16 +03:00
Anselm Bradford
303ee0f95b
Add rel="noopener noreferrer"
to target blank links
2018-10-27 12:46:49 +03:00
Brady Moe
95333ba8ec
returns content_types as a list instead of dict_values
2018-10-27 12:34:29 +03:00
Dan Braghis
3bb6984132
Clarify virtualenv steps for easier getting started
...
Reference: https://github.com/wagtail/wagtail/issues/4690#issuecomment-431240164
2018-10-27 11:49:12 +03:00
Matt Westcott
183b626dc3
Eliminate {% load staticfiles %}
and {% load admin_static %}
...
These are removed in Django 3.0 in favour of `{% load static %}`
2018-10-27 09:40:42 +02:00
Benjamin Bach
a671f19298
Use current year for the copyright notice
2018-10-25 18:14:36 +01:00
Matt Westcott
c2a351fee1
Clarify that the default languages list is the ones with >=90% coverage
2018-10-25 12:20:59 +01:00
Matt Westcott
16bc148916
Fill in release date for 2.3
2018-10-23 15:39:56 +01:00
Janneke Janssen
52a224ca64
Fixes reference to the wagtailsearch section
2018-10-23 15:51:14 +02:00
Matt Westcott
c915ae9cb5
Fix broken link to bakerydemo ( #4834 )
2018-10-21 11:38:28 +02:00
Matt Westcott
9afcd1a8be
Remove notes about URL confs for Django<2.0
2018-10-18 11:25:12 +01:00
Matt Westcott
4965d85e72
Update hook examples to use django.templatetags.static
...
django.contrib.staticfiles.templatetags.staticfiles is deprecated as of Django 2.0
2018-10-18 08:49:15 +01:00
Matt Westcott
4bb8a5f420
Document Python 3.7 support
2018-10-17 18:23:35 +01:00
Matt Westcott
e844200f27
Remove Django 1.11 support from code and docs
2018-10-17 15:30:36 +01:00
Matt Westcott
771eb42d05
add 2.4 release notes page
2018-10-17 11:46:56 +01:00
Matt Westcott
5b7bf05db8
Version bump to start work on 2.4
2018-10-17 11:07:33 +01:00
Jorge Barata
8161d7c14c
Fix get_permission_helper_class documentation typo
2018-10-16 11:29:05 +01:00
Matt Westcott
7c82594c29
Trivial change to 2.3.rst to see if readthedocs picks it up
2018-10-11 17:23:27 +01:00
Matt Westcott
5b8031ee18
Move readthedocs.yml to project root
...
This is now required according to https://github.com/rtfd/readthedocs.org/issues/4668
2018-10-11 16:59:57 +01:00
Matt Westcott
523a014adb
Add note that 2.3 is the last dj1.11-compatible release
2018-10-11 14:26:24 +01:00
Matt Westcott
56801cc0ce
Release note for #4788
2018-10-11 12:46:21 +01:00
Coen van der Kamp
30c21feda1
Add comment refering to Wagtail stylesheet back in
2018-10-11 12:07:51 +01:00
Coen van der Kamp
b001d0f127
Drop redundant color color-grey-1-1
2018-10-11 12:07:51 +01:00
Matt Westcott
666876693b
Do not log user out when changing their own password. Fixes #4200 and #4794
2018-10-10 20:52:00 +01:00
Matt Westcott
2fe866e484
Release note for #4801
2018-10-10 16:09:59 +01:00
Matt Westcott
bf870cecd3
Gracefully handle document links with missing ID attributes in rich text
...
Fixes #4791
Previously, our rich text conversion functions handled the case where a document link specified an ID which is not found in the database. However, they failed with a KeyError when the id attribute was missing completely; links of this second type would occur whenever a link of the first type was re-saved from the Draftail editor. The fix is two-fold:
1) Catch the "missing ID attribute" case - in this case, the resulting link will be missing both the href and id attributes
2) Update the handling of the "ID present but document not found" case so that the id attribute survives the round-trip to the editor and back. The final link as rendered on the front-end will still be an attribute-less <a> element, but the id will be retained in the database (and in the versions rendered within rich text editors) which may be useful for troubleshooting.
2018-10-10 12:54:52 +01:00
Thibaud Colas
7cd73c472f
Add release notes for #4800
2018-10-07 22:27:51 +03:00
Matt Westcott
44e5beb481
Release / deprecation notes for #4777
2018-09-28 22:41:01 +01:00
Janneke Janssen
4134288700
Add autocomplete off to custom datetime widgets
2018-09-28 16:23:48 +01:00
Matt Westcott
b2b42faf14
Fix note about update_index not being required for the db backend
2018-09-21 10:59:52 +01:00
Matt Westcott
6454e500ab
Fix module path (wagtailforms.models should be wagtail.contrib.forms.models)
2018-09-21 10:53:51 +01:00
Meteor0id
088d3ffc21
missing quotation, not that it matters
...
award of smallest contribution of the year goes to..
2018-09-13 13:00:57 +01:00
Ben Dickinson
4c72f767ea
Add HTTP_AUTHORIZATION to values copied to dummy preview requests
2018-09-12 16:37:55 +01:00
Michael Harrison
8ef0edb371
Add file download url to Imagesv2 API endpoint
2018-09-06 17:12:02 +01:00
Samir Shah
265d4baaf2
Add a title attribute to the image displayed in an ImageChooserBlock.
2018-09-06 16:13:38 +01:00
Dan Braghis
5ddba47cc3
Add Auto-Submitted: auto-generated header to admin utils send_mail
2018-09-06 15:58:24 +01:00
Michael Borisov
38b2defc7f
Check key value
...
It fixes issue when press 'б' in russian keyboard it's trigger ','
2018-09-05 15:07:45 +01:00
Matt Westcott
2947c584b0
Recommend the use of ManifestStaticFilesStorage. Fixes #3700
2018-09-04 12:56:11 +01:00
Matt Westcott
81bda3bb0c
Fill in release date for 2.2.2
...
Conflicts:
CHANGELOG.txt
2018-08-29 14:15:44 +01:00
Tomasz Knapik
7938e81ab4
Use Django defaults for not caching admin
2018-08-23 16:34:55 +01:00
Loic Teixeira
2b076b0a84
Release note for #4719 in 2.2.2
2018-08-23 11:16:57 +01:00
David
b34b547c6a
Re-establish datetimepicker localisation. Fix #4584
2018-08-22 12:01:30 +01:00
Sævar Öfjörð Magnússon
6e60469142
Convert UUID primary key to string before serializing in json. Fixes #4616 .
2018-08-21 17:17:03 +01:00
Matt Westcott
48a1d51377
Release note for #4739 in 2.2.2
2018-08-21 15:14:13 +01:00
Matt Westcott
bf4ea3766a
Release note for #4739 in 2.3
2018-08-21 15:10:25 +01:00
Meteor0id
cb8fe063bb
depriciate url() for alias re_path()
2018-08-18 11:33:12 +02:00
Meteor0id
cb75effd11
url() is depriciated. Alias re_path()
...
Added important note about using url() on older versions of django, but switched the examples to re_path as to comply with Django docs for 2.0 and later.
2018-08-18 11:32:39 +02:00
Tomasz Knapik
361def81c2
Wrap deleting page into database transaction
...
Currently queries executed in the hooks don't run in the transaction
with the page deletion query and it's harder to write hook without
copying the whole view if you want to keep queries running in the hooks
integral with page deletion.
2018-08-16 17:18:02 +01:00
Bertrand Bordage
42caa586b4
Validates EmbedBlock URLs against providers.
2018-08-16 12:28:40 +01:00
Martey Dodoo
1247565d3d
Add warning about unregistering image formats.
...
Add warning to documentation to warn that unregistering image formats
that are being used will create an error when viewing or editing pages.
See https://groups.google.com/forum/#!topic/wagtail/X8xTUs-2npA and
https://github.com/wagtail/wagtail/issues/1471#issuecomment-118436706 .
2018-08-16 10:52:51 +01:00
Matt Westcott
7ad79c9a4a
Release note for #4579
2018-08-14 17:20:57 +01:00
Matt Westcott
0baa35c52f
Release note for #4730
2018-08-13 16:31:56 +01:00
Matt Westcott
5536422c4a
Add release notes for 2.2.1
2018-08-13 15:14:00 +01:00
Matt Westcott
d3ad54b100
Add release notes for 2.1.3
...
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
2018-08-13 15:13:05 +01:00
Matt Westcott
7ea465e694
Add release notes for 2.0.2
2018-08-13 15:12:47 +01:00
Matt Westcott
e4fe70701a
Add release notes for 1.12.4 - 1.12.6 and 1.13.2 - 1.13.4
...
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
2018-08-13 15:12:37 +01:00
Matt Westcott
1643fb3d0c
Add release notes for 1.13.3
...
Conflicts:
CHANGELOG.txt
docs/releases/index.rst
2018-08-13 12:37:47 +01:00
Matt Westcott
b9998fe015
Add release notes for 1.12.5
2018-08-13 12:37:47 +01:00
Loic Teixeira
aac3335883
Respect redirect parameter after login
2018-08-10 10:20:40 -05:00
Matt Westcott
659a57d75f
Specify Elasticsearch <6.3.1
2018-08-10 14:27:07 +01:00
Matt Westcott
386378fc34
Fill in release date for 2.2
2018-08-10 12:17:19 +01:00
Karl Hobley
ebecaf6a5b
Prevent search engines from indexing admin pages
...
According to a google search I just did, it seems a lot of people have forgotten to add ``Disallow: /admin`` in their robots.txt (or forgot to add robots.txt) at all.
Adding this meta tag into the head of all admin pages should prevent any admin pages being indexed even if this was missed.
2018-08-09 16:30:33 +01:00
Oliver Wilkerson
091ea75de7
Added a simple scale filter to image_operations.
2018-08-09 16:11:39 +01:00
Matt Westcott
6604cdfdae
Update documentation to indicate Django 2.1 support
2018-08-09 00:34:38 +01:00
Matt Westcott
939e031760
Fix passwordless user creation tests for Django 2.1 and clarify WAGTAILUSERS_PASSWORD_REQUIRED docs
...
The behaviour of `has_usable_password` has changed in Django 2.1, such that `None` is no longer considered a 'non-usable' password: https://docs.djangoproject.com/en/2.1/ref/contrib/auth/#django.contrib.auth.models.User.has_usable_password
As a consequence of the fix applied in Django https://code.djangoproject.com/ticket/28718 , Wagtail users created without a password will now be able to complete the password reset process to gain access to Wagtail. Sites that do not want this behaviour (e.g. because those users should be using an LDAP login instead) should disable password changes via WAGTAIL_PASSWORD_MANAGEMENT_ENABLED and WAGTAIL_PASSWORD_RESET_ENABLED.
2018-08-09 00:34:38 +01:00
Matt Westcott
e28baaff72
Release notes for 2.1.2
2018-08-06 13:11:11 +01:00
Matt Westcott
7d711f16be
Version bump to start work on 2.3
2018-07-31 10:55:04 +01:00
Matt Westcott
32fbbc8aed
see if requirements_file: null makes readthedocs happy
2018-07-30 22:29:06 +01:00
Matt Westcott
86ce571b93
Version bump to 2.2rc1
2018-07-30 21:18:44 +01:00
Matt Westcott
7c38c5ad56
Fix typo preventing facet example from displaying
2018-07-27 12:00:38 +01:00
Matt Westcott
bf5d6e3363
Release note for #4524
2018-07-27 11:58:21 +01:00
Matt Westcott
bb8df218e5
Make checkbox/radio alignment on Firefox consistent with Webkit
2018-07-25 11:26:15 +01:00
Meteor0id
d49bc21469
one letter spelling mistake
...
Had been merged by the time I noticed my own mistake. Corrected 1 letter.
2018-07-14 13:29:37 +02:00
Meteor0id
ddd63bdb59
Update integrating_into_django.rst ( #4686 )
...
* Update integrating_into_django.rst
flaw in url, was still referencing depreciated method, fixed.
* Update integrating_into_django.rst
Add important notice that versions of Django earlier than 2.0 require url() instead of re_path()
2018-07-13 20:58:21 +02:00
Bertrand Bordage
a3fe8eb3b1
Improves sitemap to avoid passing site now that request is used.
2018-07-11 20:17:48 +02:00
Bertrand Bordage
88d5a8cfee
Release notes for #4575 .
2018-07-11 18:25:09 +02:00
Matt Westcott
f719ce1a82
Add note about not asking support questions in multiple places
2018-07-11 11:09:45 +01:00
Michael van Tellingen
bad95cf37c
Optimize the querycount for the sitemap.xml page
...
By optionally passing the request object to Page.get_sitemap_urls() it
will now use the cached site root on the request object instead of
retrieving it for each call. This cuts the number of queries required
for a sitemap roughly in half.
2018-07-10 16:53:19 +01:00
Pomax
40981b0c65
replace my name with my name
...
I do not write code under my passport name, if I have to be in a changelog, please use "Pomax" =)
2018-07-10 11:20:28 +01:00
Thibaud Colas
2d9440f79c
Add release notes for #4582 ( #4676 )
2018-07-10 00:31:57 +03:00
kevin howbrook
cfcad4059b
Update editor guide for embeds and documents in rich text, fix #4558 ( #4632 )
2018-07-09 10:07:03 +03:00
Matt Westcott
e53076d949
Release note for #4669
2018-07-06 17:01:43 +01:00
Matt Westcott
4f07f228b2
Fill in release date for 2.1.1
2018-07-04 15:36:49 +01:00
Matt Westcott
1fd111cf6a
Fill in release date for 1.13.2
2018-07-04 15:36:08 +01:00
Matt Westcott
815b58fbda
Fill in release date for 1.12.4
2018-07-04 15:36:07 +01:00
Matt Westcott
783b128fa2
Release note for #4496 in 2.1.1
2018-07-03 17:34:49 +01:00
Matt Westcott
048a4e83f1
Release note for #4496 in 1.13.2
2018-07-03 17:34:49 +01:00
Matt Westcott
7eab2ae793
Release note for #4496 in 1.12.4
2018-07-03 17:34:48 +01:00
Matt Westcott
ce4cd82bd9
Release note for #4496 in 2.2
2018-07-03 16:59:01 +01:00
Matt Westcott
3aff9f76e4
Revert "Strip Unicode NULL chars when normalizing paths"
...
This reverts commit 882f8f3cf8
.
Conflicts:
CHANGELOG.txt
CONTRIBUTORS.rst
docs/releases/2.2.rst
2018-07-03 16:45:27 +01:00
Matt Westcott
9ef8ee2d7f
Release note for #4553 in 2.1.1
2018-07-03 16:10:59 +01:00
Matt Westcott
b329ed4b65
Release note for #4553 in 1.12.4
2018-07-03 16:10:21 +01:00
Matt Westcott
55ddab6d14
Release note for #4553 in 1.13.x
2018-07-03 16:10:12 +01:00
Matt Westcott
ed9a3a2d69
Pass all necessary template context to chooser view after upload validation error
...
Fixes #4548
2018-07-03 15:26:28 +01:00
Matt Westcott
b4a2e13cb0
Copy 1.13.2 release notes to master
2018-06-29 15:37:58 +01:00
Matt Westcott
6c3431580a
Release note for #4480 in 1.12.4
2018-06-29 15:37:30 +01:00
Matt Westcott
1a4046a676
Copy 1.12.4 release notes to master
2018-06-29 15:36:43 +01:00
Matt Westcott
06d8fb0f63
Add guideline on the use of British vs American English
2018-06-27 20:39:08 +01:00
acrewdson
882f8f3cf8
Strip Unicode NULL chars when normalizing paths
...
After migrating a Wagtail-based site from MySQL to Postgres, we
noticed that malicious requests to the site that included percent-
encoded Unicode NULLs (`%00`) raised a `ValueError` exception that we
hadn't seen when using MySQL: `A string literal cannot contain NUL
(0x00) characters.` This appears to relate to `psycopg2`'s decision to
raise an exception in these situations, as discussed here:
https://github.com/psycopg/psycopg2/issues/420
While newer versions of Django appear to provide some field validation
that addresses these characters, it doesn't look like Wagtail's
redirect middleware is making use of those validators, and so it seemed
reasonable to clean these characters in the context of 'normalizing'
the paths before looking for corresponding redirects -- especially
since a quick investigation on the internet suggests that U+0000 in
URLs can be used as a means of attack, and also since RFC 3986 says:
Note, however, that the "%00" percent-encoding (NUL) may require
special handling and should be rejected if the application is not
expecting to receive raw data within a component.
2018-06-27 11:19:36 -04:00
Matt Westcott
0129e4ce77
Release note for #4648
2018-06-21 12:05:26 +01:00
Matt Westcott
ac84cea671
Add release note for #4612 in 2.1.1
2018-06-20 17:30:26 +01:00
Matt Westcott
fee77469b3
Release note for #4583
2018-06-20 15:57:29 +01:00