Commit graph

36 commits

Author SHA1 Message Date
sam
7759225428
refactor(backend): replace coravel with hangfire for background jobs
for *some reason*, coravel locks a persistent job queue behind a
paywall. this means that if the server ever crashes, all pending jobs
are lost. this is... not good, so we're switching to hangfire for that
instead.

coravel is still used for emails, though.

BREAKING CHANGE: Foxnouns.NET now requires Redis to work. the EFCore
storage for hangfire doesn't work well enough, unfortunately.
2025-03-04 17:03:39 +01:00
sam
12eddb9949
feat(backend): user lookup 2024-12-27 17:48:37 -05:00
sam
7791c91960
feat(backend): initial /api/v1/users endpoint 2024-12-25 11:19:50 -05:00
sam
546e900204
feat(backend): report context, fix deleting reports 2024-12-18 21:26:35 +01:00
sam
80385893c7
feat: split migration into batches 2024-12-17 21:23:02 +01:00
sam
36cb1d2043
feat: moderation API 2024-12-17 17:52:32 +01:00
sam
11257ae069
chore: clean up backend code, fix most inspections 2024-12-14 16:51:58 +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
ff8d53814d
feat: rate limit emails to two per address per hour 2024-12-11 20:42:48 +01:00
sam
d30ebacc72
chore: add license headers to all c# files 2024-12-09 21:11:46 +01:00
sam
d9d48c3cbf
feat: flag management 2024-12-09 14:52:31 +01:00
sam
649988db25
refactor(backend): use explicit types instead of var by default 2024-12-08 15:07:25 +01:00
sam
03209e4028
chore(backend): clean imports 2024-12-03 20:05:24 +01:00
sam
9966656c0c
fix(backend): don't need [NotMapped] for these actually 2024-12-03 20:04:28 +01:00
sam
18bdbc0745
feat(backend): clean deleted users 2024-12-03 14:55:19 +01:00
sam
903be2709c
feat(backend): initial data export support
obviously it's missing things that haven't been added yet
2024-12-02 18:06:19 +01:00
sam
261435c252
feat: so much more frontend stuff 2024-11-24 22:19:53 +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
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
7f971e8549
chore: add csharpier to husky, format backend with csharpier 2024-10-02 00:28:07 +02:00
sam
a70078995b
feat(backend): add pride flag models 2024-09-26 20:15:04 +02:00
sam
df93f28273
feat(backend): add short IDs to models 2024-09-26 15:08:08 +02:00
sam
2cef7523d2
chore(backend): silence some more resharper errors 2024-09-14 16:37:52 +02:00
sam
fa3c1ccaa7
feat: add user settings endpoint 2024-09-05 22:17:10 +02:00
sam
6c9d1c328b
fix: add class context to all loggers, format 2024-09-04 14:25:44 +02:00
sam
ef221b2c45
feat: update custom preferences endpoint 2024-08-22 15:13:46 +02:00
sam
fa49030b06
feat: add deleted user columns in database 2024-07-13 03:09:07 +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
493a6e4d29
feat(backend): add skeleton discord auth controller 2024-06-10 16:25:49 +02:00
sam
50257d61f8 switch frontend css from bootstrap to bulma 2024-06-09 23:21:28 +02:00
sam
588afeec20 feat: add debug registration endpoint, fix snowflake serialization 2024-06-04 17:38:59 +02:00
sam
852036a6f7
format, add more query extensions 2024-05-30 16:59:40 +02:00
sam
f674d059fd add UserRendererService and improve errors 2024-05-28 17:09:50 +02:00
sam
6114f384a0
add a bunch of stuff copied from Foxchat.NET 2024-05-28 15:29:18 +02:00
sam
f4c0a40259
init 2024-05-27 15:53:54 +02:00