1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-06-23 06:25:26 +00:00
Commit Graph

985 Commits

Author SHA1 Message Date
Ivan Habunek
31501a84a0
Merge pull request #482 from ihabunek/fix_urwidgets_dep
Fix reversion error; restore minimum urwidgets version to be 0.2
2024-06-08 09:33:08 +02:00
Ivan Habunek
6ea13db2a5
Merge pull request #485 from ihabunek/indexed
Added support for indexed color image rendering; fixes #483
2024-06-08 09:32:09 +02: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
Daniel Schwarz
c622cbbccd
Merge pull request #484 from AnonymouX47/improve-image-support
Improve Image Support
2024-06-05 17:59:40 -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
Daniel Schwarz
c3b6dfd74a Fix reversion error; restore minimum urwidgets version to be 0.2 2024-04-25 17:12:41 -04:00
Ivan Habunek
b97a995dc4
Add assert_ok helper 2024-04-21 10:03:10 +02:00
Ivan Habunek
5cd25e2ce2
Tweak pyright config 2024-04-20 13:36:35 +02:00
Ivan Habunek
aa1f2a5bc8
Start documenting testing 2024-04-20 13:27:42 +02:00
Ivan Habunek
4996da61e5
Add python version for pyright 2024-04-15 08:30:28 +02: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
2ba90fc2d2
Bump python version for vermin 2024-04-13 09:24:58 +02:00
Ivan Habunek
8243dbab34
Add changelog 2024-04-13 09:23:38 +02:00
Ivan Habunek
597dddf76d
Drop typing compat needed for python 3.7 2024-04-13 09:22:57 +02:00
Ivan Habunek
b482dc20b4
Drop support for python 3.7 2024-04-13 09:21:41 +02:00
Ivan Habunek
211e501fbc
Update release docs 2024-04-13 09:16:04 +02:00
Ivan Habunek
b9c671b5a8
Remove test dependency on psycopg2
No longer using database for testing.
2024-04-13 09:09:59 +02:00
Ivan Habunek
77d8e7d7b5
Use build for packaging 2024-04-13 09:09:17 +02:00
Ivan Habunek
880848fae3
Remove version checks from tag script
Not needed since we're using the version from scm.
2024-04-13 09:06:00 +02:00
Ivan Habunek
f54b6ac9d7
Update changelog 2024-04-13 09:04:10 +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
Ivan Habunek
968a516f76
Remove unused helpers 2024-04-06 15:06:59 +02:00
Ivan Habunek
38eca67905
Fix bug in run_with_retries, better types 2024-04-06 15:05:47 +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
bf12dbff70
Use a stronger password in tests
gotosocial registration fails with a weak password
2024-04-06 13:15:36 +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
Ivan Habunek
3eebbe35c9
Change option to lowercase 2024-03-09 10:16:41 +01:00
Ivan Habunek
4d5ac3cc4e
Don't break if status doesn't have edited_at 2024-03-09 10:13:34 +01:00
Ivan Habunek
ee98ce3746
Fix following tests 2024-03-09 09:54:46 +01:00
Ivan Habunek
0cbb8863b3
Start some docs for testing 2024-03-09 09:43:02 +01:00
Ivan Habunek
1709a416b3
Make list printing not break on akkoma 2024-03-09 09:32:38 +01:00
Ivan Habunek
f324aa119d
Add List entity 2024-03-09 09:32:04 +01:00
Ivan Habunek
43f51cbbb9
Make tests a bit more robust
By creating a new user we don't need to check if we're following or
blocking them before running the test.
2024-03-09 09:24:00 +01:00
Ivan Habunek
225dfbfb2e
Use alias for types 2024-03-09 09:20:43 +01:00
Ivan Habunek
9ae205c548
Upload media using same user in toot post --using 2024-02-10 18:24:35 +01:00
Ivan Habunek
9875209b30
Improve types 2024-02-10 18:24:35 +01:00
Ivan Habunek
965ffa1312
Remove unused code 2024-02-10 18:24:34 +01:00
Ivan Habunek
e1be3a68bb
Merge pull request #466 from danschwarz/scrollbar-update
Updated scroll.py to latest updated version from NomadNet
2024-01-16 11:35:34 +01:00
Daniel Schwarz
0cb2355973 Updated scroll.py to latest updated version from NomadNet
https://github.com/markqvist/NomadNet/blob/master/nomadnet/vendor/Scrollable.py
2024-01-15 21:54:11 -05:00
Ivan Habunek
a34831a02b
Merge pull request #460 from danschwarz/roundrect
Converted LineBoxes to RoundedLineBoxes that look nicer
2024-01-10 11:47:57 +01:00