| 1 |
Sat Apr 16 23:34:31 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 2 |
* Remove need for IForm interface. The form is otherwise known as self.original. |
|---|
| 3 |
|
|---|
| 4 |
Sat Apr 16 23:25:32 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 5 |
* Remove the need for the IFormName by adding a name attribute to the form itself. |
|---|
| 6 |
|
|---|
| 7 |
Thu Apr 7 15:19:42 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 8 |
* Remove irritating debug statements. |
|---|
| 9 |
|
|---|
| 10 |
Wed Apr 6 17:00:14 BST 2005 tim@pollenation.net |
|---|
| 11 |
* added label and description fields |
|---|
| 12 |
|
|---|
| 13 |
Wed Apr 6 16:05:54 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 14 |
* Make MMYYDatePartsInput check for bad year. |
|---|
| 15 |
|
|---|
| 16 |
Wed Apr 6 15:57:58 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 17 |
* Remove done issues. |
|---|
| 18 |
|
|---|
| 19 |
Wed Apr 6 14:52:43 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 20 |
* Update demo to include a couple of uses of the Sequence type. |
|---|
| 21 |
|
|---|
| 22 |
Wed Apr 6 14:48:31 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 23 |
* Add Sequence type and CheckboxMultiChoice widget (from Tim's patch). |
|---|
| 24 |
|
|---|
| 25 |
Wed Apr 6 14:47:59 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 26 |
* Rename Choice to SelectChoice |
|---|
| 27 |
|
|---|
| 28 |
Tue Apr 5 15:21:20 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 29 |
* Add cutoff year to MMYY input. |
|---|
| 30 |
The cutoff year is the two-digit year number where we switch from the 21st to |
|---|
| 31 |
20th century, or 2000 to 1900. |
|---|
| 32 |
|
|---|
| 33 |
Tue Apr 5 14:42:03 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 34 |
* Applied (modified) MMYY date input patch from Tim. |
|---|
| 35 |
|
|---|
| 36 |
Tue Apr 5 14:33:41 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 37 |
* Give each action a unique ID. |
|---|
| 38 |
|
|---|
| 39 |
Sat Apr 2 01:13:28 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 40 |
* Use a label for the password confirm input and put i a new line. |
|---|
| 41 |
|
|---|
| 42 |
Sat Apr 2 01:11:53 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 43 |
* Use latest errors API and correct location of exception classes. |
|---|
| 44 |
|
|---|
| 45 |
Fri Apr 1 14:29:45 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 46 |
* Make the HTML valid. You can't have a block element inside a p. |
|---|
| 47 |
|
|---|
| 48 |
Fri Apr 1 14:27:58 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 49 |
* Add a wrapping div to keep the p and ul together. |
|---|
| 50 |
|
|---|
| 51 |
Fri Apr 1 14:15:28 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 52 |
* Display errors raised against the form. |
|---|
| 53 |
|
|---|
| 54 |
Fri Apr 1 13:43:28 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 55 |
* Improve error handling and allow error to be raised from form callback |
|---|
| 56 |
The exceptions and handling of raised exceptions was changed quite a bit. |
|---|
| 57 |
There is now a better exception hierarchy that differentiates between form |
|---|
| 58 |
and field errors. Errors can now be raised from the form callback - either |
|---|
| 59 |
against a field (by providing the field name) or against the whole form. |
|---|
| 60 |
|
|---|
| 61 |
Thu Mar 31 16:28:09 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 62 |
* Fix the previous patch. Oops ;-) |
|---|
| 63 |
|
|---|
| 64 |
Thu Mar 31 16:22:41 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 65 |
* Generate unique ids for the input fields. |
|---|
| 66 |
|
|---|
| 67 |
Wed Mar 30 00:28:32 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 68 |
* Move keytocssid to util module. |
|---|
| 69 |
|
|---|
| 70 |
Thu Mar 31 12:53:23 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 71 |
* Removed issue. |
|---|
| 72 |
|
|---|
| 73 |
Thu Mar 31 12:10:48 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 74 |
* Bug fix. |
|---|
| 75 |
|
|---|
| 76 |
Thu Mar 31 11:44:30 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 77 |
* Fix silly typo. |
|---|
| 78 |
|
|---|
| 79 |
Thu Mar 31 00:37:53 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 80 |
* Added DatePartsInput and IDateTupleConvertible stuff. |
|---|
| 81 |
DatePartsInput is a widget that renders 3 inputs for entering a date. The |
|---|
| 82 |
inputs can be mm/dd/yyyy (the default) or dd/mm/yyyy by changing the |
|---|
| 83 |
dayFirst attribute. |
|---|
| 84 |
DatePartsInput was made the default widget for Date types. |
|---|
| 85 |
|
|---|
| 86 |
Thu Mar 31 09:59:14 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 87 |
* Remove whitespace, now the types are simpler. |
|---|
| 88 |
|
|---|
| 89 |
Wed Mar 30 02:50:58 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 90 |
* Small docstring changes. |
|---|
| 91 |
|
|---|
| 92 |
Wed Mar 30 02:44:31 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 93 |
* Rename adapters to converters. |
|---|
| 94 |
|
|---|
| 95 |
Wed Mar 30 02:42:35 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 96 |
* Fix after move. |
|---|
| 97 |
|
|---|
| 98 |
Wed Mar 30 02:31:21 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 99 |
* Missed one ;-) |
|---|
| 100 |
|
|---|
| 101 |
Wed Mar 30 02:28:59 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 102 |
* Switch over to IConvertible interface everywhere (I think). |
|---|
| 103 |
|
|---|
| 104 |
Wed Mar 23 00:51:39 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 105 |
* Transferrable start |
|---|
| 106 |
|
|---|
| 107 |
Wed Mar 30 00:26:15 BST 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 108 |
* Differentiate between field's <div> and widgets inputs. |
|---|
| 109 |
|
|---|
| 110 |
Tue Mar 22 22:02:41 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 111 |
* Added note an issue. |
|---|
| 112 |
|
|---|
| 113 |
Fri Mar 18 11:20:03 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 114 |
* Add a txt file where i can dump a list of tests that are needed. |
|---|
| 115 |
|
|---|
| 116 |
Fri Mar 18 11:18:07 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 117 |
* Add some more forms to test the leaky behaviour just fixed. |
|---|
| 118 |
|
|---|
| 119 |
Yes, these should be tests but I don't have anything that tests entire form |
|---|
| 120 |
rendering right now :(. |
|---|
| 121 |
|
|---|
| 122 |
Fri Mar 18 11:14:38 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 123 |
* Fix issue where validation errors from one form leak to other forms. |
|---|
| 124 |
|
|---|
| 125 |
When two forms, foo and bar, contained a field of the same name, wibble, |
|---|
| 126 |
validation errors were leaking between forms. |
|---|
| 127 |
|
|---|
| 128 |
The FormErrors instance is now provided with the failing form's name and |
|---|
| 129 |
the IFormErrors are removed early on in the rendering process when the errors |
|---|
| 130 |
are for a different form. |
|---|
| 131 |
|
|---|
| 132 |
Fri Mar 18 00:17:38 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 133 |
* More unicode tests and fix TextArea. |
|---|
| 134 |
|
|---|
| 135 |
Fri Mar 18 00:01:50 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 136 |
* Add initial widget test and decode TextInput value to unicode. |
|---|
| 137 |
|
|---|
| 138 |
Tue Mar 15 16:18:16 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 139 |
* Added a Choice bug |
|---|
| 140 |
|
|---|
| 141 |
Mon Mar 14 10:29:43 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 142 |
* Allow empty forms. |
|---|
| 143 |
|
|---|
| 144 |
Mon Mar 14 10:27:44 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 145 |
* Allow empty forms. |
|---|
| 146 |
|
|---|
| 147 |
Sat Mar 12 11:05:10 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 148 |
* Stop it catching favicon and rendering twice. |
|---|
| 149 |
|
|---|
| 150 |
Sat Mar 12 11:04:53 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 151 |
* Remove issue I just fixed. |
|---|
| 152 |
|
|---|
| 153 |
Sat Mar 12 11:03:34 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 154 |
* Assign IDs to fields. |
|---|
| 155 |
I also simplified the rendering a little by breaking it up into pieces. |
|---|
| 156 |
|
|---|
| 157 |
Sat Mar 12 10:18:24 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 158 |
* Add id to form element. |
|---|
| 159 |
|
|---|
| 160 |
Sat Mar 12 10:18:45 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 161 |
* Add an issue. |
|---|
| 162 |
|
|---|
| 163 |
Sat Mar 12 10:02:57 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 164 |
* Add issues file. |
|---|
| 165 |
|
|---|
| 166 |
Fri Mar 11 16:08:59 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 167 |
* Allow the Choice blank to be removed completely. |
|---|
| 168 |
|
|---|
| 169 |
Fri Mar 11 13:04:25 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 170 |
* Allow new actions to be added. |
|---|
| 171 |
The form can be provided with a callback but this does not add an action |
|---|
| 172 |
button. |
|---|
| 173 |
The new addAction button adds a callback against an action name. This adds |
|---|
| 174 |
a button to the 'actions' area of the form. |
|---|
| 175 |
|
|---|
| 176 |
Fri Mar 11 12:04:35 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 177 |
* Pass the form back to the submit callback. |
|---|
| 178 |
It's etirely possible that the callback needs to inspect the form to do |
|---|
| 179 |
additional validation so let's pass it back. |
|---|
| 180 |
|
|---|
| 181 |
Fri Mar 11 11:38:11 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 182 |
* Rename add to addField. |
|---|
| 183 |
This is mostly in anticipation of new stuff like addButton etc. |
|---|
| 184 |
|
|---|
| 185 |
Fri Mar 11 09:51:14 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 186 |
* Oops. Add parseDate and parseTime. |
|---|
| 187 |
Also, remove the Structure class since it's not used yet. |
|---|
| 188 |
|
|---|
| 189 |
Fri Mar 11 00:39:58 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 190 |
* Rename tests to what they are. |
|---|
| 191 |
|
|---|
| 192 |
Fri Mar 11 00:37:34 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 193 |
* Add tests for types, fix bugs and add missing arg. |
|---|
| 194 |
|
|---|
| 195 |
Wed Mar 9 16:13:15 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 196 |
* Remove unnecessary code. |
|---|
| 197 |
|
|---|
| 198 |
Wed Mar 9 16:12:34 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 199 |
* Add widgetFactory helper. |
|---|
| 200 |
It's nothing more than a lambda but it makes Tim happy ;-). |
|---|
| 201 |
|
|---|
| 202 |
Wed Mar 9 13:05:49 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 203 |
* Add HTML editor back in. |
|---|
| 204 |
Add an htmleditor module to contain widgets and glue for the various HTML |
|---|
| 205 |
editors that are available. For now, it's just TinyMCE. |
|---|
| 206 |
|
|---|
| 207 |
Wed Mar 9 13:04:58 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 208 |
* Add errors to interface. |
|---|
| 209 |
|
|---|
| 210 |
Tue Mar 8 00:14:47 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 211 |
* Rely on the modules to list the exportable attributes in __all__ |
|---|
| 212 |
|
|---|
| 213 |
Tue Mar 8 00:06:04 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 214 |
* Don't use <button> elements. |
|---|
| 215 |
Thanks to Microsoft for making IE the most f***ed up browser that exists. |
|---|
| 216 |
|
|---|
| 217 |
Tue Mar 8 00:02:48 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 218 |
* Done these. |
|---|
| 219 |
|
|---|
| 220 |
Tue Mar 8 00:02:05 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 221 |
* Example of adapting domain object for us in Choice widget feeding an Integer. |
|---|
| 222 |
|
|---|
| 223 |
Tue Mar 8 00:01:12 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 224 |
* If a widget factory needs args then use a lambda or other simple callable. |
|---|
| 225 |
|
|---|
| 226 |
Mon Mar 7 23:57:33 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 227 |
* Add IKey and ILabel interfaces for listy type renderers to use. |
|---|
| 228 |
|
|---|
| 229 |
Fri Mar 4 16:21:47 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 230 |
* Handle *any* child |
|---|
| 231 |
|
|---|
| 232 |
Fri Mar 4 16:11:34 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 233 |
* Create the form post's action correctly. |
|---|
| 234 |
|
|---|
| 235 |
To avoid submit after submit after submit building up the URL, look to see |
|---|
| 236 |
if the last segment si the form post's action and if so replace that segment. |
|---|
| 237 |
|
|---|
| 238 |
Fri Mar 4 15:38:30 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 239 |
* Switch back to old interfaces. |
|---|
| 240 |
|
|---|
| 241 |
Tue Mar 1 02:09:44 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 242 |
* Assign id on choice widget. |
|---|
| 243 |
|
|---|
| 244 |
Tue Mar 1 02:06:48 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 245 |
* Move test page to XHTML template |
|---|
| 246 |
|
|---|
| 247 |
Tue Mar 1 02:06:30 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 248 |
* Cleanup and comment |
|---|
| 249 |
|
|---|
| 250 |
Tue Mar 1 02:05:46 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 251 |
* Add default .css |
|---|
| 252 |
|
|---|
| 253 |
Fri Feb 25 21:02:29 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 254 |
* Add self child resource so that I can test it "for real" at non-root. |
|---|
| 255 |
|
|---|
| 256 |
Sun Feb 20 01:28:59 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 257 |
* Done these already :) |
|---|
| 258 |
|
|---|
| 259 |
Sun Feb 20 01:28:39 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 260 |
* Be more explicit about the options type |
|---|
| 261 |
|
|---|
| 262 |
Sun Feb 20 01:19:52 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 263 |
* Add ideas notes from old implementation. |
|---|
| 264 |
|
|---|
| 265 |
Sun Feb 20 01:17:18 GMT 2005 Matt Goodall <matt@pollenation.net> |
|---|
| 266 |
* Initial import. |
|---|
| 267 |
Reworking of forms stuff with a nicer API (IMHO) and generally simpler. |
|---|