aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix #92, check for throttling by status code, and do it before the catchall ↵codl2017-10-041-30/+32
| | | | | | | | error handler
* | Merge pull request #96 from ragingscholar/masterLorenz Diener2017-10-161-15/+18
|\ \ | |/ |/| Use urlparse instead of urllib.parse for python2.7
| * Use urlparse instead of urllib.parse for python2.7Haisenburg2017-10-081-15/+18
|/
* Merge pull request #89 from Elizafox/exception-hierarchyLorenz Diener2017-10-022-6/+19
|\ | | | | Redesign exception hierarchy
| * Redesign exception hierarchyElizabeth Myers2017-09-252-6/+19
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #88 from Elizafox/masterLorenz Diener2017-10-021-34/+17
|\ \ | |/ |/| Properly fix redirecting streaming endpoints.
| * Properly fix redirecting streaming endpoints.Elizabeth Myers2017-09-251-34/+17
|/ | | | Fixes #84
* Merge pull request #86 from Elizafox/masterLorenz Diener2017-09-251-1/+2
|\ | | | | Fix notifications_dismiss by passing parameter correctly
| * Fix notifications_dismiss by passing parameter correctlyElizabeth Myers2017-09-181-1/+2
| |
* | Merge pull request #85 from Elizafox/masterLorenz Diener2017-09-171-1/+32
|\| | | | | Workaround Mastodon issue with streaming API redirection
| * 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
* Update DEVELOPMENT.mdLorenz Diener2017-09-101-1/+1
| | | change a single character so tag gets shoved at readthedocs
* Changelog 1.1.1Lorenz Diener2017-09-101-0/+4
|
* Maintenance releaseLorenz Diener2017-09-102-2/+2
|
* Merge pull request #83 from codl/1.1.0-fix-log-inLorenz Diener2017-09-101-1/+4
|\ | | | | fix exception in log_in, by accepting json dates as timestamps
| * 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, }
* | Update DEVELOPMENT.mdLorenz Diener2017-09-081-0/+1
| |
* | Update README.rstLorenz Diener2017-09-081-1/+1
|/ | | Also, please pick up on my new tag, readthedocs
* Fix for fixLorenz Diener2017-09-081-1/+1
|
* Potential fix for #81Lorenz Diener2017-09-081-2/+2
|
* Prepare for release 1.1.0Lorenz Diener2017-09-082-3/+3
|
* Updated development infoLorenz Diener2017-09-081-8/+3
|
* Update changelogLorenz Diener2017-09-081-0/+10
|
* Add conversation mutingLorenz Diener2017-09-082-2/+23
|
* Update documentationLorenz Diener2017-09-081-8/+50
|
* Add date parsingLorenz Diener2017-09-081-4/+31
|
* Update docs about notificationsLorenz Diener2017-09-081-1/+8
|
* Add notification dismissalLorenz Diener2017-09-081-0/+7
|
* Change default ratelimit back to 300Lorenz Diener2017-09-081-2/+2
|
* Merge pull request #69 from Chronister/async_streamingLorenz Diener2017-09-081-28/+70
|\ | | | | Add async parameter to streaming API calls.
| * Merge branch 'master' into async_streamingLorenz Diener2017-09-086-184/+247
| |\ | |/ |/|
* | Clarify visibility documentationLorenz Diener2017-09-081-1/+3
| |
* | Small documentation fix for toot()Lorenz Diener2017-09-081-0/+2
| |
* | Merge pull request #80 from foxmask/masterLorenz Diener2017-09-086-179/+229
|\ \ | | | | | | not pep8 compliant - issue 71
| * \ Merge branch 'master' into masterLorenz Diener2017-09-081-3/+3
| |\ \ | |/ / |/| |
* | | Merge pull request #82 from lambadalambda/patch-1Lorenz Diener2017-09-081-1/+1
|\ \ \ | | | | | | | | Send params as part of the query in GET requests
| * | | 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-056-174/+218
|/ /
* | 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
| |
* | Merge branch 'master' of https://github.com/halcy/Mastodon.pyLorenz Diener2017-09-051-0/+3
|\ \
| * \ Merge pull request #77 from codl/patch-1Lorenz Diener2017-09-051-1/+1
| |\ \ | | | | | | | | setup.py: fix dateutil name
| | * | setup.py: fix dateutil namecodl2017-08-231-1/+1
| | | |
| * | | Merge pull request #76 from Elizafox/masterLorenz Diener2017-08-211-0/+3
| |\ \ \ | | |/ / | |/| | Remove trailing slashes in base URL
| | * | Remove trailing slashes in base URLElizabeth Myers2017-08-191-0/+3
| |/ / | | | | | | | | | | | | | | | The streaming API can't handle multiple slashes in the lead of a path request. This is probably a bug in Mastodon, but should be worked around here for now.
Powered by cgit v1.2.3 (git 2.41.0)