Beaudan
a676459229
Added test for returning the correct prekeybundle after creating a contact, updated the in memory store to reflect how sasha updated the actual store a while ago
7 years ago
Beaudan
c93aff7ebe
Setup grunt/yarn etc for loki tests plus wrote first 2 simple libloki-protocol tests
7 years ago
Mikunj
2715e79268
Fix conversation status not being reset upon conversation messages deletion.
...
Fix incoming friend request not replacing old friend requests.
Fixed incorrect function name.
7 years ago
sachaaaaa
05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
...
Handle session reset, Loki style
7 years ago
Beaudan
1e3886cca8
More consistent naming of key storage functions, moved some loki messenger only functions into new file
7 years ago
sachaaaaa
91f018da57
remove unused var
7 years ago
sachaaaaa
f2e1b9b8de
more missing awaits
7 years ago
sachaaaaa
933d7730db
Remove superfluous commented out line
7 years ago
sachaaaaa
7e612700f7
Handle session reset, Loki style
7 years ago
Mikunj
62c802445b
Allow generating mnemonic for different languages.
7 years ago
Mikunj
85298012e4
Added generation of seed in registration.
7 years ago
Beaudan
28fc5793a7
More explicit function names, shifted friend request sent logic to more sensible place
7 years ago
Beaudan
91a8a82e39
More PR suggestions, now recover from early exit before friend request is sent
7 years ago
Beaudan
2de01d0343
Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption
7 years ago
Beaudan
051e4dd22c
XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable
7 years ago
Mikunj
c10e81355d
Moved profile name saving to account manager.
7 years ago
Mikunj
06f79eb3fd
Allow user to set display name when registering.
7 years ago
Scott Nonnenberg
822ea9ae53
Improve sealed sender icon display logic
7 years ago
sachaaaaa
f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
...
Added profile sharing and setting nicknames.
7 years ago
Mikunj
f596c8125a
Only attach profile if name is set.
7 years ago
Scott Nonnenberg
313d08344a
Request configuration sync on startup of new version
7 years ago
Mikunj
18d638fdbf
Fix sending and receiving profile.
...
Don't delete profile after if we set the display name to empty.
7 years ago
Beaudan
fa63ce5ade
Review changes
7 years ago
Beaudan
35c89ea4d9
Big refactor, prekeybundle moved back to a content message
7 years ago
Mikunj
14ee7fec65
Moved and nicknames into conversations.
7 years ago
Mikunj
aa57693fce
Update profile if we get it through a message.
7 years ago
Mikunj
774c52a407
Added dynamic profile fetching in conversation.
...
Added setting profile when sending DataMessage.
7 years ago
Beaudan
7c92eeac30
Fixing cache clearing bug
7 years ago
Scott Nonnenberg
70eed938d9
Store arrayBuffers in database for remote identity keys
7 years ago
Scott Nonnenberg
79a861a870
Typing Indicators
7 years ago
Scott Nonnenberg
99252702e1
Support receiving multiple images in one messages
7 years ago
sachaaaaa
4309a10ebc
Merge pull request #60 from BeaudanBrown/develop-mode-settings
...
Removed some repetetive logs, developer mode settings
7 years ago
sachaaaaa
b03548637c
Fix getKeysForNumber when staleDevices is not empty
7 years ago
Beaudan
b515fc41e7
Removed some repetetive logs, made the polling time a variable and lower the polling time and PoW difficulty if we are in debug mode
7 years ago
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
7 years ago
sachaaaaa
7e783639fd
Fix inexistent enum value for Prekey Type
7 years ago
Mikunj
9fd822a7e3
Remove preKeys on friend request decline.
7 years ago
Mikunj
0dabce9e28
Remove preKeyBundle from message.
...
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
7 years ago
Mikunj
149da3374a
Fix pkb not being saved on the first cipher message.
7 years ago
Mikunj
0404f42738
Merge commit 'dbdd52b4eb11ca71adcae547c931b5cfda1ada11' into fix/pkb-type
7 years ago
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
...
Friend request fixes
7 years ago
Mikunj
05f8a1c43a
Handle pkb friend request accept.
7 years ago
Mikunj
4bb93e6e3c
rename sendEmptyMessageWithPreKeys to sendFriendRequestAccepted.
7 years ago
Mikunj
bd15f426f9
Attack a type to preKeyBundleMessage.
7 years ago
Mikunj
f29a515fdf
Fix up typos.
7 years ago
Mikunj
8a0b8e1f00
Store the state of the friend request inside the conversation.
7 years ago
Mikunj
484efd34a3
Added friend request message expiration.
7 years ago
Mikunj
db1145c0ce
Fix handling empty content.
7 years ago
sachaaaaa
ccb5ff79d4
Use correct log level in development mode and use log.debug() for some of the reoccurring logs
7 years ago
Mikunj
dba6a36e83
removed old unused code.
7 years ago
Mikunj
75219966a7
Fixed preKeyBundle decryption.
7 years ago
Mikunj
b21a7197f7
Fix preKeyBundle not sending.
7 years ago
Mikunj
110387508f
UI fixes.
7 years ago
Mikunj
4ebdfab633
Update handling of new message logic.
7 years ago
Mikunj
6c5c95d956
Added preKey decryption.
7 years ago
Mikunj
1264630649
Attach preKeyBundle outside of the message content.
7 years ago
Mikunj
cf3e9716ed
Update new conditions for friend accepted and key exchange complete in conversations model.
7 years ago
Beaudan
ff3cc7a315
Review changes
7 years ago
Beaudan
489ec8fc65
Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way
...
Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after
Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error
create unique index for contact prekeys (to allow using REPLACE)
Fixed lint stuff that merge brought back
7 years ago
sachaaaaa
78d39ac177
Merge pull request #41 from Mikunj/fix/friend-notification
...
Friend Notifications
7 years ago
Mikunj
17e5c861a1
Fixed review issues.
...
Fixed lint error.
7 years ago
sachaaaaa
82a09d46d7
Merge pull request #42 from sachaaaaa/restore_padding
...
restore ciphertext padding
7 years ago
Mikunj
ece266fffd
Added showing pow icon.
7 years ago
sachaaaaa
847401e49a
restore ciphertext padding
7 years ago
sachaaaaa
9f101d9381
Merge pull request #40 from Mikunj/merge/signal
...
Merge Signal 1.18.0
7 years ago
Mikunj
745d0e82d4
Added unread count badge .
7 years ago
sachaaaaa
5a428af873
Restore incoming Signal decryption to fix 'Illegal wire type for field Message.Field .signalservice.Content.preKeyBundleMessage'
7 years ago
Mikunj
c0a21f60c0
Fix function issue.
7 years ago
sachaaaaa
4a31c1640f
Missing callback argument for recursive calls in http-resources
7 years ago
sachaaaaa
dc0a70b6d0
fix copy/pasta mistake
7 years ago
Mikunj
4d3fb17e61
Merge branch 'sig-development' into merge/signal
7 years ago
sachaaaaa
6c6b0a4b92
Merge pull request #37 from sachaaaaa/fix_network_status_warning
...
Make network status warning work with HTTP polling
7 years ago
sachaaaaa
5bcf63e592
Merge pull request #39 from BeaudanBrown/last-hash
...
Last hash
7 years ago
Beaudan
9731c9e086
Comment out some signal server based code causing errors. Return before trying to unpad message because they aren't being padded in the first place
7 years ago
Mikunj
245ae721c7
Fix checking for when a friend request was accepted.
7 years ago
Mikunj
3389b1d457
Fixed the way preKeyBundle is stored in message.
7 years ago
Mikunj
688f275262
pass in source, sourceDevice, timestamp and receivedAt when adding a friend request.
7 years ago
sachaaaaa
7e9016f510
Make network status warning work with HTTP polling
7 years ago
BeaudanBrown
bd0ce981dd
Merge pull request #34 from sachaaaaa/classify
...
ES2015 classes for LokiServer and FallBackSessionCipher
7 years ago
sachaaaaa
ad1cf94526
ES2015 classes for LokiServer and FallBackSessionCipher
7 years ago
Mikunj
f4b60c3ff6
Fix setting friend requests incorrectly.
7 years ago
Mikunj
6aab900da2
Handle friend request updated.
7 years ago
Mikunj
757216fe80
Fix text input disabling.
7 years ago
Mikunj
fc3cb9c46d
Replace old pending messages with new one when adding a new incoming friend request.
...
More refactoring.
7 years ago
Mikunj
d5fafd4d78
refactor friend request message props
7 years ago
Mikunj
a80d6bb868
Merged branch correctly.
7 years ago
BeaudanBrown
9ceb3c8ac0
Merge branch 'development' into message-polling
7 years ago
Scott Nonnenberg
2822f4ce40
Ensure proper order of state changes during account create
7 years ago
Scott Nonnenberg
c5f9fae444
A few small bugfixes
7 years ago
Beaudan
c59b196487
Now reading messages and adding them to conversations. Some cleaning of unreachable code. Modified the message data to be encoded as base64 string before sending to server
...
Sending our public key in header of message
Now attaching our key to the source field when sending messages, allows messages to be decrypted with the fallback cypher
Now polling the server for messages every 5 seconds
Sending the source device with messages
Added mock respond function to request to leave it that same as the websocket stuff. RetrieveMessages now just returns the result
Polling now continues if the server responds with an error. Returning only the result from sendMessage and retrieveMessages
Revert commenting of unreachable code
Refactored http logic into own file
Revert a change to websocket-resources
7 years ago
Mikunj
0cf616328e
Fixed saving prekey bundle once friend request is accepted.
...
Added option to delete conversation after it is declined.
7 years ago
Mikunj
0a88f337d5
Merge branch 'sig-development' into merge/signal
7 years ago
Mikunj
c150cbe34f
Friend request message indicator.
7 years ago
Mikunj
b9e85bb141
Added handling of accept and decline events.
7 years ago
Mikunj
1bef7a0c98
Modified createAccount to only accept params needed for Loki Messenger.
...
Removed implementation of registerSecondDevice.
7 years ago
Mikunj
b63844af57
Fix registration.
7 years ago
Scott Nonnenberg
e828253ef0
Restor full function syntax to custom Mocha reporter
7 years ago
Scott Nonnenberg
dbf0be2db5
eslintify all test files
7 years ago
Scott Nonnenberg
2d48daa7b6
Refine Sealed Sender behaviors
7 years ago
Mikunj
2fabd93fd6
Fix message sending
7 years ago