Commit graph

225 commits

Author SHA1 Message Date
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
2021-11-29 17:40:46 +11:00
warrickct e32f20d8bc PR changes 2021-11-26 13:20:03 +11:00
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 2021-11-24 16:25:07 +11:00
warrickct b5df47c2b8 Addressing PR comments 2021-11-24 13:36:51 +11:00
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +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
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 2021-11-19 10:49:05 +11:00
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 2021-11-16 13:46:59 +11:00
warrickct e5a203a48e adding setting of active_at to hide unapproved messages. 2021-11-16 13:09:44 +11:00
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 2021-11-15 14:48:03 +11:00
Warrick Corfe-Tan cb5551c1e9 PR changes 2021-11-14 22:38:07 +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
Audric Ackermann 29c187c6a0
add a notification on incoming call + an audio playing 2021-11-09 17:25:25 +11:00
Audric Ackermann ef25e5956f
add a spinner for when video call video is loading 2021-11-08 14:09:50 +11:00
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 2021-11-08 11:03:08 +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 Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Warrick Corfe-Tan dcfa286d77 WIP: fixing missing spaces for list items that have been removed. 2021-10-22 12:12:59 +11:00
Warrick Corfe-Tan c3f20aceb2 WIP message requesting. Banner styling finished. 2021-10-20 17:49:14 +11:00
Audric Ackermann 8f3b6d9ab2
add wip of call missed notification 2021-10-18 15:38:49 +11:00
Audric Ackermann 844d3befef
tiny changes on the unsend logic 2021-10-15 11:53:44 +11:00
Warrick Corfe-Tan 123e68c167 WIP: Adding message requests using existing convo list item. 2021-10-15 10:19:45 +11:00
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 2021-09-23 13:37:38 +10:00
Warrick Corfe-Tan a1601b039e Adding call to convo header menu 2021-09-22 17:04:15 +10:00
Warrick Corfe-Tan 5d4d63c76d Adding partial UI for calls. 2021-09-22 15:44:15 +10:00
Audric Ackermann efebd8ba24
bump to 1.7.2 (#1926)
* 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

* bump to 1.7.2
2021-09-20 13:52:59 +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 bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
audric 62764d25f6 showDate break on > 5 minutes diff between messages 2021-08-31 11:29:33 +10:00
audric 714024fb1f fix notification icons 2021-08-26 16:25:14 +10:00
audric 7fa50b4a73 do not pass props not needed between message list components 2021-08-26 16:17:37 +10:00
audric 38665e105a remove search messages frpm search result 2021-08-25 16:19:26 +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
audric 7b93d5df9a fix caption for attachments not displayed once sent 2021-08-20 10:20:23 +10:00
audric de1475b3bb fix slow sending of opengroup message 2021-08-20 09:31:35 +10:00
Audric Ackermann a3edb99549
Merge pull request #1856 from Bilb/fix-attachment-since-electron-upgrade
Fix attachment since electron upgrade
2021-08-18 10:00:33 +10:00
audric 8a19b50c0f fix attachment not being uploaded since electron upgrade 2021-08-17 16:03:57 +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
audric 43aeacb9c9 fix saving empty list of read messages error 2021-08-13 11:58:05 +10:00
Brice-W 384eecd9dc allow receiving link previews when sending is disabled 2021-08-12 15:58:41 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 1eb2e59d62 amke sure to reset link previews when replacing the text in composition 2021-08-10 15:47:55 +10:00
audric b05910e219 Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 2021-08-04 10:55:29 +10:00
audric bea704ecf0 bump react to 17 2021-08-04 10:52:24 +10:00
Audric Ackermann f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
Bug fixes
2021-08-02 21:50:38 -07:00