This repository has been archived by the owner on May 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
CHANGES.txt
191 lines (119 loc) · 5.02 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
0.2.2 (2013-08-22)
------------------
Features
~~~~~~~~
- Added post-success JavaScript hooks for common actions as well as custom JS
- Shorthand validation is now allowed for dynamically inserted nodes
- Added Python 3.3 support
- Implemented a 'validator' method for Form that allows one-off validation for
validation logic that is specific to that form only
- Added new 'render_success' and 'error_success' attributes for Form to specify
a JavaScript function to replace the default callback in the JS api
- css_style, disable, and css_class are now Node attributes that can be used in
templates
- Added a new FileNode for uploading files with along with a MimeTypeValidator
and associated template modifications
Bug Fixes
~~~~~~~~
- Documentation fixes
- Setting title=False didn't function correctly
- Some class attribute override semantics didn't function as intended and have
now been resolved
- Fixed a unicode encoding error identified by xen that was breaking validation
Maintenance/Stability
~~~~~~~~~~~~~~~~~~~~~
- Moved some functionality out of the metaclass to be more lazy, increasing the
initialization speed of classes and improving testing
- Wrote many additional tests and significantly improved assertion coverage
- Completely re-organized tests to be organized less haphazzardly and updated
/extended their comments significantly.
- Setup coveralls and Travis CI
- Gave the whole codebase a PyLint and PEP8 pass
0.2.1 (2013-07-03)
------------------
Features
~~~~~~~~
- Added a method to easily change error statuses after validation methods are
run
Bug Fixes
~~~~~~~~
- Textarea template whitespace was causing undesirable rendering
- Updated the Button Node to use the proper template inheritence
- Modified insert_validator to accept iterables as the other insert function
does
- Fixed a documentation bug giving the wrong attribute name for an action
Maintenance/Stability
~~~~~~~~~~~~~~~~~~~~~
- Wrote tests for all new features
- Expanded details in minor places in documentation
- Added checking on attribute name collisions with Nodes to make the mistakes
easier to debug
0.2.0 (2013-06-28)
------------------
Features
~~~~~~~~
- Added some more built-in Nodes and Validators such as
StrongPasswordValidator, MatchingValidator, RegexValidator, CheckboxNode,
etc.
- Refactored all validation functions to return both a success bool value
alongside its output, making post-validation logic more clear and concise.
Refactor for Client Side Funcionality
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Completely re-wrote the JavaScript library into a jQuery plugin.
- Moved the selection loigc for Nodes that are "ready" to be validated into
server side, incurring marginal overheads.
- Changed the error_render call semantics to track which Nodes have errors and
intelligently call the function.
- Improved error rendering to support multiple errors.
- Re-designed the semantic which finds the HTML node in which to place errors
on a per Node basis. json_identifiers function now passes these details to
the client side code allowing more flexible rendering.
- Allowed per-Node logic for deciding if the Node is ready to be validated
based on a list of visited Nodes.
- Added a more robust render_success method that allows passing arbitrary
information to drive things like redirects, etc.
Documentation
~~~~~~~~~~~~~
- Large expansions in the documentation in almost all areas. More should be
coming steadily in the next few weeks.
- Re-wrote the yota_examples repository for improved clarity and commenting.
Maintenance/Stability
~~~~~~~~~~~~~~~~~~~~~
- Introduced simple functional tests to attempt coverage for behaviour that
cannot be unit tested
- Added commenting and specificity to existing unit tests
- Added more unit tests to regain near 100% coverage. Touch ups to come soon.
0.1.6 (2013-06-26)
------------------
Bug fixes
~~~~~~~~~
- Fixed textarea node not passing data properly
- Bug related to passing lists of validators into the shorthand for nodes
- Minor issue removing the deep copy with new breaking multi-form pages with
dynamic options
0.1.5 (2013-06-09)
------------------
Maintenance/Stability
~~~~~~~~~~~~~~~~~~~~~
- Put the project under the new-BSD license.
- Some commenting cleanup
- Increased test coverage to 100% and improved quality of assertions. Caught
several bugs in the process, leading to numerous minor bug fixes.
- Fixed PEP8 compliance.
Bug fixes
~~~~~~~~~
- JavaScript bugs related to AJAX.
- Fixed several bugs related to operation in Python 2.6. All tests now pass
with 2.6.
- Fixed a significant bug in which many class attributes should have been
instance attributes, and thus cropping up strange errors.
Features
~~~~~~~~
- Beginnings of some functional tests
- Added optional redirect on AJAX success
- Added new grouped elements node designed for radio buttons.
- Allowed easily overriding the action of a form with a keyword attribute
passed to the start node or the form kwargs.
0.1.0 (2013-06-07)
----------------
Initial release.