Commit Graph

82 Commits

Author SHA1 Message Date
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
Ivan Habunek 654bc06166
Fix formatting 2022-11-24 11:21:01 +01:00
Giuseppe Bilotta e171578878 Implement following/followers list retrieval 2022-11-18 08:23:12 +01:00
Ivan Habunek 44a30b44d8
Add toot (un)bookmarking
fixes #204
2022-11-17 06:32:12 +01:00
Evan Smith 8b274eeaa1 Normalise usernames when searching 2022-11-08 07:10:49 +01:00
Sandra Snan 9e046b6d86
Add --content-type option to toot post 2021-08-28 21:08:44 +02:00
Stacy Harper 6115cea43e
Prevent toot timeline to break when piped to extenal programs
Toot timeline try to ask the user to continue in the next page. This
doesn't works if the command is piped to any other software.

We stop the query in the first loop when not in a tty context. The
command should be called with the expected item count in this case.
2021-08-28 20:14:30 +02:00
ansuz ec097886d8
Support adding description to media 2021-08-28 18:47:07 +02:00
Ivan Habunek 7e0da50603
Add option for scheduling tweets 2021-08-28 17:39:31 +02:00
alex wennerberg 0b6d4a9e87
Add mentions-only parameter to notifications command 2021-07-29 10:08:58 +02:00
Ivan Habunek 62d7855fc0
Remove curses app, replaced by tui 2020-09-29 10:04:57 +02:00
Ivan Habunek ad272f521b
Fix timeline generator to respect --instance option
Access the anon public & tag timelines in this case. This makes it
possible to see those timelines without being logged in.
2020-06-15 21:08:02 +02:00
Ivan Habunek 3829a57909
Add --reverse option to notifications
fixes #151
2020-05-11 13:51:07 +02:00
Ivan Habunek 3b5769acc0
Use authorized get to fetch public and tag timelines
Some servers require authorization for viewing "public" timelines, and
since currently toot always requires auth for this it's not required to
support anon access to timelines.

fixes #168
2020-05-11 12:59:50 +02:00
Ivan Habunek ea1ef6f207
Initial implementation of a TUI using Urwid 2019-09-03 15:40:42 +02:00
Ivan Habunek d21cad892c
Implement composing tweets using an editor
fixes #90
2019-08-22 17:37:24 +02:00
Ivan Habunek a771ca3aa7
Enable attaching multiple media files
fixes #67
2019-08-01 12:56:21 +02:00
Ivan Habunek a7e4f9d888
Add --language option to post command
Used to override language detection.
2019-07-30 16:13:29 +02:00
Ivan Habunek 474d9c432f
Move notification printing to output module
Removed sorting, since notifications are already sorted.
2019-04-16 14:12:42 +02:00
Denis Laxalde 204d4d4138 Handle absence of notification in 'notifications' command 2019-02-17 15:02:05 +01:00
Denis Laxalde 6360e4d07d Add a --clear option to "notifications" command 2019-02-17 14:18:51 +01:00
Denis Laxalde 5174a751f2 Implement "notifications" command
The list of notifications is diplayed with each item enclosed within an
horizontal line as for timeline. When a status is involved (when
notification type is "reblog" or "favourite"), we also display the full
status.

Closes #81.
2019-02-17 14:09:56 +01:00
Ivan Habunek d224375da4
Consolidate timeline selection arguments
toot timeline and toot curses now use the same logic.
2019-02-15 14:13:12 +01:00
Ivan Habunek abb1b436ca
Fix typo 2019-02-15 14:13:11 +01:00
Denis Laxalde f1c8465e63
Add a "reblogged_by" command 2019-02-14 17:58:47 +01:00
Denis Laxalde 834bdb67ac
Pass "app" and "user" to TimelineApp
We're going to need this context to issue API calls from the curses UI.
2019-02-14 17:58:22 +01:00
Ivan Habunek 19cbcd43b2
Make `toot timeline` continuable by pressing Enter 2019-02-13 14:19:00 +01:00
Ivan Habunek c7c42b8337
Merge pull request #85 from ksunden/localtag
Add local and tag timelines to curses
2019-01-24 11:20:58 +01:00
Balazs Nadasdi ee417df60e Status ID + thread view
- Status ID on timeline list view
 - thread command to view a complete thread
   Display order:
    - ancestors
    - status
    - descendants
2019-01-19 19:28:17 +01:00
ksunden 4df0c7882d ENH: Add local and tag timeline support to curses
Closes #61
2019-01-02 22:36:40 -06:00
Ivan Habunek 82ed630864
Add status related commands
(un)favourite, (un)reblog & (un)pin.

fixes #75
2019-01-02 12:33:25 +01:00
Ivan Habunek 14a580bc19
Make toot post prompt for input if no text is given
fixes #82
2019-01-02 10:50:56 +01:00
Ivan Habunek b06e9ea733
Enable fetching instance info over http
issue #56
2018-12-30 09:53:12 +01:00
Erica Ehrhardt fde84295e0 Add --disable-https flag 2018-12-24 17:20:30 -08:00