Wykres commitów

59 Commity (master)

Autor SHA1 Wiadomość Data
Daniel Schwarz 0fc2ec12f5
Display images 2024-04-13 08:28:28 +02:00
Sandra Snan 07beba8c68
Fix --clear text issue
It's a click flag.
2024-04-08 08:32:05 +02:00
Ivan Habunek 3eebbe35c9
Change option to lowercase 2024-03-09 10:16:41 +01:00
Ivan Habunek 1709a416b3
Make list printing not break on akkoma 2024-03-09 09:32:38 +01:00
Ivan Habunek 9ae205c548
Upload media using same user in toot post --using 2024-02-10 18:24:35 +01:00
Ivan Habunek fda498d793
Merge pull request #450 from lexiwinter/autoopen-cw
add an option to automatically expand content warnings
2024-01-04 09:47:09 +01:00
Ivan Habunek 964efc5b4c
Fix bug which causes a crash if palette is not in settings 2024-01-02 22:06:20 +01:00
Ivan Habunek db266c563d
Don't set default visibility
This way the visiblility will default to the one in user preferences. By
default this is 'public'.
2024-01-02 21:56:36 +01:00
Ivan Habunek 03035c31a0
Fix warning 2024-01-02 21:02:38 +01:00
Ivan Habunek 724f27f860
Remove unused imports 2024-01-01 12:14:15 +01:00
Ivan Habunek 3a147a5ea0
Move Run type alias to conftest
It's only used in tests
2024-01-01 09:52:15 +01:00
Ivan Habunek 84e75347e0
Make palettes work again 2023-12-31 21:29:06 +01:00
Lexi Winter 1ed129f5dd tui: add --always-show-sensitive option
When enabled, this option expands toots with content warnings
automatically, instead of requiring the user to press 'S'.
2023-12-31 18:54:56 +00:00
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
Ivan Habunek 11aaa1dc29
Reinstate toot post --using option 2023-12-28 19:09:48 +01:00
Ivan Habunek 2e2945822a
Add shell completion for instances 2023-12-28 19:02:19 +01:00
Ivan Habunek ca2912fa78
Add toot --as option to override active account 2023-12-28 12:16:43 +01:00
Ivan Habunek 41b77cc9de
Help with list command discovery 2023-12-27 10:17:14 +01:00
Ivan Habunek 556741e864
Don't show warning for [tui.palette] setting section 2023-12-27 10:17:14 +01:00
Ivan Habunek eeb90dc21c
Remove --quiet flag 2023-12-27 09:47:51 +01:00
Ivan Habunek 11bc102cc8
Read [tui] section to preserve BC 2023-12-26 09:48:31 +01:00
Ivan Habunek 561506ee2d
Enable getting public timelines without logging in 2023-12-17 09:56:39 +01:00
Ivan Habunek 1dac093be7
Add --json option to lists commands 2023-12-14 14:10:53 +01:00
Ivan Habunek 438a8ab206
Make instance work without logging in 2023-12-14 13:06:06 +01:00
Ivan Habunek 44ea2e8e6f
Don't ignore the whole file by flake8 2023-12-14 11:57:33 +01:00
Ivan Habunek f72e4ba844
Move code from toot.tui.base to toot.tui 2023-12-14 11:35:52 +01:00
Ivan Habunek 2f3f686a00
Rework how app, user are passed to context 2023-12-14 10:11:09 +01:00
Ivan Habunek 164016481d
Replace lists commands with subcommands 2023-12-13 16:14:46 +01:00
Ivan Habunek 7ba2d9cce5
Use click echo instead of print 2023-12-13 15:35:58 +01:00
Ivan Habunek fab23b9069
Reorganize cli imports
The old way did not allow for having multiple commands of the same name
2023-12-13 15:00:47 +01:00
Ivan Habunek 01f3370b89
Add `tags info` command 2023-12-13 08:40:02 +01:00
Ivan Habunek 381e3583ef
Add featured tag commands 2023-12-13 08:40:02 +01:00
Ivan Habunek 743dfd715e
Change `toot tags` to `toot tags followed` 2023-12-13 08:40:02 +01:00
Ivan Habunek c7e01c77f2
Add --json option to tag commands 2023-12-13 08:40:02 +01:00
Ivan Habunek 63691a3637
Allow editor when not in tty
I was told there are legitimate use cases I was not aware of.
2023-12-11 13:59:05 +01:00
Ivan Habunek 9098279d40
Replace tags_* commands with a group 2023-12-08 08:23:17 +01:00
Ivan Habunek 0848a6f7df
Add shell completion for account names 2023-12-07 19:45:13 +01:00
Ivan Habunek bbf67c6736
Pass tui options through cli options 2023-12-07 19:27:26 +01:00
Ivan Habunek 11cfa5834b
Remove default from environment variable
Click already does that for us.
2023-12-07 10:23:17 +01:00
Ivan Habunek bf5eb9e7f8
Add --width option 2023-12-07 10:03:33 +01:00
Ivan Habunek ac7964a7b4
Use cached fn to get settings 2023-12-05 12:00:45 +01:00
Ivan Habunek e89cc6d590
Load command defaults from settings 2023-12-05 10:56:28 +01:00
Ivan Habunek 78f994c0f1
Make toot instance work with instance domain name 2023-12-05 10:18:34 +01:00
Ivan Habunek b539c933ef
Respect --no-color 2023-12-05 09:59:40 +01:00
Ivan Habunek a653b557b4
Fix formatting 2023-12-05 09:25:02 +01:00
Ivan Habunek a8aeb32e18
Fix typing not to break older python versions 2023-12-05 09:15:39 +01:00
Ivan Habunek 05dbd7bb57
Fix bug in media upload 2023-12-05 08:58:18 +01:00
Ivan Habunek 4dfab69f3b
Add tui command 2023-12-03 13:53:52 +01:00
Ivan Habunek 3947b28de5
Add upload command 2023-12-03 13:45:24 +01:00
Ivan Habunek 84396fefc2
Improve variable naming 2023-12-03 13:32:51 +01:00