1 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/semantic.py: Fixed problems with |
4 |
|
range checking of integers. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/controllers.py: Added class |
7 |
|
ErrorItem to track errors. They are stored in the session. |
8 |
|
|
9 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
10 |
|
|
11 |
|
* tools/formed/formed/model/nodecomponents.py: Fixed returning |
12 |
|
wrong index in Document.indexOfcomponentByClassAndName. |
13 |
|
|
14 |
|
* tools/formed/formed/plugins/web/form_renderer.py: 'error' was |
15 |
|
written 'errot' in renderer for textareas. |
16 |
|
|
17 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
18 |
|
|
19 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
20 |
|
|
21 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
22 |
|
method. Could be cheaper for some implementations of help. |
23 |
|
|
24 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
25 |
|
FormData to have distinct getData(), getHelp() and getError() |
26 |
|
methods. Various bug fixes. |
27 |
|
|
28 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
29 |
|
new FormData (trivial by now). |
30 |
|
|
31 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
32 |
|
some bug fixes. |
33 |
|
|
34 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
35 |
|
|
36 |
|
* tools/formed/formed/model/memory.py, |
37 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
38 |
|
to dataset abstraction. This is a bit of a workaround to bring |
39 |
|
global access across pages for rule checking to work. |
40 |
|
|
41 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
42 |
|
the compiled version was not stored in the RuleLeaf. |
43 |
|
|
44 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
45 |
|
convert the expression string to ascii for compilation. |
46 |
|
|
47 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
48 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
49 |
|
with integer handler. |
50 |
|
|
51 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
52 |
|
stuff. When a submit is done extract the rules from the tree document |
53 |
|
that are effected by the modified variables and check them. |
54 |
|
|
55 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
56 |
|
when dealing with templates. |
57 |
|
|
58 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
59 |
|
* tools/formed/formed/plugins/web/controllers.py, |
60 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
61 |
|
functions into renderer.py. New render classes are: |
62 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
63 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
64 |
|
|
65 |
|
Note: The new methods are only called from selected handlers. Other |
66 |
|
handlers call the renderes in the old way. |
67 |
|
|
68 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
69 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
70 |
|
renderer.py to form_renderer.py. This file will contain formular |
71 |
|
specfic render methods in the future. |
72 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
73 |
|
which will contain general render methods. |
74 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
75 |
|
rendering into renderer.py or form_renderer.py. This file will only |
76 |
|
contain teh handlers in the future. |
77 |
|
|
78 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
79 |
|
* tools/formed/formed/plugins/web/renderer.py, |
80 |
|
tools/formed/formed/plugins/web/controller.py: |
81 |
|
Renderes now get an instance of the formdata object to provide |
82 |
|
access the data needed to render various infoboxes etc. Handler |
83 |
|
instanciate the formdata. |
84 |
|
|
85 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
86 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
87 |
|
getFormData interface to work. Added two small semantic fixes, but |
88 |
|
did not manage to get it up. Need to exime this a little bit more |
89 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
90 |
|
around the menus on the right side to be able to assign different |
91 |
|
styles. Added dataset actions while editing a dataset. |
92 |
|
|
93 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
94 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
95 |
|
removing unwanted del method |
96 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
97 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
98 |
|
templates as well for larger information units like the dataset summary. |
99 |
|
|
100 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
101 |
|
|
102 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
103 |
|
method to document to find index of page. |
104 |
|
|
105 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
106 |
|
to fetch data from semantic box. |
107 |
|
|
108 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
109 |
|
FormData implementation to support DB and semantic box. |
110 |
|
|
111 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
112 |
|
|
113 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
114 |
|
error message. |
115 |
|
|
116 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
117 |
|
dataset from backend each time a page is up to edit. |
118 |
|
|
119 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
120 |
|
|
121 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
122 |
|
returns "Page not found" if given page is None. |
123 |
|
|
124 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
125 |
|
to avoid crashing when ask for a non-existent page. |
126 |
|
|
127 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
130 |
|
|
131 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
132 |
|
|
133 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
134 |
|
and renderers. |
135 |
|
|
136 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
137 |
|
and renderers now. TODO: Move renderers to renderer.py |
138 |
|
|
139 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
140 |
|
|
141 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
142 |
|
and bound in the the new added functions to create, edit, delete and |
143 |
|
show formdata. |
144 |
|
|
145 |
2007-09-05 Sascha L. Teichmann <[email protected]> |
2007-09-05 Sascha L. Teichmann <[email protected]> |
146 |
|
|
147 |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
* tools/formed/formed/model/memory.py: Removed bisect and use a |
150 |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
151 |
of different sizes. |
of different sizes. |
152 |
|
|
153 |
2007-09-05 Torsten Irlaender <[email protected]> |
2007-09-05 Torsten Irlaender <[email protected]> |
154 |
|
|
155 |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
156 |
fuction |
fuction |
184 |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
185 |
and do not catch them. |
and do not catch them. |
186 |
|
|
187 |
2007-09-04 Torsten Irlaender <[email protected]> |
2007-09-04 Torsten Irlaender <[email protected]> |
188 |
|
|
189 |
* tools/formed/formed/plugins/web/renderer.py, |
* tools/formed/formed/plugins/web/renderer.py, |
190 |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
227 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
228 |
texts now. |
texts now. |
229 |
|
|
230 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
231 |
|
|
232 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
233 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
234 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
235 |
attributes. |
attributes. |
236 |
|
|
237 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
238 |
|
|
239 |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
240 |
errors in template |
errors in template |