Commit graph

202 commits

Author SHA1 Message Date
Alan Hamlett
b402c2c6f2 handle case where response is None 2014-12-04 00:51:18 -08:00
Alan Hamlett
f1914df700 v2.1.7 2014-11-30 22:17:28 -08:00
Alan Hamlett
85a68293ac upgrade pygments to v2.0.1 2014-11-30 22:10:30 -08:00
Alan Hamlett
7ddf028041 always log an error when api key is incorrect 2014-11-23 11:35:43 -08:00
Alan Hamlett
d73ac29fa5 v2.1.6 2014-11-18 15:58:04 -08:00
Alan Hamlett
685ba447b4 fix list index error when detecting subversion project 2014-11-18 15:57:29 -08:00
Alan Hamlett
a455d7ce34 v2.1.5 2014-11-17 22:50:46 -08:00
Alan Hamlett
afd488d33b catch exceptions from unknown timezones 2014-11-17 22:33:25 -08:00
Alan Hamlett
acaf539001 v2.1.4 2014-11-12 19:32:31 -08:00
Alan Hamlett
5dbb19eb50 when Python was not compiled with https support, log an error to the log file 2014-11-12 19:30:13 -08:00
Alan Hamlett
7609078d5a support .mdown extension as Markdown 2014-11-10 23:52:48 -08:00
Alan Hamlett
47102afaa2 v2.1.3 2014-11-10 12:25:14 -08:00
Alan Hamlett
1e1b001b61 detect branch name from local directory name for subversion projects 2014-11-10 12:25:01 -08:00
Alan Hamlett
0a6517c2b5 v2.1.2 2014-10-07 04:44:51 -07:00
Alan Hamlett
c8960e2bde if something goes wrong, just return None. 2014-10-07 04:43:00 -07:00
Alan Hamlett
40c5656910 always print error message when not able to read config file 2014-10-04 11:15:33 -07:00
Alan Hamlett
670141413e print actual location of config file in error message when not able to read from it 2014-10-04 11:09:25 -07:00
Alan Hamlett
1800f93d8d v2.1.1 2014-09-30 10:12:49 -07:00
Alan Hamlett
0ec8c8edd9 don't open binary file as utf-8 2014-09-30 10:11:44 -07:00
Alan Hamlett
ffe1a32e5b v2.1.0 2014-09-30 09:15:38 -07:00
Alan Hamlett
4bad3541d9 new compat file for python2 and python3 compatibility. read files as utf-8. 2014-09-30 09:09:30 -07:00
Alan Hamlett
138be33349 use os.devnull for python2 support 2014-08-29 12:45:52 -07:00
Alan Hamlett
c1164d2bd1 v2.0.8 2014-08-29 12:38:36 -07:00
Alan Hamlett
c7989b1eaf supress output from running svn command 2014-08-29 12:37:54 -07:00
Alan Hamlett
fbdaf77abe v2.0.7 2014-08-27 03:29:28 -07:00
Alan Hamlett
a5572bfc29 find svn binary location from common install directories 2014-08-27 03:25:05 -07:00
Alan Hamlett
0581963f55 v2.0.6 2014-08-07 08:21:25 -07:00
Alan Hamlett
1e50a6a1b6 encode json when sending to urllib 2014-08-07 08:21:06 -07:00
Alan Hamlett
9128585fe8 correct error message 2014-07-25 03:39:36 -07:00
Alan Hamlett
abe2e97591 v2.0.5 2014-07-25 02:29:31 -07:00
Alan Hamlett
1055a25aff option for obfuscating file names called --hidefilenames 2014-07-25 02:28:32 -07:00
Alan Hamlett
3759127e9a v2.0.4 2014-07-25 01:00:10 -07:00
Alan Hamlett
e392ff6e77 namespace logger to prevent conflicts with other plugins 2014-07-25 00:59:25 -07:00
Alan Hamlett
c07bef55af v2.0.3 2014-06-18 10:08:25 -07:00
Alan Hamlett
35bd98ca6d use project passed from command line when no revision control project is found 2014-06-18 10:05:27 -07:00
Alan Hamlett
f6e1eba0df v2.0.2 2014-06-09 15:16:14 -05:00
Alan Hamlett
cedfa30a27 disable offline logging when Python was not compiled with sqlite3 module 2014-06-09 15:15:38 -05:00
Alan Hamlett
5303f25614 fix unicode string with Python3.2 bug in simplejson package 2014-06-06 15:13:31 -05:00
Alan Hamlett
0ae5f37a40 include python3.2 compatible versions of simplejson, pytz, and tzlocal 2014-06-06 13:55:20 -05:00
Alan Hamlett
4476d0401d use normal string instead of unicode for python v3.2 support 2014-06-06 12:56:32 -05:00
Alan Hamlett
f1f57561c4 change except lines 2014-05-26 20:02:30 -07:00
Alan Hamlett
62f297b768 always log error when action not sent to api 2014-05-26 17:16:40 -07:00
Alan Hamlett
72bf4526ec v2.0.1 2014-05-26 14:56:11 -07:00
Alan Hamlett
7d94be516f fix bug in queue preventing actions with null values from being purged 2014-05-26 14:55:16 -07:00
Alan Hamlett
934d5a4ca6 disable queue until bug fixed 2014-05-26 14:05:54 -07:00
Alan Hamlett
2e048319d7 v2.0.0 2014-05-25 17:22:30 -07:00
Alan Hamlett
22766bb14b support for offline time logging 2014-05-25 17:14:38 -07:00
Alan Hamlett
c7e4c2951d v1.0.2 2014-05-06 17:17:20 -07:00
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