Commit graph

17 commits

Author SHA1 Message Date
Shishkevich D.
0932fab773 fix: selecting a supported language
english could be selected by default at first load, even if the user's language was supported by the panel
2025-06-25 00:30:08 +07:00
Shishkevich D.
5f697f257f fix: generate correct keys for shadowsocks inbounds 2025-06-20 19:30:46 +07:00
Shishkevich D.
31f9be62b5 chore: implement 2fa auth (#2968)
* chore: implement 2fa auth

from #2786

* chore: format code

* chore: replace two factor token input with qr-code

* chore: requesting confirmation of setting/removing two-factor authentication

otpauth library was taken from cdnjs

* chore: revert changes in `ClipboardManager`

don't need it.

* chore: removing twoFactor prop in settings page

* chore: remove `twoFactorQr` object in `mounted` function
2025-05-08 16:20:58 +02:00
Shishkevich D.
5febf5c024 fix: Error when generating shadowsocks keys in Blake3_AES_256_GCM 2025-04-15 18:33:26 +07:00
kmoshax
dcebb9dd90 feat: add Arabic language (#2880)
* translation: add Arabic support into language manager

* translation: add Arabic language support

* translation: add Arabic language support in README files
2025-04-08 22:26:05 +07:00
Shishkevich D.
b6041b1376 chore: create FileManager class for downloading files 2025-04-08 22:17:29 +07:00
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.
48f87babf0 chore: make class to get the device form factor 2025-03-21 15:09:05 +00: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.
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.
4e261a0b13 refactor: merging all util functions into classes 2025-03-07 09:07:23 +00:00
Renamed from web/assets/js/util/utils.js (Browse further)