Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion docs/en/guide/user-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ From top to bottom:
- **With an app** (the names come from the apps list; only link apps are listed, never a key app): the app, then install it (with the store or download button and the card's description) and **Add to Happ**, the one-tap link from the app's template. "Won't open? Copy the link" sits right under it. "All your servers (4) appear in Happ — pick any". A QR code of the link, for connecting a phone, when **QR for a second device** is on. "Connected with the subscription" says when the apps on the link last fetched it. Opening the page does not update this time, and does not add a device; only an app fetch does.
- **With a key**: install AmneziaVPN, **Add a device** (the key form opens), paste the key. When self-service is off the step says "Ask for a key".
5. **Telegram proxy** and **TrustTunnel**, when the owner switched them on for the person, under the servers (see [Telegram proxy](#telegram-proxy)).
6. **My devices**: one list with the apps on the link and the person's keys, and one **Add a device** button for both ways (see [My devices](#my-devices)).
6. **My devices**: one list with the apps on the link and the person's keys, and one **Add a device** button for both ways (see [My devices](#my-devices)). Under the list, when the owner has set a bot for people, the block **Notifications in Telegram** (see [Notifications in Telegram](#notifications-in-telegram)).
7. **Support**: "Something not working?" with a button to the support link, when **Support button** is on and a link is set.
8. A line at the bottom: "This link is personal — don't share it. Works while the subscription is active."

Expand Down Expand Up @@ -138,6 +138,19 @@ Limits: only an active person can add a device, show a key or replace one; the d

A person whose subscription is not active still sees their AmneziaVPN keys, and can rename and remove them; adding new ones is not possible.

## Notifications in Telegram

When the owner has set the bot of the notifications for people (a bot of its own, never the one the admin uses), a person can connect their own Telegram to it from the page. The block sits on the devices tab under the list. It is not on the page when no such bot is set, when **Devices on the page** is off (the block follows that switch and its limits) or in the owner's preview.

- **Not connected**: a short warning, "Telegram will know you use this service", the button **Connect Telegram**, and an example of what the bot writes (the term is ending, the traffic is running out, the servers do not work).
- **Connect Telegram** makes a link `t.me/<bot>?start=<code>`: one-time, valid for 15 minutes, one pending link per person (a new one replaces the old). The page shows the time left and **Open Telegram**; the person presses **Start** in the chat. While the page is open it asks the panel every few seconds, so it notices the chat and changes to "Connected" by itself. **Cancel** withdraws the link. A link that ran out says "Link expired" and offers a **New link**. The panel keeps only a hash of the code, and the page has the link only in memory: after a reload a pending link is not shown, and the person asks for a new one.
- **Connected**: "Connected 2 of 3" and a row for each chat with its language, since when, the switch **Announcements** and **Disconnect**. The switch is the same as `/mute` in the chat and concerns the owner's announcements only; the notices about the term, the traffic and failures keep coming. `/stop` in the chat disconnects it. The commands are told on the page.
- **How many chats**: 3 by default for a person; the owner changes it for everybody (1 to 10) or for one person. At the limit **Connect another one** is not shown, and a link made earlier is refused by the bot with a reason. A new chat is told to the person's other chats ("another Telegram was connected, if it was not you, disconnect it").
- A change (a link, cancel, disconnect, the switch) counts against the same hourly limit as the other actions of the page (20 per client network, 100 per link); reading the block, which the page does while it waits for Telegram, does not. The page needs the page password like every call under the link.
- The page learns the bot's username, the row id of each chat, its language, the date and whether announcements are on. It never gets the Telegram chat id or the bot's token. The audit log has `user_telegram_link_begin`, `user_telegram_link_cancel`, `user_telegram_unlink` and `user_telegram_mute` with the person's id.

**Privacy.** Connecting a chat ties the person to a Telegram account: the panel keeps that link (the chat id is encrypted) and Telegram sees that this account talks to a bot of the service. The bot has a neutral name and neutral words, never sends a link and asks for nothing. Do not offer it to people for whom it matters that a Telegram account is tied to their use of the service, and do not push it: the page asks first, and the person chooses.

## DNS

When the owner turns on **DNS choice on the page** (see below), a person picks on their page:
Expand Down
15 changes: 14 additions & 1 deletion docs/fa/guide/user-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ description: فرد وقتی لینکش را در مرورگر باز می‌ک
- **با برنامه** (نام‌ها از فهرست برنامه‌ها می‌آید؛ فقط برنامه‌های لینکی فهرست می‌شوند، هرگز برنامهٔ کلیدی): برنامه، سپس نصبش (با دکمهٔ فروشگاه یا دانلود و توضیح کارت) و **افزودن به Happ**، لینک یک‌لمسی از قالب برنامه. «باز نمی‌شود؟ کپی لینک» درست زیر آن است. «همهٔ سرورهای شما (4) آنجا هستند — هر کدام را خواستید انتخاب کنید». یک کد QR از لینک، برای وصل کردن گوشی، وقتی **QR برای دستگاه دوم** روشن است. «با اشتراک وصل شد» می‌گوید برنامه‌های روی لینک آخرین بار کِی آن را گرفتند. باز کردن صفحه این زمان را به‌روز نمی‌کند و دستگاهی اضافه نمی‌کند؛ فقط دریافت توسط برنامه چنین می‌کند.
- **با کلید**: AmneziaVPN را نصب کنید، **افزودن دستگاه** (فرم کلید باز می‌شود)، کلید را بچسبانید. وقتی خودخدمتی خاموش است مرحله «کلید بخواهید» می‌گوید.
5. **پروکسی Telegram**، وقتی مالک Telegram را برای فرد روشن کرده، زیر سرورها (به [پروکسی Telegram](#پروکسی-telegram) نگاه کنید).
6. **دستگاه‌های من**: یک فهرست با برنامه‌های روی لینک و کلیدهای فرد، و یک دکمهٔ **افزودن دستگاه** برای هر دو راه (به [دستگاه‌های من](#دستگاههای-من) نگاه کنید).
6. **دستگاه‌های من**: یک فهرست با برنامه‌های روی لینک و کلیدهای فرد، و یک دکمهٔ **افزودن دستگاه** برای هر دو راه (به [دستگاه‌های من](#دستگاههای-من) نگاه کنید). زیر فهرست، وقتی مالک رباتی برای افراد تنظیم کرده باشد، بخش **اعلان‌ها در Telegram** (به [اعلان‌ها در Telegram](#اعلانها-در-telegram) نگاه کنید).
7. **پشتیبانی**: «چیزی کار نمی‌کند؟» با دکمه‌ای به لینک پشتیبانی، وقتی **دکمهٔ پشتیبانی** روشن است و لینکی تعیین شده.
8. خطی در پایین: «این لینک شخصی است — آن را برای کسی نفرستید. تا وقتی اشتراک فعال است کار می‌کند.»

Expand Down Expand Up @@ -124,6 +124,19 @@ description: فرد وقتی لینکش را در مرورگر باز می‌ک

فردی که اشتراکش فعال نیست باز هم کلیدهای AmneziaVPN خودش را می‌بیند، و می‌تواند تغییر نامشان دهد و حذفشان کند؛ افزودن کلید تازه ممکن نیست.

## اعلان‌ها در Telegram

وقتی مالک ربات اعلان‌ها را برای افراد تنظیم کرده باشد (رباتی جداگانه، هرگز همان رباتی که مدیریت استفاده می‌کند)، فرد می‌تواند Telegram خودش را از صفحه به آن وصل کند. این بخش در زبانهٔ دستگاه‌ها زیر فهرست قرار دارد. اگر چنین رباتی تنظیم نشده باشد، اگر **دستگاه‌ها در صفحه** خاموش باشد (این بخش از همان کلید و محدودیت‌هایش پیروی می‌کند) یا در پیش‌نمایش مالک، روی صفحه نیست.

- **وصل نیست**: یک هشدار کوتاه، «Telegram خواهد دانست که از این سرویس استفاده می‌کنید»، دکمهٔ **وصل کردن Telegram** و نمونه‌ای از آنچه ربات می‌نویسد (مهلت رو به پایان است، ترافیک رو به اتمام است، سرورها کار نمی‌کنند).
- **وصل کردن Telegram** یک لینک `t.me/<bot>?start=<code>` می‌سازد: یک‌بارمصرف، با اعتبار ۱۵ دقیقه، یک لینک در انتظار برای هر فرد (لینک تازه جای قبلی را می‌گیرد). صفحه زمان باقی‌مانده و **باز کردن Telegram** را نشان می‌دهد؛ فرد در گفتگو **Start** را می‌زند. تا وقتی صفحه باز است، هر چند ثانیه از پنل می‌پرسد، پس گفتگو را تشخیص می‌دهد و خودش به «وصل شد» تغییر می‌کند. **لغو** لینک را پس می‌گیرد. لینکی که منقضی شده می‌گوید «لینک منقضی شد» و **لینک تازه** پیشنهاد می‌کند. پنل فقط هش کد را نگه می‌دارد و صفحه لینک را فقط در حافظه دارد: پس از بارگذاری دوباره، لینک در انتظار نشان داده نمی‌شود و فرد لینک تازه می‌خواهد.
- **وصل شد**: «۲ از ۳ وصل است» و برای هر گفتگو یک ردیف با زبانش، از چه زمانی، کلید **اعلان‌ها** و **قطع اتصال**. این کلید همان `/mute` در گفتگو است و فقط به اعلان‌های مالک مربوط است؛ پیام‌های مربوط به مهلت، ترافیک و خرابی‌ها همچنان می‌رسند. `/stop` در گفتگو اتصال آن را قطع می‌کند. دستورها روی صفحه گفته شده‌اند.
- **چند گفتگو**: به‌طور پیش‌فرض ۳ برای هر فرد؛ مالک آن را برای همه (۱ تا ۱۰) یا برای یک فرد تغییر می‌دهد. در سقف، **وصل کردن یکی دیگر** نشان داده نمی‌شود و ربات لینکی را که پیش‌تر ساخته شده با ذکر دلیل رد می‌کند. گفتگوی تازه به دیگر گفتگوهای فرد اطلاع داده می‌شود («Telegram دیگری وصل شد، اگر شما نبودید، اتصالش را قطع کنید»).
- هر تغییر (لینک، لغو، قطع اتصال، کلید) از همان سقف ساعتی دیگر کارهای صفحه کم می‌شود (۲۰ برای هر شبکهٔ کلاینت، ۱۰۰ برای هر لینک)؛ خواندن این بخش، که صفحه هنگام انتظار برای Telegram انجام می‌دهد، کم نمی‌شود. مانند هر درخواست زیر لینک، صفحه به رمز عبور صفحه نیاز دارد.
- صفحه نام کاربری ربات، شناسهٔ ردیف هر گفتگو، زبان، تاریخ و روشن یا خاموش بودن اعلان‌ها را می‌گیرد. هرگز شناسهٔ گفتگوی Telegram یا توکن ربات را نمی‌گیرد. در گزارش ممیزی `user_telegram_link_begin`، `user_telegram_link_cancel`، `user_telegram_unlink` و `user_telegram_mute` با شناسهٔ فرد ثبت می‌شود.

**حریم خصوصی.** وصل کردن یک گفتگو فرد را به یک حساب Telegram گره می‌زند: پنل این پیوند را نگه می‌دارد (شناسهٔ گفتگو رمزگذاری شده است) و Telegram می‌بیند که این حساب با رباتی از این سرویس گفتگو می‌کند. ربات نام و واژه‌های بی‌طرف دارد، هرگز لینک نمی‌فرستد و چیزی نمی‌پرسد. آن را به کسانی که برایشان مهم است حساب Telegram به استفاده‌شان از سرویس گره بخورد پیشنهاد نکنید و اصرار نکنید: صفحه اول می‌پرسد و فرد انتخاب می‌کند.

## DNS

وقتی مالک **انتخاب DNS در صفحه** را روشن کند (پایین را ببینید)، فرد در صفحه‌اش انتخاب می‌کند:
Expand Down
Loading
Loading