sonda/internal/mastodon
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi a7a258464b feat(mastodon): say in Settings when the instance no longer accepts the token
When the instance refuses the token on a post (it was revoked or expired), the account now remembers it: GET /me/mastodon says problem: token_refused and nothing is posted until I connect again with a new token.

- migration 0027 adds mastodon_accounts.problem (SQLite and PostgreSQL).
- Only a refused token marks the account; an instance that is down does not.
- Saving the account again clears the problem.
- Settings shows the warning and the form with the instance already filled in, next to Disconnect.
- English and Italian.
2026-11-14 10:04:07 +01:00
..
client.go feat: post what I listen to on Mastodon, if I connect an account 2026-11-13 21:59:03 +01:00
client_test.go feat: post what I listen to on Mastodon, if I connect an account 2026-11-13 21:59:03 +01:00
mastodon.go feat(mastodon): say in Settings when the instance no longer accepts the token 2026-11-14 10:04:07 +01:00
mastodon_test.go feat(mastodon): say in Settings when the instance no longer accepts the token 2026-11-14 10:04:07 +01:00