Commit Graph

353 Commits (e1f2393c3a89ba354eadcb6a6b3d4fc2823f8ef8)

Author SHA1 Message Date
Audric Ackermann 73d36c9769
send hangup event on datachannel to close video stream quicker
on the recipient side too
4 years ago
Audric Ackermann 25910be0fd
do not display the reveal seed banner if user just used it 4 years ago
Audric Ackermann 390af96514
WIP 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
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
4 years ago
Audric Ackermann d50d7eb803
our video off => show our avatar 4 years ago
Audric Ackermann dd281de903
cleanup feature flags 4 years ago
Audric Ackermann 5d9565a559
fix menu action for unsending messages 4 years ago
Warrick Corfe-Tan e405b5ffd9 git stash 4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 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 99b139f5c4
split settings folder and start adding the settings for video call 4 years ago
Audric Ackermann ae8688bf2a
cleanup UI for missed call messages in msg list 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
Audric Ackermann 30a234158f
lint 4 years ago
Audric Ackermann cade0ffeb6
make sure audio locally is muted so we do not hear ourselves 4 years ago
Audric Ackermann ce79ce1f8b
add buttons with popover to choose call src device 4 years ago
Audric Ackermann a629985a4f
fix toggling input source and off in video calls 4 years ago
Audric Ackermann fbd51c2974
add buttons to display list of inputs + toast on empty 4 years ago
Audric Ackermann b85425ff83
make a draggable or in conversation call container 4 years ago
Audric Ackermann 4277c29bd8
make sure to refetch messageModel from db when saving attachments 4 years ago
Audric Ackermann 1e8c8991ad
more cleanup 4 years ago
Warrick Corfe-Tan 1522e5102d removed isCall property from message. Fixed text 4 years ago
Warrick Corfe-Tan 0b8f3255b0 corrections to pass yarn ready 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
Warrick Corfe-Tan 8985d1ff19 WIP perfect negotiations 4 years ago
Warrick Corfe-Tan 5becf6be04 Merge branch 'webrtc-calls' of https://github.com/oxen-io/session-desktop into webrtc-calls 4 years ago
Audric Ackermann c54f63ab45
add listener for video calls events 4 years ago
Warrick Corfe-Tan c777a27d5b WIP: Adding checks for perfect negotiation webrtc 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
Audric Ackermann 6c50ec4bf1
link accept/decline and endcall buttons to the webrtc background 4 years ago
Audric Ackermann 2e49c44536
video stream displayed on mobile 4 years ago
Audric Ackermann eb6d8727ba
WIP 4 years ago
Audric Ackermann d55c96cb67
setup webrtc between two pubkey 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 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
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 a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 4 years ago
Brice-W a89c6710fb Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 4 years ago
Brice-W 68979f83d5 Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 4 years ago
Brice-W 384eecd9dc allow receiving link previews when sending is disabled 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
audric c83776e510 fix the log file space usage on path building error
the issue seems to be coming from the fact that we need at least
minSnodePool count snodes to build a path reliably.
4 years ago
audric 612e99af4a add a setting to start the app with a tray icon
Relates #1759
4 years ago
audric 61b48dd06b move delete_all api call to snodeAPI.ts 4 years ago
audric c276bf8dbe fix delete_all endpoint for testnet 4 years ago
audric 9991dc2364 move delete account logic to it's own dialog 4 years ago
Audric Ackermann e43e9df8e0 make sure forceDelete network data returns malicious snodes 4 years ago
Audric Ackermann 3dd1a534d3 fix delete all on network request 4 years ago
audric 67c2124a3b do not try to fetch seed node data with ip as cert will not be valid 4 years ago
audric ab8b6e85b4 Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 4 years ago
audric bea704ecf0 bump react to 17 4 years ago
Warrick Corfe-Tan f087937f6f WIP debugging network deletion failing. 4 years ago
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 4 years ago
Warrick Corfe-Tan ec447b2e2e network clear all WIP 4 years ago
Audric Ackermann 506a0b2927
fix profileKey share in config message for base64 profileKey 4 years ago
Warrick Corfe-Tan 2e5ffc3196 wip delete all network message. 4 years ago
audric 316f37ae3d fix a bug of attachment not loading in one to one chats 4 years ago
audric fce86989f0 make sure profileKey is a hex string in all convos 4 years ago
audric e69873d6ba fix link preview url onClick
Fixes https://github.com/oxen-io/session-android/issues/669
4 years ago
audric bfc4b2b720 lint 4 years ago
audric c2b5ac68d6 don't rely on scrollheight to calculate for ui Updates
as it causes a layout complete refresh
4 years ago
audric e72885944b use selector to sort and add first of serie flag 4 years ago
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 4 years ago
Audric Ackermann 7f76ab274c
added a hook to fetch avatar of closed group members 4 years ago
Audric Ackermann a0afd3efe4
add some performance measure for commit calls 4 years ago
Audric Ackermann ef0b07bb7a
WIP 4 years ago
Audric Ackermann 19555b99a0
Merge pull request #1723 from Bilb/poll-less-often-group-not-active
Poll less often group not active
4 years ago
Audric Ackermann bab0a94e0d
make moderator strings add/remove error more explicit 4 years ago
Audric Ackermann 4a491e6a6a
lint 4 years ago
Audric Ackermann 712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton 4 years ago
Audric Ackermann 9e5d33d849
trigger download for past messages when trusting contact 4 years ago
Audric Ackermann e9e718bfcb
remove getInstance on MessageController=> getMessageController 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Audric Ackermann 09d9db38e8
move taskWithTimeout to typescript 4 years ago
Audric Ackermann c5287158c4
merge protobuf attachment and preview types 4 years ago
Audric Ackermann c1225b3a74
made some timestamp required in the protobuf 4 years ago
Audric Ackermann 0a208c0d15
store snodes list on db, use them if possible on app start
if not enough snodes or no snodes at all, a request to the seed node is
made instead
4 years ago
Audric Ackermann 10b5ff9e0d
fix deleteAuthToken by including it on the request 4 years ago
Audric Ackermann ecf409bed5
fix slow app while removing v1 convoss 4 years ago
Audric Ackermann d44c55b6af
WIP 4 years ago
Audric Ackermann d0c1a2bf3a
add ONS resolve for new ONS and loading on message overlay 4 years ago
Audric Ackermann 3456162402
Moved opengroupv1 test to opengroupv2 tests 4 years ago
Audric Ackermann b15eeb00cd
fixup duration missing 4 years ago
Audric Ackermann 637e092a00
make sure fileserver v1 is not supported and not used anymore 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann 8cb50ebc91
move onionPath building to outside of index.ts 4 years ago
Audric Ackermann 58abd08e6d
Get snode from snode (#1614)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo
4 years ago
Audric Ackermann 248494f15b
redesign group invitation message type 4 years ago
Audric Ackermann c063848167
pad and unpad message everywhere
attachment not padded for opengroup only
4 years ago
Audric Ackermann 7b96aba1bf
padd Message buffer for all outgoing messages (even opengroupv2) 4 years ago
Audric Ackermann bc4bee6270
hide some logs 4 years ago
Audric Ackermann 5525312542
syncConf every 7 days and fix link device 4 years ago
Audric Ackermann 2b576de2cd
allow fileserverv2 attachments to be downloaded, upload disabled 4 years ago