Page MenuHomePhorge
Feed All Stories

Feb 26 2023

rohan closed D6482: [keyserver] Attach a threadID to each media (image/video) upload.
Feb 26 2023, 7:46 PM
rohan committed rCOMMbe43778193f8: [keyserver] Attach a threadID to each media (image/video) upload.
Feb 26 2023, 7:46 PM
rohan closed D6467: [native] Render the media gallery in the thread settings on native.
Feb 26 2023, 7:46 PM
rohan committed rCOMM6e2f92634d55: [native] Render the media gallery in the thread settings on native.
Feb 26 2023, 7:46 PM
rohan closed D6466: [native] Create a component for the media gallery on native.
Feb 26 2023, 7:45 PM
rohan committed rCOMMdf01c28141f8: [native] Create a component for the media gallery on native.
Feb 26 2023, 7:45 PM
rohan closed D6465: [keyserver] Add thread column to uploads table.
Feb 26 2023, 7:41 PM
rohan committed rCOMMb9978e316b41: [keyserver] Add thread column to uploads table.
Feb 26 2023, 7:41 PM
rohan updated the diff for D6482: [keyserver] Attach a threadID to each media (image/video) upload.

Rebase

Feb 26 2023, 7:31 PM
rohan updated the diff for D6467: [native] Render the media gallery in the thread settings on native.

Rebase

Feb 26 2023, 7:31 PM
rohan updated the diff for D6466: [native] Create a component for the media gallery on native.

Rebase

Feb 26 2023, 7:30 PM
rohan updated the diff for D6465: [keyserver] Add thread column to uploads table.

Rebase

Feb 26 2023, 7:30 PM
ginsu updated the diff for D6830: [keyserver] introduce sendRescindNotifs.

rebase before landing

Feb 26 2023, 7:13 PM
ginsu updated the diff for D6829: [keyserver] convert existing logic for building userPushInfoPromises to an async function called generateNotifUserInfoPromise.

rebase before landing

Feb 26 2023, 7:12 PM
ginsu updated the diff for D6307: [lib] modify reaction message generatesNotifs function to return a pushType based on the reaction action.

rebase before landing

Feb 26 2023, 7:09 PM
ginsu updated the diff for D6875: [lib/native/web] switch reactions data structure from map to plain object.

rebase before landing

Feb 26 2023, 7:04 PM
ashoat accepted D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

Awesome!! I thought you had earlier indicated that a parentheses was necessary, but either way it sounds like now you’re in agreement with that StackOverflow post about the ORDER BY / LIMIT.

Feb 26 2023, 6:11 PM
rohan removed 1 blocking reviewer(s) for D6864: [web] Link modal in the thread menu: atul.
Feb 26 2023, 3:52 PM
rohan updated the summary of D6485: [keyserver] Create a function to query for all uploads from a provided threadID.
Feb 26 2023, 3:51 PM
rohan 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 26 2023, 3:41 PM
rohan added a comment to D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

On the ORDER BY / LIMIT question from earlier, I think you had mentioned over chat that you would have to wrap the SELECT / UNION SELECT and apply them to the whole thing. Is that still your belief? I noticed this StackOverflow implies the opposite, but I haven't done any testing to confirm.

Feb 26 2023, 3:32 PM
rohan updated the diff for D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

Make sure lines are < 80 characters

Feb 26 2023, 3:20 PM
rohan attached a referenced file: F402533: Screenshot 2023-02-26 at 10.16.43 AM.png.
Feb 26 2023, 3:17 PM
rohan updated the test plan for D6485: [keyserver] Create a function to query for all uploads from a provided threadID.
Feb 26 2023, 3:17 PM
ashoat requested changes to D6897: [keyserver] Verify `signedIdentityKeysBlob` signature in `logInResponder`.

Nice! After this verification step, we should then JSON.parse(signedIdentityKeysBlob.payload) and run the result through an input validator. Then we'll be ready to store them in the DB. (Assume that's for a later diff, though.)

Feb 26 2023, 1:49 PM
ashoat accepted D6864: [web] Link modal in the thread menu.
Feb 26 2023, 1:41 PM
ashoat added a comment to D6896: [web] Pass `signedIdentityKeysBlob` to `keyserver` on `siwe_auth`.

