nmorduch
2668c05146
Rearrange SCSS structure according to ITCSS
2019-04-11 11:08:47 +02:00
Andy Babic
b9e6394bd0
Merge pull request #5218 from ababic/feature/updates-for-5147
...
CHANGELOG and release notes updates for PR #5147
2019-04-10 21:31:48 +01:00
Andy Babic
f1c7b002d8
changelog and release note updates for #5147
2019-04-10 21:29:41 +01:00
Andy Babic
5c336f223e
Merge pull request #5147 from leewesleyv/feature/4320-extend-inspect-field-labels
...
Reuse the label_for_field function for fields in the InspectView
2019-04-10 21:09:01 +01:00
Matt Westcott
a304f0f9f8
Remove support for Python 3.4
2019-04-10 17:39:53 +01:00
Matt Westcott
aab92166a1
Rotate deprecation warnings
2019-04-10 17:39:11 +01:00
Matt Westcott
de1a674b0b
Add 2.6 section to changelog and release notes
2019-04-10 17:39:11 +01:00
Matt Westcott
4c56285dc3
Version bump to start work on 2.6
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
d8b2d087ca
Update project template requirements to Django 2.2
2019-04-08 23:13:25 +01:00
Matt Westcott
2839d819de
Generate new source files for translation
2019-04-08 23:10:58 +01: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
Andy Chosak
ecd9a4afe4
Support legacy behavior + tests
2019-04-08 14:08:34 +01:00
Andy Chosak
a09b7b5c6b
Standardize embeds rich text tests
2019-04-07 13:47:41 +01:00
Andy Chosak
683a50fa47
Reorganise image/document rich text tests into separate classes for frontend and editor HTML
2019-04-07 13:16:17 +01:00
Matt Westcott
c5c16f7b35
Define identifier attribute on LinkHandler / EmbedHandler
2019-04-06 00:58:12 +01:00
Matt Westcott
986abd10ea
Implement get_model / get_instance on link/embed handlers
2019-04-06 00:58:04 +01:00
Matt Westcott
375ae00518
Make top-level *_linktype_handler / *_embedtype_handler functions into classes
2019-04-06 00:54:53 +01:00
Matt Westcott
a633eb31fc
Move editorhtml/contentstate specific logic into submodules of rich_text
2019-04-05 23:31:53 +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
92a1e7918a
Bump django-taggit to 0.24
2019-04-02 21:59:43 +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
a98d6567dc
Update core team in CONTRIBUTORS.rst
2019-03-29 12:14:09 +00:00
Matt Westcott
a2ba2a7a8a
Release note for #5157
2019-03-29 11:58:22 +00:00
LB Johnston
8b6f03c732
raise an error in tests if sub-classes of ActionMenuItem has no name
2019-03-29 11:48:15 +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
Tom Dyson
ba93dcef69
Security readme tweak
2019-03-27 11:50:15 +00:00
Jonny Scholes
01003f70a9
Update README.md
2019-03-27 11:50:15 +00:00
Jonny Scholes
2db775c725
Add security@wagtail.io to Readme
...
Ping @tomdyson - merge when the email is ready :)
2019-03-27 11:50:15 +00:00
Anna Pershyna
b1fab70847
added --no-save option from master branch
2019-03-26 12:06:47 +00:00
Anna Pershyna
bf0ea7645a
updated .squash.yml config
2019-03-26 12:06:47 +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