Commit Graph
53 Commits
Author SHA1 Message Date
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 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 bcc4422e87 Fix SNI host missing in Surge configurations 2020-04-03 23:10:53 +08:00
Tindy X 571ff14b13 Fix potential crash when parsing V2Ray configs 2020-04-01 12:39:20 +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 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 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 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 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 0bc341f7ea Enhancements
Add experimental async ruleset fetching.
Optimize codes.
2020-03-20 01:37:32 +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 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 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 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 849483fd43 Optimizations
Fix stream/time node matcher not working with YAML configuration.
Add PCRE2 JIT optimization for filtering nodes.
Add space after adding proxy type to node remarks.
Add displaying Subscription User Info when generating artifacts in generator mode.
Add support for another type of time node.
Optimize codes.
2020-03-02 17:37:26 +08:00
Tindy X 6ff431ef10 Enhancements
Fix compatibility with some broken Shadowrocket links.
Add direct option to generator to download subscriptions or use local files directly.
Add return code to report generator error.
Add output code page restore.
2020-02-28 11:39:01 +08:00
Tindy X ac0dedecf0 Enhancements
Fix a bug that Clash may interpret pure number password as float64 type (Issue [#58](https://github.com/tindy2013/subconverter/issues/58)).
Fix support for parsing some non-standard Clash configurations.
Add generator-only mode to save configurations to files or upload to Gists.
Optimize codes.
Fix typo.
2020-02-23 15:49:16 +08:00
Tindy X e3726192dd Enhancements
Fix potential crash related to the new file reader.
Fix loading local subscriptions requires token when API mode is disabled.
Add support for parsing Clash Proxy Provider.
Update READMEs.
2020-02-22 02:49:41 +08:00
Tindy X b4e18e831b Enhancements
Add support for exporting Loon configurations.
Add remark option support for HTTP single link.
Optimize codes.
2020-02-21 17:01:58 +08:00
Tindy X ccd623e07e Add HTTP single link support with Telegram-link-liked format
Optimize codes.
2020-02-19 15:17:07 +08:00
Tindy X e2aacf853c Enhancements
Add Edge header support for Surge/Quantumult/Clash.
Fix configuration file not found when start up via right-click menu on some platform.
Optimize codes.
Clean up unused files.
2020-02-17 15:00:48 +08:00
Mingye Wang b950260e68 Add support for data: URIs (#62)
Add support for data: URIs.
Code conversion renaming (GBK->ACP).
2020-02-15 15:14:43 +08:00
Tindy X 78b4fec7d9 Bug fixes
Fix a potential random crash on non-Windows platforms.
Fix compatibility with some non-standard Shadowsocks and Shadowcsocks Android subscriptions.
Optimize codes.
2020-02-15 11:29:40 +08:00
Tindy X 9c992ff2c3 Bug fixes
Fix logical error for customizing rulesets and groups.
Fix parsing error for some VMess subscriptions.
Optimize codes.
2020-02-05 22:27:41 +08:00
Tindy X c05b7913af Fix codes for compiling with mbedTLS
Clean up codes. (+6 squashed commit)

Squashed commit:

[4126d9e] Update build scripts

[2ee5027] Update CMake module

[71da951] Update build scripts

[dea8d3f] Update CMake script

[92113ba] Clean up codes and update build script
2020-02-03 18:10:52 +08:00
Tindy X 00976c9eeb Enhancements
Fix when subscription download timeout before complete, the parser will still try to parse downloaded content.
Change default regex library to PCRE2.
Change Quantumult X "url-test" equivalent to "available".
Optimize codes.
Update build scripts.
2020-02-02 23:18:20 +08:00
Tindy X cc35c6f8a6 Add support for extracting UserInfo from SSD subscriptions 2020-02-01 01:16:05 +08:00
Tindy X 52b5a2636c Add missing header 2020-01-30 17:18:17 +08:00
Tindy X 4492fcd806 Enhancements
Add Subscription-UserInfo header to exporter, supports extracting from original headers and from info nodes.
Optimize codes.
2020-01-30 17:14:00 +08:00
Tindy X 7d03374016 Bug fixes
Fix incorrect format for exporting Quantumult VMess subscriptions.
Fix parser not recognize over-tls obfs in Quantumult X VMess subscriptions.
Fix potential compatibility issue for non-standard VMess subscriptions.
Add basic support for acquiring headers during subscription download.
2020-01-21 00:37:45 +08:00
Tindy X 0c76741a25 Enhancements
Add more HTTP status code with detailed error info.
Improve error handling with broken links.
Add basic support for extra response headers.
2020-01-20 00:22:41 +08:00
Tindy X d13788e1d1 Enhancements
Improve compatibility with complex rule when directly adding rule with surge_ruleset.
Improve compatibility with incorrect format of single links.
Optimize codes.
2020-01-19 16:32:26 +08:00
Tindy X 66dde82c85 Fix bugs
Fix when no custom ruleset is set in external config file, no rules will be generated.
Fix ws-path parsing for Quantumult X VMess subscription.
Add README for Docker.
Optimize codes.
2020-01-16 21:50:27 +08:00
Tindy X b186d805f3 Enhancements
Fix support for Quantumult X style VMess subscription.
Fix plugin support for Shadowsocks Android clients.
Add support for exporting Shadowsocks Android subscription.
Add regular expression blacklist to prevent high CPU usage.
Move "rename_node" options to "[node_pref]" section.
Optimize codes.
2020-01-14 13:18:43 +08:00
Tindy X f2e12f1e4b Fix build error 2020-01-07 15:57:15 +08:00
Tindy X b94dce44ed Fix support for parsing some Shadowsocks/R subscriptions 2020-01-07 15:39:06 +08:00
Tindy X 5870ab2386 Enhancements
Add skip-cert-verify flag for HTTPS / Socks 5 nodes in Clash / Surge subscriptions.
Tweaked keys order in Clash subscriptions.
Optimize codes.
2020-01-04 17:29:44 +08:00
Tindy X a775c69121 Enhancements
Fix crash when parsing HTTP nodes in Surge subscriptions.
Fix section order problem for various subscriptions.
Add more custom settings in external configuration file.
Add no-resolve to LAN rules.
Update README-cn.md.
2020-01-03 14:29:40 +08:00
Tindy X 914c8e9fbb Optimize codes 2019-12-28 18:40:08 +08:00
Tindy X 704a364dc2 Enhancements
Add double condition for node filtering in group generator.
Optimize codes.
2019-12-28 17:22:11 +08:00
Tindy X 579b30bfc3 Fix parser error for some Surge and Quantumult subscription 2019-12-28 15:59:45 +08:00