Commit graph

1001 commits

Author SHA1 Message Date
Shishkevich D.
a6b1a272b0 Code refactoring (#2865)
* refactor: use vue inline styles in entire application

* refactor: setting row in dashboard page

* refactor: use blob for download file in text modal

* refactor: move all html templates in `web/html` folder

* refactor: `DeviceUtils` -> `MediaQueryMixin`
The transition to mixins has been made, as they can update themselves.

* chore: pretty right buttons in `outbounds` tab in xray settings

* refactor: add translations for system status

* refactor: adjust gutter spacing in setting list item

* refactor: use native `a-input-password` for password field

* chore: return old system status
with new translations

* chore: add missing translation
2025-04-06 11:40:33 +02:00
Shishkevich D.
ae15cd3063 chore: simplify login page (#2851)
* chore: change login page

* chore: minor improvements on login page

* chore: add login button padding

* fix: delete unnecessary attributes

* fix: Restore headline animation with DOMContentLoaded
2025-04-01 14:24:03 +02:00
Shishkevich D.
b88be94c3b fix: opening links in the sidebar 2025-03-30 22:02:05 +07:00
Columbiysky
5ff3340ab2 locs(RU\UA): a bit better translate (#2841) 2025-03-30 11:29:35 +07:00
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
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
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
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
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
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
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
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
Shishkevich D.
18931404bf chore: add new grpc params for outbound (#2744) 2025-03-09 11:28:12 +07:00
mhsanaei
f31304a9a3 tgbot - restart
change restart force to restart
2025-03-08 23:08:04 +01:00
mhsanaei
9f47ac2c9e minor changes 2025-03-08 18:14:48 +01:00
Shishkevich D.
59f86ea873 Code refactoring (#2739)
* refactor: switching to the use of typed props

* refactor: `password-input` -> `a-password-input`

* fix: qr modal copy error
2025-03-08 22:41:27 +07:00
Shishkevich D.
60c44f378d chore: pretty backup and xray version modal (#2737)
* chore: pretty `backup & restore` modal

* chore: pretty `xray version` modal

* fix: new `xray version` modal style
2025-03-08 20:41:23 +07:00
Shishkevich D.
609fb6bf6b fix: base64 encoding on vmess/shadowsocks inbounds (#2736) 2025-03-08 12:33:34 +07:00
Shishkevich D.
76c3fbca3f refactor: move language manager to utils (#2735) 2025-03-08 09:54:41 +07:00
Shishkevich D.
d4210ee2ad chore: add empty screens for empty data (balancers, reverses, dns)
cleaned up some of the margins & paddings
2025-03-07 13:56:03 +00:00
Shishkevich D.
4e261a0b13 refactor: merging all util functions into classes 2025-03-07 09:07:23 +00:00
Shishkevich D.
be20335d55 refactor: move copy function to utils.js 2025-03-07 07:27:33 +00:00
Shishkevich D.
08372d5adb refactor: delete base64js
instead of base64 library you can use built-in JS functions `btoa()` and `atob()`
2025-03-07 07:11:03 +00:00