Page MenuHomePhabricator
Feed Advanced Search

Dec 8 2023

michal accepted D10222: [web] add missing `userID` param.

wondering if we should also update the type to avoid things like this

Dec 8 2023, 3:23 AM
michal accepted D10219: [identity] Implement transactional device list updates.
Dec 8 2023, 2:50 AM
michal added inline comments to D10216: identity] Add function to get current device list timestamp.
Dec 8 2023, 1:44 AM

Dec 7 2023

michal accepted D10187: [native] use build configuration to set socket addr.

I will be extending this to handle backup service in the near future, do you think we should have a separate configuration json file per service?

Dec 7 2023, 2:03 AM

Dec 6 2023

michal accepted D10194: Encrypt notifications for Windows users with code version high enough to support this feature.
Dec 6 2023, 4:20 AM
michal accepted D10193: Implement API to encrypt Windows notifications.
Dec 6 2023, 3:58 AM
michal added a comment to D10196: [electron-update-server] Specify platform in docker compose.

docker inspect commapp/electron-update-server:2.0 -f "{{.Os}}/{{.Architecture}}"

Dec 6 2023, 3:26 AM
michal accepted D10199: [desktop] Enable unused-promise=error Flow lint.
Dec 6 2023, 1:40 AM

Dec 5 2023

michal requested review of D10196: [electron-update-server] Specify platform in docker compose.
Dec 5 2023, 8:57 AM
michal accepted D10188: Put collapse key in encrypted MacOS notification payload.

Much better with the naming change

Dec 5 2023, 6:43 AM
michal accepted D10184: Add unused-promise Lint to all Flow configs except desktop.
Dec 5 2023, 6:10 AM
michal accepted D10183: [keyserver] Ignore promise rejections from websocket message handler.
Dec 5 2023, 6:09 AM
michal accepted D10182: [keyserver] Ignore promise rejections from state check mechanism.
Dec 5 2023, 6:07 AM
michal accepted D10181: [keyserver] await dbQuery in updateLatestMessages.
Dec 5 2023, 6:05 AM
michal accepted D10180: [keyserver] await file operations for devs in MariaDB migrations.
Dec 5 2023, 5:59 AM
michal accepted D10179: [keyserver] Ignore potential to crash on promise rejections in keyserver preamble.
Dec 5 2023, 5:58 AM
michal accepted D10178: [keyserver] Silence unused-promise Flow lint in backupDB.
Dec 5 2023, 5:53 AM
michal added inline comments to D10177: [keyserver] Ignore potential to crash on promise rejections in scripts.
Dec 5 2023, 5:50 AM
michal accepted D10192: Pass majorDesktopVersion to platformDetails when creating macos badgeonly notifications..
Dec 5 2023, 5:46 AM
michal accepted D10176: [lib][native][web][landing] Silence unused-promise using void keyword.
Dec 5 2023, 5:44 AM
michal accepted D10173: [native] Return inputState.sendMultimediaMessage Promise directly in ChatCameraModal.
Dec 5 2023, 2:58 AM
michal accepted D10171: [native] await sendMultimediaMessage in KeyboardInputHost.onMediaGalleryItemSelected.
Dec 5 2023, 2:56 AM
michal accepted D10170: [native] Don't make Crash.onPressWipe an async function.
Dec 5 2023, 2:55 AM
michal accepted D10169: [native] Add some awaits in ChatInputBar.onSend.
Dec 5 2023, 2:55 AM
michal accepted D10165: [web] Updates to push notif service worker for unused-promise Flow lint.
Dec 5 2023, 2:52 AM
michal accepted D10162: [web] Hide that InputState.sendTextMessage returns a Promise.
Dec 5 2023, 1:52 AM
michal accepted D10161: [lib] Wrap spinPromises in ignorePromiseRejections.
Dec 5 2023, 1:41 AM
michal accepted D10160: [lib] Don't return a promise from ignorePromiseRejections.
Dec 5 2023, 1:40 AM
michal accepted D10158: [keyserver][lib] handleAsyncPromise -> ignorePromiseRejections.
Dec 5 2023, 1:40 AM
michal accepted D10155: Add some stuff to .prettierignore.
Dec 5 2023, 1:37 AM

Dec 4 2023

michal accepted D10151: Read desktop code version during socket connection creation.

Could you also quickly test if everything works if someone is using an older version of the desktop app, one that doesn't advertise its version (you can just comment out the desktop version line in registerConfig)?

Dec 4 2023, 6:20 AM
michal accepted D10143: [electron-update-server] Fix minor typo.

You can just run yarn dev and open the hosted website on http://localhost:80. I checked your typo fix and the website correctly shows our repository and displays the newest desktop version (9).

Dec 4 2023, 2:16 AM

Dec 1 2023

