Page MenuHomePhabricator
Feed Advanced Search

Aug 27 2024

marcin added inline comments to D13121: Implement method to go from DMOperation -> [MessageData] for each dm op spec.
Aug 27 2024, 10:26 AM
marcin added inline comments to D13123: Update sendDMOperation to send notifs as well.
Aug 27 2024, 8:37 AM
marcin updated the diff for D13010: Update db ops reducer to process notiications creation data.

Address review

Aug 27 2024, 8:36 AM
marcin updated the diff for D13121: Implement method to go from DMOperation -> [MessageData] for each dm op spec.

Address review. I opted for returning single MessageData instead of {[id: string]: MessageData}.

Aug 27 2024, 8:03 AM
marcin updated the diff for D13050: Extract logic of pushInfo -> usersToCollapsableNotifInfo to lib and use for client-based notifs.

Make mergeUserToCollapsableInfo pure.

Aug 27 2024, 6:48 AM
marcin updated the diff for D13123: Update sendDMOperation to send notifs as well.

Move notification sending logic to peer-to-peer-context

Aug 27 2024, 5:41 AM
marcin updated the diff for D13010: Update db ops reducer to process notiications creation data.

Update queueDBOps to queue notificationsCreationData

Aug 27 2024, 5:40 AM
marcin updated the diff for D12882: Implement sending E2EE notification from the client.

Remove logic in db-ops-handler

Aug 27 2024, 5:39 AM

Aug 26 2024

marcin requested review of D13167: Implement thick thread badge updates and rescinds handling in native notifs code.
Aug 26 2024, 5:44 AM
marcin requested review of D13166: Enrich CommMMKV api with operations that manipulate string set.
Aug 26 2024, 5:19 AM
marcin requested review of D13165: Return single curve25519 string from NotificationsInboundKeysProvider.
Aug 26 2024, 5:15 AM
marcin requested review of D13164: Implement code in lib to create thick threads rescinds and badge updates.
Aug 26 2024, 5:10 AM
marcin requested review of D13163: Implement DMOperation and relevant spec for thread status change.
Aug 26 2024, 5:02 AM

Aug 23 2024

marcin added a comment to D13131: Fix sound issue for peer-based notifications.
  1. Are there any other APNs fields that we need to surface outside of the encrypted blob like this? For instance, how about priority?

Sound was the only one. The priority field is not a part of notification but a part of headers of HTTP request to APNS which are never encrypted.

  1. Do we have a similar problem with other encrypted notifs, such as the FCM ones we use for Android?

No, we don't send notification sound on Android. It is set locally on when notifications channel is first created. See here. createChannel implementation is in native code here. It does not mention sound but according to documentation notifications sent to this channel will make sound since its importance is HIGH. The value of this sound is some default set by the system. User can change it in settings.

Aug 23 2024, 2:15 AM

Aug 21 2024

marcin requested review of D13132: Implement ChangeThreadSubscriptionSpec and add ThreadSubscription to createThickRawThreadInfo.
Aug 21 2024, 10:19 AM
marcin updated the diff for D13123: Update sendDMOperation to send notifs as well.

Reorder the stack

Aug 21 2024, 10:07 AM
marcin updated the diff for D13010: Update db ops reducer to process notiications creation data.

Reorder teh stack

Aug 21 2024, 10:07 AM
marcin updated the diff for D13121: Implement method to go from DMOperation -> [MessageData] for each dm op spec.
  1. Reorder the stack
  2. Change messageDataFromDMOp to notificationsCreationData.
Aug 21 2024, 10:06 AM
marcin updated the diff for D13050: Extract logic of pushInfo -> usersToCollapsableNotifInfo to lib and use for client-based notifs.

Reorder the stack

Aug 21 2024, 9:55 AM
marcin updated the diff for D12882: Implement sending E2EE notification from the client.

Reorder the stack

Aug 21 2024, 9:54 AM
marcin updated the diff for D13131: Fix sound issue for peer-based notifications.

Update stack order

Aug 21 2024, 9:52 AM
marcin updated the diff for D13123: Update sendDMOperation to send notifs as well.

Reflect changes in parent differential

Aug 21 2024, 5:07 AM
marcin updated the diff for D13121: Implement method to go from DMOperation -> [MessageData] for each dm op spec.

Make method to return message data optional

