191 Commits
Author SHA1 Message Date
Ilya Laktyushin 3e6363abf9 Various improvements 2026-05-28 16:50:05 +02:00
Ilya Laktyushin 91eb779ae2 Merge commit 'c64653ed37ce9fe2bc74e260e9e960fcf3ab5dc1' 2026-05-14 12:45:26 +02:00
isaacandClaude Opus 4.7 2ac8a490b0 Postbox -> TelegramEngine waves 94-102 (squashed)
Adds AccountManagerResources facade in TelegramCore mirroring
TelegramEngine.Resources, drains the entire accountManager-side
mediaBox refactor across consumer modules, and validates the
Shape-C/D handle-migration pattern (account: Account ->
engine: TelegramEngine) on three classes.

Wave 94 (AccountManagerResources facade + 8 sites): new
AccountManagerResources class in TelegramCore with
storeResourceData, completedResourcePath (resource + id overloads),
status (with approximateSynchronousValue), moveResourceData,
fetch. Migrate EditThemeController (5 storeResourceData + 2
completedResourcePath) and WebBrowserSettingsController (1
storeResourceData).

Wave 95 (10 sites): WallpaperUtils.swift sweep, 5 distinct
storeResourceData patterns, replace_all on the two repeated ones.

Wave 96 (7 sites): theme controller triple — TPC (1 store + 2
moveResourceData), TPCN (1 status + 1 fetch + closure type
MediaResourceStatus -> EngineMediaResource.FetchStatus + rename
account local to engine), TAC (1 completedResourcePath + 1 store).

Wave 97 (9 sites): WallpaperGalleryController.swift, 4
completedResourcePath + 5 storeResourceData via replace_all.

Wave 98 (2 files): WallpaperGallery status-type cascade
Promise<MediaResourceStatus> -> Promise<EngineMediaResource.FetchStatus>
across WallpaperGalleryItem.swift + WallpaperGalleryController.swift.
Drops cosmetic `_asStatus()` unwrap.

Wave 99 (2 facade extensions + 7 sites): adds
AccountManagerResources.data() and approximateSynchronousValue
to engine.resources.status(). Migrates OpenResolvedUrl (data +
storeResourceData with .complete -> .isComplete cascade),
SettingsThemeWallpaperNode (paired engine + accountManager
status), WallpaperUploadManager, OpenChatMessage,
LiveChatReactionStreamView.

Wave 100 (Shape-C/D, free function): legacyWebSearchItem
account: Account -> engine: TelegramEngine. 4 files.

Wave 101 (Shape-C/D, small class): VerticalListContextResults
ChatInputPanelItem stored field migration. 2 files. Drops
`|> map(EngineMediaResource.FetchStatus.init)` redundancy.

Wave 102 (Shape-C/D, medium class with weak-context retention):
SharedMediaPlayer account: Account -> engine: TelegramEngine.
Engine field is intentionally a strong handle since the class
stores context as `weak var`. 2 files.

