Page MenuHomePhorge
Feed Search

Mar 8 2024

tomek accepted D11265: [lib] Log out when invalidating session with authoritative keyserver in useKeyserverRecoveryLogIn.
Mar 8 2024, 3:24 PM
tomek added inline comments to D11090: Update unread count storage from JS and NSE.
Mar 8 2024, 1:40 PM
tomek closed D11271: [lib] Don't sync users with non-authoritative keyservers.
Mar 8 2024, 12:55 PM
tomek committed rCOMMc40428a2d017: [lib] Don't sync users with non-authoritative keyservers.
Mar 8 2024, 12:55 PM
tomek closed D11270: [lib] Disable edit button when link secret isn't changed.
Mar 8 2024, 12:55 PM
tomek committed rCOMM756091f20eca: [lib] Disable edit button when link secret isn't changed.
Mar 8 2024, 12:55 PM
tomek requested review of D11281: [lib] Add an optional ID field to all the actions.
Mar 8 2024, 10:44 AM
tomek requested review of D11280: [lib] Add a reducer that handles successful ops processing.
Mar 8 2024, 9:16 AM
tomek requested review of D11279: [lib] Add an action representing a successful processing.
Mar 8 2024, 8:51 AM

Mar 7 2024

tomek added inline comments to D11259: [lib] Create a redux store where ops will be stored.
Mar 7 2024, 3:59 PM
tomek added inline comments to D11234: Implement notifications sessions storage on top of MMKV. Migrate existing notifs account to SQLite.
Mar 7 2024, 1:50 PM
tomek requested review of D11271: [lib] Don't sync users with non-authoritative keyservers.
Mar 7 2024, 1:07 PM
tomek closed D11269: [keyserver] Immediately delete invite link blob.
Mar 7 2024, 12:56 PM
tomek committed rCOMM94db9c7acad4: [keyserver] Immediately delete invite link blob.
Mar 7 2024, 12:56 PM
tomek requested review of D11270: [lib] Disable edit button when link secret isn't changed.
Mar 7 2024, 12:15 PM
tomek requested review of D11269: [keyserver] Immediately delete invite link blob.
Mar 7 2024, 11:59 AM
tomek added inline comments to D11234: Implement notifications sessions storage on top of MMKV. Migrate existing notifs account to SQLite.
Mar 7 2024, 11:33 AM
tomek accepted D11258: [scripts] Hide password.

This looks really hacky, but we probably don't have a clear way of doing this.

Mar 7 2024, 11:24 AM
tomek accepted D11263: [lib] Remove usage of `memberHasAdminPowers` in `useKeyserverAdmin`.
Mar 7 2024, 9:26 AM
tomek accepted D11261: [lib] Omit `isDefault` field in `rawThreadInfoFromServerThreadInfo`.
Mar 7 2024, 9:18 AM

Mar 6 2024

tomek requested review of D11259: [lib] Create a redux store where ops will be stored.
Mar 6 2024, 6:51 PM
tomek accepted D11254: [lib] Remove `isDefault` field from `RoleInfo` in `patchRoleInfoWithSpecialRole`.

This migration wasn't already applied, right?

Mar 6 2024, 12:32 PM
tomek accepted D11253: [lib] Remove `isDefault` field from `RoleInfo`.

Do we have a task for the migration?

Mar 6 2024, 12:23 PM
tomek accepted D11252: [lib] Make `specialRoles` field of `RoleInfo` required.
Mar 6 2024, 12:21 PM
tomek accepted D11209: [lib] Update `threadHasAdminRole` to consider `specialField`.
In D11209#324884, @atul wrote:

However, if there is no specialRole field encountered, we will assume we're dealing with a Server/"legacy" type and fallback to sketchy string search.

What is the scenario when this can happen?

There are three places where threadHasAdminRole is encountered:

  1. lib/shared/thread-utils: getAvailableThreadMemberActions()
  2. lib/selectors/thread-selectors: baseOtherUsersButNoOtherAdmins()
  3. keyserver/src/updaters/thread-updaters: leaveThread()

