69 Commits
Author SHA1 Message Date
isaacandClaude Opus 4.7 e918b353ec Postbox refactor waves 278-356: squash
Squashes 79 sequential refactor waves into a single commit.

Highlights:
- Drop `import Postbox` (and matching `//submodules/Postbox` BUILD deps) from a wide swath of consumer files: ChatList, ChatMessage*BubbleContentNode subclasses, ListMessageNode/ListMessageItem, GalleryData, ChatHistorySearchContainerNode, ChatPanelInterfaceInteraction, ChatControllerInteraction, ChatMessageStickerItemNode, ChatMessageReplyInfoNode, ChatMessageInstantVideoItemNode, ChatPresentationInterfaceState, BrowserMarkdown/Readability, MediaResources, LocalMediaResources, ICloudResources, FetchManager, ShareController, OpenChatMessage, GalleryController, GroupStickerSearchContainerNode, GroupStickerPackCurrentItem, ChatPinnedMessageTitlePanelNode, OverlayAudioPlayerController, PresentationThemeSettings, StatisticsUI/StoryIconNode, TextFormat/StringWithAppliedEntities, GalleryUI/VideoAdComponent, StickerPackPreviewUI, WallpaperPreviewMedia, WallpaperResources, YoutubeEmbedImplementation, InstantPageExternalMediaResource, PlatformRestrictionMatching, TelegramUIDeclareEncodables, ChatListNode/ChatListSearchContainerNode.
- Add `TelegramEngine` facades: `Themes.wallpapers`, `Themes.themes`, `AccountData.addAppLogEvent`.
- Add `EngineMessageHistoryEntryLocation` wrapper.
- Add `EngineRaw*` escape-hatch typealiases (`EngineRawMessage`, `EngineRawPeer`, `EngineRawMedia`, `EngineRawMediaResource`, `EngineRawMediaResourceData`, `EngineRawItemCollectionItem`, `EngineRawItemCollectionInfo`) and `engineDeclareEncodable` forwarder.
- Drop unused `account:`/`postbox:`/`network:` parameters from several public functions and delete the dead overloads/types/functions left over: `automaticThemeShouldSwitchNow`, `cancelFreeMediaFileInteractiveFetch`, `legacyEnqueueVideoMessage`, `TelegramMediaFileReference`, plus assorted dead public TelegramCore/AccountContext SecureId entry points.
- Delete entire dead modules: `LegacyDataImport`, `TonBinding`, `SpotlightSupport`, `SvgRendering`, third-party `AppCenter`/`VectorPlus`/`SwiftColor`/`SwiftSVG`.
- Drop orphan `//submodules/Postbox` BUILD deps across 3 cleanup rounds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 14:11:06 +02:00
Ilya Laktyushin d212968040 Update API 2026-04-28 20:35:06 +02:00
Isaac 3b5707fe0f Update 2026-02-19 21:20:27 +01:00
Isaac 7171441b96 Update 2026-02-16 21:54:04 +04:00
IsaacandClaude Opus 4.5 b5dc0b2fd9 Refactor constructor use sites for types 400-419 to struct pattern
Refactored Api constructors in authorization and channel-related code:
- authorization, authorizationSignUpRequired, sentCode, sentCodeSuccess,
  sentCodePaymentRequired, sentCodeTypeFirebaseSms, and related types
- channelParticipant, channelParticipants, sendAsPeers, adminLogResults
- chatlistInvite, chatlistInviteAlready, chatlistUpdates, exportedChatlistInvite
- popularAppBots, sponsoredMessageReportResultChooseOption, and others

Fixed variable shadowing issues where 'user' was extracted and then
immediately shadowed by TelegramUser initialization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 23:15:21 +08:00
IsaacandClaude Opus 4.5 5e27a39d80 Refactor constructor use sites for types 380-399 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 22:58:30 +08:00
Isaac 8696bb0c2a Fix constructors 2026-01-16 15:40:50 +08:00
IsaacandClaude Opus 4.5 a78b2c0db2 Refactor Api types 70-89 to use struct-wrapped constructors
Types refactored:
- 70-79: contactStatus, dataJSON, dcOption, defaultHistoryTTL, dialog,
  dialogFolder, dialogFilter, dialogFilterChatlist, dialogFilterSuggested,
  dialogPeer, dialogPeerFolder, disallowedGiftsSettings, document, documentEmpty
