Gráfico de commits

297 commits

Autor SHA1 Mensaje Fecha
lefherz 0160dcaad9 fixing ImportError 2019-05-18 12:54:47 +02:00
Lorenz Diener c442af7715 Fix date parsing failing due to missing field for int parsing 2019-05-11 12:57:01 +02:00
Lorenz Diener 6a5ddb0a5c Merge branch 'master' of https://github.com/halcy/Mastodon.py 2019-05-11 01:00:32 +02:00
Lorenz Diener bf61d4881e Add blurhash code 2019-05-11 00:55:40 +02:00
Lorenz Diener 7c701cc267
Fix media and status dict versioning 2019-05-10 01:43:52 +02:00
Lorenz Diener 08d808e2ac Bump Mastodon version in some places 2019-05-08 18:08:11 +02:00
Lorenz Diener 6a1b00dc9c Document poll/media restriction.
Fixes #166
2019-05-08 18:04:17 +02:00
Lorenz Diener 00f2694631 Add a word about ssh certificates via sessions.
Fixes #168.
2019-05-08 17:59:13 +02:00
Lorenz Diener 8675b25dcf Improce search() versioning 2019-05-08 17:43:55 +02:00
Lorenz Diener 09c03296db Polls 2019-04-28 23:12:27 +02:00
Lorenz Diener 3eba3f8835 Add preferences endpoint 2019-04-28 21:53:01 +02:00
Lorenz Diener eb0fa327c4 Add reblog visibility 2019-04-28 21:24:31 +02:00
Lorenz Diener c82b0b1919 Add more parameters to search API 2019-04-28 21:15:47 +02:00
Lorenz Diener 20a640eb7e Fix the isoformat formatter 2019-04-28 20:38:49 +02:00
Lorenz Diener d7f5b4d66d Implement the rest of the scheduled status endpoints 2019-04-28 19:34:52 +02:00
Lorenz Diener fe4e01f90e Fixed some timezone problems 2019-04-28 19:18:23 +02:00
Lorenz Diener d4e3feaece Fix up tests 2019-04-28 18:41:12 +02:00
Lorenz Diener 09f9023c70 Add basic support for scheduled statuses 2019-04-28 18:37:15 +02:00
Lorenz Diener b6692f0b16 Add account creation 2019-04-28 17:56:20 +02:00
Lorenz Diener a29d278bf9 Add support for conversation streaming 2019-04-28 14:28:05 +02:00
Lorenz Diener 65e2596d9b Add versioning and return val docs to conversation_read 2019-04-28 14:02:34 +02:00
Lorenz Diener ac7196c443 Add conversation read marking + tests/docs 2019-04-28 13:58:18 +02:00
Lorenz Diener 06df1c281e Add conversation fetching 2019-04-28 13:47:43 +02:00
Lorenz Diener 8e0d8a5c4e Bump version on status_reply and toot 2019-04-28 02:08:26 +02:00
Lorenz Diener 6f807daf5a Breaking change: Stream functions now return immediately (Fixes #149) 2019-04-28 01:52:09 +02:00
Lorenz Diener 0ffb869e65 Improve OAuth support and docs 2019-04-28 01:02:08 +02:00
Lorenz Diener 67824478af implement app_verify_credentials, document entity change 2019-04-28 00:07:04 +02:00
Lorenz Diener 798f243af2 Fix version number for instance dict 2019-04-27 23:41:06 +02:00
Lorenz Diener efcd01a3ed Update instance dict docs and version 2019-04-27 23:39:17 +02:00
Lorenz Diener 5340087325 Add min_id parameter to a lot of functions 2019-04-27 23:20:45 +02:00
Lorenz Diener dc6c80bad7 Implement, document and test pagination changes 2019-04-27 23:11:37 +02:00
Lorenz Diener 72e3290d8c Add endorsements (with docs and tests) 2019-04-27 22:13:27 +02:00
Lorenz Diener 4deeb7875b Document 2.5.0 entity updates 2019-04-27 21:45:57 +02:00
Lorenz Diener e393664974 Test fixups and small 2.8 fixes
Pagination backwards is broken presently.
2019-04-27 21:04:06 +02:00
Lorenz Diener c1418e9f3f Removed trends endpoint 2019-04-27 19:10:33 +02:00
Lorenz Diener fb7496c68d Documented some things related to non-authed access 2019-04-27 18:59:54 +02:00
Lorenz Diener edd55ec6fd Allow object creation with no credentials whatsoever 2019-04-27 18:46:33 +02:00
Lorenz Diener f809e0029c Stream decoder now iterates more, fixes #155 2019-04-27 18:35:47 +02:00
Lorenz Diener 87b5b6535c
Merge pull request #157 from jfmcbrayer/status_post_content_type
Add 'content_type' parameter to status_post() for use with Pleroma
2019-04-27 17:24:24 +02:00
Lorenz Diener 351d302531
Merge pull request #158 from lefherz/master
New exception class if server is malconfigured, e.g. 502
2019-04-27 17:23:46 +02:00
Lorenz Diener a264154073
Merge pull request #164 from codl/link-flakeid
more robust handling of pagination Link headers
2019-04-27 17:20:20 +02:00
codl eca31ea732
improve link header parameter extraction regex 2019-04-15 14:26:43 +02:00
codl 62a47f4e92
oops. str.is_digit() -> str.isdigit() 2019-04-15 14:19:45 +02:00
codl ad96297a06
more robust handling of pagination Link headers
during a cursory investigation for #163 I found that the code handling
Link headers would not handle non-numeric post IDs like pleroma's
flakeIDs correctly

IDs starting with a number would be truncated to the first non-digit,
and IDs not starting with a number would throw. Thankfully, all flakeIDs
generated so far start with 9. Maybe 8 for the earliest ones, I'm not
sure. Either way, so far it would only have misbehaved when using the
pagination functions or accessing the _pagination_prev and
_pagination_next attributes directly
2019-04-15 03:31:09 +02:00
codl 0666bdabf1
better handling of non-standard error responses, such as from pleroma 2019-03-11 14:51:11 +01:00
lefherz 280973661d New exception class if server is malconfigured, e.g. 502 2019-02-03 01:58:59 +01:00
Jason McBrayer da9bdb4dbb Add 'content_type' parameter to status_post() for use with Pleroma
This parameter lets you specify the source content type of your post for Pleroma servers, and
accepts 'text/plain', 'text/markdown', and 'text/html'. It defaults to None, but if set on
a request to a Mastodon server, it will be safely ignored.
2019-01-24 10:06:33 -05:00
Lorenz Diener 8b86269787
Merge pull request #151 from jrabbit/seven_proxies
Made Session support more robust and added support to .create_app()
2018-11-26 11:47:21 +01:00
Lorenz Diener 9c5c5b85cc Make filter application regex use raw strings 2018-11-26 11:44:13 +01:00
Lorenz Diener d1717be251 Fix media is-file check 2018-11-26 11:42:19 +01:00