Page MenuHomePhorge
Feed Search

May 11 2023

kamil committed rCOMMdeafcc719978: [web-db] stop persisting drafts in redux-persist.
May 11 2023, 11:03 AM
kamil closed D7664: [lib] make fields in setting client store action optional.
May 11 2023, 11:03 AM
kamil closed D7665: [web-db] read drafts from SQLite database and dispatch to store.
May 11 2023, 11:03 AM
kamil committed rCOMM9d354fce587d: [web-db] read drafts from SQLite database and dispatch to store.
May 11 2023, 11:03 AM
kamil closed D7662: [web-db] enable performing draft operations on SQLite.
May 11 2023, 11:03 AM
kamil committed rCOMMa702d773b80b: [lib] make fields in setting client store action optional.
May 11 2023, 11:03 AM
kamil committed rCOMM69f0149d6ea6: [web-db] enable performing draft operations on SQLite.
May 11 2023, 11:03 AM
kamil closed D7660: [web-db] migrate drafts to SQLite.
May 11 2023, 11:03 AM
kamil closed D7658: [web-db] implement asynchronous `redux-persist` migrations.
May 11 2023, 11:03 AM
kamil committed rCOMMbb6a9f1cddb3: [web-db] migrate drafts to SQLite.
May 11 2023, 11:03 AM
kamil committed rCOMM61453af0f8bb: [web-db] implement asynchronous `redux-persist` migrations.
May 11 2023, 11:03 AM
kamil closed D7191: [web-db] implement clearing sensitive data.
May 11 2023, 11:03 AM
kamil closed D7289: [web-db] improve persisting lifecycle.
May 11 2023, 11:03 AM
kamil committed rCOMM458a0db0527a: [web-db] implement clearing sensitive data.
May 11 2023, 11:03 AM
kamil committed rCOMM85ad52f0ed44: [web-db] improve persisting lifecycle.
May 11 2023, 11:03 AM
kamil closed D7787: [web-db] stop supporting Safari.
May 11 2023, 11:02 AM
kamil committed rCOMMa0f5b4115446: [web-db] stop supporting Safari.
May 11 2023, 11:02 AM
kamil updated the diff for D7668: [web-db] migrate entire redux-persist storage to SQLite.

rebase before landing

May 11 2023, 10:34 AM
kamil updated the diff for D7667: [web-db] choose storage engine depending on whether database is supported or not.

rebase before landing

May 11 2023, 10:33 AM
kamil updated the diff for D7666: [web-db] stop persisting drafts in redux-persist.

address review, rebase before landing

May 11 2023, 10:32 AM
kamil updated the diff for D7665: [web-db] read drafts from SQLite database and dispatch to store.

address review, rebase before landing

May 11 2023, 10:31 AM
kamil updated the diff for D7664: [lib] make fields in setting client store action optional.

address review, rebase before landing

May 11 2023, 10:30 AM
kamil updated the diff for D7662: [web-db] enable performing draft operations on SQLite.

rebase before landing

May 11 2023, 10:29 AM
kamil updated the diff for D7660: [web-db] migrate drafts to SQLite.

rebase before landing

May 11 2023, 10:28 AM
kamil added inline comments to D7668: [web-db] migrate entire redux-persist storage to SQLite.
May 11 2023, 10:27 AM
kamil updated the diff for D7658: [web-db] implement asynchronous `redux-persist` migrations.

rebase before landing

May 11 2023, 10:27 AM
kamil updated the diff for D7289: [web-db] improve persisting lifecycle.

rebase before landing

May 11 2023, 10:26 AM
kamil updated the diff for D7191: [web-db] implement clearing sensitive data.

rebase before landing

May 11 2023, 10:25 AM
kamil added inline comments to D7658: [web-db] implement asynchronous `redux-persist` migrations.
May 11 2023, 9:28 AM
atul awarded D7787: [web-db] stop supporting Safari a Heartbreak token.
May 11 2023, 9:03 AM
kamil published D7787: [web-db] stop supporting Safari for review.
May 11 2023, 8:57 AM

May 10 2023

kamil accepted D7739: [native] Add message search context.
May 10 2023, 4:40 PM
kamil accepted D7726: [keyserver] Create an endpoint returning primary invite links.
May 10 2023, 4:12 PM
kamil added a comment to D7668: [web-db] migrate entire redux-persist storage to SQLite.

I tried a different approach (getting old storage inside migration) but it will not be better. We need to have a store version before the migration process, and in that case, this version is persisted via old storage, so we need to retrieve it here.

May 10 2023, 4:07 PM
kamil updated the diff for D7668: [web-db] migrate entire redux-persist storage to SQLite.

rebase

