Commit graph

354 commits

Author SHA1 Message Date
Alan Hamlett
96899ed46b use args.project_name to prevent conflicting with project argument 2014-05-06 17:16:35 -07:00
Alan Hamlett
81c3e6d336 allow project to be set as cmd line arg 2014-05-06 17:07:36 -07:00
Alan Hamlett
dba5615f65 change www.wakatime.com to wakatime.com 2014-03-14 13:34:02 -07:00
Alan Hamlett
408e9c4b7b v1.0.1 2014-03-05 13:46:59 -08:00
Alan Hamlett
8054595d8f switch to new domain name wakatime.com 2014-03-05 13:45:52 -08:00
Alan Hamlett
f542e1a862 v1.0.0 2014-02-05 00:57:38 -08:00
Alan Hamlett
7697b54e8e detect project name and branch from mercurial revision control 2014-02-05 00:55:52 -08:00
Alan Hamlett
e54f393721 v0.5.3 2014-01-15 16:42:53 -08:00
Alan Hamlett
eb479efa52 define unicode as str for Python3 2014-01-15 16:41:35 -08:00
Alan Hamlett
74f84f0048 v0.5.2 2014-01-14 05:08:28 -08:00
Alan Hamlett
275a2a6e57 set system language to English before running subversion program 2014-01-14 05:02:51 -08:00
Alan Hamlett
ade6084819 improved description in header 2013-12-20 16:36:32 +01:00
Alan Hamlett
d55bbe5d45 v0.5.1 2013-12-13 16:35:32 +01:00
Alan Hamlett
c3642fade2 second line in .wakatime-project sets branch name 2013-12-13 16:33:09 +01:00
Alan Hamlett
89c21f03bd fix variable definition bug 2013-12-13 15:41:29 +01:00
Alan Hamlett
0533df08ca v0.5.0 2013-12-13 15:33:56 +01:00
Alan Hamlett
1f8f6f8781 migrate ignored directories from old config file to new configparser format 2013-12-13 15:30:21 +01:00
Alan Hamlett
4e03de91d8 update wakatime package header comment 2013-12-13 15:05:20 +01:00
Alan Hamlett
05ced3dbc0 update description with example of using projectmap config section 2013-12-13 15:02:44 +01:00
Alan Hamlett
297ebb902b updates to project plugins:
- force projects to return unicode names and branches, or None
 - refactor ProjectMap to set project name from cfg file
 - pass configs to find_project() as dict from plugin's cfg section
 - clean up git project class

updates to config file:

 - rename ~/.wakatime.conf to ~/.wakatime.cfg
 - better error handling while parsing and getting configs
 - no longer need to set defaults when parsing config file
 - use configparser for python3 when python2 import fails
