Page MenuHomePhorge
Feed Search

Aug 22 2023

tomek committed rCOMM5cbf9f2c0fef: [keyserver] Group entry and message infos by threadID instead of iterating over….
Aug 22 2023, 12:51 PM
tomek closed D8768: [keyserver] Improve Flow types in update-creator.
Aug 22 2023, 12:51 PM
tomek committed rCOMM43ac3121e913: [keyserver] Improve Flow types in update-creator.
Aug 22 2023, 12:51 PM
tomek added inline comments to D8768: [keyserver] Improve Flow types in update-creator.
Aug 22 2023, 11:12 AM
tomek requested changes to D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..

I didn't have time to look into the concurrency / locking stuff – hoping that @tomek and @bartek can help there, as my time is increasingly limited starting now.

Sure! But probably it will be more efficient after the diff get split

Aug 22 2023, 10:30 AM

Aug 17 2023

tomek accepted D8848: [web/desktop] Make media overlay non-draggable.
Aug 17 2023, 3:21 PM
tomek accepted D8818: [lib/web] Route to a barebones QR code login page.
Aug 17 2023, 11:28 AM
tomek accepted D8805: [native] Set up the BarCodeScanner to scan QR codes.
Aug 17 2023, 11:20 AM
tomek accepted D8821: [web] Create a new 'secondary device' screen that will generate the QR code.
Aug 17 2023, 8:58 AM

Aug 16 2023

tomek added inline comments to D8821: [web] Create a new 'secondary device' screen that will generate the QR code.
Aug 16 2023, 10:39 AM
tomek accepted D8821: [web] Create a new 'secondary device' screen that will generate the QR code.

This screen doesn't seem to match the design too closely. Is this something agreed with @ted?

Aug 16 2023, 10:36 AM
tomek requested changes to D8818: [lib/web] Route to a barebones QR code login page.

It might be a good idea to also check that:

  1. Pasting an URL with a QR code opens the right screen
  2. Going back to a QR code screen opens it
  3. Refreshing a QR code screen opens it
  4. Opening a QR code screen as a logged-in user by pasting a URL doesn't open the screen (do we want that?)
Aug 16 2023, 10:21 AM
tomek accepted D8811: [web] Add a temporary login via QR code button on the log-in form.
Aug 16 2023, 10:02 AM
tomek requested changes to D8805: [native] Set up the BarCodeScanner to scan QR codes.
Aug 16 2023, 9:53 AM
tomek requested changes to D8795: Implement synchronization mechanisms to address process, thread and class level concurrency..
Aug 16 2023, 9:29 AM
tomek resigned from D8722: [Identity] Implement GetKeyserverKeys.
Aug 16 2023, 8:56 AM

Aug 10 2023

tomek requested review of D8776: [keyserver] Group entry and message infos by threadID instead of iterating over them for each JOIN_THREAD update.
Aug 10 2023, 12:22 PM
tomek requested changes to D8722: [Identity] Implement GetKeyserverKeys.
Aug 10 2023, 9:21 AM

Aug 9 2023

tomek requested review of D8768: [keyserver] Improve Flow types in update-creator.
Aug 9 2023, 1:28 PM

Aug 8 2023

tomek accepted D8760: [lib] Memoize array that gets passed to useThreadSearchIndex.
Aug 8 2023, 2:36 PM
tomek accepted D8756: [Buildkite] Add automatic retries to workflows missing it.

I guess we could have a test plan here: e.g. create a job that fails and check if it gets retried. But if we follow what's in other workflows, we shouldn't expect any differences.

Aug 8 2023, 8:22 AM

Aug 7 2023

tomek accepted D8747: [lib] Fix typo.
Aug 7 2023, 2:02 PM
tomek added inline comments to D8351: [web/native] Send platform details on http communication.
Aug 7 2023, 1:28 PM
tomek accepted D8745: [lib] Update id constants.
Aug 7 2023, 12:36 PM
tomek accepted D8744: [lib] Handle new id schema in thread regexes.
Aug 7 2023, 12:29 PM

