Page MenuHomePhabricator
Feed Advanced Search

Tue, Nov 26

kamil closed D14039: [terraform] deploy tunnelbroker 0.18.2 to staging.
Tue, Nov 26, 1:42 AM
kamil committed rCOMM34ae7bc14a49: [terraform] deploy tunnelbroker 0.18.2 to staging (authored by kamil).
[terraform] deploy tunnelbroker 0.18.2 to staging
Tue, Nov 26, 1:42 AM
kamil accepted D14033: [lib] Extract hook to send logout message to primary device.
Tue, Nov 26, 1:39 AM
kamil accepted D13954: [identity] Introduce the use_new_flow response code.
Tue, Nov 26, 1:12 AM

Mon, Nov 25

kamil published D14039: [terraform] deploy tunnelbroker 0.18.2 to staging for review.
Mon, Nov 25, 6:56 AM
kamil closed D13970: [Tunnelbroker] add missing error logs for notifs.
Mon, Nov 25, 5:17 AM
kamil committed rCOMM92cb5ba01540: [Tunnelbroker] add missing error logs for notifs (authored by kamil).
[Tunnelbroker] add missing error logs for notifs
Mon, Nov 25, 5:17 AM
kamil closed D13969: [Tunnelbroker] deprecate errors about invalidating WNS device token.
Mon, Nov 25, 5:17 AM
kamil committed rCOMM1f8dd0fcc7b6: [Tunnelbroker] deprecate errors about invalidating WNS device token (authored by kamil).
[Tunnelbroker] deprecate errors about invalidating WNS device token
Mon, Nov 25, 5:17 AM
kamil accepted D14022: [lib] Check if device list exists instead of using userHasDeviceList() in useUsersSupportThickThreads().
Mon, Nov 25, 5:11 AM
kamil accepted D14025: [web] Handle invalid CSAT in Identity client.
Mon, Nov 25, 5:10 AM
kamil accepted D14024: [native] Handle invalid CSAT in Identity RPCs.
Mon, Nov 25, 5:10 AM
kamil accepted D14030: [keyserver] Handle invalid CSAT in Tunnelbroker socket.
Mon, Nov 25, 4:48 AM
kamil accepted D14029: [keyserver] Handle invalid CSAT for Identity RPCs.

Worth adding to the Summary or Test Plan that this includes all RPC (all usages of getRustAPI) other than unath RPCs.

Mon, Nov 25, 4:47 AM
kamil accepted D14028: [keyserver] Extract getInboundKeys to a separate function.
Mon, Nov 25, 4:37 AM
kamil accepted D14027: [keyserver] Extract publishPrekeys to a separate function.
Mon, Nov 25, 4:35 AM
kamil accepted D14026: [keyserver] Extract uploadOneTimeKeys to a separate function.
Mon, Nov 25, 4:34 AM
kamil updated the diff for D13970: [Tunnelbroker] add missing error logs for notifs.

rebase before landing

