Page MenuHomePhabricator
Feed Advanced Search

May 15 2024

tomek requested review of D12049: [lib] Add a way of marking migrations as schema-changing.
May 15 2024, 5:28 AM
tomek requested review of D12048: [web] Run backup migrations.
May 15 2024, 5:19 AM

May 14 2024

tomek accepted D12031: [keyserver] Use endpointValidators in keyserve code.
May 14 2024, 8:28 AM
tomek accepted D12030: [lib] Bind output validators to endpoints on lib.
May 14 2024, 8:14 AM
tomek accepted D12029: [lib][keyserver] Move upload output validators to lib.
May 14 2024, 8:01 AM
tomek accepted D12028: [lib] Remove request_access.

This is a leftover from a feature that we had https://github.com/CommE2E/comm/commit/d967a4423104140388fb8227787f676abf319dd0

May 14 2024, 7:59 AM
tomek closed D11936: [lib][web][native] Make all the props of StoreOperations optional.
May 14 2024, 4:49 AM
tomek closed D11933: [lib] Create a synced metadata key for DB version.
May 14 2024, 4:49 AM
tomek committed rCOMMe3f2aff62c8f: [lib][web][native] Make all the props of StoreOperations optional (authored by tomek).
[lib][web][native] Make all the props of StoreOperations optional
May 14 2024, 4:49 AM
tomek committed rCOMM446a2b523d91: [lib] Create a synced metadata key for DB version (authored by tomek).
[lib] Create a synced metadata key for DB version
May 14 2024, 4:49 AM
tomek closed D11931: [lib] Expose function that processes operations as a part of SQLite API.
May 14 2024, 4:49 AM
tomek committed rCOMM0897e32be4a5: [lib] Expose function that processes operations as a part of SQLite API (authored by tomek).
[lib] Expose function that processes operations as a part of SQLite API
May 14 2024, 4:49 AM
tomek updated the diff for D11936: [lib][web][native] Make all the props of StoreOperations optional.

Modify convertOpsToClientDBOps

May 14 2024, 4:29 AM
tomek added a comment to D11936: [lib][web][native] Make all the props of StoreOperations optional.

Wondering if updating convertOpsToClientDBOps to handle nullable param wouldn't be even more readable but up to you

May 14 2024, 4:14 AM
tomek added a comment to D11931: [lib] Expose function that processes operations as a part of SQLite API.

Are you planning to update callsites of processDBStoreOperations to use SQLiteAPI?

May 14 2024, 4:13 AM
tomek accepted D12027: [lib] update community reducer to handle new community action types.
May 14 2024, 3:36 AM
tomek accepted D12025: [native] display loading spinner in TagChannelButton during loading state.
May 14 2024, 3:29 AM
tomek accepted D12024: [native] introduce TagChannelButton.
May 14 2024, 3:27 AM
tomek accepted D12023: [native] call fetchCommunityInfos from the community drawer.
May 14 2024, 3:22 AM
tomek accepted D11984: [lib] Add extractUserIDsFromPayload.
May 14 2024, 12:50 AM

May 13 2024

tomek requested review of D12016: [native] Run backup migrations.
May 13 2024, 6:36 AM
tomek requested review of D12015: [lib] Extract a function that runs the migrations.
May 13 2024, 6:33 AM
tomek requested review of D12014: [lib] Move createAsyncMigrate to utils.
May 13 2024, 5:26 AM
tomek requested review of D12013: [native] Verify if the backup version is correct.
May 13 2024, 3:45 AM
tomek requested review of D12012: [native] Create a function returning the DB version.
May 13 2024, 3:43 AM
tomek accepted D11997: [web] introduce CommunitiesRefresher.
May 13 2024, 3:17 AM
tomek accepted D11996: [lib] introduce fetch community infos redux action.
May 13 2024, 3:15 AM
tomek accepted D11995: [keyserver/lib] introduce fetch_community_infos endpoint.
May 13 2024, 3:13 AM
tomek accepted D11992: [keyserver] Update thread avatar assigner to check new user_container column.
May 13 2024, 1:48 AM
tomek accepted D11991: [keyserver] Update upload assigners to check new user_container column.
May 13 2024, 1:48 AM
tomek accepted D11990: [keyserver] Update unassigned upload fetchers to check new user_container column.
May 13 2024, 1:47 AM
tomek accepted D11989: [keyserver] Update deleters to look at new user_container column.
May 13 2024, 1:46 AM
tomek accepted D11988: [keyserver] Update user fetching to use new user_container column.
May 13 2024, 1:44 AM
tomek accepted D11987: [keyserver] Update updateUserAvatar to use new user_container column.
May 13 2024, 1:43 AM
tomek accepted D11986: [keyserver] Introduce user_container column to uploads table.
May 13 2024, 1:36 AM