Aug 4 2023

tomek accepted D8706: [keyserver] Convert ids in rescinds.
Aug 4 2023, 6:18 PM
tomek accepted D8720: [keyserver] Include stateVersion when converting notifications.

Agree with @marcin that introducing some utils encoding the contract is a good idea.

Aug 4 2023, 12:03 PM
tomek accepted D8697: Significant refactor of notification encryption code.
Aug 4 2023, 11:47 AM
tomek added inline comments to D8706: [keyserver] Convert ids in rescinds.
Aug 4 2023, 10:52 AM

Aug 3 2023

tomek accepted D8665: Implement native iOS code to fetch data from blob service and keyserver code to upload notification payload if it exceeds APNs limits.

Seems reasonable, but I don't know Objective-C that well

Aug 3 2023, 7:48 AM
tomek requested changes to D8706: [keyserver] Convert ids in rescinds.
Aug 3 2023, 7:34 AM

Aug 2 2023

tomek accepted D8683: [keyserver] Fix the pinned count MariaDB out of range issue.

Should we also create a migration that fixes pinned_count for threads affected by the fixed bug?

Aug 2 2023, 12:21 PM
tomek accepted D8589: Upload Android notification payload to blob service if its size exceeds limits.
Aug 2 2023, 10:50 AM
tomek added inline comments to D8698: Upload iOS notification payload to blob service if its size exceeds limits.
Aug 2 2023, 10:39 AM
tomek added inline comments to D8697: Significant refactor of notification encryption code.
Aug 2 2023, 10:28 AM
tomek accepted D8695: Remove redundant warnings about notifications without message infos that exceed limits.
Aug 2 2023, 9:04 AM

Aug 1 2023

tomek closed D8679: [native] Retry feature flags call.
Aug 1 2023, 3:36 PM
tomek committed rCOMMc700760617fd: [native] Retry feature flags call.
Aug 1 2023, 3:36 PM
tomek closed D8652: [native] Cache feature flags config.
Aug 1 2023, 3:36 PM
tomek committed rCOMM3aee560e5890: [native] Cache feature flags config.
Aug 1 2023, 3:36 PM
tomek requested review of D8693: Revert "[keyserver] Use old intermediate invite link page url".
Aug 1 2023, 11:30 AM
tomek added a reverting change for D8691: [keyserver] Use old intermediate invite link page url: D8693: Revert "[keyserver] Use old intermediate invite link page url".
Aug 1 2023, 11:06 AM
tomek added a reverting change for rCOMM42ef356dcf82: [keyserver] Use old intermediate invite link page url: D8693: Revert "[keyserver] Use old intermediate invite link page url".
Aug 1 2023, 11:06 AM
tomek closed D8691: [keyserver] Use old intermediate invite link page url.
Aug 1 2023, 11:04 AM
tomek committed rCOMM42ef356dcf82: [keyserver] Use old intermediate invite link page url.
Aug 1 2023, 11:04 AM
tomek added inline comments to D8679: [native] Retry feature flags call.
Aug 1 2023, 10:57 AM
tomek updated the diff for D8679: [native] Retry feature flags call.

Avoid sleep before throwing

Aug 1 2023, 10:57 AM
tomek updated the diff for D8652: [native] Cache feature flags config.

Clear cached flags after wipeAndExit

Aug 1 2023, 10:50 AM
tomek added inline comments to D8652: [native] Cache feature flags config.
Aug 1 2023, 10:34 AM
tomek accepted D8681: [native] remove unused `using namespace`.
Aug 1 2023, 10:23 AM
tomek accepted D8692: [native] fix Xcode dependencies order.
Aug 1 2023, 9:59 AM
tomek added a comment to D8683: [keyserver] Fix the pinned count MariaDB out of range issue.

