Page MenuHomePhabricator
Feed Advanced Search

Jul 19 2024

kamil closed D12765: [Tunnelbroker] implement requesting FCM access token using OAuth 2.0.
Jul 19 2024, 5:05 AM
kamil committed rCOMMcb4ca298599a: [Tunnelbroker] implement FCM Access Token lifetime (authored by kamil).
[Tunnelbroker] implement FCM Access Token lifetime
Jul 19 2024, 5:05 AM
kamil committed rCOMM61a0eb1ab64f: [Tunnelbroker] implement requesting FCM access token using OAuth 2.0 (authored by kamil).
[Tunnelbroker] implement requesting FCM access token using OAuth 2.0
Jul 19 2024, 5:05 AM
kamil closed D12754: [Tunnelbroker] implement OAuth 2.0 JWT token encoding.
Jul 19 2024, 5:05 AM
kamil committed rCOMM4a7e8b46ea8b: [Tunnelbroker] implement OAuth 2.0 JWT token encoding (authored by kamil).
[Tunnelbroker] implement OAuth 2.0 JWT token encoding
Jul 19 2024, 5:05 AM
kamil closed D12753: [Tunnelbroker] implement creating FCM client.
Jul 19 2024, 5:05 AM
kamil committed rCOMM3fffc98ab522: [Tunnelbroker] implement creating FCM client (authored by kamil).
[Tunnelbroker] implement creating FCM client
Jul 19 2024, 5:05 AM
kamil closed D12752: [Tunnelbroker] implement FCM config.
Jul 19 2024, 5:05 AM
kamil committed rCOMMf7ebad858026: [Tunnelbroker] implement FCM config (authored by kamil).
[Tunnelbroker] implement FCM config
Jul 19 2024, 5:05 AM
kamil closed D12751: [terraform] add FCM secrets config.
Jul 19 2024, 5:02 AM
kamil accepted D12794: [native] Add MessageSearchStoreOperations.
Jul 19 2024, 5:02 AM
kamil committed rCOMM8cebb5402ed4: [terraform] add FCM secrets config (authored by kamil).
[terraform] add FCM secrets config
Jul 19 2024, 5:02 AM
kamil accepted D12783: [web] Add bindings for inserting into the search table.
Jul 19 2024, 4:57 AM
kamil accepted D12778: [native] Add SQLiteQueryExecutor code for inserting into the search table.
Jul 19 2024, 4:57 AM
kamil accepted D12694: [native](web) Add message_search fts5 table.

Could you update the spacing to match the rest of the file?

Jul 19 2024, 4:05 AM
kamil accepted D12693: [native][web] Add fts5 extension to SQLite.
Jul 19 2024, 3:55 AM
kamil added inline comments to D12769: [Tunnelbroker] implement sending FCM message.
Jul 19 2024, 3:35 AM
kamil updated the diff for D12769: [Tunnelbroker] implement sending FCM message.

address review

Jul 19 2024, 2:54 AM
kamil added inline comments to D12767: [Tunnelbroker] implement messages types to FCM service.
Jul 19 2024, 2:19 AM
kamil updated the diff for D12766: [Tunnelbroker] implement FCM Access Token lifetime.

rename

Jul 19 2024, 2:18 AM
kamil updated the diff for D12754: [Tunnelbroker] implement OAuth 2.0 JWT token encoding.

add code comment

Jul 19 2024, 2:13 AM
kamil updated the diff for D12753: [Tunnelbroker] implement creating FCM client.

rename

Jul 19 2024, 2:11 AM

Jul 18 2024

kamil added inline comments to D12770: [Tunnelbroker][lib] add FCM notif message type.
Jul 18 2024, 8:18 AM
kamil accepted D12786: [lib] Track progress of message processing.

I think the usage of if and dmOpID can be improved and more descriptive, this might look confusing as we have plenty IDs all over the codebase - but I don't have idea about better ones

Jul 18 2024, 7:18 AM
kamil accepted D12776: [lib] Generate P2P messages based on actions.
Jul 18 2024, 7:04 AM
kamil accepted D12775: [lib] Fix an invalid condition.

