Page MenuHomePhorge
Feed All Stories

Sep 13 2023

atul requested review of D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.
Sep 13 2023, 2:43 PM
michal accepted D9176: [docker-compose] Match version tags with terraform.
Sep 13 2023, 2:42 PM
atul added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

EG

Sep 13 2023, 2:42 PM
ginsu added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

I don't think it makes sense to block @atul's work here on transforming that to the new Reanimated API. We'll probably need to have the Reanimated conversion be a monthly goal for someone...

Sep 13 2023, 2:40 PM
atul added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

I agree that it would be good to migrate away from the Reanimated 1 API... given it's deprecated in Reanimated 3, we'll eventually need to migrate there anyways. Looking at animateTowards though, it seems fairly complicated... I don't think it makes sense to block @atul's work here on transforming that to the new Reanimated API. We'll probably need to have the Reanimated conversion be a monthly goal for someone...

Sep 13 2023, 2:38 PM
atul added inline comments to D9164: [native] Lift `onSwipeableWillOpen` and `composeThread` to `ConnectedChatThreadList`.
Sep 13 2023, 2:37 PM
atul added inline comments to D9161: [native] Lift `onScroll` to `ConnectedChatThreadList`.
Sep 13 2023, 2:36 PM
atul added inline comments to D9134: [native] Lift `searchUsers` and `onChangeSearchText` to `ConnectedChatThreadList`.
Sep 13 2023, 2:36 PM
michal accepted D9177: [terraform] Remove references to legacy services.
Sep 13 2023, 2:27 PM
ashoat added inline comments to D9178: Enhance error check in CryptoModule decrypt. Add encrypted message hash to error message..
Sep 13 2023, 2:26 PM
bartek added a comment to D9165: [terraform] Add Tunnelbroker.

Would it make sense to add apply_immediately (at least for staging)? If I understand the documentation correctly, currently if we make changes to the user (or add broker configuration) we would have to reboot rabbitmq manually?

Sep 13 2023, 2:23 PM
kamil closed D8957: [Keyserver] Use getCommConfig for tunnelbroker connection.
Sep 13 2023, 2:21 PM
kamil committed rCOMMc62d949459d0: [Keyserver] Use getCommConfig for tunnelbroker connection.
Sep 13 2023, 2:21 PM
ashoat added inline comments to D9179: Save encrypted payload hash in MariaDB keyserver for iOS notifs..
Sep 13 2023, 2:20 PM
bartek added inline comments to D9160: [tunnelbroker] Use Hyper service instead of tokio_tungstenite.
Sep 13 2023, 2:19 PM
marcin requested review of D9179: Save encrypted payload hash in MariaDB keyserver for iOS notifs..
Sep 13 2023, 2:09 PM
marcin requested review of D9178: Enhance error check in CryptoModule decrypt. Add encrypted message hash to error message..
Sep 13 2023, 2:09 PM
ashoat added a comment to D9129: [lib] utility function to get array of OneTimeKeys from an OLMOneTimeKeys object.

D8751 has been landed now, so it should be easier to dedup :)

Sep 13 2023, 2:04 PM
michal accepted D9165: [terraform] Add Tunnelbroker.

Would it make sense to add apply_immediately (at least for staging)? If I understand the documentation correctly, currently if we make changes to the user (or add broker configuration) we would have to reboot rabbitmq manually?

Sep 13 2023, 2:02 PM
kamil updated the diff for D8957: [Keyserver] Use getCommConfig for tunnelbroker connection.
  • address review
  • review before landing
Sep 13 2023, 2:02 PM
inka added a comment to D9143: [lib] Add memoization to useKeyserverCall.

Now the memoization works in a slightly different way, but achieves the same effect - memoizes the function.
We create a selector, that returns a _memoized function. This function remembers the last action returned for every KeyserverCall. This selector remembers the _memoized function, so it can be used in all components calling useKeyserverCall. If this selector's dependencies change, all actions would have to be recalculated anyway, so it fine that the memoized function is created anew.
This way, we have to memoize less things, because we memoize one function, and actions for all ActionFuncs, instead of a selector and an action for every ActionFunc

