937 Commits

Author SHA1 Message Date
Lorenz Diener
d9193f3d2c
Merge pull request #307 from jkawamoto/tox
Add newer python versions to tox.ini
2023-04-23 18:48:16 +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
Lorenz Diener
a73fce4b81
Merge pull request #293 from eumiro/nolambda
refactor: replace lambdas with python
2023-04-23 18:33:03 +03:00
Junpei Kawamoto
9dac13edc2 Remove Pipfile
Since it was only used in tox, we can remove it.
2023-01-11 14:33:54 -06:00
Junpei Kawamoto
e6e1e1519f Add newer python versions to tox.ini 2023-01-02 23:31:51 -06:00
Junpei Kawamoto
5542d58c36 Improve test coverage 2023-01-02 14:58:52 -06: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
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