Page MenuHomePhabricator
Feed All Stories

Jul 22 2024

will requested review of D12847: [keyserver] only run keyserver cron jobs if primary node besides geoip cron job.
Jul 22 2024, 12:34 PM
will requested review of D12846: [keyserver] move `isPrimaryNode` to keyserver utils.
Jul 22 2024, 12:31 PM
varun closed D12845: [terraform] bump staging identity to 0.33-staging.
Jul 22 2024, 12:21 PM
varun committed rCOMM46def1591f85: [terraform] bump staging identity to 0.33-staging (authored by varun).
[terraform] bump staging identity to 0.33-staging
Jul 22 2024, 12:21 PM
will accepted D12845: [terraform] bump staging identity to 0.33-staging.
Jul 22 2024, 12:15 PM
marcin updated the diff for D12838: Implement web notifs session createion with race condition handling.

Improvement: use the same functions to fetch and persist olm data regardless of notification type (keyserver/peer device)

Jul 22 2024, 11:55 AM
marcin updated the diff for D12692: Migrate notification account to IndexedDB on web.

Use transactional write when creating outbound session

Jul 22 2024, 11:54 AM
varun requested review of D12845: [terraform] bump staging identity to 0.33-staging.
Jul 22 2024, 11:30 AM
will added inline comments to D12814: [terraform] webapp terraform config.
Jul 22 2024, 11:10 AM
varun abandoned D11810: [keyserver] mark prekeys and OTKs as published right before calling identity service.
Jul 22 2024, 11:05 AM
varun abandoned D11811: [web][native] mark keys as published before uploading to identity service.
Jul 22 2024, 11:04 AM
ashoat added a comment to D12836: Patch localforage to support transactional multiple items retrieval/persistence.

Even if we don't use localforage in our code outside of web, this patch probably affects some transitive dependencies for other projects. It looks like it's backwards-compatible, so it should be safe. But we may face some trouble at a later point if a transitive dependency upgrades its version, depending on which package Yarn hoists to the workspace root, and how patch-package handles it when multiple versions of a package are present (does it patch all of them, or only the one at the workspace root?)

Jul 22 2024, 11:01 AM
ashoat added inline comments to D12835: [lib] DMOperationSpec for add members operation.
Jul 22 2024, 10:58 AM
varun accepted D12823: [terraform] Avoid including Terraform state and secrets in keyserver Docker images.
Jul 22 2024, 10:57 AM
ashoat added a comment to D12806: [lib] DMOperationSpec for reaction operation.

I wonder if we should have a separate task for updating the replies count. I don't think I contemplated it in sendTextMessageSpec

Jul 22 2024, 10:56 AM
ashoat added a reviewer for D12823: [terraform] Avoid including Terraform state and secrets in keyserver Docker images: varun.
Jul 22 2024, 10:49 AM
ashoat requested review of D12823: [terraform] Avoid including Terraform state and secrets in keyserver Docker images.

Looks like CommTest passes – would love to get another accept from either reviewer before landing, to confirm that this new strategy seems safe

Jul 22 2024, 10:49 AM
ashoat updated the diff for D12823: [terraform] Avoid including Terraform state and secrets in keyserver Docker images.

Try ignoring all *.tfstate and *.tfvars files

Jul 22 2024, 10:31 AM
Harbormaster failed remote builds in B30570: Diff 42634 for D12841: [Tunnelbroker] implement Web Push config!
Jul 22 2024, 10:17 AM
kamil published D12842: [Tunnelbroker] implement creating Web Push client for review.
Jul 22 2024, 10:16 AM
kamil published D12841: [Tunnelbroker] implement Web Push config for review.
Jul 22 2024, 10:15 AM
kamil published D12840: [terraform] add Web Push secrets config for review.
Jul 22 2024, 10:15 AM
varun closed D12832: [identity] modify get_all_user_details to return wallet addresses too.
Jul 22 2024, 10:03 AM
varun closed D12830: [identity] check users table before reserved usernames table for user ID during wallet login.
Jul 22 2024, 10:03 AM
varun closed D12831: [identity] get all usernames and wallet addresses in get_all_usernames.
Jul 22 2024, 10:03 AM
varun committed rCOMM63e8e9dea808: [identity] check users table before reserved usernames table for user ID during… (authored by varun).
[identity] check users table before reserved usernames table for user ID during…
Jul 22 2024, 10:03 AM
varun committed rCOMM2f4606fcdba3: [identity] modify get_all_user_details to return wallet addresses too (authored by varun).
[identity] modify get_all_user_details to return wallet addresses too
Jul 22 2024, 10:03 AM
varun committed rCOMMa1e09026a6c1: [identity] get all usernames and wallet addresses in get_all_usernames (authored by varun).
[identity] get all usernames and wallet addresses in get_all_usernames
Jul 22 2024, 10:03 AM
varun added a comment to D12831: [identity] get all usernames and wallet addresses in get_all_usernames.

Accepting, but I noticed one more thing that needs to be considered.
Scan operation doesn't always return all items. It has response limit of 1MB. If it's exceeded, the response contains LastEvaluatedKey property, from which we should start a subsequent scan.

On the other hand, this table is relatively small (1k items, ~60kB) so it's far from the limit. And it's not expected to grow, so we could ignore the issue as well

AWS Docs: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Scan.html

Jul 22 2024, 9:56 AM
ashoat closed D12829: [lib] Specify messageID in sendTextMessageSpec.
Jul 22 2024, 9:29 AM
ashoat closed D12828: [lib] Make sure thick threads starts out with startReached.
Jul 22 2024, 9:29 AM
ashoat committed rCOMM3980d47ad71f: [lib] Specify messageID in sendTextMessageSpec (authored by ashoat).
[lib] Specify messageID in sendTextMessageSpec
Jul 22 2024, 9:29 AM
ashoat committed rCOMMa41c34b166ba: [lib] Make sure thick threads starts out with startReached (authored by ashoat).
[lib] Make sure thick threads starts out with startReached
Jul 22 2024, 9:29 AM
ashoat closed D12827: [lib] Reduce duplication in message-types.js.
Jul 22 2024, 9:29 AM
ashoat committed rCOMMfa1d5228f1a2: [lib] Reduce duplication in message-types.js (authored by ashoat).
[lib] Reduce duplication in message-types.js
Jul 22 2024, 9:29 AM
ashoat closed D12826: [native][web] Allow sending custom encrypted message via Tunnelbroker test interface.
Jul 22 2024, 9:29 AM
ashoat committed rCOMMaab11d8c5bd0: [native][web] Allow sending custom encrypted message via Tunnelbroker test… (authored by ashoat).
[native][web] Allow sending custom encrypted message via Tunnelbroker test…
Jul 22 2024, 9:29 AM
ashoat closed D12825: [lib] Turn on notifs by default for thick threads.
Jul 22 2024, 9:29 AM
ashoat closed D12824: [keyserver][lib] Factor out joinThreadSubscription.
Jul 22 2024, 9:29 AM
ashoat committed rCOMM154a1437e81b: [lib] Turn on notifs by default for thick threads (authored by ashoat).
[lib] Turn on notifs by default for thick threads
Jul 22 2024, 9:29 AM
ashoat committed rCOMM82b5866a1c9a: [keyserver][lib] Factor out joinThreadSubscription (authored by ashoat).
[keyserver][lib] Factor out joinThreadSubscription
Jul 22 2024, 9:29 AM
ashoat closed D12781: [lib] Reduce new PROCESS_DM_OPS action.
Jul 22 2024, 9:29 AM
ashoat committed rCOMM918067cb29cc: [lib] Reduce new PROCESS_DM_OPS action (authored by ashoat).
[lib] Reduce new PROCESS_DM_OPS action
Jul 22 2024, 9:29 AM
ashoat closed D12780: [lib] Introduce new PROCESS_DM_OPS action and dispatch from useProcessDMOperation.
Jul 22 2024, 9:29 AM
ashoat committed rCOMM3c47a8d7ae20: [lib] Introduce new PROCESS_DM_OPS action and dispatch from… (authored by ashoat).
[lib] Introduce new PROCESS_DM_OPS action and dispatch from…
Jul 22 2024, 9:29 AM
ashoat closed D12741: [lib] Process DMOperations when received from peers via Tunnelbroker.
Jul 22 2024, 9:29 AM
ashoat committed rCOMM2549b6da2a11: [lib] Process DMOperations when received from peers via Tunnelbroker (authored by ashoat).
[lib] Process DMOperations when received from peers via Tunnelbroker
Jul 22 2024, 9:29 AM
ashoat closed D12764: [lib] Introduce useGetLatestMessageEdit.
Jul 22 2024, 9:29 AM
ashoat committed rCOMMb3bca293c632: [lib] Introduce useGetLatestMessageEdit (authored by ashoat).
[lib] Introduce useGetLatestMessageEdit
Jul 22 2024, 9:29 AM
ashoat added inline comments to D12823: [terraform] Avoid including Terraform state and secrets in keyserver Docker images.
Jul 22 2024, 9:25 AM
Harbormaster failed remote builds in B30566: Diff 42617 for D12694: [native](web) Add message_search fts5 table!
Jul 22 2024, 8:21 AM
ashoat requested review of D12839: [lib][native][web] Introduce threadTypeIsSidebar.
Jul 22 2024, 8:21 AM
inka updated the diff for D12783: [web] Add bindings for inserting into the search table.

Rebase

Jul 22 2024, 8:17 AM
inka updated the diff for D12778: [native] Add SQLiteQueryExecutor code for inserting into the search table.

Rebase

Jul 22 2024, 8:15 AM
inka updated the diff for D12694: [native](web) Add message_search fts5 table.

Move code

Jul 22 2024, 8:11 AM
ashoat added inline comments to D12655: [lib] DMOperationSpec for SEND_TEXT_MESSAGE operation.
Jul 22 2024, 8:04 AM
ashoat added a comment to D12764: [lib] Introduce useGetLatestMessageEdit.

It makes sense for the sidebar creation use case that I designed for, which is where this hook will be used. I don't think you'll want to use this particular hook, but I can see how for the search use case, it might make sense to replace getRelatedMessages with an API that can query a batch of message IDs at once. I haven't considered the performance implications here – would be good for you and @kamil to consider this, and make a decision on whether the API needs to be replaced

Jul 22 2024, 8:03 AM
marcin updated the diff for D12838: Implement web notifs session createion with race condition handling.

A couple of changes

Jul 22 2024, 7:49 AM
varun closed D12822: [terraform] bump staging identity to 0.32-staging.
Jul 22 2024, 7:40 AM
varun closed D12820: [identity] use redact_sensitive_data config to redact sensitive data in logs.
Jul 22 2024, 7:40 AM
varun committed rCOMM7c295141bbfc: [terraform] bump staging identity to 0.32-staging (authored by varun).
[terraform] bump staging identity to 0.32-staging
Jul 22 2024, 7:40 AM
varun committed rCOMMc5c4435b7b75: [identity] use redact_sensitive_data config to redact sensitive data in logs (authored by varun).
[identity] use redact_sensitive_data config to redact sensitive data in logs
Jul 22 2024, 7:40 AM
varun closed D12819: [identity] redact_sensitive_data config.
Jul 22 2024, 7:40 AM
varun committed rCOMMa7cfa610e0f3: [identity] redact_sensitive_data config (authored by varun).
[identity] redact_sensitive_data config
Jul 22 2024, 7:40 AM
marcin added a comment to D12836: Patch localforage to support transactional multiple items retrieval/persistence.

If the patch file appears cumbersome to review I will create fork of localforage with PR containing those changes.

Jul 22 2024, 7:35 AM
marcin requested review of D12838: Implement web notifs session createion with race condition handling.
Jul 22 2024, 7:34 AM
marcin requested review of D12837: Bump olm version.
Jul 22 2024, 7:31 AM
marcin requested review of D12836: Patch localforage to support transactional multiple items retrieval/persistence.
Jul 22 2024, 7:28 AM
tomek requested review of D12835: [lib] DMOperationSpec for add members operation.
Jul 22 2024, 7:07 AM
inka added a comment to D12806: [lib] DMOperationSpec for reaction operation.

On the keyserver, when reactionMessageCreationResponder is called, it calls createMessages which in turn calls updateRepliesCount. Do we need to do something like this for DMs?

Jul 22 2024, 6:44 AM
inka added a comment to D12764: [lib] Introduce useGetLatestMessageEdit.

This solution requires us to query for every message separately. This seems very inefficient. Is this necessary?

Jul 22 2024, 6:40 AM
inka accepted D12834: [web][native] Increase number of actions kept in Redux debugger.
Jul 22 2024, 5:24 AM
tomek accepted D12833: [lib][web][native] Create message search store ops.
Jul 22 2024, 5:01 AM
tomek requested review of D12834: [web][native] Increase number of actions kept in Redux debugger.
Jul 22 2024, 3:36 AM
tomek accepted D12829: [lib] Specify messageID in sendTextMessageSpec.

Makes sense! I asked about it in https://phab.comm.dev/D12655#362785.

Jul 22 2024, 3:33 AM
tomek accepted D12828: [lib] Make sure thick threads starts out with startReached.
Jul 22 2024, 3:31 AM
tomek accepted D12827: [lib] Reduce duplication in message-types.js.
Jul 22 2024, 3:30 AM
tomek accepted D12826: [native][web] Allow sending custom encrypted message via Tunnelbroker test interface.
Jul 22 2024, 3:29 AM
tomek accepted D12825: [lib] Turn on notifs by default for thick threads.
Jul 22 2024, 3:27 AM
tomek accepted D12824: [keyserver][lib] Factor out joinThreadSubscription.
Jul 22 2024, 3:26 AM
inka requested review of D12833: [lib][web][native] Create message search store ops.
Jul 22 2024, 3:12 AM
kamil closed D12803: [Tunnelbroker] reduce logging spam.
Jul 22 2024, 3:02 AM
kamil committed rCOMMa470d67e8f52: [Tunnelbroker] reduce logging spam (authored by kamil).
[Tunnelbroker] reduce logging spam
Jul 22 2024, 3:02 AM
kamil accepted D12804: [native][web] Rename P2P messages methods.
Jul 22 2024, 2:57 AM
bartek accepted D12832: [identity] modify get_all_user_details to return wallet addresses too.
Jul 22 2024, 1:58 AM
bartek accepted D12831: [identity] get all usernames and wallet addresses in get_all_usernames.

Accepting, but I noticed one more thing that needs to be considered.
Scan operation doesn't always return all items. It has response limit of 1MB. If it's exceeded, the response contains LastEvaluatedKey property, from which we should start a subsequent scan.

Jul 22 2024, 1:57 AM
tomek accepted D12781: [lib] Reduce new PROCESS_DM_OPS action.
Jul 22 2024, 1:57 AM
bartek accepted D12830: [identity] check users table before reserved usernames table for user ID during wallet login.
Jul 22 2024, 1:50 AM
bartek accepted D12823: [terraform] Avoid including Terraform state and secrets in keyserver Docker images.
Jul 22 2024, 1:42 AM
tomek accepted D12780: [lib] Introduce new PROCESS_DM_OPS action and dispatch from useProcessDMOperation.
Jul 22 2024, 1:39 AM
bartek requested changes to D12805: [lib] introduce new device list function to replace keyserver device.
Jul 22 2024, 1:37 AM
bartek accepted D12803: [Tunnelbroker] reduce logging spam.
Jul 22 2024, 1:34 AM
tomek accepted D12741: [lib] Process DMOperations when received from peers via Tunnelbroker.
Jul 22 2024, 1:27 AM
tomek accepted D12764: [lib] Introduce useGetLatestMessageEdit.
Jul 22 2024, 1:24 AM
bartek accepted D12820: [identity] use redact_sensitive_data config to redact sensitive data in logs.

Nice!

Jul 22 2024, 1:10 AM
bartek accepted D12819: [identity] redact_sensitive_data config.
Jul 22 2024, 1:09 AM
Harbormaster failed remote builds in B30556: Diff 42603 for D12783: [web] Add bindings for inserting into the search table!
Jul 22 2024, 12:40 AM
inka updated the diff for D12783: [web] Add bindings for inserting into the search table.

Rebase

Jul 22 2024, 12:26 AM
inka updated the diff for D12778: [native] Add SQLiteQueryExecutor code for inserting into the search table.

Rebase

Jul 22 2024, 12:25 AM
Harbormaster failed remote builds in B30553: Diff 42600 for D12693: [native][web] Add fts5 extension to SQLite!
Jul 22 2024, 12:10 AM