Sep 13 2023, 1:57 PM
kamil closed D8956: [Keyserver] Validate incoming tunnelbroker messages.
Sep 13 2023, 1:43 PM
kamil committed rCOMM2cdd7e923a4a: [Keyserver] Validate incoming tunnelbroker messages (authored by jon).
Sep 13 2023, 1:43 PM
kamil closed D8751: [Keyserver] Refactor getOneTimeKeyValues.
Sep 13 2023, 1:43 PM
kamil closed D8752: [Keyserver] Upload new onetime keys to identity service when requested.
Sep 13 2023, 1:43 PM
kamil committed rCOMM074761606d14: [Keyserver] Upload new onetime keys to identity service when requested (authored by jon).
Sep 13 2023, 1:43 PM
kamil committed rCOMM0d30bbfc847b: [Keyserver] Refactor getOneTimeKeyValues (authored by jon).
Sep 13 2023, 1:43 PM
kamil closed D8750: [Keyserver/rust] Implement upload_one_time_keys to identity service.
Sep 13 2023, 1:43 PM
kamil closed D7691: [Keyserver] Open websocket connection with tunnelbroker.
Sep 13 2023, 1:43 PM
kamil committed rCOMMd1359c5f69df: [Keyserver/rust] Implement upload_one_time_keys to identity service (authored by jon).
Sep 13 2023, 1:43 PM
kamil committed rCOMM8f42e5423993: [Keyserver] Open websocket connection with tunnelbroker (authored by jon).
Sep 13 2023, 1:43 PM
michal accepted D9162: [secrets] Generate RabbitMQ passwords.
Sep 13 2023, 1:30 PM
kamil added inline comments to D8752: [Keyserver] Upload new onetime keys to identity service when requested.
Sep 13 2023, 1:24 PM
michal accepted D9160: [tunnelbroker] Use Hyper service instead of tokio_tungstenite.
Sep 13 2023, 1:21 PM
ashoat added a comment to D9143: [lib] Add memoization to useKeyserverCall.

We already pass all actions to a hook (even in class components, we use useServerCall) so I imagine there is some way to do it. But I won't insist

Sep 13 2023, 1:20 PM
ashoat added a comment to D9158: [tunnelbroker] Hyper service for WebSocket connections.

Ah sorry, I misunderstood!

Sep 13 2023, 1:20 PM
ashoat added inline comments to D8752: [Keyserver] Upload new onetime keys to identity service when requested.
Sep 13 2023, 1:19 PM
kamil added inline comments to D8956: [Keyserver] Validate incoming tunnelbroker messages.
Sep 13 2023, 1:18 PM
ashoat added inline comments to D9175: [keyserver] Extract sendPushNotif.
Sep 13 2023, 1:17 PM
tomek added inline comments to D8910: [native] Show chats in mention typeahead tooltip.
Sep 13 2023, 1:14 PM
ashoat added a comment to D9144: Enable encrypted notification coalescing in NSE on iOS.

The UX change doesn't seem particularly bad to me, but I'd like to understand if the approach you're using here (deleting the old notif) is similar to the approaches that other encrypted apps take. Is there no way to set a "collapse ID" from the NSE?

Sep 13 2023, 1:13 PM
kamil updated the diff for D8956: [Keyserver] Validate incoming tunnelbroker messages.

rebase before landing

Sep 13 2023, 1:12 PM
inka updated the diff for D9143: [lib] Add memoization to useKeyserverCall.

Clean up - inline getCallKeyserverEndpoint and invert memoization

Sep 13 2023, 1:10 PM
michal accepted D9158: [tunnelbroker] Hyper service for WebSocket connections.
Sep 13 2023, 1:10 PM
ashoat added inline comments to D9141: [web] Use new intial redux state.
Sep 13 2023, 1:10 PM
kamil added inline comments to D8752: [Keyserver] Upload new onetime keys to identity service when requested.
Sep 13 2023, 1:10 PM
ashoat attached a referenced file: F755088: Screenshot 2023-09-12 at 2.42.31 PM.png.
Sep 13 2023, 1:10 PM
kamil updated the diff for D8752: [Keyserver] Upload new onetime keys to identity service when requested.

address review