getAvailableThreadMemberActions is used in

  • native/chat/settings/thread-settings-member.react.js
  • web/modals/threads/members/member.react.js

Which are all expected to have the specialRole field in RoleInfos.

baseOtherUsersButNoOtherAdmins is a Redux selector that is only used on the client, where again we expect the specialRole field in RoleInfos.

leaveThread() is part of thread-updaters on the keyserver and calls threadHasAdminRole with LegacyRawThreadInfo | RawThreadInfo returned from rawThreadInfosFromServerThreadInfos. This is the scenario where we need to handle RoleInfos without the specialRole field patched in.

Mar 6 2024, 12:18 PM
tomek accepted D11205: [lib][native] Introduce `useRoleNamesToSpecialRole` to remove `"Admins"` string check in `RolePanelEntry`.
Mar 6 2024, 11:56 AM
tomek accepted D11246: [scripts] Add scrips for setting up a new authoritative keyserver.
Mar 6 2024, 11:47 AM
tomek closed D11244: [keyserver] Transform client IDs when handling socket message.
Mar 6 2024, 10:40 AM
tomek committed rCOMMa0b423e3ccf6: [keyserver] Transform client IDs when handling socket message.
Mar 6 2024, 10:40 AM

Mar 5 2024

tomek accepted D11238: [lib] Set CSAT on identity login / register.
Mar 5 2024, 2:36 PM
tomek accepted D11230: [lib][native] Introduce supportingMultipleKeyservers constant.
Mar 5 2024, 2:32 PM
tomek accepted D11228: [lib] Introduce relyingOnAuthoritativeKeyserver constant.
Mar 5 2024, 2:30 PM
tomek accepted D11227: [native] Use useKeyserverRecoveryLogIn from SQLiteDataHandler.
Mar 5 2024, 2:27 PM
tomek accepted D11226: [lib] Extract useKeyserverRecoveryLogIn.
Mar 5 2024, 2:08 PM
tomek accepted D11225: [lib] Make resolveKeyserverSessionInvalidation generic.
Mar 5 2024, 2:03 PM
tomek added inline comments to D11244: [keyserver] Transform client IDs when handling socket message.
Mar 5 2024, 1:58 PM
tomek requested review of D11244: [keyserver] Transform client IDs when handling socket message.
Mar 5 2024, 1:04 PM
tomek accepted D11224: [lib][native] Deprecate DispatchRecoveryAttempt in favor of DispatchActionPromise.
Mar 5 2024, 9:44 AM
tomek accepted D11223: [lib][native] Make cancellation work for keyserver session recovery.
Mar 5 2024, 8:57 AM
tomek accepted D11222: [lib] Don't cancel an auth that the keyserver completes.
Mar 5 2024, 8:52 AM
tomek added inline comments to D11166: [lib] introduce community reducer.
Mar 5 2024, 8:10 AM

Mar 4 2024

tomek accepted D11221: [lib] Factor out CANCELLED_ERROR into keyserver-conn-types.js.
Mar 4 2024, 3:19 PM
tomek accepted D11220: [lib][native] Initialize notif Olm channel during keyserver session recovery.
Mar 4 2024, 3:10 PM
tomek accepted D11218: [lib] Initiate a keyserver session recovery when keyserver socket sends not_logged_in.
Mar 4 2024, 2:42 PM
tomek accepted D11217: [lib][native] Try session recovery on web too for policy acknowledgment crash loop.
Mar 4 2024, 10:51 AM
tomek accepted D11216: [lib][native] Use unified keyserver session recovery in native/socket.react.js.
Mar 4 2024, 10:49 AM
tomek accepted D11215: [lib][native][web] Use unified keyserver session recovery in lib/socket/socket.react.js.
Mar 4 2024, 10:43 AM
tomek accepted D11214: [lib] Deprecate resetUserStateActionType.
Mar 4 2024, 10:38 AM
tomek accepted D11213: [native] Use unified keyserver session recovery in LoggedOutModal.
Mar 4 2024, 9:58 AM
tomek accepted D11212: [lib] Replace sessionRecoveryInProgress with actionSessionRecovery.

