feat: Implement AI Chat Agent, Email Notifications, and UI enhancements
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-12 08:35:48 +01:00
parent ccfb674318
commit 5d8976b1cd
58 changed files with 7867 additions and 844 deletions
+25
View File
@@ -0,0 +1,25 @@
import { storage } from "../server/storage";
async function run() {
try {
const user = await storage.getUserByUsername("admin");
if (user) {
console.log("User found:", {
id: user.id,
username: user.username,
role: user.role,
aiEnabled: user.aiEnabled,
// Check if property exists
hasAiEnabled: "aiEnabled" in user
});
} else {
console.log("User 'admin' not found");
}
process.exit(0);
} catch (e) {
console.error(e);
process.exit(1);
}
}
run();