Commit Graph
20 Commits
Author SHA1 Message Date
Tindy X d042f00a8e Enhancements
Fix not adding local rulesets as Clash rule-providers.
Add "nullnode" as node placeholder to export configurations without adding any real node.
Add support for using !!import in source subscription URLs.
Add support for allowInsecure and tfo argument in Trojan links.
Optimize codes.
2020-06-25 00:53:38 +08:00
Tindy X 34b19507db Enhancements
Fix ruleset types other than Surge Ruleset not correctly expanded to rules.
Fix trying to limit upload file size.
Fix when no GEOIP rule is added, the Clash Script will not be able to generate.
Add "mixed" target to generate subscriptions with all types of standard subscriptions.
Add passing X-User-Agent and X-Client-IP header to subscription downloader.
Optimize codes.
2020-06-22 21:40:18 +08:00
Tindy X 605e273d69 Enhancements
Change section and key names in configuration files.
Add support for using Quantumult X rulesets/Clash rule-providers as rule sources.
Optimize codes.
2020-06-19 23:57:10 +08:00
Tindy X 0a7e1cac97 Enhancements
Add support for adding proxy provider to custom group in Clash configurations.
Add and, or, bool as template function.
Add support for any amount of argument for template function join.
inja: Add variadic function callback support.
2020-06-12 18:06:01 +08:00
Tindy X 11ed400fc7 Optimize codes
Fix keeping UDP/TFO/Skip Cert Verify flags from original subscriptions not working.
Fix compiler warning.
2020-06-08 20:41:02 +08:00
Tindy X 64b5d3bdaa Enhancements
Fix exporting useless info in Clash HTTP/SOCKS 5 nodes.
Add support for exporting Clash classical rule-provider.
Optimize codes.
Update build script.
2020-06-08 19:56:06 +08:00
Tindy X 226c9a4db7 Enhancements
Add support for suffix tag in Clash rule provider.
Add request._args variable to templates to read all arguments passed from URL.
Add startsWith/endsWith as template functions.
Add reporting HTTP status code when failed to upload to Gist.
2020-05-31 13:55:48 +08:00
Tindy X a1b7d635ba Add max rules limit to 32768
Add getLink to template function.
Change max ruleset limit in external configs to 64.
2020-05-18 01:30:54 +08:00
Tindy X f6f2ced3c7 Enhancements
Fix incorrect flag for expanding rulesets to rules.
Add support for generating Clash rule-providers in Rule mode.
Rework Clash script generator.
Change global UDP/TFO/Skip Cert Verify settings in pref configuration to comments.
Optimize codes.
2020-05-01 23:59:01 +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 08c5b571c8 Add experimental Clash script generator 2020-04-24 23:56:57 +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 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 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 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 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 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 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 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