Fix actor settings data model #183
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Actor profile settings were improved in the web UI, but the underlying data model still stores known actor profile fields as serialized JSON text in
activitypub_actors.profile_metadata_json, andactivitypub_settingsis a misleading singleton pointer table rather than real settings.Steps to reproduce
/settings/actor, including avatar, banner, website, pronouns, or location.activitypub_actorsandactivitypub_settings.Expected behavior
Actual behavior
activitypub_actors.profile_metadata_jsonstores known fields such asimageUrl,bannerUrl, andwebsiteas serialized JSON text.activitypub_settingsstores onlyid,primary_actor_id, and timestamps, acting as a singleton pointer while being named like a settings table.Acceptance criteria
profile_metadata_jsoninto explicit columns or another explicit normalized structure.activitypub_settingsis removed, renamed, or replaced with a clearly justified model.Synced from todu comment by @todu on 2026-06-22T03:14:53.417Z
Review update
./scripts/pre-pr.shpassed and Forgejo Actions task #251 passed for commitea4034e.Synced from todu comment by @todu on 2026-06-22T03:22:46.325Z
Review update
./scripts/pre-pr.shpassed and Forgejo Actions task #252 passed for commitc4f3655.Synced from todu comment by @todu on 2026-06-22T03:36:01.017Z
Closing summary
Task is ready to close based on PR #184 merged to
main(740be63, implementation commitc4f3655).Acceptance criteria evidence:
activitypub_actors.profile_metadata_jsoninto structuredactivitypub_actor_settingscolumns via migration023_activitypub_actor_settings_model.sql.template/site/src/federation/actors.tsinstead of storing supported fields as serialized JSON text.activitypub_settingsis replaced by explicitactivitypub_primary_actor, with model documentation updated indocs/identity-model.md../scripts/pre-pr.shand Forgejo Actions passing before merge.Result: READY; task closed.