Commit Graph

244 Commits

Author SHA1 Message Date
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
f2434dd357 using now edit instead of view, as we do now, when there is no distinct view 2011-06-02 17:10:26 +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
41808c52c3 Add total field to merge 2011-05-12 19:30:01 +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
e01df197ae using tabs of equal height 2011-04-19 18:52:25 +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
Nathan Gray
c378ae9b5a Remove not maintained openoffice export 2011-04-18 21:16:48 +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
Nathan Gray
3825fecf6d Process link to project manager, represented by pm_id field 2011-04-06 18:31:52 +00:00
Nathan Gray
597d2f6dcc Strip leading spaces from status labels for better matching 2011-04-06 17:22:37 +00:00
Nathan Gray
490b516c7d Fix start time import 2011-04-05 23:17:47 +00:00
Nathan Gray
7ee16e78b3 Fix wrong variable names 2011-04-05 22:57:06 +00:00
Nathan Gray
a8e8d82f64 Don't overwrite numeric owner IDs from successful conversion 2011-04-04 21:24:06 +00:00
Nathan Gray
7962433e27 types value moved 2011-04-04 19:20:12 +00:00
Nathan Gray
8276cbbade Fix 'owner from csv' option 2011-04-04 17:19:27 +00:00
Nathan Gray
19b7918a73 - Hide category choice, timesheet only replaces
- Fix Set to: category list
2011-04-04 17:13:59 +00:00
Nathan Gray
1777dbcf2a Move field types to egw_record, use them in human friendly conversions when exporting and importing 2011-04-04 17:01:17 +00:00
Nathan Gray
c157592e20 Remove not maintained export to ods plugin 2011-03-31 16:57:27 +00:00
Nathan Gray
949d06dce9 Fix status merge, strip spaces 2011-03-31 16:49:06 +00:00
Nathan Gray
ddabb6a46f Remove   using string replace 2011-03-31 15:19:22 +00:00
Nathan Gray
ae48c17417 Remove extra spaces from status text 2011-03-31 15:12:13 +00:00
Nathan Gray
3ac6fcd941 Leave pm_id as an integer 2011-03-31 15:10:47 +00:00
Nathan Gray
83b1f7f39e - Remove html entities from statuses
- Add project ID / name, when set
2011-03-29 23:38:22 +00:00
Nathan Gray
ff1b3d3345 Add ability to add unknown categories & statuses 2011-03-29 21:46:54 +00:00
Nathan Gray
28eeaa0bdd Default selection to search results 2011-03-28 22:12:42 +00:00
Nathan Gray
9ab2212cfa Human friendly values for status 2011-03-28 17:53:53 +00:00
Nathan Gray
0d9f55b59e Fix for import / update search for existing record. If new record key (ex ID) was not set, search matched all 2011-03-21 23:06:32 +00:00
Nathan Gray
f031b3dde2 Set default export definition 2011-03-21 16:19:52 +00:00
Nathan Gray
51015de7b8 Specify fields to be treated as numeric 2011-03-14 22:07:23 +00:00
Nathan Gray
8104bd46c4 Automatically handle converting+adding text categories without explicit translation 2011-03-09 18:26:43 +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
daea81489f By default, export all custom fields, use field labels instead of names, fix exporting field labels 2011-03-02 17:26:03 +00:00
Nathan Gray
3992b96dbb Add preference to use import/export definition for exporting from nextmatch 2011-03-02 00:06:50 +00:00
Nathan Gray
a28c004536 Format numbers according to user preferences 2011-02-28 20:35:50 +00:00
Nathan Gray
83f3aaa5f3 Get list of extensions from parent class 2011-02-22 20:00:04 +00:00
Nathan Gray
1280527169 Change display of placeholder tags from 2432...2432 to {{...}} 2011-02-18 17:07:16 +00:00
Nathan Gray
ed303c712a Hide merge icon on total lines 2011-02-14 16:17:25 +00:00
Nathan Gray
b81c2a9731 Remove infolog references, replace with timesheet 2011-02-14 16:14:26 +00:00
Nathan Gray
12a7d6534f Forgotten merge file 2011-02-11 18:36:27 +00:00
Nathan Gray
36f7301c5b Implement merge for timesheet 2011-02-04 20:03:42 +00:00
Nathan Gray
94165c9a59 Define types for human friendly stuff 2011-02-04 20:03:08 +00:00
Nathan Gray
99adf832a7 Implement get & set 2011-02-04 20:02:35 +00:00
Nathan Gray
74ac5210d0 Add basic import support to timesheet 2011-01-25 23:55:57 +00:00
Nathan Gray
e38dca3436 -Implode arrays when not exporting human-friendly values so they don't say 'Array'
- Add standard conversion for human-friendly values
2010-12-10 22:51:53 +00:00
Nathan Gray
86402b7973 Add multi-entry action to change timesheet category 2010-12-10 18:03:46 +00:00
Nathan Gray
a104512988 Add mimetype to export plugins 2010-10-12 22:52:32 +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
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
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
Nathan Gray
1be1a922c4 Define colums_to_search and use search2criteria() to get extra search functionality 2010-04-01 21:03:00 +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
1d4190276c - Update importexport names/classes to reflect changes in importexport 2010-03-22 15:12:01 +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
Jörg Lehrke
75746226a4 Use egw_time for InfoLog, tracking backend and Tracker 2010-02-04 12:08:03 +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
Nathan Gray
30be48f6e6 Implement options so link_query() can be limited 2009-12-08 23:18:51 +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
Ralf Becker
20e655c466 Default and forced preferences for nearly all apps 2009-10-19 17:04:11 +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
7ba0af7f28 "only add total automatically, if $only_keys === false or show_sums" 2009-05-06 08:12:51 +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
1fa08b5095 "fix for bug #2025: Database error in Timesheet with selected view category/date" 2009-04-01 20:02:33 +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
Stefan Becker
3ef43df5c8 "RB: romoved tab in message phrase, which caused TT to choke" 2009-03-20 13:34:02 +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
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
José Luis Gordo Romero
cf83c28592 Timesheet small fix for renamed classes uiinfolog -> infolog_ui 2008-10-08 08:15:14 +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
Stefan Becker
33fa5ed18a "patch for custum search working with IE 6/7" 2008-07-21 15:40:14 +00:00
Ralf Becker
58fe7382df droped onw cf class, to take advantage of the improvments of the global one 2008-06-11 11:12:53 +00:00
Ralf Becker
633c76e18a "fixed wrong case in egw_link::VFS_APPNAME, thanks to a report from philipp.kaufmann(at)hosticus.com " 2008-06-06 05:28:38 +00:00
Ralf Becker
4e3c6aa5f9 "use full path for include" 2008-04-18 21:09:30 +00:00
Ralf Becker
e7c2e0c2d7 removed unnecessary instancations and using static methods of html and egw_link class 2008-03-25 16:13:55 +00:00
Ralf Becker
237c28506d use global db object 2008-03-13 12:47:03 +00:00
Ralf Becker
641475d08b using static methods of egw_link and config, implemented titles link 2008-03-09 07:33:42 +00:00
Ralf Becker
ec9c277770 "removed deleting, as it might not be always wanted, maybe we make it configurable later on" 2007-10-30 16:17:48 +00:00
Ralf Becker
71149c972f - fixed not copied constrains and milestones in PM templates
- fixed not creatable milestones in templates
- when deleting a project you can now choose to delete the datasources
  of the elements (eg. InfoLog entries) too
