Commit Graph
48 Commits
Author SHA1 Message Date
asdlokj1qpi23 eab18a9568 support hy2 and vless for mixed (#2) (#23) (#9) 2025-04-18 17:04:22 +08:00
asdlokj1qpi23 090c2def1d merge tindy2013 2025-03-25 14:55:22 +08:00
asdlokj1qpi23 e88f8fd485 Merge remote-tracking branch 'fork/master' into dev
# Conflicts:
#	.github/workflows/build.yml
#	.github/workflows/docker.yml
#	.gitignore
#	base/pref.example.toml
#	base/snippets/emoji.toml
#	base/snippets/emoji.txt
#	scripts/build.macos.release.sh
#	scripts/build.windows.release.sh
#	scripts/rules_config.conf
#	src/generator/config/subexport.cpp
#	src/handler/interfaces.cpp
#	src/handler/settings.cpp
#	src/parser/config/proxy.h
#	src/parser/subparser.cpp
#	src/parser/subparser.h
#	src/utils/map_extra.h
#	src/version.h
2025-03-25 14:08:43 +08:00
Tindy X 223d75a10a Fix Clash rule provider did not trim domains and ip-cidrs 2025-01-16 17:29:46 +08:00
Tindy X 691193731f Update toml11 to v4.3.0 2025-01-16 17:26:52 +08:00
asdlokj1qpi23 198fe253d1 Change scripts toml11 version. 2024-07-16 15:59:12 +08:00
Tindy X 0c8574755a Enhancements
Fix not properly handling data from multipart-form POST (#739).
Fix not cleaning up request parameters when generating profiles (#741).
2024-04-09 01:11:29 +08:00
Tindy X 535d1d01e1 Fix "Profile not found" when generating artifact (#719) 2024-04-03 19:55:38 +08:00
Tindy X 4864a6b13c Support setting output style for proxy groups in Clash configs (#734) 2024-04-03 18:07:12 +08:00
Tindy X 0f2cefd537 Enhancements
Read template_args from root in TOML preferences (#717).
Make max_workers work for httplib.
Fix implementation of str_icase_map for HTTP headers.
2024-04-03 17:09:21 +08:00
SummonHIM 37c4e13071 Add UA of Clash Verge to auto target (#713) 2024-04-02 18:37:09 +08:00
Tindy X eef5328506 Enhancements
Refine libcurl logs.
Do not retry web request on API mode.
Optimize codes.
2023-12-22 14:46:52 +08:00
asdlokj1qpi23 5b85906be1 Fixing WireGuard, hy and hy2 Protocol export Issues. 2023-12-21 19:27:31 +08:00
Tindy X 13623d6bcd Enhancements
Fix request parameters are url-decoded twice.
Fix post form request not handled correctly.
2023-12-06 15:54:05 +08:00
Tindy X 043c1fdcb9 Enhancements
Fix rule generation in Surge configs.
Refactor log output for curl verbose logs.
Optimize codes.
2023-12-06 15:25:53 +08:00
Tindy X a0e25158f5 Enhancements
Add no-resolve to generated Clash rule-set if exists (#679).
Do not set CURLOPT_USERAGENT if User-Agent header is provided.
Print curl verbose logs with standard format.
Change thread id in logs to thread name.
Optimize generation of rule contents.
2023-12-05 18:37:14 +08:00
Tindy X 2f820b81c4 Enhancements
Fix request arguments to alias are not passed to redirect location (#681).
Fix crash if name argument is missing in getProfile interface.
Fix bad webGet retry logic.
2023-12-04 11:49:07 +08:00
Tindy X 38fd0da1ba Enhancements
Add support for parsing authentication info in SOCKS5 links. (#652)
Optimize codes.
2023-11-27 00:52:00 +08:00
Tindy X 05a542c4f1 Enhancements
Fix bad conversion of DOMAIN-SUFFIX rules when generating Surge DOMAIN-SET. (#667)
Optimize codes.
2023-11-27 00:09:25 +08:00
Tindy X 885a63b837 Enhancements
Fix a typo which cause the server to hang.
Add option to enable reload pref config on request.
Optimize codes.
2023-11-14 16:42:22 +08:00
Tindy X 4620873220 Fix /getprofile not working properly 2023-11-10 20:16:50 +08:00
Tindy X 51b65ec437 Enhancements
Fix base sing-box configuration.
Add support for adding Clash modes to sing-box configs.
Optimize codes.
2023-11-10 18:23:43 +08:00
Tindy X ed732a9f98 Fix error when downloading subscription 2023-11-09 21:54:40 +08:00
Tindy X c530bc5eaa Fix request arguments not properly handled (#661) 2023-11-09 15:02:24 +08:00
Tindy X bbcb6434e1 Enhancements
Add basic support for generating sing-box configs.
Use cpp-httplib as web server.
Optimize codes.
2023-11-07 22:12:01 +08:00
Tindy X b281c9960b Fix warning: possibly dangling reference to a temporary 2023-10-11 19:51:28 +08:00
Tindy X cb409ddf7e Optimize codes 2023-10-09 16:06:06 +08:00
Tindy X 3cb07c3325 Enhancements
Refresh cron schedule after loading TOML preferences (#629).
Keep line order of Plugin section in Loon configs.
2023-10-08 02:57:56 +08:00
Tindy X 5de1a3fef0 Remove unused interface 2023-10-08 02:16:22 +08:00
Tindy X deb73c5669 Enhancements
Fix support for generating Loon configs.
Refactor libraries.
2023-07-03 13:52:52 +08:00
Tindy X f8fab23da5 Fix not loading local rulesets 2022-08-23 19:01:59 +08:00
Tindy X be878e1005 Enhancements
Fix HEAD method to /sub not working.
Remove unused interfaces.
2022-08-22 14:47:12 +08:00
xiaoxinw a24cb7c00a Fix bad request header (#472) 2022-04-08 05:11:23 -05:00
Tindy X ce8d2bd0f1 Enhancements
Add authorization check before loading scripts.
Add detailed logs when loading preference settings.
2022-04-04 00:38:44 +08:00
Tindy X 406b0f2022 Enhancements
Fix incorrect order of tolerance and timeout field in custom group config.
Fix Content-Disposition header for better support on browsers.
Fix parsing of some Shadowrocket links.
Support HEAD request that only return Subscription-UserInfo (#434).
Add more detail info to crash report.
2022-03-20 17:34:01 +08:00
Tindy X 80cda7b9e9 Enhancements
Fix matching not-range does not work (#428).
Fix parsing and generating of HTTPS nodes (#450).
Add servername field for Clash VMess nodes (#449 #451).
Add VMess AEAD option for Surge and Quantumult X configs.
2022-02-09 23:45:06 +08:00
Tindy X a24be60d78 Fix remote file cannot be fetched 2021-12-15 12:00:57 +08:00
Tindy X 35809391e9 Add option to CMake to build as static library 2021-12-15 00:13:00 +08:00
Tindy X 4639ee483e Bugs fix
Fix build error.
Fix max_allowed_download_size option has no effect (#409).
Clean up codes.
2021-12-06 19:12:02 +08:00
Tindy X b4201b24f7 Fix cache system not working properly
Clean up codes.
2021-10-10 21:32:54 +08:00
Tindy X a653e3a874 Bugs fix
Fix example preference file.
Fix error when template include path is not set.
Fix crash when adding SSID group to Loon configurations.
Clean up codes.
2021-10-04 23:48:51 +08:00
Tindy X fc641444aa Fix failed to load external TOML config when surge_rule_base is set
Update example config.
2021-09-20 23:57:28 +08:00
Tindy X 94ee747649 Fix Gist upload and other web operation may fail to post data
Remove unused files in Docker images.
Cleanup codes.
2021-09-20 22:21:12 +08:00
Tindy X c35714ba48 Fix build error on some platforms
Update build scripts.
2021-09-20 17:17:49 +08:00
Tindy X 9797197c85 Add support for using TOML as configuration file format
Add basic support for trojan-grpc nodes.
Refactor codes.
2021-09-20 17:02:13 +08:00
Tindy X 9b32b72f0e Bugs fix
Fix server_port fields become 0 in SIP008 and ShadowsocksD subscriptions.
Fix parsed target not being passed to template argument.
2021-03-25 11:00:26 +08:00
Tindy X fe20b2d26c Bugs fix
Fix wrong type of alterId in Clash VMess nodes (#325).
Fix broken parsing of ShadowsocksR subscription.
Fix possible crash when running scripts.
2021-03-24 22:18:44 +08:00
Tindy X 3d67406af6 Complete refactor of project file structure
Fix incorrect handing of default node parameters in SSD subscription.
Fix unable to parse some Clash rule-providers (#289).
Fix not filtering inline comments in some Surge rulesets. (#285)
Add Cron task options.
Add clean context option for persisting a JS context across the whole request.
Replace JS engine with QuickJS.
2021-03-23 18:09:00 +08:00