security(p0): remove .env from git tracking (was not tracked), rotate SECRET_KEY, chmod 600 .env; update TODO to reflect completion

This commit is contained in:
HotSwapp
2025-08-17 22:28:55 -05:00
parent ae4484381f
commit e93b6db64a
2 changed files with 270 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ async function saveThemePreference(theme) {
body: JSON.stringify({ theme_preference: theme })
});
} catch (error) {
console.log('Could not save theme preference to server:', error.message);
// Silently fail - theme preference is not critical
}
}
@@ -94,7 +94,7 @@ async function loadUserThemePreference() {
}
}
} catch (error) {
console.log('Could not load theme preference from server:', error.message);
// Silently fail - theme preference is not critical
}
}
@@ -121,7 +121,6 @@ async function initializeApp() {
}
app.initialized = true;
console.log('Delphi Database System initialized');
}
// Live Batch Progress (Admin Overview)
@@ -237,7 +236,7 @@ function initializeBatchProgressUI() {
}
}, function(err){
// Non-fatal; polling fallback is handled inside subscribe()
console.debug('progress stream issue', err && err.message ? err.message : err);
// Silently handle stream errors as polling fallback is available
});
subscriptions.set(pid, unsub);
}