Commit Graph

28 Commits

Author SHA1 Message Date
rootdarkarchon
333a8dddd2 update dependencies and fix whitelisting of ips potentially 2022-12-12 19:30:06 +01:00
rootdarkarchon
5bd9c7d09d add positive response caching to grpc auth service to lessen load 2022-12-11 13:17:52 +01:00
rootdarkarchon
d83d9a6753 OneTime Invites Server handling (#17)
* add server-side handling for one time invites
2022-10-25 00:54:51 +02:00
Stanley Dimant
8164d737bf whitelist fixes, grpc stream fixes 2022-10-20 23:08:46 +02:00
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
Stanley Dimant
b5325b9c50 adjust grpc api for idents 2022-10-09 14:32:44 +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
a45a923260 add group moderation and banning functionality to api (#13)
* add group moderation and banning functionality to api

* set moderator to false on group migration

* send IsModerator in addition on group join

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2022-10-06 15:50:15 +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
Stanley Dimant
e2e97065f4 adjust alias length 2022-10-04 14:59:50 +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
8ce85ad754 change expiry 2022-09-13 12:28:07 +02:00
Stanley Dimant
54499f42a4 more redis fixes 2022-09-13 12:23:19 +02:00
Stanley Dimant
56728d1fba more redis fixes 2022-09-13 12:18:02 +02:00
rootdarkarchon
1f66b2c980 add redis for character identification 2022-09-13 11:45:09 +02:00
Stanley Dimant
3a6c9259a0 fixes for file uploads 2022-08-27 01:13:49 +02:00
Stanley Dimant
ace31926db rework metrics 2022-08-26 02:22:19 +02:00
Stanley Dimant
a5a2ce7e34 partial revert + change 2022-08-25 00:52:58 +02:00
Stanley Dimant
88cec262cd add alias handling to server and database 2022-08-25 00:34:21 +02:00
Stanley Dimant
66e2b3db82 fix auth for grpc calls 2022-08-24 23:01:03 +02:00
Stanley Dimant
bb866b72f7 fix empty header 2022-08-23 23:54:31 +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