Mon, Nov 25, 4:30 AM
kamil closed D14000: [CommCoreModule][native_rust_library] move constants to one place.
Mon, Nov 25, 4:07 AM
kamil closed D13936: [CommCoreModule] cleanup methods for creating backup.
Mon, Nov 25, 4:07 AM
kamil committed rCOMM5a5a75ae2939: [CommCoreModule][native_rust_library] move constants to one place (authored by kamil).
[CommCoreModule][native_rust_library] move constants to one place
Mon, Nov 25, 4:07 AM
kamil closed D13937: [native_rust_library] update creating backup to return `backupID`.
Mon, Nov 25, 4:07 AM
kamil committed rCOMMf2be17bca4bd: [CommCoreModule] cleanup methods for creating backup (authored by kamil).
[CommCoreModule] cleanup methods for creating backup
Mon, Nov 25, 4:07 AM
kamil closed D13935: [native] implement creating User Keys backup.
Mon, Nov 25, 4:07 AM
kamil committed rCOMM45497af77549: [native_rust_library] update creating backup to return `backupID` (authored by kamil).
[native_rust_library] update creating backup to return `backupID`
Mon, Nov 25, 4:07 AM
kamil closed D13934: [CommCoreModule] implement creating User Keys backup.
Mon, Nov 25, 4:07 AM
kamil closed D13933: [CommCoreModule] remove capturing logs.
Mon, Nov 25, 4:07 AM
kamil closed D13932: [backup-client][native_rust_library] refactor uploading files to not ignore User Keys.
Mon, Nov 25, 4:07 AM
kamil committed rCOMMdd0cfbe78f8f: [native] implement creating User Keys backup (authored by kamil).
[native] implement creating User Keys backup
Mon, Nov 25, 4:07 AM
kamil committed rCOMMf38db4748c74: [CommCoreModule] implement creating User Keys backup (authored by kamil).
[CommCoreModule] implement creating User Keys backup
Mon, Nov 25, 4:07 AM
kamil committed rCOMM31151871843e: [CommCoreModule] remove capturing logs (authored by kamil).
[CommCoreModule] remove capturing logs
Mon, Nov 25, 4:07 AM
kamil committed rCOMM0e67143b806d: [backup-client][native_rust_library] refactor uploading files to not ignore… (authored by kamil).
[backup-client][native_rust_library] refactor uploading files to not ignore…
Mon, Nov 25, 4:07 AM
kamil closed D13931: [backup-client][native_rust_library] implement creating User Keys backup.
Mon, Nov 25, 4:07 AM
kamil closed D13930: [backup-client][native_rust_library] update backup client to run cleanup on any failure.
Mon, Nov 25, 4:07 AM
kamil closed D13929: [backup-client][native_rust_library] update file cleanup to ignore missing files.
Mon, Nov 25, 4:07 AM
kamil committed rCOMMe11144ebe342: [backup-client][native_rust_library] update file cleanup to ignore missing files (authored by kamil).
[backup-client][native_rust_library] update file cleanup to ignore missing files
Mon, Nov 25, 4:07 AM
kamil committed rCOMMc935e7cacce2: [backup-client][native_rust_library] update backup client to run cleanup on any… (authored by kamil).
[backup-client][native_rust_library] update backup client to run cleanup on any…
Mon, Nov 25, 4:07 AM
kamil committed rCOMM470578434b49: [backup-client][native_rust_library] implement creating User Keys backup (authored by kamil).
[backup-client][native_rust_library] implement creating User Keys backup
Mon, Nov 25, 4:07 AM
kamil closed D13968: [native] avoid showing SIWE backup message screen for non-primary devices.
Mon, Nov 25, 4:06 AM
kamil closed D13928: [backup-client] avoid adding `attachments` when uploading User Keys.
Mon, Nov 25, 4:06 AM
kamil closed D13967: [lib] ignore `DEVICE_LIST_UPDATE_SUCCESS` when auth connection is created.
Mon, Nov 25, 4:06 AM
kamil committed rCOMM3822dffd107b: [backup-client] avoid adding `attachments` when uploading User Keys (authored by kamil).
[backup-client] avoid adding `attachments` when uploading User Keys
Mon, Nov 25, 4:06 AM
kamil committed rCOMMa32a3384fd2b: [native] avoid showing SIWE backup message screen for non-primary devices (authored by kamil).
[native] avoid showing SIWE backup message screen for non-primary devices
Mon, Nov 25, 4:06 AM
kamil committed rCOMM9c6874a3c9f5: [lib] ignore `DEVICE_LIST_UPDATE_SUCCESS` when auth connection is created (authored by kamil).
[lib] ignore `DEVICE_LIST_UPDATE_SUCCESS` when auth connection is created
Mon, Nov 25, 4:06 AM
kamil closed D13966: [native][lib] remove `requestBackupKeys` from `SECONDARY_DEVICE_REGISTRATION_SUCCESS`.
Mon, Nov 25, 4:06 AM
kamil closed D13965: [native][lib] merge `BackupDataKeyMessage` with `DeviceListUpdateSuccess`.
Mon, Nov 25, 4:06 AM
kamil committed rCOMM384394f111bc: [native][lib] remove `requestBackupKeys` from… (authored by kamil).
[native][lib] remove `requestBackupKeys` from…
Mon, Nov 25, 4:06 AM
kamil committed rCOMM4188d231937e: [native][lib] merge `BackupDataKeyMessage` with `DeviceListUpdateSuccess` (authored by kamil).
[native][lib] merge `BackupDataKeyMessage` with `DeviceListUpdateSuccess`
Mon, Nov 25, 4:06 AM
kamil closed D13964: [lib] temporary remove code performing backup restore.
Mon, Nov 25, 4:06 AM
kamil committed rCOMM34b367c94298: [lib] temporary remove code performing backup restore (authored by kamil).
[lib] temporary remove code performing backup restore
Mon, Nov 25, 4:06 AM
kamil closed D13972: [lib] standarize broadcasting device list update when removing device.
Mon, Nov 25, 4:06 AM
kamil committed rCOMMfb55cfff0e59: [lib] standarize broadcasting device list update when removing device (authored by kamil).
[lib] standarize broadcasting device list update when removing device
Mon, Nov 25, 4:06 AM
kamil closed D13963: [lib] create hook to run Device List Update Protocol.
Mon, Nov 25, 4:06 AM
kamil committed rCOMMe9701fa2be81: [lib] create hook to run Device List Update Protocol (authored by kamil).
[lib] create hook to run Device List Update Protocol
Mon, Nov 25, 4:06 AM
kamil accepted D14031: [lib] Handle invalid CSAT in Identity Search context.
Mon, Nov 25, 3:53 AM
kamil updated the diff for D14000: [CommCoreModule][native_rust_library] move constants to one place.

