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
ffe8375dd1
fix build of onion path when snodes count is exactly 12
4 years ago
audric
8462d7d38e
make encrypted content fast load if already stored decrypted
4 years ago
audric
a30876fd65
removed the enum from SessionIconType. Just rely on the type itself
4 years ago
audric
cdd11eee47
speed up attachment loading by only loading those inview
4 years ago
audric
7fa50b4a73
do not pass props not needed between message list components
4 years ago
audric
ea2dbb4a69
onionpath status only has ip needed
4 years ago
audric
ec2eab6e23
do not trigger redux update if onion path did not change
4 years ago
audric
f7b0c6c7e1
make conversation screen closer to mobile UI part1
4 years ago
Audric Ackermann
ca96795683
Merge pull request #1869 from Bilb/logs-pn-server
...
Add logs of PN server notify fails
4 years ago
audric
68330b42bf
Add logs of PN server notify fails
4 years ago
Brice-W
a89c6710fb
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews
4 years ago
audric
6a50484597
fix tests for swarm polling
4 years ago
audric
e5dab2781e
remove spectron dependency
4 years ago
audric
8344c48d88
handle offline status for selectGuardNodes stuff
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
1ffadad2ad
remove ip_url from seed nodes as this is unused
4 years ago
audric
215f2227c1
move what is used only for PN server api call to pnserver.ts
4 years ago
audric
cc4168a858
do not update last fetch timestamp when an exception for retrieve
4 years ago
audric
01ff290f85
fix tests
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
abbd0a84a9
increase timeout for snode api requests (mainly for attachment upload)
...
Relates #1774
4 years ago
audric
e9412df60e
fix lint and steal autofocus on registration to seed
4 years ago
audric
2ebae9a746
fix tests for variable swarm polling
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
b05910e219
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll
4 years ago
audric
0658cb539a
poll more often for inactive closed groups
...
the issue is that when you start the app, a closed group active at is
maybe a day old.
so you poll for this pubkey.
if the call is a success, all good, you get the latest messages and
update the active_at.
but if the first call fails (even after retrying), this group will be
marked as inactive and will be polled only a tiny little bit until we
get new messages.
So this commit make sure that we poll more often for closed groups which
are considered inactive
4 years ago
audric
bea704ecf0
bump react to 17
4 years ago
Audric Ackermann
f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
...
Bug fixes
4 years ago
Brice-W
f7c7d6a3d8
change source of MessageAttributesOptionals to not null
4 years ago
Audric Ackermann
19c6bebab0
make sure to retry fetch sqwarm with a new targetNode if needed
4 years ago
Audric Ackermann
6e8d25e530
Fixes mentions in message body and resolve them quicker
...
Relates #1815
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
119b6e1baf
keep scrolled position when adding messages at the bottom
4 years ago
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events
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