Page MenuHomePhabricator
Feed Advanced Search

Sep 23 2022

max updated the diff for D5175: [services] Tunnelbroker - Update device online status in `Get` handler.

Resolving merge conflicts.

Sep 23 2022, 1:59 PM
max closed D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.
Sep 23 2022, 1:51 PM
max committed rCOMM5d2497b42072: [services] Tunnelbroker - Add ping implementation to the `Get` handler (authored by max).
[services] Tunnelbroker - Add ping implementation to the `Get` handler
Sep 23 2022, 1:51 PM
max updated the diff for D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.

Resolving merge conflict.

Sep 23 2022, 1:44 PM
max closed D5207: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in `Get` stream request.
Sep 23 2022, 1:13 PM
max committed rCOMM3e557c0336aa: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in… (authored by max).
[services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in…
Sep 23 2022, 1:13 PM
max added inline comments to D5207: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in `Get` stream request.
Sep 23 2022, 1:05 PM
max updated the diff for D5207: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in `Get` stream request.

Adding of request cleaning.
Adding of session re-fetching after token update.
Resolving merge conflict.

Sep 23 2022, 1:04 PM
max added inline comments to D5206: [services] Tunnelbroker - Update handling of the `newNotifyToken` in `Get` stream request.
Sep 23 2022, 12:51 PM
max closed D5206: [services] Tunnelbroker - Update handling of the `newNotifyToken` in `Get` stream request.
Sep 23 2022, 12:49 PM
max committed rCOMM8f4cc18c8948: [services] Tunnelbroker - Update handling of the `newNotifyToken` in `Get`… (authored by max).
[services] Tunnelbroker - Update handling of the `newNotifyToken` in `Get`…
Sep 23 2022, 12:49 PM
max closed D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.
Sep 23 2022, 12:46 PM
max committed rCOMMa206a33acdc2: [services] Tunnelbroker - Updating `Send` handler with using of the Rust… (authored by max).
[services] Tunnelbroker - Updating `Send` handler with using of the Rust…
Sep 23 2022, 12:46 PM
max updated the diff for D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.

Resolving merge conflict.

Sep 23 2022, 12:39 PM
max added inline comments to D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.
Sep 23 2022, 12:25 PM
max updated the diff for D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.

Error message changed, rebased on the latest changes.

Sep 23 2022, 12:25 PM
max closed D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.
Sep 23 2022, 12:21 PM
max committed rCOMM56f5dd41227a: [services] Tunnelbroker - Update FCM library wrapper with return of token… (authored by max).
[services] Tunnelbroker - Update FCM library wrapper with return of token…
Sep 23 2022, 12:21 PM
max added inline comments to D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.
Sep 23 2022, 12:14 PM
max updated the diff for D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.

Merging on recent changes. Changes to inspect first error item instead of iterating.

Sep 23 2022, 12:13 PM
max closed D5149: [services] Tunnelbroker - Update A2 (APNs) library wrapper with return of token-related errors.
Sep 23 2022, 12:03 PM
max committed rCOMM3d80ae630850: [services] Tunnelbroker - Update A2 (APNs) library wrapper with return of token… (authored by max).
[services] Tunnelbroker - Update A2 (APNs) library wrapper with return of token…
Sep 23 2022, 12:03 PM
max updated the diff for D5149: [services] Tunnelbroker - Update A2 (APNs) library wrapper with return of token-related errors.

Merging on the latest updates.

Sep 23 2022, 11:54 AM
max closed D5184: [services] Tunnelbroker - Add test for `updateSessionItemDeviceToken` database method.
Sep 23 2022, 11:49 AM
max committed rCOMM258f3e8b6a95: [services] Tunnelbroker - Add test for `updateSessionItemDeviceToken` database… (authored by max).
[services] Tunnelbroker - Add test for `updateSessionItemDeviceToken` database…
Sep 23 2022, 11:49 AM
max updated the diff for D5184: [services] Tunnelbroker - Add test for `updateSessionItemDeviceToken` database method.

Merged with the recent changes.

Sep 23 2022, 11:38 AM
max closed D5179: [services] Tunnelbroker - Add `updateSessionItemDeviceToken` database method.
Sep 23 2022, 11:30 AM
max committed rCOMMdf8907048ae7: [services] Tunnelbroker - Add `updateSessionItemDeviceToken` database method (authored by max).
[services] Tunnelbroker - Add `updateSessionItemDeviceToken` database method
Sep 23 2022, 11:30 AM
max updated the diff for D5179: [services] Tunnelbroker - Add `updateSessionItemDeviceToken` database method.

Rebasing.

Sep 23 2022, 11:20 AM
max closed D5180: [services] Tunnelbroker - Updating Protobuf with new token request and token update.
Sep 23 2022, 11:18 AM
max committed rCOMMad2dea6d9aec: [services] Tunnelbroker - Updating Protobuf with new token request and token… (authored by max).
[services] Tunnelbroker - Updating Protobuf with new token request and token…
Sep 23 2022, 11:18 AM
max closed D5083: [services] Tunnelbroker - Add payload to APNs message to make it `content-available`.
Sep 23 2022, 11:17 AM
max committed rCOMMa3bdddcb22bf: [services] Tunnelbroker - Add payload to APNs message to make it `content… (authored by max).
[services] Tunnelbroker - Add payload to APNs message to make it `content…
Sep 23 2022, 11:17 AM
max updated the diff for D5083: [services] Tunnelbroker - Add payload to APNs message to make it `content-available`.

Fix merging with the latest changes.

Sep 23 2022, 10:52 AM
max updated the diff for D5083: [services] Tunnelbroker - Add payload to APNs message to make it `content-available`.

Rebasing.

Sep 23 2022, 10:42 AM
max added inline comments to D5083: [services] Tunnelbroker - Add payload to APNs message to make it `content-available`.
Sep 23 2022, 10:41 AM
max closed D5081: [services] Tunnelbroker - Add `topic` to APNs.
Sep 23 2022, 10:35 AM
max committed rCOMMd2aa8f6807a0: [services] Tunnelbroker - Add `topic` to APNs (authored by max).
[services] Tunnelbroker - Add `topic` to APNs
Sep 23 2022, 10:35 AM
max added inline comments to D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.
Sep 23 2022, 8:15 AM
max updated the diff for D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.

Merging nested if's.

Sep 23 2022, 8:11 AM
max added inline comments to D5207: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in `Get` stream request.
Sep 23 2022, 7:38 AM
max updated the diff for D5207: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in `Get` stream request.

Removing return of error if the device token is empty.

Sep 23 2022, 7:37 AM
max added inline comments to D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.
Sep 23 2022, 7:25 AM
max added a comment to D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.
In D5210#153347, @tomek wrote:

Shouldn't we check if device is online?

Sep 23 2022, 7:24 AM
max updated the diff for D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.

Adding of checking for device is online.
Error message text was changed.

Sep 23 2022, 7:24 AM
max requested review of D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.
Sep 23 2022, 7:16 AM
max added a comment to D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.
In D5174#153312, @tomek wrote:

I'm not really sure about the architecture here. Why is ping a part of get method? Shouldn't we start sending pings when a new session is created? Maybe I don't see something or don't understand the requirements, but doing pings in get sounds a bit useless - we're sending other messages there and based on the result can determine if a client is online. Pinging mechanism should work even when there is no other communication.

Maybe I'm missing something. @max could you explain why we're doing this in get? Is there something wrong in starting pinging when a new session is established?

Sep 23 2022, 7:15 AM
max planned changes to D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.
Sep 23 2022, 5:54 AM
max planned changes to D5207: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in `Get` stream request.
Sep 23 2022, 5:53 AM

Sep 22 2022

max added inline comments to D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.
Sep 22 2022, 12:53 PM
max updated the diff for D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.

Removing of the if condition.

Sep 22 2022, 12:47 PM
max added a comment to D5205: [services] Identity - Adding the generated protobuf files.
In D5205#152866, @varun wrote:

ah thanks. do we actually use these files anywhere though?

Sep 22 2022, 8:21 AM
max requested review of D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.
Sep 22 2022, 8:19 AM
max added a comment to D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.

@max, can you rebase on master to see if the CI still fails?

Sep 22 2022, 7:41 AM
max added a comment to D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.

Probably @max didn't rebase on master after @jon's recent changes.

Sep 22 2022, 7:38 AM
max added inline comments to D5081: [services] Tunnelbroker - Add `topic` to APNs.
Sep 22 2022, 7:32 AM
max planned changes to D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.
Sep 22 2022, 7:23 AM
max updated the diff for D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.

Rebasing on a latest master.

Sep 22 2022, 7:23 AM
max added inline comments to D5081: [services] Tunnelbroker - Add `topic` to APNs.
Sep 22 2022, 7:17 AM
max updated the diff for D5081: [services] Tunnelbroker - Add `topic` to APNs.

Making topic not optional.

Sep 22 2022, 7:12 AM
max added inline comments to D5083: [services] Tunnelbroker - Add payload to APNs message to make it `content-available`.
Sep 22 2022, 7:00 AM
max added a comment to D5083: [services] Tunnelbroker - Add payload to APNs message to make it `content-available`.
In D5083#149217, @tomek wrote:

This diff is confusing. You're mentioning that

To wake up the iOS app from the background we should send a message with the payload. In this case, a message will be with the content-available attribute, so we can do background information processing in the app.

But this diff doesn't set this flag anywhere.

Sep 22 2022, 6:59 AM
max updated the diff for D5083: [services] Tunnelbroker - Add payload to APNs message to make it `content-available`.

Changes to change a content-available flag itself depsite adding of the payload_data.

Sep 22 2022, 6:55 AM
max added inline comments to D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.
Sep 22 2022, 6:21 AM
max updated the diff for D5145: [services] Tunnelbroker - Update FCM library wrapper with return of token-related errors.

Adding a comment to explain why we are returning Ok with error types.

Sep 22 2022, 6:16 AM
max added inline comments to D5149: [services] Tunnelbroker - Update A2 (APNs) library wrapper with return of token-related errors.
Sep 22 2022, 6:11 AM
max updated the diff for D5149: [services] Tunnelbroker - Update A2 (APNs) library wrapper with return of token-related errors.

Adding a comment to explain why we are returning Ok with error types.

Sep 22 2022, 6:10 AM
max added inline comments to D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library.
Sep 22 2022, 6:02 AM
max requested review of D5149: [services] Tunnelbroker - Update A2 (APNs) library wrapper with return of token-related errors.
Sep 22 2022, 5:21 AM
max published D5210: [services] Tunnelbroker - Updating `Send` handler with using of the Rust notification library for review.
Sep 22 2022, 5:12 AM

Sep 21 2022

max published D5206: [services] Tunnelbroker - Update handling of the `newNotifyToken` in `Get` stream request for review.
Sep 21 2022, 4:12 PM
max published D5207: [services] Tunnelbroker - Update sending of the `newNotifyTokenRequired` in `Get` stream request for review.
Sep 21 2022, 4:12 PM
max published D5205: [services] Identity - Adding the generated protobuf files for review.
Sep 21 2022, 3:16 PM
max published D5180: [services] Tunnelbroker - Updating Protobuf with new token request and token update for review.
Sep 21 2022, 3:00 PM
max closed D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.
Sep 21 2022, 2:29 PM
max committed rCOMMbf9ad730ef50: [services] Tunnelbroker - Update Protobuf file with the `ping` (authored by max).
[services] Tunnelbroker - Update Protobuf file with the `ping`
Sep 21 2022, 2:29 PM
max added inline comments to D5179: [services] Tunnelbroker - Add `updateSessionItemDeviceToken` database method.
Sep 21 2022, 7:10 AM
max updated the diff for D5179: [services] Tunnelbroker - Add `updateSessionItemDeviceToken` database method.

Changes to return bool result instead of void.

Sep 21 2022, 7:07 AM
max added a comment to D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.

We'll rethink this API in ENG-1072 and ENG-484. Would be good to prioritize ENG-1842 for Tunnelbroker v0.5 as well... I would like us to nail the API down in that version, so we can avoid having to change it while the service is live in the future.

Sep 21 2022, 6:50 AM
max added a comment to D5175: [services] Tunnelbroker - Update device online status in `Get` handler.
In D5175#151890, @jon wrote:

would be nice to have a test case that the online behavior is being correctly updated.

Sep 21 2022, 6:46 AM
max added a comment to D5175: [services] Tunnelbroker - Update device online status in `Get` handler.
In D5175#152307, @tomek wrote:

This is rather strange: for each get request we have an infinite loop of ping - is this the right approach?

Sep 21 2022, 6:41 AM
max added inline comments to D5175: [services] Tunnelbroker - Update device online status in `Get` handler.
Sep 21 2022, 6:40 AM
max updated the diff for D5175: [services] Tunnelbroker - Update device online status in `Get` handler.

Rebasing on the parent changes.

Sep 21 2022, 6:37 AM
max requested review of D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.
Sep 21 2022, 6:17 AM
max planned changes to D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.
Sep 21 2022, 6:03 AM
max updated the diff for D5174: [services] Tunnelbroker - Add ping implementation to the `Get` handler.

Rebased on using the empty instead of bool for the ping.
Using of TryCancel() was removed in a favor of the atomic_bool.
Some small code reordering.

Sep 21 2022, 6:02 AM
max added a comment to D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.
In D5173#152584, @tomek wrote:

Not really sure about good practices here, but for me it sounds strange that we're using the same function for two completely different purposes. Shouldn't we introduce a new function which handles just the ping?

Sep 21 2022, 5:59 AM
max updated the diff for D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.

Change ping type from bool to google.protobuf.Empty.

Sep 21 2022, 2:40 AM
max planned changes to D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.
Sep 21 2022, 2:01 AM

Sep 20 2022

max added inline comments to D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.
Sep 20 2022, 3:36 PM
max updated the diff for D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.

messageResponse changed to responseMessage to follow a convention. Fixing a typo.

Sep 20 2022, 3:34 PM
max planned changes to D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.
Sep 20 2022, 2:53 PM
max updated the diff for D5173: [services] Tunnelbroker - Update Protobuf file with the `ping`.

Fixing native client build.

Sep 20 2022, 2:53 PM
max closed D5182: [services] Tunnelbroker - Add `env_logger` to the Rust library.
Sep 20 2022, 12:24 PM
max committed rCOMMa34c0adcca8c: [services] Tunnelbroker - Add `env_logger` to the Rust library (authored by max).
[services] Tunnelbroker - Add `env_logger` to the Rust library
Sep 20 2022, 12:24 PM
max added a comment to D5164: [services] Tunnelbroker - Update `SessionItem` database entity with the `IsOnline` field.

Tunnelbroker unit tests seem to be failing?

Sep 20 2022, 11:57 AM
max added a comment to D5182: [services] Tunnelbroker - Add `env_logger` to the Rust library.

Adding @ashoat as a blocking reviewer, because this diff touches dependencies.

Sep 20 2022, 10:51 AM
max edited reviewers for D5182: [services] Tunnelbroker - Add `env_logger` to the Rust library, added: ashoat; removed: karol.
Sep 20 2022, 10:50 AM
max closed D5166: [services] Tunnelbroker - Add test for the `updateSessionItemIsOnline` database method.
Sep 20 2022, 6:20 AM
max committed rCOMMf6cc2d93dede: [services] Tunnelbroker - Add test for the `updateSessionItemIsOnline` database… (authored by max).
[services] Tunnelbroker - Add test for the `updateSessionItemIsOnline` database…
Sep 20 2022, 6:20 AM