Commit Graph

1201 Commits

Author SHA1 Message Date
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