Email or username:

Password:

Forgot your password?
Top-level
Paul Martin
@justine@snac.smithies.me.uk I notice that the current version of #pachli doesn't stop requesting the timeline when it refreshes. What I'll miss when I eventually migrate will be following hashtags.
6 comments
Pachli

@nowster @justine That's odd. Would you mind creating a test account on your server for me and sending the credentials to team@pachli.app. Then I can diagnose this further.

Pachli

@nowster @justine Thanks for the test account.

There are at least two #snac bugs.

I've filed one of them at codeberg.org/grunfink/snac2/is (this also found a Pachli bug where errors during login weren't showing the underlying login error; I've fixed that now, thanks).

The other is the existing codeberg.org/grunfink/snac2/is -- snac doesn't implement docs.joinmastodon.org/api/guid so Mastodon clients can't iterate through timelines to load them a page at a time.

@nowster @justine Thanks for the test account.

There are at least two #snac bugs.

I've filed one of them at codeberg.org/grunfink/snac2/is (this also found a Pachli bug where errors during login weren't showing the underlying login error; I've fixed that now, thanks).

The other is the existing codeberg.org/grunfink/snac2/is -- snac doesn't implement docs.joinmastodon.org/api/guid so Mastodon clients can't iterate through timelines to load...

The Real Grunfink
Hi, #snac author here again. I've installed Pachli and I'm experimenting the same issue than @nowster@fedi.nowster.me.uk: it keeps requesting the first page over and over again, with no max_id nor since_id fields to paginate, only a limit field of 40.

CC: @justine@snac.smithies.me.uk
Pachli

@grunfink @nowster @justine The link header is not being sent by snac.

I have a test account with 4 statuses in the home timeline.

/api/v1/timelines/home returns all 4 statuses and no link header in the response.

/api/v1/timelines/home?limit=1 returns an array of 1 status, as expected, but is also missing the link header, so can't be paginated.

Pachli

@grunfink @nowster @justine The Mastodon docs are a bit ambiguous about this. Arguably, if the link header is missing a client could assume it could behave as though it did exist, with the IDs of the first and last items in the returned page.

That might be what snac is doing. For interoperability purposes it's probably better to always return the link header.

The Real Grunfink
Hi. I've just implemented the link header and Pachli seems to page correctly and not get stuck requesting the first page.

This will probably also improve snac behaviour with other apps.

CC: @nowster@fedi.nowster.me.uk @justine@snac.smithies.me.uk @knapjack@elsewhere.cozysumo.space
Hi. I've just implemented the link header and Pachli seems to page correctly and not get stuck requesting the first page.

This will probably also improve snac behaviour with other apps.
Go Up