59 Commits
Author SHA1 Message Date
Ilya Laktyushin 91eb779ae2 Merge commit 'c64653ed37ce9fe2bc74e260e9e960fcf3ab5dc1' 2026-05-14 12:45:26 +02:00
isaacandClaude Opus 4.7 c0acc09cb1 Postbox -> TelegramEngine wave 44
Migrate RenderedChannelParticipant.peers from [PeerId: Peer] to
[EnginePeer.Id: EnginePeer]. Closes the wave-41 ratchet — the public
struct no longer leaks raw Peer types in any field (presences stays
Postbox-typed; separate migration).

Consumer-surface: -10 bridges. Dropped 6 EnginePeer(peer) read-wraps
at participant.peers[...] extraction sites across
ChannelAdminsController, ChannelMembersSearchContainerNode,
ChannelBlacklistController. Dropped 5 .mapValues({ $0._asPeer() })
constructor-unwrap transforms in ChannelAdminsController,
ChannelMembersSearchContainerNode, ChannelMembersSearchControllerNode.
Added 2 ._asPeer() unwraps in ChatRecentActionsHistoryTransition at
the two iteration sites (line 673 via participant.peers, line 2273
via new.peers in participantSubscriptionExtended) where the iterated
value is inserted into a raw-Peer SimpleDictionary.

TelegramCore producers: 8 files build the local peers dict inside
postbox.transaction and wrap at the insertion point. ChannelMembers,
RequestStartBot, ChannelOwnershipTransfer, JoinChannel, AddPeerMember,
PeerAdmins, ChannelBlacklist, Ranks.

2-iteration build convergence. Iteration-1 surfaced new.peers at
ChatRecentActionsHistoryTransition:2272 that the plan's participant.peers
pre-flight grep missed; wider grep now confirms the two iteration sites
are the complete surface.

No unit tests in this project; full Telegram/Telegram build verified
under configuration=debug_sim_arm64.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 23:21:05 +04:00
isaacandClaude Opus 4.7 493f3103b3 Postbox -> TelegramEngine waves 37-43 + wave 44 design/plan (squashed)
Squashes 20 commits — the implementation and outcome commits of
waves 37 through 43 plus wave 44's spec and implementation-plan
docs — into a single commit. Per-wave lessons remain recorded in
docs/superpowers/postbox-refactor-log.md. The unrelated "Add swift
svg" commit is preserved separately outside this squash.

Wave 37 — peerTokenTitle: peer Peer → EnginePeer (1 file)
Wave 38 — canSendMessagesToPeer: peer Peer → EnginePeer (12 files)
Wave 39 — AccountContext.makePeerInfoController: peer Peer → EnginePeer (52 files)
Wave 40 — makeChatQrCodeScreen + makeChatRecentActionsController bundle (8 files)
Wave 41 — RenderedChannelParticipant.peer: Peer → EnginePeer (28 files)
Wave 42 — PeerInfoScreenData.peer: Peer? → EnginePeer? (17 files)
Wave 43 — PeerInfoScreen 6 helpers: peer Peer? → EnginePeer? (12 files)
Wave 44 — RenderedChannelParticipant.peers design doc + implementation plan
         (impl and outcome land in subsequent commits, not part of squash)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 23:19:43 +04:00