🤦‍♂️🙄
Thanks for fixing

Jul 18 2024, 6:44 AM
kamil requested changes to D12749: [lib] Stop requiring sequential messages.

I think this should be done at different level:

  1. Use decrypt here: https://github.com/CommE2E/comm/blob/8b786f1788c01edce880256d4f5318ce54342f29/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp#L1619
  2. Rename decryptSequentialAndPersist -> decryptAndPersist
Jul 18 2024, 6:41 AM
kamil accepted D12747: [lib] Enable automatic retries for some messages.
Jul 18 2024, 6:36 AM
kamil accepted D12746: [lib] Disable automatic retries of all messages and enable manual retries.
Jul 18 2024, 6:30 AM
kamil accepted D12745: [native][web] Introduce a method fetching messages by ID to SQLiteAPI.
Jul 18 2024, 6:23 AM
kamil accepted D12744: [native][web] Add a method fetching messages by ID.
Jul 18 2024, 6:04 AM

Jul 16 2024

kamil added a comment to D12692: Migrate notification account to IndexedDB on web.

Right now two JS threads (shared worker and service worker) can concurrently modify the same key in IndexedDB. I think to make it safe we should use transactions to make sure this is safe.

Jul 16 2024, 7:27 AM
kamil added inline comments to D12676: Migrate notifications crypto account to MMKV on native.
Jul 16 2024, 7:12 AM
kamil accepted D12672: Implement utility functions to check if we have content or notif session with device.
Jul 16 2024, 4:53 AM
kamil accepted D12671: Implement notification encryption on web.
Jul 16 2024, 4:48 AM
kamil accepted D12670: Implement notification encryption on native.
Jul 16 2024, 4:43 AM
kamil accepted D12669: Implement peer notifications session creation as outbound on web and add notifs outbound session creator to OlmAPI.
Jul 16 2024, 4:32 AM
kamil accepted D12668: Implement peer notifications session creation as outbound on native.

I really don't like the idea (looking at this diff and the entire stack) of passing isKeyserverSession - notification crypto module should treat all devices the same regardless of whether this is a keyserver or client device, and we should only have senderID, because the current design makes it confusing. But given this is implemented and tested I believe we can proceed, you could create a follow-up task to improve it in future but for now LGTM.

Jul 16 2024, 4:12 AM
kamil accepted D12743: Add a new field to OutboundP2PMessage.
Jul 16 2024, 3:40 AM
kamil accepted D12742: [SQLite] Add a new column to outbound_p2p_messages table.
Jul 16 2024, 3:08 AM
kamil added a comment to D12736: [web] add std::optional (C++) <-> undefined (JS) marshalling.

We should also be able to get rid of the web-specific getOlmPersistAccountDataWeb and just use getOlmPersistAccountData on web. I'll create a follow-up task for this before landing.

Jul 16 2024, 2:57 AM
kamil accepted D12736: [web] add std::optional (C++) <-> undefined (JS) marshalling.

Awesome!

Jul 16 2024, 2:55 AM
kamil published D12773: [Tunnelbroker] simplify retrieving device token for review.
Jul 16 2024, 2:48 AM
kamil published D12772: [lib] implement sending FCM notifs using Tunnelbroker for review.
Jul 16 2024, 2:48 AM
kamil updated the test plan for D12770: [Tunnelbroker][lib] add FCM notif message type.
Jul 16 2024, 2:48 AM
kamil published D12771: [Tunnelbroker] implement sending FCM notifs by client for review.
Jul 16 2024, 2:47 AM
kamil published D12770: [Tunnelbroker][lib] add FCM notif message type for review.
Jul 16 2024, 2:45 AM
kamil published D12769: [Tunnelbroker] implement sending FCM message for review.
Jul 16 2024, 2:44 AM
kamil published D12768: [Tunnelbroker] implement errors from FCM service for review.
Jul 16 2024, 2:42 AM
kamil published D12767: [Tunnelbroker] implement messages types to FCM service for review.
Jul 16 2024, 2:41 AM
kamil published D12766: [Tunnelbroker] implement FCM Access Token lifetime for review.
Jul 16 2024, 2:39 AM
kamil published D12765: [Tunnelbroker] implement requesting FCM access token using OAuth 2.0 for review.
Jul 16 2024, 2:38 AM
kamil published D12754: [Tunnelbroker] implement OAuth 2.0 JWT token encoding for review.
Jul 16 2024, 2:36 AM
kamil published D12753: [Tunnelbroker] implement creating FCM client for review.
Jul 16 2024, 2:25 AM
kamil published D12752: [Tunnelbroker] implement FCM config for review.
Jul 16 2024, 2:24 AM
kamil published D12751: [terraform] add FCM secrets config for review.
Jul 16 2024, 2:23 AM

Jul 12 2024

kamil accepted D12686: [lib] remove integrity store assertion and use sqlite.
In D12686#359268, @will wrote:

@kamil does anything need to be done to remove redux persist integrityStore data besides adding to the persistBlacklist? On initial startup, I get a hydrated keys not expected integrityStore which doesn't appear on subsequent app opens in debug iOS Simulator

Jul 12 2024, 2:17 AM

Jul 3 2024

kamil accepted D12539: Utilise subscription from ThickMemberInfo when building a notif.
Jul 3 2024, 3:56 AM
kamil accepted D12464: Implement notification texts generation on the client.

Nit: when you linking code it's better to use the latest commit from the master, not the master branch as after some changes link will start pointing to different lines, and if someone needs context after a while it might get lost.

Jul 3 2024, 3:49 AM
kamil accepted D12429: Implement notification types, creation and encryption for APNs notifications.
Jul 3 2024, 3:41 AM
kamil accepted D12649: [identity] Delete Tunnelbroker data on primary device logout.
Jul 3 2024, 3:35 AM
kamil accepted D12605: [lib] Broadcast device list update during primary logout.
Jul 3 2024, 3:33 AM
kamil accepted D12639: [lib] Log out secondary devices upon receiving primary logout message.
Jul 3 2024, 2:57 AM
kamil accepted D12638: [lib] Send primary device logout message to secondary devices.
Jul 3 2024, 2:55 AM
kamil accepted D12637: [lib] Extract handling Olm P2P messages to a separate function.
Jul 3 2024, 2:18 AM
kamil accepted D12636: [lib] Add Primary Device Logout P2P message type.
Jul 3 2024, 2:15 AM
kamil closed D12640: [terraform] Deploy Tunnelbroker 0.10 to staging.
Jul 3 2024, 1:35 AM
kamil committed rCOMM8aa90a714df3: [terraform] Deploy Tunnelbroker 0.10 to staging (authored by kamil).
[terraform] Deploy Tunnelbroker 0.10 to staging
Jul 3 2024, 1:35 AM

Jul 2 2024

