rootdarkarchon
d328056b9b
fix claims and logging in files controller
2023-01-07 01:57:16 +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
5f0c12ecfa
Switch to JWT authentication ( #19 )
...
* switch to jwt authentication
* fix delete files
* adjust saving of deletion of all files
* update api to main/jwt
Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com >
2023-01-02 17:07:34 +01:00
rootdarkarchon
bdd8830c8e
add healthchecks to docker
2023-01-02 02:50:33 +01:00
rootdarkarchon
738c913be9
move some stuff around, pray
2023-01-01 23:36:34 +01:00
rootdarkarchon
8878295f93
adjust random order of files
2023-01-01 20:12:57 +01:00
rootdarkarchon
f8c9d1e64f
shuffle cdn shard configs to allow for multiple file shards to handle one file, randomly distributing
2023-01-01 17:32:22 +01:00
rootdarkarchon
9a9beb9a65
fix error message on user push data
2022-12-31 18:15:32 +01:00
rootdarkarchon
b6404a9c1d
add horizontal file sharding based on filename matches
2022-12-31 14:28:24 +01:00
rootdarkarchon
cf082496e9
actually save file with commit
2022-12-30 22:39:36 +01:00
rootdarkarchon
da738bafd9
replace non-digits and letters from string for FilesSend
2022-12-30 22:39:15 +01:00
rootdarkarchon
cbe361208c
some changes to auth
2022-12-29 20:14:47 +01:00
rootdarkarchon
8cd9c20385
add asnotracking
2022-12-28 14:35:29 +01:00
rootdarkarchon
31550b0aeb
move GetFileSize to database
2022-12-28 04:50:37 +01:00
rootdarkarchon
de2defe692
rework MareConfigurationServiceClient
2022-12-28 04:24:53 +01:00
rootdarkarchon
3ba37515ab
some fixes for server, perhaps
2022-12-27 21:59:41 +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
8f35a55bd8
limit parallel uploads to 20 per server
2022-12-22 23:19:46 +01:00
rootdarkarchon
ea19231851
remove unnecessary usings from solution, fixes in metrics
2022-12-20 12:00:23 +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
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
87fdd55c50
potential fixes for userpurge
2022-12-14 17:36:28 +01:00
rootdarkarchon
333a8dddd2
update dependencies and fix whitelisting of ips potentially
2022-12-12 19:30:06 +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
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
d83d9a6753
OneTime Invites Server handling ( #17 )
...
* add server-side handling for one time invites
2022-10-25 00:54:51 +02:00
Stanley Dimant
8164d737bf
whitelist fixes, grpc stream fixes
2022-10-20 23:08:46 +02:00
rootdarkarchon
d26daa6344
make bot less cancer to work with
2022-10-20 13:25:37 +02:00