Page MenuHomePhorge
Feed Search

May 16 2023

tomek updated the diff for D7730: [native] Create a modal where invite links are displayed.

Rebase

May 16 2023, 11:10 AM
tomek updated the diff for D7762: [lib] Introduce a new permission for managing invite links.

Rebase

May 16 2023, 11:06 AM
tomek added inline comments to D7744: [native] Check install referrer on Android.
May 16 2023, 10:59 AM
tomek closed D7728: [lib] Add client side boilerplate for the new endpoint.
May 16 2023, 10:56 AM
tomek committed rCOMMca5f5bcff66c: [lib] Add client side boilerplate for the new endpoint.
May 16 2023, 10:56 AM
tomek closed D7726: [keyserver] Create an endpoint returning primary invite links.
May 16 2023, 10:56 AM
tomek committed rCOMMd49051d1f18a: [keyserver] Create an endpoint returning primary invite links.
May 16 2023, 10:56 AM
tomek requested changes to D7753: [lib] introduce function to find deep difference between two objects.
May 16 2023, 10:36 AM
tomek accepted D7808: [keyserver] Convert upload responders.
May 16 2023, 10:32 AM
tomek accepted D7807: [keyserver] Validate link responders.
May 16 2023, 10:18 AM
tomek accepted D7805: [keyserver] Use platform details in validateOutput.
May 16 2023, 10:17 AM
tomek added inline comments to D7740: [native] Add a header componnent with a search bar.
May 16 2023, 9:04 AM
tomek added inline comments to D7751: [native] Introduce a hook that allows running an effect just once per installation.
May 16 2023, 7:46 AM

May 15 2023

tomek updated the diff for D7744: [native] Check install referrer on Android.

Refactor the code

May 15 2023, 12:05 PM
tomek added inline comments to D7751: [native] Introduce a hook that allows running an effect just once per installation.
May 15 2023, 11:56 AM
tomek updated the diff for D7751: [native] Introduce a hook that allows running an effect just once per installation.

Make the logic a lot safer.

May 15 2023, 11:53 AM
tomek added inline comments to D7751: [native] Introduce a hook that allows running an effect just once per installation.
May 15 2023, 10:24 AM
tomek added inline comments to D7744: [native] Check install referrer on Android.
May 15 2023, 10:22 AM
tomek updated the diff for D7743: [native] Unsubscribe listener on unmount.

Rebase

May 15 2023, 10:13 AM
tomek updated the diff for D7733: [native] Display a button and navigate to invite links if they are present.

Rebase

May 15 2023, 10:11 AM
tomek updated the diff for D7730: [native] Create a modal where invite links are displayed.

Fix eslint

May 15 2023, 10:10 AM
tomek accepted D7786: [web] Validate website responder.
May 15 2023, 9:19 AM
tomek accepted D7750: [keyserver] Convert websocket input.
May 15 2023, 9:04 AM
tomek added inline comments to D7740: [native] Add a header componnent with a search bar.
May 15 2023, 8:10 AM

May 10 2023

tomek accepted D7668: [web-db] migrate entire redux-persist storage to SQLite.
May 10 2023, 4:34 PM
tomek accepted D7658: [web-db] implement asynchronous `redux-persist` migrations.
May 10 2023, 4:31 PM
tomek updated the diff for D7743: [native] Unsubscribe listener on unmount.

Update effect cleanup function

May 10 2023, 3:53 PM
tomek added inline comments to D7743: [native] Unsubscribe listener on unmount.
May 10 2023, 3:52 PM
tomek updated the diff for D7733: [native] Display a button and navigate to invite links if they are present.

Do not pass invite links to subchannels. Update return type to mixed.

May 10 2023, 3:46 PM
tomek added inline comments to D7733: [native] Display a button and navigate to invite links if they are present.
May 10 2023, 3:44 PM
tomek updated the diff for D7726: [keyserver] Create an endpoint returning primary invite links.

Fetch all the fields

May 10 2023, 3:35 PM
tomek updated the diff for D7730: [native] Create a modal where invite links are displayed.

Add newline

May 10 2023, 2:21 PM
tomek updated the summary of D7730: [native] Create a modal where invite links are displayed.
May 10 2023, 2:19 PM
tomek updated the diff for D7730: [native] Create a modal where invite links are displayed.

Fix the light mode

May 10 2023, 2:16 PM
tomek added inline comments to D7730: [native] Create a modal where invite links are displayed.
May 10 2023, 1:42 PM
tomek closed D7727: [lib] Allow calling endpoints with empty payload.
May 10 2023, 12:34 PM
tomek committed rCOMMee8762ce834c: [lib] Allow calling endpoints with empty payload.
May 10 2023, 12:34 PM
tomek added a comment to D7726: [keyserver] Create an endpoint returning primary invite links.
In D7726#229991, @kamil wrote:

I think this is a bit vulnerable, we fetch all the links to the client - which means if the user is not part of a given community can get possession of the invite link and join the community when I think only members of the community should invite others. Fetching invite links to communities in which the user is a part will help.

Not a huge deal but I think worth improving.

May 10 2023, 10:57 AM
tomek updated the diff for D7726: [keyserver] Create an endpoint returning primary invite links.

Return only the invitations where a user is a member. Tested this by creating a new
community with a primary link - the endpoint doesn't return its link.

May 10 2023, 10:56 AM
tomek updated the diff for D7727: [lib] Allow calling endpoints with empty payload.

Rebase

May 10 2023, 10:06 AM
tomek updated the summary of D7727: [lib] Allow calling endpoints with empty payload.
May 10 2023, 10:06 AM
tomek requested changes to D7750: [keyserver] Convert websocket input.

Are you sure this is correct? Shouldn't we also convert a response from the server?

May 10 2023, 8:09 AM
tomek accepted D7749: [keyserver] Validate websocket output.
May 10 2023, 8:02 AM

May 9 2023

tomek requested review of D7762: [lib] Introduce a new permission for managing invite links.
May 9 2023, 1:51 PM
tomek requested review of D7751: [native] Introduce a hook that allows running an effect just once per installation.
May 9 2023, 10:11 AM
tomek updated the summary of D7744: [native] Check install referrer on Android.
May 9 2023, 9:55 AM
tomek updated the diff for D7744: [native] Check install referrer on Android.

Use onFirstLaunch effect

May 9 2023, 9:55 AM
tomek requested review of D7744: [native] Check install referrer on Android.
May 9 2023, 9:30 AM
tomek requested review of D7743: [native] Unsubscribe listener on unmount.
May 9 2023, 9:29 AM
tomek requested changes to D7658: [web-db] implement asynchronous `redux-persist` migrations.
In D7658#229577, @kamil wrote:

@tomek questions you added are valid but those are questions to the redux-persist author. I wanted to copy-paste code from source code to preserve old logic, as this returns function which will be used inside redux-persist logic. I only updated from the sync function which returns a promise - to implicitly return a promise from the async function (which will allow us to put await before any migration).

Any additional modification could cause some undefined behaviors, but if you feel strongly about investigating, I can try to improve this code in our use case.

May 9 2023, 8:38 AM
tomek accepted D7746: [lib][native][web] Fix bug where no messages are loaded if most recent 20 are reactions.
May 9 2023, 8:34 AM

May 8 2023

tomek requested review of D7733: [native] Display a button and navigate to invite links if they are present.
May 8 2023, 11:26 AM
tomek requested review of D7730: [native] Create a modal where invite links are displayed.
May 8 2023, 11:20 AM
tomek requested review of D7727: [lib] Allow calling endpoints with empty payload.
May 8 2023, 10:30 AM
tomek requested review of D7726: [keyserver] Create an endpoint returning primary invite links.
May 8 2023, 10:28 AM
tomek accepted D7738: [lib] move `isStaff()` to separate file.
May 8 2023, 10:03 AM
tomek accepted D7289: [web-db] improve persisting lifecycle.
May 8 2023, 10:02 AM
tomek accepted D7713: [keyserver] Mark ids in input validators.
May 8 2023, 10:01 AM
tomek accepted D7568: Implement fetcher and updater for olm accounts on the keyserver.
May 8 2023, 9:58 AM

May 5 2023

tomek requested review of D7728: [lib] Add client side boilerplate for the new endpoint.
May 5 2023, 3:59 PM
tomek accepted D7710: [keyserver] Introduce report, message and thread responder validators.
May 5 2023, 2:47 PM
tomek added inline comments to D7711: [keyserver] Introduce validateOutput function.
May 5 2023, 10:33 AM
tomek accepted D7714: [keyserver] Introduce input id conversion.
May 5 2023, 7:55 AM
tomek requested changes to D7713: [keyserver] Mark ids in input validators.

In diffs like this a test plan has to contain a description of what you have done to make sure that all the necessary changes were made. Without this it is impossible to verify that all the changes are there.

May 5 2023, 7:47 AM
tomek accepted D7712: [keyserver] Start validating responders output.
May 5 2023, 7:36 AM
tomek accepted D7711: [keyserver] Introduce validateOutput function.
May 5 2023, 7:30 AM
tomek requested changes to D7710: [keyserver] Introduce report, message and thread responder validators.
May 5 2023, 7:18 AM

May 4 2023

tomek accepted D7685: [keyserver] Introduce responder validators.
May 4 2023, 3:14 PM
tomek accepted D7709: [keyserver] fetchMediaForThread should return string ids.
May 4 2023, 12:28 PM
tomek requested changes to D7685: [keyserver] Introduce responder validators.
May 4 2023, 12:28 PM
tomek accepted D7656: [lib] Introduce server update info validators.
May 4 2023, 10:56 AM
tomek accepted D7655: [lib] Add validator to the message spec.
May 4 2023, 10:47 AM
tomek accepted D7708: [native] Don't crash if TagInput is unmounted before error received.
May 4 2023, 10:35 AM

Apr 28 2023

