Commit Graph
100 Commits
Author SHA1 Message Date
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
Tindy X 9aa64c4132 Bug fixes
Fix when importing rulesets, some invisible characters are also added to the result.
Fix proxy group/ruleset settings not working properly with YAML format external configurations.
2020-03-06 00:43:13 +08:00
Tindy X 908d8ec19d Add log_level option to filter output logs 2020-03-05 13:57:58 +08:00
Tindy X 15a66609af Update local rulesets and configs
Update docker README.
2020-03-05 13:38:23 +08:00
Tindy X 27c3b10b04 Bump version to v0.4.2 2020-03-03 01:28:45 +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 1b6e877724 Enhancements
Add mutex lock to prevent reading and writing a cached file at the same time.
Optimize codes.
2020-03-01 01:58:59 +08:00
Tindy X 6c2192b4f8 Add support for another type of stream nodes 2020-02-28 06:40:42 -06: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 8fe8dcbe86 Fix compile error with USE_STD_REGEX
Issue [#74](https://github.com/tindy2013/subconverter/issues/74).
2020-02-26 22:51:36 -06:00
Tindy X 0eaec3a162 Fix a bug
Fix a crash when no nodes are found when generating Quantumult (X) node lists.
2020-02-26 23:46:54 +08:00
Tindy X 4958e30657 Fix stack overflow problem on some platform 2020-02-26 02:11:06 +08:00
Tindy X 844c68df9a Bump version to v0.4.1 2020-02-25 15:48:12 +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 5d144c32a4 Update README-docker.md 2020-02-24 15:18:05 +08:00
Tindy X 8ed0a620fd Fix compile error on some platform
Update build script.
2020-02-24 00:19:50 +08:00
Tindy X 24ef7f9e9e Enhancements
Fix logical error in generating Quantumult X configurations.
Fix overwrite_original_rules option not working in pref configuration.
Add range support for group ID match condition.
2020-02-23 23:39:39 +08:00
Tindy X 782caaf082 Bugs fix
Fix some Shadowsocks nodes are missing in Loon configurations.
Fix Quantumult X nodes not handling duplicated remarks.
Force expand all local rules instead of generating /getruleset urls for generator mode.
2020-02-23 21:26:28 +08:00
Tindy X fa06e8def9 Fix incorrect group type conversion for Quantumult (X) 2020-02-23 20:51:22 +08:00
Tindy X f01b7b6d2d Bug fixes
Fix a bug that some groups are missing in the exported Quantumult X/Mellow configurations.
Optimize codes.
2020-02-23 20:36:16 +08:00
Tindy X 9bf13e792b Fix a bug that internal parser may incorrectly process spaces in configs
Issue [#70](https://github.com/tindy2013/subconverter/issues/70).
2020-02-23 18:06:02 +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 c51affc3cc Fix compile error on some platform
Update local rulesets
2020-02-23 01:35:24 +08:00
Tindy X 3364ae38c2 Bump version to v0.4.0 2020-02-23 01:03:12 +08:00
Tindy X 812f936f5e Enhancements
Disable base generation as default.
Remove Mellow base generation for now.
2020-02-22 23:39:22 +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 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 6eb06837c6 Optimizations
Using a faster method to read files.
2020-02-21 23:40:26 +08:00
Tindy X aaffdbf3fc Fix VMess cipher support for Loon configurations 2020-02-21 21:53:57 +08:00
Tindy X c686fa449a Add simple Loon base configuraion 2020-02-21 17:06:04 +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 452c9299f1 Fix compile error on some platform 2020-02-19 22:52:50 +08:00
Tindy X 19742630f5 Add cache system for configs, rulesets and subscriptions
Add proxy_config option for downloading external config files.
Optimize codes.
2020-02-19 22:14:18 +08:00
Tindy X 8bbc163d08 Enhancements
Add support for applying renames/Emojis to a specific group.
Add support for adding stream and expiry info to SSD subscriptions.
Optimize codes.
2020-02-19 16:27:38 +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 3db6ae9214 Fix compiler warning for base64_decode
Optimize codes.
2020-02-19 13:15:18 +08:00
Tindy X 036ce9e6bc Fix Emoji option 2020-02-19 12:25:38 +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 f1198f9954 Merge remote-tracking branch 'origin/master' 2020-02-17 15:01:03 +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 b0b2546d93 Add support for adding VMess nodes to Surfboard configurations 2020-02-16 16:59:32 +08:00
Tindy X 54a17413bc Bug fix
Fix when exporting Quantumult (X) Node List, the first node will appear twice.
Optimize codes.
2020-02-16 15:14:21 +08:00
Tindy X e1a7eb3829 Bug fixes
Fix missing setting in pref.yml.
Optimize codes.
2020-02-16 12:23:27 +08:00
Tindy X 41b9f97d4c Fix a bug which will cause /getruleset for Surge unable to fetch data
Add descriptions in pref.ini.
2020-02-15 23:29:11 +08:00
Tindy X 16092f6946 Fix a bug that will cause Surge Node List unable to be generated 2020-02-15 21:33:14 +08:00
Tindy X c798918f40 Bug fixes
Fix line breaks not correctly processed in getruleset interface.
Fix missing initialization of managed_config_prefix in simpleToClashR interface.
Optimize codes.
2020-02-15 20:15:48 +08:00
Tindy X 700fbc5d8d Bump version to v0.3.1 2020-02-15 18:49:29 +08:00
Tindy X e8624a7d25 Optimize codes 2020-02-15 18:15:35 +08:00
Tindy X f6a09670be Enhancements
Fix when list option is set to true, the program will still try to load groups and rulesets.
Add an interface to provide local/remote rulesets for Surge/Quantumult X.
Add converting rulesets to Quantumult X format and adding as remote filters.
2020-02-15 18:00:59 +08:00
Tindy X 9c8a8d8268 Update local rulesets and example configs 2020-02-15 16:19:57 +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 794370004e Enhancements
Fix missing keys and sections in Mellow configs.
Fix Emoji matching rules.
Add token verification when using default_urls in API mode.
Optimize codes.
2020-02-13 18:28:00 +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 7110146873 Fix empty lines in rulesets not being removed 2020-02-10 21:14:42 +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 6f64f27361 Fix a bug which may cause some comments in rulesets not being filtered 2020-02-09 16:53:22 +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 cb3ad69803 Add link to README-cn.md 2020-02-05 23:20:03 +08:00
Tindy X 879769d88a Update README-docker.md 2020-02-05 23:07:36 +08:00
Tindy X 84a1b73f45 Update README
Clean up files.
2020-02-05 23:06:28 +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 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 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 5634df6a7f Add duplicate node name check for Quantumult(X) configuration files 2020-02-01 11:57:20 +08:00
Tindy X cc35c6f8a6 Add support for extracting UserInfo from SSD subscriptions 2020-02-01 01:16:05 +08:00
Tindy X 8eb5e1e5e3 Update build script 2020-01-31 20:20:42 +08:00
Tindy X daca90abe7 Bump version to v0.3.0 2020-01-31 19:50:28 +08:00
Tindy X 9c91a8cd0a Update local rulesets 2020-01-31 19:47:56 +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 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 7c546e9606 Fix a potential loop request bug which may cause server to overload 2020-01-30 11:10:19 +08:00
Tindy X 2073d0ef25 Fix URL argument parsing error 2020-01-27 20:40:50 +08:00
Tindy X e2ecedff43 Update local rulesets 2020-01-27 17:41:45 +08:00
Tindy X a387b67b93 Fix typo 2020-01-27 15:16:39 +08:00
Tindy X 66cebab7f8 Update local rulesets and example configuration files 2020-01-27 15:02:40 +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 1a54f7c500 Bump version to v0.2.7 2020-01-26 23:38:22 +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 3a09c87081 Update Microsoft Service list 2020-01-17 23:14:07 +08:00
Tindy X 62de1f320b Add more example config files
Add Microsoft Services ruleset.
Clean up file structure.
2020-01-17 16:19:24 +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 21c4871ac0 Add Linux x86 build 2020-01-16 00:24:52 +08:00
Tindy X 6a0aff4330 Update Dockerfile 2020-01-14 21:59:32 +08:00
Tindy X 882c42e1eb Update Dockerfile to decrease docker image size 2020-01-14 21:34:01 +08:00
Tindy X 987c582859 Bump version to v0.2.6 2020-01-14 14:48:41 +08:00