2014-06-29 22:15:27 +00:00
<!DOCTYPE html>
2014-01-12 14:07:30 +00:00
< html >
< head >
2015-03-15 23:04:39 +00:00
< meta charset = 'utf-8' >
2017-03-09 18:40:47 +00:00
< meta content = 'width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0' name = 'viewport' >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "description" content = "" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2017-04-14 01:22:38 +00:00
< meta http-equiv = "Content-Security-Policy"
content="default-src 'none';
Auto-orient image attachments based on EXIF metadata
As described in #998, images are sometimes displayed with an incorrect
orientation. This is because cameras often write files in the native sensor byte
order and attach the `Orientation` EXIF metadata to tell end-user devices how to
display the images based on the original author’s capture orientation.
Electron/Chromium (and therefore Signal Desktop) currently doesn’t support
applying this metadata for `<img>` tags, e.g. CSS `image-orientation: from-
image`. As a workaround, this change uses the `loadImage` library with the
`orientation: true` flag to auto-orient images ~~before display~~ upon receipt
and before sending.
**Changes**
- [x] ~~Auto-orient images during display in message list view~~
- [x] Ensure image is not displayed until loaded (to prevent layout reflow) .
- [x] Auto-orient images upon receipt and before storing in IndexedDB
(~~or preserve original data until Chromium offers native fix?~~)
- [x] Auto-orient images in compose area preview.
- [x] ~~Auto-orient images in lightbox view~~
- [x] Auto-orient images before sending / storage.
- [x] Add EditorConfig for sharing code styles across editors.
- [x] Fix ESLint ignore file.
- [x] Change `function-paren-newline` ESLint rule from
`consistent` to `multiline`.
- [x] Add `operator-linebreak` ESLint rule for consistency.
- [x] Added `blob-util` dependency for converting between array buffers,
blobs, etc.
- [x] Extracted `createMessageHandler` to consolidate logic for
`onMessageReceived` and `onSentMessage`.
- [x] Introduce `async` / `await` to simplify async coding (restore control flow
for branching, loops, and exceptions).
- [x] Introduce `window.Signal` namespace for exposing ES2015+ CommonJS modules.
- [x] Introduce rudimentary `Message` and `Attachment` types to begin defining a
schema and versioning. This will allow us to track which changes, e.g.
auto-orient JPEGs, per message / attachment as well as which fields
are stored.
- [x] Renamed `window.dataURLtoBlob` to `window.dataURLToBlobSync` to both fix
the strange `camelCase` as well as to highlight that this operation is
synchronous and therefore blocks the user thread.
- [x] Normalize all JPEG MIME types to `image/jpeg`, eliminating the
invalid `image/jpg`.
- [x] Add `npm run test-modules` command for testing non-browser specific
CommonJS modules.
- **Stretch Goals**
- [ ] ~~Restrict `autoOrientImage` to `Blob` to narrow API interface.~~ Do
this once we use PureScript.
- [ ] ~~Return non-JPEGs as no-op from `autoOrientImage`.~~ Skipping
`autoOrientImage` for non-JPEGs altogether.
- [ ] Retroactively auto-orient existing JPEG image attachments in the
background.
---
Fixes #998
---
- **Blog:** EXIF Orientation Handling Is a Ghetto:
https://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/
- **Chromium Bug:** EXIF orientation is ignored:
https://bugs.chromium.org/p/chromium/issues/detail?id=56845
- **Chromium Bug:** Support for the CSS image-orientation CSS property:
https://bugs.chromium.org/p/chromium/issues/detail?id=158753
---
commit ce5090b473a2448229dc38e4c3f15d7ad0137714
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 16 10:35:36 2018 -0500
Inline message descriptors
commit 329036e59c138c1e950ec7c654eebd7d87076de5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Thu Feb 15 17:34:40 2018 -0500
Clarify order of operations
Semantically, it makes more sense to do `getFile` before `clearForm`
even though it seems to work either way.
commit f9d4cfb2ba0d8aa308b0923bbe6066ea34cb97bd
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Thu Feb 15 17:18:26 2018 -0500
Simplify `operator-linebreak` configuration
Enabling `before` caused more code changes and it turns out our previous
configuration is already the default.
commit db588997acdd90ed2ad829174ecbba744383c78b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Thu Feb 15 17:15:59 2018 -0500
Remove obsolete TODO
commit 799c8817633f6afa0b731fc3b5434e463bd850e3
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Thu Feb 15 17:12:18 2018 -0500
Enable ESLint `function-paren-newline` `multiline`
Per discussion.
commit b660b6bc8ef41df7601a411213d6cda80821df87
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Thu Feb 15 17:10:48 2018 -0500
Use `messageDescriptor.id` not `source`
commit 5e7309d176f4a7e97d3dc4c738e6b0ccd4792871
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 16:29:01 2018 -0500
Remove unnecessary `eslint-env`
commit 393b3da55eabd7413596c86cc3971b063a0efe31
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 16:19:17 2018 -0500
Refactor `onSentMessage` and `onMessageReceived`
Since they are so similar, we create the handlers using new
`createMessageHandler` function. This allows us to ensure both synced and
received messages go through schema upgrade pipeline.
commit b3db0bf179c9a5bea96480cde28c6fa7193ac117
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 16:18:21 2018 -0500
Add `Message` descriptor functions
commit 8febf125b1b42fe4ae1888dd50fcee2749dc1ff0
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 14:46:56 2018 -0500
Fix typo
commit 98d951ef77bd578b313a4ff4b496b793e82e88d5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 12:22:39 2018 -0500
Remove `promises` reference
commit a0e9559ed5bed947dabf28cb672e63d39948d854
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 12:22:13 2018 -0500
Fix `AttachmentView::mediaType` fall-through
commit 67be916a83951b8a1f9b22efe78a6da6b1825f38
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 12:03:41 2018 -0500
Remove minor TODOs
commit 0af186e118256b62905de38487ffacc41693ff47
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 11:44:41 2018 -0500
Enable ESLint for `js/views/attachment_view.js`
commit 28a2dc5b8a28e1a087924fdc7275bf7d9a577b92
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 11:44:12 2018 -0500
Remove dynamic type checks
commit f4ce36fcfc2737de32d911cd6103f889097813f6
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 11:27:56 2018 -0500
Rename `process` to `upgradeSchema`
- `Message.process` -> `Message.upgradeSchema`
- `Attachment.process` -> `Attachment.upgradeSchema`
- `Attachment::processVersion` -> `Attachment::schemaVersion`
Document version history.
commit 41b92c0a31050ba05ddb1c43171d651f3568b9ac
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 11:11:50 2018 -0500
Add `operator-linebreak` ESLint rule
Based on the following discussion:
https://github.com/signalapp/Signal-Desktop/pull/2040#discussion_r168029106
commit 462defbe55879060fe25bc69103d4429bae2b2f6
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Wed Feb 14 11:01:30 2018 -0500
Add missing `await` for `ConversationController.getOrCreateAndWait`
Tested this by setting `if` condition to `true` and confirming it works.
It turns rotating a profile key is more involved and might require
registering a new account according to Matthew.
commit c08058ee4b883b3e23a40683de802ac81ed74874
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 16:32:24 2018 -0500
Convert `FileList` to `Array`
commit 70a6c4201925f57be1f94d9da3547fdefc7bbb53
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 15:46:34 2018 -0500
:art: Fix lint errors
commit 2ca7cdbc31d4120d6c6a838a6dcf43bc209d9788
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 15:07:09 2018 -0500
Skip `autoOrientImage` for non-JPEG images
commit 58eac383013c16ca363a4ed33dca5c7ba61284e5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 14:55:35 2018 -0500
Move new-style modules to `window.Signal` namespace
commit 02c9328877dce289d6116a18b1c223891bd3cd0b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 14:35:23 2018 -0500
Extract `npm run test-modules` command
commit 2c708eb94fba468b81ea9427734896114f5a7807
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 13:25:51 2018 -0500
Extract `Message.process`
commit 4a2e52f68a77536a0fa04aa3c29ad3e541a8fa7e
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 13:25:12 2018 -0500
Fix EditorConfig
commit a346bab5db082720f5d47363f06301380e870425
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 13:13:02 2018 -0500
Remove `vim` directives on ESLint-ed files
commit 7ec885c6359e495b407d5bc3eac9431d47c37fc6
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 13:08:24 2018 -0500
Remove CSP whitelisting of `blob:`
We no longer use `autoOrientImage` using blob URLs. Bring this back if we
decide to auto-orient legacy attachments.
commit 879b6f58f4a3f4a9ed6915af6b1be46c1e90e0ca
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:57:05 2018 -0500
Use `Message` type to determine send function
Throws on invalid message type.
commit 5203d945c98fd2562ae4e22c5c9838d27dec305b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:56:48 2018 -0500
Whitelist `Whisper` global
commit 8ad0b066a3690d3382b86bf6ac00c03df7d1e20b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:56:32 2018 -0500
Add `Whisper.Types` namespace
This avoids namespace collision for `Whisper.Message`.
commit 785a949fce2656ca7dcaf0869d6b9e0648114e80
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:55:43 2018 -0500
Add `Message` type
commit 674a7357abf0dcc365455695d56c0479998ebf27
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:35:23 2018 -0500
Run ESLint on `Conversation::sendMessage`
commit cd985aa700caa80946245b17ea1b856449f152a0
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:34:38 2018 -0500
Document type signature of `FileInputView::readFile`
commit d70d70e52c49588a1dc9833dfe5dd7128e13607f
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:31:16 2018 -0500
Move attachment processing closer to sending
This helps ensure processing happens uniformly, regardless of which code
paths are taken to send an attachment.
commit 532ac3e273a26b97f831247f9ee3412621b5c112
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:22:29 2018 -0500
Process attachment before it’s sent
Picked this place since it already had various async steps, similar to
`onMessageReceived` for the incoming `Attachment.process`.
Could we try have this live closer to where we store it in IndexedDB, e.g.
`Conversation::sendMessage`?
commit a4582ae2fb6e1d3487131ba1f8fa6a00170cb32c
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 12:21:42 2018 -0500
Refactor `getFile` and `getFiles`
Lint them using ESLint.
commit 07e9114e65046d791fc4f6ed90d6e2e938ad559d
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 11:37:31 2018 -0500
Document incoming and outgoing attachments fields
Note how outgoing message attachments only have 4 fields. This presumably
means the others are not used in our code and could be discarded for
simplicity.
commit fdc3ef289d6ec1be344a12d496839d5ba747bb6a
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 11:36:21 2018 -0500
Highlight that `dataURLToBlob` is synchronous
commit b9c6bf600fcecedfd649ef2ae3c8629cced4e45a
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 11:35:49 2018 -0500
Add EditorConfig configuration
commit e56101e229d56810c8e31ad7289043a152c6c449
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 11:34:23 2018 -0500
Replace custom with `blob-util` functions
IMPORTANT: All of them are async so we need to use `await`, otherwise we get
strange or silent errors.
commit f95150f6a9569fabcb31f3acd9f6b7bf50b5d145
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 11:17:30 2018 -0500
Revert "Replace custom functions with `blob-util`"
This reverts commit 8a81e9c01bfe80c0e1bf76737092206c06949512.
commit 33860d93f3d30ec55c32f3f4a58729df2eb43f0d
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 11:13:02 2018 -0500
Revert "Replace `blueimp-canvas-to-blob` with `blob-util`"
This reverts commit 31b3e853e4afc78fe80995921aa4152d9f6e4783.
commit 7a0ba6fed622d76a3c39c7f03de541a7edb5b8dd
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 11:12:58 2018 -0500
Replace `blueimp-canvas-to-blob` with `blob-util`
commit 47a5f2bfd8b3f546e27e8d2b7e1969755d825a66
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 10:55:34 2018 -0500
Replace custom functions with `blob-util`
commit 1cfa0efdb4fb1265369e2bf243c21f04f044fa01
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 10:47:02 2018 -0500
Add `blob-util` dependency
commit 9ac26be1bd783cd5070d886de107dd3ad9c91ad1
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 10:46:44 2018 -0500
Document why we drop original image data during auto-orient
commit 4136d6c382b99f41760a4da519d0db537fa7de8d
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 10:46:27 2018 -0500
Extract `DEFAULT_JPEG_QUALITY`
commit 4a7156327eb5f94dba80cb300b344ac591226b0e
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 10:37:11 2018 -0500
Drop support for invalid `image/jpg` MIME type
commit 69fe96581f25413194032232f1bf704312e4754c
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 09:54:30 2018 -0500
Document `window.onInvalidStateError` global
commit a48ba1c77458da38583ee9cd488f70a59f6ee0fd
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 09:54:04 2018 -0500
Selectively run ESLint on `js/background.js`
Enabling ESLint on a per function basis allows us to incrementally improve
the codebase without requiring large and potentially risky refactorings.
commit e6d1cf826befc17ad4ec72fda8e761701665635e
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 09:16:23 2018 -0500
Move async attachment processing to `onMessageReceived`
We previously processed attachments in `handleDataMessage` which is mostly a
synchronous function, except for the saving of the model. Moving the
processing into the already async `onMessageReceived` improves code clarity.
commit be6ca2a9aae5b59c360817deb1e18d39d705755e
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 09:14:49 2018 -0500
Document import of ES2015+ modules
commit eaaf7c41608fb988b8f4bbaa933cff110115610e
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 09:14:29 2018 -0500
:art: Fix lint error
commit a25b0e2e3d0f72c6a7bf0a15683f02450d5209ee
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 09:13:57 2018 -0500
:art: Organize `require`s
commit e0cc3d8fab6529d01b388acddf8605908c3d236b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 09:07:17 2018 -0500
Implement attachment process version
Instead of keeping track of last normalization (processing) date, we now
keep track of an internal processing version that will help us understand
what kind of processing has already been completed for a given attachment.
This will let us retroactively upgrade existing attachments.
As we add more processing steps, we can build a processing pipeline that can
convert any attachment processing version into a higher one,
e.g. 4 -> 5 -> 6 -> 7.
commit ad9083d0fdb880bc518e02251e51a39f7e1c585f
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:50:31 2018 -0500
Ignore ES2015+ files during JSCS linting
commit 96641205f734927aaebc2342d977c555799c3e3b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:48:07 2018 -0500
Improve ESLint ignore rules
Apparently, using unqualified `/**` patterns prevents `!` include patterns.
Using qualified glob patterns, e.g. `js/models/**/*.js`, lets us work
around this.
commit 255e0ab15bd1a0ca8ca5746e42d23977c8765d01
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:44:59 2018 -0500
:abc: ESLint ignored files
commit ebcb70258a26f234bd602072ac7c0a1913128132
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:35:47 2018 -0500
Whitelist `browser` environment for ESLint
commit 3eaace6f3a21421c5aaaaf01592408c7ed83ecd3
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:35:05 2018 -0500
Use `MIME` module
commit ba2cf7770e614415733414a2dcc48f110b929892
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:32:54 2018 -0500
:art: Fix lint errors
commit 65acc86e8580e88f7a6611eb4b8fa5d7291f7a3f
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:30:42 2018 -0500
Add ES2015+ files to JSHint ignored list
commit 8b6494ae6c9247acdfa059a9b361ec5ffcdb39f0
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:29:20 2018 -0500
Document potentially unexpected `autoScale` behavior
commit 8b4c69b2002d1777d3621be10f92cbf432f9d4d6
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:26:47 2018 -0500
Test CommonJS modules separately
Not sure how to test them as part of Grunt `unit-tests` task as
`test/index.html` doesn’t allow for inclusion of CommonJS modules that use
`require`. The tests are silently skipped.
commit 213400e4b2bba3efee856a25b40e269221c3c39d
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Tue Feb 13 08:24:27 2018 -0500
Add `MIME` type module
commit 37a726e4fb4b3ed65914463122a5662847b5adee
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 20:18:05 2018 -0500
Return proper `Error` from `blobArrayToBuffer`
commit 164752db5612220e4dcf58d57bcd682cb489a399
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 20:15:41 2018 -0500
:art: Fix ESLint errors
commit d498dd79a067c75098dd3179814c914780e5cb4f
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 20:14:33 2018 -0500
Update `Attachment` type field definitions
commit 141155a1533ff8fb616b70ea313432781bbebffd
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 20:12:50 2018 -0500
Move `blueimp-canvas-to-blob` from Bower to npm
commit 7ccb833e5d286ddd6235d3e491c62ac1e4544510
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:33:50 2018 -0500
:art: Clarify data flow
commit e7da41591fde5a830467bebf1b6f51c1f7293e74
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:31:21 2018 -0500
Use `blobUrl` for consistency
commit 523a80eefe0e2858aa1fb2bb9539ec44da502963
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:28:06 2018 -0500
Remove just-in-time image auto-orient for lightbox
We can bring this back if our users would like auto-orient for old
attachments.
commit 0739feae9c47dd523c10740d6cdf746d539f270c
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:27:21 2018 -0500
Remove just-in-time auto-orient of message attachments
We can bring this back if our users would like auto-orient for old
attachments. But better yet, we might implement this as database migration.
commit ed43c66f92830ee233d5a94d0545eea4da43894d
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:26:24 2018 -0500
Auto-orient JPEG attachments upon receipt
commit e2eb8e36b017b048d57602fca14e45d657e0e1a1
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:25:26 2018 -0500
Expose `Attachment` type through `Whisper.Attachment`
commit 9638fbc987b84f143ca34211dc4666d96248ea2f
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:23:39 2018 -0500
Use `contentType` from `model`
commit 032c0ced46c3876cb9474b26f9d53d6f1c6b16a0
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:23:04 2018 -0500
Return `Error` object for `autoOrientImage` failures
commit ff04bad8510c4b21aef350bed2b1887d0e055b98
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:22:32 2018 -0500
Add `options` for `autoOrientImage` output type / quality
commit 87745b5586d1e182b51c9f9bc5e4eaf6dbc16722
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:18:46 2018 -0500
Add `Attachment` type
Defines various functions on attachments, e.g. normalization
(auto-orient JPEGs, etc.)
commit de27fdc10a53bc8882a9c978e82265db9ac6d6f5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 16:16:34 2018 -0500
Add `yarn grunt` shortcut
This allows us to use local `grunt-cli` for `grunt dev`.
commit 59974db5a5da0d8f4cdc8ce5c4e3c974ecd5e754
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 10:10:11 2018 -0500
Improve readability
commit b5ba96f1e6f40f2e1fa77490c583217768e1f412
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 10:08:12 2018 -0500
Use `snake_case` for module names
Prevents problems across case-sensitive and case-insensitive file systems.
We can work around this in the future using a lint rule such as
`eslint-plugin-require-path-exists`.
See discussion:
https://github.com/signalapp/Signal-Desktop/pull/2040#discussion_r167365931
commit 48c5d3155c96ef628b00d99b52975e580d1d5501
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Mon Feb 12 10:05:44 2018 -0500
:art: Use destructuring
commit 4822f49f22382a99ebf142b337375f7c25251d76
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 17:41:40 2018 -0500
Auto-orient images in lightbox view
commit 7317110809677dddbbef3fadbf912cdba1c010bf
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 17:40:14 2018 -0500
Document magic number for escape key
commit c790d07389a7d0bbf5298de83dbcfa8be1e7696b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 17:38:35 2018 -0500
Make second `View` argument an `options` object
commit fbe010bb63d0088af9dfe11f153437fab34247e0
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 17:27:40 2018 -0500
Allow `loadImage` to fetch `blob://` URLs
commit ec35710d002b019a273eeb48f94dcaf2babe5d96
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 16:57:48 2018 -0500
:art: Shorten `autoOrientImage` import
commit d07433e3cf316c6a143a0c9393ba26df9e3af17b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 16:57:19 2018 -0500
Make `autoOrientImage` module standalone
commit c285bf5e33cdf10e0ef71e72cd6f55aef0df96ef
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 16:55:44 2018 -0500
Replace `loadImage` with `autoOrientImage`
commit 44318549235af01fd061c25f557c93fd21cebb7a
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 16:53:23 2018 -0500
Add `autoOrientImage` module
This module exposes `loadImage` with a `Promise` based interface and pre-
populates `orientation: true` option to auto-orient input. Returns data URL
as string.
The module uses a named export as refactoring references of modules with
`default` (`module.exports`) export references can be error-prone.
See: https://basarat.gitbooks.io/typescript/docs/tips/defaultIsBad.html
commit c77063afc6366fe49615052796fe46f9b369de39
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 16:44:30 2018 -0500
Auto-orient preview images
See: #998
commit 06dba5eb8f662c11af3a9ba8395bb453ab2e5f8d
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 16:43:23 2018 -0500
TODO: Use native `Canvas::toBlob`
One challenge is that `Canvas::toBlob` is async whereas
`dataURLtoBlob` is sync.
commit b15c304a3125dd023fd90990e6225a7303f3596f
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 16:42:45 2018 -0500
Make `null` check strict
Appeases JSHint. ESLint has a nice `smart` option for `eqeqeq` rule:
https://eslint.org/docs/rules/eqeqeq#smart
commit ea70b92d9b18201758e11fdc25b09afc97b50055
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 15:23:58 2018 -0500
Use `Canvas::toDataURL` to preserve `ImageView` logic
This way, all the other code paths remain untouched in case we want to
remove the auto-orient code once Chrome supports the `image-orientation`
CSS property.
See:
- #998
- https://developer.mozilla.org/en-US/docs/Web/CSS/image-orientation
commit 62fd744f9f27d951573a68d2cdfe7ba2a3784b41
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 14:38:04 2018 -0500
Use CSS to constrain auto-oriented images
commit f4d3392687168c237441b29140c7968b49dbef9e
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 14:35:02 2018 -0500
Replace `ImageView` `el` with auto-oriented `canvas`
See: #998
commit 1602d7f610e4993ad1291f88197f9ead1e25e776
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 14:25:48 2018 -0500
Pass `Blob` to `View` (for `ImageView`)
This allows us to do JPEG auto-orientation based on EXIF metadata.
commit e6a414f2b2a80da1137b839b348a38510efd04bb
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 14:25:12 2018 -0500
:hocho: Remove newline
commit 5f0d9570d7862fc428ff89c2ecfd332a744537e5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 11:17:02 2018 -0500
Expose `blueimp-load-image` as `window.loadImage`
commit 1e1c62fe2f6a76dbcf1998dd468c26187c9871dc
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 11:16:46 2018 -0500
Add `blueimp-load-image` npm dependency
commit ad17fa8a68a21ca5ddec336801b8568009bef3d4
Author: Daniel Gasienica <daniel@gasienica.ch>
Date: Fri Feb 9 11:14:40 2018 -0500
Remove `blueimp-load-image` Bower dependency
2018-02-21 15:26:59 +00:00
connect-src 'self' https: wss:;
2017-04-14 01:22:38 +00:00
script-src 'self';
style-src 'self' 'unsafe-inline';
img-src 'self' blob: data:;
font-src 'self';
media-src 'self' blob:;
child-src 'self';
object-src 'none'"
>
< title > Signal< / title >
2017-03-09 18:40:47 +00:00
< link href = 'images/icon_128.png' rel = 'shortcut icon' >
< link href = "stylesheets/manifest.css" rel = "stylesheet" type = "text/css" / >
2018-04-05 22:30:40 +00:00
<!-- When making changes to these templates, be sure to update these two places:
1) test/styleguide/legacy_templates.js
2) test/index.html
-->
Full export, migration banner, and full migration workflow - behind flag (#1342)
* Add support for backup and restore
This first pass works for all stores except messages, pending some scaling
improvements.
// FREEBIE
* Import of messages and attachments
Properly sanitize filenames. Logging information that will help with
debugging but won't threaten privacy (no contact or group names),
where the on-disk directories have this information to make things
human-readable
FREEBIE
* First fully operational single-action export and import!
FREEBIE
* Add migration export flow
A banner alert leads to a blocking ui for the migration. We close the socket and
wait for incoming messages to drain before starting the export.
FREEBIE
* A number of updates for the export flow
1. We don't immediately pop the directory selection dialog box, instead
showing an explicit 'choose directory' button after explaining what is
about to happen
2. We show a 'submit debug log' button on most steps of the process
3. We handle export errors and encourage the user to double-check their
filesystem then submit their log
4. We are resilient to restarts during the process
5. We handle the user cancelling out of the directory selection dialog
differently from other errors.
6. The export process is now serialized: non-messages, then messages.
7. After successful export, show where the data is on disk
FREEBUE
* Put migration behind a flag
FREEBIE
* Shut down websocket before proceeding with export
FREEBIE
* Add MigrationView to test/index.html to fix test
FREEBIE
* Remove 'Submit Debug Log' button when the export process is complete
FREEBIE
* Create a 'Signal Export' directory below user-chosen dir
This cleans things up a bit so we don't litter the user's target
directory with lots of stuff.
FREEBIE
* Clarify MessageReceiver.drain() method comments
FREEBIE
* A couple updates for clarity - event names, else handling
Also the removal of wait(), which wasn't used anywhere.
FREEBIE
* A number of wording updates for the export flow
FREEBIE
* Export complete: put dir on its own line, make text selectable
FREEBIE
2017-08-28 20:06:10 +00:00
< script type = 'text/x-tmpl-mustache' id = 'app-migration-screen' >
< div class = 'content' >
2017-08-08 00:24:59 +00:00
< img src = 'images/icon_128.png' >
Full export, migration banner, and full migration workflow - behind flag (#1342)
* Add support for backup and restore
This first pass works for all stores except messages, pending some scaling
improvements.
// FREEBIE
* Import of messages and attachments
Properly sanitize filenames. Logging information that will help with
debugging but won't threaten privacy (no contact or group names),
where the on-disk directories have this information to make things
human-readable
FREEBIE
* First fully operational single-action export and import!
FREEBIE
* Add migration export flow
A banner alert leads to a blocking ui for the migration. We close the socket and
wait for incoming messages to drain before starting the export.
FREEBIE
* A number of updates for the export flow
1. We don't immediately pop the directory selection dialog box, instead
showing an explicit 'choose directory' button after explaining what is
about to happen
2. We show a 'submit debug log' button on most steps of the process
3. We handle export errors and encourage the user to double-check their
filesystem then submit their log
4. We are resilient to restarts during the process
5. We handle the user cancelling out of the directory selection dialog
differently from other errors.
6. The export process is now serialized: non-messages, then messages.
7. After successful export, show where the data is on disk
FREEBUE
* Put migration behind a flag
FREEBIE
* Shut down websocket before proceeding with export
FREEBIE
* Add MigrationView to test/index.html to fix test
FREEBIE
* Remove 'Submit Debug Log' button when the export process is complete
FREEBIE
* Create a 'Signal Export' directory below user-chosen dir
This cleans things up a bit so we don't litter the user's target
directory with lots of stuff.
FREEBIE
* Clarify MessageReceiver.drain() method comments
FREEBIE
* A couple updates for clarity - event names, else handling
Also the removal of wait(), which wasn't used anywhere.
FREEBIE
* A number of wording updates for the export flow
FREEBIE
* Export complete: put dir on its own line, make text selectable
FREEBIE
2017-08-28 20:06:10 +00:00
{{ ^hideProgress }}
< div class = 'container' >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< / div >
{{ /hideProgress }}
< div class = 'message' > {{& message }}< / div >
< div >
2017-08-08 00:24:59 +00:00
{{ #importButton }}
< button class = 'import grey' > {{ importButton }}< / button >
{{ /importButton }}
{{ #restartButton }}
< button class = 'restart grey' > {{ restartButton }}< / button >
{{ /restartButton }}
{{ #cancelButton }}
< button class = 'cancel grey' > {{ cancelButton }}< / button >
{{ /cancelButton }}
Full export, migration banner, and full migration workflow - behind flag (#1342)
* Add support for backup and restore
This first pass works for all stores except messages, pending some scaling
improvements.
// FREEBIE
* Import of messages and attachments
Properly sanitize filenames. Logging information that will help with
debugging but won't threaten privacy (no contact or group names),
where the on-disk directories have this information to make things
human-readable
FREEBIE
* First fully operational single-action export and import!
FREEBIE
* Add migration export flow
A banner alert leads to a blocking ui for the migration. We close the socket and
wait for incoming messages to drain before starting the export.
FREEBIE
* A number of updates for the export flow
1. We don't immediately pop the directory selection dialog box, instead
showing an explicit 'choose directory' button after explaining what is
about to happen
2. We show a 'submit debug log' button on most steps of the process
3. We handle export errors and encourage the user to double-check their
filesystem then submit their log
4. We are resilient to restarts during the process
5. We handle the user cancelling out of the directory selection dialog
differently from other errors.
6. The export process is now serialized: non-messages, then messages.
7. After successful export, show where the data is on disk
FREEBUE
* Put migration behind a flag
FREEBIE
* Shut down websocket before proceeding with export
FREEBIE
* Add MigrationView to test/index.html to fix test
FREEBIE
* Remove 'Submit Debug Log' button when the export process is complete
FREEBIE
* Create a 'Signal Export' directory below user-chosen dir
This cleans things up a bit so we don't litter the user's target
directory with lots of stuff.
FREEBIE
* Clarify MessageReceiver.drain() method comments
FREEBIE
* A couple updates for clarity - event names, else handling
Also the removal of wait(), which wasn't used anywhere.
FREEBIE
* A number of wording updates for the export flow
FREEBIE
* Export complete: put dir on its own line, make text selectable
FREEBIE
2017-08-28 20:06:10 +00:00
< / div >
< / div >
< / script >
2017-07-25 01:43:35 +00:00
< script type = 'text/x-tmpl-mustache' id = 'app-loading-screen' >
< div class = 'content' >
2017-07-28 01:38:41 +00:00
< img src = 'images/icon_128.png' >
2017-07-25 01:43:35 +00:00
< div class = 'container' >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< / div >
2017-07-25 23:00:06 +00:00
< div class = 'message' > {{ message }}< / div >
2017-07-25 01:43:35 +00:00
< / div >
< / script >
< script type = 'text/x-tmpl-mustache' id = 'conversation-loading-screen' >
< div class = 'content' >
2017-07-28 01:38:41 +00:00
< img src = 'images/icon_128.png' >
2017-07-25 01:43:35 +00:00
< div class = 'container' >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< / div >
< / div >
< / script >
2015-08-25 23:47:15 +00:00
< script type = 'text/x-tmpl-mustache' id = 'two-column' >
< div class = 'gutter' >
2017-01-04 03:37:56 +00:00
< div class = 'network-status-container' > < / div >
2016-03-21 03:02:38 +00:00
< div class = 'title-bar active' id = 'header' >
2016-03-18 18:11:36 +00:00
< h1 > Signal< / h1 >
< div class = 'tool-bar clearfix' >
2016-07-05 00:54:02 +00:00
< input type = 'search' class = 'search' placeholder = '{{ searchForPeopleOrGroups }}' dir = 'auto' >
2016-04-13 01:00:33 +00:00
< span class = 'search-icon' > < / span >
2016-03-18 18:11:36 +00:00
< / div >
< / div >
2016-02-22 18:47:48 +00:00
< div class = 'content' >
2017-04-11 23:24:06 +00:00
< div class = 'conversations inbox' > < / div >
< div class = 'conversations search-results hide' >
2016-02-22 18:47:48 +00:00
< div class = 'new-contact contact hide' > < / div >
< / div >
2015-10-15 19:10:03 +00:00
< / div >
2015-08-25 23:47:15 +00:00
< / div >
2015-11-27 23:43:45 +00:00
< div class = 'conversation-stack' >
2015-11-28 22:41:58 +00:00
< div class = 'conversation placeholder' >
2016-08-31 01:27:54 +00:00
< div class = 'conversation-header' > < / div >
2018-03-07 02:27:49 +00:00
< div class = 'container' >
< div class = 'content' >
< img src = 'images/icon_128.png' / >
< h3 > {{ welcomeToSignal }}< / h3 >
< p > {{ selectAContact }}< / p >
< / div >
2016-08-31 01:27:54 +00:00
< / div >
2015-11-28 22:41:58 +00:00
< / div >
2015-11-27 23:43:45 +00:00
< / div >
2015-08-25 23:47:15 +00:00
< / script >
2017-05-19 01:33:35 +00:00
< script type = 'text/x-tmpl-mustache' id = 'scroll-down-button-view' >
< button class = 'text {{ cssClass }}' alt = '{{ moreBelow }}' >
< div class = 'icon' > < / div >
< / button >
< / script >
2017-05-17 21:32:03 +00:00
< script type = 'text/x-tmpl-mustache' id = 'last-seen-indicator-view' >
2017-05-31 23:08:32 +00:00
< div class = 'bar' >
< div class = 'text' >
{{ unreadMessages }}
< / div >
2017-05-17 21:32:03 +00:00
< / div >
< / script >
2016-04-04 03:06:27 +00:00
< script type = 'text/x-tmpl-mustache' id = 'expired_alert' >
2018-03-23 14:21:17 +00:00
< a target = '_blank' href = 'https://signal.org/download/' >
2016-04-04 03:06:27 +00:00
< button class = 'upgrade' > {{ upgrade }}< / button >
< / a >
{{ expiredWarning }}
< / script >
2017-06-14 00:36:32 +00:00
< script type = 'text/x-tmpl-mustache' id = 'banner' >
< div class = 'body' >
2017-06-16 21:29:27 +00:00
< span class = 'icon warning' > < / span >
2017-06-14 00:36:32 +00:00
{{ message }}
2017-06-16 21:29:27 +00:00
< span class = 'icon dismiss' > < / span >
2017-06-14 00:36:32 +00:00
< / div >
< / script >
2016-09-07 00:11:44 +00:00
< script type = 'text/x-tmpl-mustache' id = 'toast' >
{{ toastMessage }}
2016-04-04 03:06:27 +00:00
< / script >
2015-11-21 00:58:52 +00:00
< script type = 'text/x-tmpl-mustache' id = 'hint' >
2015-11-28 01:34:02 +00:00
< p > {{ content }}< / p >
2015-11-21 00:58:52 +00:00
< / script >
2017-06-10 19:18:24 +00:00
< script type = 'text/x-tmpl-mustache' id = 'conversation-title' >
{{ #name }}
< span class = 'conversation-name' dir = 'auto' > {{ name }}< / span >
{{ /name }}
{{ #number }}
< span class = 'conversation-number' > {{ number }}< / span >
{{ /number }}
2017-09-11 16:50:35 +00:00
{{ #profileName }}
< span class = 'profileName' > {{ profileName }} < / span >
{{ /profileName }}
2017-06-14 19:29:32 +00:00
{{ #isVerified }}
2017-06-14 21:06:36 +00:00
< span class = 'verified' > < span class = 'verified-icon' > < / span > {{ verified }}< / span >
2017-06-14 19:29:32 +00:00
{{ /isVerified }}
2017-06-10 19:18:24 +00:00
< / script >
2015-03-15 23:04:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'conversation' >
2016-08-29 06:57:33 +00:00
< div class = 'conversation-header {{ avatar.color }}' >
2016-03-22 18:01:04 +00:00
< div class = 'header-buttons left' >
2016-03-21 22:37:53 +00:00
< div class = 'vertical-align' >
< button class = 'back hide' > < / button >
2016-03-22 18:01:04 +00:00
< / div >
< / div >
< div class = 'header-buttons right' >
< div class = 'vertical-align' >
2016-03-21 22:37:53 +00:00
< div class = 'conversation-menu menu' >
2016-04-07 17:24:36 +00:00
< button class = 'hamburger' alt = 'conversation menu' > < / button >
2016-03-21 22:37:53 +00:00
< ul class = 'menu-list' >
2017-06-10 19:18:24 +00:00
< li class = 'disappearing-messages' > {{ disappearing-messages }}< / li >
2016-03-21 22:37:53 +00:00
{{#group}}
2017-06-10 19:18:24 +00:00
< li class = 'show-members' > {{ show-members }}< / li >
2016-03-24 19:57:04 +00:00
<!-- <li class='update - group'>Update group</li> -->
<!-- <li class='leave - group'>Leave group</li> -->
2016-03-21 22:37:53 +00:00
{{/group}}
{{^group}}
2017-06-14 17:58:05 +00:00
{{ ^isMe }}
< li class = 'show-identity' > {{ show-identity }}< / li >
{{ /isMe }}
2017-06-10 19:18:24 +00:00
< li class = 'end-session' > {{ end-session }}< / li >
2016-03-21 22:37:53 +00:00
{{/group}}
2016-03-24 19:57:04 +00:00
< li class = 'destroy' > {{ destroy }}< / li >
2016-03-21 22:37:53 +00:00
< / ul >
2016-03-18 22:54:40 +00:00
< / div >
2016-09-28 23:47:57 +00:00
< div class = 'timer-menu menu' >
< button class = 'clock' alt = 'timer menu' > < / button >
< ul class = 'menu-list' >
{{ #timer_options }}
< li data-seconds = {{ attributes . seconds } } > {{ getName }}< / li >
{{ /timer_options }}
< / ul >
< / div >
2015-03-15 23:04:39 +00:00
< / div >
2016-03-21 22:37:53 +00:00
< / div >
2017-06-10 19:18:24 +00:00
< span class = 'conversation-title' > < / span >
2016-03-21 22:37:53 +00:00
{{> avatar }}
< / div >
< div class = 'main panel' >
2016-03-23 20:40:21 +00:00
< div class = 'discussion-container' >
2016-03-19 00:59:54 +00:00
< div class = 'bar-container hide' >
< div class = 'bar active progress-bar-striped progress-bar' > < / div >
< / div >
< / div >
2015-03-15 23:04:39 +00:00
2015-12-26 06:17:30 +00:00
< div class = 'bottom-bar' id = 'footer' >
2017-10-30 20:54:55 +00:00
< div class = 'emoji-panel-container' > < / div >
< div class = 'compose' >
< form class = 'send clearfix' >
2015-10-29 18:04:21 +00:00
< div class = 'attachment-previews' > < / div >
2016-08-15 22:36:29 +00:00
< div class = 'flex' >
2017-10-30 20:54:55 +00:00
< button class = 'emoji' > < / button >
2016-08-15 22:36:29 +00:00
< textarea class = 'send-message' placeholder = '{{ send-message }}' rows = '1' dir = 'auto' > < / textarea >
< div class = 'capture-audio' >
2017-05-22 17:09:54 +00:00
< button class = 'microphone' > < / button >
2016-08-15 22:36:29 +00:00
< / div >
2017-05-26 16:50:23 +00:00
< div class = 'android-length-warning' >
{{ android-length-warning }}
< / div >
2017-10-30 20:54:55 +00:00
< div class = 'choose-file' >
< button class = 'paperclip thumbnail' > < / button >
< input type = 'file' class = 'file-input' >
< / div >
2015-03-15 23:04:39 +00:00
< / div >
2017-10-30 20:54:55 +00:00
< / form >
< / div >
2015-03-15 23:04:39 +00:00
< / div >
2015-10-02 18:21:10 +00:00
< / div >
2015-03-15 23:04:39 +00:00
< / script >
2016-08-15 22:36:29 +00:00
< script type = 'text/x-tmpl-mustache' id = 'recorder' >
< button class = 'finish' > < span class = 'icon' > < / span > < / button >
< span class = 'time' > 0:00< / span >
< button class = 'close' > < span class = 'icon' > < / span > < / button >
< / script >
2016-06-20 18:37:26 +00:00
< script type = 'text/x-tmpl-mustache' id = 'lightbox' >
< div class = 'content' >
< div class = 'controls' >
< a class = 'x close' alt = 'Close image.' href = '#' > < / a >
< a class = 'save' alt = 'Save as...' href = '#' > < / a >
< / div >
< img class = 'image' src = '{{ url }}' / >
< / div >
< / script >
2015-05-26 23:54:21 +00:00
< script type = 'text/x-tmpl-mustache' id = 'confirmation-dialog' >
2016-02-19 01:28:34 +00:00
< div class = "content" >
2016-01-23 16:00:07 +00:00
< div class = 'message' > {{ message }}< / div >
< div class = 'buttons' >
2017-07-11 22:54:46 +00:00
{{ #showCancel }}
< button class = 'cancel' tabindex = '2' > {{ cancel }}< / button >
{{ /showCancel }}
2017-06-14 17:37:30 +00:00
< button class = 'ok' tabindex = '1' > {{ ok }}< / button >
2016-01-23 16:00:07 +00:00
< / div >
2015-05-26 23:54:21 +00:00
< / div >
< / script >
2015-03-15 23:04:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'attachment-preview' >
2015-12-26 06:17:30 +00:00
< img src = '{{ source }}' class = 'preview' / >
2016-04-07 17:56:59 +00:00
< a class = 'x close' alt = 'remove attachment' href = '#' > < / a >
2015-03-15 23:04:39 +00:00
< / script >
2017-04-18 22:20:45 +00:00
< script type = 'text/x-tmpl-mustache' id = 'file-view' >
2017-05-11 23:45:26 +00:00
< div class = 'icon {{ mediaType }}' > < / div >
2017-05-09 17:10:50 +00:00
< div class = 'text' >
2017-05-11 23:45:26 +00:00
< div class = 'fileName' title = '{{ altText }}' >
{{ fileName }}
< / div >
2017-05-09 17:10:50 +00:00
< div class = 'fileSize' > {{ fileSize }}< / div >
< / div >
2017-04-18 22:20:45 +00:00
< / script >
2016-03-22 21:47:17 +00:00
< script type = 'text/x-tmpl-mustache' id = 'hasRetry' >
{{ messageNotSent }}
< span href = '#' class = 'retry' > {{ resend }}< / span >
< / script >
2017-07-03 23:46:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'some-failed' >
{{ someFailed }}
< / script >
2016-09-18 06:55:05 +00:00
< script type = 'text/x-tmpl-mustache' id = 'keychange' >
2017-06-16 21:56:38 +00:00
< span class = 'content' dir = 'auto' > < span class = 'shield icon' > < / span > {{ content }}< / span >
2016-09-18 06:55:05 +00:00
< / script >
2017-06-15 19:27:41 +00:00
< script type = 'text/x-tmpl-mustache' id = 'verified-change' >
< span class = 'content' dir = 'auto' > < span class = '{{ icon }} icon' > < / span > {{ content }}< / span >
< / script >
2015-03-15 23:04:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'message' >
2015-03-23 21:01:18 +00:00
{{> avatar }}
2016-08-29 06:57:33 +00:00
< div class = 'bubble {{ avatar.color }}' >
2017-09-11 16:50:35 +00:00
< div class = 'sender' dir = 'auto' >
{{ sender }}
{{ #profileName }}
< span class = 'profileName' > {{ profileName }} < / span >
{{ /profileName }}
< / div >
2018-04-14 00:34:53 +00:00
< div class = 'tail-wrapper {{ innerBubbleClasses }}' >
< div class = 'inner-bubble' >
< div class = 'quote-wrapper' > < / div >
< div class = 'attachments' > < / div >
< div class = 'content' dir = 'auto' >
{{ #message }}< div class = 'body' > {{ message }}< / div > {{ /message }}
< / div >
2018-04-12 07:57:07 +00:00
< / div >
2018-04-06 21:51:52 +00:00
< / div >
2015-03-15 23:04:39 +00:00
< div class = 'meta' >
2015-11-06 22:58:26 +00:00
< span class = 'timestamp' data-timestamp = {{ timestamp } } > < / span >
2015-10-28 21:12:40 +00:00
< span class = 'status hide' > < / span >
2016-09-23 23:50:03 +00:00
< span class = 'timer' > < / span >
2015-03-15 23:04:39 +00:00
< / div >
< / div >
< / script >
2016-09-23 23:50:03 +00:00
< script type = 'text/x-tmpl-mustache' id = 'hourglass' >
< span class = 'hourglass' > < span class = 'sand' > < / span > < / span >
< / script >
2016-09-27 06:15:20 +00:00
< script type = 'text/x-tmpl-mustache' id = 'expirationTimerUpdate' >
2017-06-16 21:56:38 +00:00
< span class = 'content' > < span class = 'icon clock' > < / span > {{ content }}< / span >
2016-09-27 06:15:20 +00:00
< / script >
2015-09-04 20:11:21 +00:00
< script type = 'text/x-tmpl-mustache' id = 'new-group-update' >
2015-08-26 22:13:14 +00:00
< div class = 'conversation-header' >
2015-03-15 23:04:39 +00:00
< button class = 'back' > < / button >
< button class = 'send check' > < / button >
2015-08-26 22:13:14 +00:00
< span class = 'conversation-title' > Update group< / span >
2015-03-15 23:04:39 +00:00
< / div >
2015-09-04 20:11:21 +00:00
{{> group_info_input }}
2015-03-15 23:04:39 +00:00
< div class = 'container' >
2015-09-04 20:11:21 +00:00
< div class = 'scrollable' > < / div >
2015-03-15 23:04:39 +00:00
< / div >
< / script >
2015-09-10 07:46:50 +00:00
< script type = 'text/x-tmpl-mustache' id = 'identicon-svg' >
2015-12-26 06:17:30 +00:00
< svg xmlns = 'http://www.w3.org/2000/svg' width = '100' height = '100' >
< circle cx = '50' cy = '50' r = '40' fill = '{{ color }}' / >
2017-07-07 20:18:29 +00:00
< text text-anchor = 'middle' fill = 'white' font-family = 'sans-serif' font-size = '24px' x = '50' y = '50' baseline-shift = '-8px' >
2015-09-10 07:46:50 +00:00
{{ content }}
< / text >
< / svg >
< / script >
2015-03-23 21:01:18 +00:00
< script type = 'text/x-tmpl-mustache' id = 'avatar' >
2016-08-29 06:57:33 +00:00
< span aria-hidden class = 'avatar
{{ ^avatar.url }}
{{ avatar.color }}
{{ /avatar.url }}
'
{{ #avatar.url }}
style='background-image: url("{{ avatar.url }}");'
{{ /avatar.url }}
>
2015-06-19 00:05:00 +00:00
{{ avatar.content }}
2015-09-03 20:33:17 +00:00
< / span >
2015-03-23 21:01:18 +00:00
< / script >
2015-03-15 23:04:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'contact_pill' >
< span > {{ name }}< / span > < span class = 'remove' > x< / span >
< / script >
2015-09-03 20:33:17 +00:00
< script type = 'text/x-tmpl-mustache' id = 'contact_name_and_number' >
2017-09-11 16:50:35 +00:00
< h3 class = 'name' dir = 'auto' >
{{ title }}
{{ #profileName }}
< span class = 'profileName' > {{ profileName }} < / span >
{{ /profileName }}
< / h3 >
< div class = 'number' > {{ #isVerified }}< span class = 'verified-icon' > < / span > {{ verified }} · {{ /isVerified }} {{ number }}< / div >
2015-09-03 20:33:17 +00:00
< / script >
2015-03-15 23:04:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'contact' >
2015-09-03 20:33:17 +00:00
{{> avatar }}
Feature: Blue check marks for read messages if opted in (#1489)
* Refactor delivery receipt event handler
* Rename the delivery receipt event
For less ambiguity with read receipts.
* Rename synced read event
For less ambiguity with read receipts from other Signal users.
* Add support for incoming receipt messages
Handle ReceiptMessages, which may include encrypted delivery receipts or read
receipts from recipients of our sent messages.
// FREEBIE
* Rename ReadReceipts to ReadSyncs
* Render read messages with blue double checks
* Send read receipts to senders of incoming messages
// FREEBIE
* Move ReadSyncs to their own file
// FREEBIE
* Fixup old comments on read receipts (now read syncs)
And some variable renaming for extra clarity.
// FREEBIE
* Add global setting for read receipts
Don't send read receipt messages unless the setting is enabled.
Don't process read receipts if the setting is disabled.
// FREEBIE
* Sync read receipt setting from mobile
Toggling this setting on your mobile device should sync it to Desktop. When
linking, use the setting in the provisioning message.
// FREEBIE
* Send receipt messages silently
Avoid generating phantom messages on ios
// FREEBIE
* Save recipients on the outgoing message models
For accurate tracking and display of sent/delivered/read state, even if group
membership changes later.
// FREEBIE
* Fix conversation type in profile key update handling
// FREEBIE
* Set recipients on synced sent messages
* Render saved recipients in message detail if available
For older messages, where we did not save the intended set of recipients at the
time of sending, fall back to the current group membership.
// FREEBIE
* Record who has been successfully sent to
// FREEBIE
* Record who a message has been delivered to
* Invert the not-clickable class
* Fix readReceipt setting sync when linking
* Render per recipient sent/delivered/read status
In the message detail view for outgoing messages, render each recipient's
individual sent/delivered/read status with respect to this message, as long as
there are no errors associated with the recipient (ie, safety number changes,
user not registered, etc...) since the error icon is displayed in that case.
*Messages sent before this change may not have per-recipient status lists
and will simply show no status icon.
// FREEBIE
* Add configuration sync request
Send these requests in a one-off fashion when:
1. We have just setup from a chrome app import
2. We have just upgraded to read-receipt support
// FREEBIE
* Expose sendRequestConfigurationSyncMessage
// FREEBIE
* Fix handling of incoming delivery receipts - union with array
FREEBIE
2017-10-04 22:28:43 +00:00
< div class = 'contact-details {{ class }}' > {{> contact_name_and_number }} < / div >
2015-09-03 20:33:17 +00:00
< / script >
2015-12-06 03:21:15 +00:00
< script type = 'text/x-tmpl-mustache' id = 'new-contact' >
{{> avatar }}
< div class = 'contact-details' >
{{> contact_name_and_number }}
< / div >
< / script >
2015-09-05 01:44:33 +00:00
< script type = 'text/x-tmpl-mustache' id = 'conversation-preview' >
2015-03-23 21:01:18 +00:00
{{> avatar }}
2015-03-15 23:04:39 +00:00
< div class = 'contact-details' >
2016-07-15 00:24:23 +00:00
< span class = 'last-timestamp' data-timestamp = '{{ last_message_timestamp }}' dir = 'auto' > < / span >
2015-10-23 22:47:32 +00:00
{{> contact_name_and_number }}
2015-11-09 20:07:40 +00:00
{{ #unreadCount }}
< span class = 'unread-count' > {{ unreadCount }}< / span >
{{ /unreadCount }}
2016-04-01 18:36:28 +00:00
{{ #last_message }}
2016-07-05 00:54:02 +00:00
< p class = 'last-message' dir = 'auto' > {{ last_message }} < / p >
2016-04-01 18:36:28 +00:00
{{ /last_message }}
2015-03-15 23:04:39 +00:00
< / div >
< / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/x-tmpl-mustache' id = 'phone-number' >
< div class = 'phone-input-form' >
< div class = 'number-container' >
< input type = 'tel' class = 'number' placeholder = "Phone Number" / >
2015-03-15 23:04:39 +00:00
< / div >
< / div >
< / script >
< script type = 'text/x-tmpl-mustache' id = 'file-size-modal' >
2015-12-26 04:38:16 +00:00
{{ file-size-warning }}
({{ limit }}{{ units }})
2015-03-15 23:04:39 +00:00
< / script >
2015-12-05 06:39:15 +00:00
< script type = 'text/x-tmpl-mustache' id = 'attachment-type-modal' >
Sorry, your attachment has a type, {{type}}, that is not currently supported.
< / script >
2015-03-15 23:04:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'message-detail' >
2015-02-18 02:03:05 +00:00
< div class = 'container' >
< div class = 'message-container' > < / div >
< div class = 'info' >
< table >
2016-02-15 07:30:14 +00:00
{{ #errors }}
< tr >
< td class = 'label' > {{ errorLabel }}< / td >
< td > < span class = 'error-message' > {{message}}< / span > < / td >
< / tr >
{{ /errors }}
2015-12-25 06:55:53 +00:00
< tr >
< td class = 'label' > {{ sent }}< / td >
< td > {{ sent_at }}< / td >
< / tr >
2015-12-21 07:32:39 +00:00
{{ #received_at }}
2015-12-25 06:55:53 +00:00
< tr >
< td class = 'label' > {{ received }}< / td >
< td > {{ received_at }}< / td >
< / tr >
2015-12-21 07:32:39 +00:00
{{ /received_at }}
2015-10-10 23:41:44 +00:00
< tr > < td class = 'tofrom label' > {{tofrom}}< / td > < / tr >
2015-02-18 02:03:05 +00:00
< / table >
2015-10-10 23:41:44 +00:00
< div class = 'contacts' >
< / div >
2015-02-18 02:03:05 +00:00
< / div >
2017-07-12 22:19:07 +00:00
< div class = 'delete-container' >
< button class = 'delete grey' > {{ deleteLabel }}< / button >
< / div >
2015-03-15 23:04:39 +00:00
< / div >
< / script >
2017-07-03 18:52:12 +00:00
< script type = 'text/x-tmpl-mustache' id = 'identity-key-send-error' >
< div class = 'container' >
< div class = 'explanation' >
{{ errorExplanation }}
< / div >
< div class = 'safety-number' >
< button class = 'show-safety-number grey' > {{ showSafetyNumber }}< / button >
< / div >
< div class = 'actions' >
< button class = 'send-anyway grey' > {{ sendAnyway }}< / button >
< button class = 'cancel grey' > {{ cancel }}< / button >
< / div >
< / div >
< / script >
2015-08-04 19:15:37 +00:00
< script type = 'text/x-tmpl-mustache' id = 'group-member-list' >
2017-06-16 23:48:06 +00:00
< div class = 'container' >
{{ #summary }} < div class = 'summary' > {{ summary }}< / div > {{ /summary }}
< / div >
2015-08-04 19:15:37 +00:00
< / script >
2017-06-09 01:08:41 +00:00
< script type = 'text/x-tmpl-mustache' id = 'key-verification' >
2015-03-15 23:04:39 +00:00
< div class = 'container' >
2017-07-11 22:54:46 +00:00
{{ ^hasTheirKey }}
< div class = 'placeholder' > {{ theirKeyUnknown }}< / div >
{{ /hasTheirKey }}
{{ #hasTheirKey }}
2016-09-18 22:16:39 +00:00
< label > {{ yourSafetyNumberWith }} < / label >
2016-10-21 17:22:17 +00:00
<!-- <div class='qr'></div> -->
2016-03-22 01:18:10 +00:00
< div class = 'key' >
2016-09-18 22:16:39 +00:00
{{ #chunks }} < span > {{ . }}< / span > {{ /chunks }}
2016-03-22 01:18:10 +00:00
< / div >
2017-07-11 22:54:46 +00:00
{{ /hasTheirKey }}
2017-06-10 19:18:24 +00:00
{{ verifyHelp }}
2017-06-09 01:08:41 +00:00
< p > {{> link_to_support }} < / p >
2017-06-30 00:32:40 +00:00
< div class = 'summary' >
{{ #isVerified }}
< span class = 'icon verified' > < / span >
{{ /isVerified }}
{{ ^isVerified }}
< span class = 'icon shield' > < / span >
{{ /isVerified }}
{{ verifiedStatus }}
< / div >
2017-06-10 19:18:24 +00:00
< div class = 'verify' >
2017-06-14 17:58:22 +00:00
< button class = 'verify grey' >
2017-06-10 19:18:24 +00:00
{{ verifyButton }}
< / button >
< / div >
2017-06-09 01:08:41 +00:00
< / div >
2015-03-15 23:04:39 +00:00
< / script >
<!-- index -->
2015-09-04 20:11:21 +00:00
< script type = 'text/x-tmpl-mustache' id = 'group_info_input' >
< div class = 'group-info-input' >
< div class = 'group-avatar' >
2015-10-29 18:04:21 +00:00
< div class = 'choose-file attachment-previews thumbnail' >
{{> avatar }}
< / div >
2015-09-04 20:11:21 +00:00
< input type = 'file' name = 'avatar' class = 'file-input' >
< / div >
2015-12-26 06:17:30 +00:00
< input type = 'text' name = 'name' class = 'name' placeholder = 'Group Name' value = '{{ name }}' >
2015-09-04 20:11:21 +00:00
< / div >
< / script >
2015-03-15 23:04:39 +00:00
< script type = 'text/x-tmpl-mustache' id = 'new-conversation' >
2015-08-26 22:13:14 +00:00
< div class = 'conversation-header' >
2015-03-15 23:04:39 +00:00
< button class = 'back' > < / button >
< button class = 'create check hide' > < / button >
2015-08-26 22:13:14 +00:00
< span class = 'conversation-title' > New Message< / span >
2015-03-15 23:04:39 +00:00
< / div >
2015-09-04 20:11:21 +00:00
{{> group_info_input }}
2015-08-26 22:13:14 +00:00
< div class = 'container' >
2015-03-15 23:04:39 +00:00
< div class = 'scrollable' >
< / div >
< / div >
< / script >
< script type = 'text/x-tmpl-mustache' id = 'recipients-input' >
< div class = 'recipients-container' >
< span class = 'recipients' > < / span >
2016-07-05 00:54:02 +00:00
< input type = 'text' class = 'search' placeholder = '{{ placeholder }}' dir = 'auto' / >
2015-03-15 23:04:39 +00:00
< / div >
< div class = 'results' >
< div class = 'new-contact contact hide' > < / div >
< div class = 'contacts' > < / div >
< / div >
< / script >
2015-02-18 02:03:05 +00:00
< script type = 'text/x-tmpl-mustache' id = 'generic-error' >
< p > {{ message }}< / p >
< / script >
2016-04-14 23:42:42 +00:00
< script type = 'text/x-tmpl-mustache' id = 'error-icon' >
< span class = 'error-icon' >
< / span >
{{ #message }}
< span class = 'error-message' > {{message}}< / span >
{{ /message }}
< / script >
2015-02-18 02:03:05 +00:00
< script type = 'text/x-tmpl-mustache' id = 'contact-detail' >
Feature: Blue check marks for read messages if opted in (#1489)
* Refactor delivery receipt event handler
* Rename the delivery receipt event
For less ambiguity with read receipts.
* Rename synced read event
For less ambiguity with read receipts from other Signal users.
* Add support for incoming receipt messages
Handle ReceiptMessages, which may include encrypted delivery receipts or read
receipts from recipients of our sent messages.
// FREEBIE
* Rename ReadReceipts to ReadSyncs
* Render read messages with blue double checks
* Send read receipts to senders of incoming messages
// FREEBIE
* Move ReadSyncs to their own file
// FREEBIE
* Fixup old comments on read receipts (now read syncs)
And some variable renaming for extra clarity.
// FREEBIE
* Add global setting for read receipts
Don't send read receipt messages unless the setting is enabled.
Don't process read receipts if the setting is disabled.
// FREEBIE
* Sync read receipt setting from mobile
Toggling this setting on your mobile device should sync it to Desktop. When
linking, use the setting in the provisioning message.
// FREEBIE
* Send receipt messages silently
Avoid generating phantom messages on ios
// FREEBIE
* Save recipients on the outgoing message models
For accurate tracking and display of sent/delivered/read state, even if group
membership changes later.
// FREEBIE
* Fix conversation type in profile key update handling
// FREEBIE
* Set recipients on synced sent messages
* Render saved recipients in message detail if available
For older messages, where we did not save the intended set of recipients at the
time of sending, fall back to the current group membership.
// FREEBIE
* Record who has been successfully sent to
// FREEBIE
* Record who a message has been delivered to
* Invert the not-clickable class
* Fix readReceipt setting sync when linking
* Render per recipient sent/delivered/read status
In the message detail view for outgoing messages, render each recipient's
individual sent/delivered/read status with respect to this message, as long as
there are no errors associated with the recipient (ie, safety number changes,
user not registered, etc...) since the error icon is displayed in that case.
*Messages sent before this change may not have per-recipient status lists
and will simply show no status icon.
// FREEBIE
* Add configuration sync request
Send these requests in a one-off fashion when:
1. We have just setup from a chrome app import
2. We have just upgraded to read-receipt support
// FREEBIE
* Expose sendRequestConfigurationSyncMessage
// FREEBIE
* Fix handling of incoming delivery receipts - union with array
FREEBIE
2017-10-04 22:28:43 +00:00
< div class = 'clearfix' >
{{> avatar }}
< div class = 'contact-details' >
{{ #errors }}
< div class = 'error-icon-container' >
{{ #showErrorButton }}
< button class = 'error' >
< span class = 'icon error' > < / span >
{{ errorButtonLabel }}
< / button >
{{ /showErrorButton }}
{{ ^showErrorButton }}
< span class = 'error-icon' > < / span >
{{ /showErrorButton }}
< / div >
{{ /errors }}
{{ ^errors }}
< div class = 'status-icon-container {{ status }}' >
< span class = 'status' > < / span >
2016-04-14 23:42:42 +00:00
< / div >
Feature: Blue check marks for read messages if opted in (#1489)
* Refactor delivery receipt event handler
* Rename the delivery receipt event
For less ambiguity with read receipts.
* Rename synced read event
For less ambiguity with read receipts from other Signal users.
* Add support for incoming receipt messages
Handle ReceiptMessages, which may include encrypted delivery receipts or read
receipts from recipients of our sent messages.
// FREEBIE
* Rename ReadReceipts to ReadSyncs
* Render read messages with blue double checks
* Send read receipts to senders of incoming messages
// FREEBIE
* Move ReadSyncs to their own file
// FREEBIE
* Fixup old comments on read receipts (now read syncs)
And some variable renaming for extra clarity.
// FREEBIE
* Add global setting for read receipts
Don't send read receipt messages unless the setting is enabled.
Don't process read receipts if the setting is disabled.
// FREEBIE
* Sync read receipt setting from mobile
Toggling this setting on your mobile device should sync it to Desktop. When
linking, use the setting in the provisioning message.
// FREEBIE
* Send receipt messages silently
Avoid generating phantom messages on ios
// FREEBIE
* Save recipients on the outgoing message models
For accurate tracking and display of sent/delivered/read state, even if group
membership changes later.
// FREEBIE
* Fix conversation type in profile key update handling
// FREEBIE
* Set recipients on synced sent messages
* Render saved recipients in message detail if available
For older messages, where we did not save the intended set of recipients at the
time of sending, fall back to the current group membership.
// FREEBIE
* Record who has been successfully sent to
// FREEBIE
* Record who a message has been delivered to
* Invert the not-clickable class
* Fix readReceipt setting sync when linking
* Render per recipient sent/delivered/read status
In the message detail view for outgoing messages, render each recipient's
individual sent/delivered/read status with respect to this message, as long as
there are no errors associated with the recipient (ie, safety number changes,
user not registered, etc...) since the error icon is displayed in that case.
*Messages sent before this change may not have per-recipient status lists
and will simply show no status icon.
// FREEBIE
* Add configuration sync request
Send these requests in a one-off fashion when:
1. We have just setup from a chrome app import
2. We have just upgraded to read-receipt support
// FREEBIE
* Expose sendRequestConfigurationSyncMessage
// FREEBIE
* Fix handling of incoming delivery receipts - union with array
FREEBIE
2017-10-04 22:28:43 +00:00
{{ /errors }}
< span class = 'name' dir = 'auto' > {{ name }}< / span >
{{ #errors }}
{{ #message }}
< p class = 'error-message' > {{message}}< / p >
{{ /message }}
{{ /errors }}
2015-02-18 02:03:05 +00:00
< / div >
Feature: Blue check marks for read messages if opted in (#1489)
* Refactor delivery receipt event handler
* Rename the delivery receipt event
For less ambiguity with read receipts.
* Rename synced read event
For less ambiguity with read receipts from other Signal users.
* Add support for incoming receipt messages
Handle ReceiptMessages, which may include encrypted delivery receipts or read
receipts from recipients of our sent messages.
// FREEBIE
* Rename ReadReceipts to ReadSyncs
* Render read messages with blue double checks
* Send read receipts to senders of incoming messages
// FREEBIE
* Move ReadSyncs to their own file
// FREEBIE
* Fixup old comments on read receipts (now read syncs)
And some variable renaming for extra clarity.
// FREEBIE
* Add global setting for read receipts
Don't send read receipt messages unless the setting is enabled.
Don't process read receipts if the setting is disabled.
// FREEBIE
* Sync read receipt setting from mobile
Toggling this setting on your mobile device should sync it to Desktop. When
linking, use the setting in the provisioning message.
// FREEBIE
* Send receipt messages silently
Avoid generating phantom messages on ios
// FREEBIE
* Save recipients on the outgoing message models
For accurate tracking and display of sent/delivered/read state, even if group
membership changes later.
// FREEBIE
* Fix conversation type in profile key update handling
// FREEBIE
* Set recipients on synced sent messages
* Render saved recipients in message detail if available
For older messages, where we did not save the intended set of recipients at the
time of sending, fall back to the current group membership.
// FREEBIE
* Record who has been successfully sent to
// FREEBIE
* Record who a message has been delivered to
* Invert the not-clickable class
* Fix readReceipt setting sync when linking
* Render per recipient sent/delivered/read status
In the message detail view for outgoing messages, render each recipient's
individual sent/delivered/read status with respect to this message, as long as
there are no errors associated with the recipient (ie, safety number changes,
user not registered, etc...) since the error icon is displayed in that case.
*Messages sent before this change may not have per-recipient status lists
and will simply show no status icon.
// FREEBIE
* Add configuration sync request
Send these requests in a one-off fashion when:
1. We have just setup from a chrome app import
2. We have just upgraded to read-receipt support
// FREEBIE
* Expose sendRequestConfigurationSyncMessage
// FREEBIE
* Fix handling of incoming delivery receipts - union with array
FREEBIE
2017-10-04 22:28:43 +00:00
< / div >
2015-02-18 02:03:05 +00:00
< / script >
2016-03-24 19:33:41 +00:00
< script type = 'text/x-tmpl-mustache' id = 'link_to_support' >
2018-01-30 22:22:51 +00:00
< a href = 'http://support.signal.org/hc/articles/213134107' target = '_blank' >
2016-03-24 19:33:41 +00:00
{{ learnMore }}
< / a >
< / script >
2015-09-16 06:28:00 +00:00
< script type = 'text/x-tmpl-mustache' id = 'debug-log' >
2016-02-19 19:26:32 +00:00
< div class = 'content' >
2016-02-22 20:17:54 +00:00
< div >
2016-04-07 17:56:59 +00:00
< a class = 'x close' alt = 'close debug log' href = '#' > < / a >
2016-02-22 20:17:54 +00:00
< h1 > {{ title }} < / h1 >
< p > {{ debugLogExplanation }}< / p >
< / div >
2017-07-21 22:24:43 +00:00
< textarea spellcheck = 'false' rows = '5' > < / textarea >
2016-02-22 20:17:54 +00:00
< div class = 'buttons' >
2016-09-08 18:25:46 +00:00
< button class = 'grey submit' > {{ submit }}< / button >
2016-02-22 20:17:54 +00:00
< / div >
2016-02-19 19:26:32 +00:00
< div class = 'result' >
< / div >
2015-09-16 06:28:00 +00:00
< / div >
< / script >
2016-04-10 01:33:47 +00:00
< script type = 'text/x-tmpl-mustache' id = 'debug-log-link' >
< div class = 'input-group clearfix' >
< input type = 'text' class = 'link' readonly value = '{{ url }}' / >
< a class = 'open' alt = 'open in a new browser tab' target = '_blank' href = '{{ url }}' > < / a >
< / div >
2016-04-10 03:36:50 +00:00
< p >
< a class = 'report-link' target = '_blank'
2018-01-30 22:22:51 +00:00
href='https://github.com/signalapp/Signal-Desktop/issues/new/'>
2016-04-10 03:36:50 +00:00
{{ reportIssue }}
< / a >
< / p >
2016-04-10 01:33:47 +00:00
< / script >
2016-02-18 00:08:17 +00:00
< script type = 'text/x-tmpl-mustache' id = 'settings' >
< div class = 'content' >
2016-04-07 17:56:59 +00:00
< a class = 'x close' alt = 'close settings' href = '#' > < / a >
2016-06-16 22:33:18 +00:00
< h2 > {{ settings }}< / h2 >
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
2018-02-22 18:40:32 +00:00
< div class = 'device-name-settings' >
< b > {{ deviceNameLabel }}:< / b > {{ deviceName }}
< / div >
2016-06-16 22:33:18 +00:00
< hr >
2016-08-29 07:03:37 +00:00
< div class = 'theme-settings' >
2016-09-23 12:12:07 +00:00
< h3 > {{ theme }}< / h3 >
2016-08-29 07:03:37 +00:00
< div >
< input type = 'radio' name = 'theme' id = 'theme-setting-android' value = 'android' >
< label for = 'theme-setting-android' > Android< / label >
< / div >
2016-11-17 16:21:03 +00:00
< div >
< input type = 'radio' name = 'theme' id = 'theme-setting-android-dark' value = 'android-dark' >
< label for = 'theme-setting-android-dark' > {{ themeAndroidDark }}< / label >
< / div >
2016-08-29 07:03:37 +00:00
< div >
< input type = 'radio' name = 'theme' id = 'theme-setting-ios' value = 'ios' / >
< label for = 'theme-setting-ios' > iOS< / label >
< / div >
2016-02-18 00:08:17 +00:00
< / div >
2017-10-13 18:39:18 +00:00
< br / >
< div class = 'menu-bar-setting' >
< input type = 'checkbox' name = 'hide-menu-bar' id = 'hide-menu-bar' / >
< label for = 'hide-menu-bar' > {{ hideMenuBar }}< / label >
< / div >
2016-08-29 07:03:37 +00:00
< hr >
< div class = 'notification-settings' >
< h3 > {{ notifications }}< / h3 >
< p > {{ notificationSettingsDialog }}< / p >
< div >
< input type = 'radio' name = 'notifications' id = 'notification-setting-message' value = 'message' >
< label for = 'notification-setting-message' > {{ nameAndMessage }} < / label >
< / div >
< div >
< input type = 'radio' name = 'notifications' id = 'notification-setting-name' value = 'name' / >
< label for = 'notification-setting-name' > {{ nameOnly }} < / label >
< / div >
< div >
< input type = 'radio' name = 'notifications' id = 'notification-setting-count' value = 'count' / >
< label for = 'notification-setting-count' > {{ noNameOrMessage }} < / label >
< / div >
< div >
< input type = 'radio' name = 'notifications' id = 'notification-setting-off' value = 'off' / >
< label for = 'notification-setting-off' > {{ disableNotifications }} < / label >
< / div >
2016-02-18 00:08:17 +00:00
< / div >
2017-01-28 19:33:57 +00:00
< br / >
2018-02-26 18:26:40 +00:00
{{ #isAudioNotificationSupported }}
2017-01-28 19:33:57 +00:00
< div class = 'audio-notification-setting' >
< input type = 'checkbox' name = 'audio-notification' id = 'audio-notification' / >
< label for = 'audio-notification' > {{ audioNotificationDescription }}< / label >
< / div >
2018-02-26 18:26:40 +00:00
{{ /isAudioNotificationSupported }}
2018-03-07 02:27:15 +00:00
< div class = 'sync-setting' > < / div >
< hr >
< div class = 'clear-data-settings' >
< h3 > {{ clearDataHeader }}< / h3 >
< div >
2018-03-07 22:12:56 +00:00
< button class = 'grey destructive clear-data' > {{ clearDataButton }}< / button >
2018-03-07 02:27:15 +00:00
< p > {{ clearDataExplanation }}< / p >
< / div >
< / div >
2016-02-18 00:08:17 +00:00
< / div >
< / script >
2016-06-16 22:33:18 +00:00
< script type = 'text/x-tmpl-mustache' id = 'syncSettings' >
< hr >
< h3 > {{ sync }}< / h3 >
< div >
2016-09-08 18:25:46 +00:00
< button class = 'grey sync' > {{ syncNow }}< / button >
2016-06-16 22:33:18 +00:00
< p >
{{ syncExplanation }}
< div class = 'synced_at' >
{{ lastSynced }} {{ syncDate }} {{ syncTime }}
< / div >
< div class = 'sync_failed' > {{ syncFailed }}< / div >
< / p >
< / div >
< / script >
2018-03-07 02:27:15 +00:00
< script type = 'text/x-tmpl-mustache' id = 'clear-data' >
{{#isStep1}}
< div class = 'step' >
< div class = 'inner' >
< div class = 'step-body' >
< span class = 'banner-icon alert-outline-red' > < / span >
< div class = 'header' > {{ header }}< / div >
< div class = 'body-text-wide' > {{ body }}< / div >
< / div >
< div class = 'nav' >
< div >
2018-03-07 22:12:56 +00:00
< a class = 'button neutral cancel' > {{ cancelButton }}< / a >
< a class = 'button destructive delete-all-data' > {{ deleteButton }}< / a >
2018-03-07 02:27:15 +00:00
< / div >
< / div >
< / div >
< / div >
{{/isStep1}}
{{#isStep2}}
< div id = 'step3' class = 'step' >
< div class = 'inner' >
< div class = 'step-body' >
< span class = 'banner-icon delete' > < / span >
< div class = 'header' > {{ deleting }}< / div >
< / div >
< div class = 'progress' >
< div class = 'bar-container' >
< div class = 'bar progress-bar progress-bar-striped active' > < / div >
< / div >
< / div >
< / div >
< / div >
{{/isStep2}}
< / script >
2017-01-04 03:37:56 +00:00
< script type = 'text/x-tmpl-mustache' id = 'networkStatus' >
2017-04-11 23:24:06 +00:00
< div class = 'network-status-message' >
< h3 > {{ message }}< / h3 >
2017-01-04 03:37:56 +00:00
< span > {{ instructions }}< / span >
< / div >
{{ #reconnectDurationAsSeconds }}
< div class = "network-status-message" >
{{ attemptingReconnectionMessage }}
< / div >
{{/reconnectDurationAsSeconds }}
2017-04-12 23:46:51 +00:00
{{ #action }}
< div class = "action" >
< button class = 'small blue {{ buttonClass }}' > {{ action }}< / button >
< / div >
{{/action }}
2017-01-04 03:37:56 +00:00
< / script >
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
2018-02-22 18:40:32 +00:00
< script type = 'text/x-tmpl-mustache' id = 'import-flow-template' >
{{#isStep2}}
< div id = 'step2' class = 'step' >
2017-08-08 00:24:59 +00:00
< div class = 'inner' >
< div class = 'step-body' >
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
2018-02-22 18:40:32 +00:00
< span class = 'banner-icon folder-outline' > < / span >
< div class = 'header' > {{ chooseHeader }}< / div >
< div class = 'body-text' > {{ choose }}< / div >
2017-08-08 00:24:59 +00:00
< / div >
< div class = 'nav' >
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
2018-02-22 18:40:32 +00:00
< div >
< a class = 'button choose' > {{ chooseButton }}< / a >
< / div >
2017-08-08 00:24:59 +00:00
< / div >
< / div >
< / div >
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
2018-02-22 18:40:32 +00:00
{{/isStep2}}
{{#isStep3}}
< div id = 'step3' class = 'step' >
2017-04-13 01:43:00 +00:00
< div class = 'inner' >
< div class = 'step-body' >
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
2018-02-22 18:40:32 +00:00
< span class = 'banner-icon import' > < / span >
< div class = 'header' > {{ importingHeader }}< / div >
2017-04-13 01:43:00 +00:00
< / div >
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
2018-02-22 18:40:32 +00:00
< div class = 'progress' >
< div class = 'bar-container' >
< div class = 'bar progress-bar progress-bar-striped active' > < / div >
2017-08-08 00:24:59 +00:00
< / div >
2017-04-13 01:43:00 +00:00
< / div >
< / div >
< / div >
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
2018-02-22 18:40:32 +00:00
{{/isStep3}}
{{#isStep4}}
< div id = 'step4' class = 'step' >
2017-04-13 01:43:00 +00:00
< div class = 'inner' >
< div class = 'step-body' >
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
2018-02-22 18:40:32 +00:00
< span class = 'banner-icon check-circle-outline' > < / span >
< div class = 'header' > {{ completeHeader }}< / div >
2017-04-13 01:43:00 +00:00
< / div >
< div class = 'nav' >
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
2018-02-22 18:40:32 +00:00
{{#restartButton}}
< div >
< a class = 'button restart' > {{ restartButton }}< / a >
< / div >
{{/restartButton}}
{{#registerButton}}
< div >
< a class = 'button register' > {{ registerButton }}< / a >
2017-08-08 00:24:59 +00:00
< / div >
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
2018-02-22 18:40:32 +00:00
{{/registerButton}}
2017-04-13 01:43:00 +00:00
< / div >
< / div >
< / div >
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
2018-02-22 18:40:32 +00:00
{{/isStep4}}
2017-04-13 01:43:00 +00:00
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
2018-02-22 18:40:32 +00:00
{{#isError}}
< div id = 'error' class = 'step' >
< div class = 'inner error-dialog clearfix' >
2017-04-13 01:43:00 +00:00
< div class = 'step-body' >
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
2018-02-22 18:40:32 +00:00
< span class = 'banner-icon alert-outline' > < / span >
< div class = 'header' > {{ errorHeader }}< / div >
< div class = 'body-text-wide' > {{& errorMessage }}< / div >
2017-04-13 01:43:00 +00:00
< / div >
< div class = 'nav' >
< div >
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
2018-02-22 18:40:32 +00:00
< a class = 'button choose' > {{ chooseButton }}< / a >
2017-04-13 01:43:00 +00:00
< / div >
< / div >
< / div >
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
2018-02-22 18:40:32 +00:00
< / div >
{{/isError}}
< / script >
2017-04-13 01:43:00 +00:00
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
2018-02-22 18:40:32 +00:00
< script type = 'text/x-tmpl-mustache' id = 'link-flow-template' >
{{#isStep3}}
< div id = 'step3' class = 'step' >
2017-04-13 01:43:00 +00:00
< div class = 'inner' >
< div class = 'step-body' >
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
2018-02-22 18:40:32 +00:00
< div class = 'header' > {{ linkYourPhone }}< / div >
< div id = "qr" >
< div class = 'container' >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< / div >
2017-04-13 01:43:00 +00:00
< / div >
< / div >
< div class = 'nav' >
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
2018-02-22 18:40:32 +00:00
< div class = 'instructions' >
< div class = 'android' >
< div class = 'label' >
< span class = 'os-icon android' > < / span >
< / div >
< div class = 'body' >
< div > → {{ signalSettings }}< / div >
< div > → {{ linkedDevices }}< / div >
< div > → {{ androidFinalStep }}< / div >
< / div >
< / div >
< div class = 'apple' >
< div class = 'label' >
< span class = 'os-icon apple' > < / span >
< / div >
< div class = 'body' >
< div > → {{ signalSettings }}< / div >
< div > → {{ linkedDevices }}< / div >
< div > → {{ appleFinalStep }}< / div >
< / div >
< / div >
< / div >
2017-04-13 01:43:00 +00:00
< / div >
< / div >
< / div >
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
2018-02-22 18:40:32 +00:00
{{/isStep3}}
{{#isStep4}}
2018-03-02 23:34:51 +00:00
< form id = 'link-phone' >
< div id = 'step4' class = 'step' >
< div class = 'inner' >
< div class = 'step-body' >
< span class = 'banner-icon lead-pencil' > < / span >
< div class = 'header' > {{ chooseName }}< / div >
< div >
< input type = 'text' class = 'device-name' spellcheck = 'false' maxlength = '50' / >
< / div >
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
2018-02-22 18:40:32 +00:00
< / div >
2018-03-02 23:34:51 +00:00
< div class = 'nav' >
< div >
< a class = 'button finish' > {{ finishLinkingPhoneButton }}< / a >
< / div >
< / div >
2017-04-13 01:43:00 +00:00
< / div >
< / div >
2018-03-02 23:34:51 +00:00
< / form >
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
2018-02-22 18:40:32 +00:00
{{/isStep4}}
{{#isStep5}}
< div id = 'step5' class = 'step' >
< div class = 'inner' >
< div class = 'step-body' >
< span class = 'banner-icon sync' > < / span >
< div class = 'header' > {{ syncing }}< / div >
< / div >
< div class = 'progress' >
< div class = 'bar-container' >
< div class = 'bar progress-bar progress-bar-striped active' > < / div >
< / div >
< / div >
< / div >
< / div >
{{/isStep5}}
{{#isError}}
< div id = 'error' class = 'step' >
< div class = 'inner' >
< div class = 'step-body' >
< span class = 'banner-icon alert-outline' > < / span >
< div class = 'header' > {{ errorHeader }}< / div >
< div class = 'body' > {{ errorMessage }}< / div >
< / div >
2017-09-13 20:44:06 +00:00
< div class = 'nav' >
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
2018-02-22 18:40:32 +00:00
< a class = 'button try-again' > {{ errorButton }}< / a >
2017-09-13 20:44:06 +00:00
< / div >
< / div >
< / div >
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
2018-02-22 18:40:32 +00:00
{{/isError}}
2017-04-13 01:43:00 +00:00
< / script >
2017-04-19 17:34:19 +00:00
< script type = 'text/x-tmpl-mustache' id = 'standalone' >
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
2018-02-22 18:40:32 +00:00
< div class = 'step' >
< div class = 'inner' >
< div class = 'step-body' >
< img class = 'banner-image' src = 'images/icon_128.png' / >
< div class = 'header' > Create your Signal Account< / div >
< div id = 'phone-number-input' >
< div class = 'phone-input-form' >
< div id = 'number-container' class = 'number-container' >
< input type = 'tel' class = 'number' placeholder = 'Phone Number' / >
2017-04-19 17:34:19 +00:00
< / div >
< / div >
< / div >
< div class = 'clearfix' >
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
2018-02-22 18:40:32 +00:00
< a class = 'button' id = 'request-sms' > Send SMS< / a >
< a class = 'link' id = 'request-voice' tabindex = -1 > Call< / a >
2017-04-19 17:34:19 +00:00
< / div >
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
2018-02-22 18:40:32 +00:00
< input class = 'form-control' type = 'text' pattern = '\s*[0-9]{3}-?[0-9]{3}\s*' title = 'Enter your 6-digit verification code. If you did not receive a code, click Call or Send SMS to request a new one' id = 'code' placeholder = 'Verification Code' autocomplete = 'off' >
< div id = 'error' class = 'collapse' > < / div >
2017-04-19 17:34:19 +00:00
< div id = status > < / div >
< / div >
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
2018-02-22 18:40:32 +00:00
< div class = 'nav' >
< a class = 'button' id = 'verifyCode' data-loading-text = 'Please wait...' > Register< / a >
< / div >
2017-04-19 17:34:19 +00:00
< / div >
< / div >
< / script >
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
2018-02-22 18:40:32 +00:00
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/components.js' > < / script >
2017-07-19 18:59:08 +00:00
< script type = 'text/javascript' src = 'js/reliable_trigger.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/database.js' > < / script >
< script type = 'text/javascript' src = 'js/storage.js' > < / script >
2016-04-21 23:45:21 +00:00
< script type = 'text/javascript' src = 'js/signal_protocol_store.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/libtextsecure.js' > < / script >
2015-01-14 00:09:32 +00:00
2017-04-11 23:35:44 +00:00
< script type = 'text/javascript' src = 'js/focus_listener.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/notifications.js' > < / script >
2016-04-11 22:06:06 +00:00
< script type = 'text/javascript' src = 'js/delivery_receipts.js' > < / script >
2016-04-11 22:11:20 +00:00
< script type = 'text/javascript' src = 'js/read_receipts.js' > < / script >
Feature: Blue check marks for read messages if opted in (#1489)
* Refactor delivery receipt event handler
* Rename the delivery receipt event
For less ambiguity with read receipts.
* Rename synced read event
For less ambiguity with read receipts from other Signal users.
* Add support for incoming receipt messages
Handle ReceiptMessages, which may include encrypted delivery receipts or read
receipts from recipients of our sent messages.
// FREEBIE
* Rename ReadReceipts to ReadSyncs
* Render read messages with blue double checks
* Send read receipts to senders of incoming messages
// FREEBIE
* Move ReadSyncs to their own file
// FREEBIE
* Fixup old comments on read receipts (now read syncs)
And some variable renaming for extra clarity.
// FREEBIE
* Add global setting for read receipts
Don't send read receipt messages unless the setting is enabled.
Don't process read receipts if the setting is disabled.
// FREEBIE
* Sync read receipt setting from mobile
Toggling this setting on your mobile device should sync it to Desktop. When
linking, use the setting in the provisioning message.
// FREEBIE
* Send receipt messages silently
Avoid generating phantom messages on ios
// FREEBIE
* Save recipients on the outgoing message models
For accurate tracking and display of sent/delivered/read state, even if group
membership changes later.
// FREEBIE
* Fix conversation type in profile key update handling
// FREEBIE
* Set recipients on synced sent messages
* Render saved recipients in message detail if available
For older messages, where we did not save the intended set of recipients at the
time of sending, fall back to the current group membership.
// FREEBIE
* Record who has been successfully sent to
// FREEBIE
* Record who a message has been delivered to
* Invert the not-clickable class
* Fix readReceipt setting sync when linking
* Render per recipient sent/delivered/read status
In the message detail view for outgoing messages, render each recipient's
individual sent/delivered/read status with respect to this message, as long as
there are no errors associated with the recipient (ie, safety number changes,
user not registered, etc...) since the error icon is displayed in that case.
*Messages sent before this change may not have per-recipient status lists
and will simply show no status icon.
// FREEBIE
* Add configuration sync request
Send these requests in a one-off fashion when:
1. We have just setup from a chrome app import
2. We have just upgraded to read-receipt support
// FREEBIE
* Expose sendRequestConfigurationSyncMessage
// FREEBIE
* Fix handling of incoming delivery receipts - union with array
FREEBIE
2017-10-04 22:28:43 +00:00
< script type = 'text/javascript' src = 'js/read_syncs.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/libphonenumber-util.js' > < / script >
< script type = 'text/javascript' src = 'js/models/messages.js' > < / script >
< script type = 'text/javascript' src = 'js/models/conversations.js' > < / script >
2016-09-07 00:12:45 +00:00
< script type = 'text/javascript' src = 'js/models/blockedNumbers.js' > < / script >
2016-09-21 00:19:51 +00:00
< script type = 'text/javascript' src = 'js/expiring_messages.js' > < / script >
2014-06-03 16:39:29 +00:00
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/chromium.js' > < / script >
2016-09-20 20:42:33 +00:00
< script type = 'text/javascript' src = 'js/registration.js' > < / script >
2016-04-04 02:34:34 +00:00
< script type = 'text/javascript' src = 'js/expire.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/conversation_controller.js' > < / script >
2016-02-15 21:53:37 +00:00
< script type = 'text/javascript' src = 'js/emoji_util.js' > < / script >
2015-03-15 23:04:39 +00:00
2018-04-11 16:30:28 +00:00
< script type = 'text/javascript' src = 'js/views/react_wrapper_view.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/views/whisper_view.js' > < / script >
2017-05-17 21:32:03 +00:00
< script type = 'text/javascript' src = 'js/views/last_seen_indicator_view.js' > < / script >
2017-05-19 01:33:35 +00:00
< script type = 'text/javascript' src = 'js/views/scroll_down_button_view.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/views/debug_log_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/toast_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/attachment_preview_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/file_input_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/list_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/conversation_list_item_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/conversation_list_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/contact_list_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/new_group_update_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/attachment_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/error_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/timestamp_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/message_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/key_verification_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/message_detail_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/message_list_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/group_member_list_view.js' > < / script >
2016-08-15 22:36:29 +00:00
< script type = 'text/javascript' src = 'js/views/recorder_view.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/views/conversation_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/conversation_search_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/hint_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/inbox_view.js' > < / script >
2017-01-04 03:37:56 +00:00
< script type = 'text/javascript' src = 'js/views/network_status_view.js' > < / script >
2015-12-26 06:17:30 +00:00
< script type = 'text/javascript' src = 'js/views/confirmation_dialog_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/identicon_svg_view.js' > < / script >
2016-02-18 00:08:17 +00:00
< script type = 'text/javascript' src = 'js/views/settings_view.js' > < / script >
2017-07-03 18:52:12 +00:00
< script type = 'text/javascript' src = 'js/views/install_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/banner_view.js' > < / script >
< script type = 'text/javascript' src = 'js/views/identity_key_send_error_view.js' > < / script >
2017-03-31 01:11:13 +00:00
< script type = "text/javascript" src = "js/views/phone-input-view.js" > < / script >
2017-04-19 17:34:19 +00:00
< script type = 'text/javascript' src = 'js/views/standalone_registration_view.js' > < / script >
2017-04-12 21:20:56 +00:00
< script type = 'text/javascript' src = 'js/views/app_view.js' > < / script >
2017-08-08 00:24:59 +00:00
< script type = 'text/javascript' src = 'js/views/import_view.js' > < / script >
2015-01-19 01:43:25 +00:00
2017-03-01 21:11:40 +00:00
< script type = 'text/javascript' src = 'js/wall_clock_listener.js' > < / script >
2017-02-16 19:59:32 +00:00
< script type = 'text/javascript' src = 'js/rotate_signed_prekey_listener.js' > < / script >
2017-05-07 21:18:22 +00:00
< script type = 'text/javascript' src = 'js/keychange_listener.js' > < / script >
2014-01-12 14:07:30 +00:00
< / head >
2015-01-14 21:21:54 +00:00
< body >
2017-03-09 18:40:47 +00:00
< div class = 'app-loading-screen' >
< div class = 'content' >
2017-07-28 01:38:41 +00:00
< img src = 'images/icon_128.png' >
2017-03-09 18:40:47 +00:00
< div class = 'container' >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< span class = 'dot' > < / span >
< / div >
2018-03-22 15:56:33 +00:00
< div class = 'message' > < / div >
2017-03-09 18:40:47 +00:00
< / div >
< / div >
2018-03-22 15:30:00 +00:00
< script type = 'text/javascript' src = 'js/background.js' > < / script >
2014-01-12 14:07:30 +00:00
< / body >
< / html >