1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-11-03 04:17:21 -05:00
Commit Graph

47 Commits

Author SHA1 Message Date
Ivan Habunek
443f9445b1
Add --json option to account commands 2023-11-21 18:16:37 +01:00
Ivan Habunek
073dd3025c
Remove the ContentParser class, use functions instead
It did not help, just added to the indent.
2023-11-06 18:23:35 +01:00
Daniel Schwarz
0f39b1087f Support to display a limited set of HTML tags
HTML tag support is aligned with Mastodon 4.2 supported tags.
This code introduces a soft dependency on the urwidgets library.
If urwidgets is not available, HTML tags are still supported,
but hyperlinks are not underlined using the OCS 8 terminal
feature (on supported terminals).
2023-09-22 21:32:19 -04:00
Ivan Habunek
219225ba8a
Remove named colours
This is a prerequisite for configurable styling, since we don't want to
override "green" style to be yellow and such.
2023-07-07 13:57:19 +02:00
Ivan Habunek
9933180146
Improve colour names 2023-07-07 13:02:18 +02:00
Ivan Habunek
089e9f7d2f
Simplify delete status modal 2023-07-07 12:37:08 +02:00
Daniel Schwarz
3903307e72
Changed Help key to ?, Documented Save key correctly as E
Fixes #280, #370
2023-07-05 10:09:00 +02:00
Daniel Schwarz
f7ba208d3b
Added personal timeline, which is your own timeline of posts
Fixes issue #354
2023-06-22 11:07:54 +02:00
Dan Schwarz
6bcd43a6ae
Add basic support for Mastodon Lists
Fixes issue #255
2023-03-30 10:01:02 +02:00
Dan Schwarz
dfa3cf1b68 Restructured Goto Menu items for clarity, added error display 2023-03-12 22:00:05 -04:00
Daniel Schwarz
04615e84bc Add cop[y] status feature - copies status text to clipboard
This relies on the OSC 52 terminal feature, which is widely
supported (Windows Terminal, iTerm2, XTerm, Kitty, others)
2023-03-06 19:30:54 -05:00
rogarb
60029a442e
Add conversations support in TUI 2023-03-04 23:33:51 +01:00
Ivan Habunek
e77c40e27c
Update references to new documentation 2023-03-03 16:54:40 +01:00
Daniel Schwarz
744dc090b4 Basic support for viewing Status and Mention notifs as a timeline
Now the Goto Menu has a < Notifications > button. This will load
your Status and Mention notifications as a standard timeline
for viewing.
2023-02-24 22:19:24 -05:00
Daniel Schwarz
3a72d5f261 Account overlay - don't allow mute/block/unfollow own account 2023-02-21 20:43:09 -05:00
Daniel Schwarz
85df15f533
Implement actions for Account
Actions: un/follow, un/mute, un/block are invoked synchronously
and the Account overlay window is updated to reflect the changes.
2023-02-20 09:11:36 +01:00
Daniel Schwarz
876ad1f53d
Added framework for action buttons with "Confirm/Cancel" behavior
Buttons with confirm/cancel behavior are in place and working
TBD: implement actions when user gives confirmation.
2023-02-20 09:11:36 +01:00
Daniel Schwarz
a1490461bd
Add relationship support to Account overlay
Display relationship details such as followed_by, blocked_by,
and add buttons to un/follow, un/mute, un/block.
Buttons are nonfunctional for now
2023-02-20 09:11:34 +01:00
Daniel Schwarz
41a8c33409 Removed unneeded parenthesis 2023-02-14 22:21:04 -05:00
Ivan Habunek
9e2b5acf49
Extract link helper 2023-02-03 15:03:05 +01:00
Ivan Habunek
6a54f3dd0e
Pass account as argument 2023-02-03 15:03:05 +01:00
Ivan Habunek
0e535a3fd0
Make tags a bit less verbose 2023-02-03 15:03:05 +01:00
Daniel Schwarz
de7abd0b68 Strip trailing ":" off field names for consistency
Some servers add them, some don't. This makes the names
consistent before adding one trailing :
2023-02-03 15:02:47 +01:00
Daniel Schwarz
5943ebda3a Show if an account is a "bot", "locked", or "suspended" 2023-02-03 15:02:47 +01:00
Daniel Schwarz
a5d61c04a7 Account overlay is now at feature parity with toot whois command 2023-02-03 15:02:47 +01:00
Daniel Schwarz
4336871e9f Move save button to top 2023-02-03 04:09:35 +01:00
Ivan Habunek
9f3a54c054 Add status id to default filename 2023-02-03 04:09:35 +01:00
Ivan Habunek
37b4f00f6e Use get_edit_text to avoid trimming
This method returns only the text entered, without the caption.
2023-02-03 04:09:35 +01:00
Ivan Habunek
5606d95c93 Put edit box and button in list box with source
This makes it much easier to focus them, just scroll down.
2023-02-03 04:09:35 +01:00
Ivan Habunek
cc1809db31 Remove splitlines, not needed
Works just as well if provided as a single Text object.
2023-02-03 04:09:35 +01:00
Ivan Habunek
1b2da81d15 Inline button construction, avoid lambda 2023-02-03 04:09:35 +01:00
Ivan Habunek
c7f9f06f72 Use context for writing to file 2023-02-03 04:09:35 +01:00
Ivan Habunek
61990822e5 Use full words instead of abbreviations 2023-02-03 04:09:35 +01:00
Daniel Schwarz
b9a68a6132 Adds a "save" option to the so[u]rce dialog. 2023-02-03 04:09:35 +01:00
Daniel Schwarz
13fffd9fc1 Screen refresh after web browser invocation and exit 2023-01-01 09:04:02 +01:00
Daniel Schwarz
fed5574939
Add bookmark timeline and bookmarking to tui 2022-12-27 12:15:20 +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
Peter Fidelman
1d26ecd489
Add zoom command to open status in scrollable popup window 2022-11-29 09:40:48 +01:00
Daniel Schwarz
9abaebdc21
Updated patch
Corrected code here
2022-11-22 07:16:27 +01:00
Denis Laxalde
69f110b474
Make [P]in action toggle save of hashtag timeline
If currently viewed timeline is saved, [P] unsaves it.
2020-05-11 13:20:59 +02:00
Denis Laxalde
3e11153640
Add a [P]in action to save a hashtag timeline
This goes along with the ability to "go to" a saved hashtag timeline.

We need to pass the "local" flag down build_timeline() method so that
this is also saved. Note that we cannot save both a local and a
federated timeline for the same hashtag: I'm not sure it's worth
supporting both options?
2020-05-11 13:20:54 +02:00
Denis Laxalde
9d3d38552e
Display saved timelines in "goto" menu
We introduce "saved timelines" as a new entry in configuration file. For
now, we only save whether the timeline is local or not. Timeline save is
not implemented yet, only retrieval from config file and display is
handled at the moment. Saved timelines in the goto menu.
2020-05-11 13:20:07 +02:00
Denis Laxalde
28e1281187 Add an action to display status links and open them
We add a new [L]inks action that opens an overlay window with links
found in the content of selected status. Links are selectable and upon
click/enter we open the web browser at link's URL.
2020-04-15 14:11:31 +02:00
Ivan Habunek
1d3ff87ffa
TUI: Implement deleting own status messages 2019-09-04 16:16:16 +02:00
Ivan Habunek
7e04ad55c6
Add links to help overlay 2019-09-03 15:40:49 +02:00
Ivan Habunek
3a11e470fb
Extract overlays from app.py 2019-09-03 15:40:49 +02:00