Commit graph

85 commits

Author SHA1 Message Date
onysd
0e5da4c8aa translated all logs to english 2026-07-25 07:31:27 +03:00
onysd
b2e84a187d fixes 2026-07-25 01:24:36 +03:00
onysd
b443ff0c73 Merge remote-tracking branch 'upstream/main' into merge-gramsrv-0e2fcdf9 2026-07-24 17:15:53 +03:00
wacpi
b9adf46826 fix: phone privacy check no longer bypassed for contacts
applyPrivacy() had '!phoneAllowed && !isContact' which meant
contacts always saw the phone number regardless of the user's
privacy settings (e.g. 'Nobody'). Removed the isContact bypass
so privacy rules are enforced for everyone.
2026-07-24 03:49:31 +03:00
onysd
0a6c05404a changed botfather avatar and fixed import 2026-07-24 00:54:19 +03:00
iamxvbaba
234061ef83 fix(admin): close PR review blockers
Keep bot credentials out of durable command results, fail bot deletion closed when session revocation fails, reject invalid scam/fake states at every write boundary, and make direct collectible grants a single replayable PostgreSQL aggregate.

Also lock admin gift sender/message limits and add regression coverage for rollback, replay, moderation constraints, and credential redaction.
2026-07-23 13:29:04 +08:00
epilepticseizureee
313624eab2 admin: gift granting, collectible attribute/number control, and Layer 228 moderation tools
Admin console additions (Layer 228):
- Give Gifts: dedicated tab with sorted Lottie/TGS gift picker + inline form; grant any catalog gift to a user/channel from 777000 (no charge)
- Upgraded/collectible delivery: mint a unique gift with admin-selected model/pattern/backdrop and custom number, or random/auto (DB FK + UNIQUE(gift_id,num) enforce invariants)
- SCAM/FAKE flags for users/channels (migration 0136) with configurable profile warning (TELESRV_SCAM_WARNING/TELESRV_FAKE_WARNING)
- Support toggle, force channel settings incl. gigagroup (migration 0137), username management, cosmetic color/emoji-status
- Emoji admin tab (custom emoji list + document IDs + Lottie/TGS preview)
- Bot management; soft UI / dark theme
Wired through Router -> admin.Service -> adminapi -> BFF -> React panel (en/zh/ru).
2026-07-23 04:00:29 +03:00
epilepticseizureee
9e45da69ef feat(admin): bot management (list, verify, create, delete)
- Add a Bots admin tab: list/search bots with a dedicated read query
  (users.is_bot, excluded from the accounts list), showing owner and
  system-vs-user type
- Create system bots from the admin via a new bot.create command that
  reuses the existing bot provisioning flow; the token is shown once
- Delete user-created bots via a new bot.delete command backed by a
  dedicated Postgres DeleteBotAccount (revokes sessions, purges private
  state, releases username, drops the bots row, tombstones the user);
  system service bots are rejected
- Verified badge toggling reuses the existing set-verified command
- All write paths go through the dry-run/confirm + audit command pipeline
- Rebuild dist bundle
2026-07-23 00:34:05 +03:00
A
8cfb6f74c1 feat: sync host-based public app links 2026-07-22 21:43:56 +08:00
onysd
139967399d fixed stickers and emojies creation packs 2026-07-22 14:01:02 +03:00
onysd
43894f2fc9 added stickers and emojies list 2026-07-22 12:18:27 +03:00
A
401a8f148e fix: sync monoforum suggested post flow 2026-07-22 16:08:44 +08:00
A
de233a4c18 fix: sync collectible upgrade preview pools 2026-07-22 13:06:49 +08:00
onysd
ef73dfcd17 added default stickers 2026-07-21 22:40:57 +03:00
A
eba402946a fix: sync account freeze peer visibility 2026-07-22 02:03:00 +08:00
A
d9875b5caa feat: sync bot setup and webhook diagnostics 2026-07-22 00:51:52 +08:00
A
f53579416e feat: sync HTTP callback OIDC setup 2026-07-21 18:18:33 +08:00
A
40743dfb09 fix: sync contact note projection 2026-07-21 15:48:33 +08:00
A
d69a34a4a8 fix: sync StarGift lifecycle hardening 2026-07-21 15:47:55 +08:00
A
ebead9e98c feat: sync Telegram Login OIDC provider 2026-07-21 15:46:24 +08:00
A
1a2d03f529 feat: sync bot rich messages and inline menus 2026-07-21 15:44:43 +08:00
onysd
865b5ff4f4 fix 2026-07-20 23:43:56 +03:00
onysd
ebb0be38d9 Merge remote-tracking branch 'upstream/main' into merge-gramsrv-2965f5d 2026-07-20 23:43:51 +03:00
onysd
74511407a3 fix for calls i guess 2026-07-20 23:04:38 +03:00
onysd
89496b3558 fix 2026-07-20 12:43:53 +03:00
A
ba82fbccd6 fix: sync collectible document role validation
Sync telesrv d8ad5cc (fix(stargifts): validate collectible document roles).

