Page MenuHomePhorge
Feed All Stories

Feb 24 2023

atul added 1 blocking reviewer(s) for D6829: [keyserver] convert existing logic for building userPushInfoPromises to an async function called generateNotifUserInfoPromise: atul.
Feb 24 2023, 10:09 PM
atul added 1 blocking reviewer(s) for D6634: [web] implement emoji keyboard position into message tooltip: atul.
Feb 24 2023, 10:01 PM
varun requested changes to D6843: [services] Tunnelbroker - Fix calling blocking C++ function from an async task.
Feb 24 2023, 10:00 PM
varun accepted D6843: [services] Tunnelbroker - Fix calling blocking C++ function from an async task.
Feb 24 2023, 9:59 PM
varun accepted D6690: [keyserver] Unifying API interface and adding Tunnelbroker types.
Feb 24 2023, 9:56 PM
rohan updated the diff for D6863: [web] Create a new modal for the media gallery on web.

Address feedback on filteredMediaInfos

Feb 24 2023, 9:55 PM
rohan updated the diff for D6863: [web] Create a new modal for the media gallery on web.

Rebase on D6485

Feb 24 2023, 9:53 PM
rohan updated the diff for D6720: [native] Create the full screen media gallery component.

Rebase on D6485

Feb 24 2023, 9:50 PM
rohan updated the diff for D6718: [native] Navigate to the image / video modal when a user clicks on a media item.

Rebase on D6485

Feb 24 2023, 9:50 PM
rohan updated the diff for D6660: [native] Allow user to ‘see more’ on native and navigate to a full screen gallery.

Rebase on D6485

Feb 24 2023, 9:50 PM
rohan updated the diff for D6659: [native] Display both photos and videos in the media gallery on native.

Rebase on D6485

Feb 24 2023, 9:50 PM
rohan updated the diff for D6531: [keyserver/lib] Set up the endpoints and responder for retrieving media.

Rebase on D6485

Feb 24 2023, 9:49 PM
atul added inline comments to D6884: [web] "Unpickle" primary OLM account to sign keys and get `SignedIdentityKeysBlob`.
Feb 24 2023, 9:48 PM
rohan updated the diff for D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

Update query following 1:1 with Ashoat and move type declarations into this diff. I no longer need to use constructMediaFromMediaMessageContentsAndUploadRows since it'll be cleaner constructing the Media objects in the same function, as opposed to constructing an additional array of MediaMessageServerDBContent. Also, I'm pretty sure the uploadMap is going to have trouble finding thumbnails since this query puts videos and thumbnails in one row together. So it just seems cleaner to handle it within fetchMediaForThread

Feb 24 2023, 9:48 PM
atul added inline comments to D6884: [web] "Unpickle" primary OLM account to sign keys and get `SignedIdentityKeysBlob`.
Feb 24 2023, 9:41 PM
atul added inline comments to D6881: [web] Ensure that `[primary/notification]IdentityPublicKeys` are set in `TraditionalLoginForm`.
Feb 24 2023, 9:38 PM
atul added a comment to D6877: [web] Introduce `cryptoStore` to replace `primaryIdentityPublicKey` in Redux.

So instead of spinning our own solution now, we could probably just store in redux-persist for now.

Feb 24 2023, 9:37 PM
atul added a comment to D6876: [web] Rename `setPrimaryIdentityPublicKey` to `setPrimaryIdentityKeys`.

Had a thought here – we should update our sanitization code to sanitize these public keys, as they are user-identifiable. Can you create a task for that and link here before landing? (Or a diff)

Feb 24 2023, 9:36 PM
ashoat added inline comments to D6485: [keyserver] Create a function to query for all uploads from a provided threadID.
Feb 24 2023, 7:33 PM
ashoat added inline comments to D6485: [keyserver] Create a function to query for all uploads from a provided threadID.
Feb 24 2023, 7:31 PM
michal requested review of D6894: [desktop] Handle macos notifications.
Feb 24 2023, 6:27 PM
michal requested review of D6893: [keyserver] Send macos notifications.
Feb 24 2023, 6:21 PM
michal requested review of D6892: [keyserver] Extend ios notifs to handle macos.
Feb 24 2023, 6:10 PM
michal requested review of D6891: [desktop/web] Expose callbacks needed for desktop notifications.
Feb 24 2023, 5:49 PM
michal requested review of D6890: [desktop] Add port to development URL.
Feb 24 2023, 5:45 PM
michal requested review of D6889: [keyserver/web/desktop] Add macos and windows as platforms.
Feb 24 2023, 5:43 PM
michal requested review of D6888: [keyserver] Introduce isWebPlatform function.
Feb 24 2023, 5:36 PM
michal requested review of D6887: [desktop] Allow building with a provisioning profile.
Feb 24 2023, 5:34 PM
ashoat added a comment to D6634: [web] implement emoji keyboard position into message tooltip.

