Commit Graph

2200 Commits (445852eca18eb64bc020ebd071a3302448b80411)

Author SHA1 Message Date
warrickct 043c2fa99f fixing merge conflicts 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 2144a3980f Linting and formatting. 3 years ago
warrickct 9c9a43ee97 Adding improvements to message request handling. 3 years ago
Audric Ackermann e716f73d6c
mute audio from bg when video is in fullscreen
this is to avoid having two times the remote sound playing
one in the bg and one in the fullscreen
3 years ago
Audric Ackermann a4daabfa75
add a way to choose the audioouput/mute a webrtc call 3 years ago
warrickct 2e2941ba9b message request refactoring. 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 3 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 3 years ago
Audric Ackermann 453d260d5c
Merge pull request #2027 from Bilb/fix-netwokr-switching
Fix network switching with ongoing webrtc calls
3 years ago
Audric Ackermann 1203f1dc48
remove none state on callState. instead set it to undefined 3 years ago
Audric Ackermann b8d5a1c166
disable audio output switching as this is broken for now 3 years ago
Warrick Corfe-Tan cb5551c1e9 PR changes 3 years ago
Audric Ackermann af7cdfc4b4
Merge pull request #2024 from Bilb/setup-test-playwright
Webrtc calls caller UI +  playwright setup
3 years ago
Audric Ackermann 6625b7c7b6
calls fix cross platforms issue with uuid 3 years ago
Warrick Corfe-Tan 690abb9d52 adding simple PR changes requested. 3 years ago
Warrick Corfe-Tan 6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
3 years ago
Audric Ackermann 8c9832f118
add a toggle audio output button 3 years ago
Audric Ackermann 25c7a2febd
data extraction notification on a line rather than a column 3 years ago
Audric Ackermann cca1b4dabe
add a button to start a video call 3 years ago
Audric Ackermann ef25e5956f
add a spinner for when video call video is loading 3 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 3 years ago
Audric Ackermann 3741e96c61
show input toggles in fullscreen mode too 3 years ago
Audric Ackermann 9951d7947b
topright position for initial draggable call container 3 years ago
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 3 years ago
Audric Ackermann bfe8f973b5
Merge pull request #1995 from ianmacd/pr3
Make the [Home] and [End] keys scroll the conversation.
3 years ago
Audric Ackermann 16ab506eb6
double click on message replies to
Relaes #2006
3 years ago
Audric Ackermann 57449857f6
reject call after 1 minute showing the dialog 3 years ago
Audric Ackermann 4700a0c832
allow to hangup even if current call should already be closed 3 years ago
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 3 years ago
Audric Ackermann 27e87edac2
add a ringing and establishing connection label video calls 3 years ago
Audric Ackermann dd25d9cb7f
fix flickering of video stream on mute/unmute 3 years ago
Audric Ackermann 8618cf75e9
send and handle uuid for multi device calls 3 years ago
Audric Ackermann 864d710460
add a handle to resize the inconvo call video 3 years ago
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 3 years ago
Audric Ackermann 1f11872870
set fullscreen off when remote stream is muted 3 years ago
Audric Ackermann 25910be0fd
do not display the reveal seed banner if user just used it 3 years ago
Audric Ackermann 390af96514
WIP 4 years ago
Audric Ackermann 03d8a233f4
update fullscreen icon 4 years ago
Audric Ackermann 331dd8edfa
allow fullscreen and add svg fullscreen icon 4 years ago
Audric Ackermann a0b33fbbbb
add hook to listen for video call events 4 years ago
Warrick Corfe-Tan 4ad14e4c5b Added syncing accepting of contact between running instances. 4 years ago
Ian Macdonald a32f946332
Make the [Home] and [End] keys scroll the conversation.
[End] will scroll to the end of the current conversation, because the
latest message is always available.

