Commit Graph

56 Commits

Author SHA1 Message Date
erin fd58773472 fix: treat 'gotosocial' software as mastodon 2023-06-15 18:38:11 -04:00
Sam 0a012d75af
fix: treat 'glitchcafe' software as mastodon 2023-06-15 17:23:24 +02:00
Sam d25545fa03
change import url 2023-06-03 16:18:47 +02:00
Sam e8d9ccb1ac
fix: don't log captcha responses 2023-05-06 15:53:07 +02:00
Sam 6f7eb5eeee
feat: add captcha when signing up (closes #53) 2023-04-24 16:51:55 +02:00
Sam 6dd3478ff9
fix: abort if oauth user info is invalid 2023-04-21 00:07:02 +02:00
Sam 86a1841f4f
fix(backend): don't use redis GETDEL 2023-04-20 01:30:33 +02:00
Sam f5d7bc4095
feat: only show auth providers if they're enabled 2023-04-18 23:31:57 +02:00
Sam 17f2552c6a
Merge branch 'main' of codeberg.org:u1f320/pronouns.cc 2023-04-18 22:53:18 +02:00
Sam 488544dd5f
feat: add google oauth 2023-04-18 22:52:58 +02:00
sam 8588da8b80 fix: switch arguments in UpdateFromTumblr 2023-04-18 15:48:09 +00:00
Sam 716c1283e7
feat: add tumblr oauth 2023-04-18 03:49:37 +02:00
Sam 6131884ba7
fix: reject instance domains with @ in them 2023-04-18 02:15:45 +02:00
Sam b4c331daa0
fix: fix tokens to expire after 3 months and always inherit admin perms from user 2023-04-17 23:43:04 +02:00
Sam ff75075b81
feat: restrict certain endpoints from API tokens and/or read-only tokens 2023-03-30 16:58:35 +02:00
Sam 2716471fa9
feat: add API tokens + force log out button 2023-03-30 16:50:30 +02:00
Sam 9c8b6a8f91
feat(!): return 204 instead of useless json responses, add fastFetch 2023-03-30 16:05:40 +02:00
Sam abc78f3a9a
feat(backend): change DELETE /auth/tokens to invalidate *all* tokens 2023-03-30 16:05:10 +02:00
Sam d86d4f5540
feat: fix foundkey support (closes #26) 2023-03-25 16:14:06 +01:00
Sam 75407827bc
feat: better but not perfect misskey auth support 2023-03-25 15:54:09 +01:00
Sam 987ff47704
feat: misskey oauth (fixes #26) 2023-03-25 03:27:40 +01:00
Sam ab77fab0ea
feat: add mod action notice to login page 2023-03-23 15:40:33 +01:00
Sam a0bc39bcba
feat: backend for warnings, partial frontend for reports 2023-03-23 14:54:43 +01:00
Sam 76a8b30fe2
Merge branch 'main' into reports 2023-03-20 16:40:47 +01:00
Sam 6d32d05d98
feat(backend): add force delete endpoint 2023-03-20 15:04:32 +01:00
Sam 33f903b07d
start reports/moderation in backend 2023-03-19 16:14:09 +01:00
Sam 004403895a
fix: require >1 provider for unlink account endpoints (fixes #29) 2023-03-18 23:04:50 +01:00
Sam b2bc608ec8
feat: allow unlinking auth providers 2023-03-18 16:54:31 +01:00
Sam 8f6e280367
feat: allow linking discord account to existing user 2023-03-18 16:33:12 +01:00
Sam 97191933cb
feat: allow linking fediverse account to existing user 2023-03-18 15:19:53 +01:00
Sam cf424d3ae4
feat: sign up/log in with mastodon 2023-03-16 15:50:39 +01:00
Sam f087e9a29f
feat!(backend): move /auth/export to /users/@me/export 2023-03-16 12:49:27 +01:00
Sam 17f6ac4d23
feat(backend): start on fediverse auth support 2023-03-16 11:43:25 +01:00
Sam 15109819df
feat(backend): add data export 2023-03-15 15:24:51 +01:00
Sam 9bfabcc1f1
feat: cancel user deletion 2023-03-14 16:16:07 +01:00
Sam 1647ec16a4
feat: add invites page 2023-03-14 00:16:19 +01:00
Sam 8d208ff7cd
fix(backend): return JSON when deleting member or user 2023-03-13 17:10:54 +01:00
Sam 62b2e3ca0d
feat(backend): add max invites to /users/@me responses, use token ID for DELETE /auth/tokens/{id} 2023-03-13 17:01:36 +01:00
Sam 163e7c3fd6
feat: hashes in avatar file names (closes #19) 2023-03-13 02:04:09 +01:00
Sam c8b5b7e2c2
feat(frontend): working Discord login + signup 2023-03-12 04:25:53 +01:00
Sam 0e72097346
feat(backend): always return empty arrays instead of null 2023-03-12 01:31:31 +01:00
Sam ff3d612b06
feat(backend): add DELETE /users/@me endpoint 2023-03-08 10:32:18 +01:00
Sam e5723360a7
feat: add token IDs, store tokens in db for early invalidation 2023-01-01 00:34:38 +01:00
Sam 2be1c9550b feat(api)!: rename User.username to User.name in json 2022-11-21 01:24:23 +01:00
Sam 8df95a78ef fix: remove debug fmt.Printlns 2022-11-20 14:33:44 +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 b48fc74042 feat(backend): some member routes, half-broken avatar uploading 2022-09-20 12:55:00 +02:00
Sam ad2c527e0e fix(api): return correct struct in /auth/discord/callback 2022-06-17 15:18:44 +02:00