Page MenuHomePhabricator

tomek (Tomasz Palys)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 24 2020, 6:20 AM (191 w, 4 d)

Recent Activity

Today

tomek requested review of D11823: [lib][native][web] Show a message when a user is already a part of a community.
Fri, Apr 26, 1:41 PM
tomek requested review of D11812: [lib][native][web] Display a message when accepting an invite link times out.
Fri, Apr 26, 12:46 PM
tomek updated the test plan for D11800: [lib] Properly handle hashing in progress.
Fri, Apr 26, 11:46 AM
tomek updated the summary of D11800: [lib] Properly handle hashing in progress.
Fri, Apr 26, 7:27 AM
tomek updated the diff for D11800: [lib] Properly handle hashing in progress.

Handle syncing with non-auth keyservers

Fri, Apr 26, 7:26 AM
tomek planned changes to D11800: [lib] Properly handle hashing in progress.
Fri, Apr 26, 7:11 AM
tomek requested review of D11800: [lib] Properly handle hashing in progress.
Fri, Apr 26, 7:08 AM
tomek accepted D11781: Move MissingRegistrationDataHandler to NavigationHandler.
Fri, Apr 26, 5:19 AM

Yesterday

tomek accepted D11760: [web] Fix missing relationship buttons.

Is native also affected by this bug?

Thu, Apr 25, 7:17 AM
tomek accepted D11759: [lib][native] Stop persisting CSAT.
Thu, Apr 25, 7:05 AM
tomek accepted D11776: [lib] move farcaster types to dedicated file.
Thu, Apr 25, 7:03 AM
tomek accepted D11775: [lib] introduce useCreateOrUpdateFarcasterChannelTag.
Thu, Apr 25, 7:02 AM
tomek accepted D11774: [lib] introduce createOrUpdateFarcasterChannelTagActionTypes.
Thu, Apr 25, 7:00 AM
tomek requested changes to D11773: [keyserver] introduce create_or_update_farcaster_channel_tag endpoint.
Thu, Apr 25, 6:58 AM
tomek accepted D11772: [keyserver] introduce barebones createOrUpdateFarcasterChannelTag.
Thu, Apr 25, 6:54 AM
tomek accepted D11771: [native] Don't refetch nonce from identity after identity auth.
Thu, Apr 25, 6:44 AM
tomek closed D11758: [lib] Bump invite link accept timeout.
Thu, Apr 25, 6:01 AM
tomek committed rCOMMe959aefe3335: [lib] Bump invite link accept timeout (authored by tomek).
[lib] Bump invite link accept timeout
Thu, Apr 25, 6:01 AM

Wed, Apr 24

tomek requested review of D11758: [lib] Bump invite link accept timeout.
Wed, Apr 24, 5:56 AM
tomek accepted D11730: [lib/web/native] update `MessageID` in ops handling.
Wed, Apr 24, 4:56 AM
tomek accepted D11754: [native] Replace `threadHasPermission` with `useThreadHasPermission` in `ThreadSettings`.

Will test generally at end to make sure things work as expected.

Is this something that will be done later in the stack?

Wed, Apr 24, 4:53 AM
tomek requested changes to D11753: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `ThreadSettings*`.
Wed, Apr 24, 4:51 AM
tomek accepted D11752: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `MembersModal`.
Wed, Apr 24, 4:44 AM
tomek accepted D11751: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `CommunityActionsMenu`.
Wed, Apr 24, 4:44 AM
tomek accepted D11750: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `ThreadMenu`.
Wed, Apr 24, 4:43 AM
tomek accepted D11749: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `ChatInputBar`.
Wed, Apr 24, 4:42 AM
tomek accepted D11748: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `Entry`.
Wed, Apr 24, 4:41 AM
tomek added a comment to D11747: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `EditThreadAvatar`.

I think you should consider having a test plan that actually verifies that this logic is correct.

