205 Commits
Author SHA1 Message Date
Ilya Laktyushin 3e6363abf9 Various improvements 2026-05-28 16:50:05 +02:00
isaacandClaude Opus 4.7 86d1456552 Postbox -> TelegramEngine waves 107-137 (squashed)
31 waves of consumer-side migration from `import Postbox` to TelegramEngine
typealiases. Net: 173 import drops + 39 BUILD-dep drops + 1 new typealias
(`EngineStoryId = StoryId`, wave 113).

Wave shapes used:
- Orphan-import sweeps (107, 108, 128): drop `import Postbox` from files
  whose only Postbox-symbol reference was the import line itself, then
  resolve build failures. Methodology requires token-level (`grep -oE`)
  filtering, not line-level, to avoid masking real Postbox usage on lines
  that also contain `Namespaces.X` references.
- Identifier-swap mini-waves (109-127, 129-134, 136-137): rename
  Postbox-typealiased identifiers to engine equivalents
  (PeerId -> EnginePeer.Id, MessageId -> EngineMessage.Id,
  MediaId -> EngineMedia.Id, MessageIndex -> EngineMessage.Index,
  StoryId -> EngineStoryId, ItemCollectionId -> EngineItemCollectionId,
  PreferencesEntry -> EnginePreferencesEntry,
  FetchResourceSourceType/Error -> EngineFetchResourceSourceType/Error,
  MemoryBuffer -> EngineMemoryBuffer, MessageTags -> EngineMessage.Tags,
  MessageAttribute -> EngineMessage.Attribute,
  TempBox -> EngineTempBox).
- Asset-string FP-only orphans (124).
- Typealias addition + drain (113): added `EngineStoryId` typealias to
  TelegramCore, then drained 3+11 consumer sites.

