LBRY couldn't connect to our servers to confirm your invitation code. Please check your internet connection.
- If you continue to have problems, you can still browse LBRY and visit the Settings page to redeem your code later. -diff --git a/.gitignore b/.gitignore
index ccfec0983..d1b68b9b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ dist
/app/node_modules
/build/venv
/lbry-app-venv
+/lbry-venv
/daemon/build
/daemon/venv
/daemon/requirements.txt
diff --git a/app/main.js b/app/main.js
index 23239145b..4b9a4664f 100644
--- a/app/main.js
+++ b/app/main.js
@@ -62,9 +62,9 @@ function getPidsForProcessName(name) {
}
function createWindow () {
- win = new BrowserWindow({backgroundColor: '#155B4A'}) //$color-primary
+ win = new BrowserWindow({backgroundColor: '#155B4A', minWidth: 800, minHeight: 600 }) //$color-primary
win.maximize()
- //win.webContents.openDevTools()
+ win.webContents.openDevTools();
win.loadURL(`file://${__dirname}/dist/index.html`)
win.on('closed', () => {
win = null
diff --git a/doitagain.sh b/doitagain.sh
new file mode 100755
index 000000000..37564e1dd
--- /dev/null
+++ b/doitagain.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+rm -rf ~/.lbrynet/
+rm -rf ~/.lbryum/
+./node_modules/.bin/electron app
diff --git a/lbry b/lbry
index e8bccec71..043e2d0ab 160000
--- a/lbry
+++ b/lbry
@@ -1 +1 @@
-Subproject commit e8bccec71c7424bf06d057904e4722d2d734fa3f
+Subproject commit 043e2d0ab96030468d53d02e311fd848f35c2dc1
diff --git a/lbryum b/lbryum
index 39ace3737..121bda396 160000
--- a/lbryum
+++ b/lbryum
@@ -1 +1 @@
-Subproject commit 39ace3737509ff2b09fabaaa64d1525843de1325
+Subproject commit 121bda3963ee94f0c9c027813c55b71b38219739
diff --git a/ui/js/app.js b/ui/js/app.js
index 7e8559be7..9cfb43137 100644
--- a/ui/js/app.js
+++ b/ui/js/app.js
@@ -7,13 +7,12 @@ import HelpPage from './page/help.js';
import WatchPage from './page/watch.js';
import ReportPage from './page/report.js';
import StartPage from './page/start.js';
-import ClaimCodePage from './page/claim_code.js';
-import ReferralPage from './page/referral.js';
+import RewardsPage from './page/rewards.js';
+import RewardPage from './page/reward.js';
import WalletPage from './page/wallet.js';
import ShowPage from './page/show.js';
import PublishPage from './page/publish.js';
import DiscoverPage from './page/discover.js';
-import SplashScreen from './component/splash.js';
import DeveloperPage from './page/developer.js';
import {FileListDownloaded, FileListPublished} from './page/file-list.js';
import Drawer from './component/drawer.js';
@@ -38,17 +37,11 @@ var App = React.createClass({
message: 'Error message',
data: 'Error data',
},
+ _fullScreenPages: ['watch'],
_upgradeDownloadItem: null,
_isMounted: false,
_version: null,
-
- // Temporary workaround since electron-dl throws errors when you try to get the filename
- getDefaultProps: function() {
- return {
- address: window.location.search
- };
- },
getUpdateUrl: function() {
switch (process.platform) {
case 'darwin':
@@ -87,7 +80,7 @@ var App = React.createClass({
var match, param, val, viewingPage, pageArgs,
drawerOpenRaw = sessionStorage.getItem('drawerOpen');
- return Object.assign(this.getViewingPageAndArgs(this.props.address), {
+ return Object.assign(this.getViewingPageAndArgs(window.location.search), {
drawerOpen: drawerOpenRaw !== null ? JSON.parse(drawerOpenRaw) : true,
errorInfo: null,
modal: null,
@@ -112,6 +105,8 @@ var App = React.createClass({
if (target.matches('a[href^="?"]')) {
event.preventDefault();
if (this._isMounted) {
+ history.pushState({}, document.title, target.getAttribute('href'));
+ this.registerHistoryPop();
this.setState(this.getViewingPageAndArgs(target.getAttribute('href')));
}
}
@@ -153,6 +148,11 @@ var App = React.createClass({
componentWillUnmount: function() {
this._isMounted = false;
},
+ registerHistoryPop: function() {
+ window.addEventListener("popstate", function() {
+ this.setState(this.getViewingPageAndArgs(location.pathname));
+ }.bind(this));
+ },
handleUpgradeClicked: function() {
// Make a new directory within temp directory so the filename is guaranteed to be available
const dir = fs.mkdtempSync(app.getPath('temp') + require('path').sep);
@@ -231,14 +231,12 @@ var App = React.createClass({
case 'wallet':
case 'send':
case 'receive':
- case 'claim':
- case 'referral':
+ case 'rewards':
return {
- '?wallet' : 'Overview',
- '?send' : 'Send',
- '?receive' : 'Receive',
- '?claim' : 'Claim Beta Code',
- '?referral' : 'Check Referral Credit',
+ '?wallet': 'Overview',
+ '?send': 'Send',
+ '?receive': 'Receive',
+ '?rewards': 'Rewards',
};
case 'downloaded':
case 'published':
@@ -258,8 +256,6 @@ var App = React.createClass({
return
Using LBRY is like dating a centaur. Totally normal up top, and way different underneath.
+On the upper level, LBRY is like other popular video and media sites.
+Below, LBRY is controlled by its users -- you -- through the power of blockchain and decentralization.
+Thanks for making it possible! Here's a nickel, kid.
+You earned a reward of
This reward will show in your Wallet momentarily, probably while you are reading this message.
+LBC is used to compensate creators, to publish, and to have say in how the network works.
+No need to understand it all just yet! Try watching or downloading something next.
+An error was encountered that we cannot continue from.
+At least we're earning the name beta.
+ { window.location.reload() } } /> +Preparing for first access
+Are you sure you'd like to remove {this.props.metadata.title} from LBRY?
+Are you sure you'd like to remove {this.props.metadata ? this.props.metadata.title : this.props.uri} from LBRY?
+ This content is Not Safe For Work. + To view adult content, please change your . +
+LBRY couldn't connect to our servers to confirm your invitation code. Please check your internet connection.
- If you continue to have problems, you can still browse LBRY and visit the Settings page to redeem your code later. -Our FAQ answers many common questions.
- +Our FAQ answers many common questions.
+ +- Live help is available most hours in the #help channel of our Slack chat room. -
-- -
++ Live help is available most hours in the #help channel of our Slack chat room. +
++ +
+Did you find something wrong?
- -Did you find something wrong?
+ +A newer version of LBRY is available.
- :Your copy of LBRY is up to date.
- } -daemon (lbrynet) | -{ver.lbrynet_version} | -
---|---|
wallet (lbryum) | -{ver.lbryum_version} | -
interface | -{uiVersion} | -
Platform | -{platform} | -
Installation ID | -{this.state.lbryId} | -
A newer version of LBRY is available.
+ :Your copy of LBRY is up to date.
+ } +daemon (lbrynet) | +{ver.lbrynet_version} | +
---|---|
wallet (lbryum) | +{ver.lbryum_version} | +
interface | +{uiVersion} | +
Platform | +{platform} | +
Installation ID | +{this.state.lbryId} | +