1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 01:13:14 +01:00

remove all signup links

This commit is contained in:
Matthias Kretschmann 2018-05-31 11:34:38 +02:00
parent fd59166965
commit be093091a3
Signed by: m
GPG Key ID: 606EEEF3C479A91F
14 changed files with 0 additions and 166 deletions

View File

@ -31,7 +31,6 @@ let LoginContainer = React.createClass({
location={location} location={location}
whitelabelName={whitelabelName} /> whitelabelName={whitelabelName} />
<div className="ascribe-login-text"> <div className="ascribe-login-text">
{getLangText(`Not a ${whitelabelName || 'ascribe'} user`)}&#63; <Link to="/signup">{getLangText('Sign up')}...</Link><br/>
{getLangText('Forgot my password')}&#63; <Link to="/password_reset">{getLangText('Rescue me')}...</Link> {getLangText('Forgot my password')}&#63; <Link to="/password_reset">{getLangText('Rescue me')}...</Link>
</div> </div>
</div> </div>

View File

@ -57,15 +57,6 @@ const PRLanding = React.createClass({
if (this.state.prize && this.state.prize.active) { if (this.state.prize && this.state.prize.active) {
return ( return (
<ButtonGroup className="enter" bsSize="large" vertical> <ButtonGroup className="enter" bsSize="large" vertical>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up to submit')}
</Button>
</LinkContainer>
<p>
{getLangText('or, already an ascribe user?')}
</p>
<LinkContainer to="/login"> <LinkContainer to="/login">
<Button> <Button>
{getLangText('Log in to submit')} {getLangText('Log in to submit')}
@ -76,13 +67,6 @@ const PRLanding = React.createClass({
} else { } else {
return ( return (
<ButtonGroup className="enter" bsSize="large" vertical> <ButtonGroup className="enter" bsSize="large" vertical>
<a className="btn btn-default" href="https://www.ascribe.io/app/signup">
{getLangText('Sign up to ascribe')}
</a>
<p>
{getLangText('or, already an ascribe user?')}
</p>
<LinkContainer to="/login"> <LinkContainer to="/login">
<Button> <Button>
{getLangText('Log in')} {getLangText('Log in')}

View File

@ -44,15 +44,6 @@ let Landing = React.createClass({
if (this.state.prize && this.state.prize.active) { if (this.state.prize && this.state.prize.active) {
return ( return (
<ButtonGroup className="enter" bsSize="large" vertical> <ButtonGroup className="enter" bsSize="large" vertical>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up to submit')}
</Button>
</LinkContainer>
<p>
{getLangText('or, already an ascribe user?')}
</p>
<LinkContainer to="/login"> <LinkContainer to="/login">
<Button> <Button>
{getLangText('Log in to submit')} {getLangText('Log in to submit')}
@ -63,13 +54,6 @@ let Landing = React.createClass({
} else { } else {
return ( return (
<ButtonGroup className="enter" bsSize="large" vertical> <ButtonGroup className="enter" bsSize="large" vertical>
<a className="btn btn-default" href="https://www.ascribe.io/app/signup">
{getLangText('Sign up to ascribe')}
</a>
<p>
{getLangText('or, already an ascribe user?')}
</p>
<LinkContainer to="/login"> <LinkContainer to="/login">
<Button> <Button>
{getLangText('Log in')} {getLangText('Log in')}

View File

@ -28,10 +28,6 @@ let LoginContainer = React.createClass({
headerMessage={getLangText('Log in with ascribe')} headerMessage={getLangText('Log in with ascribe')}
location={this.props.location} /> location={this.props.location} />
<div className="ascribe-login-text"> <div className="ascribe-login-text">
{getLangText('I\'m not a user') + ' '}
<Link to="/signup">{getLangText('Sign up...')}</Link>
<br />
{getLangText('I forgot my password') + ' '} {getLangText('I forgot my password') + ' '}
<Link to="/password_reset">{getLangText('Rescue me...')}</Link> <Link to="/password_reset">{getLangText('Rescue me...')}</Link>
</div> </div>

View File

@ -51,16 +51,6 @@ let Vivi23Landing = React.createClass({
</Button> </Button>
</LinkContainer> </LinkContainer>
</div> </div>
<div className="col-xs-6">
<p>
{getLangText('Do you need an account?')}
</p>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up')}
</Button>
</LinkContainer>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -43,16 +43,6 @@ let ArtcityLanding = React.createClass({
</Button> </Button>
</LinkContainer> </LinkContainer>
</div> </div>
<div className="col-xs-6">
<p>
{getLangText('Do you need an account?')}
</p>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up')}
</Button>
</LinkContainer>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -49,16 +49,6 @@ let CylandLanding = React.createClass({
</Button> </Button>
</LinkContainer> </LinkContainer>
</div> </div>
<div className="col-xs-6">
<p>
{getLangText('Do you need an account?')}
</p>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up')}
</Button>
</LinkContainer>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -46,16 +46,6 @@ let DemoLanding = React.createClass({
</Button> </Button>
</LinkContainer> </LinkContainer>
</div> </div>
<div className="col-xs-6">
<p>
{getLangText('Do you need an account?')}
</p>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up')}
</Button>
</LinkContainer>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -48,16 +48,6 @@ let LumenusLanding = React.createClass({
</Button> </Button>
</LinkContainer> </LinkContainer>
</div> </div>
<div className="col-xs-6">
<p>
{getLangText('Do you need an account?')}
</p>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up')}
</Button>
</LinkContainer>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -52,16 +52,6 @@ let MarketLanding = React.createClass({
</Button> </Button>
</LinkContainer> </LinkContainer>
</div> </div>
<div className="col-xs-6">
<p>
{getLangText('Do you need an account?')}
</p>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up')}
</Button>
</LinkContainer>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -46,16 +46,6 @@ let PollineLanding = React.createClass({
</Button> </Button>
</LinkContainer> </LinkContainer>
</div> </div>
<div className="col-xs-6">
<p>
{getLangText('Do you need an account?')}
</p>
<LinkContainer to="/signup">
<Button>
{getLangText('Sign up')}
</Button>
</LinkContainer>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -77,9 +77,6 @@ gemini.suite('Basic', (suite) => {
.capture('hover on login submit', (actions, find) => { .capture('hover on login submit', (actions, find) => {
actions.mouseMove(find('.ascribe-form button[type=submit]')); actions.mouseMove(find('.ascribe-form button[type=submit]'));
}) })
.capture('hover on sign up link', (actions, find) => {
actions.mouseMove(find('.ascribe-login-text a[href="/signup"]'));
})
.capture('login form filled with focus', (actions, find) => { .capture('login form filled with focus', (actions, find) => {
const emailInput = find('.ascribe-form input[name=email]'); const emailInput = find('.ascribe-form input[name=email]');
@ -94,22 +91,6 @@ gemini.suite('Basic', (suite) => {
}); });
}); });
gemini.suite('Sign up', (signUpSuite) => {
signUpSuite
.setUrl('/signup')
.capture('sign up', (actions, find) => {
actions.waitForElementToShow('.ascribe-form', TIMEOUTS.NORMAL);
})
.capture('sign up form filled with focus', (actions, find) => {
actions.sendKeys(find('.ascribe-form input[name=email]'), MAIN_USER.email);
actions.sendKeys(find('.ascribe-form input[name=password]'), MAIN_USER.password);
actions.sendKeys(find('.ascribe-form input[name=password_confirm]'), MAIN_USER.password);
})
.capture('sign up form filled with check', (actions, find) => {
actions.click(find('.ascribe-form input[type="checkbox"] ~ .checkbox'));
});
});
gemini.suite('Password reset', (passwordResetSuite) => { gemini.suite('Password reset', (passwordResetSuite) => {
passwordResetSuite passwordResetSuite
.setUrl('/password_reset') .setUrl('/password_reset')

View File

@ -59,9 +59,6 @@ gemini.suite('Ikonotv', (suite) => {
.capture('hover on login submit', (actions, find) => { .capture('hover on login submit', (actions, find) => {
actions.mouseMove(find('.ascribe-form button[type=submit]')); actions.mouseMove(find('.ascribe-form button[type=submit]'));
}) })
.capture('hover on sign up link', (actions, find) => {
actions.mouseMove(find('.ascribe-login-text a[href="/signup"]'));
})
.capture('login form filled with focus', (actions, find) => { .capture('login form filled with focus', (actions, find) => {
const emailInput = find('.ascribe-form input[name=email]'); const emailInput = find('.ascribe-form input[name=email]');
@ -75,20 +72,6 @@ gemini.suite('Ikonotv', (suite) => {
actions.click(find('.ascribe-form-header')); actions.click(find('.ascribe-form-header'));
}); });
}); });
gemini.suite('Sign up', (signUpSuite) => {
signUpSuite
.setUrl('/signup')
.capture('sign up')
.capture('sign up form filled with focus', (actions, find) => {
actions.sendKeys(find('.ascribe-form input[name=email]'), MAIN_USER.email);
actions.sendKeys(find('.ascribe-form input[name=password]'), MAIN_USER.password);
actions.sendKeys(find('.ascribe-form input[name=password_confirm]'), MAIN_USER.password);
})
.capture('sign up form filled with check', (actions, find) => {
actions.click(find('.ascribe-form input[type="checkbox"] ~ .checkbox'));
});
});
}); });
// TODO: add more tests for ikonotv specific pages after authentication // TODO: add more tests for ikonotv specific pages after authentication

View File

@ -37,9 +37,6 @@ gemini.suite('Whitelabel basic', (suite) => {
.capture('hover on login submit', (actions, find) => { .capture('hover on login submit', (actions, find) => {
actions.mouseMove(find('.ascribe-form button[type=submit]')); actions.mouseMove(find('.ascribe-form button[type=submit]'));
}) })
.capture('hover on sign up link', (actions, find) => {
actions.mouseMove(find('.ascribe-login-text a[href="/signup"]'));
})
.capture('login form filled with focus', (actions, find) => { .capture('login form filled with focus', (actions, find) => {
const emailInput = find('.ascribe-form input[name=email]'); const emailInput = find('.ascribe-form input[name=email]');
@ -54,26 +51,6 @@ gemini.suite('Whitelabel basic', (suite) => {
}); });
}); });
gemini.suite('Sign up', (signUpSuite) => {
signUpSuite
.setUrl('/signup')
// See Ikono
.skip(/Ikono/)
.capture('sign up', (actions, find) => {
actions.waitForElementToShow('.ascribe-form', TIMEOUTS.NORMAL);
// Wait in case the form reloads due to other assets loading
actions.wait(500);
})
.capture('sign up form filled with focus', (actions, find) => {
actions.sendKeys(find('.ascribe-form input[name=email]'), MAIN_USER.email);
actions.sendKeys(find('.ascribe-form input[name=password]'), MAIN_USER.password);
actions.sendKeys(find('.ascribe-form input[name=password_confirm]'), MAIN_USER.password);
})
.capture('sign up form filled with check', (actions, find) => {
actions.click(find('.ascribe-form input[type="checkbox"] ~ .checkbox'));
});
});
gemini.suite('Password reset', (passwordResetSuite) => { gemini.suite('Password reset', (passwordResetSuite) => {
passwordResetSuite passwordResetSuite
.setUrl('/password_reset') .setUrl('/password_reset')