kamil published D12640: [terraform] Deploy Tunnelbroker 0.10 to staging for review.
Jul 2 2024, 8:37 AM
kamil closed D12617: [lib] implement sending APNs notifs using Tunnelbroker.
Jul 2 2024, 8:35 AM
kamil committed rCOMM7d1745dc1f34: [lib] implement sending APNs notifs using Tunnelbroker (authored by kamil).
[lib] implement sending APNs notifs using Tunnelbroker
Jul 2 2024, 8:35 AM
kamil closed D12616: [Tunnelbroker] implement sending APNs notifs by client.
Jul 2 2024, 8:35 AM
kamil closed D12615: [Tunnelbroker][lib] add APNs notif message type.
Jul 2 2024, 8:35 AM
kamil closed D12614: [Tunnelbroker] implement sending APNs notif.
Jul 2 2024, 8:35 AM
kamil committed rCOMMae75b01335c7: [Tunnelbroker] implement sending APNs notifs by client (authored by kamil).
[Tunnelbroker] implement sending APNs notifs by client
Jul 2 2024, 8:35 AM
kamil committed rCOMM7c0f632a8b8b: [Tunnelbroker][lib] add APNs notif message type (authored by kamil).
[Tunnelbroker][lib] add APNs notif message type
Jul 2 2024, 8:35 AM
kamil closed D12613: [Tunnelbroker] implement APNs response types.
Jul 2 2024, 8:35 AM
kamil committed rCOMMf71495b1458b: [Tunnelbroker] implement sending APNs notif (authored by kamil).
[Tunnelbroker] implement sending APNs notif
Jul 2 2024, 8:35 AM
kamil closed D12612: [Tunnelbroker] implement creating APNs headers.
Jul 2 2024, 8:35 AM
kamil committed rCOMM493327ac8540: [Tunnelbroker] implement creating APNs headers (authored by kamil).
[Tunnelbroker] implement creating APNs headers
Jul 2 2024, 8:35 AM
kamil closed D12611: [Tunnelbroker] implement creating APNs client.
Jul 2 2024, 8:35 AM
kamil committed rCOMMd669bb766e26: [Tunnelbroker] implement APNs response types (authored by kamil).
[Tunnelbroker] implement APNs response types
Jul 2 2024, 8:35 AM
kamil closed D12610: [Tunnelbroker] implement APNs Token generation and lifetime.
Jul 2 2024, 8:35 AM
kamil closed D12609: [Tunnelbroker] implement APNs config.
Jul 2 2024, 8:35 AM
kamil committed rCOMM8336f3d3d3c6: [Tunnelbroker] implement creating APNs client (authored by kamil).
[Tunnelbroker] implement creating APNs client
Jul 2 2024, 8:35 AM
kamil committed rCOMM48b881f7b7e3: [Tunnelbroker] implement APNs config (authored by kamil).
[Tunnelbroker] implement APNs config
Jul 2 2024, 8:35 AM
kamil committed rCOMM228893b1fd5a: [Tunnelbroker] implement APNs Token generation and lifetime (authored by kamil).
[Tunnelbroker] implement APNs Token generation and lifetime
Jul 2 2024, 8:35 AM
kamil closed D12608: [Tunnelbroker] add notifs module and needed crates.
Jul 2 2024, 8:35 AM
kamil closed D12607: [Tunnelbroker] add `jsonwebtoken` dependency.
Jul 2 2024, 8:35 AM
kamil committed rCOMMe72cabb4777b: [Tunnelbroker] add notifs module and needed crates (authored by kamil).
[Tunnelbroker] add notifs module and needed crates
Jul 2 2024, 8:35 AM
kamil committed rCOMMc36192b438fe: [Tunnelbroker] add `jsonwebtoken` dependency (authored by kamil).
[Tunnelbroker] add `jsonwebtoken` dependency
Jul 2 2024, 8:35 AM
kamil closed D12606: [terraform] add APNs secrets config.
Jul 2 2024, 8:35 AM
kamil committed rCOMM896b1808fc23: [terraform] add APNs secrets config (authored by kamil).
[terraform] add APNs secrets config
Jul 2 2024, 8:35 AM
kamil updated the diff for D12616: [Tunnelbroker] implement sending APNs notifs by client.

use Some

Jul 2 2024, 6:08 AM
kamil added inline comments to D12614: [Tunnelbroker] implement sending APNs notif.
Jul 2 2024, 6:03 AM
kamil updated the diff for D12614: [Tunnelbroker] implement sending APNs notif.

address review

Jul 2 2024, 6:03 AM
kamil updated the diff for D12613: [Tunnelbroker] implement APNs response types.

add link

Jul 2 2024, 5:58 AM
kamil updated the diff for D12612: [Tunnelbroker] implement creating APNs headers.

fix docs length

Jul 2 2024, 4:30 AM
kamil added inline comments to D12612: [Tunnelbroker] implement creating APNs headers.
Jul 2 2024, 4:25 AM
kamil updated the diff for D12611: [Tunnelbroker] implement creating APNs client.

rebase

Jul 2 2024, 4:11 AM