- new stati 'template', 'nonactive' and 'archive' for InfoLog, which get
  not displayed by any standard filter, but choosing them from the
  status column filter
- InfoLog tasks in PM templates get now automatic activated, there stati
  is set depending of the percentage to not-started, in-progress or done
- changing the status of a project you can now choose to change the
  stati of InfoLog tasks (or other types having the needed stati) too
--> these features have been sponsored by Arne Reith from Reith-IT
2007-10-05 15:06:27 +00:00
Ralf Becker
d676b0879d added fix to be able to optionally sum up negative times (overtime) in the quantity column, need to be switched on in the timesheet configuration 2007-07-10 07:34:30 +00:00
Ralf Becker
a9f78defa8 "allow to set quantity to a negative value (like in 1.2) to use it to mark overtime" 2007-06-25 17:00:41 +00:00
Ralf Becker
81cb29ce8b "fixing the fix: if no title was entered, you got a validation error instead of the blur-title" 2007-06-09 14:56:49 +00:00
Ralf Becker
cfd945e3ce "fix for bug #768: title is not changed whenever the project is changed
fix for bug #865: timesheets link to all projects that were booked before (save&new)"
2007-06-07 09:13:55 +00:00
Ralf Becker
76d4884c94 "fix for bug #839: main window: projectname not linked to project when adding first booking
--> partially reverting patch from Knut, as it only breaks stuff
also disabling the custom-fields tab, if there are none"
2007-06-03 15:01:27 +00:00
Lars Kneschke
cbff451d7e fix for displaying the correct projectname when working projectmanager intgeration. patch provided by knut moeller 2007-05-25 08:31:05 +00:00
Ralf Becker
4947ddfd99 "php5.2 fixes and hiding Export button for php4 or importexport not available" 2007-05-09 08:21:26 +00:00
Ralf Becker
909d37d94a fixed handing of no result in link_query method of timesheet 2007-04-17 13:33:23 +00:00
Oscar Manuel Gómez Senovilla
333e3fc21e patch for bug #511 in trunk 2007-03-25 20:06:54 +00:00
Lars Kneschke
ab04ba334c Initial import of export function 2007-03-08 11:22:57 +00:00
Ralf Becker
c0b6563e17 adaption for the new nextmatch feature plus some nice extra columns 2007-03-07 12:31:48 +00:00
Ralf Becker
81f08a87ea allow to select prices from all linked projects, not only the main one 2007-01-12 01:27:37 +00:00
Ralf Becker
990e32e760 bugfixes:
- start- and end-time in view-mode are now readonly
--> fixes wrong date/time if clicking on [edit] in view-mode
- project-filter use now project-id
- setting project-title in full integration mode (thanks to Klaus Leithoff)
2006-11-20 14:17:28 +00:00
Ralf Becker
9a0352e28c added error if starttime is after endtime, which would lead to negative times 2006-10-19 18:52:18 +00:00
Ralf Becker
106dab6003 - fixed sort by date for the reporting
- cats column is automatic suppressed, if no cats used
- removed "none" from the cats column in the sums
2006-09-20 13:31:41 +00:00
Ralf Becker
b064db8a7b if duration, start- and end-time given, ignore the duration 2006-09-15 10:54:34 +00:00
Ralf Becker
df261614f5 fixed bug reported by Udgin <evolik-AT-gmail.com> (error when you have no project-label so far, eg. empty install) 2006-09-14 18:31:46 +00:00
Ralf Becker
6bef8418f1 - the level of integration with projectmanager is now configurable:
+ Both: allow to use ProjectManager and free project-names
 + None: use only free project-names
 + Full: use only ProjectManager
