Page MenuHomePhorge
Feed All Stories

Sep 11 2023

inka updated the diff for D9126: [web][native] Fix message search showing toggle pin robotext.

Extract common code to lib

Sep 11 2023, 2:26 PM
varun accepted D9125: [keyserver] fix fetching identity info.
Sep 11 2023, 2:15 PM
marcin updated the diff for D9069: Schedule blob deletion on Android when large notifications arrives.

Remove unnecessary Kotlin WorkManager dependency

Sep 11 2023, 2:12 PM
michal accepted D9104: [web] Fix nested a tags.
Sep 11 2023, 2:11 PM
marcin attached a referenced file: F752842: Screenshot 2023-09-11 at 15.53.25.png.
Sep 11 2023, 2:09 PM
marcin attached a referenced file: F752844: Screenshot 2023-09-11 at 16.06.04.png.
Sep 11 2023, 2:09 PM
marcin added a comment to D9069: Schedule blob deletion on Android when large notifications arrives.

I checked our app .apk file size twice: first time on a parent commit to this one and second time on this commit. In between I uninstalled the app and executed ./gradlew clean. My results are below:
Parent commit:

Screenshot 2023-09-11 at 15.53.25.png (244×869 px, 54 KB)

This commit:
Screenshot 2023-09-11 at 16.06.04.png (239×874 px, 70 KB)

So we probably have already had guava in some other dependency since the size in MB didn't change at all. However please correct my if my method of checking the size was wrong.

Sep 11 2023, 2:09 PM
rohan accepted D9126: [web][native] Fix message search showing toggle pin robotext.

Changes look good, thanks for fixing this!

Sep 11 2023, 2:01 PM
michal accepted D9125: [keyserver] fix fetching identity info.
Sep 11 2023, 2:00 PM
rohan updated the diff for D9096: [web/native] Retrieve and encode the ed25519 key in the QR code.

Rebase stack

Sep 11 2023, 1:48 PM
rohan updated the diff for D9093: [lib/web/native] Generate and encode an ephemeral AES-256 key in the QR code.

Use React.useCallback

Sep 11 2023, 1:48 PM
kamil published D9125: [keyserver] fix fetching identity info for review.
Sep 11 2023, 1:43 PM
inka requested review of D9126: [web][native] Fix message search showing toggle pin robotext.
Sep 11 2023, 1:43 PM
rohan added inline comments to D9093: [lib/web/native] Generate and encode an ephemeral AES-256 key in the QR code.
Sep 11 2023, 1:41 PM
rohan updated the diff for D9093: [lib/web/native] Generate and encode an ephemeral AES-256 key in the QR code.

Address @varun's feedback

Sep 11 2023, 1:41 PM
inka requested review of D9104: [web] Fix nested a tags.
Sep 11 2023, 1:41 PM
inka updated the diff for D9104: [web] Fix nested a tags.

Found one more plance. Don't know why it wasn't showing errors before...

Sep 11 2023, 1:40 PM
michal accepted D9123: [web] Fix warnings on search screen.
Sep 11 2023, 1:36 PM
michal requested review of D9124: [keyserver] Implement `getInitialReduxStateResponder`.
Sep 11 2023, 1:30 PM
michal updated the summary of D9122: [keyserver] Introduce getInitialReduxStateResponder.
Sep 11 2023, 1:19 PM
inka requested review of D9123: [web] Fix warnings on search screen.
Sep 11 2023, 1:08 PM
tomek added a comment to D9091: Schedule blob deletion on iOS.

One last question: Is it guaranteed that we call the notif's completionHandler only after the deletion tasks are finished?

It is not guaranteed and it is impossible to guarentee that since contentHandler is called quickly in the NSE while blob deletion takes place on the background thread in the main app so the system decides when it is best to call it. Additionally main app might not be running when NSE processes notification. However why would such guarantee be necessary in the first place? Blob download and persistence is synchronous and writing blob metadata to the storage which main app reads during deletion takes place afterwards. So the deletion process won't start until notification payload is persisted on the device so when user opens the app the message will be loaded and immediately visible in the app regardless on when delete requests are issued.