May 10 2023, 4:05 PM
kamil added a comment to D7658: [web-db] implement asynchronous `redux-persist` migrations.
In D7658#230011, @tomek wrote:

Ah, that makes sense! But now it brings more serious issue: we shouldn't just copy and paste code from a library. Ideally, we would like to avoid modification and e.g. wrap code with our logic. If that's not possible, we can e.g. patch the library. If using this code directly is the only option, we should rewrite this code using the original one as an inspiration.

May 10 2023, 4:03 PM
kamil updated the diff for D7658: [web-db] implement asynchronous `redux-persist` migrations.

re-implement function

May 10 2023, 3:59 PM

May 9 2023

kamil published D7754: [lib] modify `assertObjectsAreEqual` to return deep differential instead of only one level keys for review.
May 9 2023, 10:33 AM
kamil published D7753: [lib] introduce function to find deep difference between two objects for review.
May 9 2023, 10:32 AM
kamil published D7752: [native] show setting threadStore error in Alert message for review.
May 9 2023, 10:32 AM
kamil planned changes to D7668: [web-db] migrate entire redux-persist storage to SQLite.
May 9 2023, 9:03 AM
kamil closed D7741: [lib] fix `callServerEndpoint` returning `undefined`.
May 9 2023, 8:35 AM
kamil committed rCOMM0357995e2016: [lib] fix `callServerEndpoint` returning `undefined`.
May 9 2023, 8:35 AM
kamil accepted D7728: [lib] Add client side boilerplate for the new endpoint.
May 9 2023, 8:26 AM
kamil requested changes to D7726: [keyserver] Create an endpoint returning primary invite links.

I think this is a bit vulnerable, we fetch all the links to the client - which means if the user is not part of a given community can get possession of the invite link and join the community when I think only members of the community should invite others. Fetching invite links to communities in which the user is a part will help.

May 9 2023, 8:24 AM

May 8 2023

kamil closed D7738: [lib] move `isStaff()` to separate file.
May 8 2023, 12:50 PM
kamil committed rCOMMa74cdf7fdc5e: [lib] move `isStaff()` to separate file.
May 8 2023, 12:50 PM
kamil published D7741: [lib] fix `callServerEndpoint` returning `undefined` for review.
May 8 2023, 12:41 PM
kamil requested review of D7668: [web-db] migrate entire redux-persist storage to SQLite.
May 8 2023, 11:49 AM
kamil added inline comments to D7660: [web-db] migrate drafts to SQLite.
May 8 2023, 10:41 AM
kamil added a comment to D7658: [web-db] implement asynchronous `redux-persist` migrations.

@tomek questions you added are valid but those are questions to the redux-persist author. I wanted to copy-paste code from source code to preserve old logic, as this returns function which will be used inside redux-persist logic. I only updated from the sync function which returns a promise - to implicitly return a promise from the async function (which will allow us to put await before any migration).

May 8 2023, 10:41 AM
kamil updated the diff for D7658: [web-db] implement asynchronous `redux-persist` migrations.

fix typo and make inputs read-only

May 8 2023, 10:40 AM
kamil added a comment to D7289: [web-db] improve persisting lifecycle.
In D7289#227557, @tomek wrote:

I've left some comments with an alternative approach. Do you think it is more readable?

May 8 2023, 9:43 AM
kamil updated the diff for D7289: [web-db] improve persisting lifecycle.

refactor code to avoid while (true)

May 8 2023, 9:42 AM
kamil published D7738: [lib] move `isStaff()` to separate file for review.
May 8 2023, 9:33 AM
kamil closed D7613: [lib] update message store threads in SQLite after setting client DB store.
May 8 2023, 7:58 AM
kamil committed rCOMMb535e8b536a8: [lib] update message store threads in SQLite after setting client DB store.
May 8 2023, 7:58 AM

Apr 27 2023

kamil published D7668: [web-db] migrate entire redux-persist storage to SQLite for review.
Apr 27 2023, 3:00 PM
kamil published D7667: [web-db] choose storage engine depending on whether database is supported or not for review.
Apr 27 2023, 3:00 PM
kamil published D7666: [web-db] stop persisting drafts in redux-persist for review.
Apr 27 2023, 2:59 PM
kamil published D7665: [web-db] read drafts from SQLite database and dispatch to store for review.
Apr 27 2023, 2:58 PM
kamil published D7664: [lib] make fields in setting client store action optional for review.
Apr 27 2023, 2:58 PM
kamil published D7662: [web-db] enable performing draft operations on SQLite for review.
Apr 27 2023, 2:57 PM
kamil published D7660: [web-db] migrate drafts to SQLite for review.
Apr 27 2023, 2:56 PM
kamil updated the summary of D7658: [web-db] implement asynchronous `redux-persist` migrations.
Apr 27 2023, 2:55 PM
kamil published D7658: [web-db] implement asynchronous `redux-persist` migrations for review.
Apr 27 2023, 2:54 PM
kamil updated the diff for D7289: [web-db] improve persisting lifecycle.

