Page MenuHomePhabricator
Feed Advanced Search

Mar 31 2023

ashoat accepted D7077: [keyserver] Process new messages for search.

Reaccepting to unblock for now, in case you want to land and address later

Mar 31 2023, 8:44 AM
ashoat accepted D7251: [native][lib] Introduce media cache context.

Reaccepting to unblock for now, in case you want to land and fix later

Mar 31 2023, 8:43 AM
ashoat added inline comments to D7251: [native][lib] Introduce media cache context.
Mar 31 2023, 7:25 AM
ashoat added a comment to D7077: [keyserver] Process new messages for search.

It's at the bottom of this diff, I think you maybe didn't see it?

Mar 31 2023, 6:31 AM
ashoat added a comment to D7252: [native] Implement filesystem media cache.

Please escape the . character in the RegExp before landing! Sorry I didn't notice this in my suggestion

Mar 31 2023, 6:25 AM
ashoat added inline comments to D7251: [native][lib] Introduce media cache context.
Mar 31 2023, 6:17 AM
ashoat added inline comments to D7257: [native] Add `avatar` column to clientDB `threads` table.
Mar 31 2023, 5:38 AM
ashoat accepted D7265: [native] improve avatar component prop types.
Mar 31 2023, 5:36 AM
ashoat accepted D7262: [native] introude thread avatar component.

One concern inline, please address before landing

Mar 31 2023, 5:34 AM
ashoat accepted D7264: [lib/native] change useGetAvatarForThread to useAvatarForThread.
Mar 31 2023, 5:31 AM
ashoat accepted D7263: [native] switch all thread avatars to use ThreadAvatar component instead of Avatar.
Mar 31 2023, 5:30 AM
ashoat accepted D7260: [native/lib] introduce useENSResolvedAvatar hook in avatar-utils.
Mar 31 2023, 5:30 AM

Mar 30 2023

ashoat accepted D7261: [docs] update docs with instructions for running identity service.

Ah okay. Does that default always apply regardless of dev / prod mode? I guess that's convenient to be able to access from dev / prod mode of local keyserver. I wonder how to configure with Docker keyserver (I assume it won't be able to hit localhost, and will need some sort of config in the Docker Compose) but that's a topic for another day

Mar 30 2023, 5:54 PM
ashoat added inline comments to D7262: [native] introude thread avatar component.
Mar 30 2023, 5:51 PM
ashoat requested changes to D7263: [native] switch all thread avatars to use ThreadAvatar component instead of Avatar.

In all of these cases we already have the threadInfo. Instead of requiring ThreadAvatar to fetch it again, should we just pass it in directly?

Mar 30 2023, 5:50 PM
ashoat requested changes to D7262: [native] introude thread avatar component.

Looks good but see comments in D7260. I think we should move the userInfo fetch here and pass in ensAddress to useAvatarForUserID (which should get renamed to eg. useENSResolvedAvatar)

Mar 30 2023, 5:35 PM
ashoat requested changes to D7260: [native/lib] introduce useENSResolvedAvatar hook in avatar-utils.

Actually after reading D7262 it took me way too long to understand what was going on here. I think we can improve readability

Mar 30 2023, 5:34 PM
ashoat accepted D7260: [native/lib] introduce useENSResolvedAvatar hook in avatar-utils.
Mar 30 2023, 4:47 PM
ashoat accepted D7257: [native] Add `avatar` column to clientDB `threads` table.

Seems right

Mar 30 2023, 4:46 PM
ashoat added a reviewer for D7257: [native] Add `avatar` column to clientDB `threads` table: kamil.
Mar 30 2023, 4:46 PM
ashoat accepted D7259: [native] switch all user avatars to use UserAvatar component instead of Avatar.
Mar 30 2023, 4:45 PM
ashoat accepted D7254: [native] Cache decrypted media.
Mar 30 2023, 4:40 PM
ashoat added inline comments to D7251: [native][lib] Introduce media cache context.
Mar 30 2023, 4:37 PM
ashoat accepted D7252: [native] Implement filesystem media cache.
Mar 30 2023, 4:35 PM
ashoat accepted D7251: [native][lib] Introduce media cache context.