Sep 11 2023, 1:05 PM
ginsu closed D9097: [web] fix message action tooltip placement for messages with inline engagement.
Sep 11 2023, 1:01 PM
ginsu committed rCOMM47bca6f563e2: [web] fix message action tooltip placement for messages with inline engagement.
Sep 11 2023, 1:01 PM
marcin added a comment to D9091: Schedule blob deletion on iOS.

One last question: Is it guaranteed that we call the notif's completionHandler only after the deletion tasks are finished?

It is not guaranteed and it is impossible to guarentee that since contentHandler is called quickly in the NSE while blob deletion takes place on the background thread in the main app so the system decides when it is best to call it. Additionally main app might not be running when NSE processes notification. However why would such guarantee be necessary in the first place? Blob download and persistence is synchronous and writing blob metadata to the storage which main app reads during deletion takes place afterwards. So the deletion process won't start until notification payload is persisted on the device so when user opens the app the message will be loaded and immediately visible in the app regardless on when delete requests are issued.

Sep 11 2023, 1:00 PM
ginsu updated the diff for D9097: [web] fix message action tooltip placement for messages with inline engagement.

rebase before landing

Sep 11 2023, 12:58 PM
tomek added inline comments to D8927: [keyserver] Introduce keyserver state sync spec.
Sep 11 2023, 12:47 PM
marcin added inline comments to D9069: Schedule blob deletion on Android when large notifications arrives.
Sep 11 2023, 12:43 PM
michal accepted D9104: [web] Fix nested a tags.

Thank you for fixing this!

Sep 11 2023, 12:33 PM
tomek accepted D9111: [keyserver] Remove old current user info.
Sep 11 2023, 12:32 PM
michal accepted D9117: [feature-flags] Update Dockerfile.
Sep 11 2023, 12:29 PM
michal accepted D9116: [blob-service] Update Dockerfile.
Sep 11 2023, 12:28 PM
marcin accepted D9115: [lib] move a shared type to lib.
Sep 11 2023, 12:18 PM
marcin added inline comments to D9114: [native] update action types and reducer for setting comm access token.
Sep 11 2023, 12:14 PM
marcin accepted D9114: [native] update action types and reducer for setting comm access token.
Sep 11 2023, 12:12 PM
marcin accepted D9084: [native] get signed prekeys.
Sep 11 2023, 12:12 PM
marcin added a comment to D8476: [Keyserver] Publish prekeys to identity service for cron job.

I understand that I am not a reviewer but @kamil wanted me to see this diff and I would like to note one thing. This cron job will only fire if keyserver's very first prekey's were marked as published somewhere else. In practice keyserver prekeys are published for the first time here: https://github.com/CommE2E/comm/blob/master/keyserver/src/responders/keys-responders.js#L59. However the only reason prekeys are marked as published there is that at the time this code was implemented we wanted to launch e2e notifs ASAP but the identity service was not ready, so we agreed on a temporary solution to mark prekey's as published when user fetches them to initialise olm notifications session with the keyserver. That said as of this differential this line should be deleted and we should find a place to publish keyserver's prekeys for the very first time after olm accounts for the keyserver are created.

Sep 11 2023, 12:01 PM
michal requested review of D9122: [keyserver] Introduce getInitialReduxStateResponder.
Sep 11 2023, 11:21 AM
tomek accepted D9118: [native] Convert `ConnectedSwipeable` to functional component.
Sep 11 2023, 11:19 AM
tomek accepted D9091: Schedule blob deletion on iOS.

One last question: Is it guaranteed that we call the notif's completionHandler only after the deletion tasks are finished?

Sep 11 2023, 11:16 AM
inka requested review of D9121: [lib] Create useKeyserverCall.
Sep 11 2023, 11:13 AM
kamil added a comment to D7691: [Keyserver] Open websocket connection with tunnelbroker.

Some more bugs I found while testing D8918, I will address them later

