Commit graph

51 commits

Author SHA1 Message Date
7fef8438c5 deps: bump github.com/iamxvbaba/td to v1.3.2
Matches upstream owpengram/owpengram-server's version. v1.3.2 collapses the
old per-kind KeyboardButtonClass sum type (KeyboardButton, KeyboardButtonURL,
KeyboardButtonCallback, KeyboardButtonRequestPeer, ...) into two unified
structs mirroring Telegram's actual current MTProto layer: KeyboardButton
(reply keyboards) and KeyboardInlineButton (inline keyboards), each carrying
a Text/Style pair plus a Type field (ButtonTypeClass / InlineButtonTypeClass)
that now holds what used to be the concrete Go type.

Migrated the two call sites (internal/rpc/convert_markup.go,
internal/rpc/bots_longtail.go) and their tests to the new shape. Behavior is
unchanged -- every button kind (callback, url, url_auth, web_view,
switch_inline, copy, request_phone, request_geo_location, request_poll,
request_peer, simple_web_view) still round-trips the same domain fields,
just read from/written to Type instead of the button's own concrete type.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-14 11:28:16 +01:00
onysd
ac6a50c5ff Merge remote-tracking branch 'upstream/main' into merge-gramsrv-9106877 2026-08-03 23:29:20 +03:00
iamxvbaba
9106877123 sync: accept TDLib zlib gzip_packed payloads 2026-08-03 17:33:49 +08:00
iamxvbaba
837535f375 sync: diagnose exact upload admission failures 2026-08-03 17:33:49 +08:00
iamxvbaba
e70bb0f167 sync: # file upload improve 2026-08-03 17:33:49 +08:00
iamxvbaba
9041abd3d3 fix: sync correct collectible username projection 2026-08-02 19:32:18 +08:00
iamxvbaba
8356989e01 fix: sync streamline self username cache convergence 2026-08-02 19:32:18 +08:00
iamxvbaba
2512eab51d fix: sync harden auth, privacy, and PTS state 2026-08-02 14:12:04 +08:00
iamxvbaba
c1597696af refactor(mtproto): sync replace result cache with execution ledger 2026-08-02 12:05:00 +08:00
iamxvbaba
141f2f20c4 feat(loadtest): sync add real 500-session capacity harness 2026-08-02 12:05:00 +08:00
iamxvbaba
ac0566f779 refactor(mtproto): sync redesign RPC replay ownership 2026-08-02 01:51:03 +08:00
iamxvbaba
c13fbf8885 fix(mtproto): sync accept TDLib reconnect service parity 2026-08-02 01:51:03 +08:00
onysd
87a2a2b0e2 fix 2026-07-31 16:31:06 +03:00
iamxvbaba
e756b0f9f9 fix(mtprotoedge): sync admit nested gzip RPC envelopes 2026-07-31 15:35:10 +08:00
iamxvbaba
9cb76b7c5a fix: sync admit TDLib handshake message id sentinels 2026-07-31 15:35:10 +08:00
iamxvbaba
9ac63f8006 test(mtprotoedge): sync align app config e2e with inactive freeze fields 2026-07-27 20:57:59 +08:00
iamxvbaba
9ef746d45e test(mtproto): cover single-backend DC aliases
Follow up gramsrv PR #17 with boundary coverage and public configuration docs.

Canonical-Telesrv: b4df3e72c24470e4ce09e5fc1d46e0c2944f6d3e

Reviewed-Head: e7eb07b9eb

