Commit Graph

243 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 4576f3cb32 Merge branch 'clearnet' into message-requests 2021-11-24 16:25:07 +11:00
Audric Ackermann 8fea533124
darken a bit the green of sent message box in light theme 2021-11-23 09:50:17 +11:00
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
warrickct 9c9a43ee97 Adding improvements to message request handling. 2021-11-22 15:48:12 +11:00
Audric Ackermann d5f6180ae6
create offer and answer ourselves and do not use the negotiation needed
event.

this event is causing us to loop in negotiation needed when each side
try to create one, gets the answer and so on...
2021-11-22 14:36:02 +11:00
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 2021-11-19 10:49:05 +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 690abb9d52 adding simple PR changes requested. 2021-11-12 13:49:19 +11:00
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 2021-11-08 11:03:08 +11:00
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
2021-10-28 16:10:28 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann a596531c57
cleanup SessionSettings by making them less a IdoEverything 2021-10-21 17:08:38 +11:00
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 2021-10-21 13:18:50 +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
Warrick Corfe-Tan 123e68c167 WIP: Adding message requests using existing convo list item. 2021-10-15 10:19:45 +11:00
Audric Ackermann 94bc3da2c7
working video calls accept with real streaming with android 2021-09-23 14:50:24 +10:00
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 2021-09-23 13:37:38 +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 945ecf34a1
Fix select colors for sent messages and link text not selectable (#1924)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent

* Allow scrolling in mentioning people in composition box

Relates #1849

* fix selection colors for sent messages and make link selectable

Relates #1922
2021-09-17 11:36:46 +10:00
Audric Ackermann 25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
2021-09-16 14:34:02 +10:00
audric bfc805c9d4 fix search logic and UI cosmetic fixes 2021-09-03 16:47:04 +10:00
audric 56412df2b4 fixup registration page with back buttons for now
Relates #1889
2021-09-02 15:08:39 +10:00
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 2021-09-01 15:25:34 +10:00
audric bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
audric 350f00283b move tsx and theme to css variables part1 2021-08-31 13:58:34 +10:00
audric e85f351540 cleanup theme object 2021-08-30 14:26:58 +10:00
audric 40566a58a4 moved the unread indicator to outside of message items 2021-08-27 11:38:02 +10:00
audric 7fa50b4a73 do not pass props not needed between message list components 2021-08-26 16:17:37 +10:00
audric ea2dbb4a69 onionpath status only has ip needed 2021-08-25 16:51:40 +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
Warrick Corfe-Tan 48b4aab63c applying PR fixes. 2021-08-18 11:17:42 +10:00
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 2021-08-18 11:14:06 +10:00
audric 6a11a4c879 store staged Attachments in redux
still an issue with the File in redux
2021-08-18 09:55:35 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
Warrick Corfe-Tan d13a6824ee running yarn ready 2021-08-12 09:24:52 +10:00
Warrick Corfe-Tan b0a8c6c3eb wip: adding recovery phrase prompt. 2021-08-12 09:23:47 +10:00
audric abbd0a84a9 increase timeout for snode api requests (mainly for attachment upload)
Relates #1774
2021-08-09 12:23:56 +10:00
audric e2c26e9819 add basic draft support (text only)
Relates #1791
2021-08-09 12:17:57 +10:00
audric 79c8fada6e move all dialogs to a subfolder 2021-08-06 11:09:14 +10:00
audric 9991dc2364 move delete account logic to it's own dialog 2021-08-06 10:59:32 +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
Brice-W f7c7d6a3d8 change source of MessageAttributesOptionals to not null 2021-08-03 14:31:06 +10:00