Commit Graph
322 Commits
Author SHA1 Message Date
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 dada1d4b09 Fix /getruleset not filtering PROCESS-NAME / IP-CIDR6 for Quantumult X 2020-04-11 20:31:26 +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 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 79b9211c7f Add warning log when failed to fetch a ruleset or the ruleset is empty 2020-04-05 16:53:09 +08: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 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
Tindy X 5b492a56a1 Fix include/exclude_remarks not working in external configs 2020-03-26 17:01:36 +08:00
Tindy X a3e337c569 Enhancements
Fix TLS settings missing when parsing Clash configurations.
Add support for adding route settings to Shadowsocks Android subscriptions.
Add serve_cache_on_fetch_fail option to determine whether to serve cached content when failed to download a file.
Optimize codes.
2020-03-24 16:56:41 +08:00
Tindy X e99e836ad5 Bugs fix
Fix not exporting load-balance group for Surge configurations.
Fix password missing when parsing Quantumult X configurations.
2020-03-23 15:42:51 +08:00
Tindy X cb218b6329 Enhancements
Fix compiler warnings.
Add group type fallback when only one node is found for an auto group in Quantumult(X) configuration.
Tweak default Emoji rules.
Optimize codes.
2020-03-22 23:33:14 +08:00
Tindy X 69847d1043 Enhancements
Fix support for single node configuration used by Shadowsocks(R)-libev and V2Ray-core.
Update Dockerfile.
2020-03-22 12:23:51 +08:00
Tindy X 3560b3af93 Bump version to v0.4.4 2020-03-21 22:24:07 +08:00
Tindy X f736a2e8b3 Fix compiler warnings
Optimize codes.
2020-03-21 17:47:53 +08:00
Tindy X 5d2bae1b32 Enhancements
Fix compatibility with some non-standard Surge configurations.
Refactor Clash Rule generation to speed up the process.
Optimize codes.
2020-03-21 15:25:21 +08:00
Tindy X f496333ce0 Add host name resolve when adding ShadowsocksR nodes to Surge configs 2020-03-20 21:10:26 +08:00
Tindy X 0bc341f7ea Enhancements
Add experimental async ruleset fetching.
Optimize codes.
2020-03-20 01:37:32 +08:00
Tindy X b9fb6b8d7d Enhancements
Fix missing initializer option for /simple2clashr interface.
Add support for Trojan nodes in Clash configurations.
2020-03-19 22:33:59 +08:00
Tindy X 90772cd607 Bug fix
Fix failed to load external configuration when enable_rule_generator or overwrite_original_rules is missing in YAML format configuration.
Optimize codes.
2020-03-19 12:05:35 +08:00
Tindy X ac86170dd5 Add missing headers 2020-03-19 01:01:07 +08:00
Tindy X fd906196ab Fix build error
Update build script.
2020-03-19 00:57:14 +08:00
Tindy X df9f030ca9 Enhancements
Add support for new field names for Clash.
Optimize logger.
Update build scripts.
2020-03-19 00:52:54 +08:00
Tindy X b5c15e8277 Fix password missing when parsing Surge Shadowsocks nodes 2020-03-17 19:26:18 +08:00
Tindy X 82ec76261b Enhancements
Fix potential crash when stopping the server.
Add support for HTTP nodes in Quantumult X configurations.
2020-03-17 18:38:32 +08:00
Tindy X 7e489788e3 Enhancements
Add support for Quantumult X style Trojan nodes.
Optimize codes.
2020-03-17 15:37:57 +08:00
Tindy X e26301cdf4 Improve compatibility with some subscription links with spaces 2020-03-16 00:33:24 +08:00
Tindy X 17ef7c6150 Enhancements
Add basic support for Trojan node subscriptions.
Fix a bug that some Shadowsocks nodes are missing from Loon configurations.
Optimize codes.
2020-03-12 23:20:55 +08:00
Tindy X cb94527920 Fix a bug that some exported Surfboard configuration may stop working 2020-03-12 18:45:59 +08:00
Tindy X 22582a9bd5 Bump version to v0.4.3 2020-03-12 15:59:38 +08:00