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
f394d78c1e
tui: keep CW note after opening toot
...
Continue to display 'Marked as sensitive' in the toot view even after
the CW has been opened. This matches the behaviour of other clients,
and is useful to see because it might affect whether you want to boost
the toot or not (for example).
2023-12-31 18:46:01 +00:00
Ivan Habunek
2e55ddbe7e
Merge pull request #454 from lexiwinter/use-preferences-visibility
...
tui: honour user's default visibility preference
2023-12-31 19:28:15 +01: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
4e55fba15e
Merge pull request #452 from lexiwinter/timeline-reply-fix
...
tui: fix display glitch for reply icon in timeline
2023-12-31 18:23:01 +01:00
Ivan Habunek
5a2f19a04a
Merge pull request #453 from lexiwinter/mark-edited-toots
...
tui: show edit date in toot view
2023-12-31 18:15:27 +01:00
Lexi Winter
d0f05c7ad9
tui: show edit date in toot view
...
When viewing a toot which has been edited, show the edit date.
While here, fix a bug where the '*' edit marker in the timeline wouldn't
show for retoots because it was checking the retoot status instead of
the original status.
2023-12-31 16:51:02 +00:00
Lexi Winter
741a306c69
tui: fix display glitch for reply icon in timeline
...
In some fonts, "⤶" (U+2936 ARROW POINTING DOWNWARDS THEN CURVING
LEFTWARDS) may be a double-width character. To avoid a display glitch
where this overlaps with the boosted icon, print a space after it.
2023-12-31 16:20:03 +00:00
Ivan Habunek
09b29d2b93
Bump version, update changelog
2023-12-28 19:11:28 +01: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
22c9f387a1
Bump version, add changelog
2023-12-28 12:20:43 +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
d1d74f47d8
Include description in tag commit message
2023-12-27 10:17:14 +01:00
Ivan Habunek
94d7532929
Set release date
2023-12-27 10:17:14 +01:00
Ivan Habunek
eeb90dc21c
Remove --quiet flag
2023-12-27 09:47:51 +01:00
Sandra Snan
44b6f9fcf4
Drop Pleroma Emoji Reactions
...
I made this a list so you can add other types to drop easily but if
this is premature generalization we could make it a scalar instead.
2023-12-26 09:49:08 +01:00
Ivan Habunek
11bc102cc8
Read [tui] section to preserve BC
2023-12-26 09:48:31 +01:00
Ivan Habunek
9f0c94bce1
Update readme
2023-12-22 09:44:13 +01:00
Ivan Habunek
d9c6bf79c8
Fix urwid stalling until input received
...
fixes #364
2023-12-19 11:10:49 +01:00
Ivan Habunek
561506ee2d
Enable getting public timelines without logging in
2023-12-17 09:56:39 +01:00
Ivan Habunek
59efff5abc
Use context manager to edit config
...
This simplies the code a bit and resolves some type hinting issues.
2023-12-17 09:42:09 +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
6cf0e84d7a
Merge pull request #445 from strk/phony-bundle
...
Make bundle rule phony
2023-12-14 13:03:41 +01:00
Sandro Santilli
81c87c5709
Make bundle rule phony
2023-12-14 12:53:32 +01:00
Ivan Habunek
3399c8763d
Merge pull request #428 from ihabunek/click
...
Migrate to Click
2023-12-14 12:07:29 +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
ad7cfd44d4
Update changelog
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
120545865b
Bump version to 0.40.0
2023-12-13 08:40:30 +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
a0caa88ffe
Add insurance policy
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
0f4f0b3863
Don't page lists, they don't support paging
2023-12-08 08:44:24 +01:00
Ivan Habunek
9098279d40
Replace tags_* commands with a group
2023-12-08 08:23:17 +01:00
Ivan Habunek
875bf2d86a
Add docs for environment variables
2023-12-07 20:05:58 +01:00
Ivan Habunek
0848a6f7df
Add shell completion for account names
2023-12-07 19:45:13 +01:00
Ivan Habunek
c7b5669c78
Add docs for shell completion
2023-12-07 19:45:13 +01:00