Commit Graph

336 Commits

Author SHA1 Message Date
at404bot
9442ed61c3 Update README-cn.md (#156)
* 📝 部分文档更新

* 🐛 修改描述

* 📝 新增部分内容
2020-04-30 01:26:18 -05:00
Tindy X
7637e021f8 Add keeping UDP/TFO/Skip Cert Verify settings in subscriptions 2020-04-30 00:08:15 +08:00
Tindy X
592ce87788 Bug fixes
Fix program crash when processing broken template variables passed.
Fix trying to load other arguments when no supported target is provided.
Optimize codes.
2020-04-29 00:38:19 +08:00
Tindy X
a22c77c877 Enhancements
Fix not correctly loading configuration file when api_mode is false.
Add support for exporting Surge DOMAIN-SET.
Add INSERT group match flag to match insert_url only.
Optimize codes.
2020-04-28 14:46:28 +08:00
Tindy X
cb6f6ec6e9 Add back condition for adding tls-verification flag for Quantumult X 2020-04-25 09:41:50 +08:00
Tindy X
08c5b571c8 Add experimental Clash script generator 2020-04-24 23:56:57 +08:00
Tindy X
40bb4276d7 Enhancements
Add 1MB file download size limit to prevent feeding a large file to the processor.
Add file scope limit to rule_base options in external config to prevent loading sensitive files as rule base.
Add support for generating Clash DOMAIN/IP-CIDR rule-providers.
Optimize codes.
2020-04-23 22:12:56 +08:00
HoldOnBro
e7e6d9879d Narrow down the tls-verification option condition in Quantumult X (#145) 2020-04-23 22:11:47 +08:00
Tony.Shao
e5f7352940 Add skip_cert_verify support in Quantumult X (#144) 2020-04-23 00:28:38 +08:00
Tindy X
8662aa36cc Enhancements
Fix compiler warnings.
Add detailed description for some settings in pref configuration.
Add passing arguments of alias name to alias target.
Optimize codes.
2020-04-23 00:27:38 +08:00
Tindy X
11c3e2a7c8 Optimize codes 2020-04-21 23:17:55 +08:00
Tindy X
52c8eff182 Enhancements
Add URL aliasing support to shorten request URL.
Add support for parsing and exporting Snell server in configurations.
Add numbering system to process duplicated node names.
Optimize codes.
2020-04-21 22:29:16 +08:00
Tindy X
4b5e0e1346 Enhancements
Fix /render not correctly render UTF-8 content.
Add append to template function.
Optimize codes.
2020-04-19 13:12:09 +08:00
Tindy X
48c12054af Fix changed ruleset in default configuration 2020-04-14 21:20:37 +08:00
Tindy X
3e3f22d8f9 Bump version to v0.5.1 v0.5.1 2020-04-14 19:23:37 +08:00
Tindy X
4d544b4843 Fix incorrect argument count for find in template
Add managed_config_prefix to global variables in template.
2020-04-14 18:42:58 +08:00
Tindy X
ef8b4e39ef Enhancements
Add SNI host parsing support for Trojan subscriptions.
Add detailed log report.
Optimize codes.
Update build scripts.
2020-04-14 11:32:21 +08:00
Tindy X
4cee6b5a5e Add split as a template function 2020-04-13 23:59:37 +08:00
Tindy X
3b81dce730 Enhancement
Add /render interface to directly render a template as output content.
Add find as a template function.
Add filtering out token as a template variable.
2020-04-13 20:47:17 +08:00
Tindy X
983686a19e Update local rulesets and configs 2020-04-12 20:29:45 +08:00
Tindy X
dada1d4b09 Fix /getruleset not filtering PROCESS-NAME / IP-CIDR6 for Quantumult X 2020-04-11 20:31:26 +08:00
Tindy X
87ea770824 Update inja library to latest version 2020-04-11 14:48:03 +08:00
Tindy X
b52e47ba9c Bugs fix
Fix logical error causing local rulesets are missing in configurations.
Fix not filtering IP-CIDR6 / PROCESS-NAME rules in Quantumult X rules.
2020-04-11 09:57:08 +08:00
Tindy X
5f0c2d1b47 Enhancements
Fix exporting broken configuration file in some occasions.
Fix directly treating not-exist ruleset file as URL.
Fix group fallback not working on Quantumult X configurations.
Fix typo in example profile.
Add specifying default external configuration file to use when none is provided.
Optimize codes.
2020-04-10 18:18:57 +08:00
Tindy X
025d0eb4e1 Enhancements
Fix support for parsing some Surge configurations.
Fix adding extra blank line to section end when exporting some configurations.
Fix adding real internal link as MANAGED-CONFIG URL when using profile.
Fix not filtering load-balance group in Surfboard configurations. (Issue [#128](https://github.com/tindy2013/subconverter/issues/128)).
Fix rule type filter not working properly.
Add support for using template in external configurations.
Add relay group support for Clash configurations.
Optimize codes.
2020-04-09 21:07:50 +08:00
Tindy X
3d2c8c8038 Enhancements
Fix error when parsing some Surge configurations.
Fix not filtering USER-AGENT and URL-REGEX rules for Surfboard configurations. (Issue [#127](https://github.com/tindy2013/subconverter/issues/127)).
Add support for specifying tolerance and timeout for some proxy groups. (Issue [#121](https://github.com/tindy2013/subconverter/issues/121)).
Add keeping comments and blank lines for more sections in Quantumult X configurations.
Add rule type match to filter rules.
Optimize codes.
2020-04-08 23:51:46 +08:00
Tindy X
41393870ce Enhancements
Fix trying to fetch a ruleset when adding it as a RULE-SET rule to configuration files.
Add URL Decode to username and password field in Telegram-link-style HTTP/Socks 5 links.
Add more function callbacks to template renderer.
Add basic Jinja2Cpp template library support.
INIReader: Add keeping comments and blank lines in direct-save sections.
2020-04-08 17:03:27 +08:00
Tindy X
31684a3796 Fix error in processing URL arguments 2020-04-06 15:57:46 +08:00
Tindy X
13187e2e08 Bugs fix
Fix inconsistent argument name in HTTP and Socks 5 single link.
Fix support for some non-standard ShadowsocksD subscription.
Fix include/exclude option in URL argument not overriding former settings.
Fix template system interpreting some comments in YAML files as line statement.
inja: re-implement variable accessing to catch exceptions on using not-exist variable and return an empty value.
Optimize codes.
2020-04-06 14:07:16 +08:00
Tindy X
ccb525a579 Bump version to v0.5.0 v0.5.0 2020-04-05 18:02:15 +08:00
Tindy X
7ad3028404 Fix not processing duplicated node names in Quantumult configurations
Optimize codes.
2020-04-05 17:42:17 +08:00
Tindy X
e6a00e4280 Update local rulesets and configs 2020-04-05 17:12:58 +08:00
Tindy X
79b9211c7f Add warning log when failed to fetch a ruleset or the ruleset is empty 2020-04-05 16:53:09 +08:00
at404bot
8065ceec39 📝 Update README-cn.md (#120)
* 📝 添加近期更新的使用说明

* 📝 注入了一些灵魂

* 🐛 修正布局错误

* 🐛 修正引用错误

* 💥 初步引入 模板介绍

* 📝 又注入了一点灵魂

* 🐛 抓住了一只虫子

* 📝 我柜子动了我不修了

* 📝 第九个 Commit 收工领便当啦
2020-04-04 10:52:32 -05:00
Tindy X
d8c4a13fdb Add appending all /getProfile arguments to internal call
Optimize codes.
2020-04-04 23:03:14 +08:00
Tindy X
f63420be12 Enhancements
inja: re-implement exists() to work with JSON pointer for quick usage.
inja: move include scope limit config to ParserConfig.
Optimize codes.
2020-04-04 00:33:44 +08:00
Tindy X
bcc4422e87 Fix SNI host missing in Surge configurations 2020-04-03 23:10:53 +08:00
Tindy X
a034e872cf Update build scripts 2020-04-02 23:26:53 +08:00
Tindy X
eeae32f8eb Breaking changes
Fix broken /sub2clashr and /surge2clash interface.
Add template support for base configurations.
Add support for exporting HTTP/Socks 5 nodes to Quantumult configurations.
Add support for VMess HTTP nodes in Clash configurations.
Optimize codes.
2020-04-02 23:18:26 +08:00
Tindy X
58349a086d Fix not processing duplicated node remarks in Surge Node List 2020-04-01 20:24:18 +08:00
Tindy X
571ff14b13 Fix potential crash when parsing V2Ray configs 2020-04-01 12:39:20 +08:00
Tindy X
4fbc9d3ff2 Fix support for using \x in regular expressions to match character 2020-04-01 11:26:37 +08:00
Tindy X
d06ecdb010 Add support for Shadowrocket style HTTP nodes subscription 2020-04-01 10:47:21 +08:00
Tindy X
5e2fb2c58b Enhancements
Add SNI host support in Clash configurations.
Add group name/remark support for Telegram-liked HTTP/Socks 5 links.
Optimize codes.
2020-03-31 15:00:56 +08:00
Tindy X
775d83af58 Optimize codes 2020-03-29 23:39:22 +08:00
Tindy X
7f2df3b2af Add SNI host support in Surge configurations 2020-03-28 23:38:50 +08:00
Tindy X
6562a5642e Add support for another type of Quantumult X subscriptions 2020-03-28 22:43:53 +08:00
Tindy X
4a324ed225 Fix Surge node list unable to be uploaded to Gist 2020-03-28 21:24:35 +08:00
wzw1997007
40f9469417 Tweak Emoji matching rules (#112) 2020-03-27 03:46:51 -05:00
Tindy X
5b492a56a1 Fix include/exclude_remarks not working in external configs 2020-03-26 17:01:36 +08:00