Ticket #5466 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Patch to make it record automatically into the TracHoursPlugin

Reported by: lvs@dedmeet.com Assigned to: coling
Priority: normal Component: WorkLogPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.11

Description

Hi,

I use TracHoursPlugin to record my ime to tickets. I wanted the WorkLogPlugin to automatically record my time.

TracHoursPlugion? monitors the ticket message for changes, thus I simply adjusted WorkLogPlugin to write to teh ticket message in the correct format.

Note: I am not a Python coder, so if I am doing something mad, please let me know ;)

Patch attached.

Changed 13 seconds ago by web

Hours recorded automatically by the worklog plugin. (spent 1m)

Changed 12 seconds ago by web

web worked on this ticket for less than a minute between 07/03/09 12:46:06 and 07/03/09 12:47:02.

Attachments

worklog_trachours.diff (1.3 kB) - added by lvs@dedmeet.com on 07/03/09 07:02:22.
Patch to make WorkLogPlugin work with TracHoursPlugin
worklog_trachours.2.diff (1.3 kB) - added by lvs@dedmeet.com on 07/03/09 17:00:47.
Correct diff

Change History

07/03/09 07:02:22 changed by lvs@dedmeet.com

  • attachment worklog_trachours.diff added.

Patch to make WorkLogPlugin work with TracHoursPlugin

07/03/09 07:07:41 changed by anonymous

Hi,

Forgot to mention that to make it activate a new configuration option was added to the ini:

[worklog] trachoursplugin = true

07/03/09 17:00:47 changed by lvs@dedmeet.com

  • attachment worklog_trachours.2.diff added.

Correct diff

09/02/09 12:20:52 changed by coling

  • status changed from new to closed.
  • resolution set to fixed.

(In [6472]) Add integration support for TracHoursPlugin.

I've not tested this so hopefully I've not broken anything major. I used the patch on #5466 as a basis but totally messed about with the code so any bugs are mine. Added a preference in the admin section for easy management. Closes #5466 (sorry for the delay and please let me know if this is buggy :))


Add/Change #5466 (Patch to make it record automatically into the TracHoursPlugin)




Change Properties
Action