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
Audric Ackermann
4381d0135f
Merge pull request #1231 from Bilb/fix-open-groups-ui
5 years ago
Maxim Shishmarev
7724df25cc
Fix incorrect handling of pow update
5 years ago
Audric Ackermann
d92bf6febf
Merge pull request #1229 from Bilb/fix-open-groups-ui
...
* fix sync of closed groups
* fix showing of contacts and closed groups after sync
* create closed group: only show direct conversations
* handle message sending events for open groups
5 years ago
Audric Ackermann
aa635e9cd3
trigger opengroup sync when joining an open group
5 years ago
Audric Ackermann
b502fcc3f9
clean code and add comments
5 years ago
Audric Ackermann
8019bce372
make the 'OK' button green on putting an alias for linked device
5 years ago
Audric Ackermann
f03d66de38
use active_at to show and sync real contacts from contact list
5 years ago
Mikunj
f48e10fccd
Fix profile keys not being decoded properly
5 years ago
Audric Ackermann
adb7234b43
exclude empty timestamp conversation from contacts list
5 years ago
Audric Ackermann
c8241f47e6
CreateClosedGroup: only show direct conversations
...
Also use the conversation display name when available
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
d8df91fa15
use the groupId as conversation id to create a conversation when this is a group
5 years ago
Audric Ackermann
126f18278f
handle message sent success for opengroups events correctly
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
32bf5cd83f
Merge pull request #1225 from vincentbavitz/https-open-group
5 years ago
Audric Ackermann
3fa54c3ef9
Merge pull request #1226 from Bilb/various-closed-group-fixes
5 years ago
Audric Ackermann
f8aa50546b
include verb and path on outgoing websocket message
5 years ago
Vincent
4574407b41
finally-clause
5 years ago
Vincent
8b8510cf71
finally-clause
5 years ago
Audric Ackermann
8432d01488
minor ui improvements (button color and place)
5 years ago
Vincent
6cb05c3677
review-fixes
5 years ago
Audric Ackermann
db1a133c25
drop an expiretimer message with the same timer already on use
5 years ago
Vincent
4a13b1e6bb
attemptConnection-complete
5 years ago
Vincent
baf3050b1d
@params
5 years ago
Vincent
3a3d412542
linted
5 years ago
Vincent
3bc7d95d47
closed-group-contacts-redux
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
bd67040086
handle empty group id after decoding and set it to null
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
ae35626b35
Merge pull request #1221 from msgmaxim/ts-onion-requests
...
Move onion requests to typescript
5 years ago
Mikunj Varsani
f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
...
Fix up Blocking
5 years ago
Maxim Shishmarev
ccc487528d
Fix edkey extraction
5 years ago
Mikunj
f008a8b3ef
Always block the primary device instead of all devices.
...
Added isBlockedAsync function.
5 years ago
Mikunj
2a1afa9fe7
Forgot checking for our own devices
5 years ago
Mikunj
3159baebfa
Fix case where blocked user adds a new linked device.
5 years ago
Audric Ackermann
0366f29473
fix expiretimer on closed groups message showing on session conversation
5 years ago
Vincent
8484b9d3f6
regex-fiddling
5 years ago
Vincent
ea23df2986
OpenGroup strict SSL verification
5 years ago
Audric Ackermann
a02aa75f1f
Merge remote-tracking branch 'upstream/clearnet' into various-closed-group-fixes
5 years ago
Mikunj
1b93a210bc
Comments
5 years ago
Audric Ackermann
bfd19af04d
use MultiDeviceProtocol.isOurDevice when possible
5 years ago
Audric Ackermann
15b8600e25
fix display name and avatar not being updated when message from secondary
5 years ago
Vincent
5b68ea69f7
revert activeAt position
5 years ago
Vincent
bcad497c7f
regex-for-http
5 years ago
Vincent
e7569a569c
fix-unicode-windows-error
5 years ago
Mikunj
95f1e34b6b
Update tests
5 years ago
Mikunj
8c3943094d
Add tests
5 years ago
Maxim Shishmarev
6919f53a45
Move constants to preload.js
5 years ago
Mikunj
aa75205bbd
Move BlockedNumberController to ts
5 years ago
Vincent
5a2b91d572
Merge branch 'various-closed-group-fixes' of https://github.com/Bilb/loki-messenger into closed-group-fixes
5 years ago
Vincent
447d2b3406
edit-loading-state
5 years ago
Maxim Shishmarev
12f73e23f2
Move onion requests to typescript
5 years ago
Vincent
4c48c9f6d6
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into closed-group-fixes
5 years ago
Vincent
2f38a4a7a3
revert primary-device-pubkey
5 years ago
Vincent
600653d3d6
allow cancel linking
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
Maxim Shishmarev
d429390e62
Merge pull request #1218 from msgmaxim/swarm-nodes
...
Remove swarm nodes from conversations
5 years ago
Audric Ackermann
235ab0bfb3
create convo for both primary and secondary in receivemessage
5 years ago
Vincent
0386259fce
cancelling linked
5 years ago
Maxim Shishmarev
d5a98b8b47
Remove swarm nodes from conversations
5 years ago
Vincent
6e1f3fdc75
linked-devices-limit
5 years ago
Audric Ackermann
2257420523
ignore other empty buffers which should be null after protobuf decode
5 years ago
Mikunj Varsani
26e3eca1a2
Merge pull request #1215 from Mikunj/session-restoration
...
Automatically restore session on no record error
5 years ago
Vincent
d7f8b2ccdd
Merge branch 'session-restoration' of https://github.com/Mikunj/session-desktop into fix-group-name
5 years ago
Mikunj
8f82e7a442
Fix multi device pairing
5 years ago
Mikunj
f33897abe2
Automatically restore session on no record error
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
2ff177d814
Fix promise test
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
269c87a42e
Fix closed group issues
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
bbebfa4c7e
remove fixed comments
5 years ago
Audric Ackermann
0474e84b19
fix profileKey sharing and avatar
5 years ago
Audric Ackermann
f3ae798b12
remove SESSION_REQUEST flag from DataMessage. now in envelope
5 years ago
Maxim Shishmarev
468ad9f71d
Add more type annotations
5 years ago
Vince
cef647f110
Merge pull request #1199 from vincentbavitz/utils-tests
...
Utils Tests
5 years ago
Vincent
d1a77b82ee
rm tmp file
5 years ago
Vincent
e4cf21b2de
ConversationAttributes typofix
5 years ago
Mikunj
23b05107fb
Fix closed group infinite request loop
5 years ago
Vincent
7498a255a2
utils compatiblity merger
5 years ago
Maxim Shishmarev
e2b5b6654b
Clean up more imports
5 years ago
Audric Ackermann
c95bf57b28
Merge remote-tracking branch 'upstream/clearnet' into handle-message-sending-events
5 years ago
Audric Ackermann
1201707d17
show tiny wheel while message is in sending state
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
225d7f84e4
Fix declaration file names
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
Audric Ackermann
1b011ca74e
fix groupUpdate including an empty kicked field
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
Vincent
a62a19145c
group-tests
5 years ago
Vincent
5d8f9cf950
stratify-utils
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
Mikunj
2e82bf98c1
Added libloki typings
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
78b1ef4805
rm-electron-test
5 years ago
Vincent
aa6ce0787b
with-electron?
5 years ago
Audric Ackermann
029851400d
include endSession message with new pipeline
5 years ago
Mikunj
b85348569b
Merge branch 'clearnet' into folder-restructure
5 years ago
Audric Ackermann
908316f00d
update ReadReceiptMessage and DeliveryReceiptMessage to new pipeline
5 years ago
Mikunj Varsani
c1248e973f
Merge pull request #1185 from Mikunj/fix-tests
...
Fix MessageQueue tests
5 years ago
Mikunj
8f492f8e74
Review changes
5 years ago
Vincent
65148300e7
from-to-toSyncMessage
5 years ago
Vincent
58ab611c9e
pulled
5 years ago
Vincent
74e21ff157
Merge branch 'fix-tests' of https://github.com/Mikunj/session-desktop into utils-tests
5 years ago
Mikunj
3bf5796cd5
Modify periodic check implementation
5 years ago
Maxim Shishmarev
7fe6583608
Fix incorrect conversation id for incoming open group messages
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
fbba5575ba
remove buildSessionRequest message
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
Mikunj
cbc3518f04
Fixed file structure of test utils
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
Vincent
0b623aa198
revert-tick-on-events
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
Vincent
2edda7c9e5
hasSession checl
5 years ago
Vincent
3fa9eed90b
stuck-w-events
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
fc7daadd41
updte profile of primary conversation when updating the secondary conversation
5 years ago
Audric Ackermann
417634086a
ignore public group on preprocessGroupMessage
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
Vincent
e98f509304
resolves-on-ression-reset
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
Mikunj
2ed8aeaf30
Lint
5 years ago
Audric Ackermann
eb9a838af1
remove friends from UI logic
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
ae8226597b
prototyped-stub
5 years ago
Vincent
73d44d60cf
mostly-tests
5 years ago
Audric Ackermann
66de8d9648
remove plenty of the friend logic
5 years ago
Audric Ackermann
bccdc3cf34
Merge remote-tracking branch 'upstream/clearnet' into receiver-remove-friend-request-logic
5 years ago
Mikunj
ae44f0da0f
Remove old multi device functions
5 years ago
Mikunj
7b7d8c0e2a
Remove multi device from libloki
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
Maxim Shishmarev
c19d81ade8
Merge pull request #1173 from msgmaxim/refactor-receiving
...
Receiving Refactor: handleDataMessage onwards
5 years ago
Maxim Shishmarev
b98543a9fc
Fix enum in a definition type
5 years ago
Audric Ackermann
68b119fb69
remove FR logic from receiver and background.js
5 years ago
Maxim Shishmarev
eb280ec1e4
Move model definition files
5 years ago