rebase before landing

Mon, Nov 25, 3:38 AM
kamil updated the diff for D13968: [native] avoid showing SIWE backup message screen for non-primary devices.

add missing check

Mon, Nov 25, 3:38 AM
kamil updated the diff for D13937: [native_rust_library] update creating backup to return `backupID`.

address review

Mon, Nov 25, 2:37 AM
kamil updated the diff for D13965: [native][lib] merge `BackupDataKeyMessage` with `DeviceListUpdateSuccess`.

fix comment typo

Mon, Nov 25, 2:25 AM
kamil updated the diff for D13972: [lib] standarize broadcasting device list update when removing device.

address review

Mon, Nov 25, 2:23 AM

Fri, Nov 22

kamil published D14005: [CommCoreModule][native] expose getting User Keys for review.
Fri, Nov 22, 4:02 AM
kamil published D14004: [backup-client][native] refactor restoring logic and deprecate `restoreBackup` for review.
Fri, Nov 22, 4:02 AM
kamil published D14000: [CommCoreModule][native_rust_library] move constants to one place for review.
Fri, Nov 22, 4:01 AM
kamil published D14001: [backup-client] set `backupID` after uploading User Keys for review.
Fri, Nov 22, 4:01 AM
kamil published D14002: [CommCoreModule] avoid calling Backup Service to get backup secrets for review.
Fri, Nov 22, 4:00 AM
kamil published D14003: [native] remove `BackupKeys` and use `QRAuthBackupData` for review.
Fri, Nov 22, 4:00 AM

Wed, Nov 20

kamil added a comment to D13970: [Tunnelbroker] add missing error logs for notifs.
In D13970#389656, @will wrote:

Testing that adding WEB_PUSH_ERROR and APNS_ERROR error types to an error log will trigger an alarm + email notif has already been tested. I don't think this needs further testing.

The best way of testing this would be to ensure that failing to sending APNs error or Web Push notif logs the error. Cloudwatch alarms will take care of the rest

Doing this locally and ensuring you can find the error logs should be sufficient imo

Wed, Nov 20, 3:32 AM
kamil updated the test plan for D13970: [Tunnelbroker] add missing error logs for notifs.
Wed, Nov 20, 3:31 AM
kamil published D13972: [lib] standarize broadcasting device list update when removing device for review.
Wed, Nov 20, 3:10 AM
kamil added inline comments to D13963: [lib] create hook to run Device List Update Protocol.
Wed, Nov 20, 3:09 AM

Tue, Nov 19

kamil published D13970: [Tunnelbroker] add missing error logs for notifs for review.
Tue, Nov 19, 6:47 AM
kamil published D13969: [Tunnelbroker] deprecate errors about invalidating WNS device token for review.
Tue, Nov 19, 6:46 AM
kamil added inline comments to D13963: [lib] create hook to run Device List Update Protocol.
Tue, Nov 19, 6:44 AM
kamil published D13968: [native] avoid showing SIWE backup message screen for non-primary devices for review.
Tue, Nov 19, 4:28 AM
kamil published D13967: [lib] ignore `DEVICE_LIST_UPDATE_SUCCESS` when auth connection is created for review.
Tue, Nov 19, 4:27 AM
kamil updated the test plan for D13966: [native][lib] remove `requestBackupKeys` from `SECONDARY_DEVICE_REGISTRATION_SUCCESS`.
Tue, Nov 19, 4:27 AM
kamil updated the test plan for D13965: [native][lib] merge `BackupDataKeyMessage` with `DeviceListUpdateSuccess`.
Tue, Nov 19, 4:26 AM
kamil published D13966: [native][lib] remove `requestBackupKeys` from `SECONDARY_DEVICE_REGISTRATION_SUCCESS` for review.
Tue, Nov 19, 4:12 AM
kamil published D13965: [native][lib] merge `BackupDataKeyMessage` with `DeviceListUpdateSuccess` for review.
Tue, Nov 19, 4:12 AM
kamil published D13964: [lib] temporary remove code performing backup restore for review.
Tue, Nov 19, 4:12 AM
kamil published D13963: [lib] create hook to run Device List Update Protocol for review.
Tue, Nov 19, 4:12 AM
kamil accepted D13952: [keyserver] Log on keyserver when session recovery is attempted.

