Commit Graph

74 Commits

Author SHA1 Message Date
rootdarkarchon
6fc2f1e90c some fixes on cache creation stuff I think 2023-10-18 09:33:27 +02:00
rootdarkarchon
527b95a271 reuse dbcontext where applicable 2023-10-17 23:18:59 +02:00
rootdarkarchon
7cfe273613 fixes fixes idk 2023-10-17 23:04:09 +02:00
rootdarkarchon
7a395940cd fix existingdata ownpermissions for addpair 2023-10-17 22:47:39 +02:00
rootdarkarchon
302e6ffb62 Mare 0.9 (#27)
* add jwt expiry

* update api

* merge

* start rework permissions

* ok so in theory this compiles

* make it work I guess

* reuse some permissions

* fix intermediate connectivity issues

* fixes

* whatever

* some fixes I guess

* fix some stuff

* idk some random fixes I guess

* change some defaults

* update nuget

* adjust order of operations

* adjust deletion of account

* remove todo

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-10-17 21:36:33 +02:00
rootdarkarchon
9b87e3c625 check on normalized url regex and match on titles 2023-05-11 23:49:08 +02:00
rootdarkarchon
87c7517a7c check for honorific title on push 2023-05-11 23:17:31 +02:00
rootdarkarchon
f5649b75cf fix user stupidty through vanity 2023-04-30 15:39:16 +02:00
rootdarkarchon
17238aa059 add disable vfx to server methods 2023-04-20 10:14:21 +02:00
rootdarkarchon
782a60c833 fix profile 2023-03-20 11:37:03 +01: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
aa03d400d4 - reload configs on change
- remove grpc config service replace with http
- add messaging to channel
2023-02-25 12:20:59 +01:00
rootdarkarchon
677224e363 add secondary UID stuff 2023-01-31 23:33:04 +01:00
rootdarkarchon
edb04c8d9d fixes to useraddpair when adding via vanity uid 2023-01-30 11:38:32 +01:00
rootdarkarchon
b717e824b2 fix adding sending data client shouldn't receive 2023-01-29 20:41:07 +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
4932b4a8d9 fix UserAddPair 2023-01-23 17:13:37 +01:00
rootdarkarchon
c7f793e82c fix linq 2023-01-23 09:35:55 +01:00
rootdarkarchon
541f86c116 block anything from user data that is not allowed to be synced 2023-01-23 09:34:57 +01:00
rootdarkarchon
99cf46875b actually add invalid game paths and file swap paths to show in the error message 2023-01-19 18:30:29 +01:00
rootdarkarchon
9605be8d4a minor stylefixes 2023-01-14 12:54:11 +01:00
rootdarkarchon
f37fee3235 attempt redis connection pooling 2023-01-08 19:27:39 +01:00
rootdarkarchon
a182f36485 attempt to switch ident service to redis 2023-01-08 14:51:56 +01:00
rootdarkarchon
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
rootdarkarchon
9a9beb9a65 fix error message on user push data 2022-12-31 18:15:32 +01:00
rootdarkarchon
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
ea19231851 remove unnecessary usings from solution, fixes in metrics 2022-12-20 12:00:23 +01:00
rootdarkarchon
33a134608a add more meaningful message for invalid data 2022-12-18 15:30:47 +01:00
rootdarkarchon
f278c5a762 rework authentication 2022-12-18 14:53:44 +01:00
rootdarkarchon
87fdd55c50 potential fixes for userpurge 2022-12-14 17:36:28 +01:00
rootdarkarchon
80de0923fe log more 2022-11-11 10:53:24 +01:00
rootdarkarchon
d3034d7c22 bruh who the fuck puts {} into filenames 2022-11-11 00:54:50 +01:00
rootdarkarchon
b53ea2e2d3 fix stupid regex once again 2022-11-11 00:54:12 +01:00
rootdarkarchon
e51244fc9d add {} to path validation 2022-11-11 00:47:29 +01:00
rootdarkarchon
182240bc16 fix regex for a folders that are single numbers (why is this a thing SE) 2022-11-10 15:02:14 +01:00
rootdarkarchon
af537ab67c adjust regex for vfx bullshit 2022-11-10 14:58:37 +01:00
rootdarkarchon
6a62dcc069 actually fix compiler error 2022-11-10 14:56:05 +01:00
rootdarkarchon
42c6bf0b7f fix compiler error 2022-11-10 14:55:17 +01:00
rootdarkarchon
c5b0f6146e print invalid paths if validation failed 2022-11-10 14:53:32 +01:00
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
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