Page MenuHomePhabricator
Feed Advanced Search

May 5 2023

michal updated the diff for D7711: [keyserver] Introduce validateOutput function.

Use string template

May 5 2023, 3:25 AM

May 4 2023

michal requested review of D7714: [keyserver] Introduce input id conversion.
May 4 2023, 8:40 AM
michal requested review of D7713: [keyserver] Mark ids in input validators.
May 4 2023, 8:12 AM
michal requested review of D7712: [keyserver] Start validating responders output.
May 4 2023, 8:08 AM
michal updated the diff for D7685: [keyserver] Introduce responder validators.

Fix deltaEntryInfosResultValidator

May 4 2023, 7:15 AM
michal added inline comments to D7656: [lib] Introduce server update info validators.
May 4 2023, 7:08 AM
michal updated the diff for D7656: [lib] Introduce server update info validators.

Use constants

May 4 2023, 7:08 AM
michal added inline comments to D7711: [keyserver] Introduce validateOutput function.
May 4 2023, 5:31 AM
michal requested review of D7711: [keyserver] Introduce validateOutput function.
May 4 2023, 4:13 AM
michal added inline comments to D7710: [keyserver] Introduce report, message and thread responder validators.
May 4 2023, 4:05 AM
michal requested review of D7710: [keyserver] Introduce report, message and thread responder validators.
May 4 2023, 4:01 AM
michal requested review of D7709: [keyserver] fetchMediaForThread should return string ids.
May 4 2023, 3:58 AM
michal added inline comments to D7655: [lib] Add validator to the message spec.
May 4 2023, 3:51 AM
michal updated the diff for D7685: [keyserver] Introduce responder validators.

Rebase

May 4 2023, 3:07 AM
michal updated the diff for D7656: [lib] Introduce server update info validators.

Rebase

May 4 2023, 3:07 AM
michal updated the diff for D7572: [lib] Introduce user responder validators.

Rebase

May 4 2023, 3:06 AM
michal updated the diff for D7571: [lib] Introduce raw entry info validators.

Rebase

May 4 2023, 3:06 AM
michal updated the diff for D7569: [lib] Introduce raw thread info validators.

Rebase

May 4 2023, 3:06 AM
michal updated the diff for D7655: [lib] Add validator to the message spec.

Rebase

May 4 2023, 3:05 AM
michal updated the diff for D7567: [lib] Introduce raw message info validators.

Rebase

May 4 2023, 3:05 AM
michal updated the diff for D7566: [lib] Introduce media validators.

Rebase

May 4 2023, 3:05 AM
michal updated the diff for D7565: [lib] Reorder types in `media-types.js`.

Rebase

May 4 2023, 3:04 AM
michal updated the diff for D7564: [lib] Move `messageTypes` enum to a separate file.

Rebase

May 4 2023, 3:04 AM
michal updated the diff for D7488: [keyserver] Introduce convertObject function.

Rebase

May 4 2023, 3:04 AM
michal updated the diff for D7487: [keyserver] Add password sanitization tests.

Rebase

May 4 2023, 3:03 AM
michal updated the diff for D7467: [keyserver/lib] Improve `tcomb` types.

Rebase

May 4 2023, 3:02 AM

Apr 29 2023

michal requested review of D7685: [keyserver] Introduce responder validators.
Apr 29 2023, 4:04 AM

Apr 28 2023

michal accepted D7681: [web] Update to react-timeago@7.1.0.
Apr 28 2023, 6:40 AM
michal updated the diff for D7572: [lib] Introduce user responder validators.

Add subscriptionUpdateResponseValidator because I missed it, and move logOutResponseValidator higher because it will be used earlier (must be declared before it can be used).

Apr 28 2023, 6:02 AM
michal requested changes to D7675: [desktop] Have `preinstall` fail silently if not on Windows.