@ginsu, strongly encourage you to be more critical of yourself before submitting code in the future. This pattern of submitting code you feel like might be "good enough" to sneak past review leads to wasted time for both you and your reviewers. You should hold yourself to a higher standard – it will help you learn better, and it will save you time.

Feb 24 2023, 4:42 PM
ashoat added a comment to D6854: [services] Extract common database code to a separate lib.

This seems like it would've been a great time to introduce a shared library instead of copy-pasting. I understand there is a monthly goal at play here, but how long does it really take to set up a shared library? In JavaScript it can be done in ~15min, but I'm not as familiar with Rust

Feb 24 2023, 4:41 PM
ashoat requested changes to D6875: [lib/native/web] switch reactions data structure from map to plain object.
Feb 24 2023, 4:39 PM
ashoat added a comment to D6865: [web] Allow media gallery items to click through to a full screen view on web.

Why are we using Modal though? Should we just update MultimediaModal to look like those designs?

Feb 24 2023, 4:35 PM
tomek requested review of D6886: [services][feature-flags] Dockerize the service.
Feb 24 2023, 4:31 PM
ashoat accepted D6884: [web] "Unpickle" primary OLM account to sign keys and get `SignedIdentityKeysBlob`.

Accepting to unblock, but a little confused since I don't see the keyserver side

Feb 24 2023, 4:22 PM
ashoat accepted D6883: [web] Pickle `OLMAccount`s and add to Redux `CryptoStore`.
Feb 24 2023, 4:19 PM
ashoat accepted D6882: [web] Add `PickledOLMAccount`s to Redux `CryptoStore`.

Nice, glad you're persisting this

Feb 24 2023, 4:17 PM
ashoat accepted D6881: [web] Ensure that `[primary/notification]IdentityPublicKeys` are set in `TraditionalLoginForm`.

Accepting to unblock, but not clear why we're sending primaryIdentityPublicKey up twice

Feb 24 2023, 4:17 PM
ashoat accepted D6880: [web] Update `primaryIdentityPublicKey[s]` selector to capture `primaryIdentityPublicKeys`.
Feb 24 2023, 4:16 PM
ashoat accepted D6879: [web] Update `LoginForm` `useEffect` early-exit logic to include `notificationIdentityPublicKeys`.
Feb 24 2023, 4:15 PM
ashoat accepted D6878: [web] Dispatch `setNotificationIdentityKeys` in `LoginForm`.
Feb 24 2023, 4:15 PM
ashoat accepted D6877: [web] Introduce `cryptoStore` to replace `primaryIdentityPublicKey` in Redux.

EDIT – never mind, I see this is addressed later in the stack

Feb 24 2023, 4:14 PM
ashoat accepted D6876: [web] Rename `setPrimaryIdentityPublicKey` to `setPrimaryIdentityKeys`.

Had a thought here – we should update our sanitization code to sanitize these public keys, as they are user-identifiable. Can you create a task for that and link here before landing? (Or a diff)

Feb 24 2023, 4:09 PM
michal requested review of D6885: [native] Extract device token reducer to lib.
Feb 24 2023, 3:05 PM
michal updated the diff for D6835: [web] Handle clicking on notifications.

@inka was right, I forgot a return for the cleanup callback. Also removed one ? but the second one is still needed because there's a function call after condition so flow can't be sure if the variable wasn't modified.

Feb 24 2023, 2:59 PM
michal updated the diff for D6820: [web] Add notification permission modal.

Add newline and react memo.

Feb 24 2023, 2:58 PM
michal added inline comments to D6818: [web] Register service worker for notifs.
Feb 24 2023, 2:57 PM
michal updated the diff for D6818: [web] Register service worker for notifs.

Moved eslint annotation to a later diff.

Feb 24 2023, 2:57 PM
michal added inline comments to D6817: [keyserver] Send web push notification.
Feb 24 2023, 2:56 PM
michal updated the diff for D6817: [keyserver] Send web push notification.

Fix types, move errors codes, answers to questions in inline comments.

Feb 24 2023, 2:55 PM
michal updated the diff for D6815: [keyserver/ web] Handle device_token on web.

Moved the code for the device token reducer to lib in a previous diff. Moved the device token to BaseAppState and reduce it in the baseReducer.

Feb 24 2023, 2:54 PM
marcin added inline comments to D6712: [native] support operations failure in error handling.
Feb 24 2023, 2:53 PM
michal updated the test plan for D6820: [web] Add notification permission modal.
Feb 24 2023, 2:51 PM
ashoat accepted D6863: [web] Create a new modal for the media gallery on web.
Feb 24 2023, 2:12 PM
bartek accepted D6851: [web] Fix long names in displaying incorrectly in the ChatMessageListContainers header.
Feb 24 2023, 1:54 PM
bartek accepted D6848: [web] Fix filter panel showing over the topbar.

As far as I understand CSS, looks good to me 😅

Feb 24 2023, 1:50 PM
bartek accepted D6842: [web] Add navigation state info to the topbar.
Feb 24 2023, 1:45 PM
bartek added inline comments to D6841: [web] Add PossiblyEmptyNavStateInfoBar to handle collapse animation in the topbar when no community is selected.
Feb 24 2023, 1:44 PM
kamil accepted D6781: Initialize notifications olm account in CommCoreModule and expose notifications public keys to JS.
Feb 24 2023, 1:30 PM
bartek accepted D6827: [identity] CompareUsers RPC.
Feb 24 2023, 1:19 PM
marcin added inline comments to D6821: Implement method to sign message.
Feb 24 2023, 1:14 PM
bartek added inline comments to D6821: Implement method to sign message.
Feb 24 2023, 1:11 PM
marcin updated the diff for D6822: Sign concatenation of public and notif keypairs using private key of public identity.

Sign stringified JSON with nested structure

Feb 24 2023, 1:08 PM
marcin updated the diff for D6781: Initialize notifications olm account in CommCoreModule and expose notifications public keys to JS.

Create nested notifications keys structure like on web.

Feb 24 2023, 1:06 PM
bartek accepted D6776: Implement method in NotificationsCryptoModule to serialize CryptoModule instance and atomically store it in a file..
Feb 24 2023, 1:01 PM
bartek added inline comments to D6861: [services][feature-flags] Introduce `features` endpoint.
Feb 24 2023, 12:40 PM
bartek requested changes to D6862: [services][feature-flags] Connect http service with database.
Feb 24 2023, 12:40 PM
bartek accepted D6860: [services][feature-flags] Add hello world http server.
Feb 24 2023, 12:22 PM
Restricted Repository Identity closed D6846: [native] Deleted react-native-exit-app library.
Feb 24 2023, 12:12 PM
Restricted Repository Identity closed D6844: [native] Replaced react-native-exit-app calls with CommCoreModule calls.
Feb 24 2023, 12:12 PM
kosmydel <kukubaczek@gmail.com> committed rCOMMfc3c253355c3: [native] Replaced react-native-exit-app calls with CommCoreModule calls.
Feb 24 2023, 12:12 PM
kosmydel <kukubaczek@gmail.com> committed rCOMMe9fb133311c7: [native] Deleted react-native-exit-app library.
Feb 24 2023, 12:12 PM
Restricted Repository Identity closed D6834: [native] Added terminate() implementation in JS and CommCoreModule.
Feb 24 2023, 12:12 PM
kosmydel <kukubaczek@gmail.com> committed rCOMM94577d82ecc4: [native] Added terminate() implementation in JS and CommCoreModule.
Feb 24 2023, 12:12 PM
kuba removed reviewers for D5463: [web] Call searchUsers in chat composer: atul, abosh.
Feb 24 2023, 12:07 PM
kuba updated the diff for D5463: [web] Call searchUsers in chat composer.

Used function from the lib instead of rewriting it