There's still a chance that the DB will get updated between select and update. One solution, as @atul suggested, might be to use transactions - which will work but might affect the performance. But there's another option: an update to multiple tables at once https://stackoverflow.com/questions/4361774/mysql-update-multiple-tables-with-one-query - can we use it?

Aug 1 2023, 9:58 AM
tomek requested review of D8691: [keyserver] Use old intermediate invite link page url.
Aug 1 2023, 8:36 AM

Jul 31 2023

tomek requested review of D8679: [native] Retry feature flags call.
Jul 31 2023, 4:11 PM
tomek accepted D8672: [native] move `olm/olm.h` include to proper file.
Jul 31 2023, 1:08 PM
tomek closed D8620: [keyserver] Use custom url on intermediate invite link page.
Jul 31 2023, 12:16 PM
tomek committed rCOMM24b521e62f97: [keyserver] Use custom url on intermediate invite link page.
Jul 31 2023, 12:16 PM
tomek updated the test plan for D8620: [keyserver] Use custom url on intermediate invite link page.
Jul 31 2023, 12:14 PM
tomek accepted D8661: [keyserver] Move validators to endpoint array.

Haven't reviewed all the changes too closely - there are a lot of them and they are really similar. All the important changes look good and the overall idea is great!

Jul 31 2023, 11:50 AM
tomek accepted D8670: [web] refactor processing store operations on worker.
Jul 31 2023, 11:35 AM
tomek accepted D8664: [CommCoreModule] remove unused includes.
Jul 31 2023, 10:56 AM
tomek accepted D8663: [CommCoreModule] implement C++ ReportStore.
Jul 31 2023, 10:52 AM
tomek accepted D8662: [CommCoreModule] implement C++ MessageStore.
Jul 31 2023, 10:27 AM
tomek accepted D8659: [CommCoreModule] implement C++ ThreadStore.
Jul 31 2023, 10:23 AM

Jul 28 2023

tomek requested review of D8652: [native] Cache feature flags config.
Jul 28 2023, 4:30 PM
tomek closed D8637: [native] Handle invite links in chats.
Jul 28 2023, 3:20 PM
tomek closed D8615: [keyserver][lib] Block users from creating reserved invite links.
Jul 28 2023, 3:20 PM
tomek committed rCOMM4ba08e6df607: [keyserver][lib] Block users from creating reserved invite links.
Jul 28 2023, 3:20 PM
tomek committed rCOMM123bc62e56ce: [native] Handle invite links in chats.
Jul 28 2023, 3:20 PM
tomek closed D8527: [keyserver] Handle offensive words in invite links.
Jul 28 2023, 3:20 PM
tomek closed D8608: [keyserver] Extract database error codes.
Jul 28 2023, 3:20 PM
tomek committed rCOMM9143e129c164: [keyserver] Extract database error codes.
Jul 28 2023, 3:20 PM
tomek committed rCOMM9370f91f0482: [keyserver] Handle offensive words in invite links.
Jul 28 2023, 3:20 PM
tomek closed D8494: [keyserver][web][native] Handle link creation / update errors.
Jul 28 2023, 3:20 PM
tomek committed rCOMM89ddf782aaf4: [keyserver][web][native] Handle link creation / update errors.
Jul 28 2023, 3:20 PM
tomek updated the diff for D8615: [keyserver][lib] Block users from creating reserved invite links.

Rebase

Jul 28 2023, 2:13 PM
tomek updated the diff for D8494: [keyserver][web][native] Handle link creation / update errors.

Use uppercase and periods

Jul 28 2023, 2:10 PM
tomek accepted D8651: [keyserver] Make sure we don't call fetchServerThreadInfos with empty threadIDs.
Jul 28 2023, 2:06 PM
tomek requested changes to D8651: [keyserver] Make sure we don't call fetchServerThreadInfos with empty threadIDs.
Jul 28 2023, 2:02 PM
tomek added inline comments to D8615: [keyserver][lib] Block users from creating reserved invite links.
Jul 28 2023, 1:30 PM
tomek added inline comments to D8494: [keyserver][web][native] Handle link creation / update errors.
Jul 28 2023, 1:26 PM
tomek added a comment to D8527: [keyserver] Handle offensive words in invite links.

