15 Commits

Author SHA1 Message Date
aa00fb9d29 feat: Add credentials management system and comprehensive testing
- Add credentials management system with automatic saving and updates
- Add upload form URL to JSON output
- Add Ollama model information to JSON output
- Implement credential update system (update_credentials.sh)
- Implement credential save system (save_credentials.sh)
- Add comprehensive test suites (infrastructure, n8n, PostgREST, complete system)
- Add workflow auto-reload system with systemd service
- Add detailed documentation (CREDENTIALS_MANAGEMENT.md, TEST_REPORT.md, VERIFICATION_SUMMARY.md)
- Improve n8n setup with robust API-based workflow import
- Add .gitignore for credentials directory
- All tests passing (40+ test cases)

Key Features:
- Credentials automatically saved to credentials/<hostname>.json
- Update Ollama URL from IP to hostname without container restart
- Comprehensive testing with 4 test suites
- Full documentation and examples
- Production-ready system
2026-01-24 22:31:26 +01:00
26f5a7370c feat: External workflow file support with dynamic credential replacement
- Add --workflow-file option to install.sh (default: RAGKI-BotPGVector.json)
- Add --ollama-model option (default: ministral-3:3b)
- Add --embedding-model option (default: nomic-embed-text:latest)
- Update libsupabase.sh to read workflow from external JSON file
- Add Python script for dynamic credential ID replacement in workflow
- Remove id, versionId, meta, tags, active, pinData from imported workflow
- Include RAGKI-BotPGVector.json as default workflow template

Tested successfully on container sb-1769180683
2026-01-23 16:09:45 +01:00
f6637080fc fix: Workflow activation with versionId
- Extract versionId from workflow import response
- Use POST /rest/workflows/{id}/activate with versionId
- Workflow is now automatically activated after import

Tested successfully on container sb-1769174647
2026-01-23 14:27:03 +01:00
ff1526cc83 feat: Auto-import n8n RAG workflow with credentials
- Fixed n8n API login: use 'emailOrLdapLoginId' instead of 'email'
- Added n8n_setup_rag_workflow() function to libsupabase.sh
- Creates PostgreSQL and Ollama credentials automatically
- Imports RAG KI-Bot workflow with correct credential references
- Removed tags from workflow JSON (API validation issue)
- Step 10 now fully automated: credentials + workflow import

Tested successfully on container sb-1769173910
2026-01-23 14:15:16 +01:00
0618e21cb0 Proxy Setup Init 2026-01-18 17:03:16 +01:00
440dfbe8c4 Prototype2.4_Owner-Setup_Screen_Passwort-Policy 2026-01-11 17:54:12 +01:00
4372489bb6 Prototype2.4_add_user 2026-01-11 16:30:31 +01:00
555d908dd2 Prototype2.3-fix_ostemplate 2026-01-11 15:03:55 +01:00
d5ebba844e Prototype2.2-n8n-Rechte-Problem 2026-01-11 14:23:33 +01:00
a0cb72ecfb Prototype2 2026-01-11 12:36:12 +01:00
21d9eae530 Prototype1 2026-01-11 11:50:35 +01:00
a3c1401e1e Schritt7_VLAN90_Default 2026-01-09 22:58:06 +01:00
deecc5b6de locales in LXC 2026-01-09 20:09:29 +01:00
cfd1099405 Cluster-Problem 2026-01-09 18:53:26 +01:00
b78762155f Initial commit 2026-01-09 17:12:49 +01:00