[Home], however, will scroll only to the top of the currently loaded
messages, triggering earlier messages to load. Multiple presses of
[Home] are therefore required to get to the start of the conversation.
4 years ago
Audric Ackermann dfa04c68f4
fix emoji click on button while open closes it
Fixes #1980
4 years ago
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
4 years ago
Audric Ackermann a45f5f520a
incoming call dialog show avatar + caller name 4 years ago
Audric Ackermann d50d7eb803
our video off => show our avatar 4 years ago
Audric Ackermann 5b57e01186
make sure click to trust sender renders without new lines 4 years ago
Audric Ackermann df5872a5c7
disable settings for video call if featureflag is off 4 years ago
Audric Ackermann dd281de903
cleanup feature flags 4 years ago
Warrick Corfe-Tan d57300688e no longer showing empty space for conversations moved from list. 4 years ago
Warrick Corfe-Tan 116cb25b27 fix icon position 4 years ago
Warrick Corfe-Tan 84e12ff42f Alter request button item positioning. 4 years ago
Warrick Corfe-Tan b6c1578262 WIP message request adding todo note. 4 years ago
Warrick Corfe-Tan e405b5ffd9 git stash 4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 4 years ago
Warrick Corfe-Tan dcfa286d77 WIP: fixing missing spaces for list items that have been removed. 4 years ago
Audric Ackermann 0ae23875b7
finish cleaning up Settings page 4 years ago
Audric Ackermann a596531c57
cleanup SessionSettings by making them less a IdoEverything 4 years ago
Audric Ackermann f74ce2a3ae
msg with attachments gets no bigger than the attachment container 4 years ago
Audric Ackermann 251309656b
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls-p2 4 years ago
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 4 years ago
Warrick Corfe-Tan c3f20aceb2 WIP message requesting. Banner styling finished. 4 years ago
Audric Ackermann 55313deb91
add a show user details option in the menu
Fixes #1971
4 years ago
Audric Ackermann 5c7615d205
removed old fileserver support 4 years ago
Audric Ackermann ae8688bf2a
cleanup UI for missed call messages in msg list 4 years ago
Audric Ackermann bd45f47a2b
Merge pull request #1977 from Bilb/link-pgup-down-on-message-list
Link pgup down on message list
4 years ago
Audric Ackermann a03f890689
Merge pull request #1976 from Bilb/convo-item-avatar-click-open-user-details
Convo item avatar click open user details
4 years ago
Audric Ackermann 9872a33f85
Merge pull request #1975 from Bilb/allow-hiding-note-to-self
Allow hiding note to self
4 years ago
Audric Ackermann 80aa672034
link pgup and down in messages list
Fixes #1919
4 years ago
Audric Ackermann 8446075bb1
convo list click on avatar open user details
Relates #1971
4 years ago
Audric Ackermann 1eff39c3ba
allow removing note to self contact
this does not actually remove it as we need it for our avatar and
stuffs.

