277 Commits

Author SHA1 Message Date
AlexeyZavar d9c6e3a322 Merge tag 'v6.7.4' into dev 2026-04-07 19:39:36 +03:00
John Preston a5307489ff Accept also base64 (non-url) secrets. 2026-04-07 11:57:42 +07:00
rdmcd a17199c7a9 Fix startchannel deeplink: add missing stories rights and bot defaults fallback.
ParseRequestedAdminRights was missing post_stories, edit_stories and
delete_stories identifiers, causing all admin rights to be discarded
when any of these appeared in the admin parameter. Also, startchannel
always used explicit URL rights even when empty, never falling back to
bot's default admin rights configured via BotFather (unlike iOS client).

Unknown admin right identifiers are now skipped instead of discarding
all already-parsed rights, improving forward-compatibility of deeplinks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 11:26:02 +07:00
John Preston b51c0ca5e7 Allow trailing slash in newbot link. 2026-04-06 15:41:42 +07:00
John Preston c6c2479268 Fix newbot links parsing. 2026-04-06 15:41:42 +07:00
AlexeyZavar 2f5970d57c Merge tag 'v6.7.2' into dev 2026-04-04 05:32:26 +03:00
23rd a479459d76 Added support of link to specific option in poll. 2026-03-30 10:19:14 +03:00
John Preston d455d6ee32 Improve managed bot creation. 2026-03-25 13:08:50 +07:00
John Preston 358a9f87a1 Initial support for managed bot creation. 2026-03-25 13:08:50 +07:00
AlexeyZavar b93c93a20c Merge tag 'v6.6.2' into dev 2026-03-19 01:24:29 +03:00
23rd 15be845421 Blocked internal oauth links from inside the app.
Related commit: cb827406ca.
2026-02-28 19:07:11 +04:00
John Preston 2aae67cb81 Show nice gift burned error everywhere. 2026-02-28 19:07:10 +04:00
AlexeyZavar a0604c5594 chore: rewrite settings to new builder & support settings links from android version 2026-02-26 15:46:04 +03:00
AlexeyZavar 8bfd3bee99 Merge tag 'v6.5.1' into dev 2026-02-17 03:35:09 +03:00
AlexeyZavar b6d19149d9 feat: per-account ghost & lock ghost features & refactor 2026-02-13 16:52:15 +03:00
John Preston edae1efabe Fix old tg://settings links, including Login Email. 2026-02-09 21:52:09 +04:00
23rd cdf3481de9 Added support of new oauth urls. 2026-02-01 23:33:58 +04:00
John Preston e4c7d62012 Activate window with shown nft. 2026-01-29 18:20:40 +04:00
John Preston 0e7a20fe9f Close mediaview when opening nft links. 2026-01-29 18:20:40 +04:00
John Preston f5319724e3 Move Settings::PrivacySecurity class to anonymous namespace
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 480dcd8a7a Move Settings::Main class to anonymous namespace
- Move Main class definition from header to .cpp file
- Export only Type MainId() from header
- Update all external references from Main::Id() to MainId()
- Remove Builder::MainSection export from namespace
- Add missing includes for settings_common_session.h where needed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 7e5b85c4b3 Upgrade settings_information to full builder pattern
- Move Information class to anonymous namespace in .cpp
- Export only Type InformationId() from header
- Keep exported helpers: SetupAccounts, UpdatePhotoLocally, Badge::*
- Use custom buildMethod with HighlightRegistry for all profile widgets
- Update all references to use InformationId() instead of Information::Id()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 7dbeb56111 Upgrade settings_active_sessions to full builder pattern
- Move Sessions class to anonymous namespace in .cpp file
- Export only Type SessionsId() in header
- Use builder pattern with custom buildMethod for widget creation
- Handle highlights registration through WidgetContext
- Rename local Type enum to DeviceType to avoid conflict with Settings::Type
- Update all references to Sessions::Id() in other files to use SessionsId()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston df347ad0f4 Upgrade settings_folders to full builder pattern
- Move Folders class to anonymous namespace in .cpp
- Export only Type FoldersId() from header
- setupContent() uses custom SectionBuildMethod capturing state
- Widget creation through builder.add() callbacks
- Highlight registration via push_back

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 9316cec95d Rewrite settings_premium to new builder pattern
- Move settings_premium.h/cpp from settings/ to settings/sections/
- Add BuildHelper with kMeta for search indexing
- Index premium features and subscribe button for search
- Keep complex Premium section UI (custom top bar, feature list) as non-indexed
- Update all include paths across the codebase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston fd4c42a156 Rewrite settings_information to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 5b14d62ede Rewrite settings_folders to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 1fa68effdd Rewrite settings_credits to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston e60db7cfb1 Rewrite settings_active_sessions to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 057e21905e Rewrite settings_global_ttl to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston 8d30a03f50 Unite settings_privacy_security and settings_privacy_security_builder into settings/sections/settings_privacy_security.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston 7c06e847f9 Unite settings_chat and settings_chat_builder into settings/sections/settings_chat.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston c39bc10d2f Unite settings_main and settings_main_builder into settings/sections/settings_main.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston 1e5a93249c Support all required deep links. 2026-01-28 11:55:19 +04:00
John Preston 47b2b604e4 Add structure for huge amount of deep links handling. 2026-01-28 11:55:18 +04:00
AlexeyZavar e15d380dd1 Merge tag 'v6.4.2' into dev 2026-01-12 20:19:28 +03:00
23rd f2dc58d4a8 Made login email check less restricted in privacy settings. 2025-12-30 20:47:54 +03:00
AlexeyZavar cb24e7d085 Merge tag 'v6.3.10' & extra into dev 2025-12-30 14:28:06 +03:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd 0f41fd1356 Added ability to remove personal channel from your profile section. 2025-12-15 21:40:53 +04:00
23rd 8c3a8a7d20 Added ability set currently opened channel as personal from info menu. 2025-12-15 21:40:53 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
AlexeyZavar 77e300b551 Merge tag 'v6.3.6' into dev 2025-12-09 20:09:22 +03:00
John Preston e43830c08e Handle auction links. 2025-11-15 12:00:01 +04:00
John Preston 2a88103b5f Support live stories links. 2025-11-15 11:59:20 +04:00
23rd 449f7fb2a3 Added support settings/login_email link. 2025-11-15 11:59:19 +04:00
AlexeyZavar 51a7739436 Merge remote-tracking branch 'upstream-main/dev' into dev 2025-10-27 12:17:51 +03:00
23rd 68f0e25227 Wrapped buttons in edit contact box. 2025-10-10 09:27:00 +04:00
John Preston ccdff5baef Support birthday suggestion view/process. 2025-10-10 09:27:00 +04:00