🔒 refactor(bots): remove !login command and enforce OIDC-only auth

- Remove !login and !logout commands from all 16+ Matrix bots
- Remove login/logout references from all help/welcome messages
- Disable password login in Synapse (password_config.enabled: false)
- System is now OIDC-only via Mana Core authentication

Users must authenticate via "Sign in with Mana Core" in Element.
Existing bot access tokens remain valid.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-14 11:26:58 +01:00
parent c698318c91
commit d81b8aebf2
30 changed files with 158 additions and 786 deletions

View file

@ -16,9 +16,7 @@ export default () => ({
export const HELP_TEXT = `**Clock Bot - Zeiterfassung per Chat**
**Account:**
- \`!login email passwort\` - Anmelden
- \`!logout\` - Abmelden
**Status:**
- \`!status\` - Account & Timer Status
**Timer (Stoppuhr):**
@ -49,16 +47,14 @@ Sende eine Sprachnotiz wie "Timer 25 Minuten" oder "Wecker um 7 Uhr"
- "stop" - Timer stoppen
- "status" - Status anzeigen`;
export const WELCOME_TEXT = `**Clock Bot - Zeiterfassung**
export const WELCOME_TEXT = `🕐 **Clock Bot - Zeiterfassung**
Starte mit:
- \`!timer 25m\` - 25-Minuten Timer
**Schnellstart:**
- \`!timer 25m\` - 25-Minuten Timer starten
- \`!alarm 07:30\` - Wecker stellen
- \`!zeit\` - Aktuelle Zeit
- \`!status\` - Status anzeigen
Oder sende eine Sprachnotiz!
\`!help\` fur alle Befehle.`;
\`!help\` für alle Befehle.`;
// Natural language patterns for time parsing
export const TIME_PATTERNS = {