Commit Graph

53 Commits (6415e33122c374654ec5dcf2647a13fd68c83f2b)

Author SHA1 Message Date
sachaaaaa 6415e33122
Merge pull request #543 from sachaaaaa/fix_update_mapping_after_init_api
[multi-device] Secondary device to update device mapping to server after lokiFileSer…
6 years ago
sachaaaaa b73e6035c1
Merge pull request #541 from sachaaaaa/no_secondary_timeout
[multi-device] No secondary timeout
6 years ago
sachaaaaa b5924c5bad lint 6 years ago
sachaaaaa cbee5a884c Secondary device to update device mapping to server after lokiFileServerAPI creation 6 years ago
sachaaaaa 73d90a5277
Merge pull request #537 from sachaaaaa/secondary_device_minimum_receiver
[multi-device] Start all the receivers only after the secondary registration is fini…
6 years ago
sachaaaaa c4728cf4f3 Provide a cancel button instead of a timeout for secondary registration 6 years ago
sachaaaaa f268fbb552
Merge pull request #534 from sachaaaaa/use_file_server_device_mapping
[multi-device] Use file server device mapping
6 years ago
sachaaaaa cc04bee38a Start all the receivers only after the secondary registration is finished 6 years ago
sachaaaaa d8a45a901f lint 6 years ago
sachaaaaa a314721cce Both devices to update their mapping after secondary registration 6 years ago
sachaaaaa 8ce21b13fe Remove only private conversation during secondary registrations steps to keep public chats in db 6 years ago
sachaaaaa 6de6b762e6 Ensure the latest contact signed prekey is used 6 years ago
sachaaaaa b10835ffc7 Share contact upon authorising secondary device 6 years ago
sachaaaaa cf3ddf0b03
Merge pull request #466 from sachaaaaa/mnemonic_secret
[multi-device] Show 3 last mnemonic representation of public key
6 years ago
sachaaaaa ef6b22f6b9 Simplify and lint 6 years ago
sachaaaaa 35b6182074 Clean up after account registration failure 6 years ago
sachaaaaa e50a29ffa5 Show 3 last mnemonic representation of public key instead of public key during pairing 6 years ago
sachaaaaa 3a78f47cd7 Secondary device registration: UX changes (show countdown, disable button, etc.) 6 years ago
sachaaaaa 661b207245 Various fixes for bugs introduced during reviews 6 years ago
sachaaaaa 2754969b23 Ensure one listener and one event for 'secondaryDeviceRegistration' 6 years ago
sachaaaaa 632e35c8a5 Secondary device registration UI 6 years ago
sachaaaaa a7f999aeb1
Merge pull request #391 from sachaaaaa/show_seed_errors
Report mnemonic errors instead of silent failure
6 years ago
sachaaaaa 1f3f63dcc6 Report mnemonic error in a toast instead of silently fail 6 years ago
sachaaaaa 701f6be00c Add missing mnemonic languages 6 years ago
Mikunj ae8b3899ad Changed registration to be a 2 step process. 6 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Mikunj 0491ceacf1 Added seed dialog.
Fixed issue where incorrect language was used to generate seed.
6 years ago
sachaaaaa a1255dd31e
Merge pull request #77 from Mikunj/password-protection
Password protection
6 years ago
Mikunj 0cfabb5ffa Added unread indicator in conversations sections. 6 years ago
Mikunj 9e995bde6c Review fixes.
Updated tests.
6 years ago
Mikunj 0b87f13699 Added password dialog view. 6 years ago
Mikunj f53bec38a5 Added password inputs on registration screen.
Fix case where db is deleted but password hash still remains which causes user to never register.
Allow password to have symbols and other characters.
Added more tests.

Moved passHash from config into the sqlite db.
We can do this because we assume if sql failed to initialise then the key provided was wrong and thus we can show the user the password page.
6 years ago
Mikunj 62c802445b Allow generating mnemonic for different languages. 6 years ago
Mikunj 8c78a78b41 Converted to dark theme. 6 years ago
Mikunj 85298012e4 Added generation of seed in registration. 6 years ago
Mikunj 89a19fd09b Added accordian style to registration view 6 years ago
Mikunj c10e81355d Moved profile name saving to account manager. 6 years ago
Mikunj 06f79eb3fd Allow user to set display name when registering. 6 years ago
sachaaaaa 4b9fcb98d4 Linting and other housekeeping stuff 7 years ago
sachaaaaa 7b1fbe362e Allow choosing language for mnemonic seed 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 a418a9d23b allow registering using a mnemonic word list (seed used as privKey for now) 7 years ago
sachaaaaa 9638639045 Bypass SMS verification 7 years ago
Scott Nonnenberg 5933a34a18 Use window.log in browser context, turn on console eslint rule 7 years ago
Scott Nonnenberg 43a44793c5 Remove jshint - move everything over to eslint
Also removed all hints of previous linters
7 years ago
Daniel Gasienica 95321e5d3e Remove Vim mode lines 7 years ago
Daniel Gasienica 1dd87ad197 Format all source code using Prettier 7 years ago
Scott Nonnenberg 426dab85a2
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
  - Icons at the top of every screen
  - Gray background, blue buttons, thinner text
  - Simpler copy
- A new design for the install flow. It features:
  - Immediate entry into the QR code screen
  - Animated dots to show that we're loading the QR code from the server
  - Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
7 years ago
Scott Nonnenberg ba347744ff
Import: choice on first startup, workflow, ported to Node.js fs API
FREEBIE
8 years ago
lilia 26cece71c6
Prepopulate phone number on standalone page 8 years ago