aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #103 from Kjwon15/feature-asyncstreamLorenz Diener2017-11-271-0/+4
|\ | | | | Implement is_alive to async stream
| * Get current thread correctlykjwon152017-11-251-1/+1
| |
| * Implement is_alive to async streamkjwon152017-11-251-0/+4
| |
* | fix string id support to also include in_reply_to_... fieldscodl2017-11-261-6/+7
| |
* | use six instead of relying on python versioncodl2017-11-261-6/+2
|/
* Merge branch 'master' of https://github.com/halcy/Mastodon.pyLorenz Diener2017-11-241-2/+9
|\
| * Merge pull request #102 from codl/http-streamsLorenz Diener2017-11-221-2/+9
| |\ | | | | | | fix #101 by checking if the stream api uses ws:// or wss://
| | * fix #101 by checking if the stream api uses ws:// or wss://codl2017-11-221-2/+9
| | |
* | | Break streaming entirely, update docsLorenz Diener2017-11-241-4/+4
| | |
* | | Many fixes for streaming stuffLorenz Diener2017-11-243-32/+42
| | |
* | | Change exceptions slightlyLorenz Diener2017-11-243-13/+15
| | |
* | | BREAKING: Make streaming use json hooksLorenz Diener2017-11-242-25/+27
|/ /
* / ID UnpackingLorenz Diener2017-11-221-1/+112
|/
* Document local hashtag timelinesLorenz Diener2017-11-211-0/+2
|
* Added support for local hashtag timelinesLorenz Diener2017-11-211-6/+14
|
* Documented report dictsLorenz Diener2017-11-211-0/+3
|
* Documentation about visibility fixed (Fixes #55)Lorenz Diener2017-11-211-3/+3
|
* Merge branch 'master' of https://github.com/halcy/Mastodon.pyLorenz Diener2017-11-211-3/+29
|\
| * Merge pull request #99 from foozmeat/masterLorenz Diener2017-11-211-2/+3
| |\ | | | | | | Adds alt text support for media uploads
| | * Added optional media description James Moore2017-11-091-2/+3
| | | | | | | | | This works with the new alt text support in mastodon 2.0.
| * | add support for mastodon v2.0's string IDscodl2017-11-051-1/+26
| |/
* / Manually merge #94Lorenz Diener2017-11-211-14/+8
|/
* Merge pull request #93 from codl/fix-ratelimitLorenz Diener2017-10-161-30/+32
|\ | | | | fix #92, check for throttling by status code, and do it before the catchall error handler
| * fix #92, check for throttling by status code, and do it before the catchall ↵codl2017-10-041-30/+32
| | | | | | | | error handler
* | Use urlparse instead of urllib.parse for python2.7Haisenburg2017-10-081-15/+18
|/
* Merge pull request #89 from Elizafox/exception-hierarchyLorenz Diener2017-10-021-5/+13
|\ | | | | Redesign exception hierarchy
| * Redesign exception hierarchyElizabeth Myers2017-09-251-5/+13
| | | | | | | | | | | | | | | | | | | | 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.
* | Properly fix redirecting streaming endpoints.Elizabeth Myers2017-09-251-34/+17
|/ | | | Fixes #84
* Fix notifications_dismiss by passing parameter correctlyElizabeth Myers2017-09-181-1/+2
|
* Remove debugging print statementsElizabeth Myers2017-09-161-2/+0
|
* Workaround Mastodon issue with streaming API redirectionElizabeth Myers2017-09-161-1/+34
| | | | | | | | | | | | | | | | | | | 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
* fix exception in log_in, by accepting json dates as timestampscodl2017-09-101-1/+4
| | | | | | | | | | | | | 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, }
* Fix for fixLorenz Diener2017-09-081-1/+1
|
* Potential fix for #81Lorenz Diener2017-09-081-2/+2
|
* Add conversation mutingLorenz Diener2017-09-081-2/+21
|
* Add date parsingLorenz Diener2017-09-081-4/+31
|
* Add notification dismissalLorenz Diener2017-09-081-0/+7
|
* Change default ratelimit back to 300Lorenz Diener2017-09-081-2/+2
|
* Merge branch 'master' into async_streamingLorenz Diener2017-09-082-170/+233
|\
| * Clarify visibility documentationLorenz Diener2017-09-081-1/+3
| |
| * Small documentation fix for toot()Lorenz Diener2017-09-081-0/+2
| |
| * Merge branch 'master' into masterLorenz Diener2017-09-081-3/+3
| |\
| | * Send params as part of the query in GET requestslambadalambda2017-09-081-1/+1
| | | | | | | | | Using the data argument will send them form-encoded like for the other requests, which isn't parsed by many servers for GET requests.
| * | not pep8 compliant #71FoxMaSk2017-09-051-10/+16
| | |
| * | not pep8 compliant #71FoxMaSk2017-09-052-160/+204
| |/
| * Streams are requested via GET (Fixes #50)Lorenz Diener2017-09-051-1/+1
| |
| * Fix crash on URLs with no 'rel' attribute (Fixes #79)Lorenz Diener2017-09-051-0/+3
| |
| * Fix #59Lorenz Diener2017-09-051-1/+1
| |
| * Fix copy-paste errors in fetch_* methods (fixes #57)Lorenz Diener2017-09-051-3/+7
| |
| * Fix fetch_* methods modifying their parametersLorenz Diener2017-09-051-4/+4
| |
Powered by cgit v1.2.3 (git 2.41.0)