I've just tried this code and during yarn cleaninstall I'm getting an error with node-gyp rebuild (which makes sense because it tries to use things from nuget dependencies which aren't downloaded on macOS). @atul are you also getting this error?

Apr 28 2023, 4:13 AM

Apr 27 2023

michal requested review of D7656: [lib] Introduce server update info validators.
Apr 27 2023, 6:56 AM
michal requested review of D7655: [lib] Add validator to the message spec.
Apr 27 2023, 6:46 AM
michal updated the diff for D7567: [lib] Introduce raw message info validators.

Updated test descriptions. Added validator to message spec in another diff.

Apr 27 2023, 6:27 AM
michal added inline comments to D7572: [lib] Introduce user responder validators.
Apr 27 2023, 6:25 AM
michal updated the diff for D7572: [lib] Introduce user responder validators.

Fixed test naming and long lines. Added flow types in the inline comments.

Apr 27 2023, 6:25 AM
michal added a comment to D7569: [lib] Introduce raw thread info validators.

Could we add a test where avatar is not defined (RawThreadInfo doesn't have this field at all, not just it is set to null or undefined).

The existing thread example already doesn't have avatar defined.

Apr 27 2023, 6:17 AM
michal updated the diff for D7488: [keyserver] Introduce convertObject function.

Add a comment

Apr 27 2023, 4:14 AM

Apr 25 2023

michal added inline comments to D7488: [keyserver] Introduce convertObject function.
Apr 25 2023, 7:52 AM
michal updated the diff for D7488: [keyserver] Introduce convertObject function.

Introduce changes from the diff in the gist

Apr 25 2023, 7:52 AM
michal updated the diff for D7467: [keyserver/lib] Improve `tcomb` types.

Fix formatting

Apr 25 2023, 7:48 AM

Apr 21 2023

michal requested review of D7572: [lib] Introduce user responder validators.
Apr 21 2023, 8:35 AM
michal requested review of D7571: [lib] Introduce raw entry info validators.
Apr 21 2023, 8:33 AM
michal requested review of D7569: [lib] Introduce raw thread info validators.
Apr 21 2023, 8:31 AM
michal requested review of D7567: [lib] Introduce raw message info validators.
Apr 21 2023, 8:25 AM
michal requested review of D7566: [lib] Introduce media validators.
Apr 21 2023, 8:21 AM
michal requested review of D7565: [lib] Reorder types in `media-types.js`.
Apr 21 2023, 8:18 AM
michal requested review of D7564: [lib] Move `messageTypes` enum to a separate file.
Apr 21 2023, 8:15 AM
michal updated the diff for D7467: [keyserver/lib] Improve `tcomb` types.

Thanks, I should've caught these! Fixed the added type, removed any usage.

Apr 21 2023, 7:54 AM
michal added inline comments to D7488: [keyserver] Introduce convertObject function.
Apr 21 2023, 3:48 AM
michal updated the diff for D7488: [keyserver] Introduce convertObject function.

Changed mixed to generics, removed lodash _map. Tried to minimize usages of any by using a assertWithValidator function that's a no-op but changes the the data's type after validating it.

Apr 21 2023, 3:48 AM
michal updated the diff for D7467: [keyserver/lib] Improve `tcomb` types.

Improve typings for entry query validators

Apr 21 2023, 3:31 AM

Apr 20 2023

michal accepted D7446: [native] Discard alert when navigating in edit mode.
Apr 20 2023, 5:19 AM
michal accepted D7484: [native] Scrolling to the edited message.

Looks good to me

Apr 20 2023, 5:18 AM

Apr 18 2023

michal requested review of D7488: [keyserver] Introduce convertObject function.
Apr 18 2023, 8:51 AM
michal requested review of D7487: [keyserver] Add password sanitization tests.
Apr 18 2023, 8:31 AM

Apr 17 2023

michal requested review of D7467: [keyserver/lib] Improve `tcomb` types.
Apr 17 2023, 7:30 AM
michal added inline comments to D7446: [native] Discard alert when navigating in edit mode.
Apr 17 2023, 2:24 AM
michal accepted D7415: [lib] Change definition of useEditMessage function.
Apr 17 2023, 2:16 AM

Apr 12 2023

michal added inline comments to D6979: [web] Add a selector for getting the number of unnreads in the selected community.
Apr 12 2023, 5:40 AM
michal accepted D6979: [web] Add a selector for getting the number of unnreads in the selected community.
Apr 12 2023, 5:26 AM
michal accepted D6978: [web] Add a badge on the Inbox button.

Looks good!

Apr 12 2023, 5:25 AM

Apr 11 2023

michal accepted D6973: [web] Extract from drawer item code that can be reused in community items.

Looks good to me

Apr 11 2023, 3:12 AM
michal updated the diff for D7329: [web] Check if notifications are supported.

Fixed, thanks @inka

Apr 11 2023, 2:57 AM
michal updated the diff for D7328: [web] Only update badge when connected.

Init prevConnection to undefined

Apr 11 2023, 2:54 AM
michal updated the diff for D7284: [keyserver] Send WNS notifications.

Rebase

Apr 11 2023, 2:48 AM
michal updated the diff for D7326: [desktop] Type windows notifs module.

Rebase

Apr 11 2023, 2:22 AM
michal updated the diff for D7287: [desktop] Handle windows notifications.

Rebase

Apr 11 2023, 2:21 AM
michal updated the diff for D7267: [keyserver] Get WNS authorization tokens.

Rebase

Apr 11 2023, 2:13 AM
michal updated the diff for D7287: [desktop] Handle windows notifications.

Fill in the objectID for getting the WNS channel (device_token)

Apr 11 2023, 1:55 AM

Apr 7 2023

michal added inline comments to D7218: [desktop] Modify the generated native windows notifs module.
Apr 7 2023, 11:01 AM
michal added inline comments to D7326: [desktop] Type windows notifs module.
Apr 7 2023, 7:07 AM
michal updated the diff for D7326: [desktop] Type windows notifs module.

Updated the payload type

Apr 7 2023, 7:02 AM
michal updated the diff for D7287: [desktop] Handle windows notifications.

Updated the payload conversion to string. I've finally figured out the event.payload object. It's an array wrapper created by NodeRT. It has only length property and {[number]: number} index accessor (but it's not an array).

Apr 7 2023, 7:00 AM
michal added inline comments to D7218: [desktop] Modify the generated native windows notifs module.
Apr 7 2023, 6:55 AM
michal updated the diff for D7218: [desktop] Modify the generated native windows notifs module.
  • instead of implicitly failing the preinstall script on macOS/linux because there's no nuget installed, added a bash script that explicitly skips the package install on non-Windows platforms
  • changed one of the paths in the bindings.gyp. For some reason the old one was working when I was building the notif package by itself but stopped working when I was building the whole monorepo. The new one is already used in some PRs having a similar problem of updating to a new Visual Studio version so it's probably better anyway (although I'm not sure what the difference is...)
Apr 7 2023, 6:28 AM

Apr 6 2023

michal requested review of D7329: [web] Check if notifications are supported.
Apr 6 2023, 8:19 AM
michal requested review of D7328: [web] Only update badge when connected.
Apr 6 2023, 7:54 AM
michal requested review of D7327: [web] Extract useBadgeHandler.
Apr 6 2023, 7:53 AM
michal requested review of D7326: [desktop] Type windows notifs module.
Apr 6 2023, 6:33 AM
michal requested review of D7287: [desktop] Handle windows notifications.
Apr 6 2023, 6:18 AM
michal added inline comments to D7218: [desktop] Modify the generated native windows notifs module.
Apr 6 2023, 6:14 AM
michal updated the diff for D7218: [desktop] Modify the generated native windows notifs module.

Remove comment

Apr 6 2023, 2:26 AM
michal updated the diff for D7284: [keyserver] Send WNS notifications.

Renamed

Apr 6 2023, 2:25 AM
michal updated the diff for D7287: [desktop] Handle windows notifications.

Renamed to @commapp/windowspush

Apr 6 2023, 2:22 AM
michal updated the diff for D7218: [desktop] Modify the generated native windows notifs module.

Made bindings.gyp more general, renamed to @comapp/windowspush.

Apr 6 2023, 2:20 AM

Apr 5 2023

michal added inline comments to D7287: [desktop] Handle windows notifications.
Apr 5 2023, 9:29 AM
michal updated the diff for D7287: [desktop] Handle windows notifications.

Correctly handle all strings. Tested by sending emojis and non-ascii letters.

Apr 5 2023, 9:28 AM
michal updated the diff for D7286: [desktop] Extract showNewNotification function.

Added types

Apr 5 2023, 9:25 AM
michal added inline comments to D7284: [keyserver] Send WNS notifications.
Apr 5 2023, 9:25 AM
michal updated the diff for D7284: [keyserver] Send WNS notifications.

Improved error handling and added checking the domain of the url.

Apr 5 2023, 9:25 AM
michal added inline comments to D7267: [keyserver] Get WNS authorization tokens.
Apr 5 2023, 9:17 AM
michal updated the diff for D7267: [keyserver] Get WNS authorization tokens.

Extended the duration of the token to 10s so we have more time to act. All of the tokens I had gotten from WNS previously, had 1h expiry time so it's still a small portion of the expiry time. Added better error explanation.

Apr 5 2023, 9:17 AM

Apr 3 2023

michal requested review of D7287: [desktop] Handle windows notifications.
Apr 3 2023, 5:13 AM
michal requested review of D7286: [desktop] Extract showNewNotification function.
Apr 3 2023, 5:09 AM
michal requested review of D7284: [keyserver] Send WNS notifications.
Apr 3 2023, 4:15 AM
michal added reviewers for D7267: [keyserver] Get WNS authorization tokens: kamil, tomek.
Apr 3 2023, 3:45 AM
michal requested review of D7282: [keyserver] Add node-fetch package.
Apr 3 2023, 3:45 AM
michal updated the summary of D7267: [keyserver] Get WNS authorization tokens.
Apr 3 2023, 3:39 AM
michal updated the diff for D7267: [keyserver] Get WNS authorization tokens.

Update to node-fetch

Apr 3 2023, 3:34 AM

Mar 31 2023

michal requested review of D7267: [keyserver] Get WNS authorization tokens.
Mar 31 2023, 5:36 AM