Skip to content

refactor: rebuild core system and add new features#18

Merged
UmmItKin merged 22 commits into
ICEDTEACTF:masterfrom
pictures2333:master
Feb 6, 2026
Merged

refactor: rebuild core system and add new features#18
UmmItKin merged 22 commits into
ICEDTEACTF:masterfrom
pictures2333:master

Conversation

@pictures2333

Copy link
Copy Markdown
Contributor

This PR reflects a major refactor where the core system was rebuilt and extended with new capabilities. It introduces a new Config system with cache synchronization, user management with OAuth2 login, an Event model with CRUD, background CTFTime synchronization, Discord interactive UIs (ctfmenu / user menu), event channel management, and scheduled event recovery. Logging and error handling were also hardened, and setup_env.sh plus the README were updated to match the new architecture.

chore(config): change log level (error -> critical) for cache and database out of sync
fix(config): prevent channel which isn't discord.TextChannel can be selected when config_type == channel
…init config in db, config out of sync and fail to load extension
Create database model (Event) and CRUD functions for events.

Background tasks:
- Detect ctf events (new event, update, remove and expire)
- Detect scheduled events (update info and recreate)
…r an event which has already started or passed
@UmmItKin UmmItKin merged commit d723ef4 into ICEDTEACTF:master Feb 6, 2026
2 checks passed
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.

2 participants