Audric Ackermann
062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
...
also add pending tests to do for in memory db and updater
3 years ago
Audric Ackermann
a9cc9a7294
add tests for attachment metadata
3 years ago
Audric Ackermann
261940e978
fix tests
3 years ago
warrickct
0db3c76756
Fixing linting errors
3 years ago
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
3 years ago
warrickct
86a9253144
Merge branch 'clearnet' into message-requests
3 years ago
Audric Ackermann
4d72f24fd5
make sure test ip for snodes are random
4 years ago
Warrick Corfe-Tan
123e68c167
WIP: Adding message requests using existing convo list item.
4 years ago
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
4 years ago
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
4 years ago
audric
6a50484597
fix tests for swarm polling
4 years ago
audric
e5dab2781e
remove spectron dependency
4 years ago
audric
8344c48d88
handle offline status for selectGuardNodes stuff
4 years ago
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
Brice-W
c3bf2a4e96
fixes and tests
4 years ago
Audric Ackermann
13bc1a21d9
add test for swarmPolling variable rate
4 years ago
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact
4 years ago
Audric Ackermann
01fd927070
match envelope type with ios protos
4 years ago
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set
4 years ago
Audric Ackermann
4a98d911a2
add a HeaderOption to change the notification settings for each convo
4 years ago
Audric Ackermann
0192f295f2
move the user fetch for mentions to redux
4 years ago
Audric Ackermann
3456162402
Moved opengroupv1 test to opengroupv2 tests
4 years ago
Audric Ackermann
eb0ddd85f4
add zombies logic for member leaving and removing
4 years ago
Audric Ackermann
a26c5da6cb
Uniformize once and for all the conversation types
...
no more 'direct'. those are private convos
4 years ago
Audric Ackermann
193fb2a101
move some message interactions logic to another file
4 years ago
Audric Ackermann
3b30d13719
add some regex to identify Opengroupv2 vs Opengroupv1 convo Ids
4 years ago
Audric Ackermann
e3e1296788
add constant openGroupPrefix: publicChat: and use it
4 years ago
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
4 years ago
Audric Ackermann
c07271109f
Add a ConversationType OPEN_GROUP
4 years ago
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only
4 years ago
Audric Ackermann
79193ee7be
refactor to Visible and ControlMessage types
4 years ago
Audric Ackermann
ad117fe4e5
uniformized redux convo type and getProps() of conversation
4 years ago
Audric Ackermann
fc24df00fb
always share our profileKey on outgoing messages
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
01f834ae98
only handle the first ever configuration message incoming
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
a51f95d28c
move models to TS part1
4 years ago
Audric Ackermann
b88ea110e8
Add multi device v2 support
4 years ago
Audric Ackermann
334da0a169
finish explicit group updates
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
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
f1d84177a0
fix expirationTimer updates closed group desktop to ios
4 years ago
Audric Ackermann
58be168227
drop groupUpdates which happened before we joined the 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
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
5 years ago
Audric Ackermann
e2a42d1b61
add stubbing of messageQueue in window from ts tests
5 years ago
Maxim Shishmarev
87144336b7
Large refactor of medium groups. Fixes them for multidevice
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
Audric Ackermann
b502fcc3f9
clean code and add comments
5 years ago
Vincent
e4cf21b2de
ConversationAttributes typofix
5 years ago
Vincent
a62a19145c
group-tests
5 years ago
Vincent
5d8f9cf950
stratify-utils
5 years ago
Vincent
c3af41cb80
merge
5 years ago
Vincent
f4fdd42ef3
string-tests
5 years ago
Vincent
32015eeab6
ptests
5 years ago
vincent
152adbf4d5
syncMessage done
5 years ago
Vincent
f72423c2ba
types-etc
5 years ago
Mikunj
b85348569b
Merge branch 'clearnet' into folder-restructure
5 years ago
Mikunj
3bf5796cd5
Modify periodic check implementation
5 years ago
Mikunj
d862269f8d
Update tests
5 years ago
Mikunj
cbc3518f04
Fixed file structure of test utils
5 years ago
Vince
fe7aaa0aaa
Merge pull request #1177 from vincentbavitz/message-queue-test
...
Message Queue Tests
5 years ago
Vincent
99674ed2ba
Fixup PubKey.isEqual
5 years ago
Vincent
20b2ba1c8a
generateMemberList-compactify
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
0933cf8b02
Added multi device protocol tests
5 years ago
Vincent
33488a9520
final
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
6afddf38df
finalise
5 years ago
Vincent
73d44d60cf
mostly-tests
5 years ago
Vincent
8417e3660d
fixup-review
5 years ago
Vincent
2be1c2fd94
groups-test
5 years ago
Vincent
bffb43dd19
review-fixes
5 years ago
Vincent
119ab83e85
tests-init
5 years ago
Vincent
48e3ded9d2
review changes
5 years ago
Audric Ackermann
d1518f8233
add new handling of session request message
5 years ago
Vincent
83f70f1ff0
OpenGroup class and sending to Groups
5 years ago
Audric Ackermann
f17ffd295a
Merge remote-tracking branch 'upstream/clearnet' into message-sending-refactor
5 years ago
Mikunj
f279f47b35
Fix other declaration files
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
e1dc190ebf
Merge branch 'clearnet' into type-fixes
5 years ago
Audric Ackermann
dc00923f17
add SessionProtocol test
5 years ago
Vincent
a2844b48f4
linted
5 years ago
Vincent
3a617934e2
Finalized cache
5 years ago
Vincent
b203dc4493
Finalized cache
5 years ago
Mikunj
41fa167e79
Improve typings for LibsignalProtocol
5 years ago
Mikunj
863c6da772
Add util to wrap window stubs
5 years ago
Mikunj
21e2469b75
Add more tests
5 years ago
Mikunj
4704893649
Refactor
5 years ago