Compare commits

...

3 Commits

Author SHA1 Message Date
Huaoe 80e03c29e9 jenkins README 2019-09-19 14:39:40 +02:00
Huaoe 6cb252e031 cypress test stalling 2019-09-19 14:39:27 +02:00
Huaoe bfbb31ce25 Next.js 9 stalling + new DB + cypress stalling 2019-09-19 10:55:03 +02:00
32 changed files with 45475 additions and 917 deletions
+5 -2
View File
@@ -14,10 +14,13 @@ localhost:8080
>stop curent TTapp dev run to free 3000 port
### 1.login:password
### 1. login:password
>sglatz:yVqSfBDRPp07
As Kanye West said:
### 2. gitea password
>tt-jenkins:
#### 2. As Kanye West said:
> We're living the future so
> the present is our past.
+2 -2
View File
@@ -1,6 +1,6 @@
SERVER_URL=http://localhost:80
FRONT_SERVER=http://localhost:3000
SERVER_URL=http://localhost:80/app_dev.php
FRONT_SERVER=http://localhost:8000
MONGO_URI=mongodb://declic:declic42@ds115653.mlab.com:15653/next-auth
FACEBOOK_ID=2332071840142634
FACEBOOK_SECRET=afb8bbca72bd8c517c64f81e998e4f12
+2 -1
View File
@@ -2,7 +2,7 @@
## How to use
Download the example [or clone the repo](https://github.com/mui-org/material-ui):
Download the example [or clone the repo](https://git.e-declic.net/talents-tube/app.git):
```bash
git clone
@@ -12,6 +12,7 @@ Install it and run:
```bash
yarn install
yarn build
yarn dev
```
@@ -27,7 +27,7 @@ describe('Visit the whole site as anonymous', function() {
//Page des entreprises
cy.visit('/Entreprises')
cy.get('.cypCardCompany').first().click()
cy.get('.cypCardCompany').last().click()//could use .eq(2) instead of .last()
cy.get('.player').should('exist')
//Help
+45451 -901
View File
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+7 -4
View File
@@ -56,7 +56,8 @@ const styles = theme => ({
class VerifyEmail extends Component {
render() {
const { classes, email } = this.props;
console.log("render")
console.log(this.props)
return (
<Layout text="Inscription">
<Head>
@@ -91,9 +92,11 @@ class VerifyEmail extends Component {
}
}
VerifyEmail.getInitialProps = function (context) {
const email = context.query
return email
VerifyEmail.getInitialProps = async function (context) {
const {email} = context.query;
console.log("email")
console.log(email)
return {email}
}
export default withStyles(styles)(VerifyEmail)
+2 -2
View File
@@ -41,7 +41,7 @@ class MyApp extends App {
}
render() {
const { Component, store } = this.props;
const { Component, pageProps, store } = this.props;
return (
<StylesProvider injectFirst>
{/* Wrap every page in Jss and Theme providers */}
@@ -54,7 +54,7 @@ class MyApp extends App {
<Provider store={store}>
<WebPush>
{/* <PersistGate loading={null} persistor={store.__persistor}> */}
<Component pageContext={this.pageContext} />
<Component pageContext={this.pageContext} {...pageProps} />
</WebPush>
{/* </PersistGate> */}
+4 -4
View File
@@ -8,10 +8,10 @@ import theme from '../components/atoms/theme'
import { GA_TRACKING_ID } from '../src/gtag'
class MyDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx)
return { ...initialProps }
}
// static async getInitialProps(ctx) {
// const initialProps = await Document.getInitialProps(ctx)
// return { ...initialProps }
// }
render() {
+1
View File
@@ -20,6 +20,7 @@ const { ANALYZE, DEV } = process.env
});
module.exports = withPlugins(
[
[{target: 'serverless'}],
[withCSS],
[optimizedImages, {
/* config for next-optimized-images */