Commit Graph
28 Commits
Author SHA1 Message Date
rootdarkarchonandStanley Dimant 3fbceee0ce Add MCDO (#31)
* rudimentary charadata first impl

* update submodule

* update properly

* some fixes etc

* add cascade and some other fixes

* most of charadata impl

* dotnet 9

* net9 and migration to k4os

* bum papi

---------

Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
2025-06-28 14:37:25 +00:00
rootdarkarchonandrootdarkarchon fd0327b2c4 Single file transfer (#26)
* move to single file transfer for server

* fix cache get

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-08-01 16:48:08 +02:00
rootdarkarchonandrootdarkarchon 48323d68b0 [Draft] Update 0.8 (#25)
* get rid of file handling through grpc and signalr

* fix upload on controller

* adapt usersetpairpermissions

* send user perms

* server-side fixes

* rework file upload

* adjust log level to debug in docker standalone json

* update dependencies

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-03-14 19:46:59 +01:00
rootdarkarchonandrootdarkarchon 6f9bacab5b Messagepack (#24)
* add messagepack to signalr

* add resolvers to messagepack

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-02-10 12:30:03 +01:00
rootdarkarchonandrootdarkarchon ca16b08a2f Server rework for API change and paradigm shift (#23)
* start with group permissions implementation

* some minor refactoring

* adjust hub for api changes

* fixes and database migration

* fixes sending online/offline message to clients stuff

* remove admin stuff from server

* fixes get server permissions

* send group pair info to client on joining a group

* send online only on sending connection dto

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-29 15:15:02 +01:00
rootdarkarchonandrootdarkarchon 4bd71a5889 Download rework (#22)
* rework server to send download ready back via signalr

* adjust queue handling for removal

* adjust api to main

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-15 16:00:38 +01:00
rootdarkarchonandrootdarkarchon 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
rootdarkarchonandrootdarkarchon 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
rootdarkarchonandrootdarkarchon 5f0c12ecfa Switch to JWT authentication (#19)
* switch to jwt authentication

* fix delete files

* adjust saving of deletion of all files

* update api to main/jwt

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-01-02 17:07:34 +01:00
rootdarkarchonandrootdarkarchon 9eb5967935 rework server responsibilities (#18)
* rework server responsibilities
add remote configuration

* start metrics only when compiled as not debug

* add some more logging to discord bot

* fixes of some casts

* make metrics port configurable, minor fixes

* add docker bullshit

* md formatting

* adjustments to docker stuff

* fix docker json files, fix some stuff in discord bot, add /useradd for Discord bot

* adjust docker configs and fix sharded.bat

* fixes for logs, cache file provider repeat trying to open filestream

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2022-12-27 13:48:05 +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
rootdarkarchonandrootdarkarchon 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
rootdarkarchonandrootdarkarchon 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
rootdarkarchonandrootdarkarchon 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
rootdarkarchonandStanley Dimant 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
rootdarkarchonandStanley Dimant 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
rootdarkarchon b411541f43 Merge pull request #10 from lmontoute/patch-1
Change CdnBaseUrl to CdnFullUrl (match implementation)
2022-08-16 09:13:56 +02:00
rootdarkarchon dbaf45ba70 Merge pull request #9 from isbeorn/main
Prevent unnecessary left join
2022-08-15 17:56:48 +02:00
rootdarkarchon c7dccc7e58 Merge pull request #8 from isbeorn/main
change query so only one query has to be sent in MareHub.OnDisconnectedAsync
2022-08-15 12:46:48 +02:00
rootdarkarchon 52c3491168 Merge pull request #7 from Penumbra-Sync/cached_auth
Add cached + limited authentication and possibility to ban discord/lodestone accounts
2022-08-06 12:49:58 +02:00
rootdarkarchon f7fa128efa Merge pull request #6 from isbeorn/main
Fix lodestone character id extraction
2022-08-03 22:45:52 +02:00
rootdarkarchon edd91d19f6 Merge pull request #4 from isbeorn/main
Replace timer with Background Task - lock slash command to prevent concurrency issues
2022-08-03 19:11:46 +02:00
rootdarkarchon 8910d012c5 Merge pull request #5 from PassiveModding/main
Avoid multiple instantiations of Random
2022-08-03 19:10:02 +02:00
rootdarkarchon 4102203dae Merge pull request #3 from Penumbra-Sync/fuck_people
Fuck people
2022-08-01 17:43:11 +02:00
rootdarkarchon cc53e5650d Merge pull request #2 from Penumbra-Sync/postgresql
migrate to postgresql
2022-08-01 02:14:31 +02:00
rootdarkarchon 3ef2271d40 Merge pull request #1 from Penumbra-Sync/api6
Api6
2022-07-24 14:36:26 +02:00
rootdarkarchon 0a4ee136bc Initial commit 2022-06-17 02:23:28 +02:00