Page MenuHomePhabricator
Feed Advanced Search

Wed, Oct 2

tomek added a comment to D13576: [lib] fix `PushHandler` to support DMs.

Performed Kamil's test again (except the logs stuff) and the solution works correctly.

Wed, Oct 2, 11:55 AM
tomek updated the diff for D13576: [lib] fix `PushHandler` to support DMs.

Check the timestamp before updating the status

Wed, Oct 2, 11:32 AM
tomek commandeered D13576: [lib] fix `PushHandler` to support DMs.
Wed, Oct 2, 11:31 AM
tomek closed D13572: [lib] Create a queue and use it to process queued operations.
Wed, Oct 2, 11:16 AM
tomek committed rCOMM642f52d38374: [lib] Create a queue and use it to process queued operations (authored by tomek).
[lib] Create a queue and use it to process queued operations
Wed, Oct 2, 11:16 AM
tomek updated the test plan for D13572: [lib] Create a queue and use it to process queued operations.
Wed, Oct 2, 11:15 AM
tomek updated the summary of D13572: [lib] Create a queue and use it to process queued operations.
Wed, Oct 2, 11:08 AM
tomek added a comment to D13572: [lib] Create a queue and use it to process queued operations.

Makes sense to me! Before landing, please:

  1. Validate that there is a concrete issue being solved with this
  2. Fill in the test plan
Wed, Oct 2, 11:06 AM
tomek updated the test plan for D13572: [lib] Create a queue and use it to process queued operations.
Wed, Oct 2, 11:05 AM
tomek updated the diff for D13572: [lib] Create a queue and use it to process queued operations.

Fix the condition

Wed, Oct 2, 10:49 AM
tomek updated the diff for D13572: [lib] Create a queue and use it to process queued operations.

Handle failed processing

Wed, Oct 2, 10:41 AM
tomek added inline comments to D13572: [lib] Create a queue and use it to process queued operations.
Wed, Oct 2, 10:39 AM
tomek closed D13571: [lib] Fix SQLite migrations.
Wed, Oct 2, 10:30 AM
tomek committed rCOMM85789c85773e: [lib] Fix SQLite migrations (authored by tomek).
[lib] Fix SQLite migrations
Wed, Oct 2, 10:30 AM
tomek added a comment to D13572: [lib] Create a queue and use it to process queued operations.

There seem to be new risks from this approach, It's unclear to me what issue is being mitigated here. See my message from chat:

I'm not sure this has the same risk. it looks like DMOpsQueueHandler doesn't dequeue from a ref, and instead it dequeues from a useSelector result. doesn't that mean that newly-enqueued operations won't be processed by old effects?

Wed, Oct 2, 9:09 AM
tomek accepted D13576: [lib] fix `PushHandler` to support DMs.
Wed, Oct 2, 9:06 AM
tomek updated the diff for D13571: [lib] Fix SQLite migrations.

Rename

Wed, Oct 2, 8:54 AM
tomek added inline comments to D13571: [lib] Fix SQLite migrations.
Wed, Oct 2, 8:51 AM
tomek requested review of D13572: [lib] Create a queue and use it to process queued operations.
Wed, Oct 2, 6:27 AM
tomek updated the test plan for D13571: [lib] Fix SQLite migrations.
Wed, Oct 2, 5:25 AM
tomek requested review of D13571: [lib] Fix SQLite migrations.
Wed, Oct 2, 5:25 AM
tomek planned changes to D12048: [web] Run backup migrations.
Wed, Oct 2, 3:19 AM
tomek planned changes to D12016: [native] Run backup migrations.
Wed, Oct 2, 3:18 AM

Tue, Oct 1

