Commit graph

3167 commits

Author SHA1 Message Date
Alex Liebowitz 3959d4aeee Make app restart after user approves update
Forgot to call quitAndInstall(). If you don't, it will still install
the update, but won't restart.
2018-01-12 00:30:23 -05:00
Alex Liebowitz b03623eb68 Convert Windows update alert dialog to native dialog in main process
Maybe a bit less polished, but I couldn't find a way to prevent the
main window from closing that works on the current version of Electron,
and in general it was starting to get too complicated.
2018-01-12 00:30:23 -05:00
Alex Liebowitz b08d96da1e Add alert before close after update is declined on Windows 2018-01-12 00:30:23 -05:00
Alex Liebowitz bc15d24d66 Add ability to decline updates 2018-01-12 00:30:23 -05:00
Alex Liebowitz acec4a745f Remove S3 upload from upload_assets.py 2018-01-12 00:30:23 -05:00
Alex Liebowitz 3957bf2afc Finish core UI for auto update 2018-01-12 00:30:23 -05:00
Alex Liebowitz 565f411986 Make app actually quit for update
Before, it was just minimizing and the app wouldn't even update because
electron-updater expects to be able to close the app.
2018-01-12 00:30:23 -05:00
Alex Liebowitz 24ced8ede7 More core UI for auto-update
We keep the old dialog flow on Linux, and on Windows and Mac we show a
single dialog when the file is downloaded.
2018-01-12 00:30:23 -05:00
Alex Liebowitz 5fff24b0fb Add "auto update downloaded" modal 2018-01-12 00:30:23 -05:00
Alex Liebowitz e39470c3cc Copy dmg file into dist/mac for TeamCity
TeamCity expects the dmg to be in dist/mac, but in the new
electron-builder it's put directly in dist/ (in the long run the right
way to solve this is to update the TeamCity config).
2018-01-12 00:30:23 -05:00
Alex Liebowitz 67c3863bd6 Don't try to upload latest-linux.yml file on Linux
It's not being generated on Linux. I'm pretty sure this is a bug (or at
least undocumented behavior), but it's OK because Linux doesn't support
updates yet anyway.
2018-01-12 00:30:23 -05:00
Alex Liebowitz bd8146a86c Add electron-publisher-s3 requirement
Needed for update system
2018-01-12 00:30:23 -05:00
Alex Liebowitz b202de449e Upload assets for latest version to S3 in a separate directory
These are the assets that go in s3://releases.lbry.io/app/latest.
Included are the built asset used for updates (on Mac this is actually
a zip file, not the dmg), as well as the update metadata file for this
platform (latest.yml, etc.)

