Page MenuHomePhabricator
Feed Advanced Search

Feb 1 2024

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

Invert the flag

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

Rebase

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

Rebase

Feb 1 2024, 9:08 AM
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, 8:04 AM
tomek planned changes to D10311: [lib] Allow overriding a keyserver in a function returned from useKeyserverCall hook.
Feb 1 2024, 7:57 AM
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, 7:57 AM
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, 7:33 AM
tomek updated the diff for D10307: [lib] Do not provide overrides when we already know a keyserver.

Rebase

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

Rebase

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

Update comment

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

Rebase

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

Rebase

Feb 1 2024, 7:09 AM
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, 6:49 AM
tomek updated the diff for D10134: [keyserver] Create a blob while adding / editing an invite link.

Rebase

Feb 1 2024, 6:47 AM
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, 6:38 AM
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, 6:09 AM
tomek accepted D10908: [keyserver] Authorize blob service requests.
Feb 1 2024, 5:56 AM
tomek added inline comments to D10867: [native] Store access token in Redux.
Feb 1 2024, 4:12 AM
tomek added inline comments to D10884: [lib] Cancel an auth every time dependencies change.
Feb 1 2024, 4:02 AM
tomek updated the diff for D10884: [lib] Cancel an auth every time dependencies change.

Rename

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

Improve canceling logic

Feb 1 2024, 3:51 AM
tomek added inline comments to D10899: [web] introduce member list sidebar provider.
Feb 1 2024, 1: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, 8:58 AM
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, 8:55 AM
tomek updated the diff for D9972: [keyserver] Delete a holder after deleting a blob.

Instantly delete blobs

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

Set instant flag

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

Rebase

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

Destructure params inside function

Jan 31 2024, 8:39 AM
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, 8:35 AM
tomek added inline comments to D10884: [lib] Cancel an auth every time dependencies change.
Jan 31 2024, 7:54 AM
tomek requested review of D10842: [lib] Don't automatically log out on connection issue when using CSAT.
Jan 31 2024, 7:52 AM
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, 7:51 AM
tomek requested review of D10884: [lib] Cancel an auth every time dependencies change.
Jan 31 2024, 7:48 AM
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, 1:39 AM
tomek requested changes to D10881: [native] use identityGenerateNonce in SIWEPanel component.
Jan 31 2024, 1:28 AM
tomek requested changes to D10880: [lib][native][web] add generate nonce action types.
Jan 31 2024, 1:14 AM

Jan 30 2024

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

Use sleep

Jan 30 2024, 8:21 AM
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, 5:18 AM
tomek added inline comments to D10867: [native] Store access token in Redux.
Jan 30 2024, 1:57 AM

Jan 29 2024

tomek closed D10867: [native] Store access token in Redux.
Jan 29 2024, 9:00 AM
tomek committed rCOMM145a81b1d298: [native] Store access token in Redux (authored by tomek).
[native] Store access token in Redux
Jan 29 2024, 9:00 AM
tomek closed D10866: [native] Emit a token and user ID after setting the values.
Jan 29 2024, 9:00 AM
tomek committed rCOMM0481dc169f90: [native] Emit a token and user ID after setting the values (authored by tomek).
[native] Emit a token and user ID after setting the values
Jan 29 2024, 9:00 AM
tomek added inline comments to D10635: [lib][web][native] Make it possible to remove a subset of drafts.
Jan 29 2024, 7:14 AM
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, 6:56 AM
tomek added inline comments to D10834: [lib] Logout after failing to auth with Ashoat's keyserver.
Jan 29 2024, 6:43 AM
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, 6:19 AM
tomek requested review of D10867: [native] Store access token in Redux.
Jan 29 2024, 6:02 AM
tomek requested review of D10866: [native] Emit a token and user ID after setting the values.
Jan 29 2024, 6:01 AM
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, 3:53 AM
tomek closed D10830: [lib] Create a selector that checks if a user is logged in to a keyserver.
Jan 29 2024, 3:44 AM
tomek closed D10814: [lib] Call keyserver auth.
Jan 29 2024, 3:44 AM
tomek closed D10813: [keyserver] Update auth request validator.
Jan 29 2024, 3:44 AM
tomek committed rCOMM61b020d624e3: [lib] Call keyserver auth (authored by tomek).
[lib] Call keyserver auth
Jan 29 2024, 3:44 AM
tomek committed rCOMM0d12f0220b5e: [keyserver] Update auth request validator (authored by tomek).
[keyserver] Update auth request validator
Jan 29 2024, 3:44 AM
tomek committed rCOMMe7ae43ad692f: [lib] Create a selector that checks if a user is logged in to a keyserver (authored by tomek).
[lib] Create a selector that checks if a user is logged in to a keyserver
Jan 29 2024, 3:44 AM
tomek closed D10786: [lib] Expose a function that allows reading deviceID, userID and accessToken.
Jan 29 2024, 3:44 AM
tomek closed D10777: [lib] Create content Olm session.
Jan 29 2024, 3:44 AM
tomek committed rCOMM20418cf5ac19: [lib] Create content Olm session (authored by tomek).
[lib] Create content Olm session
Jan 29 2024, 3:44 AM
tomek committed rCOMMe11d5b0539b8: [lib] Expose a function that allows reading deviceID, userID and accessToken (authored by tomek).
[lib] Expose a function that allows reading deviceID, userID and accessToken
Jan 29 2024, 3:44 AM
tomek closed D10667: [lib] Create notifs Olm session.
Jan 29 2024, 3:44 AM
tomek committed rCOMMa39e0e4ef7f3: [lib] Create notifs Olm session (authored by tomek).
[lib] Create notifs Olm session
Jan 29 2024, 3:44 AM
tomek added inline comments to D10814: [lib] Call keyserver auth.
Jan 29 2024, 1:39 AM
tomek accepted D10750: [native] implementing getting outbound user keys in `IdentityServiceClient`.
Jan 29 2024, 1:04 AM

