diff options
Diffstat (limited to 'templates/main')
-rw-r--r-- | templates/main/about/privacy.html | 22 | ||||
-rw-r--r-- | templates/main/jams/profile.html | 43 |
2 files changed, 17 insertions, 48 deletions
diff --git a/templates/main/about/privacy.html b/templates/main/about/privacy.html index 92a5eb73..ce6e20f8 100644 --- a/templates/main/about/privacy.html +++ b/templates/main/about/privacy.html @@ -78,12 +78,6 @@ </tr> <tr> - <td>Date of birth</td> - <td class="uk-table-shrink">Code jam profile </td> - <td style="max-width: 30rem;">Age verification and a factor in code jam team match-ups; only stored if you're over 13</td> - <td>Administrative staff</td> - </tr> - <tr> <td>GitHub username</td> <td class="uk-table-shrink">Code jam profile</td> <td style="max-width: 30rem;">Used to identify you on GitHub as part of a code jam team</td> @@ -206,6 +200,13 @@ staff. </p> <p> + We believe that the best way to keep your personal data safe is to avoid collecting it at all. + Discord itself is GDPR-compliant and they've already done the legwork required to ensure that + your data may be collected - so we don't see the need to collect your personal information + ourselves. Don't forget that by using Discord, you are stating that you are of legal age in + your country to give consent to process your data! + </p> + <p> We are currently working on an automated way to get all of your data in both a human-readable and machine-readable format. Keep your eye on the usual announcements channels for more information on that, as it happens. @@ -224,6 +225,15 @@ <ul class="uk-list uk-list-divider"> <li> + <h4>May 31st, 2018</h4> + <p> + We no longer collect your date of birth, and all collected dates of birth have been + removed from our database. The reason for this is that Discord itself already complies with + GDPR - and in order for you to sign up for a code jam, you must already have a Discord + account. + </p> + </li> + <li> <h4>May 20th, 2018</h4> <p> Completed the first version of our privacy policy. We also updated our OAuth scopes for diff --git a/templates/main/jams/profile.html b/templates/main/jams/profile.html index cf2088c7..98867c8a 100644 --- a/templates/main/jams/profile.html +++ b/templates/main/jams/profile.html @@ -33,14 +33,7 @@ {% else %} <form class="uk-form-horizontal" action="{{ url_for("main.jams.profile") }}" method="post"> {% endif %} - <div> - <div class="uk-form-label"> - <label class="uk-form-label" for="dob">Date of Birth</label> - </div> - <div class="uk-form-controls-text uk-form-controls"> - <input class="uk-input" type="text" name="dob" id="dob" value="{{ participant.dob }}" required> - </div> - </div> + <div> <div class="uk-form-label"> <label class="uk-form-label" for="github_username">GitHub Username</label> @@ -86,47 +79,14 @@ <script type="application/javascript"> - const date = flatpickr("#dob", { - enableTime: false, altInput: true, altInputClass: "date-picker", - onChange: function() { - let dob = moment(dob_input.value); - - if (!dob.isBefore(earliest_dob)) { - UIkit.notification({ - "message": "You must be aged 13 or older to participate in our code jams.", - "status": "danger", - "pos": "top-center", - "timeout": 5000, - }); - - dob_output.classList.add("uk-form-danger"); - submit_button.disabled = true; - } else { - dob_output.classList.remove("uk-form-danger"); - } - } - }); - const tz = moment().format("Z"); - const dob_input = document.getElementById("dob"); - const dob_output = document.getElementsByClassName("date-picker")[0]; const github_input = document.getElementById("github_username"); const tz_input = document.getElementById("timezone"); const submit_button = document.getElementById("submit"); - const earliest_dob = moment().subtract(13, "years"); function checkInputs() { - if (dob_input.value.length < 1) - return submit_button.disabled = true; - - let dob = moment(dob_input.value); - - if (!dob.isBefore(earliest_dob)) { - return submit_button.disabled = true; - } - if (github_input.value.length < 1) return submit_button.disabled = true; @@ -136,7 +96,6 @@ submit_button.disabled = false; } - dob_input.oninput = checkInputs; github_input.oninput = checkInputs; tz_input.oninput = checkInputs; |