Commit Graph

752 Commits

Author SHA1 Message Date
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
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
audric 61b48dd06b move delete_all api call to snodeAPI.ts 2021-08-06 11:01:18 +10:00
audric c276bf8dbe fix delete_all endpoint for testnet 2021-08-06 10:59:32 +10:00
audric 9991dc2364 move delete account logic to it's own dialog 2021-08-06 10:59:32 +10:00
Audric Ackermann e43e9df8e0 make sure forceDelete network data returns malicious snodes 2021-08-06 10:59:32 +10:00
Audric Ackermann 3dd1a534d3 fix delete all on network request 2021-08-06 10:59:32 +10:00
audric 67c2124a3b do not try to fetch seed node data with ip as cert will not be valid 2021-08-06 10:59:28 +10:00
audric ab8b6e85b4 Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 2021-08-05 09:38:26 +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 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
2021-08-04 10:52:38 +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
Audric Ackermann 19c6bebab0
make sure to retry fetch sqwarm with a new targetNode if needed 2021-08-02 14:33:39 +10:00
Audric Ackermann 6e8d25e530
Fixes mentions in message body and resolve them quicker
Relates #1815
2021-08-02 10:47:32 +10:00
Warrick Corfe-Tan f087937f6f WIP debugging network deletion failing. 2021-08-02 09:40:14 +10:00
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 2021-07-30 16:12:36 +10:00
Warrick Corfe-Tan ec447b2e2e network clear all WIP 2021-07-30 10:08:26 +10:00
Audric Ackermann 119b6e1baf
keep scrolled position when adding messages at the bottom 2021-07-29 17:27:29 +10:00
Audric Ackermann f9ecfccc0a
batch UI updates of message added events 2021-07-29 13:44:38 +10:00
Audric Ackermann 506a0b2927
fix profileKey share in config message for base64 profileKey 2021-07-29 13:42:36 +10:00
Warrick Corfe-Tan 2e5ffc3196 wip delete all network message. 2021-07-28 17:10:46 +10:00
audric 316f37ae3d fix a bug of attachment not loading in one to one chats 2021-07-27 17:06:11 +10:00
audric fce86989f0 make sure profileKey is a hex string in all convos 2021-07-27 16:41:15 +10:00
audric e69873d6ba fix link preview url onClick
Fixes https://github.com/oxen-io/session-android/issues/669
2021-07-23 15:16:51 +10:00
audric bfc4b2b720 lint 2021-07-22 16:34:17 +10:00
audric c2b5ac68d6 don't rely on scrollheight to calculate for ui Updates
as it causes a layout complete refresh
2021-07-22 10:20:09 +10:00
audric e72885944b use selector to sort and add first of serie flag 2021-07-21 17:14:14 +10:00
audric 6d34a60f94 improve performance by not loading all unread messages 2021-07-21 13:40:21 +10:00
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 2021-07-14 10:53:03 +10:00
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 2021-07-13 17:00:20 +10:00
Audric Ackermann 399041c5b3
cache identity pair and add some per measure 2021-07-13 14:19:06 +10:00
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Audric Ackermann 8760a59875
nodefetch headers as on mobile + cleanup worker code 2021-07-09 15:31:10 +10:00
Audric Ackermann aead3d6510
force headers to be empty for onion_req request 2021-07-09 14:20:48 +10:00
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 2021-07-09 11:45:26 +10:00
Audric Ackermann 7f76ab274c
added a hook to fetch avatar of closed group members 2021-07-08 16:11:43 +10:00
Audric Ackermann b385a9b101
test with better-sqlite3 bindings 2021-07-08 13:00:20 +10:00
Audric Ackermann 97b9156562
improve performamce by memoizing avatar and menus 2021-07-06 17:14:00 +10:00