Jan 26 2024

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

Await a promise

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

Improve filtering

Jan 26 2024, 6:01 AM
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, 5:44 AM
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, 5:20 AM
tomek requested review of D10830: [lib] Create a selector that checks if a user is logged in to a keyserver.
Jan 26 2024, 5:01 AM
tomek planned changes to D10814: [lib] Call keyserver auth.
Jan 26 2024, 3:50 AM
tomek added inline comments to D10814: [lib] Call keyserver auth.
Jan 26 2024, 3:50 AM
tomek accepted D10812: Rename `useDisconnectedBarVisibilityHandler` to `useKeyserverReachabilityHandler`.
Jan 26 2024, 2:09 AM
tomek accepted D10815: [native] validate auth result on identity register.
Jan 26 2024, 2:01 AM

Jan 25 2024

tomek added inline comments to D10814: [lib] Call keyserver auth.
Jan 25 2024, 7:01 AM
tomek requested review of D10814: [lib] Call keyserver auth.
Jan 25 2024, 6:58 AM
tomek requested review of D10813: [keyserver] Update auth request validator.
Jan 25 2024, 6:58 AM
tomek requested changes to D10812: Rename `useDisconnectedBarVisibilityHandler` to `useKeyserverReachabilityHandler`.

This diff should have a meaningful test plan

Jan 25 2024, 3:00 AM
tomek accepted D10811: [web][native] Remove branching on `minimallyEncoded` in `redux-setup`.
Jan 25 2024, 2:57 AM
tomek accepted D10810: Remove branching on `.minimallyEncoded` where no longer relevant.
Jan 25 2024, 2:56 AM
tomek accepted D10807: [lib] Remove support for `LegacyRawThreadInfo` in `getRelativeMemberInfos`.
Jan 25 2024, 2:53 AM
tomek accepted D10806: Get rid of `minimallyEncoded*` prefix for validators.
Jan 25 2024, 2:48 AM
tomek accepted D10805: Rename `MinimallyEncodedThreadCurrentUserInfo` to `ThreadCurrentUserInfo`.
Jan 25 2024, 2:45 AM
tomek added inline comments to D10808: [web] hook to get device key upload data.
Jan 25 2024, 2:42 AM
tomek added inline comments to D10455: [web] client method for login password user.
Jan 25 2024, 2:38 AM

Jan 22 2024

tomek accepted D10752: [web][native] implement creating outbound session in `OlmSessionCreatorContext`.
Jan 22 2024, 8:38 AM
tomek accepted D10751: [lib] rename `NotificationsSessionCreatorContext` -> `OlmSessionCreatorContext`.
Jan 22 2024, 8:23 AM
tomek requested changes to D10750: [native] implementing getting outbound user keys in `IdentityServiceClient`.
Jan 22 2024, 8:15 AM
tomek accepted D10749: [web] implementing getting outbound user keys in `IdentityServiceClient`.
Jan 22 2024, 8:11 AM
tomek accepted D10748: [lib] make Identity keys types more generic.
Jan 22 2024, 8:03 AM
tomek requested review of D10786: [lib] Expose a function that allows reading deviceID, userID and accessToken.
Jan 22 2024, 6:16 AM
tomek requested review of D10777: [lib] Create content Olm session.
Jan 22 2024, 5:12 AM
tomek updated the diff for D10667: [lib] Create notifs Olm session.

Rebase onto D10752

Jan 22 2024, 4:26 AM
tomek accepted D10753: [web] fix typo in settings panel.
Jan 22 2024, 3:50 AM

Jan 19 2024

tomek closed D10666: [lib][native][web] Parse keyserver keys payload and validate the result.
Jan 19 2024, 8:03 AM