Commit graph

548 commits

Author SHA1 Message Date
Alan Hamlett
28cb3e2b28 unit tests for heartbeat class 2017-11-22 19:29:04 -08:00
Alan Hamlett
8269196c88 improve test coverage for parsing api bulk results 2017-11-22 18:54:47 -08:00
Alan Hamlett
9ffb677f9d Make sure any leftover heartbeats not accepted by API are saved 2017-11-22 18:34:15 -08:00
Alan Hamlett
aa58524f66 refactor handling server responses 2017-11-22 14:01:02 -08:00
Alan Hamlett
4c949fad76 v10.0.3 2017-11-22 13:04:31 -08:00
Alan Hamlett
7b09f8f0c6 support unicode heartbeats in offline cache 2017-11-22 12:58:29 -08:00
Alan Hamlett
a17000eee7 v10.0.2 2017-11-15 18:33:51 -08:00
Alan Hamlett
b80e55d4e3 limit bulk uploading to 5 heartbeats per request 2017-11-15 18:31:19 -08:00
Alan Hamlett
0b633f3443 v10.0.1 2017-11-09 09:05:47 -08:00
Alan Hamlett
cbd67fb73c parse response from bulk endpoint, only saving unsent heartbeats to offline cache 2017-11-09 09:03:27 -08:00
Alan Hamlett
2b2c48b2d7 use newer bulk endpoint with current user in path 2017-11-09 07:31:28 -08:00
Alan Hamlett
2266f3c261 reformat some imports 2017-11-09 07:26:33 -08:00
Alan Hamlett
67ed653720 v10.0.0 2017-11-08 23:07:56 -08:00
Alan Hamlett
4a0dd27d25 enable bulk api endpoint 2017-11-08 22:54:33 -08:00
Alan Hamlett
522cc6cb0c v9.0.1 2017-11-07 18:52:47 -08:00
Allan Pereira
d46312f2cd fix bug when sending heartbeats with hidefilenames enabled 2017-11-07 23:48:57 -02:00
Alan Hamlett
44482bebc3 v9.0.0 2017-11-04 11:49:58 -07:00
Alan Hamlett
06a9d651db support for git submodules 2017-11-04 11:48:49 -07:00
Alan Hamlett
06b8fa2b7c rename project file module 2017-11-04 11:04:43 -07: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
8b2170d409 v8.0.5 2017-10-29 11:29:03 -07:00
Alan Hamlett
6cd300a30b use WAKATIME_HOME env variable for session and offline caching 2017-10-29 11:16:23 -07:00
Alan Hamlett
962df80a19 v8.0.4 2017-10-23 22:05:53 -07:00
Alan Hamlett
f2f9452068 fix pep8 linting errors 2017-10-23 22:01:31 -07:00
Alan Hamlett
b828542a08 allow passing all string arguments wrapped in extra quotes 2017-10-23 21:54:21 -07:00
Alan Hamlett
01e6cb31d1 fix linter warnings 2017-10-23 21:30:25 -07:00
Alan Hamlett
e3b0eac636 allow passing plugin arg wrapped in quotes once too many times 2017-10-23 21:30:14 -07:00
Alan Hamlett
1c80ec9834 upgrade tzlocal to v1.4 2017-09-05 09:47:50 -07:00
Alan Hamlett
7be37e55d8 upgrade pytz to v2017.2 2017-09-05 09:46:08 -07:00
Alan Hamlett
7a53d4b767 upgrade requests to v2.18.4 2017-09-05 09:40:07 -07:00
Alan Hamlett
757aa9a298 v8.0.3 2017-06-08 00:14:31 -07:00
Alan Hamlett
409b760be3 No need to cache directory listing 2017-06-08 00:00:51 -07:00
Alan Hamlett
87f205484f Improve Matlab language detection 2017-06-07 23:32:03 -07:00
Alan Hamlett
1e597f41ac v8.0.2 2017-05-24 23:07:36 -07:00
Alan Hamlett
ccf5e39f44 only use NTLM proxy after trying non-NTLM proxy 2017-05-24 22:54:58 -07:00
Alan Hamlett
a98f9ca422 upgrade coverage to v4.4.1 2017-05-15 01:15:47 -07:00
Alan Hamlett
17b94b77f5 v8.0.1 2017-05-05 17:26:59 -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
149ab8d00e disable lines count for files larger than 2MB 2017-04-19 23:05:40 -07:00
Alan Hamlett
1db3d6f288 v8.0.0 2017-03-16 08:15:52 -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
bd7c136606 typoscript lexer should not have higher priority than typescript 2017-03-04 13:53:56 -08:00
Alan Hamlett
62923d4ca0 F# takes priority over Forth language 2017-03-04 13:42:44 -08:00
Alan Hamlett
0f02aa91b7 move language priorities into separate file 2017-03-04 13:11:40 -08:00
Alan Hamlett
723dd42fa9 log tracebacks in debug mode when unable to detect language 2017-03-04 10:34:06 -08:00
Alan Hamlett
6379953b24 configparser.ConfigParser.readfp renamed to read_file 2017-03-04 10:22:44 -08:00
Alan Hamlett
5324601bf3 SafeConfigParser was renamed to ConfigParser in py3.2 2017-03-04 10:16:18 -08:00
Alan Hamlett
50141ef7b9 use configparser from py3.5 so we can set delimiters to only equal char to fix #83 2017-03-04 10:07:00 -08:00
Alan Hamlett
079b40c865 v7.0.4 2017-03-01 22:26:44 -08:00
Alan Hamlett
41ad68882a add six to satisfy ntlm-auth dependency 2017-03-01 22:24:36 -08:00
Alan Hamlett
29f3a99725 make F# higher priority than Forth 2017-02-26 19:25:28 -08:00
Alan Hamlett
c168dce11f v7.0.3 2017-02-26 17:09:40 -08:00
Alan Hamlett
2510184b2d update copyright year 2017-02-26 17:09:21 -08:00
Alan Hamlett
1f1db4deee changes for v7.0.3 2017-02-26 17:08:09 -08:00
Alan Hamlett
8c2685696c ability to prioritize popular languages over uncommon languages 2017-02-26 17:05:55 -08:00
Alan Hamlett
9ce9d528fd detect non-C languages in folders with C/C++ files
Improves on 2da75aa119.
2017-02-26 16:26:39 -08:00
Alan Hamlett
d85448b563 minor refactor of language and lexer creation 2017-02-26 16:26:39 -08:00
Gama11
87f8bde762 Fix Haxe spelling
"HaXe" is an old spelling that was changed a while ago:

https://groups.google.com/d/msg/haxelang/O7PB-ZrX4i4/uL69CT44C-IJ
2017-02-25 17:15:04 +01:00
Alan Hamlett
2d3864a10b v7.0.2 2017-02-20 15:30:40 -08:00
Alan Hamlett
da3cf30ddd use language as extra heartbeats key name 2017-02-20 15:29:44 -08:00
Alan Hamlett
7ec1f7c5f4 v7.0.1 2017-02-20 15:18:52 -08:00
Alan Hamlett
35726f2e91 rename --alternate-language to --language 2017-02-20 15:17:45 -08:00
Alan Hamlett
b147afcd0e v7.0.0 2017-02-20 14:28:50 -08:00
Alan Hamlett
f52847d7e9 make --alternate-language cli argument take precedence over detected language 2017-02-20 14:23:02 -08:00
Alan Hamlett
4ea96210f8 give TypeScript higher priority than TypoScript 2017-02-20 13:22:14 -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
e50ce86c6e v6.3.0 2017-02-16 12:48:15 -08:00
Alan Hamlett
9c45df622a autocommit transactions to sqlite db in python 3.6+ 2017-02-16 12:46:04 -08:00
Alan Hamlett
972c57fb8c v6.2.3 2017-02-15 17:42:29 -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
5428942ccf remove unused sockshandler 2017-02-15 12:27:21 -08:00
Alan Hamlett
03e9280257 upgrade pytz to v2016.10 2017-02-15 12:25:28 -08:00
Alan Hamlett
4a3db76912 upgrade requests to v2.13.0 and pysocks to v1.6.6 2017-02-15 12:10:01 -08:00
Alan Hamlett
5dd9c1b07d v6.2.2 2017-02-13 23:28:15 -08:00
Alan Hamlett
fd6f5779d4 upgrade pygments to v2.2.0 2017-02-13 23:25:51 -08:00
Alan Hamlett
e5ee05a14f v6.2.1 2017-02-08 19:16:45 -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
504c199e83 v6.2.0 2016-10-24 11:15:38 +02:00
Alan Hamlett
d8f0968c1a allow setting home folder from WAKATIME_HOME env variable 2016-10-24 11:10:36 +02:00
Alan Hamlett
92d8960250 imporove debug warning message from unsupported dependency parser 2016-10-16 10:50:40 +02:00
Alan Hamlett
d0b3a0846e v6.1.0 2016-10-11 12:53:31 +02:00
Alan Hamlett
d4eeedbacc return custom exit status from missing api key 2016-10-11 09:51:34 +02:00
Alan Hamlett
f88d725219 v6.0.9 2016-09-13 15:52:25 +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
270d9dc3c7 patch pygments to catch IOError when user does not have permission to import system Python module pkg_resources 2016-09-07 12:53:31 +02:00
Alan Hamlett
21a6f1de24 v6.0.8 2016-09-02 10:43:18 +02:00
Alan Hamlett
f9cd857d90 remove unused states from html parser 2016-09-01 12:41:20 +02:00
Alan Hamlett
48591d2767 remove unused method 2016-09-01 12:28:55 +02:00
Alan Hamlett
fd322ba3b6 improve traceback logging and non-utf8 handling 2016-09-01 11:49:12 +02:00
Alan Hamlett
c08288eefd fix custom json encoder 2016-09-01 00:41:21 +02:00
Alan Hamlett
dbec1d03a6 remove unused code 2016-09-01 00:16:24 +02:00
Alan Hamlett
e8884ffc8e test truncating dependencies in TokenParser 2016-08-31 17:42:40 +02:00
Alan Hamlett
3dd5e12d06 prevent logging __future__ python dependency 2016-08-31 17:30:49 +02:00