Hard blockers identified during these waves (must restore `import Postbox`
when present): MediaResource[A-Za-z]* (any suffix -- the literal
`MediaResource` matches don't catch MediaResourceData/MediaResourceId/etc.),
Postbox/MediaBox/MediaResource raw types, PostboxCoding/PostboxEncoder/
PostboxDecoder, TempBoxFile, ValueBoxKey, PostboxView, combinedView,
HashFunctions, postboxLog, openPostbox, declareEncodable, PeerView,
MessageHistoryView, MessageHistoryThreadData, CachedPeerData, RenderedPeer,
SelectivePrivacyPeer, SimpleDictionary, ItemCollectionInfosView,
ItemCollectionItem, ItemCollectionItemIndex, ItemCollectionViewEntryIndex,
ChatListIndex, ChatListEntrySummaryComponents, CodableEntry,
MessageHistoryThread, MessageHistoryAnchorIndex,
MessageHistoryEntryLocation, PeerStoryStats, PeerNameIndex,
PeerSummaryCounterTags, ChatListTotalUnreadStateCategory/Stats,
arePeersEqual. Protocol-shape blockers: bare `Peer`/`Message`/`Media`
in function signatures, generic args, enum-case payloads, or dict value
types (e.g., `[PeerId: Peer]`, `case messages([Message])`,
`Signal<(Peer?, ...), NoError>`).

`replace_all PeerId -> EnginePeer.Id` is dangerous: mangles compound
names like `failedPeerId`, `ContactListPeerId`, `nextRemoteMediaId`,
`replyToMessageId`. Pre-flight grep `\b[a-z][a-zA-Z]*PeerId\b` and only
replace_all if 0 matches.

Also removes unneeded design/plan docs from a separate (link-highlighting)
feature branch:
- docs/superpowers/plans/2026-05-02-link-highlighting-modern-path-fixes.md
- docs/superpowers/specs/2026-05-02-link-highlighting-modern-path-fixes-design.md

Squashed commits: 6d82c2980d..e6de5d53a3 (59 commits, including
per-wave content commits and per-wave CLAUDE.md bumps).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 10:28:50 +02:00
Ilya Laktyushin f41630083a Various improvements 2026-04-24 03:16:14 +02:00
Ilya Laktyushin 23c4d94748 Various fixes 2026-04-19 21:50:24 +02:00
Ilya Laktyushin 1670677a92 Various fixes 2026-04-19 21:48:47 +02:00
Ilya Laktyushin b138b9f549 Stickers & emoji search pagination 2026-04-19 18:32:40 +02:00
Mikhail Filimonov db93244583 update api (rarities, crafted) 2026-01-16 16:20:08 +04:00
Ilya Laktyushin 28d4e1e171 Various improvements 2025-12-16 20:05:44 +04:00
Isaac c2c99edf89 Emoji bottom panel 2025-10-01 00:10:10 +08:00
Isaac 4746b8d486 Stickers 2025-09-30 19:09:58 +08:00
Isaac a7385ad068 Update 2025-09-30 17:41:32 +08:00
Isaac cfbd75f03d Fix entity inputs 2025-09-29 00:51:42 +08:00
Isaac 5a8bd1d98d Temp 2025-09-16 10:11:54 +04:00
Isaac c7a2fe5d3e Update to iOS 13 2025-06-11 16:59:53 +08:00
Isaac c2f0633161 Implement new emoji metadata file format 2025-06-02 23:55:34 +08:00
Ilya Laktyushin b130511450 [WIP] Gift resale 2025-04-12 02:19:32 +04:00
Isaac 46e71cd7c7 Merge branch 'beta'
# Conflicts:
#	Telegram/Telegram-iOS/en.lproj/Localizable.strings
2025-03-13 00:30:16 +01:00
Isaac 588f5cb8c0 Guard resource parsing 2025-03-08 18:30:57 +01:00
Isaac 383ab9e479 Various improvements 2025-03-07 17:52:50 +01:00
Isaac faa765b601 Various optimizations 2025-03-04 14:13:07 +01:00
Isaac 6c4070eb52 Serialization update 2025-02-14 19:11:58 +04:00
Ilya Laktyushin 0485aed646 Various improvements 2025-01-23 06:46:50 +04:00
Ilya Laktyushin b6f8cce7ea Update API [skip ci] 2025-01-10 15:22:27 +04:00
Isaac d9957ecf4e Custom vibrance effect 2024-12-23 21:43:25 +08:00
Ilya Laktyushin dc68eab568 Merge branch 'master' into stars-subscriptions 2024-07-30 11:29:42 +02:00
Isaac 9a075fa39e Refactoring 2024-06-12 23:04:04 +04:00
Isaac fe788ed9ea Message preview and effect improvements 2024-05-21 00:02:55 +04:00
Isaac 7c0216b907 Effect improvements 2024-05-20 18:51:35 +04:00
Isaac 7ef63a81df [WIP] Message effects 2024-05-10 20:57:12 +04:00
Isaac 8e043a3a7d Various improvements 2024-04-23 12:57:38 +04:00
Ilya Laktyushin 2d357afd12 [WIP] Stickers editor 2024-04-11 14:15:37 +04:00
Ilya Laktyushin f81856351a Various improvements 2024-03-28 13:23:23 +04:00
Ilya Laktyushin bb1b425217 [WIP] Stickers 2024-03-16 15:36:51 +04:00
Ilya Laktyushin daa9347ef6 [WIP] Stickers editor 2024-03-14 18:03:12 +04:00
Ilya Laktyushin 8b1bd1dec0 Various improvements 2024-03-12 17:43:21 +04:00
Ilya Laktyushin 3bdcb7f223 [WIP] Sticker editor 2024-03-09 03:19:31 +04:00
Ilya Laktyushin e6def24075 [WIP] Stickers editor 2024-02-27 10:42:45 +04:00
Ilya Laktyushin b4b90b090c Group boosts 2024-02-05 16:18:02 +04:00
Isaac fb517e49c9 [WIP] Privacy update 2024-01-05 10:55:59 +04:00
Isaac 21866185a8 Various improvements 2023-12-21 23:36:38 +04:00
Isaac 09e025e985 [WIP] Channel appearance 2023-12-15 22:59:33 +04:00
Isaac 48a2a72a6a Channel reaction improvements 2023-11-25 23:07:15 +04:00
Isaac 66b3d8b874 [WIP] Colored profiles 2023-11-22 01:05:47 +04:00
Ali 8051e43e4c [WIP] Custom channel reactions 2023-11-04 00:37:02 +04:00
Ilya Laktyushin 2107f94bc3 Various improvements 2023-10-20 21:56:12 +04:00
Ilya Laktyushin 0c05100533 Name color improvements 2023-10-19 18:05:43 +04:00
Ilya Laktyushin 7fbac7ddc0 Various improvements 2023-10-18 23:59:56 +04:00
Ali 3b11fa400e Various improvements 2023-09-15 15:42:08 +02:00
Ali 6910ec9334 Story improvements 2023-09-08 19:22:12 +04:00
Ilya Laktyushin f869c0450b Various fixes 2023-08-11 01:36:48 +02:00