commit missed line

Apr 27 2023, 1:47 PM
kamil updated the diff for D7289: [web-db] improve persisting lifecycle.

use loop instead of recursion

Apr 27 2023, 1:45 PM
kamil added inline comments to D7191: [web-db] implement clearing sensitive data.
Apr 27 2023, 1:42 PM
kamil updated the summary of D7191: [web-db] implement clearing sensitive data.
Apr 27 2023, 1:41 PM
kamil updated the diff for D7191: [web-db] implement clearing sensitive data.

refactor code

Apr 27 2023, 1:37 PM

Apr 26 2023

kamil closed D7612: [lib] allow missing `messageIDs` while comparing SQLite with `redux-persist`.
Apr 26 2023, 1:07 PM
kamil committed rCOMM3c57f0880e63: [lib] allow missing `messageIDs` while comparing SQLite with `redux-persist`.
Apr 26 2023, 1:07 PM
kamil closed D7611: [lib] assert message store equality after logout.
Apr 26 2023, 1:07 PM
kamil committed rCOMM4c5309c02610: [lib] assert message store equality after logout.
Apr 26 2023, 1:07 PM
kamil updated the test plan for D7611: [lib] assert message store equality after logout.
Apr 26 2023, 1:02 PM

Apr 25 2023

kamil published D7613: [lib] update message store threads in SQLite after setting client DB store for review.
Apr 25 2023, 5:32 PM
kamil published D7612: [lib] allow missing `messageIDs` while comparing SQLite with `redux-persist` for review.
Apr 25 2023, 5:32 PM
kamil published D7611: [lib] assert message store equality after logout for review.
Apr 25 2023, 5:32 PM

Apr 21 2023

kamil closed D7473: [native] retrieve message store threads from SQLite and compare with `redux-persist`.
Apr 21 2023, 10:11 AM
kamil committed rCOMMd283898f82e4: [native] retrieve message store threads from SQLite and compare with `redux….
Apr 21 2023, 10:11 AM
kamil closed D7471: [native] migrate message store threads to SQLite.
Apr 21 2023, 10:11 AM
kamil closed D7472: [CommCoreModule] implement logic to get message store threads from SQLite.
Apr 21 2023, 10:11 AM
kamil committed rCOMMa468af0f8e01: [CommCoreModule] implement logic to get message store threads from SQLite.
Apr 21 2023, 10:11 AM
kamil committed rCOMM0b8d068678e7: [native] migrate message store threads to SQLite.
Apr 21 2023, 10:11 AM
kamil closed D7470: [native] enable performing message store threads ops.
Apr 21 2023, 10:11 AM
kamil committed rCOMM677c16c8b891: [native] enable performing message store threads ops.
Apr 21 2023, 10:11 AM
kamil updated the diff for D7473: [native] retrieve message store threads from SQLite and compare with `redux-persist`.

rebase before landing

Apr 21 2023, 9:37 AM
kamil updated the diff for D7472: [CommCoreModule] implement logic to get message store threads from SQLite.

rebase before landing

Apr 21 2023, 9:36 AM
kamil added inline comments to D7471: [native] migrate message store threads to SQLite.
Apr 21 2023, 9:36 AM
kamil updated the diff for D7471: [native] migrate message store threads to SQLite.

remove operation

Apr 21 2023, 9:35 AM
kamil added inline comments to D7470: [native] enable performing message store threads ops.
Apr 21 2023, 9:33 AM
kamil updated the diff for D7470: [native] enable performing message store threads ops.

put easy casees first

Apr 21 2023, 9:33 AM
kamil closed D7469: [CommCoreModule] implement ops for message store threads.
Apr 21 2023, 9:22 AM
kamil committed rCOMM7c2d19d001ba: [CommCoreModule] implement ops for message store threads.
Apr 21 2023, 9:22 AM
kamil closed D7468: [CommCoreModule] add table for message store threads.
Apr 21 2023, 9:22 AM
kamil committed rCOMM34c957e249a3: [CommCoreModule] add table for message store threads.
Apr 21 2023, 9:22 AM
kamil updated the diff for D7469: [CommCoreModule] implement ops for message store threads.

rebase before landing

Apr 21 2023, 9:02 AM
kamil added inline comments to D7468: [CommCoreModule] add table for message store threads.
Apr 21 2023, 8:50 AM
kamil updated the diff for D7468: [CommCoreModule] add table for message store threads.

fix typo

Apr 21 2023, 8:50 AM