Page MenuHomePhabricator
Feed Advanced Search

Apr 12 2023

ashoat committed rCOMMa9b9d0516933: [keyserver] Move update-geoip to an earlier step in Docker build (authored by ashoat).
[keyserver] Move update-geoip to an earlier step in Docker build
Apr 12 2023, 6:10 AM

Apr 11 2023

ashoat requested review of D7389: [web] Make ChatThreadComposer search bar auto-focus.
Apr 11 2023, 2:15 PM
ashoat requested review of D7388: [web] Fix chat composer when no active thread.
Apr 11 2023, 2:13 PM
ashoat accepted D7386: [services][identity] add VerifyUserAccessToken to identity_client.proto.
Apr 11 2023, 1:26 PM
ashoat accepted D7385: [keyserver] Update `user-fetchers` to handle image avatars.
Apr 11 2023, 12:55 PM
ashoat updated the diff for D7370: [keyserver] Move update-geoip to an earlier step in Docker build.

Re-add # shellcheck source=/dev/null

Apr 11 2023, 12:39 PM
ashoat added inline comments to D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 11 2023, 12:38 PM
ashoat added inline comments to D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 11 2023, 12:36 PM
ashoat updated the diff for D7370: [keyserver] Move update-geoip to an earlier step in Docker build.

Synced with @jon offline. We came to the conclusion that bash does not close the double quote in "$( until it encounters a )", so we're safe to use a double quote inside the subshell

Apr 11 2023, 12:34 PM
ashoat requested review of D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 11 2023, 11:37 AM
ashoat added a comment to D7370: [keyserver] Move update-geoip to an earlier step in Docker build.

I still do not understand if it's dangerous to leave the variable unquoted. You and Shellcheck both seem to think that bash variables need to be quoted, but you are both suggesting a solution where it is not quoted. Can you please clarify why you think it's safe to leave the variable unquoted?

Apr 11 2023, 11:37 AM
ashoat requested review of D7370: [keyserver] Move update-geoip to an earlier step in Docker build.

You addressed a lot of things, but you didn't address the thing I asked for re-review on. Can you respond to this please?

Apr 11 2023, 9:57 AM
ashoat requested review of D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 11 2023, 9:03 AM
ashoat accepted D7384: [Scripts] Ensure docker is running before starting localstack.

I wish you had deferred this work instead of randomly picking it up. You probably thought it would be easy, but now you have a diff and going to have to spend even more time on this responding to comments...

Apr 11 2023, 8:31 AM
ashoat added inline comments to D7381: Implement prekey lifecycle in `CryptoModule`..
Apr 11 2023, 7:25 AM
ashoat added a comment to D7341: [web] Move reducing logic for picking a community to its own reducer.

I agree we should only be changing calendar filters in one place. Can we move the logic for changing them here to lib?

Apr 11 2023, 6:49 AM
ashoat added a comment to D7370: [keyserver] Move update-geoip to an earlier step in Docker build.

@jon – ping on this, please make sure to monitor your review queue!

Apr 11 2023, 6:37 AM
ashoat added inline comments to D7381: Implement prekey lifecycle in `CryptoModule`..
Apr 11 2023, 6:24 AM
ashoat updated subscribers of D7381: Implement prekey lifecycle in `CryptoModule`..

cc @anunay@marcin already has a diff up with X3DH, one day after we landed it! Exciting

Apr 11 2023, 6:20 AM

Apr 10 2023

ashoat added inline comments to D7378: [native] add edit avatar badge to thread avatar.
Apr 10 2023, 1:43 PM
ashoat resigned from D7211: [keyserver/lib/native] Store the number of pinned messages in ThreadInfo.

@atul has recently worked on the permission migration stuff and is more familiar with the SQLite redux-persist migration stuff, so will defer to him

Apr 10 2023, 1:30 PM
ashoat accepted D7379: [keyserver] Update `deleteAccount` to handle user image avatars.

This is safe because uploads has an index on container (would be good to note this in your Test Plan)

Apr 10 2023, 1:29 PM
ashoat added a comment to D7377: [keyserver] Update `deleteThread` and `deleteInaccessibleThreads` to handle thread image avatars.

This is safe because uploads has an index on container (would be good to note this in your Test Plan)

Apr 10 2023, 1:29 PM
ashoat accepted D7378: [native] add edit avatar badge to thread avatar.

Please do not land if this could potentially lead to us publishing a build that has a button that does nothing

Apr 10 2023, 1:28 PM
ashoat requested changes to D7375: [keyserver] Introduce `assignUserContainerToMedia`.

Where is this used? Can you include the usage in this diff please? It's hard to review these standalone functions without seeing how they're used

