Commit Graph

676 Commits (5bcf63e592b661fddfc27a69f4d3780af06dfd4c)

Author SHA1 Message Date
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
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
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
Mikunj 77602e3dbb Moved contactPreKey and contactSignedPreKey to sql. 7 years ago
Mikunj f589fdac5c Merge signal changes into branch. 7 years ago
Beaudan 1ccf3b6b95 Added function to loki_message_api to do a single request call to storage server. Currently just gets called once when the application starts 7 years ago
Scott Nonnenberg e2e0e4c96b Refine sealed sender logic 7 years ago
sachaaaaa dda71cbea1 always lock editor after sending friend request. unlock if error. 7 years ago
Scott Nonnenberg 1755e0adfd Move all remaining stores to SQLCipher 7 years ago
sachaaaaa 4b9fcb98d4 Linting and other housekeeping stuff 7 years ago
sachaaaaa 7b1fbe362e Allow choosing language for mnemonic seed 7 years ago
sachaaaaa bbabeb34b8
Merge pull request #18 from sachaaaaa/mnemonic
Allow registering using a mnemonic word list
7 years ago
sachaaaaa 68c98e0f6f
Merge pull request #20 from sachaaaaa/friend_request_prompt
Friend request prompt
7 years ago
sachaaaaa 666cb1d3cb replace double with triple equals 7 years ago
Scott Nonnenberg a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
7 years ago
sachaaaaa 13858dfa66 yarn.lock and fix missing variable in transmission error handling 7 years ago
sachaaaaa 3481c0e58f send back an empty message with prekeys upon accepting a friend request 7 years ago
sachaaaaa e1ffe582c3 Prompt user when an incoming friend request is received 7 years ago
sachaaaaa 143b1e883d
Merge pull request #17 from sachaaaaa/lock_input_friend_request
Lock input after friend request is sent
7 years ago
sachaaaaa 68e15d60b1 Convert privKey to ArrayBuffer before generating key pair 7 years ago
sachaaaaa 1ce29d77c3 Moved mnemonic to node side. Added sc_reduce32 (asm) to generate privkey. Moved mnemonic languages to separate files. 7 years ago
sachaaaaa 1cf8710127
Merge pull request #16 from sachaaaaa/friend_response
Handle prekeys in incoming friend request
7 years ago
sachaaaaa a418a9d23b allow registering using a mnemonic word list (seed used as privKey for now) 7 years ago
Beaudan d9c89376cb Added logic to pass tll into transmitMessage function, with default value of 24 hours.
TODO: ensure that the target calculation for the PoW is adjusting appropriately for the different ttl values.
7 years ago
Beaudan 9d8890594c Removed unused retransmit function 7 years ago
sachaaaaa fb020f88ea call 'onFriendRequestSent' only after the message was successfully sent 7 years ago
sachaaaaa 9370e2b74a Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
* 'master' of https://github.com/signalapp/Signal-Desktop: (38 commits)
  v1.17.0
  v1.17.0-beta.4
  Ensure that blue group avatars are preserved in dark theme
  Android theme: Incoming quotes take color from containing message
  Conversations have blue avatar backgrounds if no image provided
  Fix lint errors
  Add ca language
  inboxView: Ensure Conversation exists for our own number
  Ensure that file is not attached if we've filtered it
  v1.17.0-beta.3
  Localization updates
  v1.16.3
  Lint fixes
  Lint fixes
  Better handle large numbers of messages in cache on startup
  Keep object stores after conversations migrate to SQLCipher
  Longer timeout for orphaned file cleanup
  Tests and increase consistency for isFileDangerous calls
  Longer timeout for orphaned file cleanup
  v1.17.0-beta.2
  ...

# Conflicts:
#	background.html
#	package.json
7 years ago
sachaaaaa 93f1534512 Save prekeys upon reception of friend request. Add function to send an empty message as friend request acceptance 7 years ago