Commit graph

1506 commits

Author SHA1 Message Date
MHSanaei 88eab032be
Add TUN protocol for inbound
Introduces TUN protocol to inbound.js, including a new TunSettings class. Updates inbound form to support TUN protocol and adds a dedicated form template for TUN settings. Translation files are updated with TUN-related strings for all supported languages.
2026-01-18 16:47:01 +01:00
lolka1333 77fa976ee9
Enhance WebSocket client connection logic and improve event listener management (#3636)
- Updated WebSocketClient to allow connection during CONNECTING state.
- Introduced a flag for reconnection attempts.
- Improved event listener registration to prevent duplicate callbacks.
- Refactored online clients update logic in inbounds.html for better performance and clarity.
- Added CSS styles for subscription link boxes in subpage.html to enhance UI consistency and interactivity.

Co-authored-by: lolka1333 <test123@gmail.com>
2026-01-18 15:38:57 +01:00
MHSanaei 8098d2b1b1
Return nil if no error in GetXrayErr
Added a check to return nil immediately if p.GetErr() returns nil in GetXrayErr, preventing further error handling when no error is present.
2026-01-13 17:40:52 +01:00
MHSanaei c117b8b272
mtu to 1250 2026-01-05 18:10:06 +01:00
Ilya Kryuchkov 6041d10e3d
Refactor code and fix linter warnings (#3627)
* refactor: use any instead of empty interface

* refactor: code cleanup
2026-01-05 05:54:56 +01:00
lolka1333 4800f8fb70
feat: Real-time Outbound Traffic, UI Improvements & Fix (#3629)
* Refactor HTML and JavaScript for improved UI and functionality

- Cleaned up JavaScript methods in subscription.js for better readability.
- Updated inbounds.html to clarify traffic update handling and removed unnecessary comments.
- Enhanced xray.html by correcting casing in routingDomainStrategies.
- Added mobile touch scrolling styles in page.html for better tab navigation on small screens.
- Streamlined vless.html by removing redundant line breaks and improving form layout.
- Refined subscription subpage.html for better structure and user experience.
- Adjusted outbounds.html to improve button visibility and functionality.
- Updated xray_traffic_job.go to ensure accurate traffic updates and real-time UI refresh.

* Refactor client traffic handling in InboundService

- Updated addClientTraffic method to initialize onlineClients as an empty slice instead of nil.
- Improved clarity and consistency in handling empty onlineUsers scenario.

* Add WebSocket support for outbounds traffic updates

- Implemented WebSocket connection in xray.html to handle real-time updates for outbounds traffic.
- Enhanced xray_traffic_job.go to retrieve and broadcast outbounds traffic updates.
- Introduced MessageTypeOutbounds in hub.go for managing outbounds messages.
- Added BroadcastOutbounds function in notifier.go to facilitate broadcasting outbounds updates to connected clients.

---------

Co-authored-by: lolka1333 <test123@gmail.com>
2026-01-05 05:50:40 +01:00
MHSanaei 3f15d21f13
fix #3622 2026-01-03 22:31:31 +01:00
MHSanaei 5bcf6a8aeb
minor changes 2026-01-03 05:56:35 +01:00
lolka1333 313a2acbf6
feat: Add WebSocket support for real-time updates and enhance VLESS settings (#3605)
* feat: add support for trusted X-Forwarded-For and testseed parameters in VLESS settings

* chore: update Xray Core version to 25.12.8 in release workflow

* chore: update Xray Core version to 25.12.8 in Docker initialization script

* chore: bump version to 2.8.6 and add watcher for security changes in inbound modal

* refactor: remove default and random seed buttons from outbound form

* refactor: update VLESS form to rename 'Test Seed' to 'Vision Seed' and change button functionality for seed generation

* refactor: enhance TLS settings form layout with improved button styling and spacing

* feat: integrate WebSocket support for real-time updates on inbounds and Xray service status

* chore: downgrade version to 2.8.5

* refactor: translate comments to English

* fix: ensure testseed is initialized correctly for VLESS protocol and improve client handling in inbound modal

* refactor: simplify VLESS divider condition by removing unnecessary flow checks

* fix: add fallback date formatting for cases when IntlUtil is not available

* refactor: simplify WebSocket message handling by removing batching and ensuring individual message delivery

* refactor: disable WebSocket notifications in inbound and index HTML files

* refactor: enhance VLESS testseed initialization and button functionality in inbound modal

* fix:

* refactor: ensure proper WebSocket URL construction by normalizing basePath

* fix:

* fix:

* fix:

* refactor: update testseed methods for improved reactivity and binding in VLESS form

* logger info to debug

---------

Co-authored-by: lolka1333 <test123@gmail.com>
2026-01-03 05:26: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
Vlad Yaroslavlev 278aa1c85c
Fix telegram bot issue (#3608)
* 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
zd 4c797dc154
fix: display of outbound traffic (#3604)
shows the direction of traffic
2025-12-23 15:43:25 +01:00
Борисов Семён f000322a06
fix: handle CPU threshold error to prevent false notifications (#3603)
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
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
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
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
lillinlin 575ee854c8
Better Random Reality (#3585)
* Update reality_targets.js

* Update inbound.js
2025-11-02 14:46:50 +01:00
Дмитрий Олегович Саенко 4a75bd0a48
Feature: add setting certs for subscription while generating for panel (#3578) 2025-11-01 13:10:27 +01:00
Rashid Yusubov b0c223c631
fix: improve russian localization (#3576)
* fix: improve russian localization

* fix: updating the Russian translation according to the suggestions
2025-11-01 13:07:49 +01:00
Denis Gorelov 313b51f96f
feat: Add random Reality Target/SNI selection from 52 popular services (#3577)
* feat: Add random Reality Target/SNI selection from 52 popular services

- Created reality_targets.js with list of 52 popular services
- Updated RealityStreamSettings to use random targets by default
- Added UI randomize buttons with sync icon in Reality settings form
- Implemented randomizeRealityTarget() method in inbound modal
- Replaces hardcoded google.com with diverse global services

* fix

---------

Co-authored-by: mhsanaei <ho3ein.sanaei@gmail.com>
2025-11-01 13:07:05 +01:00
OleksandrParshyn 020cd63e22
Fix: Graceful Telegram bot shutdown to prevent 409 Conflict (#3580)
* Fix: Graceful Telegram bot shutdown to prevent 409 Conflict

Introduces a `botCancel` context and a global `StopBot()` function to ensure the Telegram bot's Long Polling operation is safely terminated (via context cancellation) before the service restarts. This prevents the "Conflict: another update consumer is running" (409) error upon panel restart.

Changes:
- Added `botCancel context.CancelFunc` to manage context cancellation.
- Implemented global `StopBot()` function.
- Updated `Tgbot.Stop()` to call `StopBot()`.
- Modified `Tgbot.OnReceive()` to use the new cancellable context for `UpdatesViaLongPolling`.

* Fix: Prevent race condition and goroutine leak in TgBot

Addresses a critical race condition on the global `botCancel` variable, which could occur if `Tgbot.OnReceive()` was called concurrently (e.g., during rapid panel restarts or unexpected behavior).

Changes in tgbot.go:
- Added `tgBotMutex sync.Mutex` to ensure thread safety.
- Protected `botCancel` creation and assignment in `OnReceive()` using the mutex, and added a check to prevent overwriting an active context, which avoids goroutine leaks.
- Protected the cancellation and cleanup logic in `StopBot()` with the mutex.

* Refactor: Replace time.Sleep with sync.WaitGroup for reliable TgBot shutdown

Replaced the unreliable `time.Sleep(1 * time.Second)` in `service.StopBot()` with `sync.WaitGroup`. This ensures the Long Polling goroutine is explicitly waited for and reliably exits before the panel continues, preventing potential resource leaks and incomplete shutdowns during restarts.

Changes:
- Added `botWG sync.WaitGroup` variable.
- Updated `service.StopBot()` to call `botWG.Wait()` instead of `time.Sleep()`.
- Modified `Tgbot.OnReceive()` to correctly use `botWG.Add(1)` and `defer botWG.Done()` within the Long Polling goroutine.
- Corrected the goroutine structure in `OnReceive()` to properly encapsulate all message handling logic.
2025-11-01 13:01:44 +01:00
mhsanaei 713a7328f6
gofmt 2025-10-21 13:02:55 +02:00
mhsanaei d8523bbdac
fix(import): prevent sqlite disk I/O error by validating temp DB then swapping 2025-10-14 22:03:17 +02:00
fpointsstar 00baeffe74
Update translate.ru_RU.toml (#3574)
Fix RU translation for login title: replace “Приветствие!” with “Добро пожаловать!” to match English “Welcome”.
2025-10-07 16:31:32 +02:00
mhsanaei b578a33518
update dependencies 2025-10-07 13:49:08 +02:00
mhsanaei 8153e0ac05
fragment : MaxSplit 2025-10-07 13:46:30 +02:00
mhsanaei 2eb9d2e2e8
DevTools 2025-10-02 01:47:12 +02:00
Vadim Iskuchekov a824875c4f
fix: improve error handling in periodic traffic reset job (#3572) 2025-10-01 23:12:09 +02:00
mhsanaei e7cfee570b
first try native CPU implementation 2025-10-01 20:13:32 +02:00
konstpic b65ec83c39
fix: fix delete method (#3569)
Co-authored-by: Пичугин Константин <k.pichugin@comagic.dev>
2025-09-29 18:16:46 +02:00
konstpic 28a17a80ec
feat: add ldap component (#3568)
* add ldap component

* fix: fix russian comments, tls cert verify default true

* feat: remove replaces go mod for local dev
2025-09-28 21:04:54 +02:00
Дмитрий Олегович Саенко 172f2ddaa7
fix russian translate in tgbot (#3557) 2025-09-25 15:21:40 +02:00
Tara Rostami d69af328dc
fix: login animation (#3559)
* Add IPv4 for wget in install

* fix: login animation
2025-09-25 15:16:50 +02:00
mhsanaei 89def9aee6
fix 2025-09-24 21:30:58 +02:00
mhsanaei b2b0024648
login: autocomplete password 2025-09-24 20:41:32 +02:00
mhsanaei a0c07241c0
minor changes 2025-09-24 11:47:14 +02:00
mhsanaei adf3242602
bug fix 2025-09-24 11:44:02 +02:00
mhsanaei 3f62592e4b
API improve security: returns 404 for unauthenticated API requests 2025-09-24 11:29:55 +02:00
Дмитрий Олегович Саенко 02bff4db6c
max port to 65535 (#3536)
* add EXPOSE port in Dockerfile

* fix: max port 65 531 -> 65 535

* fix

---------

Co-authored-by: mhsanaei <ho3ein.sanaei@gmail.com>
2025-09-23 19:43:56 +02:00
Happ-dev 8ff4e1ff31
Add Happ client export open link (#3542)
Co-authored-by: y.sivushkin <y.sivushkin@corp.101xp.com>
2025-09-23 16:46:45 +02:00
mhsanaei 26c6438ec2
fix api : subid, uuid from inbound settings 2025-09-23 11:52:40 +02:00
mhsanaei 1016f3b4f9
fix: outbound address for vless 2025-09-22 00:20:05 +02:00
mhsanaei d518979e4f
pageSize to 25 2025-09-21 20:47:34 +02:00
mhsanaei 83f8a03b50
TGbot: improved (5x faster) 2025-09-21 19:27:05 +02:00
mhsanaei b45e63a14a
API: UUID for getClientTraffics 2025-09-21 19:16:54 +02:00
mhsanaei 55f1d72af5
security fix: Uncontrolled data used in path expression 2025-09-21 18:51:54 +02:00
mhsanaei e64e6327ef
security fix: Uncontrolled data used in path expression 2025-09-21 17:52:18 +02:00
mhsanaei eacfbc86b5
security fix: Command built from user-controlled sources CWE-78
https://cwe.mitre.org/data/definitions/78.html
https://owasp.org/www-community/attacks/Command_Injection
2025-09-21 17:39:30 +02:00
mhsanaei 37c17357fc
undo vnext for vmess 2025-09-20 13:10:57 +02:00
Tara Rostami 5e7a3db873
Minor Fixes (#3520) 2025-09-20 09:36:56 +02:00
mhsanaei 6ced549dea
docs: add comments for all functions 2025-09-20 09:35:50 +02:00
mhsanaei f60682a6b7
new: VACUUM database 2025-09-19 17:14:39 +02:00
mhsanaei 50bd7a8040
better design for dns presets 2025-09-19 15:44:00 +02:00
mhsanaei 7465768ff7
fix: subpath panic 2025-09-19 14:39:21 +02:00
mhsanaei 5b00a52c65
fix: ineffectual assignment to needRestart 2025-09-19 10:47:28 +02:00
mhsanaei 151f1173a1
Fix ineffassign “date” 2025-09-19 10:46:49 +02:00
mhsanaei e262132b9d
misspell 2025-09-19 10:35:03 +02:00
mhsanaei 7447cec17e
go package correction v2 2025-09-19 10:05:43 +02:00
mhsanaei 0ffd27c0aa
v2.8.2 2025-09-19 00:22:15 +02:00
mhsanaei 054cb1dea0
go package correction 2025-09-18 23:12:14 +02:00
Drahonn 3757ae0b11
cpu history timeframe (#3509) 2025-09-18 20:52:31 +02:00
mhsanaei b46a0b404b
enhancements 2025-09-18 16:28:09 +02:00
mhsanaei 59ea2645db
new: subJsonEnable
after this subEnable by default is true
and subJsonEnable is false
2025-09-18 13:56:04 +02:00
mhsanaei 8c8d280f14
minor change 2025-09-18 12:20:21 +02:00
Harry NG c720008187
chore: update sub page URL (#3505)
* Fix: Shadowrocket link using base64 encoding

* chore: update url
2025-09-18 12:11:52 +02:00
mhsanaei 170d24499e
fix PeriodicTrafficResetJob: log only when there are matching inbound 2025-09-18 11:41:11 +02:00
mhsanaei 99c79d4056
fix: online 2025-09-17 20:02:58 +02:00
RahGozar fcdeb1fc79
feat: add UUID to ClientTraffic (#3491)
* Update client_traffic.go

* Update inbound.go
2025-09-17 17:45:28 +02:00
Harry NG 0a58b5e745
Fix: Shadowrocket link using base64 encoding (#3489) 2025-09-17 17:43:09 +02:00
Tara Rostami db7e7dcd29
css [fixes] (#3487) 2025-09-17 15:47:04 +02:00
mhsanaei 01b8a27996
bug fix 2025-09-17 15:46:03 +02:00
Tara Rostami d7efc2aef9
Minor Fixes (#3483)
* Minor Fixes

* Minor Fixes 2

---------

Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2025-09-17 13:47:01 +02:00
fgsfds 2eb8abf61e
Improved xray logs display handling (#3475)
* improved xray logs handling

* fix download Xray Logs

* Update index.html
2025-09-17 13:19:55 +02:00
mhsanaei 299572a4c2
API: subid to getClientTraffics
/getClientTraffics/:email
/getClientTrafficsById/:id
2025-09-17 01:29:22 +02:00
mhsanaei 22afa50901
fix CPU History intervals 2025-09-17 01:08:59 +02:00
mhsanaei bc274d1e1f
Reality: placeholder for min, max 2025-09-16 18:57:27 +02:00
mhsanaei dc21f41932
bug fix: del Depleted 2025-09-16 18:28:02 +02:00
mhsanaei f137b1af76
bug fix: enable 2025-09-16 14:57:31 +02:00
mhsanaei ecfffa882a
CPU History, CPU Utilization 2025-09-16 14:15:18 +02:00
mhsanaei 3af5026abe
tgbot: subscription, qrcode, link - for admin 2025-09-16 13:41:48 +02:00
mhsanaei 1de7accd7c
vnext removed 2025-09-16 13:41:05 +02:00
Tara Rostami 76afff2a6f
UI Improvements and Fixes (#3470) 2025-09-16 09:25:21 +02:00
Vadim Iskuchekov 9623e87511
feat: Simple periodic traffic reset (for Inbounds) – daily | weekly | monthly (#3407)
* Add periodic traffic reset feature model and ui with localization support

* Remove periodic traffic reset fields from client

* fix: add periodicTrafficReset field to inbound data structure

* feat: implement periodic traffic reset job and integrate with cron scheduler

* feat: enhance periodic traffic reset functionality with scheduling and inbound filtering

* refactor: rename periodicTrafficReset to trafficReset and add lastTrafficResetTime field

* feat: add periodic client traffic reset job and schedule tasks

* Update web/job/periodic_traffic_reset_job.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update web/job/periodic_client_traffic_reset_job.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update web/service/inbound.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor: rename periodicTrafficReset to trafficReset and add lastTrafficResetTime

* feat: add last traffic reset time display and update logic in inbound service

* fix: correct log message for completed periodic traffic reset

* refactor: update traffic reset fields in Inbound model and remove unused client traffic reset job

* refactor: remove unused traffic reset logic and clean up client model fields

* cleanup comments

* fix
2025-09-16 09:24:32 +02:00
mhsanaei 5408a2f82c
v2.8.0 2025-09-14 22:09:36 +02:00
mhsanaei c8d71ea748
minify css 2025-09-14 20:05:15 +02:00
mhsanaei bf9d2e6aeb
rule: Vless Route 2025-09-14 19:53:05 +02:00
mhsanaei ed96fa090b
tgbot: subscription,qrcode, link 2025-09-14 19:51:57 +02:00
Alireza Ahmadi 3ac1d7f546 enhancements 2025-09-14 19:44:26 +02:00
mhsanaei 10025ffa66
Subscription 2025-09-14 18:56:31 +02:00
mhsanaei 5ee62b25ca
clean html files
move styles to css
2025-09-12 18:46:20 +02:00
mhsanaei 311d11a3c1
cookie: MaxAge
and minor changes
2025-09-12 13:04:36 +02:00
Copilot 40b6d7707a
Fix critical bugs in ObjectUtil.equals() and filterInbounds() functions (#3451)
* Initial plan

* Fix ObjectUtil.equals asymmetric comparison and filterInbounds null pointer bugs

Co-authored-by: MHSanaei <33454419+MHSanaei@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MHSanaei <33454419+MHSanaei@users.noreply.github.com>
2025-09-11 11:48:30 +02:00
mhsanaei cbf316db31
Update check_client_ip_job.go 2025-09-11 11:10:17 +02:00
Ivan Korney 33a36ada4b
fix: ru top level domain regexp option (#3450) 2025-09-11 07:06:51 +02:00
mhsanaei 82ddd10627
Fixed: update Xray Core on Windows 2025-09-10 21:12:37 +02:00
mhsanaei 2401c99817
rules: source to sourceIP 2025-09-10 18:30:40 +02:00
mhsanaei 2f36a4047c
API: delClientByEmail 2025-09-10 16:36:12 +02:00
mhsanaei dc3b0d218a
Xray Core v25.9.11 2025-09-10 14:39:07 +02:00
mhsanaei 610d29765a
outbound: mixed to socks 2025-09-10 12:19:09 +02:00
mhsanaei 3f0bfa2472
Remove the buggy version of Xray core 2025-09-10 08:43:10 +02:00
mhsanaei 723ec25fb2
renamed dest to target 2025-09-09 14:35:21 +02:00
mhsanaei 7dc52e9a53
dokodemo-door, socks renamed to mixed, tunnel 2025-09-09 13:57:40 +02:00
Sanaei fe9f0d1d0e
api (#3434) 2025-09-09 02:32:05 +02:00
mhsanaei 18d74d54ca
outbound: ECH Config List 2025-09-08 21:25:30 +02:00
mhsanaei c7ba6ae909
add clear button 2025-09-08 21:17:48 +02:00
mhsanaei 5420e643cf
minor change 2025-09-08 14:32:49 +02:00
mhsanaei dbec28b915
remove unsupported cipher method 2025-09-07 22:55:37 +02:00
Sanaei b008ff4ad2
Vlessenc (#3426)
* mlkem768

* VlessEnc
2025-09-07 22:35:38 +02:00
Danil S. da6b89fdcd
chore: login improvements (#3408)
- added client-side form validation
- now with slow internet otp input does not appear later than all input
2025-09-04 12:11:52 +02:00
MHSanaei d7882c25d1
removed domainMatcher 2025-09-04 12:07:39 +02:00
Ali Golzar ed2a0a0bcf fix: prevent client updated_at from resetting when parent inbound is updated 2025-09-02 13:30:41 +03:30
Ali Golzar 4a0914cb1e
feat: add "Last Online" column to client list and modal (Closes #3402) (#3405)
* feat: persist client last online and expose API

* feat(ui): show client last online in table and info modal

* i18n: add “Last Online” across locales

* chore: format timestamps as HH:mm:ss
2025-08-31 18:33:50 +02:00
Ali Golzar d0796b26c9
fix(ui): hide Created/Updated columns and fix issues in small displays (#3400)
- Hide the “Created” and “Updated” columns in the clients
- Ensures the “All-time Traffic” column no longer overlaps with adjacent columns.
- Improves layout readability and prevents UI cluttering after the v2.6.7 update.

Closes #3399
2025-08-30 23:01:57 +02:00
mhsanaei 0c7b59ed47
removed: Allocate 2025-08-28 10:15:04 +02:00
Ali Golzar 3087c1b123
Add all-time traffic for inbounds and clients (#3387)
* feat(db): add allTime field to Inbound and ClientTraffic models

* feat(inbound): increment all_time for inbounds and clients on traffic updates

calculate correct all_time traffic on migrate command

* feat(ui): show all-time traffic column for inbounds and its clients

* i18n: add pages.inbounds.allTimeTraffic label across locales

* Add All Time Traffic Usage in inbounds page top banner
2025-08-28 01:10:50 +02:00
Ali Golzar 2198397197
Created / Updated fields for clients (#3384)
* feat(backend): add created_at/updated_at to clients and maintain on create/update
backfill existing clients and set updated_at on mutations

* feat(frontend): carry created_at/updated_at in client models and round-trip via JSON

* feat(frontend): display Created and Updated columns in client table with proper date formatting

* i18n: add pages.inbounds.createdAt/updatedAt across all locales

* Update inbound.go

Remove duplicate code
2025-08-27 19:30:49 +02:00
Igor Finagin d10c312e62
AutoFill OTP (#3381)
https://developer.apple.com/documentation/security/enabling-password-autofill-on-an-html-input-element
2025-08-25 13:42:02 +02:00
mhsanaei 24a3411465
more list for public IP address 2025-08-21 14:24:25 +02:00
Alireza Ahmand 2198e7a28f
feat: Add remaining time to tgbot #3355 (#3360) 2025-08-17 13:43:25 +02:00
mhsanaei 6b23b416a7
minor changes 2025-08-17 13:37:49 +02:00
mhsanaei 27445b30e9
DNS outbound: Set "reject" as the default value for nonIPQuery 2025-08-17 12:22:33 +02:00
mhsanaei 9b51e9a5c5
Freedom: Add maxSplit fragment option; Add applyTo noises option 2025-08-14 18:38:56 +02:00
mhsanaei 23dd80fbb0
remove unnecessary ant files 2025-08-12 12:57:02 +02:00
mhsanaei 6556884c7f
remove unnecessary vue files 2025-08-12 12:56:49 +02:00
Alireza Ahmadi d5c532c64f fix saving sockopt 2025-08-09 16:07:33 +02:00
mhsanaei ad5f774a1e
Axios v1.11.0 2025-08-09 13:46:28 +02:00
Alireza Ahmadi 825d93d95f
upgrade telego (#3334) 2025-08-08 20:41:06 +02:00
mhsanaei 9fc03bd10a
remove ocspStapling 2025-08-08 18:55:52 +02:00
fgsfds ae08a29cde
fix: Xray restarting after being manually stopped (#2896) (#3329) 2025-08-07 23:35:11 +05:00
somebodywashere ce72d53d1a
fix: inbounds slow loading (#3228) (#3322)
especially encountered on big amount of clients
2025-08-06 15:42:32 +02:00
fgsfds 5e641ff9e8
Added Update all geofiles button (#3318)
* added Update all geofiles button

* localized update all string
2025-08-06 11:20:07 +02:00
Alireza Ahmadi 569550d5f6 add sockopt to dockodemo 2025-08-05 14:02:23 +02:00
fgsfds 419ea63dd0
Added filters to the xray logs viewer (#3314)
* added filters to xray logs viewer

* better freedom/blackhole tags handling

* better freedom/blackhole tags handling 2

* fix comments

* fix comments 2
2025-08-05 12:10:14 +02:00
mhsanaei 4b03e9d919
v2.6.5 2025-08-04 19:12:37 +02:00
mhsanaei 7e9c3bdbaf
fix: sub enable warning 2025-08-04 19:09:01 +02:00
fgsfds 957f3dbb54
Added xray access log viewer (#3309)
* added xray access log viewer

* made modal window width adaptive

* hide logs button if xray logs are disabled
2025-08-04 18:47:48 +02:00
mhsanaei 05e60af283
fix: IPLimitlog display 2025-08-04 18:23:37 +02:00
mhsanaei 5e40458116
fix: simplify error handling 2025-08-04 18:01:32 +02:00
Sanaei baf6fdd29d
fix portMap json (#3312)
Co-authored-by: Alireza Ahmadi <alireza7@gmail.com>
2025-08-04 17:16:11 +02:00
Alireza Ahmadi 01f984e054 add dokodemo port mapping 2025-08-04 16:45:09 +02:00
Sanaei e4ba5ba53a
add ech support (#3310)
Co-authored-by: Alireza Ahmadi <alireza7@gmail.com>
2025-08-04 16:27:57 +02:00
mhsanaei 561c4810be
default Max Age to 360min 2025-08-04 11:38:23 +02:00
mhsanaei eb1b96643d
update languages 2025-08-04 11:22:09 +02:00
mhsanaei 1088d1faf3
minor changes 2025-08-04 01:30:01 +02:00
mhsanaei 0d595f56e4
change a-input to a-textarea 2025-08-04 00:57:06 +02:00
mhsanaei 30264043f8
Xray core: old version removed 2025-08-03 12:22:06 +02:00
mhsanaei c6062eb15c
outbound: mldsa65Verify 2025-08-03 12:09:37 +02:00
mhsanaei f1b7944828
pqv: mldsa65Verify 2025-08-03 12:01:49 +02:00
mhsanaei 7a57b31ff3
remove password type 2025-07-28 14:44:00 +02:00
mhsanaei 6e1b949081
Reality: min & max client ver 2025-07-28 13:45:47 +02:00
Mikhail Grigorev 0ad708b1b6
Added list of services for get public IP address (IP v4 and v6) (#3216)
* Fixed get public IP address

* Remove https://ifconfig.io/ip and https://ipinfo.tw/ip

---------

Co-authored-by: Mikhail Grigorev <grigorev_mm@magnit.ru>
2025-07-27 17:24:11 +02:00
Alireza Ahmadi 487ec74e0b add mldsa65 2025-07-25 01:22:01 +02:00
Azavax b1ab156e42
Endpoint for updating client traffic by email (#3259)
* Update api.go

* Update inbound.go

* Update inbound.go
2025-07-22 23:43:48 +02:00
mhsanaei 87042d77ba
ocspStapling set to 0 2025-07-22 12:49:02 +02:00
mhsanaei bbdeb65291
new alternative to get public IP address 2025-07-06 20:45:58 +02:00
Shishkevich D. 038cf34219
chore: return automatic generation of shadowsocks keys 2025-07-06 15:20:41 +07:00
Shishkevich D. 98a1517470
fix: login title shifts the input fields
* chore: revert "fix: reduced login title font-size for mobile (#3105)"

* chore: short login title translation for russian

* chore: change login title translation for ukrainian
2025-07-06 13:22:09 +07:00
mhsanaei ce76cedb0d
fixed: mux #3185 2025-07-04 14:02:33 +02:00
mhsanaei 24a313d605
fixed: type #3186 2025-07-04 13:25:24 +02:00
Shishkevich D. 5d11e6e13f
chore: reset two-factor authentication after changing admin credentials (#3029)
* chore: add `resetTwoFactor` argument for main.go

fixes #3025

* chore: reset two-factor authentication after changing admin credentials

* chore: reset two-factor authentication after changing admin credentials

---------

Co-authored-by: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2025-07-02 11:25:25 +02:00
Shishkevich D. c8c0e77714
chore: mark 2053 port as unsecured 2025-06-25 00:38:03 +07:00
Shishkevich D. 49b8f46864
fix: selecting a supported language
english could be selected by default at first load, even if the user's language was supported by the panel
2025-06-25 00:30:08 +07:00
Shishkevich D. cad07be847
chore: russian language improvements 2025-06-23 19:42:44 +07:00
Shishkevich D. 4b20f16024
refactor: new loading logic, icons for tabs 2025-06-22 00:27:09 +07:00
Shishkevich D. d642774a44
refactor: use new page templates 2025-06-21 15:38:43 +07:00
Shishkevich D. 1644904755
chore: clients comment improvement
- use default ant components instead custom styles
- remove comments in inbound info modal (duplicates information)
- enhance tooltip usage
2025-06-21 15:24:52 +07:00
Vadim Iskuchekov 5c10035bd9
feat: add comments under client id (#3131) 2025-06-21 14:55:35 +07:00
Shishkevich D. 2e6faf69e6
fix: generate correct keys for shadowsocks inbounds 2025-06-20 19:30:46 +07:00
Shishkevich D. cb22b4ad47
chore: add new dns features from v25.6.8
* chore: add new dns params

* chore: add `DNS Presets` modal

* chore: edit file names
2025-06-18 23:24:18 +07:00
spatiumstas 6a2e0071cf
fix: reduced login title font-size for mobile (#3105) 2025-06-18 22:31:10 +07:00
Shishkevich D. f86219f4de
refactor: use math.MaxUint16 when checking port 2025-06-17 22:45:03 +07:00
Shishkevich D. e272c160b1
chore: add download config button for wireguard 2025-06-17 22:25:24 +07:00
Shishkevich D. 00b61de646
chore: add translations for routing table 2025-06-16 12:26:49 +07:00
Shishkevich D. dff4ad31ff
chore: up minimal xray-core version to v25.6.8 2025-06-16 12:22:56 +07:00
rammiah d1e07954c5
feat: support metrics config 2025-06-11 18:42:41 +08:00
Shishkevich D. c7d315f848
chore: clean readme, add link to wiki (#3045) 2025-06-05 18:56:33 +07:00
Shishkevich D. 1781790dce
fix: don't show ip limit for some protocols (#3064)
this causes the modal window to fail because protocols like wireguard, dokodemo and so on do not have clients (like vless/vmess, shadowsocks, etc).
2025-06-05 18:12:06 +07:00
spatiumstas 29f950046a
feat: add command list in telegram bot (#3027) 2025-05-28 15:26:29 +07:00
Shishkevich D. c988d55256
fix: handle inbounds interaction errors (#3009)
eliminates messages like: “Inbound created successfully (Port 100 is already busy)”.
2025-05-16 23:56:56 +07:00
Columbiysky 3666d1193f
fix: Restore from .db file fails (#2988)
* fix: issue 2953. Restore from .db file fails because

* Update server.go
2025-05-14 17:35:53 +02:00
Tara Rostami 58f978bb0a
fix: 2fa qr-code (#2996) 2025-05-11 02:12:43 +02:00
ckun52880 6d47496069
chore: simplified chinese translate improved 2025-05-10 22:42:23 +07:00
Shishkevich D. 23293813bb
chore: add translations for a-table 2025-05-10 21:47:59 +07:00
Columbiysky c15ec5315a
chore: russian translate improved (#2990) 2025-05-10 19:41:53 +07:00
Shishkevich D. 1ddfe4aba3
chore: toasts translation refactoring 2025-05-09 10:46:29 +07:00
Shishkevich D. fe3b1c9b52
chore: implement 2fa auth (#2968)
* 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
nistootsin d39ccf4b8f
Added 3 new buttons to telegram bot (#2965)
* Add a new button to but : Reset All Clients

* handel translation for `Reset All Clients` button

* refactoring

* add a new button to telegram bot >> `Sorted Traffic Usage Report`

* - refactoring

* add ip limit conifg on new client adding time
2025-05-06 18:27:17 +02:00
Shishkevich D. 1aed2d8cdc
feat: implement geofiles update in panel (#2971)
solves #2672

Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
2025-05-06 18:10:58 +02:00
mhsanaei c3084aaece
geosite : category-porn 2025-05-06 09:55:06 +02:00
Columbiysky 85cbad3ef4
feat: hashing user passwords
solves problems #2944, #2783
2025-05-03 16:27:53 +07:00
Tara Rostami 2fbb1ca6c9
chore: minor fixes for login page 2025-04-27 11:22:43 +07:00
Shishkevich D. d9ab8b4ce4
fix: qr modal header 2025-04-19 22:43:24 +07:00
Shishkevich D. e6389f3fb3
chore: move qr params in a-popover 2025-04-19 22:36:17 +07:00
AKILA INDUNIL 96fd7d0e7c
feat: add a toggle to use public IPv4 in QR/URI 2025-04-19 22:32:22 +07:00
Shishkevich D. 1a53af0434
chore: deleting unnecessary functions 2025-04-18 17:55:09 +07:00
nistootsin be8d55dadb
feat: add Submit As Enable in telegram bot 2025-04-16 15:16:55 +07:00
Shishkevich D. 45c3d730d4
fix: Error when generating shadowsocks keys in Blake3_AES_256_GCM 2025-04-15 18:33:26 +07:00
mhsanaei 236dddf482
v2.5.7 2025-04-11 12:11:39 +02:00
kmoshax d956f78347
feat: add Arabic language (#2880)
* translation: add Arabic support into language manager

* translation: add Arabic language support

* translation: add Arabic language support in README files
2025-04-08 22:26:05 +07:00
Shishkevich D. 8ef447a997
chore: create FileManager class for downloading files 2025-04-08 22:17:29 +07:00
Shishkevich D. 520f7a2d15
fix: current tab highlight in sidebar (#2874) 2025-04-07 08:28:02 +07:00
mhsanaei 3ded4ee658
minor changes 2025-04-07 00:45:52 +02:00
Shishkevich D. bea19a263d
Code refactoring (#2865)
* refactor: use vue inline styles in entire application

* refactor: setting row in dashboard page

* refactor: use blob for download file in text modal

* refactor: move all html templates in `web/html` folder

* refactor: `DeviceUtils` -> `MediaQueryMixin`
The transition to mixins has been made, as they can update themselves.

* chore: pretty right buttons in `outbounds` tab in xray settings

* refactor: add translations for system status

* refactor: adjust gutter spacing in setting list item

* refactor: use native `a-input-password` for password field

* chore: return old system status
with new translations

* chore: add missing translation
2025-04-06 11:40:33 +02:00
Shishkevich D. 431d7350a5
chore: simplify login page (#2851)
* chore: change login page

* chore: minor improvements on login page

* chore: add login button padding

* fix: delete unnecessary attributes

* fix: Restore headline animation with DOMContentLoaded
2025-04-01 14:24:03 +02:00
Shishkevich D. 127bea7f73
fix: opening links in the sidebar 2025-03-30 22:02:05 +07:00
Columbiysky fec9b25248
locs(RU\UA): a bit better translate (#2841) 2025-03-30 11:29:35 +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
danilshishkevich 19f7938617 chore: giving keys for each a-collapse-panel 2025-03-25 15:13:17 +00:00
danilshishkevich fe791b6e99 chore: move client table into components 2025-03-24 15:17:45 +00:00
danilshishkevich a02bf3195d chore: improve styles
- elements with class `.collapse-title` are missing
- changed paddings in `.ant-xray-version-list-item` element
2025-03-24 12:22:12 +00:00
Shishkevich D. 3ea05d30c1 chore: transforming a common sidebar into a separate component
- also added saving collapsed state
2025-03-24 11:19:27 +00:00
Shishkevich D. 40ebf2902e fix: dashboard won't load 2025-03-24 10:02:01 +00:00
Shishkevich D. 14253c3586 chore: moving the modals to a separate directory 2025-03-24 09:57:37 +00:00
Shishkevich D. 7b15274c84 chore: moving the settings tabs to a separate directory 2025-03-24 09:45:15 +00:00
Shishkevich D. 6f4eefe601 chore: make class to get the device form factor 2025-03-21 15:09:05 +00:00
Shishkevich D. 510c35f450 chore: meta tag change
- `X-UA-Compatible` is only used by Internet Explorer, so it removed
- `robots` allows the panel not to be indexed by a search engine
2025-03-21 14:49:49 +00:00
Shishkevich D. 00addb0dd9 chore: delete display.css
these styles are not used anywhere
2025-03-21 14:38:41 +00:00
Shishkevich D. db140a1e9b
chore: improve russian translation (#2802)
* chore: improve russian translation

* chore: corrections in translation
2025-03-21 18:54:02 +07:00
Shishkevich D. 6e5ed881f2
chore: pretty Inbounds page (#2791)
* chore: pretty 'Inbounds' page

* chore: return styles for aCustomStatistic

styles was intended to properly display a-statistic in the app, but for some unknown reason it was removed

* fix: switch style in dark mode

---------
2025-03-18 22:13:01 +01:00
Kirill Dunaev d52c50fd9e
Russian translation fixes (#2792) 2025-03-18 20:56:58 +07:00
mhsanaei f7198c4c2f
Update index.html 2025-03-18 13:39:07 +01:00
Tara Rostami 21e7d45b54
Fixes and improvements (#2789)
* Fixes and improvements

* Update translate.en_US.toml
2025-03-18 09:51:05 +01:00
Shishkevich D. db62a07fb8
Code refactoring (#2785)
* chore: pretty theme menu in sidebar

* refactor: renaming component templates

* refactor: create custom `a-statistic` component

* fix: display button text only on large screens

* chore: remove loading background in overview page

* fix: show `Version` text when xray version is unknown
2025-03-17 18:26:07 +07:00
Shishkevich D. 7ae855e7c9
chore: some improvements (#2782)
* chore: improve outbound link input

* chore: ui improvement
2025-03-17 08:26:59 +07:00
Shishkevich D. b9307c6c9c
chore: pretty 'Overview' page (#2772)
* chore: pretty 'Overview' page

* chore: some improvements in 'overview page'
- reduced font size
- added caption to buttons
- fixed display of xray state
- xray version display returned
2025-03-15 12:15:46 +01:00
Ilya Afanasov d30cdbf49a
feat: custom subscription title in panel (#2773)
* feat: custom subscription title in panel

* feat: added translations
2025-03-15 08:16:59 +01:00
mhsanaei 0bde51b91e
Refactor: Use any instead of interface{} 2025-03-12 20:43:43 +01:00
mhsanaei 280a22b57d
warp - optimize utility code 2025-03-12 19:27:19 +01:00
mhsanaei 315d852087
fix - public IP #2763 2025-03-12 19:20:13 +01:00
mhsanaei 6a0d2e0a29
Axios v1.8.2 2025-03-11 13:18:52 +01:00
Shishkevich D. a811225610
fix: protocol checking during random uuidv4 generation
fixes the https://github.com/MHSanaei/3x-ui/issues/2750 issue
2025-03-10 22:09:51 +07:00
Shishkevich D. ad13ce6cde
fix: generating shortIds for vless reality (#2745) 2025-03-09 19:37:53 +07:00
Shishkevich D. c35179d924 chore: remove unused variable 2025-03-09 06:38:45 +00:00
Shishkevich D. cedc7f0fb8 chore: refactoring RandomUtil class
now we use window.crypto.getRandomValues to generate random values.
2025-03-09 06:37:05 +00:00
Shishkevich D. 64fa0e97a3 chore: use crypto.randomUUID() for generating UUIDv4 2025-03-09 06:09:42 +00:00
Shishkevich D. a45e9de472 chore: use Base64 library for generating SS password 2025-03-09 06:06:27 +00:00
Shishkevich D. 101e9ebf35 fix: modals style 2025-03-09 06:01:27 +00:00
Shishkevich D. 17a76d2843 Revert "chore: add missing params for grpc stream settings (outbound)"
This reverts commit 1c59afe031.
2025-03-09 05:38:34 +00:00
Shishkevich D. a23a5de540 Revert "chore: add new grpc params for outbound (#2744)"
This reverts commit c49ec9a74c.
2025-03-09 05:37:50 +00:00
Shishkevich D. a16e83468b
chore: add dns type for kcp protocol
see https://xtls.github.io/config/transports/mkcp.html#headerobject
2025-03-09 12:23:35 +07:00
Shishkevich D. 1c59afe031 chore: add missing params for grpc stream settings (outbound) 2025-03-09 04:49:17 +00:00
Shishkevich D. c49ec9a74c
chore: add new grpc params for outbound (#2744) 2025-03-09 11:28:12 +07:00
mhsanaei a0dd101d97
tgbot - restart
change restart force to restart
2025-03-08 23:08:04 +01:00
mhsanaei 700cf9c10b
minor changes 2025-03-08 18:14:48 +01:00
Shishkevich D. 697cd5e6d9
Code refactoring (#2739)
* refactor: switching to the use of typed props

* refactor: `password-input` -> `a-password-input`

* fix: qr modal copy error
2025-03-08 22:41:27 +07:00
Shishkevich D. c6d27a4463
chore: pretty backup and xray version modal (#2737)
* chore: pretty `backup & restore` modal

* chore: pretty `xray version` modal

* fix: new `xray version` modal style
2025-03-08 20:41:23 +07:00
Shishkevich D. 751f564c4a
fix: base64 encoding on vmess/shadowsocks inbounds (#2736) 2025-03-08 12:33:34 +07:00
Shishkevich D. 6658f648e6
refactor: move language manager to utils (#2735) 2025-03-08 09:54:41 +07:00
Shishkevich D. fad6c497eb chore: add empty screens for empty data (balancers, reverses, dns)
cleaned up some of the margins & paddings
2025-03-07 13:56:03 +00:00
Shishkevich D. 0a207b8a2c refactor: merging all util functions into classes 2025-03-07 09:07:23 +00:00
Shishkevich D. 26bf693dbd refactor: move copy function to utils.js 2025-03-07 07:27:33 +00:00
Shishkevich D. 7483fb2ec5 refactor: delete base64js
instead of base64 library you can use built-in JS functions `btoa()` and `atob()`
2025-03-07 07:11:03 +00:00
Shishkevich D. 2d8cca3a2e
refactor: delete clipboardjs (#2727)
text copying can be done without using additional libraries
2025-03-06 20:43:46 +01:00
UltraMegaPotato cf7fec1351
Change the cpu usage interval from second to minute (#2729)
feature(check_cpu_usage): Change the usage interval from second to minute
2025-03-06 20:38:58 +01:00
mhsanaei 361849b9db
Balancer fallbackTag #2724 2025-03-06 20:35:17 +01:00
Shishkevich D. c13db7922e
Pretty Panel and Xray settings (#2726)
* chore: refactor `setting-list-item` component

* chore: remove padding

* chore: replace settings list with settings collapse panels

* chore: add missing translations

* chore: fix translation
2025-03-06 11:17:25 +01:00
Shishkevich D. 99f26be30d
feat: add statistics section (#2718)
the "Outbounds Traffic" parameter, which was misleading, was also renamed and moved
2025-03-05 13:27:25 +01:00
mhsanaei b0edd24c52
Noise: Add hex 2025-03-05 13:22:07 +01:00
mhsanaei f0cfd48f66
Sockopt: Add addressPortStrategy 2025-03-05 13:14:17 +01:00
Shishkevich D. f5aea03765
chore: add global params for DNS (#2713)
parameter list: `disableCache`, `disableFallback`, `disableFallbackIfMatch`, `clientIp`
2025-03-04 14:18:51 +01:00
mhsanaei 14cdde371f
better view for uTLS 2025-03-04 12:50:49 +01:00
mhsanaei 99a23f25d5
TLS-REALITY : hide value of private key 2025-03-04 10:36:02 +01:00
Shishkevich D. 653ec90451
chore: pretty dns section in xray settings (#2700) 2025-03-04 09:55:13 +01:00
Shishkevich D. 91a84db479
chore: pretty auth tab in panel settings (#2701) 2025-03-04 09:54:59 +01:00
mhsanaei 0f97eca314
Xray core v25.3.3 2025-03-04 09:54:10 +01:00
mhsanaei fb79081aa1
TLS fingerprints: randomizednoalpn 2025-03-03 10:20:52 +01:00
mhsanaei ea19fb8ff6
fix mistake 2025-03-01 10:19:52 +01:00
atarwn f4cfe9eb63
Improved ru_RU translation (#2677)
* Improved ru_RU translation

Some words have been changed to sound nicer. I made some words less complicated to understand. I also fixed some warnings and messages so they are easier to read.

* Apply suggestions from code review
2025-02-28 10:42:27 +01:00
mhsanaei 4def70a006
Xray core buggy version removed 2025-02-27 13:40:56 +01:00
Shishkevich D. 08b55da408
feat: add quic protocol in xray rule modal (#2666) 2025-02-24 09:23:59 +01:00
mhsanaei 664bd9b596
bug fix #2660 2025-02-22 14:31:08 +01:00
mhsanaei ceb1217121
serverNameToVerify to verifyPeerCertInNames #2662 2025-02-22 14:09:52 +01:00
AAA 1bbf31df9f
feat(externalTrafficJob): External Traffic Inform (#2660)
* Add Setting entity + GUI field in panel settings

* Add a missing 'Traffic' in InformEnabale field

* Add ExternalTrafficURL Post request call

* Add translation + cleanup

* Move options to General tab

---------

Co-authored-by: root <root@vm3562019.stark-industries.solutions>
Co-authored-by: root <root@vm3688062.stark-industries.solutions>
2025-02-22 10:45:14 +01:00
Sanaei d18a1a37ce
revert group management (#2656)
* Revert "json post base path bug fixed (#2647)"

This reverts commit 04cf250a54.

* Revert "Group Management of Subscription Clients"

* Revert "fix getSubGroupClients for enable/disable and edit clients."

* Revert "Enhance database initialization in db.go (#2645)"

This reverts commit 66fe84181b.

* Revert "Add checkpoint handling in CloseDB function (#2646)"

This reverts commit 4dd40f6f19.

* Revert "Improved database model migration and added indexing (#2655)"

This reverts commit b922d986d6.
2025-02-04 11:27:58 +01:00
mhsanaei 94d651fc93
v2.5.1 2025-02-03 17:40:33 +01:00
Abolfazl Fazilat 8a7cffd63f
Completed translation for missing text (#2653) 2025-01-31 18:54:52 +01:00
AghayeCoder 46ba4c4518 fix getSubGroupClients for enable/disable and edit clients. 2025-01-31 17:27:09 +03:30
AghayeCoder a787ab497c switcher for outbound traffic 2025-01-31 17:24:03 +03:30
mhsanaei b4a1d81444
[subJson] better direct options
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2025-01-26 19:43:02 +01:00
mhsanaei 46ef506aa6
TLS - serverNameToVerify 2025-01-26 19:33:50 +01:00
mhsanaei 51220917c4
outbound Traffic - default false
if you need it you need to change it manually to true
2025-01-26 11:22:42 +01:00
mhsanaei b34956647b
minor change 2025-01-26 11:07:45 +01:00
mhsanaei 5c4e2dfd39
default setting - scStreamUpServerSecs 2025-01-26 11:07:35 +01:00
Ivan Zorin dd4c2adb37
Fix non-MultiUser dbInbounds (#2649) 2025-01-26 11:03:06 +01:00
mhsanaei 2dec7f48f5
bug fix - get client ips 2025-01-24 17:16:16 +01:00
Ali Rahimi 04cf250a54
json post base path bug fixed (#2647)
* json post base path bug fixed

* added comment field to group client management
2025-01-23 21:33:47 +01:00
mhsanaei 7911eeb69f
XHTTP - scStreamUpServerSecs 2025-01-21 22:43:13 +01:00
Ali Rahimi 6e9180a665
Group Management of Subscription Clients (#2644)
* add group user with the same subscription id to all inbounds

* code format compare

* add await for reset client traffic

* en language changed

* added client traffic syncer job

* handle exist email duplicate in sub group

* multi reset and delete request for clients group

* add client traffic syncer setting option

* vi translate file updated

* auto open qr-modal bug fixed
2025-01-21 03:01:54 +01:00
Tara Rostami 7b7eb98acb
Minor Fixes (CSS) (#2641) 2025-01-15 12:50:50 +01:00
Alex Churin 7eb5afdd8d
wireguard modal fix (#2640) 2025-01-14 16:08:19 +01:00
xtclovver 522ccda71c
Update translate.ru_RU.toml (#2637)
Fixed ru translation
2025-01-13 18:23:19 +01:00
mortefy f780efb430
Fixed ru translation (#2638) 2025-01-13 18:22:35 +01:00
mhsanaei 783f1a073e
time Location - local 2025-01-11 15:13:49 +01:00
Igor Semenov 0c47771671
Add Russian domains (#2635)
Add Russian domains
2025-01-11 13:39:32 +01:00
Tara Rostami 67920a1962
Minor Fixes (UI) (#2636)
* Minor Fixes (UI)

* Update custom.min.css
2025-01-11 13:38:26 +01:00
mhsanaei 49d3957c07
bug fix 2025-01-05 21:04:18 +01:00
mhsanaei ee946ceab2
iplimit: ipRegex improved
When the client has MUX enabled, a TCP or UDP prefix appears before the IP address. We initially weren’t aware of this behavior, but we have now resolved the issue.
2025-01-05 18:58:51 +01:00
mhsanaei 9fb9d7201e
Add custom v2ray rules for Russia
runetfreedom/russia-v2ray-rules-dat
2025-01-05 15:39:40 +01:00
mhsanaei 4a3b9b913d
bug fix - reality settings 2025-01-01 22:49:29 +01:00
mhsanaei da674d44cf
httpupgrade: remove host from header 2025-01-01 20:18:28 +01:00
LoST cc3252531b
Added "comment" in all languages (#2631)
- Added a "comment" in all languages

---------

Co-authored-by: mhsanaei <ho3ein.sanaei@gmail.com>
2025-01-01 19:13:55 +01:00
mhsanaei 284731deeb
xmux - hMaxReusableSecs 2025-01-01 18:48:47 +01:00
mhsanaei 9bc5c1d070
tcpNoDelay to penetrate 2025-01-01 18:42:50 +01:00
mhsanaei 26a7700557
Xray core buggy version removed
v1.8.24 and
major >=25.1.1
2025-01-01 18:36:46 +01:00
mhsanaei 6cc07254e0
Fallback - Reality
this is not my problem they don't mention it on their document
2024-12-30 00:38:49 +01:00
MHSanaei 747ad3b9c8
bug fix - outbound xhttp link 2024-12-27 21:30:51 +01:00
mhsanaei cf879f9527
bug fix - vmess tls 2024-12-27 17:59:59 +01:00
mhsanaei 04c658f1a0
Client: Comment
now you can add Comment and write anything you want to remember
2024-12-27 13:48:07 +01:00
mhsanaei 2ab1a174db
moment v2.30.1 2024-12-25 20:27:48 +01:00
mhsanaei dfca2af997
axios v1.7.9 2024-12-25 19:09:54 +01:00
Baton34 0a7d15b48c
RU: translation fix (#2620) 2024-12-22 14:10:06 +01:00
KiselevAlexander 02998c5467
Added ip limit data and controls to client info modal (#2617) 2024-12-20 18:34:30 +01:00
mhsanaei 73e90e0eaa
TLS, REALITY : fingerprint set default to chrome 2024-12-17 23:25:54 +01:00
mhsanaei 44ef1ac9a6
remove insecure cipher suites list 2024-12-17 23:18:16 +01:00
mhsanaei aeac7f2c8b
UTLS: unsafe 2024-12-17 23:17:12 +01:00
mhsanaei 0df85cc3d9
XHTTP: server & client
Remove scMinPostsIntervalMs, xmux, noGRPCHeader from the server side and add them to the client side.

Before you could have them on sub json but I decided to remove them.
2024-12-17 10:39:37 +01:00
MHSanaei f0f4f082ae
improve iplimit 2024-12-16 14:26:47 +01:00
MHSanaei b29bd993d4
fix session
twice  set-cookie bug fixed
2024-12-16 14:24:59 +01:00
mhsanaei 36b0289bc6
XHTTP: Add "scMaxBufferedPosts" 2024-12-16 11:20:38 +01:00
MHSanaei 918a2b1533
XHTTP: Add "hMaxRequestTimes, hKeepAlivePeriod" 2024-12-16 10:13:01 +01:00
mhsanaei b60387accb
XHTTP: Add "keepAlivePeriod" 2024-12-11 17:05:47 +01:00
mhsanaei 049177024b
Xray core buggy version removed
accept >= v24.11.30 or v1.8.24
2024-12-05 20:17:47 +01:00
mhsanaei 9c63638af1
xhttp - default settings 2024-12-05 20:15:19 +01:00
mhsanaei 4efcdb3e01
Transport: Remove HTTP
Migrated to XHTTP "stream-one" mode.
2024-12-04 13:49:43 +01:00
mhsanaei 4e0aca16c2
[warp] report error in change license
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-12-03 23:01:32 +01:00
lexnake3 749a426a71
show IP on warning log when user pass is not correct (#2607) 2024-12-03 22:41:14 +01:00
mhsanaei b859327b8a
splithttp to xhttp 2024-12-03 22:24:34 +01:00
mhsanaei 3e8fc59213
WebSocket: Add heartbeatPeriod 2024-12-03 22:07:58 +01:00
mhsanaei 462e02140d
XHTTP: Add "stream-one" 2024-12-03 21:57:44 +01:00
mhsanaei b569c21fec
XHTTP: noGRPCHeader 2024-11-21 17:56:25 +03:30
mhsanaei 5a4a42aeb8
update dependencies 2024-11-21 00:37:44 +03:30
mhsanaei 9476472bf6
AsIs - freedom DS 2024-11-21 00:31:45 +03:30
Alireza Ahmadi 2ce9c3cc81
fix core restart on client change (#2603) 2024-11-16 17:05:23 +03:30
modimobeikete c5bbb6b632
Add new language ja-JP (#2601) 2024-11-15 13:38:48 +03:30
mhsanaei ccda652e69
SplitHTTP - Mode 2024-11-14 13:09:51 +03:30
mhsanaei 111bfe5d2e
ShadowSocks - ivCheck 2024-11-12 14:01:42 +03:30
mhsanaei 6e59aa14b0
Xray core buggy version removed
accept >= v24.11.11 or v1.8.24
2024-11-12 12:13:10 +03:30
DecorativeFamily 35df2a0505
[CodeFactor] Apply fixes (#2595)
Co-authored-by: codefactor-io <support@codefactor.io>
2024-11-12 01:28:00 +03:30
mhsanaei adb08a60cf
rename - splithttp to xhttp 2024-11-03 10:51:53 +01:00
mhsanaei 5ae587ee81
bash - set or reset listenIP
we need this if we want to add SSH port forwarding
2024-10-30 16:35:36 +01:00
mhsanaei 19a31686da
REALITY: SplitHTTP transport 2024-10-30 14:46:27 +01:00
mhsanaei 0e3691fdbd
Xray core buggy version removed
only v24.10.16 or newer and v1.8.24
2024-10-29 14:56:30 +01:00
mhsanaei e359b5c75e
removed - XTLS Security
because its too old and no one use it anymore
2024-10-29 12:50:25 +01:00
pr3ci0u5 3b3bd3dea4
Update translate.ru_RU.toml (#2588) 2024-10-29 11:03:15 +01:00
mhsanaei 569d99512c
iplimit - accept all email format 2024-10-28 20:13:42 +01:00
mhsanaei d16ad11136
fix outbound noises
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-10-21 10:40:29 +02:00
MHSanaei bebf83f06c
wireguard - noKernelTun 2024-10-20 14:07:21 +02:00