Commit Graph

331 Commits

Author SHA1 Message Date
Hadi Nategh
60bc400313 Fix modified view templates are not getting updated because of no cache-buster modification timestamp 2016-05-25 16:44:36 +02:00
Hadi Nategh
f0af5eeb08 End date needs to be passed by reference, fixes broken timesheet from commit aa0814f 2016-05-25 09:52:16 +02:00
nathangray
aa0814f4d0 Do not set end date to current time, just leave it unset 2016-05-24 15:01:20 -06:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Ralf Becker
be0d2ca297 fix PHP Fatal error: Call to undefined method EGroupware\Api\Session::appsession() 2016-05-09 09:30:03 +00:00
Hadi Nategh
c558d1667d Optimize window size of registered popups in appregistry 2016-05-06 15:12:27 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Nathan Gray
d9f99b9fe4 Calculate totals all the time 2016-05-03 22:18:49 +00:00
Nathan Gray
e88c3da6b8 Add missing placeholder (no rows) action 2016-04-26 23:11:29 +00: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
260efdaa5f fix file-level docblock and svn:keywords Id 2016-04-26 16:45:17 +00:00
Ralf Becker
4854078b7c fix PHP Fatal error: Call to undefined function now() 2016-04-26 09:30:07 +00:00
Nathan Gray
ec1f6e9068 - Keep custom timespan start & end dates matching selected named range
- If all (or no end date) show until today, instead of a week
2016-04-25 21:21:40 +00:00
Ralf Becker
68e998c649 use new et2 config 2016-04-24 13:48:45 +00:00
Nathan Gray
c6c51e6a8e Fix changed column IDs hiding columns incorrectly 2016-04-14 18:34:06 +00:00
Nathan Gray
f3aca6f1d7 - Clear header totals when no date filtering is applied
- Avoid warnings about column list being string / array
2016-04-13 14:59:17 +00:00
Nathan Gray
437f6353d0 Change timesheet list categories empty label to 'All categories' to match other apps 2016-03-24 18:52:59 +00:00
Nathan Gray
0f5d4e7cab Send false to re-enable columns as needed 2016-03-08 17:29:10 +00:00
Ralf Becker
61027429eb alignment of NM header 2016-02-17 19:56:54 +00:00
Ralf Becker
60d41a7a48 WIP aligning nextmatch header and styling it as toolbar 2016-02-16 17:18:02 +00:00
Hadi Nategh
19a21b2322 Mobile theme W.I.P.:
- Add view mode for timesheet
2016-02-05 11:47:32 +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
b0713a9945 Make sure every app has a sidemenu link to the list and add an entry 2015-09-09 22:20:25 +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
Nathan Gray
d51c83402d Set default columns 2015-01-12 19:59:25 +00:00
Nathan Gray
35ebfc4f9f More Home progress:
- Send action results
2014-11-28 19:25:15 +00:00
Nathan Gray
978b5f4ffd More Home progress:
- Add support for timesheet favorites
2014-11-28 18:03:13 +00:00
Ralf Becker
a6767139a0 set ts_project for export/merge from ts_project_blur, where it get moved, if it is no custom value 2014-11-19 13:51:09 +00:00
Ralf Becker
c633e0033b * all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields 2014-11-19 12:20:59 +00:00
Nathan Gray
ea8ff86854 Add a method to get an icon for a record, as specific to that record as possible 2014-11-18 23:40:49 +00:00
Hadi Nategh
f43141c96a Keep the actual value of ts_quantity while storing it as it is used in price calculation, and rounding it cuases miscalculation of price 2014-11-17 08:40:49 +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
Nathan Gray
b707bde89f When exporting if custom project is not set, use current project title for Project field 2014-10-29 15:27:40 +00:00
Nathan Gray
8a3df3911f Do not clear start/end time in simple mode, use them as user set them. 2014-10-22 20:09:10 +00:00
Nathan Gray
2f53633dca * Switch to nextmatch and edit dialog for customfield list 2014-10-22 19:55:27 +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
Nathan Gray
29301590d6 Fix doubled description ID (ts_description), caused lost comment when viewtype was set to simple 2014-09-09 22:20:52 +00:00
Nathan Gray
7b2511d264 Change automatically calculated quantity and list quantity to 2 decimal places 2014-09-09 21:38:37 +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
Hadi Nategh
a2c60633c6 Allow to set endtime before starttime, and calculate it as next day time.
- Fix setting endtime after middnight gives an validation error
- Move starttime validation under starttime field
2014-08-27 12:04:05 +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
Nathan Gray
cc04f0b89c Create & use a flag 'no_actions' to disable actions for sum rows 2014-08-11 23:13:02 +00:00
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
8c276bfe96 Remove "placeholder" link from help tooltip of preferences 2014-06-24 09:47:08 +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
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
Nathan Gray
3a004a2672 Add link to list of placeholders into app menu 2014-04-14 17:08:43 +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
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +00:00
Hadi Nategh
7f222b165d Remove "BLACK DIAMOND SUIT" character from global categories 2014-02-03 09:19:59 +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
Nathan Gray
d65b40046a Move sidebox favorites & backend out of nextmatch and into framework 2013-12-12 00:03:07 +00:00
Ralf Becker
118d9e025d disabling all actions but add on sum rows 2013-10-04 11:19:42 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +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
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
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
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +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
Nathan Gray
cf8714293e Open preferences in preferences tab 2013-08-13 17:37:15 +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
b13ccf631c Add {{link}} placeholder to other apps 2013-03-20 14:51:09 +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
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
ef826ee2b9 Change all merges to use common get_all_links() function 2013-02-07 09:36:07 +00:00
Ralf Becker
525daf4a3e missing deleteaccount hook for timesheets 2013-01-24 09:27:48 +00:00
Nathan Gray
e39fcab548 Fix export 'Use search results' 2013-01-23 18:04:45 +00:00
Nathan Gray
a5ec4e5b36 Implement export filters for timesheet 2013-01-22 22:19:46 +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
Christian Binder
c8a5fe221a enable more apps to be merged by filemanagers itempicker 2013-01-04 00:21:37 +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
Nathan Gray
ae77723140 Add delete protection to timesheet 2012-10-17 20:24:56 +00:00