Nathan Gray
e6a34adfe7
Fixes for word 2003
2011-08-24 21:17:14 +00:00
Nathan Gray
bb00c4217d
Don't fail if table has properties, support table borders in docx files
2011-08-24 17:29:03 +00:00
Andreas Stöckel
a11abf6412
Selectbox options now set themselves selected
2011-08-24 11:31:30 +00:00
Andreas Stöckel
6e33c99db0
Fixed bad dependency
2011-08-24 10:44:51 +00:00
Andreas Stöckel
53f4064cdc
Added some naming scheme to the js files
2011-08-24 10:18:07 +00:00
Andreas Stöckel
7b5e73b600
Added support for attribute descriptor 'translate': '\!no_lang', fixed problem with selectbox options not being read from sel_options, removed attributes from init function as they were either outdated or not used
2011-08-24 10:05:52 +00:00
Ralf Becker
04aa3d35b9
- no longer translating options on server-side
...
- sending evtl. necessary no_lang attribute via modifications to client
- deprecated template->(get|set|disable)_cell(_attribute) in favor of new etemplate_widget::(get|set|disable)Element(Attribute)
--> options via sel_options are currenlty not working on clientside
2011-08-24 09:24:55 +00:00
Ralf Becker
57767df461
fixed not working label_for --> for attribute
2011-08-24 07:55:20 +00:00
Ralf Becker
33c6766c88
- fixed xul_io class not exporting id of tab
...
- fixed tab widget to use id instead of label
- added attribute names for describtion (label) in xul_io, to export them as single attributes not comma-sep. as options
- added translate: true to description/label title
--> xet-files need to be dumped new, to get the tab-ids
--> seems like describtion value is translated unconditional, it should only be translated if no_lang attribute is not set or false, while label attribute is always translated (Andreas?)
2011-08-24 07:18:59 +00:00
Nathan Gray
07c61d65f0
Implement selecting tab via content array, hiding tab via readonlys array
2011-08-23 21:33:40 +00:00
Nathan Gray
e256009fd5
Fix merging styles in docx (& maybe xmlWord.Documents)
2011-08-23 19:59:08 +00:00
Nathan Gray
42af1f2db6
Fix line breaks in xmlWord.Documents
2011-08-23 19:56:46 +00:00
Andreas Stöckel
e1eefeaafa
Fixed problem with tabs not being translated
2011-08-23 17:10:56 +00:00
Andreas Stöckel
b0a21acb12
Changed name of 'label_for' attribute to 'for', implemented attribute translation
2011-08-23 17:05:05 +00:00
Andreas Stöckel
934e33fdd7
Fix for reading modifications
2011-08-23 15:28:54 +00:00
Andreas Stöckel
f00d5aba60
Parsing the 'modifications' array
2011-08-23 15:27:34 +00:00
Andreas Stöckel
b382dc570f
Fixed readonly buttons are rendered
2011-08-23 15:05:13 +00:00
Andreas Stöckel
86414e7daa
Moved 'getValues' function to etemplate2 class, added 'et2_surroundingsMgr' class, which is capable of managing DOM-Nodes which are inserted around an widget (see set_label function in et2_input and showMessage function in et2_baseWidget as an example of how to use it), added parsing server side validation errors
2011-08-23 14:59:49 +00:00
Andreas Stöckel
cb27424f5b
Added et2_createWidget function and got et2_selectbox_ro working correctly with predefined options and non-string option-entries.
2011-08-23 09:45:45 +00:00
Nathan Gray
d9ab0a9ce8
- Fix empty label
...
- Add readonly for selectbox
2011-08-23 00:12:01 +00:00
Nathan Gray
1cddecb832
- Fix missing formatting in xml/word documents
...
- some changes in bullets, maybe avoid error in docx documents
2011-08-22 22:30:14 +00:00
Nathan Gray
e8e5a3066a
Simple date/time, still needs to know user format
2011-08-22 18:18:29 +00:00
Ralf Becker
b65c87ec2c
added all existing select-* widgets
2011-08-22 16:56:45 +00:00
Andreas Stöckel
c5acfe93bf
Added 'overflow' attribute, got infolog.edit loading
2011-08-22 16:37:04 +00:00
Andreas Stöckel
4869ca9a49
Implemented hiding grid columns and rows, fixed bug with et2_template::isInTree returning false in the wrong places and thus not all values being transmitted back to the server
2011-08-22 15:58:47 +00:00
Andreas Stöckel
445c04dce1
Added onclick handler to baseWidget and change handler to inputWidget
2011-08-22 14:38:05 +00:00
Nathan Gray
0264b70a0b
Silence warning when export exception is not set
2011-08-22 14:20:44 +00:00
Klaus Leithoff
b76da493de
* API: taking care of sorting AND filtering by customfields with names containing whitespace; (best way to deal with this issue, is not using whitespace in your customfield names at all)
2011-08-22 13:08:19 +00:00
Andreas Stöckel
1db6a7aaf5
Added support for the 'class' attribute
2011-08-22 11:16:37 +00:00
Andreas Stöckel
05eb7d0f54
Added 'activateLinks' ability to description tags
2011-08-22 10:50:55 +00:00
Andreas Stöckel
711b1c4886
Labeles are now generated as 'label' tags, basic implementation of the 'for' attribute, sel_options can now contain entries with 'title' and 'label'
2011-08-22 08:58:20 +00:00
Ralf Becker
31ab3d9d75
use html_entity_decode, as we add options with .text(), it can't be entities, but php knows no string literals with utf-8
2011-08-22 07:46:38 +00:00
Ralf Becker
0aa128b53e
Loading translations like other javascript files:
...
setting headers to allow browser to cache the file until it's etag containing the creationdates of the used langfiles changes
--> et2 can now use egw_lang object to translate labels, options, ...
2011-08-21 20:09:14 +00:00
Ralf Becker
7b89481b76
fixed typo giving fatal error with template infolog.edit
2011-08-21 17:13:08 +00:00
Andreas Stöckel
e3bea68512
Added XET file for label test
2011-08-21 15:22:28 +00:00
Andreas Stöckel
8bc726e1b8
Implemented 'label' property for input widgets (nathans code didn't work anymore), renamed 'parseArrayMgrAttrs' to 'transformAttributes'
2011-08-21 15:22:00 +00:00
Ralf Becker
db9434d8e6
added radio validation to etemplate_widget_checkbox, as they are nearly identical
2011-08-21 14:03:52 +00:00
Ralf Becker
5bc3844be8
fixed typo
2011-08-21 14:02:31 +00:00
Ralf Becker
7c5cb7e04b
validator for checkbox, not yet tested because of missing clientside
2011-08-21 13:47:45 +00:00
Ralf Becker
74fabe9994
removed implemented todo
2011-08-21 13:46:21 +00:00
Ralf Becker
32ea28a59c
fixed copy-n-paste typo
2011-08-21 13:45:55 +00:00
Andreas Stöckel
09bc77426c
Selectbox now allows 'option'-widgets inside of it, added hrule widget, added support for 'buttononly'
2011-08-21 13:24:20 +00:00
Andreas Stöckel
4ad303529c
Added forgotten tab header
2011-08-21 13:15:25 +00:00
Ralf Becker
76d5a57b8c
added validator for htmlarea, not yet tested, as it is not yet implemented on clientside
2011-08-21 13:01:10 +00:00
Ralf Becker
ec58f52b62
implemented disabled columns
2011-08-21 12:43:02 +00:00
Andreas Stöckel
0fdf434321
Got JS handlers working again
2011-08-21 12:23:56 +00:00
Ralf Becker
c4293ba3bc
honor disabled attribute in validation for widgets including grid rows, but not yet grid columns
2011-08-21 11:55:56 +00:00
Ralf Becker
7916e86880
method to translate options incl. optionial title
2011-08-21 11:38:01 +00:00
Ralf Becker
e0624ebe89
removed set_(row|column)_attributes and disable_(row|column) method, which modifies template on run-time, it was only used internally by etemplate
2011-08-21 09:14:58 +00:00
Andreas Stöckel
aa07a39a2e
Don't allow children for the menupopup
2011-08-21 08:59:12 +00:00
Andreas Stöckel
127e629eef
Adapted selectbox widget code to new etemplate2 js core scheme
2011-08-21 08:48:53 +00:00
Andreas Stöckel
7c7a8230cf
Added basic approach to have selectbox widget running again (probably not fully working yet)
2011-08-20 18:34:14 +00:00
Ralf Becker
e92087df31
- new validator for selectboxes (menupopup)
...
- also used currently to supply options for predefined selectboxes (eg. select-cat), need to discuss if we want to fetch these per ajax
- new widget method run, which runs a given method on all widgets (and children) supporting it, eg. used now for validate
2011-08-20 10:27:38 +00:00
Andreas Stöckel
fcff01e3cc
Fixed textbox cols/rows always being set to 1
2011-08-19 16:39:28 +00:00
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
Ralf Becker
30ed6a8ab7
- added legacy-options parsing and defintions for currently implemented widgets
...
- added more server-side debuging:
* etemplate_widget_template class can be called via url and displays parsed xml, eg:
http://localhost/egroupware/etemplate/inc/class.etemplate_widget_template.inc.php?name=infolog.edit
This is different from directly calling the xet file, as it show what got parsed and how:
http://localhost/egroupware/infolog/templates/default/edit.xet
* etemplate_new class can be called via url to render an arbitrary template, eg:
http://localhost/egroupware/etemplate/inc/class.etemplate_new.inc.php?name=timesheet.edit
Thought not all are already rendered correct, eg. infolog.edit is not:
http://localhost/egroupware/etemplate/inc/class.etemplate_new.inc.php?name=infolog.edit
2011-08-19 08:22:19 +00:00
Ralf Becker
107b12abcd
- template references can contain attributes, in this case we have to clone the template and set them
...
- optional template namespace is in "content" attribute
- ability to unset validation messages
2011-08-19 06:30:06 +00:00
Ralf Becker
b57b633944
ability to unset validation messages
2011-08-19 06:21:46 +00:00
Ralf Becker
a488b67f99
serverside validation for textbox and button
2011-08-18 21:56:37 +00:00
Ralf Becker
d095250d85
read and parse widgets on serverside
2011-08-18 18:08:40 +00:00
Nathan Gray
5e54d6b12b
Add basic radio, readonly version of checkbox/radio
2011-08-18 17:34:01 +00:00
Nathan Gray
3c5f14e960
Try to keep whitespace when splitting up styles
2011-08-18 16:42:43 +00:00
Nathan Gray
341403d0ca
Attempt to fix broken bullets, doubled numbers
2011-08-18 16:09:15 +00:00
Ralf Becker
d6509ad506
fixed grid in cf widget displays border, if options are set
2011-08-18 09:22:59 +00:00
Ralf Becker
b892149294
fixed grid in cf widget displays border, if options are set
2011-08-18 09:21:03 +00:00
Nathan Gray
fb43e96aeb
Use getInputNode() instead of inconsistant variable for default label implementation
2011-08-17 23:26:01 +00:00
Nathan Gray
9f3551cc7a
PHP test page, works inside eGW + validation test
2011-08-17 23:06:25 +00:00
Nathan Gray
e76cf6eab2
- Add labels to input widgets
...
- Add row & col properties to textarea
2011-08-17 22:56:49 +00:00
Nathan Gray
03d549bab9
Add validation (basic client & server side)
2011-08-17 21:36:08 +00:00
Nathan Gray
c409e8d73e
Fix typo breaking selectbox options
2011-08-17 21:32:38 +00:00
Nathan Gray
ba5fee777c
Basic widgets xml file
2011-08-17 19:46:19 +00:00
Nathan Gray
379b05b39f
Get empty label / row count legacy option working
2011-08-17 17:50:15 +00:00
Nathan Gray
abf37487b8
Fix typo
2011-08-17 17:48:39 +00:00
Ralf Becker
d20c38b3d0
added richtext customfield
2011-08-17 16:34:09 +00:00
Nathan Gray
8f5f334762
Only process HTML inside Word xml documents
2011-08-17 15:47:05 +00:00
Nathan Gray
16bafa78b8
Implement export restriction exception for given users/groups in apps
2011-08-17 15:38:56 +00:00
Nathan Gray
2a815be3d3
Process xml as if it were a MSOffice document
2011-08-17 14:47:17 +00:00
Ralf Becker
7cbff78854
config for export limit excepted users/groups, need backend work from nathan
2011-08-17 09:36:51 +00:00
Andreas Stöckel
2234cc3413
Added very simple but working implementation of the tabs widget
2011-08-17 09:07:09 +00:00
Nathan Gray
ea8d70136e
Implement labelplaceholder for OO.o files
2011-08-16 23:07:44 +00:00
Nathan Gray
e792130479
Stop errors from missing _data and missing array managers
2011-08-16 21:18:26 +00:00
Nathan Gray
e981e7911f
Get option value from content, add empty label
2011-08-16 21:18:06 +00:00
Ralf Becker
146c8fbc80
disable initial namespace/cname, as we probably wont use it and it gives a fatal error currently
2011-08-16 20:43:18 +00:00
Ralf Becker
fae753a551
added hiearchical names in widget id's like 'button[save]'
2011-08-16 20:32:18 +00:00
Nathan Gray
f0db6211b9
Put options in selectbox
2011-08-16 20:32:13 +00:00
Ralf Becker
510ce7c159
- using etemplate_request object and a etemplate_exec_id
...
- "processing" the submit on serverside (no validation yet)
--> content returned by ajax call is not an hiearchical array: eg. "button[save]" => 1, instead of "button" => array("save" => 1)
- new call to etemplate_new::exec() is send back via new JSON generic et2_load response
--> how do we handle output of callback: a) debug output, eg. echos and b) echo "<html><head><script>window.close();</script></head></html>"; exit;
2011-08-16 19:40:48 +00:00
Nathan Gray
11ccd9c057
Check that value is a string before treating it as one
2011-08-16 19:01:45 +00:00
Nathan Gray
df2869c07f
Add simple checkbox, missing ID property
2011-08-16 18:42:17 +00:00
Andreas Stöckel
63d0baf497
Added event listener system to etemplate2
2011-08-16 18:18:18 +00:00
Nathan Gray
03b4704685
Add basic implementation of numeric (int & float) and selectbox widgets
2011-08-16 17:02:09 +00:00
Andreas Stöckel
fb8ef99c0b
Added align property and working hbox/vbox implementation
2011-08-16 16:46:22 +00:00
Nathan Gray
a6ebfff827
Fix infinite loop
2011-08-16 16:44:21 +00:00
Andreas Stöckel
fef5ad8ebd
Improved invalde type handling
2011-08-16 13:45:41 +00:00
Andreas Stöckel
786ec9220c
Added widget for html-XET tag and added forgotten et2_styles.js
2011-08-16 13:12:39 +00:00
Andreas Stöckel
40a11bdb4f
Added widget for 'styles' XET tag
2011-08-16 12:56:55 +00:00
Andreas Stöckel
41787c36f3
- Reading readonly properties
...
- Added system for readonlys: Readonly is passed in constructor as third parameter. If a widget class is registerd with "[type]_ro" (see et2_textbox for example) this one is created
- Added new 'valueWidget' base class which introduces the 'value' attribute and implements auto loading from the content array
- Implemented readonly attribute for buttons and textboxes
2011-08-16 12:31:18 +00:00
Nathan Gray
4fe9d951a8
Fix typo
2011-08-15 18:54:13 +00:00
Andreas Stöckel
3bdca867e7
et2_debug is now capable of taking any count of arguments as the console.* functions do, improved 'Attribute does not exist' message, fixed memory leak in grid (inherited destructor was not called)
2011-08-15 16:03:53 +00:00
Andreas Stöckel
8207a325aa
Moved loading of data-array attributes to the new 'loadingFinished' function
2011-08-15 14:52:45 +00:00
Andreas Stöckel
7800cfc5d4
Implemented et2_IInput interface for et2_button in order to transfer the id of the clicked button back to the server, implemented etemplate2.submit function, implemented egw_json et2_load response type to load a new template with new data.
2011-08-15 14:29:58 +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
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
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
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
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
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
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
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
Andreas Stöckel
c30e1d3e50
First version of the new etemplate2 js widget framework
2011-08-04 19:08:50 +00:00
Ralf Becker
3819816248
* Calendar: fixed various issues with history in calendar: id display, unecessary stuff loged, ...
2011-08-04 14:00:15 +00:00
Ralf Becker
c1718a29ad
for readonly version we only need to fetch given timezone, automatic conversion from id
2011-08-04 11:04:19 +00:00
Ralf Becker
31c9e8965b
fixed creating of new translations / give [Write] button file not yet existing (permissions given)
2011-08-04 07:27:23 +00:00
Nathan Gray
b7d30863bf
Fix UL / bullet conversion when merging into OpenOffice document
2011-08-02 18:42:33 +00:00
Nathan Gray
e6355334f4
Move applying HTML styles into its own function
2011-08-02 18:41:18 +00:00
Ralf Becker
38c3e52dde
default step="any" for float, as not setting it limits value to integer as step defaults to 1 in html5!
2011-07-30 08:31:08 +00:00
Nathan Gray
c2c1b4af95
Fix mismatched tag in MS linefeed
2011-07-29 15:34:12 +00:00
Klaus Leithoff
88c088eb86
fix warning ->missing argument 1 for select_widget<- : make the parameter optional by assigning a default value
2011-07-26 07:43:53 +00:00
Nathan Gray
a2be785731
Bring some HTML styles into merged documents (ODT & docx)
2011-07-19 23:32:01 +00:00
Klaus Leithoff
bed0c7a265
notification/tracker: in special cases, the owner of an entry was notified twice; now control who is notified in the first (admin) notification run, and pass the already notified email-addresses to the general run
2011-07-13 07:30:28 +00:00
Ralf Becker
43c4113d83
using grid styleing also for nextmatch widgets without nextmatch header
2011-07-12 09:53:39 +00:00
Nathan Gray
48139cfafc
Make 'Creator' and 'Modifier' more widely available by putting them into preferences
2011-07-07 20:08:12 +00:00
Ralf Becker
2b0278fbbd
switch html5 form validation off for cancel buttons and in etemplate editor (or whenever any $ignore_validation expression is given)
2011-07-07 12:54:11 +00:00
Ralf Becker
4f60da9af5
differenciate in our serverside user-agent detection between Chrome and Safari, and disable html5 form validation for float, as Chrome 12 rejects float values with comma as decimal separator
2011-07-07 11:50:06 +00:00
Nathan Gray
624839d0db
Translations for placeholder labels
2011-07-05 22:21:49 +00:00
Nathan Gray
aab8157907
Translation for placeholder labels
2011-07-05 21:44:21 +00:00
Nathan Gray
324cb05599
Use different app if running hooked also
2011-07-05 15:56:30 +00:00
Nathan Gray
4e54cdabc0
Pass non-popup links through framework's link handler
2011-07-05 14:45:25 +00:00
Nathan Gray
18d13804e6
Try to clean up German too
2011-07-04 18:53:32 +00:00
Nathan Gray
eec3bd3d5b
Clean up translations - move common merge stuff into preferences
2011-07-04 18:12:12 +00:00
Nathan Gray
42dd9e9a02
Don't pass popups through link handler
2011-07-04 17:04:08 +00:00
Ralf Becker
03e379e570
* jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
...
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*
required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*
negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php: '(\$(.+))' => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php: '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))
find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
additional changes:
phpgwapi/js/jquery/jquery.js: window.$ --> window.$j
phpgwapi/js/egw_json.js:291 this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59 $j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js: window.$ --> window.$j
2011-07-03 09:00:36 +00:00
Ralf Becker
a89430ae8e
fixed multiline fields in notification message were all in one line
2011-07-02 09:36:21 +00:00
Ralf Becker
9f94f1f8e3
support for html5 multiple upload
2011-07-01 07:48:06 +00:00
Ralf Becker
548ae17b66
fixed error in link-entry: " has an invalid format !!!, after adding html5 type attr to text/input widget
2011-06-30 17:57:55 +00:00
Ralf Becker
d654437a54
- allow confirmation only for multiple selected
...
- confirm, confirm_multiple and allowOnMultiple get now inherited by children (@Andreas: allowOnMultiple does NOT work on children for some reason)
- add confirmation for more then one receipient in mail merge
- translations for etemplate part
2011-06-30 17:35:52 +00:00
Ralf Becker
95bbacf358
mime icon for eml - message/rfc822
2011-06-30 16:36:14 +00:00
Klaus Leithoff
b30fcc52f3
allow merge_print for emails on all applications (only one entry at a time, exept addressbook); addressbook merge_print with an email of one contact, the mail is stored with the draft folder and then opens the compose dialog, if used on multiple contacts, we try to send them right away. Better control of SigOnTop Handling.
2011-06-30 15:28:29 +00:00
Ralf Becker
3f6fcf60d2
support for some html5 form features, if browser supports it
2011-06-30 15:19:08 +00:00
Ralf Becker
be57f2a37b
new standard action to active the first link in a row, fixed numeric id's det Del shortcut
2011-06-30 12:43:04 +00:00
Klaus Leithoff
51c6e79475
allow email - merge print only for addressbook (by now); handle mergeprint for accounts stored with ldap as well
2011-06-30 11:21:48 +00:00
Ralf Becker
8e8aba371e
reverted r35561, as it breaks popups in other apps
2011-06-30 10:06:31 +00:00
Klaus Leithoff
aa706d8cb8
* eMail: feature to use merge_print on emails for sending previously prepared (and stored) emails to contacts. The email address is used as To address. If no email address is specified, email_home is used. Addressbook replacements are performed on text/html body and subject; BugFix regarding problems with styledefinitions containing umlauts
2011-06-30 09:47:29 +00:00
Nathan Gray
4550cb3171
Fix links so they open in correct app window with jdots
2011-06-29 16:39:23 +00:00
Ralf Becker
05a3ccb320
dont load cfs for template from stylite app
2011-06-28 20:47:35 +00:00
Ralf Becker
9cb94fc0cf
fixed warning: missing argument 3
2011-06-28 13:47:16 +00:00
Nathan Gray
426dff7f9c
If value is something that evaluates to false, display nothing ('')
2011-06-27 22:14:44 +00:00
Andreas Stöckel
823a6014ef
Fixed error message 'dhtmlxmenu_ext.js required'
2011-06-25 15:45:10 +00:00
Andreas Stöckel
8f354a3fbf
Using egw_keymanager::DELETE instead of EGW_KEY_DELETE
2011-06-25 14:28:14 +00:00
Ralf Becker
fe781cdc9f
- add $receiver parameter to most callbacks, to be able to customize returned content on receiver (eg. different for users and email CC's)
...
- changed html body into a two-column table for nicer formatting
2011-06-23 18:45:44 +00:00
Oscar Manuel Gómez Senovilla
164871ec02
Update Czech translation for trunk. Tracker #2886
2011-06-23 13:53:19 +00:00
Nathan Gray
0ecbc8b54d
Allow functions deep in the stack (table callbacks) to throw exceptions in error conditions
2011-06-21 21:14:16 +00:00
Ralf Becker
84713fbab3
give all delete actions DEL key as shortcut
2011-06-21 08:27:54 +00:00
Andreas Stöckel
0991eed64a
Added shortcut as valid action property
2011-06-19 10:53:52 +00:00
Ralf Becker
65a8e4e8d3
fixed some printing stuff in calendar, printing in listview is disabled, because it is NOT working atm.
2011-06-17 15:16:40 +00:00
Ralf Becker
6cf426d465
added a mime-type filter
2011-06-17 14:07:51 +00:00
Ralf Becker
d13b605db8
uncomment testwise commented allowens for admins to export more then the export limit
2011-06-17 13:35:00 +00:00
Ralf Becker
81b78a8e65
fixed not working standard document with absolute path
2011-06-17 13:08:10 +00:00
Andreas Stöckel
f3ccd96f03
Grid and nextmatch aoi now reset the input element focus once a row is clicked
2011-06-16 20:43:33 +00:00
Nathan Gray
0514391fde
Show time values in user time
2011-06-16 15:14:14 +00:00
Ralf Becker
8e7c73dd84
some fixes for English and Suomi translation, from our Suomi resident here as Stylite
2011-06-16 13:01:29 +00:00
Ralf Becker
b367a7929e
translation of now export limit messages for merge-print
2011-06-16 12:26:32 +00:00
Ralf Becker
92ddeca1fb
- fail with error message, if user trys to export more entries then allowed (previously entries were silently cut down to allowed number, even 0!)
...
- fixed path of document-actions if more then one directory with subdirectories were given
2011-06-16 11:36:15 +00:00
Andreas Stöckel
509ff8aa53
Flagging next-match widget container as default-focus object
2011-06-15 20:50:24 +00:00
Ralf Becker
0238118906
new preference about how to select additional lines in lists
2011-06-15 15:50:16 +00:00
Andreas Stöckel
7f9db3701b
Commited code for nextmatchRowAOI to support the new EGW_SELECTMODE_TOGGLE
2011-06-15 15:49:05 +00:00
Ralf Becker
1774e5674f
support for multiple space or comma separated download dirs
2011-06-14 10:48:15 +00:00
Ralf Becker
e50565ccb4
allow multiple space or comma separated template directories
2011-06-14 08:54:42 +00:00
Andreas Stöckel
8cfae5bd16
Including JS-file for keyboard navigation
2011-06-12 16:43:43 +00:00
Ralf Becker
fcfbd038bc
some fixes for the English translation, from our Suomi resident here as Stylite
2011-06-10 06:19:36 +00:00
Nathan Gray
e59b50e7fb
If etemplate_exec_id is lost, pass along any GET parameters with redirect
2011-06-09 16:47:40 +00:00
Nathan Gray
ec56327c20
If action specifies target for location, use it
2011-06-06 20:22:49 +00:00
Ralf Becker
476a0c0a6d
remove leading whitespace from caption used as confirmation message
2011-06-03 18:45:40 +00:00
Andreas Stöckel
bb8a28b6d7
Fixed typo in select handler assignment
2011-06-03 11:26:12 +00:00
Andreas Stöckel
6c1e8e0d06
Made selection on mobile devices work with touchend and not click (not final)
2011-06-02 22:50:35 +00:00
Ralf Becker
3bbc6a6962
- egw_open nm_action using new clientside link registry
...
- enabling/disabling actions based on row-id matching a regular expression
- children/submenus inherit 'url','popup','nm_action','onExecute','type','egw_open' attributes
2011-06-02 20:03:34 +00:00
Andreas Stöckel
4cb37be5d3
Implemented usage of global action manager and object manager for nextmatch widget
2011-06-02 14:49:56 +00:00
Nathan Gray
30bef48900
Fix hierarchical category action
2011-06-01 16:23:04 +00:00
Ralf Becker
c9fbcc329e
if no confirm_msg given, use caption instead for select_all confirmation
2011-06-01 11:30:08 +00:00
Ralf Becker
4d2cf32f9a
missed dragType in egw_action_supported attributes
2011-05-31 20:42:34 +00:00
Ralf Becker
5eca546898
some enhancements for the felamimail context menu
2011-05-31 19:49:19 +00:00
Ralf Becker
b64a0de528
allow to specify "none" in popup size for no popup AND no link target, to allow dial scripts to use status "204 No Content"
2011-05-30 14:59:40 +00:00
Ralf Becker
a147a9a4a8
fixed not working category color of rows (calendar, addressbook)
2011-05-30 11:08:37 +00:00
Ralf Becker
2e95210154
load new row selection / egw_actions system for all nextmatch lists, not only ones defining actions / context menus
2011-05-27 10:28:30 +00:00
Ralf Becker
678efd6ced
switch to tab with customfield widget (empty name for call cfs), if validation error is for a cf (name prefixed with #), if no tab found add validation message to $content[msg] as a last resort to make it more visible to the user
2011-05-18 14:23:23 +00:00
Ralf Becker
1053267a96
fixed an "htmlspecialchars 1. param should be string, array given" error
2011-05-18 14:21:02 +00:00
Ralf Becker
3b90f44c89
got select entry custom fields honor required flag and select entry widget show required input with inputRequired css class
2011-05-18 10:23:39 +00:00
Nathan Gray
c93de715bc
Clear action in case there's another one, prevents doubling
2011-05-17 19:13:55 +00:00
Klaus Leithoff
3ee6fba705
fix error on saving addressbook items with new link-widget customfields; error_log stuff (disabled)
2011-05-17 11:50:06 +00:00
Klaus Leithoff
64c798cda4
show raw selectvalue, if we are not able to show the corresponding selection entry
2011-05-17 11:46:56 +00:00
Klaus Leithoff
dcb5a86aca
fix for bug #1631 on Stylite tracker: no browsing/navigation in egws popup filenavigation used for image browsing for CK-Editor.
2011-05-16 07:46:27 +00:00
Klaus Leithoff
46bd49e810
handle arrays as value, that are passed down for customfield links
2011-05-12 14:44:09 +00:00
Klaus Leithoff
064490bfef
fix typo that prevented the referencing of sub elements in get_array in some cases
2011-05-12 12:03:55 +00:00
Klaus Leithoff
11411abef5
fix for 'cf_link_fields do not create link on inital save' in calendar: reason no id passed when called tracking for new events
2011-05-11 15:09:16 +00:00
Ralf Becker
fe6a0e906c
automatic create and update links for custom fields linking to applicaton entries
2011-05-07 15:32:51 +00:00
Ralf Becker
0ced6fcf51
- storing etemplate form name and variable prefix into egw_actionManager to be able to work on a 2. eTemplate on a page (InfoLog in Addressbook view)
...
- moving (open|hide|submit)_popup used in InfoLog and Tracker to etemplate, so code can be shared
--> change 'onExecute' => 'javaScript:open_popup' to 'nm_action' => 'open_popup' and onclick="(hide|submit)_popup()" to onclick="nm_(hide|submit)_popup()"
2011-05-07 08:47:58 +00:00
Ralf Becker
366aa7c05a
- allow to specify to use selectbox, instead of category selection for category
...
- allow to specify name of action (infolog already uses 'action')
2011-05-06 18:10:50 +00:00
Ralf Becker
b52b7acf8a
values are NOT yet used on client side, but give warnings if array are not converted to strings
2011-05-05 07:31:04 +00:00
Ralf Becker
e1783ea0f7
values are NOT yet used on client side, but give warnings if array are not converted to strings
2011-05-05 07:30:30 +00:00
Ralf Becker
beb6f20790
sort attributes, to stop xet files from changing because of changed attribute order
2011-05-05 06:51:40 +00:00
Ralf Becker
1e8de99ed7
Move initialisation for egw_actions stuff into static method of nextmatch_widget, it get called now from:
...
- etemplate::show_grid()
- addressbook_ui::view() to load JS stuff before header get generated
2011-05-02 13:34:59 +00:00
Ralf Becker
dfd160f11b
- automatic switch to hierarchical display, if more then $max_cats_flat=14 cats found
...
- add category icons
2011-05-01 09:11:45 +00:00
Ralf Becker
ce4543785c
setting default to 14
2011-04-30 08:21:19 +00:00
Ralf Becker
4f65e182e1
automatic pagination of long context submenus, eg. categories
2011-04-30 08:17:14 +00:00
Ralf Becker
60edb83929
enable via a class and no more need to set enabled='javascript:nm...' for enableClass or disableClass
2011-04-27 16:54:35 +00:00
Ralf Becker
fb5ea143be
- returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
...
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Ralf Becker
dc88e0c190
- automatic creation of action_links (enabled actions and ones which need to be checked if enabled) by using all first level actions plus the ones with enabled set to 'javaScript:...'
...
- a bit of docu about the actions system usable through nextmatch widget
--> addressbook disables now "remove from distirbution list" and "delete selected distribution list", if no distribution list is selected
2011-04-26 19:50:03 +00:00
Ralf Becker
98a2731116
- fixed not working add or remove category method from context menu
...
- disabling actions not available, because of missing rights
- trying to disable "remove from distribution list" and "delete distribution list", when no list is selected
--> not yet working
2011-04-25 14:13:40 +00:00
Ralf Becker
2ccc4465e5
for select-all, show regular confirmation message plus select-all hint
2011-04-25 12:15:05 +00:00
Ralf Becker
e474b0f0d4
- insert in document action:
...
+ one submenu with default document (if set) on top
+ if more then 9 documents, show them in submenus by mime type
- added copy address as second point to add submenu, beside new
- icons for move to addressbook
- fixed icons for org views
--> addressbook context menu should now be fully functional - let me know if not ;-)
2011-04-25 11:30:37 +00:00
Ralf Becker
40c4477b23
finetuning history log display for custom fields
2011-04-19 18:50:23 +00:00
Ralf Becker
7705b25ece
history log widget "knows" now about custom fields and bo_tracking optionally initialises them too
2011-04-19 15:00:49 +00:00
Ralf Becker
33bbd3465d
- fixed bug in timesheet, success/error message of set category or status was not shown
...
- using now a single (default) action Open, which opens a timesheet to edit or view depending on rights
- added phrases "Open" and "Whole query" to API/common, as they are used in many apps
2011-04-19 09:44:25 +00:00
Ralf Becker
a88288abd4
fixed not working confirmation, after whole-query was selected and deselected (can not insert false in hidden input)
2011-04-17 21:17:47 +00:00
Ralf Becker
bb0e8617b2
enable/disable edit and delete action, based on ACL rights, set as css classes to each row
2011-04-17 20:45:21 +00:00
Ralf Becker
6081a5749d
timesheet context menus are now complete:
...
- query all is moved into context menu
- legacy support only contains button to trigger context menu
- moved some common phrases into the API:
+ Delete this entry
+ Delete these entries
+ You need to select some entries first!
- support for singular and plural confirmation messages
2011-04-17 18:53:45 +00:00
Andreas Stöckel
5e014cdfe2
Fixed problem with commiting forms in Firefox
2011-04-17 16:53:24 +00:00
Ralf Becker
752cd7249f
replacing now $id in url with actual id, not longer adding it if url ends with =
2011-04-17 09:52:54 +00:00
Ralf Becker
dfeedf64c5
make prefix for documents a parameter and properly decode file names
2011-04-17 08:42:07 +00:00
Ralf Becker
8ad99593bd
not updated template
2011-04-17 06:25:07 +00:00
Ralf Becker
806d3d604c
added context menu for nextmatch widget: first implemenation in timesheet
...
- legacy actions column and multiple action row below table is switched off by default, but can be switched on again
- legacy action button is NOT yet working
- "whole query" checkbox need to go into context menu too
2011-04-16 21:45:13 +00:00
Ralf Becker
f9444ae1cd
added "decimal" to nummeric types, to fix PostgreSQL error (bug #2105 )
2011-04-10 15:12:43 +00:00
Christian Binder
a1b44f8df7
projectmanager: added a moreOptions dropdown list to the link add widget in elements view to be able to assign eRoles to added elements quick; added a preference to give a downloaded merge document a default name
2011-04-08 19:32:17 +00:00
Nathan Gray
eb337b7dec
Don't throw an exception, just leave the cells as text and log it.
2011-04-06 20:57:40 +00:00
Nathan Gray
1d41d567a0
Iteratively increase backtrack limit to try to handle preg_replace limitations on larger files
2011-04-06 20:45:14 +00:00
Andreas Stöckel
7de4a37624
Added new style and images for links
2011-04-01 12:48:24 +00:00
Nathan Gray
64cf625403
Avoid weird problem with account_id & preg_replace clearing content
2011-03-31 18:13:46 +00:00
Ralf Becker
c801bdf99e
identical lettersearch for etemplate and admin via central css file
2011-03-30 08:18:06 +00:00
Nathan Gray
9056a41ebf
Fix autodetection of numeric fields
2011-03-29 17:46:07 +00:00
Nathan Gray
3e1f3f9df8
Allow app to provide an export definition, used if preference can't be found
2011-03-29 14:51:26 +00:00
Nathan Gray
c714b06848
Add custom field type 'Float'.
...
It understands options precision, min & max, so for example:
precision=2
max=20
2011-03-28 22:43:39 +00:00
Nathan Gray
9b072a81a7
Command processing needs to do escaping for XML too
2011-03-28 20:36:15 +00:00
Ralf Becker
b5c3c90260
activated new table style and row selection for etemplate, not yet with contect menus
2011-03-27 16:14:08 +00:00
Ralf Becker
272282e573
remove stupid (0) from phone numbers written as "+49 (0) 123 1234567"
2011-03-26 15:57:24 +00:00
Andreas Stöckel
4119c06da0
Removed temporarily added focused/selected styles as they are now part of the default css
2011-03-25 14:27:32 +00:00
Nathan Gray
c2f1340075
Give CSV export definition preference priority over app settings
2011-03-24 14:45:12 +00:00
Andreas Stöckel
4b380ca119
Improved nextmatch row aoi and added AJAX-actions for createdir and symlink to filemanager_ui
2011-03-23 20:07:07 +00:00
Andreas Stöckel
20b769678f
Updated aoi code, prevented unwanted browser selection, row is only selectable when a checkbox is found
2011-03-22 19:55:57 +00:00
Andreas Stöckel
f6d0edbdc1
Added basic support for the egw_action framework in the nextmatch widget (currently not active)
2011-03-22 17:06:02 +00:00
Nathan Gray
e13ef7c892
Get automatic number formatting working for Excel 2003 xml files
2011-03-21 14:53:41 +00:00
Ralf Becker
778d03772a
fixed typo CAPABILITY_CAST_AS_VA(R)CHAR
2011-03-20 12:49:22 +00:00
Ralf Becker
c492c57e2f
* Addressbook: fixed PostgeSQL error when searching or showing accounts
2011-03-20 12:37:22 +00:00
Ralf Becker
6c05070aa0
fixed warning: implode(): Invalid arguments passed in /var/www/epl-trunk/etemplate/inc/class.bo_merge.inc.php on line 569
2011-03-18 15:14:55 +00:00
Nathan Gray
62a856b1c9
Force . as decimal separator for OO.o spreadsheet
2011-03-15 15:31:21 +00:00
Nathan Gray
fe18d21f4b
Export limit does not apply to admins
2011-03-15 15:13:46 +00:00
Nathan Gray
4831a34ffa
Add ability for extending class to specify its own numeric fields
2011-03-14 22:06:23 +00:00
Nathan Gray
dffb0b87dd
Fix linefeed for NELF + application/xml mimetype
2011-03-10 17:23:28 +00:00
Nathan Gray
22b4e56958
Add a LF for excel 2003
2011-03-10 16:50:40 +00:00
Ralf Becker
f05b7dd43e
stop filling up the logs with: explode() expects parameter 2 to be string
2011-03-10 13:08:29 +00:00
Nathan Gray
165628efc5
Correctly change style if element has more than one class
2011-03-08 23:49:30 +00:00
Nathan Gray
c2c42cfa92
Use text:line-break, no guarantee that there will be a span
2011-03-03 18:22:49 +00:00
Ralf Becker
4cce629666
* fixed handling of + char in VFS filenames (using egw_vfs::decodePath() instead of urldecode())
2011-03-03 15:41:01 +00:00
Nathan Gray
57fa8b5504
Automagically detect & set type for numbers when merging into a OO.o calc spreadsheet
2011-03-03 00:15:27 +00:00
Nathan Gray
e81802d0cd
Promote number_format() to base class so it's available for all extending classes
2011-02-28 20:31:56 +00:00
Nathan Gray
830fcad2f6
Fix commands for table repeats
2011-02-28 19:16:58 +00:00
Nathan Gray
20d6378bd2
Change importexport exporting to be able to pass a definition
2011-02-28 18:10:18 +00:00
Nathan Gray
2e5144b5a2
Add permission check before using importexport for export
2011-02-28 17:35:18 +00:00
Nathan Gray
36ac740a5c
* Nextmatch widget can use Import/Export definitions for exporting, if the app has the preference nextmatch-export-definition set to the name of the definition to use.
2011-02-28 17:32:32 +00:00
Nathan Gray
d6aa239e62
Make merge respect export limit
2011-02-24 00:08:12 +00:00
Nathan Gray
e100e423d8
Move special flags IF, NELF, etc to function so they can be used in a table
2011-02-23 21:01:37 +00:00
Stefan Becker
a8cc0801ec
add German translation and fixed some typos
2011-02-23 13:13:01 +00:00
Nathan Gray
96dd9d46c2
Include main category even if no sub-cats are selected
2011-02-22 20:14:35 +00:00
Nathan Gray
03d3b5c36b
Add common function to get list of supported extensions
2011-02-22 19:46:09 +00:00
Andreas Stöckel
6d2179889c
Fixed stylite bug #1291 , mime type icons were to large. Fix does not work with IE <=6
2011-02-21 18:59:58 +00:00
Andreas Stöckel
43e4fa2c3c
Updated the thumbnail generator to use the egw_cache_file class to generate a temp filename
2011-02-21 18:37:45 +00:00
Nathan Gray
99df873aa3
- Add setting to select-cat to display missing IDs as Missing: #
...
- Use select-cat setting in historylog widget to display something for deleted categories
2011-02-18 18:27:01 +00:00
Nathan Gray
dfa96ca0a6
List each sub-cat separately
2011-02-18 15:04:40 +00:00
Nathan Gray
d846176c9f
Include path for sub-categories
2011-02-17 16:40:57 +00:00
Nathan Gray
1ef649b869
Fix for display of multi-row read-only select-account widget
2011-02-16 18:22:42 +00:00
Nathan Gray
3980ba3692
Correct category formatting
2011-02-16 17:56:00 +00:00
Nathan Gray
0c97c3bd10
Add extra placeholder 'categories' for expanded categories with path
2011-02-16 17:47:31 +00:00
Christian Binder
c8d92bc7ca
some type checks to avoid php warnings
2011-02-09 20:11:17 +00:00
Christian Binder
31a8c3b51c
implemented table plugin for eroles - added bo class for eroles and moved corresponding methods from so to bo
2011-02-07 11:08:08 +00:00
Nathan Gray
23645c7b9f
Shrink icon to 16x16 pixels to match others
2011-02-04 20:05:23 +00:00
Nathan Gray
aad884a3aa
Add a common method get_documents() to fetch a list of documents from a given directory so we don't keep copying it.
2011-02-04 20:04:17 +00:00
Oscar Manuel Gómez Senovilla
28d2b6b072
Update for translations in trunk
2011-01-30 12:53:49 +00:00
Christian Binder
407f7c9440
moved eroles specific code from parent merge class to projectmanager merge class
2011-01-27 17:08:40 +00:00
Nathan Gray
ec4ef57ed0
Add common merge icon for anything using bo_merge
2011-01-26 20:12:41 +00:00
Nathan Gray
939052437d
Fix escaping of double quotes
2011-01-24 16:43:15 +00:00
Christian Binder
b6b7e7bd84
moved erole widget from global class to app-specific class
2011-01-22 17:02:31 +00:00
Christian Binder
0670e247e9
changed retrieving of pm_id and pe_id to etemplate_request::read() (thanks Ralf) - added tiny method to check for global eroles - prevent displaying global eroles in etemplate editor
2011-01-19 16:36:13 +00:00
Nathan Gray
5301af7a82
Use custom label as label, if it's not just a number
2011-01-18 15:55:42 +00:00
Klaus Leithoff
85ec9e5a53
fix problem with assumedly broken ZipArchives with OpenOffice Documents used with ZipArchive on SLES11; try opening the archive anyway, even if the onening with CHECKCONS failes. Report that to error_log, and try to proceed before failing fataly
2011-01-13 10:57:20 +00:00
Nathan Gray
91a5f43670
Updated file from Randy Houlahan
...
- Updates for JS code changes
- Change in file name handling - looks for lower case now
2011-01-10 15:44:32 +00:00
Christian Binder
b80eaab81f
initial implementation of merge class and element roles for projectmanager - projectmanager fields are not yet supported but will be implemented later. This feature is sponsored by www.inspectionsunlimited.com.
2011-01-08 16:04:44 +00:00
Nathan Gray
e2d54119dd
- Fix infinite loop bug if you use 'OR' in search
...
- Use case-insensitive LIKE from db capabilities
2011-01-07 21:13:40 +00:00
Christian Binder
52133ffd54
fixed typo (did not validate but should be a typo)
2011-01-07 13:57:58 +00:00
Andreas Stöckel
4b93e5c0c5
Accidently set the thumbnail size to 16 in every vfs-mime widget. Added new option to the vfs-mime widget which allows you to set the thumbnail size.
2010-12-31 14:31:50 +00:00
Andreas Stöckel
2a71bab988
Fixed parts of EGW Stylite Bug #8260 . Very wide images do not longer get displayed very broadly in the filemanager select widget.
...
To achive this, some changes to the CSS were made and the ability to return thumbnails with a given size was added to etemplate/thumbnail.php. Miniature images with dimensions smaller than one pixel are now no longer created.
In this progress I discovered a minor security issue which might cause multiple egroupware instances to mix up their thumbnails in rare occasions. This was fixed by now hashing the image path together with the webserver url and the thumbnail size. In this progress, the thumbnail generation code has been restructured, making it faster and much easier to understand.
2010-12-30 19:54:43 +00:00
Nathan Gray
726798c8cb
Fix order, escape quotes first or the field delimiters get doubled
2010-12-17 16:59:02 +00:00
Nathan Gray
855c601f98
Escape double quotes
2010-12-17 16:45:57 +00:00
Klaus Leithoff
e3ee0b34fd
* CSV Export: Replace CRLF with LF so excel does not break lines early (myStylite#974)
2010-12-16 15:07:19 +00:00
Klaus Leithoff
cc1310b6de
Addressbook / Merge functions: remove error logging
2010-12-15 12:06:53 +00:00
Klaus Leithoff
f42b5cdbe9
* Addressbook / Merge functions: allow pagerepeat for merge in text/plain mimetypes/documents
2010-12-15 10:50:29 +00:00
Ralf Becker
92ebc10cef
give current value higher priority then $value[default_sel] when determining $app
2010-11-12 08:17:30 +00:00
Ralf Becker
43d2411ba1
fixing some warnings
2010-11-10 08:26:41 +00:00
Hans-Jürgen Tappe
33a0f786bd
- Add hint on how to revert changes / reset an eTemplate change as discussed on
...
the developer's list.
- Fix typos
- Add a reference from the reference.html to the now existing etemplate
documentation.
2010-11-07 13:25:00 +00:00
Ralf Becker
5cd2b962ea
split merge taking a path as argument in second method merge_string taking the document as string
2010-10-27 09:34:42 +00:00
Ralf Becker
5efac64eff
fixed wrong parameter type warning
2010-10-26 13:29:09 +00:00
Ralf Becker
af7a24eb9a
framework->navbar() now automatically calls framework->header(), this way navbar or sidebox can include JS or CSS, because header is called after
2010-10-18 10:46:47 +00:00
Ralf Becker
0dd58b36cf
quiten warning if $cell[size] is an array
2010-10-12 07:48:35 +00:00
Klaus Leithoff
e4ef70dd02
dont try to translate text from textfields when in listview
2010-10-04 11:50:37 +00:00
Nathan Gray
9f6c1c1994
Add a parameter to allow an extra 'Custom' country option when using 2 letter codes
2010-09-28 20:53:00 +00:00
Nathan Gray
272d30c3a7
Add parameter 'show_deleted' to include 'deleted' links waiting for purge
2010-09-27 16:29:50 +00:00
Ralf Becker
d29205529b
removed use of PHP 5.3 deprecated eregi
2010-09-17 19:32:11 +00:00
Ralf Becker
201f0d33e3
also quote quotes in variables surounded by curly brackets, eg. '{[nm][path]}'
2010-09-14 16:33:33 +00:00
Ralf Becker
50c43deec9
updating verson to 1.8
2010-09-05 15:24:34 +00:00
Ralf Becker
3c58ef8473
fixed historylog widget shows "unknow type" for selectboxes with explicit options containing key 0
2010-08-27 16:11:02 +00:00
Oscar Manuel Gómez Senovilla
65f1702caa
Tracker #2657
2010-08-25 16:23:17 +00:00
Oscar Manuel Gómez Senovilla
2f0df89b4f
Tracker #2703
2010-08-25 16:14:29 +00:00
Ralf Becker
ea97fc438f
using utf-8 encoding for html merge-print
2010-08-23 12:03:03 +00:00
Ralf Becker
3835e9acbc
reverted r31570/7: using label as blur text, as label is already used (as label), using blur text field now, no idea why I didnt used it in the first place ;-)
2010-08-16 07:28:58 +00:00
Ralf Becker
f156301f25
fixed wrongly display blur text for value "0"
2010-08-12 18:03:03 +00:00
Ralf Becker
5a03cff75d
set span & class from original cell for single fields
2010-08-05 15:36:23 +00:00
Ralf Becker
bb468774f7
quitened warning
2010-08-01 12:47:26 +00:00
Ralf Becker
a1c9f68a1e
remove not used advanced-search-widget
2010-08-01 10:02:04 +00:00
Hans-Jürgen Tappe
c6a4c40934
Fix HTML code in etemplate documentation:
...
- Close 'li' tags
- Close 'lt' tags by 'gt' tags
- Convert ampersands to 'amp' tags.
2010-07-31 07:03:15 +00:00
Ralf Becker
3dc949d08e
display readonly link-entry widgets as links to the linked entry
2010-07-30 15:27:51 +00:00
Ralf Becker
4fc00c03ae
forgot to translate the label
2010-07-30 14:02:19 +00:00
Ralf Becker
55463e493b
displaying label of link-entry widget as blur text
2010-07-30 08:36:41 +00:00
Klaus Leithoff
72610fb3ad
allow minus and underscore in validation as part of the LocalPart of the eMailaddress; even directly in front of the @ sign
2010-07-23 12:10:52 +00:00
Ralf Becker
b9bfd285a5
fixed not working checkboxes after r31472
2010-07-22 13:09:33 +00:00
Ralf Becker
f597385a9c
fixed caching of etemplates:
...
- never read timestamp of last import from cache
- check timestamps only once per session and app
2010-07-21 13:50:29 +00:00
Ralf Becker
4da973400c
allow and validate needed (required) attribute for file uploads, checkboxes and radio buttons
2010-07-21 08:21:42 +00:00
Ralf Becker
4ad95007b5
using call_user_func instead of depricated call_user_method, which seems at least under PHP5.3 not to allow static calls
2010-07-20 14:34:20 +00:00
Ralf Becker
b5f35a4b75
validating (string) === '' (instead === ''), as on ajax commit no yet set inputs are returned as null instead of ''
2010-07-13 20:47:25 +00:00
Nathan Gray
48ba641cb3
Avoid conflicts with other objects that have ->db defined by using the global db
2010-07-13 14:22:14 +00:00
Klaus Leithoff
b78a9865cc
explicitly process fields to order by, as cutomfields may have names with spaces, so we examine each order by criteria, as our preg did not do the job properly
2010-07-08 11:37:56 +00:00
Klaus Leithoff
82e8bdbd9e
allow for like wildcard.val.wildcard in filtersearch for customfields (needed for advanced search, as criteria are now remapped to be filters for customfields)
2010-07-07 14:11:33 +00:00
Klaus Leithoff
07930ecd58
fix advanced search for customfields (multiple field criteria, combined by AND) in addressbook
2010-07-07 11:38:52 +00:00
Ralf Becker
c1fa529fc8
new optional parameter "extra_args" for link widget, to add further get parameters to the link
2010-07-07 10:10:23 +00:00
Klaus Leithoff
c8abf9eacc
fix a problem with content validation; was returned as array
2010-06-28 14:09:59 +00:00
Ralf Becker
30ce2262dd
if search pattern alread contains a wildcard, do NOT add further ones automatic (eg. in extended search in addressbook)
2010-06-25 07:11:39 +00:00
Nathan Gray
97cdb61ea5
Fix for searching with custom fields in
2010-06-18 11:15:35 +00:00
Jörg Lehrke
a4b36620dd
Fix excess of maximum column length issue
2010-06-18 09:33:57 +00:00
Ralf Becker
88ebb437c2
methods to set or get all body tags or javascript files, replacing direct access to variables of old javascript class
2010-06-15 16:08:10 +00:00
Ralf Becker
8c913bb95a
correct validation errors, if no file selected or file could not be attached
2010-06-14 20:17:55 +00:00
Nathan Gray
e37b4807c2
Fix searching for a given custom field value using criteria parameter
2010-06-14 10:18:23 +00:00
Ralf Becker
401d9dcf21
removed now global available array_stripslashes
2010-06-11 10:39:59 +00:00
Ralf Becker
58ce706d2c
Use json_encode() instead of removed convert_phparray_jsarray()
2010-06-10 14:41:05 +00:00
Ralf Becker
8b49db5a57
new framework method to return javascript to call manual
2010-06-07 22:06:35 +00:00
Ralf Becker
f80f79a98a
removing unnecessary diagnostics
2010-05-30 11:19:50 +00:00
Klaus Leithoff
3d99f3e9b3
if is not a string but 0, the comparsion == ->autoinc_id is true, which leads to an SQL Query error, if an extra column is used in sorting/filtering together with the lettersearch
2010-05-28 11:08:36 +00:00
Ralf Becker
579cf86bbc
fix for bug #2624 : SQL error - CONCAT not supported by postgres
2010-05-26 15:44:09 +00:00
Nathan Gray
2760915be4
Always understand english search operators
2010-05-25 19:04:40 +00:00
Ralf Becker
b43a3843d2
fixing bug #2609 : Saving attached files to the filemanager doesn't work
2010-05-25 13:17:46 +00:00
Stefan Becker
50af95793b
add German translations
2010-05-21 10:35:43 +00:00
Ralf Becker
04601a486e
"understand run_lang for settings, to NOT return already translated phrases with replaced placeholders"
2010-05-21 07:21:30 +00:00
Ralf Becker
6799864392
fixed wrong language in notifications
2010-05-20 19:32:52 +00:00
Ralf Becker
a3a3fa1671
"new feature to explicitly set an id for widgets: prefix name with a hash --> id is the name without the hash, and NOT the form_name as before
...
Should not create any backward compatibilty issues - fingers crossed ;-)"
2010-05-20 09:06:53 +00:00
Klaus Leithoff
0070aaec57
translation provided by mkk
2010-05-20 08:07:01 +00:00
Klaus Leithoff
885b18d8e6
translation provided by mkk
2010-05-20 08:07:00 +00:00
Ralf Becker
3a1412d8fe
"fixed warning: explode expects 2. parameter to be string, array given"
2010-05-15 13:44:42 +00:00
Ralf Becker
71a7c20326
"fix for bug #2588 and #2592 : links/popups in resources are not working
...
--> seems to be an aftermath of the new quoting
Thanks to Yudhi Kusnanto for a patch"
2010-05-12 19:17:01 +00:00
Ralf Becker
55f5a80a5e
refining regular expressesion for PHP variables (replies[$row][reply_message] returned more then $row) and removed quoting from submitit call in button, as quotes in vars get quoted double
2010-05-12 07:50:13 +00:00
Ralf Becker
dbf8a15b55
"disable permanent error_log"
2010-05-11 18:12:55 +00:00
Ralf Becker
fd56fb27c3
Correct quoting of special chars in vfs:
...
- # has special meaning in url and is intern always urlencoded as %23
- ? has special meaning in url and is intern always urlencoded as %3F
- % need to be urlencoded as %25, as it's the escape char in urlencoding
(it has not been stored urlencoded in sqlfs so far, there's some
workaround in filemanger_ui to deal with the old unencoded % chars)
- space and + are NOT urlencoded in sqlfs in the DB, they get urlencoded
only for download urls
- " get urlencoded for download urls only as it messes up the html
markup
--> Filenames get urldecoded, before displayed to user
- done manually eg. in messages
- done automatically in new vfs-name widget (both ways)
2010-05-11 15:02:30 +00:00
Ralf Becker
2d0c33bb90
Some more quoting (and unquoting) of quotes in variable used eg. as
...
button names: eg. "delete[$row_cont[path]]" with path containing " or '
- they need to get quoted for correct html markup
- etemplate_request::set_to_process() need to use unquoted version, as
this is how it get returned in $_POST
2010-05-11 14:52:45 +00:00
Ralf Becker
290c23f9c6
Fixed not working [CSS Styles] button in editor, no idea why and when it
...
stoped working ...
2010-05-11 12:17:01 +00:00
Ralf Becker
db23b1d746
- correctly quote single and double quotes in html element id's
...
- correctly quote quotes in parameters of javascript functions used
eg. as eventhandlers, eg. onchange="do_something('$cont[name]');"
--> if $cont[name] is an array: do_something([ 'val1', 'val2' ]) is used
- correctly quote & in get parameters of url's
2010-05-09 14:06:35 +00:00
Ralf Becker
4ecc2c0360
"allowing (at least) German umlauts in domain names"
2010-05-06 08:02:32 +00:00
Ralf Becker
5bda513fd7
Mailing files directly from filemanager
2010-05-06 06:53:52 +00:00
Klaus Leithoff
ed040955bb
prevent foreach warning, when & is not an array
2010-04-27 10:37:50 +00:00
Nathan Gray
f47cced6ed
Fix for Postgres DB error loading eTemplate from Yudhi Kusnanto
2010-04-25 23:47:16 +00:00
Jörg Lehrke
334a8c6fc3
Fix addressbook_bo::find_contact()
2010-04-21 17:41:34 +00:00
Nathan Gray
6c3ba68ca1
If only_keys is true, expand it in so_sql_cf so the table_name can be prepended. Fixes last part of #2543 , adding link when importing mail to infolog
2010-04-21 15:40:58 +00:00
Klaus Leithoff
69da1000b2
if only keys is passed to search return only the DISTINCT result-set (was not implemented when only_keys where passed as array)
2010-04-21 12:14:04 +00:00
Klaus Leithoff
7a4f191fb3
fix to provide (return) data even if a shortname is used as column name
2010-04-20 13:58:01 +00:00
Ralf Becker
423dbbc567
"an other fix: if there's already an explicit named column, just use that name"
2010-04-20 08:12:22 +00:00
Ralf Becker
765a1d5c09
"fixed not returned (explicitly given) columns: you need to use $table.'.'.$col.' AS '.$col, without AS column get NOT returned as name is different"
2010-04-20 07:39:23 +00:00
Klaus Leithoff
a9fd21325d
fixing a bug, when trying to sanitize possible ambiguous columns
2010-04-16 10:35:09 +00:00
Nathan Gray
2aed9e476f
Fix copy/paste error to get address merging working
2010-04-15 14:56:37 +00:00
Klaus Leithoff
00ba3606de
translations provided by mkk
2010-04-13 15:03:57 +00:00
Klaus Leithoff
5b3c05a616
translations provided by mkk
2010-04-12 11:21:49 +00:00
Klaus Leithoff
1ec94a70fe
set cat_app with value from get_row (, if not set) to ensure the cats of the template/listview in question are to be loaded
2010-04-12 07:23:21 +00:00
Nathan Gray
549626cbf9
Add some extra handling for potentially ambiguous columns in
2010-04-08 22:13:22 +00:00
Nathan Gray
215da11fae
Add some extra handling for ambiguous columns
2010-04-08 20:21:40 +00:00
Nathan Gray
79dfab8005
Custom field widget can be limited to (or exclude) certain fields. Put the list of fieldnames to display as the 3rd (4th, etc) option. Using a ! as the first character will negate the list, and exclude the named fields.
2010-04-07 17:00:09 +00:00