Apr 10 2023, 1:25 PM
ashoat requested changes to D7376: [keyserver] Introduce `assignThreadContainerToMedia`.

Where is this used? Can you include the usage in this diff please? It's hard to review these standalone functions without seeing how they're used

Apr 10 2023, 1:25 PM
ashoat accepted D7377: [keyserver] Update `deleteThread` and `deleteInaccessibleThreads` to handle thread image avatars.
Apr 10 2023, 1:24 PM
ashoat requested changes to D7359: [native] implement onPressSetAvatar function.
Apr 10 2023, 1:23 PM
ashoat closed D7374: Delete iOS XCTest GitHub Actions CI workflow.
Apr 10 2023, 12:35 PM
ashoat committed rCOMM68dfc153777d: Delete iOS XCTest GitHub Actions CI workflow (authored by ashoat).
Delete iOS XCTest GitHub Actions CI workflow
Apr 10 2023, 12:35 PM
ashoat requested review of D7374: Delete iOS XCTest GitHub Actions CI workflow.
Apr 10 2023, 12:09 PM
ashoat accepted D7373: [native] change outerRingSelectedColor prop type from string to ViewStyle.
Apr 10 2023, 12:04 PM
ashoat accepted D7323: [native] introduce emoji avatar creation screen.

Please make sure CI passes before landing

Apr 10 2023, 12:03 PM
ashoat closed D7372: [web] Use toBeDefined in web Olm tests.
Apr 10 2023, 11:41 AM
ashoat committed rCOMMe8e2957141fc: [web] Use toBeDefined in web Olm tests (authored by ashoat).
[web] Use toBeDefined in web Olm tests
Apr 10 2023, 11:41 AM
ashoat accepted D7353: [native] changed name of loginText to whiteText.
Apr 10 2023, 11:40 AM
ashoat requested review of D7372: [web] Use toBeDefined in web Olm tests.
Apr 10 2023, 10:55 AM
ashoat closed D7371: [lib][web] Add identity service config to Webpack build.
Apr 10 2023, 10:36 AM
ashoat committed rCOMM3c00d53b7747: [lib][web] Add identity service config to Webpack build (authored by ashoat).
[lib][web] Add identity service config to Webpack build
Apr 10 2023, 10:36 AM
ashoat closed D7090: Unit tests for Olm's new X3DH methods.
Apr 10 2023, 10:22 AM
ashoat closed D7091: [native] Fork Olm.
Apr 10 2023, 10:22 AM
ashoat closed D7089: [web][keyserver] Fork Olm.
Apr 10 2023, 10:22 AM
ashoat committed rCOMM4be48ba24af2: Unit tests for Olm's new X3DH methods (authored by ashoat).
Unit tests for Olm's new X3DH methods
Apr 10 2023, 10:22 AM
ashoat committed rCOMM88f39387453f: [native] Fork Olm (authored by ashoat).
[native] Fork Olm
Apr 10 2023, 10:22 AM
ashoat committed rCOMMc703140bc275: [web][keyserver] Fork Olm (authored by ashoat).
[web][keyserver] Fork Olm
Apr 10 2023, 10:22 AM
ashoat closed D7083: Amended Account & Session types..
Apr 10 2023, 10:22 AM
ashoat committed rCOMMa43833d22c7d: Amended Account & Session types. (authored by anunay).
Amended Account & Session types.
Apr 10 2023, 10:22 AM
ashoat updated the diff for D7090: Unit tests for Olm's new X3DH methods.

Use toBeDefined(), rebase

Apr 10 2023, 10:04 AM
ashoat updated the diff for D7091: [native] Fork Olm.

Update to 0.0.4

Apr 10 2023, 10:03 AM
ashoat updated the diff for D7089: [web][keyserver] Fork Olm.

Update to 0.0.4

Apr 10 2023, 10:00 AM
ashoat updated the diff for D7090: Unit tests for Olm's new X3DH methods.

Rebase

Apr 10 2023, 9:46 AM
ashoat updated the diff for D7091: [native] Fork Olm.

Update to 0.0.3

Apr 10 2023, 9:46 AM
ashoat updated the diff for D7089: [web][keyserver] Fork Olm.

Update to 0.0.3

Apr 10 2023, 9:40 AM
ashoat requested review of D7371: [lib][web] Add identity service config to Webpack build.
Apr 10 2023, 9:38 AM
ashoat updated the diff for D7083: Amended Account & Session types..

Add unpublished_prekey

Apr 10 2023, 9:36 AM
ashoat added a comment to D7211: [keyserver/lib/native] Store the number of pinned messages in ThreadInfo.

Great catch on the descendant permissions! Glad we did this testing

