diff --git a/.gitignore b/.gitignore index 514281b..56682d7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,16 @@ Thumbs.db *.log .vscode/ .idea/ + +# Environment +.env +.env*.local + +# Systeem & Editor +.DS_Store +Thumbs.db +*.log +.vscode/ +.idea/ +config/.env.example +config/config.php \ No newline at end of file diff --git a/admin.php b/admin.php index d226255..8276f71 100644 --- a/admin.php +++ b/admin.php @@ -542,7 +542,13 @@ require_once __DIR__ . '/includes/header.php';
+<<<<<<< HEAD +
+
+ + +>>>>>>> dd738e670b78819c11e329da93db1b472808f195
+<<<<<<< HEAD + +
+ + +
+
+
+
+ + Vrij invulbaar +
+
+ + +
+
+
+
+ + 30m +
+
+ + + +
+=======
@@ -498,6 +644,7 @@ for ($h = $startHour; $h <= $endHour; $h++) { +>>>>>>> dd738e670b78819c11e329da93db1b472808f195
@@ -556,7 +703,11 @@ for ($h = $startHour; $h <= $endHour; $h++) { +<<<<<<< HEAD + +======= +>>>>>>> dd738e670b78819c11e329da93db1b472808f195 @@ -582,12 +733,33 @@ for ($h = $startHour; $h <= $endHour; $h++) { +<<<<<<< HEAD + +<<<<<<< HEAD + + + @@ -803,6 +975,103 @@ for ($h = $startHour; $h <= $endHour; $h++) { +<<<<<<< HEAD + + + +======= +>>>>>>> dd738e670b78819c11e329da93db1b472808f195 diff --git a/profile.php b/profile.php index 40bb8ad..2ab40d8 100644 --- a/profile.php +++ b/profile.php @@ -48,6 +48,26 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { exit; } +<<<<<<< HEAD + // 2b. Outlook synchronisatievoorkeuren opslaan + elseif ($action === 'save_outlook_settings') { + $syncInterval = (int)($_POST['sync_interval_seconds'] ?? 30); + + $stmtExisting = $db->prepare("SELECT settings FROM integrations WHERE user_id = ? AND provider = 'OUTLOOK'"); + $stmtExisting->execute([$userId]); + $existing = $stmtExisting->fetch(); + $settings = json_decode($existing['settings'] ?? '{}', true) ?: []; + $settings['sync_interval_seconds'] = $syncInterval; + + $stmtUp = $db->prepare("UPDATE integrations SET settings = ? WHERE user_id = ? AND provider = 'OUTLOOK'"); + $stmtUp->execute([json_encode($settings), $userId]); + + $message = "Uw Microsoft Outlook synchronisatievoorkeur is succesvol opgeslagen."; + $messageType = 'success'; + } + +======= +>>>>>>> dd738e670b78819c11e329da93db1b472808f195 // 3. Jira Opslaan & Testen elseif ($action === 'save_jira') { $companyDomain = jira_get_company_domain(); @@ -462,6 +482,35 @@ require_once __DIR__ . '/includes/header.php'; +<<<<<<< HEAD +
+ +
+ +

+ Bepaalt hoe vaak het dagplanningscherm in de achtergrond controleert op gewijzigde of verwijderde Outlook afspraken. +

+
+
+ + + +
+
+ +======= +>>>>>>> dd738e670b78819c11e329da93db1b472808f195