Page MenuHomePhabricator
Feed Advanced Search

Mar 24 2023

tomek accepted D6977: [web] Remove active drawer item highlight.
Mar 24 2023, 11:34 AM
tomek added inline comments to D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 24 2023, 11:31 AM
tomek accepted D6976: [web] Use new handlers in communnity drawer.
Mar 24 2023, 11:27 AM
tomek accepted D6974: [web] Add handlers for drawer community items.
Mar 24 2023, 11:22 AM
tomek added inline comments to D6973: [web] Extract from drawer item code that can be reused in community items.
Mar 24 2023, 11:03 AM
tomek added inline comments to D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.
Mar 24 2023, 11:00 AM
tomek accepted D6930: [keyserver/lib] Set up responders, endpoints, and related functions to toggle a message pin.
Mar 24 2023, 9:29 AM
tomek accepted D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 24 2023, 9:19 AM
tomek added a comment to D6924: [keyserver] Introduce columns in messages table to support pinned messages.

Makes sense! Thanks for clarifying and answering the questions!

Mar 24 2023, 9:09 AM
tomek accepted D7112: [keyserver/lib] Set up responders, endpoints, and related functions to fetch all pinned messages.
Mar 24 2023, 8:20 AM

Mar 23 2023

tomek requested changes to D7112: [keyserver/lib] Set up responders, endpoints, and related functions to fetch all pinned messages.
Mar 23 2023, 2:58 AM
tomek added a comment to D6924: [keyserver] Introduce columns in messages table to support pinned messages.
In D6924#211911, @rohan wrote:
In D6924#211756, @tomek wrote:

It seems like I wasn't clear enough in my comment, so let me explain it differently. Correct me in any place where I'm wrong. So on the client side we would want to display three things:

  1. A robotext message in a thread telling that a message was pinned
  2. A pin indicator next to a message
  3. A list of pinned messages

As far as I understand, what you're describing handles only the 1st point. How do we plan to handle 2nd and 3rd?

Ah I understand now, sorry. Yeah you're right, those are the three things we want to display client side.

  1. Robotext: Will be handled by introducing a new message type and spec
  2. Pin indicator: I think this is the one I'm a little unsure on since I've not begun working on the client-side yet so I wasn't sure on the best way to handle this. I'm not sure if updating RawMessageInfo to support something like RawPinnedMessageInfo and MessageInfo to support PinnedMessageInfo is the best way
  3. A list of pinned messages: D7110 and D7112 should handle this, I can call the endpoint to retrieve all of the pinned messages for a given thread.
Mar 23 2023, 2:48 AM
tomek added a comment to D7118: [web-db] add function for parsing SQLite query.

I don't think doing input validation for SQL results is necessary – the any is fine here. It would probably have been more clear how / why you're using any if these utility functions were introduced in the same diff where they are used.

Mar 23 2023, 1:40 AM

Mar 22 2023

tomek closed D7147: [server] Update assetlinks file.
Mar 22 2023, 10:06 AM
tomek committed rCOMM2bfa6edef031: [server] Update assetlinks file (authored by tomek).
[server] Update assetlinks file
Mar 22 2023, 10:06 AM
tomek closed D7146: [server] Update AASA file so that we prove to iOS that the domain belongs to us.
Mar 22 2023, 10:06 AM
tomek committed rCOMM825ba1f0e005: [server] Update AASA file so that we prove to iOS that the domain belongs to us (authored by tomek).
[server] Update AASA file so that we prove to iOS that the domain belongs to us
Mar 22 2023, 10:05 AM
tomek added a comment to D7147: [server] Update assetlinks file.

How do you obtain the SHA-256 fingerprint? From what I understood from the diff description, it is copy-pasted from Play Console, right?

Mar 22 2023, 9:58 AM
tomek added a comment to D7146: [server] Update AASA file so that we prove to iOS that the domain belongs to us.

The new ID looks correct

IIRC @ashoat did some linking long time ago so there are leftovers across the codebase (e.g. here)

Mar 22 2023, 9:56 AM
tomek requested review of D7147: [server] Update assetlinks file.
Mar 22 2023, 9:25 AM
tomek requested review of D7146: [server] Update AASA file so that we prove to iOS that the domain belongs to us.
Mar 22 2023, 7:36 AM
tomek added a comment to D6924: [keyserver] Introduce columns in messages table to support pinned messages.
In D6924#211575, @rohan wrote:
In D6924#211499, @tomek wrote:

