Commit Graph

21 Commits

Author SHA1 Message Date
875ae36d17 Add custom scripts for rss download 2025-02-02 18:14:46 +01:00
Liu Xiaoyi
99a1b6bbd0 fix: run compaction every interval (#834) 2024-12-17 18:47:40 +00:00
Trim21
2a0d29c1f5 style: add new rule for imports (#785) 2024-08-13 22:31:39 +00:00
Jesse Chan
efdd620192 dependencies: bump (major)
TODO: drop the "const argv = argvObj as Record<string, any>;" hack

Refs: yargs/yargs#2175
2022-05-07 16:41:10 -07:00
Jesse Chan
e09accd696 server: drop databases before removing user 2022-05-01 14:55:50 -07:00
Jesse Chan
1af1d24755 server: switch to @seald/nedb 2022-05-01 14:34:42 -07:00
Saber
e03e1596ae server: feedService: delete rule from this.rules on remove (#375) 2021-07-16 12:43:00 +08:00
Jesse Chan
a2bcabce1b dependencies: bump (major) 2021-05-17 23:59:22 +08:00
Jesse Chan
764b5b59cb server: feedService: migrate from manual Promises to "nedb-promises" 2020-12-28 23:19:52 +08:00
Jesse Chan
26c9987355 server: support initial seeding (aka superseeding)
https://www.bittorrent.org/beps/bep_0016.html
2020-12-26 13:49:55 +08:00
Jesse Chan
61b6b61569 API: torrents: add "isSequential" torrent property 2020-12-26 11:07:30 +08:00
Jesse Chan
cea33d5668 dependencies: bump feedsub to 0.7.6 2020-12-14 01:41:01 +08:00
Jesse Chan
c97e50fb39 dependencies: bump feedsub to 0.7.5 2020-12-13 13:46:54 +08:00
Jesse Chan
1a878d5423 flood: rearrange, remove misc files and reformat 2020-11-15 23:03:47 +08:00
Jesse Chan
80ffb24d8d API: torrents: schema validate add-urls and add-files endpoints
Those endpoints use extensive amount of user-provided properties
and will be frequently used by third party developers. With Node
15, unhandled promise rejections directly crash the server, as
such, it is safer to schema validate the request before processing
it.

This change also prepares the code paths for later change that adds
destination fallbacks.
2020-11-13 13:27:31 +08:00
Jesse Chan
600e22a6d6 server: services: refrain from using unnecessary throws 2020-11-03 00:38:49 +08:00
Jesse Chan
dc1b939c26 server: qBittorrent, rTorrent: properly hook functions to error handlers 2020-11-03 00:38:46 +08:00
Jesse Chan
017b9d159d server: replace explicit binds with arrow functions 2020-11-02 19:32:33 +08:00
Jesse Chan
d4a8b03928 server: tests: add tests for feed-monitor endpoints 2020-10-24 07:17:57 -05:00
Jesse Chan
265032d3d5 API: feed-monitor: slightly tweak the Rule/Item data structure 2020-10-24 07:17:57 -05:00
Jesse Chan
b0ff983600 server: migrate feedService to TypeScript 2020-10-24 07:17:57 -05:00