Giter VIP home page Giter VIP logo

browser-wakatime's People

Contributors

alanhamlett avatar cilerler avatar danez avatar dependabot[bot] avatar ecrider avatar eeems avatar few-bits avatar jvelezpo avatar lex111 avatar phated avatar pomu0325 avatar ra100 avatar stephnr avatar therebelrobot avatar toptalo avatar vujita 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  avatar  avatar  avatar  avatar  avatar

browser-wakatime's Issues

Issue with timing in currentTimestamp.js

Reference

Why would you need to divide by 1000? When converting the timestamp back to a date variable, the time is off:

// GOOD
var x = (new Date()).getTime()
>> 1434727916970

new Date(x)
>> Fri Jun 19 2015 11:31:56 GMT-0400 (Eastern Daylight Time)

// WRONG?
var y = (new Date()).getTime() / 1000

new Date(y)
>> Sat Jan 17 1970 09:32:07 GMT-0500 (Eastern Standard Time)

Ability to click on URLs time captured for

Hi - since I have enabled full URL tracking in my WakaTime, I can not recognize what exact webpage it is often. For example, I am a heavy Google docs worker and all I see is "edit" as the title or a long URL.

I am working for a billable client right now and if I don't know what I worked on, I can't charge the right hours for it!

So if the URLs were clickable in the project or day detail page, that would be super helpful.

screen shot 2015-07-24 at 7 17 32 pm

Combining the log history with other projects being worked on in other editors.

We are having a hard time trying to figure out how to set up the URLs as certain projects and the current solution (as far as I understand at least) is to set it in the extension. Is there a way to check if there are any other WakaTime logs from other editors that were used within the last x number of minutes to be able to decide what project was being worked on?

If there is too much of a delay in the service, it could just submit the logs after it has had a chance to check for other projects currently being worked on by that user. I'd take precision over live streaming progress.

Chrome extension does not log in after account deletion and recreation by the Github log in

The steps to reproduce the issue are:

  1. I created a account the github.
  2. I installed the waka chrome extension.
  3. Everything worked fine.
  4. I delete my waka account extension.
  5. I removed waka from my github authorization list.
  6. I recreated the wake account using the same github account.
  7. I try to log in on the chrome extension and does not log in never.

Problem: I click to log in, it enters the website log in page, I log in on the web page, my dashboard is show.
But the extension is never logged in.

What I did until now was:

  1. Remove the waka chrome extension.
  2. Install it again, but even after it, still does not working. (the 'Problem' above described still happening).

Set current project

All data going to Unknown Project.
I want to attach data to specific project.
If I work on chrome-wakatime I want to see this data in chrome-wakatime.

All data in single project are useless, because I see localhost:8000 and stackoverflow.com and I don't know with which project are associated.

Using custom rules to categorize chrome ext

Hi Guys - I saw an email from a user today. He asked for custom rules to categorize chrome time. It could be a great way to let people categorize as they want. They could categorize intro web work categories such as "Project Codepath web work" or join it to a coding project.

Warn user if not logged in to wakatime

It had been a while since I logged into wakatime, and I had since nuked my chrome profile. I still sync'd my extensions, so chrome-wakatime was reinstalled. Today I logged in on the website because I needed to know how much time was spent a few weeks ago on a site. I incorrectly assumed that the extension was happily logging my site visits, but since I wasn't logged into the website it wasn't doing anything. It would be good if the extension warned about not being logged in (otherwise it's dead weight).

Activity logged in wrong project

I'm getting an issue where the activity on chrome is logged as activity on jetbrains editors. In fact I can see urls mixed with files in the entities logged from AndroidStudio.

Failed to load extension from: ~/chrome-wakatime-master

Getting:

Failed to load extension from: ~/chrome-wakatime-master
Cannot load extension with file or directory name __tests__. Filenames starting with "_" are reserved for use by the system.
  {
    "manifest_version": 2,
    "name": "WakaTime",
    "version": "1.0.0",
    "description": "Get stats about your website debugging, research, documentation, etc.",
    "icons": {
      "16": "graphics/wakatime-logo-16.png",
      "48": "graphics/wakatime-logo-48.png",
      "128": "graphics/wakatime-logo-128.png"
    },
    "permissions": [
      "https://wakatime.com/api/v1/users/current",
      "https://wakatime.com/logout",
      "https://wakatime.com/api/v1/users/current/heartbeats",
      "alarms",
      "tabs",
      "storage",
      "idle"
    ],
    "background": {
      "scripts": [
        "public/js/events.js"
      ],
      "persistent": false
    },
    "browser_action": {
      "default_icon": {
        "19": "graphics/wakatime-logo-19.png",
        "38": "graphics/wakatime-logo-38.png"
      },
      "default_title": "WakaTime",
      "default_popup": "popup.html"
    },
    "options_ui": {
      "page": "options.html",
      "chrome_style": false
    }
  }

Have we considered regex?

Generally regex is a big no no for actual interphases but since it's a developer focused extension allowing regex in the white/blacklists it would enable us to do things like *.edu* could go into research or *.coffee* could go towards the coffeescript language.

Showing time on leaderboards

