Page MenuHomePhabricator
Feed Advanced Search

Jan 19 2024

tomek closed D10665: [lib] Improve error handling in connection handler.
Jan 19 2024, 8:03 AM
tomek committed rCOMM715cc109dc0a: [lib][native][web] Parse keyserver keys payload and validate the result (authored by tomek).
[lib][native][web] Parse keyserver keys payload and validate the result
Jan 19 2024, 8:03 AM
tomek committed rCOMMaf7c614948c2: [lib] Improve error handling in connection handler (authored by tomek).
[lib] Improve error handling in connection handler
Jan 19 2024, 8:03 AM
tomek closed D10664: [native][web] Make identity client mandatory.
Jan 19 2024, 8:03 AM
tomek committed rCOMMd5ef4a27085a: [native][web] Make identity client mandatory (authored by tomek).
[native][web] Make identity client mandatory
Jan 19 2024, 8:03 AM
tomek closed D10663: [native][web] Add a context provider on native that exposes notifications session creator.
Jan 19 2024, 8:03 AM
tomek closed D10662: [web] Introduce deviceID parameter to initial notif message function.
Jan 19 2024, 8:03 AM
tomek committed rCOMMbf1ff1e5e8ff: [native][web] Add a context provider on native that exposes notifications… (authored by tomek).
[native][web] Add a context provider on native that exposes notifications…
Jan 19 2024, 8:03 AM
tomek committed rCOMM4290fd868410: [web] Introduce deviceID parameter to initial notif message function (authored by tomek).
[web] Introduce deviceID parameter to initial notif message function
Jan 19 2024, 8:03 AM
tomek closed D10660: [lib][native] Introduce deviceID parameter to initial notif message function.
Jan 19 2024, 8:03 AM
tomek committed rCOMM50b762fbe2de: [lib][native] Introduce deviceID parameter to initial notif message function (authored by tomek).
[lib][native] Introduce deviceID parameter to initial notif message function
Jan 19 2024, 8:03 AM
tomek updated the diff for D10667: [lib] Create notifs Olm session.

Simplify the code

Jan 19 2024, 6:34 AM
tomek updated the diff for D10666: [lib][native][web] Parse keyserver keys payload and validate the result.

Improve validation

Jan 19 2024, 6:30 AM
tomek updated the diff for D10665: [lib] Improve error handling in connection handler.

Rebase

Jan 19 2024, 6:23 AM
tomek updated the diff for D10664: [native][web] Make identity client mandatory.

Rebase

Jan 19 2024, 6:22 AM
tomek updated the diff for D10663: [native][web] Add a context provider on native that exposes notifications session creator.

Rename

Jan 19 2024, 6:20 AM
tomek updated the diff for D10662: [web] Introduce deviceID parameter to initial notif message function.

Rename

Jan 19 2024, 6:13 AM
tomek updated the diff for D10660: [lib][native] Introduce deviceID parameter to initial notif message function.

Rebase

Jan 19 2024, 5:51 AM
tomek updated the diff for D10660: [lib][native] Introduce deviceID parameter to initial notif message function.

Rename

Jan 19 2024, 5:50 AM
tomek added a comment to D10667: [lib] Create notifs Olm session.

I am confused by this differential. I have two questions:

  1. What is the purpose of deleting and recreating notifications sessions at least every time app starts (session creation is not idempotent - it overwrites previous session)? Session is created on login and via socket if the keyserver happens to be missing session.
  2. In its current state this differential doesn't guarantee that session on the client is in sync with session on the keyserver - initialEncryptedMessage returned from session creator is not used. If this differential is intentionally breaking the app and you plan to fix it later in the stack then it should be explicitly stated in summary or in a comment.
Jan 19 2024, 5:15 AM
tomek added inline comments to D10666: [lib][native][web] Parse keyserver keys payload and validate the result.
Jan 19 2024, 5:09 AM
tomek added a comment to D10662: [web] Introduce deviceID parameter to initial notif message function.