Sep 11 2023, 10:50 AM
michal added inline comments to D9109: [web] Enable db for all users.
Sep 11 2023, 8:25 AM
michal updated the diff for D9109: [web] Enable db for all users.

Rename shouldRestart, start db intialization on load, add comment for transform migration

Sep 11 2023, 8:25 AM
tomek added inline comments to D9102: [native] Memoize construction of `sidebars` in `ChatThreadListItem`.
Sep 11 2023, 8:15 AM
kamil resigned from D9111: [keyserver] Remove old current user info.

LGTM but letting other reviewers take a look

Sep 11 2023, 7:40 AM
kamil accepted D9110: [web] Migrate drafts to db for everyone.
Sep 11 2023, 7:33 AM
michal updated the diff for D9108: [web] Initialize database at startup on safari.

Change initError to notSupported, move safari key init after setting status to initInProgress

Sep 11 2023, 7:32 AM
kamil requested changes to D9109: [web] Enable db for all users.

Looks good! Only some questions inline

Sep 11 2023, 7:30 AM
kamil added inline comments to D9108: [web] Initialize database at startup on safari.
Sep 11 2023, 7:02 AM
kamil accepted D9108: [web] Initialize database at startup on safari.

Thanks for this!

Sep 11 2023, 6:50 AM
kamil accepted D9107: [web] Move safari db key init to database module.
Sep 11 2023, 6:41 AM
kamil accepted D9105: [web] Hide databaseModule behind a function.
Sep 11 2023, 6:35 AM
kamil accepted D9097: [web] fix message action tooltip placement for messages with inline engagement.

Hey no worries, this is a good shout. The reason that the tooltip is positioned like that is because the tooltip has 3 parts the label, the action buttons, and the timestamp and we center align based on all three of those elements

Screenshot 2023-09-08 at 9.23.05 AM.png (344×1 px, 56 KB)

I can see that the placement is still bit wonky when the label is missing, but I feel like this might be outside the scope of this diff. I created a follow up linear task to eventually address this

https://linear.app/comm/issue/ENG-4879/make-the-message-action-tooltip-more-aligned-with-the-message

Sep 11 2023, 6:30 AM
ginsu requested review of D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.
Sep 11 2023, 6:27 AM
ginsu requested review of D9119: [native] use stringForUserExplicit function to determine username text for profiles.
Sep 11 2023, 6:15 AM
atul requested review of D9118: [native] Convert `ConnectedSwipeable` to functional component.
Sep 11 2023, 1:11 AM

Sep 9 2023

bartek added inline comments to D8665: Implement native iOS code to fetch data from blob service and keyserver code to upload notification payload if it exceeds APNs limits.
Sep 9 2023, 8:16 PM
bartek requested review of D9117: [feature-flags] Update Dockerfile.
Sep 9 2023, 8:09 PM
bartek requested review of D9116: [blob-service] Update Dockerfile.
Sep 9 2023, 8:08 PM
bartek planned changes to D9058: [Identity] Use clap for argument parsing.
Sep 9 2023, 7:58 PM
bartek commandeered D9058: [Identity] Use clap for argument parsing.

Taking this one, I'll play with this a bit

