Page MenuHomePhabricator
Feed All Stories

Jul 31 2024

inka added inline comments to D12942: [native] Remove irrelevant code from nux tips overlay.
Jul 31 2024, 6:36 AM
marcin added a comment to D12882: Implement sending E2EE notification from the client.

After discussing it with @kamil and @tomek we concluded that changes necessary to be done in this diff include:

  1. Sequentially awaiting db ops processing before notifs processing.
  2. Put MessageData directly in DBOpsEntry.
Jul 31 2024, 6:32 AM
inka added a reverting change for D12674: [lib] Fix missing usernames: D12952: [lib] Remove usernames sent by the keyserver and use reservedUserIdentifiers.
Jul 31 2024, 6:28 AM
marcin added a comment to D12836: Patch localforage to support transactional multiple items retrieval/persistence.

PR: https://github.com/marcinwasowicz/localForage/pull/1

Jul 31 2024, 6:25 AM
tomek accepted D12947: [native] Rename Nux Tips Overlay (and simplify types).
Jul 31 2024, 6:16 AM
tomek accepted D12942: [native] Remove irrelevant code from nux tips overlay.
Jul 31 2024, 6:10 AM
tomek accepted D12941: [native] Copy tooltip.
In D12941#365887, @inka wrote:

Rename file - I am not sure how to name this, but this seems better

Jul 31 2024, 6:04 AM
bartek accepted D12951: [Tunnelbroker] invalidate bad FCM tokens.
Jul 31 2024, 5:57 AM
kamil added a comment to D12951: [Tunnelbroker] invalidate bad FCM tokens.

About option 1 vs option 2: I think it is much worse if we have a false-negative token invalidation than a false-positive.
False-positive means that we think that a token is invalid when it is valid. In this case, we would ask a client to send a new token. If we have a good validation of notifications on Tunnelbroker, then it is unlikely to cause serious issues.
False-negative means that we think that a token is valid when it isn't. We won't be able to send any notif and don't have a way of recovering from it.

Jul 31 2024, 5:49 AM
tomek requested changes to D12882: Implement sending E2EE notification from the client.
Jul 31 2024, 5:48 AM
tomek resigned from D12951: [Tunnelbroker] invalidate bad FCM tokens.

About option 1 vs option 2: I think it is much worse if we have a false-negative token invalidation than a false-positive.
False-positive means that we think that a token is invalid when it is valid. In this case, we would ask a client to send a new token. If we have a good validation of notifications on Tunnelbroker, then it is unlikely to cause serious issues.
False-negative means that we think that a token is valid when it isn't. We won't be able to send any notif and don't have a way of recovering from it.

Jul 31 2024, 5:28 AM
inka added a comment to D12926: [lib][native][web] Extend findUserIdentities response type.

Yeah, I think that's the plan

Jul 31 2024, 5:06 AM
kamil updated the diff for D12951: [Tunnelbroker] invalidate bad FCM tokens.

update to option 1

Jul 31 2024, 4:28 AM
kamil retitled D12939: [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message from [Tunnelbroker][lib] start using `SetDeviceTokenWithPlatform` to [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message.
Jul 31 2024, 4:13 AM
kamil updated the diff for D12939: [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message.

remove client code

Jul 31 2024, 4:12 AM
kamil updated the diff for D12938: [Tunnelbroker] add Platform column to `device_token` DDB table.

rebase

Jul 31 2024, 4:09 AM
kamil added a comment to D12939: [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message.

In what situations are we going to keep using the old SetDeviceTokenWithoutPlatform?

Jul 31 2024, 3:50 AM
kamil added a comment to D12939: [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message.

I am going to remove client code from this diff before landing (we first need to deploy TB) and then I'll create a second diff with only client changes.

Jul 31 2024, 3:48 AM
bartek accepted D12937: [Tunnelbroker] add message to set Device Token with Platform.
Jul 31 2024, 3:45 AM
kamil added inline comments to D12937: [Tunnelbroker] add message to set Device Token with Platform.
Jul 31 2024, 3:40 AM
kamil updated the diff for D12937: [Tunnelbroker] add message to set Device Token with Platform.

address review

Jul 31 2024, 3:40 AM
inka accepted D12949: [lib] Create a new action and a reducer that queue the operations.
Jul 31 2024, 3:06 AM
inka added a comment to D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.

Not sure if @ashoat's comment demands changes to this diff, please make sure to address it

Jul 31 2024, 3:03 AM
inka accepted D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.

This is great!

Jul 31 2024, 3:00 AM
kamil published D12951: [Tunnelbroker] invalidate bad FCM tokens for review.
Jul 31 2024, 2:59 AM
inka added a comment to D12921: [lib] Handle replies count.

Can't we handle this in useProcessDMOperation just like canBeProcessed?

Jul 31 2024, 2:58 AM
inka accepted D12936: [lib] Create a new redux field to store the operations.
Jul 31 2024, 2:52 AM
tomek planned changes to D12914: [lib] Allow creating thick threads from existing threads.
Jul 31 2024, 2:49 AM
inka accepted D12881: [lib] DMOperationSpec for change thread settings operation.

Should we set the unread status?

Jul 31 2024, 2:22 AM
inka accepted D12872: [lib] DMOperationSpec for remove members operation.
Jul 31 2024, 2:11 AM
bartek closed D12926: [lib][native][web] Extend findUserIdentities response type.
Jul 31 2024, 2:07 AM
bartek closed D12925: [native_rust_library] Extend findUserIdentities response.
Jul 31 2024, 2:07 AM
bartek committed rCOMMef5dbcde24ae: [lib][native][web] Extend findUserIdentities response type (authored by bartek).
[lib][native][web] Extend findUserIdentities response type
Jul 31 2024, 2:07 AM
bartek committed rCOMM3f658aede0a3: [native_rust_library] Extend findUserIdentities response (authored by bartek).
[native_rust_library] Extend findUserIdentities response
Jul 31 2024, 2:07 AM
bartek closed D12924: [identity] Query reserved usernames in FindUserIdentities RPC.
Jul 31 2024, 2:07 AM
bartek closed D12923: [terraform][dynamodb] Add userID index to reserved usernames table.
Jul 31 2024, 2:07 AM
bartek committed rCOMMc5bb3ade0c98: [terraform][dynamodb] Add userID index to reserved usernames table (authored by bartek).
[terraform][dynamodb] Add userID index to reserved usernames table
Jul 31 2024, 2:07 AM
bartek committed rCOMM999f07d88924: [identity] Query reserved usernames in FindUserIdentities RPC (authored by bartek).
[identity] Query reserved usernames in FindUserIdentities RPC
Jul 31 2024, 2:07 AM
bartek closed D12922: [protos][identity] Add reserved usernames to UserIdentitiesResponse.
Jul 31 2024, 2:07 AM
bartek committed rCOMMca98cfd13157: [protos][identity] Add reserved usernames to UserIdentitiesResponse (authored by bartek).
[protos][identity] Add reserved usernames to UserIdentitiesResponse
Jul 31 2024, 2:07 AM
inka accepted D12871: [lib] DMOperationSpec for leave thread operation.
Jul 31 2024, 2:06 AM
inka added inline comments to D12870: [lib] DMOperationSpec for join thread operation.
Jul 31 2024, 2:01 AM
inka accepted D12835: [lib] DMOperationSpec for add members operation.
Jul 31 2024, 1:45 AM
bartek added a comment to D12926: [lib][native][web] Extend findUserIdentities response type.

I think we'll need to update the two handler components here to look at the newly-returned reservedUserIdentities property, but my impression is that this will be handled by @inka in a later diff

Jul 31 2024, 1:35 AM
bartek updated the diff for D12926: [lib][native][web] Extend findUserIdentities response type.

Rename to reservedUserIdentifiers

Jul 31 2024, 1:33 AM
bartek updated the diff for D12925: [native_rust_library] Extend findUserIdentities response.

Rename to reserved_user_identifiers

Jul 31 2024, 1:33 AM
inka added a comment to D12914: [lib] Allow creating thick threads from existing threads.

What about +community?: ?string, field?

Jul 31 2024, 1:33 AM
bartek updated the diff for D12924: [identity] Query reserved usernames in FindUserIdentities RPC.

Rename to reserved_user_identifiers

Jul 31 2024, 1:33 AM
bartek updated the diff for D12922: [protos][identity] Add reserved usernames to UserIdentitiesResponse.

Rename to reserved_user_identifiers

Jul 31 2024, 1:26 AM

Jul 30 2024

bartek published D12943: [lib] Add account deletion P2P message type for review.
Jul 30 2024, 11:23 PM
bartek added inline comments to D12922: [protos][identity] Add reserved usernames to UserIdentitiesResponse.
Jul 30 2024, 11:22 PM
ashoat accepted D12926: [lib][native][web] Extend findUserIdentities response type.

Makes sense. I think we'll need to update the two handler components here to look at the newly-returned reservedUserIdentities property, but my impression is that this will be handled by @inka in a later diff

Jul 30 2024, 10:57 PM
ashoat accepted D12927: [keyserver] Do not verify identity logged for webapp and landing.
Jul 30 2024, 10:55 PM
ashoat accepted D12922: [protos][identity] Add reserved usernames to UserIdentitiesResponse.

Haven't reviewed the Rust but the changes seem minimal / safe

Jul 30 2024, 10:51 PM
ashoat accepted D12950: [desktop] add cross-env dependency and use it to set environment variables in desktop/package.json.

Looks legit

Jul 30 2024, 10:49 PM
ashoat added a comment to D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.

I had previously suggested implemented a solution to this based on a tcomb validator. We'll need to specify IDs that have to be checked for collision again certain SQLite tables, and I was planning on using a tcomb validator approach for that. It seems like checking IDs for existence in certain SQLite tables is a very similar problem, and ought to be solved in a similar way.

Jul 30 2024, 10:45 PM
varun requested review of D12950: [desktop] add cross-env dependency and use it to set environment variables in desktop/package.json.
Jul 30 2024, 7:14 PM
will planned changes to D12928: [keyserver] Run webapp through comm services cluster.

Planning to change .env to secrets.json approach

Jul 30 2024, 10:52 AM
tomek requested review of D12949: [lib] Create a new action and a reducer that queue the operations.
Jul 30 2024, 10:15 AM
tomek updated the diff for D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.

Change the API

Jul 30 2024, 9:39 AM
tomek requested review of D12948: [lib] Add a function to DM operations spec checking if an operation can be applied.
Jul 30 2024, 9:32 AM
will added inline comments to D12928: [keyserver] Run webapp through comm services cluster.
Jul 30 2024, 8:29 AM
will added a comment to D12928: [keyserver] Run webapp through comm services cluster.

General question:
What's the advantage of sops-encrypting new .env files instead of reusing our sops_file resource for secrets.json, having webapp-specific config inside it, and then doing

webapp_environment_vars = merge(local.secrets.webapp_secrets,  { ... })

?

I'm not saying your approach is bad, I just want to understand the motivation

Jul 30 2024, 8:29 AM
bartek accepted D12929: [terraform] use module approach for landing.
Jul 30 2024, 8:26 AM
bartek added a comment to D12928: [keyserver] Run webapp through comm services cluster.

General question:
What's the advantage of sops-encrypting new .env files instead of reusing our sops_file resource for secrets.json, having webapp-specific config inside it, and then doing

webapp_environment_vars = merge(local.secrets.webapp_secrets,  { ... })

?

Jul 30 2024, 8:26 AM
bartek accepted D12939: [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message.

In what situations are we going to keep using the old SetDeviceTokenWithoutPlatform?

Jul 30 2024, 7:57 AM
bartek accepted D12946: [Tunnelbroker] invalidate bad Web Push tokens.
Jul 30 2024, 7:53 AM
bartek accepted D12940: [Tunnelbroker] validate device platform before sending notif.
Jul 30 2024, 7:46 AM
marcin updated the diff for D12836: Patch localforage to support transactional multiple items retrieval/persistence.

Update yarn.lock

Jul 30 2024, 7:30 AM
bartek updated subscribers of D12937: [Tunnelbroker] add message to set Device Token with Platform.
Jul 30 2024, 7:28 AM
inka requested review of D12947: [native] Rename Nux Tips Overlay (and simplify types).
Jul 30 2024, 7:23 AM
bartek accepted D12938: [Tunnelbroker] add Platform column to `device_token` DDB table.

Generally okay, personally I'd organize it a bit differently but that doesn't matter

Jul 30 2024, 7:20 AM
inka requested review of D12942: [native] Remove irrelevant code from nux tips overlay.
Jul 30 2024, 6:43 AM
inka requested review of D12941: [native] Copy tooltip.
Jul 30 2024, 6:36 AM
kamil published D12946: [Tunnelbroker] invalidate bad Web Push tokens for review.
Jul 30 2024, 6:18 AM
bartek closed D12890: [identity] Rewrite GetDeviceLists RPC to use batch functions.
Jul 30 2024, 6:05 AM
bartek committed rCOMMc54e535c5b84: [identity] Rewrite GetDeviceLists RPC to use batch functions (authored by bartek).
[identity] Rewrite GetDeviceLists RPC to use batch functions
Jul 30 2024, 6:04 AM
bartek closed D12889: [identity] Add function to batch-get platform details.
Jul 30 2024, 6:04 AM
bartek committed rCOMMdafbe70faaf7: [identity] Add function to batch-get platform details (authored by bartek).
[identity] Add function to batch-get platform details
Jul 30 2024, 6:04 AM
bartek closed D12888: [identity] Add function to batch-get device lists.
Jul 30 2024, 6:04 AM
bartek committed rCOMM52e8224b3e28: [identity] Add function to batch-get device lists (authored by bartek).
[identity] Add function to batch-get device lists
Jul 30 2024, 6:04 AM
bartek added inline comments to D12888: [identity] Add function to batch-get device lists.
Jul 30 2024, 6:00 AM
kamil closed D12911: [Tunnelbroker] invalidate bad APNs tokens.
Jul 30 2024, 5:39 AM
kamil committed rCOMM041165483eb1: [Tunnelbroker] invalidate bad APNs tokens (authored by kamil).
[Tunnelbroker] invalidate bad APNs tokens
Jul 30 2024, 5:39 AM
kamil published D12940: [Tunnelbroker] validate device platform before sending notif for review.
Jul 30 2024, 5:38 AM
kamil published D12939: [Tunnelbroker] handle `SetDeviceTokenWithPlatform` message for review.
Jul 30 2024, 5:37 AM
kamil published D12938: [Tunnelbroker] add Platform column to `device_token` DDB table for review.
Jul 30 2024, 5:36 AM
kamil published D12937: [Tunnelbroker] add message to set Device Token with Platform for review.
Jul 30 2024, 5:36 AM
kamil accepted D12918: [identity] Ask Tunnelbroker to delete data on account deletion.
Jul 30 2024, 4:24 AM
kamil updated the diff for D12911: [Tunnelbroker] invalidate bad APNs tokens.

add missing errors

Jul 30 2024, 4:22 AM
Harbormaster failed remote builds in B30794: Diff 42939 for D12673: Utilities to idempotently create content and notif sessions!
Jul 30 2024, 4:22 AM
kamil reopened D12911: [Tunnelbroker] invalidate bad APNs tokens.

Forgot to add missing error - sorry for that

Jul 30 2024, 4:20 AM
kamil added a reverting change for D12911: [Tunnelbroker] invalidate bad APNs tokens: rCOMMa7a7ce7a2e5a: Revert "[Tunnelbroker] invalidate bad APNs tokens".
Jul 30 2024, 4:20 AM
kamil added a reverting change for rCOMM9c01fd2697ea: [Tunnelbroker] invalidate bad APNs tokens: rCOMMa7a7ce7a2e5a: Revert "[Tunnelbroker] invalidate bad APNs tokens".
Jul 30 2024, 4:20 AM
kamil committed rCOMMa7a7ce7a2e5a: Revert "[Tunnelbroker] invalidate bad APNs tokens" (authored by kamil).
Revert "[Tunnelbroker] invalidate bad APNs tokens"
Jul 30 2024, 4:20 AM
kamil closed D12911: [Tunnelbroker] invalidate bad APNs tokens.
Jul 30 2024, 4:16 AM
kamil committed rCOMM9c01fd2697ea: [Tunnelbroker] invalidate bad APNs tokens (authored by kamil).
[Tunnelbroker] invalidate bad APNs tokens
Jul 30 2024, 4:16 AM
kamil closed D12909: [Tunnelbroker] implement marking device token ad invalid.
Jul 30 2024, 4:16 AM
kamil closed D12910: [Tunnelbroker][lib] add `BadDeviceToken` message type.
Jul 30 2024, 4:16 AM
kamil committed rCOMM018030d6f5b9: [Tunnelbroker] implement marking device token ad invalid (authored by kamil).
[Tunnelbroker] implement marking device token ad invalid
Jul 30 2024, 4:16 AM