Using deviceID everywhere makes me sometimes confused which ID it is, so in places like this I would prefer recipientDeviceID or targetDeviceID but curious about what other reviewers think.

I did the same here D10381 so going to update next time touching this code.

Jan 19 2024, 4:58 AM
tomek added inline comments to D10660: [lib][native] Introduce deviceID parameter to initial notif message function.
Jan 19 2024, 4:56 AM

Jan 18 2024

tomek added inline comments to D10663: [native][web] Add a context provider on native that exposes notifications session creator.
Jan 18 2024, 10:12 AM
tomek updated the diff for D10663: [native][web] Add a context provider on native that exposes notifications session creator.

Reverse providers order

Jan 18 2024, 10:12 AM
tomek added inline comments to D10667: [lib] Create notifs Olm session.
Jan 18 2024, 10:06 AM
tomek updated the diff for D10664: [native][web] Make identity client mandatory.

Simplify

Jan 18 2024, 9:49 AM
tomek accepted D10697: [lib] Fix order of resolving keyserver calls after session recovery.
Jan 18 2024, 7:08 AM
tomek accepted D10696: [lib] Don't delete pending messages during session recovery.
Jan 18 2024, 6:57 AM
tomek accepted D10695: [lib] Introduce global BoundKeyserverActionFunc cache.
Jan 18 2024, 6:43 AM
tomek accepted D10694: [lib] Introduce global BoundSingleKeyserverActionFunc cache.
Jan 18 2024, 6:29 AM
tomek accepted D10693: [lib][web][native] Move some types to keyserver-conn-types.js.
Jan 18 2024, 6:14 AM
tomek accepted D10692: [lib] Introduce global CallSingleKeyserverEndpoint cache.
Jan 18 2024, 6:05 AM
tomek accepted D10691: [native] Rename resolve-invalidated-cookie.js.
Jan 18 2024, 5:48 AM
tomek accepted D10690: [lib] Fix type of getInitialNotificationsEncryptedMessage when passed to resolveKeyserverSessionInvalidationUsingNativeCredentials.
Jan 18 2024, 5:47 AM
tomek accepted D10689: [lib][web][native] Rename useServerCall to useLegacyAshoatKeyserverCall.
Jan 18 2024, 5:46 AM
tomek accepted D10688: [lib][web][native] Rename callServerEndpoint to callSingleKeyserverEndpoint.
Jan 18 2024, 5:44 AM
tomek accepted D10687: [lib] Inline useBindCallKeyserverEndpointSelector.
Jan 18 2024, 5:38 AM
tomek accepted D10686: [lib] Extract useKeyserverCallInfos into separate file.
Jan 18 2024, 5:32 AM
tomek accepted D10685: [lib] Make ActionFunc types local.
Jan 18 2024, 5:28 AM
tomek accepted D10684: [lib] Use createCallServerEndpointSelector from keyserver-call.js.
Jan 18 2024, 5:27 AM
tomek accepted D10683: [lib] Replace createBoundServerCallsSelector with createCallSingleKeyserverEndpointSelector.
Jan 18 2024, 5:16 AM
tomek accepted D10682: [lib][native] Have createBoundServerCallsSelector take keyserverID in first.
Jan 18 2024, 5:04 AM
tomek accepted D10681: [lib] Track session recovery on a per-keyserver basis.
Jan 18 2024, 3:40 AM
tomek accepted D10680: [lib] Avoid using same selector in useServerCall when paramOverride specified.
Jan 18 2024, 3:36 AM
tomek accepted D10679: [lib][native][web] Introduce CallKeyserverEndpointProvider.
Jan 18 2024, 3:30 AM
tomek accepted D10678: [lib] Remove `LegacyThreadInfo` where simple in `thread-utils`.
Jan 18 2024, 3:06 AM
tomek accepted D10677: [lib] Remove most remaining instances of `LegacyThreadInfo` from `lib`.
Jan 18 2024, 3:05 AM
tomek accepted D10676: [native] Remove all instances of `LegacyThreadInfo` from `native`.
Jan 18 2024, 3:01 AM

