Page MenuHomePhabricator
Feed Advanced Search

Apr 27 2023

ashoat accepted D7629: [native] introduce edit thread avatar provider.

Thanks for making this a clean refactor diff!

Apr 27 2023, 6:09 PM
ashoat requested changes to D7671: [Identity] Use content to describe main olm account.

Only looked at .proto changes

Apr 27 2023, 2:09 PM
ashoat added inline comments to D7618: [keyserver] Support external blobs in uploads table.
Apr 27 2023, 2:04 PM
ashoat accepted D7678: [keyserver] Send `updateTypes.UPDATE_USER` to peers on `updateUserAvatar`.
Apr 27 2023, 2:03 PM
ashoat added a comment to D7641: [native] hardcode avatar feature flag to true.

Sorry, this should have been explained in the diff. The main reason we're doing it this way are the issues in ENG-3252. Many of us (myself included) are currently unable to use the avatars feature because the request consistently times out when we open the app

Apr 27 2023, 2:00 PM
ashoat added inline comments to D7666: [web-db] stop persisting drafts in redux-persist.
Apr 27 2023, 1:55 PM
ashoat added a reviewer for D7658: [web-db] implement asynchronous `redux-persist` migrations: atul.
Apr 27 2023, 1:50 PM
ashoat added a comment to D7675: [desktop] Have `preinstall` fail silently if not on Windows.

https://phab.comm.dev/D7218?id=24775#inline-48333

Apr 27 2023, 1:47 PM
ashoat accepted D7677: [keyserver] Fix `usersToUpdate` logic in `deleteAccount`.

Change seems right though

Apr 27 2023, 1:33 PM
ashoat resigned from D7675: [desktop] Have `preinstall` fail silently if not on Windows.
Apr 27 2023, 1:31 PM
ashoat added a comment to D7677: [keyserver] Fix `usersToUpdate` logic in `deleteAccount`.

Test plan before / after seems identical? Maybe I'm missing something

Apr 27 2023, 1:31 PM
ashoat accepted D7624: [native] introduce user avatar camera modal.
Apr 27 2023, 1:30 PM
ashoat added 1 blocking reviewer(s) for D7675: [desktop] Have `preinstall` fail silently if not on Windows: michal.

I think this was intentional, but I forget why

Apr 27 2023, 1:30 PM
ashoat accepted D7584: [keyserver] Add function for fetching RawMessageInfo for rows and their related messages.
Apr 27 2023, 1:29 PM
ashoat accepted D7676: [native] make handlePhotoCapture return mixed instead of void.
Apr 27 2023, 1:27 PM
ashoat requested changes to D7657: Establish olm notifs session on both sides during registration.
Apr 27 2023, 1:10 PM
ashoat added inline comments to D7656: [lib] Introduce server update info validators.
Apr 27 2023, 1:09 PM
ashoat requested changes to D7654: Establish olm sessions for notifs on both sides during log-in.
Apr 27 2023, 1:07 PM
ashoat added inline comments to D7653: Create react hook to initialize olm notiications session and get first encrypted message for the keyserver.
Apr 27 2023, 1:02 PM
ashoat added inline comments to D7383: Refactor NotificationsCryptoModule. Add methods to initialize olm notifications session..
Apr 27 2023, 12:50 PM
ashoat accepted D7652: [lib] Allow calling message search from client.
Apr 27 2023, 12:44 PM
ashoat accepted D7651: [keyserver, lib] Add message search endpoint.
Apr 27 2023, 12:43 PM
ashoat requested changes to D7631: Implement utilities and database query wrapper to create new olm session on eht keyserver side.

Looks good!! Just a couple comments

Apr 27 2023, 12:42 PM
ashoat added inline comments to D7569: [lib] Introduce raw thread info validators.
Apr 27 2023, 12:37 PM
ashoat added inline comments to D7383: Refactor NotificationsCryptoModule. Add methods to initialize olm notifications session..
Apr 27 2023, 12:35 PM
ashoat accepted D7674: [yarn] Update `yarn.lock`.

Sorry

Apr 27 2023, 12:13 PM
ashoat added inline comments to D7615: [lib] Add Blob service utils.
Apr 27 2023, 12:11 PM
ashoat requested changes to D7618: [keyserver] Support external blobs in uploads table.

