Das DocuWare-Passwort wird nicht mehr in storage.local abgelegt. Das Hintergrundskript fungiert als Auth-Broker und hält den OAuth-Token nur im Speicher der TB-Sitzung. Der Ablage-Dialog fragt das Passwort einmalig per Overlay ab, holt darüber den Token und verwirft das Passwort sofort. - store.js: password aus DEFAULTS entfernt; Settings.set() löscht password defensiv - auth.js: setToken/currentToken für Token-Transfer, Cookie-Modus als Sentinel - background.js: Broker (auth:status/auth:logon/auth:logout) - dialog: ensureAuth() + Passwort-Overlay statt direktem Auth.logon - options: Passwort nur transient für Test/Diagnose, nicht gespeichert; Export ohne Passwort - manifest: lib/store.js + lib/auth.js ins Hintergrundskript geladen Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "DocuWare Ablage",
|
|
"description": "Legt markierte E-Mails (als .eml, PDF und mit Anhängen) in DocuWare ab.",
|
|
"version": "0.8.0",
|
|
"author": "l.lingler",
|
|
"applications": {
|
|
"gecko": {
|
|
"id": "docuware-archive@thunderbird",
|
|
"strict_min_version": "115.0",
|
|
"update_url": "https://sylyx.xyz/sylyx/thunderbird2docuware/raw/branch/main/updates.json"
|
|
}
|
|
},
|
|
"icons": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png",
|
|
"64": "icons/icon-64.png"
|
|
},
|
|
"permissions": [
|
|
"messagesRead",
|
|
"messagesUpdate",
|
|
"messagesTags",
|
|
"accountsRead",
|
|
"menus",
|
|
"storage",
|
|
"tabs",
|
|
"<all_urls>"
|
|
],
|
|
"background": {
|
|
"scripts": [
|
|
"lib/store.js",
|
|
"lib/auth.js",
|
|
"background/background.js"
|
|
]
|
|
},
|
|
"message_display_action": {
|
|
"default_title": "In DocuWare ablegen",
|
|
"default_icon": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png"
|
|
}
|
|
},
|
|
"commands": {
|
|
"open-archive-dialog": {
|
|
"suggested_key": { "default": "Ctrl+Alt+I" },
|
|
"description": "Markierte E-Mail in DocuWare ablegen"
|
|
}
|
|
},
|
|
"options_ui": {
|
|
"page": "options/options.html",
|
|
"open_in_tab": true
|
|
}
|
|
}
|