Enhance MessagesDialog component and localization for overproduction notifications

- Updated MessagesDialog.vue to extract additional parameters (value, branch_id, region_id) for better handling of overproduction scenarios.
- Modified localization files (de/falukant.json and en/falukant.json) to reflect changes in the overproduction notification format, including branch information.
- Improved data formatting for clarity in notifications related to production levels.
This commit is contained in:
Torsten Schulz (local)
2026-01-12 16:48:10 +01:00
parent 9273066f61
commit b600f16ecd
6 changed files with 117 additions and 9 deletions

View File

@@ -0,0 +1,31 @@
# /etc/apache2/sites-available/yourpart-websocket.conf
<VirtualHost *:4551>
ServerName www.your-part.de
# SSL-Konfiguration
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/www.your-part.de/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/www.your-part.de/privkey.pem
# HTTP/2 deaktivieren
Protocols http/1.1
# WebSocket-Proxy (unverschlüsselt zu Daemon)
ProxyPreserveHost On
ProxyRequests Off
# WebSocket-Upgrade (muss VOR ProxyPass stehen)
RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*) "ws://localhost:4551/$1" [P,L]
# Fallback für normale HTTP-Requests (falls nötig)
ProxyPass / http://localhost:2020/
ProxyPassReverse / http://localhost:2020/
# CORS-Headers
Header always set Access-Control-Allow-Origin "https://www.your-part.de"
Header always set Access-Control-Allow-Methods "GET, POST, OPTIONS"
Header always set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization"
</VirtualHost>