Page MenuHomePhabricator
Feed Advanced Search

Nov 27 2023

rohan added inline comments to D9977: [keyserver] Update usage of threads.default_role in thread-updaters.js.
Nov 27 2023, 9:47 AM
rohan requested review of D9961: [keyserver/lib] Introduce a specialRoles enum and special_role column in MariaDB.
Nov 27 2023, 8:18 AM
rohan updated the diff for D9961: [keyserver/lib] Introduce a specialRoles enum and special_role column in MariaDB.

Change index on roles from thread to thread_special_role. Re-requesting review since I'd like another pass on this.

Nov 27 2023, 8:18 AM
rohan accepted D10024: [Flow202][native][skip-ci] [40/x] Fix type error in addManagePinsThreadPermissionToUser.
Nov 27 2023, 7:58 AM
rohan accepted D10011: [Flow202][native][skip-ci] [27/x] Fix Flow issues with TOGGLE_PIN redux-persist migration.
Nov 27 2023, 7:31 AM
rohan added a comment to D9981: [keyserver] Update usage of threads.default_role in thread-creator.js.
In D9981#291960, @tomek wrote:

Is the default_role column nullable at this point?

Nov 27 2023, 6:26 AM
rohan updated the diff for D9978: [keyserver] Update usage of threads.default_role in validate-role-permissions.js.

Indent query

Nov 27 2023, 6:23 AM
rohan updated the diff for D9976: [keyserver] Update usage of threads.default_role in role-fetchers.js.

Add indent, drop table alias, and drop the join on threads

Nov 27 2023, 6:21 AM
rohan updated the diff for D9974: [keyserver/lib] Populate special_role field when initial roles are created.

Use ?? over ||

Nov 27 2023, 6:17 AM

Nov 24 2023

rohan requested review of D9979: [keyserver] Update usage of threads.default_role in thread-permission-updaters.js.
Nov 24 2023, 11:36 AM
rohan requested review of D9982: [keyserver] Drop the default_role column from threads.
Nov 24 2023, 11:24 AM
rohan requested review of D9981: [keyserver] Update usage of threads.default_role in thread-creator.js.
Nov 24 2023, 11:08 AM
rohan requested review of D9980: [keyserver] Update usage of threads.default_role in thread-fetchers.js.
Nov 24 2023, 10:55 AM
rohan accepted D9968: [keyserver] Fetch invite link blob holder.
Nov 24 2023, 10:44 AM
rohan accepted D9966: [keyserver] Add a function that deletes a blob.
Nov 24 2023, 10:42 AM
rohan requested review of D9978: [keyserver] Update usage of threads.default_role in validate-role-permissions.js.
Nov 24 2023, 10:36 AM
rohan requested review of D9977: [keyserver] Update usage of threads.default_role in thread-updaters.js.
Nov 24 2023, 10:26 AM
rohan requested review of D9975: [keyserver] Update usage of threads.default_role in role-deleters.js.
Nov 24 2023, 10:24 AM
rohan requested review of D9974: [keyserver/lib] Populate special_role field when initial roles are created.
Nov 24 2023, 10:21 AM
rohan requested review of D9976: [keyserver] Update usage of threads.default_role in role-fetchers.js.
Nov 24 2023, 10:14 AM

Nov 23 2023

rohan requested review of D9961: [keyserver/lib] Introduce a specialRoles enum and special_role column in MariaDB.
Nov 23 2023, 8:43 AM
rohan accepted D9960: [keyserver] Add a column to invite_links table with a blob holder.
Nov 23 2023, 8:22 AM

Nov 22 2023

