Page MenuHomePhabricator
Feed All Stories

Jul 8 2024

atul updated the diff for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

fail permission check if we fail to fetch community root

Jul 8 2024, 2:27 PM
atul updated the diff for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

partially address feedback (add comment explaining nullish coalescing w threadID)

Jul 8 2024, 1:53 PM
ginsu closed D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app.
Jul 8 2024, 12:56 PM
ginsu committed rCOMM4176f25c2bba: [landing/lib/native/web] update copy for thread notifications for the rest of… (authored by ginsu).
[landing/lib/native/web] update copy for thread notifications for the rest of…
Jul 8 2024, 12:56 PM
ginsu closed D12581: [native] fix empty media gallery in thread settings.
Jul 8 2024, 12:56 PM
ginsu committed rCOMM1d4adf7c55f0: [native] fix empty media gallery in thread settings (authored by ginsu).
[native] fix empty media gallery in thread settings
Jul 8 2024, 12:56 PM
ginsu retitled D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app from [landing] update copy for thread notifications on landing to [landing/lib/native/web] update copy for thread notifications for the rest of the app.
Jul 8 2024, 12:54 PM
ginsu updated the diff for D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app.

rebase before landing

Jul 8 2024, 12:54 PM
ginsu updated the diff for D12581: [native] fix empty media gallery in thread settings.

rebase before landing

Jul 8 2024, 12:53 PM
ashoat closed D12657: [lib] Permissions for thick threads.
Jul 8 2024, 12:47 PM
ashoat committed rCOMM62a52e259ee3: [lib] Permissions for thick threads (authored by ashoat).
[lib] Permissions for thick threads
Jul 8 2024, 12:47 PM
ashoat accepted D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app.

Looks like threadSettingsNotificationsCopy has already been updated

Jul 8 2024, 12:44 PM
ashoat requested changes to D12683: [native] update connect farcaster prompt to be less annyoying.

Don't we now need to consider NO_FID_METADATA in all places we fetch the FID? It seems like it would need to be checked at every place the FID is fetched.

Jul 8 2024, 12:41 PM
ashoat added inline comments to D12695: Make client handlers that call authenticated identity RPC's gated on CSAT.
Jul 8 2024, 12:38 PM
ashoat added inline comments to D12693: [native][web] Add fts5 extension to SQLite.
Jul 8 2024, 12:35 PM
ashoat added a comment to D12692: Migrate notification account to IndexedDB on web.

Similar to D12676, I'd encourage reviewing this one carefully

Jul 8 2024, 12:34 PM
ashoat accepted D12569: [lib/web] introduce handleCurrentUserFID to FarcasterDataHandler.

If the network issue gets triggered by the keyserver connection status cycling, then we'll want to add some condition to eg. make sure it only runs once per app start / foreground event. If that's the case, please re-request review. Otherwise it looks good to land!

Jul 8 2024, 12:32 PM
ashoat added inline comments to D12677: Implement method to query identity service from the NSE.
Jul 8 2024, 12:27 PM
ashoat requested changes to D12685: [lib] check if the user fid is still valid.

Worried that once !shouldCheckCurrentFIDRef.current, we'll be executing lines 171 and on, even after our FID is already set locally

Jul 8 2024, 12:25 PM
ashoat requested changes to D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

Solution to community root issue looks good! Passing back to figure out what to do if communityMembersToRole isn't present. Might be worth also considering a scenario where it's present, but there is no m.id key

Jul 8 2024, 12:20 PM
ashoat accepted D12581: [native] fix empty media gallery in thread settings.
Jul 8 2024, 12:08 PM
ashoat added a comment to D12676: Migrate notifications crypto account to MMKV on native.

We should be really careful in reviewing this diff. It seems complex, and notif storage in C++ has historically been an area where we've often introduced very serious issues

Jul 8 2024, 12:06 PM
ginsu added 1 blocking reviewer(s) for D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app: ashoat.

Making @ashoat blocking since this is a copy change diff

Jul 8 2024, 11:03 AM
ginsu added a comment to D12683: [native] update connect farcaster prompt to be less annyoying.

shouldSkipPushPermissionAlert should probably be updated - if I understand correctly this diff makes it impossible for totalAlerts to exceed 1, is that correct?

