Commit Graph

507 Commits

Author SHA1 Message Date
rootdarkarchon
b8c10c4298 adjustments for grpc service client 2022-12-27 20:08:18 +01:00
rootdarkarchon
4d1ef1f871 something something metrics 2022-12-27 15:43:58 +01:00
rootdarkarchon
d83e4e060f fix default metrics port for server 2022-12-27 14:02:49 +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
7ee7fdaf48 switch around all iconfiguration usage to ioptions 2022-12-23 01:53:21 +01:00
rootdarkarchon
b8d61b38bd more fixes 2022-12-22 23:48:04 +01:00
rootdarkarchon
8f35a55bd8 limit parallel uploads to 20 per server 2022-12-22 23:19:46 +01:00
rootdarkarchon
3756fef498 fix _isMainServer verification 2022-12-22 22:28:03 +01:00
rootdarkarchon
02353d5ebe add forceful deletion of files 2022-12-20 19:29:25 +01:00
rootdarkarchon
a99b3a36b8 add try catch failure response handling 2022-12-20 19:21:47 +01:00
rootdarkarchon
7db72c6030 recalculate all files on cleanup task (wtf metrics discrepancies) 2022-12-20 15:10:47 +01:00
rootdarkarchon
61af3a3da5 add metrics to CachedFileProvider 2022-12-20 14:56:45 +01:00
rootdarkarchon
25aa01c819 rework static files server 2022-12-20 14:20:24 +01:00
rootdarkarchon
ea19231851 remove unnecessary usings from solution, fixes in metrics 2022-12-20 12:00:23 +01:00
rootdarkarchon
7d3297e1e8 add some file statistics metrics 2022-12-20 05:02:03 +01:00
rootdarkarchon
ea344468f2 add http metrics 2022-12-19 17:10:19 +01:00
rootdarkarchon
827acf0282 change StaticFilesServer to use Controller 2022-12-19 16:01:25 +01:00
rootdarkarchon
90ccfe4162 adjust metrics 2022-12-19 15:01:12 +01:00
rootdarkarchon
5c9b15545c add metrics to each shard 2022-12-19 14:12:25 +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
f9d9e2608e reduce processing rate of lodestone verification significantly 2022-12-17 12:14:53 +01:00
rootdarkarchon
c358b6b3c4 move markuseroffline to before send offline message and db operations 2022-12-17 11:59:01 +01:00
rootdarkarchon
7231589098 fix removing moderators on clear, allow change invite state for moderators 2022-12-16 21:23:15 +01:00
rootdarkarchon
46641a0f5c update services to net 7 2022-12-15 19:13:51 +01:00
rootdarkarchon
c4cb52e698 always remove user from grouppairs during purge 2022-12-14 17:47:51 +01:00
rootdarkarchon
a054ddaee0 potentially fix group migration 2022-12-14 17:40:48 +01:00
rootdarkarchon
87fdd55c50 potential fixes for userpurge 2022-12-14 17:36:28 +01:00
rootdarkarchon
2b56e3245b fix PurgeUser 2022-12-14 09:31:21 +01:00
rootdarkarchon
333a8dddd2 update dependencies and fix whitelisting of ips potentially 2022-12-12 19:30:06 +01:00
rootdarkarchon
d4829c2e92 Merge branch 'main' of https://github.com/Penumbra-Sync/server 2022-12-12 10:27:59 +01:00
rootdarkarchon
3c4344a504 allow for secondary static files server instances to be spawned 2022-12-12 10:26:29 +01:00
rootdarkarchon
5bd9c7d09d add positive response caching to grpc auth service to lessen load 2022-12-11 13:17:52 +01:00
rootdarkarchon
a554d751b4 fix service provider dispoal 2022-11-19 13:24:20 +01:00
rootdarkarchon
76dded0840 fix verify relink 2022-11-19 13:11:08 +01:00
rootdarkarchon
3a84afc579 add /relink command to discord, refactor verification 2022-11-16 23:15:37 +01:00
rootdarkarchon
6049dcf6c2 Merge branch 'main' of https://github.com/Penumbra-Sync/server 2022-11-14 01:56:52 +01:00
rootdarkarchon
0f697bc5f3 fixes issue where character hash of paused users in a syncshell was uselessly sent 2022-11-14 01:56:45 +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