Nothing major here, but enough comments that I figured it would be good to do another cycle of review

Apr 27 2023, 12:09 PM
ashoat closed D7634: [web] Ignore opaque-ke WASM modules in .flowconfig.
Apr 27 2023, 10:55 AM
ashoat committed rCOMM8dfce4519bbe: [web] Ignore opaque-ke WASM modules in .flowconfig (authored by ashoat).
[web] Ignore opaque-ke WASM modules in .flowconfig
Apr 27 2023, 10:55 AM
ashoat closed D7633: Add opaque-ke WASM modules to .eslintignore.
Apr 27 2023, 10:55 AM
ashoat committed rCOMM3551a1cbbbe8: Add opaque-ke WASM modules to .eslintignore (authored by ashoat).
Add opaque-ke WASM modules to .eslintignore
Apr 27 2023, 10:55 AM
ashoat requested changes to D7646: [native] introduce thread avatar camera modal.
Apr 27 2023, 10:29 AM
ashoat accepted D7645: [native] improve factoring out redundant logic for saving an image thread avatar.

Same feedback as in D7628:

Apr 27 2023, 10:27 AM
ashoat accepted D7644: [native] move navigate to emoji thread avatar creation function to be within edit thread avatar.
Apr 27 2023, 10:25 AM
ashoat requested changes to D7643: [native] have upload thread avatar processing/uploading loader only appear for thread being updated.

I can't tell for sure, but it looks like you're moving and updating code in the same diff

Apr 27 2023, 10:24 AM
ashoat requested changes to D7629: [native] introduce edit thread avatar provider.

https://www.notion.so/commapp/Moving-code-around-bbb551c4350b4d5cb553c6751be44314

Apr 27 2023, 10:21 AM
ashoat accepted D7642: [native] improve user experience for remvoing an avatar.
Apr 27 2023, 10:17 AM
ashoat accepted D7641: [native] hardcode avatar feature flag to true.
Apr 27 2023, 10:16 AM
ashoat accepted D7640: [web] turn off dummy avatar feature flag.
Apr 27 2023, 10:16 AM
ashoat accepted D7639: [web] fix image avatar image being stretched.
Apr 27 2023, 10:15 AM
ashoat closed D7663: Update to @commapp/olm@0.0.7.
Apr 27 2023, 9:12 AM
ashoat committed rCOMMa0ab840dcf1e: Update to @commapp/olm@0.0.7 (authored by ashoat).
Update to @commapp/olm@0.0.7
Apr 27 2023, 9:12 AM
ashoat requested review of D7663: Update to @commapp/olm@0.0.7.
Apr 27 2023, 8:42 AM
ashoat added inline comments to D7586: Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession.
Apr 27 2023, 8:32 AM
ashoat accepted D7648: [native] Add UUID dependency.

We appear to use another version in other package.json files (3.3.3), but in yarn.lock it resolves to the same version:

Apr 27 2023, 8:12 AM
ashoat added a comment to D7586: Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession.