Fixes #1973
4 years ago
Audric Ackermann 8e6d9ca036
Merge pull request #1969 from Bilb/webrtc-calls
Webrtc video calls - first part - disabled
4 years ago
Audric Ackermann 8f3b6d9ab2
add wip of call missed notification 4 years ago
Audric Ackermann 678a5bcb3b
center avatar in draggable video window and handle mute video events 4 years ago
Audric Ackermann ecceaeaa8f
got datachannel working 4 years ago
Audric Ackermann 0bfa41c7b8
switch to our turn servers 4 years ago
Warrick Corfe-Tan 123e68c167 WIP: Adding message requests using existing convo list item. 4 years ago
Audric Ackermann 13d828c02c
split up calling container logic 4 years ago
Audric Ackermann 30a234158f
lint 4 years ago
Audric Ackermann 87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls 4 years ago
Audric Ackermann cade0ffeb6
make sure audio locally is muted so we do not hear ourselves 4 years ago
Audric Ackermann 3a864b16ca
cosmetic changes for calling buttons 4 years ago
Audric Ackermann ce79ce1f8b
add buttons with popover to choose call src device 4 years ago
Audric Ackermann fbd51c2974
add buttons to display list of inputs + toast on empty 4 years ago
Warrick Corfe-Tan 04e0023d38 fix import warning 4 years ago
Warrick Corfe-Tan 1fe6b61308 Re-adding code that wasn't commited. Adding button for debug log in settings. 4 years ago
Audric Ackermann b85425ff83
make a draggable or in conversation call container 4 years ago
Audric Ackermann b05afc7c3f
make click outside of lightbox close the lightbox 4 years ago
Warrick Corfe-Tan 5eba4a616e Removing at regex test preventing some urls from rendering as links. 4 years ago
Audric Ackermann 32955c9ed5
allow sessioncomposition box to grow bigger 4 years ago
Audric Ackermann 3f1e55b787
add basic code markup 4 years ago
Audric Ackermann 1e8c8991ad
more cleanup 4 years ago
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
4 years ago
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 4 years ago
Audric Ackermann c54f63ab45
add listener for video calls events 4 years ago
Audric Ackermann 94bc3da2c7
working video calls accept with real streaming with android 4 years ago
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 4 years ago
Warrick Corfe-Tan a1601b039e Adding call to convo header menu 4 years ago
Audric Ackermann 6c50ec4bf1
link accept/decline and endcall buttons to the webrtc background 4 years ago
Warrick Corfe-Tan 5d4d63c76d Adding partial UI for calls. 4 years ago
Audric Ackermann 76100903cb
show ip of onion path on hover of country name 4 years ago
Audric Ackermann 0382d703c5
Merge pull request #1929 from ianmacd/pr1
Display the service node's IP address after its country.
4 years ago
Audric Ackermann 0afb3db604
Merge pull request #1933 from warrickct/add-survey
Adding survey button to settings menu.
4 years ago
Ian Macdonald 14bcbe4ab6
Display the service node's IP address after its country. 4 years ago
Audric Ackermann 4e30614077
disable unsend request on the UI for now (#1934)
* disable unsend request on the UI too

* do not stop propagation of events for message ctx menu
4 years ago
Warrick Corfe-Tan daae55d62c Adding survey button to settings menu. 4 years ago
Audric Ackermann 15ac6ed23c
Merge remote-tracking branch 'upstream/master' into clearnet 4 years ago
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
4 years ago
Audric Ackermann e3c27f1016
fix reply for incoming messages (#1930) 4 years ago
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>
4 years ago
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
4 years ago
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
4 years ago
Audric Ackermann e9dfa0704f
do not overwrite sent_at with network time for synced messages (#1921)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent
4 years ago
Audric Ackermann 2e0cf0bca9
Fix video play lightbox autostart (#1920)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen

* Fix video autoplay start when not initialized

Relates #1904
4 years ago
Audric Ackermann 525f9dcfb2
Fix today for translated date break (#1915)
* 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

* Fixs date break translations of today etc

Relates #1913
4 years ago
Audric Ackermann ab75f945ff
Ask confirm before delete account (#1910)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
4 years ago
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
4 years ago
Audric Ackermann a1f5706fea
disable sending on enter while composing (#1909)
Fixes #1899 #1497
4 years ago
Audric Ackermann 797bf0650f
Session 1.7.1 (#1908)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* Fix path building (#1903)

* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
4 years ago
Audric Ackermann c92baad736
Fix path building (#1903)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
4 years ago
audric 7c49c51cf8 make outgoing status align flex-end 4 years ago
audric bfc805c9d4 fix search logic and UI cosmetic fixes 4 years ago
audric bf02b85043 finish rework registration page 4 years ago
audric ba35a8cb24 update design of registration page 4 years ago
audric 56412df2b4 fixup registration page with back buttons for now
Relates #1889
4 years ago
audric 0d90248450 fix scrolling jumping to bottom on new messages 4 years ago
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 4 years ago
audric bd7d88e170 remove theme from css and used variables instead 4 years ago
audric 350f00283b move tsx and theme to css variables part1 4 years ago
audric 62764d25f6 showDate break on > 5 minutes diff between messages 4 years ago
audric a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 4 years ago
audric a53392853f make the CompositionBox closer to the mobile UI 4 years ago
audric e85f351540 cleanup theme object 4 years ago
audric 8ebcb2d1e1 replace SessionIcon size enum with type 4 years ago
audric 1048042f7d fix attachment pre-decrypting when out of view 4 years ago
audric cdd11eee47 speed up attachment loading by only loading those inview 4 years ago
audric a986931569 make attacments the same size that they are displayed on the UI 4 years ago
audric 2e9cd0ada6 add date break with full date when older than a week 4 years ago
audric 2825b66ef6 add screen break for jump in messages timestamp 4 years ago
audric 40566a58a4 moved the unread indicator to outside of message items 4 years ago
audric 985a5d92bc do not show search input if we only got a single conversation 4 years ago
audric 714024fb1f fix notification icons 4 years ago
audric 7fa50b4a73 do not pass props not needed between message list components 4 years ago
audric 38665e105a remove search messages frpm search result 4 years ago
audric 4968244491 fix tooltip error in debug run related to memory leak 4 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 4 years ago
audric ee4ed2e075 fix attachment logic with ui redesign 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago