aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add test for auth_request_urlcodl2017-11-271-0/+16
|
* constructor tests: create credential files at runtimecodl2017-11-273-6/+7
|
* use pytest tmpdir fixture instead of making our own temp filecodl2017-11-271-9/+4
|
* move test credential files to /tests/codl2017-11-273-2/+2
| | | | i didnt even realise i put them there whoops
* travis: only notify when a build starts failing, not every timecodl2017-11-271-0/+4
|
* travis: codecov should be in after_scriptcodl2017-11-271-3/+2
|
* travis: cache pipcodl2017-11-271-0/+2
|
* fix: os.open cannot handle file descriptors on python 2.xcodl2017-11-271-1/+1
|
* add tests for create_appcodl2017-11-272-1/+48
|
* update public tl test to also test local tlcodl2017-11-272-36/+98
|
* add tests for constructorcodl2017-11-273-0/+24
|
* typocodl2017-11-271-1/+1
|
* add a test for accessing a tl that one does not have access tocodl2017-11-272-0/+34
|
* rename mastodon and mastodon_anonymous fixtures to api, api_anonymouscodl2017-11-274-27/+27
| | | | it was starting to get confusing
* add timeline testscodl2017-11-276-0/+464
|
* move fixtures.py to standardized location conftest.pycodl2017-11-273-4/+2
|
* add a test for instancecodl2017-11-272-0/+38
|
* add tests for json hookscodl2017-11-278-1/+432
| | | | | including a failing test for that thing i fixed earlier which isn't in this branch 😓
* add codecovcodl2017-11-271-2/+6
|
* add .travis.ymlcodl2017-11-271-0/+7
|
* add coverage reports to testscodl2017-11-272-1/+4
|
* Add emoji support to changelogLorenz Diener2017-11-211-0/+1
|
* Version bumpLorenz Diener2017-11-214-3/+12
|
* 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-212-0/+17
|
* Fix documentation writing styleLorenz Diener2017-11-211-1/+1
|
* Emoji dict documentationLorenz Diener2017-11-211-4/+16
|
* Documentation about visibility fixed (Fixes #55)Lorenz Diener2017-11-211-3/+3
|
* Merge branch 'master' of https://github.com/halcy/Mastodon.pyLorenz Diener2017-11-213-5/+31
|\
| * Merge pull request #99 from foozmeat/masterLorenz Diener2017-11-211-2/+3
| |\ | | | | | | Adds alt text support for media uploads
| | * Merge pull request #1 from foozmeat/foozmeat-alt-text-patchJames Moore2017-11-091-2/+3
| | |\ | | | | | | | | Added optional media description
| | | * Added optional media description James Moore2017-11-091-2/+3
| | |/ | | | | | | This works with the new alt text support in mastodon 2.0.
| * | Merge pull request #98 from codl/v2-compatLorenz Diener2017-11-213-3/+28
| |\ \ | | |/ | |/| mastodon v2.0+ compatibility
| | * update supported version in docscodl2017-11-052-2/+2
| | |
| | * 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
* | 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
Powered by cgit v1.2.3 (git 2.41.0)