Commit Graph

23 Commits

Author SHA1 Message Date
Daniel Schwarz 0fc2ec12f5
Display images 2024-04-13 08:28:28 +02:00
Ivan Habunek cd03486a25
Remove unused imports 2023-11-19 12:48:22 +01:00
Ivan Habunek 5a83cd7d3b
Read media viewer from settings 2023-11-19 12:15:26 +01:00
Ivan Habunek e5ac82bb01
Add fallback for html_to_widgets
Remove has_urwidgets since we no longer need to worry if we have
urwidgets in the richtext module.
2023-11-16 11:36:18 +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 9933180146
Improve colour names 2023-07-07 13:02:18 +02:00
Ivan Habunek 3df8e2722a
Extract datetime utils 2023-06-30 11:08:19 +02:00
Ivan Habunek 0c89445b61
Fix type hint for older py versions 2023-06-26 16:58:11 +02:00
Ivan Habunek 0662a7616b
Read toot lenght limit from mastodon instances
fixes #369
2023-06-24 10:18:10 +02:00
Ivan Habunek 12d84ea05e
Fix return type 2023-06-24 10:04:40 +02: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
Daniel Schwarz ef2c35eaee Removed unneeded pareenthesis 2023-02-14 22:21:04 -05:00
Daniel Schwarz deebdf7141
Show relative datetimes in status list
Status detail pane now shows the full created_at timestamp.
2023-01-29 09:11:03 +01:00
Ivan Habunek ff1374a95c
Improve formatting, remove logging 2023-01-02 14:25:39 +01:00
Daniel Schwarz 88c444c411
Highlight followed tags 2023-01-02 14:25:30 +01:00
Ivan Habunek ceedc0e448
Fix timezone to UTC when running tests
fixes #227
2022-11-21 09:06:58 +01: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 5fc46d0cfc
Fix datetime parsing on python 3.5
datetime.astimezone supports native datetimes only since python 3.6

fixes #162
2020-04-15 14:01:23 +02:00
Ivan Habunek e310482cb6
Fix date parsing bug
issue #114
2019-09-04 08:36:12 +02:00
Ivan Habunek 7f6f128f38
Show media in image viewer 2019-09-03 15:40:47 +02:00
Ivan Habunek 1a8c515922
Implement thread (status context) view 2019-09-03 15:40:46 +02:00
Ivan Habunek 871e2bc960
Render polls 2019-09-03 15:40:45 +02:00
Ivan Habunek dd1b462413
Highlight hashtags 2019-09-03 15:40:43 +02:00