tomek closed D13560: [web] Wait before fetching thick thread messages.
Tue, Oct 1, 11:22 AM
tomek committed rCOMM4257d0aff470: [web] Wait before fetching thick thread messages (authored by tomek).
[web] Wait before fetching thick thread messages
Tue, Oct 1, 11:22 AM
tomek accepted D13539: [lib] Support creating private thread from user profile.
Tue, Oct 1, 8:43 AM
tomek accepted D13538: [lib] Handle private threads differently from personal ones in thread list search.
Tue, Oct 1, 8:42 AM
tomek accepted D13537: [lib] Including pending thread for viewer in useThreadListSearch.
Tue, Oct 1, 8:41 AM
tomek accepted D13533: [lib] Update useUserProfileThreadInfo to consider thick threads.
Tue, Oct 1, 8:35 AM
tomek accepted D13557: [lib] Match thread types in pendingToRealizedThreadIDsSelector.
Tue, Oct 1, 8:28 AM
tomek accepted D13553: [web] Use PRIVATE instead of GENESIS_PRIVATE in baseThreadInfo passed to useExistingThreadInfoFinder.
Tue, Oct 1, 8:24 AM
tomek accepted D13552: [lib] Use PERSONAL instead of GENESIS_PERSONAL for default thread noun in getNameForThreadEntity.
Tue, Oct 1, 8:23 AM
tomek accepted D13551: [lib][native][web] Use threadTypeIsPersonal where possible.
Tue, Oct 1, 8:19 AM
tomek accepted D13550: [web] Hide members option in ThreadMenu for all private and personal threads.
Tue, Oct 1, 8:18 AM
tomek accepted D13549: [web] Update thick threads avatar logic for web.
Tue, Oct 1, 8:17 AM
tomek accepted D13548: [lib] Allow calling createRealThreadFromPendingThread for PRIVATE thread.
Tue, Oct 1, 8:16 AM
tomek accepted D13547: [lib] Make sure we set isViewer in useExistingThreadInfoFinder.
Tue, Oct 1, 8:14 AM
tomek accepted D13546: [lib] Show viewer's username as thread name for PRIVATE threads if no thread name specified.
Tue, Oct 1, 8:13 AM
tomek accepted D13545: [native][web] Go to PRIVATE chat when the user selects themselves in chat composer.
Tue, Oct 1, 8:13 AM
tomek accepted D13544: [web] Swap order of conditions in ChatThreadComposer onSelectUserFromSearch.
Tue, Oct 1, 8:07 AM
tomek accepted D13543: [native][web] Only show viewer in chat composer results when empty.
Tue, Oct 1, 6:11 AM
tomek accepted D13542: [lib] Don't display notFriendNotice for the viewer.
Tue, Oct 1, 6:07 AM
tomek accepted D13541: [web] Only call userInfoSelectorForPotentialMembers where it's needed.
Tue, Oct 1, 6:03 AM
tomek accepted D13540: [lib][native][web] Include viewerID in userInfoSelectorForPotentialMembers.
Tue, Oct 1, 6:02 AM
tomek accepted D13554: [lib] Fix messages disappearing from thick sidebars.
Tue, Oct 1, 5:36 AM
tomek added a comment to D13533: [lib] Update useUserProfileThreadInfo to consider thick threads.
In D13533#380315, @inka wrote:

Why do we expect to have multiple private chats, or multiple personal chats with one user? It's it impossible?

Tue, Oct 1, 5:10 AM

Mon, Sep 30

tomek closed D13423: [lib] Enable thick thread creation for all the users.
Mon, Sep 30, 9:00 AM
tomek committed rCOMM6eea5aaa53ce: [lib] Enable thick thread creation for all the users (authored by tomek).
[lib] Enable thick thread creation for all the users
Mon, Sep 30, 9:00 AM
tomek updated the test plan for D13423: [lib] Enable thick thread creation for all the users.
Mon, Sep 30, 8:53 AM
tomek updated the diff for D13423: [lib] Enable thick thread creation for all the users.

Rebase

Mon, Sep 30, 8:42 AM

Sep 30 2024

tomek closed D13519: [lib] Update pending thread type based on selected members.
Sep 30 2024, 6:42 AM
tomek committed rCOMMbe3e464a7a23: [lib] Update pending thread type based on selected members (authored by tomek).
[lib] Update pending thread type based on selected members
Sep 30 2024, 6:42 AM
tomek updated the test plan for D13519: [lib] Update pending thread type based on selected members.
Sep 30 2024, 6:29 AM
tomek added a comment to D13519: [lib] Update pending thread type based on selected members.

