Andreas Stöckel
c999373490
Added possibility for egw_json plugins to be executed in the context of the creator of the request object
2011-08-15 14:26:37 +00:00
Andreas Stöckel
fd21e247a1
etemplate2 object now creates not passed entries in the data array
2011-08-15 12:46:27 +00:00
Andreas Stöckel
8c9fd0f636
Implemented usage of mutliple array-manager objects (the object which cares about proper namespacing etc.) for each supplied data manager part (like 'content', 'readonlys' etc.), renamed et2_contentArrayMgr.js to et2_arrayMgr.js, renamed et2_all.js to etemplate2.js and added an top-level object which cares about loading the template, creating the array managers etc.
2011-08-15 12:34:00 +00:00
Andreas Stöckel
be34748b32
Added et2_all.js
2011-08-15 11:13:22 +00:00
Andreas Stöckel
f9914e069c
Fixed problem with getValues iterating over widgets which are in proxied templates
2011-08-15 10:04:37 +00:00
Andreas Stöckel
29c16431ad
Added new attribute type 'js', which cares about converting given JS code to a function
2011-08-15 09:24:32 +00:00
Ralf Becker
26ce82186c
also updated template in database, after Andreas change of the xet file
2011-08-15 09:15:01 +00:00
Andreas Stöckel
27d1173d2f
Fixed bug in timesheet_ui edit.xet: Options not set properly
2011-08-15 08:46:40 +00:00
Andreas Stöckel
bb4aab7854
Fixed two dependencies
2011-08-15 08:42:07 +00:00
Andreas Stöckel
a28295db58
Added et2_all.js which contains references to all widgets and can be included by egw to load the complete etemplate2 js module, fixed problem in 'et2_DOMWidget::set_disabled', interpreting 'type' attribute like the node name when creating the wigdets from XML
2011-08-15 08:34:21 +00:00
Ralf Becker
0a410a1e05
seems all widget have to be explicitly loaded, to be used ...
2011-08-13 17:34:59 +00:00
Ralf Becker
9657dd6c1c
fixed not working dependency
2011-08-13 17:34:22 +00:00
Ralf Becker
358fbf6d9e
first try to call new etemplate2 stuff from server-side, just replace etemplate with etemplate_new, eg. in timesheet_ui::edit()
2011-08-13 16:51:35 +00:00
Andreas Stöckel
0c71ee3931
Added correct handling of namespaces for the getValues function
2011-08-12 17:02:21 +00:00
Andreas Stöckel
2fc29718f1
Added correct handling of namespaces
2011-08-12 16:29:24 +00:00
Andreas Stöckel
8a420df721
Moved basic functions of 'Class' from the 'add*Functions' functions to Class.prototype
2011-08-12 15:35:27 +00:00
Andreas Stöckel
89230b86cf
Added functions to expand names and a basic implementation for 'disabled'
2011-08-12 15:26:08 +00:00
Andreas Stöckel
b9bb6280e3
Added getValues() function to the base widget which creates an associative 'array' with all form values.
2011-08-12 12:15:44 +00:00
Ralf Becker
2a95927fc8
added update from 1.8.002
2011-08-11 19:04:40 +00:00
Andreas Stöckel
74498fd320
fixed path in tex file
2011-08-11 13:54:46 +00:00
Andreas Stöckel
0fc000c955
Added some documentation for the JS inheritance system and the base widget classes
2011-08-11 13:54:20 +00:00
Andreas Stöckel
7a6b105dc3
Moved et2_DOMWidget to its own file, added getInputNode function to et2_inputWidget
2011-08-11 13:53:35 +00:00
Ralf Becker
d2a87d2de4
fixed Warning: DateTime::modify(): Failed to parse time string (1234.5 second) at position 7 (s): The timezone could not be found in the database, caused by second fraction
2011-08-11 08:41:13 +00:00
Ralf Becker
378526a648
quietend PHP Warning: explode() expects parameter 2 to be string, array given on line 313
2011-08-11 07:41:18 +00:00
Ralf Becker
4f54abdda2
quietened PHP Warning: array_keys() expects parameter 1 to be array, null given on line 106
2011-08-11 07:31:47 +00:00
Ralf Becker
9c82896a7b
quietened PHP Warning: in_array() expects parameter 2 to be array, boolean given on line 855
2011-08-11 07:23:29 +00:00
Nathan Gray
0b6954fb44
Handle lists inside tables in odt
2011-08-10 21:44:25 +00:00
Andreas Stöckel
9ea38d694b
Added very basic implementation for reading the content array
2011-08-10 17:44:22 +00:00
Andreas Stöckel
4f2eeaafe1
Fixed problem with id not being copied when cloning an template rewrote a part of the attribute merging system - now not only references of the attribute descriptors are copied between the instances.
2011-08-10 16:23:02 +00:00
Andreas Stöckel
67b05dc93c
Accidently derrived et2_textbox from et2_baseWidget
2011-08-10 15:15:51 +00:00
Andreas Stöckel
510c482eef
Fixed some dependencies
2011-08-10 14:39:35 +00:00
Andreas Stöckel
68c7a5550e
- Styled button a little bit
...
- Added test for textbox
- Added baseWidget and inputWidget classes
- Implemented attribute system
- Implemented statustext as a test for the attribute system
- Ported csv_split function to JS
- Implemented system for the legacy options
- Added function for iterating over the widget tree
2011-08-10 14:36:31 +00:00
Ralf Becker
858279ad84
* eSync/Addressbook: new preference to force sorting on device, eg. for use with Windows Mobile, which use "own sorting" set in addressbook otherwise
2011-08-10 14:24:30 +00:00
Ralf Becker
70e2684dd5
fixed catchable fatal error ($old hast to be array or null) and avoid reading old contact twice
2011-08-10 13:03:51 +00:00
Nathan Gray
a30b864ddd
Add jqplot for graphing
2011-08-09 23:10:50 +00:00
Nathan Gray
9cd080e2ef
Fix hex color values for background color
2011-08-09 20:58:41 +00:00
Nathan Gray
ff89732b24
As lists & tables aren't supported in OO calc, fake it
2011-08-09 20:41:16 +00:00
Nathan Gray
1c2486e058
Fix handling of colors in hex format
2011-08-09 19:39:24 +00:00
Nathan Gray
e15b7304bc
Unset empty private, it causes issues trying to find them
2011-08-09 19:14:03 +00:00
Nathan Gray
9de3b4afc9
Use similar_text() to try to automatically match import field names to application fields when there's no exact match
2011-08-09 18:19:58 +00:00
Ralf Becker
91545df1e6
* eSync/Addressbook: added mapping of private cellphone to home2phone, other phone to business2phonenumber and changed role to title in mapping of jobtitle (role is no longer mapped, because no outlook equivalent, egw prefix is mapped to ol title!)
2011-08-09 10:07:22 +00:00
Ralf Becker
da3ce46d14
added Laotian language to setup
2011-08-09 07:29:08 +00:00
Ralf Becker
17a41103d5
Loa language translation from vimontha <kvimontha@yahoo.com>
2011-08-09 06:12:25 +00:00
Nathan Gray
843a378b65
Fix clearing of nm_popup_action resulting in a submit for the second time a popup was shown
2011-08-08 17:35:01 +00:00
Nathan Gray
e6b2c43e26
Fix addressbook missing from CSV goes to accounts
2011-08-08 14:44:53 +00:00
Ralf Becker
c0da340b64
more informative WebDAV logging
2011-08-08 07:18:07 +00:00
Andreas Stöckel
db990deffd
Improved grid, now correctly renders the timesheet.edit template, grid cells are now automatically expanded, grid objects can now be cloned and used in templates, added dummy implementation for button and textbox, added JS 'use strict' to be notified about JS programming mistakes in FF 4+.
2011-08-07 13:43:46 +00:00
Andreas Stöckel
b4530a6d3e
Implemented first version of the grid component (not complete)
2011-08-06 14:36:44 +00:00
Nathan Gray
89c2097894
Add new import translation function list(sep,field,index) to explode a field and pick one part
2011-08-05 22:04:05 +00:00
Andreas Stöckel
8b2dae28f7
- Checked browser compatibility, tested with IE8, Chrome, Opera, FF3.6
...
- Added indexOf function for IE compatiblity - this and some other code is redundant to that in egw_action_common.js - Probably this code should be merged into jsapi and jsapi.js should be cleaned up and splitted into multiple files
- Implemented template widget
- Implemented dummy implementation of description widget
- Improved et2_placeholder - it now shows all properties set for that placeholder
- Improved and extended test page
- Improved interface system in et2_inheritance.js - each object derrived from Class now has a instanceOf function which checks, whether the object is either an instance of the given class or implements the given interface (same behaviour as instanceOf in Java)
- Widgets can now define which other widget classes are allowed inside of them
2011-08-05 14:53:54 +00:00