May 10 2024

tomek accepted D11978: [keyserver/lib] update deleteFarcasterChannelTag to use communites table.
May 10 2024, 4:15 AM
tomek accepted D11975: [keyserver/lib] upate createOrUpdateFarcasterChannelTag to use communites table.
May 10 2024, 4:05 AM
tomek accepted D11981: [lib] Replace `threadInChatList` with `useThreadInChatList` in `useWatchThread`.
May 10 2024, 3:48 AM

May 9 2024

tomek added inline comments to D11974: [native] Make Farcaster required in new registration flow.
May 9 2024, 8:18 AM
tomek accepted D11971: [lib] Use tUserID in validators in lib/ which are not used by the output validators.
May 9 2024, 8:14 AM
tomek accepted D11970: [lib] Use tUserID in validators in keyserver/.
May 9 2024, 8:12 AM
tomek accepted D11969: [lib] Use tUserID in user-validators.js.
May 9 2024, 8:11 AM
tomek accepted D11967: [lib] Use tUserID in version-validators.js.
May 9 2024, 8:11 AM
tomek accepted D11966: [lib] Use tUserID in search-validators.js.
May 9 2024, 8:10 AM
tomek accepted D11965: [lib] Use tUserID in relationship-validators.js.
May 9 2024, 8:10 AM
tomek accepted D11964: [lib] Use tUserID in message-validators.js.
May 9 2024, 8:09 AM
tomek accepted D11963: [lib] Use tUserID in entry-validators.js pt.3 - serverCreateUpdatesResponseValidator.
May 9 2024, 8:06 AM
tomek accepted D11962: [lib] Use tUserID in entry-validators.js pt.2 - rawMessageInfoValidator.
May 9 2024, 8:05 AM
tomek accepted D11961: [lib] Use tUserID in entry-validators.js pt.1.

It might be a good idea to have a sanity check in a test plan to verify if the responses are validated correctly (if sending and receiving responses from keyserver work, for a couple of endpoints).

May 9 2024, 7:59 AM
tomek closed D11923: [native] Delete unused functions.
May 9 2024, 5:25 AM
tomek committed rCOMM94b3621f714b: [native] Delete unused functions (authored by tomek).
[native] Delete unused functions
May 9 2024, 5:25 AM
tomek closed D11922: [native] Use processDBStoreOperations function everywhere.
May 9 2024, 5:25 AM
tomek closed D11921: [native] Create a function that processes all the ops.
May 9 2024, 5:25 AM
tomek committed rCOMM92e21ca983bc: [native] Use processDBStoreOperations function everywhere (authored by tomek).
[native] Use processDBStoreOperations function everywhere
May 9 2024, 5:25 AM
tomek committed rCOMM41680772eef6: [native] Create a function that processes all the ops (authored by tomek).
[native] Create a function that processes all the ops
May 9 2024, 5:25 AM
tomek closed D11902: [native] Create a single base class for all the ops.
May 9 2024, 5:25 AM
tomek committed rCOMM4324e85e55a4: [native] Create a single base class for all the ops (authored by tomek).
[native] Create a single base class for all the ops
May 9 2024, 5:25 AM
tomek updated the diff for D11902: [native] Create a single base class for all the ops.

Fix imports

May 9 2024, 4:59 AM
tomek added a comment to D11923: [native] Delete unused functions.

Checked if persisting drafts still works.

Same suggestions to test plan as for parent diff.

May 9 2024, 4:51 AM
tomek added a comment to D11922: [native] Use processDBStoreOperations function everywhere.

Checked if persisting drafts still works.

Why only drafts? We can probably test other stores by making changes in the app, closing keyserver connection and restarting it afterwards. I would also run sth like git grep "commCoreModule.process" before and after applying this diff.

May 9 2024, 4:49 AM
tomek added inline comments to D11921: [native] Create a function that processes all the ops.
May 9 2024, 4:28 AM
tomek updated the diff for D11902: [native] Create a single base class for all the ops.

Add imports

May 9 2024, 4:11 AM
tomek accepted D11955: [keyserver] introduce fetchCommunityInfos.
May 9 2024, 4:00 AM
tomek accepted D11954: [lib/web] update CommunityInfo type.
May 9 2024, 3:56 AM
tomek accepted D11950: [lib] Introduce `useThreadsInChatList` and consume in `useFilteredChildThreads`.
May 9 2024, 3:54 AM
tomek accepted D11960: [lib] Add tUserID.
May 9 2024, 3:41 AM
tomek accepted D11958: [lib][keyserver] Move output validators tests to lib.
May 9 2024, 3:37 AM
tomek accepted D11904: [keyserver] modify thread creator + deleter endpoints to update communities table.
May 9 2024, 2:37 AM

