Page MenuHomePhabricator
Feed Advanced Search

Nov 2 2023

michal accepted D9609: [web] create Tunnelbroker session.
Nov 2 2023, 9:00 AM
michal added inline comments to D9611: [lib] handle Tunnelbroker messages.
Nov 2 2023, 7:24 AM
michal accepted D9616: [lib] implement sending messages to Tunnelbroker.
Nov 2 2023, 7:21 AM
michal added inline comments to D9623: [keyserver] implement socket and update code to interact with Tunnelbroker API.
Nov 2 2023, 7:07 AM
michal updated the test plan for D9500: [keyserver] Remove cookieSources.
Nov 2 2023, 6:18 AM
michal accepted D9578: [Tunnelbroker] add recipient confirmation tests.

[...] I guess its due to pt 4 - we cannot check if websocket is empty without hacky ways like timeouts

Nov 2 2023, 6:09 AM
michal accepted D9577: [Tunnelbroker] add recipient confirmation to Tunnelbroker.
Nov 2 2023, 5:59 AM
michal added inline comments to D9500: [keyserver] Remove cookieSources.
Nov 2 2023, 4:31 AM
michal updated the diff for D9500: [keyserver] Remove cookieSources.

Update types and client_version_unsupported logic

Nov 2 2023, 4:31 AM

Oct 31 2023

michal added inline comments to D9610: [native] create Tunnelbroker session.
Oct 31 2023, 10:45 AM

Oct 30 2023

michal added inline comments to D9610: [native] create Tunnelbroker session.
Oct 30 2023, 10:05 AM
michal accepted D9607: [lib] implement creating Tunnelbroker socket.
Oct 30 2023, 10:00 AM
michal added inline comments to D9606: [lib] introduce Tunnelbroker Context.
Oct 30 2023, 9:55 AM
michal added a comment to D9623: [keyserver] implement socket and update code to interact with Tunnelbroker API.

Do we need to handle socket reconnection?

Oct 30 2023, 9:35 AM
michal added a comment to D9623: [keyserver] implement socket and update code to interact with Tunnelbroker API.

Should we implement some kind of timeout for the promises?

Oct 30 2023, 9:27 AM
michal accepted D9590: [native] introduce Add keyserver screen UI.

LGTM although I haven't been really working with react native code lately. Do the diffs for filling in the missing // TODO exist?

Oct 30 2023, 9:09 AM
michal accepted D9591: [native] introduce addKeyserverActionType.
Oct 30 2023, 9:09 AM
michal requested review of D9629: [keyserver] Remove table prefix in sql query.
Oct 30 2023, 7:41 AM
michal updated the diff for D9503: [web/keyserver] Separate web and keyserver versions.

Rebase

Oct 30 2023, 7:19 AM
michal updated the diff for D9398: [nix] Create new url facts.

Rebase migration

Oct 30 2023, 7:18 AM
michal updated the diff for D9396: [keyserver] Update CORS.

Rebase before landing

Oct 30 2023, 7:17 AM
michal added inline comments to D9598: [keyserver] Set last_message correctly for threads.
Oct 30 2023, 6:47 AM
michal planned changes to D9452: [keyserver] Separate webapp and keyserver endpoints.

Setting as "plan changes" because it needs to be defered for a while to let web clients migrate (start using squadcal endpoints instead of web.comm.app).

Oct 30 2023, 6:12 AM
michal abandoned D8680: [keyserver] Correctly set memberships last_message.

Replaced by D9598

Oct 30 2023, 6:09 AM
michal accepted D9596: [lib] define Tunnelbroker API in Flow types.

Nit: I would prefer to see the validators just below the corresponding type definition. IMO it makes it harder for people to forget to update validators when updating the types.

Oct 30 2023, 6:07 AM
michal accepted D9595: [Tunnelbroker] implement sending response after session creation attempt.
Oct 30 2023, 5:50 AM
michal updated the diff for D8492: [keyserver] Always fetch the latest message for threads.

Fix formatting

Oct 30 2023, 5:18 AM
michal updated the diff for D8492: [keyserver] Always fetch the latest message for threads.

Rebase

Oct 30 2023, 4:39 AM
michal updated the diff for D9605: [keyserver] Fix existing memberships.last_message in migration.

Use genesis.id

Oct 30 2023, 4:38 AM
michal updated the diff for D9598: [keyserver] Set last_message correctly for threads.

Fixes

Oct 30 2023, 4:35 AM

Oct 27 2023

michal added reviewers for D9605: [keyserver] Fix existing memberships.last_message in migration: tomek, inka, ashoat.

Thanks for noticing that, not sure how I missed it

Oct 27 2023, 9:49 AM
michal added a comment to D9598: [keyserver] Set last_message correctly for threads.

This gist contains both a SELECT query based on the UPDATE query and an UPDATE query. Both of these queries show equivalent results under EXPLAIN so I think they should have the same performance. They are both set for my user (3033752 which I took from the table in ENG-5287) and the genesis thread (1).

