View unanswered posts | View active topics


Reply to topic  [ 48 posts ]  Go to page 1, 2, 3, 4  Next
[FD4] Slimtimer Plugin 
Author Message
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post [FD4] Slimtimer Plugin
Description
A simple plugin that tracks the hours you work on a project, and submits them to slimtimer.
The plugin has a simple little UI that shows your login status, the current project being tracked, and the current amount of time spent on the project. You can close this UI if you want and the plugin will keep running in the background.

Be warned this is a very early beta, so expect bugs :?

Download v0.9

Github source

Usage
To use the plugin:
    Sign up for a free slimtimer account
    Drop the plugin files into your flashdevelop plugins folder
    Edit the plugin settings as needed, including your slimtimer username and password

Once you're up and running you can go to the slimtimer site to edit tasks, and entries, and run reports etc.

Options
    FileComments - You can choose to include the names of the files you work on for a given time entry

    IdleTimeout - After this time the timer will stop tracking you (if you go to lunch etc)

    MinimumTime - The minimum time to submit (So you don't submit a few seconds by switching to the wrong projects etc)

    IgnoredProjects - A list of projects to ignore time tracking for

    TrackedProject - A list of projects to track in slimtimer (if AskIgnoreProjects is being used)

    AskIgnoreProjects - If set to true the application will ask you if you want to add a previously unopened project to the track or ignore list.

    CleanupDuplicates - On launch the plugin will check for tasks with duplicate names. If it finds any it will consolidate their time entries, and delete the duplicates.
    This helps with duplicate entries caused by flakey slimtimer api connections.
    If you have a lot of duplicates before running this for the first time, it may take a short while.

    CleanupOverlaps - On launch the plugin will check all tasks for overlapping entries, and if it finds any it will delete the shorter ones.
    This fixes broken entries caused by a bug in the last version.
    This is turned off by default as it takes a long time to run, isn't needed if you've never used the plugin before, and uses a lot of data calls, however it runs in a background thread so you can still work whist it's going. Just be careful not to leave it on after it's cleaned your data

Todos
Add start/stop controls to UI
Ability to map projects to different tasks
Show recent entries in UI

Changelog
v0.2 - 28/7/09:
    Fixed a bug where only seconds were being submitted
v0.3 - 8/8/09:
    Removed need to restart on settings change
    Added error handling for connection loss
v0.4 - 22/8/09:
    Fixed seconds bug (again :? )
    Added track/ignore project functionality
v0.5 - 22/9/09:
    Added auto cleanup options
v0.6 - 25/9/09:
    Fixed localisation errors
v0.7 - 22/9/10:
    Fixed errors with api server move (no longer needs 2 dlls)
v0.8 - 8/10/11:
    Updated for FD4
v0.9 - 10/5/12:
    Fixed adding overlapping time entries
    Moved all server calls to threads to stop it locking up your FD
    Fixed duplicate projects being created when you have more than 50 active projects
    Added cleanup overlaps to fix bugs in previous versions

_________________
http://www.quizmash.com


Last edited by ricick on Fri May 11, 2012 3:12 am, edited 18 times in total.



Wed Jul 29, 2009 12:47 am
Profile WWW
Member

Joined: Thu May 15, 2008 7:36 pm
Posts: 605
Location: Baltimore, MD
Post Re: [FD3] Slimtimer Plugin
Added to Wiki: http://www.flashdevelop.org/wikidocs/in ... ty_Plugins

_________________
http://tronster.com


Wed Jul 29, 2009 2:12 pm
Profile WWW
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 10726
Location: Paris, France
Post Re: [FD3] Slimtimer Plugin
I'll definitely give it a try :)


Thu Jul 30, 2009 5:33 am
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
Cheers dudes. New version posted

_________________
http://www.quizmash.com


Sat Aug 08, 2009 4:05 am
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
New version v0.4

_________________
http://www.quizmash.com


Sat Aug 22, 2009 6:33 am
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
I'm trying to add some more functionality that requires a multidimensional array of strings in the settings menu.

I want to add the ability to map multiple flashdevelop projects to the same slimtimer task, eg:
Code:
{
   {
      "Slimtimer task 1",
      {
         "Flashdevelop project 1",
         "Flashdevelop project 2"
      }
   }
   {
      "Slimtimer task 2",
      {
         "Flashdevelop project 3",
         "Flashdevelop project 4",
         "Flashdevelop project 5"
      }
   }
}


Alternatively it could look something like this:

Code:
{
   {"Slimtimer task 1", "Flashdevelop project 1"},
   {"Slimtimer task 1", "Flashdevelop project 2"},
   {"Slimtimer task 2", "Flashdevelop project 3"},
   {"Slimtimer task 2", "Flashdevelop project 4"},
   {"Slimtimer task 2", "Flashdevelop project 5"},
}


Can anybody point me to a plugin that already does this, or give me a few pointers as I'm not sure how to accomplish this.

_________________
http://www.quizmash.com


Mon Aug 24, 2009 12:18 am
Profile WWW
Member

Joined: Mon Oct 16, 2006 12:02 am
Posts: 332
Location: Lviv, Ukraine
Post Re: [FD3] Slimtimer Plugin
I get error for each project

Code:
Error loading tasks for ******@gmail.com
projectName
00:00:00


Fri Sep 18, 2009 12:19 pm
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
Does this happen every time you launch flashdevelop?

Do you have any existing tasks in slimtimer. If not can you create a dummy task on the slimtimer site first. Perhaps this could be something i need to look into.

_________________
http://www.quizmash.com


Mon Sep 21, 2009 1:56 am
Profile WWW
Member

Joined: Mon Oct 16, 2006 12:02 am
Posts: 332
Location: Lviv, Ukraine
Post Re: [FD3] Slimtimer Plugin
hm, it works now


Mon Sep 21, 2009 6:43 am
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
Glad to be of help ;)

_________________
http://www.quizmash.com


Mon Sep 21, 2009 10:25 am
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
New version v0.5

Also still looking for help with the multidimension arrays problem.

_________________
http://www.quizmash.com


Tue Sep 22, 2009 1:01 pm
Profile WWW
Admin

Joined: Tue Aug 30, 2005 6:14 pm
Posts: 2535
Location: Finland
Post Re: [FD3] Slimtimer Plugin
Multidimensional arrays: http://msdn.microsoft.com/en-us/library ... 71%29.aspx


Tue Sep 22, 2009 4:20 pm
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
But how do i save them in the plugin settings?

_________________
http://www.quizmash.com


Tue Sep 22, 2009 10:40 pm
Profile WWW
Member

Joined: Mon Oct 16, 2006 12:02 am
Posts: 332
Location: Lviv, Ukraine
Post Re: [FD3] Slimtimer Plugin
My previous post is not valid. I still get that error.

I use last FD build from SVN.
Windows7

What I do:
1. I downloaded latest version of plugin
2. Deleted data folder
3. Entered login/password data in settings

after that (in settings window) I got popup "Property value is not valid" (Details: Object reference not set to an instance of an object.)

In SlimTimer window: Status: Error loading tasks.


Wed Sep 23, 2009 9:15 am
Profile WWW
Member

Joined: Sun Apr 23, 2006 2:55 am
Posts: 204
Location: Sydney, Australia
Post Re: [FD3] Slimtimer Plugin
Is there any other info you can give me (maybe a screen grab of the popup?)

Does this happen every time you launch?

Has anyone else tried the plugin with windows 7? I only have access to vista and xp.

_________________
http://www.quizmash.com


Wed Sep 23, 2009 10:03 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 48 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.