Page MenuHomePhorge
Feed Search

Feb 6 2024

tomek accepted D10960: [web] factor out creation of DeviceKeyUpload.
Feb 6 2024, 9:00 AM
tomek accepted D10959: [native] rename siweServerCall.

It would be helpful if you linked a Linear task describing why we need to change that or explain what the plan is. I guess we're going to introduce a new, similar hook, but I can't be sure.

Feb 6 2024, 8:56 AM
tomek accepted D10115: [native] Update update-roles-and-permissions-test-data.js to include specialRole field.
Feb 6 2024, 8:52 AM
tomek added inline comments to D10115: [native] Update update-roles-and-permissions-test-data.js to include specialRole field.
Feb 6 2024, 8:52 AM
tomek added inline comments to D10114: [lib] Update thread-ops-utils.test.js to include specialRole field.
Feb 6 2024, 8:48 AM
tomek accepted D10114: [lib] Update thread-ops-utils.test.js to include specialRole field.
Feb 6 2024, 8:48 AM
tomek accepted D10113: [lib] Update validation.test.js to include specialRole field.
Feb 6 2024, 8:46 AM
tomek accepted D10112: [lib] Update minimally-encoded-thread-permissions-test-data.js to include specialRole field.
Feb 6 2024, 8:46 AM
tomek accepted D10111: [lib] Update minimally-encoded-thread-permissions.test.js to include specialRole field.
Feb 6 2024, 8:45 AM
tomek accepted D10110: [keyserver] Update responder-validators.test.js to include specialRole field.
Feb 6 2024, 8:44 AM

Feb 5 2024

tomek added inline comments to D10884: [lib] Cancel an auth every time dependencies change.
Feb 5 2024, 3:27 PM
tomek closed D10884: [lib] Cancel an auth every time dependencies change.
Feb 5 2024, 3:23 PM
tomek committed rCOMMdb6e4f32817d: [lib] Cancel an auth every time dependencies change.
Feb 5 2024, 3:23 PM
tomek closed D10844: [lib] Retry auth.
Feb 5 2024, 3:23 PM
tomek closed D10843: [lib] Clear connection issue on successful login.
Feb 5 2024, 3:23 PM
tomek committed rCOMMee45a9d54c10: [lib] Clear connection issue on successful login.
Feb 5 2024, 3:23 PM
tomek committed rCOMM4111f6f08744: [lib] Retry auth.
Feb 5 2024, 3:23 PM
tomek closed D10842: [lib] Don't automatically log out on connection issue when using CSAT.
Feb 5 2024, 3:23 PM
tomek closed D10834: [lib] Logout after failing to auth with Ashoat's keyserver.
Feb 5 2024, 3:23 PM
tomek committed rCOMM2223dde652af: [lib] Logout after failing to auth with Ashoat's keyserver.
Feb 5 2024, 3:23 PM
tomek committed rCOMM44debc42a70f: [lib] Don't automatically log out on connection issue when using CSAT.
Feb 5 2024, 3:23 PM
tomek closed D10831: [lib] Run the keyserver auth only when it isn't running and a user isn't already authenticated.
Feb 5 2024, 3:23 PM
tomek committed rCOMMe2ac6ed1367a: [lib] Run the keyserver auth only when it isn't running and a user isn't….
Feb 5 2024, 3:23 PM
tomek added inline comments to D10884: [lib] Cancel an auth every time dependencies change.
Feb 5 2024, 3:01 PM
tomek updated the diff for D10884: [lib] Cancel an auth every time dependencies change.

Await more promises at once

Feb 5 2024, 3:00 PM
tomek added inline comments to D10834: [lib] Logout after failing to auth with Ashoat's keyserver.
Feb 5 2024, 2:56 PM

Feb 1 2024

tomek added inline comments to D10884: [lib] Cancel an auth every time dependencies change.
Feb 1 2024, 5:23 PM
tomek updated the diff for D10884: [lib] Cancel an auth every time dependencies change.

Invert the flag

Feb 1 2024, 5:20 PM
tomek updated the diff for D10884: [lib] Cancel an auth every time dependencies change.

Rebase

Feb 1 2024, 5:09 PM
tomek updated the diff for D10843: [lib] Clear connection issue on successful login.

Rebase

Feb 1 2024, 5:08 PM
tomek updated the diff for D10338: [web][native] Download invite link blob and use it as an override.

Rebase and address comments

Feb 1 2024, 4:04 PM
tomek planned changes to D10311: [lib] Allow overriding a keyserver in a function returned from useKeyserverCall hook.
Feb 1 2024, 3:57 PM
tomek updated the diff for D10311: [lib] Allow overriding a keyserver in a function returned from useKeyserverCall hook.

Rebased the diff but I'm not sure whether it works and is the right approach

Feb 1 2024, 3:57 PM
tomek updated the diff for D10308: [keyserver] Modify link verification so that it works with users that aren't logged in to a keyserver.

Rebase

