Commit Graph
100 Commits
Author SHA1 Message Date
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
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