Page MenuHomePhorge
Feed Search

Oct 19 2023

ashoat committed rCOMM60d0fa4b19d3: [native] codeVersion -> 273.
Oct 19 2023, 7:19 PM
ashoat added a reverting change for rCOMMf1d278be10ce: Revert "Revert "[native] use grpc_clients client in native_rust_library"": rCOMM19e59e62e230: Revert "Revert "Revert "[native] use grpc_clients client in….
Oct 19 2023, 7:18 PM
ashoat committed rCOMM19e59e62e230: Revert "Revert "Revert "[native] use grpc_clients client in….
Oct 19 2023, 7:18 PM
ashoat accepted D9324: [lib] Update types for SIDEBAR_SOURCE messages to reflect isInvalidSidebarSource.
Oct 19 2023, 7:03 PM
ashoat added inline comments to D9452: [keyserver] Separate webapp and keyserver endpoints.
Oct 19 2023, 7:00 PM
ashoat added inline comments to D9543: [keyserver/lib] Restrict the derivedMessages parameter from being passed to rawMessageInfoFromServerDBRow.
Oct 19 2023, 6:54 PM
ashoat committed rCOMMbf3e201b4b6e: [native] codeVersion -> 271.
Oct 19 2023, 6:18 PM
ashoat committed rCOMMbe83f40ec565: [web][keyserver] codeVersion -> 35.
Oct 19 2023, 6:16 PM
ashoat added inline comments to D9535: Initialize olm sessions for notifications on web and keyserver via socket requests.
Oct 19 2023, 6:13 PM
ashoat added inline comments to D9532: Refactor olm accounts lifecycle on web.
Oct 19 2023, 5:32 PM
ashoat added inline comments to D9532: Refactor olm accounts lifecycle on web.
Oct 19 2023, 5:32 PM
ashoat added inline comments to D9526: [keyserver] add eth addresses to reserved usernames table.
Oct 19 2023, 5:13 PM
ashoat accepted D9541: [GH Actions] Bump `macOS Build CI` workflow to `macos-13`.
Oct 19 2023, 4:16 PM
ashoat accepted D9539: [GH Actions] Set `DEVELOPER_DIR` to Xcode 15.0.
Oct 19 2023, 2:57 PM
ashoat added inline comments to D9401: Implement stateful and deferrable notification decryption and use it on iOS in NSE.
Oct 19 2023, 2:38 PM
ashoat closed D9523: [lib] Drill allAtOnce from useChatMentionCandidatesObjAndUtils to useENSNames.
Oct 19 2023, 12:20 PM
ashoat committed rCOMMd6e7e669440d: [lib] Drill allAtOnce from useChatMentionCandidatesObjAndUtils to useENSNames.
Oct 19 2023, 12:20 PM
ashoat closed D9525: [lib] Batch ENS queries using ReverseRecords smart contract.
Oct 19 2023, 12:06 PM
ashoat committed rCOMM8802233178a0: [lib] Batch ENS queries using ReverseRecords smart contract.
Oct 19 2023, 12:06 PM
ashoat closed D9524: [lib] Move EthersProvider type to separate file.
Oct 19 2023, 12:06 PM
ashoat committed rCOMM122549950610: [lib] Move EthersProvider type to separate file.
Oct 19 2023, 12:05 PM
ashoat added a comment to D9398: [nix] Create new url facts.

I think we will also likely need to update docs to mention /webapp/ instead of /comm/ for loading the web app

Oct 19 2023, 12:19 AM
ashoat added a comment to D9396: [keyserver] Update CORS.

Perhaps the URL that the keyserver expects for the web app should be something configurable via getCommConfig? We could preload / cache it similar to how we do with the URL facts today.

Oct 19 2023, 12:17 AM
ashoat added a comment to D9452: [keyserver] Separate webapp and keyserver endpoints.

Do we retire the use of the commAppRouter and squadCalRouter names in a later diff?

Oct 19 2023, 12:13 AM

Oct 18 2023

ashoat requested changes to D9324: [lib] Update types for SIDEBAR_SOURCE messages to reflect isInvalidSidebarSource.

CREATE_SUB_THREAD does work that way, but it's very special-cased...

Oct 18 2023, 11:53 PM
ashoat added inline comments to D9501: [lib][web][native] Refactor actions in user-actions.js pt.1.
Oct 18 2023, 11:37 PM
ashoat added a comment to D9453: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and others.

@atul can you make a Linear task to track refactoring this to use the new update specs approach, and link the task here before landing?

