Commit Graph

62 Commits

Author SHA1 Message Date
Alan Hamlett
1031ad0279 remove id and set time to number when not using official api 2024-10-14 09:39:48 +02:00
Alan Hamlett
7bbc95bd43 Accept any 2xx nested hearbeat status code 2024-10-09 00:17:11 +02:00
Alan Hamlett
fc054d132c Merge branch 'master' into heartbeat-status 2024-10-09 00:12:43 +02:00
Alan Hamlett
54e797f601 remove debug code 2024-10-08 22:51:24 +02:00
Alan Hamlett
703a5f2901 More relaxed parsing of api url, fix race condition when putting heartbeats back into queue 2024-10-08 20:11:28 +02:00
Alan Hamlett
c1bfd20053 rename heartbeat indexedDB db name because key changed 2024-10-08 14:13:34 +02:00
Alan Hamlett
7c7f749c71 Skipped duplicate heartbeats should be treated as successfully received 2024-10-08 13:46:09 +02:00
Alan Hamlett
73c0892487 Only send 25 heartbeats per request 2024-10-08 13:41:10 +02:00
Alan Hamlett
7643c6848d idb auto closes, so re-open every operation 2024-10-08 09:40:48 +02:00
vlack
26661b7d08 Consider 201 status code as success 2024-10-05 01:56:20 +03:00
Alan Hamlett
84c2b740cf API 202 response is expected 2024-10-03 09:05:25 +02:00
Alan Hamlett
1d008f6f69 Always initialize local heartbeats db 2024-10-02 07:24:18 +02:00
Rohid
a229a3170e Merge branch 'master' into feature/enhanced-input-ui 2024-08-30 15:32:45 +06:00
Alan Hamlett
872161f655 Fix sending heartbeats and parsing GitHub repo 2024-08-30 10:33:13 +02:00
Rohid
6550d26b80 assign custom project name to url 2024-08-30 00:08:24 +06:00
Rohid
391b75e0c3 react-hooks eslint 2024-08-29 14:28:16 +06:00
Alan Hamlett
b84be60b94 finish refactor 2024-08-27 22:27:19 +02:00
Alan Hamlett
4d08aeb2fe finish core 2024-08-27 20:36:44 +02:00
Alan Hamlett
9820c22a28 rename type 2024-08-27 16:41:26 +02:00
Alan Hamlett
115789dc6e over the hump 2024-08-27 16:35:35 +02:00
Alan Hamlett
d66b1b55ba keep extension icon status correct 2024-08-27 14:50:15 +02:00
Alan Hamlett
d34c8ca347 half way through refactor 2024-08-27 14:48:22 +02:00
Alan Hamlett
d5e94de63c start refactor 2024-08-27 13:45:10 +02:00
Rohid
3d1038de01 Properly check if a url match is a project / repository 2024-08-26 16:11:15 +06:00
Rohid
fa5537a972 Detect code review category based on GitHub url 2024-08-20 11:58:56 +06:00
Rohid
1845a8aaa8 fix: return entire url when loggingType is entire url issue #235 2024-08-17 11:53:25 +06:00
Rohid
1faf392581 lint fix 2024-08-15 22:31:31 +06:00
Rohid
fce2c9cc50 fix: strip hash and search from project name #251 2024-08-15 22:30:23 +06:00
Alan Hamlett
625410df1a linter 2023-10-17 21:56:16 +02:00
Alan Hamlett
c57818bec7 Use last branch same as last project 2023-10-17 21:14:35 +02:00
Alan Hamlett
519dcb31b7 detect Edge browser 2023-07-03 10:17:33 +01:00
Juan Sebastian velez Posada
3e21764fc7 Merge branch 'master' into sebas-bug-fixes 2023-05-10 10:20:35 -05:00
Alan Hamlett
7216223d12 Use last project when none detected 2023-05-10 10:41:46 +02:00
Sebastian Velez
9fc39c77f6 check the domains by removing the subdomain 2023-05-08 16:37:19 -05:00
Sebastian Velez
673fd0d63f Don't send a heartbeat on sites like 'chrome://newtab/' or 'about:newtab' 2023-04-28 13:37:38 -05:00
Sebastian Velez
9898339a33 chore: Change dev and social sites config and option from string to list of strings 2023-04-28 13:18:06 -05:00
Sebastian Velez
0be4c42b52 update README, remove un necessary instructions 2023-04-27 09:38:29 -05:00
Alan Hamlett
cb23dcd2ed Add operating system to user agent string 2023-04-27 15:32:18 +02:00
Sebastian Velez
2c9bd20657 chore: remove duplicated logic, move recordHeartbeat to a single place 2023-04-26 10:54:49 -05:00
Juan Sebastian velez Posada
7d795f854f chore: add support for Content scripts (#182)
* chore: add support for Content scripts

* chore: run script bae on browser

* chore: content script supporting canva website

* chore: add 2 minutes debounce for onclik events

* chore: add debounce for keypress events
2023-03-28 17:59:15 -05:00
Juan Sebastian velez Posada
c2ead5149d chore: configure base url (#179)
* chore: set base api url

* chore: change config varibales names

* chore: rename env var

* chore: set base url to match wakatime cli usage
2023-03-28 17:50:32 -05:00
Juan Sebastian velez Posada
1e9e233066 chore: add hostname option to extension (#177) 2023-03-15 14:14:21 -05:00
Juan Sebastian velez Posada
ae22ab5a9d fix: on send heartbeat omit credentials, only use the api key store (#176) 2023-03-09 18:08:19 -05:00
Juan Sebastian velez Posada
c735e2dafa fix: log whitelist wildcards (#175)
* chore: support for whitelist wildcards

* chore: solve warning on check html element

* chore: bump version 3.0.5
2023-03-09 10:55:41 -05:00
Sebastian Velez
00209ec96f chore: get api key from coookie 2023-02-15 12:25:19 -05:00
Juan Sebastian velez Posada
0a2326948c chore: change localStorage to indexedDB for caching heartbeats while offline (#166) 2023-02-13 19:29:26 -05:00
Juan Sebastian velez Posada
be368b520e chore: send project on heartbeat when navigating on github (#165)
* chore: send project on heartbeat payload when user is navigating on github.com or github.dev

* chore: update logic to generate project from github activity

* chore: update history and development documentation

* chore: address comments in PR
2023-02-10 11:04:49 -05:00
Sebastian Velez
40635cfada chore: add social media toggle to track or not social sites 2023-02-03 15:01:44 -05:00
Sebastian Velez
3d3120ed40 chore: cache heartbeats request when they fail or users are offline 2023-01-30 11:39:43 -05:00
Sebastian Velez
a4baf7cf86 chore update user agent payload 2023-01-27 13:18:25 -05:00