Skip to content

Conversation

JJ-8
Copy link
Owner

@JJ-8 JJ-8 commented May 5, 2023

Fixes the last issues of TFNS#146 and changes the UI slightly to obtain the ical URL.

BitK and others added 24 commits November 30, 2021 02:28
An ical link is now available on /calendar.ics.
It contains all the ctfs with their description and dates.
This endpoint is protected with a token by default,
the password can be changed/removed by the admin.
gen_random_bytes is more suited for crypto purpose
If it should be removed, this should be done in a seperate PR.
Adds /calendar.ics route to frontend
Fixes changing the ical key
slight frontend changes when displaying the ical link
This reduced code redundancy
* Fix eslint errors
* Fix insecure randomness in Registration.vue
Note: Users can still send requests which yield garbage responses, but this is
not a security vulnerability because these responses are only served to the requesting
user
Now it uses the password-input just like the registration password.
The dialog UI is confusing because you think that the key is short
but actually it is out of view in the input field.
Since the only action is to get the link of the ical, we just copy it
to the clipboard immediately and show a confirmation checkmark.
@JJ-8 JJ-8 merged commit eec7786 into main May 5, 2023
@JJ-8 JJ-8 deleted the 0-upstream-ical-link-fix branch May 5, 2023 17:23
@JJ-8 JJ-8 restored the 0-upstream-ical-link-fix branch May 9, 2023 08:15
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