Joel Gil Leon
cbcf3b1237
Revert "all constructor arguments optional, maintain backward compatibility"
...
This reverts commit afc6158385
.
2018-05-14 19:24:14 +03:00
Joel Gil Leon
afc6158385
all constructor arguments optional, maintain backward compatibility
2018-05-14 19:07:46 +03:00
Joel Gil Leon
2a92376d9b
added .buildconfig (autogen from gnome-builder) to gitignore
2018-05-14 19:06:40 +03:00
Lorenz Diener
5c95ca291e
Add a note about streaming tests
2018-05-07 00:55:13 +02: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
65cca26297
Document fractional frame rates
2018-05-06 16:02:26 +02:00
Lorenz Diener
ccfa3fb798
Update DEVELOPMENT.md
2018-05-06 16:02:23 +02:00
Lorenz Diener
1a62b6a5a6
Merge pull request #128 from codl/stream-timeout
...
add timeouts to streams
2018-05-06 15:58:37 +02:00
Lorenz Diener
ca0ea36c6e
Merge branch 'master' into stream-timeout
2018-05-06 15:55:32 +02:00
Lorenz Diener
fbd4122fec
Add emoji test
2018-05-06 15:52:55 +02:00
Lorenz Diener
ba2fccc1cf
Add lists tests and fix a bug
2018-05-06 15:42:38 +02:00
Lorenz Diener
bb92f76e61
Refresh casettes and add some new ones
2018-05-06 03:02:19 +02:00
Lorenz Diener
3676e43f11
Add reports test
2018-05-06 02:58:43 +02:00
Lorenz Diener
4b00c448f4
Add another bunch of tests
2018-05-06 02:50:54 +02:00
Lorenz Diener
f8e209f6ff
Add more tests
2018-05-06 02:26:19 +02:00
Lorenz Diener
f34a1803a3
Merge branch 'master' of https://github.com/halcy/Mastodon.py
2018-05-06 02:05:37 +02:00
Lorenz Diener
9e368f3814
Add more streaming tests
2018-05-06 02:05:08 +02:00
Lorenz Diener
3864bbe085
More streaming tests
2018-05-06 02:00:18 +02:00
Lorenz Diener
d2800d8f14
Update MANIFEST.in
2018-05-06 01:46:42 +02:00
Lorenz Diener
4088e16dec
Fix daemonization in python 2
2018-05-06 01:45:02 +02:00
Lorenz Diener
de29029037
Add casette for test_stream_user
2018-05-06 01:41:50 +02:00
Lorenz Diener
a15d28d9d6
Testing updates, can now test streaming API
2018-05-06 01:37:13 +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
b9ffcd58c5
Attempt 3 at fixing the tests
2018-04-18 22:11:32 +02:00
Lorenz Diener
bc7b9defe8
Attempt 2 at fixing the tests for travis
2018-04-18 22:07:03 +02:00
Lorenz Diener
64ec9e2098
Update the tests
2018-04-18 22:00:35 +02:00
Lorenz Diener
a825905b57
Fix several bugs
2018-04-18 21:56:36 +02:00
Lorenz Diener
d9f7442989
Update DEVELOPMENT.md
2018-04-17 18:19:30 +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
b01edc49ee
Improve docs again
2018-04-17 16:15:54 +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
dd5f4ae08a
Document streaming error handling
2018-04-17 15:22:07 +02:00
Lorenz Diener
400faadc0d
Document new async behaviour a bit
2018-04-17 15:10:40 +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
Lorenz Diener
d98a3546a3
Merge pull request #124 from bowlercaptain/patch-1
...
Fix 500 from status_post capitalized visibilities
2018-02-12 15:30:23 +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
Lorenz Diener
ac0edd022f
Merge pull request #121 from joyeusenoelle/patch-1
...
Update Mastodon.py documentation for status_post()
2018-02-02 23:31:44 +01: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