Commit Graph

126 Commits

Author SHA1 Message Date
Tindy X
a61a450fbe Enhancements
Add support for tolerance option in Clash proxy groups.
Add options for specifying maximum allowed rulesets in external configs and generated rules.
2020-05-30 18:09:23 +08:00
Tindy X
f30b3c7cbf Breaking changes
Fix data URIs not correctly parsed.
Fix downloading files may be caught in infinite redirect loops.
Add experimental JavaScript support for providing subscriptions, filtering nodes, sorting nodes and generating groups.
Add tag support for adding group name to a specific link.
Add complete matcher support for Emoji and rename match rule.
Optimize codes.
Update build scripts.
2020-05-29 19:15:05 +08:00
Rhett Lee
0de6c06e45 fix NobyDa/Script iQIYI_GetCookie.js not found. (#171) 2020-05-18 18:48:50 +08:00
Tindy X
54747a3268 Enhancements
Fix broken SSID group exported to Quantumult X configurations. (#167)
Fix compatibility with some V2Ray-Core configurations.
Add support for using CORS proxy in downloading.
Optimize codes.
2020-05-15 22:47:31 +08:00
Tindy X
c77f064e88 Update local rulesets and configs 2020-05-08 17:10:33 +08:00
Tindy X
23d64632de Add default switch for enabling insert_url 2020-05-02 22:56:38 +08:00
Tindy X
5b692c800b Rework logic for insert_url
Add "prepend" option to control where to add insert_url.
2020-05-02 10:37:13 +08:00
Tindy X
f6f2ced3c7 Enhancements
Fix incorrect flag for expanding rulesets to rules.
Add support for generating Clash rule-providers in Rule mode.
Rework Clash script generator.
Change global UDP/TFO/Skip Cert Verify settings in pref configuration to comments.
Optimize codes.
2020-05-01 23:59:01 +08:00
Tindy X
40bb4276d7 Enhancements
Add 1MB file download size limit to prevent feeding a large file to the processor.
Add file scope limit to rule_base options in external config to prevent loading sensitive files as rule base.
Add support for generating Clash DOMAIN/IP-CIDR rule-providers.
Optimize codes.
2020-04-23 22:12:56 +08:00
Tindy X
8662aa36cc Enhancements
Fix compiler warnings.
Add detailed description for some settings in pref configuration.
Add passing arguments of alias name to alias target.
Optimize codes.
2020-04-23 00:27:38 +08:00
Tindy X
52c8eff182 Enhancements
Add URL aliasing support to shorten request URL.
Add support for parsing and exporting Snell server in configurations.
Add numbering system to process duplicated node names.
Optimize codes.
2020-04-21 22:29:16 +08:00
Tindy X
48c12054af Fix changed ruleset in default configuration 2020-04-14 21:20:37 +08:00
Tindy X
983686a19e Update local rulesets and configs 2020-04-12 20:29:45 +08:00
Tindy X
5f0c2d1b47 Enhancements
Fix exporting broken configuration file in some occasions.
Fix directly treating not-exist ruleset file as URL.
Fix group fallback not working on Quantumult X configurations.
Fix typo in example profile.
Add specifying default external configuration file to use when none is provided.
Optimize codes.
2020-04-10 18:18:57 +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
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
e6a00e4280 Update local rulesets and configs 2020-04-05 17:12:58 +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
wzw1997007
40f9469417 Tweak Emoji matching rules (#112) 2020-03-27 03:46:51 -05: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
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
9779b57b04 Update local rulesets and configs 2020-03-21 22:16:32 +08:00
Tindy X
0bc341f7ea Enhancements
Add experimental async ruleset fetching.
Optimize codes.
2020-03-20 01:37:32 +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
9e305bc900 Update local rulesets and configs 2020-03-16 23:38:01 +08:00
Tindy X
55ad853a2c Update local rulesets and configs 2020-03-12 15:55:02 +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
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
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
6c2192b4f8 Add support for another type of stream nodes 2020-02-28 06:40:42 -06: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
c51affc3cc Fix compile error on some platform
Update local rulesets
2020-02-23 01:35:24 +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
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
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
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
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
9c8a8d8268 Update local rulesets and example configs 2020-02-15 16:19:57 +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
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
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