Page MenuHomePhorge
Feed Search

Nov 14 2023

ashoat requested review of D9854: [Flow202][keyserver][skip-ci] [6/x] Delete some old scripts that haven't been used in a while.
Nov 14 2023, 2:15 PM
ashoat requested review of D9853: [Flow202][keyserver][skip-ci] [5/x] Address type errors in keyserver/src/push/utils.js.
Nov 14 2023, 2:14 PM
ashoat added inline comments to D8706: [keyserver] Convert ids in rescinds.
Nov 14 2023, 2:14 PM
ashoat requested review of D9852: [Flow202][keyserver][skip-ci] [4/x] Address type error in rescindPushNotifs.
Nov 14 2023, 2:14 PM
ashoat requested review of D9851: [Flow202][keyserver][skip-ci] [3/x] Address type errors in validateCandidateMembers.
Nov 14 2023, 2:14 PM
ashoat requested review of D9850: [Flow202][keyserver][skip-ci] [2/x] Address type error in UpdateInfosRawData.
Nov 14 2023, 2:11 PM
ashoat requested review of D9849: [Flow202][keyserver][skip-ci] [1/x] Fix Flow issues with conditional changeRole passed to promiseAll.
Nov 14 2023, 2:11 PM

Nov 13 2023

ashoat updated the diff for D9774: [Flow202][web][skip-ci] [8/x] Fix Flow issues with types of variables that get mutated.

Rebase and fix a new error

Nov 13 2023, 10:39 PM
ashoat updated the diff for D9771: [Flow202][web][skip-ci] [5/x] Address missing-local-annot type errors.

Rebase

Nov 13 2023, 10:37 PM
ashoat updated the diff for D9774: [Flow202][web][skip-ci] [8/x] Fix Flow issues with types of variables that get mutated.

Rebase

Nov 13 2023, 10:33 PM
ashoat accepted D9847: [lib] Update signatures in `thread-utils` to handle `MinimallyEncodedThreadInfo`.
Nov 13 2023, 10:31 PM
ashoat accepted D9846: [lib] Introduce `MinimallyEncodedThreadInfo` type.
Nov 13 2023, 10:04 PM
ashoat added inline comments to D9829: [lib] introduce removeKeyserverActionType condition to keyserver reducer.
Nov 13 2023, 10:04 PM
ashoat added inline comments to D9829: [lib] introduce removeKeyserverActionType condition to keyserver reducer.
Nov 13 2023, 10:03 PM
ashoat added a comment to D9841: [lib] Update `threadMemberHasPermission` to support `MinimallyEncodedRawThreadInfo`.

Even better!

Nov 13 2023, 10:00 PM
ashoat accepted D9845: [lib] Update `threadHasPermission` to "go through" `permissionLookup`.

Thanks for identifying / fixing this

Nov 13 2023, 10:00 PM
ashoat added a comment to D9841: [lib] Update `threadMemberHasPermission` to support `MinimallyEncodedRawThreadInfo`.

I'm guessing that threadHasPermission should also be updated to "go through" permissionLookup?

Nov 13 2023, 8:49 PM
ashoat accepted D9844: [lib] Update `hasPermission` to check `KNOW_OF`.
Nov 13 2023, 8:49 PM
ashoat accepted D9840: [lib] Introduce `getMinimallyEncodedCurrentUser`.

These diffs are hard to review because I can't tell where this is going to be used. Please be extra careful with your work

Nov 13 2023, 8:16 PM
ashoat accepted D9839: [lib] Update `memberHasAdminPowers` to handle `MinimallyEncodedMemberInfo`.
Nov 13 2023, 8:14 PM
ashoat accepted D9841: [lib] Update `threadMemberHasPermission` to support `MinimallyEncodedRawThreadInfo`.

If this is still relevant, should I update hasPermission to always ensure that KNOW_OF bit is set?

Nov 13 2023, 8:14 PM
ashoat accepted D9843: [lib] Introduce `MinimallyEncodedRelativeMemberInfo` type.
Nov 13 2023, 8:12 PM
ashoat accepted D9842: [keyserver] Remove `test-threadstore-reductions` script.
Nov 13 2023, 7:51 PM
ashoat added a comment to D7916: [lib] make report id mandatory.
  1. We didn't update the validators to match this
  2. The types should've been optional for the "server" versions, since the keyserver still has to support older clients