May 8 2024

tomek requested review of D11947: [web] Check backup version when restoring.
May 8 2024, 10:12 AM
tomek accepted D11945: [lib][keyserver] Move user and version validators to lib.
May 8 2024, 10:06 AM
tomek accepted D11944: [lib][keyserver] Move thread and siwe validators to lib.

Wondering if there's a pattern in choosing which validators were moved together in a diff.

May 8 2024, 10:04 AM
tomek accepted D11943: [lib][keyserver] Move report and search validators to lib.
May 8 2024, 10:02 AM
tomek accepted D11941: [lib][keyserver] Move relationship and redux state validators to lib.
May 8 2024, 10:01 AM
tomek accepted D11932: [lib] Add UserInfosHandler.
May 8 2024, 9:59 AM
tomek requested review of D11942: [native] Set the DB version after registration.

I planned changes because I thought there was an issue with the current users - they are already registered, so we won't put the version into the DB for them and their backup won't contain it. Actually, there's no such problem, because in order to create a backup, the app should be run, and the migration from the previous diff will be performed and will put the version into the DB.

May 8 2024, 9:08 AM
tomek planned changes to D11942: [native] Set the DB version after registration.
May 8 2024, 9:03 AM
tomek requested review of D11942: [native] Set the DB version after registration.
May 8 2024, 7:16 AM
tomek requested review of D11937: [lib] Update DB version while running a migration.
May 8 2024, 5:30 AM
tomek requested review of D11936: [lib][web][native] Make all the props of StoreOperations optional.
May 8 2024, 4:41 AM
tomek requested review of D11933: [lib] Create a synced metadata key for DB version.
May 8 2024, 4:04 AM
tomek requested review of D11931: [lib] Expose function that processes operations as a part of SQLite API.
May 8 2024, 3:31 AM
tomek added inline comments to D11921: [native] Create a function that processes all the ops.
May 8 2024, 3:19 AM
tomek accepted D11928: [native] Don't call handleReduxMigrationFailure for legacy migrations.
May 8 2024, 3:01 AM
tomek accepted D11903: [keyserver] introduce a table for communities.
May 8 2024, 2:47 AM

May 7 2024

tomek requested review of D11923: [native] Delete unused functions.
May 7 2024, 9:00 AM
tomek requested review of D11922: [native] Use processDBStoreOperations function everywhere.
May 7 2024, 9:00 AM
tomek requested review of D11921: [native] Create a function that processes all the ops.
May 7 2024, 8:15 AM
tomek accepted D11843: [native] add test button to create initial peer list.
May 7 2024, 2:46 AM
tomek accepted D11841: [lib] add action to set users device lists in `AuxUserStore`.
May 7 2024, 2:44 AM
tomek accepted D11858: Specify android notification priority based on its visual action.
May 7 2024, 2:36 AM
tomek requested changes to D11904: [keyserver] modify thread creator + deleter endpoints to update communities table.
May 7 2024, 2:23 AM
tomek requested changes to D11903: [keyserver] introduce a table for communities.
May 7 2024, 2:04 AM
tomek accepted D11916: [native] Consume `useThreadInChatList` in `native/ThreadSettings`.

flow + close reading for now

Sounds risky for a change that changes the flow.

May 7 2024, 1:53 AM
tomek accepted D11910: [native] add reserved registration methods to IdentityServiceContextProvider.

This code is almost entirely a copy-paste from existing endpoints. Can we reduce the duplication?

May 7 2024, 1:47 AM
tomek added a comment to D11871: [lib] Make sure we run ID conversion on unsupportedMessageInfo.

Thanks for making this change!

May 7 2024, 12:47 AM

May 6 2024

tomek requested review of D11902: [native] Create a single base class for all the ops.
May 6 2024, 6:49 AM
tomek accepted D11887: [native] Update unshimClientDB to reflect best practices.
May 6 2024, 1:06 AM
tomek accepted D11885: [web] Introduce unshimClientDB and use it to unshim FARCASTER_MUTUAL messages.
May 6 2024, 1:04 AM
tomek accepted D11871: [lib] Make sure we run ID conversion on unsupportedMessageInfo.

I considered specifying this on the message specs, but there's no way to do that without leading to an import cycle.

It would be great if we could make a corresponding change to RawUnsupportedMessageInfo type (update unsupportedMessageInfo). Maybe we can define this type in another / new file? The problem with the current solution is that we have to remember to update the validator and our types don't protect us against forgetting about this.

May 6 2024, 12:56 AM
tomek accepted D11870: [lib] Stop shimming SIDEBAR_SOURCE when keyserver can't load source message.
May 6 2024, 12:50 AM