Jul 8 2024, 11:02 AM
ashoat requested review of D12696: [lib][native] Introduce isLoggedInToAuthoritativeKeyserver.
Jul 8 2024, 10:55 AM
ashoat requested review of D12697: [lib][native] Introduce isLoggedInToIdentityAndAuthoritativeKeyserver.
Jul 8 2024, 10:55 AM
ashoat requested review of D12698: [native] Have BackgroundIdentityLoginHandler wait until LogInHandler.
Jul 8 2024, 10:43 AM
marcin requested review of D12695: Make client handlers that call authenticated identity RPC's gated on CSAT.
Jul 8 2024, 9:37 AM
inka requested review of D12693: [native][web] Add fts5 extension to SQLite.
Jul 8 2024, 8:56 AM
ashoat accepted D12687: [keyserver] use yarn instead of npm for running prod.
Jul 8 2024, 8:30 AM
ashoat closed D12682: [native][web] Stop clearing user input on unknown error.
Jul 8 2024, 8:13 AM
ashoat committed rCOMM713982ce488d: [native][web] Stop clearing user input on unknown error (authored by ashoat).
[native][web] Stop clearing user input on unknown error
Jul 8 2024, 8:13 AM
ashoat updated the diff for D12682: [native][web] Stop clearing user input on unknown error.

Rename onUnknownErrorAlertAcknowledged to onOtherErrorAlertAcknowledged

Jul 8 2024, 8:12 AM
ashoat closed D12681: [lib] Don't query keyserver for empty string from useThreadListSearch.
Jul 8 2024, 8:11 AM
ashoat committed rCOMMbd12ab53cebf: [lib] Don't query keyserver for empty string from useThreadListSearch (authored by ashoat).
[lib] Don't query keyserver for empty string from useThreadListSearch
Jul 8 2024, 8:11 AM
ashoat closed D12680: [lib] Fix crash when pressing message from anonymous author.
Jul 8 2024, 8:11 AM
ashoat closed D12679: [native] Limit BackgroundIdentityLoginHandler to one try per startup.
Jul 8 2024, 8:10 AM
ashoat added a reverting change for D12674: [lib] Fix missing usernames: rCOMMdeb4a0ed9d3e: [lib] Fix crash when pressing message from anonymous author.
Jul 8 2024, 8:10 AM
ashoat committed rCOMMdeb4a0ed9d3e: [lib] Fix crash when pressing message from anonymous author (authored by ashoat).
[lib] Fix crash when pressing message from anonymous author
Jul 8 2024, 8:10 AM
ashoat committed rCOMM7c82a5b2ea9a: [native] Limit BackgroundIdentityLoginHandler to one try per startup (authored by ashoat).
[native] Limit BackgroundIdentityLoginHandler to one try per startup
Jul 8 2024, 8:10 AM
ashoat closed D12678: [native] Don't bother with keyserver auth in BackgroundIdentityLoginHandler.
Jul 8 2024, 8:10 AM
ashoat committed rCOMM1419a4bd0741: [native] Don't bother with keyserver auth in BackgroundIdentityLoginHandler (authored by ashoat).
[native] Don't bother with keyserver auth in BackgroundIdentityLoginHandler
Jul 8 2024, 8:10 AM
ashoat added a comment to D12679: [native] Limit BackgroundIdentityLoginHandler to one try per startup.

one try per startup

Why do we want to do this only once? Is there a downside to setting loginAttemptedRef.current to false after the login is done?

Jul 8 2024, 8:08 AM
ashoat added a comment to D12678: [native] Don't bother with keyserver auth in BackgroundIdentityLoginHandler.

we're already auth'd with the authoritative keyserver

Why is it guaranteed?

Jul 8 2024, 7:29 AM
Harbormaster failed remote builds in B30196: Diff 42108 for D12650: Update extractKeyserverIDFromID so that it returns null for DMs!
Jul 8 2024, 7:11 AM
marcin requested review of D12692: Migrate notification account to IndexedDB on web.
Jul 8 2024, 7:07 AM
tomek added inline comments to D12650: Update extractKeyserverIDFromID so that it returns null for DMs.
Jul 8 2024, 6:52 AM
tomek updated the diff for D12650: Update extractKeyserverIDFromID so that it returns null for DMs.