Wed, Apr 24, 4:40 AM
tomek accepted D11747: [web] Replace `threadHasPermission` with `useThreadHasPermission` in `EditThreadAvatar`.
Wed, Apr 24, 4:39 AM
tomek accepted D11746: [lib] Introduce `useThreadHasPermission` hook.
Wed, Apr 24, 4:38 AM
tomek accepted D11742: [lib] Pull `filterOutDisabledPermissions(permissionsBitmask)` out of `getCurrentUser`.
Wed, Apr 24, 4:29 AM
tomek accepted D11741: [lib] Simplify `threadMemberHasPermission()`.
Wed, Apr 24, 4:25 AM
tomek accepted D11738: [lib][native] Move reduceServicesAccessToken and setAccessTokenActionType to native.
Wed, Apr 24, 3:57 AM

Tue, Apr 23

tomek accepted D11736: [lib] Fix error when deleting a keyserver.
Tue, Apr 23, 4:24 AM

Mon, Apr 22

tomek closed D11708: [keyserver] Use keyserverID instead of userID when creating invite link blobs.
Mon, Apr 22, 5:36 AM
tomek committed rCOMM5f36d95f2311: [keyserver] Use keyserverID instead of userID when creating invite link blobs (authored by tomek).
[keyserver] Use keyserverID instead of userID when creating invite link blobs
Mon, Apr 22, 5:36 AM
tomek updated the test plan for D11708: [keyserver] Use keyserverID instead of userID when creating invite link blobs.
Mon, Apr 22, 5:01 AM
tomek updated the test plan for D11708: [keyserver] Use keyserverID instead of userID when creating invite link blobs.
Mon, Apr 22, 5:00 AM
tomek accepted D11703: [lib][native] Rename uploadBlob to performHTTPMultipartUpload.
Mon, Apr 22, 1:35 AM
tomek requested changes to D11705: [web] log out if CSAT is missing.
  1. What is a scenario when this could happen?
  2. Why do we need an additional handler - isn't removing the token associated with a logout action?
  3. How the callLogOut method could work? It uses an authenticated Identity client, which requires the access token when calling its functions. Before every call to it, we call ensureThatWorkerClientAuthMetadataIsCurrent which would try to create a wrapper without an access token.
Mon, Apr 22, 1:15 AM

Fri, Apr 19

tomek accepted D11700: [lib][native][web] Move useLegacyAshoatKeyserverCall to lib/keyserver-conn/legacy-keyserver-call.js.
Fri, Apr 19, 10:17 AM
tomek accepted D11699: [lib][web] Move useKeyserverCall to lib/keyserver-conn.
Fri, Apr 19, 10:15 AM
tomek accepted D11698: [lib] Move uploadBlob to lib/keyserver-conn.
Fri, Apr 19, 10:11 AM
tomek accepted D11697: [lib][native][web] Move callSingleKeyserverEndpoint to lib/keyserver-conn.
Fri, Apr 19, 10:09 AM
tomek accepted D11696: [lib][native][web] Move KeyserverConnectionHandler to lib/keyserver-conn.
Fri, Apr 19, 10:07 AM
tomek added a comment to D11694: [native][web] Align logic in SQLiteDataHandlers across platforms.

I'm still thinking through what format that interface will take. I could consider including this functionality in that shared interface when I get there.

Sounds great!

Fri, Apr 19, 9:58 AM
tomek accepted D11694: [native][web] Align logic in SQLiteDataHandlers across platforms.

It seems like we can extract the logic to lib by creating a function that accepts three functions: for fetching the stamped user ID, clearing the DB, and stamping the DB. What do you think about doing this?

Fri, Apr 19, 4:56 AM
tomek accepted D11691: [lib] Separate recovery types that are managed by KeyserverConnectionHandler.
Fri, Apr 19, 4:49 AM
tomek accepted D11690: [lib] Don't initiate keyserver session recovery if currentUserInfo is not set.
Fri, Apr 19, 4:44 AM
tomek added inline comments to D11651: [lib] Include `[creator/target]FID` in `messageContentForServerDB` when update relationship op is `farcaster_mutual`.
Fri, Apr 19, 3:04 AM

Thu, Apr 18

