Commit graph

58 commits

Author SHA1 Message Date
rootdarkarchon
25772dade8 adjust command 2022-10-20 11:46:07 +02:00
rootdarkarchon
c98e2b2dd6
Switch Authentication to asynchronous streaming calls (#16)
* add base grpc service and swap auth service to streaming

* remove Authorize from hub itself

* remove unused usings

* heave files server to net 7, add exception handling in grpc auth stream

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2022-10-13 16:55:23 +02:00
rootdarkarchon
d37c1208fe
Adjust Auth on server (#15)
* add auth that verifies identity is marked online

* few changes for testing

* handle identity with requirements

* remove unnecessary logging from auth handler

* change to UserRequirements

* fixes to checks

* fixes to UserRequirementHandler

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2022-10-10 19:44:30 +02:00
rootdarkarchon
777a764ef1
move marehub to strong api usage (#14)
* move marehub to strong api usage

* fix merge issues

* latest api

* further optimizations
2022-10-08 14:33:25 +02:00
rootdarkarchon
17f26714ce
Switch to GrpcClientIdentificationService and abolish Redis for Idents (#12)
* add GrpcClientIdentificationService

* remove unnecessary gauges

* set to no retry policy

* initialize metrics

Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
2022-10-05 23:10:36 +02:00
rootdarkarchon
bff21ead95
Syncshells (#11)
* some groups stuff

* further groups rework

* fixes for pause changes

* adjsut timeout interval

* fixes and namespace change to file scoped

* more fixes

* further implement groups

* fix change group ownership

* add some more stuff for groups

* more fixes and additions

* some fixes based on analyzers, add shard info to ui

* add discord command, cleanup

* fix regex

* add group migration and deletion on user deletion

* add api method for client to check health of connection

* adjust regex for vanity

* fixes for server and bot

* fixes some string comparison in linq queries

* fixes group leave and sets alias to null

* fix syntax in changeownership

* add better logging, fixes for group leaving

* fixes for group leave

Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
2022-10-04 14:13:43 +02:00
Stanley Dimant
56728d1fba more redis fixes 2022-09-13 12:18:02 +02:00
Stanley Dimant
3cdaa53a65 fix services 2022-09-13 12:01:27 +02:00
rootdarkarchon
db3784e795 merge 2022-09-13 11:47:51 +02:00
rootdarkarchon
1f66b2c980 add redis for character identification 2022-09-13 11:45:09 +02:00
Stanley Dimant
8c6cbc5983 allow multiple http2 connections in grpc 2022-09-13 00:12:23 +02:00
Stanley Dimant
721f09631c update api to 14 2022-09-10 13:35:38 +02:00
Stanley Dimant
7ab7e13d96 only send system info from main server 2022-09-08 20:46:14 +02:00
Stanley Dimant
7672df275a add redis test 2022-09-08 20:28:26 +02:00
Stanley Dimant
bff6a3dca5 allow connection to hub with fallback transports 2022-08-26 16:02:44 +02:00
Stanley Dimant
bc9fc95e2f adjust metrics server ports 2022-08-26 02:40:23 +02:00
Stanley Dimant
ace31926db rework metrics 2022-08-26 02:22:19 +02:00
Stanley Dimant
04cbc2bd64 fix up startup for server/fileserver and change commands to be guild commands for the discord bot + clean up unauthorized vanity uid users 2022-08-25 13:07:05 +02:00
Stanley Dimant
2f1ef04f6a add retry policy for grpc clients 2022-08-25 11:27:57 +02:00
Stanley Dimant
2510cce711 adjustments to config and cleanup nuget, remove implicit usings 2022-08-23 11:21:21 +02:00
Stanley Dimant
a63174009f decouple fileservice to be able to run standalone 2022-08-23 02:28:04 +02:00
Stanley Dimant
bdfe51c15c fixes after testing 2022-08-22 15:47:52 +02:00
rootdarkarchon
f9e4fd4f2d minor refactoring 2022-08-22 14:24:47 +02:00
rootdarkarchon
6c243d0247 move shared content to shared project 2022-08-22 11:21:28 +02:00
Stanley Dimant
1a22846eea add blocking detection nuget 2022-08-20 02:44:35 +02:00
Stanley Dimant
54d625e729 remove locks around metrics for testing, add back dbcontext pooling 2022-08-18 01:17:49 +02:00
Stanley Dimant
e83d668724 sql query optimization, add server cache hard limit, try catch separate around every block 2022-08-16 12:11:36 +02:00
Stanley Dimant
c3fc83e819 re-add memorycache 2022-08-12 00:38:09 +02:00
Stanley Dimant
d4c8a15f50 update status via task, update nuget packages 2022-08-12 00:26:27 +02:00
Stanley Dimant
a5fe927cd5 disable context pooling 2022-08-11 10:50:23 +02:00
Stanley Dimant
1e73ab55c5 add temp ban on failed auth 2022-08-06 19:26:35 +02:00
Stanley Dimant
ad367d7568 add some form of caching to the authorization 2022-08-06 12:33:25 +02:00
Stanley Dimant
95586549e5 fix memory leak, try something different for metrics 2022-08-04 12:56:01 +02:00
Stanley Dimant
0dc4436ba3 bump api 2022-08-04 01:09:49 +02:00
Stanley Dimant
831029a244 Revert "remove throttling"
This reverts commit ccb9478f70.
2022-08-03 23:17:20 +02:00
Stanley Dimant
6dafbe77ba Revert "shuffle things around"
This reverts commit b9c6660e08.
2022-08-03 23:17:17 +02:00
Stanley Dimant
ccb9478f70 remove throttling 2022-08-03 23:02:42 +02:00
Stanley Dimant
b9c6660e08 shuffle things around 2022-08-03 22:58:07 +02:00
Stanley Dimant
8181018c6d try something more for rate limiting 2022-08-03 22:43:00 +02:00
Stanley Dimant
aebb7fdbb0 adjust contextaccessor 2022-08-03 22:18:29 +02:00
Stanley Dimant
6da875713f add httpcontextaccessor 2022-08-03 22:16:30 +02:00
Stanley Dimant
e0f273a020 add lodestone auth, add rate limiting middleware 2022-08-01 17:41:46 +02:00
Stanley Dimant
4d3226aa8b adjust server to use authentication where needed 2022-08-01 10:42:19 +02:00
Stanley Dimant
7a40eba295 migrate to postgresql 2022-08-01 00:48:21 +02:00
Stanley Dimant
8a3adf9c07 add static file serving 2022-07-28 18:02:54 +02:00
Stanley Dimant
f8ecd3965d add LastLoggedIn migration, disallow secondary connections 2022-07-18 10:34:11 +02:00
Stanley Dimant
00037e643e remove API, add submodule 2022-07-17 00:09:16 +02:00
Stanley Dimant
17c69666e8 add prometheus 2022-07-15 02:04:04 +02:00
Stanley Dimant
a416521aab update to API 5, consolidate hubs into one 2022-07-13 14:05:42 +02:00
Stanley Dimant
b9ac535836 rework authentication and some other crap for optimizing sql parallelism 2022-07-10 17:20:30 +02:00