Co-authored-by: onysd <beatvin128@gmail.com>
2026-07-24 23:17:32 +08:00
yialdd
5dcdb57e4c
Merge pull request #17 from iamxvbaba/dev
fix: sync lenient DC-ID validation for key exchange
2026-07-24 23:08:57 +08:00
onysd
e7eb07b9eb fix: sync lenient DC-ID validation for key exchange 2026-07-24 17:36:13 +03:00
iamxvbaba
b4aaf57d6b fix: sync public channel preview updates 2026-07-24 14:50:17 +08:00
iamxvbaba
2289a31f46 fix: sync same-port transport detection 2026-07-24 14:50:17 +08:00
onysd
32d128e496 feat: wake backgrounded accounts via MTProto internal push connection 2026-07-21 16:24:24 +03:00
onysd
ebb0be38d9 Merge remote-tracking branch 'upstream/main' into merge-gramsrv-2965f5d 2026-07-20 23:43:51 +03:00
onysd
157b82b5f5 i tired of fixing calls 2026-07-20 16:47:21 +03:00
onysd
46afb97396 fix for calls 2026-07-20 16:03:33 +03:00
A
f49c817def feat: sync ephemeral transient messages
Sync telesrv 570ccf8 (feat(ephemeral): implement Layer 228 transient messages).

Skipped telesrv docs changes per public sync rules; normalized the public appearance seed label.
2026-07-20 16:43:27 +08:00
onysd
8875cd33fd fixes 2026-07-18 10:33:17 +03:00
A
6af61f26ba feat: sync configurable OTP delivery providers 2026-07-17 17:04:39 +08:00
A
25ab04a254 refactor: sync sparse tlprofile runtime 2026-07-16 21:36:32 +08:00
A
47fcf0ea41 feat: sync account freeze lifecycle 2026-07-15 20:24:37 +08:00
A
766c5db992 feat: sync multilayer td integration 2026-07-15 13:32:06 +08:00
A
20a310f6ca fix: sync temp auth key expiry boundaries 2026-07-13 23:04:15 +08:00
A
305e8a0008 fix: sync MTProto startup and egress fixes 2026-07-13 19:05:41 +08:00
A
50803a604c feat: sync iOS compatibility support 2026-07-13 00:58:57 +08:00
A
1f646ef024 fix: sync websocket and WebK compatibility fixes 2026-07-12 16:20:23 +08:00
A
cbccd6a8d9 fix: sync scoped connection and outbox exclusion updates 2026-07-12 12:01:53 +08:00
A
aa21bd04e1 fix: sync protocol and discussion stability fixes 2026-07-12 07:05:02 +08:00
A
4390ebf5a9 perf: sync protocol and core hardening updates 2026-07-11 19:48:26 +08:00
A
9a501f900a feat: sync login email verification support 2026-07-08 17:09:44 +08:00
A
56d995474c fix: sync session membership routing fixes 2026-07-06 14:28:06 +08:00
A
7e64d9c30e perf: sync dispatch hot path optimizations 2026-07-06 14:27:03 +08:00
A
a246fd5417 feat: add post-response callbacks 2026-07-05 03:27:46 +08:00
A
2f399d5df2 fix: preserve Android negotiated layer 2026-07-05 03:27:04 +08:00
A
8e255dc9c8 fix: accept Android negative temporary DC 2026-07-04 21:16:16 +08:00
A
b1f74185f0 fix: sync latest telesrv fixes 2026-07-04 01:14:47 +08:00
A
b7269b135f feat: sync AI compose and ChatBot features 2026-07-03 19:43:20 +08:00
A
70b6820474 chore: refresh gramsrv public release 2026-06-30 14:37:43 +08:00
A
091d8f084b mtproto: add compat transport quick ack support
(cherry picked from commit d051bc37bd14076fdd0a83ad41cd507929b20ece)
2026-06-26 13:27:11 +08:00
A
294e994272 rpc: add android login startup compat
(cherry picked from commit 53904e72f7c3b96e6ae5e24196d0e551fa8aebce)
2026-06-19 14:16:33 +08:00
A
b435784809 mtproto,rpc: support Android legacy startup
(cherry picked from commit 06b6ae2bb2f90bd7cc1d6a8404a82aff507e6821)
2026-06-16 01:43:36 +08:00