Commit graph

23 commits

Author SHA1 Message Date
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2023-02-16 01:02:45 +01:00
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
2022-08-08 09:50:48 +10:00
Audric Ackermann b76797d264
do not use a custom sandbox for testing
instead use the one from Sinon as it is exposed for a good reason
2022-04-19 11:45:39 +10:00
Audric Ackermann 261940e978
fix tests 2022-04-06 16:21:26 +10:00
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
2021-12-14 15:15:12 +11:00
Audric Ackermann 4d72f24fd5
make sure test ip for snodes are random 2021-10-18 17:14:42 +11: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 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +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 Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Audric Ackermann 447f862ace
add some static glowing to the actionpanel light 2021-06-29 15:23:48 +10:00
Audric Ackermann a5d7995168
merge dialog refctor with clearnet 2021-06-17 16:38:20 +10:00
Audric Ackermann 4b9d2c0692
fix tests 2021-06-16 15:36:06 +10:00
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
2021-06-08 14:35:30 +10:00
Audric Ackermann 88036edd38
add more tests for multi errors onion rebuild 2021-05-26 13:47:53 +10:00
Audric Ackermann 05745d7726
add tests to drop snode from path after 3 failure 2021-05-25 17:40:08 +10:00
Audric Ackermann 2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS 2021-05-25 16:10:00 +10:00
Audric Ackermann 53c9bb1012
add some tests for 421 handling at destination 2021-05-25 15:11:58 +10:00
Audric Ackermann 372119b17b
WIP 2021-05-25 09:53:11 +10:00
Audric Ackermann a777b09165
cleanup tests 2021-05-24 11:43:51 +10:00
Audric Ackermann f4c3c82e31
Add some test for onion path rebuild handling 2021-05-24 11:17:31 +10:00