Commit Graph

38 Commits

Author SHA1 Message Date
Alireza Ahmadi
b6252151f4 go package correction 2025-09-18 22:33:02 +02:00
Hassan Ali Gilani
f5ce84ae68 Add getClientTrafficsById (#1347)
* Add getClientTrafficsById
Ability for API to get traffics by uuid

* bugfix GetClientTrafficByID

* bugfix
GetClientTrafficByID

* Update
GetClientTrafficByID function by Alireza0 Recomendation

* update
Replace Logger Warning with Debug for GetClientTrafficByID

* Fix: return empty array instead of error in case of gorm.ErrRecordNotFound

---------

Co-authored-by: Ali Gilani <gilani1364@gmail.com>
2024-07-14 12:08:30 +02:00
mhsanaei
19a7a8574c typo fixed 2024-07-10 21:06:58 +02:00
Hamidreza
b6ccb2e076 Some fixes and improvements (#1077)
* [refactor] api controller

* [update] use status code for jsonMsg and 401 to unauthorize

* [update] handle response status code via axios

* [lint] all .go files
2024-03-10 18:00:44 +01:00
Alireza Ahmadi
80c3f84eac small changes 2024-03-10 15:29:03 +01:00
Alireza Ahmadi
1329b2bb61 support multi address-port #997 2024-02-22 14:18:31 +01:00
Alireza Ahmadi
fd64ae5c85 [feature] import-export inbound #699 2023-12-07 12:58:19 +01:00
Alireza Ahmadi
7c74c534f0 DESIGN REFACTOR (#600)
### New features
- New face + dark mode
  - [Change font to vazirmatn](057f3190de)
  - [use customized andtv](f956009fd2)
  - [popConfirm for del and reset client](66c98e8392)
  - [Separate page for xray config](9e1cd6315f)
  - Separate face for mobile view
- [Show online users](bf892e9965) [#559](https://github.com/alireza0/x-ui/issues/559)
- [Auto renew](96408967ae)

### Bug fixes
- [[tgbot] Retry loop on start](211c05ec29)
- [fix docker-compose version](1dcec91ce4)
- [fix redirect after restart](81d25a032c)
2023-11-09 23:31:17 +01:00
Alireza Ahmadi
174a738dc8 move restart cron to web.go 2023-08-30 20:23:36 +02:00
Alireza Ahmadi
d2e50d0493 v1.5.1
Plus some fixes
2023-07-16 18:43:38 +02:00
Alireza Ahmadi
5fbb234b06 [feature] using xray api for inbound #351 2023-07-16 17:05:15 +02:00
Alireza Ahmadi
9f7e2f21f3 [feature] using xray api #351 2023-06-04 10:53:43 +02:00
Hamidreza Ghavami
06629939be add an option for webDomain 2023-05-31 03:24:31 +04:30
Hamidreza Ghavami
b5f16a476b update controllers to use I18nWeb func 2023-05-21 06:42:05 +04:30
Alireza Ahmadi
d86c75b925 translation 2023-05-15 19:26:11 +02:00
Alireza Ahmadi
35ad91a9e0 [feature] delete depleted clients 2023-04-25 16:24:13 +02:00
Alireza Ahmadi
aab672976e update by client id #218 2023-04-24 20:30:01 +02:00
Alireza Ahmadi
7a229b27f5 Better client delete + api #218 2023-04-24 11:10:59 +02:00
Alireza Ahmadi
b4b7ec565e simplify API: del client #218 2023-04-22 11:21:44 +02:00
Alireza Ahmadi
11bff57f23 [feature] add getClientTraffics api 2023-04-20 19:16:06 +02:00
Alireza Ahmadi
f4f8c0d6df simplify API calls #218 2023-04-18 01:22:33 +02:00
Alireza Ahmadi
2e3119ab9b [feature] Reset all clients/inbounds 2023-04-04 00:37:09 +02:00
Alireza Ahmadi
4f91375cb2 Small fixes 2023-03-01 19:52:21 +01:00
Alireza Ahmadi
9e398aaa65 Optimize Client-traffic-reset 2023-03-01 17:08:28 +01:00
Alireza Ahmadi
afd369993a Fix Bug in deleting the client alireza0/x-ui#20 2023-03-01 13:57:48 +01:00
Alireza Ahmadi
7ec68574d0 Fix Bug: Auto restart xray after client update 2023-02-23 11:33:14 +01:00
Alireza Ahmadi
146b4d7873 Separate client module 2023-02-22 15:13:45 +01:00
Alireza Ahmadi
8114e3fc17 Add trojan multiuser 2023-02-07 01:43:44 +01:00
Hossin Asaadi
4421fec506 Dev patch 2 (#107)
* [vmess] add client traffic reset

* [vless] add client traffic reset
2022-11-22 02:54:30 -05:00
Hossin Asaadi
845409f1b4 add API (#51) 2022-11-15 07:09:43 -05:00
Hossin Asaadi
a73f20ead3 Merge branch 'main' into main 2022-11-08 17:48:42 +03:30
Mohammad Foroughi
2cea3d064a update: translate inbound component 2022-10-31 13:35:05 +03:30
Hossin Asaadi
60b649bf6a bugs fix 2022-10-30 18:28:50 -04:00
Hossin Asaadi
e0abaf5044 add ip log, clear ip log button in edit modal 2022-10-30 12:05:31 -04:00
sprov
292d5b89d4 0.3.0
- 增加到期时间限制
 - 新增配置面板 https 访问后,http 自动跳转 https(同端口)
 - 降低获取系统连接数的 cpu 使用率
 - 优化界面
 - VMess 协议 alterId 默认改为 0
 - 修复旧版本 iOS 系统白屏问题
 - 修复重启面板后 xray 没有启动的问题
2021-07-26 13:29:29 +08:00
sprov
e91daabb18 0.1.0
- 改进 ui 界面
 - 修复流量超出后账号不自动失效问题
 - 修复vless生成的链接不正确问题
 - 修复网页端重启面板功能问题
2021-06-15 11:10:39 +08:00
sprov
3d7192d0f6 0.0.1 2021-06-06 22:37:10 +08:00
sprov
810dad53d5 流量统计,修复问题 2021-05-30 22:41:02 +08:00