979 Commits

Author SHA1 Message Date
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
Lorenz Diener
9225072cc8
Merge pull request #298 from crd477/master
add missing closing brace to media dicts section
2022-12-16 18:14:34 +02:00
Chad Dougherty
f2975d1ea9
add missing closing brace to media dicts section 2022-12-14 11:44:38 -05: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
Lorenz Diener
78792a70b9
Merge pull request #292 from eumiro/fix_fstrings
refactor: use f-strings without bug
2022-12-03 01:05:00 +02:00
Miroslav Šedivý
dde4c39600 refactor: use f-strings without bug 2022-12-02 23:48:39 +01:00
Lorenz Diener
f5d4fbc1f0
Merge pull request #290 from eumiro/fstrings
refactor: use f-strings
2022-12-02 23:55:32 +02:00
Miroslav Šedivý
325cc917d5 refactor: use f-strings 2022-12-02 22:04:23 +01:00
halcy
c796cf39b0 Bump version 2022-12-01 22:18:38 +02:00
halcy
0159bd7cae commit new set of tests 2022-12-01 22:07:42 +02:00
halcy
405e01bef9 Minor fixes, document some return values 2022-12-01 21:44:57 +02:00
halcy
d2f76239e1 nit 2022-12-01 01:53:24 +02:00
halcy
f44fbdc5f2 Clean up some docs stuff 2022-12-01 01:51:49 +02:00
halcy
e483d16014 Finish moving code out into smaller files 2022-12-01 01:39:08 +02:00
halcy
b4ede028a7 Disable 3.6 test (missing crypto module) 2022-12-01 00:18:12 +02:00
halcy
160e4c8173 Add pytz to test deps to allow tests to not fail on lower python versions 2022-12-01 00:14:57 +02:00
halcy
a4b2b180d3 More moving functions out 2022-12-01 00:11:17 +02:00
halcy
d9cd7547fd Move some more methods, fix crypto heckup 2022-11-30 23:47:46 +02:00
halcy
48f1d31c72 carefully move some things into files, test if readthedocs still builds 2022-11-30 23:09:09 +02:00
halcy
99432f538e Merge branch 'eumiro-modern-datetime' 2022-11-30 22:43:50 +02:00
halcy
2d7f495b0f Merge branch 'modern-datetime' of https://github.com/eumiro/Mastodon.py into eumiro-modern-datetime 2022-11-30 22:43:03 +02:00
halcy
262d150c05 Start moving functions out of main module 2022-11-30 22:31:54 +02:00
Miroslav Šedivý
bf428f58ef refactor: simplify __datetime_to_epoch 2022-11-30 20:44:13 +01:00
Miroslav Šedivý
5262d58a0b replace pytz with datetime.timezone and zoneinfo 2022-11-30 20:21:04 +01:00
halcy
53cb42117b Switch back to previous version parser 2022-11-30 19:33:09 +02:00
halcy
2453438353 reapply accidentally reverted changes 2022-11-30 19:28:42 +02:00
halcy
fa91b618c3 revert what I did to version parsing. Why did this break? 2022-11-30 19:16:33 +02:00
halcy
c1b7a7e4e5 Fix cross page links in docs 2022-11-30 19:04:26 +02:00
halcy
98d9dfa357 Merge branch 'master' of github.com:halcy/Mastodon.py 2022-11-30 18:02:26 +02:00
halcy
a65cbdd513 ref test 2022-11-30 18:02:20 +02:00
Lorenz Diener
77e77fa9e8
Merge pull request #285 from eumiro/cmp_versions
refactor: improve version comparisons
2022-11-30 17:59:37 +02:00
Miroslav Šedivý
7ffcfb2a5e refactor: improve version comparisons 2022-11-29 18:43:57 +01:00
halcy
7635c00d25 Clarify some things 2022-11-29 01:22:38 +02:00
halcy
1704965f6d Fix some nits 2022-11-29 01:00:59 +02:00
halcy
43c7d7ceb8 Restructure the docs, a lot 2022-11-29 00:50:02 +02:00
halcy
bd3db974d7 add module / class stuff 2022-11-28 01:45:00 +02:00
halcy
10d48d702d why doc not showing 2022-11-28 01:43:02 +02:00
halcy
5dc53ea7b5 fix index 2022-11-28 01:37:04 +02:00
halcy
c49364fcc4 Some more doc split tests 2022-11-28 01:31:04 +02:00
halcy
13d6ff69e9 why no toctree 2022-11-28 01:19:30 +02:00
halcy
2045183dee First attempt at making docs a bit more neat 2022-11-28 01:17:08 +02:00
halcy
dbceccb210 Add v2 admin accounts API 2022-11-28 00:55:41 +02:00
halcy
ae9f764087 Add remove_from_followers 2022-11-27 23:55:26 +02:00
halcy
b35e3f3da8 Add account_familiar_followers 2022-11-27 23:38:42 +02:00
halcy
ee9a3c9c5e Clean docs up a bit more 2022-11-27 23:07:08 +02:00
halcy
396a2d442f Changelog update 2022-11-27 22:59:03 +02:00
halcy
9d2ee54790 Add client auth data to access token file 2022-11-27 22:53:07 +02:00
halcy
50580a0c49 clean terminology up a bit 2022-11-27 22:14:48 +02:00
halcy
cf1ec39fce Switch admin stats test to path match 2022-11-27 03:02:22 +02:00