Bug 495208 - Not compatible with iceshrimp.net instances
Summary: Not compatible with iceshrimp.net instances
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-22 19:11 UTC by SimplyCorbett
Modified: 2024-11-30 22:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12
Sentry Crash Report:


Attachments
Error message (150.58 KB, image/png)
2024-10-22 19:11 UTC, SimplyCorbett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SimplyCorbett 2024-10-22 19:11:47 UTC
Created attachment 175120 [details]
Error message

Tokodon does not appear to be compatible with iceshrimp.net instances. In comparison, mona (macos) and tuba (linux) both work.

Have tested from a x86_64 gentoo installation and a asashi fedora 40 installation.

You can test against my instance at https://login.ready.social/

Operating System: Fedora Linux Asahi Remix 40
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-400.asahi.fc40.aarch64+16k (64-bit)
Graphics Platform: Wayland
Processors: 8 × Apple Avalanche (M2 Max), 4 × Apple Blizzard (M2 Max)
Memory: 31.2 GiB of RAM
Graphics Processor: Apple M2 Max
Product Name: Apple Mac Studio (M2 Max, 2023)
Comment 1 Bug Janitor Service 2024-11-30 21:42:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/598
Comment 2 Joshua Goins 2024-11-30 21:56:52 UTC
Git commit 1d80e76fee29e5fb322dc665b9680262f770872a by Joshua Goins.
Committed on 30/11/2024 at 21:34.
Pushed by redstrate into branch 'master'.

Add support for server software that don't provide a rules API

For example, Iceshrimp doesn't provide /api/v1/instance/rules and the
model breaks. Also, make sure if the server has no rules that it's
communicated clearly to the user.

This doesn't fix registration for Iceshrimp instances though, they
don't support the necessary APIs. Once that's done though, it would
work.

M  +18   -1    src/account/rulesmodel.cpp

https://invent.kde.org/network/tokodon/-/commit/1d80e76fee29e5fb322dc665b9680262f770872a
Comment 3 Joshua Goins 2024-11-30 21:57:00 UTC
Git commit 2fb4625368403379dc80bfc598beca169b8730fd by Joshua Goins.
Committed on 30/11/2024 at 21:41.
Pushed by redstrate into branch 'master'.

Support servers that don't implement the read marker API

This includes Iceshrimp.net, otherwise certain timelines never load.

M  +32   -16   src/timeline/maintimelinemodel.cpp

https://invent.kde.org/network/tokodon/-/commit/2fb4625368403379dc80bfc598beca169b8730fd
Comment 4 Joshua Goins 2024-11-30 21:57:33 UTC
Git commit 70ab7a1fbefddaa7f0802d13600a981cefd2af9c by Joshua Goins.
Committed on 30/11/2024 at 21:57.
Pushed by redstrate into branch 'release/24.12'.

Support servers that don't implement the read marker API

This includes Iceshrimp.net, otherwise certain timelines never load.
(cherry picked from commit 2fb4625368403379dc80bfc598beca169b8730fd)

M  +32   -16   src/timeline/maintimelinemodel.cpp

https://invent.kde.org/network/tokodon/-/commit/70ab7a1fbefddaa7f0802d13600a981cefd2af9c