How the pinning will be saved on client's side? Do we plan to have it included in a message info? If that's the case, do we plan to update all the message infos saved on all the clients?

I'm currently introducing a new message type and a message spec for pinned messages, so we'd have messageContentForClientDB. From my understanding, I can support both content for server and client, but feel free to correct me if I'm wrong.

Mar 22 2023, 2:06 AM

Mar 21 2023

tomek accepted D7105: Build files set-up for Android 13.
Mar 21 2023, 10:00 AM
tomek accepted D6924: [keyserver] Introduce columns in messages table to support pinned messages.

How the pinning will be saved on client's side? Do we plan to have it included in a message info? If that's the case, do we plan to update all the message infos saved on all the clients?

Mar 21 2023, 9:54 AM
tomek added inline comments to D7099: [native] add feature flag to avatars render work.
Mar 21 2023, 1:52 AM
tomek added inline comments to D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 21 2023, 1:44 AM

Mar 17 2023

tomek added a comment to D7059: [lib] Introduce PKCS#7 padding.
In D7059#210217, @atul wrote:

Specifically adding @tomek as reviewer since he seemed to have some thoughts during the Encryption Sync (that might've been discussed offline?)

Mar 17 2023, 4:53 AM

Mar 15 2023

tomek accepted D6993: [web-db] initialize SQLite database.

Do we know how this diff corresponds to https://linear.app/comm/issue/ENG-3322/fix-stale-cache-error-for-olmwasm#comment-d1aabe3d? Maybe this will somehow improve the experience about the path's configuration?

Mar 15 2023, 3:48 AM
tomek accepted D6991: [web-db] implement basic app-worker connection types.
Mar 15 2023, 3:40 AM
tomek accepted D6990: [web-db] add indexedDB config.
Mar 15 2023, 3:22 AM
tomek accepted D6987: [web-db] add Shared Worker config.
Mar 15 2023, 3:09 AM

Mar 14 2023

tomek accepted D7030: [web] Use notifPermissionAlertInfo.
Mar 14 2023, 6:56 AM
tomek added a comment to D6963: [lib] Added new MessageSpec for editing messages.
In D6963#209487, @kuba wrote:

I don't know how to test message shimming yet, so for now it isn't tested.

Mar 14 2023, 2:08 AM
tomek added inline comments to D6993: [web-db] initialize SQLite database.
Mar 14 2023, 1:49 AM

Mar 13 2023

tomek accepted D7029: [native] Move NotifPermissionAlertInfo to lib.

Looks ok - it doesn't seem necessary to do a migration.

Mar 13 2023, 7:22 AM
tomek accepted D6921: Persist rescinds payloads in NSE so that AppDelegate can update thread statuses on app start..
Mar 13 2023, 7:02 AM
tomek accepted D6920: Modify TemporaryMessageStorage API, so that we can have two storages: one (created by default init) for messages and the other for rescinds..
Mar 13 2023, 6:37 AM

Mar 9 2023

tomek added a comment to D7009: [nix] Ensure that fd 3 is closed before we fork `redis-server` and `mariadbd`.

Have you checked if Redis and MariaDB work correctly after this change? Are we sure that closing this descriptor doesn't cause any issue for a process that opened it?

Mar 9 2023, 1:08 AM

Mar 8 2023

tomek added inline comments to D6975: [web] Add expanded and toggleExpanded to CommunityDrawerItemHandler type.
Mar 8 2023, 5:33 AM
tomek added inline comments to D6968: [web] Add to redux state picked community in the Chat tab.
Mar 8 2023, 5:12 AM
tomek added inline comments to D6929: [keyserver] Add a function to toggle the pin status of a message.
Mar 8 2023, 5:04 AM
tomek added inline comments to D6996: [web-db] generate `CryptoKey` and persist.
Mar 8 2023, 4:57 AM
tomek added inline comments to D6993: [web-db] initialize SQLite database.
Mar 8 2023, 4:55 AM
tomek added inline comments to D6990: [web-db] add indexedDB config.
Mar 8 2023, 4:33 AM
tomek added inline comments to D6987: [web-db] add Shared Worker config.
Mar 8 2023, 4:30 AM
tomek added inline comments to D6970: [web] Add a selector for fetching picked community in Chat tab.
Mar 8 2023, 4:27 AM

Mar 7 2023

tomek closed D6967: [native] Fix useIsCurrentUserStaff hook.
Mar 7 2023, 7:12 AM
tomek committed rCOMM3dc46d29f50b: [native] Fix useIsCurrentUserStaff hook (authored by tomek).
[native] Fix useIsCurrentUserStaff hook
Mar 7 2023, 7:12 AM
tomek requested changes to D6924: [keyserver] Introduce columns in messages table to support pinned messages.

We persist messageStore.messages and threadStore in SQLite on the native client, and it would probably make the most sense to store pinned_messages in the SQLite threads table instead of introducing a whole new table and set of “ops.” That would introduce inconsistency between the MariaDB and SQLite database… which isn’t the end of the world, but could be avoided if we stored pinned_messages in the threads table?

In which way does it affect the database on the keyserver side?
It's really hard for me to find some advantages of having denormalized pins column on the server. It will make any querying based on pins a lot harder than it should be.

Mar 7 2023, 4:25 AM
tomek requested changes to D5463: [web] Call searchUsers in chat composer.
Mar 7 2023, 3:52 AM
tomek requested review of D6967: [native] Fix useIsCurrentUserStaff hook.
Mar 7 2023, 2:23 AM

Mar 3 2023

tomek closed D6949: [native] Fetch and parse feature flags response.
Mar 3 2023, 9:02 AM
tomek closed D6948: [native] Create feature flags context.
Mar 3 2023, 9:02 AM
tomek committed rCOMMa910cf9ae1af: [native] Fetch and parse feature flags response (authored by tomek).
[native] Fetch and parse feature flags response
Mar 3 2023, 9:02 AM
tomek committed rCOMMe490771eb08a: [native] Create feature flags context (authored by tomek).
[native] Create feature flags context
Mar 3 2023, 9:02 AM
tomek closed D6947: [services][feature-flags] Serve application/json instead of text/plain.
Mar 3 2023, 9:02 AM
tomek committed rCOMMe7c8b960558a: [services][feature-flags] Serve application/json instead of text/plain (authored by tomek).
[services][feature-flags] Serve application/json instead of text/plain
Mar 3 2023, 9:02 AM
tomek updated the diff for D6949: [native] Fetch and parse feature flags response.

Improve parsing and error handling

Mar 3 2023, 7:04 AM
tomek added inline comments to D6949: [native] Fetch and parse feature flags response.
Mar 3 2023, 6:55 AM
tomek updated the test plan for D6949: [native] Fetch and parse feature flags response.
Mar 3 2023, 5:53 AM
tomek requested review of D6949: [native] Fetch and parse feature flags response.
Mar 3 2023, 4:44 AM
tomek requested review of D6948: [native] Create feature flags context.
Mar 3 2023, 4:41 AM
tomek requested review of D6947: [services][feature-flags] Serve application/json instead of text/plain.
Mar 3 2023, 4:39 AM
tomek closed D6886: [services][feature-flags] Dockerize the service.
Mar 3 2023, 4:38 AM
tomek committed rCOMMe5c1ae3e2833: [services][feature-flags] Dockerize the service (authored by tomek).
[services][feature-flags] Dockerize the service
Mar 3 2023, 4:38 AM

Mar 2 2023

tomek added a comment to D6886: [services][feature-flags] Dockerize the service.

Haven't figured out how to send a request from host, but verifying that is the next step.

Not sure what you exactly mean, but docker-compose exposes the service port to host, so you should be able to simply

yarn run-feature-flags-service-in-sandbox
# in a separate terminal
curl "http://localhost:50055/features?platform=..." # etc

The issue was caused by a fact that I was using localhost instead of 0.0.0.0. When running the service locally, there's no difference. But when a service is run within a container, the localhost doesn't work properly.

Mar 2 2023, 3:10 AM
tomek updated the diff for D6886: [services][feature-flags] Dockerize the service.

Bind to 0.0.0.0

Mar 2 2023, 2:59 AM

Feb 28 2023

tomek closed D6862: [services][feature-flags] Connect http service with database.
Feb 28 2023, 6:26 AM
tomek closed D6861: [services][feature-flags] Introduce `features` endpoint.
Feb 28 2023, 6:26 AM
tomek committed rCOMM32a543909f8f: [services][feature-flags] Connect http service with database (authored by tomek).
[services][feature-flags] Connect http service with database
Feb 28 2023, 6:26 AM
tomek closed D6860: [services][feature-flags] Add hello world http server.
Feb 28 2023, 6:26 AM
tomek closed D6859: [services][feature-flags] Add configuration for http server.
Feb 28 2023, 6:26 AM
tomek committed rCOMM3af2a21095c5: [services][feature-flags] Introduce `features` endpoint (authored by tomek).
[services][feature-flags] Introduce `features` endpoint
Feb 28 2023, 6:26 AM
tomek committed rCOMMd00c6f858ba2: [services][feature-flags] Add hello world http server (authored by tomek).
[services][feature-flags] Add hello world http server
Feb 28 2023, 6:26 AM
tomek committed rCOMM584ead41422b: [services][feature-flags] Add configuration for http server (authored by tomek).
[services][feature-flags] Add configuration for http server
Feb 28 2023, 6:26 AM
tomek closed D6857: [services][feature-flags] Query the db.
Feb 28 2023, 6:26 AM
tomek closed D6858: [services][feature-flags] Determine enabled features set.
Feb 28 2023, 6:26 AM
tomek committed rCOMMc2bb76aec775: [services][feature-flags] Determine enabled features set (authored by tomek).
[services][feature-flags] Determine enabled features set
Feb 28 2023, 6:26 AM
tomek closed D6856: [services][feature-flags] Parse feature flags response from DynamoDB.
Feb 28 2023, 6:26 AM
tomek committed rCOMMbfc7bdb5917f: [services][feature-flags] Query the db (authored by tomek).
[services][feature-flags] Query the db
Feb 28 2023, 6:26 AM
tomek closed D6855: [services][feature-flags] Introduce map and i32 parsing.
Feb 28 2023, 6:26 AM
tomek committed rCOMM3684fe489698: [services][feature-flags] Parse feature flags response from DynamoDB (authored by tomek).
[services][feature-flags] Parse feature flags response from DynamoDB
Feb 28 2023, 6:26 AM
tomek committed rCOMM96d9a7b0315c: [services][feature-flags] Introduce map and i32 parsing (authored by tomek).
[services][feature-flags] Introduce map and i32 parsing
Feb 28 2023, 6:26 AM
tomek closed D6854: [services] Extract common database code to a separate lib.
Feb 28 2023, 6:26 AM
tomek closed D6853: [services][feature-flags] Describe feature flags table in terraform.
Feb 28 2023, 6:26 AM
tomek committed rCOMM56c4f5d86838: [services] Extract common database code to a separate lib (authored by tomek).
[services] Extract common database code to a separate lib
Feb 28 2023, 6:26 AM
tomek committed rCOMM3038a207ff3c: [services][feature-flags] Describe feature flags table in terraform (authored by tomek).
[services][feature-flags] Describe feature flags table in terraform
Feb 28 2023, 6:26 AM
tomek closed D6852: [services][feature-flags] Introduce constants for accessing DynamoDB table.
Feb 28 2023, 6:26 AM
tomek committed rCOMM5dfc5ca68576: [services][feature-flags] Introduce constants for accessing DynamoDB table (authored by tomek).
[services][feature-flags] Introduce constants for accessing DynamoDB table
Feb 28 2023, 6:26 AM
tomek accepted D6894: [desktop] Handle macos notifications.
Feb 28 2023, 3:21 AM
tomek accepted D6832: [web] Handle notifications in service worker.
Feb 28 2023, 3:04 AM

Feb 27 2023

tomek updated the diff for D6886: [services][feature-flags] Dockerize the service.

Rebase

Feb 27 2023, 8:43 AM
tomek updated the diff for D6862: [services][feature-flags] Connect http service with database.

Rebase

Feb 27 2023, 8:41 AM
tomek updated the diff for D6861: [services][feature-flags] Introduce `features` endpoint.

Rebase

Feb 27 2023, 8:31 AM
tomek updated the diff for D6860: [services][feature-flags] Add hello world http server.

Rebase

Feb 27 2023, 8:28 AM
tomek updated the diff for D6858: [services][feature-flags] Determine enabled features set.

Rebase

Feb 27 2023, 8:25 AM
tomek updated the diff for D6857: [services][feature-flags] Query the db.

Rebase

Feb 27 2023, 8:22 AM
tomek updated the diff for D6856: [services][feature-flags] Parse feature flags response from DynamoDB.

Rebase

Feb 27 2023, 8:20 AM
tomek updated the diff for D6855: [services][feature-flags] Introduce map and i32 parsing.

Rebase

Feb 27 2023, 8:16 AM
tomek updated the diff for D6854: [services] Extract common database code to a separate lib.

Update cargo dependency

Feb 27 2023, 8:14 AM