owpengram-server/cmd/telesrv-admin
Astra 2bdb1ecf37 usernames: operator reserved-username blocklist
A plain blocklist for names like @support - separate from the collectible
system, so a reservation has no owner, no price and no "bought on Fragment"
badge.

- reserved_usernames table + migration.
- Enforced in replacePeerUsernameTx (the single editable-username write point:
  account.updateUsername, channels.updateUsername, @BotFather /setusername) and
  in the collectible mint path; a reserved name returns USERNAME_OCCUPIED.
- admin.Service: ReserveUsername / UnreserveUsername (journalled commands) and
  the ReservedUsernames listing.
- adminapi: /v1/reserved-usernames{,/reserve,/unreserve}.
- telesrv-admin panel + a "Reserved Usernames" page in the web UI (dist rebuilt).
- Postgres and in-memory store implementations; the memory registry gains an
  optional reserved-name check so tests exercise the same rule.
2026-09-14 12:04:43 +01:00
..
web usernames: operator reserved-username blocklist 2026-09-14 12:04:43 +01:00
addserverlink.go fix 2026-09-01 20:06:58 +03:00
adminauth.go server admin panel is now supports multiple operators profiles 2026-09-08 01:01:35 +03:00
adminauth_test.go improvements for first-time setup 2026-09-08 17:56:26 +03:00
adminusers.go server admin panel is now supports multiple operators profiles 2026-09-08 01:01:35 +03:00
adminusers_api.go server admin panel is now supports multiple operators profiles 2026-09-08 01:01:35 +03:00
adminusers_guard_integration_test.go added full access row to operator modal, plus a test for the last-manager guard 2026-09-11 15:48:07 +03:00
botverification.go added ability to disable third-party verification 2026-08-06 05:27:48 +03:00
botverification_test.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
buildinfo.go fix 2026-08-26 02:53:47 +03:00
filter_bots_test.go disabling marksbot when third-party verifications if turned off 2026-08-06 15:45:32 +03:00
main.go fix 2026-09-01 20:06:58 +03:00
publicbranding.go glorifying admin panel 2026-09-08 01:53:49 +03:00
readstore.go admin: list accounts that have no active sessions 2026-09-14 12:00:03 +01:00
readstore_accounts_integration_test.go admin: list accounts that have no active sessions 2026-09-14 12:00:03 +01:00
readstore_botverification_integration_test.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
readstore_shared_devices_integration_test.go added ability to check shared devices 2026-08-06 02:12:46 +03:00
readstore_verification_integration_test.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
routescope_test.go glorifying admin panel 2026-09-08 01:53:49 +03:00
security.go server admin panel is now supports multiple operators profiles 2026-09-08 01:01:35 +03:00
server.go usernames: operator reserved-username blocklist 2026-09-14 12:04:43 +01:00
serversettings.go improvements for first-time setup 2026-09-08 17:56:26 +03:00
serversettings_test.go added messages templates 2026-09-01 14:40:06 +03:00
session.go server admin panel is now supports multiple operators profiles 2026-09-08 01:01:35 +03:00
session_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
verification.go feat: add NFT usernames and bot verification (#22) 2026-07-28 01:18:00 +08:00
verification_test.go server admin panel is now supports multiple operators profiles 2026-09-08 01:01:35 +03:00