Commit graph

103 commits

Author SHA1 Message Date
Audric Ackermann
9b405b86ab fix: do not attempt to connect to an sogs already join
make sure we consider http://, https:// and no protocol at all to look
for matches
2022-08-11 11:41:37 +10: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
335e452730
moved DebugLogView to components folder 2022-04-20 15:50:56 +10:00
Audric Ackermann
5c9b34fb86
lint files 2022-04-20 10:34:21 +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
062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
also add pending tests to do for in memory db and updater
2022-04-13 14:59:08 +10:00
Audric Ackermann
a9cc9a7294
add tests for attachment metadata 2022-04-07 14:47:54 +10:00
Audric Ackermann
261940e978
fix tests 2022-04-06 16:21:26 +10:00
warrickct
0db3c76756 Fixing linting errors 2022-02-15 13:59:58 +11: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
warrickct
86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
Audric Ackermann
4d72f24fd5
make sure test ip for snodes are random 2021-10-18 17:14:42 +11:00
Warrick Corfe-Tan
123e68c167 WIP: Adding message requests using existing convo list item. 2021-10-15 10:19:45 +11:00
Audric Ackermann
b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
2021-09-17 16:41:04 +10:00
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
2021-09-16 14:48:46 +10:00
audric
6a50484597 fix tests for swarm polling 2021-08-13 14:51:15 +10:00
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
Brice-W
c3bf2a4e96 fixes and tests 2021-07-06 17:16:05 +10:00
Audric Ackermann
13bc1a21d9
add test for swarmPolling variable rate 2021-06-25 15:22:26 +10:00
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact 2021-06-24 16:37:37 +10:00
Audric Ackermann
01fd927070
match envelope type with ios protos 2021-06-10 08:55:25 +10:00
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set 2021-06-09 11:49:19 +10:00
Audric Ackermann
4a98d911a2
add a HeaderOption to change the notification settings for each convo 2021-06-07 14:20:07 +10:00
Audric Ackermann
0192f295f2
move the user fetch for mentions to redux 2021-05-31 13:44:13 +10:00
Audric Ackermann
3456162402
Moved opengroupv1 test to opengroupv2 tests 2021-05-27 14:51:56 +10:00
Audric Ackermann
eb0ddd85f4
add zombies logic for member leaving and removing 2021-05-05 16:40:15 +10:00
Audric Ackermann
a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
2021-04-28 14:20:22 +10:00
Audric Ackermann
193fb2a101
move some message interactions logic to another file 2021-04-23 11:08:38 +10:00
Audric Ackermann
3b30d13719
add some regex to identify Opengroupv2 vs Opengroupv1 convo Ids 2021-04-23 10:13:09 +10:00
Audric Ackermann
e3e1296788
add constant openGroupPrefix: publicChat: and use it 2021-04-23 09:45:12 +10:00
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann
c07271109f
Add a ConversationType OPEN_GROUP 2021-04-20 15:52:19 +10:00
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only 2021-04-20 14:52:02 +10:00
Audric Ackermann
79193ee7be
refactor to Visible and ControlMessage types 2021-03-19 10:43:47 +11:00
Audric Ackermann
ad117fe4e5
uniformized redux convo type and getProps() of conversation 2021-03-05 11:11:53 +11:00
Audric Ackermann
fc24df00fb
always share our profileKey on outgoing messages 2021-02-26 11:48:08 +11:00
Audric Ackermann
8ea9f02cec Move data.js to data.ts 2021-02-15 15:16:52 +11:00
Audric Ackermann
2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 2021-02-11 14:45:09 +11:00
Audric Ackermann
01f834ae98
only handle the first ever configuration message incoming 2021-02-11 11:25:03 +11:00
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 2021-02-09 15:54:34 +11:00
Audric Ackermann
ea2c4437a3
cleanup models with unused events
also, sort message from DB and on redux by sent_at or received_at when
not a public group
2021-02-09 11:40:32 +11:00
Audric Ackermann
a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann
b88ea110e8
Add multi device v2 support 2021-02-08 11:56:14 +11:00
Audric Ackermann
334da0a169
finish explicit group updates 2021-02-01 11:35:06 +11:00
Audric Ackermann
0e25ab2874
WIP 2021-01-29 11:29:42 +11:00
Audric Ackermann
6e11c6db2e
remove all reference to closed group update v2 2021-01-28 12:06:51 +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