- Replaced concrete DB parameters with placeholders
- Replaced real tokens with generic examples
- Replaced kwcL2_ prefix with oc_ prefix
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- room_token does NOT exist in kwcL2_talk_attendees
- Use room_id + actor_id + participant_type
- participant_type=2 means moderator
- Fallback to permissions & 2
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Added CASE WHEN participation = 1 THEN CONCAT(u.uid, '*') to all participant queries
- Tests room_token, room_id + attendee_id, room_id + actor_id
- Moderators now displayed with asterisk (*)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Added type 4: inaktiv/gelöscht
- Added type 5: inaktiv
- Added type 6: Notiz an mich
- All CASE statements updated in SQL queries
- Changed cat to less -F for displaying rooms.txt
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- New menu point C: List all rooms WITH participants
- Uses GROUP_CONCAT to combine participants into one column
- Tests multiple JOIN variants (user_id, attendee_id, actor_id)
- Saves to rooms.txt
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- MySQL-Befehle direkt in die Kommandozeile geschrieben
- Anführungszeichen um DB-Parameter hinzugefügt
- mysql-Client Verfügbarkeit geprüft
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- 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>
- 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>
- 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>
- 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>