5cb3faa92b
feat(backend): allow suspended users to access some endpoints, add flag scopes
2024-12-11 20:42:26 +01:00
7f8e72e857
fix backend dockerfile, Caddyfile, and email controller
2024-12-11 02:11:53 +01:00
7e6698c3fb
update to .net 9 and add new OpenAPI packages
2024-12-10 15:28:44 +01:00
3338243cea
feat: log in with tumblr
2024-12-09 21:48:07 +01:00
d30ebacc72
chore: add license headers to all c# files
2024-12-09 21:11:46 +01:00
8a8b4caa18
feat: log in with google
2024-12-09 21:07:53 +01:00
d9d48c3cbf
feat: flag management
2024-12-09 14:52:31 +01:00
8bd4449804
refactor(backend): move all request/response types to a new Dto namespace
2024-12-09 13:58:18 +01:00
f8e6032449
chore(backend): add roslynator and fix diagnostics
2024-12-08 15:17:18 +01:00
649988db25
refactor(backend): use explicit types instead of var by default
2024-12-08 15:07:25 +01:00
bc7fd6d804
feat(frontend): register/log in with email
2024-12-04 17:43:02 +01:00
57e1ec09c0
feat: link fediverse account to existing user
2024-12-04 01:49:03 +01:00
03209e4028
chore(backend): clean imports
2024-12-03 20:05:24 +01:00
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
b47ed7b699
rate limit tweaks
...
the /users/{id} prefix contains most API routes so it's not a good idea
to put a single rate limit on *all* of them combined. the rate limiter
will now ignore the /users/{id} prefix *if* there's a second {id}
parameter in the URL.
also, X-RateLimit-Bucket is no longer hashed, so it can be directly
decoded by clients to get the actual bucket name. i'm not sure if this
will actually be useful, but it's nice to have the option.
2024-12-02 16:13:56 +01:00
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
8b1d5b2c1b
feat(backend): validate custom preferences on save
2024-11-28 17:28:52 +01:00
c237aa8827
fix(backend): add unlisted param to patch member
2024-11-25 21:24:28 +01:00
c0bb76580d
even more frontend stuff
2024-11-25 17:35:24 +01:00
261435c252
feat: so much more frontend stuff
2024-11-24 22:19:53 +01:00
c8cd483d20
feat: sid redirect controller
2024-11-24 15:40:12 +01:00
7cb17409cd
fix: explicitly set sids to null so the find free sid functions actually trigger
2024-11-24 15:39:44 +01:00
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
d0bf638a21
fix: check for obviously invalid instance URLs, use correct JSON key for mastodon scopes
2024-11-23 20:40:09 +01:00
9160281ea2
feat: remove auth method
2024-11-04 22:04:04 +01:00
201c56c3dd
feat: link discord account to existing account
2024-11-03 13:53:16 +01:00
c4cb08cdc1
feat: initial fediverse registration/login
2024-11-03 02:07:07 +01:00
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
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
567e794154
feat(frontend): hide everything email related if it's disabled on the backend
2024-10-02 21:05:52 +02:00
e030342358
feat(frontend): add, list email
2024-10-02 02:46:39 +02:00
5b17c716cb
feat(backend): add add email address endpoint
2024-10-02 00:52:49 +02:00
7f971e8549
chore: add csharpier to husky, format backend with csharpier
2024-10-02 00:28:07 +02:00
06f7019330
feat(backend): move internal endpoints to /api/internal
2024-10-02 00:15:14 +02:00
aa756ac56a
chore(backend): format
2024-10-01 21:58:13 +02:00
42041d49bc
feat: add force log out endpoint
2024-10-01 21:25:51 +02:00
2a66e3e25e
feat(frontend): add username editing
2024-10-01 16:06:02 +02:00
4002893323
feat(backend): limit total members per user
2024-09-30 21:44:41 +02:00
8f3478d57a
fix(backend): only validate member name if it's changed
2024-09-30 20:14:16 +02:00
e11e60e16b
feat(backend): add update member endpoint
2024-09-28 22:28:59 +02:00
8fe8755183
feat(backend): validate links, allow setting links in POST /users/@me/members
2024-09-27 15:29:33 +02:00
a3cbdc1a08
feat(backend): ability to set profile flags, return profile flags in get user endpoint
2024-09-27 14:48:09 +02:00
6a4aa8064a
feat(backend): update flag endpoint
2024-09-27 00:38:34 +02:00
758ab9ec5b
feat(backend): delete flag endpoint
2024-09-26 23:03:50 +02:00
14e6e35cb7
feat(backend): add create flag endpoint and job
2024-09-26 22:26:40 +02:00
a70078995b
feat(backend): add pride flag models
2024-09-26 20:15:04 +02:00
e83895255e
fix(backend): return last_sid_reroll in API, update last sid reroll + last active correctly
2024-09-26 17:09:40 +02:00
b5f9ef9bd6
feat(backend): add short ID reroll endpoints
2024-09-26 16:38:43 +02:00
df93f28273
feat(backend): add short IDs to models
2024-09-26 15:08:08 +02:00
f81ae97821
feat(backend): return unlisted status in partial member for authenticated users
2024-09-25 19:48:09 +02:00