Commit Graph

197 Commits

Author SHA1 Message Date
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
Stanley Dimant
0b458c0f87 hotfix for connectiondto 2022-07-07 23:27:18 +02:00
Stanley Dimant
f307c9c486 add SystemInfoService, increase API to 3 2022-07-06 11:37:06 +02:00
Stanley Dimant
64f6380294 remove CharacterData, minor adjustments to logging 2022-07-04 13:38:07 +02:00
Stanley Dimant
7a2fb8d594 some cleanup server side, increase api version to 2 2022-07-04 13:16:16 +02:00
Stanley Dimant
d08e5f9c04 add documentation how to install server on ubuntu 20.04 and add server version stuff 2022-07-03 15:33:34 +02:00
Stanley Dimant
15b220dc8b add logging stuff 2022-07-03 02:24:32 +02:00
Stanley Dimant
d56923d553 adjust DTOs, add call to push character data to visible clients 2022-06-30 17:19:58 +02:00
Stanley Dimant
3e00bc4efd add admin related things 2022-06-30 01:53:28 +02:00
Stanley Dimant
3c2fac69c3 preparation for admin actions 2022-06-29 23:02:18 +02:00
Stanley Dimant
906f719879 add EF core db migrations, add banned + forbidden uploads db entries, adjust authentication to include characternamehash to check for bans, prepare for message sending from client to other clients 2022-06-29 22:42:58 +02:00
Stanley Dimant
1ac5e2655e idk, it's just too many changes by now 2022-06-28 23:51:19 +02:00
Stanley Dimant
3fe6c9df15 change WhiteList -> CleintPair 2022-06-21 14:26:28 +02:00
Stanley Dimant
9fa6517486 add streaming for uploads/aborting, whitelist changes and so on 2022-06-20 00:49:57 +02:00
Stanley Dimant
2b53c6a824 I don't know man, it's just too much 2022-06-19 01:56:42 +02:00
Stanley Dimant
f6fbb4c862 yeah idk, basic form of reg, auth, upload, whitelist. lots of stuff. 2022-06-17 23:49:08 +02:00