Apr 10 2023, 9:26 AM
ashoat added inline comments to D7353: [native] changed name of loginText to whiteText.
Apr 10 2023, 8:42 AM

Apr 9 2023

ashoat added inline comments to D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 9 2023, 8:25 PM
ashoat updated the diff for D7370: [keyserver] Move update-geoip to an earlier step in Docker build.

Add declare

Apr 9 2023, 8:22 PM
ashoat closed D7369: [keyserver] Add keyserver/certs to .gitignore.
Apr 9 2023, 8:15 PM
ashoat committed rCOMMc6043c4fa5cf: [keyserver] Add keyserver/certs to .gitignore (authored by ashoat).
[keyserver] Add keyserver/certs to .gitignore
Apr 9 2023, 8:15 PM
ashoat added 1 blocking reviewer(s) for D7370: [keyserver] Move update-geoip to an earlier step in Docker build: jon.

Extracting to a bash file makes sense... it's way more readable, and we're able to get Shellcheck to run on it. That said, Shellcheck was a bit confused on one line (I think) – would love to get @jon's take

Apr 9 2023, 8:13 PM
ashoat updated the diff for D7370: [keyserver] Move update-geoip to an earlier step in Docker build.

Extract to a bash file

Apr 9 2023, 8:10 PM
ashoat added a comment to D7211: [keyserver/lib/native] Store the number of pinned messages in ThreadInfo.

@rohan, @atul just finished testing D7364 and might have some pointers... it looks like Redux dev tools don't work particularly well

Apr 9 2023, 5:13 PM
ashoat added a comment to D7364: [lib] Update `filterThreadPermissions` to handle `EDIT_THREAD_AVATAR`.

Nice, let's land it!! Thanks for doing that

Apr 9 2023, 5:12 PM
ashoat added inline comments to D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 9 2023, 10:28 AM
ashoat requested review of D7370: [keyserver] Move update-geoip to an earlier step in Docker build.
Apr 9 2023, 9:37 AM
ashoat accepted D7211: [keyserver/lib/native] Store the number of pinned messages in ThreadInfo.

Perfect!! As a last step before landing, can you try the test I described to @atul here? To run the Redux dev tools that I reference there, check out this doc. And the way you can see the state check mechanism being run is you should see a PROCESS_SERVER_REQUESTS action. If there's just one, that means the state check mechanism ran and saw no changes. If there are multiple such actions in a row, that means the state check mechanism detected changes. You should wait around 3-5ms after the socket connects to see the state check mechanism fire, but you might need to manipulate sessionCheckFrequency to get it to fire more frequently than once every 3 min (if you need to run it again soon after running it once).

Apr 9 2023, 6:36 AM
ashoat requested review of D7369: [keyserver] Add keyserver/certs to .gitignore.
Apr 9 2023, 6:08 AM
ashoat added a comment to D7364: [lib] Update `filterThreadPermissions` to handle `EDIT_THREAD_AVATAR`.
In D7364#219120, @atul wrote:

Eg. compile prod build that doesn't support avatar permission with old codeVersion, point it at local keyserver, run keyserver that optionally omits avatar permission – make sure state check mechanism is being called via redux-devtools (hopefully it works better for you than me), and that it isn't detecting any changes

Not sure I completely follow?

Are you suggesting that I:

  1. Locally update role-creator.js to exclude avatars
  2. Run updateRolesAndPermissionsForAllThreads migration
  3. Compile native build and connect to keyserver so I'm missing all thread_edit_avatar permissions
  4. Add avatar permissions back to role-creator.js
  5. Run updateRolesAndPermissionsForAllThreads migration
  6. Observe whether there are any state check discrepancies when native re-connects to keyserver?
  7. Manually set db_version of metadata table back to whatever it is on master so I'm "back in sync" with migrations
Apr 9 2023, 5:33 AM
ashoat requested changes to D7211: [keyserver/lib/native] Store the number of pinned messages in ThreadInfo.

Last round of changes!

Apr 9 2023, 5:14 AM
ashoat closed D7368: [keyserver] Set max-allowed-packet for mysqldump backups.
Apr 9 2023, 5:11 AM
ashoat committed rCOMMc4cc902e2829: [keyserver] Set max-allowed-packet for mysqldump backups (authored by ashoat).
[keyserver] Set max-allowed-packet for mysqldump backups
Apr 9 2023, 5:11 AM

Apr 8 2023