Can you clarify what will happen on older clients when this endpoint returns a ServerError that they aren't aware of?

EDIT

Looks like on older clients it will display offensive_words directly. But D8494 makes it so if a future keyserver returns an unknown error code to a future client, unknown error will be displayed instead.

Jul 28 2023, 1:21 PM
tomek accepted D8648: [native] Use new Alert wrapper.

One additional thing to check might be Android - even though the theme doesn't apply there, it is worth checking if nothing breaks.

Jul 28 2023, 1:09 PM
tomek requested changes to D8589: Upload Android notification payload to blob service if its size exceeds limits.
Jul 28 2023, 1:03 PM
tomek accepted D8562: [keyserver] stop hosting `sql.js` binary file.
In D8562#254725, @kamil wrote:

Is there a chance that older web clients will still try to fetch this file?

No, there is not - if a site wasn't reloaded the file is there and a worker is operating on it, and if the site was reloaded this means the server sent new logic, which is not using this file.
Also, we are using contenthash, and this file is cached on the client anyway since its content did not change (likely this still might fail because browsers first need to hit keyserver to get a proper response but as I said - this should not happen).

Overall, I will probably wait with landing this for a couple of days to make sure it works, hosting this old file does not cause any harm but it'll make it easier to revert changes when something will go wrong.

Jul 28 2023, 8:43 AM
tomek accepted D8634: [native] correctly measure multimedia messages that have an inline engagement.
Jul 28 2023, 8:34 AM

Jul 26 2023

tomek added a comment to D8620: [keyserver] Use custom url on intermediate invite link page.
In D8620#254184, @inka wrote:

Why should it work correctly? There is no explanation and no issue linked (I'm guessing there is some explanation in the issue). This is hard to review without any explanation, and this is the only diff in the stack, so it's not even possible to search for answers there

Jul 26 2023, 11:30 AM
tomek updated the summary of D8620: [keyserver] Use custom url on intermediate invite link page.
Jul 26 2023, 11:26 AM
tomek updated the summary of D8620: [keyserver] Use custom url on intermediate invite link page.
Jul 26 2023, 11:26 AM
tomek requested changes to D8634: [native] correctly measure multimedia messages that have an inline engagement.
Jul 26 2023, 10:43 AM
tomek requested review of D8637: [native] Handle invite links in chats.
Jul 26 2023, 10:27 AM
tomek accepted D8632: [native] update heightMeasurerKey function to consider inline engagement for text messages.
Jul 26 2023, 10:24 AM
tomek accepted D8630: [native] update dummyNodeForTextMessageHeightMeasurement to use dummy inline engagement component.
Jul 26 2023, 10:21 AM
tomek accepted D8628: [lib/native] update heightMeasurerKey function to consider inline engagement for robotext messages.
Jul 26 2023, 10:14 AM
tomek accepted D8610: [native] introduce DummyInlineEngagementNode.

Looks ok but please make sure that we avoid duplicating style props.

Jul 26 2023, 10:03 AM
tomek published D8608: [keyserver] Extract database error codes for review.
Jul 26 2023, 8:31 AM
tomek requested review of D8620: [keyserver] Use custom url on intermediate invite link page.
Jul 26 2023, 8:21 AM
tomek updated the summary of D8527: [keyserver] Handle offensive words in invite links.
Jul 26 2023, 8:18 AM

Jul 25 2023

tomek accepted D8614: Improve error logging for olm session creation failure.
Jul 25 2023, 1:17 PM
tomek requested review of D8615: [keyserver][lib] Block users from creating reserved invite links.
Jul 25 2023, 11:27 AM