- 80-89: documentAttribute* (Audio, CustomEmoji, Filename, ImageSize, Sticker, Video),
  draftMessage, draftMessageEmpty, emailVerification* (Apple, Code, Google),
  emailVerifyPurposeLoginSetup, emoji* (Group, GroupGreeting, GroupPremium,
  Keyword, KeywordDeleted, KeywordsDifference, Language, List, Status,
  StatusCollectible), inputEmojiStatusCollectible

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 02:12:20 +08:00
IsaacandClaude Opus 4.5 df3b1cddcf Refactor Api types 60-64 to use struct-wrapped constructors
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 01:29:09 +08:00
Isaac 8f1c9019be Passkeys 2025-12-02 01:43:04 +08:00
Isaac 95ecb88025 Passkeys 2025-11-19 00:07:50 +08:00
Isaac 1d06c3f058 Bot forums v2 2025-09-05 15:25:50 +02:00
Ilya Laktyushin e7c698d5f1 Various fixes 2025-08-23 21:40:21 +04:00
Ilya Laktyushin 80cd8f7b32 Various improvements 2025-03-11 06:49:43 +04:00
Ilya Laktyushin 2ecbaf4507 Various improvements 2025-03-10 15:32:15 +04:00
Ilya Laktyushin ffbc7921cf Web app improvements 2024-06-28 23:41:21 +04:00
Isaac e9264a570d Update support account detection 2024-06-26 14:52:29 +01:00
Isaac 95ffacf97c Fix firebase 2024-05-15 19:32:06 +04:00
Isaac 8736981248 Message effects improvements 2024-05-13 20:14:15 +04:00
Isaac 16faaa4575 [WIP] Send message effects 2024-05-03 22:56:50 +04:00
Ilya Laktyushin 7b0b47e894 Various improvements 2024-04-22 18:47:25 +04:00
Ilya Laktyushin 8876026edb Add option to disable future login tokens 2024-04-17 21:19:06 +04:00
Ilya Laktyushin a736b22baa Authorization improvements 2024-04-16 17:21:40 +04:00
Ilya Laktyushin 231d8f0808 Update API 2024-04-15 16:39:53 +04:00
Isaac 8dc59be281 My Profile improvements 2024-04-08 17:04:46 +04:00
Ilya Laktyushin 32bde3d24b Update API 2024-01-30 03:25:44 +04:00
Isaac 4594df516e Saved message tags improvements 2024-01-29 11:57:26 +01:00
Ilya Laktyushin cd4940865d Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2023-05-01 15:51:51 +04:00
Ilya Laktyushin b9dc5d99cd Camera improvements 2023-05-01 15:51:23 +04:00
Ali 1037b25bc5 Add app outdated error 2023-04-25 21:25:48 +04:00
Ilya Laktyushin 1b91c12428 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2023-04-25 18:45:53 +04:00
Ilya Laktyushin a2ca4ddc3e Login email reset improvements 2023-03-13 12:44:08 +04:00
Ilya Laktyushin 3e99385716 Add login email reset 2023-03-09 20:29:28 +04:00
Ilya Laktyushin 79645b4fef Update API [skip ci] 2023-03-08 13:23:02 +04:00
Ali a40ce690ee Support parallel channel reset 2023-01-31 20:14:34 +01:00
Ali 6d8c7243e5 Permission and search UI improvements 2023-01-17 23:02:57 +04:00
Ali 52877b552c Support firebase auth 2023-01-13 01:36:25 +04:00
Ali 58f6657c6e API updates, token login support, initial data usage screen implementation 2023-01-07 00:36:12 +04:00
Ali da7b04a592 Storage usage improvements 2023-01-03 17:44:14 +04:00
Ilya Laktyushin e15dca9bcc Various fixes 2022-08-29 05:25:29 +02:00
Ilya Laktyushin b4e057f444 Various fixes 2022-08-28 23:21:45 +02:00
Ilya Laktyushin bb06841df3 Various improvements 2022-08-28 15:07:00 +02:00
Ilya Laktyushin 27272d8ea9 Authorization improvements 2022-08-17 15:20:25 +03:00
Ilya Laktyushin aea7e12813 [WIP] Email authorization 2022-08-13 01:11:48 +03:00
Ilya Laktyushin 16d6010385 Add account deletion 2022-06-30 18:55:19 +03:00
Ali 5004405e0b Various improvements 2021-11-27 00:04:30 +04:00
Ali 4593b7fd92 Clean 2021-11-26 15:51:15 +04:00
Ali d940f6571d Fix password entry after migrate 2021-11-26 13:29:33 +04:00
Ali 42b5d07888 Updated code input 2021-11-24 00:42:18 +04:00
Ali 3e60c417bf Update API [skip ci] 2021-11-23 17:07:59 +04:00