Commit graph

5 commits

Author SHA1 Message Date
oxalica
d1dfda51db refactor(webapi): split /room/:rid/admin endpoint and deprecate
Since we alraedy use `/room/:rid/member`, member CRUD can use this path
for better semantics.

The `admin` endpoint will be removed later.
2024-10-12 14:13:30 -04:00
oxalica
367f6d2a4b feat(webapi): impl room member listing 2024-10-01 06:50:53 -04:00
oxalica
bc6e6c2056 refactor(webapi,types)!: make challenge type extensive
We may allow more challenge types other than PoW in the future, eg.
captcha. So make the relevent types more generic.

Now the challenge is returned in JSON response as a individual top-level
field `register_challenge` instead of in HTTP headers.
2024-10-01 05:26:00 -04:00
oxalica
70481e6c74 feat(blahd): impl ETag for feed 2024-09-25 14:04:58 -04:00
oxalica
8551540798 refactor(types)!: blow up big lib.rs into submods 2024-09-25 11:15:31 -04:00