Commit graph

98 commits

Author SHA1 Message Date
Mikunj
4d0d2727bd Added strict type checking to group id 2020-06-23 10:51:15 +10:00
Audric Ackermann
bd940a9f79
add groupUpdate message and groupInfo to new pipeline 2020-06-22 18:39:43 +10:00
Audric Ackermann
6380f7426f
fix pairing devices bugs since move to new pipeline 2020-06-22 15:05:17 +10:00
Audric Ackermann
e0979fc4a5
add RequestContactSyncMessage and RequestGroup and RequestConfiguration messages to new pipeline 2020-06-19 16:51:23 +10:00
Audric Ackermann
9c1f0e76fd
add RequestContactSyncMesage 2020-06-19 16:17:37 +10:00
Audric Ackermann
6e1258e3d1
expirationTimerUpdate uses new sending pipeline 2020-06-19 14:30:40 +10:00
Audric Ackermann
ff7ca5a0d5
add leave of closed group to new sending pipeline 2020-06-19 13:02:19 +10:00
Audric Ackermann
34cec0be34
RequestGroupInfo via new pipeline 2020-06-19 12:52:07 +10:00
Audric Ackermann
439ea09027
lint 2020-06-19 11:42:40 +10:00
Audric Ackermann
e43dc734de
TypingMessage sent with new sending pipeline 2020-06-19 11:34:41 +10:00
Vincent
40368793fd rm-redundant-files 2020-06-18 14:07:09 +10:00
Vincent
94f0fbb65a params-check 2020-06-16 17:59:20 +10:00
Vincent
ac2bb65c2a isEqual on ChatMessages 2020-06-16 16:53:10 +10:00
Vincent
e9cc824b0b open groups 2020-06-16 08:52:07 +10:00
Vincent
bffb43dd19 review-fixes 2020-06-15 08:47:05 +10:00
Vincent
48e3ded9d2 review changes 2020-06-12 14:56:33 +10:00
Vincent
affba056d2 just-cache 2020-06-12 11:40:29 +10:00
Audric Ackermann
7a797737e0
rename SessionReset -> SessionRequest 2020-06-10 10:07:44 +10:00
Mikunj
e9983099a9 Fix tests 2020-06-09 08:55:32 +10:00
Mikunj
1dad49057b Implement MessageSender 2020-06-05 16:20:09 +10:00
Mikunj
d1bfcd340b Fix imports.
Fix closed group messages.
2020-06-05 13:26:27 +10:00
Audric Ackermann
9fd929e812
lint 2020-05-29 15:44:18 +10:00
Audric Ackermann
3840d061c3
add test for closed group chat 2020-05-29 15:29:14 +10:00
Audric Ackermann
934838cc1c
add tests for opengroup message 2020-05-29 15:09:48 +10:00
Audric Ackermann
1f2f0535a1
prekeybundle fields are not optional 2020-05-29 11:08:55 +10:00
Audric Ackermann
73dbcd890b
add test for ChatMessage 2020-05-29 09:40:15 +10:00
Audric Ackermann
5cec07ef16
add ChatMessage with quotes and attachments 2020-05-28 17:00:58 +10:00
Audric Ackermann
6860875477
remove setIdentifier and make identifier optional in constructor 2020-05-26 15:25:18 +10:00
Audric Ackermann
da8999263b
make identifier a uuid 2020-05-26 14:41:41 +10:00
Audric Ackermann
2acba52933
use undefined or ? rather than null 2020-05-26 11:13:14 +10:00
Audric Ackermann
cb74c9fe1d
use extends to extends typescript constructor parameters 2020-05-26 11:11:32 +10:00
Audric Ackermann
7191038f21
add SessioNEstablishedMessage and tests 2020-05-26 10:53:26 +10:00
Audric Ackermann
46a48406c7
add EndSession and SessionReset messages & tests 2020-05-26 10:45:06 +10:00
Audric Ackermann
601d978883
make OutgoingMessage interface an abstract class and add setIdentifier 2020-05-26 09:24:12 +10:00
Audric Ackermann
798efd8e00
use export* syntax to clean ts index.ts 2020-05-25 17:25:30 +10:00
Audric Ackermann
9ea95e59fa
add GroupInvitationMessage and tests 2020-05-25 16:38:52 +10:00
Audric Ackermann
56d744fda9
add TypingMessage and tests 2020-05-25 16:38:05 +10:00
Audric Ackermann
956491ec82
session established message with ttl of 5 minutes 2020-05-25 14:05:46 +10:00
Audric Ackermann
fa26ff9e32
pass args by {} and add deviceLink tests 2020-05-25 11:40:17 +10:00
Audric Ackermann
f1244f3031
add device unlink and receiptMessage class and tests 2020-05-22 17:50:45 +10:00
Audric Ackermann
81cb1122f8
remove window.getMessageTTL 2020-05-22 17:49:48 +10:00
Audric Ackermann
e45ef6f291
add test for unpairing request message 2020-05-22 11:43:17 +10:00
Audric Ackermann
443f177daa
ContentMessage remove auto padding 2020-05-22 11:30:54 +10:00
Audric Ackermann
892b2f8474
add ttl as abstract method so each message can define its own 2020-05-22 09:58:32 +10:00
Audric Ackermann
f4a24c5c98
add empty messages ts files 2020-05-22 09:23:38 +10:00
Mikunj
15560a4cb5 Linting and comments 2020-05-21 16:44:18 +10:00
Mikunj
46b3032a05 Remove MessageCategory.
We don't need this as we can infer the encryption type from the message.
2020-05-21 16:31:15 +10:00
Mikunj
9bd08ba930 Initial barebone commit for messages refactor 2020-05-21 16:14:22 +10:00