Oct 27 2023, 8:59 AM
michal updated the diff for D9396: [keyserver] Update CORS.

(indentation fixes, I forgot to commit them)

Oct 27 2023, 8:14 AM
michal updated the diff for D9396: [keyserver] Update CORS.

Indentation and naming fixes

Oct 27 2023, 8:13 AM
michal updated the test plan for D9451: [web/native/keyserver] Start using new url facts.
Oct 27 2023, 7:55 AM
michal updated the diff for D9451: [web/native/keyserver] Start using new url facts.

Updated the docs issues, amended the test plan for docker keyserver deploy.

Oct 27 2023, 7:54 AM
michal updated the test plan for D9396: [keyserver] Update CORS.
Oct 27 2023, 7:52 AM
michal updated the test plan for D9396: [keyserver] Update CORS.
Oct 27 2023, 7:51 AM
michal updated the test plan for D9396: [keyserver] Update CORS.
Oct 27 2023, 7:50 AM
michal updated the diff for D9396: [keyserver] Update CORS.

Removed CORS middleware from commAppRouter and amended the test plan so it doesn't require it. Amended the test plan to test the removal of existing CORS settings for upload endpoints. Defined a function for checking docker environment for clarity.

Oct 27 2023, 7:48 AM
michal accepted D9594: [Tunnelbroker] refactor initializing session to make it possible to send a response to the client on session creation failure.

I've talked about it with @kamil in the office, and we had a few ideas but nothing really better than this.

Oct 27 2023, 6:51 AM

Oct 26 2023

michal requested review of D9605: [keyserver] Fix existing memberships.last_message in migration.
Oct 26 2023, 6:48 AM

Oct 25 2023

michal requested review of D9598: [keyserver] Set last_message correctly for threads.
Oct 25 2023, 7:56 AM

Oct 23 2023

michal updated the diff for D9287: [web] Migrate cookies to redux.

Added check for null cookie (this should only happen if someone in modyfying cookies directly)

Oct 23 2023, 2:26 AM

Oct 20 2023

michal updated the diff for D9452: [keyserver] Separate webapp and keyserver endpoints.

Fixed remaining comment, thanks for catching that

Oct 20 2023, 9:08 AM
michal updated the diff for D9451: [web/native/keyserver] Start using new url facts.

Doc changes

Oct 20 2023, 9:07 AM
michal updated the diff for D9398: [nix] Create new url facts.

Added a migration for the new files alongside the nix automatically creating them on nix develop. I don't think we need to remove the old files, they will be just ignored and if someone had some custom configuration in it we don't want to override it. The docs changes are in the next diff because this diff doesn't change the behaviour and only handles adding the new files.

Oct 20 2023, 9:06 AM
michal updated the test plan for D9396: [keyserver] Update CORS.
Oct 20 2023, 9:02 AM
michal added inline comments to D9396: [keyserver] Update CORS.
Oct 20 2023, 8:57 AM
michal updated the diff for D9396: [keyserver] Update CORS.

Use getCommConfig for the cors domain. Added the migrations/nix setup for it because it's required for the media download (as we are removing the already existing upload-specific cors handling). Amend the test plan for generation and use of config file on dev environment.

Oct 20 2023, 8:56 AM

Oct 19 2023

michal updated the diff for D9452: [keyserver] Separate webapp and keyserver endpoints.

Rename routers

Oct 19 2023, 10:42 AM

Oct 18 2023

michal accepted D9521: [Tunnelbroker] improve Tunnelbroker messages docs.
Oct 18 2023, 5:27 AM
michal updated the diff for D9451: [web/native/keyserver] Start using new url facts.

Rebase

Oct 18 2023, 3:59 AM
michal updated the diff for D9396: [keyserver] Update CORS.

Default cors to https://web.comm.app

Oct 18 2023, 3:54 AM
michal added inline comments to D9396: [keyserver] Update CORS.
Oct 18 2023, 3:51 AM
michal accepted D9511: [commtest] Add dockerfile and entrypoint script.
Oct 18 2023, 3:44 AM
michal accepted D9512: [services] Add docker-compose overrides for tests.
Oct 18 2023, 3:37 AM
michal added inline comments to D9511: [commtest] Add dockerfile and entrypoint script.
Oct 18 2023, 3:26 AM
michal accepted D9510: [commtest] Make service endpoints configurable.

Nice

Oct 18 2023, 3:22 AM
michal accepted D9507: [terraform] Localstack changes for commtest.
Oct 18 2023, 3:16 AM
michal accepted D9509: [blob] Add CLI option to enable auto-deletion.
Oct 18 2023, 3:14 AM
michal updated the summary of D9452: [keyserver] Separate webapp and keyserver endpoints.
Oct 18 2023, 3:03 AM
michal accepted D9463: [Tunnelbroker] add MessageToDeviceRequestStatus message.
Oct 18 2023, 2:56 AM
michal accepted D9467: [Tunnelbroker] implement Tunnelbroker confirmation for sender.
Oct 18 2023, 2:56 AM

Oct 16 2023

