Refactor ejabberd API integration #226

Merged
greg merged 1 commits from core/refactor_ejabberd_integration into master 2025-05-28 09:22:39 +00:00
Owner

This is pure grunt work to eliminate future technical debt, except for adding content types when fetching ejabberd avatars, so they could be imported to our storage later (relevant for ejabberd-only to akkounts+ejabberd migrations, or if we want to import the rest of the avatars from XMPP users who aren't Mastodon users).

It makes everything consistent with the other REST API integrations, inherits from the same REST service, and decouples the XMPP jobs from the specific ejabberd implementation. So if one adds e.g. Prosody support, it's easy to just call a different integration service.

This is pure grunt work to eliminate future technical debt, except for adding content types when fetching ejabberd avatars, so they could be imported to our storage later (relevant for ejabberd-only to akkounts+ejabberd migrations, or if we want to import the rest of the avatars from XMPP users who aren't Mastodon users). It makes everything consistent with the other REST API integrations, inherits from the same REST service, and decouples the XMPP jobs from the specific ejabberd implementation. So if one adds e.g. Prosody support, it's easy to just call a different integration service.
raucao added the
kredits-1
label 2025-05-26 10:14:22 +00:00
raucao added 1 commit 2025-05-26 10:14:23 +00:00
Refactor ejabberd API integration
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 2s
d737d9f6b8
raucao requested review from greg 2025-05-28 07:07:10 +00:00
greg approved these changes 2025-05-28 09:22:12 +00:00
greg left a comment
Owner

Looking good 👍

Looking good 👍
greg merged commit 0778f29a8e into master 2025-05-28 09:22:39 +00:00
greg deleted branch core/refactor_ejabberd_integration 2025-05-28 09:22:39 +00:00
Sign in to join this conversation.
No description provided.