Commit Graph

154 Commits (87235641cb14f4f34a3da9dfb59d8dc4656f56d1)

Author SHA1 Message Date
Audric Ackermann 3c80869418
improve bad path handling when snode not in path 4 years ago
Audric Ackermann 5bf844241b
fix tests 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 6b399e3683
add pn server dev url fallback to v2/lsrpc
the dev pn server is not used in the app, this change is just here to
not have to think of switching this part too when debugging against the
pn dev server
4 years ago
Audric Ackermann f3768a674a
short error on no network for retry sending message 4 years ago
Audric Ackermann 0aefd1b2bf
add handling of old ONS names too 4 years ago
Audric Ackermann d0c1a2bf3a
add ONS resolve for new ONS and loading on message overlay 4 years ago
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 4 years ago
Audric Ackermann db54cb37b9
hide failing call to deleteAuthToken logs 4 years ago
Audric Ackermann 88036edd38
add more tests for multi errors onion rebuild 4 years ago
Audric Ackermann 05745d7726
add tests to drop snode from path after 3 failure 4 years ago
Audric Ackermann 2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS 4 years ago
Audric Ackermann 53c9bb1012
add some tests for 421 handling at destination 4 years ago
Audric Ackermann adb9208491
do not retry Oxen Server Error 4 years ago
Audric Ackermann 372119b17b
WIP 4 years ago
Audric Ackermann a2ea02960e
add some retries for not already retries requests 4 years ago
Audric Ackermann a777b09165
cleanup tests 4 years ago
Audric Ackermann f4c3c82e31
Add some test for onion path rebuild handling 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann 4514714d60
WIP 4 years ago
Audric Ackermann ed53ab43e6
WIP 4 years ago
Audric Ackermann c599d0b629
WIP 4 years ago
Audric Ackermann a83a2afa4f
scoring system kind of working 4 years ago
Audric Ackermann c63d5a4581
rename serviceNodeApi to SNodeApi 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 7ec663df71
move SwarmPolling from window to require singleton 4 years ago
Audric Ackermann 4547afd97f
Poll for preview on room creation 4 years ago
Audric Ackermann 66d5fd93e2
Merge branch 'master' into open-group-v2 4 years ago
Audric Ackermann 3aa9ca785f
fix leave opengroup button right panel, and add memberCount 4 years ago
Audric Ackermann bdcdca206b
write attachment path with absolute attachment to disk for opengroupv2 4 years ago
Audric Ackermann 87c3fa0c55
refresh snode list and rebuild onion path once in a day 4 years ago
Audric Ackermann ad26e50de1
fix attachment upload for opengroupv1 and old file server 4 years ago
Audric Ackermann 710c9fa269
fix http request over onion 4 years ago
Audric Ackermann cca4de710b
remove featureFlag onion v2 => if onion enabled it is v2 4 years ago
Audric Ackermann 0c0da48150
remove pow 4 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 4 years ago
Audric Ackermann 5916ce5cbe
add the ban/unban logic for opengroupv2 4 years ago
Audric Ackermann 4aeec224b4
add download of attachments for opengroupv2 4 years ago
Audric Ackermann 34148e67ec
add return of url after v2 attachment upload 4 years ago
Audric Ackermann 193fb2a101
move some message interactions logic to another file 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann 6896cffd75
Merge branch 'clearnet' into HEAD 4 years ago
Audric Ackermann 19f3b6014d
add poller for open group v2 4 years ago
Audric Ackermann 897bad2d5e
throw only for breaking stuff on ApiV2 calls 4 years ago
Audric Ackermann b68338e26c
working get and post request with opengroup api v2 4 years ago
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Ryan Tharp 6a1d0e93a3
Make 502 retry 4 years ago
Audric Ackermann 3ea628a02f
pin certificate for seed nodes 4 years ago
Audric Ackermann 47026b8d5b
pin certificate for seed nodes 4 years ago
Audric Ackermann 142bbd8eee
disable getVersion to snodes calls as we don't need it anymore 4 years ago
Audric Ackermann 8a2b6a5519
remove fallback to node-fetch 4 years ago
Audric Ackermann 2132395afb
disable getVersion to snodes calls as we don't need it anymore 4 years ago
Audric Ackermann 53d16d7dac
remove fallback to node-fetch 4 years ago
Audric Ackermann 4a794e90a0
signInWithRecovery = show full screen loader 4 years ago
Audric Ackermann 2ae259092f
fix propagation of WrongSwarmError in pollForAllKeys() 4 years ago
Audric Ackermann 5ab3680903 make OnionPath a singleton and build path on app Start only 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann ed84760f0e
add a tslint rule to forbid use of async without await 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann b88ea110e8
Add multi device v2 support 4 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann 5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor 4 years ago
Audric Ackermann cc049065da
do not use v3 for live.apns.getsession.org PN calls 5 years ago
Audric Ackermann da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann 828aa4413f
remove unused group_member_list component 5 years ago
Maxim Shishmarev 27859b13aa Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses 5 years ago
Audric Ackermann 5de2dea407
use .ok field on serverRequest to check for request success 5 years ago
Audric Ackermann 2b13321c23
remove completely send to proxy 5 years ago
Audric Ackermann 4c91d977ca
move token and submit challenge call to onion request 5 years ago
Maxim Shishmarev 61897df7dd Lint 5 years ago
Maxim Shishmarev c5b2b64d7f Add onions-v2 support for fileserver requests 5 years ago
Maxim Shishmarev 692a0e8cff Optionally use v2 onions for snode requests 5 years ago
Audric Ackermann 05e682cdc2
enable back swarm polling when we get added back to a group 5 years ago
Audric Ackermann d12e0500af
mark node as bad if it returns difficulty 100 5 years ago
Audric Ackermann 3a876c7322
add notify to PN server on message sent 5 years ago
Audric Ackermann 7501d71542
fix polling logic on network errors #995 5 years ago
Audric Ackermann 933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests 5 years ago
Maxim Shishmarev d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
5 years ago
Audric Ackermann 8558764768
fix open group integration tests 5 years ago
Audric Ackermann 52cb50f063
make lokiPlainFetch return a SnodeResponse object 5 years ago
Maxim Shishmarev f1bc0ffc27 Fix export for file onions 5 years ago
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Maxim Shishmarev 8f0d59f9b8 Fix not shuffling nodes requested for pubkey 5 years ago
Audric Ackermann 4e56ad2419
Merge pull request #1244 from Bilb/fix-sending-errors-handling 5 years ago
Audric Ackermann f641b9436b
fix our handling of snode sending errors so we have a real error shown
when a message fails to send because of it.

Also, fix the retry logic on the corresponding message
5 years ago
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 5 years ago
Maxim Shishmarev 7724df25cc Fix incorrect handling of pow update 5 years ago
Maxim Shishmarev a2b80a5e68 Address review comments 5 years ago
Maxim Shishmarev 29fe64f5d5 Fix retrieving with pubkey object 5 years ago
Maxim Shishmarev 12f73e23f2 Move onion requests to typescript 5 years ago
Maxim Shishmarev d5a98b8b47 Remove swarm nodes from conversations 5 years ago
Mikunj 8f82e7a442 Fix multi device pairing 5 years ago
Maxim Shishmarev 9cdb7710ec Stub out swarm polling 5 years ago
Maxim Shishmarev 114f6d083f Fix pubkey comparison 5 years ago
Maxim Shishmarev 7dd9469074 Further improve imports 5 years ago