Commit Graph

25 Commits

Author SHA1 Message Date
Ivan Habunek 87acfb8ef4
Fix broken build 2024-04-14 09:05:09 +02:00
Ivan Habunek 927fdc3026
Improve types 2024-04-13 15:30:52 +02:00
Ivan Habunek 597dddf76d
Drop typing compat needed for python 3.7 2024-04-13 09:22:57 +02:00
Ivan Habunek f324aa119d
Add List entity 2024-03-09 09:32:04 +01:00
Ivan Habunek 381e3583ef
Add featured tag commands 2023-12-13 08:40:02 +01:00
Ivan Habunek c7e01c77f2
Add --json option to tag commands 2023-12-13 08:40:02 +01:00
Ivan Habunek 1c5abb8419
Improve from_dict performance by caching fields 2023-11-26 09:16:21 +01:00
Ivan Habunek 7929919ffc
Add --json option to update_account 2023-11-22 08:41:15 +01:00
Ivan Habunek 443f9445b1
Add --json option to account commands 2023-11-21 18:16:37 +01:00
Ivan Habunek 8c3fd12005
Fix style 2023-11-18 15:53:14 +01:00
Ivan Habunek 4a3b14313c
Fix compat with older versions of python 2023-11-18 15:48:28 +01:00
Ivan Habunek 0265f7e0b7
Fix tests 2023-11-18 15:44:50 +01:00
Ivan Habunek fe8b441b5b
Add hack to work around a pleroma bug 2023-11-18 12:32:35 +01:00
Ivan Habunek 8d1edd5374
Fix compat with older python versions 2023-11-18 11:25:52 +01:00
Ivan Habunek 59adec3e55
Improve error when conversion fails 2023-11-18 11:18:30 +01:00
Ivan Habunek 05c5bcb723
Convert datetimes to local timezone by default 2023-11-18 10:25:52 +01:00
Ivan Habunek 2b8727bf09
Roll back workaround to support pleroma
Fixed in previous commit.
2023-11-16 15:15:38 +01:00
Ivan Habunek fe48f9a17e
Add a way to preprocess the data before decoding
Use it to modify the data returned by the Pleroma API which does not
conform to the current Mastodon API definition.

See:
https://git.pleroma.social/pleroma/pleroma/-/issues/1470#anchor-310
2023-11-16 15:15:26 +01:00
Sandra Snan 6a22e2345b Add in controversial timezone workaround 2023-09-24 00:42:46 +02:00
Sandra Snan c821ab999b Fix crash on weird date time
Solution found by danschwarz
2023-09-24 00:35:39 +02:00
Ivan Habunek 8ad2b279ed
Ignore warning not to compare types
No other way around it here.
2023-06-26 17:02:58 +02:00
Ivan Habunek f3439ad30d
Use entitites to simpliy print functions 2023-06-26 16:59:14 +02:00
Ivan Habunek a0b9b37a4f
Add Instance and related entities 2023-06-26 16:59:14 +02:00
Ivan Habunek 368738831c
Add Notification and Report entities 2023-06-26 16:59:14 +02:00
Ivan Habunek 119c514ee9
Add entities 2023-06-26 16:59:14 +02:00