Commit Graph

16943 Commits

Author SHA1 Message Date
Ralf Becker
342799a86a - further work on addressbook context menu, still not fully functional!
- moved a few more common phrases into API
2011-04-17 21:25:01 +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
Andreas Stöckel
f2b739e332 Added additional parameters to the 'enabled' callback (1. the action, 2. an array of action object, 3. the current action object) 2011-04-17 20:27:23 +00:00
Andreas Stöckel
cbf233bccd action type now defaults to 'popup' 2011-04-17 19:10:46 +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
8e9279c7b7 passing new checkbox state to underlying menu implementation after action execution 2011-04-17 17:55:37 +00:00
Andreas Stöckel
7a291d01e8 fixed problem with last commit 2011-04-17 17:51:50 +00:00
Andreas Stöckel
9566b032cf menu now automatically updates checked state 2011-04-17 17:46:09 +00:00
Andreas Stöckel
7ae2588e84 dhtmlxmenu now doesn't autohide after clicking on checkboxes/radiobuttons, click handler can specifiy whether the field should be checked/unchecked 2011-04-17 17:42:04 +00:00
Andreas Stöckel
5e014cdfe2 Fixed problem with commiting forms in Firefox 2011-04-17 16:53:24 +00:00
Andreas Stöckel
cb9355ac00 Fixed problems with executeActionImplementation when called from a container object, fixed problem with popup menu which did not open in some cases, added the ability to use the 'enabled' property of an action as an callback function (actionObject is passed as parameter), introduced egwFnct-class which consistently handles 'javaScript:fnct' strings, added 'allowOnMultiple':'only' setting, added 'hint', 'checkbox', 'checked', 'radioGroup' properties to popup actions, added 'setDefaultExecute' function to egwAction objects, which applies an handler to all objects which don't have a handler yet 2011-04-17 15:38:46 +00:00
Ralf Becker
fe5202c7a2 context menu for addressbook, please note: not everything is fully functional yet 2011-04-17 14:10:05 +00:00
Ralf Becker
af552dc914 removed all legacy stuff, but the use_all checkbox 2011-04-17 13:51:04 +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
72ac7937de * Addressbook/PostgreSQL: fixed SQL error when checking "use whole query" 2011-04-15 06:46:51 +00:00
Andreas Stöckel
c5cd3a354b Fixed serious bug in egw_grid_data.js/egw_grid_common.js which caused prefetching not to work - instead a request was sent for each element. Added possibility to specify an array ids instead of a count for creating a range of egw_grid data elements (see comment for the egwGridDataElement.loadData, fixed bug which caused the 'queued' image to be removed immediately after it was shown. 2011-04-14 20:44:29 +00:00
Nathan Gray
16f9f37576 Add storage_info to list of fields for import/export 2011-04-14 17:05:16 +00:00
Nathan Gray
e9d5ae4216 Special formatting for date custom fields 2011-04-14 16:58:28 +00:00
Nathan Gray
951f2b1a08 Attempt to set permissions for automatically created categories. 2011-04-14 16:57:49 +00:00
Ralf Becker
2787d8d843 fixed not working deleteAccount hook, constructor throws exception if called without argument --> using static method now 2011-04-14 15:09:36 +00:00
Nathan Gray
9f8aa313df Add pm_id & project to list of placeholders 2011-04-14 14:44:56 +00:00
Nathan Gray
ccbe2dfb04 Add project name to list of fields available for export 2011-04-14 14:40:29 +00:00
Ralf Becker
c3170b44bd fixed JSON error "contains script tags! Aborting ..." when confirming a popup:
- adding id to notifications table to use it to identify a notification (sending back the message incl. onclick="..." caused the problem)
- adding a timestamp when message was added, to identify older messages
- close button --> send all ids in one ajax request, not one per id
2011-04-14 13:43:16 +00:00
Ralf Becker
42bf4dbc3c updating number of current users via notifications 2011-04-14 09:50:35 +00:00
Ralf Becker
23c21cb372 - no need to run RefreshTable (only necessary if multicolumn index got changed)
- emptying notification table, as it can contain thousands of old, not delivered entries
2011-04-14 05:55:55 +00:00
Nathan Gray
375c8e82dd Fix for previously confirmed messages showing again if you're still on the same page when a new notice comes 2011-04-13 21:54:59 +00:00
Nathan Gray
16cd36c017 Add Project ID to list of exportable fields 2011-04-13 18:53:37 +00:00
Nathan Gray
babc62d9f1 Popup notifications now go to all windows and are removed when user clicks OK. Or, close the popup with (X) to mark all as read. 2011-04-13 17:51:02 +00:00
Nathan Gray
056f61ef72 Fix typo 2011-04-13 17:09:18 +00:00
Nathan Gray
39faba482e Make sure selects is an array, if passed 2011-04-13 14:34:12 +00:00
Nathan Gray
e61bb1abf7 Make sure lookups is initialized to an array 2011-04-13 14:32:45 +00:00
Nathan Gray
3333d18fae Avoid warning from array_shift() if egw_link::delete_attached() doesn't return an array 2011-04-13 14:16:05 +00:00
Ralf Becker
5495491e78 * Admin: session-list is generated now from egw_access_log table independent of readablity of sessions files in filesystem
- session_(dla|action) is stored in egw_access_log table
- notifications refresh via ajax set notification_heartbeat timestamp in egw_access_log
- if notification_heartbeat is set (happens only for browser sessions with popup notification) sessions get removed from session list one minute after browser is closed
- new static method egw_session::notifications_active($account_id) to check if given user has an open browser with notifications popup checking, to ensure popup notifications can fall back to email
--> REQUIRES DATABASE UPDATE / SETUP
2011-04-13 14:11:09 +00:00
Klaus Leithoff
aecfe9d768 disable dla_update for xajax felemimail call to refresh MessageList and FolderList periodically 2011-04-13 13:31:09 +00:00
Klaus Leithoff
5d41f54594 * Admin: fix for reported error regarding wrong count of lines in Admin -> view error log (note, not all errors are logged there, only some. Its only used for some error logging, most of error logging is done/directed to the webservers error log) 2011-04-13 10:07:42 +00:00
Ralf Becker
3d94b7a0c2 fix for bug #2935: Infolog edit broken in latest revision 2011-04-13 06:00:09 +00:00
Nathan Gray
50296c519a Fix import / export available and exported fields 2011-04-12 22:23:40 +00:00
Nathan Gray
64e2ada353 Add export plugins for users and groups 2011-04-12 15:38:27 +00:00
Ralf Becker
2e4c048e9e fixed not working setting of links for new entries after r34606 2011-04-12 11:53:34 +00:00
Ralf Becker
93540e1604 * Preferences: fixed not working setting of preferences without a logout
need to call preferences::add() or preferences::delete(), to also set affective prefs!
2011-04-12 07:54:30 +00:00
Ralf Becker
418fd825b2 fix for bug #2935: InfoLog edit broken: call to member function on non-object 2011-04-12 06:10:34 +00:00
Nathan Gray
dc270e8bae Change title of links for all apps from Import & Export to Import CSV & Export CSV in the correct place 2011-04-11 21:20:32 +00:00
Nathan Gray
9d722f1cf8 Change title of links for all apps from Import & Export to Import CSV & Export CSV 2011-04-11 20:55:20 +00:00
Ralf Becker
a52f9ccc4d * Addressbook/PostgreSQL: lettersearch in organisation-view allways returned empty 2011-04-11 16:33:00 +00:00
Ralf Becker
f46cb24198 * PostgreSQL: when importing/updating timezones, only query last insert id, if not already in database (gives warning for PostgreSQL) 2011-04-11 16:06:10 +00:00
Ralf Becker
82bb3f8044 * ImportExport/PostgreSQL: fixed SQL error "wrong operator !" when defining a profil 2011-04-11 15:45:29 +00:00