Page MenuHomePhabricator

tomek (Tomasz Palys)
User

Projects

User does not belong to any projects.

User Details

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

Recent Activity

Tue, Apr 30

tomek closed D11839: [lib] Display a dev prefix for dev invite links.
Tue, Apr 30, 11:02 AM
tomek committed rCOMMc9f87ae6c959: [lib] Display a dev prefix for dev invite links (authored by tomek).
[lib] Display a dev prefix for dev invite links
Tue, Apr 30, 11:02 AM
tomek closed D11838: [keyserver] Update uploads table type.
Tue, Apr 30, 11:02 AM
tomek committed rCOMMf8fe718bd0aa: [keyserver] Update uploads table type (authored by tomek).
[keyserver] Update uploads table type
Tue, Apr 30, 11:02 AM
tomek updated the summary of D11839: [lib] Display a dev prefix for dev invite links.
Tue, Apr 30, 2:48 AM
tomek requested review of D11838: [keyserver] Update uploads table type.
Tue, Apr 30, 2:36 AM
tomek accepted D11835: [web] add `GetDeviceListsForUsers` in `IdentityServiceClient`.
Tue, Apr 30, 1:54 AM
tomek accepted D11834: [native] add `GetDeviceListsForUsers` in `IdentityServiceClient`.
Tue, Apr 30, 1:51 AM
tomek accepted D11833: [CommRustModule] add JSI bindings for `GetDeviceListsForUsers` RPC.
Tue, Apr 30, 1:48 AM
tomek accepted D11832: [native] implement `GetDeviceListsForUsers` RPC in `native_rust_library`.
Tue, Apr 30, 1:40 AM
tomek accepted D11705: [web] log out if CSAT is missing.

however, my local keyserver/mariadb isn't designed to handle switching between false and true.

What do you mean by that? After you go with https://www.notion.so/commapp/Running-two-keyservers-0d373941f2494d949846da02752b91db instructions, you can change the client's flags however you want - at least that's what I'm doing and it works reliably. So my keyserver is always configured in a multi-keyserver manner.

Tue, Apr 30, 1:32 AM
tomek closed D11800: [lib] Properly handle hashing in progress.
Tue, Apr 30, 1:23 AM
tomek committed rCOMMde3563ffd621: [lib] Properly handle hashing in progress (authored by tomek).
[lib] Properly handle hashing in progress
Tue, Apr 30, 1:23 AM
tomek updated the diff for D11800: [lib] Properly handle hashing in progress.

Update a comment

Tue, Apr 30, 12:59 AM
tomek accepted D11837: [lib] Propagate exceptions in keyserverAuth to callers.
Tue, Apr 30, 12:35 AM

Mon, Apr 29

tomek accepted D11737: [lib] confirm Tunnelbroker messages after processing.
Mon, Apr 29, 5:32 AM
tomek accepted D11732: [lib] handle Tunnelbroker messages sequentially.
Mon, Apr 29, 5:31 AM
tomek updated the diff for D11800: [lib] Properly handle hashing in progress.

Fix a comment

Mon, Apr 29, 3:44 AM
tomek updated the diff for D11800: [lib] Properly handle hashing in progress.

Add a comment

Mon, Apr 29, 3:43 AM
tomek closed D11823: [lib][native][web] Show a message when a user is already a part of a community.
Mon, Apr 29, 2:21 AM
tomek committed rCOMMc3200b0b69aa: [lib][native][web] Show a message when a user is already a part of a community (authored by tomek).
[lib][native][web] Show a message when a user is already a part of a community
Mon, Apr 29, 2:21 AM
tomek closed D11812: [lib][native][web] Display a message when accepting an invite link times out.
Mon, Apr 29, 2:21 AM
tomek committed rCOMM40a81f92f599: [lib][native][web] Display a message when accepting an invite link times out (authored by tomek).
[lib][native][web] Display a message when accepting an invite link times out
Mon, Apr 29, 2:21 AM
tomek added inline comments to D11800: [lib] Properly handle hashing in progress.
Mon, Apr 29, 2:07 AM
tomek added inline comments to D11823: [lib][native][web] Show a message when a user is already a part of a community.
Mon, Apr 29, 1:45 AM
tomek updated the diff for D11823: [lib][native][web] Show a message when a user is already a part of a community.

Simplify

Mon, Apr 29, 1:45 AM
tomek accepted D11821: [lib] introduce useDeleteFarcasterChannelTag.
Mon, Apr 29, 1:31 AM
tomek accepted D11815: [lib] introduce deleteFarcasterChannelTagActionTypes.
Mon, Apr 29, 1:28 AM
tomek accepted D11814: [keyserver/lib] introduce delete_farcaster_channel_tag endpoint.
Mon, Apr 29, 1:22 AM
tomek accepted D11813: [keyserver] introduce deleteFarcasterChannelTag.
Mon, Apr 29, 1:18 AM
tomek accepted D11773: [keyserver] introduce create_or_update_farcaster_channel_tag endpoint.

Not going to block it, but the approach doesn't make too much sense to me. Introducing something just to be removed a little later could be avoided by a better sequencing of work.

Mon, Apr 29, 12:54 AM
tomek accepted D11739: [web] render `DBOpsHandler` in `TunnelbrokerProvider`.

Are there any actions that need ops processing dispatched before we render TunnelbrokerProvider?

Mon, Apr 29, 12:42 AM
tomek accepted D11737: [lib] confirm Tunnelbroker messages after processing.
Mon, Apr 29, 12:36 AM
tomek added inline comments to D11732: [lib] handle Tunnelbroker messages sequentially.
Mon, Apr 29, 12:30 AM
tomek accepted D11732: [lib] handle Tunnelbroker messages sequentially.
Mon, Apr 29, 12:26 AM

Fri, Apr 26

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

Thu, Apr 25

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