Commit Graph

165 Commits

Author SHA1 Message Date
Stanley Dimant
a5a2ce7e34 partial revert + change 2022-08-25 00:52:58 +02:00
Stanley Dimant
88cec262cd add alias handling to server and database 2022-08-25 00:34:21 +02:00
Stanley Dimant
66e2b3db82 fix auth for grpc calls 2022-08-24 23:01:03 +02:00
Stanley Dimant
5b136685db fixes for standard configs 2022-08-24 21:43:17 +02:00
Stanley Dimant
2510cce711 adjustments to config and cleanup nuget, remove implicit usings 2022-08-23 11:21:21 +02:00
Stanley Dimant
afcb268ccc remove unused variable 2022-08-23 02:32:18 +02:00
Stanley Dimant
dab12fbb30 add hashes to filesizerequest 2022-08-23 02:31:44 +02:00
Stanley Dimant
a63174009f decouple fileservice to be able to run standalone 2022-08-23 02:28:04 +02:00
rootdarkarchon
f9e4fd4f2d minor refactoring 2022-08-22 14:24:47 +02:00
rootdarkarchon
6c243d0247 move shared content to shared project 2022-08-22 11:21:28 +02:00
Stanley Dimant
927e1aaceb potential optimizations (ConfigureAwait, Logging Templates) 2022-08-22 10:46:37 +02:00
Stanley Dimant
78543d0fc2 update getpairedclients to use only one query instead of one per entry 2022-08-19 12:18:16 +02:00
Stanley Dimant
7abe4f9f2e update server to api 11 2022-08-19 11:37:31 +02:00
Stanley Dimant
e83d668724 sql query optimization, add server cache hard limit, try catch separate around every block 2022-08-16 12:11:36 +02:00
rootdarkarchon
dbaf45ba70 Merge pull request #9 from isbeorn/main
Prevent unnecessary left join
2022-08-15 17:56:48 +02:00
Stanley Dimant
f55ff9f6a3 adjust server to new api and send back url for file download on DownloadFilesDto 2022-08-15 17:56:16 +02:00
Stefan Berg
991921f188 Prevent unnecessary join 2022-08-15 15:42:51 +02:00
Stefan Berg
5f84ca51ba merge latest 2022-08-15 12:45:19 +02:00
Stefan Berg
3a1bda96ed change query so only one query has to be sent in MareHub.OnDisconnectedAsync 2022-08-15 12:39:55 +02:00
Stanley Dimant
697b4c39ca add rate limiting for disconnects, logging exceptions and minor query optimizations for disconnects 2022-08-15 02:22:02 +02:00
Stanley Dimant
a33cf2b2d1 overwrite on move file 2022-08-12 17:41:09 +02:00
Stanley Dimant
ea74dde4c3 write uploads to file instead of memory 2022-08-12 12:47:06 +02:00
Stanley Dimant
30b86b71a9 optimize SendFiles 2022-08-07 13:59:26 +02:00
Stanley Dimant
1877bf9243 add amount of files sent with every sendfiles request 2022-08-07 12:32:10 +02:00
Stanley Dimant
1953de8c38 remove authentication as well when user deletes their account 2022-08-06 12:44:17 +02:00
Stanley Dimant
8047710b50 remove auth from basehub 2022-08-06 03:07:15 +02:00
Stanley Dimant
95586549e5 fix memory leak, try something different for metrics 2022-08-04 12:56:01 +02:00
Stanley Dimant
aebb7fdbb0 adjust contextaccessor 2022-08-03 22:18:29 +02:00
Stanley Dimant
4477e186a3 remove anonymous 2022-08-03 21:51:54 +02:00
Stanley Dimant
9e0ac74de7 get actual IP from connection 2022-08-03 19:42:02 +02:00
Stanley Dimant
d5b7dd69e8 minor adjustments 2022-08-03 19:16:01 +02:00
Passive
2f281f366b Replace obsolete rng call with RandomNumberGenerator.GetBytes 2022-08-03 16:36:59 +10:00
Stanley Dimant
e0f273a020 add lodestone auth, add rate limiting middleware 2022-08-01 17:41:46 +02:00
Stanley Dimant
4d3226aa8b adjust server to use authentication where needed 2022-08-01 10:42:19 +02:00
Stanley Dimant
7a40eba295 migrate to postgresql 2022-08-01 00:48:21 +02:00
Stanley Dimant
0a4825fe78 add logging of ip 2022-07-31 22:30:25 +02:00
Stanley Dimant
8939585c3c update blabla 2022-07-31 17:32:15 +02:00
Stanley Dimant
641ad52313 wtf am I doing 2022-07-28 18:26:45 +02:00
Stanley Dimant
d150d36bd4 fix admin api 2022-07-28 18:22:13 +02:00
Stanley Dimant
8f391c6afb allow connection when characteridentification is not null but it's the same user 2022-07-28 14:10:40 +02:00
Stanley Dimant
31cf7964a4 change to synchronized read 2022-07-22 10:37:41 +02:00
Stanley Dimant
f8ecd3965d add LastLoggedIn migration, disallow secondary connections 2022-07-18 10:34:11 +02:00
Stanley Dimant
130350b71b lock metrics calls 2022-07-17 01:13:29 +02:00
Stanley Dimant
17c69666e8 add prometheus 2022-07-15 02:04:04 +02:00
Stanley Dimant
a416521aab update to API 5, consolidate hubs into one 2022-07-13 14:05:42 +02:00
Stanley Dimant
e70f564162 add database migration to limit UID and Hash max lengths 2022-07-12 11:39:23 +02:00
Stanley Dimant
b8950ca886 rework some calls async 2022-07-11 17:11:57 +02:00
Stanley Dimant
0e0a75a71b performance improvements for queries 2022-07-11 02:54:03 +02:00
Stanley Dimant
b9ac535836 rework authentication and some other crap for optimizing sql parallelism 2022-07-10 17:20:30 +02:00
Stanley Dimant
9c63ce9c99 open download filestream with fileshare read 2022-07-10 01:13:08 +02:00