@bobfrankston/rmfmail 1.1.78 → 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.
Files changed (40) hide show
  1. package/.commitmsg +11 -6
  2. package/client/android-bootstrap.bundle.js +8 -0
  3. package/client/android-bootstrap.bundle.js.map +2 -2
  4. package/client/app.bundle.js +35 -17
  5. package/client/app.bundle.js.map +3 -3
  6. package/client/components/message-viewer.js +29 -19
  7. package/client/components/message-viewer.js.map +1 -1
  8. package/client/components/message-viewer.ts +28 -19
  9. package/client/compose/compose.bundle.js +23 -5
  10. package/client/compose/compose.bundle.js.map +2 -2
  11. package/client/compose/spellcheck.js +23 -9
  12. package/client/compose/spellcheck.js.map +1 -1
  13. package/client/compose/spellcheck.ts +20 -8
  14. package/client/lib/api-client.js +10 -0
  15. package/client/lib/api-client.js.map +1 -1
  16. package/client/lib/api-client.ts +11 -0
  17. package/client/lib/mailxapi.js +9 -0
  18. package/docs/contacts.md +17 -8
  19. package/npmchanges.md +27 -0
  20. package/package.json +3 -3
  21. package/packages/mailx-service/index.d.ts +12 -0
  22. package/packages/mailx-service/index.d.ts.map +1 -1
  23. package/packages/mailx-service/index.js +35 -0
  24. package/packages/mailx-service/index.js.map +1 -1
  25. package/packages/mailx-service/index.ts +35 -0
  26. package/packages/mailx-service/jsonrpc.js +4 -0
  27. package/packages/mailx-service/jsonrpc.js.map +1 -1
  28. package/packages/mailx-service/jsonrpc.ts +4 -0
  29. package/packages/mailx-settings/docs/contacts.md +17 -8
  30. package/packages/mailx-store-web/package.json +1 -1
  31. package/packages/mailx-store-web/web-service.d.ts +5 -0
  32. package/packages/mailx-store-web/web-service.d.ts.map +1 -1
  33. package/packages/mailx-store-web/web-service.js +4 -0
  34. package/packages/mailx-store-web/web-service.js.map +1 -1
  35. package/packages/mailx-store-web/web-service.ts +4 -0
  36. package/packages/mailx-types/mailx-api.d.ts +5 -0
  37. package/packages/mailx-types/mailx-api.d.ts.map +1 -1
  38. package/packages/mailx-types/mailx-api.ts +2 -0
  39. package/packages/mailx-types/package.json +1 -1
  40. /package/packages/mailx-imap/{node_modules.npmglobalize-stash-66360 → node_modules.npmglobalize-stash-78668}/.package-lock.json +0 -0
package/.commitmsg CHANGED
@@ -1,7 +1,12 @@
1
- User dictionary: drop dead JSON-migration code, read cloud-first
1
+ Fix: opening an attachment did nothing on desktop
2
2
 
3
- There were no pre-existing dictionaries to convert, so the legacy
4
- userdict.jsonc fallback in loadUserDict/saveUserDict is removed. loadUserDict
5
- is now async and reads the cloud userdict.csv first (so a fresh machine
6
- picks up prior words), falling back to the local cache. Service
7
- getUserDict/addUserDictWord/removeUserDictWord await accordingly.
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.
6
+
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");
@@ -6383,6 +6388,9 @@ ${bodyEncoded}`;
6383
6388
  async addUserDictWord(_word) {
6384
6389
  return [];
6385
6390
  }
6391
+ async addUserDictWords(_words) {
6392
+ return [];
6393
+ }
6386
6394
  async removeUserDictWord(_word) {
6387
6395
  return [];
6388
6396
  }