2013-12-13 14:46:39 +01:00
3onyc
b75570a589 Fix ProjectMap always returning true if it has a config section 2013-12-12 10:09:14 +01:00
3onyc
5b9eb937ff Rename config to settings in BaseProject 2013-12-11 15:13:40 +01:00
3onyc
a4913289ce Make ProjectMap use config section 2013-12-10 13:46:56 +01:00
3onyc
d6e1da7073 Pass config to plugin, but only if it has a section for the plugin 2013-12-10 13:46:56 +01:00
3onyc
23c586e616 Use ConfigParser and add [settings] header in case it's missing 2013-12-10 13:46:56 +01:00
3onyc
81fe41409a Implement ProjectMap plugin 2013-12-10 13:46:56 +01:00
Alan Hamlett
731ce02a59 recognize .twig extension as Twig language 2013-12-03 20:20:57 +01:00
Alan Hamlett
9ca3ac3e49 simplify encodings 2013-12-03 02:36:52 +01:00
Alan Hamlett
d714bb9299 fix character encoding problem with localized datetime in log 2013-12-03 02:34:00 +01:00
Alan Hamlett
59de87799e decode file names with filesystem encoding, then encode as utf-8 before encoding with simplejson 2013-12-02 09:15:06 +01:00
Alan Hamlett
6c7e722390 catch UnicodeDecodeErrors from simplejson. 2013-11-21 01:06:50 -08:00
Alan Hamlett
28da601ad3 v0.4.10 2013-11-13 10:43:42 -08:00
Alan Hamlett
b345a1ff7b set project name with .wakatime-project file 2013-11-13 10:41:56 -08:00
Alan Hamlett
7ab0d54ec9 recognize markdown file extension as Markdown language 2013-11-03 11:34:54 -08:00
Alan Hamlett
4e8d3ead82 recognize jinja2 file extensions as HTML 2013-10-31 17:16:38 -07:00
Alan Hamlett
8f38ba5932 add rhtml translation 2013-10-29 00:25:12 -07:00
Alan Hamlett
14e1a5d2e0 handle case where ignore patterns not defined 2013-10-28 18:04:25 -07:00
Alan Hamlett
105df0d4b0 v0.4.9 2013-10-27 21:02:20 -07:00
Alan Hamlett
29bc891ce4 - parse more options from config file (api key, verbose, logfile)
- new config for ignoring file names based on regular expressions
2013-10-27 20:58:56 -07:00
Alan Hamlett
b08e1955c8 update language lexer translations 2013-10-26 17:58:15 -07:00
Alan Hamlett
5a0e9ad17f force Perl6 to be Perl 2013-10-26 14:14:13 -07:00
Alan Hamlett
ffd557dfef force some languages to be recognized as others 2013-10-26 14:06:54 -07:00
Alan Hamlett
1038529fd0 force .js files to be reported at JavaScript 2013-10-26 13:46:22 -07:00
Alan Hamlett
92e290c217 force some file extensions to be recognizes as certain languages 2013-10-25 21:28:59 -07:00
Alan Hamlett
f8b4c91ae6 remove support for subversion on Windows to prevent cmd windows from opening 2013-10-14 21:50:22 -07:00
Alan Hamlett
98b9056c77 ignore any errors when detecting language type with pygments 2013-10-14 14:12:40 -07:00
Alan Hamlett
fdbd0fa941 v0.4.8 2013-10-13 16:32:39 -07:00
Alan Hamlett
da3f519dc0 read .git/HEAD file directly to find branch instead of running git command line 2013-10-13 16:31:37 -07:00
Alan Hamlett
2a6edcf390 removed print 2013-09-30 22:02:42 -07:00
Alan Hamlett
627a29a49f v0.4.7 2013-09-30 21:55:45 -07:00
Alan Hamlett
99f0555723 sending olson timezone to api 2013-09-30 21:55:19 -07:00
Alan Hamlett
8de2be936b filtering lexer guesses by filename 2013-09-22 16:28:09 -07:00
Alan Hamlett
1cf6a34ed5 fixed pygments package location 2013-09-22 16:18:20 -07:00
Alan Hamlett
43cb99b560 fixed pygments import 2013-09-22 16:10:08 -07:00
Alan Hamlett
9c9fbeeb8e split pygments package into python2 and python3 versions 2013-09-22 15:24:03 -07:00
Alan Hamlett
28f86f7350 fixed bug in logger where formatter using old attributes 2013-09-22 15:03:01 -07:00
Alan Hamlett
d3ac82dfd0 removed endtime 2013-09-22 14:56:30 -07:00
Alan Hamlett
bd6f454a55 ran 2to3 on pygments package 2013-09-22 14:48:55 -07:00
Alan Hamlett
ffdee6b48c fixed print statements for python3 2013-09-22 14:29:16 -07:00
Alan Hamlett
bdaf07d941 fixed exception handling for python3 2013-09-22 14:14:59 -07:00
Alan Hamlett
845206bf82 fixed pygments to work with Python3 2013-09-22 14:07:07 -07:00
Alan Hamlett
79acd45adf v0.4.6 2013-09-22 13:41:13 -07:00
Alan Hamlett
934cc51a6c sending file stats (total lines in file, language name) to api 2013-09-22 13:39:16 -07:00
Alan Hamlett
0707e2dff0 v0.4.5 2013-09-07 19:05:31 -07:00
Alan Hamlett
1eb15b3a4d fixed relative import error by adding packages directory to path 2013-09-07 19:04:26 -07:00
Alan Hamlett
eae6c51f40 removing response_content from debug log 2013-09-06 22:54:17 -07:00
Alan Hamlett
b70e527ebf v0.4.4 using simplejson 2013-09-06 22:46:52 -07:00
Alan Hamlett
5158783b2f using urllib2 again because of problems with requests library 2013-09-06 22:41:00 -07:00
Alan Hamlett
bf5de0761c v0.4.3 2013-09-04 23:23:48 -07:00
Alan Hamlett
24e54e37c6 encoding json as utf-8 before passing to requests 2013-09-04 23:22:49 -07:00
Alan Hamlett
795f3eb1ca v0.4.2 2013-09-04 22:20:45 -07:00
Alan Hamlett
ce6ceaa00e using requests package v1.2.3 from pypi 2013-09-04 22:20:21 -07:00
Alan Hamlett
0a50e4eaf5 v0.4.1 correctly use string for POST data 2013-08-25 16:31:39 -07:00
Alan Hamlett
5af58518eb v0.4.0 2013-08-15 00:10:49 -07:00
Alan Hamlett
1aa88e4bf1 using branch instead of tags 2013-08-15 00:09:27 -07:00
Alan Hamlett
c410422c8a set log level before returning, if logger already has handlers. 2013-08-08 19:11:15 -07:00
Alan Hamlett
9b1ccf82d9 v0.3.1 using requests instead of urllib2. logging level set to WARN by default instead of INFO. 2013-08-08 18:51:58 -07:00
Alan Hamlett
a23ef6cbc0 v0.3.0 2013-08-08 02:11:46 -07:00
Alan Hamlett
02d54b76f3 using correct dirname when adding cwd to sys.path in wakatime-cli.py
fixes to wakatime package to allow directly importing.
don't add duplicate handlers to logger in log.py.
2013-08-08 02:09:54 -07:00
Alan Hamlett
08010e86fe removed --list option for older git installations. using sys.version_info as tuple for python 2.6 support. 2013-07-30 16:23:12 -07:00
Alan Hamlett
543085e486 v0.2.0 2013-07-29 23:05:10 -07:00
Alan Hamlett
26212df0f7 support for Python3 2013-07-29 23:04:43 -07:00
Alan Hamlett
0d1bc5af0d swapped python version and platform in user agent 2013-07-24 10:31:28 -07:00
Alan Hamlett
db473761f5 added missing sys.version_info line 2013-07-23 20:31:36 -07:00
Alan Hamlett
f3988f21f9 v0.1.5 2013-07-23 17:49:48 -07:00
Alan Hamlett
23cd9b2991 including python version in user agent string 2013-07-23 17:49:16 -07:00
Alan Hamlett
9f26012ddd don't assume all git urls are the same 2013-07-22 17:23:55 -07:00
Alan Hamlett
cf2c5c07ad v0.1.4 use os.path for Windows compatible config file path. no longer importing BaseProject to prevent possible circular import. 2013-07-21 10:30:06 -07:00
Alan Hamlett
11750c0f91 setting tags to list before json serializing 2013-07-20 15:14:52 -07:00
Alan Hamlett
d1fc0ba0db removing duplicate tags before sending. reduced number of tags for git and svn projects. recursively finding parent svn directory. 2013-07-20 14:42:19 -07:00
Alan Hamlett
9244c6b0b7 version 0.1.3. fixed circular import problem. 2013-07-20 11:55:07 -07:00
Alan Hamlett
f659cdaf81 removed __init__.py 2013-07-20 11:53:56 -07:00
Alan Hamlett
36d6194fca using is_write for api attribute instead of isWrite 2013-07-13 23:20:26 -07:00
Alan Hamlett
8d28743ba6 using human readable date in log output 2013-07-12 00:09:10 -07:00
Alan Hamlett
7134ac4650 discarding stderr when working with git and subversion command line clients 2013-07-10 01:33:36 -07:00
Alan Hamlett
4bd6ed9ac4 not swapping time and endtime 2013-07-09 21:17:43 -07:00
Alan Hamlett
0dc38a2cca version 0.1.2 2013-07-09 20:14:16 -07:00
Alan Hamlett
0af24e0b17 refactored project classes. supporting svn projects. finding more tags for git projects. 2013-07-09 20:11:49 -07:00
Alan Hamlett
662fa7d8a5 fixed bug in custom logger where calling super() on old-style class throws exception. 2013-07-09 13:34:22 -07:00
Alan Hamlett
61315ea721 logging errors from api requests. swapping time and endtime if needed. 2013-07-07 18:22:17 -07:00
Alan Hamlett
c2124ceb8c better looking user agent string 2013-07-07 16:35:17 -07:00
Alan Hamlett
930fa3447a removed debug code 2013-07-07 16:33:11 -07:00
Alan Hamlett
9457b85567 version 0.1.1. refactored. simplified action events schema. 2013-07-07 16:28:18 -07:00
Alan Hamlett
a902a2b948 added version 0.0.1 2013-07-06 00:51:09 -07:00