Commit graph

1731 commits

Author SHA1 Message Date
nistootsin
23a554a5aa 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
Sanaei
63d243529a Merge pull request #2823 from shishkevichd/refactor/refactor-5
Code refactoring
2025-03-26 13:04:42 +01:00
Sanaei
c1a07394e4 Merge branch 'main' into refactor/refactor-5 2025-03-26 11:29:38 +01:00
danilshishkevich
64b2168b43 chore: giving keys for each a-collapse-panel 2025-03-25 15:13:17 +00:00
danilshishkevich
13a82a5634 chore: move client table into components 2025-03-24 15:17:45 +00:00
danilshishkevich
10a573ef74 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.
2d95430c58 chore: transforming a common sidebar into a separate component
- also added saving collapsed state
2025-03-24 11:19:27 +00:00
Shishkevich D.
46effcde35 fix: dashboard won't load 2025-03-24 10:02:01 +00:00
Shishkevich D.
b5cbeb642c chore: moving the modals to a separate directory 2025-03-24 09:57:37 +00:00
Shishkevich D.
837091007b chore: moving the settings tabs to a separate directory 2025-03-24 09:45:15 +00:00
mhsanaei
095cfe8929 glibc version
replace with OS check
2025-03-22 07:48:50 +01:00
Shishkevich D.
48f87babf0 chore: make class to get the device form factor 2025-03-21 15:09:05 +00:00
Shishkevich D.
274030e8d6 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.
6f4fc9a83d chore: delete display.css
these styles are not used anywhere
2025-03-21 14:38:41 +00:00
Shishkevich D.
a1ed63efa5 chore: improve russian translation (#2802)
* chore: improve russian translation

* chore: corrections in translation
2025-03-21 18:54:02 +07:00
mhsanaei
ec3be8d62a OS: Alma Linux 9.5+ 2025-03-21 12:49:23 +01:00
mhsanaei
34112e9272 OS: Rocky Linux 9.5+ 2025-03-21 12:40:13 +01:00
mhsanaei
121bc3ce84 OS: Debian 12+ 2025-03-20 19:45:29 +01:00
mhsanaei
c576b0c20f v2.5.6 - Happy Nowruz 2025-03-20 10:54:54 +01:00
Shishkevich D.
09f11c6a69 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
1d1fd655ff Russian translation fixes (#2792) 2025-03-18 20:56:58 +07:00
somebodywashere
5195ff33f8 Update to regular cert issue (#2790) 2025-03-18 13:47:58 +01:00
mhsanaei
5a3952f4a8 Update index.html 2025-03-18 13:39:07 +01:00
Tara Rostami
681019bd75 Fixes and improvements (#2789)
* Fixes and improvements

* Update translate.en_US.toml
2025-03-18 09:51:05 +01:00
Shishkevich D.
a3d20673dc 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
somebodywashere
f2d4b30c18 Updates to CF cert issue (#2780) 2025-03-17 09:12:52 +01:00
Shishkevich D.
e288d3b655 chore: some improvements (#2782)
* chore: improve outbound link input

* chore: ui improvement
2025-03-17 08:26:59 +07:00
Shishkevich D.
e194b6c95b 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
2d5da560f9 feat: custom subscription title in panel (#2773)
* feat: custom subscription title in panel

* feat: added translations
2025-03-15 08:16:59 +01:00
Sanaei
021ff2373b runs-on: ubuntu-22.04 (#2767)
https://github.com/actions/runner-images/issues/11101
2025-03-13 16:06:08 +01:00
mhsanaei
d6f7f57b72 xray log - minor change 2025-03-13 11:48:00 +01:00
mhsanaei
1c452cb40e Refactor: Use any instead of interface{} 2025-03-12 20:43:43 +01:00
mhsanaei
5c7514b585 warp - optimize utility code 2025-03-12 19:27:19 +01:00
mhsanaei
714f39509e fix - public IP #2763 2025-03-12 19:20:13 +01:00
mhsanaei
f317161b82 Axios v1.8.2 2025-03-11 13:18:52 +01:00
Shishkevich D.
3fa098db30 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
mhsanaei
d89f64bfa5 v2.5.5 2025-03-10 14:33:58 +01:00
mhsanaei
f2b810e538 Xray log: show failed on error log level 2025-03-10 14:31:06 +01:00
mhsanaei
b6a3b876b3 bug fix - xray log 2025-03-10 13:46:46 +01:00
mhsanaei
bc82d5cc0c Xray core v2.3.6 + update dependencies 2025-03-10 09:51:31 +01:00
Shishkevich D.
35381e57e1 fix: generating shortIds for vless reality (#2745) 2025-03-09 19:37:53 +07:00
Shishkevich D.
de063acc02 chore: remove unused variable 2025-03-09 06:38:45 +00:00
Shishkevich D.
582a9a44eb chore: refactoring RandomUtil class
now we use window.crypto.getRandomValues to generate random values.
2025-03-09 06:37:05 +00:00
Shishkevich D.
d288c7243f chore: use crypto.randomUUID() for generating UUIDv4 2025-03-09 06:09:42 +00:00
Shishkevich D.
57e7c7cff1 chore: use Base64 library for generating SS password 2025-03-09 06:06:27 +00:00
Shishkevich D.
6feae65f91 fix: modals style 2025-03-09 06:01:27 +00:00
Shishkevich D.
f1c06f113d Revert "chore: add missing params for grpc stream settings (outbound)"
This reverts commit 0ba3bfdd6d.
2025-03-09 05:38:34 +00:00
Shishkevich D.
58b6489ce5 Revert "chore: add new grpc params for outbound (#2744)"
This reverts commit 18931404bf.
2025-03-09 05:37:50 +00:00
Shishkevich D.
136b7daf4c 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.
0ba3bfdd6d chore: add missing params for grpc stream settings (outbound) 2025-03-09 04:49:17 +00:00