Sanaei
3299d15f28
Merge branch 'main' into feature/multi-server-support
2025-08-14 18:06:16 +02:00
Alireza Ahmadi
825d93d95f
upgrade telego ( #3334 )
2025-08-08 20:41:06 +02:00
mhsanaei
d064e85ecd
update dependencies
Release 3X-UI / build (386) (push) Waiting to run
Release 3X-UI / build (amd64) (push) Waiting to run
Release 3X-UI / build (arm64) (push) Waiting to run
Release 3X-UI / build (armv5) (push) Waiting to run
Release 3X-UI / build (armv6) (push) Waiting to run
Release 3X-UI / build (armv7) (push) Waiting to run
Release 3X-UI / build (s390x) (push) Waiting to run
2025-08-08 18:56:47 +02:00
Sanaei
d65233cc2c
Merge branch 'main' into feature/multi-server-support
2025-08-04 10:33:41 +02:00
mhsanaei
267024c43f
xray core v25.8.3
2025-08-04 01:28:14 +02:00
google-labs-jules[bot]
11dc06863e
feat: Add multi-server support for Sanai panel
...
This commit introduces a multi-server architecture to the Sanai panel, allowing you to manage clients across multiple servers from a central panel.
Key changes include:
- **Database Schema:** Added a `servers` table to store information about slave servers.
- **Server Management:** Implemented a new service and controller (`MultiServerService` and `MultiServerController`) for CRUD operations on servers.
- **Web UI:** Created a new web page for managing servers, accessible from the sidebar.
- **Client Synchronization:** Modified the `InboundService` to synchronize client additions, updates, and deletions across all active slave servers via a REST API.
- **API Security:** Added an API key authentication middleware to secure the communication between the master and slave panels.
- **Multi-Server Subscriptions:** Updated the subscription service to generate links that include configurations for all active servers.
- **Installation Script:** Modified the `install.sh` script to generate a random API key during installation.
**Known Issues:**
- The integration test for client synchronization (`TestInboundServiceSync`) is currently failing. It seems that the API request to the mock slave server is not being sent correctly or the API key is not being included in the request header. Further investigation is needed to resolve this issue.
2025-07-27 17:25:58 +02:00
mhsanaei
f5f4a530cc
xray core v25.7.26
2025-07-27 16:54:35 +02:00
mhsanaei
761728255c
GO v1.24.5 + update dependencies
2025-07-24 15:17:01 +02:00
mhsanaei
f3d0b92e4a
update dependencies
2025-07-02 11:17:26 +02:00
Ali Golzar
1b1cbfff42
feat: support .env file ( #3013 )
Release 3X-UI / build (386) (push) Has been cancelled
Release 3X-UI / build (amd64) (push) Has been cancelled
Release 3X-UI / build (arm64) (push) Has been cancelled
Release 3X-UI / build (armv5) (push) Has been cancelled
Release 3X-UI / build (armv6) (push) Has been cancelled
Release 3X-UI / build (armv7) (push) Has been cancelled
Release 3X-UI / build (s390x) (push) Has been cancelled
2025-05-17 12:33:22 +02:00
mhsanaei
ef625c75d8
v2.6.0
Release 3X-UI / build (386) (push) Waiting to run
Release 3X-UI / build (amd64) (push) Waiting to run
Release 3X-UI / build (arm64) (push) Waiting to run
Release 3X-UI / build (armv5) (push) Waiting to run
Release 3X-UI / build (armv6) (push) Waiting to run
Release 3X-UI / build (armv7) (push) Waiting to run
Release 3X-UI / build (s390x) (push) Waiting to run
2025-05-16 14:26:20 +02:00
mhsanaei
182e591c48
Xray-core v25.5.16
2025-05-16 13:05:46 +02:00
mhsanaei
7a5a833af3
update dependencies
Release 3X-UI / build (386) (push) Has been cancelled
Release 3X-UI / build (amd64) (push) Has been cancelled
Release 3X-UI / build (arm64) (push) Has been cancelled
Release 3X-UI / build (armv5) (push) Has been cancelled
Release 3X-UI / build (armv6) (push) Has been cancelled
Release 3X-UI / build (armv7) (push) Has been cancelled
Release 3X-UI / build (s390x) (push) Has been cancelled
2025-05-11 13:05:45 +02:00
Shishkevich D.
fe3b1c9b52
chore: implement 2fa auth ( #2968 )
...
Build and Release 3X-UI / build (386) (push) Has been cancelled
Build and Release 3X-UI / build (amd64) (push) Has been cancelled
Build and Release 3X-UI / build (arm64) (push) Has been cancelled
Build and Release 3X-UI / build (armv5) (push) Has been cancelled
Build and Release 3X-UI / build (armv6) (push) Has been cancelled
Build and Release 3X-UI / build (armv7) (push) Has been cancelled
Build and Release 3X-UI / build (s390x) (push) Has been cancelled
* chore: implement 2fa auth
from #2786
* chore: format code
* chore: replace two factor token input with qr-code
* chore: requesting confirmation of setting/removing two-factor authentication
otpauth library was taken from cdnjs
* chore: revert changes in `ClipboardManager`
don't need it.
* chore: removing twoFactor prop in settings page
* chore: remove `twoFactorQr` object in `mounted` function
2025-05-08 16:20:58 +02:00
mhsanaei
3d54e33051
v2.5.8
Build and Release 3X-UI / build (386) (push) Has been cancelled
Build and Release 3X-UI / build (amd64) (push) Has been cancelled
Build and Release 3X-UI / build (arm64) (push) Has been cancelled
Build and Release 3X-UI / build (armv5) (push) Has been cancelled
Build and Release 3X-UI / build (armv6) (push) Has been cancelled
Build and Release 3X-UI / build (armv7) (push) Has been cancelled
Build and Release 3X-UI / build (s390x) (push) Has been cancelled
2025-04-30 11:24:06 +02:00
mhsanaei
0306e75c2a
update dependencies
2025-04-30 10:51:49 +02:00
mhsanaei
8e472838d8
update dependencies
2025-04-11 11:09:43 +02:00
mhsanaei
878e0d02cd
Xray Core v25.3.31
...
+update dependencies
2025-04-04 21:20:07 +02:00
Pk-web6936
b15ea1f74d
chore: update Go to v1.24.2 ( #2866 )
...
* Go v1.24.2
* Update dependencies
2025-04-04 21:25:48 +07:00
nistootsin
728166bd1a
Add Admin-Controlled Client Management to Telegram Bot ( #2788 )
...
* Add feature to add clients to inbound:
- Implement buttons for adding new clients
- Handle client addition process (submission remains to be completed)
- Support for multiple languages
* update the go.mod
* feat: complete submission process for adding a client to inbounds
* - Add client variables: client_method, client_sh_password, client_tr_password
- Exclude specific inbound protocols (HTTP, WireGuard, Socks, DOKODEMO) from addclient inline button
* - customize the add client message and json for each protocol
* - handle password input rather than id for shadow and trojan protocols
* - remove add_client_as_enable button in bot
* restructrure the add client bot feature
* update all files in web/translation/
* Refactoring
* - add traffic button to add client bot feature
* - fix a mistake in the email prompt message
* - add expire data button to add client telegram process.
* Refactroring
* remove refresh button in add client
* - delete message after cancel
* - uptimize the process of adding client by deleting main message on
getting text inputs.
2025-03-26 19:16:35 +01:00
mhsanaei
2ffde55f8f
v2.5.6 - Happy Nowruz
2025-03-20 10:54:54 +01:00
mhsanaei
f408bd7c77
Xray core v2.3.6 + update dependencies
2025-03-10 09:51:31 +01:00
mhsanaei
3caace2cb6
update dependencies
2025-03-05 15:40:27 +01:00
mhsanaei
0f97eca314
Xray core v25.3.3
2025-03-04 09:54:10 +01:00
mhsanaei
018e98a510
Go v1.24.0
2025-02-25 18:43:15 +01:00
mhsanaei
e754523689
Xray core v25.2.21
2025-02-22 13:46:15 +01:00
mhsanaei
aae0cb37b7
Xray Core v25.1.30
2025-02-03 17:37:01 +01:00
mhsanaei
de13729a97
update dependencies
2025-01-28 00:09:12 +01:00
mhsanaei
ac9ab828b5
GO v1.23.5 + update dependencies
2025-01-21 23:04:03 +01:00
mhsanaei
b6a919218a
Xray Core v25.1.1
2025-01-01 18:30:36 +01:00
mhsanaei
4ad5a5aba4
update dependencies
2024-12-28 15:15:01 +01:00
mhsanaei
e33ad809d6
Xray Core v24.12.18
2024-12-19 10:48:43 +01:00
MHSanaei
88a17cd227
Xray core v24.12.15
2024-12-16 10:00:15 +01:00
mhsanaei
67dfe664a6
GO v1.23.4 + update dependencies
2024-12-05 20:14:56 +01:00
mhsanaei
6b41df2d89
update dependencies
2024-12-03 21:33:01 +01:00
mhsanaei
c4a5c059e3
Xray Core v24.11.21
2024-11-21 17:31:21 +03:30
mhsanaei
5a4a42aeb8
update dependencies
2024-11-21 00:37:44 +03:30
mhsanaei
7ad4a3dffc
Xray-core v24.11.11
2024-11-13 14:23:53 +03:30
mhsanaei
a4cf77422f
update dependencies
2024-11-12 01:29:03 +03:30
dependabot[bot]
9f445686a4
Bump google.golang.org/grpc from 1.67.1 to 1.68.0 ( #2597 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.67.1 to 1.68.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.67.1...v1.68.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 01:10:21 +03:30
dependabot[bot]
e3576e8a85
Bump github.com/shirou/gopsutil/v4 from 4.24.9 to 4.24.10 ( #2593 )
...
Bumps [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil ) from 4.24.9 to 4.24.10.
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v4.24.9...v4.24.10 )
---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 17:40:14 +01:00
mhsanaei
1bcdc54b68
Xray Core v24.10.31
2024-10-31 09:47:39 +01:00
mhsanaei
8f36b7ea84
update dependencies
2024-10-29 11:00:07 +01:00
mhsanaei
4ca36d64a8
update dependencies
2024-10-16 16:26:07 +02:00
dependabot[bot]
d85226dc79
Bump github.com/nicksnyder/go-i18n/v2 from 2.4.0 to 2.4.1 ( #2582 )
...
Bumps [github.com/nicksnyder/go-i18n/v2](https://github.com/nicksnyder/go-i18n ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/nicksnyder/go-i18n/releases )
- [Changelog](https://github.com/nicksnyder/go-i18n/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nicksnyder/go-i18n/compare/v2.4.0...v2.4.1 )
---
updated-dependencies:
- dependency-name: github.com/nicksnyder/go-i18n/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-15 20:55:16 +02:00
MHSanaei
6a49e99a2c
update dependencies
2024-10-11 09:42:54 +02:00
mhsanaei
e72f67ca54
update dependencies
2024-10-07 15:24:35 +02:00
mhsanaei
02bc488c1c
go.mod for Xray v24.9.30
2024-10-03 16:06:25 +02:00
mhsanaei
f2ee18235f
update dependencies
2024-10-01 09:40:03 +02:00
dependabot[bot]
6cf2b56f9b
Bump github.com/valyala/fasthttp from 1.55.0 to 1.56.0 ( #2566 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.55.0 to 1.56.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.55.0...v1.56.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-25 13:07:10 +02:00