Skip to content

Commit 95f7acb

Browse files
committed
Foreward port changes from 2.0-branch
1 parent 90f4dba commit 95f7acb

File tree

6 files changed

+44
-5
lines changed

6 files changed

+44
-5
lines changed

CHANGES.txt

+34
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
3.0.0 (unreleased)
22
------------------
33

4+
.. _2.0.11:
5+
6+
2.0.11 (2020-08-21)
7+
-------------------
8+
9+
- Drop support of Python 3.4.
10+
411
- Changed the implementation of input autofocus from JavaScript to an HTML5
512
input attribute.
613

@@ -18,16 +25,41 @@
1825
Default: ``on``.
1926
(This is unchanged from the JavaScript implementation.)
2027

28+
- Replace the flake8-isort plugin with plain old isort.
29+
See https://github.com/Pylons/deform/pull/427
30+
31+
- Improved the script that launches Selenium webdriver to clean up the locale
32+
directory after completing a run of functional tests so that its files do not
33+
get committed by accident. We also enforce coding style and add a formatter,
34+
and improved the contributing documentation.
35+
See https://github.com/Pylons/deform/pull/428
36+
37+
- Updated Bootstrap to 3.4.1.
38+
39+
40+
.. _2.0.10:
2141

2242
2.0.10 (2020-07-03)
2343
-------------------
2444

2545
- Correct release date.
2646

2747

48+
.. _2.0.9:
49+
2850
2.0.9 (2020-07-03)
2951
------------------
3052

53+
- Added CSRF test to pass coverage on schema.py.
54+
See https://github.com/Pylons/deform/pull/403
55+
56+
- Modified the DateTimeInputWidget to use HTML5 date/time input types on
57+
browsers that support it.
58+
See https://github.com/Pylons/deform/pull/406
59+
60+
- Add new translations for Swahili (sw_KE) locale.
61+
See https://github.com/Pylons/deform/pull/409
62+
3163
- Add boolean HTML attributes per Chameleon 3.8.0.
3264

3365
All checkboxes, radios, and selects that use boolean HTML attributes
@@ -39,6 +71,8 @@
3971
See https://github.com/Pylons/deform/issues/417
4072

4173

74+
.. _2.0.8:
75+
4276
2.0.8 (2019-10-07)
4377
------------------
4478

RELEASING.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Prepare new release branch
1919

2020
- Create a new release branch, incrementing the version number.
2121

22+
- Align the release number with deformdemo.
23+
2224
- Do any necessary branch merges (e.g., master to branch, branch to master).
2325

2426
- On release branch:
@@ -62,13 +64,16 @@ Prepare new release branch
6264

6365
- Release the wheels to PyPI:
6466

65-
$VENV/bin/twine upload dist/deform-X.Y.Z*
67+
$VENV/bin/twine upload dist/deform-X.Y.Z-*
6668

6769
- Upload a git tag for the release:
6870

6971
git tag X.Y.Z
7072
git push origin X.Y.Z
7173

74+
- Add a release on Github.
75+
https://github.com/Pylons/deform/releases
76+
7277
- Update RTD to render a new version of the docs at that tag X.Y.Z and set
7378
X.Y.Z as the default branch such that ``/latest/`` points to it.
7479

deform/templates/richtext.pt

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
tinymce_options tinymce_options|field.widget.tinymce_options;
33
oid oid|field.oid;
44
name name|field.name;"
5-
65
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
76
i18n:domain="deform"
87
tal:omit-tag="">
@@ -15,7 +14,7 @@
1514
}
1615
</style>
1716
<textarea id="${oid}" name="${name}"
18-
class='tinymce form-control' tal:content="structure cstruct"/>
17+
class='tinymce form-control' tal:content="structure cstruct" />
1918
<span id="${oid}-preload" class="tinymce-preload"
2019
tal:content="structure cstruct" />
2120
<script type="text/javascript">

docs/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
# Output file base name for HTML help builder.
174174
htmlhelp_basename = 'deform'
175175

176+
smartquotes = False
176177

177178
# Options for LaTeX output
178179
# ------------------------

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ exclude = '''
2323
'''
2424

2525
# This next section only exists for people that have their editors
26-
# automatically call isort.
26+
# automatically call isort. Black already sorts entries on its own when run.
2727
[tool.isort]
2828
combine_as_imports = true
2929
default_section = "THIRDPARTY"

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ basepython = python3.6
6666
whitelist_externals = make
6767
commands =
6868
pip install deform[docs]
69-
make -C docs html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E -D suppress_warnings=ref.term"
69+
make -C docs html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
7070

7171
# Selenium tests are slow, run them against one
7272
# interpreter only

0 commit comments

Comments
 (0)