Page MenuHomePhabricator
Feed Advanced Search

Aug 28 2023

michal requested review of D8962: [backup] Update `BlobItem`.
Aug 28 2023, 1:15 AM
michal accepted D8959: [blob-service] Remove gRPC service, change default port.
Aug 28 2023, 12:44 AM
michal accepted D8951: [reports-service] Add authenticated service.
Aug 28 2023, 12:43 AM
michal accepted D8961: [blob-service] Minor AWS cleanups.
Aug 28 2023, 12:41 AM
michal accepted D8937: [report-service] Add report types structs.

Not a fan of ReportInput::time handling with serde, but I don't think we can do much better...

Aug 28 2023, 12:38 AM
michal accepted D8895: [services-lib] Add BatchWriteItem utility function.

LGTM

Aug 28 2023, 12:11 AM

Aug 25 2023

michal requested review of D8954: [backup] Update dynamodb.
Aug 25 2023, 10:11 AM
michal requested review of D8953: [backup] Split database module.
Aug 25 2023, 10:07 AM
michal requested review of D8952: [backup] Introduce backup error.
Aug 25 2023, 10:07 AM
michal added a comment to D8895: [services-lib] Add BatchWriteItem utility function.

Could we generalise this so it can also DeleteRequest?

Aug 25 2023, 7:57 AM
michal updated the diff for D8911: [services-lib] Add authorization http middleware.

Rebase, update lockfiles

Aug 25 2023, 6:22 AM
michal updated the diff for D8892: [services] Extract multipart handling logic to lib.

Regenerate backup lockfile because of issues with resolving deps. Also updated lockfile of feature flags from anyhow in lib.

Aug 25 2023, 6:20 AM
michal updated the diff for D8911: [services-lib] Add authorization http middleware.

Add logging on auth errors

Aug 25 2023, 6:07 AM
michal updated the diff for D8892: [services] Extract multipart handling logic to lib.

Rebase

Aug 25 2023, 6:00 AM
michal accepted D8936: [backup] Extract constants to lib.
Aug 25 2023, 12:33 AM

Aug 23 2023

michal added inline comments to D8911: [services-lib] Add authorization http middleware.
Aug 23 2023, 10:52 PM
michal added inline comments to D8911: [services-lib] Add authorization http middleware.
Aug 23 2023, 10:50 PM
michal updated the diff for D8911: [services-lib] Add authorization http middleware.

Respond to review

Aug 23 2023, 10:49 PM
michal updated the diff for D8882: [backup] Basic http server.

Update http port to the previous gRPC port, similar to the planned blob service changes

Aug 23 2023, 10:49 PM
michal accepted D8928: [services-lib][blob-client] Revoke holder after upload failure.
Aug 23 2023, 10:48 PM
michal accepted D8932: [keyserver][lib][native][web] Remove connection field from redux.
Aug 23 2023, 10:46 PM
michal accepted D8931: [lib][native][web] Use connection from keyserverStore.

Thank you for all links for the invariants!

Aug 23 2023, 10:45 PM
michal accepted D8924: [keyserver][lib][native] Add connection to keyserverStore.
Aug 23 2023, 10:45 PM
michal accepted D8922: [kesyerver] Remove sessionID from website responders top level.
Aug 23 2023, 6:20 AM
michal added inline comments to D8911: [services-lib] Add authorization http middleware.
Aug 23 2023, 12:23 AM

Aug 22 2023

michal requested review of D8911: [services-lib] Add authorization http middleware.
Aug 22 2023, 7:04 AM
michal accepted D8894: [services-lib] Add DDB batch operation helpers.

LGTM, depending on how it is used / if there are going to be non-const-creatable fields in the config in the future, we could consider adding a const default:

impl ExponentialBackoffConfig {
  const DEFAULT: Self = Self {
        max_attempts: 8,
        base_duration: std::time::Duration::from_millis(25),
        retry_on_provisioned_capacity_exceeded: true,
      };
}
impl Default for ExponentialBackoffConfig {
    fn default() -> Self {
      Self::DEFAULT
    }
  }

so e.g. a service can just create a global const instead of passing the config in some other way.

Aug 22 2023, 3:11 AM
michal updated the diff for D8880: [keyserver] Convert urlInfo in website responders.

Add qrCode

Aug 22 2023, 2:55 AM
michal updated the diff for D8883: [backup] Use blob client.

Revert the blob client port change

Aug 22 2023, 2:50 AM
michal updated the diff for D8889: [comm-services-lib] Fix doctests.

Cool, changed approach to just ignoring the examples

Aug 22 2023, 2:48 AM
michal added inline comments to D8882: [backup] Basic http server.
Aug 22 2023, 2:46 AM
michal accepted D8885: [client-backup] implement Rust function for computing `BackupKey`.

