Ilya Laktyushin
|
98d148e08d
|
Various fixes
|
2026-05-29 16:46:38 +02:00 |
|
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 |
|
Ilya Laktyushin
|
7a7333edab
|
Various improvements
|
2026-05-05 14:57:06 +02:00 |
|
 isaacandClaude Opus 4.7
|
d1aa0db537
|
Postbox -> TelegramEngine waves 46-93 (squashed)
Squash of 63 commits spanning waves 46-93 (plus interspersed docs commits)
of the gradual Postbox->TelegramEngine consumer-side migration.
Scope: 139 files changed, 2123 insertions(+), 452 deletions(-).
## Themes by wave-block
**Waves 46-58 — Peer field migrations + facade additions**
Foundational EnginePeer convenience init additions (PeerReference, RenderedPeer,
SelectivePrivacyPeer). Multiple `peer: Peer` field migrations across PeerInfo,
ChatList, and SettingsUI components.
**Waves 59-73 — peer field cascade + EnginePeer wrap drops**
Series of single- to two-file peer-field migrations; consumer-side wrap
removal (`EnginePeer(peer)` -> direct EnginePeer use); `as? TelegramUser`
cast conversion to `case let .user(...)` enum match. Wave 64: RenderedPeer
convenience init. Wave 68: SelectivePrivacyPeer convenience init.
**Waves 74-83 — controller-Node bridge cleanup + small migrations**
Wave-71 shadow-pattern cleanup at controller->Node bridges. Migrations of
ChatRecentActionsController.peer (74), PeerInfoMember (75), MentionChatInputPanelItem
(76), PassportUI SecureIdAuthController (77), AccountWithInfo + ShareController
(78), peerInputActivitiesPromise (79), InactiveChannel (80), BlockedPeers (81),
openHashtag resolveSignal (82), NotificationExceptionsList (83).
**Waves 84-90 — TelegramEngine.Resources facade migrations**
Per-method Shape-A/B sweeps converting `<ctx>.account.postbox.mediaBox.X(...)`
to `<ctx>.engine.resources.X(...)`. Wave 90 was a single-commit big sweep:
40 fetchedMediaResource sites in 25 files migrated to engine.resources.fetch
facade in one atomic pass with first-pass-clean build.
Methods covered: storeResourceData, completedResourcePath, cancelInteractiveResourceFetch,
resourceRangesStatus, resourceStatus, fetch (fetchedMediaResource).
**Waves 91-92 — additional type migrations**
Wave 91: ItemListWebsiteItem.peer + RecentSessionsController enum-case payload
+ openWebSession callback Peer? -> EnginePeer?.
Wave 92: ChatListController StateHolder.EntryContext status type
MediaResourceStatus -> EngineMediaResource.FetchStatus.
**Wave 93 — speculative `import Postbox` drop sweep**
Drop import from 7 wave-touched files where it became unused; restore in 5
files where bare PeerId/Message/MediaId/StoryId references escaped the
pre-flight regex. Includes one MediaId(...) -> EngineMedia.Id(...) swap in
InAppPurchaseManager to unlock its import drop.
## Build state
Final state at squash: clean Telegram/Telegram build at debug_sim_arm64.
## Persistent-state notes
- Pre-existing WIP unchanged across the squashed range:
- build-system/bazel-rules/sourcekit-bazel-bsp submodule marker
- Untracked: build-system/tulsi/, submodules/TgVoip/, third-party/libx264/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-04-25 20:48:15 +04:00 |
|
 IsaacandClaude Opus 4.5
|
55c53717af
|
Refactor constructor use sites for types 360-379 to struct pattern
Migrated 20 types including userProfilePhoto, userStatus*, username, videoSize*,
wallPaper*, webDocument*, webPage*, webViewResultUrl, authorizations,
authorizationForm, autoDownloadSettings, businessChatLinks, chatThemes,
connectedBots, and contentSettings.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-18 22:45:35 +08:00 |
|
 IsaacandClaude Opus 4.5
|
07313cbb84
|
Refactor constructor use sites for types 250-259 to struct pattern
Migrates the following constructors to use struct-wrapped associated values:
- postInteractionCountersMessage, postInteractionCountersStory
- premiumGiftCodeOption, premiumSubscriptionOption
- prepaidGiveaway, prepaidStarsGiveaway
- privacyValueAllowChatParticipants, privacyValueAllowUsers
- privacyValueDisallowChatParticipants, privacyValueDisallowUsers
- publicForwardMessage, publicForwardStory
- quickReply
- reactionCustomEmoji, reactionEmoji
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-18 14:24:53 +08:00 |
|
 IsaacandClaude Opus 4.5
|
c6b0ef5da3
|
Refactor constructor use sites for types 220-239 to struct pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-18 02:08:10 +08:00 |
|
 IsaacandClaude Opus 4.5
|
a78b2c0db2
|
Refactor Api types 70-89 to use struct-wrapped constructors
Types refactored:
- 70-79: contactStatus, dataJSON, dcOption, defaultHistoryTTL, dialog,
dialogFolder, dialogFilter, dialogFilterChatlist, dialogFilterSuggested,
dialogPeer, dialogPeerFolder, disallowedGiftsSettings, document, documentEmpty
- 80-89: documentAttribute* (Audio, CustomEmoji, Filename, ImageSize, Sticker, Video),
draftMessage, draftMessageEmpty, emailVerification* (Apple, Code, Google),
emailVerifyPurposeLoginSetup, emoji* (Group, GroupGreeting, GroupPremium,
Keyword, KeywordDeleted, KeywordsDifference, Language, List, Status,
StatusCollectible), inputEmojiStatusCollectible
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-16 02:12:20 +08:00 |
|
 IsaacandClaude Opus 4.5
