Commit Graph

64 Commits

Author SHA1 Message Date
xream
12c48cb613 feat: 同步配置前, 预处理订阅, 防止同时请求过多 2024-02-14 19:51:44 +08:00
xream
b3a2c52e7c fix: 缓存不合法时即刻重置 2024-02-07 01:14:52 +08:00
xream
52d10bf4e6 chore: YAML 解析兼容(保持类型) 2024-01-31 03:27:07 +08:00
xream
5b587e425c chore: YAML 解析兼容 2024-01-30 22:23:57 +08:00
xream
0274fa2300 feat: 远程订阅 URL 新增参数 validCheck 将检查订阅有效期和剩余流量 2024-01-30 14:14:57 +08:00
xream
7dbbbe9af2 feat: 优化流量解析规则 2024-01-20 23:00:37 +08:00
Dnomd343
7045cbe5c8 fix: scientific counting matching error 2024-01-20 13:16:11 +08:00
xream
319525d4a7 feat: 优化调整 Gist 同步逻辑; 增加 GitLab Snippet 同步 2024-01-20 05:33:31 +08:00
xream
76bc7c9bb1 feat: 取消 github 用户名绑定关系(现在用户名错误只影响头像), 增加最近一次 gist 检查状态 2024-01-16 09:44:02 +08:00
xream
49e975ba5e feat: 订阅链接可使用标准参数格式 #noCache&noFlow 或 井号附加 #noCache#noFlow 2024-01-16 08:11:34 +08:00
xream
b879d16442 feat: 以 #noFlow 结尾的远程链接不查询订阅流量信息 2024-01-16 07:07:55 +08:00
xream
f9eae3ec10 feat: VLESS URI 输入兼容 Shadowrocket 导出格式 2024-01-16 01:00:22 +08:00
xream
a2272de03f fix: 修复响应头缓存 2024-01-14 23:44:15 +08:00
xream
038efd6da6 feat: 优化订阅流量获取, 启用共享缓存(默认一分钟) 并优先尝试 HEAD 方法 2024-01-14 23:37:55 +08:00
xream
f586ba09fd revert: 回滚文件模板功能 2024-01-14 12:33:36 +08:00
xream
474d5fea57 feat: 脚本内部 produceArtifact 支持指定 produceType: 'internal', produceOpts: { 'include-unsupported-proxy': true } 来获得内部的数据结构; 订阅链接参数支持 type=internal&includeUnsupportedProxy=true; 文件支持 nunjucks 模板, 为 sing-box 增加的 Filter 用法 sub/col 为订阅/组合订阅中的节点名 {{ '订阅的name' | sub('美国|🇺🇸|us', 'i') }}, subNode/colNode 为订阅/组合订阅中的节点 {{ '订阅的name' | subNode('美国|🇺🇸|us', 'i') }}, 底层 produceArtifact('subscription', 'sing-box', 'internal', '美国|🇺🇸|us', 'i') 2024-01-14 12:13:29 +08:00
xream
61df4d2144 feat: 支持输出到 sing-box; 文件脚本支持 ` ; 脚本支持 ProxyUtils.yaml` 2024-01-13 10:28:07 +08:00
xream
d83fec84b7 feat: 支持全局请求超时(前端 > 2.14.29) 2024-01-08 07:22:03 +08:00
xream
00d0bd54fb feat: 支持 Surfboard(前端 > 2.14.27) 2023-12-27 00:28:15 +08:00
xream
3717630c49 feat: 当节点端口号为合法端口号时, 将类型转为整数(便于脚本判断) 2023-12-23 21:02:39 +08:00
xream
92d78b605a fix: 修复多行订阅流量(仅传递首个订阅的流量信息) 2023-12-01 17:09:56 +08:00
xream
663bcc6d9e feat: 支持设置默认 User-Agent 2023-11-25 04:31:17 +08:00
xream
956fa20af5 feat: 为脚本操作增加流量信息操作 flowUtils 2023-11-07 16:42:28 +08:00
xream
63c6b627cc feat: 订阅链接支持参数(例: https://foo.com#noCache 关闭缓存) 2023-10-26 11:26:31 +08:00
xream
cc8ba7782e feat: proxy 增加 subName(订阅名), collectionName(组合订阅名); 脚本增加第三个参数 env(包含订阅/组合订阅/环境/版本等信息) 2023-10-08 13:21:22 +08:00
xream
fda828ceae feat: 模块接口; 脚本参数支持 JSON 和 URL编码 2023-09-14 17:34:24 +08:00
xream
9efc2087a1 feat: 实验性支持本地脚本复用 2023-09-14 08:56:33 +08:00
xream
f9b1f82e31 feat: 根据 UA 识别 macOS 版 Surge(也可指定参数 target=SurgeMac) 并支持 SSR 协议(节点字段 exec 为 ssr-local 路径, 默认 /usr/local/bin/ssr-local; 端口从 10000 开始递增, 暂不支持配置) 2023-08-29 01:46:49 +08:00
xream
de2d78e371 feat: bundle 2023-08-28 19:01:34 +08:00
xream
b8b47c74dc feat: new target platform "Clash.Meta" 2023-08-28 13:10:48 +08:00
walkxspace
a09d91e8cd Update geo.js (#231) 2023-08-19 11:44:55 +08:00
Hsiaoyi
a2b57f7885 Fixed: empty uploading files 2023-07-31 17:42:31 +08:00
K
1843d3d083 [-] log 2023-07-22 15:24:19 +08:00
K
078e813a29 script-Cache 2023-07-22 13:53:47 +08:00
Hsiaoyi
bef9652732 fix: tasks cache in Node.js environment (#209) 2023-05-09 17:16:35 +08:00
NobyDa
315cf22c54 Improve resource cache key. (#190) 2023-02-08 12:30:26 +08:00
Peng-YM
694cf93f85 fix: Occasional crashed when performing migration 2022-08-10 00:28:46 +08:00
Peng-YM
6ca5a525a0 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
5698208a47 perf: Use cache for all remote resources 2022-07-11 20:46:16 +08:00
Peng-YM
51e3593ac2 feat: Add support for targetPlatform ShadowRocket 2022-07-11 18:23:56 +08:00
Peng-YM
ee13ebba0b refactor: Refactor the arguments of the Flag Operator 2022-07-06 18:12:36 +08:00
Peng-YM
449bfe6fca fix: Set default subscription source to remote when migrating data 2022-07-06 18:12:36 +08:00
Peng-YM
993658ff0b refactor: Standardize error handling for RESTful APIs 2022-07-06 18:12:36 +08:00
Peng-YM
8e5a85a402 fix: Useless filters are not migrated 2022-07-06 18:12:36 +08:00
Peng-YM
6d5e8cd674 fix: Database updateByName not working 2022-07-06 18:12:36 +08:00
Peng-YM
e4ad4df1e0 fix: Process ids are now preserved in migration 2022-07-06 18:12:36 +08:00
Peng-YM
83d7d789a9 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
Virgil Clyne
55982972b2 fix (geo.js): adjust the China flag order (#138)
#build
2022-07-04 11:45:47 +08:00
Peng-YM
818e94f41d refactor: Download API
Now the download APIs are moved into a new file
2022-06-30 12:19:43 +08:00
Peng-YM
0e52e3c67c fix(geo.js): ISO Code at Start/End of String (#137) 2022-06-28 12:52:52 +08:00