1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00
Commit Graph

111 Commits

Author SHA1 Message Date
Daniel Schwarz
7a7f4d4679 Merge remote-tracking branch 'upstream/master' into images 2023-11-30 23:42:23 -05:00
Ivan Habunek
7929919ffc
Add --json option to update_account 2023-11-22 08:41:15 +01:00
Ivan Habunek
e961bd696d
Make account optional in following and followers 2023-11-22 08:22:21 +01:00
Ivan Habunek
443f9445b1
Add --json option to account commands 2023-11-21 18:16:37 +01:00
Ivan Habunek
016ae25569
Add --json option to various status commands 2023-11-21 16:51:02 +01:00
Ivan Habunek
4203e8d313
Dedupe duplicate function 2023-11-21 16:51:02 +01:00
Ivan Habunek
7793d4499a
Add --json option to post command 2023-11-21 16:51:02 +01:00
Ivan Habunek
3530553a06
Add --json option to status and thread commands 2023-11-21 16:51:02 +01:00
Ivan Habunek
0c37716de1
Add --json option to instance command 2023-11-21 16:50:19 +01:00
Ivan Habunek
9664d71b57
Make get_instance return the response instead of json 2023-11-21 16:50:19 +01:00
Ivan Habunek
3f680312c6
Remove monkeypatched auth tests
Not very useful, tested in integration tests.
2023-11-21 16:50:19 +01:00
Ivan Habunek
e9daaf6000
Fix warnings 2023-11-18 22:02:11 +01:00
Ivan Habunek
2c4f7e17c9
Add --json option to whoami command 2023-11-18 15:40:51 +01:00
Ivan Habunek
6cdba16fcf
Make verify_credentials return the http response
Required if we want to emit json without decoding it
2023-11-18 15:40:50 +01:00
Ivan Habunek
317840b019
Merge pull request #415 from ihabunek/danschwarz-richtext3
Add support for rich text
2023-11-18 15:40:35 +01:00
Daniel Schwarz
732b9feed5 Added test for toot.utils.urlencode_url(...) 2023-11-16 20:24:53 -05:00
Ivan Habunek
414d9e8ff2
Start testing richtext 2023-11-16 12:29:37 +01:00
Sandra Snan
b344bb3bdb Add tests for reading dates 2023-09-24 08:09:06 +02:00
Ivan Habunek
afd349f1ab
Remove the monochrome palette
Monochrome colors should be defined as the third color in each tuple
instead.

In monochrome mode it's not possible to set the background so all
highlights can only be done using bold, italics, underline...
2023-07-08 12:33:34 +02:00
Daniel Schwarz
28a3343761 Added sanity check tests to ensure PALETTE and MONO_PALETTE match
And fixed a bug uncovered by the above tests :)
2023-07-07 18:12:38 -04:00
Daniel Schwarz
8d1a562d1d
Images are now cached in memory (10MB) with a LRU eviction policy 2023-07-07 14:05:18 +02:00
Ivan Habunek
7da372e4a8
Disable settings for testing 2023-06-28 14:55:28 +02:00
Ivan Habunek
38487a0774
Fix error in docs 2023-06-28 14:46:36 +02:00
Ivan Habunek
8aad38671e
Add integration tests for status and thread 2023-06-28 12:38:29 +02:00
Ivan Habunek
f3439ad30d
Use entitites to simpliy print functions 2023-06-26 16:59:14 +02:00
Ivan Habunek
4df2abf5cd
Implement base_url as fixture 2023-06-22 10:59:44 +02:00
Ivan Habunek
cee289a391
Fix integration test skip logic 2023-04-06 21:35:12 +02:00
Ivan Habunek
5cb8967c84
Simplify integration tests by catching ConsoleError 2023-03-30 12:44:32 +02:00
Ivan Habunek
e3394c1693
Extract fetching list ID
Also don't check if account is found, that function alredy raises a
ConsoleError.
2023-03-30 12:31:04 +02:00
Ivan Habunek
c659ed7a5d
Fix tests 2023-03-30 12:09:38 +02:00
Ivan Habunek
a19670d0c3
Add integration tests for lists 2023-03-30 12:00:12 +02:00
Ivan Habunek
3d7f7cfce3
Break up integration tests 2023-03-30 10:56:40 +02:00
Ivan Habunek
f746b1043f
Fix sporadically failing test 2023-03-09 11:02:16 +01:00
Ivan Habunek
47c16b01ad
Add poll options to toot post 2023-03-09 11:02:15 +01:00
Ivan Habunek
ae882d4958
Fix tests 2023-03-09 11:00:46 +01:00
Ivan Habunek
e2f9a354ac
Test media thumbnails 2023-03-03 11:44:40 +01:00
Ivan Habunek
14a286ef0d
Use v2 endpoint to upload media
v1 is deprecated
2023-03-03 09:03:33 +01:00
Ivan Habunek
62e3b2c66d
Add integration tests for updating user account 2023-02-21 18:10:34 +01:00
Ivan Habunek
f52fe00d26
Pass params as dict 2023-02-04 09:01:48 +01:00
Ivan Habunek
71d3bbd91f
Fix tests 2023-02-02 09:03:12 +01:00
Ivan Habunek
15d377e889
Expand tests 2023-01-02 11:53:50 +01:00
Ivan Habunek
2d8791e629
Remove coding directives, no longer needed 2022-12-31 09:31:32 +01:00
Ivan Habunek
02d358907c
Embrace f-strings 2022-12-12 12:47:45 +01:00
Ivan Habunek
e2d89c2d85
Fix matching fully qualified account names
fixes #254
2022-12-12 12:47:45 +01:00
Ivan Habunek
ef697c3bee
Show only registration date on whois
Time is not that relevant and causes noise
2022-12-12 12:47:45 +01:00
Ivan Habunek
47be3a762a
Fix language specification
Old API docs claimed to require ISO 639-2 format, testing determines
that that ISO 639-1 is required instead.
2022-12-11 23:15:07 +01:00
Ivan Habunek
40e7a6f3a1
Fix several tests when running on Pleroma 2022-12-07 15:03:40 +01:00
Ivan Habunek
d6f5728486
Don't send null parameters when posting
fixes #250
2022-12-07 15:03:39 +01:00
Ivan Habunek
b2626a9aa8
Don't hardcode hostname in tests 2022-12-07 14:02:16 +01:00
Ivan Habunek
4f0c367995
Add post --scheduled-in option for easier scheduling 2022-12-03 15:38:19 +01:00