|
94cb9d3228
|
Refactor Api types 3-12 to use struct-wrapped constructors
Types refactored:
- AttachMenuBotIconColor, AttachMenuBots, AttachMenuBotsBot
- AuctionBidLevel, Authorization, AutoDownloadSettings
- AutoSaveException, AutoSaveSettings, AvailableEffect
Updated pattern matching and construction sites in TelegramCore.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-15 19:11:04 +08:00 |
|
Ilya Laktyushin
|
2cb5122bb3
|
Various improvements
|
2025-10-20 22:57:29 +04:00 |
|
Ilya Laktyushin
|
d58757ca3c
|
Various improvements
|
2025-10-16 19:19:50 +04:00 |
|
Isaac
|
4c3ad04015
|
Refactor chat controller data management
|
2025-05-22 02:29:14 +08:00 |
|
Ilya Laktyushin
|
2454a7a876
|
Various improvements
|
2025-03-18 14:39:58 +04:00 |
|
Ilya Laktyushin
|
fed338985d
|
Various improvements
|
2025-03-14 13:35:44 +04:00 |
|
Ilya Laktyushin
|
ff34190f92
|
Update API
|
2025-03-14 06:04:23 +04:00 |
|
Ilya Laktyushin
|
cb0b8c0b9e
|
Various improvements
|
2025-02-25 19:59:48 +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
|
d776dc0597
|
Add gift auto save privacy
|
2024-11-14 05:20:19 +04:00 |
|
Isaac
|
05372b578c
|
[WIP] Stars reactions
|
2024-07-30 23:44:19 +08:00 |
|
Mikhail Filimonov
|
08e2e0b123
|
- prem required error for secret chat
- better struct for privacy settings
|
2024-04-01 13:27:52 +04:00 |
|
Isaac
|
4b1b272081
|
Merge commit '532e873ed0eaf0b7c5b9c77430be2ccde6c9c328'
# Conflicts:
# submodules/TelegramApi/Sources/Api11.swift
# submodules/TelegramApi/Sources/Api12.swift
# submodules/TelegramApi/Sources/Api19.swift
# submodules/TelegramCore/Sources/TelegramEngine/Peers/UpdateCachedPeerData.swift
|
2024-03-19 14:21:11 +04:00 |
|
Isaac
|
bd8514ff20
|
Premium features
|
2024-03-19 14:20:31 +04:00 |
|
Ilya Laktyushin
|
8279db283c
|
Update API [skip ci]
|
2024-03-18 23:53:29 +04:00 |
|
Isaac
|
925665b88b
|
Premium users in privacy settings
|
2024-03-15 19:29:04 +04:00 |
|
Isaac
|
2a2d468fd9
|
Add back changes
|
2024-03-15 16:13:38 +04:00 |
|
Isaac
|
4e9b22ffce
|
Update API
|
2024-03-15 15:24:55 +04:00 |
|
Isaac
|
6a89f938db
|
[WIP] Saved messages
|
2024-01-06 00:43:58 +04:00 |
|
Ali
|
6f084010d8
|
Stories
|
2023-07-13 23:51:40 +04:00 |
|
Ali
|
2e83cef3f7
|
Stories
|
2023-06-30 02:38:24 +02:00 |
|
Ali
|
9110d1912a
|
Update API
|
2023-06-23 23:11:46 +03:00 |
|
Ali
|
d3b3d991bd
|
Update API
|
2023-06-12 18:20:44 +03:00 |
|
Ilya Laktyushin
|
01fb5954df
|
Camera and media editor improvements
|
2023-05-12 21:14:19 +04:00 |
|
Ilya Laktyushin
|
d15c48ff07
|
Camera and media editor improvements
|
2023-05-10 17:10:27 +04:00 |
|
Ali
|
1ca5546adc
|
[WIP] Stories
|
2023-05-05 21:08:04 +04:00 |
|
Ali
|
ed389b83ec
|
[WIP] Stories
|
2023-05-02 23:45:50 +04:00 |
|
Ali
|
fc24724e2e
|
[WIP] Modern cache eviction
|
2022-12-13 22:20:00 +04:00 |
|
Ali
|
60ebcc847a
|
Autoremove improvements
|
2022-11-27 15:27:05 +04:00 |
|
Ali
|
80a7324668
|
Forum improvements
|
2022-11-22 19:50:50 +04:00 |
|
Ali
|
5a445389ba
|
Update invoice API
|
2022-11-01 20:24:01 +04:00 |
|
Ali
|
db4b73ae6b
|
[WIP] Topics
|
2022-10-11 18:38:58 +04:00 |
|
Ali
|
00ec1a2919
|
UI improvements
|
2022-09-19 19:47:36 +02:00 |
|
Ali
|
88b1dab7ff
|
Update API
|
2022-08-15 00:13:21 +03:00 |
|
Ilya Laktyushin
|
9a115af042
|
Various improvements
|
2022-07-13 12:15:10 +02:00 |
|
Ali
|
a183d69534
|
Refactoring
|
2022-05-29 02:09:25 +04:00 |
|
Ali
|
72923655e4
|
Int64 file size refactoring
|
2022-05-10 13:56:38 +04:00 |
|
Ali
|
235302c7c4
|
Peer sound and message removal update
|
2022-03-30 01:22:44 +04:00 |
|
Ali
|
af01ec906f
|
Reaction improvements
|
2021-12-23 00:34:53 +04:00 |
|
Ali
|
7021252dc6
|
Reaction improvements
|
2021-12-21 03:46:43 +04:00 |
|