Fix sysop BBS deletion and keep confirmation errors visible

This commit is contained in:
alberto committed 2026-10-17 15:50:22 +02:00
1 parent 8cb4b6256f
commit 018c0f574e
9 files changed
+126 -15

No files matched your search

+4
View File
@@ -8,6 +8,10 @@ Use the Italian / UK flag switch in the login screen or dashboard header to sele
Interface copy is maintained in `public/i18n.js`; add new UI phrases and parameterised status patterns there. Mark custom data widgets with `data-no-i18n` so their content is preserved.
## Message deletion
Deleting BBS or Winlink messages requires the configured Console sysop login and CSRF token. The Console opens a fresh BPQ WebMail session, issues the native delete action and verifies that the message disappeared or has status `K`. If WebMail rejects deleting another author’s bulletin, the authenticated sysop Console uses BPQ’s local administrative message action, preserving the other message fields and changing only status to `K`. BPQ updates its own database and forwarding flags. No account flags are changed. Already deleted messages are handled safely; failures are displayed inside the confirmation dialog.
## Winlink attachments
Incoming and queued Winlink messages show an attachment indicator in the list and file cards in the reader. Download original files or preview images, PDFs and plain text; HTML/SVG attachments are shown as text. Binary attachments use BPQ’s native B2 format.