Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI control of config.py CTF settings #55

Closed
eshaan7 opened this issue Apr 23, 2020 · 0 comments · Fixed by #59
Closed

GUI control of config.py CTF settings #55

eshaan7 opened this issue Apr 23, 2020 · 0 comments · Fixed by #59
Assignees

Comments

@eshaan7
Copy link
Member

eshaan7 commented Apr 23, 2020

Describe the solution you'd like
GUI control of config.py CTF settings

Additional context
The user should be able to change the CTF settings from the "admin control" panel. At the moment these configurations are stored as static python dictionaries in the config.py file, this must be changed into SQLAlchemy Models. Then, register admin views for the newly created models so they can be accessed from the "admin control" panel.

This is related to #36.

@eshaan7 eshaan7 self-assigned this Apr 23, 2020
@eshaan7 eshaan7 linked a pull request Apr 28, 2020 that will close this issue
15 tasks
@eshaan7 eshaan7 removed a link to a pull request Apr 30, 2020
15 tasks
@eshaan7 eshaan7 linked a pull request Apr 30, 2020 that will close this issue
15 tasks
@eshaan7 eshaan7 mentioned this issue Apr 30, 2020
15 tasks
eshaan7 added a commit that referenced this issue May 1, 2020
**Release v1.0**

New features:
- [x] Multiple boxes support (closes issue #17)
- [x] Challenges page (closes issue #56). Along with tag and category models for organization.
- [x] CTF settings and websites are now stored in database and can easily be changed from the new `/setup` view. (Closes issue #55)
- [x] WTForm class for Machine for editing/creating new machines.
- [x] Implemented thorough and efficient caching with use of "Flask-Caching" and "Redis".
- [x] Now uses flask factory app method so the various flask extensions can be well-managed.

Changes:
- [x] Define redis service in `docker-compose.yml`
- [x] Redis add-on has been added to `app.json`.
- [x] `ADMIN_EMAIL`, and mail related env variables added in `app.json`.
- [x] Flag submission is now in a modal.
- [x] DB models are now in their respective folders in `models.py`
- [x] Optimized scoreboard's detail fetching
- [x] Features such as searching and exporting and new dark theme for `Admin Controls` (closes issues #1, #16, #36 )
- [x] Some utility functions such as `@admin_only` decorator.
- [x] macros have been defined in templates for reusability.
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 a pull request may close this issue.

1 participant