Commit graph

127 commits

Author SHA1 Message Date
Maxim Shishmarev
3f58dea035 Remove mixpanel 2020-01-31 10:14:30 +11:00
sachaaaaa
3d7548729f Prevent prekeys to be deleted when re-sending pairing request 2019-11-20 15:43:14 +11:00
Beaudan Brown
bce18b7ae6 Revert change so we are always friends with our secondary devices, check validSyncSender from primary pubkey rather than ourNumber 2019-11-13 12:36:23 +11:00
Beaudan Brown
f16b032056 Handle sync messages properly for some edge cases, ensure we always have a primaryDevicePubKey, send contact sync message 2019-11-04 15:50:51 +11:00
Mikunj
589b3f3233 Infer pairing message type from the content.
This should fix device pairing cross platform.
2019-10-29 15:51:40 +11:00
sachaaaaa
a314721cce Both devices to update their mapping after secondary registration 2019-09-26 16:53:45 +10:00
sachaaaaa
b63d8ec84f Merge branch 'clearnet' into multi-device
* clearnet: (35 commits)
  yarn lint
  return early if signature is not a string
  lint pass 2
  lint pass 1
  make sure versioning on write can't get out of sync
  Update js/modules/loki_public_chat_api.js
  Handle annotations omit correctly
  fix typo CI found
  refactor
  pollOnceForMessages() move lastGot up, address Sacha's review
  Update js/modules/loki_public_chat_api.js
  address review
  address reviews
  Custom message rendering of mentions
  fix method
  separate out new/open, more lint/cleanup
  separate out note to self
  create window.mixpanel here
  use window.mixpanel, remove eventEmitter
  lint and remove unneeded params
  ...
2019-09-26 11:08:55 +10:00
Ryan Tharp
c921d3e3b3 allow mixpanel to be already set up elsewhere 2019-09-18 16:12:16 -07:00
Ryan Tharp
88b44390bf Desktop Analytics 2019-09-17 01:14:29 -07:00
Beaudan Campbell-Brown
a6abcaf826
Merge pull request #453 from Mikunj/profile-simplification
Profile simplification
2019-09-02 15:27:34 +10:00
Mikunj
831ae09576 Cherry pick "profile simplification" from Mik 2019-09-02 14:16:23 +10:00
Mikunj
c4dd10a5cd Simplified profile setting. Renamed functions to be less confusing. Removed storing profile in local storage. 2019-08-30 09:49:02 +10:00
sachaaaaa
794e6416c8 Add requestPairing high-level function 2019-08-23 16:30:06 +10:00
sachaaaaa
713e9a3acf Fix pubkey validation 2019-08-23 14:28:23 +10:00
sachaaaaa
edd800d382 Make linter happy 2019-08-12 15:07:17 +10:00
sachaaaaa
bf8bb23683 remove stale comment and simplify conversation creation 2019-08-12 15:07:17 +10:00
sachaaaaa
d208614909 Multi-device part 1: make primary account generate and send authorisation to secondary 2019-08-12 15:07:17 +10:00
sachaaaaa
0e61ab8ccc Better document magic numbers 2019-08-08 13:44:46 +10:00
sachaaaaa
16e51a2c7a use variable for magic number 2019-08-08 10:20:17 +10:00
sachaaaaa
b15799e7cb Generate 13 word seeds by default - still accept 25 word seeds. 2019-08-07 16:40:26 +10:00
Maxim Shishmarev
cdd374a4b2 Add a toggle option for typing indicators; use short ttl for them 2019-08-06 11:57:45 +10:00
Mikunj
12ce0140de Left pane changes.
Merge commit 'b3ac1373fa64117fe2a9ccfddf3712f1826c06d9' into signal-1.23

# Conflicts:
#	_locales/en/messages.json
#	background.html
#	js/background.js
#	js/conversation_controller.js
#	js/models/conversations.js
#	js/models/messages.js
#	js/views/conversation_list_item_view.js
#	js/views/conversation_list_view.js
#	js/views/conversation_search_view.js
#	js/views/inbox_view.js
#	libtextsecure/account_manager.js
#	package.json
#	stylesheets/_global.scss
#	stylesheets/_index.scss
#	stylesheets/_modules.scss
#	test/_test.js
#	test/index.html
#	test/models/conversations_test.js
#	test/views/conversation_search_view_test.js
#	ts/components/ConversationListItem.tsx
#	ts/components/MainHeader.tsx
#	ts/components/conversation/ConversationHeader.tsx
#	ts/components/conversation/ResetSessionNotification.tsx
2019-04-17 16:42:09 +10:00
Scott Nonnenberg
b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
sachaaaaa
a0f67c22da Merge branch 'textsecure/master' into merge_1_21_0
* textsecure/master: (26 commits)
  v1.21.0
  v1.21.0-beta.4
  Dark Theme: Preserve blue background on app loading screen
  Localization updates
  Fix width of audio player when window is very narrow
  A number of small fixes for Link Previews
  Get rid of the white flash when the app starts up (#3083)
  v1.21.0-beta.3
  Lint fixes
  Introduce new language: NB
  Fail over to all numbers in retry if errors don't have numbers
  Use the proper method for pulling attachments off disk for retry
  Fix rendering bug with verified state in updateVerified()
  Update electron-builder and electron-updater
  Ensure that dialog pops up when permissions denied for voice note
  Lint fixes
  Large update to localization strings
  Link Previews
  Ensure that blocked messages are dropped even after sealed sender
  Don't linkify quoted message contents
  ...

# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	_locales/cs/messages.json
#	background.html
#	config/default.json
#	index.html
#	js/models/conversations.js
#	js/modules/web_api.js
#	js/settings_start.js
#	js/views/conversation_view.js
#	js/views/settings_view.js
#	package.json
#	protos/SignalService.proto
#	stylesheets/_index.scss
#	stylesheets/_settings.scss
2019-02-06 13:53:20 +11:00
Bradley Sinclair
f968a5db3d Ensure encrypting device name does not die on empty device name (#3066)
Ran into this on the Contributors guidelines setting up the development env.
registerSingleDevice does not pass a deviceName, so it fail every time.
2019-01-29 09:39:55 -08:00
Mikunj
1a15ec9c15 Merge commit signal/master into signal-1.20 2019-01-22 13:54:03 +11:00
Mikunj
6bd2d3962e Linted files 2019-01-16 16:18:08 +11:00
Scott Nonnenberg
43e5d16020 Support for web socket communication with no signaling key 2019-01-14 10:32:12 -08:00
Scott Nonnenberg
47f834cf5c Encrypt device name on account create, on first launch if needed 2019-01-04 12:21:26 -08:00
Mikunj
0491ceacf1 Added seed dialog.
Fixed issue where incorrect language was used to generate seed.
2018-12-12 11:27:41 +11:00
Mikunj
62c802445b Allow generating mnemonic for different languages. 2018-12-05 12:03:40 +11:00
Mikunj
85298012e4 Added generation of seed in registration. 2018-12-04 15:31:59 +11:00
Mikunj
c10e81355d Moved profile name saving to account manager. 2018-12-03 12:54:19 +11:00
Mikunj
06f79eb3fd Allow user to set display name when registering. 2018-12-03 08:55:43 +11:00
Mikunj
9fd822a7e3 Remove preKeys on friend request decline. 2018-11-23 12:25:44 +11:00
Mikunj
c0a21f60c0 Fix function issue. 2018-11-14 15:59:18 +11:00
Mikunj
4d3fb17e61 Merge branch 'sig-development' into merge/signal 2018-11-14 15:06:46 +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
Scott Nonnenberg
2822f4ce40 Ensure proper order of state changes during account create 2018-11-12 15:31:17 -08:00
Mikunj
1bef7a0c98 Modified createAccount to only accept params needed for Loki Messenger.
Removed implementation of registerSecondDevice.
2018-11-09 10:28:55 +11:00
Mikunj
b63844af57 Fix registration. 2018-11-08 12:39:48 +11:00
Mikunj
f589fdac5c Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
sachaaaaa
4b9fcb98d4 Linting and other housekeeping stuff 2018-11-01 11:10:30 +11:00
sachaaaaa
7b1fbe362e Allow choosing language for mnemonic seed 2018-10-31 15:18:48 +11:00
Scott Nonnenberg
a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
2018-10-29 14:49:18 -07:00
sachaaaaa
68e15d60b1 Convert privKey to ArrayBuffer before generating key pair 2018-10-25 10:45:54 +11:00
sachaaaaa
1ce29d77c3 Moved mnemonic to node side. Added sc_reduce32 (asm) to generate privkey. Moved mnemonic languages to separate files. 2018-10-24 17:04:54 +11:00
sachaaaaa
a418a9d23b allow registering using a mnemonic word list (seed used as privKey for now) 2018-10-24 10:13:54 +11:00
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
2018-10-18 12:12:44 +11:00
sachaaaaa
38e6272dc6 Use async/await in addMockContact instead of nested promises 2018-10-05 13:48:39 +10:00