Page MenuHomePhabricator
Feed Advanced Search

Nov 28 2022

max requested review of D5706: [native] Remove gRPC related C++ code and packages from iOS and Android.
Nov 28 2022, 5:17 AM
max added a comment to D5706: [native] Remove gRPC related C++ code and packages from iOS and Android.

Not clear if that stuff will be handled in Rust or C++ in the future... but at the same time don't want to block this diff on figuring that out. I think it's fine either way – if we leave it in now, we just have to remember to remove it later when we introduce a hypothetical Rust replacement for that code. On the other hand, if we remove it now we'll have to remember that we wrote this already and don't need to write it again

Nov 28 2022, 5:17 AM
max added a comment to D5706: [native] Remove gRPC related C++ code and packages from iOS and Android.
In D5706#170355, @tomek wrote:

GlobalNetworkSingleton shouldn't be deleted https://linear.app/comm/issue/ENG-1334#comment-673e1516.

GlobalNetworkSingleton.cpp - The file will be completely changed, we don't want to store an empty file;

Why is that? Both scheduleOrRun and enableMultithreading methods are still relevant.

Nov 28 2022, 5:14 AM
max added inline comments to D5714: [native] Removing `codegen-grpc` from native.
Nov 28 2022, 4:50 AM
max added a comment to D5714: [native] Removing `codegen-grpc` from native.

Can you please do more research to figure out everything that can be deleted here? A single git grep mark-generated popped up two more places
Delete mark-generated.sh as well

Nov 28 2022, 4:49 AM
max added 1 blocking reviewer(s) for D5714: [native] Removing `codegen-grpc` from native: ashoat.
Nov 28 2022, 4:47 AM
max updated the summary of D5714: [native] Removing `codegen-grpc` from native.
Nov 28 2022, 4:47 AM
max updated the diff for D5714: [native] Removing `codegen-grpc` from native.

Removing of the codegen-grpc from shared and mark-generated.

Nov 28 2022, 4:46 AM
max updated the summary of D5713: [services] Tunnelbroker - Adding the gRPC server keep-alive into the Tonic server.
Nov 28 2022, 4:30 AM
max planned changes to D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase.
Nov 28 2022, 4:28 AM
max planned changes to D5706: [native] Remove gRPC related C++ code and packages from iOS and Android.
Nov 28 2022, 4:28 AM
max planned changes to D5714: [native] Removing `codegen-grpc` from native.
Nov 28 2022, 4:28 AM

Nov 23 2022

max published D5714: [native] Removing `codegen-grpc` from native for review.
Nov 23 2022, 4:31 PM
max updated the diff for D5706: [native] Remove gRPC related C++ code and packages from iOS and Android.

Removing linter spaces from CMake files.

Nov 23 2022, 4:06 PM
max updated the diff for D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase.

Regenerating jsi.

Nov 23 2022, 3:44 PM
max planned changes to D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase.
Nov 23 2022, 1:55 PM
max added inline comments to D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase.
Nov 23 2022, 12:53 PM
max updated the diff for D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase.

Rebasing on master and fixing a nit.

Nov 23 2022, 12:52 PM
max updated the diff for D5596: [services] Tunnelbroker - Removing the old API.

Rebasing on master.

Nov 23 2022, 12:21 PM
max added inline comments to D5596: [services] Tunnelbroker - Removing the old API.
Nov 23 2022, 12:09 PM
max added inline comments to D5706: [native] Remove gRPC related C++ code and packages from iOS and Android.
Nov 23 2022, 11:51 AM
max updated the diff for D5706: [native] Remove gRPC related C++ code and packages from iOS and Android.

Removing Podfile from the keyserver's Docker file.

Nov 23 2022, 11:42 AM
max updated the summary of D5713: [services] Tunnelbroker - Adding the gRPC server keep-alive into the Tonic server.
Nov 23 2022, 9:31 AM
max published D5713: [services] Tunnelbroker - Adding the gRPC server keep-alive into the Tonic server for review.
Nov 23 2022, 9:30 AM
max published D5706: [native] Remove gRPC related C++ code and packages from iOS and Android for review.
Nov 23 2022, 9:05 AM

Nov 22 2022

max planned changes to D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase.
Nov 22 2022, 11:52 AM

Nov 21 2022

