Commit Graph
100 Commits
Author SHA1 Message Date
Stanley Dimant 82a40d543a add CharaDataAttemptRestore 2025-06-28 14:37:25 +00:00
Stanley Dimant 73fc5bea2c fix build 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
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
Stanley Dimant b7e12f3e42 handle unknown continent 2024-08-27 15:07:19 +00:00
Stanley Dimant 56a257261b allow more time for download tasks in cachedfileprovider 2024-08-27 15:07:19 +00:00
Stanley Dimant aa78432db3 more queue fixes 2024-08-27 15:07:19 +00:00
Stanley Dimant a116545c9e requeue requests where files are still downloading 2024-08-27 15:07:19 +00:00
Stanley Dimant 9269a403b5 refactor cleanup stuff 2024-08-27 15:07:19 +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 09662b477e clean up some code and optinmize cleanup
speed up cleanup service

fixes for fixes
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
Stanley Dimant b189812dc0 help? 2024-08-27 15:07:19 +00:00
Stanley Dimant 1e353229ac some fixes maybe
kms
2024-08-27 15:07:18 +00:00
Stanley Dimant 128a5a0aa2 fix send ready message service probably 2024-08-27 15:07:18 +00:00
rootdarkarchon c06edeebdd fix AnyFilesDownloading 2024-08-27 15:07:18 +00:00
rootdarkarchon 012ae04dce add some more metrics for files downloading from caches 2024-08-27 15:07:18 +00:00
rootdarkarchon 9b9f6cd2f9 some fixes maybe 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
rootdarkarchon 7667b74734 bugfix 2024-08-27 13:42:03 +00:00
rootdarkarchon 566634776b clean up downloads on shards 2024-08-27 13:41:08 +00:00
rootdarkarchon 9eec562fdd use maredbcontext from controller 2024-08-27 13:28:18 +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
rootdarkarchon 8121b8c1f6 fix upload getting stuck
fix disposed semaphores
2024-03-14 19:06:58 +00:00
rootdarkarchon b2e4b99b10 use maredbcontext from controller 2024-03-14 18:39:08 +00:00
rootdarkarchon 701a5763b5 add high priority queue 2024-03-14 18:36:37 +00:00
rootdarkarchon 3b77a179c5 expire requests regardless of queue presence of entries 2024-03-14 18:35:53 +00:00
rootdarkarchon e01883fd4b add prune to groups
update submodule

allow moderator to check for inactive user count

allow moderators to prune

do not allow to prune owner
2024-02-10 19:04:50 +00:00
rootdarkarchon dd74903eff fix handling for finishrequest 2023-08-02 11:48:07 +02:00
rootdarkarchon ba37a25869 adjust queue processing 2023-08-02 11:37:34 +02:00
rootdarkarchon 255798c0c6 add gauges for queue free/active/inactive 2023-08-02 10:14:27 +02:00
rootdarkarchon 4024754b47 fix counters 2023-08-01 22:15:15 +02:00
rootdarkarchon 32e9cf7795 add request size counters 2023-08-01 22:09:45 +02:00
rootdarkarchon 1928a5f9b1 update api to latest 2023-08-01 16:49:07 +02:00
rootdarkarchon 715bd87907 fix relink when secondary uids are present 2023-07-17 09:06:24 +02:00
rootdarkarchon 6451dec563 update api 2023-07-17 08:59:01 +02:00
rootdarkarchon 022e2c7585 fix whitespace report stuff 2023-06-04 10:33:46 +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 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 3444834fca potentially fix discrepancy between db and uploaded file status 2023-05-11 01:36:36 +02:00
rootdarkarchon 1c0c213c93 update dependencies 2023-05-09 13:04:21 +02:00
rootdarkarchon f5649b75cf fix user stupidty through vanity 2023-04-30 15:39:16 +02:00
rootdarkarchon 8a350e2788 fix group join with alias? 2023-04-29 20:02:43 +02:00
rootdarkarchon 29082dd7fe save disable vfx 2023-04-28 19:11:05 +02:00
rootdarkarchon 17238aa059 add disable vfx to server methods 2023-04-20 10:14:21 +02:00
rootdarkarchon 5d76553ff8 add fields to db 2023-04-20 09:53:27 +02:00
rootdarkarchon abda79a15a potentially fix staticfileserver crashes 2023-04-08 13:59:20 +02:00
rootdarkarchon 89a384005e fix uploading state for forbidden files, add raw upload 2023-04-05 00:24:28 +02:00
rootdarkarchon 51dc445af0 adjust locking for uploadfile 2023-03-29 23:49:00 +02:00
rootdarkarchon 4b9026d23a add reporting ban user 2023-03-21 02:17:52 +01:00
rootdarkarchon 782a60c833 fix profile 2023-03-20 11:37:03 +01:00
rootdarkarchon e4ae7286de update submodule 2023-03-19 18:58:19 +01: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 d6fa401e12 fix and update submodule 2023-03-14 19:53:55 +01:00
rootdarkarchon 7a211aa236 fix recovery 2023-02-25 14:37:49 +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 01aef63203 push head of api 2023-02-10 12:31:57 +01:00
rootdarkarchon ab05198aad push discord.net to 3.9.0 2023-02-10 11:11:15 +01:00
rootdarkarchon 792a66c0d8 downgrade discord.net to 3.8.1 2023-02-05 14:00:14 +01:00
rootdarkarchon 450455fb38 Merge branch 'main' of https://github.com/Penumbra-Sync/server 2023-02-05 12:49:19 +01:00
rootdarkarchon 674387a26a updates to dependencies 2023-02-05 12:49:05 +01:00
rootdarkarchon b3103509e3 log exception ondisconnected async 2023-02-02 11:31:51 +01:00
rootdarkarchon 39b9427b5c potentially fix discord bot 2023-02-01 19:26:00 +01:00
rootdarkarchon 3f31e14b68 potentially fix handle secondary 2023-02-01 19:20:35 +01:00
rootdarkarchon 677224e363 add secondary UID stuff 2023-01-31 23:33:04 +01:00
rootdarkarchon 96e89437c0 do not send alias when alias is empty but send null instead 2023-01-30 23:48:57 +01:00
rootdarkarchon cdba293aa1 migrate groups in priority of moderator, then pinned status 2023-01-30 12:25:39 +01:00
rootdarkarchon edb04c8d9d fixes to useraddpair when adding via vanity uid 2023-01-30 11:38:32 +01:00
rootdarkarchon ca34fb777e set new api submodule head 2023-01-30 11:26:29 +01:00
rootdarkarchon b717e824b2 fix adding sending data client shouldn't receive 2023-01-29 20:41:07 +01:00
rootdarkarchon 04ecbd314d update submodule to main 2023-01-29 15:17:32 +01:00
rootdarkarchon 0c3bb89456 remove time from linq query 2023-01-27 02:53:00 +01:00
rootdarkarchon eb614a5176 Merge branch 'main' of https://github.com/Penumbra-Sync/server 2023-01-27 02:46:18 +01:00
rootdarkarchon 6560b1d70d try catch on cleanup task 2023-01-27 02:46:13 +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 91b98d060a do not use request semaphore for check queue requests 2023-01-22 00:11:21 +01:00
rootdarkarchon 4dade47819 adjustments to auth 2023-01-21 02:46:18 +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 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
rootdarkarchon 35f61d5387 add configurable redis pool and allow redis timeout 2023-01-18 11:11:59 +01:00