michal accepted D9501: [lib][web][native] Refactor actions in user-actions.js pt.1.
Oct 16 2023, 7:29 AM
michal accepted D9504: [Tunnelbroker] implement DDB message ID.
Oct 16 2023, 6:37 AM
michal requested review of D9503: [web/keyserver] Separate web and keyserver versions.
Oct 16 2023, 6:24 AM
michal requested review of D9502: [lib] Remove setCookieOnRequest.
Oct 16 2023, 5:53 AM
michal requested review of D9500: [keyserver] Remove cookieSources.
Oct 16 2023, 5:49 AM
michal added inline comments to D9451: [web/native/keyserver] Start using new url facts.
Oct 16 2023, 3:51 AM
michal updated the summary of D9398: [nix] Create new url facts.
Oct 16 2023, 3:17 AM
michal added inline comments to D9482: [identity] add user ID to account ownership message.
Oct 16 2023, 2:44 AM

Oct 13 2023

michal accepted D9468: [Commtest] introduce function for sending WebSocket message to Tunnelbroker.
Oct 13 2023, 7:23 AM
michal added inline comments to D9467: [Tunnelbroker] implement Tunnelbroker confirmation for sender.
Oct 13 2023, 7:19 AM
michal accepted D9462: [Tunnelbroker] add MessageToDeviceRequest message.
Oct 13 2023, 7:07 AM
michal added inline comments to D9463: [Tunnelbroker] add MessageToDeviceRequestStatus message.
Oct 13 2023, 7:04 AM
michal accepted D9459: [Tunnelbroker] update DDB schema to handle client message ID.

It might be worth to introduce something like

struct MessageID {
  timestamp: DateTime<Utc>,
  client_message_id: String,
}
Oct 13 2023, 6:58 AM
michal added inline comments to D9463: [Tunnelbroker] add MessageToDeviceRequestStatus message.
Oct 13 2023, 6:57 AM
michal accepted D9461: [Tunnelbroker] handle all types of socket messages.
Oct 13 2023, 6:39 AM
michal accepted D9460: [Tunnelbroker] generate client message ID for gRPC messages.
Oct 13 2023, 6:36 AM

Oct 12 2023

michal added a comment to D9265: [lib/web/native] Add IntegrityStore.
  1. I've updated the notion doc
  2. Created tasks here: ENG-5235 (web), ENG-5234 (native) as children of "Migrate data to SQLite"
Oct 12 2023, 2:42 AM
michal abandoned D9256: [web/native] Add threadHashes to threadStore.
Oct 12 2023, 1:43 AM
michal abandoned D9255: [native] Use threadInfo in setClientDBStoreActionType.
Oct 12 2023, 1:43 AM

Oct 11 2023

michal requested review of D9452: [keyserver] Separate webapp and keyserver endpoints.
Oct 11 2023, 9:40 AM
michal published D9451: [web/native/keyserver] Start using new url facts for review.
Oct 11 2023, 9:14 AM
michal published D9396: [keyserver] Update CORS for review.
Oct 11 2023, 9:13 AM
michal requested review of D9398: [nix] Create new url facts.
Oct 11 2023, 7:21 AM
michal requested review of D9397: [web] Make worker and wasm urls relative.
Oct 11 2023, 7:20 AM
michal accepted D9399: [lib][web][native] Refactor actions in upload-actions.js.

(I think you are missing a stack for this diff)

Oct 11 2023, 1:43 AM
michal requested changes to D9371: [lib][web][native] Refactor actions in thread-actions.js pt.2.
Oct 11 2023, 1:38 AM
michal accepted D9370: [lib][web][native] Refactor actions in thread-actions.js pt.1.
Oct 11 2023, 1:32 AM
michal accepted D9369: [lib][web][native] Refactor actions in message-report-actions.js.
Oct 11 2023, 1:21 AM
michal accepted D9368: [lib][web][native] Refactor actions in link-actions.js.
Oct 11 2023, 1:19 AM
michal requested changes to D9356: [lib][web][native] Refactor actions in entry-actions.js.
Oct 11 2023, 1:16 AM
michal accepted D9355: [blob] Delete S3 objects during cleanup.
Oct 11 2023, 1:05 AM

Oct 10 2023

michal accepted D9413: [blob] Add CLI option to run cleanup task.

Makes sense

Oct 10 2023, 8:22 AM
michal added inline comments to D9415: [terraform] Add blob cleanup cron task.
Oct 10 2023, 8:21 AM
michal accepted D9415: [terraform] Add blob cleanup cron task.
Oct 10 2023, 6:41 AM
michal accepted D9414: [blob] Add logs to cleanup task.
Oct 10 2023, 6:37 AM
michal added a comment to D9413: [blob] Add CLI option to run cleanup task.
  1. Don't we need to update the command in the docker file?
  2. This way cargo run -- server --http-port 123 doesn't work, only cargo run -- --http-port 123 server works, which feels weird. We could potentially add global = true to all args but that also has it's problems
Oct 10 2023, 6:36 AM