Commit graph

252 commits

Author SHA1 Message Date
isaac
b20cd3502b Postbox -> TelegramEngine waves 11-14: stateManager collapse + BUILD-dep sweep
Wave 11: ActionSheetPeerItem de-Postboxed. Revisits wave-1 abandonment.
`postbox: Postbox, network: Network` init params collapse to
`stateManager: AccountStateManager`; avatar setPeer call routes via
`item.stateManager.postbox` / `.network`. Module never names Postbox.
Sole caller (ShareController.swift:1146) migrated in place.

Wave 12: HorizontalPeerItem de-Postboxed (same pattern). Ripples the
collapse up into ChatListSearchRecentPeersNode's public init
(`postbox:/network:` -> `stateManager:`). That module still imports
Postbox for PostboxViewKey/UnreadMessageCountsView internals but its
public surface simplifies. 3 external caller sites migrated.

Wave 13: AttachmentTextInputPanelNode minor cleanup. Module was already
Postbox-free at source level (wave 6) but carried a dead BUILD dep and
had 2 raw `peerId?.namespace == Namespaces.Peer.SecretChat` checks.
Both now use existing `PeerId.isSecretChat` extension in TelegramCore.

Wave 14: BUILD-dep sweep mirroring wave 6's source sweep. 98 modules
had `//submodules/Postbox:Postbox` (or `//submodules/Postbox`) BUILD
deps despite no source file importing Postbox since wave 6. Single
iteration, zero restores -- Bazel Swift requires source-level `import`
for symbol resolution, so redundant BUILD deps are pure metadata.

Net: 110 files, +116/-149. Build verified green (debug_sim_arm64).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 20:26:58 +02:00
Isaac
4ae15b42a7 Postbox -> TelegramEngine wave 3: MediaBox fetch/status/data facades + SaveToCameraRoll
Adds three thin forwarding methods on TelegramEngine.Resources
(fetch, status, data) over MediaBox, then migrates SaveToCameraRoll's
three public functions to use them, drops import Postbox from the
module (source + Bazel dep), and updates all 23 call sites across 14
caller files atomically.

Bundled: spec + fix + plan + C1 facades + C2 SaveToCameraRoll rewrite
+ BUILD dep drop + CLAUDE.md outcome.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 23:45:34 +02:00
Isaac
16c630b946 Refactoring 2026-04-03 15:50:39 +08:00
Isaac
2907ddbe46 Unseen polls 2026-03-27 18:30:01 +08:00
Ilya Laktyushin
b1a190f87a [WIP] Polls 2026-03-16 18:07:12 +01:00
Ilya Laktyushin
cbc5a49507 [WIP] Polls 2026-03-13 11:04:33 +01:00
Isaac
93b10b7e11 Fix emoji pack tap 2026-02-03 01:41:59 +08:00
Isaac
2db08cde89 Glass 2026-01-13 19:21:49 +04:00
Ilya Laktyushin
dff0a61d19 Various improvements 2025-07-19 12:51:42 +01:00
Ilya Laktyushin
dc0cf1d459 Fix build 2025-07-14 13:28:10 +01:00
Ilya Laktyushin
3b46e1d3d0 Various fixes 2025-06-26 14:09:26 +02:00
Isaac
eb3f95ea63 Monoforums 2025-05-29 02:05:13 +08:00
Isaac
0d56fcc294 Monoforums 2025-05-27 02:59:05 +08:00
Ilya Laktyushin
23834d139b Various fixes 2025-05-22 15:23:28 +02:00
Ilya Laktyushin
81e11d6d36 Various improvements 2025-05-20 22:30:48 +02:00
Isaac
f681453bd0 Update API 2025-05-17 00:34:35 +08:00
Isaac
09c49d47d9 [WIP] Monoforums 2025-05-16 21:03:00 +08:00
Isaac
0e119dd6f1 [WIP] Monoforums 2025-05-08 20:56:55 +01:00
Ilya Laktyushin
e351bbfd42 Various fixes 2025-03-01 19:38:31 +04:00
Ilya Laktyushin
3f8152d0b1 Various fixes 2025-03-01 17:14:17 +04:00
Ilya Laktyushin
d62c37adf1 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2025-02-28 20:09:41 +04:00
Ilya Laktyushin
7a89a58930 Various improvements 2025-02-28 20:09:31 +04:00
Isaac
66ea2cd0c3 Update localization 2025-02-28 15:39:15 +01:00
Ilya Laktyushin
b2351194d4 Various fixes 2025-02-24 17:11:08 +04:00
Ilya Laktyushin
8d7f9bf372 Various improvements 2025-02-22 19:17:36 +04:00
Isaac
f17ead143a Various improvements 2025-02-18 14:43:23 +01:00
Isaac
3728be84cb Video improvements 2025-01-28 20:51:04 +04:00
Isaac
c21ebb06b5 Finalize timestamp sharing 2025-01-24 21:03:39 +04:00
Isaac
40828e9037 [WIP] UI 2025-01-21 21:08:44 +04:00
Ilya Laktyushin
b0511f146e Various improvements 2025-01-10 05:15:00 +04:00
Ilya Laktyushin
cdc82e4235 Update API 2025-01-06 16:00:43 +04:00
Isaac
df9e27f4fb [Temp] video v2 2024-12-25 00:18:02 +08:00
Ilya Laktyushin
5451053195 Various improvements 2024-12-22 17:16:14 +04:00
Isaac
19879cc4a7 Debugging 2024-10-15 23:14:11 +04:00
Isaac
af267cae64 Video player and calls 2024-09-20 22:33:36 +08:00
Isaac
923587b0da [WIP] Dynamic video streaming 2024-09-18 01:04:29 +08:00
Ilya Laktyushin
3e448e833e Story covers 2024-07-19 17:43:17 +04:00
Ilya Laktyushin
294f922e66 Fix topic selection from recent 2024-07-03 10:54:29 +04:00
Isaac
9a075fa39e Refactoring 2024-06-12 23:04:04 +04:00
Ilya Laktyushin
6de753b14a Phone numbers improvements 2024-05-16 00:50:11 +04:00
Isaac
fa0929ef95 - reaction count limit API
- my profile stories improvements
- recommended channels
2024-04-05 22:51:46 +04:00
Isaac
efae3b90a7 Support Xcode 15.3 2024-04-02 19:16:00 +04:00
Isaac
08ee841e45 UI improvements 2024-03-20 23:35:34 +04:00
Isaac
ca426d0f0b Fragment info 2024-03-08 18:43:18 +04:00
Ilya Laktyushin
16903cdffd Business intro screen 2024-02-16 15:29:55 -04:00
Ilya Laktyushin
cce393a28a Merge commit 'b909d1bea0' 2024-02-06 17:33:38 +04:00
Isaac
51fcc024d6 Various improvements 2024-02-06 00:06:31 +04:00
Isaac
4bd4884887 Saved messages view as chats 2024-01-28 18:59:00 +01:00
Ilya Laktyushin
2716a936bf Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2024-01-26 01:54:47 +04:00
Ilya Laktyushin
669151da80 Various improvements 2024-01-26 01:53:43 +04:00