Skip to content

Commit 7d1b9ed

Browse files
trollfotgoschtl
andauthored
Moving to BS5 with a bit of 3rd party updating (#531)
* Updated template to BS5 styles * Updated tinyMCE to the latest Free version, 6.3 * Fix tests for select and tinymce widgets * Fix length of assertation * format default_options * Fixed sequence item 'invalid'/error markings. Removed error class from div wrapper * Fixed bug where the errors were NOT showing when using dateparts. * Work on the 'required' part. This is still uncomplete * Applied required on checkbox, dateparts, radio and select * Added required and error class for time, password, checkedinput * Work on autocomplete, checked_input, checked_password and money_input, regarding errors and required * Fixed checked_password error_class display * Attempt at making checked_password a tighter input with input-group. Same attempt wit the datetime input, where required and error were added * Fixed description class in mapping item. * Made checked_input an input-group * DummyField has now a 'required' attribute * checkbox with dummy in tests is now required * Added invalid class at the wrapper level in checkbox_choice template to display the feedback * Fixed 'required' and error classes for dateinput and textaread * deformdemo from the fork. * Added invalid to time input field * Fixed styles and markup for errors. * Fixed missing languages in tinymce. Fixed fileupload by removing custom js and adapting to the current bootstrap. * Made date parts a single input group * Update version of dependencies * reverted version. Just made sure colander is 1.0 stable * fixing tinymce preload * Fixed tinymce selector * Added error styles on tinymce * blacked * Update CHANGES.txt * Update TODO.txt * Update CHANGES.txt * CheckedInput should handle the missing field components as a global null value * Fixed checkedinput missing values * For complex schema, testing null or '' is not enough as we get an empty mapping back. We need to test the boolean of the value, since '', null and empty mapping resolve to False. * Fixed tox * Fixed widget null assertion * Updated python versions for CI * Update ci-tests.yml * Update README.rst Remove python badges : wrong versions * Update setup.py Updated python versions --------- Co-authored-by: Christian Klinger <[email protected]>
1 parent fdc43d5 commit 7d1b9ed

File tree

365 files changed

+88096
-9480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+88096
-9480
lines changed

.github/workflows/ci-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ jobs:
1515
strategy:
1616
matrix:
1717
py:
18-
- "3.8"
19-
- "3.9"
2018
- "3.10"
2119
- "3.11"
2220
- "3.12"
21+
- "3.13"
2322
- "pypy-3.10"
2423
os:
2524
- "ubuntu-latest"
@@ -44,6 +43,9 @@ jobs:
4443
# PyPy3 on Windows doesn't seem to work
4544
- os: "windows-latest"
4645
py: "pypy-3.7"
46+
# macOS py3.10 doesn't seem to work.
47+
- os: "macos-latest"
48+
py: "3.10"
4749
name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}"
4850
runs-on: ${{ matrix.os }}
4951
steps:

CHANGES.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44
- Remove spurious styles definition
55
https://github.com/Pylons/deform/pull/504 [lelit]
66

7+
- Adds HTML5 validation
8+
9+
- Update JS libs (TinyMCE)
10+
11+
- Update to Bootstrap5
12+
13+
Deprecations
14+
^^^^^^^^^^^^
15+
16+
- Drop support of Python 3.6 and Python 3.7.
17+
718

819
.. _2.0.15:
920

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Deform
1717
:target: https://docs.pylonsproject.org/projects/deform/en/latest/
1818
:alt: Latest Documentation Status
1919

20-
.. image:: https://img.shields.io/pypi/pyversions/deform
21-
:alt: Python Support
22-
2320
.. contents:: :local:
2421

2522

TODO.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ TODOs
7474
the name must be provided, on an edit form the name cannot be
7575
provided).
7676

77-
- [ ] Make deform.widget.RichText render only on oid specific element
77+
- [X] Make deform.widget.RichText render only on oid specific element
7878
in templates.
7979

8080
- [ ] Work out RichTextWidget default height and width and overrides

deform/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Deform."""
2+
23
# flake8: noqa
34
from . import exception # API
45
from . import form # API

deform/decorator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33

44
class reify(object):
5-
65
"""Put the result of a method which uses this (non-data)
76
descriptor decorator in the instance dict after the first call,
87
effectively replacing the decorator with an instance variable."""

deform/field.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Field."""
2+
23
# Standard Library
34
import itertools
45
import re

deform/form.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Form."""
2+
23
# Standard Library
34
import re
45

deform/i18n.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""I18n."""
2+
23
from translationstring import TranslationStringFactory
34

45

deform/renderer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Renderer."""
2+
23
from pkg_resources import resource_filename
34

45
# Deform

0 commit comments

Comments
 (0)