Commit graph

155 commits

Author SHA1 Message Date
Sam
75f628c722
fix: make discord login work if no user exists 2023-03-11 16:49:07 +01:00
Sam
8c187d0fb3
feat(backend): add /api/v1/meta endpoint 2023-03-08 14:13:04 +01:00
Sam
1687f04410
feat(backend): hide soft deleted users in API responses 2023-03-08 14:04:26 +01:00
Sam
ff3d612b06
feat(backend): add DELETE /users/@me endpoint 2023-03-08 10:32:18 +01:00
Sam
11363d6769
feat(frontend): make field entries sortable 2023-03-05 04:18:35 +01:00
Sam
b41ca0b753
fix(backend): fix sql errors in CreateUser and User.UpdateFromDiscord 2023-02-25 22:16:22 +01:00
Sam
b92ced7d1a
fix(backend): add default limiter to rate limiter 2023-02-25 21:41:51 +01:00
Sam
c95285e26b
feat(backend): separate rate limits into buckets 2023-02-24 15:53:35 +01:00
Sam
d6017f1edf
feat: read/write improved names/pronouns for users, read/write improved fields/names/pronouns for members 2023-01-31 00:50:17 +01:00
Sam
c6537c920d
feat: read/write improved fields for users, read improved names/pronouns for users 2023-01-14 17:33:18 +01:00
Sam
7669595586
feat!: wip pronoun entry rework 2023-01-04 22:41:29 +01:00
Sam
e5723360a7
feat: add token IDs, store tokens in db for early invalidation 2023-01-01 00:34:38 +01:00
Sam
58c1c1794e
fix(backend): optionally support "Bearer " prefix in auth header 2022-12-23 01:44:56 +01:00
Sam
c7f486ca21
feat(backend): allow changing username in PATCH /users/@me 2022-12-23 01:31:43 +01:00
Sam
d3eaaaaa9d
feat: serve media on /media/, not separate domain 2022-12-22 15:42:43 +01:00
Sam
d58208f5ac fix(backend): don't crash if redis isn't set, use tx in CreateMember 2022-11-24 13:41:36 +01:00
Sam
3b64ba33f6 feat(backend): add DELETE /members/{id} 2022-11-23 15:26:57 +01:00
Sam
69e5082e89 feat(backend): PATCH /members/{id} route 2022-11-21 17:01:51 +01:00
Sam
8ab4c2a91b fix(backend): return members in /users/{userRef} 2022-11-21 02:38:08 +01:00
Sam
2be1c9550b feat(api)!: rename User.username to User.name in json 2022-11-21 01:24:23 +01:00
Sam
17cc57a31d feat(api): sort members in sql 2022-11-20 21:26:19 +01:00
Sam
73c5c9fc67 feat(api): add display_name to member 2022-11-20 21:09:29 +01:00
Sam
459e525415 feat: make avatars bigger + higher quality 2022-11-20 14:34:25 +01:00
Sam
8df95a78ef fix: remove debug fmt.Printlns 2022-11-20 14:33:44 +01:00
Sam
b9101e260b feat(api): allow not having a redis connection for development 2022-11-20 03:44:20 +01:00
Sam
552505fa53 fix(backend): actually resize avatars on upload 2022-11-20 01:54:47 +01:00
Sam
6237ea940f feat: add invites to backend 2022-11-18 15:27:52 +01:00
Sam
1080d8a0cd fix: save discord ID in db, add HTTP status to new error codes 2022-11-18 02:26:40 +01:00
Sam
9a3c51459b feat: get signup via discord working 2022-11-18 02:17:27 +01:00
Sam
773f20d135 feat(api): add POST /members 2022-10-03 10:59:30 +02:00
Sam
85a061ebc5 feat(backend): remove avatar_source field, change avatar_urls on member 2022-09-20 14:12:29 +02:00
Sam
5679dbb657 feat(backend): working avatar uploading 2022-09-20 13:02:48 +02:00
Sam
b48fc74042 feat(backend): some member routes, half-broken avatar uploading 2022-09-20 12:55:00 +02:00
Sam
e4d028bbad fix: make PATCH /users/@me work with names/pronouns 2022-09-16 00:48:43 +02:00
Sam
9e98b61472 feat: add user names/pronouns to GET /users/{userRef} and PATCH /users/@me 2022-09-08 14:00:41 +02:00
Sam
b9c30379ee don't serve frontend from api server anymore 2022-07-11 22:35:20 +02:00
Sam
e31f96110b feat: start making EditMe functional 2022-07-05 22:21:28 +02:00
Sam
6cc4d4c41d fix(api): don't panic if PATCH /users/@me does not have "fields" set 2022-06-17 16:10:32 +02:00
Sam
59a1a3fb9b fix(api): fix patching fields 2022-06-17 16:03:47 +02:00
Sam
512e977d0d feat: discord commands 2022-06-17 15:49:16 +02:00
Sam
ad2c527e0e fix(api): return correct struct in /auth/discord/callback 2022-06-17 15:18:44 +02:00
Sam
6c9ebf1d08 feat: bundle frontend with API executable 2022-06-17 00:00:52 +02:00
Sam
57c7a0f4de feat(api): add PATCH /users/@me, remove PATCH /users/@me/fields 2022-06-16 14:54:15 +02:00
Sam
2ee1087eec feat(api): add rate limiting 2022-05-26 00:41:29 +02:00
Sam
52a03b4aa6 feat(api): add PATCH /users/@me/fields, finish POST /auth/discord/callback 2022-05-17 22:35:26 +02:00
Sam
020ac15a00 oops 2 2022-05-14 21:57:44 +02:00
Sam
85754a9208 oops 2022-05-14 21:56:46 +02:00
Sam
79eefb1ccf fix: return error if Authorization header is supplied but is invalid 2022-05-14 21:55:44 +02:00
Sam
6fdf23eb1a chore: update import url (sorry gitlab, codeberg is just better) 2022-05-14 16:52:08 +02:00
Sam
15797b679c feat: add /users/@me endpoint, add edit button to profile page 2022-05-13 16:43:28 +02:00
Sam
d2f4e09a01 feat: discord login works! 2022-05-12 16:41:32 +02:00
Sam
9c5a9a72d0 feat: frontend layout skeleton 2022-05-10 16:33:29 +02:00
Sam
2e4b8b9823 add recoil store 2022-05-05 16:33:44 +02:00
Sam
580449440a add frontend template + GET /users/{userRef} route 2022-05-04 16:27:16 +02:00
Sam
5a75f99720 initial commit 2022-05-02 17:19:37 +02:00