Can you update the test plan to cover all of these scenarios?

  1. Searching for a user on native with useUserSupportThickThread modified to return false for some users
  2. Searching for a user on native without modifications to useUserSupportThickThread
  3. Searching for a user on web with useUserSupportThickThread modified to return false for some users
  4. Searching for a user on web without modifications to useUserSupportThickThread
  5. Composing a thread on native with useUserSupportThickThread modified to return false for some users
  6. Composing a thread on native without modifications to useUserSupportThickThread
  7. Composing a thread on web with useUserSupportThickThread modified to return false for some users
  8. Composing a thread on web without modifications to useUserSupportThickThread
Sep 30 2024, 6:27 AM
tomek updated the diff for D13519: [lib] Update pending thread type based on selected members.

Rebase

Sep 30 2024, 5:43 AM
tomek requested review of D13519: [lib] Update pending thread type based on selected members.
Sep 30 2024, 5:38 AM
tomek accepted D13518: [lib] factor out `useFindUserIdentities` to a separate file.
Sep 30 2024, 5:28 AM
tomek accepted D13515: [lib] introduce `P2PMessageRecipient` type.
Sep 30 2024, 4:04 AM

Sep 27 2024

tomek accepted D13502: [lib] Remove dangling reduceUserInfos function from update specs.
Sep 27 2024, 7:35 AM
tomek accepted D13495: Implement sending large thick thread notifs.
Sep 27 2024, 6:37 AM
tomek added inline comments to D13495: Implement sending large thick thread notifs.
Sep 27 2024, 4:56 AM
tomek added inline comments to D13495: Implement sending large thick thread notifs.
Sep 27 2024, 4:55 AM
tomek accepted D13469: Create large notifications in thick threads.

It's quite a large diff adding support for large notifs - I think it would be a lot easier to review it if it was split into multiple smaller ones. We don't have the time to split it, but overall the diff makes sense to me.

Sep 27 2024, 4:44 AM
tomek closed D13490: [lib] Handle a case where viewer is added to a thread while being its member.
Sep 27 2024, 3:54 AM
tomek committed rCOMMa432a967f452: [lib] Handle a case where viewer is added to a thread while being its member (authored by tomek).
[lib] Handle a case where viewer is added to a thread while being its member
Sep 27 2024, 3:54 AM
tomek closed D13483: [lib] Validate DM operations.
Sep 27 2024, 3:54 AM
tomek closed D13464: [lib] Check ID conflicts when processing operations.
Sep 27 2024, 3:54 AM
tomek committed rCOMM23ee267213b4: [lib] Validate DM operations (authored by tomek).
[lib] Validate DM operations
Sep 27 2024, 3:54 AM
tomek committed rCOMM082447a2d740: [lib] Check ID conflicts when processing operations (authored by tomek).
[lib] Check ID conflicts when processing operations
Sep 27 2024, 3:54 AM
tomek closed D13462: [lib] Update thick thread avatars logic.
Sep 27 2024, 3:54 AM
tomek committed rCOMM78023115da35: [lib] Update thick thread avatars logic (authored by tomek).
[lib] Update thick thread avatars logic
Sep 27 2024, 3:54 AM
tomek updated the diff for D13490: [lib] Handle a case where viewer is added to a thread while being its member.

Shorthand

Sep 27 2024, 3:28 AM
tomek updated the diff for D13483: [lib] Validate DM operations.

Rebase

Sep 27 2024, 3:23 AM
tomek updated the diff for D13464: [lib] Check ID conflicts when processing operations.

Use Promise.all

Sep 27 2024, 3:21 AM
tomek updated the diff for D13462: [lib] Update thick thread avatars logic.

Fix imports

Sep 27 2024, 2:56 AM
tomek updated the diff for D13462: [lib] Update thick thread avatars logic.

Rebase

Sep 27 2024, 2:54 AM

Sep 26 2024

