Commit Graph

45 Commits

Author SHA1 Message Date
Ralf Becker
c10654e1da allow to import without acl-check and setting modifier 2016-09-26 11:40:47 +02:00
Ralf Becker
fcdf70bae1 * Timesheet: do not show deactivated accounts for creating new timesheets (keeping them in list header) 2016-08-29 11:27:10 +02:00
Ralf Becker
8b671d96f1 update to only use new Api, incl. dependency to only api (no more phpgwapi and etemplate) 2016-04-26 18:27:29 +00:00
Ralf Becker
b01ac97b7e * Timesheet/Tracker: date filters like "last week" where not aware of daylight saving time changes 2015-10-27 10:27:09 +00:00
Nathan Gray
8ade7b3926 Fix 'No project' column filter 2015-05-19 20:58:30 +00:00
Hadi Nategh
3e87f3c5b8 Preserve the data before read operation and restore it again after 2015-04-30 15:05:53 +00:00
Ralf Becker
3d411f82da * ProjectManager/Timesheet: fixed an infinit loop when trying to save a project-element, caused by timesheet notifying project again 2014-11-03 13:51:05 +00:00
Ralf Becker
83b6706964 * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-14 15:58:37 +00:00
Ralf Becker
f1283fcf71 * Timesheet: fix SQL error when searching and NO custom fields defined 2014-10-01 08:19:39 +00:00
Nathan Gray
e51097ef0d Include custom fields in search 2014-09-18 19:38:34 +00:00
Ralf Becker
2a4e77f382 * Tracker/PostgreSQL: fix SQL error originating from timesheet
cause by timesheet_bo::sum(array()) call
2014-09-09 12:27:59 +00:00
Ralf Becker
4e044c5bde fix empty custom start- or end-date is displayed as 1970-01-01 in app-header and just selecting a start to get week starting from that day got wrong enddate 2014-08-25 18:22:50 +00:00
Ralf Becker
c04f0ccc8f fix not updated infolog in list, when timesheet is booked on it: added "row_mod" as maximum of info_modified, link_lastmod (incl. deleted ones) and timesheet_bo::sum() max_modified 2014-05-24 10:59:03 +00:00
Ralf Becker
ef07aebbd4 * ProjectManager/Timesheet: automatic change a changed project-title in Timesheet too 2014-05-15 13:20:52 +00:00
Ralf Becker
c13dccd96e fixed not shown day-sum (caused by 0 == 'ts_id') 2013-09-02 18:03:00 +00:00
Ralf Becker
a4ec8796af * Timesheet/PostgreSQL: fix SQL error when selecting a timerange 2013-08-29 10:59:00 +00:00
Ralf Becker
41116cd6fc * Timesheet: fixed SQL error when deleting a user and transfering his data to an other user 2013-03-07 12:40:38 +00:00
Ralf Becker
525daf4a3e missing deleteaccount hook for timesheets 2013-01-24 09:27:48 +00:00
Klaus Leithoff
3fe0ecf662 * Infolog: fix problem regarding the display of wrong sums on timesheets when applying a search AND have multiple customfields set for timesheets 2013-01-17 15:55:08 +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
Nathan Gray
ae77723140 Add delete protection to timesheet 2012-10-17 20:24:56 +00:00
Ralf Becker
b89ac80f6b * Timesheet: filtering by a status did not contain timesheets of sub-status 2012-07-03 10:31:22 +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
Klaus Leithoff
a5be6a5016 * timesheet: fixed wrong sum for timesheets;
the retrieval of the summary (sum of duration and sum of price) has to take care that the customfield table is not joined, as the join causes a multiplication of the sum per customfield found; joining of the cutomfield table is triggered by criteria being set with either a string or an array, for this reason we set it to false, and pass the criteria as filter
2012-03-05 12:06:17 +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
7f47700c13 file_access_user implementation for timesheet 2011-06-26 14:29:35 +00:00
Nathan Gray
541eae19ca Fix code formatting 2011-06-13 17:48:00 +00:00
Nathan Gray
418debd53c Fix indenting and sorting on statuses 2011-06-13 17:43:51 +00:00
Ralf Becker
5a9e552fd8 fixed sometimes not working setting of multiple status (timesheet_bo::read($td_id) require ts_id as parameter not array("ts_id" => $ts_id)!) 2011-06-08 11:17:52 +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
Nathan Gray
62ddbda9f0 Let parent handle deciding which columns to search - gives advanced search functionality to link searches 2010-06-14 14:27:27 +00:00
Nathan Gray
1be1a922c4 Define colums_to_search and use search2criteria() to get extra search functionality 2010-04-01 21:03:00 +00:00
Nathan Gray
30be48f6e6 Implement options so link_query() can be limited 2009-12-08 23:18:51 +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
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
Ralf Becker
7ba0af7f28 "only add total automatically, if $only_keys === false or show_sums" 2009-05-06 08:12:51 +00:00
Ralf Becker
1fa08b5095 "fix for bug #2025: Database error in Timesheet with selected view category/date" 2009-04-01 20:02:33 +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
Ralf Becker
90c361b960 "commented error_log statements" 2008-10-20 19:43:26 +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
Ralf Becker
e720c3f4ac "docu update" 2008-10-07 09:00:19 +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