Wykres commitów

761 Commity (d587ffdeac49d80dfce4b6686bd9115f477e97e3)

Autor SHA1 Wiadomość Data
halcy d587ffdeac Add new test result cassette 2022-11-06 14:30:21 +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
Lorenz Diener 9d3dd85af3
Merge pull request #250 from fwaggle/fix-249
Fix gotosocial crash in search()
2022-11-06 13:50:04 +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
Lorenz Diener 421aa06b0c
Merge pull request #248 from fwaggle/fix-gotosocial
Fix gotosocial issues
2022-11-05 23:57:17 +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 89a6bd2bac
Merge pull request #245 from arittner/fix_244
Not required status_ids parameter runs into an error if None
2022-08-08 10:07:41 +02: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 7f234664f7
Merge pull request #241 from arittner/pr230
Support tagged, exclude_reblogs parameter on account_statuses and includes PR 230
2022-06-28 13:27:40 +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 bd04a0f886 Fixed overseen test failure with new app name in "secret" file 2022-06-28 13:22:06 +02:00
Aljoscha Rittner 2dce8a297a
Merge pull request #240 from arittner/set_useragent
Supports a User-Agent header
2022-06-27 11:19:44 +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 cab72d0489
Merge pull request #239 from arittner/stream_close
Resilient stream.close handling and early close() while retry sleeps
2022-06-25 22:19:30 +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 c7fdcf3fae
Merge pull request #235 from arittner/stream-unknown-handler
Support of processing unknown events and event names with dots.
2022-06-24 18:11:23 +02:00
Aljoscha Rittner a987af8a0d Merge branch 'stream-unknown-handler' of github.com:arittner/Mastodon.py into stream-unknown-handler 2022-06-24 18:01:48 +02:00
Aljoscha Rittner b225524d7c Documentation for processing unknown events in streaming.
Fixes #234
2022-06-24 17:58:13 +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 c9008a1cdc
Merge pull request #233 from arittner/master
Changes the storage for pagination information
2022-06-24 17:30:29 +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 243d7a2c55
Merge pull request #221 from zen-tools/master
fix a typo in __json_truefalse_parse function
2022-06-24 16:22:38 +02:00
Aljoscha Rittner 3b8a653fa5 Introduces pagin parameters for bookmarks
Fixes #220
2022-06-24 15:46:27 +02:00
Aljoscha Rittner 2c06de91dd Support of processing unknown events and event names with dots.
#Fixes 234
2022-06-20 12:23:37 +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
Lorenz Diener e9d2c3d53f
Update README.rst 2020-07-04 17:35:07 +02:00
Lorenz Diener 28b6cc6c06
Merge pull request #215 from rinpatch/fix/content-type-error-typo
status_post: fix a typo in the error message when trying to use content_type without pleroma feature set
2020-05-18 17:52:00 +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 a793c25506
Update README.rst 2020-03-14 19:20:54 +01:00
Lorenz Diener 02a0f1e801 Prep release 1.5.1 2020-03-14 19:05:11 +01:00
Lorenz Diener 82f531e3ee Add reactions to changelog 2020-02-29 18:52:20 +01:00
Lorenz Diener efb1ebb8ce Add reaction support 2020-02-29 18:48:01 +01:00
Lorenz Diener 7994a857db Add bookmarks to changelog 2020-02-22 20:43:50 +01:00
Lorenz Diener 847da6f7f9 Add bookmarks test 2020-02-22 20:37:54 +01:00
Lorenz Diener 4f90728a4a Fix tests for 3.1.1 2020-02-22 20:31:33 +01:00
Lorenz Diener 2132615269 Add documentation for bookmarks 2020-02-22 19:51:49 +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 e2b9855ce9
Update Pipfile 2020-02-21 21:03:21 +01:00
Lorenz Diener fa1e887069
Update CHANGELOG.rst 2020-02-16 17:25:59 +01:00