PS looks like a missing screenshot in the Test Plan.

Feb 26 2023, 1:41 PM
ashoat accepted D6896: [web] Pass `signedIdentityKeysBlob` to `keyserver` on `siwe_auth`.

Nice!!

Feb 26 2023, 1:40 PM
ashoat accepted D6895: [keyserver] Add `signedIdentityKeysBlobValidator` to `logInRequestInputValidator`.
Feb 26 2023, 1:39 PM
ashoat removed 1 blocking reviewer(s) for D6829: [keyserver] convert existing logic for building userPushInfoPromises to an async function called generateNotifUserInfoPromise: atul.
Feb 26 2023, 1:38 PM
ashoat accepted D6829: [keyserver] convert existing logic for building userPushInfoPromises to an async function called generateNotifUserInfoPromise.
Feb 26 2023, 1:38 PM
ashoat requested changes to D6634: [web] implement emoji keyboard position into message tooltip.

I spent some time reading through this and I understand how it works now. @ginsu wanted to catch the ref just as it was set, so he made a useEffect that would trigger immediately after renderEmojiKeyboard flips, which as it turns out will trigger the rendering of the emoji keyboard. He got this idea from the article he linked earlier.

Feb 26 2023, 1:32 PM
ashoat added a comment to D6634: [web] implement emoji keyboard position into message tooltip.

Moving forward, if I run into situations where I am submitting code that is not an obviously clear solution, I will be sure to annote with comments with my rationale-- something that I can work on. This should require me think more critically of my solutions, learn better, and offer more context for my reviewer.

Feb 26 2023, 12:56 PM
ashoat added inline comments to D6884: [web] "Unpickle" primary OLM account to sign keys and get `SignedIdentityKeysBlob`.
Feb 26 2023, 12:55 PM
ashoat added inline comments to D6894: [desktop] Handle macos notifications.
Feb 26 2023, 12:50 PM
ashoat accepted D6893: [keyserver] Send macos notifications.

It looks like you're adding support for sending push notifs, but support is still missing for rescinds and for updateBadgeCount. Rescinds may be hard but updateBadgeCount should be easy.

Feb 26 2023, 12:48 PM
ashoat accepted D6892: [keyserver] Extend ios notifs to handle macos.
Feb 26 2023, 12:43 PM
ashoat accepted D6890: [desktop] Add port to development URL.
Feb 26 2023, 12:39 PM
ashoat accepted D6889: [keyserver/web/desktop] Add macos and windows as platforms.
Feb 26 2023, 12:38 PM
ashoat accepted D6888: [keyserver] Introduce isWebPlatform function.
Feb 26 2023, 12:34 PM
ashoat accepted D6875: [lib/native/web] switch reactions data structure from map to plain object.

Perfect! Love the small extra improvements you made

Feb 26 2023, 12:32 PM
ashoat requested changes to D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

Permission checks query seems good. Can you amend the Test Plan to mention how you tested them?

Feb 26 2023, 2:24 AM

Feb 25 2023

jon accepted D6886: [services][feature-flags] Dockerize the service.

Looks fine to me.

Feb 25 2023, 9:15 PM
jon accepted D6836: [identity] add nonces table to dynamoDB.

Seems like from ashoat's feedback the nonce is similar to a unique token, in which case I think this is alright.

Feb 25 2023, 9:08 PM
jon accepted D6827: [identity] CompareUsers RPC.
Feb 25 2023, 9:07 PM
jon accepted D6824: [identity] check that incoming requests contain valid auth token.
Feb 25 2023, 9:05 PM
rohan requested review of D6485: [keyserver] Create a function to query for all uploads from a provided threadID.
Feb 25 2023, 8:55 PM
rohan updated the diff for D6531: [keyserver/lib] Set up the endpoints and responder for retrieving media.

Pass in viewer parameter

Feb 25 2023, 8:54 PM
rohan updated the diff for D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

Check visible permission

Feb 25 2023, 8:54 PM
rohan added 1 blocking reviewer(s) for D6864: [web] Link modal in the thread menu: atul.
Feb 25 2023, 2:06 PM
bartek accepted D6886: [services][feature-flags] Dockerize the service.

Looks good to me, but letting @jon take a look

Feb 25 2023, 1:44 PM
atul accepted D6874: [lib] Make CreateSidebar notifs say when the OP tags the notif recipient.
Feb 25 2023, 9:38 AM
atul requested review of D6897: [keyserver] Verify `signedIdentityKeysBlob` signature in `logInResponder`.
Feb 25 2023, 9:34 AM
atul accepted D6873: [keyserver][lib] Pass notifTargetUserInfo to notificationTexts.
Feb 25 2023, 9:31 AM
atul accepted D6872: [keyserver] Update notif prepare functions to take bag of params.
Feb 25 2023, 7:51 AM
atul accepted D6871: [keyserver] Make sure we fetch username of all notif recipients.
Feb 25 2023, 7:50 AM
atul accepted D6870: [lib] Add invariant to SidebarSource notificationTexts.
Feb 25 2023, 7:50 AM
atul accepted D6869: [lib] Collapse CreateSidebar and SidebarSource notifs together.
Feb 25 2023, 7:50 AM
atul accepted D6868: [lib] Allow multiple messages in CreateSidebar notificationTexts.
Feb 25 2023, 7:50 AM
atul requested review of D6896: [web] Pass `signedIdentityKeysBlob` to `keyserver` on `siwe_auth`.
Feb 25 2023, 7:46 AM
atul published D6895: [keyserver] Add `signedIdentityKeysBlobValidator` to `logInRequestInputValidator` for review.
Feb 25 2023, 7:09 AM
ginsu retitled D6829: [keyserver] convert existing logic for building userPushInfoPromises to an async function called generateNotifUserInfoPromise from [keyserver] convert existing logic for building userPushInfoPromises to an IIFE called generateNotifUserInfoPromise
Feb 25 2023, 12:55 AM
ginsu updated the diff for D6829: [keyserver] convert existing logic for building userPushInfoPromises to an async function called generateNotifUserInfoPromise.

address ashoat's comments

Feb 25 2023, 12:54 AM
ginsu updated the test plan for D6875: [lib/native/web] switch reactions data structure from map to plain object.
Feb 25 2023, 12:49 AM
ginsu updated the diff for D6875: [lib/native/web] switch reactions data structure from map to plain object.

address ashoat's comments

Feb 25 2023, 12:48 AM
ginsu attached a referenced file: F401166: Screenshot 2023-02-24 at 7.41.15 PM.png.
Feb 25 2023, 12:45 AM
ginsu attached a referenced file: F401164: Screenshot 2023-02-24 at 7.40.50 PM.png.
Feb 25 2023, 12:45 AM
ginsu added inline comments to D6634: [web] implement emoji keyboard position into message tooltip.
Feb 25 2023, 12:45 AM

Feb 24 2023

ashoat accepted D6885: [native] Extract device token reducer to lib.
Feb 24 2023, 11:16 PM
ashoat added a comment to D6835: [web] Handle clicking on notifications.

Good catch @inka!!

Feb 24 2023, 11:15 PM
ashoat accepted D6820: [web] Add notification permission modal.
Feb 24 2023, 11:15 PM
ashoat accepted D6818: [web] Register service worker for notifs.
Feb 24 2023, 11:13 PM
ashoat accepted D6817: [keyserver] Send web push notification.

Accepting to unblock, but would be great if we could avoid Object for new code. Not sure how easy it is to avoid here and whether the type there is predictable from whatever API we are getting it from

Feb 24 2023, 11:12 PM
ashoat accepted D6815: [keyserver/ web] Handle device_token on web.
Feb 24 2023, 11:06 PM
ashoat added inline comments to D6781: Initialize notifications olm account in CommCoreModule and expose notifications public keys to JS.
Feb 24 2023, 11:01 PM
ashoat removed 1 blocking reviewer(s) for D6485: [keyserver] Create a function to query for all uploads from a provided threadID: atul.
Feb 24 2023, 10:57 PM
ashoat accepted D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

Please only land if you can confirm that the ORDER BY and LIMIT apply to the whole query, not just the second half

Feb 24 2023, 10:57 PM
ashoat added a comment to D6823: Make types exact.

It might be for backwards compatibility, or maybe just for convenience of accessing. The idea of getConstants() is that it's called once by the module at initialization, so actually I think calling it directly might also have some nuanced differences if there is some stateful code there

Feb 24 2023, 10:48 PM
atul closed D6884: [web] "Unpickle" primary OLM account to sign keys and get `SignedIdentityKeysBlob`.
Feb 24 2023, 10:39 PM
atul committed rCOMM6fbcb6ddc7d6: [web] "Unpickle" primary OLM account to sign keys and get….
Feb 24 2023, 10:39 PM
atul closed D6883: [web] Pickle `OLMAccount`s and add to Redux `CryptoStore`.
Feb 24 2023, 10:39 PM
atul closed D6882: [web] Add `PickledOLMAccount`s to Redux `CryptoStore`.
Feb 24 2023, 10:39 PM
atul committed rCOMM6151beabc857: [web] Pickle `OLMAccount`s and add to Redux `CryptoStore`.
Feb 24 2023, 10:39 PM
atul committed rCOMM4857a25e20f0: [web] Add `PickledOLMAccount`s to Redux `CryptoStore`.
Feb 24 2023, 10:39 PM
atul closed D6881: [web] Ensure that `[primary/notification]IdentityPublicKeys` are set in `TraditionalLoginForm`.
Feb 24 2023, 10:39 PM
atul closed D6879: [web] Update `LoginForm` `useEffect` early-exit logic to include `notificationIdentityPublicKeys`.
Feb 24 2023, 10:39 PM
atul committed rCOMMacbfdb96925c: [web] Ensure that `[primary/notification]IdentityPublicKeys` are set in….
Feb 24 2023, 10:39 PM
atul closed D6880: [web] Update `primaryIdentityPublicKey[s]` selector to capture `primaryIdentityPublicKeys`.
Feb 24 2023, 10:39 PM
atul committed rCOMM0d877e8557ff: [web] Update `primaryIdentityPublicKey[s]` selector to capture….
Feb 24 2023, 10:39 PM
atul committed rCOMM5e9a5a925a98: [web] Update `LoginForm` `useEffect` early-exit logic to include….
Feb 24 2023, 10:39 PM
atul closed D6878: [web] Dispatch `setNotificationIdentityKeys` in `LoginForm`.
Feb 24 2023, 10:39 PM
atul closed D6877: [web] Introduce `cryptoStore` to replace `primaryIdentityPublicKey` in Redux.
Feb 24 2023, 10:39 PM
atul committed rCOMM21d6d9f1bfa1: [web] Dispatch `setNotificationIdentityKeys` in `LoginForm`.
Feb 24 2023, 10:39 PM
atul committed rCOMMad4b46f367ab: [web] Introduce `cryptoStore` to replace `primaryIdentityPublicKey` in Redux.
Feb 24 2023, 10:39 PM
atul closed D6876: [web] Rename `setPrimaryIdentityPublicKey` to `setPrimaryIdentityKeys`.
Feb 24 2023, 10:39 PM
atul committed rCOMM4a16ce09e722: [web] Rename `setPrimaryIdentityPublicKey` to `setPrimaryIdentityKeys`.
Feb 24 2023, 10:39 PM
atul updated the diff for D6883: [web] Pickle `OLMAccount`s and add to Redux `CryptoStore`.

merge conflict

Feb 24 2023, 10:29 PM
atul updated the diff for D6878: [web] Dispatch `setNotificationIdentityKeys` in `LoginForm`.

newline

Feb 24 2023, 10:28 PM
rohan attached a referenced file: F401047: Screenshot 2023-02-24 at 5.23.21 PM.png.
Feb 24 2023, 10:27 PM
rohan updated the diff for D6485: [keyserver] Create a function to query for all uploads from a provided threadID.

thumbnailUploadType and thumbnailUploadExtra are not used so I'm removing them from the query

Feb 24 2023, 10:26 PM