Commit Graph

1248 Commits

Author SHA1 Message Date
Audric Ackermann 25910be0fd
do not display the reveal seed banner if user just used it 2021-11-03 09:38:12 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +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
Warrick Corfe-Tan ec447b2e2e network clear all WIP 2021-07-30 10:08:26 +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 3ae1ac6118
remove unused libsignal stuff 2021-07-12 10:38:03 +10:00
Audric Ackermann 32cb19125f
remove signalprotocoladress unused 2021-07-09 14:00:28 +10:00
Audric Ackermann 09d9db38e8
move taskWithTimeout to typescript 2021-06-21 16:12:51 +10:00
Audric Ackermann d6b7463f5f
remove unused crypto marking us as coinminer
hopefully
2021-05-31 14:26:50 +10:00
Audric Ackermann 6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
version fetch is used to know when we have a new update
2021-05-31 11:22:37 +10:00
Audric Ackermann a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system 2021-05-26 14:15:54 +10:00
Audric Ackermann 8c726fd745
reupload avatar every 10 days 2021-05-25 13:19:57 +10:00
Audric Ackermann d982bab66b
fix lint for js files (no ?.) 2021-05-24 16:04:05 +10:00
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 2021-05-19 15:54:31 +10:00
Audric Ackermann c599d0b629
WIP 2021-05-17 14:39:56 +10:00
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
2021-05-12 10:34:53 +10:00
Audric Ackermann 0c0da48150
remove pow 2021-04-28 15:24:45 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann 305ece1c7c update our profile on incoming configMessage sent after our last update 2021-03-01 14:21:29 +11:00
Audric Ackermann 5d6d81b9ef Move accountManager to typescript 2021-03-01 10:39:46 +11:00
Audric Ackermann 0a539c79ce
on signup/register, set last_profile_update_timestamp to now() 2021-02-26 16:14:13 +11:00
Audric Ackermann e466062f15 WIP 2021-02-23 14:22:01 +11:00
Audric Ackermann 4f7cb04552 remove completely SignalProtocolStore 2021-02-22 14:10:26 +11:00
Audric Ackermann 66a6190f2b remove unused replyable error types 2021-02-19 17:47:13 +11:00
Audric Ackermann 8a800cf58c move the logic of handling when a message is sent to MessageSentHandler 2021-02-19 16:43:50 +11:00
Audric Ackermann d844c5141e remove unprocessed from store. Nothing was stored in the store
it was simply as passthrough to the Data file.
No we directly call the data file instead
2021-02-19 10:35:11 +11:00
Audric Ackermann 8ea9f02cec Move data.js to data.ts 2021-02-15 15:16:52 +11:00
Audric Ackermann f41bf31515
fix tests 2021-02-09 12:42:41 +11:00
Audric Ackermann 5ec9722e00
autobind typescript class methods with autobind 2021-02-08 17:17:26 +11:00
Audric Ackermann b76ce0f2ff
update models to TS part2 2021-02-08 16:18:36 +11:00
Audric Ackermann 874e3f863b
remove unused worker 2021-02-08 15:35:28 +11:00
Audric Ackermann 02fb5783a4
remove regionCode and PhoneNumber.ts 2021-01-28 09:46:15 +11:00
Audric Ackermann a6cecd33e3 remove ContactDetails unused 2021-01-27 15:49:06 +11:00
Audric Ackermann 273eedc6a9 remove hasSignalAccount and Sealed Sender unused 2021-01-27 15:33:51 +11:00
Audric Ackermann eadfbc9f6d
Merge remote-tracking branch 'upstream/clearnet' into clean-and-moderator-dialog-update 2021-01-22 14:41:06 +11:00
Audric Ackermann bb037f7edb
fix profile updates when flag is set (do not drop message) 2021-01-22 13:51:48 +11:00
Audric Ackermann dc68c80504
fix refresh of moderator list and removed unused proto 2021-01-22 10:36:23 +11:00
Audric Ackermann ec9bd4a3a9
remove unused proto files and ProvisioningCipher.js 2021-01-22 10:26:22 +11:00
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 2021-01-21 17:49:13 +11:00
Audric Ackermann 135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann 46dfb3489b
remove mock sockets and websockets unused resources 2021-01-19 16:01:53 +11:00
Audric Ackermann 21c62c167e
remove typing indicator when we get a dataMessage 2021-01-18 11:53:35 +11:00
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 2021-01-18 10:35:16 +11:00
Audric Ackermann 75b7788fa9
remove stuff related to web api 2021-01-15 10:56:49 +11:00
Audric Ackermann d43ae09eb0
first working version of closed group v2 2021-01-12 16:56:21 +11:00
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 2021-01-06 14:26:53 +11:00
Audric Ackermann cf25e89a14 cleanup unused code 2020-12-15 17:14:18 +11:00
Audric Ackermann 380d296bb2
send session request if we get a message we cannot decode
This handle the case where we delete a contact from A, lets call him B
All message after that delete from B to A will be not decoded correctly.

The issue is that the record is existing, but there is no session in it.
The fix is that if we get a message and a record is found, but has not
session in it, we trigger a session request with that user
2020-11-23 13:24:57 +11:00
Audric Ackermann 357421f161
rename window.console.log to window.log.info 2020-11-09 14:28:02 +11:00