Commit Graph

110 Commits

Author SHA1 Message Date
rootdarkarchon
4b0c5f6199 Add GPose Together capabilities to server (#32)
* most of gpose together impl

* some metrics and fixes

* api

---------

Co-authored-by: Stanley Dimant <root.darkarchon@outlook.com>
2025-06-28 14:37:25 +00:00
Loporrit
c12559afcc Allow auth server to staple a .well-known response via createWithIdentV2 2025-06-28 14:37:25 +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
Stanley Dimant
3dfacca94c use dbcontext factory?
use more dbcontext factories or something idk
2025-06-28 14:37:24 +00:00
Stanley Dimant
7639066249 Split AuthService/Server
some refactoring
fix some stuff
add http context accessor
configure metrics as well
commit 713d054ccb965f7adb8eafa6e3fb52853a1e6dd2 (partial, Docker only)
2024-10-08 08:59:50 +00:00
Loporrit
61821c0775 Add nginx ssi support for client file transfers as well why not 2024-09-13 16:59:38 +00:00
Loporrit
21c615cdb7 Optimize dist file get, add nginx x-accel support 2024-09-13 15:16:00 +00:00
Loporrit
0b6af10a44 Prioritize larger files during size cleanup 2024-09-08 11:03:05 +00:00
Loporrit
2090c65bf1 Allow file shards to signal main server directly 2024-09-06 08:54:45 +00:00
Loporrit
524e412c28 Add DistributionFileServerForceHTTP2 2024-09-06 08:54:45 +00:00
Loporrit
c42d0b38cf Keep main server out of file business, and disable user file deletion 2024-09-06 08:54:45 +00:00
Stanley Dimant
f97aa46f74 cold storage retention should be days
limit is double though jksdfjklsdfkl
2024-08-27 15:07:19 +00:00
Stanley Dimant
fb22a267ac add central cold storage options for file servers
add access times I guess

access, not write

overwrite times after copying
2024-08-27 15:07:19 +00:00
Stanley Dimant
180d7d504d add special handling for NA-W/NA-E
remove unused usings
2024-08-27 15:07:19 +00:00
rootdarkarchon
012ae04dce add some more metrics for files downloading from caches 2024-08-27 15:07:18 +00:00
rootdarkarchon
9d9573a510 try locking metrics 2024-08-27 15:07:18 +00:00
rootdarkarchon
a42f553648 make cleanup check time configurable, add distribution file server address
handle download errors on shards better

flush filestream

oml
2024-08-27 14:46:36 +00:00
rootdarkarchon
7c6dbafce9 set user agent correctly
add statistics

fix bug
2024-08-27 14:46:34 +00:00
rootdarkarchon
d54d793575 refactor file server 2024-08-27 14:31:41 +00:00
rootdarkarchon
d40730bca3 some file server fixes I guess
break, not return

fix queue processing

fix queue processing, again

fix queue processing, the third

do not use async for queue processing

something
2024-08-27 14:22:10 +00:00
rootdarkarchon
e74f511cc0 add alias to jwt, remove caching from auth, remove db usage from files 2024-08-27 14:11:33 +00:00
rootdarkarchon
989046da13 add geoip service for file shard matching
fix bug

more logging

fix logging wtf is going on even

handle lists in config log output

do not set "*" as default continent

do not rely on "*" being present in configuration when picking file shard
2024-08-27 14:11:23 +00:00
Stanley Dimant
348781e5f5 remove grpc 2024-06-11 07:31:34 +00:00
Stanley Dimant
72df676c9d update server to net 8
up conn semaphore

add http logging to files

update prometheus?

downgrade again to net7?

temp downgrade to net7 again?

net8 for static file server attempt #2

loporrit: MareAPI .NET8 update
2024-06-11 07:31:20 +00:00
Loporrit
be1edba5c2 Remove group bans on user deletion 2024-03-14 18:50:55 +00:00
Loporrit
d871002d01 Account registration endpoint 2023-09-01 19:10:27 +00:00
rootdarkarchon
255798c0c6 add gauges for queue free/active/inactive 2023-08-02 10:14:27 +02:00
rootdarkarchon
32e9cf7795 add request size counters 2023-08-01 22:09:45 +02:00
rootdarkarchon
ef1aea2f29 fix include 2023-05-29 02:04:27 +02:00
rootdarkarchon
cc304d5f54 fix purging of users with secondary uids I guess 2023-05-29 02:03:14 +02:00
rootdarkarchon
1c0c213c93 update dependencies 2023-05-09 13:04:21 +02: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
2cfd005fed remove explicit prom aspnetcore 2023-03-15 11:36:22 +01:00
rootdarkarchon
d388a7f279 downgrade prometheus to 7.0.0 2023-03-15 11:24:04 +01:00
rootdarkarchon
e0880d8b25 add explicit efcore relational dep 2023-03-14 20:22:48 +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
3490c5c8d8 adjust extensions, again and again 2023-02-10 15:18:34 +01:00
rootdarkarchon
03d7549d29 adjust ip address extensions again 2023-02-10 15:15:33 +01:00
rootdarkarchon
42694a872f remove empty entries on ip address split 2023-02-10 13:35:50 +01:00
rootdarkarchon
674387a26a updates to dependencies 2023-02-05 12:49:05 +01:00
rootdarkarchon
677224e363 add secondary UID stuff 2023-01-31 23:33:04 +01:00
rootdarkarchon
cdba293aa1 migrate groups in priority of moderator, then pinned status 2023-01-30 12:25:39 +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
d7e664477f Merge branch 'main' of https://github.com/Penumbra-Sync/server 2023-01-18 19:46:36 +01:00
rootdarkarchon
fe80faab6b potentially fix stuck uploads 2023-01-18 19:46:03 +01:00