Skipped telesrv docs changes per public sync rules.
2026-07-20 16:50:05 +08:00
A
2848ff0987 feat: sync visible product branding
Sync telesrv c779c48 (feat(branding): unify visible product naming).

Skipped private www files and preserved public README files; mapped orange appearance seed names to public default names.
2026-07-20 16:49:17 +08:00
A
da6a57e1a3 feat: sync community aggregates
Sync telesrv 36eda30 (feat(communities): implement Layer 228 community aggregates).

Skipped telesrv docs changes per public sync rules; normalized the public appearance seed label.
2026-07-20 16:46:02 +08: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
A
bf965f610c feat: sync bot keyboards and callbacks
Sync telesrv b96f2dd (feat(bot): complete keyboards callbacks and durable delivery).

Skipped private docs and preserved public README files per sync rules; normalized the appearance seed log label for public naming.
2026-07-19 20:38:48 +08:00
A
0c99ae0a9d feat: sync monoforum and collectible emoji status
Sync telesrv bd15657 (feat(account): implement collectible emoji status).

Skipped telesrv docs changes per public sync rules.
2026-07-19 20:37:10 +08:00
A
edb7057757 feat: sync account deletion lifecycle
Sync telesrv 73f5c91 (feat(account): implement unified account deletion lifecycle).

Skipped telesrv docs changes per public sync rules.
2026-07-19 20:35:58 +08:00
A
14bf7d1e20 feat: sync official star gift lifecycle tooling
Sync telesrv 4c0e2d9 (feat: complete official star gift lifecycle and admin tooling).

Public adjustments: skipped private docs/deploy-nginx/README source changes, kept iamxvbaba/td public dependency, replaced local/private sample IP and orange seed label.
2026-07-19 03:11:35 +08:00
onysd
6b29556ef8 Merge remote-tracking branch 'upstream/main' into dev 2026-07-18 09:19:27 +03:00
A
1292540350 feat: sync langpack and auth updates
Sync telesrv commits 49f9bab and 04d9563 into the public mirror. Exclude private docs and runtime key material per sync rules.
2026-07-18 00:07:41 +08:00
A
6af61f26ba feat: sync configurable OTP delivery providers 2026-07-17 17:04:39 +08:00
A
5ecf4e912d feat: sync collectible star gifts 2026-07-16 12:38:53 +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
onysd
1eaa06d961 added config for virtual phone number 2026-07-14 18:37:27 +03:00
onysd
aa2fc45bdd fix for mail login 2026-07-14 16:44:54 +03:00
onysd
68875a5f0f FIX 2026-07-14 12:27:53 +03:00
onysd
3409f190b9 fix for phone generation on email signup 2026-07-14 00:30:52 +03:00
onysd
cee960fea0 new message on login 2026-07-13 23:09:11 +03:00
onysd
3d9b0f1de7 changes for email signup 2026-07-13 20:09:57 +03:00
A
20a310f6ca fix: sync temp auth key expiry boundaries 2026-07-13 23:04:15 +08:00
onysd
0fbfc8cd71 fix for system account avatar 2026-07-13 11:05:37 +03:00
onysd
a336c99d6d branding for server 2026-07-13 10:30:24 +03: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