Commit Graph

168 Commits

Author SHA1 Message Date
rootdarkarchon
b4830e9f8a make cleanup check time configurable, add distribution file server address 2024-01-17 01:32:11 +01:00
rootdarkarchon
213fea5d41 set user agent correctly 2024-01-15 12:51:16 +01:00
rootdarkarchon
6eac05e91b refactor file server 2024-01-15 12:26:09 +01:00
rootdarkarchon
c674e4eccd something 2024-01-14 21:41:22 +01:00
rootdarkarchon
1c97fd9150 do not use async for queue processing 2024-01-14 21:24:12 +01:00
rootdarkarchon
c3d674b188 fix queue processing, the third 2024-01-14 12:37:51 +01:00
rootdarkarchon
4d226eb616 fix queue processing, again 2024-01-14 12:34:44 +01:00
rootdarkarchon
024796c459 fix queue processing 2024-01-14 12:32:52 +01:00
rootdarkarchon
a66e93c901 update metrics more often 2024-01-14 12:28:04 +01:00
rootdarkarchon
4c1131a988 break, not return 2024-01-14 12:05:58 +01:00
rootdarkarchon
63286127a2 add alias to jwt, remove caching from auth, remove db usage from files 2024-01-14 11:57:18 +01:00
rootdarkarchon
2c7ff6f73a some file server fixes I guess 2024-01-13 12:08:49 +01:00
rootdarkarchon
810c6dbd45 do not rely on "*" being present in configuration when picking file shard 2024-01-13 11:20:21 +01:00
rootdarkarchon
ba96fd2d5e more logging 2024-01-13 10:57:23 +01:00
rootdarkarchon
71dd103dea fix bug 2024-01-13 10:28:17 +01:00
rootdarkarchon
53e96d9318 add geoip service for file shard matching 2024-01-12 13:10:14 +01:00
rootdarkarchon
91813bb67f bugfix 2023-12-23 18:20:34 +01:00
rootdarkarchon
3ed4ef454c clean up downloads on shards 2023-12-07 17:28:22 +01:00
rootdarkarchon
5a4010cb8a fix disposed semaphores 2023-11-18 17:41:18 +01:00
rootdarkarchon
a1573ad2c3 fix upload getting stuck 2023-11-18 17:36:17 +01:00
rootdarkarchon
df87e45e9c revert chunking on fileservers 2023-11-17 11:12:48 +01:00
rootdarkarchon
b4105f3d01 ok I'm giving up 2023-11-17 01:10:50 +01:00
rootdarkarchon
0b61f3e1d9 why is this such a pain 2023-11-17 01:07:58 +01:00
rootdarkarchon
182db1d7c3 try different way of exists query 2023-11-17 01:06:21 +01:00
rootdarkarchon
5dfe978344 fix indexing 2023-11-17 01:02:53 +01:00
rootdarkarchon
cc2c8d2531 limit the hashes to take to locally available files only 2023-11-17 01:01:08 +01:00
rootdarkarchon
6b5b45ff77 add ordering 2023-11-17 00:29:57 +01:00
rootdarkarchon
8c8c3509d3 use chunks for cleanup 2023-11-17 00:27:51 +01:00
rootdarkarchon
302e6ffb62 Mare 0.9 (#27)
* add jwt expiry

* update api

* merge

* start rework permissions

* ok so in theory this compiles

* make it work I guess

* reuse some permissions

* fix intermediate connectivity issues

* fixes

* whatever

* some fixes I guess

* fix some stuff

* idk some random fixes I guess

* change some defaults

* update nuget

* adjust order of operations

* adjust deletion of account

* remove todo

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-10-17 21:36:33 +02:00
rootdarkarchon
de094026d6 add munged file upload 2023-09-19 23:48:10 +02:00
rootdarkarchon
1d470d3d80 use maredbcontext from controller 2023-09-17 03:30:43 +02:00
rootdarkarchon
9f403345c9 add high priority queue 2023-09-17 03:21:10 +02:00
rootdarkarchon
56b27e5ee8 custom file stream implementation 2023-08-26 00:36:30 +02:00
rootdarkarchon
a3b33c0e6b expire requests regardless of queue presence of entries 2023-08-03 08:47:16 +02: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
fd0327b2c4 Single file transfer (#26)
* move to single file transfer for server

* fix cache get

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-08-01 16:48:08 +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
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
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
48323d68b0 [Draft] Update 0.8 (#25)
* get rid of file handling through grpc and signalr

* fix upload on controller

* adapt usersetpairpermissions

* send user perms

* server-side fixes

* rework file upload

* adjust log level to debug in docker standalone json

* update dependencies

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-03-14 19:46:59 +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
6f9bacab5b Messagepack (#24)
* add messagepack to signalr

* add resolvers to messagepack

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2023-02-10 12:30:03 +01:00