Mikhail Filimonov
8a62072984
macos
2026-05-21 20:04:05 +01:00
isaac and Claude 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
Isaac and Claude Opus 4.7
c99adbbe0b
Postbox -> TelegramEngine wave 5: uploadSecureIdFile + SecureId context
...
Migrates uploadSecureIdFile's public signature from (context:,
postbox: Postbox, network: Network, resource: MediaResource) to
(context:, engine: TelegramEngine, resource: EngineMediaResource).
SecureIdVerificationDocumentsContext refactored to hold
engine: TelegramEngine instead of raw postbox + network, drops
import Postbox (tally +1). The one instantiation site in
SecureIdDocumentFormControllerNode updates to pass
engine: self.context.engine.
Completes the last explicitly-named future-wave candidate from
CLAUDE.md.
Bundled: spec + plan + C1 atomic migration + CLAUDE.md outcome.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-19 23:45:59 +02:00
Isaac and Claude Opus 4.5
81e17da3fb
Refactor constructor use sites for types 420-439 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 23:22:34 +08:00
Isaac and Claude 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
Isaac and Claude 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 and Claude Opus 4.5
55c53717af
Refactor constructor use sites for types 360-379 to struct pattern
...
Migrated 20 types including userProfilePhoto, userStatus*, username, videoSize*,
wallPaper*, webDocument*, webPage*, webViewResultUrl, authorizations,
authorizationForm, autoDownloadSettings, businessChatLinks, chatThemes,
connectedBots, and contentSettings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 22:45:35 +08:00
Isaac and Claude Opus 4.5
5712f3061f
Refactor constructor use sites for types 280-299 to struct pattern
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-18 14:42:21 +08:00
Isaac and Claude Opus 4.5
e68bdc05ca
Refactor Api types 150-179 to use struct-wrapped constructors
...
- Update pattern matches to use struct-based extraction for inputPeer*,
inputMedia*, inputReplyTo*, inputSticker*, inputPhoto, inputUser, etc.
- Wrap constructor calls with .init() for struct-wrapped enum cases
- 47 TelegramCore source files modified
- 5 TelegramApi files regenerated with --struct-count=180
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 15:18:11 +08:00
Isaac and Claude Opus 4.5
33a0d9e62c
Refactor Api types 120-149 to use struct-wrapped constructors
...
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-16 03:00:59 +08:00
Isaac and Claude 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
Isaac and Claude 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
Ilya Laktyushin
2ecbaf4507
Various improvements
2025-03-10 15:32:15 +04:00
Ali
f3ee06dd32
Stories
2023-07-07 02:03:11 +04:00
Ali
1a53010f54
Data usage UI improvements
2023-01-19 22:48:13 +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
Ilya Laktyushin
c5e1f9b645
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
2022-08-13 01:33:49 +03:00
Ilya Laktyushin
aea7e12813
[WIP] Email authorization
2022-08-13 01:11:48 +03:00
Ali
97239853a2
[WIP] Custom reactions
2022-08-12 23:36:56 +04:00
Ali
a183d69534
Refactoring
2022-05-29 02:09:25 +04:00
Ali
3e60c417bf
Update API [skip ci]
2021-11-23 17:07:59 +04:00
Ali
ce36439bd2
Refactoring
2021-09-19 13:55:17 +03:00
Ali
1141e09c1b
Refactoring
2021-09-07 13:09:06 +04:00
Ali
7c8ad70014
Merge branch 'master' into experimental-2
2021-07-21 22:04:58 +02:00
Ali
1a04fb4408
Refactor SyncCore back into TelegramCore
2021-07-21 21:43:20 +02:00
Ali
4776730243
Merge branch 'master' into features/64-bit
2021-07-05 00:50:38 +04:00
Ali
4893e41de2
Refactoring [skip ci]
2021-07-05 00:48:11 +04:00
Ali
a23971c0ef
Initial 64-bit id support
2021-06-28 20:02:50 +04:00
Ali
2efced46b3
Refactoring
2021-04-18 20:15:23 +04:00
Ali
5684efc505
Refactoring
2021-04-18 12:37:25 +04:00
Ali
df4b313808
Refactoring
2021-04-18 03:31:01 +04:00
Ali
8d5a945763
Initial public API refactoring experiment
2021-03-23 02:16:48 +04:00