Beaudan
f857744e88
Revert sending id
6 years ago
Beaudan
f718bf15d2
Prepare to delete message, send message id to server
6 years ago
Beaudan
014558d939
Squash and clean of old PRs, move towards sending cleartext again
6 years ago
Beaudan Campbell-Brown
b76f84acc5
Merge pull request #377 from msgmaxim/typing-indicators
...
Add a toggle option for typing indicators; use short ttl for them
6 years ago
Maxim Shishmarev
cdd374a4b2
Add a toggle option for typing indicators; use short ttl for them
6 years ago
Beaudan
63396669bc
Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore
6 years ago
Beaudan
804fc076cc
Refresh swarm list 1 time for outgoing messages
6 years ago
Beaudan
c02d5d4053
Lint
6 years ago
Beaudan
709db4bf54
Make sendMessage take options, remove redundant retrieve function and get constant
6 years ago
Beaudan
b43978ece1
Initial refactoring of sendmessage
6 years ago
Beaudan
91e218766c
Remove old log
6 years ago
Beaudan
db8f8ba36f
Multiple all ttl values by 1000 and stop dividing timestamp by 1000 so they are both milliseconds
6 years ago
Beaudan
b00a0cb699
Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min
6 years ago
Beaudan
a40a3d164f
Lots of logic for establishing a p2p connection, managing when the other user is online vs offline etc. Will always try to use P2P messaging when it can and fall back to storage server otherwise
6 years ago
Mikunj
efe95a70bc
Fix review issues.
6 years ago
Mikunj
3c07d99a89
Fix variable names.
...
Fix module export to be more consistent.
6 years ago
Beaudan
2bae6b5eed
Removed online broadcast message type, changed ttl logic a little, add p2p address and port to the window object when recieve message
6 years ago
Beaudan
b417edfc9b
Added new protos for online broadcast messages, added db hits for getting friends, local server now instantiated on the window, now sending online broadcast messages when the local server starts
6 years ago
Beaudan
561d60cfd5
Sending messages now in a while loop like retrieving messages, added a failureCount and only delete node urls if they fail 3 times
6 years ago
Mikunj
1a15ec9c15
Merge commit signal/master into signal-1.20
6 years ago
Mikunj
e08a63d078
Merge development into lint
6 years ago
Beaudan
7b1799c418
Big ol' hunk o' chunk. Now using random.snode to populate swarm lists, now making multiple requests from said lists and they are processed as they complete rather than waiting for all to resolve
6 years ago
Mikunj
6bd2d3962e
Linted files
6 years ago
Mikunj
8f1650443f
Set custom TTL in outgoing message.
6 years ago
Mikunj
070d18b514
Updated function calls.
6 years ago
Scott Nonnenberg
985b1d6aa6
New staged attachments UI, multiple image attachments per message
6 years ago
Mikunj
6bcb259919
Added PoW error.
6 years ago
Mikunj
654b0dac84
Merge signal-master.
6 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.
6 years ago
sachaaaaa
05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
...
Handle session reset, Loki style
6 years ago
Beaudan
1e3886cca8
More consistent naming of key storage functions, moved some loki messenger only functions into new file
6 years ago
sachaaaaa
7e612700f7
Handle session reset, Loki style
6 years ago
Beaudan
28fc5793a7
More explicit function names, shifted friend request sent logic to more sensible place
6 years ago
Beaudan
91a8a82e39
More PR suggestions, now recover from early exit before friend request is sent
6 years ago
Beaudan
051e4dd22c
XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable
6 years ago
Beaudan
35c89ea4d9
Big refactor, prekeybundle moved back to a content message
6 years ago
Scott Nonnenberg
79a861a870
Typing Indicators
6 years ago
sachaaaaa
b03548637c
Fix getKeysForNumber when staleDevices is not empty
6 years ago
Beaudan
b65d6a6d2c
Refactor friend request status to use a state enum variable
6 years ago
sachaaaaa
7e783639fd
Fix inexistent enum value for Prekey Type
6 years ago
Mikunj
bd15f426f9
Attack a type to preKeyBundleMessage.
6 years ago
Mikunj
484efd34a3
Added friend request message expiration.
6 years ago
Mikunj
b21a7197f7
Fix preKeyBundle not sending.
6 years ago
Mikunj
1264630649
Attach preKeyBundle outside of the message content.
6 years ago
Mikunj
cf3e9716ed
Update new conditions for friend accepted and key exchange complete in conversations model.
6 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
6 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
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