Squash

Jul 8 2024, 6:48 AM
tomek updated the diff for D12650: Update extractKeyserverIDFromID so that it returns null for DMs.

Extract a function

Jul 8 2024, 6:46 AM
will requested review of D12691: [terraform] include REDIS_URL as part of keyserver terraform config.
Jul 8 2024, 6:03 AM
will requested review of D12690: [terraform] restrict redis access to ecs keyserver service only.
Jul 8 2024, 5:56 AM
will requested review of D12688: [terraform] make aws rds instance class configurable for self-hosting.
Jul 8 2024, 5:50 AM
will requested review of D12687: [keyserver] use yarn instead of npm for running prod.
Jul 8 2024, 5:47 AM
will requested review of D12686: [lib] remove integrity store assertion and use sqlite.
Jul 8 2024, 5:30 AM
inka accepted D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app.
Jul 8 2024, 4:46 AM
inka added a comment to D12683: [native] update connect farcaster prompt to be less annyoying.

shouldSkipPushPermissionAlert should probably be updated - if I understand correctly this diff makes it impossible for totalAlerts to exceed 1, is that correct?

Jul 8 2024, 4:43 AM
inka accepted D12569: [lib/web] introduce handleCurrentUserFID to FarcasterDataHandler.
Jul 8 2024, 4:29 AM
tomek accepted D12670: Implement notification encryption on native.
Jul 8 2024, 4:22 AM
tomek accepted D12669: Implement peer notifications session creation as outbound on web and add notifs outbound session creator to OlmAPI.
Jul 8 2024, 4:12 AM
tomek accepted D12668: Implement peer notifications session creation as outbound on native.
Jul 8 2024, 4:00 AM
will updated the diff for D12531: [terraform] initial ecs setup for keyserver primary.

set to false initially

Jul 8 2024, 3:35 AM
inka accepted D12681: [lib] Don't query keyserver for empty string from useThreadListSearch.

Thank you for fixing this!

Jul 8 2024, 3:29 AM
marcin requested review of D12677: Implement method to query identity service from the NSE.
Jul 8 2024, 2:31 AM
tomek accepted D12682: [native][web] Stop clearing user input on unknown error.
Jul 8 2024, 1:56 AM
ginsu requested review of D12685: [lib] check if the user fid is still valid.
Jul 8 2024, 1:48 AM
tomek accepted D12681: [lib] Don't query keyserver for empty string from useThreadListSearch.
Jul 8 2024, 1:45 AM
tomek accepted D12680: [lib] Fix crash when pressing message from anonymous author.
Jul 8 2024, 1:44 AM
tomek accepted D12679: [native] Limit BackgroundIdentityLoginHandler to one try per startup.

one try per startup

Why do we want to do this only once? Is there a downside to setting loginAttemptedRef.current to false after the login is done?

Jul 8 2024, 1:43 AM
tomek accepted D12678: [native] Don't bother with keyserver auth in BackgroundIdentityLoginHandler.

we're already auth'd with the authoritative keyserver

Why is it guaranteed?

Jul 8 2024, 1:40 AM
atul added inline comments to D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.
Jul 8 2024, 1:16 AM
ginsu added inline comments to D12569: [lib/web] introduce handleCurrentUserFID to FarcasterDataHandler.
Jul 8 2024, 1:13 AM
ginsu added a comment to D12569: [lib/web] introduce handleCurrentUserFID to FarcasterDataHandler.

When do we want handleCurrentUserFID to run?

Jul 8 2024, 1:10 AM
ginsu updated the summary of D12569: [lib/web] introduce handleCurrentUserFID to FarcasterDataHandler.
Jul 8 2024, 1:00 AM
atul updated the diff for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

