lolka1333
6f5d9e3916
Merge branch 'main' into main
2026-01-03 03:17:46 +01:00
weekend sorrow
1393f981bc
feat: Add etckeeper compatibility ( #3602 )
2026-01-03 03:13:00 +01:00
Ilya Kryuchkov
9a2c1c6b43
Fix: panel redirecting to old port after restart ( #3594 )
...
* Fix panel redirect logic
* Fix panel redirect logic
* remove duplicate code
* Cr fixes
2026-01-03 03:05:10 +01:00
lolka1333
d32edc272e
Merge branch 'main' into main
2026-01-03 02:22:08 +01:00
Vlad Yaroslavlev
278aa1c85c
Fix telegram bot issue ( #3608 )
...
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
Release 3X-UI / Build for Windows (push) Waiting to run
* fix: improve Telegram bot handling for concurrent starts and graceful shutdown
- Added logic to stop any existing long-polling loop when Start is called again.
- Introduced a mutex to manage access to shared state variables, ensuring thread safety.
- Updated the OnReceive method to prevent multiple concurrent executions.
- Enhanced Stop method to ensure proper cleanup of resources and state management.
* fix: enhance Telegram bot's long-polling management
- Improved handling of concurrent starts by stopping existing long-polling loops.
- Implemented mutex for thread-safe access to shared state variables.
- Updated OnReceive method to prevent multiple executions.
- Enhanced Stop method for better resource cleanup and state management.
* .
2026-01-02 16:13:32 +01:00
Anton Petrov
8fe297ef9d
Fix QR codes colors inversion ( #3607 )
2026-01-02 16:12:30 +01:00
Zhenyu Qi
c881d1015a
fix: handle GitHub API error responses in GetXrayVersions ( #3609 )
...
GitHub API returns JSON object instead of array when encountering errors
(e.g., rate limit exceeded). This causes JSON unmarshal error:
'cannot unmarshal object into Go value of type []service.Release'
Add HTTP status code check to handle error responses gracefully and
return user-friendly error messages instead of JSON parsing errors.
Fixes issue where getXrayVersion fails with unmarshal error when
GitHub API rate limit is exceeded.
2026-01-02 16:12:13 +01:00
Nebulosa
c061337ce7
Set log folder variable to /var/log/3x-ui ( #3599 )
...
* Set log folder variable to /var/log/3x-ui
* Set log folder as x-ui and create the log folder
* Create the log folder in install and update scripts
2026-01-02 16:11:32 +01:00
lolka1333
f7d5f00d50
Merge branch 'main' into main
2025-12-29 22:30:54 +01:00
Wyatt
260eedf8c4
fix: add missing is_domain helper function to x-ui.sh ( #3612 )
...
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
Release 3X-UI / Build for Windows (push) Has been cancelled
The is_domain function was being called in ssl_cert_issue() but was never
defined in x-ui.sh, causing 'Invalid domain format' errors for valid domains.
Added is_ipv4, is_ipv6, is_ip, and is_domain helper functions to match
the definitions in install.sh and update.sh.
Co-authored-by: wyatt <wyatt@Wyatts-MacBook-Air.local>
2025-12-28 16:38:26 +01:00
Sanaei
69ccdba734
Self-signed SSL ( #3611 )
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
Release 3X-UI / Build for Windows (push) Waiting to run
2025-12-28 00:03:33 +01:00
lolka1333
95ba3c93ef
Merge branch 'main' into main
2025-12-23 22:40:54 +01:00
zd
4c797dc154
fix: display of outbound traffic ( #3604 )
...
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
Release 3X-UI / Build for Windows (push) Has been cancelled
shows the direction of traffic
2025-12-23 15:43:25 +01:00
lolka1333
d3670a8a6c
refactor: update testseed methods for improved reactivity and binding in VLESS form
2025-12-14 13:54:17 +01:00
lolka1333
d2b8593f5b
fix:
2025-12-14 13:43:01 +01:00
lolka1333
1bf2e3cd6b
fix:
2025-12-14 13:31:42 +01:00
lolka1333
7c9204d183
fix:
2025-12-14 13:23:38 +01:00
lolka1333
ca4d2e1e90
refactor: ensure proper WebSocket URL construction by normalizing basePath
2025-12-14 13:14:53 +01:00
lolka1333
cf1b39c714
fix:
2025-12-14 13:04:23 +01:00
lolka1333
c4e9f3d9f5
refactor: enhance VLESS testseed initialization and button functionality in inbound modal
2025-12-14 12:53:12 +01:00
lolka1333
d2201c8fd4
refactor: disable WebSocket notifications in inbound and index HTML files
2025-12-14 12:27:46 +01:00
lolka1333
28aa2d0a0c
refactor: simplify WebSocket message handling by removing batching and ensuring individual message delivery
2025-12-14 12:20:02 +01:00
lolka1333
1d732606f3
fix: add fallback date formatting for cases when IntlUtil is not available
2025-12-14 12:02:01 +01:00
lolka1333
527e1b2c75
refactor: simplify VLESS divider condition by removing unnecessary flow checks
2025-12-14 11:44:55 +01:00
lolka1333
a4909f83f0
fix: ensure testseed is initialized correctly for VLESS protocol and improve client handling in inbound modal
2025-12-14 11:32:06 +01:00
lolka1333
6247e79ac3
refactor: translate comments to English
2025-12-14 10:48:43 +01:00
lolka1333
71ff84a24d
chore: downgrade version to 2.8.5
2025-12-14 10:28:07 +01:00
lolka1333
3ed6d368b6
feat: integrate WebSocket support for real-time updates on inbounds and Xray service status
2025-12-14 09:18:38 +01:00
lolka1333
95551dd2d5
refactor: enhance TLS settings form layout with improved button styling and spacing
2025-12-14 05:32:40 +01:00
lolka1333
d7116abf69
refactor: update VLESS form to rename 'Test Seed' to 'Vision Seed' and change button functionality for seed generation
2025-12-14 04:39:35 +01:00
lolka1333
4b499c8027
refactor: remove default and random seed buttons from outbound form
2025-12-13 13:36:19 +01:00
lolka1333
d56139acd3
chore: bump version to 2.8.6 and add watcher for security changes in inbound modal
2025-12-13 13:30:49 +01:00
lolka1333
8ed2119004
chore: update Xray Core version to 25.12.8 in Docker initialization script
2025-12-13 12:49:57 +01:00
lolka1333
688099fd99
chore: update Xray Core version to 25.12.8 in release workflow
2025-12-13 12:35:32 +01:00
lolka1333
4d5efe8dcd
feat: add support for trusted X-Forwarded-For and testseed parameters in VLESS settings
2025-12-13 12:16:57 +01:00
Борисов Семён
f000322a06
fix: handle CPU threshold error to prevent false notifications ( #3603 )
...
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
Release 3X-UI / Build for Windows (push) Has been cancelled
Previously, when GetTgCpu() failed, the error was ignored and threshold
defaulted to 0, causing notifications to be sent for any CPU usage.
Now the job properly checks for errors and skips notifications if:
- The threshold cannot be retrieved (error)
- The threshold is not set or is 0
This ensures notifications are only sent when CPU usage exceeds the
configured threshold value from settings.
2025-12-12 14:29:27 +01:00
MHSanaei
0ea8b5352a
fix
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
Release 3X-UI / Build for Windows (push) Has been cancelled
2025-12-04 00:09:13 +01:00
MHSanaei
68240061aa
Xray Core 25.12.2
2025-12-03 23:45:28 +01:00
MHSanaei
0695f677ba
update dependencies
2025-12-03 23:45:11 +01:00
Danil S.
70f6d6b21a
chore: use Intl for date formatting ( #3588 )
...
* chore: use `Intl` for date formatting
* fix: show last traffic reset
* chore: use raw timestamps
* fix: remove unnecessary import
2025-12-03 23:37:27 +01:00
JieXu
e8c509c720
Update for Red Hat base Linux ( #3589 )
...
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
Release 3X-UI / Build for Windows (push) Waiting to run
* Update install.sh
* Update update.sh
* Update x-ui.sh
* Update install.sh
* Update update.sh
* Update x-ui.sh
* fix
2025-12-03 21:40:49 +01:00
Roman Gogolev
83a1c721c7
Fix int64 for 32-bit arch ( #3591 )
...
* fix int64 for 32-bit arch
* Update web/service/tgbot.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-03 14:58:54 +01:00
Anton Petrov
7ccc0877a1
Add "Last Online" printing for Telegram bot ( #3593 )
2025-12-03 14:43:37 +01:00
Evgeny Popov
ad659e48cf
Update x-ui.sh ( #3595 )
...
Add curl & openssl pkgs for acme inside docker container
2025-12-03 14:42:10 +01:00
mhsanaei
784ed39930
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
Release 3X-UI / Build for Windows (push) Has been cancelled
2025-11-09 00:56:14 +01:00
fgsfds
538f7fd5d7
Fix: Incorrect time in xray logs ( #3587 )
...
* fixed timezone in xray logs
* remove leading / at the address
2025-11-09 00:42:02 +01:00
fgsfds
cf38226b5d
Add update-all-geofiles key to x-ui.sh ( #3586 )
...
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
Release 3X-UI / Build for Windows (push) Waiting to run
* added update-all-geofiles key to x-ui.sh that updated all geofiles
* fix
* text fixes
* typo fix
* cleanup
2025-11-07 19:26:43 +01:00
lillinlin
575ee854c8
Better Random Reality ( #3585 )
...
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
Release 3X-UI / Build for Windows (push) Has been cancelled
* Update reality_targets.js
* Update inbound.js
2025-11-02 14:46:50 +01:00
OleksandrParshyn
9936af80dd
Fix: Invoke service.StopBot() in signal handlers ( #3583 )
...
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
Release 3X-UI / Build for Windows (push) Waiting to run
Ensures the global Telegram bot stop function (`service.StopBot()`) is called upon receiving system signals (SIGHUP for restart, SIGINT/SIGTERM for shutdown). This complements the changes in `tgbot.go` to guarantee a clean shutdown of the Telegram bot's Long Polling operation, fully resolving the 409 Conflict issue during panel restarts or shutdowns.
Changes:
- Added `service.StopBot()` call to the `syscall.SIGHUP` handler.
- Added `service.StopBot()` call to the default shutdown handler.
2025-11-01 14:33:35 +01:00
Дмитрий Олегович Саенко
4a75bd0a48
Feature: add setting certs for subscription while generating for panel ( #3578 )
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
Release 3X-UI / Build for Windows (push) Waiting to run
2025-11-01 13:10:27 +01:00