Skip to content

[codex] add giveaways and user management#123

Open
Mandalorec95 wants to merge 7 commits into
snoups:mainfrom
Mandalorec95:codex/giveaways-user-management
Open

[codex] add giveaways and user management#123
Mandalorec95 wants to merge 7 commits into
snoups:mainfrom
Mandalorec95:codex/giveaways-user-management

Conversation

@Mandalorec95

Copy link
Copy Markdown

What changed

  • added giveaway creation, management, participation, winner selection, and notification flows
  • added user deletion/anonymization support and related database migrations
  • extended promocode audiences, payment processing, transaction data, and administrative user controls
  • updated Russian translations, menu flows, router registration, and banner assets

Why

These changes extend the bot with promotional giveaway workflows and safer administrative user-management capabilities while keeping related payment and promocode behavior consistent.

Impact

Administrators can run giveaways and manage user deletion from the Telegram dashboard. Users receive the related participation and notification flows. Database migrations add the required giveaway data and anonymization behavior.

Validation

  • Python compile check passed for all files under src
  • Ruff passed for all newly added giveaway, user-deletion, and migration files
  • repository-wide Ruff reports 22 pre-existing/branch-level style findings, so the full lint check is not yet clean
  • git diff --check passed
  • no credentials were found in the changed files

Server Admin and others added 6 commits June 13, 2026 23:13
When a user with an active subscription clicks "Продлить" but their
current plan has been discontinued, instead of showing a dead-end error
the bot now notifies them that the plan is gone and opens the available
plans list so they can pick a replacement. The RENEW purchase type is
preserved, so the existing subscription is extended (not replaced) with
whichever plan they choose.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a new informational blockquote block below the subscription section
in the main menu, instructing users how to connect via the Happ app.
Text is stored in the ru FTL translations under msg-main-menu-how-to-connect.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Mandalorec95 Mandalorec95 marked this pull request as ready for review June 20, 2026 12:07
@Mandalorec95

Copy link
Copy Markdown
Author

ВСЕ ГОТОВО

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant