Add Mastodon API client, service for syncing avatars and display names #225

Merged
greg merged 13 commits from feature/mastodon_api into master 2025-05-23 08:48:16 +00:00

13 Commits

Author SHA1 Message Date
3538067da6
Use production link
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
2025-05-18 14:58:34 +04:00
c374bcd3bc
Merge branch 'master' into feature/mastodon_api
Some checks are pending
continuous-integration/drone/push Build is running
2025-05-18 14:56:42 +04:00
71c9bd29ab
Merge branch 'master' into feature/mastodon_api 2025-05-18 14:46:28 +04:00
11167e3e43
Merge branch 'master' into feature/mastodon_api 2025-05-18 14:37:47 +04:00
7b0ebb761f
Allow display name to be removed
All checks were successful
continuous-integration/drone/push Build is passing
When form field is empty
2025-05-18 14:26:09 +04:00
fb03427d59
Allow syncing a single Mastodon profile
All checks were successful
continuous-integration/drone/push Build is passing
2025-05-17 18:56:34 +04:00
ad138f715c
Update doc 2025-05-17 18:56:34 +04:00
6730aae2dc
Only update other avatars in one place
Prevent future mistakes
2025-05-17 18:56:33 +04:00
a71aa3fda2
Don't queue job when service isn't enabled 2025-05-17 18:56:33 +04:00
92e6b1395a
Add avatar to admin user page 2025-05-17 18:56:33 +04:00
37c59b7b0c
Sync Mastodon IDs/profiles to local accounts
Add a new service to import some data from Mastodon accounts:

* Find users by username, store Mastodon account ID in local db when
  found
* Import display name (don't overwrite existing)
* Import avatar (don't overwrite existing)
2025-05-17 18:56:30 +04:00
c291765777
Add mastodon_id to users 2025-05-17 16:44:13 +04:00
f0cfde560b
Add Mastodon API service class, auth token config
Add a new REST API service class to keep things DRY
2025-05-17 14:18:16 +04:00