Haryz Izzudin
40222597c9
Fix boolean expression to determine start timestamp ( #20 )
2017-12-24 14:44:20 +01:00
iCrawl
277f9dec40
style: use async await whenever applicable
2017-12-20 06:25:37 +01:00
pyrox18
e38d62da47
Add workspace elapsed time feature ( #19 )
...
* Add workspace elapsed time feature
* Clean up workspaceElapsedTime setting check
2017-12-20 06:22:11 +01:00
iCrawl
51b3448a69
fix #15 : pad a zws at the end of single character languages
2017-12-10 22:09:58 +01:00
iCrawl
51a076d02a
fix: eslint
2017-12-07 19:49:27 +01:00
Charles Milette
5bfaaea1c2
feat: configuration option to silence error messages ( #13 )
...
* Add a configuration option to silence error messages
* Move reconnect logic outside of silent condition
2017-12-07 19:43:37 +01:00
iCrawl
a52e607296
fix?: don't reset the presence (possible race condition)
2017-11-30 23:43:03 +01:00
iCrawl
07eb608857
refactor: extract generating state and details into its own function
2017-11-27 02:14:12 +01:00
iCrawl
fafd567cde
feat: debug support
2017-11-26 23:06:01 +01:00
iCrawl
73a0f509db
feat: detect stable or insiders
2017-11-26 22:16:11 +01:00
iCrawl
a03bfc0c7a
refactor: rewrite how the extension sends activity to discord
...
this is an important change to not spam the discord client with activity via RPC because it only allows setting a new status every 15 seconds, this way we update the new status and only send it every 15 seconds to comply with that limit
2017-11-26 16:30:32 +01:00
iCrawl
770bf70b32
feat: better language support and detection
2017-11-26 12:32:52 +01:00
iCrawl
8f5be47e44
fix: name of undefined when no workspace could be found
2017-11-24 21:00:52 +01:00
iCrawl
4318c325ac
feat: custom string support
2017-11-24 13:53:47 +01:00
iCrawl
b89abd7b41
fix: make sure to clear out the last file name
2017-11-24 04:49:32 +01:00
iCrawl
9d47c438b4
revert: use 2 commands for enabling and disabling
2017-11-24 04:42:51 +01:00
iCrawl
0ca42d0288
fix: only send a new presence if the user is writing in a new file
2017-11-24 04:31:18 +01:00
iCrawl
510a4ab32c
refactor: commands merged into a single toggle
2017-11-24 04:17:12 +01:00
iCrawl
78172bf133
fix: move code around to clear the interval properly
2017-11-24 03:51:50 +01:00
iCrawl
fad1abd81c
fix: proper reconnect logic with a counter
2017-11-24 03:45:23 +01:00
iCrawl
fd5a243683
style: change string for error message
2017-11-24 03:33:50 +01:00
iCrawl
ff7e8a19ac
fix: make sure to not skip out on ENOENT
2017-11-24 03:32:16 +01:00
iCrawl
a3a2e47f58
fix: don't throw errors if a reconnect is ongoing
2017-11-24 03:31:37 +01:00
iCrawl
a54dc0767a
fix: double check if RPC exists or not in commands
2017-11-24 03:21:27 +01:00
iCrawl
b432c06ce9
feat: proper destroy and reconnect logic
2017-11-24 03:16:08 +01:00
matthe815
448eee76e9
docs: comment out the code ( #2 )
...
Added a bunch of comments to create a better understanding of the code.
2017-11-24 01:22:23 +01:00
FOG_Yamato
428d22d703
feat: enable/disable commands ( #1 )
2017-11-24 00:53:16 +01:00
iCrawl
4d72a15bd8
style: newline ternaries for readability
2017-11-23 22:17:11 +01:00
iCrawl
1a185bf563
fix: make sure to properly destroy the rpc client
2017-11-23 22:14:16 +01:00
iCrawl
29420acbec
fix: fallback to a normal file icon if no language is found
2017-11-23 21:14:56 +01:00
iCrawl
3bca1c8fa6
feat: add support for workspace names and more icons
2017-11-23 20:43:10 +01:00
iCrawl
7bd9146ad1
fix: remove rejection handler
2017-11-23 17:41:50 +01:00
iCrawl
15c4888812
feat: use custom configuration for client ID for those who really know what they are doing which does not include 90% of you
2017-11-23 16:21:46 +01:00
iCrawl
d186b17763
feat: add more useful output for the rich presence
2017-11-23 14:47:42 +01:00
iCrawl
e5736fc092
chore: initial commit
2017-11-23 14:06:21 +01:00