Commit Graph
46 Commits
Author SHA1 Message Date
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 908d8ec19d Add log_level option to filter output logs 2020-03-05 13:57:58 +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 4dbb9ef983 Enhancements
Fix filename option in web interface.
Fix when failed to download any files, the program still treat it as succeeded.
Add --artifact startup option to specify which artifact(s) should be generated.
Tweak Emoji matching rules.
Update local rulesets and configurations.
2020-02-25 14:23:51 +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 3efd22a1f3 Optimize codes
Force fileGet to use binary mode to prevent some problem.
Make cache system serve the existing cache when download failed.
Replace some if-statements with switch-statements.
Clean up codes.
2020-02-22 20:32:49 +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 c6920fbbc3 Enhancements
Fix potential segmentation fault error due to some incorrect copy assignments.
Fix potential crash due to incorrect usage of cURL library.
Fix potential memory leak causing memory usage to be too high.
Add /qx-rewrite and /qx-script interface to add device ID to scripts for some version of Quantumult X.
Add policy-path parsing support for /surge2clash interface.
Add interval/strict options support for managed config.
Add filename option for setting file name when downloading exported subscriptions.
Optimize codes.
2020-02-20 21:19:03 +08:00
Tindy X d6b4ef95a6 Enhancements
Add insert_url option to add node(s) before all exported subscriptions.
Add /getprofile interface for easy access.
Add an option to control whether to add Subscription-UserInfo or not.
Add include/exclude settings to external configurations.
Allow loading local subscriptions in API mode if the right token is provided.
Optimize codes.
2020-02-17 19:45:00 +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
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 f9bd9cc1ce Enhancements
Fix when a request without User-Agent was received, the program will crash.
Fix Emoji matching rules.
Add an interface to serve/convert local/remote rulesets.
2020-02-11 16:43:39 +08:00
Tindy X e14f7dd6bf Enhancements
Fix when processing duplicated node name for Surge, the program will crash.
Add an interface to directly convert Surge config to Clash config.
Add Netease Music IP ruleset.
Clean up codes.
Update build scripts.
2020-02-10 18:22:12 +08:00
Tindy X ac75c9513a Bug fixes
Fix Surge SSID groups not being correctly generated.
Fix snippet importing not filtering line break.
Add SSID group example.
2020-02-10 11:37:40 +08:00
Tindy X 3eefeb740e Bug fix
Change default configuration file to pref.ini and try to look for pref.yml.
Update Dockerfile.
2020-02-09 14:15:36 +08:00
Tindy X 2a082fee37 Bug fix
Fix a bug when more than one import in a group, only the first one will be added.
Add more HTTP status code.
2020-02-07 19:03:19 +08:00
Tindy X 8998e646e7 Enhancements
Fix when generating configurations with external configuration file with rule generator disabled, generated rules will still be added.
Add support for configuration files in YAML format.
Optimize codes.
2020-02-07 00:11:35 +08:00
Tindy X 5b5ae714f7 Fix after generating a Clash Proxy Provider, the cached Clash base will be broken 2020-02-06 16:44:12 +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 3945ba5afb Change default working directory to where pref.ini is in 2020-02-04 16:36:37 +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 fd5a74ec93 Fix a bug 2020-02-02 00:37:02 -06:00
Tindy X e78bb6df47 Add support for importing snippets
Clean up file structure.
2020-02-02 13:56:14 +08:00
Tindy X b085c0d0c1 Add support for exporting complete Quantumult configuration file
Fix incorrect generation of Quantumult X configuratios.
Fix broken group name option.
Add external configuration support for customize Quantumult(X) base.
Update Travis CI build script.
Tweak Emoji match rules.
Clean up codes.
2020-01-31 19:30:04 +08:00
Tindy X c5fa786500 Add support for exporting complete Quantumult X configuration file 2020-01-31 00:50:09 +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 1514727573 Bug fixes
Fix issue [#44](https://github.com/tindy2013/subconverter/issues/44).
Fix host setting missing for VMess TCP+TLS nodes.
Fix logical error in loading external configuration file.
Fix a potential multi-thread resource conflict.
Add rename and emoji option in external configuration file.
2020-01-27 14:56:49 +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 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 66c7f3a070 Optimize codes 2020-01-14 14:12:29 +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 bebefd9511 Fix build error on some platform 2020-01-07 15:48:39 +08:00
Tindy X d1bf8a13f2 Enhancements
Fix dependency bug for compiling on some platforms.
Add specifying port via environment variable.
Add BacktoCN.list extracted from ConnersHua's original BakctoCN configuration.
2020-01-07 11:39:18 +08:00
Tindy X 15fab8f324 Add filter_deprecated_nodes flag to filter out nodes that are no longer supported by latest clients 2020-01-05 18:54:00 +08:00
Tindy X 215c467f2a Enhancements
Add auto filtering for nodes that are not supported by Clash/R core.
Add skip_cert_verify for Surge, Quantumult and Quantumult X subscription.
Add "separate links" option for exporting SIP002 subscriptions.
Optimize codes.
2020-01-04 15:22:12 +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 9094270b65 Bug fixes
Fix incorrect parameters for simple interface.
Fix group generation support for Surge.
Change default skip_cert_verify flag to false.
Optimize codes.
2020-01-03 00:15:34 +08:00
Tindy X 144725213f Add support for adding skip-cert-verify flag to Clash/R subscription 2020-01-01 22:38:21 +08:00
Tindy X 9196387fe6 Enhancements
Add loading external custom configuration from URL.
Optimize codes.
2020-01-01 14:30:41 +08:00
Tindy X 09c14e0222 Add error handling for loading base configurations and preference settings 2020-01-01 13:25:44 +08:00
Tindy X 6d6d25417b Fix a bug that when update_ruleset_on_request is set to true, rules will be missing in exported Clash/R and Mellow configurations 2019-12-31 23:50:16 +08:00
Tindy X c38c1b4cf5 Bug fixes
Fix when rulesets and groups are provided in request URLs, new rules will not be used.
Fix cached rule base not updating after calling "/readconf", "/refreshrules" or "/updateconf".
2019-12-29 19:31:17 +08:00
Tindy X 914c8e9fbb Optimize codes 2019-12-28 18:40:08 +08:00
Tindy X 175ad47d79 Enhancements
Add pre-generated base for Clash/R and Mellow configuration.
Add simple interface for quick usage.
Add support for Clash v2ray-plugin.
2019-12-28 15:10:10 +08:00
Tindy X b89a8b1f7c Add CMake support
Clean up file structure.
Update build scripts.
2019-12-26 20:37:47 +08:00