ashoat requested review of D7368: [keyserver] Set max-allowed-packet for mysqldump backups.
Apr 8 2023, 7:48 PM
ashoat added inline comments to D7211: [keyserver/lib/native] Store the number of pinned messages in ThreadInfo.
Apr 8 2023, 4:58 PM
ashoat closed D7367: [keyserver] Update Docker env var forwarding to reflect getCommConfig naming.
Apr 8 2023, 4:55 PM
ashoat closed D7366: [keyserver] Update keyserver ENSCache to source Alchemy key via getCommConfig.
Apr 8 2023, 4:55 PM
ashoat committed rCOMM118164ff1967: [keyserver] Update Docker env var forwarding to reflect getCommConfig naming (authored by ashoat).
[keyserver] Update Docker env var forwarding to reflect getCommConfig naming
Apr 8 2023, 4:55 PM
ashoat closed D7357: [lib][landing][web] Use getCommConfig to get API keys for Webpack builds.
Apr 8 2023, 4:55 PM
ashoat committed rCOMM243fe48149b9: [keyserver] Update keyserver ENSCache to source Alchemy key via getCommConfig (authored by ashoat).
[keyserver] Update keyserver ENSCache to source Alchemy key via getCommConfig
Apr 8 2023, 4:55 PM
ashoat closed D7354: [keyserver][lib][web] Make it possible to call getCommConfig from Webpack config.
Apr 8 2023, 4:55 PM
ashoat committed rCOMMfbd887db3d0a: [lib][landing][web] Use getCommConfig to get API keys for Webpack builds (authored by ashoat).
[lib][landing][web] Use getCommConfig to get API keys for Webpack builds
Apr 8 2023, 4:55 PM
ashoat committed rCOMMaf5d7c94d41f: [keyserver][lib][web] Make it possible to call getCommConfig from Webpack config (authored by ashoat).
[keyserver][lib][web] Make it possible to call getCommConfig from Webpack config
Apr 8 2023, 4:55 PM
ashoat closed D7351: [keyserver] Rename importJSON to getCommConfig.
Apr 8 2023, 4:55 PM
ashoat committed rCOMMe35fcc649da5: [keyserver] Rename importJSON to getCommConfig (authored by ashoat).
[keyserver] Rename importJSON to getCommConfig
Apr 8 2023, 4:55 PM

Apr 7 2023

ashoat accepted D7356: [keyserver] update registerUser function.

JS seems to follow from Rust changes. Docker changes make sense

Apr 7 2023, 6:13 PM
ashoat resigned from D7361: [keyserver] update login_user_wallet function.

Defer to @jon, most of this is Rust and the rest of it follows from the Rust

Apr 7 2023, 6:11 PM
ashoat accepted D7360: [native] have UserAvatar component also use currentUserInfo state.
Apr 7 2023, 6:10 PM
ashoat requested changes to D7359: [native] implement onPressSetAvatar function.
Apr 7 2023, 6:08 PM
ashoat accepted D7355: [keyserver] move rust-binding-types to keyserver.
Apr 7 2023, 6:02 PM
ashoat requested changes to D7323: [native] introduce emoji avatar creation screen.

Overall looks good, but we need to get better at maintaining a consistent design system

Apr 7 2023, 6:02 PM
ashoat added inline comments to D7218: [desktop] Modify the generated native windows notifs module.
Apr 7 2023, 6:00 PM
ashoat requested changes to D7353: [native] changed name of loginText to whiteText.
Apr 7 2023, 5:58 PM
ashoat accepted D7352: [CommCoreModule] Update thread `REPLACE_OPERATION` to handle `avatar`.
Apr 7 2023, 5:50 PM
ashoat added a comment to D7364: [lib] Update `filterThreadPermissions` to handle `EDIT_THREAD_AVATAR`.

It would be good to amend the Test Plan to include checking the state check mechanism. Eg. compile prod build that doesn't support avatar permission with old codeVersion, point it at local keyserver, run keyserver that optionally omits avatar permission – make sure state check mechanism is being called via redux-devtools (hopefully it works better for you than me), and that it isn't detecting any changes

Apr 7 2023, 5:45 PM
ashoat accepted D7364: [lib] Update `filterThreadPermissions` to handle `EDIT_THREAD_AVATAR`.
Apr 7 2023, 5:40 PM
ashoat accepted D7363: [lib] Replace `filterThreadEditDetailedPermissions` with `filterThreadPermissions`.

Accepting but I think my comment needs to be addressed before landing

Apr 7 2023, 5:27 PM
ashoat added a reviewer for D7364: [lib] Update `filterThreadPermissions` to handle `EDIT_THREAD_AVATAR`: rohan.
Apr 7 2023, 4:06 PM
ashoat added a reviewer for D7363: [lib] Replace `filterThreadEditDetailedPermissions` with `filterThreadPermissions`: rohan.
Apr 7 2023, 4:06 PM
ashoat requested review of D7367: [keyserver] Update Docker env var forwarding to reflect getCommConfig naming.
Apr 7 2023, 3:52 PM