23 Commits

Author SHA1 Message Date
Loporrit
0b1e08181d Fix messed up db migration file 2025-08-23 10:59:56 +00:00
Stanley Dimant
156c3d80ed MCDO fixes
add groups to individuals stuff

don't show your own data lmao

don't allow to share to not joined groups

fix shared bug maybe

fucking braces

improve CharaDataGetShared()

remove unnecessary double-query on get shared data

optimize

remove shit
2025-06-28 14:37:25 +00:00
Loporrit
f225323c40 Flatten migration 2025-06-28 14:37:25 +00:00
rootdarkarchon
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
Loporrit
084c53ee20 Add migration for EF version bump 2025-06-28 14:37:25 +00:00
rootdarkarchon
5d76553ff8 add fields to db 2023-04-20 09:53:27 +02:00
rootdarkarchon
7b0ac34623 add mare profiles 2023-03-19 18:57:55 +01:00
rootdarkarchon
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
rootdarkarchon
677224e363 add secondary UID stuff 2023-01-31 23:33:04 +01:00
rootdarkarchon
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
rootdarkarchon
fe80faab6b potentially fix stuck uploads 2023-01-18 19:46:03 +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
31550b0aeb move GetFileSize to database 2022-12-28 04:50:37 +01:00
rootdarkarchon
ea19231851 remove unnecessary usings from solution, fixes in metrics 2022-12-20 12:00:23 +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
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
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
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
bdfe51c15c fixes after testing 2022-08-22 15:47:52 +02:00
rootdarkarchon
6c243d0247 move shared content to shared project 2022-08-22 11:21:28 +02:00