Commit Graph

53 Commits

Author SHA1 Message Date
Tindy X
f671230ce8 Add option to change style of proxies section in Clash subscriptions 2020-08-12 18:33:31 +08:00
Tindy X
41bc002cab Fix typo 2020-08-12 17:35:25 +08:00
Tindy X
c3da6911f7 Add support for specifying max allowed download size 2020-08-10 01:37:27 +08:00
Tindy X
4f039bd726 Enhancements
Change behavior of using proxy-providers in Clash proxy groups to allow both providers and proxies to exist.
Add option to allow continue when failed to parse an subscription link.
2020-07-21 23:38:44 +08:00
Tindy X
081b5adb71 Fix implementation of using Clash rule-providers as rule sources
Add option for whether to try to resolve hostnames when generating ShadowsocksR nodes in Surge configurations.
2020-07-10 22:38:17 +08:00
Tindy X
73ff6b9716 Add basic support for tls13 flag 2020-07-08 01:27:30 +08:00
Tindy X
1ca88d9e31 Enhancements
Add support for adding update interval to Clash rule-providers.
Optimize performance.
INIReader: Fix key value trimming error.
INIReader: Fix not processing escape character when dumping.
2020-07-06 03:34:08 +08:00
Tindy X
3b58b04d63 Fix error in generated Clash scripts
Fix missing classical providers when exporting Clash rule-providers.
Fix not correctly process some rulesets when generating Clash scripts.
Fix typo in pref.ini.
2020-06-29 16:16:49 +08:00
Tindy X
06eb71d1c4 Fix examples in pref.ini 2020-06-20 23:38:55 -05:00
Tindy X
46f334a564 Enhancements
Fix support for parsing keyword type in Clash domain rule-provider.
Fix potential error on reading configuration files.
Fix not processing remarks with comma when exporting some subscriptions.
Add geoip as script function.
Add support for using script to rename nodes and add Emojis to remarks.
2020-06-21 08:17:12 +08:00
Tindy X
605e273d69 Enhancements
Change section and key names in configuration files.
Add support for using Quantumult X rulesets/Clash rule-providers as rule sources.
Optimize codes.
2020-06-19 23:57:10 +08:00
Tindy X
0a7e1cac97 Enhancements
Add support for adding proxy provider to custom group in Clash configurations.
Add and, or, bool as template function.
Add support for any amount of argument for template function join.
inja: Add variadic function callback support.
2020-06-12 18:06:01 +08:00
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
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
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
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
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
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
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
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
812f936f5e Enhancements
Disable base generation as default.
Remove Mellow base generation for now.
2020-02-22 23:39:22 +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
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
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
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
62de1f320b Add more example config files
Add Microsoft Services ruleset.
Clean up file structure.
2020-01-17 16:19:24 +08:00
Tindy X
2d3875543d Move China Emoji rule to last position 2020-01-14 14:46:49 +08:00
Tindy X
8a5615f4ac Update local rulesets 2020-01-14 14:43:45 +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
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
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