Gráfico de commits

85 commits

Autor SHA1 Mensaje Fecha
FoxMaSk
e0e68ccd6a not pep8 compliant #71 2017-09-05 22:59:32 +02:00
Lorenz Diener
c8490be2a7 Streams are requested via GET (Fixes #50) 2017-09-05 16:45:24 +02:00
Lorenz Diener
1c93e350f7 Fix crash on URLs with no 'rel' attribute (Fixes #79) 2017-09-05 16:39:17 +02:00
Lorenz Diener
87ee1df1c0 Fix #59 2017-09-05 16:36:32 +02:00
Lorenz Diener
613ad895c8 Fix copy-paste errors in fetch_* methods (fixes #57) 2017-09-05 16:33:13 +02:00
Lorenz Diener
02d9f5196c Fix fetch_* methods modifying their parameters 2017-09-05 16:19:27 +02:00
Elizabeth Myers
a76eafbd46 Remove trailing slashes in base URL
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.
2017-08-19 05:49:08 -05:00
Lorenz Diener
fccc4e1986 Merge pull request #67 from Chronister/handle_empty_link
Handle case of empty 'Link' header from server
2017-08-12 12:44:56 +02:00
Chronister
4efebe2c9f Handle case of empty 'Link' header from server 2017-08-11 17:40:04 -07:00
Logan Fick
5943038be3
Fixed clearing notifications raising endpoint not found. 2017-07-31 00:29:45 -04:00
Zac
71791ccd1d fixed incorrect rate limit amount
related area in Mastodon code: 056b5ed72f/config/initializers/rack_attack.rb (L12)
2017-07-11 22:53:01 -04:00
Lorenz Diener
d4b37995fe Pagination 2017-06-16 01:23:19 +02:00
Lorenz Diener
df98fc263e Auto-add protocol to URLs that do not have one. Fixes #54 2017-06-15 23:34:11 +02:00
Lorenz Diener
5e0cf05330 Typo fix 2017-06-15 23:15:38 +02:00
Lorenz Diener
aa3e678c7b Domain blocking + documentation 2017-06-15 23:13:34 +02:00
Lorenz Diener
b57b66ebb5 More doc fixes, instance dictionaries 2017-06-15 22:48:23 +02:00
Lorenz Diener
d5bb2418a9 More fixes to documentation 2017-06-15 22:32:17 +02:00
Lorenz Diener
03e19e3655 Small documentation adjustments 2017-06-15 20:48:59 +02:00
Lorenz Diener
5ed78fbe83 Merge pull request #53 from brrzap/expand-params
expand parameters in notifications/favourites/blocks/mutes
2017-05-19 10:08:57 +02:00
Lorenz Diener
3031906743 Merge pull request #52 from brrzap/docfix-issue-51
fix doc on follow_request_{authorize,reject}
2017-05-19 10:08:40 +02:00
@brrzap
7df35c4807 expand notifications/favourites/blocks/mutes arguments
* adds max_id, since_id, limit parameters to existing functions
2017-05-14 01:24:46 -04:00
@brrzap
14589563bb fix doc on follow_request_{authorize,reject} 2017-05-09 01:43:48 -04:00
fumi-san
c57ad7f6b9 Add local_stream method for getting local streaming timeline.
There was no way to get local streaming timeline.
Add 'local_stream' method whose behavior is like 'public_stream' method.
2017-05-05 17:23:12 +09:00
Alex McGivern
91e5388dae added content-type hint
fixed POST parameters for reports
added handling for PATCH requests
added check for missing Date header to prevent errors when testing against Puma
2017-04-27 00:21:32 +01:00
Alex McGivern
973182cda0 account_update_credentials uses PATCH, not POST 2017-04-26 23:13:49 +01:00
Alex McGivern
00998d6d46 Merge branch 'master' of https://github.com/halcy/Mastodon.py 2017-04-26 13:13:17 +01:00
Alex McGivern
911fcc733c added calls for fetching instance data, status cards, filing reports, and updating the user profile 2017-04-26 13:02:40 +01:00
Lorenz Diener
0ba01f3da9 Cleaned documentation up somewhat 2017-04-26 13:29:34 +02:00
Lorenz Diener
23e796bab4 Fixed follows docs 2017-04-26 13:24:27 +02:00
Lorenz Diener
28553d7a69 Housekeeping 2017-04-26 12:20:44 +02:00
Lorenz Diener
7cfb17d698 Documentation and consistence changes 2017-04-26 12:19:41 +02:00
Lorenz Diener
4a2f6d0fb9 Added some missing API methods 2017-04-26 11:56:47 +02:00
Lorenz Diener
6a2c394c50 Restored python 2 compatibility 2017-04-26 11:43:16 +02:00
Lorenz Diener
67aa919f40 Merge pull request #45 from naoyat/add_account_following_params
Added since_id/max_id/limit params to account_following()/account_followers()
2017-04-26 11:16:11 +02:00
naoya_t
a8d5ee75c1 mastodon/Added since_id/max_id/limit params to account_following()/account_folowers() 2017-04-26 11:51:24 +09:00
naoya_t
01b4d113bc Added remote follow support, resolves issue #40 2017-04-26 11:49:56 +09:00
Lorenz Diener
fde6806120 Documentation fixes to address #21 2017-04-25 11:41:48 +02:00
Lorenz Diener
5aeb953d24 Remove additional traceback print 2017-04-25 11:36:49 +02:00
Eliot Berriot
d8adb28cde Added direct level for status privacy 2017-04-24 22:02:26 +02:00
Ansem
61f014f322 Add scope param to log_in(), resolves issue #35 2017-04-20 14:32:40 +00:00
Christopher Su
8f0d872119 Remove the mentions timeline because it doesn't exist 2017-04-15 00:53:58 -07:00
Ansem
7c7cf8478d Add general error message 2017-04-11 10:37:15 +02:00
Ansem
e51e5cc521 Fix auth request, now able to specify needed scope for the client 2017-04-11 10:36:58 +02:00
Lorenz Diener
ccaaea0072 Fixing mistake from earlier merge 2017-04-10 17:14:37 +02:00
Lorenz Diener
965d514de1 Merge branch 'master' into streaming 2017-04-10 10:33:25 +02:00
Lorenz Diener
7db6b4c02e Merge pull request #26 from phryk/master
added content_search, probably.
2017-04-10 10:29:55 +02:00
Lorenz Diener
98f636f581 Merge pull request #27 from azillion/master
Add support for OAuth2, resolves issue #6
2017-04-10 10:28:50 +02:00
Will Thompson
ab60931620
Initial implementation of streaming API
This is missing any error handling and rate-limiting around the stream
itself, but once the stream is established, the full range of events are
supported.

Fixes issue #14.
2017-04-10 08:18:08 +01:00
Ed Summers
c45a1af5e1 fix ValueError
checking if media_type is defined will short circuit the
the call to os.path.isfile when content is supplied

fixes #28
2017-04-09 17:58:46 -04:00
Ansem
cb6e304043 Fix write access_token to file mistake 2017-04-07 22:06:06 +00:00