Sep 13 2023, 1:09 PM
inka updated the summary of D9143: [lib] Add memoization to useKeyserverCall.
Sep 13 2023, 1:03 PM
michal accepted D7691: [Keyserver] Open websocket connection with tunnelbroker.
Sep 13 2023, 1:03 PM
tomek accepted D9175: [keyserver] Extract sendPushNotif.
Sep 13 2023, 1:02 PM
inka updated the summary of D9143: [lib] Add memoization to useKeyserverCall.
Sep 13 2023, 1:00 PM
kamil updated the diff for D8751: [Keyserver] Refactor getOneTimeKeyValues.

rebase before landing

Sep 13 2023, 1:00 PM
kamil updated the diff for D8750: [Keyserver/rust] Implement upload_one_time_keys to identity service.

rebase before landing

Sep 13 2023, 12:58 PM
inka added a comment to D9143: [lib] Add memoization to useKeyserverCall.

@ashoat This selector is called inside of actions. I don't think I can use selectors inside of actions, especially that they are called in class components.

Sep 13 2023, 12:58 PM
kamil added inline comments to D7691: [Keyserver] Open websocket connection with tunnelbroker.
Sep 13 2023, 12:57 PM
kamil updated the diff for D7691: [Keyserver] Open websocket connection with tunnelbroker.

rebase before landing

Sep 13 2023, 12:57 PM
michal accepted D9156: [tunnelbroker] Make WebSocketSession generic.
Sep 13 2023, 12:44 PM
michal accepted D9153: [tunnelbroker] Allow configuring AMQP credentials.
Sep 13 2023, 12:44 PM
ashoat added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

I agree that it would be good to migrate away from the Reanimated 1 API... given it's deprecated in Reanimated 3, we'll eventually need to migrate there anyways. Looking at animateTowards though, it seems fairly complicated... I don't think it makes sense to block @atul's work here on transforming that to the new Reanimated API. We'll probably need to have the Reanimated conversion be a monthly goal for someone...

Sep 13 2023, 12:08 PM
bartek added a comment to D9158: [tunnelbroker] Hyper service for WebSocket connections.

This health check is only needed by AWS to check if the instance endpoint is healthy. It's more related to ENG-4470.

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

I'm asking specifically about the health check. It's my understanding that the WebSocket protocol does not have any built-in health checks. Given we're using the Node.js ws library directly on the keyserver side, it seems like we'll either need to switch to using a compatible (Rust-based?) client, OR we'll need to do some additional work on the keyserver to implement this health check. Is that accurate?

Sep 13 2023, 11:56 AM
ashoat accepted D9114: [native] update action types and reducer for setting comm access token.

Nice, forgot I had already done some of this work!

Sep 13 2023, 11:54 AM
ashoat updated the summary of D9175: [keyserver] Extract sendPushNotif.
Sep 13 2023, 11:50 AM
bartek closed D9139: [feature-flags] Use default HTTP port for deployments.
Sep 13 2023, 11:26 AM
bartek committed rCOMM993b9cbd3d02: [feature-flags] Use default HTTP port for deployments.
Sep 13 2023, 11:26 AM
bartek closed D9137: [services] Delete base-image and sandbox mode.
Sep 13 2023, 11:26 AM
bartek committed rCOMM5a92dcf09991: [services] Delete base-image and sandbox mode.
Sep 13 2023, 11:26 AM
bartek added a comment to D9156: [tunnelbroker] Make WebSocketSession generic.

Is generic-ness of this is going to be helpful in the future? Or is it going to be always HyperWebsocket under the hood? Because in that case we should just remove the generics and use HyperWebsocket directly

Sep 13 2023, 11:05 AM
bartek added inline comments to D9155: [tunnelbroker] Don't listen on localhost only.
Sep 13 2023, 11:00 AM
bartek updated the diff for D9139: [feature-flags] Use default HTTP port for deployments.

Update port in docker-compose

Sep 13 2023, 10:52 AM
bartek added inline comments to D9153: [tunnelbroker] Allow configuring AMQP credentials.
Sep 13 2023, 10:51 AM
tomek accepted D9149: Encrypt all notifications on the keyserver for iOS devices.
Sep 13 2023, 10:29 AM
tomek accepted D9144: Enable encrypted notification coalescing in NSE on iOS.
Sep 13 2023, 10:26 AM
tomek added a comment to D9120: [native] update UserProfileBottomSheet to get a userInfo from a userID.
In D9120#269321, @inka wrote:

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

