Page MenuHomePhabricator
Feed All Stories

Jul 24 2024

tomek added inline comments to D12835: [lib] DMOperationSpec for add members operation.
Jul 24 2024, 9:29 AM
tomek updated the diff for D12835: [lib] DMOperationSpec for add members operation.

Improve the logic

Jul 24 2024, 9:25 AM
tomek requested review of D12870: [lib] DMOperationSpec for join thread operation.
Jul 24 2024, 9:23 AM
will requested review of D12868: [terraform] Rename `aws_ecs` to `keyserver_cluster` and move shared security group.
Jul 24 2024, 9:06 AM
Harbormaster failed remote builds in B30640: Diff 42735 for D12748: Expose function to get notifs inbound keys to C++!
Jul 24 2024, 6:29 AM
Harbormaster failed remote builds in B30638: Diff 42734 for D12703: Transfer CSAT to IndexedDB from service worker and implement call to identity to query for inbound keys!
Jul 24 2024, 6:25 AM
tomek accepted D12858: [lib] improve naming in Tunnelbroker socket.
Jul 24 2024, 6:24 AM
Harbormaster failed remote builds in B30637: Diff 42733 for D12836: Patch localforage to support transactional multiple items retrieval/persistence!
Jul 24 2024, 6:22 AM
Harbormaster failed remote builds in B30636: Diff 42732 for D12677: Implement method to query identity service from the NSE!
Jul 24 2024, 6:21 AM
Harbormaster failed remote builds in B30635: Diff 42731 for D12676: Migrate notifications crypto account to MMKV on native!
Jul 24 2024, 6:15 AM
Harbormaster failed remote builds in B30634: Diff 42730 for D12673: Utilities to idempotently create content and notif sessions!
Jul 24 2024, 6:08 AM
tomek accepted D12857: [lib] remove unused Tunnelbroker message validators.

I'd prefer to also validate on the JS side, but it isn't a strong opinion.

Jul 24 2024, 6:04 AM
tomek accepted D12856: [Tunnelbroker][lib] cleanup Device <-> Tunnelbroker message types.
Jul 24 2024, 6:03 AM
Harbormaster failed remote builds in B30633: Diff 42729 for D12672: Implement utility functions to check if we have content or notif session with device!
Jul 24 2024, 6:00 AM
Harbormaster failed remote builds in B30632: Diff 42728 for D12670: Implement notification encryption on native!
Jul 24 2024, 6:00 AM
Harbormaster failed remote builds in B30631: Diff 42727 for D12669: Implement peer notifications session creation as outbound on web and add notifs outbound session creator to OlmAPI!
Jul 24 2024, 5:57 AM
marcin updated the diff for D12748: Expose function to get notifs inbound keys to C++.

Address review

Jul 24 2024, 5:56 AM
marcin updated the diff for D12703: Transfer CSAT to IndexedDB from service worker and implement call to identity to query for inbound keys.

Address review

Jul 24 2024, 5:55 AM
marcin updated the diff for D12836: Patch localforage to support transactional multiple items retrieval/persistence.

Addres review

Jul 24 2024, 5:55 AM
marcin updated the diff for D12677: Implement method to query identity service from the NSE.

Address review

Jul 24 2024, 5:54 AM
marcin updated the diff for D12676: Migrate notifications crypto account to MMKV on native.

Address review

Jul 24 2024, 5:54 AM
marcin updated the diff for D12673: Utilities to idempotently create content and notif sessions.

Address review

Jul 24 2024, 5:52 AM
marcin updated the diff for D12672: Implement utility functions to check if we have content or notif session with device.

Address review

Jul 24 2024, 5:48 AM
Harbormaster failed remote builds in B30630: Diff 42726 for D12668: Implement peer notifications session creation as outbound on native!
Jul 24 2024, 5:46 AM
tomek accepted D12866: [native][web] Fix timestamp type in cpp.

Have you tested it on both platforms?