rohan closed D9953: [lib] Delete the old universalCommunityPermissions set.
Nov 22 2023, 9:42 AM
rohan committed rCOMMe80647bd005f: [lib] Delete the old universalCommunityPermissions set (authored by rohan).
[lib] Delete the old universalCommunityPermissions set
Nov 22 2023, 9:42 AM
rohan closed D9945: [keyserver] Add updateRolesAndPermissionsForAllThreads migration.
Nov 22 2023, 8:48 AM
rohan committed rCOMMddaed8961488: [keyserver] Add updateRolesAndPermissionsForAllThreads migration (authored by rohan).
[keyserver] Add updateRolesAndPermissionsForAllThreads migration
Nov 22 2023, 8:48 AM
rohan closed D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.
Nov 22 2023, 8:48 AM
rohan committed rCOMMd31d2a01ca4f: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread… (authored by rohan).
[keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread…
Nov 22 2023, 8:48 AM
rohan closed D9901: [lib] Rename getRolePermissionBlobsForCommunity to getRolePermissionBlobsForCommunityRoot.
Nov 22 2023, 8:48 AM
rohan committed rCOMMd8e045b1de70: [lib] Rename getRolePermissionBlobsForCommunity to… (authored by rohan).
[lib] Rename getRolePermissionBlobsForCommunity to…
Nov 22 2023, 8:48 AM
rohan closed D9900: [keyserver] Validate community ID corresponds to a community root in role-creator.
Nov 22 2023, 8:48 AM
rohan closed D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.
Nov 22 2023, 8:48 AM
rohan committed rCOMM5a1516fd8cef: [keyserver] Validate community ID corresponds to a community root in role… (authored by rohan).
[keyserver] Validate community ID corresponds to a community root in role…
Nov 22 2023, 8:48 AM
rohan committed rCOMM67f55a80135f: [lib] Introduce getUniversalCommunityRootPermissionsBlob (authored by rohan).
[lib] Introduce getUniversalCommunityRootPermissionsBlob
Nov 22 2023, 8:48 AM
rohan closed D9514: [lib/web/native] Show voiced_in_announcement_channels user-surfaced permission for all community types.
Nov 22 2023, 8:48 AM
rohan closed D9608: [native] Redux persist migration to remove incorrect permissions from threads.
Nov 22 2023, 8:48 AM
rohan committed rCOMM3b4f16f477fe: [lib/web/native] Show voiced_in_announcement_channels user-surfaced permission… (authored by rohan).
[lib/web/native] Show voiced_in_announcement_channels user-surfaced permission…
Nov 22 2023, 8:48 AM
rohan committed rCOMM3c2390914b53: [native] Redux persist migration to remove incorrect permissions from threads (authored by rohan).
[native] Redux persist migration to remove incorrect permissions from threads
Nov 22 2023, 8:48 AM
rohan closed D9599: [keyserver] Write MariaDB migration to remove incorrect permission from roles.
Nov 22 2023, 8:48 AM
rohan committed rCOMMd35cd9589da6: [keyserver] Write MariaDB migration to remove incorrect permission from roles (authored by rohan).
[keyserver] Write MariaDB migration to remove incorrect permission from roles
Nov 22 2023, 8:48 AM
rohan closed D9686: [lib] Prevent editing role permissions from adding unexpected permissions.
Nov 22 2023, 8:48 AM
rohan committed rCOMM11d0868e0328: [lib] Prevent editing role permissions from adding unexpected permissions (authored by rohan).
[lib] Prevent editing role permissions from adding unexpected permissions
Nov 22 2023, 8:48 AM
rohan closed D9493: [lib] Fix universal community permissions to prevent input bar and join chat button from appearing at the same time.
Nov 22 2023, 8:48 AM
rohan committed rCOMM9a45b9a2a16e: [lib] Fix universal community permissions to prevent input bar and join chat… (authored by rohan).
[lib] Fix universal community permissions to prevent input bar and join chat…
Nov 22 2023, 8:48 AM
rohan published D9953: [lib] Delete the old universalCommunityPermissions set for review.
Nov 22 2023, 8:41 AM
rohan updated the diff for D9945: [keyserver] Add updateRolesAndPermissionsForAllThreads migration.

Rebase

Nov 22 2023, 7:38 AM
rohan updated the diff for D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

Fix persist version after rebase

Nov 22 2023, 7:24 AM
rohan updated the diff for D9945: [keyserver] Add updateRolesAndPermissionsForAllThreads migration.

Rebase

Nov 22 2023, 6:59 AM
rohan updated the diff for D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

Rebase

Nov 22 2023, 6:59 AM
rohan updated the diff for D9901: [lib] Rename getRolePermissionBlobsForCommunity to getRolePermissionBlobsForCommunityRoot.

Rebase

Nov 22 2023, 6:58 AM
rohan updated the diff for D9900: [keyserver] Validate community ID corresponds to a community root in role-creator.

Rebase

Nov 22 2023, 6:58 AM
rohan updated the diff for D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.

Rebase

Nov 22 2023, 6:57 AM
rohan updated the diff for D9514: [lib/web/native] Show voiced_in_announcement_channels user-surfaced permission for all community types.

Rebase

Nov 22 2023, 6:57 AM
rohan updated the diff for D9608: [native] Redux persist migration to remove incorrect permissions from threads.

Rebase

Nov 22 2023, 6:57 AM
rohan updated the diff for D9599: [keyserver] Write MariaDB migration to remove incorrect permission from roles.

Rebase

Nov 22 2023, 6:57 AM
rohan updated the diff for D9686: [lib] Prevent editing role permissions from adding unexpected permissions.

Rebase

Nov 22 2023, 6:56 AM
rohan updated the diff for D9493: [lib] Fix universal community permissions to prevent input bar and join chat button from appearing at the same time.

Rebase

Nov 22 2023, 6:56 AM

Nov 21 2023

rohan accepted D9944: [keyserver] Block creating invite links for which an entry in Blob service already exists.
Nov 21 2023, 11:29 AM
rohan updated the diff for D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

Address feedback (use NEXT_CODE_VERSION and use threadTypeIsAnnouncementThread)

Nov 21 2023, 11:08 AM
rohan requested review of D9945: [keyserver] Add updateRolesAndPermissionsForAllThreads migration.
Nov 21 2023, 9:41 AM
rohan updated the diff for D9901: [lib] Rename getRolePermissionBlobsForCommunity to getRolePermissionBlobsForCommunityRoot.

Rebase

Nov 21 2023, 8:39 AM
rohan updated the diff for D9900: [keyserver] Validate community ID corresponds to a community root in role-creator.

Rebase

Nov 21 2023, 8:38 AM
rohan updated the diff for D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.

Address feedback.

Nov 21 2023, 8:33 AM
rohan updated the test plan for D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.
Nov 21 2023, 8:19 AM
rohan requested review of D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.
Nov 21 2023, 7:18 AM
rohan added a comment to D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

Did some investigating and it seems like we mainly have rolePermissions as null when a user is a former member and is now a ghost member of a thread (-1 role)

Nov 21 2023, 7:17 AM
rohan updated the summary of D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.
Nov 21 2023, 7:07 AM

Nov 20 2023

rohan planned changes to D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.
Nov 20 2023, 3:03 PM
rohan updated the diff for D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

Update approach (planning changes until I can update diff description/test plan)

Nov 20 2023, 3:03 PM
rohan added a comment to D9833: [keyserver] Change updateRoles to support Voiced role.

Abandoning this for now since we're reconsidering the Voiced approach

Nov 20 2023, 2:58 PM
rohan added a comment to D9825: [keyserver] Migration to add Voiced role to announcement subchannels.

Abandoning this for now since we're reconsidering the Voiced approach

Nov 20 2023, 2:58 PM
rohan added a comment to D9804: [lib] Include Voiced permission blob for announcement channels.

Abandoning this for now since we're reconsidering the Voiced approach

Nov 20 2023, 2:58 PM
rohan abandoned D9833: [keyserver] Change updateRoles to support Voiced role.
Nov 20 2023, 2:57 PM
rohan updated the summary of D9833: [keyserver] Change updateRoles to support Voiced role.
Nov 20 2023, 2:57 PM
rohan abandoned D9825: [keyserver] Migration to add Voiced role to announcement subchannels.
Nov 20 2023, 2:56 PM
rohan abandoned D9804: [lib] Include Voiced permission blob for announcement channels.
Nov 20 2023, 2:55 PM
rohan updated the summary of D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.
Nov 20 2023, 2:55 PM
rohan planned changes to D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.
Nov 20 2023, 11:30 AM
rohan updated the diff for D9901: [lib] Rename getRolePermissionBlobsForCommunity to getRolePermissionBlobsForCommunityRoot.

Rebase

Nov 20 2023, 9:46 AM
rohan updated the diff for D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.

Merge diffs (for now)

Nov 20 2023, 9:44 AM
rohan updated the summary of D9804: [lib] Include Voiced permission blob for announcement channels.
Nov 20 2023, 9:43 AM
rohan updated the summary of D9924: [lib] Use configurableCommunityPermissions in getRolePermissionBlobsForCommunityRoot.
Nov 20 2023, 9:43 AM
rohan abandoned D9924: [lib] Use configurableCommunityPermissions in getRolePermissionBlobsForCommunityRoot.
Nov 20 2023, 9:42 AM
rohan planned changes to D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.
Nov 20 2023, 9:20 AM
rohan updated the diff for D9897: [lib] Introduce getUniversalCommunityRootPermissionsBlob.

Update

Nov 20 2023, 9:20 AM
rohan updated the summary of D9900: [keyserver] Validate community ID corresponds to a community root in role-creator.
Nov 20 2023, 9:18 AM
rohan updated the summary of D9899: [keyserver] Use getUniversalCommunityRootPermissionsBlob in role-creator.
Nov 20 2023, 9:17 AM
rohan abandoned D9899: [keyserver] Use getUniversalCommunityRootPermissionsBlob in role-creator.

This is getting merged into D9897

Nov 20 2023, 9:17 AM
rohan updated the summary of D9898: [keyserver] Use getUniversalCommunityRootPermissionsBlob in validate-role-permissions script.
Nov 20 2023, 9:17 AM
rohan abandoned D9898: [keyserver] Use getUniversalCommunityRootPermissionsBlob in validate-role-permissions script.

This is getting merged into D9897

Nov 20 2023, 9:17 AM
rohan added inline comments to D9883: [lib] Define a function that detects when an ENS name is typed.
Nov 20 2023, 8:08 AM
rohan added inline comments to D9883: [lib] Define a function that detects when an ENS name is typed.
Nov 20 2023, 8:04 AM
rohan updated the diff for D9883: [lib] Define a function that detects when an ENS name is typed.

Update tests

Nov 20 2023, 7:56 AM
rohan updated the diff for D9883: [lib] Define a function that detects when an ENS name is typed.
  1. Updated the RegEx to match any character except newline to match all unicode characters (like ö) but also to match emojis (🎃)
  2. Changed the order of isValidENSName to match the regex first. This is to prevent converting an invalid parameter like ö.eth toAscii, which would then meet the length requirements of the regex statement.
  3. Updated the unit tests, used this post to identify the valid one-char emojis that can be registered as ENS names. Cross checked this manually on https://app.ens.domains/
Nov 20 2023, 7:30 AM

Nov 17 2023

rohan planned changes to D9899: [keyserver] Use getUniversalCommunityRootPermissionsBlob in role-creator.
Nov 17 2023, 4:03 PM
rohan planned changes to D9898: [keyserver] Use getUniversalCommunityRootPermissionsBlob in validate-role-permissions script.
Nov 17 2023, 4:03 PM
rohan published D9924: [lib] Use configurableCommunityPermissions in getRolePermissionBlobsForCommunityRoot for review.
Nov 17 2023, 10:15 AM
rohan updated the diff for D9827: [keyserver/lib/native] Introduce VOICED_IN_ANNOUNCEMENT_CHANNELS thread permission.

Rebase on the stack so

  • hacky checks in role-creator are removed
  • community validation is done
Nov 17 2023, 10:03 AM
rohan updated the diff for D9833: [keyserver] Change updateRoles to support Voiced role.

Address feedback (extract query to a function and fix formatting).

Nov 17 2023, 9:33 AM
rohan updated the summary of D9804: [lib] Include Voiced permission blob for announcement channels.
Nov 17 2023, 9:02 AM