IHRIS Suite 4.1 Development: Difference between revisions

From IHRIS Wiki
Line 116: Line 116:
Released April 18, 2012
Released April 18, 2012


2887: Luke Duncan 2012-04-18 Added extra option for field limits to include a manual where clause for a limit when necessary.  This probably can be done in a better way, but this is a quick fix that won't break anything when the extra_where option isn't set.  This also needs to be added to the interface to allow editing of it.  For now it must be done in a module to create the entry in magic data.
*Added extra option for field limits to include a manual where clause for a limit when necessary.  This probably can be done in a better way, but this is a quick fix that won't break anything when the extra_where option isn't set.  This also needs to be added to the interface to allow editing of it.  For now it must be done in a module to create the entry in magic data.
2886: Luke Duncan 2012-04-18 Removed extra name attribute in template to avoid XML errors when the name and id are the same.
*Removed extra name attribute in template to avoid XML errors when the name and id are the same.
2885: Luke Duncan 2012-04-18 Added in check in delete record page to make sure something was returned when searching for linked forms before operating on the results.
*Added in check in delete record page to make sure something was returned when searching for linked forms before operating on the results.
2884: Luke Duncan 2012-04-13 Fixed typo in limit_val check for first character being '$'.
*Fixed typo in limit_val check for first character being '$'.
2883: Launchpad Translations on behalf of intrahealth+informatics 2012-04-13 Launchpad automatic translations update.
*paged messagebox can now have alternate title and can handle more than one instance on a page
2882: Carl Leitner 2012-04-11 paged messagebox can now have alternate title and can handle more than one instance on a page
*user form -- call pre and post_save_form hooks.  in particular makes sure user form is marked as dirty on save
2881: Carl Leitner 2012-04-10 user form -- call pre and post_save_form hooks.  in particular makes sure user form is marked as dirty on save
*user account request - fixed invalid reference to form factory causing fatal error
2880: Carl Leitner 2012-04-10 user accoutn requst - fixed invalid reference to form factory causing fatal error
*fixed typo in checking individual form storage / form stale times
2879: Carl Leitner 2012-04-10 cached forms: fixed typo in checking individual form storage / form stale times
*fixed versions for 4.1 series for Custom Report Selector and Reference Field
2878: Launchpad Translations on behalf of intrahealth+informatics 2012-04-02 Launchpad automatic translations update.
*set version for magic data defining show page for custom reports as it was not updating properly for people coming from a late version of the 4.0 series to 4.1
2877: Launchpad Translations on behalf of intrahealth+informatics 2012-03-30 Launchpad automatic translations update.
*fix up the displayname of the deleterecords and exportreports modules
2876: Launchpad Translations on behalf of intrahealth+informatics 2012-03-29 Launchpad automatic translations update.
*fixed issue with setting role in the user form/email verification
2875: Carl Leitner 2012-03-28 fixed versions for 4.1 series for Custom Report Selector and Reference Field
*when logging out, unset ['referal'] so we don't end up in an endless loop of login credentials (esp. with the verify email access link)
2874: Carl Leitner 2012-03-28 set version for magic data definining show page for custom reports as it was not updating properly for people coming from a late version of the 4.0 series to 4.1
*added some more flexibility to the request user account page
2873: Launchpad Translations on behalf of intrahealth+informatics 2012-03-28 Launchpad automatic translations update.
*percent fields now have a meta/check_bad_percent option to allow you to enter in 0.2 as 20%
2872: Launchpad Translations on behalf of intrahealth+informatics 2012-03-27 Launchpad automatic translations update.
*fixed up the I2CE_FormField::optionsHasPath so you can also pass an array
2871: Launchpad Translations on behalf of intrahealth+informatics 2012-03-23 Launchpad automatic translations update.
*suppress error messages when getting ids in formstorage_db
2870: Carl Leitner 2012-03-22 added in translation templates
*fixed call to cleanlyEndOutputBuffers, cleanlyEndOutputBuffers will trim any empty space.
2869: Launchpad Translations on behalf of intrahealth+informatics 2012-03-22 Launchpad automatic translations update.
*added Czech as a default language
2868: Carl Leitner 2012-03-21 updated to translation templates
*Entry Form Storage -- fixed issue with order by (mysql does not do the orderby within a sub-select)
2867: Carl Leitner 2012-03-20 fix up the displayname of the deleterecords and exportreports modules
*Module admin cleanup to suppress warning messages
2866: Carl Leitner 2012-03-19 fixed issue with setting role in the user form/email verification
*MagicDataTemplate -- make sure class name is unset
2865: Carl Leitner 2012-03-19 when logging out, unset ['referal'] so we don't end up in an endless loop of login credentials (esp. with the verify email access link)
*ModuleLimits -- only allow to create a module limit when a mapped field has exactly one selectable form
2864: Carl Leitner 2012-03-19 added some more flexibilty to the request user account page
*be smarter about showing which module limits to add to a report field.  added debugging information for cssc
2863: Launchpad Translations on behalf of intrahealth+informatics 2012-03-13 Launchpad automatic translations update.
*Fixed the cached buildDataTree to work when forms aren't displayed (e.g. country:[region]:district:etc.). Since region wasn't in the display it was getting skipped completely. Fixed this by causing the displayed forms to find the correct link_field to use to determine which section it needed to be placed in.
2862: Carl Leitner 2012-03-12 percent fields now have a meta/check_bad_percent option to allow you to enter in 0.2 as 20%
*fixed the c_node.isSameNode javascript error in firefox 10
2861: Carl Leitner 2012-03-12 fixed up the I2CE_FormField::optionsHasPath so you can also pass an array
*Moved the dumpStaticURL call earlier to speed up processing in these cases. (No db connection, no session).  Also reused the results of parseDSN in the dbConnect call so if this needs to be undone then change that back as well. I'm not sure if this may cause problems anywhere.  It seems ok with some quick testing, but there may be cases where more needs to be loaded.
2860: Launchpad Translations on behalf of intrahealth+informatics 2012-03-12 Launchpad automatic translations update.
*MongoDB Magic data storage
2859: Carl Leitner 2012-03-09 merge rev 2694 from i2ce/4.0-dev: suppress error messages when getting ids in formstorage_db
**added optional mangodb form storage mechanism for testing/expiremental purposes.  you can enable it by putting the line 'SetEnv I2CE_CONFIG_PROTOCOL mongodb' in .htaccess/
2858: Carl Leitner 2012-03-09 merge rev 2693 from i2ce/4.0-dev: fixed call to cleanlyEndOutputBuffers
**fixed install of MDS storage for mongo vs. config_alt
2857: Carl Leitner 2012-03-09 merge rev 2692 from i2ce/4.0-dev: cleanlyEndOutputBuffers will trim any empty space.  
**avoid fatal error if mongodb is not up and running properly
2856: Carl Leitner 2012-03-08 added Czech as a default language
*Modified the cached form export to include a date string in the filenameAlso commented out logging the mysqldump command for security.
2855: Carl Leitner 2012-03-08 merge rev 2690 from i2ce/4.0-dev: Entry Form Storage -- fixed issue with order by (mysql does not do the orderby within a sub-select)
*slight speed up to processing attributes in MDN
2854: Launchpad Translations on behalf of intrahealth+informatics 2012-03-08 Launchpad automatic translations update.
*printed forms: added type check to supress fatal error
2853: Carl Leitner 2012-03-06 merge rev 2689 from i2ce/4.0-dev: Module admin cleanup to supress warning messages
*Put back in accidentally deleted addDatePicker call.
2852: Carl Leitner 2012-03-06 MagicDataTemplate -- make sure class name is unset
*Added options for DatePicker to magic dataAdded the english days and months to use for the datepicker options so they can be set for other languages. This doesn't fix any underlying issues with the date object and internationalization, but it does allow the datepicker to display in the chosen language.
2851: Carl Leitner 2012-03-05 ModuleLimits -- only allow to create a module limit when a mapped field has exactly one selectable form
*Commented out the not stale message for form caches since it can make a lot of messages with drop downs using cached tables.
2850: Launchpad Translations on behalf of intrahealth+informatics 2012-03-02 Launchpad automatic translations update.
*Commented out the skipping cached table when not dirty message because with the new usage of cached tables for drop downs it gets really spammy.
2849: Carl Leitner 2012-03-01 be smarter about showing which module limits to add to a report field.  added debugging information for cssc
*Added option to have the blank text for drop downs in magic data so it can be translated.
2848: Luke Duncan 2012-02-29 Fixed the cached buildDataTree to work when forms aren't displayed (e.g. country:[region]:district:etc.).  Since region wasn't in the display it was getting skipped completely.  Fixed this by causing the displayed forms to find the correct link_field to use to determine which section it needed to be placed in.
*Removed debugging echo statement from message notice module.
2847: Carl Leitner 2012-02-28 fixed the c_node.isSameNode javascript error in firefox 10
*Removed debug statements from reporting function swissconfig.
2846: Carl Leitner 2012-02-28 fixed install of MDS storage for mongo vs. config_alt
*improvements to paginated message box. multiple overlayed messages are now paginated
2845: Launchpad Translations on behalf of intrahealth+informatics 2012-02-25 Launchpad automatic translations update.
*Updated the ODT report printed form to set the ++report_limit even if nothing is there so the template will replace it with nothing when appropriate.
2844: Luke Duncan 2012-02-23 Moved the dumpStaticURL call earlier to speed up processing in these cases(No db connection, no session). Also reused the results of parseDSN in the dbConnect call so if this needs to be undone then change that back as well. I'm not sure if this may cause problems anywhereIt seems ok with some quick testing, but there may be cases where more needs to be loaded.
*Made some fixes to the buildDataTree built by cached formsThings were getting put in the wrong place because of the way the joins have to be created so (e.g.) facilities linked by district showed up under each county.  Now it won't include duplicates and it adds things to the correct linked place. It also now will strip out the display content for the linked field since that will be above it in the tree to avoid too much extra info. There's probably a better way to handle this, but I'm not sure what's best.
2843: Luke Duncan 2012-02-23 Modified the cached form export to include a date string in the filename. Also commented out logging the mysqldump command for security.
*Fixed typo in default display for lists that had an invalid call to array_pad because of mismatched parentheses.
2842: Carl Leitner 2012-02-21 slight speed up to processing attributes in MDN
*added I2CE_AjaxSubmitButton which does form submission like I2CE_SubmitButton but replaces content of current page with filtered response. ajax submit button is renabled after 5 seconds.   
2841: Carl Leitner 2012-02-21 avoid fatal error if mongodb is not up and running properly
*Added in an option to include ODT files as an output for reports.  This allows you to customize the printed output however you would like.  This needs to be enhanced to allow image types from the report.
2840: Carl Leitner 2012-02-20 added optional mangodb form storage mechanism for testing/expiremental purposes.  you can enable it by putting the line 'SetEnv I2CE_CONFIG_PROTOCOL mongodb' in .htaccess/
*Modified adding the manifest.xml file to the ODT zip archive to not include ./ because that was making it look like a different file if it already existed and causing it to appear twice in the archive which made Word and Libre/Open Office not happy with the output.
2839: Carl Leitner 2012-02-20 printed forms: added type check to supress fatal error
*I2CE_FormField_MAP now preserves the 'class' attribute
2838: Launchpad Translations on behalf of intrahealth+informatics 2012-02-18 Launchpad automatic translations update.
*ajax submit button empties the existing content
2837: Luke Duncan 2012-02-16 Put back in accidentally deleted addDatePicker call.
*Updated the requirements for PrintedFormsODT to require PrintedForms allowing less than 4.2 instead of 4.1.
2836: Luke Duncan 2012-02-16 Added options for DatePicker to magic data.  Added the english days and months to use for the datepicker options so they can be set for other languagesThis doesn't fix any underlying issues with the date object and internationalization, but it does allow the datepicker to display in the chosen language.
*fix fatal error when putting html in a overlayed message box
2835: Luke Duncan 2012-02-16 Commented out the not stale message for form caches since it can make a lot of messages with drop downs using cached tables.
*removed the setShowForm and replaced it with a check to see if a formfield is part of a <form>
2834: Launchpad Translations on behalf of intrahealth+informatics 2012-02-16 Launchpad automatic translations update.
*relax nullity check to non-strict when getting header for generate password
2833: Luke Duncan 2012-02-09 Commented out the skipping cached table when not dirty message because with the new usage of cached tables for drop downs it gets really spammy.
*fixed typo in user request page
2832: Luke Duncan 2012-02-09 Added option to have the blank text for drop downs in magic data so it can be translated.
*clearer user message when requesting account creation
2831: Luke Duncan 2012-02-08 Removed debugging echo statement from message notice module.
*fixed typo in fatal error message
2830: Launchpad Translations on behalf of intrahealth+informatics 2012-02-07 Launchpad automatic translations update.
*Changed the ids in some relationship function templates to not have the same name and id for 'a' tags because LibXML complains about them being a duplicate ID and since the ID is being changed after loading anyway it isn't necessary to be the sameThere doesn't seem to be a problem with changing the id when testing this change, but it is possible there are some unintended consequences.
2829: Luke Duncan 2012-01-31 Removed debug statements from reporting function swissconfig.
*Split report functions templates into 2 and loaded them when needed instead of setting has_available_functions to avoid duplicate id error with reporting_functions_container.
2828: Launchpad Translations on behalf of intrahealth+informatics 2012-01-31 Launchpad automatic translations update.
*Added in default setting for  variable to avoid undefined variable warning.
  Carl Leitner 2012-01-29 improvements to paginated message box
