166 Commits

Author SHA1 Message Date
xream
12491ac7c0
feat: Node.js 前端代理后端路由 需设置环境变量 注意安全 SUB_STORE_FRONTEND_PATH=/prefix 2023-12-13 00:26:03 +08:00
xream
78e3024cec
feat: Node.js 前端代理后端路由 2023-12-12 22:52:50 +08:00
xream
a1776644a0
feat: Node 版后端支持挂载前端文件夹, 环境变量 SUB_STORE_FRONTEND_PATH, SUB_STORE_FRONTEND_HOST, SUB_STORE_FRONTEND_PORT 2023-12-10 13:13:39 +08:00
xream
d636e1b94c
fix: 处理预览时子订阅出错的情况 2023-12-08 18:16:50 +08:00
xream
000e90d114
feat: 手动下载备份文件和使用备份上传恢复(前端版本 > 2.14.15) 2023-12-04 16:07:10 +08:00
xream
c541b83037
feat: 支持按顺序合并本地和远程订阅(前端版本 > 2.14.14 可输入) 2023-11-29 03:57:20 +08:00
xream
3054d5cd5d
feat: 远程订阅支持换行符连接的多个订阅链接(前端版本 > 2.14.13 可输入) 2023-11-29 02:24:03 +08:00
xream
5f1415d9d4
feat: 后端支持自定义 hostport. 环境变量 SUB_STORE_BACKEND_API_HOST 默认 ::, SUB_STORE_BACKEND_API_PORT 默认 3000 2023-11-24 18:31:13 +08:00
xream
ff8573cae7
fix: 修复 app 版参数 2023-11-16 12:49:06 +08:00
xream
53925518b4
feat: Sub-Store 生成的订阅地址支持传入 订阅链接/User-Agent/节点内容 可以复用此订阅的其他设置
例如: 建一个 name 为 sub 的订阅, 配置好节点操作

以后可以自由传入参数 无需在 Sub-Store 前端创建新的配置

`/download/sub?target=Surge&content=encodeURIComponent编码过的本地节点`

`/download/sub?target=Surge&url=encodeURIComponent编码过的订阅链接&ua=encodeURIComponent编码过的User-Agent`
2023-11-14 21:46:56 +08:00
xream
6d51774d36
feat: 为脚本操作增加流量信息操作 flowUtils 2023-11-07 16:42:28 +08:00
xream
a4ff32331a
fix: 简单限制一下订阅/组合订阅的名称(不可包含 "/" ) 2023-10-29 22:38:20 +08:00
xream
d3c6c99b0a
feat: proxy 增加 subName(订阅名), collectionName(组合订阅名); 脚本增加第三个参数 env(包含订阅/组合订阅/环境/版本等信息) 2023-10-08 13:21:22 +08:00
xream
3fbc280e28
[+] 重复节点通知中增加订阅名称和重复节点名称 2023-10-02 16:21:08 +08:00
xream
1d31a80b9f
fix: 修复文件和模块命名/重复添加的逻辑 2023-09-15 10:08:36 +08:00
xream
b2d0276836
feat: 文件和模块接口获取原始内容; 文件列表不返回原始内容 2023-09-14 18:51:23 +08:00
xream
3211fbf357
feat: 模块接口; 脚本参数支持 JSON 和 URL编码 2023-09-14 17:34:24 +08:00
xream
33a17c2d66
feat: 实验性支持本地脚本复用 2023-09-14 08:56:33 +08:00
xream
59bca5670d
fix: 预览时脚本下载报错导致的崩溃 2023-09-07 23:17:36 +08:00
xream
ea31b1d0ec
fix: 排序接口修正为使用 name 排序 2023-09-04 21:31:55 +08:00
xream
77191f9caa
feat: 为 Gist 备份还原增加基础校验逻辑 2023-09-04 17:06:37 +08:00
xream
336ddd6706
chore: 调整部分日志 2023-08-29 13:52:02 +08:00
xream
0141e48200
feat: 增加还原备份完成的日志输出 2023-08-28 23:29:53 +08:00
xream
bd510a9aa9
fix: sync 2023-08-28 18:48:33 +08:00
xream
5e14d05c30
feat: 组合订阅错误信息将包含出现错误的子订阅名称; 获取流量失败时, 不影响节点订阅; 订阅上游无有效节点时将报错 2023-08-26 20:27:12 +08:00
xream
0320a77451
feat: producers adjustments, VMess URI formats 2023-08-24 21:43:58 +08:00
xream
4dd86cb368
feat: Added replaceArtifact API 2023-08-18 13:48:37 +08:00
xream
048344268c
feat: Added replaceSubscriptions, replaceCollection API 2023-08-15 15:48:57 +08:00
K
f7c08e3a56 fixed deleted gist 2023-07-31 16:38:07 +08:00
QuentinHsu
5de35c7720
🐞 fix(subscriptions): negative usage flow (#175) 2022-10-25 00:07:23 +08:00
Jasonzza
06d0c14abc
fix: sync artifacts issue (#164) 2022-09-11 23:52:51 +08:00
Peng-YM
6ee6a9b5e2 build: Split sub-store.min.js for better performance on iOS devices 2022-09-09 23:11:13 +08:00
Peng-YM
6ea3575101 fix: Rename subscription and collection will break artifacts 2022-08-09 22:28:45 +08:00
Peng-YM
4cd525824e fix (restful): Add query field in IP-API 2022-07-12 23:15:29 +08:00
Peng-YM
813f2b839d perf: Add switch for cron-sync-artifacts 2022-07-12 18:56:24 +08:00
Peng-YM
3d58534dfe fix (restful): Intercept IP-API query failed message when querying node info 2022-07-12 18:34:31 +08:00
Peng-YM
f7d4b66db6 feat (restful): Add /api/utils/node-info for querying proxy node info 2022-07-12 15:09:44 +08:00
Peng-YM
2c4e47166d feat (restful): Add /api/utils/refresh
The API call does the following:
- Fetch GitHub avatar and update artifact store url
- Revoke all cached resources
2022-07-11 23:06:49 +08:00
Peng-YM
848491c0f8 feat: Add support for targetPlatform ShadowRocket 2022-07-11 18:23:56 +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
310d797abf fix: Perform migration after restoring data from gist 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
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