Commit Graph

876 Commits

Author SHA1 Message Date
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
d4a23f8a23 better trasmission method naming 2023-09-23 13:17:44 +02:00
Alireza Ahmadi
f424d1bbc0 Merge pull request #553 from alireza0/dependabot/go_modules/google.golang.org/grpc-1.58.1
Bump google.golang.org/grpc from 1.58.0 to 1.58.1
2023-09-15 17:28:30 +02:00
dependabot[bot]
935ff96eeb Bump google.golang.org/grpc from 1.58.0 to 1.58.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.0 to 1.58.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.0...v1.58.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 21:17:16 +00:00
Alireza Ahmadi
95318f51c5 [feature] optional pagination 2023-09-14 19:17:16 +02:00
shahin-io
0d77b52f39 Update index.html (#550)
* Update index.html

* Update index.html

* Update index.html

* Update index.html
2023-09-14 15:42:02 +02:00
Alireza Ahmadi
6b12c314be Merge pull request #549 from alireza0/dependabot/go_modules/github.com/Workiva/go-datastructures-1.1.1
Bump github.com/Workiva/go-datastructures from 1.1.0 to 1.1.1
2023-09-14 00:50:59 +02:00
Alireza Ahmadi
9c35468d3d Merge pull request #544 from alireza0/dependabot/github_actions/docker/setup-qemu-action-3
Bump docker/setup-qemu-action from 2 to 3
2023-09-14 00:50:50 +02:00
Alireza Ahmadi
0411281d8e Merge pull request #543 from alireza0/dependabot/github_actions/docker/login-action-3
Bump docker/login-action from 2 to 3
2023-09-14 00:50:37 +02:00
Alireza Ahmadi
6cb0012622 Merge pull request #542 from alireza0/dependabot/github_actions/docker/setup-buildx-action-3
Bump docker/setup-buildx-action from 2 to 3
2023-09-14 00:50:26 +02:00
Alireza Ahmadi
25e4bcedb1 Merge pull request #541 from alireza0/dependabot/github_actions/docker/build-push-action-5
Bump docker/build-push-action from 4 to 5
2023-09-14 00:50:13 +02:00
Alireza Ahmadi
aea474c7ef Merge pull request #540 from alireza0/dependabot/github_actions/docker/metadata-action-5
Bump docker/metadata-action from 4 to 5
2023-09-14 00:50:02 +02:00
Alireza Ahmadi
6afddc7bee [bug] fix qrcode and info for searched clients 2023-09-14 00:13:08 +02:00
dependabot[bot]
ce54535df5 Bump github.com/Workiva/go-datastructures from 1.1.0 to 1.1.1
Bumps [github.com/Workiva/go-datastructures](https://github.com/Workiva/go-datastructures) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/Workiva/go-datastructures/releases)
- [Commits](https://github.com/Workiva/go-datastructures/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/Workiva/go-datastructures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 21:18:25 +00:00
dependabot[bot]
31155ecff9 Bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 21:21:25 +00:00
dependabot[bot]
ffb05f596b Bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 21:21:18 +00:00
dependabot[bot]
8917c7291d Bump docker/setup-buildx-action from 2 to 3
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 21:21:11 +00:00
dependabot[bot]
a88d8eadee Bump docker/build-push-action from 4 to 5
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 21:21:05 +00:00
dependabot[bot]
80bb9f7953 Bump docker/metadata-action from 4 to 5
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 21:20:58 +00:00
Alireza Ahmadi
16113ce7aa [bot] replace boolian with yes/no #537 2023-09-09 14:48:19 +02:00
dependabot[bot]
de4affb913 Bump golang.org/x/text from 0.12.0 to 0.13.0 (#529)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 13:46:50 +02:00
dependabot[bot]
3230a81a7c Bump actions/checkout from 3 to 4 (#528)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 13:46:32 +02:00
dependabot[bot]
df86f7bc29 Bump google.golang.org/grpc from 1.57.0 to 1.58.0 (#533)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.57.0 to 1.58.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.57.0...v1.58.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 13:45:16 +02:00
Alireza Ahmadi
ac5981352e remove unused structure 2023-09-09 13:45:00 +02:00
Alireza Ahmadi
53719ecf6a change in logger 2023-09-09 13:44:41 +02:00
dependabot[bot]
9f3502d912 Bump github.com/shirou/gopsutil/v3 from 3.23.7 to 3.23.8 (#524)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.7 to 3.23.8.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.7...v3.23.8)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-02 10:28:36 +02:00
Alireza Ahmadi
9bb4a2e29c v1.5.5 1.5.5 2023-09-01 22:56:29 +02:00
Alireza Ahmadi
e4f62da8c5 [docker] use xray1.8.4 2023-09-01 22:21:04 +02:00
Alireza Ahmadi
174a738dc8 move restart cron to web.go 2023-08-30 20:23:36 +02:00
Ho3ein
edb6c0e638 Using golang v1.21 and xray-core 1.8.4 (#518)
* upgrade go to v1.21

* Update Dockerfile
2023-08-30 20:20:27 +02:00
Alireza Ahmadi
31be70b333 [ss] fix adding ietf clients by api 2023-08-27 15:08:43 +02:00
Alireza Ahmadi
ecff16f889 remove unnecessary log 2023-08-27 12:17:28 +02:00
Alireza Ahmadi
8a22b088a9 fix divider of inbound modal in mobile view 2023-08-27 10:08:51 +02:00
Alireza Ahmadi
50822b01f1 optimized finding client index 2023-08-27 10:05:35 +02:00
Alireza Ahmadi
a6199526da v1.5.4
Plus some fixes and decoration
1.5.4
2023-08-26 12:05:21 +02:00
Alireza Ahmadi
da5253d98c [sub] support client-side group name 2023-08-25 23:42:26 +02:00
Alireza Ahmadi
7adc8755f8 [sub] support optional usage info in Remark #453 2023-08-25 23:32:10 +02:00
Alireza Ahmadi
af5d681c22 Transparent Proxy with sockopt Stream Setting 2023-08-25 20:26:59 +02:00
Alireza Ahmadi
28a3fc813c [db] Enbancement add traffic fully transactional
- Remove expiration process of client/inbound with separate cron
- Combine expiration process to add traffic
- Combine calculation of all the traffics to one database transaction
2023-08-25 18:24:40 +02:00
Alireza Ahmadi
55ae60594f [tls] change default tls verion to 1.2-1.3 2023-08-25 16:44:36 +02:00
Alireza Ahmadi
7cb99d47e2 [ss] add ietf methods #507 2023-08-25 16:41:56 +02:00
dependabot[bot]
c3970a4978 Bump gorm.io/gorm from 1.25.3 to 1.25.4 (#502)
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.3 to 1.25.4.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.25.3...v1.25.4)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 21:48:24 +02:00
MasterKia
5daec0cf9e Attribution (#497) 2023-08-22 21:48:12 +02:00
Alireza Ahmadi
1b0de200c0 Show ALPN order #483 2023-08-22 21:11:29 +02:00
Alireza Ahmadi
2c53d987eb Merge branch 'main' of https://github.com/alireza0/x-ui 2023-08-17 13:33:09 +02:00
Alireza Ahmadi
fc725a56c3 fix switch enable function for clients 2023-08-17 13:32:59 +02:00
dependabot[bot]
01028530c2 Bump gorm.io/driver/sqlite from 1.5.2 to 1.5.3 (#492)
Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite) from 1.5.2 to 1.5.3.
- [Commits](https://github.com/go-gorm/sqlite/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 13:29:47 +02:00
shahin-io
d986ec5c3c Update x-ui.sh (#487) 2023-08-14 02:19:38 +02:00
Ho3ein
812e145f97 Remove duplicate code to make random text (#484) 2023-08-12 14:58:33 +02:00
Ho3ein
5261a884bf remove v2-ui (#485) 2023-08-12 14:55:06 +02:00