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

Add Challenge Import #68

Merged
merged 5 commits into from
Jun 9, 2023
Merged

Add Challenge Import #68

merged 5 commits into from
Jun 9, 2023

Conversation

h4ckd0tm3
Copy link
Contributor

As mentioned in #64

h4ckd0tm3 added 3 commits May 31, 2023 11:12
* Add Challenge Import

* Fix duplicate import if challenge exists

* Factorize form.error into snippet
@h4ckd0tm3
Copy link
Contributor Author

Extended the challenge import, in case CTFd is not used you can import using a list in formt:

Name | Category

as well.

@hugsy
Copy link
Owner

hugsy commented May 31, 2023

This is cool AF 😎 I didn't know about the CTFd API, definitely something worth integrating. Do you know of other CTF server platforms with available APIs?

Anyway I'll be reviewing and testing this PR very soon! Thanks!

@h4ckd0tm3
Copy link
Contributor Author

rCTF offers an API as well, I think I can integrate that too. Have too look into it!

@h4ckd0tm3
Copy link
Contributor Author

Added rCTF as well

Copy link
Owner

@hugsy hugsy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some tiny changes, otherwise it looks pretty solid

@@ -0,0 +1,28 @@
window.addEventListener('DOMContentLoaded', (event) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, way cleaner

@hugsy hugsy merged commit a113d02 into hugsy:master Jun 9, 2023
@hugsy hugsy added this to the 0.1 milestone Jun 21, 2023
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