Add password reset localization and chat configuration

- Implemented German and English localization for password reset functionality.
- Added WebSocket URL resolution logic in chat services to support various environments and configurations.
- Created centralized chat configuration for event keys and payload mappings.
- Developed RoomsView component for admin chat room management, including create, edit, and delete functionalities.
This commit is contained in:
Torsten Schulz (local)
2025-08-18 07:44:56 +02:00
parent 23f698d8fd
commit 19ee6ba0a1
50 changed files with 3117 additions and 359 deletions

View File

@@ -29,10 +29,14 @@ export default {
...mapState(['daemonSocket']),
},
mounted() {
this.daemonSocket.addEventListener('workerStatus', () => { console.log('----'); });
if (this.daemonSocket && this.daemonSocket.addEventListener) {
this.daemonSocket.addEventListener('workerStatus', this.handleDaemonMessage);
}
},
beforeUnmount() {
this.daemonSocket.removeEventListener('workerStatus', this.handleDaemonMessage);
if (this.daemonSocket && this.daemonSocket.removeEventListener) {
this.daemonSocket.removeEventListener('workerStatus', this.handleDaemonMessage);
}
},
methods: {
openImprintDialog() {
@@ -48,7 +52,9 @@ export default {
this.$store.dispatch('dialogs/toggleDialogMinimize', dialogName);
},
async showFalukantDaemonStatus() {
this.daemonSocket.send('{"event": "getWorkerStatus"}');
if (this.daemonSocket && this.daemonSocket.send) {
this.daemonSocket.send('{"event": "getWorkerStatus"}');
}
},
handleDaemonMessage(event) {
const status = JSON.parse(event.data);