tomek added a comment to D7630: [native] Blocking navigation in edit mode in ChatRouter.

Given the number of corner cases here, I think we should strongly consider moving to the overlay solution (referred as option 3). It seems like it might be cheaper than fixing the current approach, but what is more important, it is a lot more maintainable. The current solution requires having changes in a couple of places, and remembering about adding additional handlers when introducing some new routers / navigators.

Apr 28 2023, 5:42 PM
tomek accepted D7606: [native] Add a pin/unpin icon in the tooltip.
Apr 28 2023, 11:58 AM
tomek requested changes to D7668: [web-db] migrate entire redux-persist storage to SQLite.
Apr 28 2023, 11:52 AM
tomek added inline comments to D7667: [web-db] choose storage engine depending on whether database is supported or not.
Apr 28 2023, 11:38 AM
tomek accepted D7667: [web-db] choose storage engine depending on whether database is supported or not.

Wondering if this is the best solution. How about having two separate storage engines, one with only db and one with redux storage? Then we could conditionally set one or the other, but each of them would be a lot simpler.

Apr 28 2023, 11:37 AM
tomek accepted D7666: [web-db] stop persisting drafts in redux-persist.
Apr 28 2023, 11:35 AM
tomek accepted D7665: [web-db] read drafts from SQLite database and dispatch to store.
Apr 28 2023, 11:29 AM
tomek accepted D7664: [lib] make fields in setting client store action optional.

Should be ok both ways, but having a separate action is safer - the typesystem checks if all the required fields are set. And on native, not setting some fields, is probably an error state. We can also consider keeping one action but typing it safer, e.g.

+payload: {
  +platform: 'native'
  +currentUserID: ?string,
  +drafts: $ReadOnlyArray<ClientDBDraftInfo>,
  +messages: $ReadOnlyArray<ClientDBMessageInfo>,
  +threadStore: ThreadStore,
  +messageStoreThreads: $ReadOnlyArray<ClientDBThreadMessageInfo>,
} | {
  +platform: 'web'
  +currentUserID: ?string,
  +drafts: $ReadOnlyArray<ClientDBDraftInfo>,
}
Apr 28 2023, 11:24 AM
tomek accepted D7662: [web-db] enable performing draft operations on SQLite.
Apr 28 2023, 11:15 AM
tomek requested changes to D7658: [web-db] implement asynchronous `redux-persist` migrations.
Apr 28 2023, 11:11 AM
tomek added inline comments to D7660: [web-db] migrate drafts to SQLite.
Apr 28 2023, 11:01 AM
tomek accepted D7660: [web-db] migrate drafts to SQLite.
Apr 28 2023, 11:00 AM
tomek requested changes to D7289: [web-db] improve persisting lifecycle.

I've left some comments with an alternative approach. Do you think it is more readable?

Apr 28 2023, 10:49 AM
tomek accepted D7191: [web-db] implement clearing sensitive data.
Apr 28 2023, 10:35 AM
tomek added a comment to D7641: [native] hardcode avatar feature flag to true.

Sorry, this should have been explained in the diff. The main reason we're doing it this way are the issues in ENG-3252. Many of us (myself included) are currently unable to use the avatars feature because the request consistently times out when we open the app

Apr 28 2023, 10:04 AM
tomek added inline comments to D7653: Create react hook to initialize olm notiications session and get first encrypted message for the keyserver.
Apr 28 2023, 9:55 AM

Apr 27 2023

tomek added a comment to D7641: [native] hardcode avatar feature flag to true.

I don't think this is the best approach - ideally, we should change feature flags configuration by setting the flag for everyone (with appropriate code versions) to true. The benefit is that if we discover a serious issue with the feature, we could quickly disable it. After it is hardcoded, we will have to release a new version for that purpose.

Apr 27 2023, 7:23 PM
tomek accepted D7572: [lib] Introduce user responder validators.

Thanks!

Apr 27 2023, 2:17 PM
tomek closed D7559: [native] Handle error state when joining a community.
Apr 27 2023, 2:15 PM
tomek closed D7558: [native] Handle loading state when joining a community.
Apr 27 2023, 2:15 PM
tomek committed rCOMMecb0feb66ee3: [native] Handle error state when joining a community.
Apr 27 2023, 2:15 PM
tomek closed D7557: [native] Join a thread after accepting the invitation.
Apr 27 2023, 2:15 PM
tomek committed rCOMMf9309a05c068: [native] Handle loading state when joining a community.
Apr 27 2023, 2:15 PM
tomek closed D7556: [keyserver] Handle accepting the invitation.
Apr 27 2023, 2:15 PM
tomek committed rCOMM7b19ab066560: [native] Join a thread after accepting the invitation.
Apr 27 2023, 2:15 PM
tomek committed rCOMM01cab9fc3af8: [keyserver] Handle accepting the invitation.
Apr 27 2023, 2:15 PM
tomek closed D7525: [keyserver] Introduce invite link handler.
Apr 27 2023, 2:15 PM