/[formed]/trunk/ChangeLog
ViewVC logotype

Annotation of /trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 266 - (hide annotations)
Tue Apr 29 10:10:16 2008 UTC (16 years, 9 months ago) by teichmann
File size: 72452 byte(s)
Added annotations to fields in XSD export


1 teichmann 264 2008-04-29 Sascha L. Teichmann <[email protected]>
2    
3 teichmann 266 * tools/formed/formed/plugins/export/xsd.py: Added annotations
4     to fields.
5    
6     2008-04-29 Sascha L. Teichmann <[email protected]>
7    
8 teichmann 265 * tools/formed/formed/plugins/export/xsd.py: Added for
9     choice fields.
10    
11     2008-04-29 Sascha L. Teichmann <[email protected]>
12    
13 teichmann 264 * tools/formed/formed/plugins/export/xsd.py: Added support for
14     boolean fields based on enumerations.
15    
16 teichmann 261 2008-04-28 Sascha L. Teichmann <[email protected]>
17    
18 teichmann 262 * tools/formed/formed/plugins/export/xsd.py: Added support for
19 teichmann 263 date, text and textarea fields.
20    
21     2008-04-28 Sascha L. Teichmann <[email protected]>
22    
23     * tools/formed/formed/plugins/export/xsd.py: Added support for
24 teichmann 262 repeat groups and integer fields.
25    
26     2008-04-28 Sascha L. Teichmann <[email protected]>
27    
28 teichmann 261 * tools/formed/formed/plugins/export/xsd.py: New. plug-in for
29     exporting as XML schema. not ready, yet.
30    
31     * tools/formed/formed/config.py: Use new plug-in.
32    
33     * tools/formed/formed/plugins/export/sql.py: Fixed wrong GUI text.
34    
35 torsten 260 2008-04-17 Torsten Irländer <[email protected]>
36    
37     * tools/formed/formed/plugins/export/sql.py: Changed WHERE clause in
38     for the views because of the new group permissions.
39    
40 teichmann 259 2008-04-09 Sascha L. Teichmann <[email protected]>
41    
42     * tools/anonym/cron.deleteOldAnonymized.sh: New. cron job to delete
43     old anonymized cases.
44    
45 teichmann 258 2008-04-01 Sascha L. Teichmann <[email protected]>
46    
47     * tools/anonym/xmlexport.py: Removed "WHERE einverstaendniserklaerung = 1"
48     from clause to select datasets.
49     Replace ']]>' in CDATA sections with correct splitted replacement.
50    
51 teichmann 256 2008-03-12 Sascha L. Teichmann <[email protected]>
52 torsten 257
53     * tools/anonym/cron.importAnonXml.sh: Added absolut path to xmlimport
54     script.
55 teichmann 256
56 torsten 257 * tools/anonym/xmlimport.py: commented out database port from
57     connectionstring.
58    
59     2008-03-12 Sascha L. Teichmann <[email protected]>
60    
61 teichmann 256 * tools/formed/formed/plugins/export/sql.py: Fixed bug in generation
62     of anonymization of repeat groups (wrong id was given).
63    
64 teichmann 252 2008-03-11 Sascha L. Teichmann <[email protected]>
65    
66 teichmann 255 * tools/formed/formed/plugins/export/sql.py: Generate no update
67     statements for relations which have no anonym functions applied.
68    
69     2008-03-11 Sascha L. Teichmann <[email protected]>
70    
71 teichmann 254 * tools/formed/formed/plugins/export/sql.py: Added a newline after
72     'COMMIT;' in the last line.
73    
74     2008-03-11 Sascha L. Teichmann <[email protected]>
75    
76 teichmann 253 * tools/formed/formed/plugins/export/sql.py: Fixed syntax of
77     generated anonymize_case() function.
78    
79     2008-03-11 Sascha L. Teichmann <[email protected]>
80    
81 teichmann 252 * tools/formed/formed/plugins/export/sql.py: Added code to
82     generate a plpgsql function anonymize_case() that anonymized
83     a given case and all of its depending repeat groups.
84    
85 teichmann 251 2008-03-06 Sascha L. Teichmann <[email protected]>
86    
87     * tools/anonym/xmlimport.py: remove print of insert statement.
88    
89     * tools/formed/formed/plugins/export/sql.py: Print generation date in ISO.
90    
91 torsten 247 2008-03-03 Torsten Irländer <[email protected]>
92    
93     * anonym/cron.sendAnonXml.sh,
94     anonym/getDbList.sh: Modified script to be used directly in the
95     production environment (Copied running scripts from production
96     server)
97    
98 torsten 257 * cron.importAnonXml.sh: Added deleting of ols cases. Modified script
99     to be used in a production environment (Cpoied running script from
100     production server)
101    
102     * tools/anonym/xmlexport.py: Added "WHERE" clause to SQL-Statement to
103     ensure that only valid cases get exported
104    
105 teichmann 242 2008-02-27 Sascha L. Teichmann <[email protected]>
106 teichmann 244
107 teichmann 245 * tools/anonym/xmlimport.py: Fixed bug in date converter.
108    
109     2008-02-27 Sascha L. Teichmann <[email protected]>
110    
111 teichmann 244 * tools/anonym/xmlimport.py: Simpilied version
112    
113     2008-02-27 Sascha L. Teichmann <[email protected]>
114    
115 teichmann 242 * tools/anonym/cron.importAnonXml.sh: Add sudo call for
116     xmlimport.py and parameters.
117    
118     * tools/anonym/xmlimport.py: Various bug fixes. Not working yet. :-/
119    
120     * tools/anonym/xmlexport.py: Use python interpreter without env
121     because of sudo context.
122    
123 teichmann 240 2008-02-26 Sascha L. Teichmann <[email protected]>
124    
125 teichmann 241 * tools/anonym/xmlimport.py: added support for getopt. add
126     support to force in fkz in import of case.
127    
128     2008-02-26 Sascha L. Teichmann <[email protected]>
129    
130 teichmann 240 * tools/anonym/xmlimport.py: Implemented logic to create/update cases.
131    
132     * tools/anonym/html.awk: produces valid HTML.
133    
134 teichmann 239 2008-02-25 Sascha L. Teichmann <[email protected]>
135    
136     * tools/anonym/joincsv.py: Fix a logic bug.
137    
138 teichmann 238 2008-02-25 Torsten Irlaender <[email protected]>
139 torsten 237
140     * tools/anonym/cron.importAnonXml.sh: Added shellscript for importing
141     exportted cases. It will read all files from a directory and import
142     the files into the DB. After that the script will cleanup the
143     directory.
144    
145 torsten 247 2008-02-25 Torsten Irländer <[email protected]>
146    
147     * tools/anonym/cron.sendAnonXml.sh,
148     tools/anonym/xmlexport.py,
149     tools/anonym/getDbList.sh: Added shell-scripts for exporting cases
150    
151 teichmann 233 2008-02-25 Sascha L. Teichmann <[email protected]>
152    
153 teichmann 238 * tools/anonym/joincsv.py: Fixed typo which generated wrong number of cols.
154    
155     2008-02-25 Sascha L. Teichmann <[email protected]>
156    
157 teichmann 236 * tools/anonym/joincsv.py: New. Joins CSV files.
158    
159     * tools/anonym/html.awk: New. Converts CSV to HTML
160    
161     2008-02-25 Sascha L. Teichmann <[email protected]>
162    
163 teichmann 234 * tools/anonym/xmlimport.py: New. Added generation of
164     update statements.
165    
166     2008-02-25 Sascha L. Teichmann <[email protected]>
167    
168 teichmann 233 * tools/anonym/xmlimport.py: New. Base for importing
169     XML from cron.
170    
171 teichmann 232 2008-02-24 Sascha L. Teichmann <[email protected]>
172 teichmann 233
173 teichmann 232 * tools/formed/formed/plugins/export/html2.py: New. plug-in
174     for a simplified HTML output
175    
176     * tools/formed/formed/plugins/export/typemap.py: New. plug-in
177     for dump schema as python dictionary.
178    
179     * tools/formed/formed/config.py: Enable new plug-ins. Out comment
180     old stored procedure and view generators.
181    
182 teichmann 231 2008-02-19 Sascha L. Teichmann <[email protected]>
183    
184     * tools/anonym/xmlexport.py: New. Export all cases in database
185     as XML.
186    
187 teichmann 230 2008-02-18 Sascha L. Teichmann <[email protected]>
188    
189     * tools/anonym/anoymncsv.py: separate field with '\t' now.
190     all '\t's are replaced by ' ' before. '\r\n' are removed too.
191    
192 teichmann 229 2008-02-15 Sascha L. Teichmann <[email protected]>
193    
194     * tools/anonym/anoymncsv.py: simple script to fetch anonymous
195     data from database.
196    
197 teichmann 228 2008-02-14 Sascha L. Teichmann <[email protected]>
198    
199     * tools/formed/formed/plugins/export/sql.py: Exchanged name
200     erase_value with suppress_value/suppress_value2.
201    
202 teichmann 224 2008-02-13 Sascha L. Teichmann <[email protected]>
203    
204 teichmann 226 * tools/formed/formed/plugins/export/sql.py: output id, master_id
205 teichmann 227 substitute 'erase_value' with NULL value.
206    
207     2008-02-13 Sascha L. Teichmann <[email protected]>
208    
209     * tools/formed/formed/plugins/export/sql.py: output id, master_id
210 teichmann 226 and uuid_id in anonymiziation views too.
211    
212     2008-02-13 Sascha L. Teichmann <[email protected]>
213    
214 teichmann 225 * tools/formed/formed/plugins/export/sql.py: Added generation
215     of anonymiziation views for master table views and repeat group
216     views.
217    
218     2008-02-13 Sascha L. Teichmann <[email protected]>
219    
220 teichmann 224 * tools/formed/formed/model/nodecomponents.py: Added attribute
221     "function"
222    
223     * tools/formed/formed/io/document.py: Save attributes in
224     alphabetical order.
225    
226 teichmann 223 2008-02-02 Sascha L. Teichmann <[email protected]>
227    
228     * tools/formed/formed/plugins/export/sql.py: Added update rule
229     for master table and repeat groups views. Granted update right
230     to :cm_ka_group.
231    
232 teichmann 222 2008-02-01 Sascha L. Teichmann <[email protected]>
233    
234     * tools/formed/formed/plugins/export/sql.py: Added a column 'uuid_id'
235     for master table and repeat groups. Also added unique constraints
236     to these columns.
237    
238 teichmann 221 2007-12-10 Sascha L. Teichmann <[email protected]>
239    
240     * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Added a system
241     property 'root.element' to specify the name of the XML root.
242    
243     * pdf2xfa/startup/pdf2xfa.sh, pdf2xfa/README.TXT: Adjusted.
244    
245 teichmann 220 2007-11-22 Sascha L. Teichmann <[email protected]>
246    
247     * pdf2xfa/startup, */pdf2xfa.sh, */pdf2xfa.init: boot scripts
248     for GNU/Linux (tested Debian 'Etch' 4.0) by Sascha Wilde.
249    
250     * pdf2xfa/README.TXT: Add a remark to new boot scripts.
251    
252 teichmann 219 2007-11-21 Sascha L. Teichmann <[email protected]>
253    
254     * pdf2xfa/src/de/intevation/pdfimport/Log.java: New.
255     Sends logging to file.
256    
257     * pdf2xfa/src/de/intevation/pdfimport/Server.java,
258     pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Adjusted
259     to use new logging.
260    
261     * pdf2xfa/README.TXT: Added remark how to use logging.
262    
263 frank 217 2007-11-16 Frank Koormann <[email protected]>
264    
265     * tools/formed/formed/plugins/export/sql.py (createSchema):
266     Append only column "bearbeiter_id", standins are modelled by a
267     separate table.
268    
269 teichmann 218 2007-11-16 Sascha L. Teichmann <[email protected]>
270    
271     * tools/formed/formed/model/data.py,
272     tools/formed/formed/plugins/web/view_renderer.py:
273     Added an invisible flag for info fields.
274    
275 teichmann 216 2007-11-07 Sascha L. Teichmann <[email protected]>
276 teichmann 215
277 teichmann 216 * tools/formed/formed/model/nodecomponents.py: Fixed a few small bugs
278     (calling a wrong method).
279    
280     2007-11-07 Sascha L. Teichmann <[email protected]>
281    
282 teichmann 215 * tools/formed/formed/model/nodecomponents.py: Added a field
283     'alternative' to all node components. This might be of help to
284     match PDF imports where the descriptions do not match.
285    
286 frank 213 2007-10-23 Frank Koormann <[email protected]>
287    
288 frank 214 * tools/formed/formed/plugins/export/sql.py: New WHERE-Clause for views
289    
290     2007-10-23 Frank Koormann <[email protected]>
291    
292 frank 213 * tools/formed/formed/plugins/export/sql.py: Set default
293     value (-1) for choices and bools.
294    
295 frank 211 2007-10-21 Frank Koormann <[email protected]>
296 frank 212
297     * tools/formed/formed/plugins/export/sql.py: Grant statements for
298     descriptive tables added.
299     (Table.getName): new
300    
301     2007-10-21 Frank Koormann <[email protected]>
302    
303 frank 211 * tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE"
304     statements for views and roles to make updates easier.
305     Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.
306    
307 frank 210 2007-10-19 Frank Koormann <[email protected]>
308 frank 212
309 frank 210 * tools/formed/formed/plugins/export/sql.py: Added GRANT statements
310     for views. The statements are prepared for variable substitution
311     when executing the SQL-scripts by psql.
312    
313 teichmann 209 2007-10-18 Sascha L. Teichmann <[email protected]>
314    
315     * pdf2xfa/src/de/intevation/pdfimport/ClientHandler.java: Fixed:
316     End of result XML was truncated because of an unflushed buffer.
317    
318 teichmann 208 2007-10-17 Sascha L. Teichmann <[email protected]>
319    
320     * pdf2xfa/bin/build-jar.sh: New. Build production jar file.
321    
322     * pdf2xfa/README.TXT: Adjusted how to build production jar file
323     and how to use it.
324    
325     * pdf2xfa/etc, pdf2xfa/etc/manifest.txt: New. Defines main class
326     and iText dependency.
327    
328 teichmann 207 2007-10-16 Sascha L. Teichmann <[email protected]>
329    
330     * tools/formed/formed/plugins/export/sql.py: Model 'Ja, Nein, Keine Angabe'
331     are not modeled as BOOLEANs any more. That simpifies the conversion
332     process web vs. db.
333    
334 teichmann 202 2007-10-07 Sascha L. Teichmann <[email protected]>
335    
336 teichmann 206 * tools/formed/formed/plugins/export/sql.py: Added the remaining
337     UPDATE rules.
338    
339     2007-10-07 Sascha L. Teichmann <[email protected]>
340    
341 teichmann 205 * tools/formed/formed/plugins/export/sql.py: Added UPDATE rules for some
342     views. TODO: Test'em and implement the rest.
343    
344     2007-10-07 Sascha L. Teichmann <[email protected]>
345    
346 teichmann 204 * tools/formed/formed/plugins/export/sql.py: Bug fix. DELETE and INSERT
347     rules referenced none existing views.
348    
349     2007-10-07 Sascha L. Teichmann <[email protected]>
350    
351 teichmann 203 * tools/formed/formed/plugins/export/sql.py: Added DELETE and INSERT
352     rules for views. TODO: add UPDATE rules.
353    
354     2007-10-07 Sascha L. Teichmann <[email protected]>
355    
356 teichmann 202 * tools/formed/formed/plugins/export/old_sql.py: New. Contains
357     the legacy SQL export filters.
358    
359     * tools/formed/formed/plugins/export/sql.py: Factored out the
360     legacy SQL export filters to old_sql.
361    
362     * tools/formed/formed/config.py: Adjusted to fetch legacy
363     filters from old_sql.
364    
365 teichmann 201 2007-10-06 Sascha L. Teichmann <[email protected]>
366 teichmann 197
367 teichmann 201 * pdf2xfa/**: Initial import of the PDF to XFA server.
368    
369     2007-10-06 Sascha L. Teichmann <[email protected]>
370    
371 teichmann 200 * tools/formed/formed/plugins/export/sql.py: Fixed bug
372     that made choices of three elements to booleans if
373     they have other meanings than 'Ja', 'Nein', 'keine Angabe'.
374    
375 teichmann 201 2007-10-05 Sascha L. Teichmann <[email protected]>
376 teichmann 200
377 teichmann 199 * tools/formed/formed/plugins/export/sql.py: Select ids of
378     underlaying tables in views too.
379    
380     2007-10-04 Sascha L. Teichmann <[email protected]>
381    
382 teichmann 198 * tools/formed/formed/plugins/export/sql.py: Create schema inside transaction.
383     Various bug fixes.
384    
385     2007-10-04 Sascha L. Teichmann <[email protected]>
386    
387 teichmann 197 * tools/formed/formed/model/data.py: Added GroupNode.allWidgets()
388     to extract fields from embedded repeat groups.
389    
390     * tools/formed/formed/plugins/export/sql.py: The SQL exporter exports
391     views per page too. Result not tested yet.
392    
393 teichmann 195 2007-10-01 Sascha L. Teichmann <[email protected]>
394    
395 teichmann 196 * tools/formed/formed/plugins/web/view_renderer.py: Ignore
396     in-page repeat groups while rendering pages.
397    
398     2007-10-01 Sascha L. Teichmann <[email protected]>
399    
400 teichmann 195 * tools/formed/formed/model/nodecomponents.py: Added visitor
401     traversals for document trees.
402    
403     * tools/formed/formed/model/data.py: Rewrote the
404     Page.allWidgets() method to use new visitor for
405     tree traversal.
406    
407 torsten 194 2007-09-27 Torsten Irlaender <[email protected]>
408 teichmann 195
409 torsten 194 * tools/formed/formed/plugins/names/filter.py: Pages are now included
410     in the rename by formular name algorithm
411    
412 teichmann 192 2007-09-26 Sascha L. Teichmann <[email protected]>
413    
414 teichmann 193 * tools/formed/formed/model/data.py: Removed old {next|prev}Page()
415     TODO: rewrite Page.allWidgets().
416    
417     * tools/formed/formed/model/nodecomponents.py: Added a method
418     Node.firstLevel(criterion) to walk a defined line in the tree.
419    
420     * tools/formed/formed/plugins/export/sql.py: Extract data suitable to
421     build views and respective joins.
422    
423     2007-09-26 Sascha L. Teichmann <[email protected]>
424    
425 teichmann 192 * tools/formed/formed/plugins/web/plugin.py: add 'web.tidy:' flag to
426     FORMED environment variable. If set to true tidylib is used to
427     filter HTML content to be W3C valid. To use this feature install
428     uTidylib.
429    
430     * tools/formed/formed/plugins/web/server.py: Check if MIME type is
431     text/html and filters content through tidy if requested.
432    
433 torsten 191 2007-09-25 Torsten Irlaender <[email protected]>
434 teichmann 192
435 torsten 191 * tools/formed/formed/plugins/web/view_renderer.py: Small fix and
436     cleanup of the form generation code.
437    
438 teichmann 190 2007-09-21 Sascha L. Teichmann <[email protected]>
439    
440     * tools/formed/formed/plugins/export/sql.py: Added generation time
441     and DROP TABLE statements to schema export.
442    
443 teichmann 188 2007-09-20 Sascha L. Teichmann <[email protected]>
444    
445 teichmann 189 * tools/formed/formed/plugins/export/sql.py: The tables are generated
446     in correct topolocial order now.
447    
448     2007-09-20 Sascha L. Teichmann <[email protected]>
449    
450 teichmann 188 * tools/formed/formed/plugins/export/mode.py: New. Filter to export
451     a document with items that are in given mode.
452    
453     * tools/formed/formed/model/nodecomponents.py: Added methods to clone
454     trees depending on selected modes.
455    
456     * tools/formed/formed/model/data.py, tools/formed/formed/model/expr.py:
457     Fixed clone issue with RuleNodes.
458    
459     * tools/formed/formed/config.py: Use new plug-in.
460    
461 teichmann 187 2007-09-17 Sascha L. Teichmann <[email protected]>
462    
463     * tools/formed/formed/plugins/web/view_renderer.py: Make the
464     view renderer a real view renderer. It takes a list of
465     items now and not only a single page.
466    
467     * tools/formed/formed/plugins/web/renderer.py: Feed a list
468     of items to the view renderer.
469    
470 torsten 186 2007-09-17 Torsten Irlaender <[email protected]>
471 teichmann 187
472 torsten 186 * tools/formed/formed/plugins/web/view_renderer.py:
473     Small tweaks in rendering bools.
474     RadioNodes (with all its children) can now be placed in a container.
475     The radiobools will not get a surrounding <div> anymore.
476     I am not sure if the new way results in the wanted behaivor, but the
477     rendering results are much better now :)
478     Maybe we need a similar approach for checkboxes?
479     Rendering groups is still broken in some way.
480    
481 teichmann 183 2007-09-17 Sascha L. Teichmann <[email protected]>
482    
483 teichmann 185 * tools/formed/formed/plugins/web/view_renderer.py: Fixed
484     a few bugs: Do not render empty containers, do not
485 teichmann 187 generate misplaced <br class="newline"> in choices.
486     Add a nameless container to catch the items that are
487     nor explicitly assigned to a target. Removed FormData.
488 teichmann 185
489     * tools/formed/formed/plugins/web/renderer.py: Removed
490     a needless import
491    
492     2007-09-17 Sascha L. Teichmann <[email protected]>
493    
494 teichmann 184 * tools/formed/formed/plugins/web/view_renderer.py: Implemented
495     usage of 'containers' and 'target' attributes.
496    
497     * tools/formed/formed/plugins/web/controllers.py: Modified import.
498    
499     * tools/formed/formed/plugins/web/renderer.py: Use
500     new ViewRenderer.
501    
502     2007-09-17 Sascha L. Teichmann <[email protected]>
503    
504 teichmann 183 * tools/formed/formed/model/nodecomponents.py: Added attributes
505     'target' to NodeComponent and 'containers' to Node.
506    
507     * tools/formed/formed/plugins/web/view_renderer.py: New. Aimed
508     to be a replacement for form_renderer. Not ready yet!
509    
510     * ChangeLog: Fixed some indention glitches.
511    
512     2007-09-13 Torsten Irlaender <[email protected]>
513    
514 torsten 182 * tools/formed/formed/plugins/names/filter.py: Fixed bug in the
515     renaming algorithm.
516    
517 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
518    
519 torsten 181 * tools/formed/formed/plugins/web/form_renderer.py: Renamed header
520     from formular navigation to "Fallakte Inhalt"
521    
522 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
523    
524 torsten 180 * tools/formed/formed/plugins/ui/controls.py: Fixed bug that bad
525     values (dates) were not pretty printed.
526 teichmann 183
527 torsten 180 * tools/formed/formed/plugins/web/form_renderer.py: Added errormsg to
528     label rendering for choicelists.
529    
530 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
531    
532 torsten 179 * tools/formed/formed/plugins/ui/controls.py: Fixed bug that
533     choicelist did not get selected when the value is set to "0"
534    
535 teichmann 183 2007-09-12 Torsten Irlaender <[email protected]>
536    
537 torsten 178 * tools/formed/formed/plugins/web/form_renderer.py: Added
538     "getPrintableData" method, for the formdata Class which will return
539     the description rather than the value of element in the ID. This is
540     need for displaying the choises in a right way.
541    
542     * tools/formed/formed/plugins/web/renderer.py: Changed string
543     "Fallnummer" into "Kundennummer" in the templates. Added
544     Kundennummer to the dataset digest output. Bound in the new
545     "getPrintableData" call for the digest.
546    
547 teichmann 183 2007-10-11 Sascha L. Teichmann <[email protected]>
548 teichmann 176
549 teichmann 177 * tools/formed/formed/plugins/export/data.py: The import/export
550     of data is now implemented with filters (the most consequent
551 teichmann 183 way in terms of design of FormEd). The support of the 'persistent'
552     FORMED env-variable support has been removed.
553    
554 teichmann 177 * tools/formed/formed/plugins/ui/controls.py: Added a flag to the
555     filter file dialog to double as import dialog.
556    
557     * tools/formed/formed/main.py: Removed the the FORMED-var support
558     for persistence.
559    
560     * tools/formed/formed/config.py: Add the two new filters to the filters
561     list.
562    
563 teichmann 183 2007-10-11 Sascha L. Teichmann <[email protected]>
564 teichmann 177
565 teichmann 176 * tools/formed/formed/model/memory.py: Uses XML as persistence format now.
566     Removed pickle/unpickle stuff.
567    
568     * tools/formed/formed/main.py: Uses the new XML persistence.
569    
570     * tools/formed/formed/plugins/web/semantic.py: Fixed: choices were
571     not converted to int indices.
572    
573 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
574 teichmann 175
575     * tools/formed/formed/model/memory.py: Making MemoryDataStore persistent
576     with pickle/unpickle.
577    
578     * tools/formed/formed/main.py: Added a env FORMED parameter 'persistent'.
579     Set to a file name it is tried to unpickle a MemoryDataStore from
580 teichmann 183 that file. When exiting the program this file is used to store the
581     current MemoryDataStore state. The storing only works if you exit
582     the program through the Menu File->Exit.
583     usage: FORMED=persistent:test.db ./formed.sh
584 teichmann 175
585 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
586 teichmann 175
587 torsten 174 * tools/formed/formed/plugins/web/renderer.py: Changed Name of the
588     application on the welcome page from "Formed" to "WASKA"
589    
590 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
591 teichmann 175
592 torsten 172 * tools/formed/formed/plugins/web/plugin.py,
593     * tools/formed/formed/plugins/web/controllers.py,
594     * tools/formed/formed/plugins/web/renderer.py: Added InfoPageHandler.
595     The infopage provides information on all project participants.
596    
597 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
598 teichmann 171
599     * tools/formed/formed/plugins/web/controllers.py: Fix unicode conversion
600     issues with error messages (once again).
601    
602 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
603 teichmann 171
604 torsten 170 * tools/formed/formed/plugins/web/form_renderer.py,
605     * tools/formed/formed/plugins/web/renderer.py: Added alt tag for
606     icons in error and confirmation dialogs.
607    
608 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
609 teichmann 168
610 teichmann 169 * tools/formed/formed/plugins/web/form_renderer.py: Fixed label
611     generation for ints, texts and textareas. Fixed h depths of infos.
612    
613 teichmann 183 2007-09-11 Sascha L. Teichmann <[email protected]>
614 teichmann 169
615 teichmann 168 * tools/formed/formed/plugins/web/form_renderer.py: Removed
616     debug output for help.
617    
618     * tools/formed/formed/plugins/web/semantic.py: Added forgotten
619     check for bools.
620    
621     * tools/formed/formed/plugins/web/controllers.py: Added correct
622     HTML output of data for bools.
623    
624 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
625 teichmann 168
626 torsten 167 * tools/formed/formed/plugins/web/form_renderer.py: Changed size of
627     textfields for int values. Changed Label for submitbuttons to
628     "Speichern"
629 teichmann 168
630 torsten 167 * tools/formed/formed/plugins/web/plugin.py,
631     tools/formed/formed/plugins/web/controllers.py: Added new
632     NotImplementedHandler to show up a dummysite for not implemented
633     functions.
634 teichmann 168
635 torsten 167 * tools/formed/formed/plugins/web/renderer.py: Added
636     NotImplementedRenderer. Various small fixes. Mostly renaming the
637     labels of some context menus. Error messages are now generated
638     dynamically depending on num errors. Formular navigation has now
639     colored indication for errors.
640    
641 teichmann 183 2007-09-11 Torsten Irlaender <[email protected]>
642 teichmann 168
643 torsten 166 * tools/formed/formed/plugins/web/renderer.py: Implemented "LookAhead"
644     algorithm for the formular navigation to get rid of the problem
645     that some of the items within the navigation are not linked. Now
646     structural group elements are linked with the next page found in the
647     formular structure.
648    
649 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
650 torsten 165 * tools/formed/formed/plugins/web/form_renderer.py: Changed order of
651     div and formtag.
652 teichmann 168
653 torsten 165 * tools/formed/formed/plugins/web/controllers.py: Added DataSet action
654     menu in the conformation dialog when creating a new dataset.
655 teichmann 168
656 torsten 165 * tools/formed/formed/plugins/web/renderer.py: Fixed error when
657     rendering the default welcome page. Changed rendering of the
658     overview and the digest table of the datasets. Added icon for
659     confirmation dialog, moved the icon in the <h1> tags.
660    
661 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
662 teichmann 168
663 torsten 164 * tools/formed/formed/plugins/web/form_renderer.py: Some html
664     generation cleanup. Added error icons to formelements
665 teichmann 168
666 torsten 164 * tools/formed/formed/plugins/web/controllers.py: Fixed initialisation
667     of ErrorStatus. Fixed generated of the help tags in the formular
668 teichmann 168
669 torsten 164 * tools/formed/formed/plugins/web/renderer.py: Added error icon for
670     pageerrors. An "!" now indicates errors on pages in the formular
671     navigation. Added new <div> "content" around confirmation dialogss.
672     Links in confimation dialogs are now rendered as buttons. Removed
673     old obsolete OverviewRenderer.
674    
675 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
676 teichmann 163
677     * tools/formed/formed/plugins/web/renderer.py: Highlight selected
678     page in page navigation.
679    
680 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
681 teichmann 163
682 torsten 162 * tools/formed/formed/plugins/web/controllers.py: Fixed issues on
683     displaying formdata when changing datasets. Loading the right
684     formdata was not handled in a correct way. Hope it is all fixed now.
685     Left some commented code because not all sideeffects of the changes
686     are tested yet.
687 teichmann 163
688 torsten 162 * tools/formed/formed/plugins/web/renderer.py: DataSetDigestRenderer
689     now uses the correct data out of the formdata.
690    
691 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
692 teichmann 159
693 teichmann 161 * tools/formed/formed/plugins/web/controllers.py: Pretty
694     print format data (dates e.g)
695    
696 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
697 teichmann 161
698 teichmann 160 * tools/formed/formed/plugins/web/controllers.py: Modified
699     ErrorStats a bit to avoid mysterious extra error on page.
700 teichmann 183 No clue why this works.
701 teichmann 160
702 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
703 teichmann 160
704 teichmann 159 * tools/formed/formed/plugins/web/form_renderer.py: Fixed value
705     problem with radio groups, too.
706    
707 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
708 torsten 158 * tools/formed/formed/plugins/web/controllers.py: Sessions are now
709     really removed when deleting a dataset.
710    
711 teichmann 183 2007-09-10 Torsten Irlaender <[email protected]>
712 teichmann 159
713 torsten 157 * tools/formed/formed/plugins/web/controllers.py: Added new Class
714     ErrorStats which provides Information on remaining errors per page.
715 teichmann 159
716 torsten 157 * tools/formed/formed/plugins/web/renderers.py: Finished movement of
717     the renderer methods from controllers.py to renderers.py.
718 teichmann 159
719 torsten 157 * tools/formed/formed/plugins/web/plugin.py: Removed render_session
720     handlers
721 teichmann 153
722 teichmann 183 2007-09-10 Sascha L. Teichmann <[email protected]>
723 torsten 157
724 teichmann 156 * tools/formed/formed/plugins/web/form_renderer.py: values for
725     choices are generated from the document tree now. This brings
726 teichmann 183 the state storage of select boxes in HTML to live.
727 teichmann 156
728 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
729 teichmann 156
730 teichmann 155 * tools/formed/formed/plugins/web/semantic.py: Fixed problems with
731     range checking of integers.
732    
733     * tools/formed/formed/plugins/web/controllers.py: Added class
734     ErrorItem to track errors. They are stored in the session.
735    
736 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
737 teichmann 155
738 teichmann 154 * tools/formed/formed/model/nodecomponents.py: Fixed returning
739     wrong index in Document.indexOfcomponentByClassAndName.
740    
741     * tools/formed/formed/plugins/web/form_renderer.py: 'error' was
742     written 'errot' in renderer for textareas.
743    
744     * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
745    
746 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
747 teichmann 154
748 teichmann 153 * tools/formed/formed/plugins/web/help.py: Added a 'hasHelp'
749     method. Could be cheaper for some implementations of help.
750    
751     * tools/formed/formed/plugins/web/form_renderer.py: Modified
752     FormData to have distinct getData(), getHelp() and getError()
753 teichmann 183 methods. Various bug fixes.
754 teichmann 153
755     * tools/formed/formed/plugins/web/controllers.py: Implements the
756     new FormData (trivial by now).
757    
758     * tools/formed/formed/plugins/web/renderer.py: New FormData and
759     some bug fixes.
760    
761 teichmann 183 2007-09-09 Sascha L. Teichmann <[email protected]>
762 teichmann 152
763     * tools/formed/formed/model/memory.py,
764     tools/formed/formed/model/persistent.py: Add a getValue() method
765 teichmann 183 to dataset abstraction. This is a bit of a workaround to bring
766     global access across pages for rule checking to work.
767 teichmann 152
768     * tools/formed/formed/model/data.py: Fixed: When setting a new expression
769     the compiled version was not stored in the RuleLeaf.
770    
771     * tools/formed/formed/model/expr.py: shlex lexer does not like unicode.
772     convert the expression string to ascii for compilation.
773    
774     * tools/formed/formed/plugins/web/semantic.py: Remove the 'box' because
775     valid data is stored to the dataset immediately now. Fixed a bug
776 teichmann 183 with integer handler.
777 teichmann 152
778     * tools/formed/formed/plugins/web/controllers.py: Removed the semantic 'box'
779     stuff. When a submit is done extract the rules from the tree document
780 teichmann 183 that are effected by the modified variables and check them.
781 teichmann 152
782     * tools/formed/formed/plugins/web/renderer.py: Fixed exception handling
783     when dealing with templates.
784    
785 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
786 torsten 151 * tools/formed/formed/plugins/web/controllers.py,
787     tools/formed/formed/plugins/web/renderer.py: Moved more render
788     functions into renderer.py. New render classes are:
789     DataSetDigestRenderer, DataSetNavigationRenderer,
790     DataSetFormularRenderer, ConfirmationDialogRenderer
791    
792     Note: The new methods are only called from selected handlers. Other
793     handlers call the renderes in the old way.
794    
795 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
796 torsten 150 * tools/formed/formed/plugins/web/form_renderer.py: Renamed
797     renderer.py to form_renderer.py. This file will contain formular
798     specfic render methods in the future.
799     * tools/formed/formed/plugins/web/renderer.py: Added new renderer.py
800     which will contain general render methods.
801     * tools/formed/formed/plugins/web/controllers.py: Began to move all
802     rendering into renderer.py or form_renderer.py. This file will only
803     contain teh handlers in the future.
804    
805 teichmann 183 2007-09-07 Torsten Irlaender <[email protected]>
806 torsten 148 * tools/formed/formed/plugins/web/renderer.py,
807     tools/formed/formed/plugins/web/controller.py:
808     Renderes now get an instance of the formdata object to provide
809     access the data needed to render various infoboxes etc. Handler
810     instanciate the formdata.
811    
812 teichmann 183 2007-09-06 Torsten Irlaender <[email protected]>
813 torsten 147 * tools/formed/formed/plugins/web/renderer.py: Mainly tried to get the
814     getFormData interface to work. Added two small semantic fixes, but
815     did not manage to get it up. Need to exime this a little bit more
816     * tools/formed/formed/plugins/web/controllers.py: Put <div> tags
817     around the menus on the right side to be able to assign different
818     styles. Added dataset actions while editing a dataset.
819    
820 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
821 torsten 146 * tools/formed/formed/model/memory.py: Fixed deleting datasets by
822     removing unwanted del method
823     * tools/formed/formed/plugins/web/controllers.py: Implemented
824     confiration dialogs for create, delete, and select aof datasets. Started to use
825     templates as well for larger information units like the dataset summary.
826    
827 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
828 teichmann 141
829 teichmann 145 * tools/formed/formed/model/nodecomponents.py: Added a
830     method to document to find index of page.
831    
832     * tools/formed/formed/plugins/web/semantic.py: Added getValue()
833     to fetch data from semantic box.
834    
835     * tools/formed/formed/plugins/web/controllers.py: Added new
836     FormData implementation to support DB and semantic box.
837    
838 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
839 teichmann 145
840 teichmann 144 * tools/formed/formed/plugins/web/renderer.py: escaped
841     error message.
842    
843     * tools/formed/formed/plugins/web/controllers.py: Don't fetch
844     dataset from backend each time a page is up to edit.
845    
846 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
847 teichmann 144
848 teichmann 143 * tools/formed/formed/plugins/web/renderer.py: SimplePageRenderer
849     returns "Page not found" if given page is None.
850    
851     * tools/formed/formed/plugins/web/controllers.py: Added checks
852     to avoid crashing when ask for a non-existent page.
853    
854 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
855 teichmann 143
856 teichmann 142 * tools/formed/formed/plugins/web/controllers.py: Some clean-ups.
857    
858 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
859 teichmann 142
860 teichmann 141 * tools/formed/formed/plugins/web/plugin.py: Remove request handlers
861     and renderers.
862    
863     * tools/formed/formed/plugins/web/controllers.py: New. Contains handlers
864     and renderers now. TODO: Move renderers to renderer.py
865    
866 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
867 teichmann 141
868 torsten 140 * tools/formed/formed/plugins/web/www/main.tmpl: Adopted web template
869 teichmann 141 and bound in the the new added functions to create, edit, delete and
870     show formdata.
871 torsten 140
872 teichmann 183 2007-09-05 Sascha L. Teichmann <[email protected]>
873 teichmann 139
874     * tools/formed/formed/model/memory.py: Removed bisect and use a
875     simple linear scan for dataset lookup now.
876    
877     * tools/formed/formed/plugins/web/plugin.py: Fixed various issues
878     of different sizes.
879    
880 teichmann 183 2007-09-05 Torsten Irlaender <[email protected]>
881 torsten 138
882     * tools/formed/formed/plugins/web/memory.py: Fixed getDataSetById
883     fuction
884 teichmann 183
885 torsten 138 * tools/formed/formed/plugins/web/persistent.py: Added store() method
886     to the DataSet interface
887 teichmann 139
888 torsten 138 * tools/formed/formed/plugins/web/renderer.py: Added handlers and
889     renderes for create, update, delete and show actions on formular data.
890    
891 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
892 torsten 136
893 teichmann 137 * tools/formed/formed/plugins/web/server.py: The mapping
894     to methods is now driven by regualar expressions and
895 teichmann 183 a dictionary. Response objects are now able to send
896     error codes.
897 teichmann 137
898     * tools/formed/formed/plugins/web/renderer.py: Fixed an issue
899     when help in Formdata is None. Moved text for help into
900 teichmann 183 a top level '''...''' variable.
901 teichmann 137
902     * tools/formed/test-data/simple.xml: Added test for help.
903    
904     * tools/formed/formed/plugins/web/help.py: extra None check.
905    
906     * tools/formed/formed/plugins/web/plugin.py: Uses the new
907     table driven mapping of reguest handling. TODO: split the
908 teichmann 183 WebPlugIn.pageHandler() method further to smaller handlers.
909     Smaller clean ups and better exception handling.
910 teichmann 137
911     * tools/formed/formed/plugins/web/cache.py: Report OSErrors
912     and do not catch them.
913    
914 teichmann 183 2007-09-04 Torsten Irlaender <[email protected]>
915 teichmann 137
916 torsten 136 * tools/formed/formed/plugins/web/renderer.py,
917     * tools/formed/formed/plugins/web/plugin.py: Added Interface to
918     the HelpProvider and inserted help icons to the html output.
919     Added decorator for Formelemnts, so textfields, choices etc. are now
920     within a <div> tag.
921     Modified the error messages.
922    
923 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
924 teichmann 134
925 teichmann 135 * tools/formed/formed/plugins/web/cache.py: New. Implements
926     the server-side caching more clean. Fixes a bug with
927 teichmann 183 serving static content.
928 teichmann 135
929     * tools/formed/formed/plugins/web/plugin.py: Use the new cache.
930    
931 teichmann 183 2007-09-04 Sascha L. Teichmann <[email protected]>
932 teichmann 135
933 teichmann 134 * tools/formed/formed/plugins/web/plugin.py: Set MIME type
934     to "application/xhtml+xml" when serving help texts.
935    
936 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
937 teichmann 132
938 teichmann 133 * tools/formed/formed/plugins/export/diff.py: New. Exports
939     pairwise differences between all modes.
940    
941     * tools/formed/formed/config.py: Use new export filter.
942    
943 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
944 teichmann 133
945     * tools/formed/formed/plugins/web/help.py: New. Parses an
946 teichmann 132 XHTML document for id'ed divs and builds a help lookup.
947    
948     * tools/formed/formed/plugins/web/www/help.tmpl: Template for
949     the help content frame.
950    
951     * tools/formed/formed/plugins/web/www/help.xhtml: Some simple
952     help text index.
953    
954     * tools/formed/formed/plugins/web/plugin.py: Serves the help
955     texts now.
956    
957 teichmann 183 2007-09-03 Torsten Irlaender <[email protected]>
958 teichmann 132
959 torsten 131 * tools/formed/formed/plugins/web/plugin.py: Only visible group
960     elements will be rendered in the formular navigation.
961     Formular pages in the navigation now have their own css-style
962     attributes.
963    
964 teichmann 183 2007-09-03 Torsten Irlaender <[email protected]>
965 teichmann 132
966 torsten 130 * tools/formed/formed/plugins/web/www/main.tmpl: Added div area for page
967     errors in template
968     * tools/formed/formed/plugins/web/plugin.py: Fixed undefined
969     pageerrors variable
970    
971 teichmann 183 2007-09-03 Frank Koormann <[email protected]>
972 frank 129
973     * tools/formed/formed/plugins/export/html.py
974     (RecursiveExporter): Added annotation to export
975     (fillRow()): Renamed old fillNine to this more generic name.
976    
977    
978 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
979 teichmann 127
980 teichmann 128 * tools/formed/formed/plugins/web/renderer.py: Using the decorator
981     from model.misc now.
982    
983 teichmann 183 2007-09-03 Sascha L. Teichmann <[email protected]>
984 teichmann 128
985 teichmann 127 * tools/formed/formed/model/nodecomponents.py: Added an
986     'annotation' attribute to node components. This is to
987 teichmann 183 enable FormEd document authors to add comments to groups
988     and fields.
989 teichmann 127
990 teichmann 183 2007-09-03 Frank Koormann <[email protected]>
991 frank 126
992     * tools/formed/formed/model/nodecomponents.py
993     (NodeComponent.getParent): New method to get node components parent.
994    
995     * tools/formed/formed/plugins/export/html.py: Export Choice option
996     as simple list instead of collection of bools.
997    
998 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
999 teichmann 120
1000 teichmann 124 * tools/formed/formed/model/persistent.py: Interfaces to abstract
1001     from persistent storage details.
1002    
1003     * tools/formed/formed/model/memory.py: In core implementation
1004     of the persistent interfaces.
1005    
1006     * tools/formed/formed/main.py: Holds a memory data store now.
1007    
1008 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
1009 teichmann 124
1010 teichmann 123 * tools/formed/formed/plugins/export/sql.py,
1011     tools/formed/formed/plugins/export/html.py: Fixed constructor chains
1012 teichmann 183 for FileDialogFilter sub classes.
1013 teichmann 123
1014 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
1015 teichmann 123
1016 teichmann 122 * tools/formed/formed/model/misc.py: Checking the mode in recursive
1017     tree traversals is a common task. To ease this a decorator function
1018 teichmann 183 checkMode in union with sub classing ModeChecker can be used.
1019     To make it work simply subclass from ModeChecker and add the decorator
1020     to the methods that need mode tracking. Before you start the recursion
1021     call self.prepareDescent().
1022 teichmann 122
1023     * tools/formed/formed/plugins/export/html.py: Uses the new decorator scheme
1024     now which replace the old. TODO: Make the web renderer use the new scheme
1025 teichmann 183 too.
1026 teichmann 122
1027 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
1028 teichmann 122
1029 teichmann 121 * tools/formed/formed/plugins/export/sql.py: Removed needless import.
1030    
1031     * tools/formed/formed/plugins/export/html.py: HTML table exporter
1032     uses new FileDialogFilter base class too.
1033    
1034 teichmann 183 2007-09-02 Sascha L. Teichmann <[email protected]>
1035 teichmann 121
1036 teichmann 120 * tools/formed/formed/plugins/ui/*: New. All file exporters
1037     need a file dialog. Till now each of them pulled up its
1038 teichmann 183 own. This was silly code replication. Now there is an abstract
1039     base class 'FileDialogFilter' which implements the common
1040     behavior. The file exporters should subclass it.
1041 teichmann 120
1042     * tools/formed/formed/plugins/export/sql.py: Subclass the SQL
1043     exporters from the new base class. TODO: Subclass the HTML
1044 teichmann 183 exporter too.
1045 teichmann 120
1046 teichmann 183 2007-08-31 Sascha L. Teichmann <[email protected]>
1047 teichmann 119
1048     * tools/formed/formed/plugins/export/html.py: Make mode check
1049     work (again).
1050    
1051 teichmann 183 2007-08-31 Torsten Irlaender <[email protected]>
1052 torsten 117
1053 torsten 118 * tools/formed/formed/plugins/export/html.py: Rendering of the HTML
1054     exprt works now in a recursive way. This change was needed because
1055     the structure of the formedtree has changed to be able to render
1056     full hirachically document stuctures. (nested lists)
1057     TODO: Fix modechecking
1058    
1059 teichmann 183 2007-08-31 Torsten Irlaender <[email protected]>
1060 torsten 118
1061 torsten 117 * tools/formed/formed/plugins/web/plugin.py: Navigation rendering works
1062     now in recursive way. This change was needed because the structure
1063     of the formedtree has changed to be able to render full hirachically
1064     document stuctures. (nested lists)
1065    
1066 teichmann 183 2007-08-31 Sascha L. Teichmann <[email protected]>
1067 teichmann 115
1068 teichmann 116 * tools/formed/formed/model/nodecomponents.py: use discard()
1069     instead of remove on sets.
1070    
1071     * tools/formed/formed/plugins/export/sql.py: Added an
1072     exporter for table views.
1073    
1074     * tools/formed/formed/config.py: Added the new exporter
1075     to the list of export filters.
1076    
1077 teichmann 183 2007-08-30 Sascha L. Teichmann <[email protected]>
1078 teichmann 116
1079 teichmann 115 * tools/formed/formed/model/data.py: Fixed a bug in
1080     Page.allWidgets()
1081    
1082     * tools/formed/formed/plugins/export/sql.py: Added an exporter
1083     for stored procudeures.
1084    
1085     * tools/formed/formed/config.py: Add the new SP exporter.
1086    
1087 teichmann 183 2007-08-29 Torsten Irlaender <[email protected]>
1088 frank 111
1089 torsten 113 * tools/formed/formed/plugins/web/plugin.py,
1090     tools/formed/formed/plugins/web/error_renderer.py: Added interface
1091     to get the errors for a whole page in te formular. These errors can
1092     now be displayed on the top of the formular.
1093    
1094 teichmann 183 2007-08-29 Torsten Irlaender <[email protected]>
1095 torsten 113
1096 torsten 112 * tools/formed/formed/plugins/web/renderer.py: Finished implementation
1097     of the getFromData interface and prepared the rederer for generating
1098     nice error messages
1099    
1100 teichmann 183 2007-08-28 Frank Koormann <[email protected]>
1101 torsten 112
1102 frank 111 * tools/formed/formed/plugins/export/sql.py
1103     (SchemaCreator.createSchema, SchemaCreator._createGroup):
1104     Fixed typo in created DDS (PRIMRAY -> PRIMARY)
1105    
1106 teichmann 183 2007-08-28 Torsten Irlaender <[email protected]>
1107 torsten 110
1108     * tools/formed/formed/plugins/export/sql.py: Added small helper
1109     function to generated valid quotes within the sql statements
1110    
1111 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
1112 teichmann 106
1113 teichmann 109 * tools/formed/formed/plugins/export/sql.py: Added foreign keys
1114     for repeat tables.
1115    
1116 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
1117 teichmann 109
1118 teichmann 108 * tools/formed/formed/plugins/export/sql.py: When generating
1119     an extra table check in a table of same content exists. In
1120 teichmann 183 this case reference the existing table.
1121 teichmann 108
1122 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
1123 teichmann 108
1124 teichmann 107 * tools/formed/formed/plugins/export/sql.py: Rewritten to produce
1125     _real_ SQL and respect repeat groups.
1126    
1127     * tools/formed/formed/model/data.py: Fixed bug with Group.isRepeat()
1128    
1129     * tools/formed/formed/plugins/web/renderer.py: Use "".join([])
1130     instead of expensive += string concat in some places.
1131    
1132 teichmann 183 2007-08-29 Sascha L. Teichmann <[email protected]>
1133 teichmann 107
1134 teichmann 106 * tools/formed/formed/model/data.py: Renamed GroupNode.getRepeat()
1135     to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
1136    
1137 teichmann 183 2007-08-28 Torsten Irlaender <[email protected]>
1138 torsten 105
1139     * tools/formed/plugins/web/renderer.py: Added Formdata interface.
1140     * tools/formed/model/data.py: Implements Formadata interface to
1141     textfields. Fieldset generated depends now on the "invisible"
1142     attribute of the groupnode. Field-label generation slightly changed.
1143     Added error indication to textfields
1144    
1145 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
1146 teichmann 102
1147 teichmann 104 * tools/formed/formed/model/data.py,
1148     tools/formed/formed/io/document.py: Removed support
1149 teichmann 183 of logical groups.
1150 teichmann 104
1151 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
1152 teichmann 104
1153 teichmann 103 * tools/formed/formed/io/document.py: Avoid saving empty
1154     attributes.
1155    
1156     * tools/formed/test-data/simple.xml: Applied.
1157    
1158 teichmann 183 2007-08-28 Sascha L. Teichmann <[email protected]>
1159 teichmann 103
1160 teichmann 102 * tools/formed/formed/model/data.py: Added 'repeat' and
1161     'invisible' attributes to group. TODO: remove logical group.
1162    
1163 teichmann 183 2007-08-27 Torsten Irlaender <[email protected]>
1164 teichmann 96
1165 torsten 101 * tools/formed/plugins/web/plugin.py,
1166     tools/formed/plugins/web/renderer.py: Started to include stylesheet
1167     depending tags in the html generation.
1168    
1169 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
1170 torsten 101
1171 teichmann 99 * tools/formed/formed/model/data.py,
1172     tools/formed/formed/io/document.py: Added a logical group.
1173 teichmann 183 It has an attribute 'repeat' to indicate that it might
1174     be worthy an external table in DB schema.
1175 teichmann 99
1176 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
1177 teichmann 99
1178 teichmann 98 * tools/formed/formed/plugins/web/plugin.py: Support
1179     serving of static content.
1180    
1181     * tools/formed/formed/plugins/web/server.py: Removed
1182     old send code.
1183    
1184 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
1185 teichmann 98
1186 teichmann 97 * tools/formed/formed/plugins/web/plugin.py: Use new
1187     Response object. Fix typo.
1188    
1189     * tools/formed/formed/plugins/web/server.py: support
1190     response object to serve different MIME types.
1191    
1192 teichmann 183 2007-08-27 Sascha L. Teichmann <[email protected]>
1193 teichmann 97
1194 teichmann 96 * tools/formed/formed/plugins/web/plugin.py: Add web.path
1195     to FORMED environment variable to specify the
1196 teichmann 183 root of the static content.
1197 teichmann 96
1198 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
1199 teichmann 93
1200 teichmann 95 * tools/formed/formed/model/data.py,
1201     tools/formed/formed/model/nodecomponents.py: Fixed mode issues.
1202    
1203     * tools/formed/formed/plugins/web/www,
1204     tools/formed/formed/plugins/web/www/main.tmpl: New. Contains
1205 teichmann 183 a template for the HTML output.
1206 teichmann 95
1207     * tools/formed/formed/plugins/web/plugin.py: Fixes several smaller
1208     mode issues. Introduces CSS support. Simplified the action
1209 teichmann 183 handling.
1210 teichmann 95
1211     * tools/formed/formed/plugins/web/renderer.py: Removed the
1212     nagivation code.
1213    
1214     * tools/formed/formed/plugins/web/server.py: Added missing import.
1215    
1216 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
1217 teichmann 95
1218 teichmann 94 * tools/formed/formed/model/data.py: Added missing broadcast
1219     parameter to setAttribute() of RuleLeaf.
1220    
1221     * tools/formed/formed/plugins/web/plugin.py: Factorize
1222     HTTP server code out to separate module.
1223    
1224     * tools/formed/formed/plugins/web/renderer.py: Removed
1225     needless -1 from pop()
1226    
1227     * tools/formed/formed/plugins/web/server.py: New. Contains
1228     the HTTP server code now.
1229    
1230 teichmann 183 2007-08-26 Sascha L. Teichmann <[email protected]>
1231 teichmann 94
1232 teichmann 93 * tools/formed/test-data/simple.xml: Modified to contain a rule.
1233    
1234     * tools/formed/formed/model/expr.py: Added. A simple RPN
1235     expression evaluator. To avoid the problem of eval()ing
1236 teichmann 183 arbitrary python expressions I've decided to use a very
1237     basic and limited stack machine to support rule checking.
1238 teichmann 93
1239     * tools/formed/formed/model/data.py: Added a RuleLeaf.
1240    
1241     * tools/formed/formed/io/document.py: Added factories for rules.
1242    
1243     * tools/formed/formed/model/nodecomponents.py: Add a method
1244     to find all items of a given type in document for a given
1245 teichmann 183 mode. Usefull to find all rules in the tree.
1246 teichmann 93
1247     * tools/formed/formed/ui/controls.py: Added a listener mechanism
1248     to attribute table to report exceptions when setting a value
1249 teichmann 183 from GUI. Useful to report compilation errors when setting
1250     expr of rule leafs.
1251 teichmann 93
1252     * tools/formed/formed/main.py: Added a method to track exceptions
1253     from the attribute table and pop up dialogs if they occur.
1254 teichmann 183 Added a counter of rule modifications in tree. Useful if you
1255     want build cached data structures like rule sets and you want
1256     to know if they are still valid.
1257 teichmann 93
1258 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
1259 torsten 90
1260 torsten 92 * tools/formed/formed/plugins/export/sql.py: Fixed CHECK-constraint
1261     for checkbox values. (Syntax error).
1262    
1263     * tools/formed/formed/plugins/names/filter.py: Fixes in formularname
1264     generation
1265    
1266 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
1267 torsten 92
1268 torsten 90 * tools/formed/formed/plugins/names/filter.py: Separated Class for
1269     making the formularnames more database friendly. Added some more
1270     checks.
1271     * tools/formed/formed/plugins/export/sql.py: Make use of the fresh
1272     separated class, and some fixes in sql generation.
1273    
1274 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
1275 teichmann 86
1276 teichmann 89 * tools/formed/formed/plugins/export/html.py: Print lengths
1277     of external choice list.
1278    
1279 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
1280 teichmann 89
1281 teichmann 88 * tools/formed/formed/main.py: Little workaround for
1282     mode selection if someone adds an removes a mode.
1283    
1284 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
1285 teichmann 88
1286 teichmann 87 * tools/formed/test-data/simple.xml: Better test case for
1287     mode depended leaf items.
1288    
1289     * tools/formed/formed/model/nodecomponents.py: Added a method
1290     to calculate the effective mode of an item.
1291    
1292     * tools/formed/formed/plugins/export/html.py: Use effective
1293     mode. TODO: the 'all' modus return false results sometimes.
1294 teichmann 183 Cause: The modes are only cumulated over time. Removal is
1295     not done.
1296 teichmann 87
1297 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
1298 teichmann 87
1299 teichmann 86 * tools/formed/formed/plugins/export/html.py: Dump the items
1300     of radio groups and choices too.
1301    
1302 teichmann 183 2007-08-24 Torsten Irlaender <[email protected]>
1303 torsten 85
1304     * tools/formed/formed/plugins/names/filter.py: Modified the renaming
1305     by formular names to make the naming more database friendly.
1306     Now only alphanumeric and underscore chars is allowed.
1307    
1308 teichmann 183 2007-08-24 Sascha L. Teichmann <[email protected]>
1309 teichmann 84
1310     * tools/formed/formed/plugins/export/html.py: Tweaked
1311     HTML table exporter a bit to be on par with the XSLT
1312 teichmann 183 script. TODO: Dump items in radio and choice groups.
1313 teichmann 84
1314 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
1315 teichmann 83
1316     * tools/formed/formed/plugins/names/filter.py: Removed
1317     HTML and SQL exporters.
1318    
1319     * tools/formed/formed/plugins/export,
1320     tools/formed/formed/plugins/export/__init__.py,
1321     tools/formed/formed/plugins/export/sql.py,
1322     tools/formed/formed/plugins/export/html.py: New: Contain
1323 teichmann 183 the HTML and the SQL exporters now.
1324 teichmann 83
1325     * tools/formed/formed/config.py: Use exporters from different
1326     package now.
1327    
1328 teichmann 183 2007-08-23 Torsten Irlaender <[email protected]>
1329 torsten 82
1330     * tools/formed/formed/plugins/names/filter.py: Added an
1331     pseudo SQL export filters. TODO: Move HTML and SQL filter
1332     in a new file (formed/plugins/export/htmlexport.py and
1333     sqlexport.py?)
1334    
1335     * tools/formed/formed/config.py: Install the new SQL filter.
1336    
1337 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
1338 teichmann 81
1339     * tools/formed/formed/model/nodecomponents.py: Added a depth()
1340     method to determine the depth of particular tree item.
1341    
1342     * tools/formed/formed/plugins/names/filter.py: Added an
1343     HTML export filters. TODO: needs more work.
1344    
1345     * tools/formed/formed/config.py: Install the new HTML filter.
1346    
1347 teichmann 183 2007-08-23 Torsten Irlaender <[email protected]>
1348 torsten 80
1349     * contrib/extract-xfa-fields_and_options.xsl: Added small xsl script
1350     to extract fields and options in the XFA Data in teh PDF. This
1351     script might me handy to indicate changes between the different
1352     formular versions.
1353    
1354 teichmann 183 2007-08-23 Sascha L. Teichmann <[email protected]>
1355 teichmann 73
1356 teichmann 79 * tools/formed/formed/main.py: Add an 'all' mode to
1357     select all modes. ;-)
1358    
1359 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1360 teichmann 79
1361 teichmann 78 * tools/formed/test-data/simple.xml,
1362     tools/formed/formed/model/data.py,
1363     tools/formed/formed/plugins/web/plugin.py,
1364     tools/formed/formed/plugins/web/renderer.py,
1365     tools/formed/formed/io/document.py,
1366     tools/formed/formed/main.py: Removed support for switch nodes.
1367     BEWARE: This breaks compatibility with older documents!
1368    
1369 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1370 teichmann 78
1371 teichmann 77 * tools/formed/formed/plugins/web/plugin.py: Uses the
1372     getSelectedMode() from main now.
1373    
1374     * tools/formed/formed/main.py: selected mode is now hold
1375     in main.
1376    
1377     * tools/formed/formed/config.py: removed selected mode from
1378     env configuration.
1379    
1380 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1381 teichmann 77
1382 teichmann 76 * tools/formed/formed/ui/controls.py: Attributes in GUI attribute
1383     table are now alphabetically sorted.
1384    
1385 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1386 teichmann 76
1387 teichmann 75 * tools/formed/formed/model/nodecomponents.py: Added code to
1388     establish the new 'modes' recursively.
1389    
1390     * tools/formed/formed/plugins/plugin.py: Pass main instead
1391     of cfg on plug-in start-up.
1392    
1393     * tools/formed/formed/plugins/web/plugin.py: Use the new
1394     'modes' attribute for rendering.
1395    
1396     * tools/formed/formed/plugins/web/renderer.py: Use decorators
1397     to check the new modes.
1398    
1399     * tools/formed/formed/main.py: Adjusted to new infrastructure.
1400    
1401 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1402 teichmann 75
1403 teichmann 74 * tools/formed/formed/model/nodecomponents.py: Added an
1404     attribute 'modes' to NodeComponents.
1405    
1406 teichmann 183 2007-08-22 Sascha L. Teichmann <[email protected]>
1407 teichmann 74
1408 teichmann 73 * tools/formed/formed/model/data.py: Small cosmetic cleanups
1409    
1410 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1411 frank 67
1412 teichmann 72 * tools/formed/formed/plugins/web/renderer.py: Another fix
1413     for the hidden field. Argh!
1414    
1415 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1416 teichmann 72
1417 teichmann 71 * tools/formed/formed/plugins/web/renderer.py: Fixed double
1418     generation of hidden page field.
1419    
1420 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1421 teichmann 71
1422 teichmann 69 * tools/formed/formed/plugins/web/semantic.py: Added semantic
1423 teichmann 70 checks for radio groups.
1424    
1425 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1426 teichmann 70
1427     * tools/formed/formed/plugins/web/semantic.py: Added semantic
1428 teichmann 69 checks for choices.
1429    
1430     2007-08-21 Frank Koormann <[email protected]>
1431    
1432 frank 68 * contrib/convert-formedtree2html.xsl: Display switch nodes as
1433     alternatives.
1434    
1435 teichmann 69 2007-08-21 Frank Koormann <[email protected]>
1436 frank 68
1437 frank 67 * contrib/convert-formedtree2html.xsl:
1438     Replace technical types with readable descriptions
1439    
1440 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1441 teichmann 64
1442 teichmann 66 * tools/formed/formed/plugins/web/plugin.py: Fix a few smaller
1443     issues. 'action' looks for all widgets on a page now, goes
1444 teichmann 183 through all passed parameters, tries to match them with the
1445     widgets of the page and put them into the semantic box.
1446     Afterwards a list of untouched page parameters are left
1447     which will be deleted from the semantic box.
1448 teichmann 66
1449     * tools/formed/formed/plugins/web/semantic.py: Simplified.
1450     The NodeComponent is passed as an argument now.
1451    
1452     * tools/formed/formed/plugins/web/renderer.py: Generate a
1453     hidden field to store the name of the page.
1454    
1455 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1456 teichmann 66
1457 teichmann 65 * tools/formed/formed/plugins/web/plugin.py: Fixed an encoding
1458     issue with incoming UTF-8 data.
1459    
1460 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1461 teichmann 65
1462 teichmann 64 * tools/formed/test-data/simple.xml: Improve test for widgets
1463     in switches.
1464    
1465     * tools/formed/formed/model/data.py: Added a method to find all
1466     widgets in a given page. Fixed a bug when walking in switch
1467 teichmann 183 with a given mode.
1468 teichmann 64
1469     * tools/formed/formed/plugins/web/plugin.py: Simple test for
1470     listing all widgets in page.
1471    
1472 teichmann 183 2007-08-21 Torsten Irlaender <[email protected]>
1473 torsten 63
1474     * tools/formed/formed/plugins/names/filter.py: Fixed file-encoding to
1475     latin-1
1476    
1477 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1478 teichmann 61
1479 teichmann 62 * tools/formed/formed/model/data.py: Added mode parameter to
1480     walk.
1481 teichmann 183
1482 teichmann 62 * tools/formed/formed/model/nodecomponents.py: SwitchNode overwrites
1483     walk() with usage of the new mode parameter. Added a method to
1484 teichmann 183 give children in a given mode.
1485 teichmann 62
1486     * tools/formed/formed/plugins/web/renderer.py: Simplified to use
1487     new Switch.childrenInMode() method.
1488    
1489 teichmann 183 2007-08-21 Sascha L. Teichmann <[email protected]>
1490 teichmann 62
1491 teichmann 61 * tools/formed/formed/plugins/web/semantic.py: Add checks for
1492     texts and text areas.
1493    
1494     * tools/formed/formed/plugins/web/renderer.py: Set accept-charset
1495     to UTF-8 in generated form.
1496    
1497 teichmann 183 2007-08-20 Sascha L. Teichmann <[email protected]>
1498 teichmann 60
1499     * tools/formed/formed/plugins/web/semantic.py: Added semantic
1500     tests for dates.
1501    
1502 teichmann 183 2007-08-20 Sascha L. Teichmann <[email protected]>
1503 teichmann 59
1504     * tools/formed/test-data/simple.xml: Tweak a bit for integer
1505     range test.
1506    
1507     * tools/formed/formed/model/nodecomponents.py: Added a method
1508     to find a tree item for a given name.
1509    
1510     * tools/formed/formed/plugins/web/semantic.py: New: Box for
1511     semantic checking. Has check for integers.
1512    
1513     * tools/formed/formed/plugins/web/plugin.py: Use semantic
1514     check.
1515    
1516 teichmann 183 2007-08-20 Torsten Irlaender <[email protected]>
1517 torsten 58
1518     * tools/formed/formed/plugins/web/renderer.py: Fixed Syntax in
1519     selection-field generation (Removed quote)
1520    
1521 teichmann 54 2007-08-18 Sascha L. Teichmann <[email protected]>
1522    
1523 teichmann 57 * tools/formed/formed/plugins/web/plugin.py,
1524     tools/formed/formed/plugins/web/renderer.py: Added a
1525     simple cookie based session management to the HTML
1526     renderer. This submit parameters are stored in the
1527     session now. This will ease testing the constraint
1528     tests which need to be written soon.
1529 teichmann 183
1530 teichmann 57 BEWARE: The session management is _not_ made for production!
1531     Denial of service attacks are too easy, and the
1532     cryptographical strength of the session id is doubtful.
1533    
1534     2007-08-18 Sascha L. Teichmann <[email protected]>
1535    
1536 teichmann 56 * tools/formed/formed/plugins/web/renderer.py: Escaping text
1537     coming from the document tree now when inserting it into the
1538 teichmann 57 HTML output.
1539 teichmann 56
1540     2007-08-18 Sascha L. Teichmann <[email protected]>
1541    
1542 teichmann 55 * tools/formed/formed/plugins/plugin.py: Added a new kind
1543     of plug-in: Filter. They have a short and a long description
1544 teichmann 57 and can be hooked automatically into the new 'Filters'
1545     sub menu under 'Extra'. They got called when the user
1546     selects their respective menu item.
1547 teichmann 183
1548 teichmann 55 * tools/formed/formed/config.py: Contains the list of
1549     installed filters.
1550    
1551     * tools/formed/formed/main.py: Builds the Extra->Filters
1552     sub menu during gui initialization. The hard wired code
1553 teichmann 57 for make unique and formular name/description -> name
1554     is removed because they are implemented as filters now.
1555 teichmann 55
1556     * tools/formed/formed/model/nodecomponents.py,
1557     tools/formed/formed/model/data.py: Removed the make
1558 teichmann 57 unique and formular name/description -> name code.
1559 teichmann 55
1560     * tools/formed/formed/plugins/names,
1561     tools/formed/formed/plugins/names/__init__.py,
1562 teichmann 57 tools/formed/formed/plugins/names/filter.py: Added. Contains
1563     the make unique and formular name/description -> name code
1564     in form of filters.
1565 teichmann 55
1566     * tools/formed/test-data/simple.xml: Modified to be a better
1567     test for the formular name/description -> name filter.
1568    
1569     2007-08-18 Sascha L. Teichmann <[email protected]>
1570    
1571 teichmann 54 * tools/formed/formed.py, tools/formed/formed/main.py: First
1572     command line argument is interpreted as filename of document
1573 teichmann 57 to be loaded at program startup.
1574 teichmann 54
1575 frank 53 2007-08-17 Frank Koormann <[email protected]>
1576    
1577     * contrib/convert-formedtree2html.xsl:
1578     Heading level depending on depth of group node.
1579     In case of radio/choice/check only list of options.
1580    
1581 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
1582 torsten 50
1583 torsten 52 * contrib/convert-formedtree2html.xsl: Output is now generated with
1584     HTML doc-string and charset information in the meta-header.
1585    
1586 torsten 58 2007-08-17 Torsten Irlaender <[email protected]>
1587 torsten 52
1588 torsten 50 * contrib/convert-formedtree2html.xsl: Added small script for
1589     exporting the formed tree to html
1590    
1591 torsten 49 2007-08-17 Torsten Irlaender <[email protected]>
1592    
1593     * tools/formed/model/nodecomponents.py: Added function to rename
1594     the set the name of the node to the formularname. The formularname
1595     gets shorten to <=64 by removing vowels and is stored lowercase.
1596     If the name is not unique and additional id value is appended.
1597    
1598     * tools/formed/formed/model/data.py: Overwritten renaming-function for
1599     bool-leafs
1600    
1601     * tools/formed/formed/main.py: Added menuitem for renaming the names
1602     of the element
1603    
1604 teichmann 47 2007-08-16 Sascha L. Teichmann <[email protected]>
1605    
1606     * tools/formed/formed/main.py: Swaped order of
1607     'Make names unique' and 'Selected mode...' in Extra
1608 teichmann 183 menu and put a separator between them.
1609 teichmann 47
1610 teichmann 45 2007-08-15 Sascha L. Teichmann <[email protected]>
1611    
1612 teichmann 46 * tools/formed/formed/model/data.py: SwitchNodes can add
1613     their modes to a given set now.
1614    
1615     * tools/formed/formed/plugins/plugin.py: Simplified
1616     the plug-in interface. Only the reference to the
1617 teichmann 183 global configuration is passed at setup time.
1618 teichmann 46
1619     * tools/formed/formed/plugins/web/plugin.py: Adjusted
1620     to new plug-in setup. The traveral mode is now taken
1621 teichmann 183 from the global configuration each time a rendering
1622     is triggered. The FORMED parameter is now named
1623     'doc.mode' instead of 'web.mode'. The parameter
1624     is not needed any more because it can be configured
1625     at runtime.
1626 teichmann 46
1627     * tools/formed/formed/main.py: Adjusted to new plugin
1628     setup. Added a new menu item Extra->Select Mode...
1629 teichmann 183 to select the traversal mode. It is stored in the
1630     global config.
1631 teichmann 46
1632     * tools/formed/formed/config.py: Simplified. Only uses
1633     one env dictionary to store global configuration parameters.
1634    
1635     * tools/formed/formed/ui/controls.py: Add a control to
1636     select one item from a list of given strings.
1637    
1638     2007-08-15 Sascha L. Teichmann <[email protected]>
1639    
1640 teichmann 45 * tools/formed/formed/plugins/web/plugin.py,
1641     tools/formed/formed/plugins/web/renderer.py: Added parameter
1642 teichmann 183 print out in web plugin.
1643 teichmann 45
1644 torsten 44 2007-08-15 Torsten Irlaender <[email protected]>
1645 teichmann 45
1646 torsten 44 * contrib/convert-formedtree2csv.xsl: Added small script for
1647     exporting the formed tree to csv
1648    
1649 teichmann 41 2007-08-14 Sascha L. Teichmann <[email protected]>
1650    
1651 teichmann 42 * tools/formed/formed/model/data.py,
1652     tools/formed/formed/model/nodecomponents.py,
1653     tools/formed/formed/io/document.py: Added a 'switch' node.
1654    
1655     * tools/formed/formed/plugins/web/renderer.py:Render the
1656     new 'switch' node.
1657    
1658     * tools/formed/formed/plugins/web/plugin.py,
1659     tools/formed/formed/config.py: Added a 'web.mode' parameter
1660 teichmann 183 to FORMED environment variable.
1661     e.g. 'FORMED=web.mode:modeX' sets the mode 'modeX'.
1662     Defaults to 'default'.
1663 teichmann 42
1664     * tools/formed/test-data/simple.xml: Added test for switch.
1665    
1666     2007-08-14 Sascha L. Teichmann <[email protected]>
1667    
1668 teichmann 41 * tools/formed/formed/model/nodecomponents.py: Added an
1669     attribute 'formularname' to base class of node components.
1670    
1671 teichmann 38 2007-08-13 Sascha L. Teichmann <[email protected]>
1672    
1673 teichmann 40 * tools/formed/formed/io/document.py,
1674     tools/formed/formed/model/data.py,
1675     tools/formed/formed/model/nodecomponents.py: Added an item
1676 teichmann 183 to model external item lists.
1677 teichmann 40
1678     * tools/formed/formed/plugins/web/renderer.py: Render new item
1679     list.
1680     * tools/formed/formed/main.py: Added a forgotten 'self.'
1681    
1682     * contrib/extract-xfa-items.sh: Modified to generate
1683     documents to be loadable from new item lists
1684    
1685     2007-08-13 Sascha L. Teichmann <[email protected]>
1686    
1687 teichmann 39 * tools/formed/formed/main.py: Fixed typo
1688    
1689     2007-08-13 Sascha L. Teichmann <[email protected]>
1690    
1691 teichmann 38 * contrib/extract-xfa-items.sh: New. Can be used to extract longer
1692     choice item lists for a given field from XFA files. e.g. with
1693 teichmann 183 './contrib/extract-xfa-items.sh Muttersprache alles.xml'
1694 teichmann 38
1695 teichmann 33 2007-08-12 Sascha L. Teichmann <[email protected]>
1696    
1697 teichmann 37 * tools/formed/formed/model/data.py,
1698     tools/formed/formed/plugins/web/renderer.py,
1699 teichmann 183 tools/formed/formed/io/document.py: Changed the structure
1700     of choice constructs. The idea to hold the different items
1701     of a particular choice in a semicolon separated list was bad.
1702     Now choices are groups and the option items are modelled as
1703     embedded bools. (mainly Torsten Irländer's idea).
1704 teichmann 37
1705 teichmann 183 WARNING: this makes old document files containing choices incompatible!!!
1706     Use the following XSLT to reestablish compatibility.
1707    
1708 teichmann 37 * contrib/itemize-choices.xsl: New converts old to new structure.
1709     Needs exslt.org's string extensions (which xsltproc includes)
1710    
1711     * tools/formed/test-data/simple.xml: Ajusted to new structure
1712    
1713     * tools/formed/formed/plugins/web/plugin.py: remove debug output
1714    
1715     * tools/formed/formed/model/nodecomponents.py: fixed a small bug in
1716     node finding code. It now uses the walk() generator, too.
1717    
1718     2007-08-12 Sascha L. Teichmann <[email protected]>
1719    
1720 teichmann 36 * tools/formed/formed/main.py: Added a clone item on the toolbar which
1721     copies the currently selected item and appends it after the selection.
1722    
1723     * tools/formed/formed/model/nodecomponents.py: Added code to clone parts
1724     of the tree.
1725 teichmann 183
1726 teichmann 36 * tools/formed/formed/ui/controls.py: Added a getSelected method.
1727    
1728     * tools/formed/formed/model/misc.py: Fixed a programming bug.
1729     forgot a 'self.' prefix.
1730    
1731     2007-08-12 Sascha L. Teichmann <[email protected]>
1732    
1733 teichmann 35 * tools/formed/formed/model/nodecomponents.py: Added a method to append
1734     a second document to the current.
1735    
1736     * tools/formed/formed/main.py: Added an 'Import' file menu item to load
1737     a second document to be appended to the current.
1738    
1739     2007-08-12 Sascha L. Teichmann <[email protected]>
1740    
1741 teichmann 34 * tools/formed/formed/main.py: Added a 'New' item in file menu which creates
1742     a new document when triggered.
1743    
1744     2007-08-12 Sascha L. Teichmann <[email protected]>
1745    
1746 teichmann 33 * tools/formed/formed/model/nodecomponents.py: Added walk generator over all
1747     items in the document tree. Added a method to eliminated duplicated names
1748 teichmann 183 in document tree.
1749 teichmann 33
1750     * tools/formed/formed/model/misc.py: Added update mechanism for id generator
1751     after names collisions are eliminated.
1752    
1753     * tools/formed/formed/main.py: Added an 'Extra' menu with item
1754     'Make names unique'.
1755    
1756 teichmann 30 2007-08-11 Sascha L. Teichmann <[email protected]>
1757    
1758 teichmann 32 * tools/formed/formed/model/data.py,
1759     tools/formed/formed/plugins/web/renderer.py: Removed support
1760 teichmann 183 for 'text' attributes in bool items. They were never really
1761     used and the 'description' attributes fulfill the same
1762     purpose.
1763 teichmann 32
1764     * contrib/remove-bool-text.xsl: Transform to remove the
1765     'text' attributes from bool items. Apply with:
1766 teichmann 183 'xsltproc contrib/remove-bool-text.xsl old.xml > new.xml'
1767 teichmann 32
1768     * tools/formed/test-data/simple.xml: Removed 'text' attributes
1769     from bool items.
1770    
1771     2007-08-11 Sascha L. Teichmann <[email protected]>
1772    
1773 teichmann 31 * contrib/convert-choices.xsl: Simpified.
1774    
1775     2007-08-11 Sascha L. Teichmann <[email protected]>
1776    
1777 teichmann 30 * tools/formed/formed/model/data.py: Removed 'options' attribute
1778     from ChoiceLeaf. Use 'value' instead, please!
1779    
1780     * tools/formed/formed/plugins/web/renderer.py: use 'value' attribute
1781     instead of 'options' to render choices.
1782    
1783     * contrib/convert-choices.xsl: Added to convert document files
1784     which use the choice 'option' attribute to usage of 'value'.
1785 teichmann 183 Apply with e.g. 'xsltproc convert-choices.xsl old.xml > new.xml'
1786 teichmann 30
1787 teichmann 23 2007-08-10 Sascha L. Teichmann <[email protected]>
1788    
1789 teichmann 29 * tools/formed/formed/plugins/web/renderer.py: radio buttons
1790     are selected by 'checked' and not by 'selected'. Fixed.
1791    
1792     2007-08-10 Sascha L. Teichmann <[email protected]>
1793    
1794 teichmann 28 * tools/formed/formed/model/data.py: ChoiceLeafs are now
1795     initialized with size = 1.
1796    
1797     2007-08-10 Sascha L. Teichmann <[email protected]>
1798    
1799 teichmann 27 * tools/formed/formed/model/data.py: TextLeafs are now
1800     initialized with size = 40, maxlength = 60
1801    
1802     2007-08-10 Sascha L. Teichmann <[email protected]>
1803    
1804 teichmann 26 * tools/formed/formed/plugins/web/renderer.py: Fixed: choices
1805     are renderered with description now.
1806    
1807     2007-08-10 Sascha L. Teichmann <[email protected]>
1808    
1809 teichmann 25 * tools/formed/formed/plugins/web/renderer.py: Added rendering
1810     for date items. Added missing ids for texts and textareas.
1811    
1812     2007-08-10 Sascha L. Teichmann <[email protected]>
1813    
1814 teichmann 24 * tools/formed/formed/config.py: Evaluate the environment
1815     variable 'FORMED'. Snytax: FORMED='key1:value1;key2:value2'
1816    
1817     * tools/formed/formed/plugins/plugin.py: Give a reference
1818     to the config at setup time.
1819    
1820     * tools/formed/formed/plugins/web/plugin.py: To determine
1821     the port look at FORMED dictionary first. Key is 'web.port'.
1822 teichmann 183 e.g. FORMED='web.port:8888'
1823 teichmann 24
1824     * tools/formed/formed/main.py: Call the plugin setup with
1825     the reference to the config.
1826    
1827     2007-08-10 Sascha L. Teichmann <[email protected]>
1828    
1829 teichmann 23 * tools/formed/test-data/simple.xml: removed 'text' attributes from
1830     info tags. Use the 'value' attributes for same purpose now, please!
1831    
1832     * tools/formed/formed/model/data.py: removed text attributes from
1833     InfoLeaf.
1834    
1835     * tools/formed/formed/plugins/web/renderer.py: Rendering of info
1836     now uses the 'value' instead of the 'text' attributes.
1837    
1838 teichmann 17 2007-08-09 Sascha L. Teichmann <[email protected]>
1839 teichmann 10
1840 teichmann 22 * tools/formed/formed/model/data.py: next/prevPage() are
1841     methods of PageNode now.
1842    
1843     * tools/formed/formed/model/nodecomponents.py: findByClassAndName()
1844     is method of Document now.
1845    
1846     * tools/formed/formed/plugins/web/plugin.py: Factored out
1847     the HTML renderer.
1848    
1849     * tools/formed/formed/plugins/web/renderer.py: New: contains
1850     the HTML renderer now.
1851    
1852     * tools/formed/test-data/simple.xml: Fixed typo
1853    
1854     2007-08-09 Sascha L. Teichmann <[email protected]>
1855    
1856 teichmann 21 * tools/formed/formed/plugins/web/plugin.py: Fixed a bug
1857     in calculation of width of bounded int fields.
1858    
1859     2007-08-09 Sascha L. Teichmann <[email protected]>
1860    
1861 teichmann 20 * tools/formed/test-data/simple.xml: Make demo Int fancier.
1862    
1863     * tools/formed/formed/model/data.py: Added attributes to IntLeaf
1864    
1865     * tools/formed/formed/plugins/web/plugin.py: Added rendering for
1866     Ints
1867    
1868     2007-08-09 Sascha L. Teichmann <[email protected]>
1869    
1870 teichmann 19 * tools/formed/test-data/simple.xml: Added demo textarea
1871    
1872     * tools/formed/formed/model/data.py: Added TextAreaLeaf
1873    
1874     * tools/formed/formed/io/document.py: register builder
1875     for loading of textareas
1876    
1877     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1878     for textareas.
1879    
1880     2007-08-09 Sascha L. Teichmann <[email protected]>
1881    
1882 teichmann 18 * tools/formed/test-data/simple.xml: Make demo choice fancier.
1883 teichmann 17
1884 teichmann 18 * tools/formed/formed/model/data.py: Added attributes for texts
1885    
1886     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1887     for texts
1888 teichmann 17
1889 teichmann 18 2007-08-09 Sascha L. Teichmann <[email protected]>
1890    
1891     * tools/formed/test-data/simple.xml: Make demo choice fancier.
1892    
1893     * tools/formed/formed/model/data.py: Added attributes for choices.
1894    
1895 teichmann 17 * tools/formed/formed/plugins/web/plugin.py: Added rendering
1896     for choices
1897    
1898     2007-08-09 Sascha L. Teichmann <[email protected]>
1899    
1900 teichmann 16 * tools/formed/formed/model/data.py,
1901     tools/formed/formed/model/nodecomponents.py: Added new
1902 teichmann 183 attributes.
1903 teichmann 16
1904     * tools/formed/formed/plugins/web/plugin.py: Added rendering
1905     for checkboxes and radio buttons.
1906    
1907     2007-08-08 Sascha L. Teichmann <[email protected]>
1908    
1909 teichmann 15 * tools/formed/test-data/simple.xml: Added some descriptions
1910    
1911     * tools/formed/formed/model/data.py: set attributes in constructors
1912     directly.
1913    
1914     * tools/formed/formed/model/nodecomponents.py: Added description
1915     attribute in the NodeComponent base class.
1916    
1917     * tools/formed/formed/plugins/web/plugin.py: Render description
1918     as legend in fieldset for GroupNodes.
1919    
1920     2007-08-08 Sascha L. Teichmann <[email protected]>
1921    
1922 teichmann 14 * tools/formed/formed/plugins/web/plugin.py: make UTF-8
1923     output work.
1924    
1925     2007-08-08 Sascha L. Teichmann <[email protected]>
1926    
1927 teichmann 12 * tools/formed/formed/model/data.py: Added get/setText() method
1928    
1929     * tools/formed/formed/plugins/web/plugin.py: Added a first
1930     version of a recursive HTML renderer based on the document
1931 teichmann 183 tree.
1932 teichmann 12
1933     2007-08-08 Sascha L. Teichmann <[email protected]>
1934    
1935 teichmann 11 * tools/formed/formed/plugins/*: New: plug-in infrastructure.
1936    
1937     * tools/formed/formed/plugins/web/*: new: A simple web server
1938     which is intended to serve pages of the current formular.
1939    
1940     * tools/formed/formed/main.py: start the plug-ins
1941    
1942     * tools/formed/formed/config.py: configuration class. Used
1943     for the plug-ins.
1944    
1945     2007-08-08 Sascha L. Teichmann <[email protected]>
1946    
1947 teichmann 10 * tools/formed/formed/model/nodecomponents.py: Fixed broadcasting
1948     issue with zero length tree paths.
1949    
1950     * tools/formed/formed/model/misc.py: New: contains a class
1951     for generating unique ids.
1952    
1953     * tools/formed/formed/main.py: Added an instance of an
1954     unique id generator for naming of new made tree items.
1955    
1956 teichmann 7 2007-08-07 Sascha L. Teichmann <[email protected]>
1957    
1958 teichmann 9 * tools/formed/formed/main.py: Added event route document ->
1959     attribute table to get informed when selected item is delete
1960 teichmann 183 or an attribute is changed from the outside.
1961 teichmann 9
1962     * tools/formed/formed/ui/controls.py: Fixed. In older versions of
1963     wxPython 2.6.x ListCtrl.InsertStringItem takes 2 instead
1964 teichmann 183 of 3 argument. Uses icons+tooltips for tree navigation now.
1965 teichmann 9
1966     2007-08-07 Sascha L. Teichmann <[email protected]>
1967    
1968 teichmann 8 * tools/formed/formed/model/nodecomponents.py: Set name
1969     attribute in base class.
1970    
1971     * tools/formed/formed/io/document.py: Added a table
1972     names -> classes.
1973    
1974     * tools/formed/formed/main.py: Added a toolbar. Added code
1975     to create and delete tree items.
1976    
1977     * tools/formed/formed/ui/controls.py: Added code to
1978     insert and delete new tree items.
1979    
1980     2007-08-07 Sascha L. Teichmann <[email protected]>
1981    
1982 teichmann 7 * tools/formed/formed/model/nodecomponents.py: Fixed event
1983     broadcasting for attribute changes.
1984    
1985     * tools/formed/formed/ui/controls.py: Add a list/table control to
1986     edit the attributes of a selected item.
1987    
1988     * tools/formed/formed/main.py: Added code to bind the new
1989     list/table control.
1990    
1991 teichmann 4 2007-08-06 Sascha L. Teichmann <[email protected]>
1992    
1993 teichmann 6 * tools/formed/formed/main.py: Added event routes to move
1994     items in and out of groups.
1995    
1996     * tools/formed/formed/ui/controls.py: Added code to move
1997     items in and out of groups.
1998    
1999     2007-08-06 Sascha L. Teichmann <[email protected]>
2000    
2001 teichmann 5 * tools/formed/formed/model/nodecomponents.py: Fixed path
2002     calculation to root and event broadcasting
2003    
2004     * tools/formed/formed/io/factories.py: Adjust to new
2005     event broadcasting.
2006    
2007     * tools/formed/formed/main.py: Added code to move items
2008     up and down the document tree.
2009    
2010     * tools/formed/formed/ui/controls.py: Establish sort order
2011     by indices of children in parent instead of alphanum.
2012 teichmann 183 Code to move items up and down the document tree.
2013 teichmann 5
2014     * tools/formed/formed/io/document.py: Added missing imports.
2015    
2016     2007-08-06 Sascha L. Teichmann <[email protected]>
2017    
2018 teichmann 4 * tools/formed/formed.py: Added to avoid problems with
2019     ambiguous absolute module names. Thanks to Bernhard Herzog
2020    
2021     * tools/formed/formed.sh: Starts formed.py now
2022    
2023     * tools/formed/formed/main.py,
2024     tools/formed/formed/ui/controls.py: Added control to
2025 teichmann 183 move items around in tree. Has no effect by now.
2026 teichmann 4
2027 teichmann 2 2007-08-05 Sascha L. Teichmann <[email protected]>
2028    
2029 teichmann 3 * tools/formed/formed/io/parser.py: Adjusted style
2030    
2031     * tools/formed/formed/io/document.py,
2032 teichmann 4 tools/formed/formed/io/factories.py: Simplified factory
2033     model for XML loading.
2034 teichmann 3
2035     2007-08-05 Sascha L. Teichmann <[email protected]>
2036    
2037 teichmann 2 * ChangeLog: started ChangeLog
2038    
2039     * tools/formed/*: initial check-in of the Formular Editor.
2040     Not working yet. Only can load, view and store formular XML files.
2041 teichmann 183 Start it with 'tools/formed/formed.sh'.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26