1 |
|
2007-10-05 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/plugins/web/help.py: Added a 'hasHelp' |
4 |
|
method. Could be cheaper for some implementations of help. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Modified |
7 |
|
FormData to have distinct getData(), getHelp() and getError() |
8 |
|
methods. Various bug fixes. |
9 |
|
|
10 |
|
* tools/formed/formed/plugins/web/controllers.py: Implements the |
11 |
|
new FormData (trivial by now). |
12 |
|
|
13 |
|
* tools/formed/formed/plugins/web/renderer.py: New FormData and |
14 |
|
some bug fixes. |
15 |
|
|
16 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
17 |
|
|
18 |
|
* tools/formed/formed/model/memory.py, |
19 |
|
tools/formed/formed/model/persistent.py: Add a getValue() method |
20 |
|
to dataset abstraction. This is a bit of a workaround to bring |
21 |
|
global access across pages for rule checking to work. |
22 |
|
|
23 |
|
* tools/formed/formed/model/data.py: Fixed: When setting a new expression |
24 |
|
the compiled version was not stored in the RuleLeaf. |
25 |
|
|
26 |
|
* tools/formed/formed/model/expr.py: shlex lexer does not like unicode. |
27 |
|
convert the expression string to ascii for compilation. |
28 |
|
|
29 |
|
* tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because |
30 |
|
valid data is stored to the dataset immediately now. Fixed a bug |
31 |
|
with integer handler. |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box' |
34 |
|
stuff. When a submit is done extract the rules from the tree document |
35 |
|
that are effected by the modified variables and check them. |
36 |
|
|
37 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed exception handling |
38 |
|
when dealing with templates. |
39 |
|
|
40 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
41 |
|
* tools/formed/formed/plugins/web/controllers.py, |
42 |
|
tools/formed/formed/plugins/web/renderer.py: Moved more render |
43 |
|
functions into renderer.py. New render classes are: |
44 |
|
DataSetDigestRenderer, DataSetNavigationRenderer, |
45 |
|
DataSetFormularRenderer, ConfirmationDialogRenderer |
46 |
|
|
47 |
|
Note: The new methods are only called from selected handlers. Other |
48 |
|
handlers call the renderes in the old way. |
49 |
|
|
50 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
51 |
|
* tools/formed/formed/plugins/web/form_renderer.py: Renamed |
52 |
|
renderer.py to form_renderer.py. This file will contain formular |
53 |
|
specfic render methods in the future. |
54 |
|
* tools/formed/formed/plugins/web/renderer.py: Added new renderer.py |
55 |
|
which will contain general render methods. |
56 |
|
* tools/formed/formed/plugins/web/controllers.py: Began to move all |
57 |
|
rendering into renderer.py or form_renderer.py. This file will only |
58 |
|
contain teh handlers in the future. |
59 |
|
|
60 |
|
2007-09-07 Torsten Irlaender <[email protected]> |
61 |
|
* tools/formed/formed/plugins/web/renderer.py, |
62 |
|
tools/formed/formed/plugins/web/controller.py: |
63 |
|
Renderes now get an instance of the formdata object to provide |
64 |
|
access the data needed to render various infoboxes etc. Handler |
65 |
|
instanciate the formdata. |
66 |
|
|
67 |
|
2007-09-06 Torsten Irlaender <[email protected]> |
68 |
|
* tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the |
69 |
|
getFormData interface to work. Added two small semantic fixes, but |
70 |
|
did not manage to get it up. Need to exime this a little bit more |
71 |
|
* tools/formed/formed/plugins/web/controllers.py: Put <div> tags |
72 |
|
around the menus on the right side to be able to assign different |
73 |
|
styles. Added dataset actions while editing a dataset. |
74 |
|
|
75 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
76 |
|
* tools/formed/formed/model/memory.py: Fixed deleting datasets by |
77 |
|
removing unwanted del method |
78 |
|
* tools/formed/formed/plugins/web/controllers.py: Implemented |
79 |
|
confiration dialogs for create, delete, and select aof datasets. Started to use |
80 |
|
templates as well for larger information units like the dataset summary. |
81 |
|
|
82 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
83 |
|
|
84 |
|
* tools/formed/formed/model/nodecomponents.py: Added a |
85 |
|
method to document to find index of page. |
86 |
|
|
87 |
|
* tools/formed/formed/plugins/web/semantic.py: Added getValue() |
88 |
|
to fetch data from semantic box. |
89 |
|
|
90 |
|
* tools/formed/formed/plugins/web/controllers.py: Added new |
91 |
|
FormData implementation to support DB and semantic box. |
92 |
|
|
93 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/web/renderer.py: escaped |
96 |
|
error message. |
97 |
|
|
98 |
|
* tools/formed/formed/plugins/web/controllers.py: Don't fetch |
99 |
|
dataset from backend each time a page is up to edit. |
100 |
|
|
101 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
102 |
|
|
103 |
|
* tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer |
104 |
|
returns "Page not found" if given page is None. |
105 |
|
|
106 |
|
* tools/formed/formed/plugins/web/controllers.py: Added checks |
107 |
|
to avoid crashing when ask for a non-existent page. |
108 |
|
|
109 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
110 |
|
|
111 |
|
* tools/formed/formed/plugins/web/controllers.py: Some clean-ups. |
112 |
|
|
113 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
114 |
|
|
115 |
|
* tools/formed/formed/plugins/web/plugin.py: Remove request handlers |
116 |
|
and renderers. |
117 |
|
|
118 |
|
* tools/formed/formed/plugins/web/controllers.py: New. Contains handlers |
119 |
|
and renderers now. TODO: Move renderers to renderer.py |
120 |
|
|
121 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
122 |
|
|
123 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template |
124 |
|
and bound in the the new added functions to create, edit, delete and |
125 |
|
show formdata. |
126 |
|
|
127 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
130 |
|
simple linear scan for dataset lookup now. |
131 |
|
|
132 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
133 |
|
of different sizes. |
134 |
|
|
135 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
136 |
|
|
137 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
138 |
|
fuction |
139 |
|
|
140 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
141 |
|
to the DataSet interface |
142 |
|
|
143 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
144 |
|
renderes for create, update, delete and show actions on formular data. |
145 |
|
|
146 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
147 |
|
|
148 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
149 |
|
to methods is now driven by regualar expressions and |
150 |
|
a dictionary. Response objects are now able to send |
151 |
|
error codes. |
152 |
|
|
153 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
154 |
|
when help in Formdata is None. Moved text for help into |
155 |
|
a top level '''...''' variable. |
156 |
|
|
157 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
158 |
|
|
159 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
160 |
|
|
161 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
162 |
|
table driven mapping of reguest handling. TODO: split the |
163 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
164 |
|
Smaller clean ups and better exception handling. |
165 |
|
|
166 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
167 |
|
and do not catch them. |
168 |
|
|
169 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
170 |
|
|
171 |
|
* tools/formed/formed/plugins/web/renderer.py, |
172 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
173 |
|
the HelpProvider and inserted help icons to the html output. |
174 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
175 |
|
within a <div> tag. |
176 |
|
Modified the error messages. |
177 |
|
|
178 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
179 |
|
|
180 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
181 |
|
the server-side caching more clean. Fixes a bug with |
182 |
|
serving static content. |
183 |
|
|
184 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
185 |
|
|
186 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
187 |
|
|
188 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
189 |
|
to "application/xhtml+xml" when serving help texts. |
190 |
|
|
191 |
2007-09-03 Sascha L. Teichmann <[email protected]> |
2007-09-03 Sascha L. Teichmann <[email protected]> |
192 |
|
|
193 |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
* tools/formed/formed/plugins/export/diff.py: New. Exports |
209 |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
210 |
texts now. |
texts now. |
211 |
|
|
212 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
213 |
|
|
214 |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
215 |
elements will be rendered in the formular navigation. |
elements will be rendered in the formular navigation. |
216 |
Formular pages in the navigation now have their own css-style |
Formular pages in the navigation now have their own css-style |
217 |
attributes. |
attributes. |
218 |
|
|
219 |
2007-09-03 Torsten Irlaender <[email protected]> |
2007-09-03 Torsten Irlaender <[email protected]> |
220 |
|
|
221 |
* 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 |
222 |
errors in template |
errors in template |