Commit graph

197 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
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
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
f31304a9a3 tgbot - restart
change restart force to restart
2025-03-08 23:08:04 +01: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.
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.
0b45413f82 Pretty Panel and Xray settings (#2726)
* chore: refactor `setting-list-item` component

* chore: remove padding

* chore: replace settings list with settings collapse panels

* chore: add missing translations

* chore: fix translation
2025-03-06 11:17:25 +01:00
Shishkevich D.
ed6f9f76b2 feat: add statistics section (#2718)
the "Outbounds Traffic" parameter, which was misleading, was also renamed and moved
2025-03-05 13:27:25 +01:00
Shishkevich D.
7fa1951d80 chore: add global params for DNS (#2713)
parameter list: `disableCache`, `disableFallback`, `disableFallbackIfMatch`, `clientIp`
2025-03-04 14:18:51 +01:00
atarwn
01b1e03b61 Improved ru_RU translation (#2677)
* Improved ru_RU translation

Some words have been changed to sound nicer. I made some words less complicated to understand. I also fixed some warnings and messages so they are easier to read.

* Apply suggestions from code review
2025-02-28 10:42:27 +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
7a410b8e8a v2.5.1 2025-02-03 17:40:33 +01:00
Abolfazl Fazilat
98e4262fda Completed translation for missing text (#2653) 2025-01-31 18:54:52 +01:00
AghayeCoder
a6758637a1 switcher for outbound traffic 2025-01-31 17:24:03 +03:30
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
xtclovver
be3016f351 Update translate.ru_RU.toml (#2637)
Fixed ru translation
2025-01-13 18:23:19 +01:00
mortefy
68f27be470 Fixed ru translation (#2638) 2025-01-13 18:22:35 +01:00
LoST
720711640e Added "comment" in all languages (#2631)
- Added a "comment" in all languages

---------

Co-authored-by: mhsanaei <ho3ein.sanaei@gmail.com>
2025-01-01 19:13:55 +01:00
Baton34
cd94a69fc5 RU: translation fix (#2620) 2024-12-22 14:10:06 +01:00
mhsanaei
63a8b726b7 update dependencies 2024-11-21 00:37:44 +03:30
modimobeikete
936fd5cf91 Add new language ja-JP (#2601) 2024-11-15 13:38:48 +03:30
mhsanaei
2fe0b04b91 removed - XTLS Security
because its too old and no one use it anymore
2024-10-29 12:50:25 +01:00
pr3ci0u5
cc44aa0a84 Update translate.ru_RU.toml (#2588) 2024-10-29 11:03:15 +01:00
MadrinX
d670a70ee0 feat(tgbot): Add the option to change the telegram API server (#2584) 2024-10-17 10:59:42 +02:00
Ahmad Thoriq Najahi
42ee6d7a10 feat(tgbot): Allow restart core via telegram bot (#2581) 2024-10-16 14:39:25 +02:00
laperuz92
a184d47877 Update Russian translation. (#2583)
* Update Russian translations.

* Some more fixes
2024-10-15 20:56:09 +02:00
MHSanaei
fbec1b9990 fix lang + more geoip option 2024-10-11 09:15:36 +02:00
Alireza Ahmadi
e0c75834ea simplified basic routing (#2579) 2024-10-10 21:38:56 +02:00
Huang Kuan Wei
ed77de17df add language zh-Tw (#2572)
* add translation zh-TW

* add zh-TW to langs.js
2024-10-03 09:46:15 +02:00
Vyacheslav Scherbinin
dbdf3c9ada Fix toasts (#2571)
* Add space to toast status messages

* Removed opening space from translations
2024-09-30 17:06:38 +02:00
mhsanaei
c322afc4e0 update block and direct connection 2024-09-27 13:34:12 +02:00
mhsanaei
7ede8c20ca DNS - Expect IPs 2024-09-26 13:08:54 +02:00
mhsanaei
dc23f8efad Direct Sub Json - geoIP, geoSite 2024-09-24 15:11:16 +02:00
mhsanaei
f1086b6460 update noise to noises
+ type
2024-09-17 09:51:57 +02:00
mhsanaei
5d206425db New - maskAddress , dnslog 2024-09-12 11:44:13 +02:00
mhsanaei
3503aefc09 quic removed 2024-09-09 09:46:39 +02:00
mhsanaei
7d42d004db new - Português (Brazil) langs 2024-09-05 10:02:32 +02:00
mhsanaei
6b7644d589 New - Noise
freedom
2024-08-29 11:27:43 +02:00
Ilya
c7fdcf8f09 Correct Russian README (#2503)
* Remove trailing whitespace in READMEs

* Correct Russian README and make it more natual

Co-authored-by: Viacheslav64 <74322784+Viacheslav64@users.noreply.github.com>

---------

Co-Authored-By: Viacheslav64 <74322784+Viacheslav64@users.noreply.github.com>
2024-08-29 09:07:42 +02:00
bigbug
aff0b3d5c6 Fix Language Code for CN (#2501) 2024-08-28 11:30:49 +02:00
mhsanaei
02b14128f3 update translate for #2493 2024-08-18 23:52:29 +02:00
Rizvan Nukhtarov
4b6f05309e New - TGbot, "All clients" button (#2493) 2024-08-18 23:30:56 +02:00
Konstantin Larin
c4e8f5f46b Update Russian translate (#2494) 2024-08-18 23:29:39 +02:00