Sep 9 2023, 7:57 PM
bartek accepted D8918: [Tunnelbroker] Authenticate connecting devices.
Sep 9 2023, 7:55 PM
bartek closed D9073: [lib] Add fetch timeout to reports service calls.
Sep 9 2023, 6:54 PM
bartek committed rCOMM20d64119a849: [lib] Add fetch timeout to reports service calls.
Sep 9 2023, 6:54 PM
bartek closed D9044: [lib][native] Unwrap sendReport from callServerEndpoint.
Sep 9 2023, 6:54 PM
bartek closed D9045: [native] Fix long ID display on crash screen.
Sep 9 2023, 6:54 PM
bartek committed rCOMMb89023efbb41: [lib][native] Unwrap sendReport from callServerEndpoint.
Sep 9 2023, 6:54 PM
bartek committed rCOMMebfc840ce3ad: [native] Fix long ID display on crash screen.
Sep 9 2023, 6:54 PM
bartek closed D9042: [lib] Add function to send reports.
Sep 9 2023, 6:53 PM
bartek closed D9043: [lib] Replace sendReports keyserver call with Reports service.
Sep 9 2023, 6:53 PM
bartek committed rCOMM13fca327654f: [lib] Replace sendReports keyserver call with Reports service.
Sep 9 2023, 6:53 PM
bartek committed rCOMM56e629f020f4: [lib] Add function to send reports.
Sep 9 2023, 6:53 PM
bartek closed D9041: [lib] Add reports service facts.
Sep 9 2023, 6:53 PM
bartek committed rCOMMcc25100ea231: [lib] Add reports service facts.
Sep 9 2023, 6:53 PM
bartek closed D9035: [reports-service] Encrypt reports.
Sep 9 2023, 6:00 PM
bartek closed D9034: [services-lib] Introduce crypto module.
Sep 9 2023, 6:00 PM
bartek closed D9040: [terraform] Add reports service.
Sep 9 2023, 6:00 PM
bartek committed rCOMM0bb3cda63aab: [reports-service] Encrypt reports.
Sep 9 2023, 6:00 PM
bartek committed rCOMMb9a31a6a79a5: [services-lib] Introduce crypto module.
Sep 9 2023, 6:00 PM
bartek closed D9039: [secrets] Add e-mail config for reports.
Sep 9 2023, 6:00 PM
bartek committed rCOMMb2ba1b9e8777: [terraform] Add reports service.
Sep 9 2023, 6:00 PM
bartek committed rCOMM2322966de180: [secrets] Add e-mail config for reports.
Sep 9 2023, 6:00 PM
bartek added a comment to D9073: [lib] Add fetch timeout to reports service calls.
In D9073#267323, @tomek wrote:

Have you tested a scenario where externalSignal is used?

Sep 9 2023, 5:55 PM
bartek updated the test plan for D9073: [lib] Add fetch timeout to reports service calls.
Sep 9 2023, 5:54 PM
bartek updated the diff for D9073: [lib] Add fetch timeout to reports service calls.

Rebase

Sep 9 2023, 5:42 PM
bartek updated the diff for D9045: [native] Fix long ID display on crash screen.

Rebase

Sep 9 2023, 5:42 PM
bartek updated the diff for D9044: [lib][native] Unwrap sendReport from callServerEndpoint.

Rebase

Sep 9 2023, 5:42 PM
bartek updated the diff for D9043: [lib] Replace sendReports keyserver call with Reports service.

Rebase

Sep 9 2023, 5:41 PM
bartek updated the diff for D9042: [lib] Add function to send reports.

Rebase

Sep 9 2023, 5:41 PM
bartek updated the diff for D9041: [lib] Add reports service facts.

Rebase

Sep 9 2023, 5:41 PM
bartek updated the diff for D9040: [terraform] Add reports service.

Update docker repository

Sep 9 2023, 5:41 PM
bartek added inline comments to D9035: [reports-service] Encrypt reports.
Sep 9 2023, 9:24 AM
bartek added inline comments to D9034: [services-lib] Introduce crypto module.
Sep 9 2023, 9:23 AM
bartek updated the diff for D9035: [reports-service] Encrypt reports.

Rebase

Sep 9 2023, 9:09 AM
bartek updated the diff for D9034: [services-lib] Introduce crypto module.

Rebase, apply feedback

Sep 9 2023, 9:09 AM
bartek updated the diff for D9040: [terraform] Add reports service.

Rebase

Sep 9 2023, 8:32 AM
bartek updated the diff for D9039: [secrets] Add e-mail config for reports.

Rebase

Sep 9 2023, 8:32 AM
ginsu accepted D9112: [lib/native] Remain consistent with url naming pattern.
Sep 9 2023, 12:47 AM

Sep 8 2023

atul closed D9103: [native] Memoize `swipeableThread` in `ChatThreadListItem`.
Sep 8 2023, 10:11 PM