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
Nathan Gray
ea8d70136e
Implement labelplaceholder for OO.o files
2011-08-16 23:07:44 +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
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
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
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
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
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
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
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
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
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
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
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
Nathan Gray
0514391fde
Show time values in user time
2011-06-16 15:14:14 +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
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
Nathan Gray
e59b50e7fb
If etemplate_exec_id is lost, pass along any GET parameters with redirect
2011-06-09 16:47:40 +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
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
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
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
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
Ralf Becker
dfeedf64c5
make prefix for documents a parameter and properly decode file names
2011-04-17 08:42:07 +00:00