Commit Graph

63 Commits

Author SHA1 Message Date
ralf
ca443060f4 WIP timesheet REST API 2024-02-01 22:16:36 +02:00
nathan
b1fe818527 * Infolog / Tracker: Change timesheet total columns to ignore timesheet ACL
Use "Respect timesheet run and read permissions for time totals" configuration setting for previous behaviour, which may exclude some timesheet entries
2023-06-09 13:19:19 -06:00
nathan
a6a30e80b5 Timesheet: Fix broken total in header
Passing columns as string caused them to get split by comma, but $total_sql had round(...,2) in it.  Changed to use array.
2023-04-11 17:32:55 -06:00
ralf
664bb86b2a WIP timesheet timers: create a single working time timesheet per configured periode of day, week or month 2022-10-14 10:12:11 +02:00
ralf
4de7dc5ba7 WIP timesheet timers: delete timer-events on timesheet deletion 2022-10-11 14:53:21 +02:00
ralf
0a9526c152 WIP timesheet timer: persistence and opening a new timesheet when stoping the specific timer 2022-09-30 19:07:33 +02:00
ralf
3c79bd4345 WIP timesheet timer
just a prototype for now, no persistence beside the session to test reloads
2022-09-26 08:54:05 +02:00
Ralf Becker
90ab703a14 fix PHP Warning count(): Parameter must be an array or an object that implements Countable 2021-10-11 13:58:33 +02:00
Ralf Becker
868135775c PHP 8 fixes 2021-03-29 16:47:19 +02:00
Ralf Becker
ab9c089f70 fix PHP 8 Fatal error Array and string offset access syntax with curly braces is no longer supported 2021-03-21 21:13:07 +01:00
nathangray
779f2691bd * Timesheet: Fix created time was wrong in user timezone was not the same as server timezone 2021-01-28 09:39:17 -07:00
Ralf Becker
e9c4d3f07e complete push implementation for timesheet incl. ACL check 2020-01-24 13:31:56 +01:00
Ralf Becker
af88cc0822 * Timesheet: fix SQL error searching, if there are custom-fields 2019-02-26 20:30:11 +01:00
nathangray
a2a33f0ae9 * Timesheet - Fix links to application custom fields are not created on first save 2018-08-13 10:48:52 -06:00
nathangray
7ed5c42b3d * Timesheet - only admins can select admin only statuses 2018-07-27 11:19:15 -06:00
nathangray
27922446d7 Timesheet - Fix another place where Save & New then changing the project keeps the old project 2017-03-17 09:30:05 -06:00
nathangray
327657b86b If timesheet project changes, update the project title field to match 2017-03-14 09:56:14 -06:00
nathangray
a23acf1dfa * Add creation field to timesheet 2017-01-17 10:34:28 -07:00
Ralf Becker
e467b48fea allow to import without acl-check and setting modifier 2016-09-26 11:40:02 +02:00
Ralf Becker
329a6956fe * Timesheet: do not show deactivated accounts for creating new timesheets (keeping them in list header) 2016-08-29 11:25:59 +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