Commit Graph
100 Commits
Author SHA1 Message Date
Tindy X 09e13adaeb Update build scripts
Make compiler happy.
2020-05-29 19:36:18 +08:00
Tindy X f30b3c7cbf Breaking changes
Fix data URIs not correctly parsed.
Fix downloading files may be caught in infinite redirect loops.
Add experimental JavaScript support for providing subscriptions, filtering nodes, sorting nodes and generating groups.
Add tag support for adding group name to a specific link.
Add complete matcher support for Emoji and rename match rule.
Optimize codes.
Update build scripts.
2020-05-29 19:15:05 +08:00
Tindy X 8385792fec Bugs fix
Fix not correctly handle nodes with only Emojis as remarks.
Fix not correctly handle nodes with port 0.
Fix not correctly handle rename patterns that may make remarks empty.
2020-05-24 09:53:44 +08:00
Tindy X 42b00c5ce7 Enhancements
Fix support for parsing Surge HTTP / SOCKS5 nodes.
Optimize codes.
2020-05-23 03:00:12 +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 6219ad03bb Fix GROUP/GROUPID/INSERT matcher not correctly handle empty rules 2020-05-17 20:46:55 +08:00
Tindy X d00e901d23 Fix compile error 2020-05-15 23:26:26 +08:00
Tindy X 54747a3268 Enhancements
Fix broken SSID group exported to Quantumult X configurations. (#167)
Fix compatibility with some V2Ray-Core configurations.
Add support for using CORS proxy in downloading.
Optimize codes.
2020-05-15 22:47:31 +08:00
Tindy X 2628c1beb3 Raise download file size limit to 1MB 2020-05-13 18:39:05 +08:00
Tindy X 67c6b6b43d Fix Emoji settings not working in external configs in YAML format 2020-05-13 18:10:40 +08:00
Tindy X 0bf53578f7 Bump version to v0.5.2 2020-05-12 23:37:47 +08:00
Tindy X d84cb164ae Optimize codes 2020-05-09 11:51:41 +08:00
Tindy X c77f064e88 Update local rulesets and configs 2020-05-08 17:10:33 +08:00
Tindy X 5211ca1a5d Add support for exporting SSID group to Quantumult configurations 2020-05-06 19:19:52 +08:00
Tindy X 40d3b36f92 Enhancements
Add support for specifying node rename pattern in URL argument.
Optimize codes.
2020-05-05 22:40:32 +08:00
Tindy X af7d7fae05 Enhancements
Add support for Quantumult X IP6-CIDR rules.
Add SNI host settings to Surge VMess nodes.
2020-05-04 23:59:43 +08:00
Tindy X 23d64632de Add default switch for enabling insert_url 2020-05-02 22:56:38 +08:00
Tindy X 5b692c800b Rework logic for insert_url
Add "prepend" option to control where to add insert_url.
2020-05-02 10:37:13 +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 2c793a0f95 Fix parse error with some Surge/Quantumult X subscriptions 2020-05-01 14:04:06 +08:00
Tindy X 94baa44870 Fix compile error 2020-05-01 10:54:17 +08:00
Tindy X c99230e551 Enhancements
Fix support for parsing some subscriptions with complex passwords.
Add replacing all match when using rename_node.
Remove support for std::regex for now.
Optimize codes.
2020-05-01 10:50:08 +08:00
Tindy X a2746fc804 Add support for combining multiple profile 2020-04-30 18:54:53 +08: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
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 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 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
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
Tindy X 5b492a56a1 Fix include/exclude_remarks not working in external configs 2020-03-26 17:01:36 +08:00
Tindy X 937c924314 Update local rulesets 2020-03-25 23:51:26 +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 9779b57b04 Update local rulesets and configs 2020-03-21 22:16:32 +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 9e305bc900 Update local rulesets and configs 2020-03-16 23:38:01 +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
Tindy X 55ad853a2c Update local rulesets and configs 2020-03-12 15:55:02 +08:00
Tindy X 5594070657 Enhancements
Fix not processing quotes in ws-headers in Surge VMess configurations.
Fix when default_url is set and insert_url is not set in YAML configuration and access /sub without url argument, the nodes in default_url will be added twice.
Add /version interface to compatible with some front-end.
2020-03-11 23:54:08 +08:00
Tindy X 550670006d Fix a bug which may cause crash at startup on some platforms 2020-03-10 22:40:15 +08:00
Tindy X b5e3763978 Fix INIReader not checking direct save/ignore section for isolated items 2020-03-09 23:02:16 +08:00
Tindy X 000dffce23 Enhancements
Fix potential crash when parsing some stream nodes.
Add support for some other types of stream/expiry time nodes.
Update build scripts.
2020-03-09 16:20:10 +08:00
Tindy X 98599f3b61 Enhancement
Add support for keeping the original order of proxies when parsing Surge/Quantumult X subscriptions.
2020-03-09 13:06:18 +08:00
Tindy X 7bbd9af989 Enhancements
Fix compatibility problem with some non-standard subscriptions.
Add support for specifying token for each profile.
2020-03-09 12:28:24 +08:00
Tindy X 4eda0edb26 Clean up basic function names 2020-03-07 23:52:25 +08:00