Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
dansup
dansup
@dansup@mastodon.social  路  activity timestamp 4 months ago

Me: oh yeah, implementing Loops Admin Invite urls will be easy

*2 hours later*

Only finished the admin dashboard + backend.

Still need to wire up the frontend 馃槄

(It would have been done already if I didn't add auto follows and admin email alerts)

#Loops #LoopsDev

Loops Admin Invites
Loops Admin Invites
Loops Admin Invites
  • Copy link
  • Flag this post
  • Block
dansup
dansup
@dansup@mastodon.social replied  路  activity timestamp 4 months ago

I'm using uuid v7 for the invite_key because the AdminInvite model supports soft deletes with a unique constraint to retain the invite id in the users model while hiding "deleted" invites.

I spent way too long deciding on the invite_key format, and prepended it with `a_` to denote it's admin generated in case we allow user invites in the future and need to differentiate due to other constraints (like closed registration, user invites won't work, but admin invites will)

  • Copy link
  • Flag this comment
  • Block
Federation Bot
Federation Bot
@Federation_Bot replied  路  activity timestamp 4 months ago

@dansup solo devs get a little scope creep as a treat

  • Copy link
  • Flag this comment
  • Block

A small Bonfire corner on the internet

This is a small personal instance of Bonfire in the Fediverse.

A small Bonfire corner on the internet: About 路 Code of conduct 路 Privacy 路
Bonfire social 路 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct