Page MenuHomePhorge
Feed Search

Sep 5 2023

tomek committed rCOMM3e33858c2d9d: [lib] Make selector types more consistent.
Sep 5 2023, 2:03 PM
tomek added inline comments to D9048: [lib] Use specs to determine hash value for inner infos.
Sep 5 2023, 12:40 PM
tomek updated the diff for D9030: [lib] Convert infos to server as a part of a spec.

Merge imports

Sep 5 2023, 12:32 PM
tomek requested review of D9081: [keyserver] Handle new session state sync.
Sep 5 2023, 12:32 PM
tomek accepted D9068: Send blob holder in large notification payload.
Sep 5 2023, 11:09 AM
tomek accepted D9038: [terraform] Set up ECS Service Connect.

Seems reasonable, but might be a good idea for @varun to take a look.

Sep 5 2023, 10:56 AM

Sep 4 2023

tomek accepted D9072: [native] Add some memoization to `ChatThreadListSidebar`.
Sep 4 2023, 12:55 PM
tomek accepted D9071: [native] Add some memoization to `ColorSplotch`.
Sep 4 2023, 12:53 PM
tomek accepted D9070: [native] Add some memoization to `UnreadDot`.
Sep 4 2023, 12:39 PM
tomek accepted D9073: [lib] Add fetch timeout to reports service calls.

Have you tested a scenario where externalSignal is used?

Sep 4 2023, 12:36 PM
tomek accepted D9051: [native] Convert `ConnectedMessage` class component to functional `Message`.
Sep 4 2023, 12:05 PM

Sep 1 2023

tomek accepted D9055: [native] Add some memoization to `InnerTextMessage` component.
Sep 1 2023, 12:41 PM
tomek accepted D9054: [native] Add more memoization to `SwipeableMessage`.

Shouldn't this diff have a dependency on D9053? Also, the test plan seems to be incomplete

"Before":

"After":

Sep 1 2023, 12:30 PM
tomek accepted D9053: [native] Memoize `PanGestureHandler` props in `SwipeableMessage`.
Sep 1 2023, 10:50 AM
tomek accepted D9052: [native] Convert `ComposedMessage` into a functional component.
Sep 1 2023, 10:48 AM
tomek requested changes to D9051: [native] Convert `ConnectedMessage` class component to functional `Message`.
Sep 1 2023, 10:24 AM
tomek added a comment to D9050: [native] Add some memoization to `Timestamp` component.

You can consider using React.memo instead - might be a lot simpler.

Sep 1 2023, 10:12 AM
tomek accepted D9028: [native] Refactor the deep links context provider to support both invite links and QR code links.

Nice!

Sep 1 2023, 10:04 AM
tomek added inline comments to D9044: [lib][native] Unwrap sendReport from callServerEndpoint.
Sep 1 2023, 9:48 AM
tomek added inline comments to D9043: [lib] Replace sendReports keyserver call with Reports service.
Sep 1 2023, 9:45 AM
tomek added a comment to D9041: [lib] Add reports service facts.
In D9041#266461, @tomek wrote:

Should we also update the docs with the new facts file?

Which docs? Other services' facts don't have any docs IIRC 🤔

Sep 1 2023, 9:40 AM

Aug 31 2023

tomek requested review of D9049: [lib] Refactor the remaining part of the hash logic using specs.
Aug 31 2023, 3:53 PM
tomek added inline comments to D9028: [native] Refactor the deep links context provider to support both invite links and QR code links.
Aug 31 2023, 3:07 PM
tomek added a comment to D8871: [web][native] Refactor getDefaultTextMessageRules.

Although this change on its own doesn't have important disadvantages, the following diff D8846 makes it worse. The consequence is that we're wasting memory because _memoize remembers the result of each computation, while we only care about the most recent one. So it's better to reintroduce the previous approach.

Aug 31 2023, 2:51 PM
tomek requested review of D9048: [lib] Use specs to determine hash value for inner infos.
Aug 31 2023, 2:41 PM
tomek accepted D9047: [web] Fix wrong selector used to obtain connection.
Aug 31 2023, 1:29 PM
tomek accepted D9045: [native] Fix long ID display on crash screen.
Aug 31 2023, 12:46 PM
tomek accepted D9044: [lib][native] Unwrap sendReport from callServerEndpoint.
Aug 31 2023, 12:33 PM
tomek accepted D9043: [lib] Replace sendReports keyserver call with Reports service.
Aug 31 2023, 12:28 PM
tomek accepted D9042: [lib] Add function to send reports.
Aug 31 2023, 12:23 PM
tomek accepted D9041: [lib] Add reports service facts.

Should we also update the docs with the new facts file?

Aug 31 2023, 12:07 PM
tomek resigned from D9034: [services-lib] Introduce crypto module.

Dependencies look ok

Aug 31 2023, 11:54 AM
tomek accepted D9029: [native] Remove QRCodeLinkHandler from the codebase.
Aug 31 2023, 11:42 AM
tomek accepted D9028: [native] Refactor the deep links context provider to support both invite links and QR code links.

Shouldn't we delete QRCodeLinkHandler as a part of this diff?

Aug 31 2023, 11:41 AM
tomek accepted D9027: [native] Rename InviteLinksContext and InviteLinksContextProvider to DeepLinksContext and DeepLinksContextProvider.
Aug 31 2023, 11:29 AM
tomek accepted D9026: [lib/native] Extract link parsing utils to lib.
Aug 31 2023, 9:54 AM

Aug 30 2023

tomek requested review of D9031: [lib] Use specs to determine hash value for top-level infos.
Aug 30 2023, 4:59 PM
tomek requested review of D9030: [lib] Convert infos to server as a part of a spec.
Aug 30 2023, 4:25 PM
tomek closed D9009: [lib] Extract shared specs to a lib.
Aug 30 2023, 4:16 PM
tomek committed rCOMMee2829fe9a40: [lib] Extract shared specs to a lib.
Aug 30 2023, 4:16 PM
tomek closed D9008: [keyserver] Determine which infos to send based on specs.
Aug 30 2023, 4:16 PM
tomek committed rCOMM539ed8b32c7e: [keyserver] Determine which infos to send based on specs.
Aug 30 2023, 4:16 PM
tomek closed D8979: [keyserver] Determine which infos have invalid hashes based on specs.
Aug 30 2023, 4:16 PM
tomek closed D8977: [keyserver] Fetch specific data using specs.
Aug 30 2023, 4:16 PM
tomek committed rCOMM9f679f8667b0: [keyserver] Determine which infos have invalid hashes based on specs.
Aug 30 2023, 4:16 PM
tomek committed rCOMM83a22953c62e: [keyserver] Fetch specific data using specs.
Aug 30 2023, 4:16 PM
tomek closed D8976: [keyserver] Determine which ids to fetch based on specs.
Aug 30 2023, 4:16 PM
tomek closed D8949: [keyserver] Use specs to compute invalid top-level keys.
Aug 30 2023, 4:16 PM
tomek closed D8948: [keyserver] Generalize state_check status handling using specs.
Aug 30 2023, 4:16 PM
tomek committed rCOMM62cd9949117a: [keyserver] Determine which ids to fetch based on specs.
Aug 30 2023, 4:16 PM
tomek committed rCOMM7f4d6ac902d9: [keyserver] Use specs to compute invalid top-level keys.
Aug 30 2023, 4:16 PM
tomek committed rCOMM09562b850b78: [keyserver] Generalize state_check status handling using specs.
Aug 30 2023, 4:16 PM
tomek closed D8946: [keyserver] Simplify fetching threads.
Aug 30 2023, 4:16 PM
tomek closed D8941: [keyserver] Merge `fetchAll` and `fetchByID` functions.
Aug 30 2023, 4:16 PM
tomek closed D8927: [keyserver] Introduce keyserver state sync spec.
Aug 30 2023, 4:16 PM
tomek committed rCOMMb84c831e206f: [keyserver] Simplify fetching threads.
Aug 30 2023, 4:16 PM
tomek committed rCOMM9b65d8f28c36: [keyserver] Merge `fetchAll` and `fetchByID` functions.
Aug 30 2023, 4:16 PM
tomek committed rCOMM85ed6a9b0696: [keyserver] Introduce keyserver state sync spec.
Aug 30 2023, 4:16 PM
tomek closed D8925: [keyserver] Use Set as an argument of fetchEntryInfosByID.
Aug 30 2023, 4:16 PM
tomek closed D8926: [keyserver] Return object from fetchEntryInfosByID.
Aug 30 2023, 4:16 PM
tomek committed rCOMMc9f524a4dfb8: [keyserver] Return object from fetchEntryInfosByID.
Aug 30 2023, 4:16 PM
tomek committed rCOMMba61fbfe7ae9: [keyserver] Use Set as an argument of fetchEntryInfosByID.
Aug 30 2023, 4:16 PM
tomek requested review of D9025: [lib] Make selector types more consistent.
Aug 30 2023, 3:02 PM
tomek added a comment to D8979: [keyserver] Determine which infos have invalid hashes based on specs.

So it means that innerHashKey is defined only for collections, and should be null / undefined for top-level, non-iterable infos

Aug 30 2023, 2:23 PM
tomek added inline comments to D8946: [keyserver] Simplify fetching threads.
Aug 30 2023, 2:19 PM
tomek updated the diff for D8946: [keyserver] Simplify fetching threads.

Simplify thread state sync spec

Aug 30 2023, 2:18 PM
tomek added inline comments to D8927: [keyserver] Introduce keyserver state sync spec.
Aug 30 2023, 2:12 PM
tomek updated the diff for D8926: [keyserver] Return object from fetchEntryInfosByID.

Convert to string explicitly and return null if the entry isn't found

Aug 30 2023, 2:06 PM
tomek added inline comments to D8926: [keyserver] Return object from fetchEntryInfosByID.
Aug 30 2023, 1:43 PM
tomek accepted D8906: Correct error handling across Objective-C and C++.
Aug 30 2023, 12:41 PM
tomek accepted D8987: [reports-service] Add functions to send e-mails.
In D8987#265730, @tomek wrote:

The license is ok, but the library doesn't have too many downloads and the repo has only 6 stars. It also isn't mentioned by Postmark as official https://postmarkapp.com/developer/integration/official-libraries or community https://postmarkapp.com/developer/integration/community-libraries library. Are there any alternatives? Have we considered sending HTTP requests directly?

There's no official Rust library for Postmark. The service itself offers a REST API over which this library is a thin wrapper. We found it during 1:1 with @ashoat, I quickly looked at its source code and it looks alright. If you feel strongly, I can implement the API calls directly as a follow-up task, but this will introduce more maintenance overhead.
Quickly looked for other alternatives, but these libraries are poor or not maintained at all.

Aug 30 2023, 11:20 AM
tomek requested changes to D8987: [reports-service] Add functions to send e-mails.

The license is ok, but the library doesn't have too many downloads and the repo has only 6 stars. It also isn't mentioned by Postmark as official https://postmarkapp.com/developer/integration/official-libraries or community https://postmarkapp.com/developer/integration/community-libraries library. Are there any alternatives? Have we considered sending HTTP requests directly?

Aug 30 2023, 9:37 AM
tomek accepted D8983: [reports-service] Introduce e-mail template.

The dependency looks ok - has an appropriate license, is maintained, and doesn't have serious issues open. It also seems convenient to use, so it's probably not worth it to search for possible alternatives.

Aug 30 2023, 9:17 AM
tomek accepted D8975: [reports-service] Implement Blob storage.

The dependency looks ok

Aug 30 2023, 9:10 AM

Aug 29 2023

tomek requested review of D9009: [lib] Extract shared specs to a lib.
Aug 29 2023, 2:49 PM
tomek requested review of D9008: [keyserver] Determine which infos to send based on specs.
Aug 29 2023, 1:33 PM

Aug 28 2023

tomek accepted D8934: [keyserver/lib/web/native] Support external cameras scanning the QR code.

Looks great!

Aug 28 2023, 3:22 PM
tomek requested review of D8979: [keyserver] Determine which infos have invalid hashes based on specs.
Aug 28 2023, 1:46 PM
tomek requested review of D8977: [keyserver] Fetch specific data using specs.
Aug 28 2023, 12:55 PM
tomek requested review of D8976: [keyserver] Determine which ids to fetch based on specs.
Aug 28 2023, 12:25 PM
tomek accepted D8955: [native] introduce barebones bottom sheet component.
Aug 28 2023, 8:44 AM
tomek requested changes to D8934: [keyserver/lib/web/native] Support external cameras scanning the QR code.

Sorry for requesting changes once again, but the logic in invite-links-context-provider seems to be a little brittle and I'd like to verify the changes before landing.

Aug 28 2023, 8:31 AM

Aug 25 2023

tomek accepted D8950: Revert connction field refactor.

Reviewed mostly the migration

Aug 25 2023, 3:09 PM
tomek requested review of D8949: [keyserver] Use specs to compute invalid top-level keys.
Aug 25 2023, 1:03 PM
tomek requested review of D8948: [keyserver] Generalize state_check status handling using specs.
Aug 25 2023, 12:45 PM
tomek requested review of D8946: [keyserver] Simplify fetching threads.
Aug 25 2023, 11:02 AM
tomek requested review of D8941: [keyserver] Merge `fetchAll` and `fetchByID` functions.
Aug 25 2023, 10:16 AM
tomek requested changes to D8934: [keyserver/lib/web/native] Support external cameras scanning the QR code.

An additional thing worth testing is a case where Comm is closed when the code is scanned.

Aug 25 2023, 9:10 AM

Aug 24 2023

tomek accepted D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..
Aug 24 2023, 3:52 PM
tomek added 1 blocking reviewer(s) for D8795: Implement synchronization mechanisms to address process, thread and class level concurrency.: bartek.

Makes sense to me but might be a good idea for @bartek to also review this

Aug 24 2023, 3:52 PM
tomek accepted D8907: Introduce memory monitoring in NSE.
Aug 24 2023, 2:34 PM
tomek requested changes to D8906: Correct error handling across Objective-C and C++.
Aug 24 2023, 2:20 PM
tomek accepted D8905: Introduce thread-safety to NotificationsCryptoModule during cuncurrent access.
Aug 24 2023, 9:27 AM

Aug 23 2023

tomek requested review of D8926: [keyserver] Return object from fetchEntryInfosByID.
Aug 23 2023, 1:59 PM
tomek requested review of D8925: [keyserver] Use Set as an argument of fetchEntryInfosByID.
Aug 23 2023, 1:35 PM

Aug 22 2023

tomek requested changes to D8907: Introduce memory monitoring in NSE.
Aug 22 2023, 6:12 PM
tomek accepted D8906: Correct error handling across Objective-C and C++.
Aug 22 2023, 5:44 PM
tomek accepted D8905: Introduce thread-safety to NotificationsCryptoModule during cuncurrent access.
Aug 22 2023, 5:29 PM
tomek requested changes to D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..

Make this diff contain synchronization implementation only.

Aug 22 2023, 5:09 PM
tomek closed D8776: [keyserver] Group entry and message infos by threadID instead of iterating over them for each JOIN_THREAD update.
Aug 22 2023, 12:51 PM