Commit graph

12 commits

Author SHA1 Message Date
Scott Nonnenberg 0ec0ae9dac Protect against unhandled promises when calling checkForUpdates 2019-02-08 11:54:22 -08:00
Scott Nonnenberg a247ffe5cf When iOS device has been linked, use iOS color scheme 2018-08-15 11:22:45 -07:00
Scott Nonnenberg 754d65ae2e Let's make it all pretty, shall we?
We missed a couple directories with previous attempts to turn this on
globally: app/ and libtextsecure/

Not to mention files in places we didn't expect: ts files that weren't
in the ts directory!

This turns prettier on for every file we care about (js, ts, tsx, md)
everywhere in the project but for a few key parts.
2018-05-02 13:40:57 -07:00
Scott Nonnenberg 7b49180bc0
Big update to new signal branding (#2018) 2018-01-30 14:22:51 -08:00
Scott Nonnenberg 64fe9dbfb2
Clean logs on start - and eslint/mocha with code coverage (#1945)
* Clean logs on startup; install server-side testing/linting

* Add eslint config, make all of app/ conform to its demands

* Add Node.js testing and linting to CI

* Lock project to Node.js 7.9.0, used by Electron 1.7.10

* New eslint error: trailing commas in function argumensts

Node 7.9.0 doesn't like trailing commas, but Electron does

* Move electron to devDependency, tell eslint it's built-in
2018-01-08 13:19:25 -08:00
Scott Nonnenberg 5c5fdaaed5
Update available dialog: default now 'later', not 'restart' (#1894)
This prevents the user from restarting the app by pressing space on
MacOS,  which happens frequently during the course of normal typing of a
message.

In the future we'll move to a less-obtrusive system a little
more like Chrome, where you choose to do the restart when it is
convenient for you. For now, we minimize the chance of accidental
restart in the middle of typing a message.
2017-12-14 11:30:14 -08:00
Scott Nonnenberg e96502ba5e
Delay our call to quitAndInstall(); doesn't work inside callback (#1866) 2017-12-06 12:44:23 -08:00
Scott Nonnenberg 1c455c83e0
Set parent window for about/new version, escape to close (#1795)
* Set parent window for about/new version, escape to close

* Exclude jquery from jshint run
2017-11-21 15:23:18 -08:00
Lilia 3b810d3196 Don't check for auto updates on linux (#1592)
There aren't any!

// FREEBIE
2017-10-23 10:44:05 -07:00
Scott Nonnenberg 8243f25e5a
Fix auto-update dialog now that locale-loading has been changed
FREEBIE
2017-09-14 16:53:52 -07:00
Scott Nonnenberg 80fd70de13
Don't show 'new update available' dialog if it's already showing
FREEBIE
2017-09-14 16:53:52 -07:00
David Balatero 8f30e13ec1
Rename autoupdate -> auto_update, remove redundancy 2017-09-14 16:53:51 -07:00
Renamed from app/autoupdate.js (Browse further)