tomek closed D11688: [native] Purge the store after clearing the DB.
Thu, Apr 18, 9:12 AM
tomek committed rCOMMb1050c45b384: [native] Purge the store after clearing the DB (authored by tomek).
[native] Purge the store after clearing the DB
Thu, Apr 18, 9:12 AM
tomek closed D11649: [web] Reassign the notifs session.
Thu, Apr 18, 7:53 AM
tomek closed D11647: [web] Extract a function that determines where to store notifs session.
Thu, Apr 18, 7:53 AM
tomek closed D11648: [web] Create a function that reassigns notifs session.
Thu, Apr 18, 7:53 AM
tomek committed rCOMM0fe1eb2d8e1d: [web] Reassign the notifs session (authored by tomek).
[web] Reassign the notifs session
Thu, Apr 18, 7:53 AM
tomek committed rCOMMd6620dd49be4: [web] Create a function that reassigns notifs session (authored by tomek).
[web] Create a function that reassigns notifs session
Thu, Apr 18, 7:53 AM
tomek committed rCOMMe858ac54c903: [web] Extract a function that determines where to store notifs session (authored by tomek).
[web] Extract a function that determines where to store notifs session
Thu, Apr 18, 7:53 AM
tomek requested review of D11688: [native] Purge the store after clearing the DB.
Thu, Apr 18, 7:52 AM
tomek updated the diff for D11649: [web] Reassign the notifs session.

Rever changes to import ordering

Thu, Apr 18, 2:37 AM

Wed, Apr 17

tomek updated the diff for D11649: [web] Reassign the notifs session.

Always delete the old item

Wed, Apr 17, 10:30 AM
tomek added a comment to D11649: [web] Reassign the notifs session.

Is it possible that due to some internal keyserver error the cookie will change and the keyserver will request the client to create new notifs session but new notifications session creation will execute before the effect is executed? In such case the old session would overwrite new one.

Maybe... it would require two things to happen almost at the same time: 1. keyserver sending new cookie 2. keyserver noticing that a notif session should be recreated. Going to think about it, but it sounds really unlikely to happen.

After thinking about this it seems to be an extreme edge case. I think we can protect ourselves against it by reassigning only when the target item isn't set - that would mean that we created a new session for the new cookie. Unfortunately, this still leaves us with an even less probable race condition: localForage doesn't have an API that allows atomic "set if not present" operation, so it's still possible for an item to be set after we check and before we set a new one.

Wed, Apr 17, 10:29 AM
tomek updated the diff for D11649: [web] Reassign the notifs session.

Add some protection against edge cases

Wed, Apr 17, 10:28 AM
tomek accepted D11670: [native][web] Don't stamp SQLite database until authoritative keyserver auth.
Wed, Apr 17, 6:28 AM
tomek accepted D11668: [web] Rename GET_/SET_CURRENT_USER_ID in shared worker.
Wed, Apr 17, 6:24 AM
tomek accepted D11666: [native] Rename get/setCurrentUserID in CommCoreModule.

Should we regenerate a wasm file?

Wed, Apr 17, 4:32 AM

Tue, Apr 16

tomek updated the test plan for D11649: [web] Reassign the notifs session.
Tue, Apr 16, 9:15 AM
tomek added a comment to D11649: [web] Reassign the notifs session.

I would amend to the test plan some steps that try to recreate race condition when we log in multiple pages at the same time. We should expect that after logging in to all pages we can see multiple notifs sessions in IndexedDB but when the notifs is received we can decrypt it and it removes all but one notif session.

Tue, Apr 16, 9:14 AM
tomek updated the diff for D11649: [web] Reassign the notifs session.

Fix reassignment logic

Tue, Apr 16, 9:14 AM
tomek added inline comments to D11648: [web] Create a function that reassigns notifs session.
Tue, Apr 16, 8:45 AM
tomek updated the diff for D11648: [web] Create a function that reassigns notifs session.

Rebase

Tue, Apr 16, 8:45 AM
tomek updated the diff for D11647: [web] Extract a function that determines where to store notifs session.

Rename

Tue, Apr 16, 8:41 AM
tomek added inline comments to D11645: Force already logged in ETH users to create and sign backup message.
Tue, Apr 16, 4:11 AM
tomek accepted D11645: Force already logged in ETH users to create and sign backup message.
Tue, Apr 16, 3:27 AM

Mon, Apr 15

tomek accepted D11663: [native] Stop using ReanimatedJSIModulePackage on Android.
Mon, Apr 15, 7:28 AM
tomek added a comment to D11643: [web] Show a popup when client_version_unsupported.

Can't we simply reload the page when the client version is unsupported?

Mon, Apr 15, 4:22 AM
tomek accepted D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.

Why moving this code to CommHybrid fixes the issue?

I believe because it executes later. More details here. My thinking was that it's safe to call from CommHybrid, since it's called from CommCoreJSIModulePackage.getJSIModules.

Since by that point other JSI libraries (presuamably including Expo libraries) seem ready for setup, I figured it was safe to call SecureStore from that location.

Mon, Apr 15, 4:16 AM
tomek accepted D11660: [native] Recreate CommMMKV keys if they can't be loaded.
Mon, Apr 15, 1:58 AM
tomek added a comment to D11659: [native][android] Move database and MMKV initialization to CommCoreJSIModulePackage.

Why moving this code to CommHybrid fixes the issue?

Mon, Apr 15, 1:56 AM
tomek accepted D11653: [lib] Update `UPDATE_RELATIONSHIP.rawMessageInfoFromClientDB` to handle `farcaster_mutual`.
Mon, Apr 15, 1:38 AM
tomek added inline comments to D11651: [lib] Include `[creator/target]FID` in `messageContentForServerDB` when update relationship op is `farcaster_mutual`.
Mon, Apr 15, 1:37 AM
tomek accepted D11652: [lib] Update `UPDATE_RELATIONSHIP.rawMessageInfoFromServerDB` to handle `farcaster_mutual`.
Mon, Apr 15, 1:37 AM
tomek accepted D11651: [lib] Include `[creator/target]FID` in `messageContentForServerDB` when update relationship op is `farcaster_mutual`.
Mon, Apr 15, 1:35 AM
tomek accepted D11650: [lib] Split `UpdateRelationshipMessageInfo` into `Update[Traditional/Farcaster]RelationshipMessageInfo`.
Mon, Apr 15, 1:24 AM
tomek accepted D11632: [lib][web][native] Pass preRequestUserState into invalidSessionRecovery.
Mon, Apr 15, 1:21 AM
tomek requested changes to D11645: Force already logged in ETH users to create and sign backup message.
Mon, Apr 15, 1:08 AM

Fri, Apr 12

tomek requested review of D11649: [web] Reassign the notifs session.
Fri, Apr 12, 11:51 AM
tomek requested review of D11648: [web] Create a function that reassigns notifs session.
Fri, Apr 12, 11:36 AM
tomek requested review of D11647: [web] Extract a function that determines where to store notifs session.
Fri, Apr 12, 11:26 AM
tomek accepted D11642: [lib] Split `rawUpdateRelationshipMessageInfoValidator` into `rawUpdate[Traditional/Farcaster]RelationshipMessageInfoValidator`.
Fri, Apr 12, 2:41 AM
tomek accepted D11641: [lib] Split `UpdateRelationshipMessageData` into `UpdateTraditionalMessageData` and `UpdateFarcasterMessageData`.
Fri, Apr 12, 2:39 AM

Thu, Apr 11

tomek added a comment to D11624: [lib] Fix `farcasterRelationshipRequestValidator`.

Do we need a dedicated validator for UpdateRelationshipMessage?

Thu, Apr 11, 8:27 AM
tomek accepted D11624: [lib] Fix `farcasterRelationshipRequestValidator`.
Thu, Apr 11, 8:27 AM
tomek accepted D11612: [lib] Update `updateRelationshipInputValidator` to be union of `[traditional/farcaster]RelationshipRequestValidator`.
Thu, Apr 11, 8:26 AM
tomek accepted D11611: [keyserver] Update `updateRelationshipsResponder` to handle `RelationshipRequest`.
Thu, Apr 11, 8:24 AM
tomek closed D11573: [native] Clear auth metadata on logout.
Thu, Apr 11, 5:38 AM
tomek committed rCOMM77893eed7c78: [native] Clear auth metadata on logout (authored by tomek).
[native] Clear auth metadata on logout
Thu, Apr 11, 5:38 AM
tomek closed D11533: [web][native] Reset the state iff current user ID changes.
Thu, Apr 11, 5:38 AM
tomek closed D11534: [web][native] Extract the common logic determining when to clear the data.
Thu, Apr 11, 5:38 AM
tomek committed rCOMMa384021d4934: [web][native] Reset the state iff current user ID changes (authored by tomek).
[web][native] Reset the state iff current user ID changes
Thu, Apr 11, 5:38 AM