6abf505c40
refactor: make Member.display_name non-nullable and fall back to Member.name
2024-11-23 20:41:11 +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
d982342ab8
refactor: pass DbContextOptions into context directly
...
turns out efcore doesn't like it when we create a new options instance
(which includes a new data source *and* a new logger factory)
every single time we create a context. this commit extracts
OnConfiguring into static methods which are called when the context is
added to the service collection and when it's manually created for
migrations and the importer.
2024-10-30 15:35:23 +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
a4ca0902a3
fix(frontend): proxy authenticated non-GET requests through rate limiter
2024-10-03 16:53:26 +02:00
567e794154
feat(frontend): hide everything email related if it's disabled on the backend
2024-10-02 21:05:52 +02:00
40da4865bc
feat(frontend): add confirmation before force log out
2024-10-02 16:49:33 +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
5fab66444f
chore: fix husky
2024-10-02 00:16:20 +02:00
06f7019330
feat(backend): move internal endpoints to /api/internal
2024-10-02 00:15:14 +02:00
eac0a17473
chore: add husky + prettier/dotnet format pre-commit
2024-10-01 22:35:17 +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
c18b79e570
sam struggles with caching 2024 colorized
2024-10-01 16:30:51 +02:00
9b55747657
fix(frontend): only cache locale files for a minute
2024-10-01 16:27:44 +02:00
3f8fe307ab
fix(frontend): remove unused limits object from env.server
2024-10-01 16:19:04 +02:00
2a66e3e25e
feat(frontend): add username editing
2024-10-01 16:06:02 +02:00
5a8b7aae80
fix(backend): fix username regex accepting characters with diacritics
2024-10-01 16:04:36 +02:00
b1165c3780
refactor(frontend): extract avatar image component
2024-10-01 14:44:34 +02:00
562ecc46bd
feat(frontend): grab limits from API, add created time + member count to settings
2024-09-30 22:05:14 +02:00
4002893323
feat(backend): limit total members per user
2024-09-30 21:44:41 +02:00
80ac16694c
feat(frontend): start settings pages
2024-09-30 21:40:28 +02:00
8f3478d57a
fix(backend): only validate member name if it's changed
2024-09-30 20:14:16 +02:00
2b8e4c3e8d
feat(frontend): use __Host prefix for token cookie
2024-09-30 20:14:03 +02:00
646c2694e1
add .noai file
2024-09-30 13:02:10 +02:00
19bfee6203
fix(frontend): correct wording in own member alert
2024-09-29 21:32:09 +02:00
0bdd0148d2
feat(frontend): member page
2024-09-29 21:10:11 +02:00
3f0a94af3d
fix(frontend): reset colour and change size of member card links
2024-09-29 20:37:30 +02:00
4514216405
refactor(frontend): extract profile view to component shared between users and members
2024-09-29 20:32:54 +02:00
dc18ab60d2
feat(frontend): add flags to user page
2024-09-29 20:24:47 +02:00
f539902711
feat(backend): render flags in member response
2024-09-29 19:52:22 +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
e20a7d3465
fix(backend): *actually* correctly hash images
2024-09-26 22:30:24 +02:00
14e6e35cb7
feat(backend): add create flag endpoint and job
2024-09-26 22:26:40 +02:00
ff2ba1fb1b
fix(backend): correctly hash images
2024-09-26 22:25:47 +02:00
a70078995b
feat(backend): add pride flag models
2024-09-26 20:15:04 +02:00
39b0917585
add script to prune designer files from migrations, add README with acknowledgements
2024-09-26 17:11:52 +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
e76c634738
feat(backend): return short IDs
2024-09-26 15:26:52 +02:00