Commit Graph

60 Commits

Author SHA1 Message Date
Alan Hamlett 8529593453 Rename --show-time-today to --today 2019-05-07 17:49:07 -07:00
Alan Hamlett 23e0778392 simplify coding time today function 2019-05-07 00:50:08 -07:00
Alan Hamlett 708001c6e7 New argument --show-time-today for fetching dashboard coding activity 2019-05-07 00:12:30 -07:00
Alan Hamlett a1369a2b00 send 50 offline heartbeats per request with one second delay in between 2018-10-04 23:59:34 -07:00
Alan Hamlett d4e0283c75 sync 100 offline heartbeats at 10 per request 2018-09-20 22:16:48 -07:00
Alan Hamlett b488cd537c send batches of at most 10 heartbeats to api 2018-09-20 10:14:25 -07:00
Alan Hamlett 722baba6e6 New argument --sync-offline-activity 2018-09-20 09:08:09 -07:00
Alan Hamlett 2266f3c261 reformat some imports 2017-11-09 07:26:33 -08:00
Alan Hamlett 4a0dd27d25 enable bulk api endpoint 2017-11-08 22:54:33 -08:00
Allan Pereira d46312f2cd fix bug when sending heartbeats with hidefilenames enabled 2017-11-07 23:48:57 -02:00
Alan Hamlett ef637fd99b return via fallback below 2017-11-01 21:15:22 -07:00
Alan Hamlett e0fa82e2c9 prevent sending dependencies when hiding file names 2017-10-31 08:57:30 -07:00
Alan Hamlett f2f9452068 fix pep8 linting errors 2017-10-23 22:01:31 -07:00
Alan Hamlett ccf5e39f44 only use NTLM proxy after trying non-NTLM proxy 2017-05-24 22:54:58 -07:00
Alan Hamlett 6f2176741d Ability to disable SSL cert verification
Adds a --no-ssl-verify argument.
Adds a no_ssl_verify boolean config option.
2017-05-05 17:09:17 -07:00
Alan Hamlett df7bf5cddb Notify that Python needs upgrading when requests can't be imported 2017-04-22 19:40:25 -07:00
Alan Hamlett c22990a38a config file not needed when passing api key via command line 2017-03-16 08:10:15 -07:00
Alan Hamlett da3cf30ddd use language as extra heartbeats key name 2017-02-20 15:29:44 -08:00
Alan Hamlett fad721530a use alternate language if case-insensitive matches a language in the json files 2017-02-20 12:40:24 -08:00
Alan Hamlett c5531312da refactor main into multiple files 2017-02-20 12:04:07 -08:00
Alan Hamlett 62dfdc7993 add test for --hidefilenames arg 2017-02-15 15:34:13 -08:00
Alan Hamlett fdba83a1c7 improve test coverage over invalid arguments 2017-02-15 15:28:53 -08:00
Alan Hamlett 1fd6169f53 support for ntlm proxy 2017-02-15 15:02:05 -08:00
Alan Hamlett 9938a67dc9 prevent stripping whitespace from end of regex patterns 2017-02-02 11:47:06 -08:00
Alan Hamlett 7f198639aa allow list of regex patterns for hiding file names 2017-02-01 23:31:30 -08:00
Alan Hamlett d8f0968c1a allow setting home folder from WAKATIME_HOME env variable 2016-10-24 11:10:36 +02:00
Alan Hamlett d4eeedbacc return custom exit status from missing api key 2016-10-11 09:51:34 +02:00
Alan Hamlett 8960d5b968 no need to have coverage for system library exceptions 2016-09-13 15:51:56 +02:00
Alan Hamlett 7ef63ac191 force file path to use system separator 2016-09-13 15:47:34 +02:00
Alan Hamlett fd322ba3b6 improve traceback logging and non-utf8 handling 2016-09-01 11:49:12 +02:00
Alan Hamlett a5933aa2a7 handle unknown exceptions from requests library by deleting cached session object 2016-07-06 23:07:55 +02:00
Daniel Fourie 8c24a5c590 added setting hostname in .wakatime.cfg 2016-07-06 08:46:40 +02:00
Alan Hamlett 1e5af3fd43 support for socks proxies 2016-05-21 13:09:55 +02:00
Alan Hamlett c3d7de3de9 send plugin with extra heartbeats 2016-04-29 01:10:19 +02:00
Alan Hamlett 745049d685 remove --entitytype from help output 2016-04-29 00:01:26 +02:00
Alan Hamlett dc1964cd80 no longer allowing entity-type url 2016-04-28 23:57:15 +02:00
Alan Hamlett 937350220e only read one line of extra heartbeats from stdin 2016-04-28 19:25:52 +02:00
Alan Hamlett dce9d70d48 correct config file in help output 2016-04-26 13:40:08 +02:00
Alan Hamlett 67a2403070 new --extra-heartbeats argument 2016-04-21 00:30:44 +02:00
Alan Hamlett 984a8ab62a increase default timeout to 60 seconds 2016-04-19 13:50:29 +02:00
Alan Hamlett 95a2db0a77 support passing an alternate language to cli 2016-04-19 12:30:44 +02:00
Alan Hamlett 7a38ae9442 update tzlocal package. move packages to python version folder. 2016-04-18 23:27:41 +02:00
Alan Hamlett ce7448a6c2 encode TimeZone as utf-8 before adding to headers 2016-03-06 14:07:47 -08:00
Alan Hamlett 11e6c94ffa encode unicode as basestring before passing to urllib3 2016-03-06 13:00:00 -08:00
Alan Hamlett 62bc4be0f4 code formatting changes 2016-03-06 12:42:54 -08:00
Alan Hamlett 12e4f56d4b encode hostname as unicode before adding as header 2016-03-06 12:34:59 -08:00
Alan Hamlett 33a87b9877 add new AUTH_ERROR exit status to signal an invalid api key. fixes #41. 2016-01-25 23:49:37 +01:00
Alan Hamlett 85cecd6280 accept 201 or 202 response codes as success from api 2016-01-11 02:13:58 -08:00
Alan Hamlett 1f7f2fc666 use api.wakatime.com for sending heartbeats 2016-01-06 13:48:18 -08:00
Alan Hamlett be512b0196 give integer response codes names using constants 2016-01-01 23:20:23 -08:00