@bobfrankston/rmfmail 1.1.79 → 1.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.commitmsg +10 -12
- package/client/android-bootstrap.bundle.js +5 -0
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/app.bundle.js +31 -17
- package/client/app.bundle.js.map +3 -3
- package/client/components/message-viewer.js +29 -19
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +28 -19
- package/client/compose/compose.bundle.js +5 -0
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/lib/api-client.js +7 -0
- package/client/lib/api-client.js.map +1 -1
- package/client/lib/api-client.ts +8 -0
- package/client/lib/mailxapi.js +3 -0
- package/npmchanges.md +17 -0
- package/package.json +3 -3
- package/packages/mailx-service/index.d.ts +9 -0
- package/packages/mailx-service/index.d.ts.map +1 -1
- package/packages/mailx-service/index.js +26 -0
- package/packages/mailx-service/index.js.map +1 -1
- package/packages/mailx-service/index.ts +25 -0
- package/packages/mailx-service/jsonrpc.js +2 -0
- package/packages/mailx-service/jsonrpc.js.map +1 -1
- package/packages/mailx-service/jsonrpc.ts +2 -0
- package/packages/mailx-store-web/package.json +1 -1
- package/packages/mailx-store-web/web-service.d.ts +4 -0
- package/packages/mailx-store-web/web-service.d.ts.map +1 -1
- package/packages/mailx-store-web/web-service.js +3 -0
- package/packages/mailx-store-web/web-service.js.map +1 -1
- package/packages/mailx-store-web/web-service.ts +3 -0
- package/packages/mailx-types/mailx-api.d.ts +4 -0
- package/packages/mailx-types/mailx-api.d.ts.map +1 -1
- package/packages/mailx-types/mailx-api.ts +1 -0
- package/packages/mailx-types/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-81260 → node_modules.npmglobalize-stash-78668}/.package-lock.json +0 -0
package/.commitmsg
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
Fix
|
|
1
|
+
Fix: opening an attachment did nothing on desktop
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
localStorage. Added the four bridge methods, a bulk addUserDictWords
|
|
7
|
-
RPC, and a load-time reconcile in spellcheck.ts that pushes any
|
|
8
|
-
localStorage-only words up to userdict.csv so accumulated words are
|
|
9
|
-
recovered.
|
|
3
|
+
Clicking an attachment chip fired a programmatic <a download> click,
|
|
4
|
+
which msger's WebView2 silently drops — so nothing happened and the
|
|
5
|
+
failure was swallowed by a console-only catch.
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
New service method openAttachment saves the attachment to
|
|
8
|
+
~/.rmfmail/attachments/ and opens it with the OS default app (start /
|
|
9
|
+
open / xdg-open), the same in-process pattern as openInWord. The viewer
|
|
10
|
+
now calls it on desktop, keeps the native-bridge path for Android, and
|
|
11
|
+
falls back to the blob download only for a real browser / --server
|
|
12
|
+
mode. Failures now surface via an alert instead of vanishing.
|
|
@@ -6253,6 +6253,11 @@ ${bodyEncoded}`;
|
|
|
6253
6253
|
async getAttachment(_accountId, _uid, _attachmentId, _folderId) {
|
|
6254
6254
|
return this.notImpl("getAttachment");
|
|
6255
6255
|
}
|
|
6256
|
+
// Android opens attachments via the native bridge (_nativeBridge.openAttachment),
|
|
6257
|
+
// not this service path — getAttachment + base64 hand-off covers it.
|
|
6258
|
+
async openAttachment(_accountId, _uid, _attachmentId, _folderId) {
|
|
6259
|
+
return this.notImpl("openAttachment");
|
|
6260
|
+
}
|
|
6256
6261
|
// Spam / abuse
|
|
6257
6262
|
async markAsSpamMessages(_accountId, _uids) {
|
|
6258
6263
|
return this.notImpl("markAsSpamMessages");
|