Modify

Opened 5 years ago

Closed 5 years ago

#5466 closed enhancement (fixed)

Patch to make it record automatically into the TracHoursPlugin

Reported by: lvs@… Owned by: 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 (2)

worklog_trachours.diff (1.3 KB) - added by lvs@… 5 years ago.
Patch to make WorkLogPlugin work with TracHoursPlugin
worklog_trachours.2.diff (1.3 KB) - added by lvs@… 5 years ago.
Correct diff

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by lvs@…

Patch to make WorkLogPlugin work with TracHoursPlugin

comment:1 Changed 5 years ago by anonymous

Hi,

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

[worklog]
trachoursplugin = true

Changed 5 years ago by lvs@…

Correct diff

comment:2 Changed 5 years ago by coling

  • Resolution set to fixed
  • Status changed from new to closed

(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 Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.