Scott Nonnenberg
f31125eccc
process.env.NODE_ENV -> environment
...
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
f43a5986da
Increase unit-tests timeout, improve error display, add set -e
...
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
e1495e779c
Move grunt test
to ./travis.sh since it now invokes spectron
...
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
cb296fcfaa
Cleanup: Add unit-tests task to grunt test, fix style checks
...
And improve success logging in unit-tests.
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
b9b9abf76a
Fix emoji tests - image paths are no longer absolute
...
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
255ba58b2e
Enable complete exit of Electron process after grunt unit-tests
...
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
5635095d1a
Initial version of grunt unit-tests
, tests from command-line
...
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
4402a91976
Use correct locale, fall back to en if we don't have translations
...
FREEBIE
2017-09-14 16:53:47 -07:00
Scott Nonnenberg
18b8907c96
Fix non-rendering unicode characters on test page
...
FREEBIE
2017-09-14 16:53:46 -07:00
Scott Nonnenberg
a9b4109e9b
Fix NetworkStatusView tests' stubbing of window.i18n
...
FREEBIE
2017-09-14 16:53:46 -07:00
Scott Nonnenberg
c77554533c
Fix emoji test, since emoji image paths no longer start with /
...
FREEBIE
2017-09-14 16:53:46 -07:00
Scott Nonnenberg
b4e3cc0e6c
Load test page and run tests on start when NODE_ENV=test
...
FREEBIE
2017-09-14 16:53:46 -07:00
lilia
5a88faf334
Bump to 1.0.6
2017-09-14 16:53:46 -07:00
lilia
a2b2bd4bf3
Fix relative paths
...
// FREEBIE
2017-09-14 16:53:46 -07:00
lilia
2a7993309a
Fix build bucket path
2017-09-14 16:53:46 -07:00
lilia
26cece71c6
Prepopulate phone number on standalone page
2017-09-14 16:53:46 -07:00
lilia
cf9523f1f8
Restructure prep-release script slightly
...
Order of operations is now:
- regenerate local assets
- clean the release dir
- download linux/windows releases
- build osx release
- smoke all test releases
// FREEBIE
2017-09-14 16:53:46 -07:00
lilia
bb431f7c91
Remove mac artifactName config
...
Default is fine here.
// FREEBIE
2017-09-14 16:53:46 -07:00
lilia
9a1e0dcdb3
Fix linux
...
// FREEBIE
2017-09-14 16:53:46 -07:00
lilia
ab8edd8690
Add spectron tests to grunt:test-release
...
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
d63c603c21
Add spectron
2017-09-14 16:53:45 -07:00
lilia
4c5835e0af
Remove remaining call to extension.notification.update
2017-09-14 16:53:45 -07:00
lilia
7c6da5a157
Make 'Restart Signal' actually restart Signal
...
Previously it would just reload the page.
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
bc71f4aa2b
CI builds and uploads all targets
...
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
08b7ce88d9
More release scripting in npm
...
npm run icon-gen and grunt (run default task) can be grouped into one
operation.
Use SIGNAL_ENV instead of NODE_ENV since Setting NODE_ENV adversely
affects yarn's install behavior, so we had to set it after the install
and before the build. By using a custom variable instead, we can set it
globally and eventually use it in a build matrix.
Move mas build to its own npm script
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
9fe6bce0cc
Add task to download releases from s3
...
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
5078e1e7d8
Reset bundleVersion
2017-09-14 16:53:45 -07:00
lilia
a2667f784b
CI builds zip for all platforms
...
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
2ccd8c21f3
Limit hidden window behavior to osx
...
Only on osx is it customary to remain running in the background when the
window is closed.
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
cfb1e62603
Fix menu on non-darwin
2017-09-14 16:53:45 -07:00
lilia
d85ccbad4f
Remove extension.notification
2017-09-14 16:53:45 -07:00
lilia
bd7f4febaa
Remove dead code
...
These are all unused, obsolete, or no-op functions at this point.
// FREEBIE
2017-09-14 16:53:45 -07:00
lilia
c4ccf7c8e3
Inline setUnreadCount
...
// FREEBIE
2017-09-14 16:53:44 -07:00
lilia
e1282f9b3b
Bump to 1.0.5
2017-09-14 16:53:44 -07:00
lilia
2d65ae3689
Disable build script publishing in ci
...
Travis and AppVeyor configs will handle publishing ci builds
// FREEBIE
2017-09-14 16:53:44 -07:00
lilia
6977928e99
Build only .zip on mac
2017-09-14 16:53:44 -07:00
lilia
87a93d3097
Configure deployment from appveyor
2017-09-14 16:53:44 -07:00
lilia
aaee025409
Rename script
2017-09-14 16:53:44 -07:00
lilia
ab6a5286fe
Fix windows build, don't clean yml
2017-09-14 16:53:44 -07:00
lilia
693a59809e
Fix setting environment var on windows
...
Use platform-specific commands to set NODE_ENV after yarn install but
before yarn travis-build.
// FREEBIE
2017-09-14 16:53:44 -07:00
lilia
81d8b78d05
Switch to grunt-sass + node-sass-import-once
...
These modules together allow us to import css files from third party
components without maintaining symlinks that essentially rename them as
sass partials, which doesn't work on windows.
// FREEBIE
2017-09-14 16:53:44 -07:00
lilia
07235837b4
Add appveyor
2017-09-14 16:53:44 -07:00
lilia
65362e9a81
Temporarily remove sauce from the build
2017-09-14 16:53:43 -07:00
lilia
d6c0fbe9a3
WIP Travis build
...
// FREEBIE
2017-09-14 16:53:43 -07:00
lilia
29b07950a3
Fix scroll reset after clicking on a notification
2017-09-14 16:53:43 -07:00
lilia
689827ee2f
Bump bundleVersion
...
// FREEBIE
2017-09-14 16:53:43 -07:00
lilia
3239e9664c
Switch to iPhone image in installer
...
// FREEBIE
2017-09-14 16:53:43 -07:00
lilia
e83ceba570
Bump bundleVersion for app store
2017-09-14 16:53:43 -07:00
lilia
2528acc717
Remove platform-specific links from install flow
...
Mostly to satisfy the mac app store.
// FREEBIE
2017-09-14 16:53:43 -07:00
lilia
e65007e297
Tweak default notification content
...
Change the placeholder content for when notifications are configured for
count-only or sender-only. Remove some options that are no longer
supported.
// FREEBIE
2017-09-14 16:53:43 -07:00