codl
ee802d39d0
add tests for constructor
2017-11-27 15:18:18 +01:00
codl
de17b86f0f
typo
2017-11-27 14:56:07 +01:00
codl
adc75c4697
add a test for accessing a tl that one does not have access to
2017-11-27 14:35:56 +01:00
codl
304145f442
rename mastodon and mastodon_anonymous fixtures to api, api_anonymous
...
it was starting to get confusing
2017-11-27 14:35:02 +01:00
codl
cfc9c1ce0c
add timeline tests
2017-11-27 14:20:31 +01:00
codl
765db0fc81
move fixtures.py to standardized location conftest.py
2017-11-27 14:20:31 +01:00
codl
d09d27cdd2
add a test for instance
2017-11-27 03:12:02 +01:00
codl
4b60a0d3cf
add tests for json hooks
...
including a failing test for that thing i fixed earlier which isn't
in this branch 😓
2017-11-27 03:12:02 +01:00
codl
430bebc124
add codecov
2017-11-27 00:47:00 +01:00
codl
9c490fc387
add .travis.yml
2017-11-27 00:44:54 +01:00
codl
b993878100
add coverage reports to tests
2017-11-27 00:39:53 +01:00
Lorenz Diener
d32d770888
Add emoji support to changelog
2017-11-21 14:56:30 +01:00
Lorenz Diener
dc4eec7289
Version bump
2017-11-21 14:53:32 +01:00
Lorenz Diener
7771b27b72
Document local hashtag timelines
2017-11-21 14:47:13 +01:00
Lorenz Diener
32f8b8bed9
Added support for local hashtag timelines
2017-11-21 14:46:43 +01:00
Lorenz Diener
e1a1592575
Documented report dicts
2017-11-21 14:33:04 +01:00
Lorenz Diener
c072b2e247
Fix documentation writing style
2017-11-21 14:24:02 +01:00
Lorenz Diener
962212c575
Emoji dict documentation
2017-11-21 14:22:58 +01:00
Lorenz Diener
e31b9441f8
Documentation about visibility fixed ( Fixes #55 )
2017-11-21 13:59:50 +01:00
Lorenz Diener
39548ffe98
Merge branch 'master' of https://github.com/halcy/Mastodon.py
2017-11-21 13:57:21 +01:00
Lorenz Diener
56ec90f17c
Merge pull request #99 from foozmeat/master
...
Adds alt text support for media uploads
2017-11-21 13:57:03 +01:00
Lorenz Diener
e3b72e4431
Merge pull request #98 from codl/v2-compat
...
mastodon v2.0+ compatibility
2017-11-21 13:55:57 +01:00
Lorenz Diener
d303afefc8
Manually merge #94
2017-11-21 13:53:42 +01:00
James Moore
611d335780
Merge pull request #1 from foozmeat/foozmeat-alt-text-patch
...
Added optional media description
2017-11-09 11:56:05 -08:00
James Moore
23d57587e4
Added optional media description
...
This works with the new alt text support in mastodon 2.0.
2017-11-09 11:55:13 -08:00
codl
c7641d71d0
update supported version in docs
2017-11-05 14:18:00 +01:00
codl
6b5deb4898
add support for mastodon v2.0's string IDs
2017-11-05 14:17:49 +01:00
Lorenz Diener
61552f9f84
Merge pull request #93 from codl/fix-ratelimit
...
fix #92 , check for throttling by status code, and do it before the catchall error handler
2017-10-16 11:19:49 +02:00
Lorenz Diener
186b7135ff
Merge pull request #96 from ragingscholar/master
...
Use urlparse instead of urllib.parse for python2.7
2017-10-16 11:19:05 +02:00
Haisenburg
9a7efa3657
Use urlparse instead of urllib.parse for python2.7
2017-10-08 03:50:19 +08:00
codl
0ff6abf2f4
fix #92 , check for throttling by status code, and do it before the catchall error handler
2017-10-04 16:08:21 +02:00
Lorenz Diener
b18b6f201b
Merge pull request #89 from Elizafox/exception-hierarchy
...
Redesign exception hierarchy
2017-10-02 10:13:23 +02:00
Lorenz Diener
15fe471df3
Merge pull request #88 from Elizafox/master
...
Properly fix redirecting streaming endpoints.
2017-10-02 10:12:13 +02:00
Elizabeth Myers
c64617ee94
Redesign exception hierarchy
...
All Mastodon.py errors now derive from MastodonError, for easier
catching in application code that just wants to see if something
happened, and isn't too miffed about the details.
I/O Errors derive from MastodonIOError, for similar reasons.
This change is designed to be backwards compatible.
2017-09-25 19:11:16 -05:00
Elizabeth Myers
9ec0655365
Properly fix redirecting streaming endpoints.
...
Fixes #84
2017-09-25 18:01:41 -05:00
Lorenz Diener
6ab283d17e
Merge pull request #86 from Elizafox/master
...
Fix notifications_dismiss by passing parameter correctly
2017-09-25 13:24:53 +02:00
Elizabeth Myers
67018b2249
Fix notifications_dismiss by passing parameter correctly
2017-09-18 09:59:35 -05:00
Lorenz Diener
b6b503a1a9
Merge pull request #85 from Elizafox/master
...
Workaround Mastodon issue with streaming API redirection
2017-09-17 18:00:38 +02:00
Elizabeth Myers
5b90a3c830
Remove debugging print statements
2017-09-16 10:09:32 -05:00
Elizabeth Myers
6067aa4604
Workaround Mastodon issue with streaming API redirection
...
Mastodon can be configured to use another address for streaming
server-side. Such a setup is common with certain deployments.
However, due to a bug, Mastodon does not properly issue HTTP redirects
for anything but the endpoint /api/v1/streaming (including subdirs). It
instead gives a 404, causing the request to fail.
The workaround is to hit this path first, checking for any redirects,
and modifying the URL accordingly.
This commit also includes a workaround for behaviour in requests that
causes it to strip the Authorization header from redirected requests.
This is intentional behaviour on the part of requests, but breaks the
redirection done by Mastodon.
Fixes #84
2017-09-16 10:05:44 -05:00
Lorenz Diener
99249d153b
Update DEVELOPMENT.md
...
change a single character so tag gets shoved at readthedocs
2017-09-10 23:33:56 +02:00
Lorenz Diener
9847d9b2c0
Changelog 1.1.1
2017-09-10 23:27:35 +02:00
Lorenz Diener
4b7174faca
Maintenance release
2017-09-10 17:05:57 +02:00
Lorenz Diener
bd855a931c
Merge pull request #83 from codl/1.1.0-fix-log-in
...
fix exception in log_in, by accepting json dates as timestamps
2017-09-10 17:00:27 +02:00
codl
92dd24450d
fix exception in log_in, by accepting json dates as timestamps
...
when requesting a bearer token, mastodon (more specifically doorkeeper)
returns an object with a created_at attribute which is a plain timestamp
unlike in most of mastodon's api:
{
"access_token": "hunter2",
"token_type": "bearer",
"scope": "read write",
"created_at": 1504824250,
}
2017-09-10 12:23:54 +02:00
Lorenz Diener
1af914c8b8
Update DEVELOPMENT.md
2017-09-08 18:43:54 +02:00
Lorenz Diener
d7e7df3f9e
Update README.rst
...
Also, please pick up on my new tag, readthedocs
2017-09-08 17:45:22 +02:00
Lorenz Diener
7ded08fd84
Fix for fix
2017-09-08 16:41:39 +02:00
Lorenz Diener
419bedc55a
Potential fix for #81
2017-09-08 16:40:43 +02:00
Lorenz Diener
a93a1abcd3
Prepare for release 1.1.0
2017-09-08 16:38:03 +02:00