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

Improving the admin controls interface #36

Open
2 of 5 tasks
eshaan7 opened this issue Mar 25, 2020 · 5 comments · Fixed by #59
Open
2 of 5 tasks

Improving the admin controls interface #36

eshaan7 opened this issue Mar 25, 2020 · 5 comments · Fixed by #59
Labels

Comments

@eshaan7
Copy link
Member

eshaan7 commented Mar 25, 2020

Describe the solution you'd like
The "admin controls" are, at the moment, limited to just performing CRUD database operations along with some searching and filter options.
These are inbuilt in Flask-admin. We should add some more features such as:

  • charts to visualize data

  • CKeditor for description field in Challenge and Notification models.

  • Alerts for some of the logging techniques we already use.

  • export data as CSV (Reference)

  • GUI control of config.py CTF settings

  • One may go through flask-admin documentation and suggest new ideas.

  • Ideas can be taken from here as well.

Note:
If you are a GSSoC participant, please note that the difficulty level of this would vary depending on how many features you add (Medium to Hard).

@amandhamija98
Copy link

Hi, I am a gssoc participant and new to this project, may I work on this issue please

@amandhamija98
Copy link

amandhamija98 commented Apr 10, 2020

Hi, could you please point me to the relevant files in the code base. Also could you please tell me where the admin control interface is? I am a bit unsure about that

@eshaan7
Copy link
Member Author

eshaan7 commented Apr 10, 2020

@amandhamija98,
Admin GUI: https://rtblivedemo.herokuapp.com/admin/ (login with admin:admin first)
In the codebase: admin/
As mentioned in the documentation and above, we are using Flask-admin package

@amandhamija98
Copy link

Got it , thankyou, I'll take a look

@amandhamija98
Copy link

Sorry, I won't be able to devote time to this, something has come up

@amandhamija98 amandhamija98 removed their assignment Apr 24, 2020
@eshaan7 eshaan7 unpinned 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 reopened this May 2, 2020
@eshaan7 eshaan7 pinned this issue May 4, 2020
@eshaan7 eshaan7 removed the gssoc20 label Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants