Commit graph

24 commits

Author SHA1 Message Date
Alan Hamlett
4eab860dc0 increase test coverage 2015-08-12 11:04:11 -07:00
Alan Hamlett
f818a64d3d always parse args from sys.argv 2015-08-12 10:28:01 -07:00
Alan Hamlett
5d5b79d445 stop supporting old config file format 2015-08-11 16:38:17 -07:00
Alan Hamlett
7b4711ad54 fallback to builtin json module when importing simplejson fails 2015-08-11 13:52:14 -07:00
Alan Hamlett
4a5e2d9328 first tests, and disable logging while testing 2015-08-11 11:19:22 -07:00
Alan Hamlett
e8f2d75927 use os.path.splitext everywhere 2015-08-10 18:32:17 -07:00
Alan Hamlett
739fe4ba99 rename workplace to hostname 2015-07-03 22:51:26 -07:00
Carlos Henrique Gandarez
d6ca2fa489 Added header X-Machine-Name to act as workplace 2015-07-03 21:42:19 -03:00
Alan Hamlett
e8bd8bba76 correct priority for project detection
Priority of project detection:
1. .wakatime-project file
2. [project_map] section in .wakatime.cfg INI file
3. --project arg
3. revision control directory name
5. --alternate-project arg
2015-06-29 19:26:01 -07:00
Alan Hamlett
127fd115d0 use entity and type for new heartbeats api resource schema 2015-06-02 15:24:02 -07:00
Alan Hamlett
91784f5066 clean up kwargs 2015-05-16 14:44:10 -07:00
Alan Hamlett
c2a8d197bf remove project from args because we pass it separately to send_heartbeat function 2015-05-16 14:35:49 -07:00
Alan Hamlett
1c73ba9969 make --project argument take priority over auto-detected project name. new --alternate-project argument that behaves like --project used to. 2015-05-15 15:29:05 -07:00
Alan Hamlett
dd54f9ff13 reuse SSL handshake across multiple processes for improved performance 2015-05-12 14:58:20 -07:00
Alan Hamlett
caac39c3bf new --cursorpos argument for the location of cursor within the file's contents 2015-05-06 16:24:25 -07:00
Alan Hamlett
afe9e429b2 new --lineno argument for passing the current line number being edited at time of heartbeat 2015-05-06 15:19:48 -07:00
Alan Hamlett
f5c78ff444 api_url config option and --apiurl argument for sending heartbeats to a different api server 2015-04-04 10:59:45 -07:00
Alan Hamlett
1d53a04a7d improve description of project argument 2015-04-02 15:20:10 -07:00
Alan Hamlett
3d17fc343e remove unnecessary sys.path folders 2015-04-02 15:11:08 -07:00
Alan Hamlett
6b176791f2 add urllib3 and urllib3.util folders to sys.path 2015-04-01 21:17:15 -07:00
Alan Hamlett
d7679866ca rename log.py to logger.py 2015-04-01 12:48:42 -07:00
Alan Hamlett
8cad800172 add packages directory from requests package to python import path 2015-03-31 14:37:53 -07:00
Alan Hamlett
74829dae01 add back --ignore for backwards compatibility 2015-03-09 15:20:37 -07:00
Alan Hamlett
5ec42393b3 refactor module 2015-03-09 14:57:41 -07:00