Commit Graph

4542 Commits (143b1e883dfe812d54375c74feaafc72b4211a40)
 

Author SHA1 Message Date
sachaaaaa 143b1e883d
Merge pull request #17 from sachaaaaa/lock_input_friend_request
Lock input after friend request is sent
7 years ago
sachaaaaa 1cf8710127
Merge pull request #16 from sachaaaaa/friend_response
Handle prekeys in incoming friend request
7 years ago
sachaaaaa 2ea49473e5
Merge pull request #19 from loki-project/friend-req-ttl
Longer ttl for friend request messages
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 639c3e9a4f fix app name from previous merge 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
Scott Nonnenberg 47c81e1be9 v1.17.0 7 years ago
Scott Nonnenberg 931ea56191 Merge tag 'v1.17.0-beta.4' 7 years ago
BeaudanBrown bb03025333
Merge pull request #13 from loki-project/proof-of-work
Proof of work
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
Scott Nonnenberg f01c5f3e68 v1.17.0-beta.4 7 years ago
Scott Nonnenberg 2b5f6d8b5e Ensure that blue group avatars are preserved in dark theme 7 years ago
Scott Nonnenberg fbaef50c4a Android theme: Incoming quotes take color from containing message 7 years ago
Scott Nonnenberg f21f83a163 Conversations have blue avatar backgrounds if no image provided 7 years ago
Scott Nonnenberg 4514152320 Fix lint errors 7 years ago
Beaudan dfa8b59bc3 Using let and const properly, updated number to uint function, general cleaning 7 years ago
sachaaaaa 025d13a72b Add keyId index for contact prekeys and allow retrieving prekeys for a specific pubkey and keyid 7 years ago
sachaaaaa b9dbf11ebc Fix various things from previous commits 7 years ago
Beaudan ee57c698d7 Client side proof of work attached to messages
Skeleton calcPoW function that prepares payload for hashingFunction to increment Uint8Array nonce

Util function for converting a number to its Uint8Array representation

Actually perform calculate PoW nonce for every message

Adding bytebuffer as dependency and updated package-lock

Move PoW to new file and execute it in child process

TODO: Move send message logic to callback after child process has finished calculating the PoW

Refactored nonce calculation to function to be awaited

More readable timestamp grab plus converted to seconds

Nonce is now returned as a base64 string and included in request header

Also converted timestamp and ttl to string when including them in the header

Added a couple comments and tidied up some nonce logic
7 years ago
sachaaaaa 5602f4bfff Change placeholder in discussion 7 years ago
sachaaaaa d4d0d05adf Lock text input while waiting for friend request reply 7 years ago
sachaaaaa 886f47b8e7
Prekeys sending: first pass (#12)
* add 'recipient' attribute in prekey database to allow binding a prekey to a recipient pub key

* Attach a PreKeyBundleMessage to the ContentMessage in fallback encryption mode

* Skip generating 100 prekeys upon registration

* Store the signed key signature in database
7 years ago
Scott Nonnenberg afa7f4b084 Add ca language 7 years ago
Scott Nonnenberg b9cc17b81a inboxView: Ensure Conversation exists for our own number 7 years ago
Scott Nonnenberg a24d9f9979 Ensure that file is not attached if we've filtered it 7 years ago
sachaaaaa 54201d6665 fix bad merge: missing FallBackDecryptionError 7 years ago
sachaaaaa eb488f9305 fix bad merge in libloki-protocol 7 years ago
sachaaaaa b432700fe8
Merge pull request #11 from sachaaaaa/key_exchange_status
Change keysPending flag to keyExchangeCompleted in conversation model
7 years ago
sachaaaaa d5ef0cfb03 Revert changes and rename keysPending to keyExchangeCompleted 7 years ago
sachaaaaa 377ee009c4
Merge pull request #10 from sachaaaaa/ignore_failed_decryption_messages
Ignore friend request messages that couldn't be decrypted
7 years ago
Scott Nonnenberg c5908052ec v1.17.0-beta.3 7 years ago
Scott Nonnenberg 14651a39bd Localization updates 7 years ago
Scott Nonnenberg b5104934a7 v1.16.3 7 years ago
Scott Nonnenberg 10bd12d622 Lint fixes 7 years ago
Scott Nonnenberg fc0253e9b5 Lint fixes 7 years ago
Scott Nonnenberg 76e72f871a Better handle large numbers of messages in cache on startup 7 years ago
Scott Nonnenberg 7532f397ea Keep object stores after conversations migrate to SQLCipher 7 years ago
Scott Nonnenberg 655d9d1222 Longer timeout for orphaned file cleanup 7 years ago
Scott Nonnenberg bc0ec92ad2 Tests and increase consistency for isFileDangerous calls 7 years ago
Scott Nonnenberg 8edfbdcee5 Longer timeout for orphaned file cleanup 7 years ago
sachaaaaa ecd300d68d Change keysPending flag to keyExchangeStatus in conversation model 7 years ago
sachaaaaa 0283c6428f Ignore friend request messages that could not be decrypted 7 years ago
Scott Nonnenberg 5e5fa13719 v1.17.0-beta.2 7 years ago
Scott Nonnenberg 0850dc368a Lint fixes 7 years ago
Scott Nonnenberg 7d9711ba65 Restore iOS-specific theme; colors on left in android theme 7 years ago
sachaaaaa 583fb2e6c6
Merge pull request #8 from sachaaaaa/send_as_bytes
Send outgoing messages as bytes
7 years ago
sachaaaaa 9677f8b648
Merge branch 'development' into send_as_bytes 7 years ago
sachaaaaa b52dac98b7
Merge pull request #7 from sachaaaaa/fallback_decrypt
Decrypt "friend request" messages using fallback encryption. Move logic into libloki.js
7 years ago