58 Commits

Author SHA1 Message Date
Ilya Laktyushin 2c002ba3a7 Various fixes 2026-04-27 03:07:38 +02:00
isaac d1aa0db537 Postbox -> TelegramEngine waves 46-93 (squashed)
Squash of 63 commits spanning waves 46-93 (plus interspersed docs commits)
of the gradual Postbox->TelegramEngine consumer-side migration.

Scope: 139 files changed, 2123 insertions(+), 452 deletions(-).

## Themes by wave-block

**Waves 46-58 — Peer field migrations + facade additions**
Foundational EnginePeer convenience init additions (PeerReference, RenderedPeer,
SelectivePrivacyPeer). Multiple `peer: Peer` field migrations across PeerInfo,
ChatList, and SettingsUI components.

**Waves 59-73 — peer field cascade + EnginePeer wrap drops**
Series of single- to two-file peer-field migrations; consumer-side wrap
removal (`EnginePeer(peer)` -> direct EnginePeer use); `as? TelegramUser`
cast conversion to `case let .user(...)` enum match. Wave 64: RenderedPeer
convenience init. Wave 68: SelectivePrivacyPeer convenience init.

**Waves 74-83 — controller-Node bridge cleanup + small migrations**
Wave-71 shadow-pattern cleanup at controller->Node bridges. Migrations of
ChatRecentActionsController.peer (74), PeerInfoMember (75), MentionChatInputPanelItem
(76), PassportUI SecureIdAuthController (77), AccountWithInfo + ShareController
(78), peerInputActivitiesPromise (79), InactiveChannel (80), BlockedPeers (81),
openHashtag resolveSignal (82), NotificationExceptionsList (83).

**Waves 84-90 — TelegramEngine.Resources facade migrations**
Per-method Shape-A/B sweeps converting `<ctx>.account.postbox.mediaBox.X(...)`
to `<ctx>.engine.resources.X(...)`. Wave 90 was a single-commit big sweep:
40 fetchedMediaResource sites in 25 files migrated to engine.resources.fetch
facade in one atomic pass with first-pass-clean build.

Methods covered: storeResourceData, completedResourcePath, cancelInteractiveResourceFetch,
resourceRangesStatus, resourceStatus, fetch (fetchedMediaResource).

**Waves 91-92 — additional type migrations**
Wave 91: ItemListWebsiteItem.peer + RecentSessionsController enum-case payload
+ openWebSession callback Peer? -> EnginePeer?.
Wave 92: ChatListController StateHolder.EntryContext status type
MediaResourceStatus -> EngineMediaResource.FetchStatus.

**Wave 93 — speculative `import Postbox` drop sweep**
Drop import from 7 wave-touched files where it became unused; restore in 5
files where bare PeerId/Message/MediaId/StoryId references escaped the
pre-flight regex. Includes one MediaId(...) -> EngineMedia.Id(...) swap in
InAppPurchaseManager to unlock its import drop.

## Build state

Final state at squash: clean Telegram/Telegram build at debug_sim_arm64.

## Persistent-state notes

