Commit graph

3147 commits

Author SHA1 Message Date
Arrowana
a5dce3e77a isNight() to arrow function and update isNight every 10 minutes, default to false 2018-01-20 08:37:22 +11:00
Igor Gassmann
89409420dd
Merge pull request #951 from lbryio/issue/938
Refactor Electron's main process
2018-01-19 13:35:58 -03:00
Igor Gassmann
1da4d05986 Refactor lbryuri.js into separate named exports 2018-01-19 12:12:28 -03:00
Igor Gassmann
12cbf5a76c
Merge pull request #955 from lbryio/issue/954
Keeps node_modules up-to-date when yarn.lock changes due to git
2018-01-18 14:35:08 -03:00
Igor Gassmann
d6c11a334f keeps node_modules up-to-date when yarn.lock changes due to git 2018-01-18 14:19:55 -03:00
Liam Cardenas
a34a61bce8 Add custom country code 2018-01-17 21:09:08 -08:00
Liam Cardenas
faa2753e35 Change to updated urls for phone verification 2018-01-17 18:22:52 -08:00
Igor Gassmann
4ec3ef2fb9 Merge branch 'master' into issue/938 2018-01-17 23:21:45 -03:00
Igor Gassmann
fd64ae58fe Refactor main process 2018-01-17 23:13:08 -03:00
Alex Liebowitz
37b5ec92e1 Change version to 0.2.0 [temp, for testing] 2018-01-17 08:03:51 -05:00
Alex Liebowitz
2d33767182 Change version to 0.1.0 [temp, for testing] 2018-01-17 07:27:40 -05:00
Alex Liebowitz
853bf2cfe7 Make video pause when you hit the "Upgrade Now" button on Mac/Win 2018-01-17 07:10:45 -05:00
Alex Liebowitz
863f7dc23b Make new dialogs behave correctly when video is playing 2018-01-17 06:10:11 -05:00
Alex Liebowitz
dccb06c13c Version 0.35 [temp, for testing] 2018-01-17 06:09:03 -05:00
Alex Liebowitz
f244f9035b Add back "Upgrade App" button on Mac/Win with different dialog on click 2018-01-17 06:09:02 -05:00
Arrowana
6f77106ffa is night interval to 60 seconds and shorten label message 2018-01-17 20:55:25 +11:00
Alex Liebowitz
0c8ba50207 Update Auto Update-related copy 2018-01-15 18:38:35 -05:00
Igor Gassmann
3c1d4714ef
Merge pull request #929 from lbryio/issue/397
- Fix Electron linting errors.
- Add brew update to build script for getting latest dependencies versions.
- Clean .gitignore to remove IDE specific ignores and old rules.
- Add productName to build config.
- Replace dependency keytar with keytar-prebuild until atom/node-keytar#67 is not merged.
2018-01-15 16:12:34 -03:00
Igor Gassmann
6a3a3b6f80 Rename app as LBRY 2018-01-15 14:29:02 -03:00
Jeremy Kauffman
d9a41a64c5
Merge pull request #945 from Arrowana/fix-contributing-level-links
Fix CONTRIBUTING.md level issues links
2018-01-15 10:39:26 -05:00
Liam Cardenas
fa7d265cc0 Add error messages in phone verification modal 2018-01-15 06:30:10 -08:00
Igor Gassmann
0edf895baf Add dependencies installation instructions for build script 2018-01-15 10:41:58 -03:00
Liam Cardenas
247859a1dd Remove console.logs 2018-01-15 05:35:15 -08:00
Liam Cardenas
4409315353 Added phone verification functionality 2018-01-15 05:32:01 -08:00
Arrowana
4795901e12 improve and clean 2018-01-15 20:09:40 +11:00
Arrowana
8eb7f58988 add basic feature 2018-01-14 20:14:15 +11:00
Pierre
6298ae404b
Fix CONTRIBUTING.md level issues links 2018-01-13 19:56:37 +11:00
Alex Liebowitz
5a475f4ba4 Version 0.32 [temp, for testing] 2018-01-12 00:30:23 -05:00
Alex Liebowitz
fb8aee4632 Version 0.31 [temp, for testing] 2018-01-12 00:30:23 -05:00
Alex Liebowitz
cf3406f926 Remove icon from the Windows auto-update alert dialog shown on closing 2018-01-12 00:30:23 -05:00
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