Just to make sure: sessionRecoveryInProgress isn't persisted, right?

Mar 4 2024, 9:47 AM
tomek accepted D11211: [lib] Deprecate recoveryActionSources.sqliteOpFailure.

I think that the practice of keeping commented-out types has a big advantage of reducing confusion when searching for older revisions while it doesn't have significant disadvantages.

Mar 4 2024, 9:29 AM
tomek accepted D11210: [lib][native] Separate out recoveryActionSources.
Mar 4 2024, 9:25 AM
tomek requested changes to D11209: [lib] Update `threadHasAdminRole` to consider `specialField`.

However, if there is no specialRole field encountered, we will assume we're dealing with a Server/"legacy" type and fallback to sketchy string search.

What is the scenario when this can happen?

Mar 4 2024, 9:07 AM
tomek accepted D11208: [lib] Deprecate `useRoleDeletableAndEditableStatus` and determine `is[Editable/Deletable]` directly in `RoleActionsMenu`.

We should reintroduce the util (probably as a simple function) if we would need to decide if we can edit / delete a role in some other places.

Mar 4 2024, 9:05 AM
tomek accepted D11206: [web] Compute `existingRole` instead of `existingRoleID` in `RoleActionsMenu`.
Mar 4 2024, 8:59 AM
tomek requested changes to D11205: [lib][native] Introduce `useRoleNamesToSpecialRole` to remove `"Admins"` string check in `RolePanelEntry`.

I don't understand the reason behind this diff and the task from the summary doesn't have any description. Why can't we simply check RoleInfo and its specialRole field?

Mar 4 2024, 8:57 AM
tomek accepted D11194: [identity] add allow origin list to config struct.
Mar 4 2024, 8:48 AM

Mar 1 2024

tomek closed D11203: [keyserver] Delete ALTER TABLE statement for deleted table.
Mar 1 2024, 4:02 PM
tomek committed rCOMMf6955bb91350: [keyserver] Delete ALTER TABLE statement for deleted table.
Mar 1 2024, 4:02 PM
tomek requested review of D11203: [keyserver] Delete ALTER TABLE statement for deleted table.
Mar 1 2024, 3:51 PM

Feb 29 2024

tomek closed D11199: [native] Fix typo in encrypted-image.
Feb 29 2024, 3:45 PM
tomek committed rCOMM014aefa51383: [native] Fix typo in encrypted-image.
Feb 29 2024, 3:45 PM
tomek closed D11187: [lib] Render a socket for each keyserver.
Feb 29 2024, 3:42 PM
tomek committed rCOMMe9578fd52cbe: [lib] Render a socket for each keyserver.
Feb 29 2024, 3:42 PM
tomek closed D11186: [lib] Move report handler from a socket.
Feb 29 2024, 3:42 PM
tomek closed D11185: [lib] Check keyserver connection in request-response-handler.
Feb 29 2024, 3:42 PM
tomek closed D11184: [lib] Compute hashes only from one keyserver.
Feb 29 2024, 3:42 PM
tomek committed rCOMM1f2a63c77728: [lib] Move report handler from a socket.
Feb 29 2024, 3:42 PM
tomek committed rCOMM8cea21c8a21e: [lib] Check keyserver connection in request-response-handler.
Feb 29 2024, 3:42 PM
tomek committed rCOMMacec0aca765a: [lib] Compute hashes only from one keyserver.
Feb 29 2024, 3:42 PM
tomek closed D11183: [lib] Compare only entities from one keyserver when checking the inconsistencies.
Feb 29 2024, 3:42 PM
tomek closed D11182: [lib] Add keyserverID to processServerRequestsActionType.
Feb 29 2024, 3:42 PM
tomek committed rCOMMb47820b1a752: [lib] Compare only entities from one keyserver when checking the inconsistencies.
Feb 29 2024, 3:42 PM
tomek committed rCOMM80c75e317126: [lib] Add keyserverID to processServerRequestsActionType.
Feb 29 2024, 3:42 PM
tomek closed D11181: [lib] Use keyserverID when generating initial message using socket.
Feb 29 2024, 3:42 PM
tomek committed rCOMM6123d12b7b83: [lib] Use keyserverID when generating initial message using socket.
Feb 29 2024, 3:42 PM
tomek updated the test plan for D11186: [lib] Move report handler from a socket.
Feb 29 2024, 3:38 PM
tomek updated the diff for D11199: [native] Fix typo in encrypted-image.

