1
0
mirror of https://github.com/ihabunek/toot synced 2025-02-15 03:20:42 +01:00

719 Commits

Author SHA1 Message Date
Ivan Habunek
f43dc9b35d
wip 2024-11-14 10:13:46 +01:00
Ivan Habunek
20eec3ba63
Add --type and --exclude-type options to notification 2024-11-14 10:02:43 +01:00
Ivan Habunek
4b88b86b6f
Add --json option to notifications 2024-11-14 09:39:10 +01:00
Ivan Habunek
e960267b70
Add min_id and max_id options to search 2024-11-12 09:10:22 +01:00
Ivan Habunek
803f36d1ed
Improve search option types 2024-11-12 09:07:05 +01:00
Giuseppe Bilotta
71d9c9ff12 search: add support for type, offset and limit from the command line 2024-11-12 08:56:15 +01:00
Ivan Habunek
89ea4604e5
Fix matching list by ID 2024-10-01 09:32:58 +02:00
Ivan Habunek
a568980f9f
Revert "Handle 422: Validation Failed. Status has already been taken errors"
It broke --json option when 422 was triggered.

This reverts commit 61843feae13cec1ee57372357936dc0ef3017568.
2024-10-01 08:58:44 +02:00
Daniel Schwarz
61843feae1
Handle 422: Validation Failed. Status has already been taken errors 2024-10-01 08:46:40 +02:00
Ivan Habunek
3969a15029
Break long line 2024-09-29 09:40:37 +02:00
Ivan Habunek
3176fa0614
Ignore vermin in one place 2024-09-29 09:38:23 +02:00
Ivan Habunek
f272cc2a38
Deprecate toot env in favour of toot diag 2024-09-29 09:34:48 +02:00
Ivan Habunek
2a5e823878
Move diag logic to own module, break up a bit 2024-09-29 09:34:48 +02:00
Ivan Habunek
0d829e9495
Rework the diag command a bit 2024-09-29 09:34:48 +02:00
Ivan Habunek
fe29ac816b
Clean up formatting 2024-09-29 09:34:48 +02:00
Ivan Habunek
76bb1b5484
Add post --reply-last option
fixes #464
2024-09-22 22:14:36 +02:00
Denis Laxalde
74a73d1c2d Fix shortcut for status links in help 2024-08-25 13:58:32 +02:00
Ivan Habunek
a730a33901
Print statuses in search output 2024-08-12 12:04:29 +02:00
Ivan Habunek
070f6b9ef1
Attempt to resolve status ID from URL for status actions 2024-08-12 11:59:39 +02:00
Sandro Santilli
125626d884 Explain post visibility 2024-08-12 09:55:13 +02:00
Daniel Schwarz
727fec415c Fix for TUI crash bug #487 2024-08-12 09:50:40 +02:00
Ivan Habunek
4ae9443174
Remove unnecessary try blocks 2024-08-12 09:48:37 +02:00
Ivan Habunek
72b6a67215
Make diags look a bit nicer in markdown
e.g. when pasted into a github issue
2024-08-12 09:24:50 +02:00
Ivan Habunek
7e09c0b387
Move imports to top 2024-08-12 09:12:09 +02:00
Ivan Habunek
93cfe2af75
Remove unneccessary fstrings 2024-08-12 09:02:48 +02:00
Ivan Habunek
a0e0f4fccd
Make toot diag work when not logged in 2024-08-12 08:57:59 +02:00
Daniel Schwarz
1883042344 Added toot diag -s flag; if specified, includes server info 2024-08-04 23:37:40 -04:00
Daniel Schwarz
62fa59cc06 Sort the list of dependencies in toot diag output 2024-07-03 10:11:24 -04:00
Daniel Schwarz
abe17695ba Added distribution info to toot diag (iff using Python 3.10+) 2024-06-18 17:18:36 -04:00
Daniel Schwarz
b088ce9585 Output of config and settings files is now optional (toot diag -f) 2024-06-18 17:18:36 -04:00
Daniel Schwarz
df98705627 Added config and settings file output to toot diag 2024-06-18 17:18:36 -04:00
Daniel Schwarz
ded6ec98bc Added toot version number to diag output 2024-06-18 17:18:36 -04:00
Daniel Schwarz
ee45ec1ffd Added 'toot diag' command that outputs useful diagnostic info 2024-06-13 20:35:45 -04:00
Daniel Schwarz
c5414a8e21 Added support for indexed color image rendering; fixes #483
Useful for terminals that do not support truecolor, such
as MacOS Terminal. Requires term-image 0.7.2 or later.
2024-06-07 22:00:57 -04:00
AnonymouX47
1ea2e29e25 fix: Fix iTerm2's title with image support enabled
- Fix: Force support support only for the selected image format.

  If support is forced for `KittyImage`, then `UrwidImageScreen` will
  emit kitty graphics control sequences to delete images upon starting
  and stoping the screen.

iTerm2 (on Mac OS) doesn't eat up APCs (which kitty graphics control
sequences are) as it should, instead it writes them to the screen
and/or to its title bar.
2024-06-04 09:00:44 +01:00
AnonymouX47
b264927da9 refac: tui.images: Optimize image class selection
- Change: Execute image class selection logic once and cache the result.
2024-06-04 08:46:35 +01:00
AnonymouX47
efab6cf556 refac: tui: Optimize image pixel support detection 2024-06-04 08:36:48 +01:00
Ivan Habunek
87acfb8ef4
Fix broken build 2024-04-14 09:05:09 +02:00
Ivan Habunek
927fdc3026
Improve types 2024-04-13 15:30:52 +02:00
Ivan Habunek
597dddf76d
Drop typing compat needed for python 3.7 2024-04-13 09:22:57 +02:00
Ivan Habunek
f925199781
Migrate setup.py to pyproject.toml 2024-04-13 08:49:25 +02:00
Daniel Schwarz
0fc2ec12f5
Display images 2024-04-13 08:28:28 +02:00
Ivan Habunek
07ad41960f
Capitalize visibility 2024-04-08 08:34:56 +02:00
Sandra Snan
07beba8c68
Fix --clear text issue
It's a click flag.
2024-04-08 08:32:05 +02:00
Sandra Snan
7244b2718f
Print visibility in CLI
I went with two spaces before and after but feel free to change that
to whatever! Having the visibility printed this way is pretty useful
for us who mostly read posts through the CLI.
2024-04-08 08:31:19 +02:00
Luca Matei Pintilie
1d48e64853
Fix version check in case of an empty string
Some mastodon implementations (GoToSocial) will return `version: ""`, in
which case checking for the major version won't work.

This is why an extra check has to be added, and default to 0 as the
"major" version.
2024-04-06 14:56:54 +02:00
Ivan Habunek
4b17e2e586
Merge pull request #473 from danschwarz/corrupt_link_fix
Added safeguards to prevent crashes when rendering corrupt URLs
2024-03-12 14:54:51 +01:00
Daniel Schwarz
20968fe87f Added safeguards to prevent crashes when rendering corrupt URLs 2024-03-09 13:48:33 -05:00
Ivan Habunek
3bac9b2fb6
Add changelog, bump version 2024-03-09 12:12:57 +01:00
Ivan Habunek
3420f1466a
Fix type annotation 2024-03-09 12:12:27 +01:00