Code Monkey home page Code Monkey logo

asana-time-track's Introduction

asana-time-track's People

Contributors

clementgarnier avatar martinkolb avatar martinkolb1987 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asana-time-track's Issues

Warning: Division by zero

i am getting this error after choosing a workspace (task are showed proper) for every task in my list (at the task overview)
Warning: Division by zero in /www/htdocs/asana/request.php on line 64

How to run as localhost

Admittedly, my technical skills are limited :/

I have installed xampp in my apps container, parsed the package and can get the service running.

However, while I can see my various workspaces, I cannot sync any tasks, including those assigned to me. See the attached screenshot.

I have refreshed my Asana API key, but no luck.

Thoughts?
screen shot 2013-06-25 at 11 27 38 pm

subtask title lost when ET set

using AsanaTT i set the Estimated Time for a task which is a subtask of another task.
when viewing the task in asana after the update, the task's title had been replaced by the [ET: 1h 0m][WT: 0h 0m]
the original title for the task was lost.

HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy

hello -- am excited to try this project for asana. after using the demo for look-feel, i installed on apache 2.22 with php. i am writing here to document the fix steps i took to resolve several issues.

PROBLEM
--the index page loads and i can load my api key and click submit.
--the popup changes and appears to be calling the api, and the spin (in-progress) graphic spins, but nothing happens.

I checked it with Firebug and received the following:

HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy
.../js/js-libs/jquery/jquery.js Line 6357

fragment.appendChild( ret[i] );

RESOLUTION:

  1. verify php is working on your server.
    a. create a info.php file with the following code and save it to your server's root folder.
<title>PHP Test Script </title> b. point your browser at the document (../info.php) c. verify php is working 1. if PHP is not working, make sure the module is installed 2. and then use the utility a2enmod to add it to the mods-enabled pack 3. restart your apache

json_decode() floating problem

For some id values (a workspace id in my case), we have a precision loss (on 32bits architectures) due to a cast to float by json_decode. Then, the id is corrupted and we can't go further.

One solution could be to use JSON_BIGINT_AS_STRING as an option to json_decode, but:
a. This would mean editing all calls to json_decode, as I don't think we can set it as a global option ;
b. This option is only available in PHP 5.4, which I don't think most people use.

What do you guys think? It's a pretty serious issue since it partially breaks the app on 32 bits installations.

increment javascript timeout in js/script.js

Hello I increment timeouts from 30000 to 300000 in the functions tasksAjaxCall and changeTasksAjaxCall in js/script.js file.
This prevent the timeout error in case of tons of tasks like mine workspace.
Thanks.

Timer running slow

So I've been running a-t-t for a few days, and was surprised by the short times it took me to do some tasks. However I just timed a few tasks separately with the computer clock and realized that the a-t-t timing is slow by a lot. E.g. I just time a task between 5:14 pm and 6:41 pm, so 1h 27min, but the a-t-t timer only read 59 min. This seems to happen every time.

Cross Site Scripting - (Stored)

The input parameters are not properly sanitized for HTML characters.
If the app name is specified as XSS payload then it will execute on the home page of the time tracking app
asana1

And if the tasks are given as XSS payloads, then the script will execute inside the app page
asana2

Manual editing of estimated and worked time isn't saved

Hi,

I've just checked out the latest revision of asana-time-track app and while testing all the features I noticed that if I manually edit estimated and/or worked time, the changes aren't being saved on Asana. This is really annoying, escpecially since your app is capable to update elapsed time if I use the timer (start/stop button).

Is this a known issue or do I really have to visit Asana's website, find the task I was working on and manually edit the times in task's title?

Cheers!

Integration instructions?

I don't know how to integrate this extension on Asana and I couldn't find the properly documentation for it

Problem with a-t-t on Android

I am trying to use a-t-t on my Android phone (Samsung Galaxy Note II) and I can see the screen where I need to enter the API key. However Android doesn't seem to recognize it as an input box, so I can't type or paste the key. I tried with both the default browser, and also with Chrome, and I get the same behavior.

Reports

How would you recommend the best way to generate a spreadsheet report from the web table?

Edit Time Track Bug