michal accepted D10130: [blob][backup] Remove unused build dependency.
Dec 1 2023, 7:10 AM
michal accepted D9762: [reports-service] Increase RAM and JSON payload size.
Dec 1 2023, 6:10 AM
michal accepted D10096: [lib][web][native] Refactor invalidSessionDowngrade for setNewSessionActionType.
Dec 1 2023, 6:08 AM
michal updated the diff for D9932: [native] Introduce Rust encryption functions.

Fix mistake during rebase

Dec 1 2023, 5:55 AM
michal updated the diff for D10067: [native] Backup testing button.

Rebase

Dec 1 2023, 4:21 AM
michal updated the diff for D10054: [native] Implement native backup.

Rebase

Dec 1 2023, 3:35 AM
michal updated the diff for D9932: [native] Introduce Rust encryption functions.

Rebase

Dec 1 2023, 3:34 AM

Nov 29 2023

michal added inline comments to D10054: [native] Implement native backup.
Nov 29 2023, 7:15 AM
michal accepted D10070: [web/lib/keyserver] avoid out of sync `updatesCurrentAsOf` between client and keyserver.
Nov 29 2023, 5:19 AM
michal accepted D9058: [Identity] Use clap for argument parsing.

I'm starting to consider the global static CONFIG as an anti-pattern.

Nov 29 2023, 4:56 AM
michal accepted D10087: [flow] Convert all remaining Shape to $Partial.
Nov 29 2023, 4:26 AM
michal accepted D10085: [flow] Convert all remaining $Shape to $Partial.
Nov 29 2023, 4:18 AM
michal accepted D10084: [native] Add type params to setStateForContainer invocation in setRegisterState.
Nov 29 2023, 4:17 AM
michal accepted D10082: [lib] Make registerConfig take full Config instead of $Shape<Config>.
Nov 29 2023, 4:04 AM

Nov 28 2023

michal added inline comments to D10055: [native] Increase the number of threads available for rust.
Nov 28 2023, 9:07 AM
michal requested review of D10067: [native] Backup testing button.
Nov 28 2023, 7:46 AM
michal added inline comments to D9926: [native] Expose SecureStore to Rust.
Nov 28 2023, 7:31 AM
michal updated the diff for D10054: [native] Implement native backup.

Remove cryptoThread from restore function and return restored olm account information.

Nov 28 2023, 6:54 AM
michal accepted D9973: Expose major version of desktop code to the keyserver.
Nov 28 2023, 6:38 AM
michal accepted D9970: Fix MacOS app loosing device token in undeterministic manner.
Nov 28 2023, 6:38 AM
michal accepted D10057: Encrypt notifications for MacOS clients with code versions supporting notification decryption.
Nov 28 2023, 6:38 AM
michal added inline comments to D10054: [native] Implement native backup.
Nov 28 2023, 5:25 AM
michal requested review of D10055: [native] Increase the number of threads available for rust.
Nov 28 2023, 3:37 AM
michal added inline comments to D9973: Expose major version of desktop code to the keyserver.
Nov 28 2023, 3:25 AM
michal added a comment to D10057: Encrypt notifications for MacOS clients with code versions supporting notification decryption.

Overall LGTM, just a few questions

Nov 28 2023, 2:44 AM
michal accepted D10056: Rename IOS to APNs in function responsible for notifications encryption.
Nov 28 2023, 2:19 AM
michal requested changes to D9973: Expose major version of desktop code to the keyserver.
Nov 28 2023, 2:19 AM
michal requested changes to D9970: Fix MacOS app loosing device token in undeterministic manner.

There are a few issues with this (but they should be easily fixable):

  1. You are registering a callback on ipcMain everytime a window is loaded. This wouldn't be a problem in Windows but on macOS you can close the window without closing the app. Then if you would open a window again you would register another callback.
  2. The callbacks themselves use the main window variable which will stop being valid after the window is closed. So the previously registered callbacks will probably throw an error after re-opening the window.
Nov 28 2023, 2:05 AM

Nov 27 2023

michal updated the diff for D9452: [keyserver] Separate webapp and keyserver endpoints.

Update for flow 202

Nov 27 2023, 6:57 AM
michal updated the diff for D9500: [keyserver] Remove cookieSources.

Update for flow 202

Nov 27 2023, 6:55 AM
michal requested review of D10054: [native] Implement native backup.
Nov 27 2023, 6:53 AM
michal updated the diff for D9500: [keyserver] Remove cookieSources.

Rebase

Nov 27 2023, 5:57 AM
michal updated the diff for D9291: [keyserver] Stop accepting http cookies.

Rebase

Nov 27 2023, 5:56 AM
michal updated the diff for D9452: [keyserver] Separate webapp and keyserver endpoints.

Rebase

Nov 27 2023, 5:53 AM
michal accepted D10047: Use olm WASM with content hash on web in production.
Nov 27 2023, 2:55 AM
michal updated the diff for D9967: [desktop] Unregister did-fail-load event after startup.

