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

Challenges page similar to machines #56

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

Challenges page similar to machines #56

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

Comments

@eshaan7
Copy link
Member

eshaan7 commented Apr 28, 2020

Describe the solution you'd like
A Challenges page to display list of challenges with certain fields (mentioned below). Similar to the Machines page.

  • Database fields: Title, Description, URL, hash
  • UserChallenge Model depicting a many to many relationship b/w User model and Challenge model with fields: user_id:int, challenge_id:int, done:bool
  • WTForm class for creating/editing these challenges.
@eshaan7 eshaan7 pinned this issue Apr 28, 2020
@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.
@eshaan7 eshaan7 unpinned this issue May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant