Commit Graph

153 Commits (a7324a8d84d2eea9c9f28298659c7849692a3202)

Author SHA1 Message Date
Audric Ackermann 0fa58a5654 chore: fix compilation issues after conflicts resolution 2 years ago
Audric Ackermann 5a5f069cca fix: add tracking of expiration timer for nts through libsession 2 years ago
Audric Ackermann db9fa14213 fix: don't update state on updates already included in our syncmessage 2 years ago
Audric Ackermann 2068737cdd fix: break down deleteContact based on convo type 2 years ago
Audric Ackermann 7b42c64cf3 fix: make sure to include the associatedWith to handle 421 2 years ago
Audric Ackermann 0cbcecb508 fix: make avatar download job only take conversationId
and not the profileKey+url too as we need the db entry to be in sync
with the config wrapper data (otherwise the next commit would be made
with data out of date from the wrapper side)
2 years ago
Audric Ackermann 6676bf77f9 chore: fix unit tests for userconfig changes 2 years ago
Audric Ackermann 6ac4dd8db5 fix: linking allows legacy config message if one is found 2 years ago
Audric Ackermann 4d0e79f195 fix: legacy group with wrapper and disable right click while searching 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 760ce5caa5 fix: add the maxSizeMap to have priority per retrieve namespaces 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
Audric Ackermann bac2887c28 fix: update with latest libsession util 2 years ago
Audric Ackermann 318a77be4b fix: mark messages sent before our lastreadts from the wrapper as read 2 years ago
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 2 years ago
Audric Ackermann 8edb1275c2 fix: keep updating dumps even if user config feature is off 2 years ago
Audric Ackermann ce186517a3 chore: lint code 2 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann 0080254286 fix: add NoticeBanner showing when legacy config message received 2 years ago
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
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
2 years ago
Audric Ackermann 760642e149 feat: use the lastJoinedAt and createdAt from the wrapper 2 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2 years ago
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.
2 years ago
Audric Ackermann fe5eea4c8d chore: fix critical yarn audit issues 2 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2 years ago
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 2 years ago
Audric Ackermann 0050352470 chore: move selected convo selectors to another file 2 years ago
Audric Ackermann c3e9d503e4 fix: unread count and forced unread is synced 2 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann 21d8151b8b feat: add convo volatile info mgmt 2 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 2 years ago
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2 years ago
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 2 years ago
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2 years ago
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann b2237efe51 feat: insert all contacts into wrapper before syncing it 2 years ago
Audric Ackermann f215535f75 fix: set and get profile picture from libsession 2 years ago
Audric Ackermann 6bbb16b46d feat: track and delete configMessageHashes 2 years ago
Audric Ackermann 7c56310e69 feat: addConfSyncJob start 2 years ago
Audric Ackermann 4bfcf91193 fix: add return types for libsession wrapper functions 2 years ago
Audric Ackermann 08a15b210a feat: move avatar downloading to JobRunner 2 years ago
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 2 years ago
Audric Ackermann d1cefd4729 feat: add contacts & user profile handling of incoming messages 2 years ago
Audric Ackermann 0f58e11a17 chore: update with latest libsession wrapper 2 years ago
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
3 years ago
Audric Ackermann 00d70db0be
queue user profile avatars update
also add some tests for the promise utils
3 years ago
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann 602a287263
join closed groups from config only on the first config message 3 years ago
warrickct 3424fa88e8 Remove typing for blocklist on window. Minor formatting 3 years ago
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. 3 years ago
warrickct b79be5b502 adding linting fixes. 3 years ago
warrickct 5adca482bd Fix open groups not being restored when restoring device from recovery phrase. 3 years ago
warrickct 451fb351a3 removing comments 3 years ago
warrickct e4f4328232 rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted. 3 years ago
warrickct c2722ed87f fixing linting errors. 3 years ago
warrickct 08ba24c3c9 refactoring 3 years ago
warrickct 2b42290bca Fixing case where restoring device restores declined message requests. 3 years ago
warrickct 9338f2fc20 Fixed issue preventing approval message being shown as approval was set before handling config messages ending the handling early. 3 years ago
warrickct ba30dc57c2 Adding conditional to prevent adding multiple approval sync messages for the acceptor of the request. 3 years ago
warrickct a90960c502 Fix conditional for config message to avoid false negatives. 3 years ago
warrickct e5ecb9c106 Adding checks for potentially undefined fields on config messages to prevent false negatives. 3 years ago
warrickct f5972a5d1c Calling setting convo isApproved. Removing some unnecessary conditionals. 3 years ago
warrickct abc188e889 Additional PR changes 3 years ago
warrickct 0db3c76756 Fixing linting errors 3 years ago
warrickct ac8c4ac2eb Removing msg req feature flag. 3 years ago
warrickct 8a8a5ca82c removing pubkey from message request response. 3 years ago
warrickct 11e6d80419 minor renaming. 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 3 years ago
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
3 years ago
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
3 years ago
warrickct e32f20d8bc PR changes 3 years ago
warrickct b5df47c2b8 Addressing PR comments 3 years ago
warrickct 726418887c Addressing PR comments 3 years ago
warrickct 3602b51986 Fixing up block all logic. 3 years ago
warrickct 2144a3980f Linting and formatting. 3 years ago
warrickct 23ca19b125 Only updating approval when it is a true value as we consider a block a decline. 3 years ago
warrickct 9c9a43ee97 Adding improvements to message request handling. 3 years ago
warrickct 40396224dc adding feature flag for config message receiving 4 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 4 years ago
Warrick Corfe-Tan 6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
4 years ago
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 4 years ago
Warrick Corfe-Tan 4ad14e4c5b Added syncing accepting of contact between running instances. 4 years ago
audric fce86989f0 make sure profileKey is a hex string in all convos 4 years ago
Audric Ackermann f0db797a9a
fix loading of messages props 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
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
4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann c77b24a2d4
fix avatar loading for opengroupv2 4 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann c07271109f
Add a ConversationType OPEN_GROUP 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Audric Ackermann 95e1d7983f
be sure make contacts appear on left pane on configMessage handling 4 years ago
Audric Ackermann 8d45ea2742
do not unlock signin by linking if the displayName got is empty 4 years ago
Audric Ackermann 78257037bb
restoreFromSeed restores groups from first configMessage got 4 years ago