Wykres commitów

1086 Commity (404ff39a2b79a08ef77e24d2b2efb2e42a2607bb)

Autor SHA1 Wiadomość Data
halcy 404ff39a2b translation support 2025-02-15 17:27:04 +02:00
halcy e5c00a9229 add instance_extended_description 2025-02-15 17:11:56 +02:00
halcy adabd511fe add admin email domain blocks, missing Appeal entity 2025-02-15 17:04:18 +02:00
halcy c460d3c965 make streaming work with Sharkey (maybe) 2025-02-15 16:49:49 +02:00
halcy 181f2a72c5 un-TODO some TODOs 2025-02-15 16:34:30 +02:00
halcy f7baffc085 add media attachment editing 2025-02-15 16:26:18 +02:00
halcy ea87feade0 Implement notifications_unread_count, clean up docstrings 2025-02-15 14:44:03 +02:00
halcy a1fe0289a2 clean up versions.py 2025-02-15 14:27:22 +02:00
halcy 1e1bc0cf78 refactor version decorator, skip certain tests on 3.8 and below 2025-02-15 14:21:56 +02:00
halcy 745d60057e refactor id unpacking 2025-02-15 01:37:02 +02:00
halcy 05fcb5bcf0 fix a typo made when introducing types 2025-02-15 00:52:46 +02:00
halcy 29a6b6d2a9 add entity tests 2025-02-15 00:41:32 +02:00
halcy afb13b1c8b add some more return types 2025-02-15 00:33:06 +02:00
halcy fcd21701ce add / fix a few things 2025-02-15 00:09:39 +02:00
halcy a7a03415a8 add avatar/header delete 2025-02-14 23:45:52 +02:00
halcy ca735b4e05 add link timeline, update suggestions 2025-02-14 23:33:26 +02:00
halcy b935099c17 add canonical email blocks, fix some things in the docs 2025-02-14 22:55:20 +02:00
halcy 48e21baa65 Document, add to base functions 2025-02-14 21:11:32 +02:00
halcy c60092b5b9 make content type checking less strict 2025-02-14 21:07:57 +02:00
halcy 8c3ee8525c Document entities, fix minor oversight on suggestions endpoint 2025-02-14 21:01:56 +02:00
halcy 98dfbff772 Some cleanup 2025-02-14 20:55:25 +02:00
halcy f44cba479c Update and fix docs 2025-02-14 20:51:25 +02:00
halcy 8586462c6c another fix 2025-02-14 20:14:22 +02:00
halcy 9c826877b8 small fix for 3.8 compat 2025-02-14 20:11:42 +02:00
halcy 0959c06c80 Add many, many tests, and fix bugs found while adding them. also serialization. 2025-02-14 20:08:00 +02:00
halcy 7c5d8f3e29 integrate autodoc return values 2025-02-14 03:00:14 +02:00
halcy a56dfcf295 changelog 2025-02-14 02:23:30 +02:00
halcy dd6b1baafd add media function to docs 2025-02-14 02:22:48 +02:00
halcy 5bbf2bb3bf fix some issues and update docs 2025-02-14 02:10:42 +02:00
halcy 120f092ca2 fix oversight from refactor 2025-02-14 01:54:33 +02:00
halcy 1867e13b88 unbreak various things 2025-02-14 01:50:47 +02:00
halcy 4779af4ab3 Update changelog 2025-02-14 01:36:08 +02:00
halcy a7a2c11326 nice up some things, fix tests (maybe) 2025-02-14 01:34:02 +02:00
halcy 7f5169cef8 fix version test 2025-02-14 01:23:41 +02:00
Lorenz Diener 108d51cbd6
Update README.rst 2025-02-14 01:21:34 +02:00
halcy 062cc69343 add missing module 2025-02-14 01:18:31 +02:00
halcy 1e62376f26 add a human readable error when trying to log in with password on 4.4.0+ 2025-02-14 01:16:35 +02:00
halcy 8f563d5e60 refactor some stuff to rename types, since that shadows a functools module, and update docs 2025-02-14 01:14:07 +02:00
Lorenz Diener 3e78acb406
Merge pull request #391 from gmemstr/390-gts-versions
#390: GTS version fallback
2025-02-14 00:42:27 +02:00
halcy f772b8706e remove 3.14, not valid yet 2025-02-14 00:25:24 +02:00
halcy 3654f0362d pytest-runner is deprecated, apparently 2025-02-14 00:19:23 +02:00
halcy b319ae350a test update 2025-02-14 00:10:49 +02:00
halcy 8a6e4c43ea Merge branch 'master' of github.com:halcy/Mastodon.py 2025-02-13 23:35:58 +02:00
halcy e336a38671 Fix every test, lets see what CI thinks of this 2025-02-13 23:35:34 +02:00
Gabriel Simmer 716665181c
390: GTS version fallback 2024-12-14 13:22:57 +00:00
Lorenz Diener 13725053a3
Merge pull request #385 from AlexKalopsia/master
Add API call for getting multiple accounts at once
2024-12-01 15:02:09 +02:00
Lorenz Diener 6715ff3ebd
Merge pull request #389 from Konano/patch-1
fix: prevent dynamic changes to keyword_args/poll_params
2024-12-01 15:01:24 +02:00
halcy 9ba51c42fa a bunch of fixes to entities and typing, pre starting to merge some PRs 2024-12-01 14:56:08 +02:00
Konano e3a16f4fd5
fix(polls): prevent dynamic changes to `poll_params` 2024-11-22 18:17:09 +08:00
Nano 02dd7967cb
fix(statuses): prevent dynamic changes to `keyword_args`
The use of `locals()` in status_reply caused issues due to its dynamic nature.  When `user_id = self.__get_logged_in_id()` was executed, `locals()` dynamically updated `keyword_args` to include the `self` reference again, even after it was explicitly deleted.  This led to a TypeError: `Mastodon.status_post() got multiple values for argument 'self'`.

This commit resolves the issue by replacing `keyword_args = locals()` with `keyword_args = locals().copy()`.  By creating a static copy of the local variables at the time of execution, it prevents unintended modifications caused by dynamic changes to the local scope.

Fixed #388
2024-11-22 18:02:48 +08:00