Gráfico de commits

211 commits

Autor SHA1 Mensaje Fecha
Lorenz Diener
85ca599935 Add fields support, tests 2018-06-05 01:54:12 +02:00
Lorenz Diener
0882c91cfc Clarify streaming docs 2018-06-04 20:05:11 +02:00
Lorenz Diener
2b08e2ec83 Fix py2 compat 2018-06-04 19:56:46 +02:00
Lorenz Diener
b663394c6d Streaming error handler 2018-06-04 17:58:11 +02:00
Lorenz Diener
163fd5d3d5 Move pagination info to attributes 2018-06-04 16:48:20 +02:00
Lorenz Diener
093c207292 Add idempotency keys, documentation improvements 2018-06-04 15:40:26 +02:00
Lorenz Diener
620687a079 Add pinning/unpinning, media_update 2018-06-04 14:54:26 +02:00
Théo Le Calvar
1090d7476f Fix optional args in account_update_credentials
avatar and header are now correctly ignored if not specified.
2018-05-20 12:55:25 +02:00
Théo Le Calvar
1800a9b2c1 Fix typo in account_update_credentials
Mime type of avatar was used to guess extension of header.
2018-05-20 12:53:19 +02:00
Joel Gil Leon
8052b04446 update constructor to support access_token only 2018-05-19 16:04:15 +03:00
Lorenz Diener
8d5fe70c7e Fix some bugs, update tests 2018-05-07 00:53:13 +02:00
Lorenz Diener
c0a0c8f517 Add focal points 2018-05-06 18:00:07 +02:00
Lorenz Diener
d633df28f7 Add only_media parameter to timelines 2018-05-06 17:46:23 +02:00
Lorenz Diener
ca0ea36c6e
Merge branch 'master' into stream-timeout 2018-05-06 15:55:32 +02:00
Lorenz Diener
ba2fccc1cf Add lists tests and fix a bug 2018-05-06 15:42:38 +02:00
Lorenz Diener
4088e16dec Fix daemonization in python 2 2018-05-06 01:45:02 +02:00
Lorenz Diener
ad6b8eeb04 Switch to using requests Session objects 2018-05-06 01:36:48 +02:00
codl
06e32c14bc
raise MastodonReadTimeout when a stream times out 2018-04-19 17:10:42 +02:00
Lorenz Diener
a825905b57 Fix several bugs 2018-04-18 21:56:36 +02:00
Lorenz Diener
a1ecd2d664 Raise last changed version on instance() 2018-04-17 18:02:55 +02:00
Lorenz Diener
5f44998dd2 First steps to 2.3.0 support 2018-04-17 17:49:08 +02:00
Lorenz Diener
78d3b3a5df Fix for the fix 2018-04-17 17:24:46 +02:00
Lorenz Diener
087c49b199 Small fix to account_search 2018-04-17 17:21:16 +02:00
Lorenz Diener
2afc50c803
Merge branch 'master' into stream-timeout 2018-04-17 16:06:00 +02:00
Lorenz Diener
864c83fa2f Rename async to run_async, fixes #120 2018-04-17 15:38:21 +02:00
Lorenz Diener
d5efea7238 Make imports better (fixes #129) 2018-04-17 15:27:41 +02:00
Lorenz Diener
eb336a30c2 Add is_receiving: 2018-04-17 14:59:45 +02:00
Lorenz Diener
6d4490295a Nicen up reconnect waiting 2018-04-17 14:55:31 +02:00
Lorenz Diener
d0ae9dcd05 Add async autoreconnect 2018-04-17 14:35:09 +02:00
codl
06a7a875fe
add timeouts to streams (GH-127) 2018-04-08 23:07:08 +02:00
Lorenz Diener
86ec5d7eca Re-raise Chunked Encoding Errors as Network Errors 2018-02-20 14:04:17 +01:00
Robert Mock
365ebf3ad9
Fix 500 from status_post capitalized visibilities
The validator for the 'visibility' parameter lower()s it before verifying, but this means that "direct", "Direct", and "dIRECT" all pass validation. However, passing in 'Direct' (at least, to my instance) throws `mastodon.Mastodon.MastodonAPIError: ('Mastodon API returned error', 500, 'Internal Server Error', None)`. This corrects the parameter in-place.
2018-02-11 15:30:58 -08:00
Noëlle Anthony
dd587bb403
Update Mastodon.py
Modified docstring slightly; added type checking for media_ids in the status_post() method. If media_ids is not a list or tuple, put it into a list before parsing it.
2018-02-02 13:46:47 -05:00
Noëlle Anthony
83daab6e31
Update Mastodon.py documentation for status_post()
Updated the docstring for the status_post method to more clearly indicate that the *media_id* argument must be a list even when passing in media dicts returned by *media_post*. (This inclarity cost me quite a bit of debugging this evening.)
2018-02-01 18:57:59 -05:00
Lorenz Diener
c1a6772247 Bump supported version in docs, code to 2.2.0 2018-01-29 14:26:05 +01:00
Lorenz Diener
be014bb88a Fix typo that made test break 2018-01-29 14:18:23 +01:00
Lorenz Diener
569a13ee80 Add 2.1.2 functions 2018-01-29 14:14:58 +01:00
Lorenz Diener
838b851331 Fix get_supported_version() 2018-01-29 13:39:47 +01:00
Lorenz Diener
216a4447b4 Fixed event not being cleared after dispatch 2018-01-29 12:28:44 +01:00
Lorenz Diener
791439d96b Remove state from handle_stream, fixes #119 2018-01-29 12:24:53 +01:00
codl
e97dec7306
subclass api errors 2018-01-03 11:34:45 +01:00
Lorenz Diener
18543648a6 Adjust streaming tests 2017-12-21 11:06:13 +01:00
Lorenz Diener
08a0e5ff67 Daemonize streams 2017-12-19 15:06:44 +01:00
Lorenz Diener
9f9a7826d7 Fix streaming API to be more stable (closes #117) 2017-12-19 13:49:00 +01:00
Lorenz Diener
e5c50ea80d Fix missing async in hashtag/list streams 2017-12-19 11:04:53 +01:00
Lorenz Diener
f55ff45393 Prepare release, part 2 2017-12-15 20:26:25 +01:00
Lorenz Diener
e97bb44c86 Update changelog (preliminary) 2017-12-14 15:09:54 +01:00
Lorenz Diener
301d719b83 Fix some problems with attribute access 2017-12-14 13:54:31 +01:00
Lorenz Diener
20c1d95b45 Fix version check 2017-12-14 13:32:52 +01:00
Lorenz Diener
5a94c46bb4 Change default version check behaviour 2017-12-14 13:29:42 +01:00