Page MenuHomePhabricator
Feed Advanced Search

Oct 27 2023

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
michal added a comment to D9355: [blob] Delete S3 objects during cleanup.

If I understand correctly this will try to remove S3 blobs that might not exist (for holders can exist without having a blob uploaded and the logic will run for them too). Is this expected?

Oct 10 2023, 6:24 AM
michal accepted D9352: [blob] Add function to perform cleanup operation.
Oct 10 2023, 6:10 AM
michal accepted D9351: [blob] Implement cleanup helper functions.

LGTM, potentially we could add these optimisations:

  1. Return impl Iterator<> instead of Vec
  2. Return &'self str in blobs_to_find_holders

but I haven't analysed it very thoroughly so there might be lifetime/ergonomics issues

Oct 10 2023, 6:10 AM
michal accepted D9350: [blob] Add struct for representing unchecked blobs.
Oct 10 2023, 6:09 AM
michal accepted D9349: [blob] Add db helpers for cleanup.
Oct 10 2023, 2:43 AM
michal accepted D9348: [services-lib] Add function to batch get items.
Oct 10 2023, 2:33 AM

Oct 9 2023

michal updated the diff for D9329: [lib] Remove convertClientToServerInfos from spec.

Rebase

Oct 9 2023, 7:26 AM
michal updated the diff for D9328: [lib] Use new hashing functions in state check.

Rebase

Oct 9 2023, 7:25 AM
michal updated the diff for D9327: [lib] Add hash functions to state sync spec.

Rebase

Oct 9 2023, 7:24 AM
michal added inline comments to D9267: [keyserver] Add new hashing to keyserver state check.
Oct 9 2023, 7:24 AM
michal updated the diff for D9267: [keyserver] Add new hashing to keyserver state check.

Create a new function in spec that combines fetch and getServerInfosHash so flow doesn't complain

Oct 9 2023, 7:23 AM
michal updated the diff for D9265: [lib/web/native] Add IntegrityStore.

Fixed an issue where the integrity handler would run before the threads were fetched from db.

Oct 9 2023, 7:22 AM

Oct 5 2023

michal requested review of D9267: [keyserver] Add new hashing to keyserver state check.
Oct 5 2023, 6:05 AM

Oct 4 2023

michal accepted D9353: [lib] Refactor actions in activity-actions.js.
Oct 4 2023, 7:04 AM
michal accepted D9240: [lib][web][native] Refactor actions in message-actions.js.
Oct 4 2023, 7:00 AM
michal accepted D9225: [lib] Create function for extracing keyserver id from object id.
Oct 4 2023, 6:54 AM
michal accepted D9217: [lib] Add logic for handling faonut actions.
Oct 4 2023, 6:52 AM
michal added inline comments to D9265: [lib/web/native] Add IntegrityStore.
Oct 4 2023, 6:45 AM
michal updated the diff for D9265: [lib/web/native] Add IntegrityStore.

Change dependencies arrays, fix interval, clearTimeout as effect cleanup, fix array type.

Oct 4 2023, 6:45 AM
michal updated the diff for D9329: [lib] Remove convertClientToServerInfos from spec.

Rebase

Oct 4 2023, 6:27 AM
michal updated the diff for D9328: [lib] Use new hashing functions in state check.

Comments

Oct 4 2023, 6:27 AM
michal added inline comments to D9327: [lib] Add hash functions to state sync spec.
Oct 4 2023, 6:02 AM
michal updated the diff for D9327: [lib] Add hash functions to state sync spec.

Update to new threadHashingStatus

Oct 4 2023, 6:02 AM
michal added inline comments to D9267: [keyserver] Add new hashing to keyserver state check.
Oct 4 2023, 4:40 AM
michal added inline comments to D9265: [lib/web/native] Add IntegrityStore.
Oct 4 2023, 4:31 AM
michal updated the diff for D9265: [lib/web/native] Add IntegrityStore.

Added comments and migrations. Extracted array chunking logic to utils. Fix issues with new action and types.

Oct 4 2023, 4:31 AM
michal added a comment to D9145: [web] Remove intial redux state from website responders.

We've talked about this, but heads-up that in terms of sequencing, I'm thinking of that one as a sort of a "follow-up" to the multi-keyserver launch... we could launch with the expectation that users input keyserver URLs manually.

Oct 4 2023, 3:08 AM

Oct 3 2023

michal added inline comments to D9145: [web] Remove intial redux state from website responders.
Oct 3 2023, 1:43 AM

Oct 2 2023

michal accepted D9282: [reports-service] Obtain service-to-service token for anonymous requests.
Oct 2 2023, 6:44 AM

Sep 29 2023

michal planned changes to D9291: [keyserver] Stop accepting http cookies.

Setting as "plan changes" so it's not landed by mistake

Sep 29 2023, 7:06 AM
michal requested review of D9329: [lib] Remove convertClientToServerInfos from spec.
Sep 29 2023, 5:55 AM
michal requested review of D9328: [lib] Use new hashing functions in state check.
Sep 29 2023, 5:53 AM
michal requested review of D9327: [lib] Add hash functions to state sync spec.
Sep 29 2023, 5:38 AM
michal added inline comments to D9267: [keyserver] Add new hashing to keyserver state check.
Sep 29 2023, 5:24 AM
michal updated the diff for D9267: [keyserver] Add new hashing to keyserver state check.

Rebase

Sep 29 2023, 3:34 AM
michal updated the summary of D9267: [keyserver] Add new hashing to keyserver state check.
Sep 29 2023, 3:33 AM
michal accepted D9317: [Tunnelbroker] close RabbitMQ queue when client disconnects.

This should probably be error! instead of debug! right?

Sep 29 2023, 2:36 AM
michal added inline comments to D9316: [Tunnelbroker] always persist WebSocket messages in database.
Sep 29 2023, 2:26 AM
michal accepted D9314: [Tunnelbroker] add WebSocket version of MessageToDevice.
Sep 29 2023, 2:14 AM