Web based groupware server written in PHP, forum at https://help.egroupware.org/
Go to file
Andreas Stöckel 5af5594f60 Major update of the et2_widget internal structure. The following changes were made:
- All attributes of the widgets are now parsed from XML before the widget itself is created.
These attributes plus all default values are then added to an associative array. The associative array is passed as second parameter to the init function of et2_widget, but is also available as this.options *after* the constructor of the et2_widget baseclass has been called.
The et2_widget constructor also calls a function parseArrayMgrAttrs(_attrs) - in this function widget implementations can read the values from e.g. the content and validation_errors array and merge it into the given _attrs associative array.
After the complete internal widgettree is completely loaded and created the "loadingFinished" function gets called and invokes all given setter functions. After that it "glues" the DOM tree together. This should also (I didn't measure it) be a bit faster than before, when the DOM-Tree was created on the fly. 

Please have a look at the changes of the et2_textbox widget to see how this affects writing widgets.

Note: The "id" property is copied to the object scope on the top of the et2_widget constructor.

- When widgets are cloned the "options" array gets passed along to the newly created widget. This means that changes made on the widgets during runtime are not automatically copied to the clone - as this didn't happen anyhow it is not a really disadvantage.
On the other side there should be no difference between widgets directly inside the "overlay" xet tag and widgets which are inside instanciated templates.

- The selbox widget doesn't work anymore - it relied on the loadAttributes function which isn't available anymore. et2_selbox should use the parseArrayMgrAttrs function to access

- I've commented out some of the "validator"-code in etemplate2.js as it created some error messages when destroying the widget tree.
2011-08-19 16:00:44 +00:00
addressbook Missed one implementation of limit exception user/group 2011-08-19 14:27:49 +00:00
admin config for export limit excepted users/groups, need backend work from nathan 2011-08-17 09:36:51 +00:00
calendar Implement export restriction exception for given users/groups in apps 2011-08-17 15:38:56 +00:00
doc * PEAR/Email: fixed not working automatic install of Mail_Mime because PEAR in RHEL5 is way to old 2011-08-05 09:45:22 +00:00
etemplate Major update of the et2_widget internal structure. The following changes were made: 2011-08-19 16:00:44 +00:00
filemanager Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-09 06:12:25 +00:00
home Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-09 06:12:25 +00:00
importexport Implement export restriction exception for given users/groups in apps 2011-08-17 15:38:56 +00:00
infolog fix bug that prevented the editing of own infologs, if no grouprights are set, and history config for application infolog is not set 2011-07-07 08:19:31 +00:00
notifications * eMail: (backend) introduce validator for a given eMailProfile ID. A profileID is checked for existence for the active user. If the profileID given does not exist, the next possible valid profileID is returned. This should fix problems regarding the storing of no longer existing profileIDs with the activeProfileID preference. 2011-07-29 09:16:54 +00:00
phpgwapi * tracker: mailhandling - prevent to use rsh or ssh to establish connection 2011-08-18 14:49:16 +00:00
preferences Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-09 06:12:25 +00:00
resources Loa language translation from vimontha <kvimontha@yahoo.com> 2011-08-09 06:12:25 +00:00
setup added Laotian language to setup 2011-08-09 07:29:08 +00:00
timesheet also updated template in database, after Andreas change of the xet file 2011-08-15 09:15:01 +00:00
.htaccess revert r34211 as it was plain wrong. and not the intended files 2011-03-18 12:15:59 +00:00
about.php new about page from Sebastian Ebeling 2007-05-26 19:06:12 +00:00
groupdav.htaccess * CalDAV/CardDAV redirect for iOS 4.3.1+ to autodetect accounts 2011-08-02 16:37:22 +00:00
groupdav.php * iPhone and Mac Addressbook support aka Apple CalDAV/CardDAV autodetection 2010-09-25 09:08:37 +00:00
header.inc.php.template fixing a typo reported by David.C Rankin 2010-12-06 08:41:59 +00:00
index.php fixed not working default app for mobile browsers 2011-07-10 12:05:59 +00:00
json.php make sure egw_json_response object get instancated, so it's destructor get called and sends at least an empty response object, checkpoint dont like empty HTTP responses 2011-05-03 19:43:51 +00:00
login.php removed unnecessary refresh_table from update, as it makes problems with PostgreSQL 2011-03-14 17:50:22 +00:00
logout.php changing the call of get_sessionid to retrieve the egw_session not only the basic_auth session, this fixes the problem, that sessions where not destroyed at logout 2009-10-02 08:33:13 +00:00
redirect.php From tracker 2276: 2010-04-13 19:27:54 +00:00
rpc.php Fix multi-domain support for SyncML 2010-02-03 12:28:49 +00:00
set_box.php rework of home area (moving of portal_boxes, deletion of portal_boxes); modification/fixes to preferences::delete; adding app_id to trackers portal-box 2010-04-21 11:09:38 +00:00
soap.php Fixed some more php53 Warnings after latest fix_depricated.php 2010-03-21 09:37:52 +00:00
svn-helper.php small svn-helper script to deal easier with our wired svn-structure, without arguments it reveals it's secrects ;-) 2007-06-04 06:44:32 +00:00
webdav.php more informative WebDAV logging 2011-08-08 07:18:07 +00:00
xmlrpc.php patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6). 2009-06-08 16:21:14 +00:00