Commit Graph
100 Commits
Author SHA1 Message Date
Tindy X b3942ecc2d Update build scripts 2021-03-24 02:38:27 +08:00
Tindy X de288d7622 Add missing build dependencies 2021-03-23 18:15:01 +08:00
Tindy X 60813e516a Add script_clean_context option example in preference files. 2021-03-23 18:09:51 +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
Tindy X 886fb1bf40 Update Dockerfile 2021-02-17 13:17:24 +08:00
Tindy X c826be47fc Update Dockerfile 2021-02-17 12:40:45 +08:00
Tindy X dd442ebb03 Fix Docker build error 2021-02-17 12:32:15 +08:00
Tindy X ce995fa3a6 Update Docker build Action 2021-02-17 02:05:43 +08:00
Tindy X a57906c9a6 Fix detection of loop request (#284) 2020-12-19 23:53:08 +08:00
Tindy X b21eab7700 Fix some global preferences has no effect 2020-12-01 17:07:34 +08:00
Tindy X d46aa6133e Update flags 2020-11-26 21:50:55 -06:00
Tindy X c0d079202a Update default exclude remarks 2020-11-27 00:36:12 +08:00
Tindy X 74d865ceb0 Enhancements
Fix not correctly handle SOCKS5 nodes in Clash subscriptions.
Add specifying filter script from URL arguments.
Add support for using matchers in include/exclude options.
Rename default configuration files for easier upgrade.
2020-11-08 18:34:26 +08:00
Tindy X 069d1c00f6 Fix linking error 2020-11-03 20:01:15 +08:00
Tindy X f7352abe17 Fix order of libraries 2020-10-24 02:51:04 +08:00
Tindy X af4594e449 Fix dependency problem 2020-10-24 01:43:01 +08:00
Tindy X 575134379f Add missing libraries 2020-10-24 01:30:13 +08:00
Tindy X 96e43337b1 Print error when failed to load rule base
Add force refresh rulesets after /readconf call.
2020-10-23 23:47:12 +08:00
Tindy X ab4d7543ce Fix Duktape library not found 2020-09-20 01:06:01 +08:00
Tindy X 1fa2883428 Fix CMake warning
Update JPCRE2 library.
2020-09-20 00:57:29 +08:00
Tindy X 167adc457e Update local rulesets and configs
Remove ConnersHua rules repository and replace all examples with DivineEngine repository.
2020-09-19 23:47:27 +08:00
Tindy X c0b62062d9 Use Node JS for building duktape library (#248)
* Use Node JS for building duktape library

* Remove Python 2 dependency

* Inherit PATH from environment in Actions

Remove build cache of the msys2 installation in Travis CI.

* Remove old command
2020-09-19 03:05:26 +08:00
Tindy X 629b1bf222 Bump version to v0.6.4 2020-09-15 20:42:12 +08:00
Tindy X fb05bc7d51 Update User-Agent match pattern for Loon 2020-09-12 23:33:05 +08:00
Tindy X 448f3f3153 Add type fallback for exported v2rayN subscription
Add skipping loading groups, rulesets and unrelated rule_base for simple subscriptions.
2020-09-10 16:24:15 +08:00
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 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 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
Tindy X d7226de452 Add case for when no net type is set for VMess nodes
Optimize codes.
2020-07-15 01:43:41 +08:00
Tindy X 3989b7ee5e Add fallback support for different names of Shadowsocks plugins
Fix compatibility problem with some non-standard v2rayN subscription.
Fix running program from directory other than program folder may cause not using pref.yml as default.
Optimize codes.
2020-07-14 03:04:48 +08:00
Tindy X 447f6801d5 Fix implementation of scripts in renaming/adding Emoji 2020-07-11 23:12:52 +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 591f9ef614 Bump version to v0.6.1 2020-07-10 17:57:17 +08:00
Tindy X dc4eae34b1 Fix implementation of v2ray-plugin in Quantumult X subscriptions
Add example for using Clash proxy-provider.
Optimize codes.
2020-07-10 17:48:34 +08:00
Tindy X c4ef7ed9eb Update local rulesets 2020-07-10 16:59:20 +08:00
Tindy X fe62622123 Fix bad implementation of request header forwarding
Optimize performance.
2020-07-09 00:41:46 +08:00
Tindy X 73ff6b9716 Add basic support for tls13 flag 2020-07-08 01:27:30 +08:00
Tindy X 0ec8b35388 Optimize performance 2020-07-08 00:27:39 +08:00
Tindy X 6629f861da Fix bad implementation of regex library for include/exclude
Add support for using \uhhhh to match characters with regex.
Optimize codes.
2020-07-07 12:51:58 +08:00
Tindy X 41b7663cd8 Optimize performance 2020-07-07 02:37:09 +08:00
Tindy X 24550625ee Update build scripts
Optimize codes.
2020-07-06 17:57:07 +08:00
Tindy X 1f0b0b1ba8 Update CI Xcode version 2020-07-06 11:24:53 +08:00
Tindy X 607746c78b Fix build error 2020-07-06 11:00:41 +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 5c9bb44054 Fix some keys might be missing when parsing some Clash subscriptions
Update build scripts.
2020-07-05 11:27:46 +08:00
Tindy X 6cb369fa34 Optimize performance 2020-07-05 02:39:00 +08:00
Tindy X c2564a6fd9 Fix implementation of processing escape character in INIReader
Optimize codes.
2020-07-04 23:19:09 +08:00
Tindy X 21d2900280 Fix compile error
Optimize codes.
2020-07-04 16:25:09 +08:00
Tindy X 8d10020f89 Fix VMess HTTP nodes missing in exported Clash configurations
Add support for parsing VMess HTTP nodes in Clash configurations.
Clean up codes.
2020-07-04 14:14:55 +08:00
Tindy X ff9820b0a3 Fix Actions script 2020-07-02 23:04:28 +08:00
Tindy X 6e8587d36b Bump version to v0.6.0 2020-07-02 22:15:48 +08:00
Tindy X d752bc1783 Add add_emoji/remove_old_emoji options to external config 2020-07-02 22:14:54 +08:00
Tindy X 5781408901 Optimizations
Add string() as template function.
inja: Implement a better white space control system.
2020-07-02 21:32:23 +08:00