Also includes some refactoring in the update build script.
2018-01-12 00:30:23 -05:00
Alex Liebowitz dade117476 Add updater settings to package.json 2018-01-12 00:30:23 -05:00
Alex Liebowitz 43297ce414 Add electron-log
The daemon and lbryum log all kinds of useful status/debug info, might
as well start doing that in the app too.
2018-01-12 00:30:23 -05:00
Alex Liebowitz 2031f36f7c Upgrade to electron-builder 19.45.5
It's not clear yet if this will be needed for the new upgrade process,
but we need to get on the latest version eventually anyway.
2018-01-12 00:30:23 -05:00
Alex Liebowitz 285c1ca7b6 Add electron-updater requirement and import 2018-01-12 00:30:23 -05:00
Liam Cardenas b9b7af2bbd Renamed userEmail... to userField... 2018-01-10 22:16:03 -08:00
Liam Cardenas c52c75758b Rename modalEmailCollection to modalPhoneCollection 2018-01-10 22:00:51 -08:00
Liam Cardenas c0e9b92a3a Added phone verification option 2018-01-10 21:41:51 -08:00
Igor Gassmann 431c155932
Merge pull request #933 from JoshStrobl/readd-builddir
Re-introduce build dir / dist dir option for isolated build environments.
2018-01-09 11:24:56 -03:00
Igor Gassmann be0e526dbb Merge branch 'issue/397' into issue/938 2018-01-09 11:02:44 -03:00
Sean Yesmunt c478bcb587
Merge pull request #934 from lbryio/revert-870-redesign-wip
Revert "Redesign groundwork, homepage, search"
2018-01-08 17:15:58 -08:00
Sean Yesmunt 2b9561f0c0
Revert "Redesign groundwork, homepage, search" 2018-01-08 17:15:44 -08:00
Sean Yesmunt f92d48a2c7
Merge pull request #870 from lbryio/redesign-wip
Redesign groundwork, homepage, search
2018-01-08 17:15:02 -08:00
Joshua Strobl 4f31b6c9ee Re-introduce build dir / dist dir option for isolated build environments.
This commit re-introduces the functionality for building lbry-app with a directory target. This is important for isolated build environments like solbuild, where build and install directories are different (and the contents of install dir are used in a final binary package) and thus necessitate being able to have unpackaged assets be placed in a directory relative to the build location, so instructions may be performed on those assets.
2018-01-09 01:53:07 +02:00
Igor Gassmann 8947f9ac2f Merge branch 'issue/397' of https://github.com/lbryio/lbry-app into issue/397 2018-01-08 18:39:26 -03:00
Igor Gassmann 9f1d59764b Move brew update to correct place 2018-01-08 18:39:11 -03:00
Igor Gassmann 9d7f3f3b30 Add necessary deployment .gitignore rules 2018-01-08 18:36:34 -03:00
Sean Yesmunt 0e22696e20 fix icon import 2018-01-08 13:24:38 -08:00
Sean Yesmunt c93f459113 update search action names to proper naming conventions 2018-01-08 13:10:15 -08:00
Sean Yesmunt 92482ee916 cleanup 2018-01-08 13:10:14 -08:00
Sean Yesmunt 7d492ae1fc Redesign groundwork (home/search) 2018-01-08 13:10:14 -08:00
Igor Gassmann e4dd7f8735
Merge branch 'master' into issue/397 2018-01-08 14:52:37 -03:00
Thomas Zarebczan d2011551a9
update with channel fix 2018-01-08 11:54:29 -05:00
Liam Cardenas e4f80b232c Bump version: 0.19.4rc2 → 0.19.4 2018-01-08 08:15:09 -08:00
Igor Gassmann 33d5834722 Fix Electron linting errors (https://github.com/lbryio/lbry-app/issues/397) 2018-01-08 02:16:31 -03:00
Igor Gassmann d39bd9dda7 Upgrade Electron version 2018-01-08 01:33:51 -03:00
Igor Gassmann aeb43ff1a0 Replace keytar with keytar-prebuild for resolving https://github.com/atom/node-keytar/issues/39 2018-01-08 01:26:52 -03:00
Igor Gassmann 094c3b8a9f Merge branch 'master' into issue/397 2018-01-08 00:51:34 -03:00
Igor Gassmann 8b37ec6b72 Comply naming with Airbnb guide 2018-01-08 00:46:22 -03:00
Liam Cardenas f903b75b71 Bump version: 0.19.4rc1 → 0.19.4rc2 2018-01-05 21:25:12 -08:00
Liam Cardenas d89f87fa73
Update CHANGELOG.md 2018-01-05 21:22:51 -08:00
Liam Cardenas eed68aae91
Merge pull request #890 from daovist/video-state
track and manage video state
2018-01-05 16:23:55 -08:00
Travis Eden d3047a741a remove ENV statement 2018-01-05 19:04:12 -05:00
Travis Eden 7bc2f888f1 resolve merge conflicts 2018-01-05 18:57:24 -05:00
Liam Cardenas 5294446987
Merge pull request #928 from lbryio/issue/927
Fix right click bug
2018-01-05 15:36:40 -08:00
Travis Eden 5765c6c1ee remove comment 2018-01-05 18:36:03 -05:00
Liam Cardenas a568e90bfb
Merge pull request #925 from lbryio/icon-spacing
Fix icon spacing on home page
2018-01-05 15:35:41 -08:00
Igor Gassmann 60772d0a74 Fix right click bug 2018-01-05 19:36:10 -03:00