Ivan Habunek
9664d71b57
Make get_instance return the response instead of json
2023-11-21 16:50:19 +01:00
Ivan Habunek
3de561a060
Add --json argument to whois command
2023-11-18 15:42:04 +01:00
Ivan Habunek
dd16627c89
Update print_account to take an Account object
2023-11-18 15:42:02 +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
Florian Obser
acc80f6890
Implemented "blocked" command
...
This lists accounts the logged in user has blocked. It is useful for
creating regular backups.
2023-07-21 16:24:57 +02:00
Florian Obser
39d7a345ed
Implemented "muted" command
...
This lists accounts the logged in user has muted. It is useful for
creating regular backups.
2023-07-21 16:24:38 +02:00
Ivan Habunek
3df8e2722a
Extract datetime utils
2023-06-30 11:08:19 +02:00
Ivan Habunek
3a375b77ee
Add toot status command
2023-06-28 12:23:33 +02:00
Ivan Habunek
f3439ad30d
Use entitites to simpliy print functions
2023-06-26 16:59:14 +02:00
Ivan Habunek
7b08e39f00
Decrease the amount of color
2023-06-22 11:33:07 +02:00
Daniel Schwarz
01afbe1f2f
If toot activate is invoked without an account, show list of accounts
2023-06-22 11:30:43 +02:00
Ivan Habunek
51d60679c3
Simplify account timeline options
2023-06-22 11:16:32 +02:00
Daniel Schwarz
e55474158a
Added toot timeline --account_tl console command
...
Displays the timeline of any account (public timeline for
users who are not you, public+private for you)
Right now it does not display reblogs or replies,
this could be configurable if we add more command line flags
2023-06-22 11:07:54 +02:00
Ivan Habunek
a388c30edf
Remove unused import
2023-04-06 21:36:09 +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
8624ddb175
Add a simple table printer and apply to lists
2023-03-30 12:00:12 +02:00
Daniel Schwarz
e85f7ce594
Give a more specfic error message if we can't add an account to list
2023-03-30 10:03:45 +02:00
Daniel Schwarz
47b182a05b
Changed parameters for list cmds
...
Title is now a positional parameter.
Also added some error handling in the command processing
for looking up list IDs per @ihabunek 's suggestions
2023-03-30 10:03:34 +02:00
Dan Schwarz
c12c53d719
minor improvement of feedback messages
2023-03-30 10:01:04 +02:00
Dan Schwarz
2e0f2548e6
Added toot list_remove_account command
2023-03-30 10:01:04 +02:00
Dan Schwarz
80f05e8147
Added toot list_add_account command
2023-03-30 10:01:03 +02:00
Daniel Schwarz
bfdd84870f
Added "toot list_delete" and "toot list_create" commands
2023-03-30 10:01:03 +02:00
Daniel Schwarz
08bb7aae71
added "toot list_accounts" command
2023-03-30 10:01:03 +02:00
Daniel Schwarz
855b2a1526
"toot list" console command added
2023-03-30 10:01:02 +02:00
Dan Schwarz
99060d221b
Basic support for followed accounts in TUI
...
In the status detail window, followed accounts are shown in
yellow, while unfollowed accounts are shown in grey.
2023-03-09 12:24:54 +01:00
Ivan Habunek
47c16b01ad
Add poll options to toot post
2023-03-09 11:02:15 +01:00
Ivan Habunek
1e3d59fee2
Don't prompt for toot text if media is given
...
This allows you to post an image without text:
toot post --media image.png
And not get prompted to write some text, which seems desirable.
2023-03-09 11:02:15 +01:00
Ivan Habunek
d5b5c89996
Add support for custom instance domains
...
The instance domain can be different from their base url, for example
the instance at https://social.vivaldi.net uses the vivaldi.net domain,
sans 'social'.
This commit requires the user to provide the base url of the instance,
instead of domain name. The domain is then fetched from the server.
fixes #217
2023-03-09 11:00:45 +01:00
Ivan Habunek
244502ec0b
Wait until media uploads finish processing
2023-03-03 11:44:40 +01:00
Ivan Habunek
e26cb52fd7
Enable providing media thumbnails
...
issue #301
2023-03-03 11:44:39 +01:00
Ivan Habunek
6c5eb528ee
Add command for updating user account
...
fixes #314
2023-02-21 18:10:14 +01:00
Ivan Habunek
00baabf7aa
Store temp file when using editor to post
...
In case of failed posting the status is not lost and the user can
recover it and continue posting.
fixes #311
2023-02-20 19:54:47 +01:00
Ivan Habunek
f3b90c947e
Add option to display relative datetimes
2023-01-29 09:23:57 +01:00
Giuseppe Bilotta
253eea12a6
Command to browse bookmarks from the CLI
2023-01-01 11:02:00 +01:00
Ivan Habunek
2d8791e629
Remove coding directives, no longer needed
2022-12-31 09:31:32 +01:00
Ivan Habunek
6f9ef69277
Rename tag commands to start with tags_
2022-12-31 09:31:32 +01:00
Daniel Schwarz
67b52757a4
Command line support for following hashtags (Mastodon 4+)
2022-12-31 09:02:38 +01:00
Lim Ding Wen
08a28bfb26
TOOT_VISIBILITY controls boost visibility
...
TOOT_VISIBILITY controls default boost visibility from CLI, and the boost visibility from TUI (no option to change in TUI yet)
2022-12-28 09:12:05 +01:00
Ivan Habunek
8ffe8d281f
Fix style issues
2022-12-27 12:31:55 +01:00
Ivan Habunek
29ff629464
Add toot env command
2022-12-18 19:44:43 +01:00
Ivan Habunek
e2d89c2d85
Fix matching fully qualified account names
...
fixes #254
2022-12-12 12:47:45 +01:00
Ivan Habunek
3e828c05d9
Send datetimes with timezone when scheduling
...
This fixes this feature on Pleroma
2022-12-07 15:03:39 +01:00
Ivan Habunek
4f0c367995
Add post --scheduled-in option for easier scheduling
2022-12-03 15:38:19 +01:00
Ivan Habunek
de2547cfa1
Refactor post function to make it more readable
2022-11-30 12:44:20 +01:00
Ivan Habunek
4ccc547830
Don't default to media URLs if no text is given
2022-11-30 08:56:10 +01:00
Ivan Habunek
7b4063fddc
Remove use of deprecated status.text_url
2022-11-30 08:55:46 +01:00
Ivan Habunek
a0353f9bbe
Remove unused imports
2022-11-29 11:07:02 +01:00
Ivan Habunek
7b194880a0
Remove duplicate search api fn
2022-11-27 09:56:58 +01:00
Ivan Habunek
ebc17e0764
Make toot instance work with localhost
...
Asserting the domain exists does not bring much value.
2022-11-27 09:56:04 +01:00