Please address the nits before landing. Defer to you on whether the race condition I highlighted in set should be addressed or not

Mar 30 2023, 3:39 PM
ashoat added a comment to D7261: [docs] update docs with instructions for running identity service.
In D7261#215947, @varun wrote:

Without identityAuthToken I'm getting this error from rust-node-addon:

thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Error("key must be a string", line: 1, column: 2)', src/identity_client/mod.rs:58:47

hmmm can you echo $COMM_JSONCONFIG_secrets_identity_service_config? it looks like the env var is currently set to invalid JSON

Mar 30 2023, 3:25 PM
ashoat accepted D7236: [native] Encrypt files during media mission.
Mar 30 2023, 3:20 PM
ashoat added a comment to D7261: [docs] update docs with instructions for running identity service.

Without identityAuthToken I'm getting this error from rust-node-addon:

Mar 30 2023, 3:05 PM
ashoat accepted D7235: [lib] Support encrypted media types in updateMultimediaMessageMediaAction.

Thanks for explaining!

Mar 30 2023, 3:03 PM
ashoat accepted D7140: [lib] Displaying edited content in a pending thread.
Mar 30 2023, 2:56 PM
ashoat accepted D7238: [keyserver] Add type workaround for Intl.Segmenter.
Mar 30 2023, 2:54 PM
ashoat requested changes to D7261: [docs] update docs with instructions for running identity service.

EDIT ignore this comment - I was confused. It seems that no additional config is necessary to test in dev mode.

Mar 30 2023, 2:46 PM
ashoat accepted D7077: [keyserver] Process new messages for search.

It would be good to have unit tests for segmentAndStem, but I don't want to block you from landing this. Can you create a follow-up task for that before landing?

Mar 30 2023, 2:22 PM
ashoat accepted D7248: [web-db] clean-up processing app requests on worker.

Thanks for separating this out!

Mar 30 2023, 2:04 PM
ashoat added inline comments to D7256: [identity] bump aws-config and aws-sdk-dynamodb crate versions.
Mar 30 2023, 1:50 PM
ashoat accepted D7225: [native] Add component to display encrypted images.

Thanks for the detailed explanation and code example, @bartek – it looks like your approach is correct here

Mar 30 2023, 8:59 AM
ashoat accepted D7253: [desktop] Embed windows runtime installer.
Mar 30 2023, 8:25 AM
ashoat accepted D7218: [desktop] Modify the generated native windows notifs module.
Mar 30 2023, 8:18 AM
ashoat accepted D7250: [desktop] Include generated native windows notifs.
Mar 30 2023, 8:12 AM
ashoat added a comment to D7250: [desktop] Include generated native windows notifs.

I just had a 1:1 with @michal and asked for detailed instructions for how to generate this diff:

Mar 30 2023, 8:12 AM
ashoat added a comment to D7245: [native] update Image import to use expo-image in Multimedia component.

Thanks for fixing this!

Mar 30 2023, 7:55 AM
ashoat closed D7239: [keyserver] Don't swallow identity service exceptions in logInResponder.
Mar 30 2023, 6:15 AM
ashoat committed rCOMM0f09a5ec2291: [keyserver] Don't swallow identity service exceptions in logInResponder (authored by ashoat).
[keyserver] Don't swallow identity service exceptions in logInResponder
Mar 30 2023, 6:15 AM
ashoat accepted D7246: [native] introduce user avatar component.
Mar 30 2023, 6:14 AM
ashoat accepted D7232: [native] Extract LoadableImage component.
Mar 30 2023, 6:09 AM
ashoat added inline comments to D7232: [native] Extract LoadableImage component.
Mar 30 2023, 6:09 AM
ashoat requested changes to D7225: [native] Add component to display encrypted images.

Have you tried the code snippet I suggested in my first review on Tuesday? Does it work or no?

Mar 30 2023, 5:46 AM
ashoat resigned from D7241: [Identity] Add opaque2 users table.

Don't have much more to say