(Removing most reviewers to clear out their queues, feel free to re-add yourself if you're interested)

Apr 27 2023, 8:09 AM
ashoat removed reviewers for D7586: Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession: tomek, atul, inka, kamil, bartek.
Apr 27 2023, 8:09 AM
ashoat requested changes to D7586: Implement endpoint on the keyserver to get one time keys and prekey to initialize olmsession.
Apr 27 2023, 8:09 AM
ashoat accepted D7570: Implement prekey lifecycle on the keyserver.

I implemented temporary solution to prekey rotation in D7586. It is done only to the notifications prekey, however notifications prekey is the only prekey that is currently used and exchanged with clients, so by not marking primary prekey as published we are not running into security issues. So we can either leave it as it is or exclude primary prekey validation from the cron until primary prekey leaves keyserver ecosystem for the first time. I would prefer the first option.

Apr 27 2023, 8:01 AM
ashoat added inline comments to D7568: Implement fetcher and updater for olm accounts on the keyserver.
Apr 27 2023, 6:59 AM
ashoat requested changes to D7624: [native] introduce user avatar camera modal.
Apr 27 2023, 4:52 AM
ashoat accepted D7628: [native] improve factoring out redundant logic for saving an image user avatar.

It would be good to explain the reason for the changes here. Are these changes being made because you're going to reuse the factored-out code in a later diff in the stack, so it makes sense to factor out the shared logic here?

Apr 27 2023, 4:30 AM
ashoat accepted D7621: [native] move selecting from gallery logic from avatar hooks to edit user avatar provider.
Apr 27 2023, 4:19 AM
ashoat accepted D7626: [native] introduce edit user avatar provider scaffolding.
Apr 27 2023, 4:18 AM

Apr 26 2023

ashoat added inline comments to D7618: [keyserver] Support external blobs in uploads table.
Apr 26 2023, 1:25 PM
ashoat closed D7599: [native] Add SafeAreaView to RegistrationContainer.
Apr 26 2023, 1:23 PM
ashoat closed D7598: [native] Position RegistrationButton at the bottom of KeyserverSelection.
Apr 26 2023, 1:23 PM
ashoat committed rCOMMfd6dcca13669: [native] Add SafeAreaView to RegistrationContainer (authored by ashoat).
[native] Add SafeAreaView to RegistrationContainer
Apr 26 2023, 1:23 PM
ashoat closed D7597: [native] Add button to KeyserverSelection.
Apr 26 2023, 1:23 PM
ashoat committed rCOMM1a5b5db61cca: [native] Position RegistrationButton at the bottom of KeyserverSelection (authored by ashoat).
[native] Position RegistrationButton at the bottom of KeyserverSelection
Apr 26 2023, 1:23 PM
ashoat closed D7593: [native] Make RegistrationContainer scrollable.
Apr 26 2023, 1:23 PM
ashoat committed rCOMM4f0be980351c: [native] Add button to KeyserverSelection (authored by ashoat).
[native] Add button to KeyserverSelection
Apr 26 2023, 1:23 PM
ashoat committed rCOMMd91424c18a7d: [native] Make RegistrationContainer scrollable (authored by ashoat).
[native] Make RegistrationContainer scrollable
Apr 26 2023, 1:23 PM
ashoat closed D7592: [native] Connect selection state with TextInput state in KeyserverSelection.
Apr 26 2023, 1:23 PM
ashoat committed rCOMM7efe015177f4: [native] Connect selection state with TextInput state in KeyserverSelection (authored by ashoat).
[native] Connect selection state with TextInput state in KeyserverSelection
Apr 26 2023, 1:23 PM
ashoat accepted D7637: [native] Enable tests in CI.
Apr 26 2023, 1:22 PM
ashoat closed D7636: Add consistent-return ESLint rule.
Apr 26 2023, 1:18 PM
ashoat committed rCOMMd03b69fca3bb: Add consistent-return ESLint rule (authored by ashoat).
Add consistent-return ESLint rule
Apr 26 2023, 1:18 PM
ashoat closed D7635: Fix ESLint issues identified by consistent-return rule.
Apr 26 2023, 1:18 PM
ashoat committed rCOMM120892979924: Fix ESLint issues identified by consistent-return rule (authored by ashoat).
Fix ESLint issues identified by consistent-return rule
Apr 26 2023, 1:18 PM
ashoat requested review of D7634: [web] Ignore opaque-ke WASM modules in .flowconfig.
Apr 26 2023, 1:16 PM
ashoat requested review of D7633: Add opaque-ke WASM modules to .eslintignore.
Apr 26 2023, 1:14 PM
ashoat requested changes to D7630: [native] Blocking navigation in edit mode in ChatRouter.
Apr 26 2023, 10:18 AM
ashoat accepted D7585: [keyserver] Add function for fetching messages matching search query.

Looks great!

Apr 26 2023, 9:02 AM
ashoat requested changes to D7568: Implement fetcher and updater for olm accounts on the keyserver.

Removing some reviewers to avoid polluting their queues

Apr 26 2023, 6:46 AM
ashoat removed reviewers for D7570: Implement prekey lifecycle on the keyserver: tomek, atul, bartek, kamil, inka.

In my personal opinion there are too many reviewers here. If any of you want to be included in the review, feel free to re-add yourself... just figured it would be good to clear out your queue

Apr 26 2023, 6:40 AM
ashoat added a reviewer for D7570: Implement prekey lifecycle on the keyserver: • jon.
Apr 26 2023, 6:39 AM
ashoat requested changes to D7570: Implement prekey lifecycle on the keyserver.

We still have a problem here which is that we won't be doing any prekey rotation, since it appears that the rotation only happens if the prekey is marked as published. You can either mark the prekey as published here, and @jon will "undo" that once he is actually publishing the prekeys. Or we can change the conditions for the rotation to not look at whether the prekey has been published. Also open to other ideas, but prekey rotation is a must-have here

Apr 26 2023, 6:37 AM
ashoat accepted D7616: [lib] Shim Blob service hosted multimedia.

Thanks!!

Apr 26 2023, 6:35 AM
ashoat requested changes to D7630: [native] Blocking navigation in edit mode in ChatRouter.
Apr 26 2023, 6:29 AM

Apr 25 2023

ashoat requested changes to D7621: [native] move selecting from gallery logic from avatar hooks to edit user avatar provider.
Apr 25 2023, 6:04 PM
ashoat accepted D7627: [native] move setting ens avatar logic from avatar hooks to edit user avatar provider.

Please address inline comment before landing

Apr 25 2023, 6:03 PM
ashoat requested changes to D7626: [native] introduce edit user avatar provider scaffolding.

Small fixes

Apr 25 2023, 5:58 PM
ashoat updated the diff for D7599: [native] Add SafeAreaView to RegistrationContainer.

I was seeing an issue where the SafeAreaView was applying the bottom inset when the KeyboardAvoidingView was up. To address this, I moved the SafeAreaView upstream to RegistrationNavigator, and moved KeyboardAvoidingView downstream to RegistrationContainer

Apr 25 2023, 2:09 PM
ashoat updated the diff for D7598: [native] Position RegistrationButton at the bottom of KeyserverSelection.

As of my most recent updates to D7593, the RegistrationContainer now handles scrolling, so we now need to wrap it with a container View.

Apr 25 2023, 2:08 PM
ashoat updated the diff for D7597: [native] Add button to KeyserverSelection.

Rebase

Apr 25 2023, 2:04 PM
ashoat updated the summary of D7593: [native] Make RegistrationContainer scrollable.
Apr 25 2023, 2:04 PM
ashoat updated the diff for D7593: [native] Make RegistrationContainer scrollable.

Had to move the KeyboardAvoidingView into the RegistrationContainer so that:

Apr 25 2023, 2:03 PM
ashoat accepted D7622: [native] move navigate to emoji user avatar creation function to be within edit user avatar.

Address inline comment before landing

Apr 25 2023, 1:33 PM
ashoat requested changes to D7621: [native] move selecting from gallery logic from avatar hooks to edit user avatar provider.

https://www.notion.so/commapp/Moving-code-around-bbb551c4350b4d5cb553c6751be44314

Apr 25 2023, 1:25 PM
ashoat accepted D7623: [keyserver] `filterThreadEditAvatarPermission` based on `codeVersion` check.
Apr 25 2023, 1:22 PM
ashoat accepted D7625: [native] Update `updateClientDBThreadStoreThreadInfos` to use `values(...)`.
Apr 25 2023, 1:21 PM
ashoat accepted D7573: [native] convert useSelectFromGallery to selectFromGallery.
Apr 25 2023, 1:02 PM
ashoat accepted D7591: [native] add threadID to thread settings loading status selector custom keys.
Apr 25 2023, 1:01 PM
ashoat accepted D7620: [lib][keyserver] Expose upload_media_metadata endpoint.
Apr 25 2023, 12:48 PM
ashoat added inline comments to D7618: [keyserver] Support external blobs in uploads table.
Apr 25 2023, 12:45 PM
ashoat requested changes to D7616: [lib] Shim Blob service hosted multimedia.

Mainly concerned about codeVersion check

Apr 25 2023, 12:41 PM
ashoat accepted D7615: [lib] Add Blob service utils.
Apr 25 2023, 12:38 PM
ashoat closed D7604: [lib] Make threadInfo.roles read-only.
Apr 25 2023, 12:36 PM