56 Commits

Author SHA1 Message Date
Peng-YM
2aa3cbd9d2 fix: Backend crash when operator argument is undefined 2022-07-08 16:28:47 +08:00
Peng-YM
d7b97f4595 fix: Error codes are not shown in the response 2022-07-08 11:00:26 +08:00
Peng-YM
8aed0665e3 fix: Restrict artifact name in order to fix a Gist API bug 2022-07-08 10:47:38 +08:00
Peng-YM
b1d811e4c5 fix: Sync time is updated even if upload failed 2022-07-08 10:26:05 +08:00
Peng-YM
2ee515dc23 fix: Full config preprocessor bug 2022-07-07 23:24:01 +08:00
Peng-YM
07cae95ff4 feat: Add artifactStore URL in settings 2022-07-07 22:40:46 +08:00
Peng-YM
240156daef refactor: Revise sync artifacts APIs
- /api/sync/artifacts: sync all artifacts
- /api/sync/artifact/:name: sync a specific artifact
2022-07-07 14:47:09 +08:00
Peng-YM
a420c126c2 refactor: Refactor the arguments of the Flag Operator 2022-07-06 18:12:36 +08:00
Peng-YM
acd0a62496 fix: Set default subscription source to remote when migrating data 2022-07-06 18:12:36 +08:00
Peng-YM
ffd219abfe refactor: Add new frontend as submodule 2022-07-06 18:12:36 +08:00
Peng-YM
a28c001a5a fix: Useless filter bug 2022-07-06 18:12:36 +08:00
Peng-YM
310d797abf fix: Perform migration after restoring data from gist 2022-07-06 18:12:36 +08:00
Peng-YM
41f84ddb85 chore: nodemon now ignore the changes of sub-store.json 2022-07-06 18:12:36 +08:00
Peng-YM
00c28c6cb8 refactor: Standardize error handling for RESTful APIs 2022-07-06 18:12:36 +08:00
Peng-YM
0e089ef8ce feat: Fetch avatar from GitHub automatically 2022-07-06 18:12:36 +08:00
Peng-YM
7468089f04 fix: QuickSettingOperator does not respect default settings 2022-07-06 18:12:36 +08:00
Peng-YM
b2a797cd25 fix: Useless filters are not migrated 2022-07-06 18:12:36 +08:00
Peng-YM
8e2cd5bb28 fix: Database updateByName not working 2022-07-06 18:12:36 +08:00
Peng-YM
9e33160e37 fix: Process ids are now preserved in migration 2022-07-06 18:12:36 +08:00
Peng-YM
ce51674d6b feat: Add sorting API
Added POST /api/sort/subs, /api/sort/collections, /api/sort/artifacts for sorting subs, collections, and artifacts.
2022-07-06 18:12:36 +08:00
Peng-YM
84b4dba425 refactor: Migrate to API v2
- Added auto schema migration
- Refactored /api/subs, /api/collections, /api/artifacts. Now these APIs will return array instead of object. This enables sorting items in the future.
2022-07-06 18:12:36 +08:00
Peng-YM
b1151859b3 chore: Migrate from npm to pnpm for better performance 2022-07-06 18:12:36 +08:00
Virgil Clyne
0f6a3a8f5f
fix (geo.js): adjust the China flag order (#138)
#build
2022-07-04 11:45:47 +08:00
Peng-YM
7834fd6056 fix: Failed to parse Surge/QX nodes with tls fingerprint 2022-07-02 22:53:09 +08:00
Peng-YM
606cfed8da feat (backend): Add preview API
- POST /api/preview/sub for previewing subs
- POST /api/preview/collection for previewing collection
2022-07-01 17:36:48 +08:00
Peng-YM
bb87a6c41e refactor: Download API
Now the download APIs are moved into a new file
2022-06-30 12:19:43 +08:00
Peng-YM
9653b09844 fix: Backend crashes when invalid url is used
Improve error handling for flow info API
2022-06-29 14:07:22 +08:00
Peng-YM
ffc7c07469 perf: Improve /utils/env API
- Add version number
- Add support for Stash & ShadowRocket backend
2022-06-29 11:25:57 +08:00
Peng-YM
7e1139528e feat (backend): Add backend API to get flow info for subscriptions 2022-06-29 00:12:31 +08:00
Peng-YM
79a8956f92 docs: Add version number into products 2022-06-28 13:10:52 +08:00
Peng-YM
03d4d6e918 fix(geo.js): ISO Code at Start/End of String (#137) 2022-06-28 12:52:52 +08:00
Peng-YM
305ae480bc fix (proxy-parser): ws-headers with multiple keys are not correctly handled when parsing Surge proxies
closes #120
2022-06-24 18:01:31 +08:00
Peng-YM
05b03b5337 Fix QX SSR issue 2022-06-21 09:24:37 +08:00
Peng-YM
bca4f06fcd feat: Reworked Loon producer 2022-06-20 22:58:27 +08:00
Peng-YM
409c4cbdd9 feat: Added support for parsing Loon vless, Surge socks5 and snell proxies 2022-06-20 22:10:29 +08:00
Peng-YM
d602dbeb7c feat: Added dedicated Stash producer 2022-06-20 21:51:13 +08:00
Peng-YM
99946a8795 Fix trojan URI issues 2022-06-20 19:32:57 +08:00
Peng-YM
e401a31b6c Various bug fixes for URI format parsing 2022-06-20 17:01:09 +08:00
Peng-YM
8fe645ac3f Set vmess alterId to 0 if not specified 2022-06-17 22:19:02 +08:00
Peng-YM
c12ff37f68 Reworked Surge producer 2022-06-17 22:12:01 +08:00
Peng-YM
4b73a1494b Reworked QX producer 2022-06-16 18:35:24 +08:00
Peng-YM
1e22243808 Minor bug fix for chacha20-ietf-poly1305 2022-06-16 16:23:54 +08:00
Peng-YM
ea00b2458c Refactored proxy producers structure 2022-06-16 14:37:51 +08:00
Peng-YM
8fe2280232 Use babel relative import path 2022-06-16 14:24:32 +08:00
Peng-YM
275097f58b Sub-Store 2.0 major release
- Used Peggy.js to replace the original parsers for Loon, QX and Surge.
- Added support for vmess + ws, vmess + http, snell, socks 5 parsing.
- Added various test cases for parsing.
2022-06-16 00:15:03 +08:00
Peng-YM
1678d2cb65 Replaced eval with Function for security 2022-06-03 20:36:06 +08:00
Peng-YM
e5c256803a Refactored Loon resource parser 2022-05-25 18:17:15 +08:00
Peng-YM
3b70cc0bd8 Added ESLint pipeline into Gulp 2022-05-24 22:19:03 +08:00
Peng-YM
6b22ee7c5d Add nodemon for hot-reloading 2022-05-24 21:35:23 +08:00
Peng-YM
e228416718 Bump to ES6 2022-05-24 21:20:26 +08:00