Audric Ackermann
e613613416
show toast with react-toastify and make them a styled-component
5 years ago
Audric Ackermann
6fd8ea20c7
fix restoring of session after restore from seed
5 years ago
Audric Ackermann
0b4400837b
fix scroll to quoted message and contact display name of group updates
5 years ago
Audric Ackermann
940ad57f83
rework the way unread count works
...
we no longer refresh on each message read, only once the whole
conversation is read.
5 years ago
Audric Ackermann
13e02b5bf1
add staged link previews for everything from signal
5 years ago
Audric Ackermann
12bf46e09e
use pushToast through ToastUtils when it's a static toast content
5 years ago
Audric Ackermann
79eae4838d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
55fa65fc31
override attachments name on upload
5 years ago
Audric Ackermann
5de2dea407
use .ok field on serverRequest to check for request success
5 years ago
Audric Ackermann
fe3cfb9e82
move all menu to react-contexify
5 years ago
Audric Ackermann
2b13321c23
remove completely send to proxy
5 years ago
Audric Ackermann
4c91d977ca
move token and submit challenge call to onion request
5 years ago
Maxim Shishmarev
61897df7dd
Lint
5 years ago
Maxim Shishmarev
c5b2b64d7f
Add onions-v2 support for fileserver requests
5 years ago
Maxim Shishmarev
692a0e8cff
Optionally use v2 onions for snode requests
5 years ago
Audric Ackermann
b46ed237b3
allow empty message when they have attachments
5 years ago
Audric Ackermann
c5927cfc4b
focus composition box after adding an attachment
5 years ago
Audric Ackermann
363da7aa80
add back toast on attachment adding error
5 years ago
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo
5 years ago
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
...
and cleanup scss
5 years ago
Audric Ackermann
1a379d2466
add theme logic to switch between dark/light theme based on redux store
5 years ago
Audric Ackermann
6e07ee42f5
cleanup network status view and some UI constants
5 years ago
Audric Ackermann
4d991d3992
Merge branch 'clearnet' into react-refactor
5 years ago
Audric Ackermann
2f8f79c5d2
make message clearer when we try to reuse a keyIdx in the ratchet
5 years ago
Audric Ackermann
97eaf68085
clean getExistingSenderKeysForGroup as we don't need the diff anymore
5 years ago
Audric Ackermann
c0497e3df1
trigger senderKeyRequest if we get a DOMException on decryptGCM()
5 years ago
Audric Ackermann
05e682cdc2
enable back swarm polling when we get added back to a group
5 years ago
Audric Ackermann
cfb9e65f30
trigger new ratchet send on message sent success
...
send our new ratchet to all new members when we just sent a message
containing no senderKey in it.
an set but empty senderKey array should only be sent when a user left or
was removed.
5 years ago
Audric Ackermann
e0e0830d3b
remove all ratchet when needed to get fresh senderKey from members
5 years ago
Audric Ackermann
5d7d66f65a
fix bug making session request being sent for medium group create
5 years ago
Audric Ackermann
a80f9a5965
fix medium group to match mobile way
5 years ago
Audric Ackermann
06d0683ce5
WIP
5 years ago
Audric Ackermann
22afe50c05
make messageQueue handle medium group message in sendToGroup
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
d12e0500af
mark node as bad if it returns difficulty 100
5 years ago
Audric Ackermann
3a876c7322
add notify to PN server on message sent
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
8123508b51
fix avatar closed group and pubkey for medium mobile groups
5 years ago
Audric Ackermann
d6e8247016
Merge pull request #1339 from Bilb/add-back-copy-session-id
...
add back Copy Session ID but show it only for user context click
5 years ago
Audric Ackermann
cd1a940719
add back Copy Session ID but show it only for user context click
5 years ago
Audric Ackermann
ff1c554e8a
make MediumGroupChatMessage share impl with ClosedGroupChatMessage
5 years ago
Audric Ackermann
04063cd0fb
make medium group pubkey be in bytes rather than str
5 years ago
Audric Ackermann
7054268b14
use source from decoded content and not envelope on ssk
5 years ago
Audric Ackermann
84c7ce006b
fix ctx menu on repeated block/unblock
5 years ago
Audric Ackermann
d3badba681
hide reset session from menu when user is blocked
5 years ago
Audric Ackermann
c34edee180
Merge pull request #1321 from Bilb/use-created-at-server-timestamp
...
Fixes #1249
5 years ago
Audric Ackermann
1e446b0a81
fix order for open groups message which are out of sync
5 years ago
Audric Ackermann
7501d71542
fix polling logic on network errors #995
5 years ago
Audric Ackermann
0721d469db
increase timeout allowed for joining open group
5 years ago
Audric Ackermann
0e75510e5b
remove ttl unused settings and all translated key
5 years ago
Audric Ackermann
73e2250ca8
add submenu rtl support (disabled for now)
5 years ago
Audric Ackermann
5739d78ada
edit group editing title to match Android
5 years ago
Audric Ackermann
90fac8f75e
show group members => groupmember
5 years ago
Audric Ackermann
70b739d24f
update translation to match android - part 1
5 years ago
Audric Ackermann
ad4c024530
Merge remote-tracking branch 'upstream/clearnet' into make-cheap-translations
5 years ago
Audric Ackermann
13b28e565d
hide copy option for closed group
5 years ago
Audric Ackermann
d108630f22
add a toastUtils file and replace all pushToast calls in ts files
5 years ago
Audric Ackermann
e008dbd0d5
"leave {Closed|Open} Group" => "leave group"
5 years ago
Audric Ackermann
71004f04a2
add a getDeleteMenuItem and hide on open groups as
...
leave and delete messages does the same in fact
5 years ago
Audric Ackermann
cf3352d0af
add a timeout function to promiseUtils for attemptConnection
5 years ago
Audric Ackermann
3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
5 years ago
Audric Ackermann
58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
5 years ago
Audric Ackermann
3e56eb6133
add beta german translation copy pasted from android
5 years ago
Mikunj
c0fca99485
Disable multi device
5 years ago
Audric Ackermann
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
5 years ago
Audric Ackermann
6d65c9cc0a
make sendMessage return -1 on fail rather than false
5 years ago
Audric Ackermann
44349079ab
fix delete of open group messages
5 years ago
Audric Ackermann
64dff64925
fix mentions notification displayname rather than pubkeys
...
* replace @pubkeys with their corresponding display name if found
* fix the display of the @ sign on the conversationListItem
5 years ago
Audric Ackermann
708a999ff6
fix caption for attachments when they are set
5 years ago
Maxim Shishmarev
d95dfdc04a
Merge pull request #1280 from msgmaxim/medium-group-fixes
...
Medium group protocol changes
5 years ago
Maxim Shishmarev
db05592400
Address review comments
5 years ago
Audric Ackermann
ad24ad28d6
Merge pull request #1284 from Bilb/fix-ttl-ugly-hack
5 years ago
Audric Ackermann
eb06356b26
Merge pull request #1277 from Bilb/fix-blocklist-handle
5 years ago
Audric Ackermann
8558764768
fix open group integration tests
5 years ago
Audric Ackermann
52cb50f063
make lokiPlainFetch return a SnodeResponse object
5 years ago
Audric Ackermann
38724d0992
filter convos to block sync by getting list from BlockedNumberController
5 years ago
Maxim Shishmarev
f1bc0ffc27
Fix export for file onions
5 years ago
Audric Ackermann
401c37c39e
make standardized menu, use them in ConversationHeader
...
and ConversationListItem
5 years ago
Audric Ackermann
394030b711
remove getDefaultTTL and use Constants values instead
5 years ago
Audric Ackermann
48edd431da
use constants rather than string for ttl
5 years ago
Audric Ackermann
467f96acac
substract 1 hour for control of ttl message so PN can ignore them
5 years ago
Audric Ackermann
ce6263dc21
share ContextMenu item tests for ConversationListeItem and ConversationHeader
5 years ago
Audric Ackermann
8105f0647a
make a few unit tests quicker by polling more aggressively on results
5 years ago
Audric Ackermann
cd516aab64
lint
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
Vincent
28a0d82ea2
Updating message recieving
5 years ago
Maxim Shishmarev
8f0d59f9b8
Fix not shuffling nodes requested for pubkey
5 years ago
Vincent
3591001ef1
audio component ui
5 years ago
Vincent
c26e20d33f
css-loader
5 years ago
Audric Ackermann
c7b5fdf02d
Merge pull request #1246 from Bilb/accept-group-ids-from-mobile
5 years ago
Audric Ackermann
20a286d288
add comments about temporary fix with mobile group pubkeys regex
5 years ago
Audric Ackermann
edc34649a4
Merge pull request #1241 from Bilb/fix-our-profile-picture-change
5 years ago
Audric Ackermann
4e56ad2419
Merge pull request #1244 from Bilb/fix-sending-errors-handling
5 years ago
Audric Ackermann
f491158b3f
add the group id from mobile as valid pubkey key
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
Audric Ackermann
f641b9436b
fix our handling of snode sending errors so we have a real error shown
...
when a message fails to send because of it.
Also, fix the retry logic on the corresponding message
5 years ago
Maxim Shishmarev
1d1a62e683
Fix incorrectly syncing medium group chat messages
5 years ago
Vincent
fd746a475a
ui polished and ttl constants
5 years ago
Maxim Shishmarev
d747249d4f
Merge branch 'clearnet' into revive-medium-groups
5 years ago
Maxim Shishmarev
6351fc1d4c
Lint
5 years ago
Maxim Shishmarev
f6223ce5ab
Use message queue for medium group chat messages
5 years ago
Vincent
39dea3b1bc
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into blocked-fixes
5 years ago
Vincent
9b07c8fc8e
outline-class
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
Vincent
ca96992a44
Pukbeyified
5 years ago
Vincent
68f2a90f7c
pubkeys-in-message-encryptor-init
5 years ago
Mikunj
646973e330
Made changes to how messages are sent.
...
Instead of blocking the message queue when we don't have a session, we instead just send out a session request and send the queued messages using fallback encryption.
This means that users will be able to message right away without having to wait.
The only down side is that all messages sent before sessions are established will be using the weaker encryption.
This change also means we have to detach session requests from envelope type (which is a good thing) and thus now a message is a session request if it contains a preKeyBundle.
5 years ago
Maxim Shishmarev
7724df25cc
Fix incorrect handling of pow update
5 years ago
Audric Ackermann
f03d66de38
use active_at to show and sync real contacts from contact list
5 years ago
Audric Ackermann
4aa0667686
OpenGroup: get conversation from conversationController rather than appDotNetApi
5 years ago
Audric Ackermann
880e039652
handle grantSignature undefined
5 years ago
Audric Ackermann
7fe188417a
Merge pull request #1227 from Bilb/fix-1.0.9-interoperability
...
include verb and path on outgoing websocket message
5 years ago
Audric Ackermann
f8aa50546b
include verb and path on outgoing websocket message
5 years ago
Vincent
6cb05c3677
review-fixes
5 years ago
Vincent
4a13b1e6bb
attemptConnection-complete
5 years ago
Vincent
baf3050b1d
@params
5 years ago
Vincent
3a3d412542
linted
5 years ago
Vincent
e72970fdc7
load-conv-public
5 years ago
Vincent
a005aa8a2e
onLoading join
5 years ago
Vincent
b05d2e6725
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into https-open-group
5 years ago
Audric Ackermann
d5cfcf9edc
Merge pull request #1223 from Bilb/various-closed-group-fixes
...
* fix display name and avatar to be shown when message is coming from a secondary device
* fix show of expiretimer in the group conversation when it is for it.
* fix a bug creating empty conversation when sync closed group message is received on secondary device
* trigger an expiretimer update message to all members when updating a group.
* trigger an expiretimer update message when sending back group details (after a requestGroupInfo)
5 years ago
Vincent
6111cb2d17
server-regex-tighten
5 years ago
Audric Ackermann
696fbd8d7a
address review
5 years ago
Vincent
f6ae5386e9
getting opengroup conversation
5 years ago
Maxim Shishmarev
a2b80a5e68
Address review comments
5 years ago
Vincent
ab966e600a
OpenGrop joining
5 years ago
Audric Ackermann
178060e4d2
handle Uint8Array in protobuf.convertToTS()
5 years ago
Maxim Shishmarev
29fe64f5d5
Fix retrieving with pubkey object
5 years ago
Vincent
54209e98a8
propogate join channel erros
5 years ago
Vincent
39b41cb222
joining-open-groups
5 years ago
Maxim Shishmarev
ccc487528d
Fix edkey extraction
5 years ago
Vincent
8484b9d3f6
regex-fiddling
5 years ago
Vincent
ea23df2986
OpenGroup strict SSL verification
5 years ago
Audric Ackermann
15b8600e25
fix display name and avatar not being updated when message from secondary
5 years ago
Vincent
bcad497c7f
regex-for-http
5 years ago
Maxim Shishmarev
6919f53a45
Move constants to preload.js
5 years ago
Maxim Shishmarev
12f73e23f2
Move onion requests to typescript
5 years ago
Audric Ackermann
ed48818867
include old avatar and expireTimer on groupUpdate
5 years ago
Audric Ackermann
809b4d9461
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes
5 years ago
Audric Ackermann
235ab0bfb3
create convo for both primary and secondary in receivemessage
5 years ago
Maxim Shishmarev
d5a98b8b47
Remove swarm nodes from conversations
5 years ago
Mikunj
8f82e7a442
Fix multi device pairing
5 years ago
Mikunj
669648d9cb
Fix expire timer
5 years ago
Mikunj Varsani
416d5f69c0
Merge pull request #1211 from Mikunj/closed-group-fixes
...
Closed group fixes
5 years ago
Maxim Shishmarev
6a41aa1d88
Merge pull request #1210 from msgmaxim/fix-some-tests
...
Stub out swarm polling
5 years ago
Mikunj
2d5230715f
Merge branch 'clearnet' into closed-group-fixes
5 years ago
Maxim Shishmarev
9cdb7710ec
Stub out swarm polling
5 years ago
Mikunj
c422c9e2ad
Lint
5 years ago
Mikunj
fd547941d6
Fix sync message issue
5 years ago
Mikunj
8d11660b13
Fix attachments
5 years ago
Maxim Shishmarev
7e737a3ccd
Merge branch 'clearnet' into refactor-polling
5 years ago
Maxim Shishmarev
114f6d083f
Fix pubkey comparison
5 years ago
Maxim Shishmarev
7dd9469074
Further improve imports
5 years ago
Audric Ackermann
7c89b291de
Merge pull request #1205 from Bilb/handle-message-sending-events
5 years ago
Maxim Shishmarev
b31b6bb912
Lint
5 years ago
Maxim Shishmarev
255c7ada68
More clean up in message_receiver.js
5 years ago
Maxim Shishmarev
6fcc1f7ae4
Merge branch 'clearnet' into refactor-polling
5 years ago
Audric Ackermann
0474e84b19
fix profileKey sharing and avatar
5 years ago
Maxim Shishmarev
468ad9f71d
Add more type annotations
5 years ago
Vincent
d1a77b82ee
rm tmp file
5 years ago
Vincent
7498a255a2
utils compatiblity merger
5 years ago
Audric Ackermann
c95bf57b28
Merge remote-tracking branch 'upstream/clearnet' into handle-message-sending-events
5 years ago
Maxim Shishmarev
6295e4206d
Clean up imports
5 years ago
Mikunj
7b355dae78
Fix grunt
5 years ago
Maxim Shishmarev
0904e7a8ca
Refactor from message polling to content message handling
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
Mikunj
347a1e5582
Add avatar uploading to attachment utils
5 years ago
Audric Ackermann
c419ff9cd2
include display name in outgoing messages
5 years ago
Mikunj
c589f4a4af
Finish hooking up attachments
5 years ago
Mikunj
fbbbadada5
Merge branch 'clearnet' into attachments
5 years ago
Vincent
fadbb37022
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests
5 years ago
Audric Ackermann
5f2990d088
Merge pull request #1197 from Bilb/other-messages-new-sending
5 years ago
Vincent
2d0409f9c8
Merge branch 'gorup-tests' into utils-tests
5 years ago
Vincent
e2e867d5c1
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into utils-tests
5 years ago
Vincent
a6433fe5dd
merge
5 years ago
Mikunj
13811233b6
Add session request expiry checks
5 years ago
Audric Ackermann
9941c12586
finish adding mediumGroupUpdates
5 years ago
Vincent
c3af41cb80
merge
5 years ago
Vincent
f4fdd42ef3
string-tests
5 years ago
Mikunj
366ccdf97d
Add more functions
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
Vincent
32015eeab6
ptests
5 years ago
Audric Ackermann
cae608fd01
drop typing message for public groups and fix opengroup sending
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
Mikunj
fb53f9ff36
Fix message queue
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 Varsani
006b5760c6
Merge pull request #1192 from Mikunj/send-to-group
...
Handle typing and expiration messages when sending to group
5 years ago
Mikunj
b52544e6ba
Fix imports
5 years ago
Mikunj
212b002c62
Fix typo
5 years ago
Mikunj
c2c56bb9b0
Handle typing and expiration messages when sending to group
5 years ago
Mikunj
d4ea483aa0
Filter invalid authorisations from the file server
5 years ago
vincent
152adbf4d5
syncMessage done
5 years ago
Audric Ackermann
6a13839d9d
address reviews
5 years ago
Audric Ackermann
9baefb573e
fix tests
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
Vincent
f72423c2ba
types-etc
5 years ago
Audric Ackermann
cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending
5 years ago
Mikunj
4d0d2727bd
Added strict type checking to group id
5 years ago
Audric Ackermann
77025d1afd
adress review
5 years ago
Audric Ackermann
bd940a9f79
add groupUpdate message and groupInfo to new pipeline
5 years ago
Audric Ackermann
b0ed0207e0
fix one to one (session) chats with just the body set
5 years ago
Audric Ackermann
6380f7426f
fix pairing devices bugs since move to new pipeline
5 years ago
Vincent
aa6ce0787b
with-electron?
5 years ago
Mikunj
8f492f8e74
Review changes
5 years ago
Vincent
65148300e7
from-to-toSyncMessage
5 years ago
Vincent
58ab611c9e
pulled
5 years ago
Mikunj
3bf5796cd5
Modify periodic check implementation
5 years ago
Audric Ackermann
e0979fc4a5
add RequestContactSyncMessage and RequestGroup and RequestConfiguration messages to new pipeline
5 years ago
Mikunj
d862269f8d
Update tests
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
Audric Ackermann
4867a560d0
trigger send for all devices of a closed group message
5 years ago
Audric Ackermann
9ec0c8e6a8
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending
5 years ago
Mikunj
ef76972ccb
Allow passing a cache to the queue
5 years ago
Audric Ackermann
12bb6673ea
fix session requests
5 years ago
Audric Ackermann
0a2af13cb1
start of fix of session-request processing
5 years ago
Audric Ackermann
ae67f424a3
move instance of MessageQueue export to ts/session folder
5 years ago
Audric Ackermann
c947d99369
getMessageQueue() rather than .messageQueue to avoid startup issue
5 years ago
Audric Ackermann
d946678d59
fix encryption type for rawMessage
5 years ago
Vince
fe7aaa0aaa
Merge pull request #1177 from vincentbavitz/message-queue-test
...
Message Queue Tests
5 years ago
Vincent
40368793fd
rm-redundant-files
5 years ago
Vincent
99674ed2ba
Fixup PubKey.isEqual
5 years ago
Vincent
20b2ba1c8a
generateMemberList-compactify
5 years ago
Vincent
18af13d7d9
merge-fixups
5 years ago
Audric Ackermann
457a94790c
fix await of promises in if statements
5 years ago
Mikunj
3f93b25ac2
Added string utils
5 years ago
Vincent
42a788c8e3
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into message-queue-test
5 years ago
Mikunj
57b5effaf2
Replace long
5 years ago
Mikunj
ae2b8334e0
Replace bytebuffer component
5 years ago
Vincent
2c2ed1b274
review-fixes
5 years ago
Audric Ackermann
2e78f755b4
replace sending of established, grant and link request messages
5 years ago
Vincent
211d4e1551
improve sendToGroup
5 years ago
Mikunj
4747c5f0db
Merge branch 'clearnet' into multi-device-protocol-test
5 years ago
Mikunj
0933cf8b02
Added multi device protocol tests
5 years ago
Audric Ackermann
4865b72e93
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic
5 years ago
Vincent
33488a9520
final
5 years ago
Audric Ackermann
28fb1dd12a
address PR reviews
5 years ago
Mikunj
30bc4c6cbc
Simplify
5 years ago
Mikunj
f681fd619d
Added small helper functions
5 years ago
Audric Ackermann
4d2b08f4a2
remove getSessionRequest
5 years ago
Vincent
94f0fbb65a
params-check
5 years ago
Vincent
ac2bb65c2a
isEqual on ChatMessages
5 years ago
Mikunj
a83ce4ee16
Review fixes
5 years ago
Audric Ackermann
10e095ba9d
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic
5 years ago
Mikunj
57ea59e5b7
Minor fixes
5 years ago
Mikunj
c027490d2f
Merge fixes
5 years ago
Mikunj
27f4378de8
Merge branch 'clearnet' into multi-device-protocol
5 years ago
Vincent
fde52e7b7f
splitting
5 years ago
Mikunj
93c19395c1
Change back to old window syntax and allow stubbing of it
5 years ago
Vincent
dbc44cb78b
Merge branch 'open-group-class' into message-queue-test
5 years ago
Vincent
131123e751
rm opengrouprefs
5 years ago
Vincent
e9cc824b0b
open groups
5 years ago
Vincent
6afddf38df
finalise
5 years ago
Vincent
73d44d60cf
mostly-tests
5 years ago
Audric Ackermann
66de8d9648
remove plenty of the friend logic
5 years ago
Mikunj
ae44f0da0f
Remove old multi device functions
5 years ago
Mikunj
0275d43fa4
Merge branch 'clearnet' into multi-device-protocol
5 years ago
Vincent
14ca56581c
Merge branch 'message-sending-refactor-queue' into message-queue-test
5 years ago
Mikunj
7942ba086f
Fetch device mappings from server when needed
5 years ago
Vincent
8417e3660d
fixup-review
5 years ago
Vincent
fc45f1c438
Merge branch 'message-sending-refactor-queue' into message-queue-test
5 years ago
Vincent
0f2d24fa11
fixup-review
5 years ago
Vincent
2be1c2fd94
groups-test
5 years ago
Mikunj
7a6ea97efb
Handle strings in MultiDeviceProtocol
5 years ago
Vincent
35665f3cb6
is-medium-group
5 years ago
Vincent
bffb43dd19
review-fixes
5 years ago
Mikunj
b36b3e7725
Slowly replace old multi device functions
5 years ago
Vincent
d0c9f8b773
review-fixes
5 years ago
Mikunj
c8414fdce6
Simplify sql and data files
5 years ago
Vincent
48e3ded9d2
review changes
5 years ago
Vincent
affba056d2
just-cache
5 years ago
Vincent
e09372eacf
tightening up queue
5 years ago
Audric Ackermann
38f64cf172
Merge pull request #1172 from Bilb/message-sending-refactor
5 years ago
Audric Ackermann
492cc96ad2
updateSessionTimestamp: return false if no write to DB needed
5 years ago
Vincent
00122333ff
opengroupmessage
5 years ago
Vincent
6c35f3c773
optimized OpenGroup
5 years ago
Vincent
a76a0bed00
sync proto
5 years ago
Vincent
3140dee2b2
queue-utils
5 years ago
Vincent
0d45ed4d68
OpenGroup class and sending to Groups
5 years ago
Vincent
83f70f1ff0
OpenGroup class and sending to Groups
5 years ago
Vincent
8d0829e8e4
pulled
5 years ago
Mikunj Varsani
542615961c
Merge pull request #1170 from Mikunj/message-sender-retry
...
Message sender retry
5 years ago
Mikunj
1c84fa6c02
Renamed retries to attempts
5 years ago
Mikunj Varsani
88f87c0a70
Update ts/session/sending/MessageSender.ts
...
Co-authored-by: Audric Ackermann <audric.bilb@gmail.com>
5 years ago
Mikunj
3b8b9f7306
Added comments
5 years ago
Mikunj
090f0e2c38
Add retrying and tests
5 years ago
Audric Ackermann
f17ffd295a
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor
5 years ago
Audric Ackermann
4c07bc06fd
address reviews
5 years ago
Audric Ackermann
7a797737e0
rename SessionReset -> SessionRequest
5 years ago
Audric Ackermann
2b58aff532
use pubkeys and toRawMessage()
5 years ago
Mikunj
653efaf9cf
Fixed libsignal-protocol declaration
5 years ago
Audric Ackermann
da1edab63d
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor
5 years ago
Mikunj Varsani
9b93e247eb
Merge pull request #1167 from Mikunj/message-sender-test
...
Added Message Sender tests
5 years ago
Vincent
2095c63a57
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into message-sending-rafactor__cache
5 years ago
Audric Ackermann
73c4020daf
throw error on sendSessionRequest and log it in sendSessionRequestIfNeeded
5 years ago
Vincent
eb116e587e
simplified conversion to buffer
5 years ago
Vincent
fb903daf20
sync msgs
5 years ago
Mikunj
9b855a11e1
Added MessageSender tests
5 years ago
Audric Ackermann
b9aa0ad8d5
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor
5 years ago
Audric Ackermann
886f279540
hide errors of sendSessionRequest message.send()
5 years ago
Audric Ackermann
dc00923f17
add SessionProtocol test
5 years ago
Vincent
f0ba4fa276
partial raw messages
5 years ago
Vincent
86cbc07855
linted
5 years ago
Vincent
80bc3520bd
queue
5 years ago
Mikunj
e9983099a9
Fix tests
5 years ago
Vincent
ef65e47819
Merge branch 'message-sender' of https://github.com/Mikunj/session-desktop into message-sending-rafactor__queue
5 years ago
Vincent
392c201a13
linted
5 years ago
Vincent
5f38e216a5
merge w cache
5 years ago
Vincent
728b43be9e
cache-pull-from-db-finish
5 years ago
Vincent
d0005205a4
queue-st
5 years ago
Vincent
a2844b48f4
linted
5 years ago
Vincent
d9bb7451a3
linted
5 years ago
Vincent
b203dc4493
Finalized cache
5 years ago
Mikunj
1dad49057b
Implement MessageSender
5 years ago
Mikunj
cbc32b9989
Disable no-unused-variable for session related ts files.
5 years ago
Mikunj
d1bfcd340b
Fix imports.
...
Fix closed group messages.
5 years ago
Vincent
afcbf7049e
linted
5 years ago
Vincent
bbfa6499e0
Stubbed cache
5 years ago
Vincent
fb4c6fb387
testing stubs
5 years ago
Audric Ackermann
15f71cb9c8
move sessionprotocol to a full static class
5 years ago
Vincent
734debe841
PendingMessageCache Done
5 years ago
Audric Ackermann
a92f4ab8da
address reviews
5 years ago
Audric Ackermann
1c570e1c2f
Merge branch 'message-sending-refactor' of github.com:loki-project/loki-messenger into message-sending-refactor
5 years ago
Vincent
193573aa67
getFromStorage complete
5 years ago
Vincent
b8ec9bd995
Typify PubKey
5 years ago
Vincent
372754e360
Pulled from audric
5 years ago
Vincent
a9d9303449
Prep for pull
5 years ago
Vincent
a5cfbd584b
linted
5 years ago
Vincent
dec7aa10c8
Revert pulls
5 years ago
Mikunj
21e2469b75
Add more tests
5 years ago
Mikunj
cd58e9b86e
Add utils for stubbing.
...
Added ImportMock for easier es6 stubbing.
5 years ago
Audric Ackermann
935ac8d8f9
lint
5 years ago
Audric Ackermann
1dec669d11
make sessionProtoco read and write to db
5 years ago
Audric Ackermann
a7572470df
fix some ts errors on sending files
5 years ago
Audric Ackermann
101fbedf0a
update SessionProtocol. need merge to go further
5 years ago
Audric Ackermann
bfade45b00
add start of SessionProtocol
5 years ago
Mikunj
b644e2a05f
Added more types.
...
Finalise MessageEncrypter.
5 years ago
Mikunj
36762dbbf2
Added libsignal-protocol typings.
...
Added MessageEncrypter.
5 years ago
Audric Ackermann
6faa764419
lint
5 years ago
Audric Ackermann
ee6ee7ec4f
Merge remote-tracking branch 'upstream/message-sending-refactor' into audric/refactor-message-sending
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
Mikunj
0f6053ce08
Add events to MessageQueueInterface.
...
Added strict typings for events.
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
Mikunj
3dfc1ca213
Improved JobQueue.
...
Added tests.
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
Mikunj
e7826cfb34
linting
5 years ago
Mikunj
e0f27ba712
basic classes for message sending
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