Needs work
Project:
TogMine
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2011 at 06:56 UTC
Updated:
24 Nov 2011 at 17:18 UTC
It would be nice to create user interfaces to run some of TogMine's functions arbitrarily via the user interface, rather than relying on SSH/drush access and/or cronjobs. This would be especially useful for #1202298: Map and synchronize projects from Redmine to Toggl.com which is often a time-critical sync task/request.
It may also be useful to sync time entries via the GUI for specified users or time periods, such that last minute corrections on Toggl.com can be pulled into Redmine just before creating time-critical reports such as invoices.
Comments
Comment #1
Bevan commentedI have added
togmine_execute_command()which is intended to be used by user interfaces and drush commands to execute synchronisations. It usestogmine_synchronizer_base::synchronize()to actually run the commands.togmine_synchronizer_base::synchronize()accepts an optional$accountparameter if only a specified account should be synchronised.togmine_execute_command()does not accept a parameter for$accountyet but can easily be extended to do so. It should be an optional parameter.