Oct 18 2023, 11:33 PM
ashoat added a comment to D9503: [web/keyserver] Separate web and keyserver versions.

After landing this diff, please send a message in the Releases channel to make sure I'm aware that the "bump version" commit will have to be changed. For now I'll continue to bump these versions in tandem

Oct 18 2023, 11:31 PM
ashoat added a comment to D9398: [nix] Create new url facts.

Overall I agree with the renaming – this makes a lot more sense.

Oct 18 2023, 11:29 PM
ashoat added a comment to D9482: [identity] add user ID to account ownership message.

Will this require some sort of synced rollout between keyserver and identity service?

Oct 18 2023, 11:23 PM
ashoat added inline comments to D9525: [lib] Batch ENS queries using ReverseRecords smart contract.
Oct 18 2023, 9:33 PM
ashoat added a reviewer for D9525: [lib] Batch ENS queries using ReverseRecords smart contract: tomek.
Oct 18 2023, 9:03 PM
ashoat updated the summary of D9525: [lib] Batch ENS queries using ReverseRecords smart contract.
Oct 18 2023, 9:03 PM
ashoat accepted D9430: [lib/web/native] Display community role for users in subchannels/sidebars.

There is perhaps a design question here around how to handle more than two tabs in ThreadMembersModalContent. Can you create a DES task on Linear and assign it to @ted to take a look? It might also be good to send a message to the Design Team chat in case there's some discussion to be had.

Oct 18 2023, 8:59 PM
ashoat added inline comments to D9513: [web] Call useRoleNamesFromCommunityThreadInfo to help filter Admin members.
Oct 18 2023, 8:57 PM
ashoat requested review of D9525: [lib] Batch ENS queries using ReverseRecords smart contract.
Oct 18 2023, 8:52 PM
ashoat requested changes to D9500: [keyserver] Remove cookieSources.

I think one of the conditions in the existing code had a mistake and was accidentally reversed

Oct 18 2023, 8:51 PM
ashoat accepted D9502: [lib] Remove setCookieOnRequest.
Oct 18 2023, 8:42 PM
ashoat accepted D9519: [lib] Remove `last_[navigated_to/pruned]` from `ClientDBThreadMessageInfo`.
Oct 18 2023, 8:40 PM
ashoat accepted D9518: [native] Redux migration to remove `messageStore.threads[threadID].[lastPruned/lastNavigatedTo]`.
Oct 18 2023, 8:40 PM
ashoat accepted D9517: [CommCoreModule] Remove `last[NavigatedTo/Pruned]` from `MessageStoreThread` and `message_store_threads` table.

This looks right to me

Oct 18 2023, 8:38 PM
ashoat requested review of D9524: [lib] Move EthersProvider type to separate file.
Oct 18 2023, 8:10 PM
ashoat requested review of D9523: [lib] Drill allAtOnce from useChatMentionCandidatesObjAndUtils to useENSNames.
Oct 18 2023, 7:30 PM
ashoat closed D9515: [lib] Introduce allAtOnce param to useENSNames.
Oct 18 2023, 7:08 PM
ashoat committed rCOMM637d661d1555: [lib] Introduce allAtOnce param to useENSNames.
Oct 18 2023, 7:08 PM
ashoat requested changes to D9396: [keyserver] Update CORS.
Oct 18 2023, 2:07 PM

Oct 17 2023

ashoat requested review of D9515: [lib] Introduce allAtOnce param to useENSNames.
Oct 17 2023, 5:52 PM
ashoat closed D9492: [web] Update grpc-web codegen from identity service proto file.
Oct 17 2023, 1:10 PM
ashoat closed D9491: [web] Introduce codegen-identity-grpc script.
Oct 17 2023, 1:10 PM
ashoat committed rCOMMd50653ff20db: [web] Update grpc-web codegen from identity service proto file.
Oct 17 2023, 1:10 PM
ashoat committed rCOMM810ea54ea9e8: [web] Introduce codegen-identity-grpc script.
Oct 17 2023, 1:10 PM
ashoat closed D9490: [web] Add protoc-gen-js dependency.
Oct 17 2023, 1:10 PM
ashoat committed rCOMM6133bb39d238: [web] Add protoc-gen-js dependency.
Oct 17 2023, 1:10 PM
ashoat updated the diff for D9491: [web] Introduce codegen-identity-grpc script.

@varun's suggestion

