1 |
|
2007-09-05 Sascha L. Teichmann <[email protected]> |
2 |
|
|
3 |
|
* tools/formed/formed/model/memory.py: Removed bisect and use a |
4 |
|
simple linear scan for dataset lookup now. |
5 |
|
|
6 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed various issues |
7 |
|
of different sizes. |
8 |
|
|
9 |
|
2007-09-05 Torsten Irlaender <[email protected]> |
10 |
|
|
11 |
|
* tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById |
12 |
|
fuction |
13 |
|
|
14 |
|
* tools/formed/formed/plugins/web/persistent.py: Added store() method |
15 |
|
to the DataSet interface |
16 |
|
|
17 |
|
* tools/formed/formed/plugins/web/renderer.py: Added handlers and |
18 |
|
renderes for create, update, delete and show actions on formular data. |
19 |
|
|
20 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
21 |
|
|
22 |
|
* tools/formed/formed/plugins/web/server.py: The mapping |
23 |
|
to methods is now driven by regualar expressions and |
24 |
|
a dictionary. Response objects are now able to send |
25 |
|
error codes. |
26 |
|
|
27 |
|
* tools/formed/formed/plugins/web/renderer.py: Fixed an issue |
28 |
|
when help in Formdata is None. Moved text for help into |
29 |
|
a top level '''...''' variable. |
30 |
|
|
31 |
|
* tools/formed/test-data/simple.xml: Added test for help. |
32 |
|
|
33 |
|
* tools/formed/formed/plugins/web/help.py: extra None check. |
34 |
|
|
35 |
|
* tools/formed/formed/plugins/web/plugin.py: Uses the new |
36 |
|
table driven mapping of reguest handling. TODO: split the |
37 |
|
WebPlugIn.pageHandler() method further to smaller handlers. |
38 |
|
Smaller clean ups and better exception handling. |
39 |
|
|
40 |
|
* tools/formed/formed/plugins/web/cache.py: Report OSErrors |
41 |
|
and do not catch them. |
42 |
|
|
43 |
|
2007-09-04 Torsten Irlaender <[email protected]> |
44 |
|
|
45 |
|
* tools/formed/formed/plugins/web/renderer.py, |
46 |
|
* tools/formed/formed/plugins/web/plugin.py: Added Interface to |
47 |
|
the HelpProvider and inserted help icons to the html output. |
48 |
|
Added decorator for Formelemnts, so textfields, choices etc. are now |
49 |
|
within a <div> tag. |
50 |
|
Modified the error messages. |
51 |
|
|
52 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
53 |
|
|
54 |
|
* tools/formed/formed/plugins/web/cache.py: New. Implements |
55 |
|
the server-side caching more clean. Fixes a bug with |
56 |
|
serving static content. |
57 |
|
|
58 |
|
* tools/formed/formed/plugins/web/plugin.py: Use the new cache. |
59 |
|
|
60 |
|
2007-09-04 Sascha L. Teichmann <[email protected]> |
61 |
|
|
62 |
|
* tools/formed/formed/plugins/web/plugin.py: Set MIME type |
63 |
|
to "application/xhtml+xml" when serving help texts. |
64 |
|
|
65 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
66 |
|
|
67 |
|
* tools/formed/formed/plugins/export/diff.py: New. Exports |
68 |
|
pairwise differences between all modes. |
69 |
|
|
70 |
|
* tools/formed/formed/config.py: Use new export filter. |
71 |
|
|
72 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
73 |
|
|
74 |
|
* tools/formed/formed/plugins/web/help.py: New. Parses an |
75 |
|
XHTML document for id'ed divs and builds a help lookup. |
76 |
|
|
77 |
|
* tools/formed/formed/plugins/web/www/help.tmpl: Template for |
78 |
|
the help content frame. |
79 |
|
|
80 |
|
* tools/formed/formed/plugins/web/www/help.xhtml: Some simple |
81 |
|
help text index. |
82 |
|
|
83 |
|
* tools/formed/formed/plugins/web/plugin.py: Serves the help |
84 |
|
texts now. |
85 |
|
|
86 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
87 |
|
|
88 |
|
* tools/formed/formed/plugins/web/plugin.py: Only visible group |
89 |
|
elements will be rendered in the formular navigation. |
90 |
|
Formular pages in the navigation now have their own css-style |
91 |
|
attributes. |
92 |
|
|
93 |
|
2007-09-03 Torsten Irlaender <[email protected]> |
94 |
|
|
95 |
|
* tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page |
96 |
|
errors in template |
97 |
|
* tools/formed/formed/plugins/web/plugin.py: Fixed undefined |
98 |
|
pageerrors variable |
99 |
|
|
100 |
|
2007-09-03 Frank Koormann <[email protected]> |
101 |
|
|
102 |
|
* tools/formed/formed/plugins/export/html.py |
103 |
|
(RecursiveExporter): Added annotation to export |
104 |
|
(fillRow()): Renamed old fillNine to this more generic name. |
105 |
|
|
106 |
|
|
107 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
108 |
|
|
109 |
|
* tools/formed/formed/plugins/web/renderer.py: Using the decorator |
110 |
|
from model.misc now. |
111 |
|
|
112 |
|
2007-09-03 Sascha L. Teichmann <[email protected]> |
113 |
|
|
114 |
|
* tools/formed/formed/model/nodecomponents.py: Added an |
115 |
|
'annotation' attribute to node components. This is to |
116 |
|
enable FormEd document authors to add comments to groups |
117 |
|
and fields. |
118 |
|
|
119 |
|
2007-09-03 Frank Koormann <[email protected]> |
120 |
|
|
121 |
|
* tools/formed/formed/model/nodecomponents.py |
122 |
|
(NodeComponent.getParent): New method to get node components parent. |
123 |
|
|
124 |
|
* tools/formed/formed/plugins/export/html.py: Export Choice option |
125 |
|
as simple list instead of collection of bools. |
126 |
|
|
127 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
128 |
|
|
129 |
|
* tools/formed/formed/model/persistent.py: Interfaces to abstract |
130 |
|
from persistent storage details. |
131 |
|
|
132 |
|
* tools/formed/formed/model/memory.py: In core implementation |
133 |
|
of the persistent interfaces. |
134 |
|
|
135 |
|
* tools/formed/formed/main.py: Holds a memory data store now. |
136 |
|
|
137 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
138 |
|
|
139 |
|
* tools/formed/formed/plugins/export/sql.py, |
140 |
|
tools/formed/formed/plugins/export/html.py: Fixed constructor chains |
141 |
|
for FileDialogFilter sub classes. |
142 |
|
|
143 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
144 |
|
|
145 |
|
* tools/formed/formed/model/misc.py: Checking the mode in recursive |
146 |
|
tree traversals is a common task. To ease this a decorator function |
147 |
|
checkMode in union with sub classing ModeChecker can be used. |
148 |
|
To make it work simply subclass from ModeChecker and add the decorator |
149 |
|
to the methods that need mode tracking. Before you start the recursion |
150 |
|
call self.prepareDescent(). |
151 |
|
|
152 |
|
* tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme |
153 |
|
now which replace the old. TODO: Make the web renderer use the new scheme |
154 |
|
too. |
155 |
|
|
156 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
157 |
|
|
158 |
|
* tools/formed/formed/plugins/export/sql.py: Removed needless import. |
159 |
|
|
160 |
|
* tools/formed/formed/plugins/export/html.py: HTML table exporter |
161 |
|
uses new FileDialogFilter base class too. |
162 |
|
|
163 |
|
2007-09-02 Sascha L. Teichmann <[email protected]> |
164 |
|
|
165 |
|
* tools/formed/formed/plugins/ui/*: New. All file exporters |
166 |
|
need a file dialog. Till now each of them pulled up its |
167 |
|
own. This was silly code replication. Now there is an abstract |
168 |
|
base class 'FileDialogFilter' which implements the common |
169 |
|
behavior. The file exporters should subclass it. |
170 |
|
|
171 |
|
* tools/formed/formed/plugins/export/sql.py: Subclass the SQL |
172 |
|
exporters from the new base class. TODO: Subclass the HTML |
173 |
|
exporter too. |
174 |
|
|
175 |
2007-08-31 Sascha L. Teichmann <[email protected]> |
2007-08-31 Sascha L. Teichmann <[email protected]> |
176 |
|
|
177 |
* tools/formed/formed/plugins/export/html.py: Make mode check |
* tools/formed/formed/plugins/export/html.py: Make mode check |