Gráfico de commits

180 commits

Autor SHA1 Mensaje Fecha
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
Lorenz Diener
af81088fb0 Make attribute-style access better 2017-12-14 13:16:28 +01:00
Lorenz Diener
12f8a68996 Add dict attribute access 2017-12-14 12:52:33 +01:00
Lorenz Diener
16564c42b8 Fix account_statuses breakage 2017-12-14 11:17:18 +01:00
Lorenz Diener
58dfdfaec5 Add supported version in a place where python can read it 2017-12-14 00:37:19 +01:00
Lorenz Diener
94fb509bac Merge branch 'master' of https://github.com/halcy/Mastodon.py 2017-12-14 00:27:45 +01:00
Lorenz Diener
e9d7a3e24a Add last-changed versioning 2017-12-14 00:27:34 +01:00
Lorenz Diener
b03b35a32a
Delete .Mastodon.py.kate-swp 2017-12-13 22:51:02 +01:00
Lorenz Diener
afaab2b874 Document list endpoints 2017-12-13 22:33:29 +01:00
Lorenz Diener
0b5c0ae5cc Add remaining list endpoints 2017-12-13 22:16:10 +01:00
Lorenz Diener
b840766ed7 Add more list endpoints 2017-12-13 21:16:02 +01:00
Lorenz Diener
7cf813b974 Added account_lists(broken) 2017-12-13 18:59:32 +01:00
Lorenz Diener
c9cc873714 Add information about unauthenticated methods 2017-12-13 18:45:28 +01:00
Lorenz Diener
7d2f244126 Add internal links in docs 2017-12-13 18:40:17 +01:00
Lorenz Diener
d7d8f153a3 Update docs for search function 2017-12-13 17:55:14 +01:00
Lorenz Diener
48d54effc8 Add lists endpoint 2017-12-13 17:47:50 +01:00
Lorenz Diener
7ed769b37a Add list streaming 2017-12-13 17:26:44 +01:00
Lorenz Diener
75aebac744 Add custom_emojis 2017-12-13 17:17:42 +01:00
Lorenz Diener
c06baa13b3 Update verify_credentials docs 2017-12-13 17:11:45 +01:00
Lorenz Diener
ce5b0ca576 Update docs, fixes #106 2017-12-11 15:30:24 +01:00
Lorenz Diener
fad615b8d6 Fix versioning functionality more, explicit version check 2017-12-11 14:34:51 +01:00
Lorenz Diener
a93f051b5e Fix instance() 2017-12-11 14:22:35 +01:00
Lorenz Diener
0b701ca6ac Make the version check be not wrong 2017-12-11 14:18:54 +01:00
Lorenz Diener
3bf2299e7e Make decorated functions actually return things 2017-12-11 14:02:57 +01:00
Lorenz Diener
9acfb0d3d8 Versioning fixes 2017-12-11 14:00:14 +01:00
Lorenz Diener
d87ff6d490 Version all endpoints where such a thing makes sense 2017-12-11 12:33:30 +01:00
Lorenz Diener
3ba917d363 Add versionind decorator 2017-12-11 11:49:14 +01:00
codl
050077e97a
fix #111 2017-11-29 22:16:53 +01:00
Lorenz Diener
a7e2caa369 Check hashtags in streaming API 2017-11-29 18:04:54 +01:00
Lorenz Diener
c5970d10f9 Fix the thing I previously broke
lets pretend I was just testing the CI okay
2017-11-29 17:57:04 +01:00
Lorenz Diener
1c64c39701 add hashtag leading # detection, closes #105 2017-11-29 17:54:27 +01:00
Lorenz Diener
32adb8ce4b
Merge pull request #103 from Kjwon15/feature-asyncstream
Implement is_alive to async stream
2017-11-27 13:50:31 +01:00