Commit Graph

102 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 a50ffe62c3
Extract auth code to own file, add some tests 2017-12-30 13:05:47 +01:00
Ivan Habunek 787e0d28b4
Move printing logic to output 2017-12-29 14:42:51 +01:00
Ivan Habunek dfdad045f0
Add instance command 2017-12-29 14:26:40 +01:00
Ivan Habunek 5c0a797b66
Don't put the README into long_description
formatting of the RST is flaky on pypi and looks bad in the debian
package description.
2017-12-29 12:10:40 +01:00
Ivan Habunek 609c432e68
Remove login_2fa command
It was a hacky way to log with 2fa without using a browser, but did not
work on half the instances. login_browser now exists and should be used
instead.
2017-12-29 12:08:51 +01:00
Ivan Habunek b0e556a07b
Update changelog 2017-12-29 11:31:22 +01:00
Ivan Habunek 8d2cdd5288
Fix license in setup.py 2017-12-29 11:31:21 +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 38b6a475ca
Update the thankyou note 2017-12-28 16:36:09 +01:00
Ivan Habunek 42935da291
Add thank you note to Klemens 2017-12-28 11:00:53 +01:00
Klemens Nanni 6ceac96e3a
Update README: Add instructions for OpenBSD 2017-12-28 10:42:44 +01:00
Ivan Habunek 05de52ce80
Bump version 2017-12-12 11:12:59 +01:00
Ivan Habunek 3f6afaec5c
Merge pull request #34 from veer66/master
Avoid displaying toot URL when it is None, in order to fix issue #33
2017-12-12 11:09:31 +01:00
Vee Satayamas 4b4b415986 Avoid displaying toot URL when it is None, in order to prevent crashing (Fix issue #33) 2017-12-10 21:59:25 +07: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 209b3f5403
Update make clean to delete generated packages 2017-11-29 16:04:35 +01:00
Ivan Habunek e5d48c36ad
Remove unicode from README 2017-11-19 21:49:31 +01:00
Ivan Habunek 8a1a1353ab
Merge pull request #31 from rjc/patch-1
Fix two simple typos
2017-11-19 21:34:26 +01:00
rjc 0bea150d43
Fix two simply typos
Mastodon is a *single* federated social network - albeit decentralised with multiple independent servers.

The 2nd typo is insignificant as the `.list` file can be named anything but I thought you'd like consistency :^)
2017-11-19 19:17:14 +00:00
Ivan Habunek 46a2a6e8ca Bump version 2017-09-09 09:58:26 +02:00
Ivan Habunek 007d5539fa Fix Windows compatibility
Don't load curses until required. Since it's not available on windows,
importing the module early broke the whole app.

issue #18
2017-09-09 09:54:13 +02:00
Ivan Habunek 9097623535 Bump version, update readme and changelog 2017-09-07 15:01:04 +02:00
Ivan Habunek f2d1072f19 Fix for building debian pkgs 2017-09-03 00:00:04 +02:00
Ivan Habunek cb7f6ec7ce Update README 2017-08-29 14:10:46 +02:00
Ivan Habunek 0ed906268c Add debian packaging 2017-08-26 15:56:41 +02:00
Ivan Habunek e4c3a85045 Add --debug option to replace TOOT_DEBUG env 2017-08-26 15:12:32 +02:00
Ivan Habunek 3b13c49142 Bump version 2017-08-26 14:42:10 +02:00
Ivan Habunek 62c4075fe1 Implement proper two factor authentication
fixes #19, #23
2017-08-26 14:39:53 +02:00
Ivan Habunek cebc88d329 Configure flake8 2017-08-26 11:53:45 +02:00
Ivan Habunek ea48c79c5c Fix license shield in readme 2017-08-26 11:35:38 +02:00
Ivan Habunek fff5c8bc98 Allow passing instance and email to login command 2017-08-26 11:34:32 +02:00
Ivan Habunek 65da61b8b6
Bump version 2017-05-08 09:17:42 +02:00
Ivan Habunek beb4b744d7
Change license to GPLv3 2017-05-08 09:17:32 +02:00
Ivan Habunek e46a817f09
Exit with nonzero code on error
fixes #14
2017-05-08 09:11:20 +02:00
Ivan Habunek 39c2cc661d
Rework how colors are shown in the commandline
Add an option to disable colors.

fixes #15
2017-05-08 09:09:20 +02:00
Ivan Habunek edf657ba5b
Bump version 2017-05-07 10:44:24 +02:00
Ivan Habunek 661d35675a
Nicer account output 2017-05-07 10:42:31 +02:00
Ivan Habunek 6766cf83b4
Search only accounts when looking for users
Instead of using general search.
2017-05-07 10:42:04 +02:00
Ivan Habunek 02e364b521
Don't add stdin contents to arguments if empty
fixes #11
2017-05-07 10:28:11 +02:00
Ivan Habunek 0198bd3af7
Group commands contextually in print_help 2017-04-26 12:12:31 +02:00
Ivan Habunek a57cb5d251
Bump version 2017-04-26 11:51:49 +02:00
Ivan Habunek 7563641f54
Add commands: (un)mute, (un)block 2017-04-26 11:49:21 +02:00
Ivan Habunek 3a1d7e17aa
Proper way of getting next values in a generator 2017-04-26 11:25:12 +02:00
Ivan Habunek 0c4a5f3aaf
Move requirements to requirements.txt 2017-04-26 11:16:22 +02:00
Ivan Habunek acda7cbb94
Don't use ~= operator for defining dependancies
It's not supported in older versions of pip and causes problems.

issue #8
issue #10
2017-04-26 11:07:43 +02:00
Ivan Habunek 47b6a830a1
Rework status content wrapping 2017-04-26 11:01:28 +02:00
Ivan Habunek f816c6adfe
Clear pyc files on `make clean` 2017-04-24 16:24:52 +02:00