LGTM on the rust side

Aug 22 2023, 2:37 AM
michal added inline comments to D8883: [backup] Use blob client.
Aug 22 2023, 1:11 AM
michal added inline comments to D8882: [backup] Basic http server.
Aug 22 2023, 12:58 AM

Aug 21 2023

michal requested review of D8892: [services] Extract multipart handling logic to lib.
Aug 21 2023, 10:52 AM
michal requested review of D8889: [comm-services-lib] Fix doctests.
Aug 21 2023, 10:06 AM
michal updated the diff for D8883: [backup] Use blob client.

Rebase

Aug 21 2023, 9:41 AM
michal updated the diff for D8882: [backup] Basic http server.

Rebase

Aug 21 2023, 9:40 AM
michal updated the diff for D8881: [services] Extract cors config to services-lib.

Rebase

Aug 21 2023, 9:40 AM
michal updated the diff for D8869: [backup] Standardize localstack config.

Rebase

Aug 21 2023, 9:40 AM
michal updated the diff for D8868: [backup] Update depracted parsing functions.

Rebase

Aug 21 2023, 9:40 AM
michal updated the diff for D8796: [backup] Remove gRPC from backup.

Rebase

Aug 21 2023, 9:39 AM
michal updated the diff for D8867: [blob] Bump async_stream.

Rebase

Aug 21 2023, 9:39 AM
michal updated the diff for D8880: [keyserver] Convert urlInfo in website responders.

Removed await. I think I just experimented with a few different solutions and this got left behind.

Aug 21 2023, 9:37 AM
michal updated the test plan for D8880: [keyserver] Convert urlInfo in website responders.
Aug 21 2023, 8:28 AM
michal updated the diff for D8880: [keyserver] Convert urlInfo in website responders.

Rebase

Aug 21 2023, 8:26 AM
michal updated the diff for D8879: [lib] Move conversion function out of validation utils.

Fix

Aug 21 2023, 8:25 AM
michal updated the diff for D8879: [lib] Move conversion function out of validation utils.

Remove unrelated changes

Aug 21 2023, 8:22 AM
michal planned changes to D8880: [keyserver] Convert urlInfo in website responders.
Aug 21 2023, 8:01 AM
michal planned changes to D8879: [lib] Move conversion function out of validation utils.
Aug 21 2023, 8:00 AM
michal updated the test plan for D8883: [backup] Use blob client.
Aug 21 2023, 5:56 AM
michal requested review of D8883: [backup] Use blob client.
Aug 21 2023, 2:41 AM
michal requested review of D8882: [backup] Basic http server.
Aug 21 2023, 2:31 AM
michal requested review of D8881: [services] Extract cors config to services-lib.
Aug 21 2023, 2:25 AM
michal requested review of D8880: [keyserver] Convert urlInfo in website responders.
Aug 21 2023, 2:14 AM
michal requested review of D8879: [lib] Move conversion function out of validation utils.
Aug 21 2023, 2:05 AM
michal accepted D8865: [reports-service] Add basic config.

I agree with @jon, this was slightly confusing to me at the beginning when I started working on the services.

Aug 21 2023, 12:51 AM

Aug 18 2023

michal accepted D8850: [blob][feature-flags] Replace deprecated methods.
Aug 18 2023, 9:35 AM
michal requested review of D8869: [backup] Standardize localstack config.
Aug 18 2023, 8:13 AM
michal requested review of D8868: [backup] Update depracted parsing functions.
Aug 18 2023, 8:11 AM
michal requested review of D8867: [blob] Bump async_stream.
Aug 18 2023, 8:02 AM
michal published D8796: [backup] Remove gRPC from backup for review.
Aug 18 2023, 7:52 AM
michal requested review of D8866: [web] Fix nav info validator.
Aug 18 2023, 6:29 AM

Aug 17 2023

michal requested review of D8848: [web/desktop] Make media overlay non-draggable.
Aug 17 2023, 7:00 AM
michal added inline comments to D8835: [blob-service] Standardize localstack config.
Aug 17 2023, 2:48 AM

Aug 16 2023

michal added inline comments to D8835: [blob-service] Standardize localstack config.
Aug 16 2023, 8:59 AM
michal accepted D8815: [keyserver][lib][native][web] Remove urlPrefix from BaseAppState.
Aug 16 2023, 1:50 AM
michal accepted D8814: [lib][native][web] Use urlPrefix from keysererStore.
Aug 16 2023, 1:50 AM
michal accepted D8813: [keyserver][lib][native] Add urlPrefix to keyserverStore.
Aug 16 2023, 1:50 AM
michal accepted D8728: [keyserver][lib][native][web] Refactor currentAsOf field in messageStore.