Mar 30 2023, 5:41 AM
ashoat added inline comments to D7241: [Identity] Add opaque2 users table.
Mar 30 2023, 5:41 AM
ashoat requested changes to D7140: [lib] Displaying edited content in a pending thread.

"Add useMemo" isn't a good follow-up task, please respond to the diff comments here directly

Mar 30 2023, 4:43 AM

Mar 29 2023

ashoat accepted D7243: [native] Set SQLite DB password to `DEBUG` for `DEBUG` builds.

What happens if you deploy a debug build to an iOS device that previously had a release build? It would be able to keep using the previously determined encryptionKey, right? (And vice versa, going from debug to release?)

Mar 29 2023, 2:31 PM
ashoat added inline comments to D7241: [Identity] Add opaque2 users table.
Mar 29 2023, 1:12 PM
ashoat requested changes to D7077: [keyserver] Process new messages for search.

I'm also wondering if we should remove the punctuation from inside of words. Maybe only strip the punctuation at the beginning and at the end? Since it makes sense to leave o'clock and 100,000 and such.

Mar 29 2023, 1:09 PM
ashoat accepted D7240: [keyserver] Redirect to the right store depending on the user agent.
Mar 29 2023, 1:07 PM
ashoat requested changes to D7238: [keyserver] Add type workaround for Intl.Segmenter.
Mar 29 2023, 1:03 PM
ashoat added inline comments to D7235: [lib] Support encrypted media types in updateMultimediaMessageMediaAction.
Mar 29 2023, 12:59 PM
ashoat added a comment to D7235: [lib] Support encrypted media types in updateMultimediaMessageMediaAction.

Just a question:

Mar 29 2023, 12:58 PM
ashoat added a comment to D7232: [native] Extract LoadableImage component.

Just a question. Will leave it on others' queue in case they have review comments

Mar 29 2023, 11:45 AM
ashoat added inline comments to D7241: [Identity] Add opaque2 users table.
Mar 29 2023, 11:35 AM
ashoat accepted D7223: [lib] Add utilities for Uint8Array data.
Mar 29 2023, 11:32 AM
ashoat requested changes to D7225: [native] Add component to display encrypted images.

Sorry for requesting changes again, but I have a couple of questions. If you don't think any changes are necessary, please feel free to respond to my questions and re-request review!

Mar 29 2023, 10:16 AM
ashoat added inline comments to D7193: Save message instantly to redux for both foregrounded and backgrounded app.
Mar 29 2023, 10:05 AM
ashoat accepted D7227: [native] Add encrypted source support in <Multimedia>.
Mar 29 2023, 10:04 AM
ashoat requested review of D7239: [keyserver] Don't swallow identity service exceptions in logInResponder.
Mar 29 2023, 10:02 AM
ashoat added inline comments to D7117: [keyserver] Add migration - process messages in our db for search.
Mar 29 2023, 10:01 AM
ashoat added a comment to D7117: [keyserver] Add migration - process messages in our db for search.

s/down/done corrects a typo of "down" with "done". It's using SED syntax for find-replace

Mar 29 2023, 10:00 AM
ashoat added inline comments to D7117: [keyserver] Add migration - process messages in our db for search.
Mar 29 2023, 10:00 AM

Mar 28 2023

ashoat added inline comments to D7222: [lib] Add function to calculate padding size.
Mar 28 2023, 6:25 PM
ashoat accepted D7215: [native] make generateNonce callable from js.
Mar 28 2023, 1:46 PM
ashoat accepted D7230: [lib] Add option to force-create multimedia-type message.
Mar 28 2023, 1:46 PM
ashoat closed D7201: [web][keyserver] Webpack config and client logic to access opaque-ke2 WASM bindings.
Mar 28 2023, 1:41 PM
ashoat committed rCOMM506aacc7ccc0: [web][keyserver] Webpack config and client logic to access opaque-ke2 WASM… (authored by ashoat).
[web][keyserver] Webpack config and client logic to access opaque-ke2 WASM…
Mar 28 2023, 1:41 PM
ashoat added a comment to D7212: [lib][web][native] Introduce commServicesAccessToken to Redux state.
In D7212#214878, @atul wrote:

Might be missing something, but should we add a migration to native that adds commServicesAccessToken field to Redux if it doesn't already exist?

Mar 28 2023, 1:34 PM
ashoat requested changes to D7223: [lib] Add utilities for Uint8Array data.

Requesting changes to either "rewrite with inspiration" or to move copy-pasted code to a third-party folder with the license

Mar 28 2023, 1:24 PM
ashoat added inline comments to D7225: [native] Add component to display encrypted images.
Mar 28 2023, 1:10 PM
ashoat added inline comments to D7226: [native] VideoPlaybackModal support for encrypted video.
Mar 28 2023, 1:07 PM
ashoat requested changes to D7227: [native] Add encrypted source support in <Multimedia>.

Minor comments

Mar 28 2023, 1:00 PM
ashoat added inline comments to D7225: [native] Add component to display encrypted images.
Mar 28 2023, 12:41 PM
ashoat requested changes to D7225: [native] Add component to display encrypted images.
Mar 28 2023, 12:40 PM
ashoat added inline comments to D7223: [lib] Add utilities for Uint8Array data.
Mar 28 2023, 12:30 PM
ashoat added inline comments to D7224: [native] Add function to decrypt media file.
Mar 28 2023, 12:25 PM
ashoat added inline comments to D7217: [keyserver] Introduce endpoint for deep linking.
Mar 28 2023, 11:31 AM
ashoat added inline comments to D7217: [keyserver] Introduce endpoint for deep linking.
Mar 28 2023, 11:25 AM
ashoat accepted D7065: [native] Added displaying labels to InlineEngagement.
Mar 28 2023, 11:24 AM
ashoat added inline comments to D7215: [native] make generateNonce callable from js.
Mar 28 2023, 11:22 AM
ashoat added 1 blocking reviewer(s) for D7201: [web][keyserver] Webpack config and client logic to access opaque-ke2 WASM bindings: atul.
Mar 28 2023, 11:21 AM
ashoat accepted D7220: [keyserver] Update pinnedCount when a message is pinned and unpinned.
Mar 28 2023, 11:21 AM
ashoat accepted D7219: [keyserver] Include debug fingerprint.
Mar 28 2023, 9:56 AM
ashoat added a comment to D7218: [desktop] Modify the generated native windows notifs module.
  1. Can you separate the codegenned parts and your modifications into separate diffs?
  2. For the codegenned diffs, can you list the exact commands you ran to generate the code?
Mar 28 2023, 7:28 AM
ashoat added inline comments to D7117: [keyserver] Add migration - process messages in our db for search.
Mar 28 2023, 6:15 AM
ashoat added a comment to D7077: [keyserver] Process new messages for search.

Intl.Segmenter seems like the best bet! We can figure out the Flow types... worst case we might need to do something like const OurIntl: OurIntlType = (Intl: any); or something.

Mar 28 2023, 6:10 AM
ashoat accepted D7143: [lib] Function to dispatch edit message action.
Mar 28 2023, 6:01 AM
ashoat accepted D7129: [lib] Added new 'sendEditMessage' action.
Mar 28 2023, 6:00 AM
ashoat added inline comments to D7017: [web] Added displaying 'Labels' to InlineEngagment.
Mar 28 2023, 5:59 AM
ashoat accepted D7141: [keyserver] Display edited message in the sidebar if the source message is edited.

Perfect!

Mar 28 2023, 5:58 AM
ashoat added inline comments to D7140: [lib] Displaying edited content in a pending thread.
Mar 28 2023, 5:51 AM
ashoat accepted D7217: [keyserver] Introduce endpoint for deep linking.
Mar 28 2023, 5:48 AM
ashoat accepted D7216: [native] Add boilerplate for deep links on iOS.
Mar 28 2023, 5:45 AM
ashoat accepted D7117: [keyserver] Add migration - process messages in our db for search.

Accepting with a question. Don't think we need to throw the last result away

Mar 28 2023, 5:45 AM
ashoat requested changes to D7065: [native] Added displaying labels to InlineEngagement.

Just nits, but requesting changes because some of them are non-obvious and I want to confirm it's implemented right before you land :)

Mar 28 2023, 5:41 AM