Fix position of the variable, it was a mistake - I extracted the handler function but didn't move the variable declaration with it.

Nov 27 2023, 1:06 AM
michal requested review of D9969: [native] Compute backup key for u8 slice.
Nov 27 2023, 12:39 AM
michal accepted D9985: [Flow202][native][skip-ci] [1/x] Ignore electron-update-server in native.
Nov 27 2023, 12:28 AM

Nov 24 2023

michal requested review of D9971: [native] Add native backup functions.
Nov 24 2023, 9:15 AM
michal requested review of D9967: [desktop] Unregister did-fail-load event after startup.
Nov 24 2023, 7:58 AM
michal added inline comments to D9939: [native] Implement Android encryption for Rust.
Nov 24 2023, 7:47 AM
michal updated the diff for D9939: [native] Implement Android encryption for Rust.

An issue with with non-static methods calling the static methods is that the ByteBuffer -> SecretKeySpec conversion must go through ByteArray (with a copy). So that means that we would have ByteArray -no-copy-> ByteBuffer -with-copy-> ByteArray -> SecretKeySpec. As the static methods are very minimal and most of the code is in encryptAES/ decryptAES functions I don't it's worth it.

Nov 24 2023, 7:47 AM
michal updated the diff for D9938: [native] Refactor Android AESCryptoModule to use ByteBuffers.

Fix naming

Nov 24 2023, 7:42 AM
michal updated the diff for D9933: [native] Implement iOS encryption for Rust.

Rebase after a new approach to error handling

Nov 24 2023, 7:41 AM
michal added inline comments to D9932: [native] Introduce Rust encryption functions.
Nov 24 2023, 7:41 AM
michal updated the diff for D9932: [native] Introduce Rust encryption functions.

Improve error handling

Nov 24 2023, 7:41 AM
michal accepted D9962: Implement method to decrypt desktop notification.
Nov 24 2023, 6:15 AM
michal accepted D9964: Implement main <-> renderer IPC and use it to decrypt notifications.

Accepting, but please fix the issues in inline comments.

Nov 24 2023, 6:13 AM
michal added inline comments to D9962: Implement method to decrypt desktop notification.
Nov 24 2023, 6:03 AM
michal accepted D9963: Extend showNotification method to cover the case of decryption error notitication.
Nov 24 2023, 6:03 AM

Nov 22 2023

michal accepted D9661: Decrypt encrypted web notifications in service worker.
Nov 22 2023, 6:25 AM
michal updated the diff for D9950: [desktop] Add additional logging.

Fix line lengths

Nov 22 2023, 6:17 AM
michal requested review of D9950: [desktop] Add additional logging.
Nov 22 2023, 6:14 AM
michal accepted D9535: Initialize olm sessions for notifications on web and keyserver via socket requests.
Nov 22 2023, 6:05 AM

Nov 21 2023

michal requested review of D9939: [native] Implement Android encryption for Rust.
Nov 21 2023, 5:54 AM
michal requested review of D9938: [native] Refactor Android AESCryptoModule to use ByteBuffers.
Nov 21 2023, 5:49 AM

Nov 20 2023

michal requested review of D9933: [native] Implement iOS encryption for Rust.
Nov 20 2023, 9:58 AM
michal requested review of D9932: [native] Introduce Rust encryption functions.
Nov 20 2023, 9:57 AM
michal requested review of D9926: [native] Expose SecureStore to Rust.
Nov 20 2023, 1:53 AM

Nov 17 2023

michal requested review of D9925: [native] Rust futures in C++.
Nov 17 2023, 10:07 AM
michal requested review of D9923: [native] Make SecureStore methods static.
Nov 17 2023, 9:04 AM
michal accepted D9915: [lib] Refactor baseReducer.
Nov 17 2023, 8:09 AM

Nov 16 2023

michal accepted D9820: [lib] Refactor keyserver reducer pt.2 - early return.
Nov 16 2023, 5:06 AM
michal accepted D9764: [lib] Inline reduceLastCommunicatedPlatformDetails.
Nov 16 2023, 5:04 AM
michal accepted D9763: [lib] Inline reduceUpdatesCurrentAsOf.
Nov 16 2023, 4:52 AM

Nov 15 2023

michal accepted D9865: [Flow202][keyserver][skip-ci] [16/x] Address type errors in message-fetchers.js.
Nov 15 2023, 1:35 AM
michal accepted D9853: [Flow202][keyserver][skip-ci] [5/x] Address type errors in keyserver/src/push/utils.js.

Some suggestions in inline comments, but looks good to me either way

Nov 15 2023, 1:34 AM

Nov 14 2023

michal accepted D9872: [Flow202][keyserver][skip-ci] [23/x] Address type errors in addSessionChangeInfoToResult.
Nov 14 2023, 7:35 AM