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

Datenschutz nach Ende der Corona-Kontaktverfolgung reparieren #321

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions includes/Schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ public function dailyEvent()

/**
* deleteOldBookings
* Delete all reservations whose start datetime is older than 4 weeks.
* Delete all reservations whose start datetime is older than 1 day.
* @return void
*/
protected function deleteOldBookings()
{
$timeStampBefore = current_time('timestamp') - (4 * WEEK_IN_SECONDS);
$timeStampBefore = current_time('timestamp') - (1 * DAY_IN_SECONDS);

$args = [
'fields' => 'ids',
Expand Down Expand Up @@ -331,14 +331,14 @@ protected function checkOutNotCheckedOutBookings()

/**
* deleteOldTrackingData
* Delete all tracking data older than 4 weeks.
* Delete all tracking data older than 1 day.
*
* @return void
*/
protected function deleteOldTrackingData()
{
global $wpdb;
$dbTable = Tracking::getTableName();
$wpdb->query("DELETE FROM $dbTable WHERE ts_inserted < (NOW() - INTERVAL 4 WEEK)");
$wpdb->query("DELETE FROM $dbTable WHERE ts_inserted < (NOW() - INTERVAL 1 DAY)");
}
}
Binary file modified languages/rrze-rsvp-de_DE.mo
Binary file not shown.
12 changes: 4 additions & 8 deletions languages/rrze-rsvp-de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -816,17 +816,13 @@ msgid ""
"authorities."
msgstr ""
"Ich bin damit einverstanden, dass meine Kontaktdaten für die Dauer des "
"Vorganges der Platzbuchung und bis zu 4 Wochen danach zum Zwecke der "
"Nachverfolgung gemäß der gesetzlichen Grundlagen zur Corona-Bekämpfung "
"Vorganges der Platzbuchung und für Rückfragen (z.B. Fundsachen) bis zu 1 Tag nach der Veranstaltung"
"gespeichert werden dürfen. Ebenso wird Raumverantwortlichen und Veranstalter "
"von Sprechstunden das Recht eingeräumt, während der Dauer des "
"Buchungsprozesses und bis zum Ende des ausgewählten Termins Einblick in "
"von Sprechstunden das Recht eingeräumt, Einblick in "
"folgende Buchungsdaten zu nehmen: E-Mailadresse, Name, Vorname. "
"Raumverantwortliche und Veranstalter von Sprechstunden erhalten diese Daten "
"allein zum Zweck der Durchführung und Verwaltung des Termins gemäß §6 Abs1 a "
"DSGVO. Die Telefonnummer wird nur zum Zwecke der Kontaktverfolgung aufgrund "
"der gesetzlicher Grundlagen zur Pandemiebekämpfung für Gesundheitsbehörden "
"erfasst."
"DSGVO. Die Angabe der Telefonnummer ist freiwillig und wird nur für eventuelle Rückfragen (z.B. Stornierung, Fundsachen) verwendet."

#: includes/Metaboxes.php:349
msgid ""
Expand Down Expand Up @@ -1181,7 +1177,7 @@ msgstr "Telefon"

#: includes/Shortcodes/Bookings.php:380
msgid "Phone Number"
msgstr "Telefonnummer"
msgstr "Telefonnummer (freiwillige Angabe)"

#: includes/Email.php:258 includes/Email.php:260
msgid "Please cancel your booking in time if your plans change."
Expand Down
2 changes: 1 addition & 1 deletion rrze-rsvp.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: RRZE RSVP
Plugin URI: https://github.com/RRZE-Webteam/rrze-rsvp
Description: FAU Reservation Tool
Version: 2.7.9
Version: 2.7.9.0.1+fablab-mg-20220409
Author: RRZE-Webteam
Author URI: https://blogs.fau.de/webworking/
License: GNU General Public License v2
Expand Down