Oct 17 2023, 1:09 PM
ashoat added a comment to D9490: [web] Add protoc-gen-js dependency.

I checked nixpkgs and I couldn't find protoc-gen-js in the repo:

Oct 17 2023, 1:04 PM
ashoat accepted D9499: [lib/native/web] make user entity prop types read only.
Oct 17 2023, 12:08 PM
ashoat added inline comments to D9396: [keyserver] Update CORS.
Oct 17 2023, 12:07 PM
ashoat requested changes to D9396: [keyserver] Update CORS.
Oct 17 2023, 12:05 PM
ashoat accepted D9505: [keyserver] fix production check while uploading keys to Identity.
Oct 17 2023, 12:54 AM
ashoat accepted D9466: [lib] Introduce chat mention context.
Oct 17 2023, 12:54 AM

Oct 16 2023

ashoat accepted D9493: [lib] Fix universal community permissions to prevent input bar and join chat button from appearing at the same time.
Oct 16 2023, 8:56 PM
ashoat requested changes to D9494: [lib] Fix the join chat / input field issue for Admins.

Sorry, I should have clarified earlier... I think it's actually okay for admins to have this permission. I just wanted to make sure members didn't have it!

Oct 16 2023, 8:56 PM
ashoat accepted D9489: [keyserver/web] Enable announcement subchannel creation.
Oct 16 2023, 8:54 PM
ashoat accepted D9401: Implement stateful and deferrable notification decryption and use it on iOS in NSE.
Oct 16 2023, 8:50 PM
ashoat accepted D9475: [lib] Remove `lastNavigatedTo/lastPruned` from `MessageStore.threads`.

In a meeting with @kamil today, he indicated that MessageStore.threads was in the process of being moved to SQLite. Have you synced with @kamil to make sure this won't conflict with that work? (Figure it would be a good idea for him to review this diff as well.)

Oct 16 2023, 8:41 PM
ashoat accepted D9469: [native] Update `nextMessagePruneTimeSelector` to use `threadActivityStore`.

Accepting since my requested change is "obvious" and shouldn't need further review. That said, if you disagree can you re-request review?

Oct 16 2023, 8:32 PM
ashoat accepted D9454: [native] Update `pruneThreadIDsSelector` to use `threadActivityStore`.
Oct 16 2023, 2:13 PM
ashoat added a comment to D9427: [keyserver] migration to publish prekeys to identity.

@ashoat are you sure we don't want silent fails also on production?

Oct 16 2023, 2:01 PM
ashoat added inline comments to D9395: [native] fix viewer user profile bototm sheet snap point.
Oct 16 2023, 1:57 PM

Oct 15 2023

ashoat added inline comments to D9389: [lib/native/web] make user profile accessible from a user entity in a robotext.
Oct 15 2023, 10:41 PM

Oct 14 2023

ashoat added inline comments to D9324: [lib] Update types for SIDEBAR_SOURCE messages to reflect isInvalidSidebarSource.
Oct 14 2023, 6:52 PM
ashoat accepted D9330: [keyserver/lib] Update isInvalidSidebarSource to check messageSpec.canBeSidebarSource.
Oct 14 2023, 5:15 PM
ashoat added a comment to D9453: [lib] Update `reduceThreadActivity` to handle `processUpdatesActionType` and others.

Might be good for @tomek to meet with @atul to share more context about the update syncing specs. Or potentially could be a subject for a teamwide "office hours" this Wednesday (although not sure of the impact of blocking this diff until then... maybe could be a follow-up task?)

Oct 14 2023, 5:11 PM

Oct 13 2023

ashoat requested review of D9492: [web] Update grpc-web codegen from identity service proto file.
Oct 13 2023, 8:38 PM
ashoat added inline comments to D9491: [web] Introduce codegen-identity-grpc script.
Oct 13 2023, 8:20 PM
ashoat requested review of D9491: [web] Introduce codegen-identity-grpc script.
Oct 13 2023, 8:20 PM
ashoat requested review of D9490: [web] Add protoc-gen-js dependency.
Oct 13 2023, 8:15 PM

Oct 12 2023

ashoat added a reverting change for rCOMM765b701d087d: [native] Temporary changes for staff release: rCOMM78907ef9f952: Revert "[native] Temporary changes for staff release".
Oct 12 2023, 1:55 PM
ashoat committed rCOMM78907ef9f952: Revert "[native] Temporary changes for staff release".
Oct 12 2023, 1:55 PM
ashoat committed rCOMMcd9520dcecf6: [native] codeVersion -> 270.
Oct 12 2023, 1:55 PM
ashoat committed rCOMM765b701d087d: [native] Temporary changes for staff release.
Oct 12 2023, 1:55 PM
ashoat committed rCOMM07551e74d95a: [native] codeVersion -> 269.
Oct 12 2023, 1:52 PM
ashoat committed rCOMMcc64414cf569: [web][keyserver] codeVersion -> 34.
Oct 12 2023, 1:50 PM
ashoat closed D9464: [CI] Clear unused NDKs from Android GitHub CI jobs before proceeding.
Oct 12 2023, 1:39 PM
ashoat committed rCOMMcb654030b973: [CI] Clear unused NDKs from Android GitHub CI jobs before proceeding.
Oct 12 2023, 1:39 PM
ashoat added a comment to D9464: [CI] Clear unused NDKs from Android GitHub CI jobs before proceeding.

Yeahhhh I considered that sort of approach but I personally find it less readable with all the special characters at the end

Oct 12 2023, 1:37 PM
ashoat added inline comments to D9401: Implement stateful and deferrable notification decryption and use it on iOS in NSE.
Oct 12 2023, 1:27 PM
ashoat added inline comments to D9401: Implement stateful and deferrable notification decryption and use it on iOS in NSE.
Oct 12 2023, 1:26 PM
ashoat requested review of D9464: [CI] Clear unused NDKs from Android GitHub CI jobs before proceeding.
Oct 12 2023, 12:46 PM

Oct 11 2023

ashoat added a comment to D9265: [lib/web/native] Add IntegrityStore.

Is this new IntegrityStore persisted via redux-persist? If so, it's very unfortunate that we're adding more O(n) data to redux-persist... this decision has set back our efforts to move all O(n) data to SQLite.

Oct 11 2023, 6:53 PM
ashoat accepted D9449: [lib] Disable chat mentioning.

This fixes my perf issues!

Oct 11 2023, 3:40 PM
ashoat accepted D9423: [keyserver] validate prekeys only via cron job.

Thanks @kamil, your explanation makes sense. Let's keep validateAccountPrekey for log-in/register (but skip the upload step), and rename revalidateAccountPrekey to validateAndUploadAccountPrekeys

Oct 11 2023, 1:28 PM

Oct 10 2023

ashoat closed D9443: [keyserver] Avoid "WebSocket is not open" error.
Oct 10 2023, 6:01 PM
ashoat committed rCOMM5c38457d4dbb: [keyserver] Avoid "WebSocket is not open" error.
Oct 10 2023, 6:01 PM
ashoat updated subscribers of D9430: [lib/web/native] Display community role for users in subchannels/sidebars.

There is perhaps a design question here around how to handle more than two tabs in ThreadMembersModalContent. Can you create a DES task on Linear and assign it to @ted to take a look? It might also be good to send a message to the Design Team chat in case there's some discussion to be had.

Oct 10 2023, 4:03 PM
ashoat requested changes to D9430: [lib/web/native] Display community role for users in subchannels/sidebars.

It looks like ThreadMembersModalContent is still determining its tabs differently from how the pills are being determined. The fact that this code is different is what got us into this mess, and I'd like to make sure it's unified.

Oct 10 2023, 4:01 PM
ashoat accepted D9427: [keyserver] migration to publish prekeys to identity.

Rather than a script, it would make my life a little easier if we could put this is in keyserver/src/database/migration-config.js – that way it should automatically run when I deploy the keyserver next

Oct 10 2023, 2:59 PM
ashoat requested changes to D9423: [keyserver] validate prekeys only via cron job.

I agree we do not need to call revalidateAccountPrekeys anymore from getOlmSessionInitializationDataResponder. However, I think we still need to do it in registerOrLogin, so that we make sure the prekey that we pass when calling the identity service is initialized (in case it is the first call) and not expired (in case the keyserver has not been touched in some time).

Oct 10 2023, 2:55 PM
ashoat accepted D9422: [keyserver] delete marking prekeys as published each time `olm` account is accessed.

I noticed that when Jon was first working on this, he copy-pasted some of @marcin's functions and kept the same name. Since that point, it appears that the copy-pasted functions have diverged. I think we should look to deduplicate them, or maybe have one call the other. We should certainly rename them to have different names if we are going to keep both.

Oct 10 2023, 2:45 PM
ashoat accepted D9421: [keyserver] cron job to refresh account prekeys.
Oct 10 2023, 2:38 PM