Commit graph

1184 commits

Author SHA1 Message Date
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