Nov 13 2023, 2:34 PM
ashoat updated the diff for D9692: [Flow202][lib][skip-ci] [0/23] Fix Flow issues relating to unsealed objects.

Rebase

Nov 13 2023, 1:28 PM
ashoat added a reverting change for rCOMM913c6eb59292: [native] Temporary changes for staff release: rCOMM2e6b15aae32e: Revert "[native] Temporary changes for staff release".
Nov 13 2023, 12:50 PM
ashoat committed rCOMM2e6b15aae32e: Revert "[native] Temporary changes for staff release".
Nov 13 2023, 12:50 PM
ashoat committed rCOMM3c74434f8632: [native] codeVersion -> 284.
Nov 13 2023, 12:50 PM
ashoat committed rCOMM913c6eb59292: [native] Temporary changes for staff release.
Nov 13 2023, 12:50 PM
ashoat committed rCOMMb51667cfb1de: [native] codeVersion -> 283.
Nov 13 2023, 12:50 PM
ashoat committed rCOMMc6100c7ade39: [web][keyserver] codeVersion -> 42.
Nov 13 2023, 12:50 PM
ashoat added inline comments to D9821: Send badgeOnly notifications in the same order as they were encrypted.
Nov 13 2023, 12:40 PM
ashoat resigned from D9834: [identity] Add RPC for finding user ID.

API looks good to me! Deferring to others on Rust

Nov 13 2023, 12:35 PM

Nov 12 2023

ashoat accepted D9825: [keyserver] Migration to add Voiced role to announcement subchannels.

Okay that makes sense. And it doesn't matter if that changes in the past, since this migration won't be run in the future

Nov 12 2023, 12:07 AM
ashoat requested changes to D9833: [keyserver] Change updateRoles to support Voiced role.
Nov 12 2023, 12:06 AM
ashoat accepted D9819: Send visual notifications in the same order as they were encrypted.
Nov 12 2023, 12:01 AM

Nov 11 2023

ashoat requested changes to D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

This feels like a super hacky approach and I think you're applying it in the wrong part of the stack

Nov 11 2023, 11:31 PM
ashoat requested changes to D9825: [keyserver] Migration to add Voiced role to announcement subchannels.
Nov 11 2023, 11:22 PM
ashoat added inline comments to D9170: [web] Support avatar uploads to blob service.
Nov 11 2023, 8:01 PM
ashoat updated the diff for D9771: [Flow202][web][skip-ci] [5/x] Address missing-local-annot type errors.

Rebase

Nov 11 2023, 8:00 PM
ashoat updated the diff for D9748: [Flow202][lib][skip-ci] [24/23] Fix Flow issues from Inka's recently landed diffs.

Rebase

Nov 11 2023, 7:59 PM
ashoat updated the diff for D9695: [Flow202][lib][skip-ci] [3/23] Fix Flow issues with types being underconstrained.

Rebase

Nov 11 2023, 7:57 PM
ashoat updated the diff for D9692: [Flow202][lib][skip-ci] [0/23] Fix Flow issues relating to unsealed objects.

Rebase

Nov 11 2023, 7:57 PM
ashoat committed rCOMMa74c4a2a86ce: [web][keyserver] codeVersion -> 41.
Nov 11 2023, 7:12 PM
ashoat accepted D9790: [web] introduce new --shades-black-90.

Glazed through most of this, trusting you did the find-replaces correctly

Nov 11 2023, 7:00 PM
ashoat accepted D9825: [keyserver] Migration to add Voiced role to announcement subchannels.
Nov 11 2023, 6:59 PM
ashoat accepted D9809: [lib] Just cut/paste values into `minimallyEncoded` validators.
Nov 11 2023, 6:58 PM
ashoat accepted D9832: [lib] Resolve circular dependency issue w/ `MinimallyEncoded*Info` validators.
Nov 11 2023, 6:57 PM
ashoat added inline comments to D9830: [native] introduce functionality for onPressRemoveKeyserver callback.
Nov 11 2023, 6:57 PM

Nov 10 2023

ashoat added a comment to D9814: [native] VersionSupportedChecker component.

We should also make sure we don't log out if we're already logged out

Nov 10 2023, 9:12 PM
ashoat requested changes to D9814: [native] VersionSupportedChecker component.
Nov 10 2023, 8:59 PM
ashoat added a comment to D9814: [native] VersionSupportedChecker component.

This is a good start, but we should be doing the same stuff we do for the client_version_unsupported error from the keyserver:

Nov 10 2023, 8:59 PM
ashoat requested changes to D9825: [keyserver] Migration to add Voiced role to announcement subchannels.
Nov 10 2023, 8:56 PM
ashoat added a comment to D9822: Call "flushState" after calling "contentHandler" in the NSE..

Build iOS app and sends some notifications ensure that logging line is called at least every 4 - 5 notifications.

Nov 10 2023, 8:53 PM
ashoat accepted D9822: Call "flushState" after calling "contentHandler" in the NSE..
Nov 10 2023, 8:52 PM
ashoat accepted D9821: Send badgeOnly notifications in the same order as they were encrypted.
Nov 10 2023, 8:52 PM
ashoat closed D9823: [lib] Fix persisting of privacy settings.
Nov 10 2023, 8:48 PM
ashoat committed rCOMMbbd041fd4af0: [lib] Fix persisting of privacy settings.
Nov 10 2023, 8:48 PM
ashoat requested review of D9823: [lib] Fix persisting of privacy settings.
Nov 10 2023, 4:49 PM
ashoat added inline comments to D9819: Send visual notifications in the same order as they were encrypted.
Nov 10 2023, 4:27 PM
ashoat added inline comments to D7933: [lib] refactor handling new inconsistencies in report store reducer for using operations.
Nov 10 2023, 4:17 PM
ashoat requested changes to D9814: [native] VersionSupportedChecker component.

This technically works, but something is going on where an ESLint rule isn't firing... you COULD ignore that and the component will work fine, but it's best to follow the conventions to avoid potential future pitfalls

Nov 10 2023, 2:25 AM

Nov 9 2023

ashoat accepted D9789: [native] introduce new shadesBlack90.

I did some spot-checking but didn't review each line

Nov 9 2023, 11:44 PM
ashoat added a comment to D9789: [native] introduce new shadesBlack90.

Oh whoa, so the original change actually makes shadesBlack60 and some others more accurate.

Nov 9 2023, 11:26 PM
ashoat requested changes to D9809: [lib] Just cut/paste values into `minimallyEncoded` validators.

I strongly suspect that you have a circular dependency issue and you are papering over it. I spent about 20min pulling down your changes locally and then removing this diff. I can see it failing once you introduce the hasPermission check in thread-utils.js. Then I looked through the code and I think there's an import cycle here:

Nov 9 2023, 11:21 PM
ashoat accepted D9811: [lib] Update signatures of thread utils to handle `MinimallyEncodedRawThreadInfo`.

Not looking too closely; trusting Flow to catch any issues

Nov 9 2023, 9:56 PM
ashoat accepted D9810: [lib] Update `threadHasPermission` to support `MinimallyEncodedRawThreadInfo`.
Nov 9 2023, 9:38 PM
ashoat requested changes to D9809: [lib] Just cut/paste values into `minimallyEncoded` validators.

This is super hacky – can you spend some more time explaining the error you're seeing and what you've tried?

Nov 9 2023, 9:37 PM
ashoat accepted D9808: [lib] Move minimallyEncodedPermissions types/type utils to separate file.

Didn't really review... assuming this is just a move

Nov 9 2023, 9:35 PM
ashoat accepted D9807: [web] add generated js code and flow types for identity_authenticated.proto.

Looks right. This stuff is hard to review, hoping you were thorough when writing / testing

Nov 9 2023, 8:48 PM
ashoat requested changes to D9805: [keyserver] Update changeRoleThreadQuery to use the Voiced role for announcement channels.
Nov 9 2023, 8:32 PM
ashoat accepted D9804: [lib] Include Voiced permission blob for announcement channels.

This change makes sense, but we'll need to make sure we handle it in updateRoles, modifyRole, createInitialRolesForNewThread, etc. Assume you'll put those diffs up later and land them together with this one.

Nov 9 2023, 8:32 PM
ashoat added inline comments to D8706: [keyserver] Convert ids in rescinds.
Nov 9 2023, 6:54 PM
ashoat added a comment to D9789: [native] introduce new shadesBlack90.

Thanks for explaining. Let's keep the new color, but I'd like an answer to my question about the arithmetic. You're making an opinionated change here by changing our existing colors (eg. 80 -> 70) – that change should be an informed one.

Nov 9 2023, 4:28 PM
ashoat added a comment to D9760: [CI] Fix macOS GitHub CI.

Yeah that's what I meant!

