Page MenuHomePhabricator
Feed Advanced Search

Mar 10 2023

ashoat added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 10 2023, 11:01 AM
ashoat updated subscribers of D7030: [web] Use notifPermissionAlertInfo.
Mar 10 2023, 10:55 AM
ashoat accepted D6994: [web-db] implement types for `SubtleCrypto` module.
Mar 10 2023, 10:51 AM

Mar 9 2023

ashoat added inline comments to D7003: [Identity] Add client <-> identity protobuf defintions.
Mar 9 2023, 6:05 PM
ashoat added a comment to D7026: [keyserver][web] Add types for @matrix-org/olm.

I pulled this from the version of the types in node_modules. Will try to make those improvements, with exceptions for any methods that might not exist in this older version of Olm (I think you're looking at master, which I linked above)

Mar 9 2023, 2:39 PM
ashoat requested review of D7027: [web] Introduce Jest tests for Olm.
Mar 9 2023, 12:25 PM
ashoat requested review of D7026: [keyserver][web] Add types for @matrix-org/olm.
Mar 9 2023, 12:22 PM
ashoat added a comment to D7021: [keyserver] Use `build:debug` instead of `build` in `postinstall`.

Did we make sure this passed keyserver Docker build before landing? Just want to make that sure that running build:debug before we run build doesn't break build (doubt it)

Mar 9 2023, 11:47 AM
ashoat requested changes to D7023: [web] Add Flow types for WebCrypto / SubtleCrypto.

(To your queue and off my mine while you figure things out with @kamil)

Mar 9 2023, 11:46 AM
ashoat accepted D6558: Added web tests to .lintstagedrc and CI.
Mar 9 2023, 11:44 AM
ashoat accepted D6964: [native] Added new editing messages type to MessageSpecs in C++.
Mar 9 2023, 11:43 AM
ashoat added inline comments to D7019: [web] Fix missing WebCrypto mock in tests.
Mar 9 2023, 9:56 AM
ashoat accepted D7019: [web] Fix missing WebCrypto mock in tests.

Seems reasonable

Mar 9 2023, 9:55 AM
ashoat accepted D6966: [lib] Add 'hasBeenEdited' status to messages.
Mar 9 2023, 9:52 AM

Mar 8 2023

ashoat closed D7015: [native] Replace LayoutAnimation for driving fixed Tooltip animation.
Mar 8 2023, 8:47 PM
ashoat committed rCOMM5da7d4f027af: [native] Replace LayoutAnimation for driving fixed Tooltip animation (authored by ashoat).
[native] Replace LayoutAnimation for driving fixed Tooltip animation
Mar 8 2023, 8:47 PM
ashoat closed D7014: [native] Add transformX animation to ReactionSelectionPopover.
Mar 8 2023, 8:46 PM
ashoat committed rCOMM500d0970aa70: [native] Add transformX animation to ReactionSelectionPopover (authored by ashoat).
[native] Add transformX animation to ReactionSelectionPopover
Mar 8 2023, 8:46 PM
ashoat closed D7013: [native] Add transformY animation to ReactionSelectionPopover.
Mar 8 2023, 8:46 PM
ashoat committed rCOMM6d897bc853d8: [native] Add transformY animation to ReactionSelectionPopover (authored by ashoat).
[native] Add transformY animation to ReactionSelectionPopover
Mar 8 2023, 8:46 PM
ashoat closed D7012: [native] Animate opacity and scale of ReactionSelectionPopover.
Mar 8 2023, 8:46 PM
ashoat closed D7011: [native] Return popoverLocation from useReactionSelectionPopoverPosition.
Mar 8 2023, 8:46 PM
ashoat committed rCOMM0e9a5b52ebef: [native] Animate opacity and scale of ReactionSelectionPopover (authored by ashoat).
[native] Animate opacity and scale of ReactionSelectionPopover
Mar 8 2023, 8:46 PM
ashoat committed rCOMM7c524bbbe6d6: [native] Return popoverLocation from useReactionSelectionPopoverPosition (authored by ashoat).
[native] Return popoverLocation from useReactionSelectionPopoverPosition
Mar 8 2023, 8:46 PM
ashoat closed D7010: [native] Dedup useReactionSelectionPopoverPosition calls.
Mar 8 2023, 8:46 PM
ashoat committed rCOMMa2c24bcb8589: [native] Dedup useReactionSelectionPopoverPosition calls (authored by ashoat).
[native] Dedup useReactionSelectionPopoverPosition calls
Mar 8 2023, 8:46 PM
ashoat accepted D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

One thing not mentioned by @varun is that the current AUTH_TOKEN hack we use for keyserver is implemented on a per-service basis. So we can roll out a new service without "authorization headers", while maintaining the current keyserver paradigm.

Mar 8 2023, 8:04 PM
ashoat added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

Ahh sorry that was a bad misreading on my part, I get what you mean about user IDs now.

Mar 8 2023, 8:03 PM
ashoat added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

I'm more confused as to why are we're separating the protos / services out at all

Mar 8 2023, 3:25 PM
ashoat requested changes to D7003: [Identity] Add client <-> identity protobuf defintions.
  1. Huh wait a user should know their userID, did you guys discard of the concept of a userID entirely because you didn't see it in the whitepaper?
  2. I don't understand why we're separating into two services, can you explain that?
Mar 8 2023, 3:25 PM
ashoat requested review of D7011: [native] Return popoverLocation from useReactionSelectionPopoverPosition.
Mar 8 2023, 2:00 PM
ashoat requested review of D7015: [native] Replace LayoutAnimation for driving fixed Tooltip animation.
Mar 8 2023, 1:47 PM
ashoat updated the diff for D7012: [native] Animate opacity and scale of ReactionSelectionPopover.

Move some type changes from parent diff to this diff

Mar 8 2023, 1:45 PM
ashoat requested review of D7014: [native] Add transformX animation to ReactionSelectionPopover.
Mar 8 2023, 1:44 PM
ashoat added a comment to D7003: [Identity] Add client <-> identity protobuf defintions.

Hmm are we using usernames as an identifier? Ideally we use user IDs for that

Mar 8 2023, 1:42 PM
ashoat requested review of D7013: [native] Add transformY animation to ReactionSelectionPopover.
Mar 8 2023, 1:41 PM
ashoat requested review of D7012: [native] Animate opacity and scale of ReactionSelectionPopover.
Mar 8 2023, 1:40 PM
ashoat requested review of D7010: [native] Dedup useReactionSelectionPopoverPosition calls.
Mar 8 2023, 1:40 PM
ashoat accepted D7002: [native] Create AESCrypto Expo module.
Mar 8 2023, 10:28 AM
ashoat requested changes to D6966: [lib] Add 'hasBeenEdited' status to messages.

Can RobotextChatMessageInfoItem be edited?

Mar 8 2023, 10:16 AM
ashoat added a comment to D7001: [Identity] Rename IdentityService service to IdentityKeyserverService.

This honestly feels like bike-shedding… I’d love if we could start out the work on this project with a focus on derisking the big risks, rather than renaming things

Mar 8 2023, 9:40 AM
ashoat requested changes to D6966: [lib] Add 'hasBeenEdited' status to messages.

Can we avoid putting this in TextMessageInfo? I don't think it belongs there... and you're doing something pretty inconsistent with how we approached reactions.

Mar 8 2023, 7:14 AM
ashoat added inline comments to D6969: [web] Add to reducer logic handling community id picked in chat.
Mar 8 2023, 7:12 AM

Mar 7 2023

ashoat added inline comments to D6995: [web-db] implement crypto functions.
Mar 7 2023, 4:33 PM
ashoat added inline comments to D6994: [web-db] implement types for `SubtleCrypto` module.
Mar 7 2023, 4:32 PM
ashoat added inline comments to D6991: [web-db] implement basic app-worker connection types.
Mar 7 2023, 4:26 PM
ashoat accepted D6988: [web-db] not include `crypto`, `fs`, and `path` polyfills for workers.

The title is somewhat misleading, but mostly the fault of Webpack docs. Before this diff, the polyfills were not included. After this diff, each of these is set to the empty object (I think)

Mar 7 2023, 4:25 PM
ashoat added inline comments to D6987: [web-db] add Shared Worker config.
Mar 7 2023, 4:22 PM
ashoat closed D7000: [keyserver] Don't invalidate cookies for identity DDB population if codeVersion doesn't provide necessary info.
Mar 7 2023, 4:05 PM
ashoat committed rCOMM67f29b8e209d: [keyserver] Don't invalidate cookies for identity DDB population if codeVersion… (authored by ashoat).
[keyserver] Don't invalidate cookies for identity DDB population if codeVersion…
Mar 7 2023, 4:05 PM
ashoat accepted D6985: [web-db] add `localForage` dependency.
Mar 7 2023, 3:55 PM
ashoat accepted D6989: [web-db] copy `sql-wasm.wasm` from node modules to `dist`.
Mar 7 2023, 3:53 PM
ashoat added reviewers for D6989: [web-db] copy `sql-wasm.wasm` from node modules to `dist`: atul, ashoat.
Mar 7 2023, 3:53 PM
ashoat accepted D6981: [web-db] add `sql.js` dependency.
Mar 7 2023, 3:51 PM
ashoat published D7000: [keyserver] Don't invalidate cookies for identity DDB population if codeVersion doesn't provide necessary info for review.
Mar 7 2023, 3:06 PM
ashoat closed D6984: [keyserver] Non-identity parts for comparing users.
Mar 7 2023, 11:02 AM
ashoat committed rCOMM9753ab023be8: [keyserver] Non-identity parts for comparing users (authored by ashoat).
[keyserver] Non-identity parts for comparing users
Mar 7 2023, 11:02 AM
ashoat closed D6983: [keyserver] Introduce fetchNativeCookieIDsForUserIDs.
Mar 7 2023, 11:01 AM
ashoat closed D6982: [lib] Add deviceTypes constant for enumerating all valid mobile device types.
Mar 7 2023, 11:01 AM
ashoat committed rCOMM58b04c80494b: [keyserver] Introduce fetchNativeCookieIDsForUserIDs (authored by ashoat).
[keyserver] Introduce fetchNativeCookieIDsForUserIDs
Mar 7 2023, 11:01 AM
ashoat committed rCOMM1c789adc54f3: [lib] Add deviceTypes constant for enumerating all valid mobile device types (authored by ashoat).
[lib] Add deviceTypes constant for enumerating all valid mobile device types
Mar 7 2023, 11:01 AM
ashoat added a comment to D6982: [lib] Add deviceTypes constant for enumerating all valid mobile device types.

Not sure what you mean – deviceTypesObj can't be extended outside of this file since it's not exported. We're actually using Object.freeze for Flow, otherwise $Values<typeof deviceTypesObj> maps to string instead of 'ios' | 'android'

Mar 7 2023, 10:57 AM
ashoat accepted D6998: [keyserver] update compare-user.js to get missing users by querying identity service.

Please address comments before landing

Mar 7 2023, 10:55 AM
ashoat accepted D6997: [keyserver] add new compareUsers function to rust-node-addon.

JS looks good with some minor nits. Somebody should look at Rust

Mar 7 2023, 10:51 AM
ashoat accepted D6959: Run everuthing regarding NotificationsCryptoModule with native Android Accessible.

Okay, great – let's ship it!

Mar 7 2023, 8:34 AM
ashoat requested changes to D6959: Run everuthing regarding NotificationsCryptoModule with native Android Accessible.

I considered a solution like this, but I was worried that we would need some synchronization. @marcin, can you share some resources that show that NativeAndroidAccessProvider::runTask is "blocking", ie. it guarantees that the lambda passed to it will finish executing before it returns?

Mar 7 2023, 8:07 AM
ashoat requested review of D6983: [keyserver] Introduce fetchNativeCookieIDsForUserIDs.
Mar 7 2023, 7:49 AM
ashoat requested review of D6984: [keyserver] Non-identity parts for comparing users.
Mar 7 2023, 7:49 AM
ashoat requested review of D6982: [lib] Add deviceTypes constant for enumerating all valid mobile device types.
Mar 7 2023, 7:48 AM
ashoat accepted D6980: Revert "[native] Move CommSecureStore::get to main thread to avoid JNI crash".

(Please don't land until D6959 is accepted and ready to land as well)

Mar 7 2023, 6:27 AM
ashoat added inline comments to D6973: [web] Extract from drawer item code that can be reused in community items.
Mar 7 2023, 6:23 AM
ashoat accepted D6967: [native] Fix useIsCurrentUserStaff hook.
Mar 7 2023, 6:07 AM
ashoat added inline comments to D6965: [lib][native] Displaying edited messages from database.
Mar 7 2023, 6:07 AM
ashoat added inline comments to D6966: [lib] Add 'hasBeenEdited' status to messages.
Mar 7 2023, 6:06 AM
ashoat updated subscribers of D6961: [lib] Create types for message editing.

Separately, I think it might be good to add @ginsu to your list of reviewers for this work, given how recently he touched reactions

Mar 7 2023, 6:03 AM
ashoat added a comment to D6961: [lib] Create types for message editing.

Can you also updates lib/types/messages.js? EDIT ah I see these are in the next diff

Mar 7 2023, 6:02 AM
ashoat accepted D6960: [keyserver] try registerUser if loginUser fails in keyserver logInResponder.
Mar 7 2023, 5:52 AM
ashoat requested changes to D6959: Run everuthing regarding NotificationsCryptoModule with native Android Accessible.

Okay, based on that it sounds like your solution is probably better than mine.

Mar 7 2023, 5:51 AM

Mar 6 2023

ashoat requested changes to D6959: Run everuthing regarding NotificationsCryptoModule with native Android Accessible.

Open to it if there is some benefit over approach in D6958, but would like to see a discussion of tradeoffs.

Mar 6 2023, 4:56 PM
ashoat accepted D6919: Remove relevant notification from notifications center when receiving rescind in NSE.
Mar 6 2023, 4:55 PM
ashoat closed D6958: [native] Move CommSecureStore::get to main thread to avoid JNI crash.
Mar 6 2023, 1:25 PM
ashoat committed rCOMM980305ee4c95: [native] Move CommSecureStore::get to main thread to avoid JNI crash (authored by ashoat).
[native] Move CommSecureStore::get to main thread to avoid JNI crash
Mar 6 2023, 1:25 PM
ashoat closed D6957: [native] Fix broken error handling in getUserPublicKey.
Mar 6 2023, 1:25 PM
ashoat committed rCOMM55ea22ac5c60: [native] Fix broken error handling in getUserPublicKey (authored by ashoat).
[native] Fix broken error handling in getUserPublicKey
Mar 6 2023, 1:25 PM
ashoat requested review of D6958: [native] Move CommSecureStore::get to main thread to avoid JNI crash.
Mar 6 2023, 12:12 PM
ashoat added inline comments to D6773: Extend PlatformSpecificTools CommonCpp api with an API to retrieve notifications olm account storage path.
Mar 6 2023, 11:27 AM
ashoat added inline comments to D6781: Initialize notifications olm account in CommCoreModule and expose notifications public keys to JS.
Mar 6 2023, 11:27 AM
ashoat added inline comments to D6957: [native] Fix broken error handling in getUserPublicKey.
Mar 6 2023, 11:22 AM
ashoat requested review of D6957: [native] Fix broken error handling in getUserPublicKey.
Mar 6 2023, 11:17 AM
ashoat added inline comments to D6773: Extend PlatformSpecificTools CommonCpp api with an API to retrieve notifications olm account storage path.
Mar 6 2023, 11:12 AM
ashoat added inline comments to D6781: Initialize notifications olm account in CommCoreModule and expose notifications public keys to JS.
Mar 6 2023, 11:07 AM
ashoat added a comment to D6822: Sign concatenation of public and notif keypairs using private key of public identity.
Mar 6 2023, 10:53 AM
ashoat accepted D6956: [lib] Add `getSignedIdentityKeysBlob` to `getClientResponsesSelector`.
Mar 6 2023, 6:03 AM

Mar 4 2023

ashoat accepted D6952: [keyserver] Add `SIGNED_IDENTITY_KEYS_BLOB` to `clientResponseInputValidator`.

I'd probably include this with another diff tbh... I think it's easier to see stuff like this combined with the usage, and it's easier to put a concrete test plan too

Mar 4 2023, 5:08 PM
ashoat resigned from D6955: [keyserver] change how we load config for the identity service client.

Seems reasonable, defer to others on Rust

Mar 4 2023, 12:04 AM

Mar 3 2023

ashoat closed D6953: [keyserver] Fetch getRustAPI inline with where it's used.
Mar 3 2023, 3:32 PM
ashoat committed rCOMM88a455782466: [keyserver] Fetch getRustAPI inline with where it's used (authored by ashoat).
[keyserver] Fetch getRustAPI inline with where it's used
Mar 3 2023, 3:32 PM
ashoat requested review of D6953: [keyserver] Fetch getRustAPI inline with where it's used.
Mar 3 2023, 2:37 PM
ashoat added inline comments to D6944: [Keyserver/identity] Call identity service update_user.
Mar 3 2023, 1:30 PM
ashoat added inline comments to D6946: [keyserver] double-write to identity service from siweAuthResponder callpoint.
Mar 3 2023, 1:30 PM