Feb 1 2024, 3:33 PM
tomek updated the diff for D10307: [lib] Do not provide overrides when we already know a keyserver.

Rebase

Feb 1 2024, 3:30 PM
tomek updated the diff for D10290: [lib] Modify link verification to call the proper keyserver.

Rebase

Feb 1 2024, 3:26 PM
tomek updated the diff for D10206: [keyserver] Set a job that synchronizes links with blobs.

Update comment

Feb 1 2024, 3:20 PM
tomek removed a reviewer for D10205: [keyserver] Add a function that synchronizes keyserver's invite links with blobs: rohan.
Feb 1 2024, 3:17 PM
tomek updated the diff for D10205: [keyserver] Add a function that synchronizes keyserver's invite links with blobs.

Rebase

Feb 1 2024, 3:16 PM
tomek updated the diff for D10150: [keyserver] Introduce a function that allows fetching all the primary links.

Rebase

Feb 1 2024, 3:09 PM
tomek added a comment to D10134: [keyserver] Create a blob while adding / editing an invite link.

I'm going to check the option of using MariaDB transactions to minimize the number of possible race conditions

Feb 1 2024, 2:49 PM
tomek updated the diff for D10134: [keyserver] Create a blob while adding / editing an invite link.

Rebase

Feb 1 2024, 2:47 PM
tomek updated the diff for D10131: [keyserver] Change blob upload functions to return more usable results.

Include status and text in a result

Feb 1 2024, 2:38 PM
tomek requested changes to D10909: [lib] Add hook for easy access to CSAT.

This is quite fragile - it should work because in identity context we select commServicesAccessToken, and when it changes, we create a new value of getAuthMetadata function. Also, accessToken and userID are exposed by the same emitter.

Feb 1 2024, 2:09 PM
tomek accepted D10908: [keyserver] Authorize blob service requests.
Feb 1 2024, 1:56 PM
tomek added inline comments to D10867: [native] Store access token in Redux.
Feb 1 2024, 12:12 PM
tomek added inline comments to D10884: [lib] Cancel an auth every time dependencies change.
Feb 1 2024, 12:02 PM
tomek updated the diff for D10884: [lib] Cancel an auth every time dependencies change.

Rename

Feb 1 2024, 11:58 AM
tomek updated the diff for D10884: [lib] Cancel an auth every time dependencies change.

Improve canceling logic

Feb 1 2024, 11:51 AM
tomek added inline comments to D10899: [web] introduce member list sidebar provider.
Feb 1 2024, 9:46 AM

Jan 31 2024

tomek updated the diff for D10099: [keyserver] Introduce a util function that generates invite link blob hash.

Rebase

Jan 31 2024, 4:58 PM
tomek updated the diff for D10098: [keyserver] Modify blob functions so that they take params object where both hash and holder are provided.

Destructure in the function

Jan 31 2024, 4:55 PM
tomek updated the diff for D9972: [keyserver] Delete a holder after deleting a blob.

Instantly delete blobs

Jan 31 2024, 4:51 PM
tomek updated the diff for D9966: [keyserver] Add a function that deletes a blob.

Set instant flag

Jan 31 2024, 4:47 PM
tomek updated the diff for D9968: [keyserver] Fetch invite link blob holder.

Rebase

Jan 31 2024, 4:43 PM
tomek updated the diff for D9966: [keyserver] Add a function that deletes a blob.

Destructure params inside function

Jan 31 2024, 4:39 PM
tomek updated the diff for D9944: [keyserver] Block creating invite links for which an entry in Blob service already exists.

Delete unnecessary async

Jan 31 2024, 4:35 PM
tomek added inline comments to D10884: [lib] Cancel an auth every time dependencies change.
Jan 31 2024, 3:54 PM
tomek requested review of D10842: [lib] Don't automatically log out on connection issue when using CSAT.
Jan 31 2024, 3:52 PM
tomek requested review of D10831: [lib] Run the keyserver auth only when it isn't running and a user isn't already authenticated.

Decided that it is a lot more efficient to introduce a new diff which introduces canceling the auth D10884.

Jan 31 2024, 3:51 PM
tomek requested review of D10884: [lib] Cancel an auth every time dependencies change.
Jan 31 2024, 3:48 PM
tomek accepted D10882: [lib] Replace `ConnectionInfo.showDisconnectedBar` with `ConnectionInfo.unreachable`.

My understanding is that ConnectionInfo is a client-only type and no inital value is sent from the keyserver. I was a bit confused because of connectionInfoValidator, but it turns out connectionInfoValidator is only consumed by keyserverInfoValidator which is only consumed by keyserverStoreValidator... which doesn't seem to be used anywhere? It looks like the only two KeyserverInfo fields we send as part of initialReduxState are sessionID and updatesCurrentAsOf.

This seems to be correct, but we should extend the test plan by checking if old clients can work correctly after this change.

Jan 31 2024, 9:39 AM
tomek requested changes to D10881: [native] use identityGenerateNonce in SIWEPanel component.
Jan 31 2024, 9:28 AM
tomek requested changes to D10880: [lib][native][web] add generate nonce action types.
Jan 31 2024, 9:14 AM