- new filter for none-selected for category and project
--> requires an updated trunk etemplate version!!!
2006-09-12 15:21:23 +00:00
Ralf Becker
cd69f5bb27 - bugfix: [Save & New] lost links, now it can be used as a copy too
- [Add] button is now also on the top rights of the list (custom dates are on the left now)
- instead of a start-date+time plus the duration, you can now specify the start+date (required) plus 2 out of the following 3: start-time, duration, end-time
- the end-time for new entries is set to the aktual time, so you only need to fill the duration for a task you just finished
2006-09-12 10:37:13 +00:00
Ralf Becker
fc2afcea25 - hook to tell projectmanager to cumulate timesheets under infologs
- phpDoc headers
2006-08-26 16:32:29 +00:00
Ralf Becker
dde05aab4f link_title method returns now null to indicate an entry does not exist (and all links can be deleted) or false if there are insufficent rights to view the title 2006-06-24 16:06:11 +00:00
Ralf Becker
5bf2721e75 fixed handling of timesheets in templates or copying of projects: timesheets are NOT copied or linked to the new project
--> empty copy method returning false
2006-04-08 06:24:22 +00:00
Ralf Becker
0d73bce482 - fixed not working reports on MySQL 4.0, Postgres and (untested) MsSQL
- added a yearly sum
2006-04-05 16:23:44 +00:00
Ralf Becker
5d29337843 - added/corrected rounding of quantity and prices
- range-sums are only shown if the date-filter includes the full-range (otherwise you got an incorrect sum)
- day-sums only for less or equal 6 weeks
- more meaningful app-header / report title
- disabled owner column in print, if filtered by one owner
- state of details/no details is now saved in the user prefs, to be persistent over sessions
- minutes are allowed as additional input-unit for times
2006-03-27 12:20:06 +00:00
Ralf Becker
0a0a2b0513 - fixed timesheet to display only hours
- improved printing:
  + disabled unnecessary UI-elements
  + sums after each day, week, month
2006-03-26 22:11:58 +00:00
Ralf Becker
c706a3f043 usebility improvment:
- filter by custom date-range
- app-header with user and date-range
2006-03-21 22:18:29 +00:00
Ralf Becker
6c4cda6bfc added ability to add timesheets to infolog entries 2006-03-21 13:52:49 +00:00
Ralf Becker
6fa2602bfb fix for bug [ 1445439 ] Timesheet links to many projects instead of one 2006-03-08 10:55:24 +00:00
Lars Kneschke
840029a8a7 remove a warning 2006-02-08 18:30:20 +00:00
Ralf Becker
15201df1b5 improved projectmanager integration, specially pricelist plus some bugfixes 2006-01-11 05:17:15 +00:00
Ralf Becker
9f638e4f08 Initial revision 2005-12-19 04:23:14 +00:00