Commit Graph

529 Commits

Author SHA1 Message Date
Ivan Habunek a3fa7e1e3a
Improve visibility help string 2022-12-28 09:48:44 +01:00
Ivan Habunek aa75cacbff
Rename TOOT_VISIBILITY to TOOT_POST_VISIBILITY
This makes it more in line with what's planned for environemnt
variables in the future.
2022-12-28 09:21:22 +01:00
Ivan Habunek e07be634f6
Extract code for getting default visibility 2022-12-28 09:19:25 +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
Lim Ding Wen 8582c8ed62
TOOT_VISIBILITY controls default visibility 2022-12-28 09:12:05 +01:00
Lim Ding Wen f91bfa0c62
TUI no longer mentions self when replying
This brings it more in-line with Mastodon v4's web UI.
2022-12-28 09:06:14 +01:00
Lim Ding Wen 69718f41f6
Reply to original account instead of boosting account
Affects the "replying to" TUI label, and the mention auto-generated.
This brings it more in-line with Mastodon web behaviour.
2022-12-28 09:03:11 +01:00
Ivan Habunek fa6b90a115
Tweak visibility display 2022-12-28 07:48:53 +01:00
Lim Ding Wen 064cab1988
Show visibility in TUI 2022-12-28 07:40:19 +01:00
Ivan Habunek 8ffe8d281f
Fix style issues 2022-12-27 12:31:55 +01:00
Ivan Habunek da0df92615
Add flake8 to test dependencies 2022-12-27 12:17:31 +01:00
Ivan Habunek 5d4bb3c464
Run flake8 in CI 2022-12-27 12:16:18 +01:00
Ivan Habunek f534d295c0
Make line more readable 2022-12-27 12:15:21 +01:00
Ivan Habunek 69b9ab3164
Truncate long log lines unless --verbose given 2022-12-27 12:15:21 +01:00
Ivan Habunek adf3f713a6
Change bookmark key binding to avoid conflict
K is used to scroll up vim-style.
2022-12-27 12:15:21 +01:00
Daniel Schwarz fed5574939
Add bookmark timeline and bookmarking to tui 2022-12-27 12:15:20 +01:00
Ivan Habunek ded7a0c50d
Fix flake8 errors 2022-12-27 10:56:36 +01:00
Daniel Schwarz 8595e39f4c
Hide polls and media for sensitive toots 2022-12-27 10:53:58 +01:00
Lim Ding Wen 5c98d4ac80 Show error if trying to boost unboostables in TUI 2022-12-27 09:53:11 +01:00
Ivan Habunek 29ff629464
Add toot env command 2022-12-18 19:44:43 +01:00
Ivan Habunek c74d2ad916
Bump version, generate changelog 2022-12-12 13:31:15 +01:00
Ivan Habunek 4261d1c3fa
Fix packaging issue missing module 2022-12-12 13:30:28 +01:00
Ivan Habunek b4bbb41a20
Bump version, update changelog 2022-12-12 13:24:08 +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 0ab0db048c
Show full language name 2022-12-11 23:26:15 +01:00
Ivan Habunek 92d6c399b1
Move utils to own module 2022-12-11 23:15:07 +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 c3bf0f3bb0
Enable toggling translation 2022-12-11 22:51:32 +01:00
Daniel Schwarz be5948bac8
Added translate status feature (requires server side support) 2022-12-11 20:25:02 +01:00
Ivan Habunek f9fef1927c
Bump version, update changelog 2022-12-07 15:09:09 +01:00
Ivan Habunek 40e7a6f3a1
Fix several tests when running on Pleroma 2022-12-07 15:03:40 +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 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 603c742ea2
Fix actions 2022-12-06 13:49:08 +01:00
Ivan Habunek 4f0c367995
Add post --scheduled-in option for easier scheduling 2022-12-03 15:38:19 +01:00
Ivan Habunek 66f1883b3c Remove sr.ht build
Love sr.ht, but Github actions have multiple python versions.
2022-12-02 09:27:14 +01:00
Ivan Habunek a5d2533297 Validate minimum python version in tests 2022-12-02 09:27:14 +01:00
Ivan Habunek 48a9b2d3dd Set min python version to 3.6
This is already the case since f-strings are used.
2022-12-02 09:27:14 +01:00
Ivan Habunek 05c900c297 Add github actions workflow 2022-12-02 09:27:14 +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 d76a2ee967
Bump version, update changelog 2022-11-30 13:51:00 +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 e396768d15
Bump version, add changelog 2022-11-29 11:54:45 +01:00