Wykres commitów

520 Commity (master)

Autor SHA1 Wiadomość Data
halcy c4e0a40a78 add py.typed marker 2024-02-11 22:38:14 +02:00
halcy 936b77e2ed change some internals and rerun tests, lets see how CI likes this 2024-02-11 15:18:53 +02:00
Lorenz Diener 5b64a35cd3
Merge pull request #350 from Teqed/master
add offset parameter to trending_statuses
2024-02-11 13:30:09 +02:00
Lorenz Diener 0d823b23e6
Merge pull request #362 from ashwinvis/patch-1
Format docstring for visibility parameter
2024-02-11 13:29:35 +02:00
Lorenz Diener 1526c116ce
Merge pull request #355 from lasseedfast/patch-1
Clarify the use of 'code' in log_in()
2024-02-11 13:28:17 +02:00
Ashwin V. Mohanan b09c8915da
Update docstring for visibility with how it is know in Mastodon's UI 2023-11-18 23:27:34 +01:00
Ashwin V. Mohanan 836f3c8283
Format docstring for visibility parameter
Without this change it is easy to get confused while reading the online docs.

https://mastodonpy.readthedocs.io/en/stable/05_statuses.html#status-post
2023-11-16 09:11:11 +01:00
Alexandre Detiste 945e8e670d remove six dependecy 2023-10-15 17:26:44 +02:00
Lasse Edfast 5c28d1ba75
Clearified the use of 'code' in log_in() 2023-08-21 22:20:23 +02:00
Timothy Quilling 3b131b4286 add offset parameter to trending_statuses 2023-07-14 18:39:32 -04:00
halcy 4b4ecfe669 remove print statements 2023-06-24 01:36:42 +03:00
halcy 64074295df additional hate crimes 2023-06-24 01:31:51 +03:00
halcy 4941b9e386 additional crimes 2023-06-24 00:44:26 +03:00
halcy 97f6551b86 again and with additional vigor 2023-06-24 00:35:37 +03:00
halcy 59237449fd add magical fix things on below 3.9 line 2023-06-24 00:33:32 +03:00
halcy b917978504 maybe tests are green now? 2023-06-23 23:16:44 +03:00
halcy d891589092 fix various issues. some remain. 2023-06-21 00:15:40 +03:00
halcy 9b77278b81 very massive commit that adds type annotations everywhere and breaks all the tests lol 2023-06-20 00:35:03 +03:00
jkrperson ed2bdb8d81 fix(poll): Add return statement for poll_vote function 2023-06-01 21:34:22 +08:00
halcy 4e230884e5 Fix reconversion to str after path resolve 2023-04-23 20:50:23 +03:00
halcy 04f3c04e96 typo fix 2023-04-23 20:44:28 +03:00
halcy 60f9bc74ab Add pagination params to admin_domain_blocks 2023-04-23 20:34:01 +03:00
halcy b934962069 Replace follows() with a backwards compat implementation 2023-04-23 20:28:24 +03:00
halcy 34e97a9b4d Add explicit path resolution for __load_media_file to maybe circumvent a mystery problem in some configurations. 2023-04-23 19:57:22 +03:00
halcy 6f7d4576c0 Fix some streaming related issues 2023-04-23 19:41:57 +03:00
halcy 345e8c35c0 Fix streaming docs 2023-04-23 19:21:43 +03:00
halcy 137cf49435 Merge branch 'master' of github.com:halcy/Mastodon.py 2023-04-23 19:20:19 +03:00
halcy 39f1ee8889 Add support for public/remote stream 2023-04-23 19:19:53 +03:00
Lorenz Diener 3b5c4ae6f5
Merge branch 'master' into master 2023-04-23 18:54:56 +03:00
Lorenz Diener c6d9361470
Merge pull request #319 from leoncowle/lists.py-list_accounts-fix
Add missing "params" arg to lists.py:list_accounts() __api_request call
2023-04-23 18:53:30 +03:00
Lorenz Diener 0e0e8cd687
Merge pull request #327 from alexmshepherd/status_reply-patch
Status reply patch
2023-04-23 18:51:59 +03:00
Lorenz Diener ba142e9b44
Merge pull request #336 from codl/doc-upd-335
doc: warn against using max_id in favourites/bookmarks
2023-04-23 18:50:47 +03:00
Lorenz Diener 5e93270dc4
Merge pull request #311 from cnotin/patch-1
Fix small typo
2023-04-23 18:49:02 +03:00
halcy 43ccb72275 Move user agent default to where it belongs 2023-04-23 18:44:47 +03:00
Lorenz Diener f862772ea6
Merge pull request #305 from jkawamoto/user_agent
Supports User-Agent header in create_app method
2023-04-23 18:36:06 +03:00
Lorenz Diener 8ed48b8021
Merge pull request #296 from zevaryx/master
Add resolve keyword to account_search
2023-04-23 18:35:12 +03:00
codl a6d974b69b doc: warn against using max_id in favourites/bookmarks
see #335
2023-04-16 21:12:06 +02:00
alex martin shepherd 2905c07863
Add custom exception 2023-03-03 12:47:43 +01:00
alex martin shepherd 92a7cbac35
Clarify status_reply ( #310 ) 2023-03-03 12:43:40 +01:00
Leon Cowle 4bd8afa7aa Add missing "params" arg to lists.py:list_accounts() __api_request call 2023-02-07 15:50:23 -06:00
Clément Notin c58ce36c8e
Fix small typo 2023-01-10 00:42:45 +01:00
Junpei Kawamoto 5542d58c36 Improve test coverage 2023-01-02 14:58:52 -06:00
amaargiru 68ac32b6be Format code with PEP 8 standards 2023-01-02 18:39:16 +05:00
Junpei Kawamoto fa1c6c97d2 Supports User-Agent header in create_app method
Following #240, it's helpful if `create_app` also supports the User-Agent header.

This commit fixes https://github.com/halcy/Mastodon.py/issues/213#issuecomment-1276999193.
2022-12-30 22:31:38 -06:00
zevaryx 802a352ad8 Add resolve keyword to account_search 2022-12-07 20:30:56 -07:00
Miroslav Šedivý 6404765921 refactor: replace lambdas with python 2022-12-03 22:04:26 +01:00
Miroslav Šedivý dde4c39600 refactor: use f-strings without bug 2022-12-02 23:48:39 +01:00
Miroslav Šedivý 325cc917d5 refactor: use f-strings 2022-12-02 22:04:23 +01:00
halcy 405e01bef9 Minor fixes, document some return values 2022-12-01 21:44:57 +02:00
halcy e483d16014 Finish moving code out into smaller files 2022-12-01 01:39:08 +02:00