Aug 21 2024, 5:05 AM
marcin requested review of D13131: Fix sound issue for peer-based notifications.
Aug 21 2024, 4:35 AM

Aug 20 2024

marcin updated the diff for D12882: Implement sending E2EE notification from the client.

Handle windows

Aug 20 2024, 8:43 AM
marcin updated the test plan for D13123: Update sendDMOperation to send notifs as well.
Aug 20 2024, 8:34 AM
marcin requested review of D13123: Update sendDMOperation to send notifs as well.
Aug 20 2024, 8:29 AM
marcin requested review of D13121: Implement method to go from DMOperation -> [MessageData] for each dm op spec.
Aug 20 2024, 8:02 AM
marcin abandoned D13051: Update useProcessDMOperation to enable sending E2EE notifs.
Aug 20 2024, 7:32 AM
marcin abandoned D13048: Implement utilities to go from RawMessageInfo to MessageData.
Aug 20 2024, 7:31 AM
marcin abandoned D13026: Implement notificationsCreationData for send-reaction-message-spec.
Aug 20 2024, 7:30 AM
marcin abandoned D13023: Implement notificationsCreationData for chante-thread-settings-spec.
Aug 20 2024, 7:30 AM
marcin abandoned D13011: Implement notificationsCreationData for send-text-message-spec.
Aug 20 2024, 7:30 AM
marcin updated the diff for D13119: Fix broken E2E notifications when Safari is closed.

Rebase before landing

Aug 20 2024, 5:37 AM
marcin updated the diff for D13119: Fix broken E2E notifications when Safari is closed.

Robust solution

Aug 20 2024, 4:20 AM
marcin added a comment to D13119: Fix broken E2E notifications when Safari is closed.

Shouldn't we update all usages of isDesktopSafari that could be affected, e.g. in getCryptoKeyPersistentForm?

Aug 20 2024, 4:14 AM
marcin requested review of D13119: Fix broken E2E notifications when Safari is closed.
Aug 20 2024, 3:30 AM
marcin updated the diff for D13116: Re-throw all exceptions except from race condition between workers.

Rebase before landing

Aug 20 2024, 2:30 AM
marcin updated the diff for D13116: Re-throw all exceptions except from race condition between workers.

Fix patch

Aug 20 2024, 2:23 AM
marcin updated the diff for D13116: Re-throw all exceptions except from race condition between workers.

Address Kamil review

Aug 20 2024, 2:19 AM
marcin accepted D13033: [lib] add session version to EncryptedData.
Aug 20 2024, 2:05 AM

Aug 19 2024

marcin requested review of D13116: Re-throw all exceptions except from race condition between workers.
Aug 19 2024, 10:51 AM
marcin updated the diff for D13008: [native] Use MMKV locking utils to sync between main app and notifs code.

Rebase before landing

Aug 19 2024, 2:28 AM
marcin updated the diff for D12958: [native] Implement utils to lock MMKV for entire sequence of operations and use to to sync encryption and decryption of notifs.

Rebase before landing

Aug 19 2024, 2:27 AM
marcin updated the test plan for D13008: [native] Use MMKV locking utils to sync between main app and notifs code.
Aug 19 2024, 2:25 AM

Aug 15 2024

marcin requested review of D13092: Implement keyserver notifs olm session recreation logic in keyserver-connection-handler.
Aug 15 2024, 11:03 AM
marcin requested review of D13091: Implement new optional olm-api methods on web to support notifs session creation on client demand.
Aug 15 2024, 10:42 AM
marcin requested review of D13090: Implement new endpoint on the keyserver to create notifs olm session on client demand.
Aug 15 2024, 10:39 AM

Aug 12 2024

marcin accepted D13054: [terraform] Deploy Tunnelbroker 0.15 to staging.
Aug 12 2024, 9:08 AM
marcin requested review of D13051: Update useProcessDMOperation to enable sending E2EE notifs.
Aug 12 2024, 8:26 AM
marcin requested review of D13050: Extract logic of pushInfo -> usersToCollapsableNotifInfo to lib and use for client-based notifs.
Aug 12 2024, 8:08 AM
marcin requested review of D13048: Implement utilities to go from RawMessageInfo to MessageData.
Aug 12 2024, 7:39 AM
marcin updated the diff for D13010: Update db ops reducer to process notiications creation data.

Add db ops store action to schedule notifications creation and sending. Make db ops reducer aware of this new action

