Commit Graph

85 Commits

Author SHA1 Message Date
Audric Ackermann 0080254286 fix: add NoticeBanner showing when legacy config message received 2023-04-21 16:17:14 +10:00
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 2023-04-21 15:17:24 +10:00
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2023-04-18 14:40:13 +10:00
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
2023-04-06 16:11:36 +10:00
Audric Ackermann 760642e149 feat: use the lastJoinedAt and createdAt from the wrapper 2023-04-03 17:51:39 +10:00
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2023-04-03 15:08:37 +10:00
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2023-04-03 12:03:23 +10:00
Audric Ackermann 027bd46ff7 fix: allow legacy config message during linking
We only handle handlethem after the new config message ones, so if there is a
shared config message on the network we will use it for the linking
process instead. The legacy one this commit is about is bound to be
removed completely and will only be used until our users have updated to
the new ones for some time.
2023-03-31 11:35:48 +11:00
Audric Ackermann fe5eea4c8d chore: fix critical yarn audit issues 2023-03-30 14:59:32 +11:00
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2023-03-30 14:19:01 +11:00
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 2023-03-28 14:44:41 +11:00
Audric Ackermann 0050352470 chore: move selected convo selectors to another file 2023-03-24 16:48:50 +11:00
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 2023-03-24 14:42:13 +11:00
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 2023-03-16 15:47:03 +11:00
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2023-03-16 10:50:31 +11:00
Audric Ackermann 21d8151b8b feat: add convo volatile info mgmt 2023-03-09 17:12:59 +11:00
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 2023-03-08 17:39:29 +11:00
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
2023-03-01 16:27:25 +11:00
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2023-02-21 17:09:08 +11:00
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 2023-02-20 15:11:04 +11:00
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2023-02-17 11:43:21 +11:00
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2023-02-16 01:02:45 +01:00
Audric Ackermann b2237efe51 feat: insert all contacts into wrapper before syncing it 2023-02-15 16:02:38 +11:00
Audric Ackermann f215535f75 fix: set and get profile picture from libsession 2023-02-10 16:30:02 +11:00
Audric Ackermann 6bbb16b46d feat: track and delete configMessageHashes 2023-02-10 12:07:49 +11:00
Audric Ackermann 7c56310e69 feat: addConfSyncJob start 2023-02-08 10:50:23 +11:00
Audric Ackermann 4bfcf91193 fix: add return types for libsession wrapper functions 2023-02-01 15:03:58 +11:00
Audric Ackermann 08a15b210a feat: move avatar downloading to JobRunner 2023-01-31 11:30:56 +11:00
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 2023-01-30 13:30:22 +11:00
Audric Ackermann d1cefd4729 feat: add contacts & user profile handling of incoming messages 2023-01-25 15:26:28 +11:00
Audric Ackermann 0f58e11a17 chore: update with latest libsession wrapper 2023-01-17 10:58:50 +11:00
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
2022-08-08 09:50:48 +10:00
Audric Ackermann 00d70db0be
queue user profile avatars update
also add some tests for the promise utils
2022-04-11 17:18:11 +10:00
Audric Ackermann 6bd835dfc3
move storage.js to ts 2022-03-23 15:57:11 +11:00
Audric Ackermann 602a287263
join closed groups from config only on the first config message 2022-03-09 15:04:28 +11:00
warrickct 3424fa88e8 Remove typing for blocklist on window. Minor formatting 2022-03-08 16:47:34 +11:00
warrickct b166a0483a Adding logging output for dropping outdated config messages. Removing libsodium-wrapper usage as we use sumo version now. Making target for linux build on one line. 2022-03-08 16:30:50 +11:00
warrickct b79be5b502 adding linting fixes. 2022-03-08 16:11:54 +11:00
warrickct 5adca482bd Fix open groups not being restored when restoring device from recovery phrase. 2022-03-08 15:42:07 +11:00
warrickct 451fb351a3 removing comments 2022-03-02 14:49:55 +11:00
warrickct e4f4328232 rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted. 2022-03-02 13:04:33 +11:00
warrickct c2722ed87f fixing linting errors. 2022-02-24 11:40:25 +11:00
warrickct 08ba24c3c9 refactoring 2022-02-24 10:17:17 +11:00
warrickct 2b42290bca Fixing case where restoring device restores declined message requests. 2022-02-23 20:19:47 +11:00
warrickct 9338f2fc20 Fixed issue preventing approval message being shown as approval was set before handling config messages ending the handling early. 2022-02-23 15:35:31 +11:00
warrickct ba30dc57c2 Adding conditional to prevent adding multiple approval sync messages for the acceptor of the request. 2022-02-23 14:08:34 +11:00
warrickct a90960c502 Fix conditional for config message to avoid false negatives. 2022-02-22 11:39:52 +11:00
warrickct e5ecb9c106 Adding checks for potentially undefined fields on config messages to prevent false negatives. 2022-02-22 10:08:51 +11:00
warrickct f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 2022-02-17 22:05:13 +11:00
warrickct abc188e889 Additional PR changes 2022-02-15 15:00:23 +11:00