Code Monkey home page Code Monkey logo

github-time-tracking's Introduction

GitHub Time Tracking

Add time tracking to the GitHub Issue Tracker (Issues 2.0) with Harvest.

GitHub Time Tracking

Usage

  1. Register the free Harvest account.
  2. Install the Google Chrome Extension or Firefox Add-On
  3. Whenever you visit the issues page on GitHub a new button appears next to the #ticket-number
  4. With one click you can start to track the time. The dialog also shows the sum of time already spent by you on this ticket.
  5. Harvest provides great project reports - with links back to the GitHub tickets.
  6. You can track a contract progress based on the estimated time/costs limits, which is very helpful. The system can also send people reminder to fill the time sheets online.
  7. It is also possible to directly create nice looking invoices and estimates or track late payments.

Development

Code is available in GitHub. Once you download / clone the code to your computer you can alter the functionality and create your own variants of this extension.

Firefox Add-on:

$ cfx xpi

Chrome Extension:

$ zip -r github-time-tracking.zip manifest.json data img lib

github-time-tracking's People

Contributors

calmyournerves avatar klokan avatar massivehiggsfield 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

github-time-tracking's Issues

Javascript when browsing issues via "type ahead" github feature

If you search for a ticket and use the github "type ahead" feature, it will link you to a url like "*/issues/1?source=cc" and the plugin will fail with the js error:

Uncaught TypeError: Cannot read property '1' of null chrome-extension://xxx/data/index.js:11

If you remove the ?source=cc part, everything works fine again.

Icon not visible on GitHub.com in Chrome

I have Chrome 26. The GitHub icon is not appearing, probably after last automatic update.

It may be related to an extension manifest problem with blocking the remote javascript.

In the JavaScript console I see:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src https://github.com https://a248.e.akamai.net https://jobs.github.com https://ssl.google-analytics.com https://secure.gaug.es https://gist.github.com".

We may need to update the manifest with something like:

"content_security_policy": "script-src 'self' https://example.com; object-src 'self'"

mentioned in the "Remote Script" section of:
https://developer.chrome.com/extensions/contentSecurityPolicy.html

Chrome extension icon is not loading

Hi there!

There is an exception in Chrome extension:

Refused to load the image 'https://cache.harvestapp.com/assets/platform/timer-icon.png' because it violates the following Content Security Policy directive: "img-src 'self' data: assets-cdn.github.com identicons.github.com www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com *.wp.com".

Thank you for this awesome extension!

Time tracking does not appear - "inline script"

In the latest Chrome there is a new issue:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src https://*.harvestapp.com assets-cdn.github.com www.google-analytics.com collector-cdn.github.com". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.

GitHub also introduced new design - so there may be a change there as well.

Workaround now is to press Ctrl-R on the page with ticket - then the tracking icon appears again.

Violates the new github CSP header

The content security policy of github doesn't allow this extension to work. Error is:

Refused to load the script 'https://platform.harvestapp.com/assets/platform.js' because it violates the following Content Security Policy directive: "script-src 'self' https://github.global.ssl.fastly.net https://jobs.github.com https://ssl.google-analytics.com https://collector.githubapp.com https://analytics.githubapp.com".

I think there are to possible fixes:

  1. Integrate the platform.js in the extension
  2. Try to bypass the csp header

Chrome extension exception "Refused to connect"

Hi!

First of all, thank you for this useful extension!
Something happens on GitHub today and now I see in dev-tools this:

Refused to connect to 'https://platform.harvestapp.com/platform/subdomain.json?_=1402396408564' because it violates the following Content Security Policy directive: "connect-src 'self' ghconduit.com:25035 live.github.com uploads.github.com s3.amazonaws.com".
 platform.js:1

Uncaught SecurityError: Failed to execute 'open' on 'XMLHttpRequest': Refused to connect to 'https://platform.harvestapp.com/platform/subdomain.json?_=1402396408564' because it violates the document's Content Security Policy. 

safari version

Hi,

A safari version would be nice. Any plans for that?

Thanks

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.