Sep 13 2023, 10:02 AM
tomek added inline comments to D9141: [web] Use new intial redux state.
Sep 13 2023, 9:44 AM
tomek accepted D8847: [native] Change ChatContextProvider position.
Sep 13 2023, 9:39 AM
tomek accepted D8845: [native] Introduce markdown component for chat mentions.
Sep 13 2023, 9:37 AM
tomek added inline comments to D9115: [lib] move a shared type to lib.
Sep 13 2023, 9:32 AM
michal added a comment to D9156: [tunnelbroker] Make WebSocketSession generic.

Is generic-ness of this is going to be helpful in the future? Or is it going to be always HyperWebsocket under the hood? Because in that case we should just remove the generics and use HyperWebsocket directly

Sep 13 2023, 8:33 AM
michal accepted D9155: [tunnelbroker] Don't listen on localhost only.
Sep 13 2023, 8:19 AM
michal added inline comments to D9153: [tunnelbroker] Allow configuring AMQP credentials.
Sep 13 2023, 7:54 AM
bartek added a comment to D9139: [feature-flags] Use default HTTP port for deployments.

Should we also update the docker-compose.yml to use the new port?

Sep 13 2023, 7:46 AM
michal accepted D9139: [feature-flags] Use default HTTP port for deployments.

Should we also update the docker-compose.yml to use the new port?

Sep 13 2023, 7:44 AM
michal accepted D9137: [services] Delete base-image and sandbox mode.

Nice!

Sep 13 2023, 7:35 AM
bartek added a comment to D9144: Enable encrypted notification coalescing in NSE on iOS.

Nice! The UI change looks good to me, but letting others review as well.

Sep 13 2023, 7:14 AM
bartek requested review of D9177: [terraform] Remove references to legacy services.
Sep 13 2023, 7:09 AM
bartek requested review of D9176: [docker-compose] Match version tags with terraform.
Sep 13 2023, 6:52 AM
bartek updated the diff for D9139: [feature-flags] Use default HTTP port for deployments.

Use separate tag for staging, bump prod version

Sep 13 2023, 6:09 AM
bartek updated the test plan for D9139: [feature-flags] Use default HTTP port for deployments.
Sep 13 2023, 6:09 AM
bartek published D9137: [services] Delete base-image and sandbox mode for review.
Sep 13 2023, 6:01 AM
bartek closed D9138: [feature-flags] Standardize localstack and http config.
Sep 13 2023, 6:00 AM
bartek committed rCOMMaf6356fc54c3: [feature-flags] Standardize localstack and http config.
Sep 13 2023, 5:59 AM
ginsu added a comment to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

Also as I side note, I wonder if upgrading our animation code here to renanimated 2 or 3 api would improve performance. I know that renanimated 2-3 was built with functional components first in mind and IIRC the newer apis have a bunch of hooks to create animations in a more performant way

Sep 13 2023, 5:05 AM
ginsu requested changes to D9166: [native] Lift `renderSearch` to `ConnectedChatThreadList`.

few questions inline

Sep 13 2023, 5:00 AM
ginsu accepted D9164: [native] Lift `onSwipeableWillOpen` and `composeThread` to `ConnectedChatThreadList`.

please see inline comments before landing

Sep 13 2023, 4:39 AM
ginsu accepted D9161: [native] Lift `onScroll` to `ConnectedChatThreadList`.

please see inline comment before landing

Sep 13 2023, 4:37 AM
ginsu accepted D9135: [native] Pull static fns out of `ChatThreadList` to `ChatThreadListUtils`.
Sep 13 2023, 4:34 AM
ginsu accepted D9134: [native] Lift `searchUsers` and `onChangeSearchText` to `ConnectedChatThreadList`.

please make sure to check out inline comment before landing

Sep 13 2023, 4:25 AM
ginsu accepted D9133: [native] Lift `searchCancelButton*` `Value`/`Node`s to `ConnectedChatThreadList`.
Sep 13 2023, 4:18 AM