Skip to content

feat(security,admin,playground): security center and UX overhaul with group rate scheduling, IP protection, and advanced analytics#57

Open
cto-new[bot] wants to merge 1 commit into
mainfrom
feat/new-api-security-ux-upgrade
Open

feat(security,admin,playground): security center and UX overhaul with group rate scheduling, IP protection, and advanced analytics#57
cto-new[bot] wants to merge 1 commit into
mainfrom
feat/new-api-security-ux-upgrade

Conversation

@cto-new

@cto-new cto-new Bot commented Nov 4, 2025

Copy link
Copy Markdown

Summary

This PR delivers a comprehensive security and user experience upgrade including group rate scheduling, IP black/white/rate limit protection, richer check-in, and analytics—covering all aspects of the admin and playground modules.

Details

  • Implements time-based group rate scheduling with automatic switching and APIs for full lifecycle management
  • Adds robust IP protection subsystem: blacklist/whitelist/rate-limits/auto-bans, with admin CRUD APIs and Redis-based rate enforcement
  • Integrates advanced key/user IP tracking APIs for secure audit trails in the security center
  • Refines the daily check-in system: full streak, rewards tier UI support, and enhanced API
  • Introduces Playground IP/user statistics with suspicious IP detection API (admin only)
  • Background services: group rate updater and expired ban/list cleanup
  • All features are secured by admin/user auth; no breaking changes for existing users

Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup

…cheduling, IP protection, check-in system, and Playground UI

This change implements a major upgrade across five modules:
- Adds group rate scheduling system for time-based rate multipliers with full
  CRUD API and background rate updater.
- Introduces IP protection middleware, admin APIs for blacklist/whitelist,
  configurable rate limits, auto/temporary/permanent bans, and hourly cleanup.
- Enhances key and user IP tracking with new API endpoints for security center.
- Exposes scalable daily check-in reward API and improves check-in logic.
- Adds admin Playground IP/user analytics API for suspicious activity.
All new features are backward compatible. No breaking changes. Admins gain
powerful security and monitoring tools; users get a richer experience.
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.

0 participants