forked from dkotov/harvest-chrome
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to be standalone expansion of the original extension.
- Loading branch information
Showing
29 changed files
with
40 additions
and
2,401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,3 @@ | ||
# customization of the Harvest Chrome extension | ||
# YouTrack support for Harvest Time Tracker extension | ||
|
||
Currently based on version 2.1.2 in the | ||
[Chrome Store](https://chrome.google.com/webstore/detail/harvest-time-tracker/fbpiglieekigmkeebmeohkelfpjjlaia) | ||
|
||
## Additional features compared to the official version: | ||
|
||
* Track time in [JetBrains YouTrack](http://www.jetbrains.com/youtrack/). Timer icon appears on the | ||
full issue view, and on the popup in the agile view when you double-click an issue card. | ||
Your YouTrack must be configured to force SSL (in YouTrack global settings). | ||
* Basecamp: Fixes an apparent bug with URL links from Harvest reports to Basecamp, even in | ||
extension version 2.04. (Doesn't fix previous time entries, only new ones.) | ||
* Basecamp: Timer icon appears on closed issues too. | ||
* Harvest: When viewing a detailed time report or the uninvoiced time report on the Harvest | ||
website, you can click the hours in the far right column to jump to the timesheet for that | ||
date and employee. This makes it easier to edit time entries when viewing the report for | ||
a client, such as to change the task type (e.g. from billable to non-billable) or the | ||
description. | ||
|
||
## Installation | ||
|
||
1. Go to [Releases](https://github.com/extempl/harvest-chrome/releases) in this GitHub repository. | ||
1. Download the .crx for the latest release. | ||
1. Then in Chrome go to [chrome://extensions](chrome://extensions). | ||
1. Optionally tick "Developer mode" at the top. | ||
1. Drag the .crx into the browser. | ||
1. You can delete the .crx after that. | ||
1. If you repeat later with a newer version it _should_ automatically replace the previous version. | ||
|
||
## Working on the extension | ||
|
||
1. Clone this repository. | ||
1. Then in Chrome go to [chrome://extensions](chrome://extensions). | ||
1. Optionally tick "Developer mode" at the top. | ||
1. Delete an existing .crx-based version, if any (it won't have "Source" or "Reload" links). | ||
1. Drag the `harvest-chrome-extension` subfolder from the checked-out repository folder into the browser. | ||
1. Don't move or delete the folder after that. | ||
1. Make code changes in the `harvest-chrome-extension` subfolder. Then just go back to [chrome://extensions](chrome://extensions) and click "Reload" to test. | ||
1. Bump the version number in `manifest.json`. | ||
1. Commit and push your changes. | ||
This extension adds support for YouTrack for [Harvest Time Tracker](https://chrome.google.com/webstore/detail/harvest-time-tracker/fbpiglieekigmkeebmeohkelfpjjlaia) extension. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 20 additions & 20 deletions
40
...-chrome-extension/js/profiles/youtrack.js → chrome-extension/js/profiles/youtrack.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"content_scripts": [ { | ||
"js": [ "js/profiles/youtrack.js" ], | ||
"matches": [ "https://*.myjetbrains.com/youtrack/*" ] | ||
}], | ||
"description": "This extension adds YouTrack support to Harvest Time Tracker extension (should be installed to work)", | ||
"icons": { | ||
"128": "images/[email protected]", | ||
"16": "images/[email protected]", | ||
"48": "images/[email protected]" | ||
}, | ||
"manifest_version": 2, | ||
"name": "YouTrack support for Harvest Time Tracker", | ||
"permissions": [ "http://*/*", "https://*/*" ], | ||
"update_url": "https://clients2.google.com/service/update2/crx", | ||
"version": "2.4.0", | ||
"web_accessible_resources": [ "images/trello-timer-icon.png" ] | ||
} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.