Commit graph

790 commits

Author SHA1 Message Date
Audric Ackermann
1e8c8991ad
more cleanup 2021-10-04 10:56:54 +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
Warrick Corfe-Tan
8985d1ff19 WIP perfect negotiations 2021-09-27 15:56:37 +10:00
Warrick Corfe-Tan
5becf6be04 Merge branch 'webrtc-calls' of https://github.com/oxen-io/session-desktop into webrtc-calls 2021-09-27 14:35:11 +10:00
Audric Ackermann
c54f63ab45
add listener for video calls events 2021-09-27 13:57:31 +10:00
Warrick Corfe-Tan
c777a27d5b WIP: Adding checks for perfect negotiation webrtc 2021-09-27 09:16:53 +10: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
Audric Ackermann
6c50ec4bf1
link accept/decline and endcall buttons to the webrtc background 2021-09-22 16:31:00 +10:00
Audric Ackermann
2e49c44536
video stream displayed on mobile 2021-09-22 15:49:59 +10:00
Audric Ackermann
eb6d8727ba
WIP 2021-09-22 13:30:21 +10:00
Audric Ackermann
d55c96cb67
setup webrtc between two pubkey 2021-09-22 11:55:30 +10:00
Audric Ackermann
a538cac491
add callmessage typescript class 2021-09-21 11:35:00 +10:00
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
2021-09-20 17:00:54 +10:00
Audric Ackermann
15ac6ed23c
Merge remote-tracking branch 'upstream/master' into clearnet 2021-09-20 14:00:52 +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
2fdafb8fba
Out of sync message sync (#1923)
* 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
2021-09-17 11:36:36 +10:00
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
2021-09-17 10:38:27 +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 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
2021-09-13 18:05:49 +10:00
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
2021-09-13 17:07:53 +10:00
audric
ffe8375dd1 fix build of onion path when snodes count is exactly 12 2021-09-06 14:35:10 +10:00
audric
8462d7d38e make encrypted content fast load if already stored decrypted 2021-09-02 10:33:42 +10:00
audric
a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 2021-08-30 17:57:31 +10:00
audric
cdd11eee47 speed up attachment loading by only loading those inview 2021-08-27 16:57:29 +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
ec2eab6e23 do not trigger redux update if onion path did not change 2021-08-25 16:18:53 +10:00
audric
f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Audric Ackermann
ca96795683
Merge pull request #1869 from Bilb/logs-pn-server
Add logs of PN server notify fails
2021-08-19 13:46:03 +10:00
audric
68330b42bf Add logs of PN server notify fails 2021-08-19 13:20:31 +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
6a50484597 fix tests for swarm polling 2021-08-13 14:51:15 +10:00
audric
e5dab2781e remove spectron dependency 2021-08-13 14:47:00 +10:00
audric
8344c48d88 handle offline status for selectGuardNodes stuff 2021-08-13 11:49:45 +10:00
Brice-W
68979f83d5 Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 2021-08-12 16:01:43 +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
1ffadad2ad remove ip_url from seed nodes as this is unused 2021-08-12 14:24:20 +10:00
audric
215f2227c1 move what is used only for PN server api call to pnserver.ts 2021-08-12 14:18:03 +10:00
audric
cc4168a858 do not update last fetch timestamp when an exception for retrieve 2021-08-12 11:48:55 +10:00
audric
01ff290f85 fix tests 2021-08-11 09:35:24 +10:00
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.
2021-08-10 16:51:05 +10:00
audric
612e99af4a add a setting to start the app with a tray icon
Relates #1759
2021-08-10 11:57:27 +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
e9412df60e fix lint and steal autofocus on registration to seed 2021-08-06 15:59:38 +10:00
audric
2ebae9a746 fix tests for variable swarm polling 2021-08-06 14:04:21 +10:00