Page MenuHomePhorge
Feed All Stories

Sep 13 2023

bartek added a comment to D9158: [tunnelbroker] Hyper service for WebSocket connections.

Awesome that we get the health check for free! I assume we'll need to implement something on the client for that to work, yes? The Tunnelbroker client in keyserver currently uses the ws library for Node.js

Sep 13 2023, 4:15 AM
varun updated the test plan for D9114: [native] update action types and reducer for setting comm access token.
Sep 13 2023, 4:04 AM
varun updated the diff for D9114: [native] update action types and reducer for setting comm access token.

address feedback (CommSecureStore changes will come later, but wanted to acknowledge the comment)

Sep 13 2023, 3:59 AM
ashoat requested review of D9175: [keyserver] Extract sendPushNotif.
Sep 13 2023, 1:34 AM
atul published D9174: [native] Replace `listDataSelector` with `useMemo` in `ChatThreadList` for review.
Sep 13 2023, 12:11 AM
atul published D9173: [native] Lift `renderItem` to `ConnectedChatThreadList` for review.
Sep 13 2023, 12:10 AM

Sep 12 2023

atul published D9172: [native] Lift `hardwareBack` to `ConnectedChatThreadList` for review.
Sep 12 2023, 11:57 PM
atul updated the diff for D9171: [native] Lift `onPressItem` and `onPressSeeMoreSidebars` to `ConnectedChatThreadList`.

stage all

Sep 12 2023, 11:03 PM
atul published D9171: [native] Lift `onPressItem` and `onPressSeeMoreSidebars` to `ConnectedChatThreadList` for review.
Sep 12 2023, 10:59 PM
atul closed D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.
Sep 12 2023, 10:43 PM
atul committed rCOMM0fe7eb6a9a89: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to….
Sep 12 2023, 10:43 PM
atul updated the diff for D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.

land

Sep 12 2023, 10:42 PM
ashoat added a comment to D9158: [tunnelbroker] Hyper service for WebSocket connections.

Awesome that we get the health check for free! I assume we'll need to implement something on the client for that to work, yes? The Tunnelbroker client in keyserver currently uses the ws library for Node.js

Sep 12 2023, 10:16 PM
atul published D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList` for review.
Sep 12 2023, 10:14 PM
bartek added a comment to D9142: [Tunnelbroker] Fix integration tests.
In D9142#269446, @atul wrote:

What's the command to run tests? Can they be run without any additional configuration?

Sep 12 2023, 9:53 PM
bartek published D9165: [terraform] Add Tunnelbroker for review.
Sep 12 2023, 9:37 PM
ginsu closed D9094: [native] move BottomSheetModalProvider to inside NavigationContainer.
Sep 12 2023, 9:32 PM
ginsu committed rCOMM1a2f231b3f23: [native] move BottomSheetModalProvider to inside NavigationContainer.
Sep 12 2023, 9:31 PM
ginsu closed D9101: [native] introduce user profile bottomsheet component.
Sep 12 2023, 9:31 PM
ginsu committed rCOMM9a6d92b4b291: [native] introduce user profile bottomsheet component.
Sep 12 2023, 9:31 PM
bartek published D9162: [secrets] Generate RabbitMQ passwords for review.
Sep 12 2023, 9:29 PM
ginsu updated the diff for D9119: [native] use stringForUserExplicit function to determine username text for profiles.

rebase before landing

Sep 12 2023, 9:23 PM
ginsu updated the diff for D9094: [native] move BottomSheetModalProvider to inside NavigationContainer.

rebase before landing

Sep 12 2023, 9:21 PM
ginsu updated the diff for D9101: [native] introduce user profile bottomsheet component.

rebase before landing

Sep 12 2023, 9:21 PM
bartek published D9160: [tunnelbroker] Use Hyper service instead of tokio_tungstenite for review.
Sep 12 2023, 9:13 PM
bartek published D9158: [tunnelbroker] Hyper service for WebSocket connections for review.
Sep 12 2023, 9:12 PM
atul published D9164: [native] Lift `onSwipeableWillOpen` and `composeThread` to `ConnectedChatThreadList` for review.
Sep 12 2023, 9:07 PM
atul published D9161: [native] Lift `onScroll` to `ConnectedChatThreadList` for review.
Sep 12 2023, 9:07 PM
ginsu closed D9150: [native] memoize BottomSheetHandle.
Sep 12 2023, 9:05 PM
ginsu committed rCOMMe1b680de0bbe: [native] memoize BottomSheetHandle.
Sep 12 2023, 9:05 PM
bartek published D9156: [tunnelbroker] Make WebSocketSession generic for review.
Sep 12 2023, 9:05 PM
bartek published D9155: [tunnelbroker] Don't listen on localhost only for review.
Sep 12 2023, 9:03 PM
bartek published D9153: [tunnelbroker] Allow configuring AMQP credentials for review.
Sep 12 2023, 9:02 PM
ginsu updated the diff for D9150: [native] memoize BottomSheetHandle.

spelling :/

Sep 12 2023, 9:02 PM
ginsu updated the diff for D9150: [native] memoize BottomSheetHandle.

address @atul's feedback

Sep 12 2023, 9:00 PM
ginsu accepted D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.

thanks for fixing this!

Sep 12 2023, 8:45 PM
atul accepted D9150: [native] memoize BottomSheetHandle.

Personal preference is memoization "inside" the component w/ useMemo hook so everything is self-contained and memoization is consistent and whatnot, but this is valid

Sep 12 2023, 8:34 PM
atul requested changes to D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.

Sending back to your queue to address feedback from @inka/@ashoat

Sep 12 2023, 8:33 PM
atul updated the diff for D9132: [native] Lift `openedSwipeableID`/`numItemsToDisplay` state to `ConnectedChatThreadList`.

address @ginsu's feedback

Sep 12 2023, 8:18 PM
varun closed D9085: [native] getNotificationsOneTimeKeys.
Sep 12 2023, 7:54 PM
varun closed D9113: [native] get notifications one time keys.
Sep 12 2023, 7:54 PM
varun committed rCOMMf13fe4b8c615: [native] get notifications one time keys.
Sep 12 2023, 7:54 PM
varun committed rCOMM0fbe980d5a9e: [native] getNotificationsOneTimeKeys.
Sep 12 2023, 7:54 PM
varun closed D9083: [native] generateAndGetNotificationsPrekey.
Sep 12 2023, 7:54 PM
varun closed D9084: [native] get signed prekeys.
Sep 12 2023, 7:54 PM
varun committed rCOMM58a033c26d1b: [native] get signed prekeys.
Sep 12 2023, 7:54 PM
varun committed rCOMMf1cc65ed1a2e: [native] generateAndGetNotificationsPrekey.
Sep 12 2023, 7:54 PM
varun closed D9076: [native] expose prekey generation to js.
Sep 12 2023, 7:54 PM
varun committed rCOMM6b237d1978ae: [native] expose prekey generation to js.
Sep 12 2023, 7:54 PM
varun closed D8820: [Keyserver/rust] Used shared identity client.
Sep 12 2023, 7:45 PM
varun committed rCOMM269eddc91b6b: [Keyserver/rust] Used shared identity client (authored by jon).
Sep 12 2023, 7:45 PM
atul closed D9131: [native] Lift `[threads/users]SearchResults` state to `ConnectedChatThreadList`.
Sep 12 2023, 7:44 PM
atul committed rCOMM4671e37232e8: [native] Lift `[threads/users]SearchResults` state to `ConnectedChatThreadList`.
Sep 12 2023, 7:44 PM
atul updated the diff for D9131: [native] Lift `[threads/users]SearchResults` state to `ConnectedChatThreadList`.

rebase and land

Sep 12 2023, 7:24 PM
atul closed D9130: [native] Lift `search[Status/Text]` state to `ConnectedChatThreadList`.
Sep 12 2023, 7:19 PM
atul committed rCOMM573b8e33731c: [native] Lift `search[Status/Text]` state to `ConnectedChatThreadList`.
Sep 12 2023, 7:19 PM
atul added a comment to D9142: [Tunnelbroker] Fix integration tests.

What's the command to run tests? Can they be run without any additional configuration?

Sep 12 2023, 7:18 PM
atul updated the diff for D9130: [native] Lift `search[Status/Text]` state to `ConnectedChatThreadList`.

rebase and land

Sep 12 2023, 7:17 PM
ashoat added inline comments to D9145: [web] Remove intial redux state from website responders.
Sep 12 2023, 6:58 PM
ashoat added inline comments to D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.
Sep 12 2023, 6:51 PM
ashoat added a comment to D9143: [lib] Add memoization to useKeyserverCall.

I wonder if it would be possible to rewrite this to use React hooks instead of createSelector. I believe that all uses of createSelector can be replaced by React.useMemo. The selector funcs passed to createSelector turn into dep lists. React hooks are more modern idioms than createSelector, but I'm not sure as to all of the tradeoffs.

Sep 12 2023, 6:47 PM
ashoat added inline comments to D9141: [web] Use new intial redux state.
Sep 12 2023, 6:43 PM
ashoat requested changes to D9129: [lib] utility function to get array of OneTimeKeys from an OLMOneTimeKeys object.

Can we dedup this with the existing getOneTimeKeyValues? Looks like D8751 moves it around.

Sep 12 2023, 6:28 PM
ashoat added a comment to D8847: [native] Change ChatContextProvider position.

I think the reason is that ChatContextProvider renders dummy nodes for height measurement, and now those dummy nodes need navigation state since they might be rendering a link to a chat

Sep 12 2023, 6:22 PM
ashoat requested changes to D9108: [web] Initialize database at startup on safari.
Sep 12 2023, 6:15 PM
ashoat added inline comments to D8845: [native] Introduce markdown component for chat mentions.
Sep 12 2023, 6:11 PM
ashoat added a comment to D9126: [web][native] Fix message search showing toggle pin robotext.

Thank you!!

Sep 12 2023, 5:48 PM
ashoat added inline comments to D9115: [lib] move a shared type to lib.
Sep 12 2023, 5:31 PM
ashoat added inline comments to D9114: [native] update action types and reducer for setting comm access token.
Sep 12 2023, 5:29 PM
ashoat requested changes to D9114: [native] update action types and reducer for setting comm access token.
  1. I think we should implement a separate reducer for this. We should expect that the access token will need to be cleared for a log out, account deletion, and session invalidation. For an example, see here
  2. I think the reducer should be in lib, since this action will be shared with web. I think it should be possible to submit this diff purely on lib, without touching native or web
  3. Please keep in mind that we will also need this info to be in CommSecureStore for @marcin's purposes, since he needs to be able to access it from native code (and NSE in particular)
Sep 12 2023, 5:28 PM
ashoat added inline comments to D9121: [lib] Create useKeyserverCall.
Sep 12 2023, 5:20 PM
ashoat added inline comments to D9108: [web] Initialize database at startup on safari.
Sep 12 2023, 5:10 PM
ashoat requested changes to D8407: [keyserver] accountOwnershipResponder.

Nice!! Some nonstandard stuff in this diff; requesting changes in the hopes that we can use the more standard mechanisms

Sep 12 2023, 4:59 PM
bartek planned changes to D9139: [feature-flags] Use default HTTP port for deployments.
Sep 12 2023, 4:22 PM
varun accepted D9093: [lib/web/native] Generate and encode an ephemeral AES-256 key in the QR code.
Sep 12 2023, 4:21 PM
ginsu requested review of D9150: [native] memoize BottomSheetHandle.
Sep 12 2023, 4:13 PM
varun updated the test plan for D8407: [keyserver] accountOwnershipResponder.
Sep 12 2023, 4:09 PM
varun added a reviewer for D8407: [keyserver] accountOwnershipResponder: ashoat.
Sep 12 2023, 4:08 PM
varun published D8407: [keyserver] accountOwnershipResponder for review.
Sep 12 2023, 4:08 PM
tomek added inline comments to D8909: [native] Replace chat name with raw chat mention.
Sep 12 2023, 3:27 PM
tomek added inline comments to D8945: [web] Show chats in mention typeahead tooltip.
Sep 12 2023, 3:22 PM
tomek requested changes to D8900: [lib] Add chat mention SearchIndex selector.
Sep 12 2023, 3:05 PM
ashoat added a comment to D7766: [landing] memoize header and footer.

Ah, my bad. It looks like @atul is right... this change would have been marginally beneficial. Sorry @ginsu!

Sep 12 2023, 2:49 PM
tomek added inline comments to D8899: [lib] Introduce SentencePrefixSearchIndex.
Sep 12 2023, 2:45 PM
marcin added a comment to D9144: Enable encrypted notification coalescing in NSE on iOS.

If the UX change originating from this diff is not acceptable the alternative approach we can experiment with is to silence every collapsible notifications and schedule local notifications from the NSE. This way we will be able to set request.identifier property (since we are the ones creating the UNNotificationRequest instance) and let the OS do the coalescing.

Sep 12 2023, 2:42 PM
tomek requested changes to D8897: [native] Refactor TypeaheadTooltip component.
Sep 12 2023, 2:27 PM
marcin updated the diff for D9144: Enable encrypted notification coalescing in NSE on iOS.

Update coalescing condition.

Sep 12 2023, 2:04 PM
tomek requested changes to D8896: [web][native] Rename usernamePrefix to textPrefix in TypeaheadMatchedStrings type.
Sep 12 2023, 2:01 PM
ashoat requested changes to D8476: [Keyserver] Publish prekeys to identity service for cron job.

Looking at the code of our Olm fork, it looks like the only effect of calling mark_prekey_as_published() is on the result of calling unpublished_prekey(). The only place we check unpublished_prekey is in the above code, where we use it to make sure that we don't throw away an old prekey before the newer prekey is published.

Sep 12 2023, 1:48 PM
inka added inline comments to D9145: [web] Remove intial redux state from website responders.
Sep 12 2023, 1:43 PM
marcin requested review of D9149: Encrypt all notifications on the keyserver for iOS devices.
Sep 12 2023, 1:35 PM
michal added a comment to D7691: [Keyserver] Open websocket connection with tunnelbroker.

LGTM, mostly just a rename

Sep 12 2023, 1:33 PM
inka added a comment to D9140: [web] Add setInitialReduxState action.

What happens if this action fails?

Sep 12 2023, 1:18 PM
ashoat accepted D8752: [Keyserver] Upload new onetime keys to identity service when requested.
Sep 12 2023, 1:03 PM
kamil added reviewers for D7691: [Keyserver] Open websocket connection with tunnelbroker: bartek, michal.

@bartek, @michal could you take a brief look at Rust?

Sep 12 2023, 1:03 PM
ashoat accepted D7691: [Keyserver] Open websocket connection with tunnelbroker.

JS looks good, but I don't know Rust so couldn't review that part

Sep 12 2023, 12:57 PM
michal requested review of D9148: [web/keyserver] Handle different thread ids in url.
Sep 12 2023, 12:54 PM
ashoat accepted D9136: [native] Replace `scrollPos` instance variable w/ ref.
Sep 12 2023, 12:51 PM
inka added a comment to D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.

Is it possible that a user with this id will not be in our store?

Sep 12 2023, 12:45 PM
inka accepted D9119: [native] use stringForUserExplicit function to determine username text for profiles.
Sep 12 2023, 12:44 PM