Jan 30 2024

tomek updated the diff for D10844: [lib] Retry auth.

Use sleep

Jan 30 2024, 4:21 PM
tomek added inline comments to D10831: [lib] Run the keyserver auth only when it isn't running and a user isn't already authenticated.
Jan 30 2024, 1:18 PM
tomek added inline comments to D10867: [native] Store access token in Redux.
Jan 30 2024, 9:57 AM

Jan 29 2024

tomek closed D10867: [native] Store access token in Redux.
Jan 29 2024, 5:00 PM
tomek committed rCOMM145a81b1d298: [native] Store access token in Redux.
Jan 29 2024, 5:00 PM
tomek closed D10866: [native] Emit a token and user ID after setting the values.
Jan 29 2024, 5:00 PM
tomek committed rCOMM0481dc169f90: [native] Emit a token and user ID after setting the values.
Jan 29 2024, 5:00 PM
tomek added inline comments to D10635: [lib][web][native] Make it possible to remove a subset of drafts.
Jan 29 2024, 3:14 PM
tomek planned changes to D10842: [lib] Don't automatically log out on connection issue when using CSAT.

Is this what we want to do for all connection issues, even for my keyserver? Or are there some kinds of connection issues, where if they occur for my keyserver, we'd want to log the user out?

Jan 29 2024, 2:56 PM
tomek added inline comments to D10834: [lib] Logout after failing to auth with Ashoat's keyserver.
Jan 29 2024, 2:43 PM
tomek added inline comments to D10831: [lib] Run the keyserver auth only when it isn't running and a user isn't already authenticated.
Jan 29 2024, 2:19 PM
tomek requested review of D10867: [native] Store access token in Redux.
Jan 29 2024, 2:02 PM
tomek requested review of D10866: [native] Emit a token and user ID after setting the values.
Jan 29 2024, 2:01 PM
tomek planned changes to D10831: [lib] Run the keyserver auth only when it isn't running and a user isn't already authenticated.
Jan 29 2024, 11:53 AM
tomek closed D10830: [lib] Create a selector that checks if a user is logged in to a keyserver.
Jan 29 2024, 11:44 AM
tomek closed D10814: [lib] Call keyserver auth.
Jan 29 2024, 11:44 AM
tomek closed D10813: [keyserver] Update auth request validator.
Jan 29 2024, 11:44 AM
tomek committed rCOMM61b020d624e3: [lib] Call keyserver auth.
Jan 29 2024, 11:44 AM
tomek committed rCOMM0d12f0220b5e: [keyserver] Update auth request validator.
Jan 29 2024, 11:44 AM
tomek committed rCOMMe7ae43ad692f: [lib] Create a selector that checks if a user is logged in to a keyserver.
Jan 29 2024, 11:44 AM
tomek closed D10786: [lib] Expose a function that allows reading deviceID, userID and accessToken.
Jan 29 2024, 11:44 AM
tomek closed D10777: [lib] Create content Olm session.
Jan 29 2024, 11:44 AM
tomek committed rCOMM20418cf5ac19: [lib] Create content Olm session.
Jan 29 2024, 11:44 AM
tomek committed rCOMMe11d5b0539b8: [lib] Expose a function that allows reading deviceID, userID and accessToken.
Jan 29 2024, 11:44 AM
tomek closed D10667: [lib] Create notifs Olm session.
Jan 29 2024, 11:44 AM
tomek committed rCOMMa39e0e4ef7f3: [lib] Create notifs Olm session.
Jan 29 2024, 11:44 AM
tomek added inline comments to D10814: [lib] Call keyserver auth.
Jan 29 2024, 9:39 AM
tomek accepted D10750: [native] implementing getting outbound user keys in `IdentityServiceClient`.
Jan 29 2024, 9:04 AM

Jan 26 2024

tomek requested review of D10844: [lib] Retry auth.
Jan 26 2024, 5:44 PM
tomek requested review of D10843: [lib] Clear connection issue on successful login.
Jan 26 2024, 5:16 PM
tomek requested review of D10842: [lib] Don't automatically log out on connection issue when using CSAT.
Jan 26 2024, 5:09 PM
tomek requested review of D10834: [lib] Logout after failing to auth with Ashoat's keyserver.
Jan 26 2024, 2:54 PM
tomek updated the diff for D10814: [lib] Call keyserver auth.

Await a promise

Jan 26 2024, 2:26 PM
tomek updated the diff for D10814: [lib] Call keyserver auth.

Improve filtering

Jan 26 2024, 2:01 PM
tomek updated the diff for D10830: [lib] Create a selector that checks if a user is logged in to a keyserver.

Delete unnecessary check - a dependency on dataLoaded flag makes this logic invalid

Jan 26 2024, 1:44 PM
tomek requested review of D10831: [lib] Run the keyserver auth only when it isn't running and a user isn't already authenticated.
Jan 26 2024, 1:20 PM