Commit Graph

70 Commits

Author SHA1 Message Date
Nathan Gray
f080e1ff34 Hide undelete context menu option when not viewing deleted items 2012-10-25 17:11:52 +00:00
Nathan Gray
e16ea584ba Add Un-delete to context menu 2012-10-24 15:50:48 +00:00
Nathan Gray
e8318b2442 Default timesheet history to on 2012-10-23 16:59:14 +00:00
Nathan Gray
7f2962b08e Show deleted status even when there are no statuses 2012-10-22 18:42:02 +00:00
Nathan Gray
014c720546 Don't add 'Deleted' status to status list, just add it where needed and use an Undelete button 2012-10-22 18:31:11 +00:00
Ralf Becker
f028e6d24e should fix Fatal error: Cannot use string offset as an array in line 671 2012-10-14 08:20:00 +00:00
Ralf Becker
2427a60c90 * Timesheet: if linked via ProjectManager, behave identical as if project was set in own GUI, fixed setting project to none to also unset project-title and blur 2012-05-30 08:21:18 +00:00
Ralf Becker
0abfcc9c99 * Timesheet: button [Save & New] keeps title (blur) set if called via timesheet submenu/icon of app (my.stylite.de bug #2669) 2012-05-22 11:58:10 +00:00
Nathan Gray
4df977db0b Use js compatible with etemplate & etemplate2 2012-03-30 19:40:04 +00:00
Klaus Leithoff
ad6cf1d8ae add/clarify status message when editing is not allowed via status; use check_statusForEditRights in controlling the edit state in edit mode as well 2011-11-10 08:45:44 +00:00
Klaus Leithoff
6f7a43a28c * timesheet: fix reported bug #2488 (stylite tracker), status and cat change still allowed via context menu, even if the entry in question should be ->edit by admins only<- (via status admin flag) 2011-11-09 14:52:33 +00:00
Ralf Becker
4ddfc607bc remove title-blur for same behavior after apply, as for opening the saved entry again 2011-09-21 15:07:27 +00:00
Ralf Becker
5a93e1d283 reverted accidently commited timesheet_ui 2011-08-24 07:20:12 +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
Ralf Becker
1774e5674f support for multiple space or comma separated download dirs 2011-06-14 10:48:15 +00:00
Nathan Gray
418debd53c Fix indenting and sorting on statuses 2011-06-13 17:43:51 +00:00
Ralf Becker
486e99ec0c - Implemented a hook for timesheet_ui::edit to query calling apps for additional information to set in new tickets incl. links.
Replaces existing $_GET parameters, which are hard to set for new action system.
- also adding category color to infolog and tracker
2011-05-30 14:21:27 +00:00
Nathan Gray
40d22624dd Allow documents in dirs other than user's preference dir by passing full path 2011-05-05 21:42:56 +00:00
Ralf Becker
b509c6cfbe fixed missing space when adding multiple classes, causing context menu not recognising readonly, if also not deletable 2011-04-28 09:14:31 +00:00
Ralf Becker
594fe78d09 enable via a class and no more need to set enabled='javascript:nm...' for enableClass or disableClass 2011-04-27 16:59:12 +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
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
d7a6328c12 using new historylog custom field stuff, specially logging each custome field separate 2011-04-19 18:53:31 +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
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
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
0487ce678a * Timesheet from other app then calendar: fixed title to use clicked app (first link_app) 2011-03-03 17:06:57 +00:00
Nathan Gray
ed303c712a Hide merge icon on total lines 2011-02-14 16:17:25 +00:00
Nathan Gray
36f7301c5b Implement merge for timesheet 2011-02-04 20:03:42 +00:00
Nathan Gray
86402b7973 Add multi-entry action to change timesheet category 2010-12-10 18:03:46 +00:00
Andreas Stöckel
f096249cab Fixed bug with simple timesheet view mode and the unused quantity field 2010-06-28 13:35:10 +00:00
Nathan Gray
30ce9afd8b Set the timesheet title to the first linked entry 2010-06-28 12:51:52 +00:00
Nathan Gray
ec08a21bb0 Disable action checkbox for sum lines 2010-05-06 14:31:44 +00:00
Nathan Gray
864539b5eb Fix bug preventing timesheet status column from being hidden 2010-05-04 15:37:30 +00:00
Nathan Gray
d0b9a13c54 Start time is set seperately from start date 2010-05-04 15:16:18 +00:00
Nathan Gray
29b315d686 Use recurrence date to set title / date to a particular recurrence instead of the first one 2010-04-30 15:41:45 +00:00
Nathan Gray
5cbb53c00f Add support for adding calendar & other apps from URL in a popup 2010-04-27 18:37:16 +00:00
Ralf Becker
394bae101f - disable status column/row in index/edit, if no status defined
- remember status on "Save & new"
- [Save] was not closing in edit status
2010-03-23 12:54:00 +00:00
Nathan Gray
0b79a0466d Make changing status for whole query work 2010-02-22 23:02:25 +00:00
Ralf Becker
936c636ffd display upload failed (because post_max_size of webserver exceeded) message from etemplate, could be nicer but way better then before 2010-02-05 03:34:17 +00:00
Klaus Leithoff
2bd5449c40 fix to control the existence of content start_time/end_time before trying to construct a dateobject 2009-12-14 16:25:12 +00:00
Nathan Gray
7217a92079 Implement new link hook view_list, to be able to be taken to a list of entries 2009-12-08 23:19:06 +00:00
Stefan Becker
92da2abb2e "fixed bug with predefined status" 2009-11-14 18:02:21 +00:00
Klaus Leithoff
97accfe464 handle timesheet viewtype short, when creating entries with save & new 2009-11-04 13:02:05 +00:00
Ralf Becker
8d2194f191 Fixed daylight saving change error using new egw_time class:
At the date when the change occured - yesterday ;-) - starttimes where
wrong by one hour, because difference of timestamp of daystart and
current time was one hour more (because of the switch)
2009-10-26 08:17:06 +00:00
Stefan Becker
3312bcd595 fixed problem with edit button in timesheets 2009-10-01 14:29:30 +00:00
Klaus Leithoff
d19bfc8abf controlling the col filter for ts_project if projectmanager integration is full, because of strange search results when switching from full to both and back 2009-09-28 09:25:24 +00:00