Commit Graph

149 Commits

Author SHA1 Message Date
Nathan Gray
0fa3ad831b Fix no longer working 'None' category option 2014-08-11 22:50:38 +00:00
Nathan Gray
c11785b2db Change pm_id filter to link-entry to match edit dialog.
Fixes empty pm_id filter when PM integration = full
2014-07-08 22:06:04 +00:00
Hadi Nategh
0be030f6cb Fallback to admin index after save/cancel from calendar ACl,timesheet edit status 2014-07-08 15:10:24 +00:00
Nathan Gray
c32ab85757 Just use edit, it's easier and won't cause issues with filtering. 2014-06-25 16:09:51 +00:00
Hadi Nategh
b0d2c7fb00 Fix IDE warnings 2014-06-12 12:39:52 +00:00
Ralf Becker
288f46aafd fixed not changed quantity, if duration was changed, caused by slightly different semantic for html5 placeholders to old eTemplate
old eTemplate returned empty value, if value was equal to placeholder, html5 shows placeholder only if value is empty, but will return a value equal to placeholder
--> I think we should go with html5 placeholder semantic and therefore change this in timesheet to give an empty value for quantity, if equal to duration and duration as placeholder/blur
2014-06-12 08:30:21 +00:00
Nathan Gray
f82559b525 Fix details filter not doing anything unless you close the tab 2014-06-04 19:29:35 +00:00
Nathan Gray
9c9b784c0c Remove fake modified date, it's considered not modified by nextmatch updated rows check 2014-04-02 19:49:14 +00:00
Nathan Gray
42ee153c30 Set row_modified setting so nextmatch can filter out unchanged rows, and not send them back to the client again 2014-03-18 22:55:48 +00:00
Ralf Becker
3c91753e80 moving add-icon(s) from header_right to header_row 2014-03-12 10:12:29 +00:00
Ralf Becker
cf96da6f2f enable sum-rows to be able to merge-print selections containing them and remove them later from the selection 2014-01-31 11:58:58 +00:00
Ralf Becker
530e9d13e3 fix not loaded sum-rows, caused by having no row-id 2014-01-30 18:47:42 +00:00
Ralf Becker
efd6bf87d5 eT2 date-timeonly distinguishes between empty=no time set (returned as null) and "00:00", old eTemplate could did not do that, also fixed ide warnings 2014-01-30 15:39:56 +00:00
Nathan Gray
782eb7f14c Fix filemanager context menu item opening in iframe 2014-01-16 17:23:39 +00:00
Ralf Becker
118d9e025d disabling all actions but add on sum rows 2013-10-04 11:19:42 +00:00
Hadi Nategh
1c42747547 REmove "Whole query" menu item from Tracker, Timesheet and Addressbook, while et2 nm handles selection differently 2013-09-23 08:31:07 +00:00
Hadi Nategh
d0f967bdd8 Set prefix for CSS classes, timesheet app 2013-09-03 14:42:46 +00:00
Hadi Nategh
40ba4bad22 Add favorite onto side-box menu for timesheet app 2013-08-29 08:25:46 +00:00
Hadi Nategh
7ee2c05955 remove extra app prefixes from method names in app.js, for both infolog and timesheet applications 2013-08-27 10:46:42 +00:00
Ralf Becker
aa8a848871 optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window 2013-08-26 10:24:11 +00:00
Ralf Becker
0de6ab1b35 fix not working timesheet status and category actions: "disableClass", "enableClass" and "enableId" are now handled by action system itself, one should not set an explicit "enabled" attribute anymore 2013-08-26 08:24:50 +00:00
Hadi Nategh
3f862f8b9a remove an old js() method from timesheet_ui which were no longer used in the code. 2013-08-23 07:35:42 +00:00
Hadi Nategh
e572d77693 add app.js to timesheet application and run timesheet app by et2 2013-08-21 15:25:42 +00:00
Ralf Becker
1c4f65120c new egw_framework methods refresh_opener and window_close to call egw_refresh on opener or close popup window in a content security save way 2013-08-20 12:06:41 +00:00
Klaus Leithoff
28c5aa2c19 * Timesheet: fix for missing preset title 2013-06-10 12:22:09 +00:00
Ralf Becker
59f57d69b6 * Timesheet: allow to add timesheets starting yesterday and end today (no warning end-time before start-time) 2013-05-24 07:07:04 +00:00
Nathan Gray
8a55a0f99e Helps if I turn it on - Add context menu link to filemanager 2013-04-03 16:38:47 +00:00
Nathan Gray
47c07a45d5 Add context menu link to filemanager 2013-04-01 22:47:26 +00:00
Nathan Gray
90fa3a8287 - Use egw_refresh() instead of changing href
- Listen to csv_export and don't save nextmatch query to session
2013-02-14 11:28:15 +00:00
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
Ralf Becker
42d898da8c Linked filter for timesheet (analog to infolog one, using nextmatch
custom filter with a link-entry widget)
2009-09-26 11:17:19 +00:00
Klaus Leithoff
d9531fb421 fix for timesheet edit tabs problem; tabs showed, even if set to readonly; 2009-09-24 12:42:54 +00:00
Klaus Leithoff
9ed090d1a6 fix for a reported problem at the german list: with ldap store, the filter for owner did not only filter for the selected user, but additionaly the groupmembers of a group with the matching id. 2009-09-22 13:40:03 +00:00
Stefan Becker
46f8530437 fixed some problems with the history functions 2009-09-13 10:48:40 +00:00
Stefan Becker
ccabb6d5f7 added History Log for timesheet 2009-09-10 08:20:27 +00:00
Stefan Becker
51f0999141 added hirachie for status and option, that only admin can change accounted status timesheets 2009-09-08 09:23:41 +00:00
Stefan Becker
ecb0d4fa05 added no status filter to filter options 2009-08-17 18:46:47 +00:00
Stefan Becker
2618570931 added a predifined status for a new Timesheet 2009-08-17 18:33:50 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
0923f55a9d "fixed messed up formatting" 2009-05-06 07:04:29 +00:00
Klaus Leithoff
8a144dec62 handling unset/uninitalized selectcols 2009-04-20 14:06:13 +00:00
Ralf Becker
d741545f59 "fixed \"whole query\" checkbox leads to not working selection after the action" 2009-03-24 11:28:17 +00:00
Stefan Becker
3687395dab searching and sorting with customfields using the new standard custimfield class so_sql_cf 2009-03-23 15:23:45 +00:00
Stefan Becker
3818c671cc setting an individual status to multiple timesheet via a action method like the Addressbook and the Inlolog status. Sponsored by Martin Frimmel 2009-03-23 09:53:03 +00:00
Klaus Leithoff
c04c124456 bugfix for 1677 Timesheet Version 1.6.001 groups are treated like a separate user, not like a bunch for their members; additional fix for colselection 2009-02-16 08:36:22 +00:00
Klaus Leithoff
84c8de754d fix for issue in tracker #1876 (Timesheet, in detail view, not shows link to the owner project); fix for not working 'no-project'-filter 2009-01-27 15:51:04 +00:00
Klaus Leithoff
662f0fc707 fix for missing projectmanagerlinks in timesheet (tracker #1876) 2009-01-16 09:45:16 +00:00
Ralf Becker
5261728792 Fixed not working custom fields:
- SQL error when storing cfs
- csv export did not contain cfs (reported by Frank Becker)
- list did not contain cfs
- list caused check of attachments for every single entry, without
  displaying the attachments
- empty cf values got stored in db
--> had to rework the whole cf stuff :-(
2008-10-15 16:37:23 +00:00
José Luis Gordo Romero
cf83c28592 Timesheet small fix for renamed classes uiinfolog -> infolog_ui 2008-10-08 08:15:14 +00:00
Ralf Becker
38d3ac65ff - using new class naming schema
- version and dependencies for 1.6
- file_access hook for attachments
2008-10-07 08:57:09 +00:00