Accepting although I wonder how hard it would be to put this into the keyserverStore (during backup creation we want to save all keyserver-related information and now instead of having it all in one places it's split between two fields in redux)

Aug 16 2023, 1:35 AM
michal accepted D8719: [keyserver][lib][web][native] Move updatesCurrentAsOf field to keyserverSotre.
Aug 16 2023, 1:28 AM
michal accepted D8812: [lib] Fix comment in kesyerver-types.
Aug 16 2023, 1:22 AM

Aug 11 2023

michal accepted D8780: [services-lib] Add methods to manage blob holders.
Aug 11 2023, 4:35 AM
michal added inline comments to D8780: [services-lib] Add methods to manage blob holders.
Aug 11 2023, 4:35 AM
michal accepted D8779: [services-lib] Add method to upload blobs.
Aug 11 2023, 4:35 AM
michal accepted D8778: [services-lib] Add method to download blobs.
Aug 11 2023, 4:35 AM
michal accepted D8791: [services-lib] Add BlobInfo utility type.
Aug 11 2023, 4:14 AM
michal accepted D8790: [services-lib] Implement DDB Attr conversions, deprecate old methods.

Potential ideas: (both of them are kinda iffy so up to you!)

  • Merge datetime and timestamp parsing logic and use the attribute type (String/Number) to differentiate between the two
  • We could do something like this for numbers (the dummy trait is required so there are conflicting implementations for FromStr types)
Aug 11 2023, 4:14 AM
michal accepted D8789: [services-lib] Add DDB Attribute conversion traits.
Aug 11 2023, 4:13 AM
michal accepted D8787: [services-lib] Make DB attribute names non-static.
Aug 11 2023, 4:12 AM
michal accepted D8777: [services-lib] Introduce Blob Client.

This will be very useful! I would prefer to have multiple packages in comm-services-lib/ (comm-services-lib/database-utils/, comm-services-lib/blob-client), but I don't really have strong argument against using features for this.

Aug 11 2023, 4:11 AM

Aug 7 2023

michal requested review of D8747: [lib] Fix typo.
Aug 7 2023, 6:57 AM
michal requested review of D8745: [lib] Update id constants.
Aug 7 2023, 4:07 AM
michal requested review of D8744: [lib] Handle new id schema in thread regexes.
Aug 7 2023, 2:57 AM

Aug 4 2023

michal accepted D8704: [keyserver, web] Remove baseHref field.
Aug 4 2023, 6:51 AM
michal updated the test plan for D8706: [keyserver] Convert ids in rescinds.
Aug 4 2023, 5:33 AM
michal updated the diff for D8706: [keyserver] Convert ids in rescinds.

Fixed the readonly types. Amended the test plan for versions with and without conversion, and for rescinds where the notification was send to an older version/ from the older version of the keyserver.

Aug 4 2023, 5:30 AM
michal updated the test plan for D8720: [keyserver] Include stateVersion when converting notifications.
Aug 4 2023, 5:19 AM
michal updated the diff for D8720: [keyserver] Include stateVersion when converting notifications.

Added util functions for encoding the version key. Amended the test plan.

Aug 4 2023, 5:18 AM
michal requested review of D8727: [web] Fix small thread list scrolling issue.
Aug 4 2023, 2:08 AM

Aug 3 2023

michal requested review of D8720: [keyserver] Include stateVersion when converting notifications.
Aug 3 2023, 11:46 AM
michal updated the summary of D8706: [keyserver] Convert ids in rescinds.
Aug 3 2023, 7:49 AM
michal updated the diff for D8706: [keyserver] Convert ids in rescinds.

Changed approach, more explanation in the updated description. Also updated the test plan.

Aug 3 2023, 7:46 AM

Aug 2 2023

michal requested review of D8706: [keyserver] Convert ids in rescinds.
Aug 2 2023, 10:17 AM
michal requested review of D8705: [keyserver] Update type for platform in ParsedDelivery.
Aug 2 2023, 9:37 AM
michal accepted D8646: [lib][web][native] Remove sessionID redux field.
Aug 2 2023, 2:00 AM

Aug 1 2023

michal requested review of D8699: [keyserver] Stop sending incorrect macOS rescinds.
Aug 1 2023, 9:56 AM
michal updated the diff for D8661: [keyserver] Move validators to endpoint array.

Rebase

Aug 1 2023, 9:55 AM
michal added 1 blocking reviewer(s) for D8573: [desktop] Add context menu: inka.

Checked the showCopyLink. showLearnSpelling is enabled by default but spellcheck in browser window is off by default so it doesn't show up.

Aug 1 2023, 9:47 AM
michal updated the diff for D8573: [desktop] Add context menu.

Added showSaveImageAs and showSaveVideoAs.

Aug 1 2023, 9:47 AM