max closed D5592: [services] Tunnelbroker - Adding handling of messages to send from the client.
Nov 21 2022, 6:43 AM
max committed rCOMM81bef76c0ef3: [services] Tunnelbroker - Adding handling of messages to send from the client (authored by max).
[services] Tunnelbroker - Adding handling of messages to send from the client
Nov 21 2022, 6:42 AM
max updated the diff for D5592: [services] Tunnelbroker - Adding handling of messages to send from the client.

Rebasing.

Nov 21 2022, 6:29 AM
max closed D5584: [services] Tunnelbroker - Removing processed messages.
Nov 21 2022, 6:19 AM
max committed rCOMMd35c221aae8c: [services] Tunnelbroker - Removing processed messages (authored by max).
[services] Tunnelbroker - Removing processed messages
Nov 21 2022, 6:19 AM
max updated the diff for D5592: [services] Tunnelbroker - Adding handling of messages to send from the client.

Rebasing on parents and master changes.

Nov 21 2022, 6:10 AM
max updated the diff for D5584: [services] Tunnelbroker - Removing processed messages.

Rebasing on parents and master changes.

Nov 21 2022, 6:06 AM
max closed D5580: [services] Tunnelbroker - Adding delivering messages from the deliveryBroker to the messages stream.
Nov 21 2022, 6:04 AM
max committed rCOMM6bcde7aebe0d: [services] Tunnelbroker - Adding delivering messages from the deliveryBroker to… (authored by max).
[services] Tunnelbroker - Adding delivering messages from the deliveryBroker to…
Nov 21 2022, 6:04 AM
max added inline comments to D5584: [services] Tunnelbroker - Removing processed messages.
Nov 21 2022, 6:02 AM
max updated the diff for D5580: [services] Tunnelbroker - Adding delivering messages from the deliveryBroker to the messages stream.

Rebasing.

Nov 21 2022, 5:54 AM
max closed D5540: [services] Tunnelbroker - Adding delivering of undelivered messages from the database to the messages stream.
Nov 21 2022, 5:47 AM
max committed rCOMM18ef8636ed87: [services] Tunnelbroker - Adding delivering of undelivered messages from the… (authored by max).
[services] Tunnelbroker - Adding delivering of undelivered messages from the…
Nov 21 2022, 5:47 AM
max updated the diff for D5580: [services] Tunnelbroker - Adding delivering messages from the deliveryBroker to the messages stream.

Rebasing on parents changes.

Nov 21 2022, 5:43 AM
max updated the diff for D5540: [services] Tunnelbroker - Adding delivering of undelivered messages from the database to the messages stream.

Rebasing on parent changes.

Nov 21 2022, 5:36 AM
max closed D5536: [services] Tunnelbroker - Adding of requesting a new notification token if empty.
Nov 21 2022, 5:31 AM
max committed rCOMM55b63f0d515b: [services] Tunnelbroker - Adding of requesting a new notification token if empty (authored by max).
[services] Tunnelbroker - Adding of requesting a new notification token if empty
Nov 21 2022, 5:31 AM
max closed D5534: [services] Tunnelbroker - Adding of handling of the `NewNotifyToken` message.
Nov 21 2022, 5:27 AM
max committed rCOMM7913dd6e2f18: [services] Tunnelbroker - Adding of handling of the `NewNotifyToken` message (authored by max).
[services] Tunnelbroker - Adding of handling of the `NewNotifyToken` message
Nov 21 2022, 5:27 AM
max updated the diff for D5536: [services] Tunnelbroker - Adding of requesting a new notification token if empty.

Rebasing on parent and master changes.

Nov 21 2022, 5:20 AM
max added inline comments to D5534: [services] Tunnelbroker - Adding of handling of the `NewNotifyToken` message.
Nov 21 2022, 5:16 AM
max updated the diff for D5534: [services] Tunnelbroker - Adding of handling of the `NewNotifyToken` message.

Adding of the internal error to the client in case of the error on updating the token in a database.
Rebasing and fix merge conflicts.

Nov 21 2022, 5:16 AM
max closed D5529: [services] Tunnelbroker - Adding the pinging loop and online status of the client check.
Nov 21 2022, 5:07 AM
max committed rCOMM715c6f9c1fcc: [services] Tunnelbroker - Adding the pinging loop and online status of the… (authored by max).
[services] Tunnelbroker - Adding the pinging loop and online status of the…
Nov 21 2022, 5:07 AM
max updated the diff for D5529: [services] Tunnelbroker - Adding the pinging loop and online status of the client check.