After this squash the accountManager-side mediaBox refactor is
essentially complete; only Postbox-protocol-blocked
cachedResourceRepresentation triple remains as the foundational
deferred item.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-26 02:46:44 +04: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 d9d1210c1d Various improvements 2026-02-19 21:53:26 +04:00
Isaac 1ee7268488 Glass 2025-12-06 01:28:06 +08:00
Ilya Laktyushin a0e96582dd Update API [skip ci] 2025-09-19 12:20:21 +04:00
Isaac 1d06c3f058 Bot forums v2 2025-09-05 15:25:50 +02:00
Isaac 905a46e6cc Update API 2025-08-11 16:54:32 +02:00
Ilya Laktyushin b4832ff856 Update API 2025-07-14 12:50:11 +01:00
Isaac 9633013275 Monoforums 2025-05-23 15:56:01 +08:00
Isaac b752a49432 Update API 2025-05-15 00:54:50 +08:00
Isaac 140efd6cfd [WIP] Monoforums 2025-05-10 18:02:55 +01:00
Isaac e77402d7b3 [WIP] Chatlist suggestions 2025-04-28 23:35:47 +02:00
Ilya Laktyushin 2454a7a876 Various improvements 2025-03-18 14:39:58 +04:00
Ilya Laktyushin 2ecbaf4507 Various improvements 2025-03-10 15:32:15 +04:00
Ilya Laktyushin 4f42e41180 Update API [skip ci] 2025-02-21 17:23:25 +04:00
Ilya Laktyushin d167aa4b0e Update API [skip ci] 2025-02-18 10:09:58 +04:00
Ilya Laktyushin 2f2a27f0d2 Various improvements [skip ci] 2025-02-12 22:15:02 +04:00
Ilya Laktyushin 6e850130fd Update API [skip ci] 2024-12-26 07:27:14 +04:00
Ilya Laktyushin dce651616e Update API [skip ci] 2024-12-18 21:40:23 +04:00
Ilya Laktyushin fdb4b80e27 Various improvements 2024-12-06 09:31:49 +04:00
Isaac 9a038722d3 Various improvements 2024-11-20 22:09:16 +04:00
Ilya Laktyushin 1c96740866 Add more mini app open buttons 2024-11-19 20:45:21 +04:00
Ilya Laktyushin 13824dd159 Various fixes 2024-10-06 12:04:52 +04:00
Isaac 923587b0da [WIP] Dynamic video streaming 2024-09-18 01:04:29 +08:00
Ilya Laktyushin fc6b6b768c Various improvements 2024-08-11 14:11:09 +02:00
Ilya Laktyushin dc68eab568 Merge branch 'master' into stars-subscriptions 2024-07-30 11:29:42 +02:00
Isaac a4b4bb5a82 [WIP] Bot previews 2024-07-16 19:12:26 +08:00
Ilya Laktyushin 0598c49a89 Various improvements 2024-04-06 15:01:03 +04:00
Isaac efae3b90a7 Support Xcode 15.3 2024-04-02 19:16:00 +04:00
Ilya Laktyushin a509b096a9 [WIP] Birthdays 2024-03-14 16:20:50 +04:00
Isaac 3bc17a648d [WIP] Business 2024-02-20 22:52:04 +04:00
Isaac 1ccad40a1b [WIP] Folder tags 2024-02-09 23:04:16 +04:00
Ilya Laktyushin cce393a28a Merge commit 'b909d1bea021e1c9c86626981a189d715dfffad5' 2024-02-06 17:33:38 +04:00
Isaac 4bd4884887 Saved messages view as chats 2024-01-28 18:59:00 +01:00
Ilya Laktyushin 669151da80 Various improvements 2024-01-26 01:53:43 +04:00
Isaac a4d773bd07 Merge commit 'e8ff9f603a903c2041061b8eb7b1ed630465a781'
# Conflicts:
#	submodules/TelegramCore/Sources/TelegramEngine/Data/PeersData.swift
#	submodules/TelegramUI/BUILD
2024-01-12 22:44:08 +04:00
Isaac eeba8a7db1 Privacy settings 2024-01-12 22:42:18 +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 6a89f938db [WIP] Saved messages 2024-01-06 00:43:58 +04:00
Ilya Laktyushin f11c070862 [WIP] View-once audio messages 2023-12-29 04:50:22 +04:00
Ilya Laktyushin 3ae64b399f Various improvements 2023-12-20 16:21:11 +04:00
Ilya Laktyushin 3ca419048c Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios 2023-12-19 20:56:31 +04:00
Ilya Laktyushin 3314a18165 Various improvements 2023-12-17 19:30:38 +04:00
Isaac 09e025e985 [WIP] Channel appearance 2023-12-15 22:59:33 +04:00
Isaac b66f748969 [WIP] Channel appearance 2023-12-15 15:13:40 +04:00
Isaac b631780d00 Modernize quick reaction 2023-11-24 01:21:36 +04:00