I'm little confused on adding the time manually in the tracking tool. Though I add it manually, it gets reset and just pulls the data from the Asana database after the refresh. Whatever I add in the time track tool gets reset after refresh, so I hope its better to just maintain the [ET] and [WT 0h:0h] within Asana. Please correct me if I'm missing wrong.
-- Posted by Arun Kumar via Email

Manual entry only works

Thanks for great work.
We just installed tracker and the problem is, that once we hit Start to track task time nothing happens (neither changes tracked time nor anything on Asana). When we adjust manually estimated time or tracked time on time tracker the task is edited in Asana.
What could be the problem? Tried different browsers, same results.

Task ordered by Project

I have noticed that when viewing the list of task of a workspace they are not ordered by Project.
For a large number of tasks this feature is essential for efficient management.

Thanks and congrats!

bug found

Notice: Undefined offset: 0 in /opt/lampp/htdocs/asanatime/AsanaApi.php on line 66

I changed "$castIntoArray = (array)$resultJson->data->projects[0];"

to this

"$castIntoArray = (array)$resultJson->data;"

and the error message got lost. I am not good in PHP, please tell me if it my solution is correct.

Feature request: Subtask handling

This awesome app needs handling of subtasks. By that I mean some way of showing what project/task each subtask belong to.

I am sure there are many ways to solve this, but I'm picturing an extra column to what is displayed now: Project - Task - Subtask

Also, there might be a need to handle all 3 levels of Subtasks.

Request for more compact format

Currently the formatting of the time at the end of each Asana Task is:

[ET: 1h 30m] [WT: 0h 0m]

For smaller screens such as when working on a laptop, tablet, or smartphone, those may not be visible. I try to make task names shorter, but it would also help to use a more compact format such as:

[E: 1:30] [W: 0:0]

or even better:

[E:1:30] [W:0:0]

or even better:

[E:1:30;W:0:0]

iPhone use?

I am unable to enter the API Key when I access my asana time track page via safari on my iPhone. I wondered if anyone else has tried this?

Skip Modal Box

Is there a way to hard code the API and Projects workspace into the code, so I don't have to enter it each time?

How does browser communicate with server where api is located?

Hi there! Guttentag!

"The easiest way is to download the zip-file ( https://github.com/codelovers/asana-time-track/archive/master.zip ) and extract it.
After that you have to upload it onto your server (the server has to interpret php).
More informations you can find here http://codelovers.github.com/asana-time-track/ ."

OK, I"ve done this, but how in the heck do the browser and the server communicate? We are a small company with fewer than 30 users so we use Asana over the internet using our browsers. Is the information above meant for larger users who have Asana installed on their own servers?

Thanks!
Fiona

API key issues

Tested in Chrome on OSX.

It appears that after the initial api request, for subsequent requests the value of the api key param is null. For example, I can successfully pull down a list of tasks ( in this instance I believe the apikey is read directly from the form input value ), but then when I try to immediately edit the time taken for a task, my php debugging indicates that the api key is null.

Refreshing the page fixes the issue, which leads me to believe that although the cookie value for the api key is set, it cannot be read back until a full browser refresh has occured. This may be browser specific behaviour.

Perhaps this could be solved by creating a reference cache to the api key the first time it is read (whether via the input form or cookie) , and only reading from the cookie if the reference is undefined, like a memoization.

Enhancement for time tracking of all resources

Time track tool allows me to track my tasks, task progress and the actual time spent in each task. I have a requirement to track the tasks across projects. As a manager, there have been lot of instances where I wanted to see the slippage in estimated hours and follow up with the resource on that. Is there a plan to develop an admin manage for managers to view the overall status of the project? Please let me know, this would be of great help

Arun

Manifest.json missing

Hi,

The Zip is missing the manifest.json file and hence I am unable to install this extension on Chrome.

'Worked Today' should reflect worked time, not the timer