Hello,
It would be nice to log the time spent on browser and display on leaderboard.
This will be useful as there are many people using jupyter notebooks EVERYDAY and even spend much of their time playing around with chrome dev tools and online code collaboration tools.

Thanks!

Potential Whitelist?

I'm not sure about everyone else but I live my personal life through chrome as well so the blacklist would end up becoming seriously long in order to remain accurate. Maybe consider a whitelist as well? Say if I only wanted the time spent on GitHub, Cloud 9, and StackExchange. :)

Click to add for whitelist

If I am using the extension with whitelist, it would be nice to be able to add or remove a site from the list by just clicking on the icon and getting an option to do so. The use case I suggest this for is - If I am working on researching some articles on techcrunch.com I want to track the time but when I start to browse the site for fun then I want to disable the tracking.

Just a suggestion for enhancement whenever you guys have time; nothing urgent :-)

fake time with wakatime

I use wakatime, and I leave my windows open. Unfortunately, this also causes me to be(according to wakatime. Not really) 24/7 just because I leave my windows open. I find this very annoying because now I have an unfair scale.

Install instructions

I might be missing something, but the front page readme says

Install the extension inside Chrome.

but it's not in the Chrome store. Can you update with current install instructions (e.g. do you have to do the build yourself and install in developer mode?)

Add bower to devDeps

If you add bower to the devDependencies, the end user doesn't need to install any modules globally because npm prefixes node_modules to your path during npm start.

Request: Capture time for certain urls only

Hi Mario,

First off - thanks for taking the effort to build this. If you are open to PR's I'd love to help as much as I can when I free up from my current project (in around 2 weeks).

In the meantime, I wanted to put in a feature ask for the chrome extension (although you are probably already planning on doing this). It would be great if there was the ability to specify which url's would end up capturing time to report to wakatime. E.g. if I'm on https://localhost:3001 with the dev tools open, capture the time that the window is active.

Thanks again for taking the initiative and creating this extension.

Brian

Unable to Log In

I have downloaded the v1.0.2 from the Chrome Store but my extension keeps showing the red logo and asking to log in whenever I click on it.

Clicking on the log in button it opens the wakatime website where I'm already logged in.
I've tried logging out of the website and logging in again from the extension with no success.
Also tried restarting chrome and even my computer, both with no success either.

Any suggestions?

Custom recognition of projects from URL

Instead of only sending heartbeats for <<LAST_PROJECT>>, it would be great if I could get the project from the URL. For instance, on GitHub, you can grab the project name from the 2nd segment of the URL path.

This would be helpful if your team does a lot of pull requests and want to log time to the project of the PR you're reviewing rather than what you were working on last.

Would be helpful to have it for Bitbucket and Bitbucket server as well (custom domains).

prevent API request every time checkAuth is called from switching tabs

Current behavior:

A request is made to /api/v1/users/current when switching between tabs every time, then the heartbeat request is made to send the heartbeat if logged in.

Should be:

Make a request to check if authenticated only when clicking on the extension icon. Check response code from sending a heartbeat. If it's 201, then we are logged in. If it's 401 then we are not logged in. This way we only make 1 request when sending a heartbeat, not 2 (checking if logged in and sending the actual heartbeat).

Google Config Sync & RegEx/Wildcard URL Filter Request

I am wondering if there is any of following features:

  • Sync extension options with Google Account logged in
    • Thus I do not have to reconfig in a new computer, just logged into Google Account and sync
    • By now, when I have lots of blacklist/whitelist rules, I have to save the rules on somewhere and copied from new computer.
  • RegEx or Wildcard URL Filter to blacklist/whitelist rules
    • For example, if I want http://php.net and https://php.net domains, I prefer https?://php.net rather than add two rules
    • Moreover, if I want https://travis-ci.org and https://travis-ci.com, I prefer https://travis-ci.(org|com) since both are TravisCI sites.
    • What's more, I prefer to use regex or wildcards in subdomain matching. If I want to whitelist a domain with many subdomains, I prefer not to write a long full list of it.

Consider these features requests, thanks.

Sometimes not all of the extension menu is visible

When clicking the extension icon sometimes it appears to be shifted up so that the upper portion of the menu is not visible:

screen shot 2018-05-06 at 4 04 28 pm

Seems to only happen intermittently though.

Chrome Version 66.0.3359.139 (Official Build) (64-bit)
macOS High Sierra 10.13.4

Enable blacklist

Blacklist is displayed in options but is not being used in the extension.

Manually setting current project being worked on

Not sure if this is already possible...

Can you manually set the project you're currently working on?

So, any of the whitelisted sites whilst logging is enabled will be associated with the project that the logging has been enabled for.

Comes in useful since I might be browsing generically, for example the Stripe API docs, but if I'm browsing them for project X for example, this specific browsing time should be assigned to project X. I may need to browse them again for project Y, and the only way to really distinguish which I'm browsing for is if I can manually set what project I'm currently working on.

nothing logging in wakatime

I have been attempting to use this the past few days, and nothing logs in my dashboard on wakatime. please help

How to test chrome extension API?

In a function changeExtensionTooltip I have a line of code like this:

chrome.browserAction.setTitle({title: text});

And I want to assert that method chrome.browserAction.setTitle has been called once and that it has received {title: 'WakaTime'}.

Can someone help with this? @Stephn-R

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.