Commit Graph
293 Commits
Author SHA1 Message Date
isaacandisaac 7919556375 Postbox -> TelegramEngine wave 20: shortLivedResourceCachePathPrefix consumer sweep
22 call sites across 16 consumer modules migrated to the wave-19 facade:
  context.account.postbox.mediaBox.shortLivedResourceCachePathPrefix(resource.id)
  ->
  context.engine.resources.shortLivedResourceCachePathPrefix(id: EngineMediaResource.Id(resource.id))

ItemListStickerPackItem additionally drops the wave-18 `let rawResource` intermediate.

Skipped: MediaEditorComposerEntity.swift:245 (uses local `postbox:` init-param,
not `context.account.postbox`; needs its own wave). No modules become Postbox-free
this wave — each still has other Postbox usage.
2026-04-21 02:27:39 +04:00
IsaacIsaacClaude Opus 4.6
ad85ef6517 Postbox → TelegramEngine refactor: wave 1
Drop direct `import Postbox` from four leaf consumer submodules, routing
data access through TelegramEngine/TelegramCore. Behavior-preserving.

Consumers migrated:
- ChatInterfaceState
- ChatSendMessageActionUI
- ContactListUI
- DrawingUI

TelegramCore additions (typealiases + one EngineData item):
- EngineMemoryBuffer, EnginePostboxDecoder, EnginePostboxEncoder,
  EngineAdaptedPostboxDecoder (narrow utility aliases for coding support)
- EngineData.Item.Configuration.ContactsSettings

Six planned modules were abandoned in wave 1 with reasons recorded in
the plan: ActionSheetPeerItem, ChatListSearchRecentPeersNode,
DirectMediaImageCache, FetchManagerImpl, GalleryData, ICloudResources.
Each either has a public API that leaks `Postbox`/`Account`/`MediaBox`
(banned umbrella-type aliases) or cascades into out-of-wave modules.

CLAUDE.md now records the wave rules, typealias cheat sheet, and the
wave-selection guidance learned from this pass.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 23:16:45 +02:00
Ilya Laktyushin bbad57434f Various fixes 2026-02-02 15:54:43 +04:00
Mikhail Filimonov db93244583 update api (rarities, crafted) 2026-01-16 16:20:08 +04:00
IsaacandIsaac 2db08cde89 Glass 2026-01-13 19:21:49 +04:00
IsaacandIsaac ebcd0557e5 Temp 2025-09-12 10:54:22 +02:00
Ilya Laktyushin b4832ff856 Update API 2025-07-14 12:50:11 +01:00
IsaacandIsaac c7a2fe5d3e Update to iOS 13 2025-06-11 16:59:53 +08:00
Ilya Laktyushin e5762bd9c8 Various fixes 2025-05-18 04:35:56 +04:00
Ilya Laktyushin ee38ee55d4 Various fixes 2025-05-05 18:42:51 +04:00
Ilya Laktyushin d8dd96e39e [WIP] Multiple story upload 2025-04-18 13:47:15 +04:00
IsaacandIsaac 6c4070eb52 Serialization update 2025-02-14 19:11:58 +04:00
Ilya Laktyushin 3ac9d2d9a4 Fix gift story editing 2025-01-29 19:16:13 +04:00
Ilya Laktyushin 10ac25e1cb Various improvements 2025-01-27 23:44:07 +04:00
Ilya Laktyushin ef6c097f6f Various improvements 2025-01-18 13:44:42 +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
IsaacandIsaac 4ac6d40d44 Merge commit 'e3ee1dde7ecfd1867c15c94c3ac04c63764d39f8'
# Conflicts:
#	Telegram/Telegram-iOS/en.lproj/Localizable.strings
#	submodules/TelegramApi/Sources/Api0.swift
#	submodules/TelegramApi/Sources/Api15.swift
#	submodules/TelegramCore/Sources/ApiUtils/TelegramMediaAction.swift
2024-12-27 20:11:21 +08:00
Ilya Laktyushin e3ee1dde7e Update API [skip ci] 2024-12-27 09:16:41 +04:00
IsaacandIsaac df9e27f4fb [Temp] video v2 2024-12-25 00:18:02 +08:00
Ilya Laktyushin 3fe6f7a069 Various improvements 2024-10-19 20:24:02 +04:00
IsaacandIsaac 69bb337f6f Experimental hls implementation 2024-09-27 20:27:11 +08:00
IsaacandIsaac af267cae64 Video player and calls 2024-09-20 22:33:36 +08:00
Ilya Laktyushin e4bd4de246 Various fixes 2024-08-04 20:35:09 +02:00
Ilya Laktyushin d86112541f Various fixes 2024-08-02 18:25:02 +02:00
IsaacandIsaac 05372b578c [WIP] Stars reactions 2024-07-30 23:44:19 +08:00
Ilya Laktyushin d21d943d8d Various improvements 2024-07-29 00:53:17 +02:00
Ilya Laktyushin 9ba0743553 Various improvements 2024-07-24 09:25:48 +04:00
Ilya Laktyushin 1c7834ad57 Various improvements 2024-07-23 22:01:56 +04:00
Ilya Laktyushin 31ba87fb0f Various improvements 2024-07-22 20:43:52 +04:00
Ilya Laktyushin dfc5077946 Various fixes 2024-07-20 23:05:07 +04:00
Ilya Laktyushin f4cc9d1aad Story weather display 2024-07-18 04:45:10 +04:00
Ilya Laktyushin 49e5ac7e59 Various improvements 2024-07-16 05:57:44 +04:00
Ilya Laktyushin 4216ee3933 Various improvements 2024-07-13 18:13:58 +04:00
Ilya Laktyushin ad3bed0a9f Various improvements 2024-06-17 21:15:41 +04:00
Ilya Laktyushin c0489e251b Add support for stars withdrawal timeout 2024-06-16 15:51:21 +04:00
Ilya Laktyushin d050cf8ce9 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2024-06-15 18:51:57 +04:00
Ilya Laktyushin 1ae20bd685 Various improvements 2024-06-15 18:41:19 +04:00
IsaacandIsaac 9a075fa39e Refactoring 2024-06-12 23:04:04 +04:00
Ilya Laktyushin 1cc27e2a20 Various improvements 2024-06-07 14:07:01 +04:00
Ilya Laktyushin 5470ba80ec Various improvements 2024-06-07 09:51:45 +04:00
Ilya Laktyushin 464eb8625f Hashtag search improvements 2024-05-22 14:04:37 +04:00
Ilya Laktyushin 8106544414 Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2024-05-16 01:05:18 +04:00
Ilya Laktyushin 6de753b14a Phone numbers improvements 2024-05-16 00:50:11 +04:00
IsaacandIsaac 7ef63a81df [WIP] Message effects 2024-05-10 20:57:12 +04:00
Ilya Laktyushin c8c5b55f82 Fix drawing color picker crash 2024-05-07 00:28:11 +04:00
Ilya Laktyushin b1f80d475c Sticker cut out for iOS < 17 2024-04-26 14:23:15 +04:00
Ilya Laktyushin ccb2415473 [WIP] Stickers editor 2024-04-11 22:56:57 +04:00
Ilya Laktyushin fce792b02f [WIP] Stickers editor 2024-04-11 18:00:26 +04:00
Ilya Laktyushin ee2b7be5e2 [WIP] Stickers editor 2024-04-06 19:53:19 +04:00