*Modified the buildDataTree cached query to not include order by fields in the select when they're not needed.
2826: Carl Leitner 2012-01-29 multiple overlayed messages are now paginated
*process dom on formfield with href preserves all attributes (except href of course)
2825: Luke Duncan 2012-01-26 Updated the ODT report printed form to set the ++report_limit even if nothing is there so the template will replace it with nothing when appropriate.
*Fixed join type for data trees when both levels of the forms are the same.
2824: Luke Duncan 2012-01-26 Made some fixes to the buildDataTree built by cached forms. Things were getting put in the wrong place because of the way the joins have to be created so (e.g.) facilities linked by district showed up under each county.  Now it won't include duplicates and it adds things to the correct linked place. It also now will strip out the display content for the linked field since that will be above it in the tree to avoid too much extra info.  There's probably a better way to handle this, but I'm not sure what's best.
*update to mootools 1.4.2
2823: Luke Duncan 2012-01-26 Fixed typo in default display for lists that had an invalid call to array_pad because of mismatched parentheses.
*made some numeric form fields tolerant of commas on submission
2822: Carl Leitner 2012-01-26 fixes and improvements to ajax submiut button
*added javascript validation and formatting to some of the form fields
2821: Luke Duncan 2012-01-25 Added in an option to include ODT files as an output for reportsThis allows you to customize the printed output however you would like.  This needs to be enhanced to allow image types from the report.
*fix args passed to builddatatree in MAP_MULTUNION
2820: Luke Duncan 2012-01-25 Modified adding the manifest.xml file to the ODT zip archive to not include ./ because that was making it look like a different file if it already existed and causing it to appear twice in the archive which made Word and Libre/Open Office not happy with the output.
*form field options can now be set on a path
2819: Carl Leitner 2012-01-25 I2CE_FormField_MAP now preserves the 'class' attribute
*cached forms build data tree -- lowercase result access properties as MDB2 does not respect them
2818: Carl Leitner 2012-01-25 ajax submit button empties the existing content
*invalid call to setForm() on a page will no longer cause fatal error
2817: Luke Duncan 2012-01-25 Updated the requirements for PrintedFormsODT to require PrintedForms allowing less than 4.2 instead of 4.1.
*user form -- set sort field to be username, not name
2816: Carl Leitner 2012-01-23 ajax submit button is renabled after 5 seconds
*associative inputs -- select all on focus
2815: Launchpad Translations on behalf of intrahealth+informatics 2012-01-21 Launchpad automatic translations update.
*cleanup/improve regexps/matching for associative percent form field
2814: Carl Leitner 2012-01-20 added I2CE_AjaxSubmitButton which does form submission like I2CE_SubmitButton but replaces content of current page with filtered response
*Updated the pChart library to 2.1.3.
2813: Launchpad Translations on behalf of intrahealth+informatics 2012-01-20 Launchpad automatic translations update.
*made limits use getDBValue() instead of getValue() by default.  Changed some implodes to explodes for within limits
2812: Carl Leitner 2012-01-19 fix fatal error when putting html in a overlayed message box
*Fixed up conversion of LIKE to regexp
2811: Carl Leitner 2012-01-19 removed the setShowForm and replaced it with a check to see if a formfield is part of a <form>
*command line update exits after done --avoid misleading error message about the Wrangler
2810: Carl Leitner 2012-01-17 relax nullity check to non-strict when getting header for generate password
*made translatable (via magic data) all form field message.  added helper functions to find set named error message.
2809: Carl Leitner 2012-01-17 fixed typo in user request page
*Where a formfield has multiple unique_fields (including one with a mapped value (i.e. region:country) then the non mapped value wasn't doing the check correctly.
2808: Carl Leitner 2012-01-17 clearer user message when requesting account creation
*Redid the validate_formfield for I2CE_Module_Lists to remove the call to monsterMashAlso deleted the monsterMash code from I2CE_List.  Fixes bug 906618.
2807: Carl Leitner 2012-01-17 fixed typo in fatal error message
*Made the Mailer configurations not required.
2806: Luke Duncan 2012-01-12 Changed the ids in some relationship function templates to not have the same name and id for 'a' tags because LibXML complains about them being a duplicate ID and since the ID is being changed after loading anyway it isn't necessary to be the sameThere doesn't seem to be a problem with changing the id when testing this change, but it is possible there are some unintended consequences.
*feedback and forget pages now use i2ce_mailer wrapper
2805: Luke Duncan 2012-01-12 Split report functions templates into 2 and loaded them when needed instead of setting has_available_functions to avoid duplicate id error with reporting_functions_container.
*TextPassword::create() switched to an instance because it is not static
2804: Luke Duncan 2012-01-12 Added in default setting for  variable to avoid undefined variable warning.
*update message for request account
2803: Launchpad Translations on behalf of intrahealth+informatics 2012-01-12 Launchpad automatic translations update.
*linked user request with mailer
2802: Luke Duncan 2012-01-04 Modified the buildDataTree cached query to not include order by fields in the select when they're not needed.
*added wrapper module 'Mailer' for mail and Pear::MAIL
2801: Carl Leitner 2012-01-04 process dom on formfield with href preserves all attributes (except href of course)
*added oneiric to debian package tool
2800: Luke Duncan 2012-01-04 Fixed join type for data trees when both levels of the forms are the same.
*added passwordless login function for to i2ce_user
2799: Carl Leitner 2012-01-04 version bump mootools requirements
*userform -- fixup function signature for populate and save methods.  add in some error checking to avoid fatal errors
2798: Carl Leitner 2012-01-04 update to mootools 1.4.2
*user access -- avoid fatal error if user is not found when requesting their info
2797: Carl Leitner 2012-01-04 rever rev 2794 one make username in user_edit_form non-editable
*post delete hook cleans up the form, rather than the whole factory
2796: Carl Leitner 2012-01-04 undo revision 2780 as it broke some stuff
*Added in getLimitsByForm to the ModuleAccess class as an abstract method.  Added in checking for module_limits in a report field to limit by the given module with details passed by a hook in the module to determine what to link by so li
2795: Launchpad Translations on behalf of intrahealth+informatics 2012-01-04 Launchpad automatic translations update.
2794: Carl Leitner 2012-01-03 user edit form -- removed the noedit=true
2793: Carl Leitner 2012-01-03 made some numeric form fields tolerant of commas on submission
2792: Carl Leitner 2012-01-03 added javascript validation and formatting to some of the form fields
2791: Carl Leitner 2012-01-02 fix args passed to builddatatree in MAP_MULTUNION
2790: Carl Leitner 2012-01-02 form field options can now be set on a path
2789: Carl Leitner 2012-01-02 cached forms build data tree -- lowercase result access properties as MDB2 does not respect them
2788: Carl Leitner 2012-01-02 invalid call to setForm() on a page will no longer cause fatal error
2787: Carl Leitner 2012-01-02 user form -- set sort field to be username, not name
2786: Carl Leitner 2012-01-02 associative inputs -- select all on focus
2785: Carl Leitner 2012-01-02 cleanup/improve regexps/matching for associative percent form field
2784: Luke Duncan 2011-12-31 Updated the pChart library to 2.1.3.
2783: Launchpad Translations on behalf of intrahealth+informatics 2011-12-31 Launchpad automatic translations update.
2782: Carl Leitner 2011-12-27 made limits use getDBValue() instead of getValue() by default.  Changed some implodes to explodes for within limits
2781: Carl Leitner 2011-12-27 Fixed up conversion of LIKE to regexp
2780: Carl Leitner 2011-12-27 added 'edit' attribute to formfield template so that we show a field as editable even if setShowForm is false
2779: Carl Leitner 2011-12-23 command line update exits after done --avoid misleading error message about the Wrangler
2778: Launchpad Translations on behalf of intrahealth+informatics 2011-12-23 Launchpad automatic translations update.
2777: Carl Leitner 2011-12-22 made translatable (via magic data) all form field message.  added helper functions to find set named error message.
2776: Luke Duncan 2011-12-22 Where a formfield has multiple unique_fields (including one with a mapped value (i.e. region:country) then the non mapped value wasn't doing the check correctly.
2775: Luke Duncan 2011-12-22 Redid the validate_formfield for I2CE_Module_Lists to remove the call to monsterMash.  Also re-deleted the monsterMash code from I2CE_List.  Fixes bug 906618.
2774: Launchpad Translations on behalf of intrahealth+informatics 2011-12-22 Launchpad automatic translations update.
2773: Luke Duncan 2011-12-21 Made the Mailer configurations not required.
2772: Carl Leitner 2011-12-20 feedback and forget pages now use i2ce_mailer wrapper
2771: Carl Leitner 2011-12-20 TextPassword::create() switched to an instance because it is not static
2770: Carl Leitner 2011-12-20 update message for request account
2769: Carl Leitner 2011-12-20 linked user request with mailer
2768: Carl Leitner 2011-12-20 added wrapper module 'Mailer' for mail and Pear::MAIL
2767: Carl Leitner 2011-12-20 added oneiric to debian package tool
2766: Carl Leitner 2011-12-20 updated packaging info for natty and oneiric
2765: Launchpad Translations on behalf of intrahealth+informatics 2011-12-20 Launchpad automatic translations update.
2764: Luke Duncan 2011-12-19 Added back in monsterMash to I2CE_List as a temporary fix for bug 906618.
2763: Carl Leitner 2011-12-19 user account request verification mechanism is working (no email yet) but something funny happens on account creation, logout, login as ['referal'] is still sticking around
2762: Carl Leitner 2011-12-19 added passwordless login function for to i2ce_user
2761: Carl Leitner 2011-12-19 userform -- fixup function signature for populate and save methods.  add in some error checking to avoid fatal errors
2760: Carl Leitner 2011-12-19 user access -- avoid fatal error if user is not found when requesting their info
2759: Carl Leitner 2011-12-19 post delete hook cleans up the form, rather than the whole factory
2758: Luke Duncan 2011-12-19 Added in getLimitsByForm to the ModuleAccess class as an abstract method.  Added in checking for module_limits in a report field to limit by the given module with details passed by a hook in the module to determine what to link by so li
mited access users only see certain records in a report.
mited access users only see certain records in a report.
2757: Launchpad Translations on behalf of intrahealth+informatics 2011-12-19 Launchpad automatic translations update.
*added email request account
2756: Launchpad Translations on behalf of intrahealth+informatics 2011-12-17 Launchpad automatic translations update.
*Added in get_report_module_limit_options for SwissConfig in CustomReports to add the option to link a field in a report to an availble field in the module to use for limiting the reports based on module details.
2755: Carl Leitner 2011-12-16 added beginnings of email request account
*Added in missing template file for displaying images inline in reports.
2754: Luke Duncan 2011-12-16 Added in get_report_module_limit_options for SwissConfig in CustomReports to add the option to link a field in a report to an availble field in the module to use for limiting the reports based on module details.
*Modified the buildDataTree for cached form storage to use an existing callback function instead of an anonymous function.
2753: Luke Duncan 2011-12-16 Added in missing template file for displaying images inline in reports.
*comment out spammy error message in form storage entry about not getting fields  
2752: Luke Duncan 2011-12-15 Modified the buildDataTree for cached form storage to use an existing callback function instead of an anonymous function.
*Added in option for 'linked' report fields to display as an image instead of just a link for IMAGE type formfields.  
2751: Carl Leitner 2011-12-15 comment out spammy error message in form storage entry about not getting fields  
*Added an entry in /modules/forms/storage for not_assignable so that certain form storage types can't be assigned to forms directly, like 'cached'.
2750: Luke Duncan 2011-12-15 Added in option for 'linked' report fields to display as an image instead of just a link for IMAGE type formfields. From 4.0-dev 2672.
*added expiremental MAP_MULTUNION form field that can select muliple list members across unrelated forms
2749: Luke Duncan 2011-12-14 Added an entry in /modules/forms/storage for not_assignable so that certain form storage types can't be assigned to forms directly, like 'cached'.
*added file that was missed for associative booleans
2748: Carl Leitner 2011-12-14 added expiremental MAP_MULTUNION form field that can select muliple list members across unrelated forms
*Moved ModuleAccess under forms.  allow generic method to add limits to a form
2747: Carl Leitner 2011-12-14 added file that was missed for associative booleans
*Modified the FormStorage calls to listFields and listDisplayFields to use the cached form storage when an optional argument is passed instead of the default form storage.  Fixed the reference callback check in DB form storage since it w
2746: Carl Leitner 2011-12-14 Moved ModuleAccess under forms.  allow generic method to add limits to a form
2745: Luke Duncan 2011-12-14 Modified the FormStorage calls to listFields and listDisplayFields to use the cached form storage when an optional argument is passed instead of the default form storage.  Fixed the reference callback check in DB form storage since it w
ouldn't allow any callbacks.  Updated I2CE_List to make showHiddenLimit a public function.  Updated I2CE_List to use the cached form storage buildDataTree function when it's available.
ouldn't allow any callbacks.  Updated I2CE_List to make showHiddenLimit a public function.  Updated I2CE_List to use the cached form storage buildDataTree function when it's available.
2744: Luke Duncan 2011-12-14 Added in ModuleAccess abstract class for access type modules so that forms can preprocess the args to add any additional limits needed by the access module.
*Added in ModuleAccess abstract class for access type modules so that forms can preprocess the args to add any additional limits needed by the access module.
2743: Luke Duncan 2011-12-14 Added form-storage-flat as a required module for CachedForms since there is a new cached form storage based off of flat storage.  Changed the caching messages to use raiseMessage instead of raiseError to reduce log spam since it is info
*Added form-storage-flat as a required module for CachedForms since there is a new cached form storage based off of flat storage.  Changed the caching messages to use raiseMessage instead of raiseError to reduce log spam since it is info
rmational and the full trace shouldn't be needed.  Added the cached form storage to be used for getting list data from the cache instead of the source tables.  Any call to this will cache the tables before using them.
rmational and the full trace shouldn't be needed.  Added the cached form storage to be used for getting list data from the cache instead of the source tables.  Any call to this will cache the tables before using them.
2742: Carl Leitner 2011-12-14 added formfield which is associative  list of booleans/checkboxes
*added formfield which is associative  list of booleans/checkboxes
2741: Launchpad Translations on behalf of intrahealth+informatics 2011-12-11 Launchpad automatic translations update.
*change the I2CE_List::listOptions so that is uses buildDataTree.  simplified its calling.   
2740: Launchpad Translations on behalf of intrahealth+informatics 2011-12-10 Launchpad automatic translations update.
*fixed typo in delayed load attribute of mapped field
2739: Carl Leitner 2011-12-09 change the I2CE_List::listOptions so that is uses buildDataTree.  simplified its calling.  removed montermash related code
*added ability to set displaystyle of joined form in relationship via the web-interface
2738: Launchpad Translations on behalf of intrahealth+informatics 2011-12-09 Launchpad automatic translations update.
*removed unused MAP_LINE form field
2737: Carl Leitner 2011-12-08 fixed typo in delayed load attribute of mapped field
*Fixed str_ireplace call to include spaces when normalizing the case for AS in queries.
2736: Launchpad Translations on behalf of intrahealth+informatics 2011-12-08 Launchpad automatic translations update.
*Custom Reports
2735: Carl Leitner 2011-12-06 added ability to set displaystyle of joined form in relationship via the web-interface
**Modified custom reports to not use updating and instead create a new tmp table and insert when it's a right join or not limited to one row.
2734: Carl Leitner 2011-12-06 removed unused MAP_LINE form field
**Made some corrections to the md5 setting procedures for custom reports.  Since updates didn't affect every row not all md5s were being set so the update was put in a separate query when needed.
2733: Luke Duncan 2011-12-06 Reverted the change to FormRelationship->getLinkingData because the report issue can be handled with displaystyles in the join_data.
**the report cache queries to speed things up.  Now updates are done instead of insert at each step.  Also, less tmp tables are created since the update doesn't need a new table.  When there are complicated joins then the 'old' way is still done.  Also removed md5 calculations except when the next set of queries needs them.   
2732: Launchpad Translations on behalf of intrahealth+informatics 2011-12-06 Launchpad automatic translations update.
**a validity check on reporting function data
2731: Luke Duncan 2011-12-05 Made some changes to getLinkingData to not process other views when only one form is allowed instead of looking at the display fields.  This is so that a simpler join (and therefre update) can be made to speed up report processing.
** change E_USER_ERROR to NOTICE
2730: Launchpad Translations on behalf of intrahealth+informatics 2011-12-05 Launchpad automatic translations update.
*killed off some spammy error messages related to forms not being registered yet in the entry form storage mechanism
2729: Launchpad Translations on behalf of intrahealth+informatics 2011-12-04 Launchpad automatic translations update.
*fixed typo in versioning of requirements for delete record module
2728: Launchpad Translations on behalf of intrahealth+informatics 2011-12-03 Launchpad automatic translations update.
*form storage entry -- fixed issue when parent_id is not-numeric
2727: Luke Duncan 2011-12-02 Fixed str_ireplace call to include spaces when normalizing the case for AS in queries.
*updated treedata url so it includes the index.php
2726: Luke Duncan 2011-12-02 Modified custom reports to not use updating and instead create a new tmp table and insert when it's a right join or not limited to one row.
*fixed issue removing a module that is tagged as needing to be updated
2725: Luke Duncan 2011-12-02 Made some corrections to the md5 setting procedures for custom reports.  Since updates didn't affect every row not all md5s were being set so the update was put in a separate query when needed.
*added in some additional error messaging and validation for reporting functions
2724: Luke Duncan 2011-12-02 Removed section that was skipping drop queries for reports (for testing).
*configurator: fixed issue when removing module on a system update
2723: Luke Duncan 2011-12-02 Modified the report cache queries to spped things up.  Now updates are done instead of insert at each step.  Also, less tmp tables are created since the update doesn't need a new table.  When there are complicated joins then the 'old' w
 
ay is still done.  Also removed md5 calculations except when the next set of queries needs them.  From 4.0-dev 2657.
2722: Luke Duncan 2011-11-28 Updated version number for the treedata page so it will load in existing 4.1 sites.
2721: Launchpad Translations on behalf of intrahealth+informatics 2011-11-26 Launchpad automatic translations update.
2720: Carl Leitner 2011-11-23 killed off some spammy error messages related to forms not being registered yet in the entry form storage mechanism -- missed one
2719: Carl Leitner 2011-11-23 killed off some spammy error messages related to forms not being registered yet in the entry form storage mechanism
2718: Carl Leitner 2011-11-22 fixed typo in versioning of requirements for delete record module
2717: Launchpad Translations on behalf of intrahealth+informatics 2011-11-22 Launchpad automatic translations update.
2716: Carl Leitner 2011-11-21 merge rev 2650 from i2ce/4.0-dev: form storage entry -- fixed issue when parent_id is not-numeric
2715: Carl Leitner 2011-11-21 updated treedata url so it includes the index.php
2714: Carl Leitner 2011-11-14 fixed issue removing a module that is tagged as needing to be udpated
2713: Launchpad Translations on behalf of intrahealth+informatics 2011-11-12 Launchpad automatic translations update.
2712: Carl Leitner 2011-11-11 merge rev 2644 from i2ce/4.0-dev:  added in some additional error messaging and validation for reporting functions
2711: Carl Leitner 2011-11-11 merge rev 2643 from i2ce/4.0-dev:  configurator: fixed issue when removing module on a system update
2710: Carl Leitner 2011-11-11 merge rev 2642 from i2ce/4.0-dev:  custom reports: add a validity check on reporting function data
2709: Carl Leitner 2011-11-11 merge rev 2641 from i2ce/4.0-dev:  custom reports: change E_USER_ERROR to NOTICE to avoid
==Version 4.1.3==
==Version 4.1.3==
Released July 23, 2012
Released July 23, 2012

Revision as of 13:14, 25 July 2012

This page needs to be updated.

Version 4.1.0

Released July 30, 2011.

  • allow for "empty/null" form storage mechanism that doesn't do anything.
  • Context Sensitive Help
  • Use a different charting software library
  • Upgrade to php 5.3
    • Get rid of eval's for static values/variable in subclasses
    • Add in static fuzzy methods
  • Custom Forms
  • Custom Pages
  • Add in user based permission access to forms via form relationships
  • fix up how the navigation bar is handled so we don't need to subclass I2CE_Page just to handle highlighting the nav bar
  • Clean up forms classes to remove as much business logic and defintions as possible and put it into magic data.
    having it in magic data/xml will allow use to interact more readily with other form based software e.g. openXdata or whatever as all they would need to do is to parse the xml rather than instantiate all the forms and deal with them that way.
    • add in ability to define complex form validation logic in xml. probably want to have many named validations w/ a description of what they require so that people can fix errors. perhaps these should be split into "warnings" and "errors" (see the person example below). will need to implement at least part of Extending Form Limits
      • example: person position --- start date is less than or equal to end date
      • example: person has validation to ensure uniqueness of the pair (firstname,surname) although this validation check can be overidden on the confirm page.
    • get rid of getIDs() type methods which. are these even used anymore?perhaps they be done via some general method getIDs($style) fuzzy method implemented by form storage and which reference a magic data e.g. /modules/forms/forms/$form/getIds/$style = {some data array}
      • example: person position has a getIds() method which gets all of the person position ids associated to a given position id and for which the end date is null
      • example: job has getPositins() mehtod which gets the positions associated to a job.
    • get rid of main and secondary display field constants in i2ce_list class
    • cleanup stuff leftover from 3.1 (Such as the listOptions, lookup mehtods and related methods. many of these are no longer references outside the defining class (e.g. getCompentnciesByType)) what about iHRIS_Search?


Version 4.1.1

Released October 19, 2011

  • Gave different name attributes for the show_i2ce_hidden_link names because libXML was causing an error on loading the lists_type_header.html template. Bug 877471.
  • Added an option for MAPPED fields to use a given display style from the template (display_style='default') to override the default value if needed. This is to fix ihris-manage bug 876827.
  • Updated storeMigrateData in form storage to only unset the migrate_node after all forms have been processed. This was causing an error when multiple forms were stored. Bug 874600.
  • Fixed syntax to make IE7 happy with tree selection. Bug 873910.
  • fixed handling of output buffering when the bottom-most output buffer is not the default. for example this happens with new installs of ubuntu 11.04 (natty) with zlib compression turned on by default
  • allow user preferred locales in magic data to over ride user details from user access mecahnism
  • attempt to validate sort fields against displayed fields when sorting report view/save default options
  • modified display for report view so that you can select 'none' as sort order. removing all sort orders will also go to none
  • pass all arguments to parent class search method in a db-form storage if it fails to get the query
  • I2CE_FormField_MAP with a tree select now defaults to delayed load of data.
  • fixed fatal error when updating causes a module to be removed
  • fixed handling of temporary upload files with new html names that have [] instead of :
  • support setting page default login from auto_login_user option
  • single user access support setting optional password
  • i2ce_user_module is now a sublass of i2ce_module
  • multi-select -- deselection of values now works
  • Modified the tree view id to remove [] so it works with IE7/8.
  • Added in message to signify that asterisk is a required field.
  • Modified form storage search call to return false if the query can't be created because the form may not exist yet and therefore no results can be found.
  • Only show error on module calls from templates if the module is enabled but can't be found.
  • Added check to getChildIds query so a blank query wasn't run on the database causing an error.
  • Modified the form storage entry class to not create form ids when running queries. Bug 851071.
  • Fixed variable name for error message when you don't have permission to access the page form lists page.
  • pageformlist: checks to see if the page is a confirm page when setting the default form
  • Fix for FormStorage mechanism to try to save fields that are blank (and still invalid). This was mainly affecting magic data storage forms.
  • Fixed getting the DateTime object for a date to work correctly with YEAR_ONLY dates. Set the month/day to 01/01 for the DateTime since it requires that to work correctly.
  • Modified the HTML names for form fields to use [] instead of : so PHP can handle creating the associative array and to avoid the issue with dots (.) being replaced with underscores in top level names for _POST variables. This fixes including dots in form IDs.
    • updated associative list, binary file, formfield image, int generate, lists, map_line, binary file so that it works with [] html names
  • only check for alternate task satisfaction if the user is logged in
  • when setting a the primary form for alternative task satisfaction for the database list edit page, only do so if the form has a non-zero id
  • when editing database list, make sure the primary form for the page is set as the default form
  • Custom Reporting -- when a varchar field is not indexed, change it to a text field to keep the row size down.
  • export report -- erases the relationships, reports and reportViews that it is defining a report for
  • speed up processing for silent disabling optionally enabled modules. make set of optionally enabled modules is maximal
  • Modified date field limits to use the year range defined for the field object.
  • if an optional module is enabled and in conflict with a required module try to disable it
  • Fixed drag windows to not have the whole window be clickable to drag it.
  • reduce processing on module update
  • when installing or updating a site, optional modules are now processed
  • fixed issue where optional sub-modules were getting set to be required
  • Updated mootools core and more js files to 1.3.2.
  • updated I2CE_TreeSelect because Implements only works with classes and not objects anymore.
  • Made some minor javascript adjustments because IE9 was throwing errors and stopping processing so treeview stopped working.
  • Fixed typo in map mult set value.
  • Added back in validate hook calls that were accidentally removed.
  • Added translateable descriptions for limits and added a fuzzy method to return the given selected data based on the description. Updated custom reports to use these new descriptions.
  • Added in check to make sure a selected value for the tree select is a mapped value to avoid a warning when using list(). Bug 823965. From 4.0-dev 2588.
  • Defined variable to avoid undefined variable warning in field limits. From 4.0-dev 2587.
  • Updated field limits to add in equals and in options for MAP_MULT to work logically. I didn't test the checkLimit and checkLimitString methods yet, but the generateLimits work for reports. This makes it so that if the field is a MAP_MULT then if any of the entries equal the given value (or any of the in values) then it will return as matching.
  • Allowed form storage FF_save methods to save blank values even if the formfield doesn't seem that as valid. Updated formfields to return instead of other characters when the value is invalid. From 4.0-dev 2579 and 2585.
  • experimental code to restrict null/not-null values when doing a min/max_parent limit
  • formworm was not passing the input type=submit name/value in chrome. it will now insert a hidden element to pass the values before submission
  • swiss factory gives more informative error message when it cannot process values
  • added default-locales module to handle to locale we include by default. updated locale selector page to allow you to select one of the defualt locales. updated debian.php and release.php scripts to read the default locale list
  • Modified limits on reports overwriting the defaults completely instead of merging them. From 4.0-dev 2574.
  • fixed bug on tranlsating html blocks
  • Added the supress_output check for pChart displayWeb. Also removed the completeChart call from getImage and made it public so you can call that manually if you need to getImage().
  • pchart
    • Pulled out the drawing functions into a separate function and added a function to access the pImage object directly.
    • Removed extraneous require_once calls from the pChart File page.
    • Modified the style for a pChart to make lower case to avoid any issues with capitalization.
    • Modified the pChart page to add options to the chart drawing function and to not override any palette options set by the sub class.
  • updated version requirement for modules using mootools
  • removed request.content.js as https://mootools.lighthouseapp.com/projects/2706/tickets/524-add-contenttype-for-requesthtml has been resolved
  • updgrade to mootools 1.3.2.1
  • with the report selector you can now chose to show limits or now. corresponding option added to reference field. had to fix up how mootools (does not) encode query variable names when going through the stub
  • added classvalues JavaScript when submitbutton was called
  • moved submitbutton javascript to code. it now also processes the action and method classValues
  • REFERENCE_FIELD/report selector
    • selecting a REFERENCE field will show a clear button if the field is not required
    • Report Selector -- added an optional clear button. moved hard-coded DOM to templates
    • some windowing fixups to the custom report selector for a REFERNCE field
  • changed task and role editing to use checkbox instead of multi-select
  • DisplayData: can turn any <SELECT> into checkbox list by specifying display='checkbox' as an atrtribute
  • centralize processing of OPTIONS display data with the usual display data
  • suppress warning message when processing module tags
  • make locale selection work with single user access
  • translation tools -- now check for a title attribute in a span tag
  • better checking if a value is set for a key in ASSOC_FLOAT
  • moved the autoloader to use the spl_autoload_register
  • translate_create_spreadsheet -- allow you to limit the modules used from the command line
  • updated magic data xml processor so that you can have <erase> and <eraseVals> nodes relative to a containing <configuration> or <configurationGroup> -- makes specifying data to delete more convenient
  • PrintedForms ODT library now supports images (with a warning message) and uses the phpodt library http://www.odtphp.com/
  • Image FormField -- get width and height properties added. also added abiltiy to manipulate as a resource

Version 4.1.2

Released April 18, 2012

  • Added extra option for field limits to include a manual where clause for a limit when necessary. This probably can be done in a better way, but this is a quick fix that won't break anything when the extra_where option isn't set. This also needs to be added to the interface to allow editing of it. For now it must be done in a module to create the entry in magic data.
  • Removed extra name attribute in template to avoid XML errors when the name and id are the same.
  • Added in check in delete record page to make sure something was returned when searching for linked forms before operating on the results.
  • Fixed typo in limit_val check for first character being '$'.
  • paged messagebox can now have alternate title and can handle more than one instance on a page
  • user form -- call pre and post_save_form hooks. in particular makes sure user form is marked as dirty on save
  • user account request - fixed invalid reference to form factory causing fatal error
  • fixed typo in checking individual form storage / form stale times
  • fixed versions for 4.1 series for Custom Report Selector and Reference Field
  • set version for magic data defining show page for custom reports as it was not updating properly for people coming from a late version of the 4.0 series to 4.1
  • fix up the displayname of the deleterecords and exportreports modules
  • fixed issue with setting role in the user form/email verification
  • when logging out, unset ['referal'] so we don't end up in an endless loop of login credentials (esp. with the verify email access link)
  • added some more flexibility to the request user account page
  • percent fields now have a meta/check_bad_percent option to allow you to enter in 0.2 as 20%
  • fixed up the I2CE_FormField::optionsHasPath so you can also pass an array
  • suppress error messages when getting ids in formstorage_db
  • fixed call to cleanlyEndOutputBuffers, cleanlyEndOutputBuffers will trim any empty space.
  • added Czech as a default language
  • Entry Form Storage -- fixed issue with order by (mysql does not do the orderby within a sub-select)
  • Module admin cleanup to suppress warning messages
  • MagicDataTemplate -- make sure class name is unset
  • ModuleLimits -- only allow to create a module limit when a mapped field has exactly one selectable form
  • be smarter about showing which module limits to add to a report field. added debugging information for cssc
  • Fixed the cached buildDataTree to work when forms aren't displayed (e.g. country:[region]:district:etc.). Since region wasn't in the display it was getting skipped completely. Fixed this by causing the displayed forms to find the correct link_field to use to determine which section it needed to be placed in.
  • fixed the c_node.isSameNode javascript error in firefox 10
  • Moved the dumpStaticURL call earlier to speed up processing in these cases. (No db connection, no session). Also reused the results of parseDSN in the dbConnect call so if this needs to be undone then change that back as well. I'm not sure if this may cause problems anywhere. It seems ok with some quick testing, but there may be cases where more needs to be loaded.
  • MongoDB Magic data storage
    • added optional mangodb form storage mechanism for testing/expiremental purposes. you can enable it by putting the line 'SetEnv I2CE_CONFIG_PROTOCOL mongodb' in .htaccess/
    • fixed install of MDS storage for mongo vs. config_alt
    • avoid fatal error if mongodb is not up and running properly
  • Modified the cached form export to include a date string in the filename. Also commented out logging the mysqldump command for security.
  • slight speed up to processing attributes in MDN
  • printed forms: added type check to supress fatal error
  • Put back in accidentally deleted addDatePicker call.
  • Added options for DatePicker to magic data. Added the english days and months to use for the datepicker options so they can be set for other languages. This doesn't fix any underlying issues with the date object and internationalization, but it does allow the datepicker to display in the chosen language.
  • Commented out the not stale message for form caches since it can make a lot of messages with drop downs using cached tables.
  • Commented out the skipping cached table when not dirty message because with the new usage of cached tables for drop downs it gets really spammy.
  • Added option to have the blank text for drop downs in magic data so it can be translated.
  • Removed debugging echo statement from message notice module.
  • Removed debug statements from reporting function swissconfig.
  • improvements to paginated message box. multiple overlayed messages are now paginated
  • Updated the ODT report printed form to set the ++report_limit even if nothing is there so the template will replace it with nothing when appropriate.
  • Made some fixes to the buildDataTree built by cached forms. Things were getting put in the wrong place because of the way the joins have to be created so (e.g.) facilities linked by district showed up under each county. Now it won't include duplicates and it adds things to the correct linked place. It also now will strip out the display content for the linked field since that will be above it in the tree to avoid too much extra info. There's probably a better way to handle this, but I'm not sure what's best.
  • Fixed typo in default display for lists that had an invalid call to array_pad because of mismatched parentheses.
  • added I2CE_AjaxSubmitButton which does form submission like I2CE_SubmitButton but replaces content of current page with filtered response. ajax submit button is renabled after 5 seconds.
  • Added in an option to include ODT files as an output for reports. This allows you to customize the printed output however you would like. This needs to be enhanced to allow image types from the report.
  • Modified adding the manifest.xml file to the ODT zip archive to not include ./ because that was making it look like a different file if it already existed and causing it to appear twice in the archive which made Word and Libre/Open Office not happy with the output.
  • I2CE_FormField_MAP now preserves the 'class' attribute
  • ajax submit button empties the existing content
  • Updated the requirements for PrintedFormsODT to require PrintedForms allowing less than 4.2 instead of 4.1.
  • fix fatal error when putting html in a overlayed message box
  • removed the setShowForm and replaced it with a check to see if a formfield is part of a <form>
  • relax nullity check to non-strict when getting header for generate password
  • fixed typo in user request page
  • clearer user message when requesting account creation
  • fixed typo in fatal error message
  • Changed the ids in some relationship function templates to not have the same name and id for 'a' tags because LibXML complains about them being a duplicate ID and since the ID is being changed after loading anyway it isn't necessary to be the same. There doesn't seem to be a problem with changing the id when testing this change, but it is possible there are some unintended consequences.
  • Split report functions templates into 2 and loaded them when needed instead of setting has_available_functions to avoid duplicate id error with reporting_functions_container.
  • Added in default setting for variable to avoid undefined variable warning.
  • Modified the buildDataTree cached query to not include order by fields in the select when they're not needed.
  • process dom on formfield with href preserves all attributes (except href of course)
  • Fixed join type for data trees when both levels of the forms are the same.
  • update to mootools 1.4.2
  • made some numeric form fields tolerant of commas on submission
  • added javascript validation and formatting to some of the form fields
  • fix args passed to builddatatree in MAP_MULTUNION
  • form field options can now be set on a path
  • cached forms build data tree -- lowercase result access properties as MDB2 does not respect them
  • invalid call to setForm() on a page will no longer cause fatal error
  • user form -- set sort field to be username, not name
  • associative inputs -- select all on focus
  • cleanup/improve regexps/matching for associative percent form field
  • Updated the pChart library to 2.1.3.
  • made limits use getDBValue() instead of getValue() by default. Changed some implodes to explodes for within limits
  • Fixed up conversion of LIKE to regexp
  • command line update exits after done --avoid misleading error message about the Wrangler
  • made translatable (via magic data) all form field message. added helper functions to find set named error message.
  • Where a formfield has multiple unique_fields (including one with a mapped value (i.e. region:country) then the non mapped value wasn't doing the check correctly.
  • Redid the validate_formfield for I2CE_Module_Lists to remove the call to monsterMash. Also deleted the monsterMash code from I2CE_List. Fixes bug 906618.
  • Made the Mailer configurations not required.
  • feedback and forget pages now use i2ce_mailer wrapper
  • TextPassword::create() switched to an instance because it is not static
  • update message for request account
  • linked user request with mailer
  • added wrapper module 'Mailer' for mail and Pear::MAIL
  • added oneiric to debian package tool
  • added passwordless login function for to i2ce_user
  • userform -- fixup function signature for populate and save methods. add in some error checking to avoid fatal errors
  • user access -- avoid fatal error if user is not found when requesting their info
  • post delete hook cleans up the form, rather than the whole factory
  • Added in getLimitsByForm to the ModuleAccess class as an abstract method. Added in checking for module_limits in a report field to limit by the given module with details passed by a hook in the module to determine what to link by so li

mited access users only see certain records in a report.

  • added email request account
  • Added in get_report_module_limit_options for SwissConfig in CustomReports to add the option to link a field in a report to an availble field in the module to use for limiting the reports based on module details.
  • Added in missing template file for displaying images inline in reports.
  • Modified the buildDataTree for cached form storage to use an existing callback function instead of an anonymous function.
  • comment out spammy error message in form storage entry about not getting fields
  • Added in option for 'linked' report fields to display as an image instead of just a link for IMAGE type formfields.
  • Added an entry in /modules/forms/storage for not_assignable so that certain form storage types can't be assigned to forms directly, like 'cached'.
  • added expiremental MAP_MULTUNION form field that can select muliple list members across unrelated forms
  • added file that was missed for associative booleans
  • Moved ModuleAccess under forms. allow generic method to add limits to a form
  • Modified the FormStorage calls to listFields and listDisplayFields to use the cached form storage when an optional argument is passed instead of the default form storage. Fixed the reference callback check in DB form storage since it w

ouldn't allow any callbacks. Updated I2CE_List to make showHiddenLimit a public function. Updated I2CE_List to use the cached form storage buildDataTree function when it's available.

  • Added in ModuleAccess abstract class for access type modules so that forms can preprocess the args to add any additional limits needed by the access module.
  • Added form-storage-flat as a required module for CachedForms since there is a new cached form storage based off of flat storage. Changed the caching messages to use raiseMessage instead of raiseError to reduce log spam since it is info

rmational and the full trace shouldn't be needed. Added the cached form storage to be used for getting list data from the cache instead of the source tables. Any call to this will cache the tables before using them.

  • added formfield which is associative list of booleans/checkboxes
  • change the I2CE_List::listOptions so that is uses buildDataTree. simplified its calling.
  • fixed typo in delayed load attribute of mapped field
  • added ability to set displaystyle of joined form in relationship via the web-interface
  • removed unused MAP_LINE form field
  • Fixed str_ireplace call to include spaces when normalizing the case for AS in queries.
  • Custom Reports
    • Modified custom reports to not use updating and instead create a new tmp table and insert when it's a right join or not limited to one row.
    • Made some corrections to the md5 setting procedures for custom reports. Since updates didn't affect every row not all md5s were being set so the update was put in a separate query when needed.
    • the report cache queries to speed things up. Now updates are done instead of insert at each step. Also, less tmp tables are created since the update doesn't need a new table. When there are complicated joins then the 'old' way is still done. Also removed md5 calculations except when the next set of queries needs them.
    • a validity check on reporting function data
    • change E_USER_ERROR to NOTICE
  • killed off some spammy error messages related to forms not being registered yet in the entry form storage mechanism
  • fixed typo in versioning of requirements for delete record module
  • form storage entry -- fixed issue when parent_id is not-numeric
  • updated treedata url so it includes the index.php
  • fixed issue removing a module that is tagged as needing to be updated
  • added in some additional error messaging and validation for reporting functions
  • configurator: fixed issue when removing module on a system update

Version 4.1.3

Released July 23, 2012 2948: Launchpad Translations on behalf of intrahealth+informatics 2012-07-22 Launchpad automatic translations update. 2947: Launchpad Translations on behalf of intrahealth+informatics 2012-07-18 Launchpad automatic translations update. 2946: Carl Leitner 2012-07-18 added write methods for LDAP storage 2945: Launchpad Translations on behalf of intrahealth+informatics 2012-07-16 Launchpad automatic translations update. 2944: Launchpad Translations on behalf of intrahealth+informatics 2012-07-15 Launchpad automatic translations update. 2943: Carl Leitner 2012-07-12 DatePicker now localizes properly 2942: Luke Duncan 2012-07-12 Added missing _getDisplayValue to MAP form field from REFERENCE to work with the _reportSelect style method. 2941: Luke Duncan 2012-07-11 Removed debug statement from reportSelect method for MAP fields. 2940: Luke Duncan 2012-07-11 Fixed typo in report selector default content. 2939: Luke Duncan 2012-07-11 Added in the reportSelect method for MAP fields to work like reference fields for the report selection display when desired. The meta data needs to be set up like REFERENCEs for this to work correctly. 2938: Luke Duncan 2012-07-11 Modified the required field marker so the * is in a span with a class so it can be easily found and modified if necessary (via CSS or other methods). 2937: Carl Leitner 2012-07-11 LDAP form storage -- getChildIds is not a specially implemented fast method 2936: Carl Leitner 2012-07-10 LDAP form storage - fixed filter operators 2935: Carl Leitner 2012-07-10 ldap form storage: now we can get parent field. added fast listFields method which is used by form cache. added support for different scopes when searching. still no write methods 2934: Carl Leitner 2012-07-10 form storage mechanism default listFields and listDisplayFields did not return the parent field value. 2933: Luke Duncan 2012-07-10 Fixed report selector so that the name is set to the ID of the field being used. 2932: Luke Duncan 2012-07-10 Modified the unique field validation check to not set anything invalid when the parent is the unique_field to check but it isn't set. 2931: Carl Leitner 2012-07-10 LDAP form storage can now populate a form object 2930: Carl Leitner 2012-07-10 starting to add LDAP form storage mechanism getRecords() is the only thing implemented 2929: Carl Leitner 2012-07-10 user acces ldap -- fixed bug with getting user ids 2928: Carl Leitner 2012-07-10 fixed bug in ldap user access mechanism 2927: Launchpad Translations on behalf of intrahealth+informatics 2012-07-03 Launchpad automatic translations update. 2926: Carl Leitner 2012-06-30 removed some debugging die() statements 2925: Carl Leitner 2012-06-30 fixed typo in 'resend' email page 2924: Launchpad Translations on behalf of intrahealth+informatics 2012-06-30 Launchpad automatic translations update. 2923: Carl Leitner 2012-06-29 Account verification email can optionally send an html message instead of a text one 2922: Carl Leitner 2012-06-29 added option for STRING_PASS so that you can display a second title between the two password fields 2921: Carl Leitner 2012-06-29 Mail module can handle html message if php-mail and php-mail-mime are installed. (needs better error checking and needs to enable it for php's mail function) 2920: Luke Duncan 2012-06-27 Removed debug statement from logging. 2919: Carl Leitner 2012-06-26 make button_confirm_notchild button layout consistent with other templates 2918: Carl Leitner 2012-06-26 addHeaderLink is now smarter in checking if a javascript file has already been included 2917: Luke Duncan 2012-06-22 Fixed custom report selector so that limits will work correctly. Made many of the ids have a unique identifier for the report selector so that it will work when multiple selectors are on one page so the javascript doesn't get confused by the ids. 2916: Launchpad Translations on behalf of intrahealth+informatics 2012-06-19 Launchpad automatic translations update. 2915: Luke Duncan 2012-06-15 Modified cached form storage to ignore the stale time check and only look at if the form is dirty before re-caching the information so when the data is modified it will be updated the next time it is required. 2914: Launchpad Translations on behalf of intrahealth+informatics 2012-06-14 Launchpad automatic translations update. 2913: Launchpad Translations on behalf of intrahealth+informatics 2012-06-05 Launchpad automatic translations update. 2912: Carl Leitner 2012-05-28 fixed return value for db form storage when there is no search query 2911: Launchpad Translations on behalf of intrahealth+informatics 2012-05-24 Launchpad automatic translations update. 2910: Carl Leitner 2012-05-17 fixed redisplay of message box 2909: Carl Leitner 2012-05-16 removed debugging message from ASSOC_PERCENT form field 2908: Carl Leitner 2012-05-16 javascript number formater removes commas 2907: Carl Leitner 2012-05-16 changed back/more button labels on paged message handler 2906: Launchpad Translations on behalf of intrahealth+informatics 2012-05-13 Launchpad automatic translations update. 2905: Carl Leitner 2012-05-10 custom reports -- fixed callback reference (untested) 2904: Luke Duncan 2012-05-09 Increased DatePicker module version to match the javascript version. 2903: Luke Duncan 2012-05-09 Hack to fix datepicker. For some reason when it fades the old contents were still getting clicks so move it out of the way. 2902: Launchpad Translations on behalf of intrahealth+informatics 2012-05-08 Launchpad automatic translations update. 2901: Carl Leitner 2012-05-07 percent: setting invalid value returns null not false 2900: Launchpad Translations on behalf of intrahealth+informatics 2012-05-05 Launchpad automatic translations update. 2899: Carl Leitner 2012-05-04 percent: fixed evaluation of post variable so that we can keep the percent unset 2898: Carl Leitner 2012-05-04 multi page form -- prevent fatal error if no parent object 2897: Carl Leitner 2012-05-04 multi form page now will set object on anonymous child forms 2896: Carl Leitner 2012-05-04 message notice -- make the window have a very negative z index so that it does not block other elements on page when it is closed. 2895: Carl Leitner 2012-05-04 removed debugging message form message notice 2894: Carl Leitner 2012-05-04 fixed issue with MDB2 lower casing fields references with lookupField() and lookupDisplayField() 2893: Carl Leitner 2012-04-27 fixed handling of message notice caption 2892: Launchpad Translations on behalf of intrahealth+informatics 2012-04-26 Launchpad automatic translations update. 2891: Launchpad Translations on behalf of intrahealth+informatics 2012-04-20 Launchpad automatic translations update. 2890: Carl Leitner 2012-04-19 updated translation templates 2889: Launchpad Translations on behalf of intrahealth+informatics 2012-04-19 Launchpad automatic translations update.

Outstanding

  • Add self-service for training managers
  • Add email alerts
  • Add GIS
  • Add self-service for Qualify
  • Add dashboard