Commit Graph
47 Commits
Author SHA1 Message Date
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 d8c4a13fdb Add appending all /getProfile arguments to internal call
Optimize codes.
2020-04-04 23:03:14 +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 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 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 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 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 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 7e489788e3 Enhancements
Add support for Quantumult X style Trojan nodes.
Optimize codes.
2020-03-17 15:37:57 +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 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 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 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 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 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 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 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 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 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 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 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 b0b2546d93 Add support for adding VMess nodes to Surfboard configurations 2020-02-16 16:59:32 +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 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 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
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 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 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