Commit graph

62 commits

Author SHA1 Message Date
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
warrickct
0db3c76756 Fixing linting errors 2022-02-15 13:59:58 +11:00
warrickct
ac8c4ac2eb Removing msg req feature flag. 2022-02-14 09:57:43 +11:00
warrickct
8a8a5ca82c removing pubkey from message request response. 2022-02-11 14:47:24 +11:00
warrickct
11e6d80419 minor renaming. 2022-02-10 22:26:55 +11:00
warrickct
d627b8e11d Requesting flow working with sending message as acceptance. 2022-02-10 16:49:56 +11:00
Audric Ackermann
28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
2021-12-14 15:15:12 +11:00
Audric Ackermann
48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
2021-12-08 14:15:54 +11:00
warrickct
e32f20d8bc PR changes 2021-11-26 13:20:03 +11:00
warrickct
b5df47c2b8 Addressing PR comments 2021-11-24 13:36:51 +11:00
warrickct
726418887c Addressing PR comments 2021-11-24 09:32:07 +11:00
warrickct
3602b51986 Fixing up block all logic. 2021-11-23 11:00:11 +11:00
warrickct
2144a3980f Linting and formatting. 2021-11-22 16:48:30 +11:00
warrickct
23ca19b125 Only updating approval when it is a true value as we consider a block a decline. 2021-11-22 16:18:19 +11:00
warrickct
9c9a43ee97 Adding improvements to message request handling. 2021-11-22 15:48:12 +11:00
warrickct
40396224dc adding feature flag for config message receiving 2021-11-16 14:40:52 +11:00
warrickct
2eab74246b PR changes. Disabling message requests behind feature flags. 2021-11-16 13:46:59 +11:00
Warrick Corfe-Tan
6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
2021-11-12 13:29:35 +11:00
Warrick Corfe-Tan
c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 2021-11-04 14:47:47 +11:00
Warrick Corfe-Tan
4ad14e4c5b Added syncing accepting of contact between running instances. 2021-10-29 10:58:40 +11:00
audric
fce86989f0 make sure profileKey is a hex string in all convos 2021-07-27 16:41:15 +10:00
Audric Ackermann
f0db797a9a
fix loading of messages props 2021-07-05 17:09:17 +10:00
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get() 2021-06-24 15:10:38 +10:00
Audric Ackermann
6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
version fetch is used to know when we have a new update
2021-05-31 11:22:37 +10:00