feat: add AnyTLS support and improve system functionality

- Add AnyTLS protocol support
- Add system logs viewing in admin panel
- Refactor client subscription delivery code
- Refactor hook mechanism
- Add plugin support for Shadowsocks protocol
- Add CSV export option for batch user creation
- Fix mobile admin login page width display issue
This commit is contained in:
xboard
2025-05-22 17:58:22 +08:00
parent 2580475f78
commit fc5a957ddd
35 changed files with 1586 additions and 640 deletions

View File

@@ -14,6 +14,8 @@ class ServerSave extends FormRequest
'obfs' => 'nullable|string',
'obfs_settings.path' => 'nullable|string',
'obfs_settings.host' => 'nullable|string',
'plugin' => 'nullable|string',
'plugin_opts' => 'nullable|string',
],
'vmess' => [
'tls' => 'required|integer',
@@ -67,6 +69,10 @@ class ServerSave extends FormRequest
'transport' => 'required|string',
'multiplexing' => 'required|string',
],
'anytls' => [
'tls' => 'nullable|array',
'alpn' => 'nullable|string',
],
];
private function getBaseRules(): array