Commit graph

20 commits

Author SHA1 Message Date
rootdarkarchon
8c39f9ce81 fix null in AuthorizeAsync 2023-01-11 23:05:00 +01:00
rootdarkarchon
42b15cb6b7
Add Server-Side Download Queue (#21)
* test add queueing to file service

* further adjustments to download queueing

* add check for whether the request is still in the queue to CheckQueue

* forcefully release slot if download didn't finish in 15s

* actually cancel the delay task

* add metrics and refactor some of the request queue service

* refactor pathing

* reuse httpclient

* add queue request dto to requestfile, enqueue users immediately if a slot is available

* change startup to include all controllers

* update server pathing

* update pathing, again

* several adjustments to auth, banning, jwt server tokens, renaming, authorization

* update api I guess

* adjust automated banning of charaident and reg

* generate jwt on servers for internal authentication

* remove mvcextensions

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-11 12:22:22 +01:00
rootdarkarchon
74b7fcdf89
Refactoring using Claims more, add Server Side Messaging (#20)
* add some refactoring based on claims, handle chara ident inside claim, fix discord userid in log

* improve authentication responses, add server side messaging

* update server to mainline api

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-04 15:49:18 +01:00
rootdarkarchon
6c243d0247 move shared content to shared project 2022-08-22 11:21:28 +02:00
Stanley Dimant
927e1aaceb potential optimizations (ConfigureAwait, Logging Templates) 2022-08-22 10:46:37 +02:00
Stanley Dimant
98ee6c7f66 attempt to use lock in Authentication handler to lock down dictionary access 2022-08-20 14:22:50 +02:00
Stanley Dimant
50ff75c7ab cancel and dispose cts in ban auth 2022-08-12 10:57:03 +02:00
Stanley Dimant
1e73ab55c5 add temp ban on failed auth 2022-08-06 19:26:35 +02:00
Stanley Dimant
332e5a04d4 change to waitasync for semaphore 2022-08-06 12:35:39 +02:00
Stanley Dimant
ad367d7568 add some form of caching to the authorization 2022-08-06 12:33:25 +02:00
Stanley Dimant
4477e186a3 remove anonymous 2022-08-03 21:51:54 +02:00
Stanley Dimant
4d3226aa8b adjust server to use authentication where needed 2022-08-01 10:42:19 +02:00
Stanley Dimant
a416521aab update to API 5, consolidate hubs into one 2022-07-13 14:05:42 +02:00
Stanley Dimant
0e0a75a71b performance improvements for queries 2022-07-11 02:54:03 +02:00
Stanley Dimant
b9ac535836 rework authentication and some other crap for optimizing sql parallelism 2022-07-10 17:20:30 +02:00
Stanley Dimant
15b220dc8b add logging stuff 2022-07-03 02:24:32 +02:00
Stanley Dimant
d56923d553 adjust DTOs, add call to push character data to visible clients 2022-06-30 17:19:58 +02:00
Stanley Dimant
dd1a6e910e cleanup of authentication 2022-06-29 23:08:44 +02:00
Stanley Dimant
906f719879 add EF core db migrations, add banned + forbidden uploads db entries, adjust authentication to include characternamehash to check for bans, prepare for message sending from client to other clients 2022-06-29 22:42:58 +02:00
Stanley Dimant
f6fbb4c862 yeah idk, basic form of reg, auth, upload, whitelist. lots of stuff. 2022-06-17 23:49:08 +02:00