Aug 12 2024, 6:46 AM
marcin updated the diff for D12882: Implement sending E2EE notification from the client.

Extract notificationsCreationData as separate DBOpsEntry type

Aug 12 2024, 6:45 AM

Aug 8 2024

marcin added a comment to D13023: Implement notificationsCreationData for chante-thread-settings-spec.

Ideally all three should match up. See my most recent comment

Aug 8 2024, 8:21 AM
marcin added a comment to D13023: Implement notificationsCreationData for chante-thread-settings-spec.

Need a deeper explanation. I think we should merge the codepaths

Aug 8 2024, 7:50 AM
marcin added a comment to D13023: Implement notificationsCreationData for chante-thread-settings-spec.

I saw that comment. All it does it link to some code on GitHub on comment. I don't understand how it explains something, and especially don't understand how it responds to my comment above

Aug 8 2024, 7:20 AM
marcin added a comment to D13023: Implement notificationsCreationData for chante-thread-settings-spec.

Why is the approach for constructing MessageData for notifs different than the approach for constructing RawMessageInfos above?

For instance, we use firstLine in one but not the other.

I strongly suspect it needs to be unified. RawMessageInfos can be constructed from MessageDatas. We should not maintain two duplicate codepaths.

Aug 8 2024, 6:17 AM
marcin added inline comments to D13011: Implement notificationsCreationData for send-text-message-spec.
Aug 8 2024, 6:02 AM
marcin requested review of D13026: Implement notificationsCreationData for send-reaction-message-spec.
Aug 8 2024, 5:06 AM
marcin requested review of D13023: Implement notificationsCreationData for chante-thread-settings-spec.
Aug 8 2024, 3:25 AM
marcin requested review of D13011: Implement notificationsCreationData for send-text-message-spec.
Aug 8 2024, 1:51 AM

Aug 7 2024

marcin requested review of D13010: Update db ops reducer to process notiications creation data.
Aug 7 2024, 9:51 AM
marcin requested review of D13009: Fix broken keyserver-based notifs when shared worker is behind service worker.
Aug 7 2024, 9:51 AM
marcin requested review of D13008: [native] Use MMKV locking utils to sync between main app and notifs code.
Aug 7 2024, 9:24 AM
marcin updated the diff for D12958: [native] Implement utils to lock MMKV for entire sequence of operations and use to to sync encryption and decryption of notifs.

Add comment explaining hacky pattern

Aug 7 2024, 7:23 AM
marcin updated the diff for D13003: Ensure sensitive data are removed when Windows app is uninstalled.

Rebase before landing

Aug 7 2024, 4:04 AM

Aug 6 2024

marcin requested review of D13003: Ensure sensitive data are removed when Windows app is uninstalled.
Aug 6 2024, 2:04 PM

Aug 5 2024

marcin published D12988: Fix PeerOlmSessionCreatorContext issue for review.
Aug 5 2024, 7:57 AM
marcin updated the diff for D12673: Utilities to idempotently create content and notif sessions.

Fix ESLint

Aug 5 2024, 6:30 AM
marcin updated the diff for D12673: Utilities to idempotently create content and notif sessions.

Use context in peer-list-hooks.js

Aug 5 2024, 6:06 AM
marcin updated the diff for D12676: Migrate notifications crypto account to MMKV on native.

Fix CI

Aug 5 2024, 5:20 AM
marcin updated the diff for D12673: Utilities to idempotently create content and notif sessions.

Fix CI

Aug 5 2024, 5:19 AM
marcin updated the diff for D12672: Implement utility functions to check if we have content or notif session with device.

Fix CI

Aug 5 2024, 5:19 AM
marcin updated the diff for D12838: Implement web notifs session createion with race condition handling.

Rebase before landing

Aug 5 2024, 4:20 AM
marcin updated the diff for D12837: Bump olm version.

Rebase before landing

Aug 5 2024, 4:19 AM
marcin updated the diff for D12750: Implement inbound notif session creation from the NSE with race condition handling.

Rebase before landing

Aug 5 2024, 4:18 AM
marcin updated the diff for D12748: Expose function to get notifs inbound keys to C++.

Rebase before landing

Aug 5 2024, 4:18 AM
marcin updated the diff for D12728: Implement Android HTTP call to identity to get notifs inbound keys.

Rebase before landing