Fix typo

Feb 29 2024, 3:27 PM
tomek updated the diff for D11184: [lib] Compute hashes only from one keyserver.

Fix prop name

Feb 29 2024, 3:11 PM
tomek added inline comments to D11183: [lib] Compare only entities from one keyserver when checking the inconsistencies.
Feb 29 2024, 3:08 PM
tomek updated the diff for D11183: [lib] Compare only entities from one keyserver when checking the inconsistencies.

Use thread type const.
Update entries test by adding explicit calendar query from the past - the test failed as expected. Updated the dates in entries, which fixed the tests.

Feb 29 2024, 3:08 PM
tomek requested review of D11199: [native] Fix typo in encrypted-image.
Feb 29 2024, 3:04 PM
tomek closed D11197: [native] Use connectivity status for images upload.
Feb 29 2024, 2:59 PM
tomek closed D11196: [native][web] Check connectivity if a keyserver associated with an entry.
Feb 29 2024, 2:59 PM
tomek committed rCOMMe737ed0537e8: [native][web] Check connectivity if a keyserver associated with an entry.
Feb 29 2024, 2:59 PM
tomek committed rCOMM7aacf18bd2cd: [native] Use connectivity status for images upload.
Feb 29 2024, 2:59 PM
tomek closed D11195: [native] Use connectivity instead of keyserver connection status in Calendar.
Feb 29 2024, 2:59 PM
tomek committed rCOMM4375848efb55: [native] Use connectivity instead of keyserver connection status in Calendar.
Feb 29 2024, 2:59 PM
tomek requested review of D11197: [native] Use connectivity status for images upload.
Feb 29 2024, 1:17 PM
tomek requested review of D11196: [native][web] Check connectivity if a keyserver associated with an entry.
Feb 29 2024, 12:34 PM
tomek requested review of D11195: [native] Use connectivity instead of keyserver connection status in Calendar.
Feb 29 2024, 11:06 AM
tomek accepted D11188: [web] Redux migration to patch in `specialRole` field.
Feb 29 2024, 8:57 AM
tomek requested changes to D11194: [identity] add allow origin list to config struct.
Feb 29 2024, 8:49 AM
tomek accepted D11166: [lib] introduce community reducer.
Feb 29 2024, 8:35 AM

Feb 27 2024

tomek requested review of D11186: [lib] Move report handler from a socket.
Feb 27 2024, 5:08 PM
tomek added a comment to D11166: [lib] introduce community reducer.
In D11166#323019, @atul wrote:

Mostly looks good, but do we need to handle clearing the data on log out/delete account/etc?

Feb 27 2024, 4:18 PM
tomek requested review of D11187: [lib] Render a socket for each keyserver.
Feb 27 2024, 4:11 PM
tomek requested review of D11185: [lib] Check keyserver connection in request-response-handler.
Feb 27 2024, 2:42 PM
tomek requested review of D11184: [lib] Compute hashes only from one keyserver.
Feb 27 2024, 2:27 PM
tomek requested review of D11183: [lib] Compare only entities from one keyserver when checking the inconsistencies.
Feb 27 2024, 1:38 PM