Feb 24 2023, 12:06 PM
kuba planned changes to D5463: [web] Call searchUsers in chat composer.
Feb 24 2023, 11:56 AM
kuba updated the diff for D5583: [web] Change alert type in UserListItem.

Rebase - parent update

Feb 24 2023, 11:46 AM
kuba updated the diff for D5463: [web] Call searchUsers in chat composer.

Removed deepclone, surrounded dispatch with if in case of empty payload

Feb 24 2023, 11:40 AM
marcin added a comment to D6823: Make types exact.

Okay, just make sure you did this part of the Test Plan so that all constants are included:

Using console.log ensure types are covering every fields present in those objects.

Feb 24 2023, 10:58 AM
marcin added inline comments to D6776: Implement method in NotificationsCryptoModule to serialize CryptoModule instance and atomically store it in a file..
Feb 24 2023, 10:55 AM
atul accepted D6867: [keyserver] Check SIDEBAR_SOURCE's source message for @-mention notif override.
Feb 24 2023, 10:33 AM
atul accepted D6866: [keyserver] Check all new messages for @-mention notif override.

The scenario where multiple new messages are created at the same time with the same collapse key actually does not occur currently in the app. However, in one of the following diffs I will make SIDEBAR_SOURCE and CREATE_SIDEBAR share the same collapse key, and since they are created at the same time, it will be possible for a SIDEBAR_SOURCE to have an @-mention. If that occurs, the SIDEBAR_SOURCE will not be the first message, so we want to make sure we check all of the new messages with the same collapse key.

Feb 24 2023, 10:33 AM
kamil added inline comments to D6816: [web] Change import path and fix errors showing up when the typing is correct.
Feb 24 2023, 10:29 AM
atul added a comment to D6822: Sign concatenation of public and notif keypairs using private key of public identity.

Here's what the message/payload looks like on the web side:

Feb 24 2023, 10:28 AM
tomek accepted D6816: [web] Change import path and fix errors showing up when the typing is correct.
Feb 24 2023, 10:25 AM
atul published D6884: [web] "Unpickle" primary OLM account to sign keys and get `SignedIdentityKeysBlob` for review.
Feb 24 2023, 10:23 AM
atul added a reviewer for D6883: [web] Pickle `OLMAccount`s and add to Redux `CryptoStore`: marcin.
Feb 24 2023, 10:22 AM
bartek accepted D6857: [services][feature-flags] Query the db.
Feb 24 2023, 10:22 AM
atul added a reviewer for D6882: [web] Add `PickledOLMAccount`s to Redux `CryptoStore`: marcin.
Feb 24 2023, 10:22 AM
atul added a reviewer for D6881: [web] Ensure that `[primary/notification]IdentityPublicKeys` are set in `TraditionalLoginForm`: marcin.
Feb 24 2023, 10:22 AM
atul added a reviewer for D6880: [web] Update `primaryIdentityPublicKey[s]` selector to capture `primaryIdentityPublicKeys`: marcin.
Feb 24 2023, 10:21 AM
atul added a reviewer for D6879: [web] Update `LoginForm` `useEffect` early-exit logic to include `notificationIdentityPublicKeys`: marcin.
Feb 24 2023, 10:21 AM
atul added a reviewer for D6878: [web] Dispatch `setNotificationIdentityKeys` in `LoginForm`: marcin.
Feb 24 2023, 10:21 AM
atul added a reviewer for D6877: [web] Introduce `cryptoStore` to replace `primaryIdentityPublicKey` in Redux: marcin.
Feb 24 2023, 10:21 AM
atul added a reviewer for D6876: [web] Rename `setPrimaryIdentityPublicKey` to `setPrimaryIdentityKeys`: marcin.
Feb 24 2023, 10:21 AM
bartek added inline comments to D6858: [services][feature-flags] Determine enabled features set.
Feb 24 2023, 10:20 AM
bartek accepted D6859: [services][feature-flags] Add configuration for http server.
Feb 24 2023, 10:18 AM
kamil accepted D6812: [web] Change apps tab to be a modal.
Feb 24 2023, 10:04 AM
bartek added inline comments to D6856: [services][feature-flags] Parse feature flags response from DynamoDB.
Feb 24 2023, 10:03 AM
kamil added inline comments to D6733: [web] Change the Apps tab to be a + button.
Feb 24 2023, 10:02 AM