Commit Graph

18 Commits

Author SHA1 Message Date
Ivan Habunek 7bbc98363e
Extract exceptions 2017-12-30 13:32:52 +01:00
Ivan Habunek 177af4fac9
Fix code style 2017-12-30 13:14:37 +01:00
Ivan Habunek cf9efc128a
Extract logging code 2017-12-30 13:06:24 +01:00
Ivan Habunek dfdad045f0
Add instance command 2017-12-29 14:26:40 +01:00
Ivan Habunek 1b86cdd404
Drop support for Python 2
It's hard to maintain both versions, having unicode issues in py2, etc.
2017-12-29 11:31:21 +01:00
Ivan Habunek 729498559d
Fix problem with string formatting
%d would fail if given a string
2017-11-29 16:04:35 +01:00
Ivan Habunek 62c4075fe1 Implement proper two factor authentication
fixes #19, #23
2017-08-26 14:39:53 +02:00
Ivan Habunek 7563641f54
Add commands: (un)mute, (un)block 2017-04-26 11:49:21 +02:00
Ivan Habunek 1c22eaa44f
Implement fetching posts as a generator 2017-04-21 12:57:34 +02:00
Ivan Habunek 373f26424d
Rework how commands are defined 2017-04-19 14:47:30 +02:00
Ivan Habunek 7886199295
Experimental two factor authentication support
issue #3
2017-04-18 17:16:31 +02:00
Ivan Habunek 3f44d560c8
Store access tokens for multiple instances
This makes it so an app is created only once for each instance, instead
of being re-created on each login. Prevents accumulations of authroized
apps in https://mastodon.social/oauth/authorized_applications
2017-04-18 16:16:24 +02:00
Ivan Habunek ed20c7fded
More extensive request logging 2017-04-17 11:10:57 +02:00
Ivan Habunek 64086cd0fe
Fix handling of unicode in py2 2017-04-17 09:58:36 +02:00
Ivan Habunek a666689c8d
Add whoami command 2017-04-16 17:53:02 +02:00
Ivan Habunek a493da5c84
Added follow and unfollow commands 2017-04-16 17:15:05 +02:00
Ivan Habunek 64d46955e2
Add search command 2017-04-16 15:07:27 +02:00
Ivan Habunek d53849fe4b
Extract api functions to api.py 2017-04-16 14:14:33 +02:00