Wykres commitów

393 Commity (test-ci-working)

Autor SHA1 Wiadomość Data
halcy 78a1c17468 Fix tests 2022-11-11 00:21:00 +02:00
halcy d0b1da993d add media v2 API + tests, move v1 test 2022-11-08 23:24:42 +02:00
halcy 3277ca7778 Initial test fixing pass. Four tests still fail. 2022-11-07 23:11:30 +02:00
halcy c5fd6016d6 Add documentation for file_name param 2022-11-06 19:27:56 +02:00
halcy d9cbc7d79f Fix version parsing 2022-11-06 14:27:28 +02:00
halcy 5fe162e543 Fix some things that may have broken in PRs 2022-11-06 14:24:20 +02:00
fwaggle 1830b22bcb Fix gotosocial crash in search()
Set a default 1.0.0 version if nothing else alters it so that version
checks don't raise an Exception.

Fixes #249.
2022-11-06 09:58:03 +11:00
Lorenz Diener 1b64477862
Merge pull request #223 from animeavi/file_name
Allow specifying the file name for media uploads
2022-11-05 23:58:41 +02:00
fwaggle 144a4e2b9b Fix version crash when connecting to gotosocial
While gotosocial has a PR open to send a Mastodon-compatible version in
the `instance` endpoint, whatever it sends is unlikely to be helpful for
the purpose of version-gating features in the client library.

You can disable version-gating, but it still fails on instantiating
due to GtS's version not matching the semver regex. Fix this by moving
the version_check_mode above it, and not parsing the version if it's
turned off.
2022-11-05 15:01:28 +11:00
fwaggle b69e998ceb Handle UNIX Epoch times in X-RateLimit-Reset
Instead of returning an ISO8601 timestamp, gotosocial returns an integer
UNIX Epoch for the X-RateLimit-Reset header. As `dateutil.parser.parse`
doesn't handle these, I do a naive check to see if the header is an integer
and don't parse it if so.

Fixes #246
2022-11-05 14:52:06 +11:00
Aljoscha Rittner 1d1a08b51a Not required status_ids parameter runs into an error if None
Fixes #244
2022-08-08 10:06:30 +02:00
Aljoscha Rittner 61e1a8e450 Fixed PR and changed the doc-string 2022-06-28 13:23:03 +02:00
Jeong Arm f722778095 Support tagged, exclude_reblogs parameter on account_statuses 2022-06-28 13:23:03 +02:00
Aljoscha Rittner 7fd2a6a39c Supports a User-Agent header
fixes #213
2022-06-27 11:13:35 +02:00
Aljoscha Rittner f8f988710c
Merge pull request #219 from MicroCheapFx/206_notifications
Replaced `mentions_only` by `exclude_types` in `notifications` 

Fixes #206
2022-06-27 09:03:42 +02:00
Aljoscha Rittner 98615146a6 Resilient stream.close handling and early close() while retry sleeps
fixes #212
2022-06-25 22:17:17 +02:00
Aljoscha Rittner af59a46068 Support of processing unknown events and event names with dots.
#Fixes 234
2022-06-24 17:39:26 +02:00
Aljoscha Rittner e98b033646 Preserves storage of pagination in items for compatibility reason
fixes #232
2022-06-24 17:23:00 +02:00
Aljoscha Rittner 7e0460ddcb
Merge branch 'halcy:master' into master 2022-06-24 16:37:37 +02:00
Aljoscha Rittner 002c6511a7
Merge pull request #238 from arittner/bookmarks-paging
Introduces paging parameters for bookmarks
2022-06-24 16:27:04 +02:00
Aljoscha Rittner 3b8a653fa5 Introduces pagin parameters for bookmarks
Fixes #220
2022-06-24 15:46:27 +02:00
Aljoscha Rittner 19dbb4594e Changes the storage for pagination information
fixes #232
2022-06-16 14:52:15 +02:00
Zero 89d7318038 Allow specifying the file name for media uploads
The parameter is optional so this change is backwards compatible
2021-03-14 00:19:06 -05:00
ZEN 0f92f778dc
__json_truefalse_parse: fix a typo 2021-02-14 08:38:34 +02:00
Fx 539edfa8ee Replaced `mentions_only` by `exclude_types` in `notifications` API #206 2020-09-01 12:24:19 +02:00
rinpatch 346e6e8478 status_post: fix a typo in the error message when trying to use content_type without pleroma feature set 2020-05-17 18:47:59 +03:00
Lorenz Diener efb1ebb8ce Add reaction support 2020-02-29 18:48:01 +01:00
Lorenz Diener 4f90728a4a Fix tests for 3.1.1 2020-02-22 20:31:33 +01:00
Lorenz Diener 65e49ec614 Add bookmarks 2020-02-22 19:50:24 +01:00
Lorenz Diener 05e2bcb967 Add bookmark scopes and entity/versioning info 2020-02-22 16:43:16 +01:00
Lorenz Diener 90ae6a655e Fix documentation of "content_type" parameter 2020-02-16 17:20:14 +01:00
Lorenz Diener 3b8d5b1e7b Move content-type support to new feature set "pleroma" 2020-02-16 17:12:36 +01:00
Lorenz Diener 86bb428e6f Add "mentions_only" parameter to notifications 2020-02-16 17:03:06 +01:00
Lorenz Diener 633b915fca Add new notification types to push API 2020-02-16 17:00:24 +01:00
Lorenz Diener 95aee9349a Update entity documentation 2020-02-16 16:53:35 +01:00
Lorenz Diener 00b2ea0046 Fix accidental version bump 2020-02-15 17:05:59 +01:00
Lorenz Diener 238dd9163a Document account_update_credentials better, bump versions 2020-02-15 16:54:36 +01:00
Lorenz Diener 4d8dae71a9 Add note to blocklist code. Fixes #210. 2020-02-15 16:45:14 +01:00
Lorenz Diener 4e76f6e322
Merge pull request #208 from limburgher/master
Try/catch magic for #207.
2020-02-15 13:51:59 +01:00
Gareth Dunstone ecfbd0ae23 added other parameters to account_update_credentials 2020-01-31 17:02:10 +11:00
Gareth Dunstone 37a180126e added the bot param 2020-01-31 15:27:04 +11:00
Gareth Dunstone aa57929d1e fixed copy paste typo. Should be able to set header image now 2020-01-31 11:45:58 +11:00
Gwyn Ciesla a9913527eb Try/catch magic for #207. 2019-11-21 12:34:58 -06:00
Lorenz Diener 0b3b2c31a0 Pre-release full testsuite updated run 2019-10-12 23:03:14 +02:00
Lorenz Diener 45908b6f4e Add, test and document last-read markers. Fixes #192 2019-10-12 22:55:17 +02:00
Lorenz Diener 1f36deb119 Add, test and document profile directory API (fixes #188) 2019-10-12 22:05:35 +02:00
Lorenz Diener 63bf5afc61 Implement, test and document featured and suggested tags APIs (fixes #191) 2019-10-12 21:47:58 +02:00
Lorenz Diener 3194b1295e Re-add and test trends API 2019-10-12 21:02:39 +02:00
Lorenz Diener 2e5095f301 Add, document and test nodeinfo api (fixes #199) 2019-10-12 20:51:29 +02:00
Lorenz Diener e60a3f1892 Add and document health API. Fixes #202 2019-10-12 20:25:55 +02:00