Commit Graph

15 Commits

Author SHA1 Message Date
Trim21
2a0d29c1f5 style: add new rule for imports (#785) 2024-08-13 22:31:39 +00:00
Trim21
713b1d95c9 perf: mediainfo router should use async/await to get file info (#656) 2023-11-29 07:31:08 +00:00
Jesse Chan
dc17bfb2eb dependencies: bump (major) 2021-09-06 19:22:23 +08:00
Jesse Chan
ad535e2cde API: directory-list: handle empty input case and improve error responses 2021-02-15 23:09:37 +08:00
Jesse Chan
3a2fef83ad server: tests: match EACCES code only 2020-12-27 23:38:16 +08:00
Jesse Chan
fd971ddcd8 server: replace fs callbacks with promises 2020-12-09 22:24:28 +08:00
Jesse Chan
aeefd6954d server: allow fallback to default or last destination 2020-11-13 13:28:11 +08:00
Jesse Chan
d00728028e server: isAllowedPath: follow symlinks to validate the realpath
This prevents the attacker from downloading a soft symbol link first
and then use the symbol link to bypass the allowed paths validation.
2020-10-31 21:26:53 +08:00
Jesse Chan
63860705ef server: fileUtil: properly use async createDirectory 2020-10-19 21:42:34 +08:00
Jesse Chan
dcfcce3456 api: torrents: simplify contents API by returning an Array of TorrentContent 2020-10-17 13:44:06 +08:00
Jesse Chan
c0ddc55810 server: migrate setSpeedLimits and setTracker to clientGatewayService 2020-10-17 13:44:06 +08:00
Jesse Chan
2259ee18d1 server: fileUtil: getDirectoryList: assert typeof inputPath is string 2020-10-11 18:14:38 +08:00
Jesse Chan
79a7c9c6f0 server: migrate add torrents functions to clientGatewayService 2020-10-10 12:26:20 +08:00
Jesse Chan
dbde60b35e server: migrate getDirectoryList to TypeScript 2020-10-07 19:46:24 +08:00
Jesse Chan
912c66d497 server: migrate moveTorrents to clientGatewayService 2020-09-29 13:38:13 +08:00