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
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
2f36a4047c
API: delClientByEmail
2025-09-10 16:36:12 +02:00
Ali Golzar
ed2a0a0bcf
fix: prevent client updated_at
from resetting when parent inbound is updated
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-09-02 13:30:41 +03:30
Ali Golzar
4a0914cb1e
feat: add "Last Online" column to client list and modal ( Closes #3402 ) ( #3405 )
...
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
* 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
mhsanaei
0c7b59ed47
removed: Allocate
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-08-28 10:15:04 +02:00
Ali Golzar
3087c1b123
Add all-time traffic for inbounds and clients ( #3387 )
...
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
* 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 )
...
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
* 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
mhsanaei
6b23b416a7
minor changes
2025-08-17 13:37:49 +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
nistootsin
d39ccf4b8f
Added 3 new buttons to telegram bot ( #2965 )
...
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
* 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
mhsanaei
0bde51b91e
Refactor: Use any instead of interface{}
2025-03-12 20:43:43 +01:00
Alireza Ahmadi
2ce9c3cc81
fix core restart on client change ( #2603 )
2024-11-16 17:05:23 +03:30
MHSanaei
1c2b6095c9
fix core restart on traffic reset of disabled client
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-10-15 20:54:23 +02:00
Alireza Ahmadi
1454c4ebc5
[bug] fix restarting core on disabling depleted user
2024-10-10 17:37:06 +02:00
Alireza Ahmadi
4b1c76e972
[refactor] email verification method
2024-10-10 17:32:50 +02:00
mhsanaei
4f2f855c04
validate Email - non-English Pattern
2024-10-09 10:49:05 +02:00
mhsanaei
566cd9e9c4
New - Allocate
2024-09-16 11:41:21 +02:00
mhsanaei
3e7c7831bc
Email Validation - new pattern
...
@ included
2024-09-12 10:07:53 +02:00
mhsanaei
b4baf35ed8
Update Email Validation
2024-09-05 15:16:15 +02:00
mhsanaei
2dc59a601c
fix restart after enabling user
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-09-02 10:26:19 +02:00
mhsanaei
93d52bc86c
new - vmess security (inbound client side - outbound)
2024-08-11 00:47:44 +02:00
mhsanaei
c7906e8598
API - Get client's traffic By ID
...
Co-Authored-By: Hassan Ali Gilani <mr.ajaxian@gmail.com>
2024-07-23 11:28:28 +02:00
mhsanaei
f1500a5d31
improved - message logs
2024-07-08 23:47:49 +02:00
mhsanaei
7a51d2f2cc
Typo fixed
2024-07-07 12:10:24 +02:00
mhsanaei
9ff7f14b6e
unnecessary log
2024-07-04 00:28:37 +02:00
mhsanaei
c3b42b8ea4
typo
2024-07-04 00:17:44 +02:00
mhsanaei
33082a271f
check error in remove by core-api
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-06-17 21:55:09 +02:00
mhsanaei
e794d3d87f
fix empty client ID on request
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-21 00:58:37 +03:30
somebodywashere
7118d92980
Convert string tgId to int64 on Migrate
2024-04-05 12:24:18 +03:00
mhsanaei
eb382cd5b4
tgbot - fix chatid
2024-04-02 15:04:44 +03:30
mhsanaei
0633a25d29
avoid empty client id
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-04-01 12:08:25 +04:30
somebodywashere
abd69a253a
Fixed unnecessary Xray restarts in Tgbot
2024-03-15 21:13:20 +03:00
MHSanaei
903db95783
minor changes
...
Co-Authored-By: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
2024-03-12 17:51:45 +03:30
MHSanaei
5f3c2f781e
avoid empty client id
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 11:52:28 +03:30
MHSanaei
6c73791cab
[xray] add BurstObservatory + minor changes
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-03-11 11:46:54 +03:30
Hamidreza
64a5a9f1bc
Some fixes and improvements ( #1997 )
...
* [refactor] api controller
* [fix] access log path
better to not hardcode the access log path, maybe some ppl dont want to use the default ./access.log
* [fix] set select options from logs paths in xray settings
* [update] .gitignore
* [lint] all .go files
* [update] use status code for jsonMsg and 401 to unauthorize
* [update] handle response status code via axios
* [fix] set correct value if log paths is set to 'none'
we also use the default value for the paths if its set to none
* [fix] iplimit - only warning access log if f2b is installed
2024-03-11 01:01:24 +03:30
Ikko Eltociear Ashimine
0785da7223
Update inbound.go ( #1925 )
...
Clinet -> Client
2024-02-27 15:03:37 +03:30
MHSanaei
81c9b4450b
minor changes
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Co-Authored-By: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
2024-02-23 17:37:32 +03:30
MHSanaei
c31882cb92
bug fix #1595
2024-02-21 22:20:51 +03:30
Saeid
6c0775b120
Show outbound traffic in outbounds table ( #1711 )
...
* store outbound traffic in database
* show outbound traffic in outbounds table
* add refresh button
2024-01-30 00:07:20 +03:30
MHSanaei
979fdedbbe
[bug] avoid empty inbound
...
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
2024-01-24 20:50:58 +03:30
Amin
62f08e877d
Fix inbounds with the same port and different IPs ( #1595 )
2024-01-17 16:21:28 +03:30
somebodywashere
ceee1e4277
Major changes to tgbot, also small changes for panel ( #1463 )
...
* Reduce outage time on Xray errors
* Improved logs clearing, added previous logs
File name change: 3xipl-access-persistent.log -> 3xipl-ap.log
All previous logs have .prev suffix
* Preparations for tgbot additions
* [tgbot] Improvements, Additions and Fixes
* Changed interaction with Expire Date for Clients
* Added more info and interactions with Online Clients
* Added a way to get Ban Logs (also added them to backup)
* Few fixes and optimizations in code
* Fixed RU translation
* [tgbot] More updates and fixes
* [tgbot] Quick Fix
* [tgbot] Quick Fix 2
* [tgbot] Big Updates
Added Notifications for Clients throught Tgbot (when Expire)
Added compability for Usernames both w/wo @
Added more buttons overall for admins
* [tgbot] Fixes
* [tbot] Fixes 2
* [tgbot] Removed usernames support for Notifications to work
* [tgbot] Fix
* [tgbot] Fix Notify
* [tgbot] small fixes
* [tgbot] replyMarkup only for last message on big messages
* [tgbot] Fixed last message is empty
* [tgbot] Fix messages split
2024-01-01 18:37:56 +03:30
Alireza Ahmadi
35feef650f
import-export inbound #1300
2023-12-08 20:08:44 +01:00
Alireza Ahmadi
e5fc20b8ae
small fixes #1300
2023-12-08 19:44:52 +01:00
Alireza Ahmadi
5fbf8f0d53
Expand multiDomain to externalProxy #1300
2023-12-08 18:45:21 +01:00
Alireza Ahmadi
c419eadf15
xray setting enhancements #1286
2023-12-05 18:20:44 +01:00
Alireza Ahmadi
a8b7063647
auto renew feature #1286
2023-12-04 19:20:16 +01:00