Commit graph

58 commits

Author SHA1 Message Date
Alan Hamlett
c05e1091f3 fix tests when dict order random 2019-05-07 18:16:18 -07:00
Alan Hamlett
e673dc82f9 improve tests for --today argument 2019-05-07 18:11:02 -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
1fe41b6677 New --category argument 2018-04-06 22:37:01 -07:00
Alan Hamlett
27e2d13788 Ability to only track folders containing a .wakatime-project file 2018-01-04 23:24:19 -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
7b09f8f0c6 support unicode heartbeats in offline cache 2017-11-22 12:58:29 -08:00
Alan Hamlett
2b2c48b2d7 use newer bulk endpoint with current user in path 2017-11-09 07:31:28 -08:00
Alan Hamlett
4a0dd27d25 enable bulk api endpoint 2017-11-08 22:54:33 -08:00
Alan Hamlett
ccf5e39f44 only use NTLM proxy after trying non-NTLM proxy 2017-05-24 22:54:58 -07:00
Alan Hamlett
e6e07a017d pass unicode path to listdir to get back unicode filenames 2017-05-21 16:42:05 -07:00
Alan Hamlett
149ab8d00e disable lines count for files larger than 2MB 2017-04-19 23:05:40 -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
c5531312da refactor main into multiple files 2017-02-20 12:04:07 -08:00
Alan Hamlett
f283f79880 fix tests on py3.5 and lower 2017-02-16 12:47:02 -08:00
Alan Hamlett
9c45df622a autocommit transactions to sqlite db in python 3.6+ 2017-02-16 12:46:04 -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
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
92d8960250 imporove debug warning message from unsupported dependency parser 2016-10-16 10:50:40 +02:00
Alan Hamlett
d4eeedbacc return custom exit status from missing api key 2016-10-11 09:51:34 +02:00
Alan Hamlett
bcbf9e869f test --write with verbose flag on 2016-09-01 12:47:54 +02:00
Alan Hamlett
b5201f16fa test --write cli argument 2016-09-01 11:56:51 +02:00
Alan Hamlett
fd322ba3b6 improve traceback logging and non-utf8 handling 2016-09-01 11:49:12 +02:00
Alan Hamlett
048228c0b6 prevent dict ordering from breaking tests 2016-08-31 22:50:21 +02:00
Alan Hamlett
4ddf48905a fix tests on python 3 2016-08-31 22:45:49 +02:00
Alan Hamlett
9c5b31ce04 improve test coverage for main module 2016-08-31 22:37:02 +02:00
Alan Hamlett
7bf637a42e test requests and tzlocal exceptions 2016-08-31 21:46:28 +02:00
Alan Hamlett
17c7808218 test excluding files from logging 2016-08-31 19:38:55 +02:00
Alan Hamlett
6d36882d45 test missing --entity argument 2016-08-31 18:58:34 +02:00
Alan Hamlett
c4d6bb38a1 test for unknown exceptions and malformed extra heartbeats json 2016-08-31 14:27:10 +02:00
Alan Hamlett
b6f2ca548a upgrade python packages to latest versions 2016-08-31 12:23:38 +02:00
Alan Hamlett
59871a8bd9 test that multiple executions don't overwrite projects 2016-07-28 09:00:58 +02:00
Alan Hamlett
5bf2c063a5 test for non-ascii filenames 2016-07-20 20:32:08 +02:00
Alan Hamlett
8a205e745b add test for setting hostname in config file 2016-07-06 09:33:50 +02:00
Alan Hamlett
429c61967a use temp directory for all code files in tests 2016-06-08 20:33:36 +02:00
Alan Hamlett
e918bb0997 fix tests on travis 2016-06-01 10:24:02 +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
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
e92ec60cf3 test for timezone header in heartbeat request 2016-04-18 23:52:15 +02:00
Alan Hamlett
9bc81a341a use correct path for tzlocal for py3 tests 2016-04-18 23:38:38 +02:00
Alan Hamlett
cd6b698635 tests for unicode in machine hostname and timezone 2016-03-06 14:08:00 -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
ac8690222c fix tests for timeout value 2015-09-29 22:43:39 -07:00
Alan Hamlett
d953c13203 correctly test output when timeout value is not integer 2015-09-29 22:39:06 -07:00
Alan Hamlett
75aa9a2994 test config file parsing with more config options 2015-09-29 22:34:14 -07:00