site icon indicating copy to clipboard operation
site copied to clipboard

Add alternate accounts to the user model

Open jchristgit opened this issue 1 year ago • 2 comments

Introduce a way to store alternate accounts on the user, and add the PATCH /bot/users/<id:str>/alts endpoint, which allows updating the user's alt accounts to the alt accounts in the request..

jchristgit avatar Dec 12 '23 09:12 jchristgit

Deploy Preview for pydis-static failed.

Name Link
Latest commit 447ce1039a9631b97ab668f777667cdc404d1140
Latest deploy log https://app.netlify.com/sites/pydis-static/deploys/664adc7f918b20000845d9f0

netlify[bot] avatar Dec 12 '23 09:12 netlify[bot]

Coverage Status

coverage: 100.0%. remained the same when pulling 447ce1039a9631b97ab668f777667cdc404d1140 on user-alts into 350c2b7426fcdb8c1b4993d402ef09240d67b4a0 on main.

coveralls avatar Dec 12 '23 09:12 coveralls

Oh just noticed the PR age, the serialisation might be present in main then.

jb3 avatar May 19 '24 09:05 jb3

Migrations are merged, display_name was added, please re-review.

jchristgit avatar May 20 '24 05:05 jchristgit

@jb3

I may misunderstand Django migrations and this may be a non-issue, but do we need to update the dependencies of the 0093_user_alts migration to instead depend on 0095_user_display_name (which should be the most recent migration)

We do not. The merged migration takes care of resolving conflicts.

jchristgit avatar May 23 '24 14:05 jchristgit