Commit Graph

197 Commits

Author SHA1 Message Date
rootdarkarchon
c585bb739a adjust gamepaths regex for special characters 2022-11-10 14:51:26 +01:00
rootdarkarchon
683c361935 clean up push data validation 2022-11-10 14:47:23 +01:00
rootdarkarchon
f37f0f8699 temporarily disable path validation again 2022-11-10 13:57:12 +01:00
rootdarkarchon
f41e233aa0 change gamepath regex 2022-11-10 13:47:48 +01:00
rootdarkarchon
29c4df1e71 fix validation 2022-11-10 13:32:19 +01:00
rootdarkarchon
f229edd510 add validation of sent filereplacements from clients 2022-11-10 13:17:41 +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
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
Stanley Dimant
a996fc7689 send disable moderator status to user on ownership transfer 2022-10-06 22:34:32 +02:00
Stanley Dimant
7f3029e82c do not allow to ban or remove owner or moderators from syncshell 2022-10-06 22:24:41 +02:00
rootdarkarchon
520a2299d0 include alias in checking for user in group 2022-10-06 16:34:20 +02:00
rootdarkarchon
5341b5a409 fix compile error 2022-10-06 16:32:39 +02:00
rootdarkarchon
eadecff9e7 send IsModerator on SetModerator per group dto to affected user 2022-10-06 16:09:48 +02:00
rootdarkarchon
7590102dad get ismoderator from getgroups 2022-10-06 16:08:11 +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
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
8236d355a2 release connected async akways 2022-09-23 12:45:24 +02:00
Stanley Dimant
588eb9f4ed adjust connection limitations 2022-09-15 13:29:28 +02:00
Stanley Dimant
3a7fe47bbb update limit filters, set server to net7 2022-09-15 00:59:00 +02:00
Stanley Dimant
11ee7854ea null-fix 2022-09-14 02:46:41 +02:00
Stanley Dimant
5b919b869d fixes for character push 2022-09-14 02:39:34 +02:00
rootdarkarchon
1f66b2c980 add redis for character identification 2022-09-13 11:45:09 +02:00
Stanley Dimant
507c7cac11 delete temporary created files 2022-08-29 09:27:43 +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
09b305fa67 fixes for alias display + check aliases on initial uid generation 2022-08-25 01:29:01 +02:00
Stanley Dimant
d656513f47 check for alias on addition 2022-08-25 01:05:31 +02:00
Stanley Dimant
4e98a494e0 adjust marehub 2022-08-25 00:54:20 +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
5b136685db fixes for standard configs 2022-08-24 21:43:17 +02:00
Stanley Dimant
2510cce711 adjustments to config and cleanup nuget, remove implicit usings 2022-08-23 11:21:21 +02:00
Stanley Dimant
afcb268ccc remove unused variable 2022-08-23 02:32:18 +02:00
Stanley Dimant
dab12fbb30 add hashes to filesizerequest 2022-08-23 02:31:44 +02:00
Stanley Dimant
a63174009f decouple fileservice to be able to run standalone 2022-08-23 02:28:04 +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
927e1aaceb potential optimizations (ConfigureAwait, Logging Templates) 2022-08-22 10:46:37 +02:00
Stanley Dimant
78543d0fc2 update getpairedclients to use only one query instead of one per entry 2022-08-19 12:18:16 +02:00
Stanley Dimant
7abe4f9f2e update server to api 11 2022-08-19 11:37:31 +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
rootdarkarchon
dbaf45ba70 Merge pull request #9 from isbeorn/main
Prevent unnecessary left join
2022-08-15 17:56:48 +02:00
Stanley Dimant
f55ff9f6a3 adjust server to new api and send back url for file download on DownloadFilesDto 2022-08-15 17:56:16 +02:00
Stefan Berg
991921f188 Prevent unnecessary join 2022-08-15 15:42:51 +02:00
Stefan Berg
5f84ca51ba merge latest 2022-08-15 12:45:19 +02:00