Jul 24 2024, 5:46 AM
marcin updated the diff for D12670: Implement notification encryption on native.

Address review

Jul 24 2024, 5:45 AM
marcin updated the diff for D12669: Implement peer notifications session creation as outbound on web and add notifs outbound session creator to OlmAPI.

Address review

Jul 24 2024, 5:45 AM
marcin updated the diff for D12668: Implement peer notifications session creation as outbound on native.

Address review

Jul 24 2024, 5:44 AM
tomek accepted D12865: [keyserver][lib][web][native] use local search for thick threads.
Jul 24 2024, 5:44 AM
marcin added a comment to D12692: Migrate notification account to IndexedDB on web.

Right now two JS threads (shared worker and service worker) can concurrently modify the same key in IndexedDB. I think to make it safe we should use transactions to make sure this is safe.

Unfortunately, looks like locaforage is not supporting this: https://github.com/localForage/localForage/issues/582 and https://github.com/localForage/localForage/issues/17.

Could you do some research about whether it's safe or suggest an alternative solution?

(this could change most of the code so not reviewing details of this diff)

Jul 24 2024, 4:49 AM
marcin added a comment to D12836: Patch localforage to support transactional multiple items retrieval/persistence.

About to create fork with PR shortly

Jul 24 2024, 4:47 AM
marcin added a comment to D12677: Implement method to query identity service from the NSE.

The HTTP request-response logic looks good; it's analogous to the existing Blob GET request logic.

Accepting but please remember to fix that semicolon. Otherwise, release builds will fail.

Jul 24 2024, 4:46 AM
marcin added inline comments to D12670: Implement notification encryption on native.
Jul 24 2024, 3:54 AM
marcin added inline comments to D12672: Implement utility functions to check if we have content or notif session with device.
Jul 24 2024, 3:43 AM
marcin added a comment to D12668: Implement peer notifications session creation as outbound on native.

I really don't like the idea (looking at this diff and the entire stack) of passing isKeyserverSession - notification crypto module should treat all devices the same regardless of whether this is a keyserver or client device, and we should only have senderID, because the current design makes it confusing. But given this is implemented and tested I believe we can proceed, you could create a follow-up task to improve it in future but for now LGTM.

Curious for @marcin's perspective on this, and how much time it might take to fix up

Jul 24 2024, 2:48 AM
inka requested review of D12866: [native][web] Fix timestamp type in cpp.
Jul 24 2024, 2:36 AM
inka added a comment to D12865: [keyserver][lib][web][native] use local search for thick threads.

One thing that doesn’t work in thick threads is fetching next pages of results. This is because timestamps exceed cpp int, so SQLiteQueryExecutor::searchMessages doesn’t bind them to sql query correctly. Fixing this is tracked in ENG-8893

Jul 24 2024, 2:18 AM
inka added 1 blocking reviewer(s) for D12865: [keyserver][lib][web][native] use local search for thick threads: kamil.
Jul 24 2024, 2:17 AM
inka requested review of D12865: [keyserver][lib][web][native] use local search for thick threads.
Jul 24 2024, 2:15 AM

Jul 23 2024

will closed D12864: [terraform] upgrade the disk image to 1.0.102.
Jul 23 2024, 6:27 PM
will committed rCOMMd6cfb6f862ae: [terraform] upgrade the disk image to 1.0.102 (authored by will).
[terraform] upgrade the disk image to 1.0.102
Jul 23 2024, 6:27 PM
varun accepted D12864: [terraform] upgrade the disk image to 1.0.102.
Jul 23 2024, 6:20 PM
will requested review of D12864: [terraform] upgrade the disk image to 1.0.102.
Jul 23 2024, 5:27 PM
will requested review of D12863: [terraform] move image config to aws_ecs and add custom image variable.
Jul 23 2024, 11:45 AM
will requested review of D12862: [terraform] update variables.tf self-host descriptions.
Jul 23 2024, 11:43 AM
marcin updated the test plan for D12838: Implement web notifs session createion with race condition handling.
Jul 23 2024, 11:12 AM
marcin updated the diff for D12838: Implement web notifs session createion with race condition handling.

Rebase

Jul 23 2024, 11:08 AM
marcin updated the diff for D12750: Implement inbound notif session creation from the NSE with race condition handling.

Use common C++ implementation on Android. It was tested the same way as iOS using latest staging Tunnelbroker release

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

Rebase

Jul 23 2024, 11:05 AM
marcin updated the diff for D12673: Utilities to idempotently create content and notif sessions.

Use the API in send-utils

Jul 23 2024, 11:04 AM
marcin updated the diff for D12671: Implement notification encryption on web.

Make encryptNotification a part of olmAPI. This change is ESSENTIAL on web since it makes encryptNotification run on shared worker. This enables us to deterministically handle race conditions.

Jul 23 2024, 11:03 AM
will requested review of D12861: [terraform] Actually use db_instance_class for mariadb.
Jul 23 2024, 9:56 AM
kamil closed D12855: [SQLite] rename all QueryExecutor params to `camelCase`.
Jul 23 2024, 8:18 AM
kamil committed rCOMMdd5c4d502382: [SQLite] rename all QueryExecutor params to `camelCase` (authored by kamil).
[SQLite] rename all QueryExecutor params to `camelCase`
Jul 23 2024, 8:18 AM
kamil closed D12853: [native] introduce message searching to `CommCoreModule`.
Jul 23 2024, 8:18 AM
kamil closed D12854: [lib] introduce message searching to `SQLiteAPI`.
Jul 23 2024, 8:18 AM
kamil committed rCOMM5d535a143135: [lib] introduce message searching to `SQLiteAPI` (authored by kamil).
[lib] introduce message searching to `SQLiteAPI`
Jul 23 2024, 8:18 AM
kamil committed rCOMM12032bbfe1af: [native] introduce message searching to `CommCoreModule` (authored by kamil).
[native] introduce message searching to `CommCoreModule`
Jul 23 2024, 8:18 AM
kamil closed D12852: [web] introduce message searching to shared worker.
Jul 23 2024, 8:18 AM
kamil committed rCOMM81fc7466f203: [web] introduce message searching to shared worker (authored by kamil).
[web] introduce message searching to shared worker
Jul 23 2024, 8:18 AM
kamil closed D12851: [SQLite] implement tests for messages search.
Jul 23 2024, 8:18 AM
kamil committed rCOMM7085908cc6d2: [SQLite] implement tests for messages search (authored by kamil).
[SQLite] implement tests for messages search
Jul 23 2024, 8:18 AM
kamil closed D12850: [SQLite] add Emscripten bindings for message search.
Jul 23 2024, 8:18 AM
kamil closed D12844: [SQLite] implement query for searching messages.
Jul 23 2024, 8:18 AM
kamil committed rCOMMffb88c4a6c6d: [SQLite] add Emscripten bindings for message search (authored by kamil).
[SQLite] add Emscripten bindings for message search
Jul 23 2024, 8:18 AM
kamil committed rCOMM3b9546b1e346: [SQLite] implement query for searching messages (authored by kamil).
[SQLite] implement query for searching messages
Jul 23 2024, 8:18 AM
kamil closed D12843: [SQLite] add method for message search to SQLiteQueryExecutor for both web and native.
Jul 23 2024, 8:18 AM
kamil committed rCOMMb290620829de: [SQLite] add method for message search to SQLiteQueryExecutor for both web and… (authored by kamil).
[SQLite] add method for message search to SQLiteQueryExecutor for both web and…
Jul 23 2024, 8:18 AM
kamil added inline comments to D12670: Implement notification encryption on native.
Jul 23 2024, 8:10 AM
kamil updated the test plan for D12855: [SQLite] rename all QueryExecutor params to `camelCase`.
Jul 23 2024, 8:06 AM
kamil added inline comments to D12853: [native] introduce message searching to `CommCoreModule`.
Jul 23 2024, 8:05 AM
tomek planned changes to D12835: [lib] DMOperationSpec for add members operation.

Still have to figure out a distinction between this and JOIN_THREAD

Jul 23 2024, 7:59 AM
kamil updated the diff for D12852: [web] introduce message searching to shared worker.

merge types

Jul 23 2024, 7:58 AM
kamil updated the diff for D12851: [SQLite] implement tests for messages search.

address review

Jul 23 2024, 7:55 AM
tomek added inline comments to D12835: [lib] DMOperationSpec for add members operation.
Jul 23 2024, 7:45 AM
tomek added inline comments to D12835: [lib] DMOperationSpec for add members operation.
Jul 23 2024, 7:44 AM
tomek updated the diff for D12835: [lib] DMOperationSpec for add members operation.

Add the util

Jul 23 2024, 7:41 AM
tomek updated the diff for D12807: [lib] DMOperationSpec for edit operation.

Add to specs

Jul 23 2024, 7:30 AM
tomek updated the diff for D12806: [lib] DMOperationSpec for reaction operation.

Add to specs

Jul 23 2024, 7:28 AM
kamil added inline comments to D12843: [SQLite] add method for message search to SQLiteQueryExecutor for both web and native.
Jul 23 2024, 7:16 AM
kamil updated the diff for D12843: [SQLite] add method for message search to SQLiteQueryExecutor for both web and native.

rename

Jul 23 2024, 7:16 AM
marcin added inline comments to D12843: [SQLite] add method for message search to SQLiteQueryExecutor for both web and native.
Jul 23 2024, 7:15 AM
kamil published D12858: [lib] improve naming in Tunnelbroker socket for review.
Jul 23 2024, 7:06 AM
tomek 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 23 2024, 7:00 AM
tomek closed D12804: [native][web] Rename P2P messages methods.
Jul 23 2024, 6:46 AM
tomek committed rCOMMed98e4a6ebd2: [native][web] Rename P2P messages methods (authored by tomek).
[native][web] Rename P2P messages methods
Jul 23 2024, 6:46 AM
inka accepted D12851: [SQLite] implement tests for messages search.
Jul 23 2024, 6:44 AM
kamil published D12857: [lib] remove unused Tunnelbroker message validators for review.
Jul 23 2024, 6:41 AM
tomek added a comment to D12855: [SQLite] rename all QueryExecutor params to `camelCase`.

We can also build and run the native app as a part of the test plan.

Jul 23 2024, 6:39 AM
tomek accepted D12855: [SQLite] rename all QueryExecutor params to `camelCase`.
Jul 23 2024, 6:38 AM
tomek accepted D12854: [lib] introduce message searching to `SQLiteAPI`.
Jul 23 2024, 6:36 AM
tomek accepted D12853: [native] introduce message searching to `CommCoreModule`.
Jul 23 2024, 6:35 AM
tomek accepted D12852: [web] introduce message searching to shared worker.
Jul 23 2024, 6:28 AM
tomek accepted D12851: [SQLite] implement tests for messages search.

We can consider one more thing: sorting the returned messages.

Jul 23 2024, 6:25 AM
inka accepted D12844: [SQLite] implement query for searching messages.
Jul 23 2024, 6:22 AM
kamil published D12856: [Tunnelbroker][lib] cleanup Device <-> Tunnelbroker message types for review.
Jul 23 2024, 6:20 AM
tomek accepted D12850: [SQLite] add Emscripten bindings for message search.
Jul 23 2024, 6:16 AM
tomek accepted D12844: [SQLite] implement query for searching messages.
Jul 23 2024, 6:15 AM
inka accepted D12843: [SQLite] add method for message search to SQLiteQueryExecutor for both web and native.
Jul 23 2024, 6:14 AM
inka closed D12833: [lib][web][native] Create message search store ops.
Jul 23 2024, 6:12 AM