c44b74f871
Add functions to list all rooms and participants from database
...
- Added DB configuration for direct MySQL access
- Added list_all_rooms() function: lists all Talk rooms and saves to rooms.txt
- Added list_room_participants() function: lists participants of a specific room
- Added room type legend (0=1:1, 1=group, 2=public, 3=private, 7=federated)
- Added new menu options: 9 (list rooms), A (list participants), D (debug)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-31 14:19:01 +01:00
6b01d1bc7b
FIX: talk:room:add verwendet --user Option, andere Befehle verwenden TOKEN USERNAME
...
- add_user_to_chat: --user USERNAME TOKEN
- remove_user_from_chat: TOKEN USERNAME
- make_moderator: TOKEN USERNAME
- remove_moderator: TOKEN USERNAME
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-31 13:54:44 +01:00
05d7669d33
FIX: Korrigierte talk:room:update Parameter von --read-only zu --readonly
...
- lock_chat: --readonly=1 statt --read-only=1
- unlock_chat: --readonly=0 statt --read-only=0
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-31 13:47:23 +01:00
851adf78df
FINAL FIX: Korrigierte Syntax für alle talk:room:* Befehle
...
- talk:room:create --public NAME (statt --type)
- talk:room:add TOKEN USERNAME (statt --user USERNAME TOKEN)
- talk:room:remove TOKEN USERNAME (statt --user USERNAME TOKEN)
- talk:room:promote TOKEN USERNAME (statt --user USERNAME TOKEN)
- talk:room:demote TOKEN USERNAME (statt --user USERNAME TOKEN)
- Typ-Auswahl entfernt (nur public Chats)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 17:19:24 +01:00
5f33e48fe7
FINAL: NUTZERNAMEN direkt verwenden (keine User-ID mehr nötig)
...
- talk:room:add --user NUTZERNAME TOKEN
- talk:room:remove --user NUTZERNAME TOKEN
- talk:room:promote --user NUTZERNAME TOKEN
- talk:room:demote --user NUTZERNAME TOKEN
- User-ID Extraktion entfernt (nicht nötig)
- Vereinfachte Logik
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 16:49:25 +01:00
2eae85c30f
FINAL FIX: Korrekte Argument-Reihenfolge für talk:room Befehle
...
- talk:room:add --user USERID TOKEN (nicht TOKEN USERID)
- talk:room:remove --user USERID TOKEN (nicht TOKEN USERID)
- talk:room:promote --user USERID TOKEN (nicht TOKEN USERID)
- talk:room:demote --user USERID TOKEN (nicht TOKEN USERID)
- Alle User-ID Abfragen funktionieren
- Validierung funktioniert
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 16:41:35 +01:00
bf422c30e3
FINAL: User-ID Abfrage komplett korrigiert
...
- get_user_id() nutzt jetzt user:info als Primärmethode
- Fallback auf user:list --output=json
- Fallback auf user:list
- Zeigt User-ID in Debug-Modus an
- Alle Talk-Kommandos final für Nextcloud 34
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 16:30:38 +01:00
3ccda95748
FINAL WORKING VERSION: validate_room mit korrigierter grep-Logik (-E Flag)
...
- grep -qiE statt grep -qi für OR-Operator |
- Alle Talk-Kommandos final für Nextcloud 34
- validate_room erkennt jetzt korrekt existing rooms
- Kompakt und sauber
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 16:24:49 +01:00
7418a62f3e
FINAL FIX: Alle Talk-Kommandos für Nextcloud 34 komplett korrigiert
...
- talk:chat:create -> talk:room:create (endgültig)
- talk:participant:* -> talk:room:add/remove (endgültig)
- talk:moderator:* -> talk:room:promote/demote (endgültig)
- talk:room:read-only -> talk:room:update --read-only= (endgültig)
- validate_room verwendet talk:monitor:room mit besserer Logik
- talk:room:list komplett entfernt (nicht verfügbar in NC34)
- show_chat_info verwendet talk:monitor:room
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 16:22:51 +01:00
7f4398df1b
Fix: Alle Talk-Kommandos für Nextcloud 34 korrigiert
...
- talk:chat:create -> talk:room:create
- talk:participant:add/remove -> talk:room:add/remove
- talk:moderator:add/remove -> talk:room:promote/demote
- talk:room:read-only -> talk:room:update --read-only=1/0
- talk:room:list -> entfernt (nicht verfügbar in NC34)
- validate_room verwendet jetzt talk:monitor:room
- Robustere Fehlerbehandlung
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 16:22:03 +01:00
a007c67771
Fix: Alle Ausgaben bleiben sichtbar - Nutzer muss nach jeder Aktion Enter drücken
...
- clear aus show_menu() entfernt
- Jede Funktion zeigt Menü an und wartet auf Enter
- Fehlermeldungen sind jetzt immer sichtbar
- Exit-Codes und Outputs werden angezeigt
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 13:31:33 +01:00
ecf87e4c23
Fix: Auto-detect current directory if occ exists locally
...
- Prüft zuerst, ob ./occ und ./config/config.php existieren
- Falls ja, verwendet aktuelles Verzeichnis als Nextcloud-Pfad
- Deutlich verbesserte Pfaderkennung
- Automatische Upgrade-Prüfung mit Abfrage
- Verbesserte Talk-App-Erkennung (spreed/talk)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 13:22:33 +01:00
c5fae77c18
Fix: Talk-App wird als 'spreed' statt 'talk' in app:list angezeigt
...
- Geändert: app:list prüft jetzt auf 'spreed' UND 'talk'
- Hinzugefügt: Automatische Aktivierung von spreed falls deaktiviert
- Verbessert: Fehlermeldungen sind klarer
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 13:07:24 +01:00
c6028d9b77
Fix: Improved version with automatic Nextcloud detection and debug output
...
- Auto-detect Nextcloud directory path
- Auto-detect PHP path
- Show exact OCC commands being executed
- Display exit codes and output for debugging
- Added debug menu option (d)
- Better error handling and user feedback
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 12:57:07 +01:00
1f1f436dd4
Add Nextcloud Talk chat management scripts
...
- nextcloud_talk_manager.sh: Interactive Bash script for chat management
- nextcloud_talk_manager.php: Alternative PHP version
- README.md: Documentation
Features:
- Create chats
- Add/remove users from chats
- Assign/remove moderator rights
- Lock/unlock chats (read-only)
- List all chats
- Show chat info
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-10-30 12:44:07 +01:00