1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-06-23 06:25:26 +00:00
Commit Graph

88 Commits

Author SHA1 Message Date
Ivan Habunek
dc376f67d8
wip 2023-06-28 08:38:22 +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
Ivan Habunek
59b98a7f33
Improve colorize 2022-12-02 08:50:34 +01:00
Ivan Habunek
0e13914fce
Add duration parsing 2022-12-01 10:20:50 +01:00
Ivan Habunek
6ae2ed623a
Add test for scheduled statuses 2022-12-01 08:35:55 +01:00
Ivan Habunek
7b4063fddc
Remove use of deprecated status.text_url 2022-11-30 08:55:46 +01:00
Ivan Habunek
c31d588a80
Expand instance tests 2022-11-29 11:06:47 +01:00
Ivan Habunek
7b194880a0
Remove duplicate search api fn 2022-11-27 09:56:58 +01:00
Ivan Habunek
92b9b4ef18
Expand tests 2022-11-26 07:57:49 +01:00
Ivan Habunek
7c1d517506
Fix example dsn 2022-11-24 15:05:41 +01:00
Ivan Habunek
b8decb7660
Set up integration tests against a local instance 2022-11-24 11:21:02 +01:00
Ivan Habunek
b15cb85a23
Standardize http request method parameters
This allows setting either json or data. Until now we were always using
data and this is not enough for some endpoints.
2022-11-24 11:20:59 +01:00
Ivan Habunek
ceedc0e448
Fix timezone to UTC when running tests
fixes #227
2022-11-21 09:06:58 +01:00
Ivan Habunek
22db8eaf2f
Fix tests 2022-11-12 09:55:12 +01:00
Ivan Habunek
54ceefccdc
Fix tests 2021-08-28 21:15:21 +02:00
Ivan Habunek
1ba3240e6a
Fix tests 2020-09-29 10:07:55 +02:00
Sandra Snan
103bc43c26
Reply to non-int, and also longer posts, Pleroma style 2020-09-01 16:11:12 +02:00
Ivan Habunek
2458e8a360
Fix tests for search 2020-01-21 09:37:03 +01:00
Ivan Habunek
65eb1d0e10
Fix tests broken by colors patch 2019-09-08 15:08:24 +02:00
Ivan Habunek
42247f94ba
Fix tests 2019-07-31 09:01:27 +02:00
Ivan Habunek
096664b9dc
Fix tests 2019-04-23 13:16:24 +02:00
Denis Laxalde
204d4d4138 Handle absence of notification in 'notifications' command 2019-02-17 15:02:05 +01:00
Denis Laxalde
6360e4d07d Add a --clear option to "notifications" command 2019-02-17 14:18:51 +01:00
Denis Laxalde
5174a751f2 Implement "notifications" command
The list of notifications is diplayed with each item enclosed within an
horizontal line as for timeline. When a status is involved (when
notification type is "reblog" or "favourite"), we also display the full
status.

Closes #81.
2019-02-17 14:09:56 +01:00
Ivan Habunek
10595be865
Show full account name in timeline 2019-02-15 14:13:11 +01:00