- Pre-existing WIP unchanged across the squashed range:
  - build-system/bazel-rules/sourcekit-bazel-bsp submodule marker
  - Untracked: build-system/tulsi/, submodules/TgVoip/, third-party/libx264/

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 20:48:15 +04:00
Ilya Laktyushin b1a190f87a [WIP] Polls 2026-03-16 18:07:12 +01:00
Ilya Laktyushin d9d1210c1d Various improvements 2026-02-19 21:53:26 +04:00
Ilya Laktyushin 2edce5ebf2 Alerts 2025-12-22 00:19:11 +04:00
Ilya Laktyushin a60a437206 Various improvements 2025-08-22 21:46:07 +04:00
Isaac b625243040 Various improvements 2025-07-29 15:48:11 +02:00
Ilya Laktyushin b4832ff856 Update API 2025-07-14 12:50:11 +01:00
Ilya Laktyushin f59abe1689 Various improvements 2025-06-10 22:11:07 +02:00
Ilya Laktyushin 80cd8f7b32 Various improvements 2025-03-11 06:49:43 +04:00
Isaac df9e27f4fb [Temp] video v2 2024-12-25 00:18:02 +08:00
Isaac af267cae64 Video player and calls 2024-09-20 22:33:36 +08:00
Isaac 42a6f6e8bc Bot previews 2024-07-24 01:56:34 +08:00
Isaac 8af8de7096 Reaction experiments 2024-06-28 19:36:15 +02:00
Ilya Laktyushin e47b5a89ef Paid media improvements 2024-06-24 04:06:57 +04:00
Ilya Laktyushin 43faf7619d Fact check fixes 2024-05-20 20:00:50 +04:00
Isaac 608893e317 Message effects improvements 2024-05-14 15:48:07 +04:00
Isaac 16faaa4575 [WIP] Send message effects 2024-05-03 22:56:50 +04:00
Ilya Laktyushin 891fed3189 Add story stealth mode shortcut in chat list 2024-04-23 02:51:25 +04:00
Isaac 6ed9cef40a [WIP] Quick replies 2024-02-23 15:26:33 +04:00
Isaac 46881c65ca [WIP] Business 2024-02-16 22:52:01 +04:00
Ilya Laktyushin 0f551568c6 Group boosts 2024-02-09 16:55:45 +04:00
Isaac 12d5ed5a2d Merge commit 'afb3e2ca64988d933d7bd71b862f9f8c33a9dc5d' 2024-02-07 23:08:13 +04:00
Isaac 3fe8232c6e Fix group reactions and tag filtering 2024-02-07 23:08:10 +04:00
Ilya Laktyushin 6af485cff1 Group boosts 2024-02-07 20:56:13 +04:00
Isaac 953e1598f7 [WIP] Release changes 2024-01-26 15:33:01 +01:00
Isaac 0cab0ca678 [WIP] Saved messages 2024-01-23 17:52:21 +01:00
Ilya Laktyushin 41f943b5f1 Various fixes 2024-01-15 17:08:34 +04:00
Ilya Laktyushin 42421342b8 Video message recording improvements 2024-01-14 17:31:02 +04:00
Ilya Laktyushin cd6acadf41 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2024-01-08 19:03:34 +04:00
Ilya Laktyushin 107a48b53d Various improvements 2024-01-08 17:03:26 +04:00
Isaac 52334868ad Fix isTags 2024-01-06 01:02:11 +04:00
Isaac fb517e49c9 [WIP] Privacy update 2024-01-05 10:55:59 +04:00
Isaac 0308118446 [WIP] Tags 2024-01-02 23:15:00 +04:00
Ilya Laktyushin f11c070862 [WIP] View-once audio messages 2023-12-29 04:50:22 +04:00
Ilya Laktyushin 061e2c5c21 [WIP] View-once audio and video messages 2023-12-27 22:29:02 +04:00
Isaac 0ad61d8d63 [WIP] Saved messages 2023-12-23 00:47:22 +04:00
Ilya Laktyushin 4a4917f704 Various fixes 2023-12-20 20:22:11 +04:00
Ilya Laktyushin 1fa4bd2267 Various improvements 2023-12-17 22:45:25 +04:00
Ilya Laktyushin 7f0aff80f0 Various improvements 2023-12-17 21:22:01 +04:00
Ilya Laktyushin 7d45c4c9d0 Various improvements 2023-12-16 15:57:24 +04:00
Ilya Laktyushin 22c67867c6 Various fixes 2023-12-04 20:06:11 +04:00
Ilya Laktyushin c8d483a2c7 Various fixes 2023-11-27 15:25:17 +04:00
Ilya Laktyushin af9c7ed5d3 Various improvements 2023-11-25 17:42:18 +04:00
Ilya Laktyushin 90f09a13e4 Various improvements 2023-11-22 03:24:33 +04:00
Ali 8d9406465b Merge branch 'beta' 2023-11-06 23:56:38 +04:00
Ali c77e800780 Fix round video panels width 2023-11-06 23:50:35 +04:00
Ali 2a02a41ac2 Precise quote support 2023-11-04 01:20:34 +04:00
Ilya Laktyushin 2179c8318d Opening progress for giveaway and gift link messages 2023-11-02 20:29:24 +04:00
Ali dc6bb4254c Fix leaks 2023-11-01 22:23:44 +04:00