Commit Graph

480 Commits

Author SHA1 Message Date
Tindy X
372140c53b Optimize codes 2020-09-08 17:27:54 +08:00
Tindy X
4459dd7f6c Add missing header 2020-09-07 20:12:38 +08:00
Tindy X
abe03cebeb Add Windows Autobuild CI (#244)
* Add Windows x64 CI

* Add missing dependency

* Fix rapidjson build

* Add Windows build to Travis CI

Add Windows x86 build to GitHub Actions

* Fix mingw32-make not found

* Fix subsystem on Actions

Fix install prefix on Travis CI.

* Use MINGW_PREFIX instead of /usr

* Clean up scripts

Add Windows x86 build to Travis CI.
2020-09-07 20:08:19 +08:00
Tindy X
10c3d2f35e Add /flushcache for cleaning up all caches
Use a higher performance implementation of cache read/write locks.
2020-09-07 20:03:42 +08:00
Tindy X
cb27e583da Fix incorrect order of options in Quantumult nodes 2020-09-01 21:28:55 +08:00
Tindy X
24434b6242 Add POST support to fetch() in scripts 2020-08-29 01:47:16 +08:00
Tindy X
e0a4194a4b Fix conversion of some logical rules in Surge configurations
Optimize codes.
2020-08-27 23:47:37 +08:00
Tindy X
17628b4a30 Fix build warnings
Fix Docker build error.
2020-08-26 17:55:43 +08:00
Tindy X
2abbd901e4 Enhancements
Fix crash when trying to convert SSR subscriptions to SSD subscriptions.
Add PROCESS-NAME rule type to Clash subscriptions.
Optimize codes.
2020-08-26 00:34:10 +08:00
Tindy X
1b30e89f80 Add support for simple web server
Update Docker README.
2020-08-19 01:23:44 +08:00
Tindy X
6befb9db14 Move main executable to /usr/bin for Docker 2020-08-18 23:31:39 +08:00
Tindy X
4bc2a58741 Add support for parsing standard VMess links
Optimize codes.
2020-08-16 15:10:21 +08:00
Tindy X
3ee39e6a16 Fix target auto not working properly 2020-08-16 12:28:16 +08:00
Tindy X
66f6c6f528 Bump version to v0.6.3 v0.6.3 2020-08-15 23:42:49 +08:00
Tindy X
a42f56aecd Update local rulesets and configs
Add DivineEngine local ruleset repository.
Remove Clash rule-providers from ACL4SSR repository.
2020-08-15 23:17:36 +08:00
Tindy X
129a01e517 inja: Update to latest version 2020-08-15 22:07:49 +08:00
Tindy X
0c38edd8d0 Bugs fix
Fix /updateconf replacing configuration file with an empty file.
Fix /render throws Not found while the template exists.
Add UrlEncode as template function.
Optimize codes.
2020-08-15 21:46:24 +08:00
Tindy X
707e6c66b7 Fix bad implementation of profile-update-interval header 2020-08-14 12:35:44 +08:00
Tindy X
66af1ad54c Add support for setting profile-update-interval for Clash subscriptions 2020-08-14 11:30:07 +08:00
Tindy X
97c89150a5 Breaking changes
Fix failed to download subscriptions, configs and rulesets due to bad implementation of download size checker.
Remove base pre-generation function.
Refactor code base.
2020-08-14 01:52:53 +08:00
Tindy X
0c8913f87d Fix compatibility with Electron-SSR configurations
Optimize codes.
2020-08-13 19:30:54 +08:00
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
dd2732b749 Update nlohmann::json library to 3.9.0
Cleanup codes.
2020-08-12 02:27:45 +08:00
Tindy X
65ac33d514 Cleanup codes
inja: Using a better implementation for stripping blanks for expressions.
2020-08-12 02:03:00 +08:00
Tindy X
a90ceb4b8e Add support for converting some groups to proxies in Surge subscriptions 2020-08-11 13:49:31 +08:00
Tindy X
f6bb9bd934 inja: Update library to latest
Optimize memory usage.
2020-08-11 02:46:00 +08:00
Tindy X
0cde2f7bcc Fix CMakeLists 2020-08-10 02:02:22 +08:00
Tindy X
c3da6911f7 Add support for specifying max allowed download size 2020-08-10 01:37:27 +08:00
Tindy X
b705d84f84 Forward request User-Agent for download instead of using internal one
Optimize performance.
2020-08-08 22:50:22 +08:00
Tindy X
2705b2a6f1 Fix potential crash when using nullnode as URL
Optimize performance.
2020-08-01 00:56:07 +08:00
Tindy X
f6f28095d8 Fix compatibility when parsing Clash ShadowsocksR nodes 2020-08-01 00:04:19 +08:00
Tindy X
2155833a4d Enhancements
Fix compatibility with some non-standard subscriptions.
Fix group option not detected in Trojan links.
Optimize codes.
2020-07-31 02:19:29 +08:00
Tindy X
f54160cfad Bump version to v0.6.2 v0.6.2 2020-07-29 19:44:54 +08:00
Tindy X
5ca5990673 Update local rulesets 2020-07-29 19:08:44 +08:00
Tindy X
8bc6e8de39 Update local rulesets 2020-07-26 19:34:24 +08:00
Tindy X
008c5795c0 Fix some bad implementations
Optimize codes.
2020-07-26 19:21:17 +08:00
Tindy X
d767036b2a Fix logic error on generating Clash rule-providers
Optimize codes.
2020-07-24 17:35:30 +08:00
Tindy X
201bacbbf3 Use system version of curl on macOS 2020-07-24 11:25:30 +08:00
Tindy X
905aa48f00 Fix typo 2020-07-23 18:26:13 +08:00
Tindy X
2df90073f6 Fix example Clash base 2020-07-23 11:14:19 +08:00
Tindy X
d982e060ef Fix bad implementation of tribool 2020-07-23 10:41:20 +08:00
Tindy X
9f67b9051c Update local rulesets and configs
Update build scripts.
2020-07-23 00:41:56 +08:00
Tindy X
f56e7dd5ae Add support for ShadowsocksR nodes in Clash subscriptions 2020-07-23 00:13:13 +08:00
Tindy X
e34c60af6a Add update-interval option to exported Surge RULE-SET
Optimize codes.
2020-07-22 23:55:17 +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
deafbd4eaa Fix logic error in generating Clash Script
inja: Fix exists implementation.
2020-07-20 22:15:27 +08:00
Tindy X
5ddad0dab5 Fix build error 2020-07-19 03:09:43 +08:00
Tindy X
58ba0dae08 Enhancements
Add "auto" target to automatically determine target and other options by User-Agent.
inja: Update to latest version.
2020-07-19 01:41:45 +08:00
Tindy X
daab2e741f Add support for more types of nodes to exported Mellow subscriptions 2020-07-15 02:16:41 +08:00