Commit graph

397 commits

Author SHA1 Message Date
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 2021-10-27 11:44:37 +11:00
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
2021-10-26 16:59:46 +11:00
Audric Ackermann 5d9565a559
fix menu action for unsending messages 2021-10-26 16:08:04 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann 251309656b
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls-p2 2021-10-21 13:52:20 +11:00
Audric Ackermann 5c7615d205
removed old fileserver support 2021-10-20 14:18:57 +11:00
Audric Ackermann 8e6d9ca036
Merge pull request #1969 from Bilb/webrtc-calls
Webrtc video calls - first part - disabled
2021-10-18 16:00:56 +11:00
Audric Ackermann a629985a4f
fix toggling input source and off in video calls 2021-10-14 14:12:14 +11:00
Warrick Corfe-Tan 8d75fde012 yarn ready changes 2021-10-08 13:57:25 +11:00
Warrick Corfe-Tan ff1d7cefe4 changing some code. 2021-10-08 13:33:53 +11:00
Warrick Corfe-Tan 3c7c3220a1 Marking conversation as read if received a sync message from same users other device. 2021-10-08 10:59:00 +11:00
Audric Ackermann 4277c29bd8
make sure to refetch messageModel from db when saving attachments 2021-10-04 16:13:21 +11:00
Warrick Corfe-Tan 1522e5102d removed isCall property from message. Fixed text 2021-10-01 15:13:02 +10:00
Warrick Corfe-Tan 0b8f3255b0 corrections to pass yarn ready 2021-10-01 14:06:04 +10:00
Warrick Corfe-Tan 6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
2021-10-01 13:39:47 +10:00
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 2021-09-23 13:37:38 +10:00
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 2021-09-22 11:55:30 +10:00
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
2021-09-20 13:47:59 +10:00
Audric Ackermann b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
2021-09-17 16:41:04 +10:00
Audric Ackermann b45109985c
use timestamp offset in for messages storage requests (#1892)
* add using timestamp offset from network for sending part1

* remove MessageController as we now rely on the database

* fix tests for message sending overriding timestamp
2021-09-16 14:48:46 +10:00
audric 0d90248450 fix scrolling jumping to bottom on new messages 2021-09-02 10:31:08 +10:00
audric 7fa50b4a73 do not pass props not needed between message list components 2021-08-26 16:17:37 +10:00
audric f9988119f9 major UI rewrite of messages view with redux improvements 2021-08-25 15:01:19 +10:00
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Warrick Corfe-Tan b26ec1996d yarn ready 2021-08-18 11:56:53 +10:00
Brice-W a89c6710fb Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 2021-08-16 15:10:17 +10:00
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 2021-08-16 14:46:31 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 07b6d7f6f1 fix a bug with preview of messages not being downloaded 2021-08-10 16:50:21 +10:00
Audric Ackermann f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
Bug fixes
2021-08-02 21:50:38 -07:00
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null 2021-08-03 14:31:06 +10:00
Audric Ackermann 9b98b32d1b
filter out duplicates only if they are less than 10 messages away 2021-08-03 14:15:01 +10:00
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 2021-07-30 16:12:36 +10:00
Brice-W 47e2f5726e fix group key pair cache issue 2021-07-29 16:59:29 +10:00
Audric Ackermann 06dfaa2482
always retry all emcyrption keypairs on incoming group msg 2021-07-29 16:31:35 +10:00
Audric Ackermann 12d09bc896
preload messages when switching conversation 2021-07-29 15:29:32 +10:00
Audric Ackermann f9ecfccc0a
batch UI updates of message added events 2021-07-29 13:44:38 +10:00
audric 8414aa800d fix a bug not making profile name updates in opengroup 2021-07-28 14:46:13 +10:00
audric fce86989f0 make sure profileKey is a hex string in all convos 2021-07-27 16:41:15 +10:00
audric c8f0150aaf fix unread banner position when first unread is visible 2021-07-22 12:30:01 +10:00
audric e72885944b use selector to sort and add first of serie flag 2021-07-21 17:14:14 +10:00
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 2021-07-14 10:53:03 +10:00
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 2021-07-13 14:19:06 +10:00
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Audric Ackermann 78caaa2bfd
fix tests 2021-07-12 15:22:06 +10:00
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 2021-07-09 11:45:26 +10:00
Audric Ackermann f0db797a9a
fix loading of messages props 2021-07-05 17:09:17 +10:00
Audric Ackermann 672eb91975
add types for message props and remove props function calls msg 2021-07-05 15:54:35 +10:00
Audric Ackermann 6deb97dbc0
WIP 2021-07-05 11:23:47 +10:00
Audric Ackermann a0afd3efe4
add some performance measure for commit calls 2021-07-05 10:30:33 +10:00