Jan 17 2024

tomek retitled D10663: [native][web] Add a context provider on native that exposes notifications session creator from [native][web] Add a context provider on web that exposes notifications session creator to [native][web] Add a context provider on native that exposes notifications session creator.
Jan 17 2024, 9:04 AM
tomek published D10667: [lib] Create notifs Olm session for review.
Jan 17 2024, 8:54 AM
tomek published D10666: [lib][native][web] Parse keyserver keys payload and validate the result for review.
Jan 17 2024, 8:53 AM
tomek published D10665: [lib] Improve error handling in connection handler for review.
Jan 17 2024, 8:52 AM
tomek published D10663: [native][web] Add a context provider on native that exposes notifications session creator for review.
Jan 17 2024, 8:51 AM
tomek published D10662: [web] Introduce deviceID parameter to initial notif message function for review.
Jan 17 2024, 8:51 AM
tomek published D10660: [lib][native] Introduce deviceID parameter to initial notif message function for review.
Jan 17 2024, 8:50 AM
tomek requested review of D10664: [native][web] Make identity client mandatory.
Jan 17 2024, 8:21 AM
tomek added inline comments to D10631: [native] implement prekey rotation handler and call Identity.
Jan 17 2024, 1:31 AM

Jan 15 2024

tomek accepted D10627: [lib] First pass at removing `RawThreadInfos`.
Jan 15 2024, 1:37 AM
tomek accepted D10626: [lib] First pass at removing `LegacyRawThreadInfo`.
Jan 15 2024, 1:36 AM
tomek accepted D10625: Expand instances of `RawThreadInfo` to `LegacyRawThreadInfo|MinimallyEncodedRawTheadInfo`.
Jan 15 2024, 1:33 AM
tomek accepted D10624: [lib] Update `ClientCheckStateServerRequest` to contain `MinimallyEncodedRawThreadInfo`s.
Jan 15 2024, 1:25 AM

Jan 12 2024

tomek added inline comments to D10616: [lib][native][web] add new changeIdentityUserPassword action.
Jan 12 2024, 2:36 AM
tomek added inline comments to D10584: [lib][native][web] Expose identity API by using a context.
Jan 12 2024, 2:25 AM

Jan 11 2024

tomek closed D10585: [lib] Get keyserver keys in a handler.
Jan 11 2024, 7:54 AM
tomek committed rCOMM4ad7bd556d61: [lib] Get keyserver keys in a handler (authored by tomek).
[lib] Get keyserver keys in a handler
Jan 11 2024, 7:54 AM
tomek updated the diff for D10585: [lib] Get keyserver keys in a handler.

Avoid console logging the keys

Jan 11 2024, 7:26 AM
tomek closed D10584: [lib][native][web] Expose identity API by using a context.
Jan 11 2024, 6:47 AM
tomek closed D10449: [native] Expose get keyserver keys Identity RPC.
Jan 11 2024, 6:47 AM
tomek committed rCOMMa1bc42b9e40d: [lib][native][web] Expose identity API by using a context (authored by tomek).
[lib][native][web] Expose identity API by using a context
Jan 11 2024, 6:47 AM
tomek committed rCOMM90c438564d6d: [native] Expose get keyserver keys Identity RPC (authored by tomek).
[native] Expose get keyserver keys Identity RPC
Jan 11 2024, 6:47 AM
tomek closed D10403: [web] Expose get keyserver keys Identity RPC.
Jan 11 2024, 6:47 AM
tomek committed rCOMMdad3f22e6e75: [web] Expose get keyserver keys Identity RPC (authored by tomek).
[web] Expose get keyserver keys Identity RPC
Jan 11 2024, 6:47 AM
tomek added inline comments to D10585: [lib] Get keyserver keys in a handler.
Jan 11 2024, 6:45 AM
tomek updated the diff for D10584: [lib][native][web] Expose identity API by using a context.

