Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

کاربران آنلاین #559

Closed
rasa68 opened this issue Sep 19, 2023 · 8 comments
Closed

کاربران آنلاین #559

rasa68 opened this issue Sep 19, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@rasa68
Copy link

rasa68 commented Sep 19, 2023

سلام.
امکانش هست که بخشی قرار بدید که تعداد کاربران آنلاین در لحظه و یوزرشون رو ببینیم؟

@rasa68 rasa68 added the question Further information is requested label Sep 19, 2023
@alireza0
Copy link
Owner

درود بر شما
بله ولی توی نمایش x-ui بخشی نمیشه اضافه کرد که راحت بشه آنلاین بودن رو تشخیص داد.
به جز اینکه نیاز به لود شدن اطلاعات به صورت دوره ای داره.
سعی میکنم در نظر داشته باشم که اگر بشه اضافه کرد.

@alireza0 alireza0 added enhancement New feature or request and removed question Further information is requested labels Sep 20, 2023
alireza0 added a commit that referenced this issue Sep 24, 2023
alireza0 added a commit that referenced this issue Nov 9, 2023
### New features
- New face + dark mode
  - [Change font to vazirmatn](057f319)
  - [use customized andtv](f956009)
  - [popConfirm for del and reset client](66c98e8)
  - [Separate page for xray config](9e1cd63)
  - Separate face for mobile view
- [Show online users](bf892e9) [#559](#559)
- [Auto renew](9640896)

### Bug fixes
- [[tgbot] Retry loop on start](211c05e)
- [fix docker-compose version](1dcec91)
- [fix redirect after restart](81d25a0)
@alireza0
Copy link
Owner

در نسخه جدید اضافه شد.

@irifree
Copy link

irifree commented Nov 12, 2023

سلام
از کدوم قسمت میشه دید چون پنل رو نصب کردم ولی قسمتی ندیدم
ممنون از شما

@alireza0
Copy link
Owner

درود بر شما
۱. بالای صفحه inbounds بخش تعداد کلاینت ها (رنگ سبز)
۲. روی هر inbounds ستون کاربران
۳. چراغ وضعیت کاربران چشمک زن میشه و بار میله ای ترافیک هم با انیمیشن نمایش داده میشه

@neerro
Copy link

neerro commented Nov 18, 2023

Dear @alireza0,
Please, check the possibility to add a column/field/section for each user which will be shown its last connection.
For example as message: [5 min. ago], [30 min. ago], [1 hour ago], [10 hours ago], [1 week ago], [1 month ago] e.t.c.
Maybe it also could be indicate with color.
It could be combined with "online users" function you released recently. As example the same functional are realized in Hiddify panel.

@alireza0
Copy link
Owner

Dear @neerro,
The mechanism that this panel is using for detecting online users is checking if traffic is receiving from x-ray.
It is not going to be stored in database. Therefore, it is not possible to detect last-connection by this solution.

@neerro
Copy link

neerro commented Nov 18, 2023

Dear @alireza0,
First of all: Thank you for your prompt answer I appreciate it so much :)
The second one: Is it possible to realize this idea absolutely separately from "online users" option we have already in x-ui panel?
I suppose the system should be check traffic of last connection from x-ray of each users, then record to database, after that should count total offline time quantity for each users and display those information to admin panel.
Maybe it sounds easy, but I believe in your power and your potentialities that you can do this, considering the fact that it's already realized in other panel I mentioned above.

@alireza0
Copy link
Owner

@neerro Nothing is impossible! But should be logical and useful for all.
Adding a lot of data in database wich may considered by some admins sometimes is not sane.
I am trying to keep this weak database as simple as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants