aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
| * 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.
* | Return a one-off handle instead of the Response objectChronister2017-08-131-28/+33
| |
* | Add async parameter to streaming API calls. If true, calls the streaming API ↵Chronister2017-08-121-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_linkLorenz Diener2017-08-121-1/+1
|\ | | | | Handle case of empty 'Link' header from server
| * Handle case of empty 'Link' header from serverChronister2017-08-111-1/+1
| |
* | Fixed clearing notifications raising endpoint not found.Logan Fick2017-07-311-1/+1
|/
* fixed incorrect rate limit amountZac2017-07-111-2/+2
| | | related area in Mastodon code: https://github.com/tootsuite/mastodon/blob/056b5ed72f6d980bceeb49eb249b8365fe8fce66/config/initializers/rack_attack.rb#L12
* PaginationLorenz Diener2017-06-161-2/+102
|
* Auto-add protocol to URLs that do not have one. Fixes #54Lorenz Diener2017-06-151-1/+9
|
* Typo fixLorenz Diener2017-06-151-2/+2
|
* Domain blocking + documentationLorenz Diener2017-06-151-0/+29
|
* More doc fixes, instance dictionariesLorenz Diener2017-06-151-3/+3
|
* More fixes to documentationLorenz Diener2017-06-151-2/+4
|
* Small documentation adjustmentsLorenz Diener2017-06-151-4/+0
|
* Merge pull request #53 from brrzap/expand-paramsLorenz Diener2017-05-191-8/+12
|\ | | | | expand parameters in notifications/favourites/blocks/mutes
| * expand notifications/favourites/blocks/mutes arguments@brrzap2017-05-141-8/+12
| | | | | | | | * adds max_id, since_id, limit parameters to existing functions
* | Merge pull request #52 from brrzap/docfix-issue-51Lorenz Diener2017-05-191-2/+2
|\ \ | | | | | | fix doc on follow_request_{authorize,reject}
| * | fix doc on follow_request_{authorize,reject}@brrzap2017-05-091-2/+2
| |/
* / Add local_stream method for getting local streaming timeline.fumi-san2017-05-051-0/+10
|/ | | | | There was no way to get local streaming timeline. Add 'local_stream' method whose behavior is like 'public_stream' method.
* added content-type hintAlex McGivern2017-04-271-7/+12
| | | | | | fixed POST parameters for reports added handling for PATCH requests added check for missing Date header to prevent errors when testing against Puma
* account_update_credentials uses PATCH, not POSTAlex McGivern2017-04-261-1/+1
|
* Merge branch 'master' of https://github.com/halcy/Mastodon.pyAlex McGivern2017-04-261-24/+21
|\
| * Cleaned documentation up somewhatLorenz Diener2017-04-261-15/+12
| |
| * Fixed follows docsLorenz Diener2017-04-261-9/+9
| |
* | added calls for fetching instance data, status cards, filing reports, and ↵Alex McGivern2017-04-261-1/+55
|/ | | | updating the user profile
* HousekeepingLorenz Diener2017-04-261-21/+22
|
* Documentation and consistence changesLorenz Diener2017-04-261-1/+8
|
* Added some missing API methodsLorenz Diener2017-04-261-2/+19
|
* Restored python 2 compatibilityLorenz Diener2017-04-261-18/+12
|
Powered by cgit v1.2.3 (git 2.41.0)