Rebase and resolve merge conflict.

Nov 21 2022, 4:47 AM
max closed D5528: [services] Tunnelbroker - Adding of the client authentication by the `sessionID` from metadata.
Nov 21 2022, 4:43 AM
max committed rCOMM56ac25fc5332: [services] Tunnelbroker - Adding of the client authentication by the… (authored by max).
[services] Tunnelbroker - Adding of the client authentication by the…
Nov 21 2022, 4:43 AM
max updated the diff for D5528: [services] Tunnelbroker - Adding of the client authentication by the `sessionID` from metadata.

Fix merging.

Nov 21 2022, 4:27 AM
max added inline comments to D5528: [services] Tunnelbroker - Adding of the client authentication by the `sessionID` from metadata.
Nov 21 2022, 3:38 AM
max updated the diff for D5528: [services] Tunnelbroker - Adding of the client authentication by the `sessionID` from metadata.

Rebasing on master and parents changes.

Nov 21 2022, 3:37 AM
max closed D5490: [services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation.
Nov 21 2022, 3:15 AM
max committed rCOMM681c33890287: [services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation (authored by max).
[services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation
Nov 21 2022, 3:14 AM
max updated the diff for D5490: [services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation.

Fix merging.

Nov 21 2022, 3:02 AM
max updated the diff for D5490: [services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation.

Resolving merge.

Nov 21 2022, 2:57 AM
max added inline comments to D5490: [services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation.
Nov 21 2022, 2:48 AM
max updated the diff for D5490: [services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation.

Rebasing and fixing merge.

Nov 21 2022, 2:44 AM
max added a comment to D5529: [services] Tunnelbroker - Adding the pinging loop and online status of the client check.

Landing this diff because Jon and Tomek accepted it, and the blocking reviewer (Tomek) was removed accidentally.

Nov 21 2022, 2:34 AM
max updated the diff for D5490: [services] Tunnelbroker - Adding of gRPC `NewSession` wrapper implementation.

Rebasing on the master and parent diffs changes.

Nov 21 2022, 2:31 AM

Nov 19 2022

max closed D5560: [services] Tunnelbroker - Changes to store the `deviceType` as an int instead of string.
Nov 19 2022, 12:41 PM
max committed rCOMM32d6628a1db5: [services] Tunnelbroker - Changes to store the `deviceType` as an int instead… (authored by max).
[services] Tunnelbroker - Changes to store the `deviceType` as an int instead…
Nov 19 2022, 12:41 PM
max added inline comments to D5560: [services] Tunnelbroker - Changes to store the `deviceType` as an int instead of string.
Nov 19 2022, 12:18 PM
max updated the diff for D5560: [services] Tunnelbroker - Changes to store the `deviceType` as an int instead of string.

Fixing enum discriminant number for the KEYSERVER.

Nov 19 2022, 12:17 PM
max closed D5487: [services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation.
Nov 19 2022, 5:52 AM
max committed rCOMM51f80d6bdde0: [services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation (authored by max).
[services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation
Nov 19 2022, 5:52 AM
max updated the diff for D5487: [services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation.

Rebase and merge.

Nov 19 2022, 5:37 AM
max closed D5642: [services] Tunnelbroker - Updating notifications libraries with the config.
Nov 19 2022, 4:59 AM
max committed rCOMMd837bd2529d9: [services] Tunnelbroker - Updating notifications libraries with the config (authored by max).
[services] Tunnelbroker - Updating notifications libraries with the config
Nov 19 2022, 4:59 AM
max added inline comments to D5642: [services] Tunnelbroker - Updating notifications libraries with the config.
Nov 19 2022, 4:30 AM
max updated the diff for D5642: [services] Tunnelbroker - Updating notifications libraries with the config.

Updating on comments.

Nov 19 2022, 4:29 AM
max closed D5641: [services] Tunnelbroker - Notifications config initialization.
Nov 19 2022, 4:13 AM
max committed rCOMMd22cf359cf99: [services] Tunnelbroker - Notifications config initialization (authored by max).
[services] Tunnelbroker - Notifications config initialization
Nov 19 2022, 4:12 AM
max closed D5640: [services] Tunnelbroker - Expose `isSandbox` to the Rust.
Nov 19 2022, 4:11 AM
max committed rCOMMdc959d543158: [services] Tunnelbroker - Expose `isSandbox` to the Rust (authored by max).
[services] Tunnelbroker - Expose `isSandbox` to the Rust
Nov 19 2022, 4:11 AM
max added a comment to D5640: [services] Tunnelbroker - Expose `isSandbox` to the Rust.
In D5640#167758, @jon wrote:

I would like to see configuration done in rust, as argument reading + argument validation is a bit nicer using crates like clap. But as a transition, I think this is fine.

From an architectural standpoint, I don't think the business logic should really be aware of whether it's running in a sandbox. We should be passing it other values (e.g. dev rabbitmq endpoints) which make the environment a sandbox.

Nov 19 2022, 4:09 AM
max closed D5639: [services] Tunnelbroker - Expose config to the Rust.
Nov 19 2022, 4:04 AM
max committed rCOMMf863b716e483: [services] Tunnelbroker - Expose config to the Rust (authored by max).
[services] Tunnelbroker - Expose config to the Rust
Nov 19 2022, 4:04 AM

Nov 18 2022

max added a comment to D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase.

I imagine we'll want to keep something like GRPCStreamHostObject around in the future... we need a JSI class that can replace WebSocket, and since it's JSI it will need to be implemented in C++.

That said, the new GRPCStreamHostObject will need to interface with Rust / tonic behind the scenes.

I'm not sure if there's some way to keep the current GRPCStreamHostObject in the codebase. If we definitely need to remove it now, I guess we can always check git history when we're bringing it back.

Nov 18 2022, 12:04 PM
max published D5684: [services] Tunnelbroker - Removing of `get` and `send` methods from API and native codebase for review.
Nov 18 2022, 11:57 AM
max updated the diff for D5596: [services] Tunnelbroker - Removing the old API.

Fixing native builds.

Nov 18 2022, 10:42 AM
max planned changes to D5596: [services] Tunnelbroker - Removing the old API.
Nov 18 2022, 10:06 AM
max updated the diff for D5596: [services] Tunnelbroker - Removing the old API.

Fixing building error.

Nov 18 2022, 9:05 AM
max updated the diff for D5596: [services] Tunnelbroker - Removing the old API.

Removing of the old structs from the protofile.

Nov 18 2022, 8:34 AM
max published D5596: [services] Tunnelbroker - Removing the old API for review.
Nov 18 2022, 4:38 AM

Nov 17 2022

max updated the diff for D5487: [services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation.

Removing a new line.

Nov 17 2022, 7:51 AM
max added inline comments to D5487: [services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation.
Nov 17 2022, 7:44 AM
max updated the diff for D5487: [services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation.

Changes to use enum for the gRPC status codes.

Nov 17 2022, 7:39 AM
max added inline comments to D5560: [services] Tunnelbroker - Changes to store the `deviceType` as an int instead of string.
Nov 17 2022, 6:19 AM
max updated the diff for D5560: [services] Tunnelbroker - Changes to store the `deviceType` as an int instead of string.

Adding of the DeviceTypes enum. Change to use stoul to convert from the database's integer to device type.

Nov 17 2022, 6:12 AM
max planned changes to D5487: [services] Tunnelbroker - Adding of gRPC `SessionSignature` implementation.
Nov 17 2022, 5:23 AM
max planned changes to D5560: [services] Tunnelbroker - Changes to store the `deviceType` as an int instead of string.
Nov 17 2022, 5:18 AM
max added inline comments to D5642: [services] Tunnelbroker - Updating notifications libraries with the config.
Nov 17 2022, 4:23 AM
max removed a reviewer for D5529: [services] Tunnelbroker - Adding the pinging loop and online status of the client check: tomek.
Nov 17 2022, 3:01 AM
max added 1 blocking reviewer(s) for D5529: [services] Tunnelbroker - Adding the pinging loop and online status of the client check: tomek.
Nov 17 2022, 2:59 AM
max requested review of D5529: [services] Tunnelbroker - Adding the pinging loop and online status of the client check.
Nov 17 2022, 2:57 AM