Rebase

Jan 11 2024, 6:17 AM
tomek added inline comments to D10584: [lib][native][web] Expose identity API by using a context.
Jan 11 2024, 6:09 AM
tomek added inline comments to D10584: [lib][native][web] Expose identity API by using a context.
Jan 11 2024, 6:07 AM
tomek updated the diff for D10584: [lib][native][web] Expose identity API by using a context.

Readonly

Jan 11 2024, 2:25 AM
tomek updated the diff for D10584: [lib][native][web] Expose identity API by using a context.

Rever import ordering change

Jan 11 2024, 2:24 AM
tomek updated the diff for D10584: [lib][native][web] Expose identity API by using a context.

Address review

Jan 11 2024, 2:14 AM
tomek added a comment to D10584: [lib][native][web] Expose identity API by using a context.

It's unfortunate how different native and web are, but I think it makes sense given the technical decisions we've made

Jan 11 2024, 1:34 AM
tomek accepted D10598: [lib][native] Move all the Redux-binding code out of action-utils.js.
Jan 11 2024, 1:27 AM
tomek accepted D10597: [lib] Move keyserver session recovery utils to recovery-utils.js.
Jan 11 2024, 1:21 AM
tomek accepted D10593: [lib][native][web] Move DispatchActionPromise to a separate file.
Jan 11 2024, 12:45 AM
tomek accepted D10599: [lib][web][native] rename changeUserPassword -> changeKeyserverUserPassword.
Jan 11 2024, 12:39 AM
tomek accepted D10592: [web] make sure all tabs and worker are operating on the same web version.

When we receive the version we compare it, if it's different this tab is old, we refresh it - download the newest web app version, and connect to the new worker.

Are there any risks here? Can the refresh fail, or be stopped by a user?

Jan 11 2024, 12:35 AM

Jan 10 2024

tomek added inline comments to D10584: [lib][native][web] Expose identity API by using a context.
Jan 10 2024, 9:11 AM
tomek planned changes to D10584: [lib][native][web] Expose identity API by using a context.
Jan 10 2024, 7:57 AM
tomek updated the diff for D10584: [lib][native][web] Expose identity API by using a context.

Rebase

Jan 10 2024, 7:56 AM
tomek updated the diff for D10449: [native] Expose get keyserver keys Identity RPC.

Format

Jan 10 2024, 7:34 AM
tomek updated the diff for D10449: [native] Expose get keyserver keys Identity RPC.

Rebase

Jan 10 2024, 7:32 AM
tomek updated the diff for D10403: [web] Expose get keyserver keys Identity RPC.

Rebase

Jan 10 2024, 7:24 AM
tomek added a reviewer for D10584: [lib][native][web] Expose identity API by using a context: marcin.
Jan 10 2024, 7:05 AM
tomek updated the diff for D10585: [lib] Get keyserver keys in a handler.

Improve error handling

Jan 10 2024, 6:35 AM
tomek updated the diff for D10584: [lib][native][web] Expose identity API by using a context.

Use event emitter

Jan 10 2024, 6:16 AM
tomek requested review of D10585: [lib] Get keyserver keys in a handler.
Jan 10 2024, 1:54 AM
tomek added inline comments to D10584: [lib][native][web] Expose identity API by using a context.
Jan 10 2024, 1:13 AM

Jan 9 2024

tomek updated the summary of D10584: [lib][native][web] Expose identity API by using a context.
Jan 9 2024, 9:18 AM
tomek updated the diff for D10584: [lib][native][web] Expose identity API by using a context.

Fix Flow

Jan 9 2024, 9:02 AM
tomek added 1 blocking reviewer(s) for D10584: [lib][native][web] Expose identity API by using a context: varun.
Jan 9 2024, 8:58 AM