Nov 9 2023, 3:22 PM
ashoat updated the diff for D9773: [Flow202][web][skip-ci] [7/x] Fix Flow issues with React hooks being underconstrained.

Rebase

Nov 9 2023, 1:28 PM
ashoat updated the diff for D9771: [Flow202][web][skip-ci] [5/x] Address missing-local-annot type errors.

Replace string[] with Array<string>

Nov 9 2023, 1:28 PM
ashoat updated the diff for D9767: [Flow202][web][skip-ci] [1/x] Fix Flow issues with useDispatch / useSelector being underconstrained.

Rebase

Nov 9 2023, 1:27 PM
ashoat updated the diff for D9694: [Flow202][lib][skip-ci] [2/23] Fix Flow issues with useDispatch / useSelector being underconstrained.

Rebase

Nov 9 2023, 1:27 PM
ashoat added inline comments to D9771: [Flow202][web][skip-ci] [5/x] Address missing-local-annot type errors.
Nov 9 2023, 12:24 PM
ashoat accepted D9793: [web] modify codegen script to generate files for identity_authenticated.proto.

I don't love the naming here. The issue starts with the proto file names... "client" vs. "authenticated" isn't a clear dichotomy. The use of "client" in this file makes more sense, but adds further confusion.

Nov 9 2023, 12:17 PM
ashoat accepted D9792: [web] update grpc-web codegen'd files.
Nov 9 2023, 11:48 AM
ashoat requested changes to D9791: [native] update drawerOpenCommunityBackground color with panelBackgroundAccent.
Nov 9 2023, 11:45 AM
ashoat requested changes to D9790: [web] introduce new --shades-black-90.
Nov 9 2023, 11:45 AM
ashoat requested changes to D9789: [native] introduce new shadesBlack90.
Nov 9 2023, 11:45 AM
ashoat added a comment to D9791: [native] update drawerOpenCommunityBackground color with panelBackgroundAccent.

Please justify this change more

Nov 9 2023, 11:45 AM
ashoat added a comment to D9790: [web] introduce new --shades-black-90.

Same concerns as I laid out in D9789

Nov 9 2023, 11:44 AM
ashoat added a comment to D9789: [native] introduce new shadesBlack90.
  1. It seems like "90" and "80" are super close. Are you sure we need this new color? Can you explain / justify its introduction a bit more?
  2. Is 50 / 60 / 70 / 80 / 90 actually arithmetically accurate? I have a suspicion it's not. If we actually took real mathematic percentages of pure black, what would it really be?
Nov 9 2023, 11:43 AM
ashoat accepted D9760: [CI] Fix macOS GitHub CI.

Can you add this to all of the JS builds?

Nov 9 2023, 11:40 AM

Nov 8 2023

ashoat accepted D9787: [lib] Use `RawThreadInfos` type everywhere.
Nov 8 2023, 9:47 PM
ashoat requested review of D9786: [Flow202][web][skip-ci] [20/x] Fix Flow issues in ComposedMessage.
Nov 8 2023, 8:35 PM
ashoat requested review of D9785: [Flow202][web][skip-ci] [19/x] Fix Flow issues around untyped this parameter.
Nov 8 2023, 8:35 PM
ashoat requested review of D9784: [Flow202][web][skip-ci] [18/x] Fix Flow issues in AddUsersList.
Nov 8 2023, 8:34 PM
ashoat requested review of D9783: [Flow202][web][skip-ci] [17/x] Fix Flow issues in commReduxStorageEngine.
Nov 8 2023, 8:34 PM
ashoat requested review of D9782: [Flow202][web][skip-ci] [16/x] Fix Flow issues in ChatInputBar.componentDidUpdate.
Nov 8 2023, 8:34 PM
ashoat requested review of D9781: [Flow202][web][skip-ci] [15/x] Fix Flow issues in htmlTargetFromEvent.
Nov 8 2023, 8:34 PM
ashoat requested review of D9780: [Flow202][web][skip-ci] [14/x] Fix Flow issues in web/database.
Nov 8 2023, 8:34 PM
ashoat requested review of D9779: [Flow202][web][skip-ci] [13/x] Fix Flow issues in unparameterized Promise constructors.
Nov 8 2023, 8:34 PM
ashoat added a comment to D5317: [web] introduced thread-picker-modal.react.

D9776

Nov 8 2023, 7:59 PM
ashoat requested review of D9778: [Flow202][web][skip-ci] [12/x] Fix Flow issues with computed properties.
Nov 8 2023, 7:59 PM