update communityMembersToRole within for loop to fallback to threadID if threadInfo.community is null (which means it's a community root itself).

Jul 8 2024, 12:59 AM
atul attached a referenced file: F2211025: b2d9be.png.
Jul 8 2024, 12:56 AM
atul updated the diff for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

construct communityRootMembersToRole with both threadInfos and communityThreadInfos to handle scenario described here: https://phab.comm.dev/D12543?id=41737#inline-73658 where community root is one of the threadIDs passed into checkThreadsFrozen.

Jul 8 2024, 12:50 AM
ginsu added inline comments to D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app.
Jul 8 2024, 12:42 AM
ginsu updated the diff for D12569: [lib/web] introduce handleCurrentUserFID to FarcasterDataHandler.

update

Jul 8 2024, 12:41 AM
ginsu requested review of D12684: [landing/lib/native/web] update copy for thread notifications for the rest of the app.
Jul 8 2024, 12:31 AM
atul attached a referenced file: F2210568: b6d60f.png.
Jul 8 2024, 12:02 AM
atul planned changes to D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.
Jul 8 2024, 12:01 AM

Jul 7 2024

ginsu requested review of D12683: [native] update connect farcaster prompt to be less annyoying.
Jul 7 2024, 10:53 PM
ginsu closed D12675: [native] update copy for thread notification settings.
Jul 7 2024, 10:31 PM
ginsu committed rCOMM335064c59cf1: [native] update copy for thread notification settings (authored by ginsu).
[native] update copy for thread notification settings
Jul 7 2024, 10:31 PM
ginsu updated the diff for D12675: [native] update copy for thread notification settings.

rebase before landing

Jul 7 2024, 10:28 PM
ginsu added inline comments to D12675: [native] update copy for thread notification settings.
Jul 7 2024, 10:27 PM
atul updated the diff for D12543: [keyserver] Use `threadIsWithBlockedUserOnlyWithoutAdminRoleCheck` instead of `threadFrozenDueToBlock` in `checkThreadsFrozen`.

address simple communityRootThread -> communityRootThreadID rename feedback

Jul 7 2024, 10:26 PM
ginsu added inline comments to D12581: [native] fix empty media gallery in thread settings.
Jul 7 2024, 10:20 PM
ginsu updated the diff for D12581: [native] fix empty media gallery in thread settings.

address comments

Jul 7 2024, 10:19 PM
atul abandoned D10622: [Buildkite] Bump `node` for ESLint/Flow/Jest and JSI CodeGen workflows.

This was done by @ashoat in D11493.

Jul 7 2024, 9:58 PM
atul abandoned D11252: [lib] Make `specialRoles` field of `RoleInfo` required.

We ended up going with a very different approach from this stack. Abandoning to tidy things up.

Jul 7 2024, 9:56 PM
atul abandoned D11311: [lib] Separate `serverThreadFrozenDueToBlock` and `clientThreadFrozenDueToBlock`.

We ended up going with a very different approach from this stack. Abandoning to tidy things up.

Jul 7 2024, 9:55 PM
atul abandoned D11317: [lib] Update `clientThreadFrozenDueToBlock` and `getMinimallyEncodedCurrentUser` signatures to include `communityThreadInfo`.

We ended up going with a very different approach from this stack. Abandoning to tidy things up.

Jul 7 2024, 9:55 PM
atul abandoned D11318: [lib] Introduce `threadInfoFromRawThreadInfo` wrapper that computes `currentUser` and passes to `baseThreadInfoFromRawThreadInfo`.

We ended up going with a very different approach from this stack. Abandoning to tidy things up.

Jul 7 2024, 9:55 PM
atul abandoned D11333: [lib] Split implementations of `[client/server]ThreadInfoFromRawThreadInfo`.

We ended up going with a very different approach from this stack. Abandoning to tidy things up.

Jul 7 2024, 9:54 PM
ashoat requested review of D12682: [native][web] Stop clearing user input on unknown error.
Jul 7 2024, 2:06 PM

Jul 6 2024

ashoat updated the summary of D12681: [lib] Don't query keyserver for empty string from useThreadListSearch.
Jul 6 2024, 3:12 PM
ashoat requested review of D12681: [lib] Don't query keyserver for empty string from useThreadListSearch.
Jul 6 2024, 3:01 PM
ashoat requested review of D12680: [lib] Fix crash when pressing message from anonymous author.
Jul 6 2024, 2:58 PM
ashoat requested review of D12679: [native] Limit BackgroundIdentityLoginHandler to one try per startup.
Jul 6 2024, 2:57 PM