385 Commits

Author SHA1 Message Date
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
Peng-YM
fdbcce8932
doc: Change LICENSE to AGPLv3 2022-07-06 18:11:49 +08:00
github-actions@github.com
297fb1b32a Build sub-store.min.js 2022-07-04 03:47:46 +00: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
github-actions@github.com
f1c8d85ddc fix(geo.js): separate ISO Code from Country Name (#133)
#build
Build sub-store.min.js
2022-06-28 12:44:24 +08:00
Jacob Lee
9202437f05
feat: add preview specific platform feature (#131) 2022-06-25 13:17:12 +08:00
Jacob Lee
013b2173fd
Fix: fix the issue that speed dial auto-adaptation theme does not work and is overwritten (#130) 2022-06-24 22:15:06 +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
Jacob Lee
730986fed4
feat (UI/sub-editor): Add speed dial for quick saving and adding operations (#129) 2022-06-24 17:22:59 +08:00
QuentinHsu
a1df2de7e2
perf (UI): Use display name in collections
closes #127
2022-06-24 14:41:37 +08:00
Peng-YM
64a453c44a fix (proxy-producer): ws-headers keys are lost when producing Surge nodes
closes #119
2022-06-23 17:59:34 +08:00
Peng-YM
4095606bdf perf: Allow using full configuration as subscription source
Supported configuration formats: Loon, QX, and Surge

closes #121
2022-06-23 15:31:54 +08:00
Hsiaoyi Hsu
f93398b701
feat: Added support for display name 2022-06-22 23:08:15 +08:00
github-actions@github.com
ed86a568ec Build sub-store.min.js 2022-06-22 14:31:15 +00:00
Virgil Clyne
237ecd497e
feat: Update getFlag() #build
Update geo.js
2022-06-22 22:29:56 +08:00
Peng-YM
6610f835ba chore: Add dev branch to GitHub action 2022-06-22 22:25:15 +08:00
Peng-YM
ae518a9874 docs: replaced the SIP002 link in commet 2022-06-22 19:25:19 +08:00
Peng-YM
7bd63545cc Update README.md 2022-06-21 22:56:38 +08:00
github-actions@github.com
533b477314 Build sub-store.min.js 2022-06-21 09:04:24 +00:00
Peng-YM
50a3eb5592 fix: unable to delete subscription with trailing spaces #build 2022-06-21 17:02:57 +08:00
Peng-YM
89164c3e7a feat: Added mocha test to GitHub action 2022-06-21 17:01:31 +08:00
Peng-YM
8e0a942a6b fix: vmess aead 2022-06-21 17:00:50 +08:00
Peng-YM
49ed9f1ff3 feat: Added cron script for syncing all artifacts to gist 2022-06-21 16:01:02 +08:00
Peng-YM
94262e162a Added github workflow for building dist files 2022-06-21 15:48:55 +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
bea2c64e40 Fixed min.js not found issue 2022-06-20 20:38:54 +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
QuentinHsu
4dde556daf
feat: add version info in console.log (#117) 2022-06-20 14:14:03 +08:00
Peng-YM
69ccc6bd08 Fixed QX trojan wss issue 2022-06-20 11:11:53 +08:00
Peng-YM
4945826f2d Now an error will be thrown if a required field of a proxy is missing 2022-06-20 01:33:24 +08:00