Commit Graph
100 Commits
Author SHA1 Message Date
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 94696a5da5 Fix typo in default configuration 2021-10-01 04:14:13 +08:00
Tindy X 7eb4abedc2 Bump version to v0.7.1 2021-09-30 15:06:28 +08:00
Tindy X 64eeaf4d5b Update third-party libraries 2021-09-30 14:29:05 +08:00
Tindy X beb1070c24 Update README [skip ci] 2021-09-30 13:08:13 +08:00
Tindy X cea6d5fe88 Update local rulesets 2021-09-30 01:44:44 +08:00
Tindy X 2b143802a6 Replace ARMHF build with ARMv7 2021-09-29 12:57:40 +08:00
Tindy X 1b92ba6491 Add self-hosted ARM runner 2021-09-29 03:54:46 +08:00
Tindy X f9ad2718cd Fix some generated VMess nodes have incomplete config
Revert to legacy Clash VMess-WS node format for backward compatibility.
2021-09-23 15:45:11 +08:00
Tindy X 09d07713f3 Fix workflow file 2021-09-22 00:33:09 +08:00
Tindy X b49934635e Add specifying Docker build concurrent jobs
Add limiting concurrent jobs in Actions
2021-09-22 00:30:46 +08:00
Tindy X 4454ef94ae Fix typo in default profile 2021-09-22 00:06:37 +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 5aaa0f2027 Bump version to v0.7.0
Update Actions scripts.
2021-09-20 23:24:11 +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 61b671c13a Remove unused files from Docker images 2021-09-20 18:26:16 +08:00
Tindy X 7a2838712c Fix not properly handle ruleset types 2021-09-20 17:38:14 +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 867602fbea Add basic support for VMess h2 & grpc protocols 2021-07-29 02:16:56 +08:00
Tindy X 3ad1c0078e Fix inconsistency SS plugin name
Clean up codes.
2021-07-29 01:52:36 +08:00
Tindy X fc2a5902d2 Update Windows patch 2021-06-12 14:45:32 +08:00
Tindy X e21f511ddb Bugs fix
Fix subscription info not being passed to the response.
Use stable sort for sorting nodes.
2021-06-11 21:38:15 +08:00
Tindy X aac10ddffa Update build scripts 2021-03-27 11:29:04 +08:00
Tindy X 3afe9986be Fix missing TLS setting in VMess nodes 2021-03-25 18:15:33 +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 b42bfec5f1 Fix broken generation of Clash subscription 2021-03-24 02:32:34 -05:00
Tindy X b1f8643ece Update Dockerfile 2021-03-24 03:06:55 +08:00
Tindy X 6e01e542fb Fix build scripts 2021-03-24 02:56:03 +08:00
Tindy X 49e1c01283 Add missing header 2021-03-24 02:48:30 +08:00
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