Ralf Becker
ee9f0eacf8
backported "hide_header" r42229 (only class.nextmatch_widget.inc.php) from Trunk
2013-05-28 13:27:34 +00:00
Nathan Gray
ddbcc59a82
Add 'None' category option to context menu for all apps using nextmatch::category_action()
2012-10-16 19:51:15 +00:00
Ralf Becker
aba3c0250b
found a lot more calls to get_rows missing to set csv_export flag and fixed code in nextmatch dealing with situation if num_rows=-1 got stored in prefs anyway
2012-03-29 12:08:42 +00:00
Ralf Becker
f609efbdd8
* ImportExport/Tracker: timeout left num-rows set to -1, causing nextmatch to try to display full list on next login
2012-03-29 10:45:08 +00:00
Andreas Stöckel
36f9cc2f6a
Backported commit 38270 from trunk, concatenated dhtmlxmenu and dhtmlxmenu_ext
2012-03-07 10:39:23 +00:00
Ralf Becker
ecd6e7ecd1
* Addressbook: show calendar of contact(s) as list-view with date-filter "all" via context menu
...
r37667: ability to open nm_action=location in a given targetapp tab, plus documentation
2012-01-09 22:09:11 +00:00
Ralf Becker
176e81cd1c
* ImportExport: allow to select "Old fixed definition" in preference for nextmatch export (disk icon)
2011-11-21 10:10:46 +00:00
Klaus Leithoff
bea7bba0b3
* import/export: fix for failed export on not set limit for nonadmins on standard export (handle empty export_limit since it will be casted to 0 on (int))
2011-10-12 10:40:51 +00:00
Klaus Leithoff
55dbf20c33
* calendar/addressbook/importexport/merge-print: introduction of a static function to fetch the export limit, and normalize the possible output: bo_merge::getExportLimit; apply new function to bo_mergen, nextmatch_widget, addressbook, calendar and importexport; introduction of an calendar export limit; introduction of hook to provide appspecific export_limit
2011-09-16 13:23:15 +00:00
Klaus Leithoff
a3b17caa5f
* impportexport/document merge: better control of exportlimits, you are now able to exempt groups or users from any exportlimits set (backport of nathans work, with enhancements from ralf)
2011-09-01 14:32:26 +00:00
Ralf Becker
e4da700ff4
using grid styleing also for nextmatch widgets without nextmatch header
2011-07-12 09:55:08 +00:00
Ralf Becker
9db4fa8625
* 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:12: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
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
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
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
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
8cfae5bd16
Including JS-file for keyboard navigation
2011-06-12 16:43:43 +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
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
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
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
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
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
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
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
Nathan Gray
c2f1340075
Give CSV export definition preference priority over app settings
2011-03-24 14:45:12 +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
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