Commit Graph

248 Commits (be7425278c8fdd6bad6f682813913cbe6e71fd04)

Author SHA1 Message Date
Audric Ackermann b9586c90ce
working open group v2 getInfo for https only 4 years ago
Audric Ackermann ec6a5995db
sync expire timer updates 4 years ago
Audric Ackermann 79193ee7be
refactor to Visible and ControlMessage types 4 years ago
Audric Ackermann aac54e6045
Merge remote-tracking branch 'upstream/clearnet' into restore-handle-configuration 4 years ago
Audric Ackermann b8a17bcd94 do not include lokiProfile on sync Message => we use ConfigMessage now 4 years ago
Audric Ackermann e052a6743a fix building of sync message from 1-to-1 convo 4 years ago
Audric Ackermann 43e2ca00ff
do not sync profileKey on sync => only on ConfigurationMessage 4 years ago
Audric Ackermann fc24df00fb
always share our profileKey on outgoing messages 4 years ago
Audric Ackermann c55f204440
Merge branch 'clearnet' into restore-handle-configuration 4 years ago
Audric Ackermann e0c2cf8e9a
Force configuration message on avatar or display name update 4 years ago
Audric Ackermann 3f59ce1692
fix updates of message on message syncing 4 years ago
Audric Ackermann a61f5e6814
add contacts to ConfigurationMessage 4 years ago
Audric Ackermann 0a82bf98fa
Add displayName and avatar pointer to ConfigurationMessage 4 years ago
Audric Ackermann ca22b4635f fixup some building of sync message issues 4 years ago
Audric Ackermann 58cc6551e5 fix updates of message on message syncing 4 years ago
Audric Ackermann 7a3a12ccdc Merge branch 'clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann 3ee0ccfac8 remove the forceSave logic for a message, always insert or replace 4 years ago
Audric Ackermann 3f43ae48ad WIP 4 years ago
Audric Ackermann 370158951a move events from MessageQueue to MessageSentHandler 4 years ago
Audric Ackermann a34720501c update avatar on convo only if DL+decrypt is OK 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 2d7515cf0b
Merge branch 'clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann 375c5ba1a8 add the request and reply of an encryptionKeyPair if needed 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
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
4 years ago
Audric Ackermann b76ce0f2ff
update models to TS part2 4 years ago
Audric Ackermann 89ea946b3f
disable sending of explicit group updates for now - only receiving is ON 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 64737a89d7
add ConfigurationMessage 4 years ago
Audric Ackermann ab8aa0d982
disable sending of explicit group updates for now - only receiving is ON 4 years ago
Audric Ackermann 0e25ab2874
WIP 4 years ago
Audric Ackermann 6e11c6db2e
remove all reference to closed group update v2 4 years ago
Audric Ackermann 999e6fc712
replace GroupUpdateV2 in proto to ClosedGroupControlMessage 4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
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)
4 years ago
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 4 years ago
Audric Ackermann 75b7788fa9
remove stuff related to web api 4 years ago
Audric Ackermann f1d84177a0 fix expirationTimer updates closed group desktop to ios 4 years ago
Audric Ackermann eb9828a3b7 fix tests 4 years ago
Audric Ackermann cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 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 0a4cae4183
fix duplicates message for open groups 4 years ago
Audric Ackermann 9fe87ca8c3
fix typing of MessageController 4 years ago
Audric Ackermann 228e4ed662
move MessageController to typescript 4 years ago
Audric Ackermann 8710b7a9e8
medium group: send existing expiretimer to joining members if set 4 years ago
Audric Ackermann 545eef4edb
include expireTimer in group invitation message so it does not reset it 4 years ago
Audric Ackermann 6fd8ea20c7
fix restoring of session after restore from seed 5 years ago
Audric Ackermann d4e9b43f0c
remove QUIT type of mediumgroupupdate 5 years ago
Audric Ackermann 53a14a0b60
add prefix to ExpirationTimerUpdateMessage for closed group too 5 years ago
Audric Ackermann 514eb9ba98
fix pubkey regex for mobile medium groups 5 years ago
Audric Ackermann 215c964fab
fix padding for medium group 5 years ago
Audric Ackermann ff1c554e8a
make MediumGroupChatMessage share impl with ClosedGroupChatMessage 5 years ago
Maxim Shishmarev d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
Medium group protocol changes
5 years ago
Audric Ackermann ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack 5 years ago
Audric Ackermann 394030b711
remove getDefaultTTL and use Constants values instead 5 years ago
Audric Ackermann 3e23039adb
do not sync blocked closed group as mobile is not ready yet 5 years ago
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 5 years ago
Audric Ackermann d2a4757061
trigger and handle blocked contacts/groups as a list on block/unblock 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Audric Ackermann edc34649a4
Merge pull request #1241 from Bilb/fix-our-profile-picture-change 5 years ago
Audric Ackermann 3fd260b793
enforce type of profileKey and signature on linking messages 5 years ago
Vincent 5216cc2c2e merge clearnet 5 years ago
Vincent c020eddef6 constants-to-ts 5 years ago
Maxim Shishmarev d747249d4f Merge branch 'clearnet' into revive-medium-groups 5 years ago
Audric Ackermann a4fedaf75d
fix empty avatar being undefined rather than ''
building ClosedGroupUpdate message via ts makes it have an avatar
content with fields empty if we pass '' as avatar.

we wamt no avatar field at all
5 years ago
Maxim Shishmarev 237bd84b35 Fix medium group sending for single device users; protocol changes 5 years ago
Audric Ackermann ed48818867
include old avatar and expireTimer on groupUpdate 5 years ago
Mikunj 669648d9cb Fix expire timer 5 years ago
Mikunj c422c9e2ad Lint 5 years ago
Mikunj fd547941d6 Fix sync message issue 5 years ago
Audric Ackermann 0474e84b19
fix profileKey sharing and avatar 5 years ago
Audric Ackermann c95bf57b28
Merge remote-tracking branch 'upstream/clearnet' into handle-message-sending-events 5 years ago
Mikunj 7b355dae78 Fix grunt 5 years ago
Mikunj 4a3188bbf9 minor fixes 5 years ago
Mikunj d4dc8aa2ed remove SyncMessageUtils.from 5 years ago
Mikunj a972c328c7 Change how sync messages are handled 5 years ago
Audric Ackermann c419ff9cd2
include display name in outgoing messages 5 years ago
Mikunj fbbbadada5 Merge branch 'clearnet' into attachments 5 years ago
Audric Ackermann 5f2990d088
Merge pull request #1197 from Bilb/other-messages-new-sending 5 years ago
Mikunj 13811233b6 Add session request expiry checks 5 years ago
Audric Ackermann 9941c12586
finish adding mediumGroupUpdates 5 years ago
Mikunj b69ad7db16 Add attachment util 5 years ago
Audric Ackermann 39bad87a18
updateMediumGroup replaced with new pipeline 5 years ago
Audric Ackermann a43abfd436
move groupContextType to sub classes of Closedgroup 5 years ago
Audric Ackermann b07b195102
Merge remote-tracking branch 'upstream/clearnet' into other-messages-new-sending 5 years ago
Audric Ackermann 3b40837ffc
address Pr review 5 years ago
Audric Ackermann cd79b5051c
move more logic to build sync message in ts for ContactSync and GroupSync 5 years ago
Audric Ackermann fea75de3fe
make the sessionEstablishedMessage nullMessage have some random content 5 years ago
Audric Ackermann d114b6c130
add verifierSyncMesage and syncReadMessages 5 years ago
Audric Ackermann 655cc0575e
add sync of closed groups/open groups/ contacts with new pipeline 5 years ago
Audric Ackermann aee7428282
remove non used function in session from sendMessage.js 5 years ago
Mikunj b52544e6ba Fix imports 5 years ago
Mikunj c2c56bb9b0 Handle typing and expiration messages when sending to group 5 years ago
Audric Ackermann 6a13839d9d
address reviews 5 years ago
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann aa797f6670
various changes to be reverted. kind of working session chats only. 5 years ago
Mikunj 53727b7e59 Update ClosedGroupChatMessage 5 years ago
Mikunj 4d0d2727bd Added strict type checking to group id 5 years ago
Audric Ackermann bd940a9f79
add groupUpdate message and groupInfo to new pipeline 5 years ago
Audric Ackermann 6380f7426f
fix pairing devices bugs since move to new pipeline 5 years ago
Audric Ackermann e0979fc4a5
add RequestContactSyncMessage and RequestGroup and RequestConfiguration messages to new pipeline 5 years ago
Audric Ackermann 9c1f0e76fd
add RequestContactSyncMesage 5 years ago
Audric Ackermann 6e1258e3d1
expirationTimerUpdate uses new sending pipeline 5 years ago
Audric Ackermann ff7ca5a0d5
add leave of closed group to new sending pipeline 5 years ago
Audric Ackermann 34cec0be34
RequestGroupInfo via new pipeline 5 years ago
Audric Ackermann 439ea09027
lint 5 years ago
Audric Ackermann e43dc734de
TypingMessage sent with new sending pipeline 5 years ago
Vincent 40368793fd rm-redundant-files 5 years ago
Vincent 94f0fbb65a params-check 5 years ago
Vincent ac2bb65c2a isEqual on ChatMessages 5 years ago
Vincent e9cc824b0b open groups 5 years ago
Vincent bffb43dd19 review-fixes 5 years ago
Vincent 48e3ded9d2 review changes 5 years ago
Vincent affba056d2 just-cache 5 years ago
Audric Ackermann 7a797737e0
rename SessionReset -> SessionRequest 5 years ago
Mikunj e9983099a9 Fix tests 5 years ago
Mikunj 1dad49057b Implement MessageSender 5 years ago
Mikunj d1bfcd340b Fix imports.
Fix closed group messages.
5 years ago
Audric Ackermann 9fd929e812
lint 5 years ago
Audric Ackermann 3840d061c3
add test for closed group chat 5 years ago
Audric Ackermann 934838cc1c
add tests for opengroup message 5 years ago
Audric Ackermann 1f2f0535a1
prekeybundle fields are not optional 5 years ago
Audric Ackermann 73dbcd890b
add test for ChatMessage 5 years ago
Audric Ackermann 5cec07ef16
add ChatMessage with quotes and attachments 5 years ago
Audric Ackermann 6860875477
remove setIdentifier and make identifier optional in constructor 5 years ago
Audric Ackermann da8999263b
make identifier a uuid 5 years ago
Audric Ackermann 2acba52933
use undefined or ? rather than null 5 years ago
Audric Ackermann cb74c9fe1d
use extends to extends typescript constructor parameters 5 years ago
Audric Ackermann 7191038f21
add SessioNEstablishedMessage and tests 5 years ago
Audric Ackermann 46a48406c7
add EndSession and SessionReset messages & tests 5 years ago
Audric Ackermann 601d978883
make OutgoingMessage interface an abstract class and add setIdentifier 5 years ago
Audric Ackermann 798efd8e00
use export* syntax to clean ts index.ts 5 years ago
Audric Ackermann 9ea95e59fa
add GroupInvitationMessage and tests 5 years ago
Audric Ackermann 56d744fda9
add TypingMessage and tests 5 years ago
Audric Ackermann 956491ec82
session established message with ttl of 5 minutes 5 years ago
Audric Ackermann fa26ff9e32
pass args by {} and add deviceLink tests 5 years ago
Audric Ackermann f1244f3031
add device unlink and receiptMessage class and tests 5 years ago
Audric Ackermann 81cb1122f8
remove window.getMessageTTL 5 years ago
Audric Ackermann e45ef6f291
add test for unpairing request message 5 years ago
Audric Ackermann 443f177daa
ContentMessage remove auto padding 5 years ago
Audric Ackermann 892b2f8474
add ttl as abstract method so each message can define its own 5 years ago
Audric Ackermann f4a24c5c98
add empty messages ts files 5 years ago
Mikunj 15560a4cb5 Linting and comments 5 years ago
Mikunj 46b3032a05 Remove MessageCategory.
We don't need this as we can infer the encryption type from the message.
5 years ago
Mikunj 9bd08ba930 Initial barebone commit for messages refactor 5 years ago