Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Workaround Mastodon issue with streaming API redirection | Elizabeth Myers | 2017-09-16 | 1 | -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.md | Lorenz Diener | 2017-09-10 | 1 | -1/+1 | |
| | | | change a single character so tag gets shoved at readthedocs | |||||
* | Changelog 1.1.1 | Lorenz Diener | 2017-09-10 | 1 | -0/+4 | |
| | ||||||
* | Maintenance release | Lorenz Diener | 2017-09-10 | 2 | -2/+2 | |
| | ||||||
* | Merge pull request #83 from codl/1.1.0-fix-log-in | Lorenz Diener | 2017-09-10 | 1 | -1/+4 | |
|\ | | | | | fix exception in log_in, by accepting json dates as timestamps | |||||
| * | fix exception in log_in, by accepting json dates as timestamps | codl | 2017-09-10 | 1 | -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.md | Lorenz Diener | 2017-09-08 | 1 | -0/+1 | |
| | | ||||||
* | | Update README.rst | Lorenz Diener | 2017-09-08 | 1 | -1/+1 | |
|/ | | | Also, please pick up on my new tag, readthedocs | |||||
* | Fix for fix | Lorenz Diener | 2017-09-08 | 1 | -1/+1 | |
| | ||||||
* | Potential fix for #81 | Lorenz Diener | 2017-09-08 | 1 | -2/+2 | |
| | ||||||
* | Prepare for release 1.1.0 | Lorenz Diener | 2017-09-08 | 2 | -3/+3 | |
| | ||||||
* | Updated development info | Lorenz Diener | 2017-09-08 | 1 | -8/+3 | |
| | ||||||
* | Update changelog | Lorenz Diener | 2017-09-08 | 1 | -0/+10 | |
| | ||||||
* | Add conversation muting | Lorenz Diener | 2017-09-08 | 2 | -2/+23 | |
| | ||||||
* | Update documentation | Lorenz Diener | 2017-09-08 | 1 | -8/+50 | |
| | ||||||
* | Add date parsing | Lorenz Diener | 2017-09-08 | 1 | -4/+31 | |
| | ||||||
* | Update docs about notifications | Lorenz Diener | 2017-09-08 | 1 | -1/+8 | |
| | ||||||
* | Add notification dismissal | Lorenz Diener | 2017-09-08 | 1 | -0/+7 | |
| | ||||||
* | Change default ratelimit back to 300 | Lorenz Diener | 2017-09-08 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #69 from Chronister/async_streaming | Lorenz Diener | 2017-09-08 | 1 | -28/+70 | |
|\ | | | | | Add async parameter to streaming API calls. | |||||
| * | Merge branch 'master' into async_streaming | Lorenz Diener | 2017-09-08 | 6 | -184/+247 | |
| |\ | |/ |/| | ||||||
* | | Clarify visibility documentation | Lorenz Diener | 2017-09-08 | 1 | -1/+3 | |
| | | ||||||
* | | Small documentation fix for toot() | Lorenz Diener | 2017-09-08 | 1 | -0/+2 | |
| | | ||||||
* | | Merge pull request #80 from foxmask/master | Lorenz Diener | 2017-09-08 | 6 | -179/+229 | |
|\ \ | | | | | | | not pep8 compliant - issue 71 | |||||
| * \ | Merge branch 'master' into master | Lorenz Diener | 2017-09-08 | 1 | -3/+3 | |
| |\ \ | |/ / |/| | | ||||||
* | | | Merge pull request #82 from lambadalambda/patch-1 | Lorenz Diener | 2017-09-08 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Send params as part of the query in GET requests | |||||
| * | | | Send params as part of the query in GET requests | lambadalambda | 2017-09-08 | 1 | -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 #71 | FoxMaSk | 2017-09-05 | 1 | -10/+16 | |
| | | | ||||||
| * | | not pep8 compliant #71 | FoxMaSk | 2017-09-05 | 6 | -174/+218 | |
|/ / | ||||||
* | | Streams are requested via GET (Fixes #50) | Lorenz Diener | 2017-09-05 | 1 | -1/+1 | |
| | | ||||||
* | | Fix crash on URLs with no 'rel' attribute (Fixes #79) | Lorenz Diener | 2017-09-05 | 1 | -0/+3 | |
| | | ||||||
* | | Fix #59 | Lorenz Diener | 2017-09-05 | 1 | -1/+1 | |
| | | ||||||
* | | Fix copy-paste errors in fetch_* methods (fixes #57) | Lorenz Diener | 2017-09-05 | 1 | -3/+7 | |
| | | ||||||
* | | Fix fetch_* methods modifying their parameters | Lorenz Diener | 2017-09-05 | 1 | -4/+4 | |
| | | ||||||
* | | Merge branch 'master' of https://github.com/halcy/Mastodon.py | Lorenz Diener | 2017-09-05 | 1 | -0/+3 | |
|\ \ | ||||||
| * \ | Merge pull request #77 from codl/patch-1 | Lorenz Diener | 2017-09-05 | 1 | -1/+1 | |
| |\ \ | | | | | | | | | setup.py: fix dateutil name | |||||
| | * | | setup.py: fix dateutil name | codl | 2017-08-23 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Merge pull request #76 from Elizafox/master | Lorenz Diener | 2017-08-21 | 1 | -0/+3 | |
| |\ \ \ | | |/ / | |/| | | Remove trailing slashes in base URL | |||||
| | * | | Remove trailing slashes in base URL | Elizabeth Myers | 2017-08-19 | 1 | -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. | |||||
* / / | Fixing setup.py | Lorenz Diener | 2017-08-21 | 1 | -1/+1 | |
|/ / | ||||||
| * | Return a one-off handle instead of the Response object | Chronister | 2017-08-13 | 1 | -28/+33 | |
| | | ||||||
| * | Add async parameter to streaming API calls. If true, calls the streaming API ↵ | Chronister | 2017-08-12 | 1 | -26/+64 | |
|/ | | | | on a separate thread and returns the Response object to the user so they can close it at their discretion. | |||||
* | Merge pull request #67 from Chronister/handle_empty_link | Lorenz Diener | 2017-08-12 | 1 | -1/+1 | |
|\ | | | | | Handle case of empty 'Link' header from server | |||||
| * | Handle case of empty 'Link' header from server | Chronister | 2017-08-11 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #65 from LogalDeveloper/clearing-notifications-patch | Lorenz Diener | 2017-08-12 | 1 | -1/+1 | |
|\ \ | |/ |/| | Fixed clearing notifications raising endpoint not found. | |||||
| * | Fixed clearing notifications raising endpoint not found. | Logan Fick | 2017-07-31 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #64 from ng-0/master | Lorenz Diener | 2017-08-01 | 1 | -1/+1 | |
|\ \ | |/ |/| | setup.py: requirements: Change "dateutils" to "dateutil". | |||||
| * | setup.py: requirements: Change "dateutils" to "dateutil". | ng0 | 2017-07-25 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #62 from theZacAttacks/patch-1 | Lorenz Diener | 2017-07-24 | 1 | -1/+1 | |
|\ | | | | | fixed incorrect rate limit number | |||||
| * | fixed incorrect rate limit number | Zac | 2017-07-11 | 1 | -1/+1 | |
| | |