Ilya Laktyushin ed55943a44 Various improvements 2026-03-27 01:13:38 +01:00
Ilya Laktyushin ad73bdf08c Various fixes 2026-02-27 19:44:46 +04:00
Ilya Laktyushin b07a2fbb77 Various improvements 2026-02-24 03:03:45 +04:00
Ilya Laktyushin 2c4c9a9d9b [WIP] Live photos 2026-02-20 13:28:58 +04:00
Ilya Laktyushin d9d1210c1d Various improvements 2026-02-19 21:53:26 +04:00
Ilya Laktyushin 0915a42e64 Various improvements 2025-10-16 05:30:06 +04:00
Isaac b9b38e5fbf Various improvements 2025-10-11 00:56:21 +08:00
Isaac ce0e2ba62d Send as improvements 2024-08-12 22:34:30 +08:00
Isaac ea476138b1 Update localization 2024-08-12 11:59:51 +04:00
Isaac a95fef1c4c Stars reactions 2024-08-12 03:32:44 +04:00
Ilya Laktyushin 2bf11a6279 Various improvements 2024-08-09 17:43:47 +02:00
Isaac 0986fc0352 Merge commit 'b62b39523acf07d7b3447c934ac8baccd0988631'
# Conflicts:
#	Telegram/Telegram-iOS/en.lproj/Localizable.strings
2024-08-08 14:16:33 +04:00
Isaac 289273dcd9 Update API [skip ci] 2024-08-08 14:15:32 +04:00
Ilya Laktyushin 7fa73c6106 Merge branch 'stars-subscriptions' 2024-08-06 22:40:37 +02:00
Isaac 3ff98fd2a8 [WIP] Star reactions 2024-08-06 15:00:29 +04:00
Ilya Laktyushin dc68eab568 Merge branch 'master' into stars-subscriptions 2024-07-30 11:29:42 +02:00
Ilya Laktyushin 088cdc0939 Fix admins list 2024-04-05 22:53:40 +04:00
Ilya Laktyushin 971b4d6986 Group boosts 2024-02-09 15:17:45 +04:00
Ilya Laktyushin df505a7b62 Various improvements 2023-10-22 13:52:38 +04:00
Ilya Laktyushin f13b1da0bb Web app improvements 2023-09-09 17:34:49 +04:00
Ali 95947fdb99 Refactoring [skip ci] 2023-04-20 18:43:29 +04:00
Ilya Laktyushin 4069dc467a Move Recent Actions to profile screen 2023-04-18 12:49:43 +04:00
Ilya Laktyushin e70d6867d9 Various fixes 2022-11-29 00:20:35 +04:00
Ilya Laktyushin 5d25b32ac4 Various improvements 2022-11-22 02:03:51 +04:00
Ilya Laktyushin 37e752c78f Various forum improvements 2022-11-15 22:29:09 +04:00
Ali 3ec3cce9c1 [WIP] Topics 2022-10-23 00:22:27 +04:00
Ali e8d124c812 Refactoring 2022-05-28 18:26:23 +04:00
Ilya Laktyushin 2f6d84fabf Various Fixes 2021-11-04 21:43:51 +04:00
Ali 6e5c503338 Refactoring 2021-09-20 14:51:46 +03:00
Ilya Laktyushin 79ecba19b0 Chat-specific theme improvements 2021-09-04 00:39:56 +03:00
Ilya Laktyushin 60c51d8008 Various Improvements 2021-09-03 15:50:25 +03:00
Ali 31bc746984 Fix more warnings 2021-08-05 01:42:59 +02:00
Ali 1a04fb4408 Refactor SyncCore back into TelegramCore 2021-07-21 21:43:20 +02:00
Ali 7bed1728bb Refactor string generation 2021-07-20 11:57:50 +02:00
Ali b4f35689f0 Refactoring 2021-07-08 02:35:51 +04:00
Ali 9134bae908 Refactoring 2021-07-07 01:59:12 +04:00
Ali a274bf350d Voice chat and admin updates 2021-03-18 23:39:46 +04:00
Ali 7b1377f121 Support admins with empty rights 2021-02-18 17:11:01 +04:00
Ali e73ef7ceef Voice chat fixes 2020-11-30 00:56:40 +04:00
Ali 4336fa0d05 Group chats update 2020-11-17 20:31:25 +04:00
Ali 1b8cd5e9e0 Comment improvements 2020-09-03 17:09:26 +01:00
Ilya Laktyushin 28394131a5 Video avatar fixes 2020-07-10 22:00:41 +03:00
Ilya Laktyushin a50a19623a Various UI fixes 2020-07-09 06:06:33 +03:00
Ali 07ba32d77e Fix channel admin list controller after upgrade 2019-12-24 13:55:36 +04:00
Ali 5faa143d6f Implement content restriction API 2019-12-08 02:52:11 +04:00
Ali eaa8bcb08e Support Dynamic Type 2019-11-19 23:28:36 +04:00
Ali bb11b4e266 Fix controller stack after upgrading a supergroup 2019-11-09 23:51:37 +04:00