1
0
mirror of https://github.com/ihabunek/toot synced 2025-01-26 17:24:59 +01:00
Toot-Mastodon-CLI-TUI-clien.../toot
Lexi Winter 5dd53b1b9c tui: honour user's default visibility preference
Mastodon allows the user to configure a default visibility which should
apply to all clients.  This setting is returned by the
/api/v1/preferences method.

Fetch the user preferences when the TUI starts, and use it to set the
default visibility when composing a new toot.  The preference can be
overridden by a new command-line option, toot tui --default-visibility=.
If neither the preference nor the option are set, fall back to
get_default_visibility().
2023-12-31 18:20:47 +00:00
..
cli tui: honour user's default visibility preference 2023-12-31 18:20:47 +00:00
tui tui: honour user's default visibility preference 2023-12-31 18:20:47 +00:00
utils Overhaul output to use click 2023-12-05 11:55:09 +01:00
__init__.py Bump version, update changelog 2023-12-28 19:11:28 +01:00
__main__.py Simplify main 2023-12-05 10:45:18 +01:00
api.py tui: honour user's default visibility preference 2023-12-31 18:20:47 +00:00
auth.py Migrate auth commands 2023-11-30 20:12:04 +01:00
config.py Use context manager to edit config 2023-12-17 09:42:09 +01:00
entities.py Add featured tag commands 2023-12-13 08:40:02 +01:00
exceptions.py Setup click, migrate read commands 2023-11-28 10:13:05 +01:00
http.py Log request exceptions 2023-11-21 16:50:19 +01:00
logging.py Log request exceptions 2023-11-21 16:50:19 +01:00
output.py Drop Pleroma Emoji Reactions 2023-12-26 09:49:08 +01:00
settings.py Remove unused code 2023-12-07 19:11:12 +01:00
typing_compat.py
wcstring.py Improve typing in wcwidth module 2023-11-24 09:52:41 +01:00