Aug 5 2024, 4:17 AM
marcin updated the diff for D12703: Transfer CSAT to IndexedDB from service worker and implement call to identity to query for inbound keys.

Rebase before landing

Aug 5 2024, 4:16 AM
marcin updated the diff for D12692: Migrate notification account to IndexedDB on web.

Rebase before landing

Aug 5 2024, 4:16 AM
marcin updated the diff for D12836: Patch localforage to support transactional multiple items retrieval/persistence.

Rebase before landing

Aug 5 2024, 4:15 AM
marcin updated the diff for D12677: Implement method to query identity service from the NSE.

Rebase before landing

Aug 5 2024, 4:13 AM
marcin updated the diff for D12676: Migrate notifications crypto account to MMKV on native.

Rebase before landing

Aug 5 2024, 4:11 AM
marcin updated the diff for D12673: Utilities to idempotently create content and notif sessions.

Rebase before landing

Aug 5 2024, 4:10 AM
marcin updated the diff for D12672: Implement utility functions to check if we have content or notif session with device.

Rebase before landing

Aug 5 2024, 4:10 AM
marcin updated the diff for D12671: Implement notification encryption on web.

Rebase before landing

Aug 5 2024, 4:06 AM
marcin updated the diff for D12670: Implement notification encryption on native.

Rebase before landing

Aug 5 2024, 4:06 AM
marcin updated the diff for D12669: Implement peer notifications session creation as outbound on web and add notifs outbound session creator to OlmAPI.

Rebase before landing

Aug 5 2024, 4:05 AM
marcin updated the diff for D12668: Implement peer notifications session creation as outbound on native.

Rebase before landing

Aug 5 2024, 4:04 AM
marcin added inline comments to D12836: Patch localforage to support transactional multiple items retrieval/persistence.
Aug 5 2024, 3:37 AM
marcin updated the diff for D12836: Patch localforage to support transactional multiple items retrieval/persistence.
  1. Address review
  2. Rebase before landing
Aug 5 2024, 3:14 AM

Aug 2 2024

marcin added a comment to D12836: Patch localforage to support transactional multiple items retrieval/persistence.

It sounds like you're saying the minified bundle is not used at all. If that's the case, why would it lead to backwards compatibility issues?

Perhaps I miscommunicated. I meant the case that the patch will fail to apply to bundle from updated version due to some conflicts. I don't expect them for source since I am just adding new functions but I wasn't sure hot it works for minified code. @tomek
told me that he would expect minified bundle to behave similarly as normal code.

Aug 2 2024, 9:01 AM
marcin added inline comments to D12958: [native] Implement utils to lock MMKV for entire sequence of operations and use to to sync encryption and decryption of notifs.
Aug 2 2024, 8:43 AM
marcin requested review of D12958: [native] Implement utils to lock MMKV for entire sequence of operations and use to to sync encryption and decryption of notifs.
Aug 2 2024, 8:32 AM
marcin added a comment to D12836: Patch localforage to support transactional multiple items retrieval/persistence.

Thanks for explaining your reasoning! It's a big patch, but I think the approach is okay. I'm guessing you tested on both native and web and confirmed that the changes to the minified bundle were necessary on web, and the changes to the source was necessary for native? (Or perhaps you kept those changes to make it easier for a reader to review)

Aug 2 2024, 6:35 AM
marcin added a comment to D12673: Utilities to idempotently create content and notif sessions.

Thanks @marcin! Can you link the diff where the context is used? Appreciate your explanation above!

Aug 2 2024, 6:24 AM

Aug 1 2024

marcin added inline comments to D12692: Migrate notification account to IndexedDB on web.
Aug 1 2024, 8:12 AM
marcin updated the diff for D12836: Patch localforage to support transactional multiple items retrieval/persistence.

Update types and bring patch back

Aug 1 2024, 6:45 AM
marcin added a comment to D12836: Patch localforage to support transactional multiple items retrieval/persistence.

Even if we don't use localforage in our code outside of web, this patch probably affects some transitive dependencies for other projects. It looks like it's backwards-compatible, so it should be safe. But we may face some trouble at a later point if a transitive dependency upgrades its version, depending on which package Yarn hoists to the workspace root, and how patch-package handles it when multiple versions of a package are present (does it patch all of them, or only the one at the workspace root?)

Aug 1 2024, 6:26 AM