tomek requested review of D13490: [lib] Handle a case where viewer is added to a thread while being its member.
Sep 26 2024, 4:33 AM
tomek requested review of D13483: [lib] Validate DM operations.
Sep 26 2024, 3:31 AM
tomek updated the test plan for D13464: [lib] Check ID conflicts when processing operations.
Sep 26 2024, 2:26 AM
tomek updated the diff for D13464: [lib] Check ID conflicts when processing operations.

Check create sidebar message conflicts

Sep 26 2024, 12:58 AM
tomek updated the diff for D13464: [lib] Check ID conflicts when processing operations.

Validate change thread settings operation

Sep 26 2024, 12:50 AM
tomek updated the diff for D13464: [lib] Check ID conflicts when processing operations.

Check message ID conflict for all the operations

Sep 26 2024, 12:33 AM

Sep 25 2024

tomek requested review of D13464: [lib] Check ID conflicts when processing operations.
Sep 25 2024, 10:31 AM
tomek updated the diff for D13462: [lib] Update thick thread avatars logic.

Update invariant message

Sep 25 2024, 8:57 AM
tomek requested review of D13462: [lib] Update thick thread avatars logic.
Sep 25 2024, 8:51 AM
tomek closed D13418: [lib] Set roles and permissions in thick threads based on parent permissions.
Sep 25 2024, 6:46 AM
tomek committed rCOMM1d2bb3b72dfb: [lib] Set roles and permissions in thick threads based on parent permissions (authored by tomek).
[lib] Set roles and permissions in thick threads based on parent permissions
Sep 25 2024, 6:46 AM
tomek updated the diff for D13418: [lib] Set roles and permissions in thick threads based on parent permissions.

Update comments and reorder functions

Sep 25 2024, 5:58 AM
tomek requested review of D13418: [lib] Set roles and permissions in thick threads based on parent permissions.

There are a lot of changes so requesting a review:

  1. Get permissions from the parent even when the viewer is a member
  2. Use permissions from the parent when setting the permissions for non-viewer members
Sep 25 2024, 5:20 AM
tomek added inline comments to D13418: [lib] Set roles and permissions in thick threads based on parent permissions.
Sep 25 2024, 5:17 AM
tomek retitled D13418: [lib] Set roles and permissions in thick threads based on parent permissions from [lib] Fix roles and permissions in thick threads when viewer isn't a member to [lib] Set roles and permissions in thick threads based on parent permissions.
Sep 25 2024, 5:17 AM
tomek updated the diff for D13418: [lib] Set roles and permissions in thick threads based on parent permissions.

Set permissions based on parent

Sep 25 2024, 5:16 AM
tomek updated the diff for D13423: [lib] Enable thick thread creation for all the users.

Rebase

Sep 25 2024, 4:03 AM
tomek closed D13446: [lib] Define permissions of PERSONAL and PRIVATE threads.
Sep 25 2024, 3:33 AM
tomek committed rCOMM1bfafb3973e8: [lib] Define permissions of PERSONAL and PRIVATE threads (authored by tomek).
[lib] Define permissions of PERSONAL and PRIVATE threads
Sep 25 2024, 3:33 AM
tomek accepted D13460: [keyserver][lib] Allow not specifying messageID in message report responder.
Sep 25 2024, 3:30 AM
tomek accepted D13459: [keyserver][lib] Don't return commbot -> admin report message from message report creator.
Sep 25 2024, 3:27 AM
tomek accepted D13451: [keyserver][lib] Allow skipping createRobotextInThinThread.

I don't have a strong opinion on this solution. We can keep it, or modify the type to be an array when the robotext creation flag is irrelevant, or we can even consider introducing specs for relationship actions where we define whether robotext messages could be created. But overall, I don't think it is beneficial to spend too much time on it, so even abandoning it makes sense because it is unlikely to cause any trouble in the future.

Sep 25 2024, 3:24 AM

Sep 24 2024

tomek added inline comments to D13418: [lib] Set roles and permissions in thick threads based on parent permissions.
Sep 24 2024, 8:57 AM
tomek updated the diff for D13418: [lib] Set roles and permissions in thick threads based on parent permissions.

Inherit permissions from the parent

Sep 24 2024, 8:53 AM