Commit graph

45 commits

Author SHA1 Message Date
sam
27846a4fe4
fix: make query parameters consistent 2024-12-17 20:48:39 +01:00
sam
11257ae069
chore: clean up backend code, fix most inspections 2024-12-14 16:51:58 +01:00
sam
9d33093339
feat: forgot password/reset password 2024-12-14 16:32:08 +01:00
sam
1cf2619393
feat: add email to existing account, change password 2024-12-13 21:25:41 +01:00
sam
77c3047b1e
feat: misskey auth 2024-12-12 16:44:01 +01:00
sam
51e335f090
feat: use a FixedWindowRateLimiter keyed by IP to rate limit emails
we don't talk about the sent_emails table :)
2024-12-11 21:17:46 +01:00
sam
7f8e72e857
fix backend dockerfile, Caddyfile, and email controller 2024-12-11 02:11:53 +01:00
sam
7e6698c3fb
update to .net 9 and add new OpenAPI packages 2024-12-10 15:28:44 +01:00
sam
3338243cea
feat: log in with tumblr 2024-12-09 21:48:07 +01:00
sam
d30ebacc72
chore: add license headers to all c# files 2024-12-09 21:11:46 +01:00
sam
8a8b4caa18
feat: log in with google 2024-12-09 21:07:53 +01:00
sam
8bd4449804
refactor(backend): move all request/response types to a new Dto namespace 2024-12-09 13:58:18 +01:00
sam
f8e6032449
chore(backend): add roslynator and fix diagnostics 2024-12-08 15:17:18 +01:00
sam
649988db25
refactor(backend): use explicit types instead of var by default 2024-12-08 15:07:25 +01:00
sam
bc7fd6d804
feat(frontend): register/log in with email 2024-12-04 17:43:02 +01:00
sam
57e1ec09c0
feat: link fediverse account to existing user 2024-12-04 01:49:03 +01:00
sam
de733a0682
feat(frontend): discord registration/login/linking
also moves the registration form found on the mastodon callback page
into a component so we're not repeating the same code for every auth method
2024-11-28 21:37:30 +01:00
sam
4e9c4af4a5
feat(auth): misc fediverse auth improvements
- remove automatic app validation
- add force refresh option to GetFediverseUrlAsync
- pass state to mastodon authorization URI
2024-11-24 15:37:36 +01:00
sam
d0bf638a21
fix: check for obviously invalid instance URLs, use correct JSON key for mastodon scopes 2024-11-23 20:40:09 +01:00
sam
9160281ea2
feat: remove auth method 2024-11-04 22:04:04 +01:00
sam
201c56c3dd
feat: link discord account to existing account 2024-11-03 13:53:16 +01:00
sam
c4cb08cdc1
feat: initial fediverse registration/login 2024-11-03 02:07:07 +01:00
sam
5a22807410
fix: don't pass CancellationToken to method that shouldn't abort
also add license header to project
2024-11-02 21:23:49 +01:00
sam
0077a165b5
feat: add some fediverse authentication code
* create applications on instances
* generate authorize URLs
* exchange oauth code for token and user info (untested)
* recreate mastodon app on authentication failure
2024-10-06 15:34:31 +02:00
sam
567e794154
feat(frontend): hide everything email related if it's disabled on the backend 2024-10-02 21:05:52 +02:00
sam
e030342358
feat(frontend): add, list email 2024-10-02 02:46:39 +02:00
sam
5b17c716cb
feat(backend): add add email address endpoint 2024-10-02 00:52:49 +02:00
sam
7f971e8549
chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00
sam
06f7019330
feat(backend): move internal endpoints to /api/internal 2024-10-02 00:15:14 +02:00
sam
aa756ac56a
chore(backend): format 2024-10-01 21:58:13 +02:00
sam
2cef7523d2
chore(backend): silence some more resharper errors 2024-09-14 16:37:52 +02:00
sam
ff22530f0a
feat(frontend): add discord callback page
this only handles existing accounts for now, still need to write an action function
2024-09-13 14:56:38 +02:00
sam
2682cabfb0
refactor: add DatabaseContext.GetToken method 2024-09-11 16:23:45 +02:00
sam
13a0cac663
feat(backend): email registration 2024-09-10 02:39:07 +02:00
sam
c77ee660ca
refactor: more consistent field names, also in STYLE.md 2024-09-09 14:50:00 +02:00
sam
344a0071e5
start (actual) email auth, add CancellationToken to most async methods 2024-09-09 14:37:59 +02:00
sam
6c9d1c328b
fix: add class context to all loggers, format 2024-09-04 14:25:44 +02:00
sam
0aadc5fb47
feat: replace Hangfire with Coravel 2024-09-03 16:29:51 +02:00
sam
fb34464199
feat(backend): improve bad request errors 2024-07-14 16:44:41 +02:00
sam
e95e0a79ff
feat: add PATCH request support, expand PATCH /users/@me, serialize enums correctly 2024-07-12 17:12:24 +02:00
sam
d6c9345dba
too many things to list (notably, user avatar update) 2024-07-08 19:03:04 +02:00
sam
a7950671e1
feat: initial working discord authentication 2024-06-13 02:23:55 +02:00
sam
6186eda092
feat(backend): add RequestDiscordTokenAsync method 2024-06-12 16:19:49 +02:00
sam
25540f2de2 feat(backend): start authentication controllers 2024-06-12 03:47:20 +02:00
sam
493a6e4d29
feat(backend): add skeleton discord auth controller 2024-06-10 16:25:49 +02:00