Commit graph

277 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.
48f87babf0 chore: make class to get the device form factor 2025-03-21 15:09:05 +00: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
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.
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.
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
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
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
Shishkevich D.
4bdfc8c5eb refactor: delete clipboardjs (#2727)
text copying can be done without using additional libraries
2025-03-06 20:43:46 +01:00
mhsanaei
f94dc58380 Sockopt: Add addressPortStrategy 2025-03-05 13:14:17 +01:00
mhsanaei
03a065a4e1 TLS fingerprints: randomizednoalpn 2025-03-03 10:20:52 +01:00
mhsanaei
e9c48424ae serverNameToVerify to verifyPeerCertInNames #2662 2025-02-22 14:09:52 +01:00
AAA
6f3856211e feat(externalTrafficJob): External Traffic Inform (#2660)
* Add Setting entity + GUI field in panel settings

* Add a missing 'Traffic' in InformEnabale field

* Add ExternalTrafficURL Post request call

* Add translation + cleanup

* Move options to General tab

---------

Co-authored-by: root <root@vm3562019.stark-industries.solutions>
Co-authored-by: root <root@vm3688062.stark-industries.solutions>
2025-02-22 10:45:14 +01:00
Sanaei
7e64355f51 revert group management (#2656)
* Revert "json post base path bug fixed (#2647)"

This reverts commit 2c88e53ba0.

* Revert "Group Management of Subscription Clients"

* Revert "fix getSubGroupClients for enable/disable and edit clients."

* Revert "Enhance database initialization in db.go (#2645)"

This reverts commit fc8cce9f90.

* Revert "Add checkpoint handling in CloseDB function (#2646)"

This reverts commit 13b1e4c7e6.

* Revert "Improved database model migration and added indexing (#2655)"

This reverts commit cb6ba20865.
2025-02-04 11:27:58 +01:00
mhsanaei
cb96e9a318 TLS - serverNameToVerify 2025-01-26 19:33:50 +01:00
mhsanaei
32cdfee6e0 default setting - scStreamUpServerSecs 2025-01-26 11:07:35 +01:00
Ali Rahimi
2c88e53ba0 json post base path bug fixed (#2647)
* json post base path bug fixed

* added comment field to group client management
2025-01-23 21:33:47 +01:00
mhsanaei
11fc842844 XHTTP - scStreamUpServerSecs 2025-01-21 22:43:13 +01:00
Ali Rahimi
661ae0e671 Group Management of Subscription Clients (#2644)
* add group user with the same subscription id to all inbounds

* code format compare

* add await for reset client traffic

* en language changed

* added client traffic syncer job

* handle exist email duplicate in sub group

* multi reset and delete request for clients group

* add client traffic syncer setting option

* vi translate file updated

* auto open qr-modal bug fixed
2025-01-21 03:01:54 +01:00
mhsanaei
573afb1f0a time Location - local 2025-01-11 15:13:49 +01:00
mhsanaei
2e95d48e72 bug fix - reality settings 2025-01-01 22:49:29 +01:00
mhsanaei
1f8e315784 xmux - hMaxReusableSecs 2025-01-01 18:48:47 +01:00
mhsanaei
a79991c35a tcpNoDelay to penetrate 2025-01-01 18:42:50 +01:00
MHSanaei
3d59fa7ea6 bug fix - outbound xhttp link 2024-12-27 21:30:51 +01:00
mhsanaei
c039508d74 bug fix - vmess tls 2024-12-27 17:59:59 +01:00
mhsanaei
df98d80b91 Client: Comment
now you can add Comment and write anything you want to remember
2024-12-27 13:48:07 +01:00
mhsanaei
c93cf8dc01 TLS, REALITY : fingerprint set default to chrome 2024-12-17 23:25:54 +01:00
mhsanaei
e72519f969 remove insecure cipher suites list 2024-12-17 23:18:16 +01:00
mhsanaei
a4d80651f2 UTLS: unsafe 2024-12-17 23:17:12 +01:00
mhsanaei
9ffba7e10f XHTTP: server & client
Remove scMinPostsIntervalMs, xmux, noGRPCHeader from the server side and add them to the client side.

Before you could have them on sub json but I decided to remove them.
2024-12-17 10:39:37 +01:00
mhsanaei
a3babff47a XHTTP: Add "scMaxBufferedPosts" 2024-12-16 11:20:38 +01:00
MHSanaei
6c29c86a5e XHTTP: Add "hMaxRequestTimes, hKeepAlivePeriod" 2024-12-16 10:13:01 +01:00
mhsanaei
22f5922601 XHTTP: Add "keepAlivePeriod" 2024-12-11 17:05:47 +01:00
mhsanaei
fabcaa2d6a xhttp - default settings 2024-12-05 20:15:19 +01:00
mhsanaei
3f3fc3d644 Transport: Remove HTTP
Migrated to XHTTP "stream-one" mode.
2024-12-04 13:49:43 +01:00
mhsanaei
a4db481da2 splithttp to xhttp 2024-12-03 22:24:34 +01:00
mhsanaei
6f0325766e WebSocket: Add heartbeatPeriod 2024-12-03 22:07:58 +01:00
mhsanaei
3e47bedec7 XHTTP: Add "stream-one" 2024-12-03 21:57:44 +01:00
mhsanaei
609e3285bf XHTTP: noGRPCHeader 2024-11-21 17:56:25 +03:30
modimobeikete
936fd5cf91 Add new language ja-JP (#2601) 2024-11-15 13:38:48 +03:30