owpengram-server/internal/app/users
Astra c39011e542 admin: allow shorter operator-assigned usernames, add reference docs
Lower the username floor to 3 characters on the admin-only write path
(account/channel set-username), separate from the 5-character self-service
minimum, since a deliberately short operator handle isn't the squatting the
higher floor guards against. Channel admin username assignment previously
had no length/format validation at all; this adds it.

Also adds three reference docs: the client's deep-link (tg://, owpg://)
surface, an OpenAPI 3.1 spec for both admin HTTP APIs (built from source,
not the stale docs/admin-panel-api.en.md), and a starter reserved-username
blocklist.
2026-09-17 15:24:31 +01:00
..
doc.go Initial open source release 2026-06-04 01:37:39 +08:00
premium_test.go feat: sync monoforum and collectible emoji status 2026-07-19 20:37:10 +08:00
service.go admin: allow shorter operator-assigned usernames, add reference docs 2026-09-17 15:24:31 +01:00
service_sparse.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
service_sparse_test.go merged from gramsrv upstream 2026-09-01 12:06:31 +03:00
service_test.go admin: bypass the reserved-username blocklist at write time too 2026-09-15 16:22:00 +01:00