Parent Directory
|
Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
Updated ChangeLog
Updated ChangeLog
* formed/formed/plugins/export/rules_sh.py (generate_tagging): Remove unused variable "inserts" and corresponding commented out code.
* formed/formed/plugins/export/rules_sh.py: Remove some commented out code.
* formed/formed/plugins/export/rules_sh.py: expand star-import.
* formed/formed/plugins/export/rules_sh.py (sql_OperatorUnary): Put parentheses around the comparison for the KNOWN operator in the generated SQL to ensure correct evaluation order.
* formed/formed/plugins/export/rules_sh.py (binary_operator_map): New. Map binary formed expr operators to their SQL counterparts. (sql_OperatorBinary): Use binary_operator_map instead of a cascade of if-statements with lots of code duplication. Also, put parentheses around the resulting SQL expression to make sure the expression is correctly. This fixes a problem with WASKO tagging rules, where the a FormEd expression of the form like "2 1 1980 date 1 1 1980 date - 93 *" would be incorrectly converted to the SQL expression "93 * '1980-01-02'::date - '1980-01-01'::date"
* formed/formed/plugins/export/rules_sh.py: Fix formatting.
Do not set attribute "repeat" for Repeat-Nodes.
Updated ChangeLog
validate formedtree.xml
issue1131: generate XSD for case exports
Updated ChangeLog
Ignore rules if fields in repeat group
Added support to more opperators
Updated ChangeLog
Added generating XML for tagging config.
Updated ChangeLog
Updated ChangeLog
Updated ChangeLog
Updated ChangeLog
Enhanced LaTeX output
Avoid database deadlocks that can happen when database clients try to work with the same case using two separate database connections. See mpuls/issue1145 for details. * formed/formed/plugins/export/rg_sql.py (SQL_TEMPLATE): Split the computation of the new json structure description into the new database function compute_case_structure (TRIGGER_TMPL): Change the trigger functions to immediately update the cached json structure description instead of just setting the modified flag. This avoids the lazy recomputation that makes what seems like a read-only access (calling get_case_structure) into a writing access (updates of the cache). The writes lock the row in the case_structure table which prevent other connections from accessing the same case. As part of this, the delete triggers are now AFTER triggers because the repeat groups instance must have been removed when the structure is recomputed. (SUBSELECT_TMPL): Since the delete trigger is now an after trigger, we need to change the way the master id is computed. We cannot join with the repeatgroup table in question because the row has already been deleted. However, we can use the master_id column of the OLD row to select the row of the parent table. (create_triggers): Avoid the inner joins with the current repeat group for the above mentioned reasons. In the very common case of repeat groups which are direct children of the master_tbl, we can compare the master_tbl.id directly with the row's master_id.
issue1131: updated XSD
issue1050: mandatory fields appearing double
Added helper script to diff to given formedtree files.
fixed typo
* formed/po/de_DE.po: Update translations
* formed/po/de_DE.po: Update. * formed/po/formed.pot: Regenerated.
* formed/po/Makefile: Use correct filename of the pot-file in the usage message
* formed/po/Makefile (LIST_POTFILES): Sort the file names to make the order of entries in the .pot-file more predictable.
* formed/formed/main.py (MainFrame.OnSetDocumentVersion): New. Let the user set the document version. (MainFrame._createMenuBar): Add menu item for OnSetDocumentVersion * formed/formed/model/nodecomponents.py (RootNode.__init__) (RootNode.getVersion, RootNode.setVersion): Add attribute "version" and accessor methods.
* formed/formed.py, formed/formed/io/document.py, formed/formed/io/factories.py, formed/formed/io/parser.py, formed/formed/model/data.py, formed/formed/model/event.py, formed/formed/model/expr.py, formed/formed/model/exprtree.py, formed/formed/model/memory.py, formed/formed/model/misc.py, formed/formed/model/nodecomponents.py, formed/formed/model/persistent.py: Fix coding declaration to be acceptable to both python and Emacs.
Updated ChangeLog
Upated ChangeLog
generated date rules take into consideration repeat groups
Issue851
Updated ChangeLog
make the names of generated unique
* formed/formed/plugins/export/rg_sql.py (CREATE_DELETE_MASTER_TMPL): In create_master_tbl, call create_master_ds to create the master tbl entry. This way we can add SQL code that's specific to an MPuls instance to create_master_ds and still have create_master_tbl use that new code. This is useful for e.g. the JMD-Struktur part.
updated regular expression
Export references (ie where are the lists used).
Improved section labeling.
Updated ChangeLog
JMD formedtree.xml validates XSD
WASKA formedtree.xml validates XSD
Radiogroups are exported
Updated ChangeLog
Updated ChangeLog
Updated ChangeLog
Updated ChangeLog
Added filter
Allow groups in choices.
do not ignore conditional nodes on traversal
Generate '%' (for all) variables in rule generator plug in.
Fixed python dictionary exporter to work with new repeat group structure.
Allow groups in choices
formed/formed/plugins/export/latex.py: Adjusted textprocessing to escape tex-active characters.
Adjusted to cope with "semi-complete" implementation of logbook tree structure.
Fixes of permission in SQL
Commented out generation of page_views.
Fixed anonymize function and rolenames
SQL Schema generator: s/-/_/ in relation names.
small optimization in making names unique.
Repaired unique filter for nodecomponent names.
Create only depending repeat groups if no uuid is given.
New SQL schema generator plug-in.
Added delete functions for repeat group SQL generator.
Added functions in repeat group schema generator to create datasets.
New plug-in to generate tree structures in database.
Fixed RepeatNode and added attribute 'digest'.
Rule description plug-in: make 'equal' and 'not equal' more readable with '=' and '<>'.
SQL Export: New function to anonymize uuids.
SQL schema: Set uuid_id to NULL in case_anonymize().
New plug-in to export rules in human readable form (as HTML).
Expr engine: * Fixes from server * Raise exceptions if there is less or more than one element on stack after compilation of expression.
Date rules: Fixed error message. Generate past and future rules.
Expression engine: Forget to call today with context.
Fixed syntax typo. - Diese und die folgenden Zeilen werden ignoriert -- M ChangeLog M formed/formed/io/document.py
ConditionalNode inherits from Node directly.
Added ConditionalNode.
Make the error descriptions in date sequence rules more precise.
generate date sequence rules.
Use new tree based expression engine.
Introduced new order attribute in datefields
Allow pages to be 'invisible'.
Fixed problem with description reference tables of radio groups.
SQL exporter: replace '-' in names by '_'.
Make table comparision invariant of insert statements and case.
Repair SQL schema creation for radio groups.
Implemented new version of formedtree
Changed XSD-Schema generation
Added new repeat node
Add isset operator to autogenerated rules.
LaTeX export reworked: Section marks and help text placeholder.
Expr: Added 'today' which pushes the current date on the stack.
Added unknown int -999999 to integer fields as an accepted value. Generate schema for radio groups too.
Generate default rules for required fields
Added stub for required fields rules generator. Ported WidgetCollector from Offline client.
Added new attribute "mark" for rules
Implemented radio-matrix elements.
Fixed import error
Relative paths in external choices are now possible.
Added initial description.
Added attribute 'flags'.
Indent formed-tree while saving
Released under GPLv3
Removed tools
Move formed on level up because its the only part of the project now.
Remove tools/anonym as it belongs to mpuls WASKA
Removed pdf2xfa as it belongs to mpuls.
i18n of the plug-ins:
First version of FormEd i18n.
anonymized export: Only export cases which are not 'schwebend geloescht'.
Fixed issue472
Anon XML import on eval server: Moved marking of invalid cases from xmlimporter to cron jobs.
Added LaTeX export and more information on anonymisation to HTML export.
Added Information on anonymisation to html export
Mark cases as inconsistent if they do not fullfill the conditions of valid time evaluation.
Updated anon XML import to schema 1.5
Synced anon XML import with produktive version.
Grant access permission for anonymize function to admin-ka
New, export key value tables as excel workbook with one sheet per table.
Brought encoding back to UTF-8
* tools/formed/formed/plugins/export/xsd.py (SchemaCreator._createChoice): Fix use of choices name.
Use substitution group to allow arbitrary order of repeat groups in XSD exporter.
Removed needless character in XSD exporter.
Added annotations to fields in XSD export
Added support for choice fields in XSD export.
Added support for boolean fields in XSD export.
Added support for date, text, textarea fields in XSD export.
Added support for repeat groups and integers in XSD export.
Added stub for new xml schema exporter plug-in.
Changed WHERE clause of view to work with group permissions
Added cron job script to delete old anonymized cases from database.
Anoymnized XML export. Removed "WHERE einverstaendniserklaerung = 1" from clause to select datasets.
Updated import.cron
SQL schema exporter: Fixed a bug in anonymization code of repeat groups.
SQL schema exporter: anonymize_case-Generator: Generate no update statements for relations which have no anonym functions applied.
SQL schema exporter: Added a newline in last line.
SQL schema exporter: Fix syntax of generated anonymize_case() function.
SQL schema exporter: Added code to generate a plpgsql function anonymize_case() that anonymizes a given case and all of its depending repeat groups.
* Removed query print in anonym xmlimport * Print generation date of db schema in ISO.
Added Changenote
XML import: fixed bug in date conversion.
Simplified the XML import.
Various bug fixes for XML import of anonymous cases.
XML import added support for getopt and fkz imforcement.
XML import: implementes logic to create/update cases.
Fixed logic bug in CSV joiner.
Merged
Added script to automate the import auf xml files
Merged
Added scripts to automate the export
Added generation of SQL update statements.
Added support for reading files generated by XML export.
Added new plug-in for simplified HTML output. Added new plug-in for dumping schema as python dictionaries.
Added XML exporter for cases.
Separated CSV export by '\t' now.
Added simple script to fetch anonymous data from database.
SQL schema generator: Exchanged name erase_value with suppress_value/suppress_value2.
SQL schema generator: substitute 'erase_value' with NULL value.
SQL schema exporter: output id, master_id and uuid_id in anonymiziation views too.
SQL schema generator: Added generation of anonymiziation views for master table views and repeat group views.
- Added attribute "function" in FormEd nodes - Save XML attribiutes in alphabetical order.
FormEd / SQL schema exporter: Added update rule for master table and repeat groups. Granted update right to :cm_ka_group.
FormEd / SQL schema exporter: Added a column 'uuid_id' to master table and repeat groups. Also added unique constraints to these columns.
pdf2xfa: Added property to specify the name of the XML root node.
pdf2xfa: Added boot scripts for GNU/Linux
pdf2xfa: Added logging to daemon
added invisible flag for info fields
tools/formed/formed/plugins/export/sql.py (createSchema): Append only column "bearbeiter_id", standins are modelled by a separate table.
Fixed small bugs with node components
Added a field 'alternative' to all node components
tools/formed/formed/plugins/export/sql.py: New WHERE-clause for views.
* tools/formed/formed/plugins/export/sql.py: Set default value (-1) for choices and bools.
2007-10-21 Frank Koormann <frank@intevation.de> * tools/formed/formed/plugins/export/sql.py: Grant statements for descriptive tables added. (Table.getName): new
* tools/formed/formed/plugins/export/sql.py: "CREATE OR REPLACE" statements for views and roles to make updates easier. Add "admin_ka" membership as third option to VIEW_WHERE_CLAUSE.
* tools/formed/formed/plugins/export/sql.py: Added GRANT statements for views.
pdf2xfa: flush out going xml
pdf2xfa: added script to build production jar
db export: "Ja", "Nein", "Keine Angabe" are not modelled as BOOLEANs any more.
SQL exporter: Added remaining update rules.
SQL exporter: Added some UPDATE rules.
SQL exporter: bug fix for INSERT/DELETE rules.
SQL exporter: added DELETE and INSERT rules.
SQL exporter: factored out legacy exporters to separate file.
Initial import of the PDF to XFA server
SQL exporter: Fixed a bug that made choices of three elements to boolean if they have other meanings than "yes/no/no answer"
sql export: Select ids of underlaying tables in views too.
sql export: various bugfixes
sql export: schema export includes views for pages now.
web plugin: ignore repeat groups while rendering pages.
Added visitor traversals for document trees. Rewrote Page.allWidgets() to use them.
nameplugin: pages will now the transformed into db-friendly names as well.
sql export: prepare for exporting new views
web plug-in: Add flag to pipe content through tidylib to produce valid HTML
webplugin: fix on viewrenderer
SQL schema exporter: Added generation time and DROP TABLE statements.
SQL schema exporter: The tables are generated in correct topolocial order now.
Add a new filter to export document in a given mode
web plug-in: made the view renderer a real view renderer.
Webplugin: Small tweaks in formrendering
web plug-in: Fixed a few smaller bugs in the layout engine.
web plug-in: use new layoutable formular renderer
web plug-in: Added a new view renderer (not working yet)
renamingfilter: bugfix
webplugin: renamed header of the formular navigation
webplugin: Added errormsg for choicelists. prettyprint bad values
Webplugin: Fixed bug that choicelist did not get selected when the value is set to "0"
Some renaming issues. Introduced new getPrintableData method in formdata
Persistence is now implemented with filters.
Using XML instead of pickle/unpickle as data persistence layer.
Added a simple way to make MemoryDataStores persitent through pickle/unpickle
Changed name of the application from "formed" to "waska" on the welcomepage
Added project infopage
web plug-in: fixed unicode conversion issues with error messages (once again).
Added alt tags to icons
web plug-in: fixed rendering wrong h-sizes of infos. Fixed label generation of ints, texts and textareas.
web plug-in: Add semantic check for bool fields.
Various small changes (renaming, eyecandy). Added notImplementedRenderer.
Implemented "lookAhead" alogrithm for linking group elements within the formular navigation
Small design changes and a small fix when rendering the welcomepage
Some work on error messages and html code generation
web plug-in: hilight selected page in page navigation.
Fixes on displaying the correct data when changing datasets. DataSetDigestRenderer now uses the correct formdata values.
web plug-in: pretty print form data
web plug-in: Modified creation of errors stats a bit to avoid extra error on page.
web plug-in: Fixed storage problem of radio groups-
Removed session remaining session artifacts when deleting datasets
Finished moving renderes and added new Class ErrorStats
web plug-in: Fix storage problem with select fields.
web plug-in: Add a class to track errors in the session.
web plug-in: Fixed problem not to be able to set data on first page.
web plug-in: FormData interface has now separate methods for data, help and errors.
web plug-in: Make rule checking work
Moved more methods into renderer.py
Added new renderer.py
Provided formdata in the renderes
Changes on the rendering output, and small semantic fixes
Mainly added confirmation dialogs. Fix for delete in DatasetStore
web plug-in: add simple support for storing entered data in session.
web plug-in: Do not fetch a dataset from backend each time a page is up to edit.
web plug-in: Fix bug when ask for a non-existent page.
clean up web controllers a bit
web plug-in: Moved request handlers and renderers to a new file.
Small changes in the web template. Changed links in the menu to call the new create, modify, and delete functions.
Removed bisect from MemoryDataStore. Fixed various issues in web plug-in.
Added create, update, delete and show handlers
New dictionary/reg-ex infrastructure for the web plug-in.
Added help messages to the html output
Improve caching for web plug-in. Fixed a problem with static content.
Set MIME type to "application/xhtml+xml" when serving help texts in web plug-in.
Add a new export filter for printing pairwise differences bewtween all modes.
Add support for help texts.
Only visible groups are rendered in formular navigation. Pages in thee form navigation does have their onw style now.
Added page error output in main.tmpl
* tools/formed/formed/plugins/export/html.py (RecursiveExporter): Added annotation to export (fillRow()): Renamed old fillNine to this more generic name.
Web renderer uses the decorator from model.misc now.
Added an annotation attribute to tree items.
* tools/formed/formed/plugins/export/html.py: Export Choice option as simple list instead of collection of bools.
Added interfaces to abstract from data persistent details.
Fixed constructor chains for FileDialogFilter sub classes.
Factorized decorator out of HTML table exporter to a separate class.
Make HTML table exporter use the new FileDialogFilter base class too.
Added a new common base class for file exporters which pulls up a file dialog.
Make mode check in HTML table export work again.
Changed rendering of the HTML export to a recursive approach to be able to represent the full hirachically structure of the formular. NOTE: Modechecking is broken in this version.
Changed Navigation redering to recursive mode to be able to render the hirachically documnt structure
Added an exporter for SQL table views.
Added stored procedure export filter.
Added new interface get bundeled formular errors.
Prepared formular renderer for displaying nice error messages
tools/formed/formed/plugins/export/sql.py (SchemaCreator.createSchema, SchemaCreator._createGroup): Fixed typo in created DDS (PRIMRAY -> PRIMARY)
Added small helper function for quoting in sql statements
Added foreign keys for repeat tables in SQL generator.
Check tables in SQL export to avoid creation of tables of same content.
Rewritten SQL exporter to produce _real_ SQL and respect repeat groups.
Renamed GroupNode.getRepeat() to .isRepeat and return a bool. Fixed a bug in Page.allWidgets().
Did some modification on the html code generation.
Removed support of logica groups.
Avoid saving empty attributes.
Added "repeat" and "invisible" attributes to group.
Added missing Changenote
Added a logical group. Useful for indicating external tables in DB schemes.
Added support of static content for web plugin.
Added MIME type support for web plugin.
Make root of static HTML content configurable via FORMED
Introduces (sort of) CSS and template support for HTML rendering. Fixed several mode related issues.
Factorized HTTP server code out to separate module.
Added rule items
Fixes in forumlar name generation an SQL syntax
SQL generation improved and separated code for making the formular names more 2 database friendly
Print lengths of external choice lists in HTML table output.
Workaround for adding and removing modes.
Fixed a small problem with cumulative modes.
Dump the items of radio groups and choise in HTML table export too.
Modified renaming by formular name function
Tweaked HTML table generator a bit
Factorized HTML and SQL exporter out to a different package.
Added new pseudo SQL Exportfilter
Add a new HTML export filter
Added small script to extract fields and options from the formlar XFA data.
Added "all" mode.
Removed support for switch nodes. BEWARE: This breaks compatibility with older documents!
Selected mode is stoed in main now.
Attributes in GUI attribute able are now alphabetically sorted.
Use the new modes policy in rendering and tree walk.
Added an attribute 'modes' to NodeComponents.
Small cosmetic cleanup on finding the prev/next pages.
Fix the hidden page field in HTML renderer again.
Fixed double generation of hidden page field in HTML renderer.
Added semantic checks for radio groups
Added semantic checks for choices
* contrib/convert-formedtree2html.xsl: Display switch nodes as alternatives.
* contrib/convert-formedtree2html.xsl: Replace technical types with readable descriptions
Delete unset parameters from current page out of semantic box.
Fixed an encoding issue with incoming UTF-8 data.
Added a method to find all widgets of a given page. Fixed a bug when walking a switch with a given mode.
Fixed file-encoding to latin-1
Added a mode parameter to NodeComponent.walk() and overwrite it for switches. Simplified HTML rendering for switches.
Add semantic tests for texts. Set accept-charset in generated HTML form to UTF-8
Added semantic tests for dates.
Added new module for semantic checking.
Fixed syntax in selection field generation.
Added simple cookie based session management to the web renderer.
Escaping text while inserting it into the HTML output of the web renderer.
Added a new kind of plug-in: Filters. Implemented the "make unique" and "formular name -> name" functions as filters.
First argument of command line is used to load document at startup.
* contrib/convert-formedtree2html.xsl: Heading level depending on depth of group node. In case of radio/choice/check only list of options.
Added missing changenote in changelog
Added xsl script for converting FormEd xml-tree to html
Added Changenote in Changelog (forgotten)
Swaped order of "Make names unique" and "Select mode..." in Extra menu.
Make traversal mode selectable at runtime.
Add parameter rendering in web plugin.
Added note for csv export in Changelog
Added a "switch" mode
Added an attribute formularname to base class of node components.
Added external loadable item list for choices.
Fixed typo
Added extractor for XFA choice item list
Choices are groups and options are embedded bools now. WARNING: This breaks compatibility with old documents.
Added support for cloning a selected tree item
Added import feature for further documents.
Added menu "New" to "File" to create new documents.
Added menu item to eliminate duplicated names in document tree.
Removed support for "text" attributes in bool items.
Simplified convert-choices.xsl
Removed options attribute from choices. Use value attribute for same purpose, please.
radio buttons are selected by checked and not by selected. Fixed.
ChoiceLeafs are now initialized with size = 1.
TextLeafs are now initialized with size = 40, maxlength = 60
Fixed: choices are renderered with description now.
Added rendering for date items. Added missing ids for texts and textareas.
Added support for enviromnent variable FORMED
Removed text attributes from info tags. Using value attributes instead.
Factored the HTML renderer out of the web server.
Fixed a bug in calculation of width of bounded int fields
Added rendering for Ints
Added TextArea support
Added rendering for texts
Added rendering for choices
Added rendering for checkboxes and radio buttons in web plugin
Added description attribute in the NodeComponent base class
Make UTF-8 output of HTML renderer work
Added first version of a recursive HTML renderer
Added plug-in mechanism + a simple web server
Added unique naming of new made tree items
fixed: ListCtrl.InsertStringItem for older wxPython versions; new: icons for tree navigation; new: event route to attribute table
Added code to add and remove tree items
Added a table editor for tree node attributes
Added code to move items in and out of groups.
Added code to move items up and down the document tree.
Added control to manipulate tree structure. No effect by now
Simplified factory model for XML loading
Initial import of FormEd
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |