2838 Commits

Author SHA1 Message Date
Scott Nonnenberg
e72db5cd08 Remove tests using fixtures 2018-11-16 10:10:36 -08:00
Scott Nonnenberg
84943997a6 v0.48.1 v0.48.1 2018-11-16 09:59:52 -08:00
Scott Nonnenberg
326bda9595 Remove use of const for compatibility with old chrome versions 2018-11-16 09:59:25 -08:00
Scott Nonnenberg
e06b9878ba v0.48.0 v0.48.0 2018-11-15 16:49:29 -08:00
Scott Nonnenberg
b8a59507c2 Hardcode display of export screen, of expired banner 2018-11-15 16:49:09 -08:00
Scott Nonnenberg
0378cdff82 Show 'app is expired' screen instead of 'welcome' screen 2018-11-15 16:48:17 -08:00
Scott Nonnenberg
af6f32ee05 Introduce final 'uninstall' step to the export process 2018-11-15 16:48:17 -08:00
Scott Nonnenberg
acf90adb62 Chrome App no longer sends or receives messages 2018-11-15 16:48:15 -08:00
Scott Nonnenberg
4515ad3db1 v0.47.2 v0.47.2 2018-11-15 16:44:13 -08:00
Scott Nonnenberg
4ca502dea0 Remove code to show upgrade screen after expiration 2018-11-15 16:43:43 -08:00
Scott Nonnenberg
260c6f7da0 v0.47.1 v0.47.1 2018-10-17 10:07:20 -07:00
Scott Nonnenberg
38b43b350f Ensure that linux install directions pop up on 'Install' click 2018-10-17 10:06:40 -07:00
Scott Nonnenberg
c744a81d42 v0.47.0 v0.47.0 2018-10-16 14:34:08 -07:00
Scott Nonnenberg
6c8cff56bb Introduce final expiration, streamline export process 2018-10-16 12:08:56 -07:00
Scott Nonnenberg
d1d7ab61e0 Close recorder on switch away, only send after finish clicked 2018-10-05 15:34:20 -07:00
Scott Nonnenberg
da29423e48 v0.46.6 v0.46.6 2018-09-19 18:47:11 -07:00
Scott Nonnenberg
d4bf4e189c v0.46.5 v0.46.5 2018-09-19 17:57:55 -07:00
Scott Nonnenberg
30745676e8 v0.46.4 v0.46.4 2018-06-21 16:52:53 -07:00
Scott Nonnenberg
04cb67fb71 Expire timer updates: don't send if updated via remote message 2018-06-21 16:44:32 -07:00
Scott Nonnenberg
4309938861 v0.46.3 v0.46.3 2018-06-14 16:55:11 -07:00
Scott Nonnenberg
b0cfb5a264 Ensure timer updates show in convo before initiating message 2018-06-14 16:42:47 -07:00
Scott Nonnenberg
fae282cf8e When user cancels filesystem dialog, reset to choice screen 2018-06-13 17:29:56 -07:00
Scott Nonnenberg
327fc7b215 v0.46.2
Hide "It’s Installed" button until user installs standalone version (#2226)
v0.46.2
2018-04-11 10:30:17 -07:00
Daniel Gasienica
c8fb28c3d9 Hide “It’s Installed” until user installs standalone version (#2226)
Some of our users skipped over the installation screen as it wasn’t clear
installation was a required action before proceeding.

Should reduce confusion as observed in #2130.
2018-04-05 19:10:51 -04:00
Daniel Gasienica
eb4865b74c Hide “It’s Installed” until user installs standalone version 2018-04-05 18:59:14 -04:00
Scott Nonnenberg
74c393e893 v0.46.1
Fixed: Buttons on 'export failed' screen were not clickable (#2139)
v0.46.1
2018-03-16 09:57:30 -07:00
Scott Nonnenberg
06bcae0fce Make 'submit debug log'/'try again' clickable on error screen (#2139) 2018-03-16 08:26:23 -07:00
Scott Nonnenberg
53101148a4 v0.46.0
Move to debuglogs.org for debug logs, since GitHub is retiring anonymous
gists (#2118)
  More info: https://blog.github.com/2018-02-18-deprecation-notice-removing-anonymous-gist-creation/
v0.46.0
2018-03-13 14:20:55 -07:00
Daniel Gasienica
b8a237bb37 Chrome: Move Debug Logs From GitHub Gists to debuglogs.org
In anticipation of GitHub’s deprecation of anonymous gists, we are moving our
debug logs to https://debuglogs.org.

- [x] Publish debug logs to debuglogs.org:
  - ~~Using jQuery v2.1.1-pre results in S3 error about invalid form data
    indicating our jQuery version (added in 2014) doesn’t serialize
    `FormData` correctly.~~
  - [x] Using vanilla XHR ~~results in CORS error indicating our S3 bucket
    doesn’t CORS headers but upload succeeds nonetheless.~~
- [x] Add CORS headers to https://debuglogs.org
- [x] Add CORS headers to S3 bucket (incl. `POST` requests):
      https://s3.amazonaws.com/signal-debug-logs

**Sample log:** https://debuglogs.org/76bf1d7fd9b88ad061d91f79914230e45dc123bc8d169e073f10adb5c1999d4e
2018-03-13 16:48:08 -04:00
Scott Nonnenberg
ba02fe6bbe Ensure that clicks in debug log dialog don't open new dialogs 2018-03-13 13:41:33 -07:00
Daniel Gasienica
206196011f Remove debuglogs S3 bucket from permissions
CORS is now working.
2018-03-13 16:14:35 -04:00
Daniel Gasienica
e99a81d56a Remove debuglogs.org from permissions
CORS is now working. Still waiting for S3 POST requests to be CORS enabled.
2018-03-12 23:19:38 -04:00
Daniel Gasienica
2256fed715 Publish debug logs to debuglogs.org 2018-03-09 12:21:31 -05:00
Daniel Gasienica
6621b8ac69 Add debuglogs.org and S3 to permissions
Allows cross-origin calls to publish debug logs.
See: https://developer.chrome.com/apps/xhr
2018-03-09 11:33:28 -05:00
Daniel Gasienica
3180b6ca8d Use vanilla XHR for debug log publishing
Chrome still reports CORS error as response from S3 bucket does not include CORS
headers but upload succeeds nonetheless.
2018-03-07 19:10:49 -05:00
Daniel Gasienica
549e9c8d60 Publish debug logs on debuglogs.org 2018-03-07 19:05:33 -05:00
Scott Nonnenberg
e9772b66ec v0.45.0
Updated export flow visuals to match registration/import in Standalone
(#2067)

New dismissable upgrade banner, with automatic display via incremental
rollout (#2067)

After the first export, all subsequent exports will be 'light' -
messages, contacts and groups only (#2067)
v0.45.0
2018-02-27 14:16:41 -08:00
Scott Nonnenberg
a02612cd11 Updated export flow visuals, new upgrade banner, light export (#2067)
* Backup: Exclude all disappearing messages from export

* Reset overall statistics on start of backup

* Updated visual design for the export process

* On any export after first, don't include encryption info

* Wire up the upgrade banner with dismiss button

Unlike the previous implementation of this banner, it does not go away
when the user clicks on a conversation.

* Small tweak to the export error page: text width, error->isError

* Responding to PR feedback: some refactors, typo fix, dev server

- backupToDirectory -> exportToDirectory
- backup.js attachments -> numAttachments
- migration_view.js comment typo fix
- background.js revert back to the staging server url
- database.js remove dev-only commented-out migration

* Incremental rollout for upgrade banner

* Fix timing, address other PR feedback

* exportingToDirectory -> exportToDirectory

* inboxView: call proper method to show export process

* Remove unnecessary cancel() if first export was never finished

Since we do want to keep track of whether previous exports were even
attempted, this works against our 'light export/import' strategy. It's
also unnecessary, because the user will start at the first step of the
process.

* Log if we get the same value back from the s3 trigger file

* Migration.cancel() - don't reset 'everAttempted' flag

This would prevent us from doing the light export that second time
through.
2018-02-27 14:10:57 -08:00
Scott Nonnenberg
636fae1857 v0.44.14
Fix bug where disconnect/reconnect from websocket could disrupt signed
key rotation schedule (16a613066f)
v0.44.14
2017-12-01 10:25:12 -08:00
Scott Nonnenberg
16a613066f Prevent key rotation listener from weirdness on reconnect 2017-12-01 10:21:11 -08:00
Scott Nonnenberg
246f958616 v0.44.13
Fix an issue where a mid-export or exported Chrome app would interfere
with Standalone app which imported its data

00ca91bc9b
and
a246e1a614

Dev:
  - Harden top-level handler to strange incoming error shapes
v0.44.13
2017-11-30 10:40:53 -08:00
Scott Nonnenberg
f158220053 Harden top-level handler to strange incoming error shapes 2017-11-30 10:10:42 -08:00
Scott Nonnenberg
a246e1a614 Stop signed key rotation as export process starts 2017-11-30 10:10:24 -08:00
Scott Nonnenberg
00ca91bc9b Don't start key rotation listener until we connect to socket
We're seeing evidence of post-export Chrome apps causing problems with
the Standalone install that imported the data. They both try to rotate
signed prekeys.
2017-11-30 10:01:05 -08:00
Scott Nonnenberg
10ad8b4008 v0.44.12
Fix issue where import complained of malformed JSON (#1764)
v0.44.12
2017-11-14 12:21:07 -08:00
Scott Nonnenberg
55614c245f Poll for well-formed messages.json for five minutes, fail if not (#1764)
Previously we just waited 5 or 10 seconds, and if it didn't work out,
then we just noted in the log.

Now we check for longer, and if any conversations are still not
well-formed after that long, we fail the export.
2017-11-14 11:46:54 -08:00
Scott Nonnenberg
8bde6ec1cd v0.44.11
Fix issue where export fails to finish
2017-11-09 12:31:20 -08:00
Scott Nonnenberg
30c26cf210 v0.44.10
Export: Fix issue where export would never finish (#1740)
v0.44.10
2017-11-09 07:46:46 -08:00
Scott Nonnenberg
5e186cb50d Manually check for existence of deep prop - no _.get() (#1740) 2017-11-08 21:20:43 -08:00
Scott Nonnenberg
b168dab826 v0.44.9
Export: Eliminate attachment when error saved full message details
(#1731)

Export: Make messages.json checking stat-collection only, don't block
export (#1732)

Export: Handle attachments previously saved in base64 format (#1721)
v0.44.9
2017-11-08 14:42:57 -08:00