Commit Graph

25 Commits

Author SHA1 Message Date
Trim21
2a0d29c1f5 style: add new rule for imports (#785) 2024-08-13 22:31:39 +00:00
Trim21
5ff9cddead feat: new args --disable-rate-limit (#737) 2024-04-29 06:24:23 +08:00
Jesse Chan
af8de75e05 server: remove unused history snapshots and make it in-mem only 2021-10-31 23:21:20 -07:00
Jesse Chan
9c9675df34 dependencies: bump (major) 2021-10-23 20:52:11 -07:00
Jesse Chan
7fa7eb5feb server: cleanup synchronous patterns
Bug: #340
2021-06-26 15:12:03 +08:00
Jesse Chan
a2bcabce1b dependencies: bump (major) 2021-05-17 23:59:22 +08:00
Jesse Chan
2c8c7a4f3d server: drop ajaxUtil and handle responses in each endpoint 2021-02-21 23:39:55 +08:00
Jesse Chan
6f7bca075c server: consolidate services null checks to middleware 2021-02-21 23:39:55 +08:00
Jesse Chan
fcd67d302c API: directory-list: handle symbolic links 2021-02-19 20:56:08 +08:00
Jesse Chan
7d8825490b API: directory-list: fix response status codes 2021-02-16 21:37:01 +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
66fdb8cb50 server: increase rate limit of /data endpoint to 200/5min 2021-01-28 17:17:25 +08:00
Jesse Chan
1d1a478391 server: redirect to a portable link for /data endpoint 2021-01-28 17:17:25 +08:00
Jesse Chan
4239ecf80e server: notificationService: replace callbacks with promises 2020-12-28 23:19:52 +08:00
Jesse Chan
37a94912f4 server: HistoryEra: replace NeDB callbacks with promises 2020-12-09 21:52:32 +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
3ea6a93904 server: initial tests for torrents endpoints 2020-10-17 13:44:06 +08:00
Jesse Chan
98666ea51e server: migrate Flood settings functions to per-user service 2020-10-17 13:44:06 +08:00
Jesse Chan
8f5fd27b88 client: SettingsModal: migrate to TypeScript 2020-10-17 13:44:06 +08:00
Jesse Chan
a25ed17422 server: api: fix /directory-list API mismatch
Fixes: dbde60b35e
2020-10-11 20:38:06 +08:00
Jesse Chan
f6896413a3 server: move auth APIs to /api/auth
Auth APIs are APIs too. Let's recognize it.
2020-10-10 12:42:27 +08:00
Jesse Chan
dbde60b35e server: migrate getDirectoryList to TypeScript 2020-10-07 19:46:24 +08:00
Jesse Chan
2443bc9303 API: move /download API to where it should be 2020-09-30 20:05:57 +08:00
Jesse Chan
2e9fef29b0 API: move /mediainfo API to per torrent API where it belongs 2020-09-30 18:50:40 +08:00
Jesse Chan
b201946a7d server: routes: split feed monitor APIs to feed-monitor.ts 2020-09-30 18:27:21 +08:00