Beaudan
2de01d0343
Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption
2018-12-03 16:44:10 +11:00
sachaaaaa
f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
...
Added profile sharing and setting nicknames.
2018-11-29 15:59:53 +11:00
Mikunj
18d638fdbf
Fix sending and receiving profile.
...
Don't delete profile after if we set the display name to empty.
2018-11-28 14:08:25 +11:00
Beaudan
fa63ce5ade
Review changes
2018-11-28 13:16:50 +11:00
Beaudan
35c89ea4d9
Big refactor, prekeybundle moved back to a content message
2018-11-28 12:10:44 +11:00
Mikunj
14ee7fec65
Moved and nicknames into conversations.
2018-11-28 10:31:11 +11:00
Mikunj
aa57693fce
Update profile if we get it through a message.
2018-11-28 10:31:11 +11:00
Beaudan
7c92eeac30
Fixing cache clearing bug
2018-11-27 16:29:45 +11:00
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
2018-11-26 16:01:13 +11:00
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
2018-11-26 11:28:43 +11:00
Mikunj
9fd822a7e3
Remove preKeys on friend request decline.
2018-11-23 12:25:44 +11:00
Mikunj
0dabce9e28
Remove preKeyBundle from message.
...
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
2018-11-23 11:09:47 +11:00
Mikunj
149da3374a
Fix pkb not being saved on the first cipher message.
2018-11-23 10:59:10 +11:00
Mikunj
0404f42738
Merge commit 'dbdd52b4eb11ca71adcae547c931b5cfda1ada11' into fix/pkb-type
2018-11-22 16:10:51 +11:00
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
...
Friend request fixes
2018-11-22 16:06:41 +11:00
Mikunj
05f8a1c43a
Handle pkb friend request accept.
2018-11-22 15:39:49 +11:00
Mikunj
4bb93e6e3c
rename sendEmptyMessageWithPreKeys to sendFriendRequestAccepted.
2018-11-22 15:18:10 +11:00
Mikunj
f29a515fdf
Fix up typos.
2018-11-22 14:52:32 +11:00
Mikunj
8a0b8e1f00
Store the state of the friend request inside the conversation.
2018-11-22 13:59:03 +11:00
Mikunj
db1145c0ce
Fix handling empty content.
2018-11-21 15:37:19 +11:00
sachaaaaa
ccb5ff79d4
Use correct log level in development mode and use log.debug() for some of the reoccurring logs
2018-11-21 15:06:22 +11:00
Mikunj
dba6a36e83
removed old unused code.
2018-11-21 12:38:01 +11:00
Mikunj
75219966a7
Fixed preKeyBundle decryption.
2018-11-21 11:29:48 +11:00
Mikunj
110387508f
UI fixes.
2018-11-20 16:01:37 +11:00
Mikunj
4ebdfab633
Update handling of new message logic.
2018-11-20 15:08:29 +11:00
Mikunj
6c5c95d956
Added preKey decryption.
2018-11-20 14:44:48 +11:00
Beaudan
ff3cc7a315
Review changes
2018-11-20 11:02:02 +11:00
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
2018-11-19 18:01:13 +11:00
sachaaaaa
78d39ac177
Merge pull request #41 from Mikunj/fix/friend-notification
...
Friend Notifications
2018-11-16 14:16:23 +11:00
Mikunj
17e5c861a1
Fixed review issues.
...
Fixed lint error.
2018-11-16 13:35:50 +11:00
sachaaaaa
847401e49a
restore ciphertext padding
2018-11-15 12:35:46 +11:00
sachaaaaa
9f101d9381
Merge pull request #40 from Mikunj/merge/signal
...
Merge Signal 1.18.0
2018-11-15 12:15:31 +11:00
Mikunj
745d0e82d4
Added unread count badge .
2018-11-15 12:01:25 +11:00
sachaaaaa
5a428af873
Restore incoming Signal decryption to fix 'Illegal wire type for field Message.Field .signalservice.Content.preKeyBundleMessage'
2018-11-15 09:15:42 +11:00
Mikunj
4d3fb17e61
Merge branch 'sig-development' into merge/signal
2018-11-14 15:06:46 +11:00
sachaaaaa
6c6b0a4b92
Merge pull request #37 from sachaaaaa/fix_network_status_warning
...
Make network status warning work with HTTP polling
2018-11-14 14:54:26 +11:00
sachaaaaa
5bcf63e592
Merge pull request #39 from BeaudanBrown/last-hash
...
Last hash
2018-11-14 14:22:11 +11:00
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
2018-11-14 13:20:18 +11:00
Mikunj
245ae721c7
Fix checking for when a friend request was accepted.
2018-11-14 13:08:21 +11:00
Mikunj
3389b1d457
Fixed the way preKeyBundle is stored in message.
2018-11-14 13:08:21 +11:00
Mikunj
688f275262
pass in source, sourceDevice, timestamp and receivedAt when adding a friend request.
2018-11-14 13:08:21 +11:00
sachaaaaa
7e9016f510
Make network status warning work with HTTP polling
2018-11-14 11:41:47 +11:00
BeaudanBrown
bd0ce981dd
Merge pull request #34 from sachaaaaa/classify
...
ES2015 classes for LokiServer and FallBackSessionCipher
2018-11-13 16:35:01 +11:00
sachaaaaa
ad1cf94526
ES2015 classes for LokiServer and FallBackSessionCipher
2018-11-13 15:03:06 +11:00
Mikunj
f4b60c3ff6
Fix setting friend requests incorrectly.
2018-11-13 14:38:18 +11:00
Mikunj
6aab900da2
Handle friend request updated.
2018-11-13 13:46:53 +11:00
Mikunj
757216fe80
Fix text input disabling.
2018-11-13 13:46:53 +11:00
Mikunj
fc3cb9c46d
Replace old pending messages with new one when adding a new incoming friend request.
...
More refactoring.
2018-11-13 13:41:32 +11:00
Mikunj
d5fafd4d78
refactor friend request message props
2018-11-13 13:41:32 +11:00
Mikunj
a80d6bb868
Merged branch correctly.
2018-11-13 13:41:21 +11:00