Please check https://phab.comm.dev/D13951#389437 before landing

Tue, Nov 19, 1:51 AM
kamil accepted D13951: [keyserver] Log on keyserver when INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE is sent to the client.

Just wondering, what do you think of this style?

const { userID, cookieID, sessionID } = viewer;
const data = { userID, cookieID, sessionID };
console.log(
  'Sending INITIAL_NOTIFICATIONS_ENCRYPTED_MESSAGE ' +
    JSON.stringify(data),
);

Could work both here and in D13952.

Tue, Nov 19, 1:49 AM
kamil resigned from D13946: [native] Update the QR login screen to mention the primary device.

There is some discussion about user-facing language so probably @ashoat should do the final review

Tue, Nov 19, 1:44 AM
kamil accepted D13907: [native] Introduce a restore screen.
Tue, Nov 19, 1:33 AM
kamil accepted D13948: [native] Increase expansion button tap target in community side drawer.
Tue, Nov 19, 1:26 AM
kamil accepted D13961: [lib] Add staff-only alert when client attempts keyserver session recovery.
Tue, Nov 19, 1:25 AM
kamil accepted D13953: [lib] Add staff-only alert for when notifsSessionReassignmentPromise reassigns a notif session.
Tue, Nov 19, 1:24 AM
kamil added a comment to D13939: [lib] Consider thread infos in useUsersSupportThickThreads().

I guess a way to reframe what you're saying about useUsersSupportThickThreads is that userHasDeviceList doesn't match findUserIdentities in the case of an empty device list. We end up returning the correct answer anyways, since we check findUserIdentities as a fallback. But it would be better if we were able to get the right answer without having to query the identity service.

Tue, Nov 19, 1:19 AM

Mon, Nov 18

kamil added a comment to D13939: [lib] Consider thread infos in useUsersSupportThickThreads().

Hmmm... I know I initially proposed doing both D13938 and this, but after reading D13938 I wonder if we need this additional mechanism.

@kamil, do you know if it's possible for the user to see a thick thread in the UI if one of the members doesn't pass the userHasDeviceList check? Specifically in this case, I'm wondering about a PERSONAL thread, like in @tomek's original report in ENG-9509. It seems to me that the thread creation message would have had to come in from an established Olm session, so I would expect that userHasDeviceList would always be true, and the check in D13938 would suffice.

Mon, Nov 18, 2:23 AM
kamil accepted D13938: [lib] Use useUsersSupportThickThreads() (with auxUserInfos) in useUpdateRelationships().
Mon, Nov 18, 1:57 AM
kamil accepted D13950: [native] Make sure all virtual classes in C++ code base have virtual destructor.
Mon, Nov 18, 1:20 AM

Fri, Nov 15

kamil published D13937: [native_rust_library] update creating backup to return `backupID` for review.
Fri, Nov 15, 2:27 AM
kamil published D13936: [CommCoreModule] cleanup methods for creating backup for review.
Fri, Nov 15, 2:26 AM
kamil published D13935: [native] implement creating User Keys backup for review.
Fri, Nov 15, 2:26 AM
kamil published D13934: [CommCoreModule] implement creating User Keys backup for review.
Fri, Nov 15, 2:25 AM
kamil published D13933: [CommCoreModule] remove capturing logs for review.
Fri, Nov 15, 2:25 AM
kamil published D13932: [backup-client][native_rust_library] refactor uploading files to not ignore User Keys for review.
Fri, Nov 15, 2:23 AM
kamil published D13931: [backup-client][native_rust_library] implement creating User Keys backup for review.
Fri, Nov 15, 2:22 AM
kamil published D13930: [backup-client][native_rust_library] update backup client to run cleanup on any failure for review.
Fri, Nov 15, 2:21 AM