It looks like the 'Worked Today' field actually reflects the total of the 'Timer' fields, and not the 'Worked Time' fields. This should be changed, as the timers are reset after a refresh (which I do often, as it's the only way to show newly created tasks).

Asana time tracking API is not working

Hello..
I use codelovers asana time track API and apply using key but give error and extra unwanted information, I send you Screen shots plz check it.

Notice: Undefined offset: 0 in C:\wamp\www\asana-time-track\AsanaApi.php on line 66
Notice: Undefined index: name in C:\wamp\www\asana-time-track\request.php on line 78
asana

Load Today's tasks only

label: enhancement
By definition, one only works on Today's tasks, right?

I have tons of tasks marked as Upcoming and Later, that I'm definitely not going to work on them soon, and they are loaded on Asana Time Track, making it a huge and uncontrollable list of tasks.

What do you thing about loading only My Tasks marked for Today? Does Asana API allow it?

Exposed code

I've tried installing into Tomcat 6, and everything seems find until I enter my API number. After so, I see a lot of the code from the request.php. CSS and images appear to be unaffected, so I'm a little unsure where the breakdown occurred. Has anything experienced this or am I doing something incorrectly here?
Asanatt

NetworkError: 500 Internal Server Error - http://localhost/request.php?apiKey=...

hello again -- just documenting what i did to fix this along the way.

SYMPTOMS / PROBLEM
(using firebug extension for firefox, i stepped through the load process of the index.php)
-- completed my api key and clicked submit, but nothing happens
-- error on GET http://localhost/request.php?apiKey=...
-- NetworkError: 500 Internal Server Error
-- /var/log/apache2/error.log error: "PHP Fatal error: Call to undefined function curl_init() in /var/www/AsanaApi.php on line 129"

RESOLUTION
(I don't know HOW CURL could not be installed with a stock-install of apache, but the curl module for php was not installed on mine)

  1. using your favorite package installer, find php5-curl and install.
  2. if needed, restart your apache server
    (ubuntu package manager will automatically restart your server with the new module; check the install log for details.

Loading Error not showing up

  1. If i enter my API-Key and it can not load the request.php or some other networking erorr -> is not showing up.
  2. why is it not complete in js ?

Encountering error: Undefined property: stdClass::$data

Hello,
I seem to be getting these reoccurring errors:

Notice: Undefined property: stdClass::$data in /home/user/public_html/asana/request.php on line 51
Warning: Invalid argument supplied for foreach() in /home/user/public_html/asana/request.php on line 51

Not sure how to fix it, any suggestions?

Error - unable to sync

Just today for some reason, I'm getting the error, "ERROR: Something went wrong! Maybe your asana api key does not fit. Or you have no internet connection."

Is anyone else getting this error as well?

not able to display tasks....

Thanks for great work.
We just installed asana tracker on our server and the problem is we cannot see any task...
I get the following error ( see attachment) .... Am I doing something wrong?

ERROR:
Warning: Invalid argument supplied for foreach() in request.php on line 51

Screen Shot 2013-01-24 at 7 33 40 PM

Feature Request: download tasks only from a project, not a workspace

In my case I have 100 tasks on my workspace, many due months from now, but when trying to use asana-time-track I get all the tasks by the order they were created, and this makes it very clunky to use the tool.

One way around this would be to allow alphabetical sorting of the tasks, or sorting by project, as requested in other feature requests.

However an alternative (and perhaps easier) method would be to only download the tasks in a given project. So instead of just allowing the download of all tasks in the workspace, the user could chose a project (or you could by default call it "Focus" or something like that, since by definition we want to track time of the tasks we are working on today). Since tasks can be in more than one project in Asana, what I do is to move the ones I want to do today to this "Focus" project, and this would be easy for others as well.

So the way this could work is that when loading asana-time-track, instead of the names of the workspaces only (e.g. Wspace1, Wspace2...) you would also list Wspace1-Focus, Wspace2-Focus and the user could just click on that and download a subset of tasks.

Not pulling any tasks through to our TimeTracker

We have recently added your files to a directory on our server to start using TimeTracker - we've synched up the API key correctly and it's not loading any tasks in from our projects in Asana - it's pulling in one task randomly on a colleagues computer but otherwise not working at all - any recommendations - this is exactly what we're looking for and would love it to work!

Asana Set up - Get Black Screen

After setting up Asana on our web server, we got a black screen.

Just to be clear, we uploaded all the files present in the git hub directly.

black screen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.