@bobfrankston/rmfmail 1.1.79 → 1.1.81
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 +20 -14
- package/client/android-bootstrap.bundle.js +5 -0
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/app.bundle.js +32 -17
- package/client/app.bundle.js.map +3 -3
- package/client/app.js +8 -0
- package/client/app.js.map +1 -1
- package/client/app.ts +8 -0
- package/client/components/message-viewer.js +33 -20
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +32 -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 +9 -0
- package/npmchanges.md +32 -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-76204}/.package-lock.json +0 -0
package/.commitmsg
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
Fix
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
Fix spurious attachment-open error + blocking alert that stalled sync
|
|
2
|
+
|
|
3
|
+
Three faults behind "failed to open" appearing after the file had
|
|
4
|
+
actually opened in Acrobat:
|
|
5
|
+
|
|
6
|
+
1. The openAttachment IPC call used the default 30s ceiling. A cold
|
|
7
|
+
parse worker (14-25s) plus a 1.7 MB PDF blew past it, so the client
|
|
8
|
+
rejected even though the service succeeded. getAttachment/
|
|
9
|
+
openAttachment now get a 120s ceiling in mailxapi.js.
|
|
10
|
+
|
|
11
|
+
2. On that spurious rejection the viewer ran the browser-only blob
|
|
12
|
+
fallback, whose atob() threw "string not correctly encoded". The
|
|
13
|
+
fallback now runs ONLY when openAttachment returns undefined (real
|
|
14
|
+
browser / --server mode); a genuine IPC failure is reported, not
|
|
15
|
+
retried via blob.
|
|
16
|
+
|
|
17
|
+
3. The failure was shown with window.alert() — a modal that freezes the
|
|
18
|
+
WebView event loop, stalling IPC event delivery so sync looked
|
|
19
|
+
stopped. Replaced with a non-blocking banner via a mailx-alert
|
|
20
|
+
CustomEvent handled by app.ts showAlert().
|
|
@@ -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");
|