Compare commits
23
Commits
eda530cce6
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1897a5276f | ||
|
|
81a709daae | ||
|
|
c89d5aea87 | ||
|
|
5b597a87e3 | ||
|
|
3b6e459981 | ||
|
|
b50267076a | ||
|
|
6af3b8c308 | ||
|
|
385ce16b96 | ||
|
|
4d0c341152 | ||
|
|
2d8ad1c893 | ||
|
|
42a7a4068a | ||
|
|
08d1c258c2 | ||
|
|
c6c2e107de | ||
|
|
5981f0a755 | ||
|
|
70fc723093 | ||
|
|
cf298c2272 | ||
|
|
6679b75642 | ||
|
|
3e289ed731 | ||
|
|
578ebb51e2 | ||
|
|
dbec1917a7 | ||
|
|
ff7024a788 | ||
|
|
5ef737b8ee | ||
|
|
401935d703 |
No files matched your search
@@ -10,11 +10,11 @@ GOOGLE_CLIENT_ID=965228443747-049kq59pm43bd23aplfu9ja2333dpo5s.apps.googleuserco
|
|||||||
GOOGLE_CLIENT_SECRET=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
|
GOOGLE_CLIENT_SECRET=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
|
||||||
|
|
||||||
# Email (magic link)
|
# Email (magic link)
|
||||||
EMAIL_SERVER_USER=contact@dsp-archiwebo21-ad-ec-cb-mt.fr
|
EMAIL_SERVER_USER=contact@dandan.re
|
||||||
EMAIL_SERVER_PASSWORD=Acem@2022a
|
EMAIL_SERVER_PASSWORD=Le300490@221
|
||||||
EMAIL_SERVER_HOST=mail50.lwspanel.com
|
EMAIL_SERVER_HOST=mail.dandan.re
|
||||||
EMAIL_SERVER_PORT=587
|
EMAIL_SERVER_PORT=587
|
||||||
EMAIL_FROM=contact@dsp-archiwebo21-ad-ec-cb-mt.fr
|
EMAIL_FROM=contact@dandan.re
|
||||||
|
|
||||||
DATABASE_URL="postgres://postgres:postgrespwd@127.0.0.1:5454/thetiptop"
|
DATABASE_URL="postgres://postgres:postgrespwd@127.0.0.1:5454/thetiptop"
|
||||||
|
|
||||||
|
|||||||
Vendored
+6
-6
@@ -4,8 +4,8 @@ pipeline {
|
|||||||
stage('Env reinit') {
|
stage('Env reinit') {
|
||||||
steps {
|
steps {
|
||||||
sh '''echo "
|
sh '''echo "
|
||||||
NEXTAUTH_URL=\'https://devops.dsp-archiwebo21-ad-ec-cb-mt.fr\'
|
NEXTAUTH_URL=\'https://devops.dandan.re\'
|
||||||
DATABASE_URL="postgres://postgres:dandanalaa@212.227.206.140:5454/thetiptop"
|
DATABASE_URL="postgres://postgres:dandanalaa@127.0.0.1:5454/thetiptop"
|
||||||
|
|
||||||
GITHUB_ID=YOUR_GITHUB_CLIENT_ID
|
GITHUB_ID=YOUR_GITHUB_CLIENT_ID
|
||||||
GITHUB_SECRET=YOUR_GITHUB_CLIENT_SECRET
|
GITHUB_SECRET=YOUR_GITHUB_CLIENT_SECRET
|
||||||
@@ -13,11 +13,11 @@ pipeline {
|
|||||||
GOOGLE_CLIENT_ID=965228443747-049kq59pm43bd23aplfu9ja2333dpo5s.apps.googleusercontent.com
|
GOOGLE_CLIENT_ID=965228443747-049kq59pm43bd23aplfu9ja2333dpo5s.apps.googleusercontent.com
|
||||||
GOOGLE_CLIENT_SECRET=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
|
GOOGLE_CLIENT_SECRET=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
|
||||||
|
|
||||||
EMAIL_SERVER_USER=contact@dsp-archiwebo21-ad-ec-cb-mt.fr
|
EMAIL_SERVER_USER=contact@dandan.re
|
||||||
EMAIL_SERVER_PASSWORD=Acem@2022a
|
EMAIL_SERVER_PASSWORD=Le300490@221
|
||||||
EMAIL_SERVER_HOST=mail50.lwspanel.com
|
EMAIL_SERVER_HOST=mail.dandan.re
|
||||||
EMAIL_SERVER_PORT=587
|
EMAIL_SERVER_PORT=587
|
||||||
EMAIL_FROM=contact@dsp-archiwebo21-ad-ec-cb-mt.fr
|
EMAIL_FROM=contact@dandan.re
|
||||||
|
|
||||||
SECRET=thetiptop123
|
SECRET=thetiptop123
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/** @type {import('next-sitemap').IConfig} */
|
||||||
|
module.exports = {
|
||||||
|
siteUrl: process.env.NEXTAUTH_URL || 'https://dandan.re/',
|
||||||
|
generateRobotsTxt: true
|
||||||
|
}
|
||||||
Generated
+58
@@ -22,6 +22,7 @@
|
|||||||
"js-confetti": "^0.11.0",
|
"js-confetti": "^0.11.0",
|
||||||
"next": "13.0.2",
|
"next": "13.0.2",
|
||||||
"next-auth": "4.16.4",
|
"next-auth": "4.16.4",
|
||||||
|
"next-sitemap": "^3.1.42",
|
||||||
"nodemailer": "^6.8.0",
|
"nodemailer": "^6.8.0",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-chartjs-2": "^5.0.1",
|
"react-chartjs-2": "^5.0.1",
|
||||||
@@ -667,6 +668,11 @@
|
|||||||
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
|
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"node_modules/@corex/deepmerge": {
|
||||||
|
"version": "4.0.29",
|
||||||
|
"resolved": "https://registry.npmjs.org/@corex/deepmerge/-/deepmerge-4.0.29.tgz",
|
||||||
|
"integrity": "sha512-q/yVUnqckA8Do+EvAfpy7RLdumnBy9ZsducMUtZTvpdbJC7azEf1hGtnYYxm0QfphYxjwggv6XtH64prvS1W+A=="
|
||||||
|
},
|
||||||
"node_modules/@cspotcode/source-map-support": {
|
"node_modules/@cspotcode/source-map-support": {
|
||||||
"version": "0.8.1",
|
"version": "0.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
|
||||||
@@ -6424,6 +6430,14 @@
|
|||||||
"node": "*"
|
"node": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/minimist": {
|
||||||
|
"version": "1.2.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz",
|
||||||
|
"integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ljharb"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/mkdirp": {
|
"node_modules/mkdirp": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
||||||
@@ -6572,6 +6586,31 @@
|
|||||||
"url": "https://github.com/sponsors/panva"
|
"url": "https://github.com/sponsors/panva"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/next-sitemap": {
|
||||||
|
"version": "3.1.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/next-sitemap/-/next-sitemap-3.1.42.tgz",
|
||||||
|
"integrity": "sha512-z/m440ZDCTxoE3FWbBWZLK66ZEh9e2R+j/Bm0d1Vo4PFkMi4yhWdIjWqhj//kyFyBvMYk3YWs8QQqVCCe15E6g==",
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/iamvishnusankar/next-sitemap.git"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"@corex/deepmerge": "^4.0.29",
|
||||||
|
"minimist": "^1.2.7"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"next-sitemap": "bin/next-sitemap.mjs",
|
||||||
|
"next-sitemap-cjs": "bin/next-sitemap.cjs"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.18"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@next/env": "*",
|
||||||
|
"next": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/nice-try": {
|
"node_modules/nice-try": {
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
|
||||||
@@ -9389,6 +9428,11 @@
|
|||||||
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
|
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"@corex/deepmerge": {
|
||||||
|
"version": "4.0.29",
|
||||||
|
"resolved": "https://registry.npmjs.org/@corex/deepmerge/-/deepmerge-4.0.29.tgz",
|
||||||
|
"integrity": "sha512-q/yVUnqckA8Do+EvAfpy7RLdumnBy9ZsducMUtZTvpdbJC7azEf1hGtnYYxm0QfphYxjwggv6XtH64prvS1W+A=="
|
||||||
|
},
|
||||||
"@cspotcode/source-map-support": {
|
"@cspotcode/source-map-support": {
|
||||||
"version": "0.8.1",
|
"version": "0.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
|
||||||
@@ -13585,6 +13629,11 @@
|
|||||||
"brace-expansion": "^1.1.7"
|
"brace-expansion": "^1.1.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"minimist": {
|
||||||
|
"version": "1.2.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz",
|
||||||
|
"integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g=="
|
||||||
|
},
|
||||||
"mkdirp": {
|
"mkdirp": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
||||||
@@ -13677,6 +13726,15 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"next-sitemap": {
|
||||||
|
"version": "3.1.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/next-sitemap/-/next-sitemap-3.1.42.tgz",
|
||||||
|
"integrity": "sha512-z/m440ZDCTxoE3FWbBWZLK66ZEh9e2R+j/Bm0d1Vo4PFkMi4yhWdIjWqhj//kyFyBvMYk3YWs8QQqVCCe15E6g==",
|
||||||
|
"requires": {
|
||||||
|
"@corex/deepmerge": "^4.0.29",
|
||||||
|
"minimist": "^1.2.7"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nice-try": {
|
"nice-try": {
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
|
||||||
|
|||||||
+3
-1
@@ -10,7 +10,8 @@
|
|||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"db": "npx prisma migrate reset --force",
|
"db": "npx prisma migrate reset --force",
|
||||||
"test": "playwright test"
|
"test": "playwright test",
|
||||||
|
"postbuild": "next-sitemap"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^2.9.10",
|
"@hookform/resolvers": "^2.9.10",
|
||||||
@@ -26,6 +27,7 @@
|
|||||||
"js-confetti": "^0.11.0",
|
"js-confetti": "^0.11.0",
|
||||||
"next": "13.0.2",
|
"next": "13.0.2",
|
||||||
"next-auth": "4.16.4",
|
"next-auth": "4.16.4",
|
||||||
|
"next-sitemap": "^3.1.42",
|
||||||
"nodemailer": "^6.8.0",
|
"nodemailer": "^6.8.0",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-chartjs-2": "^5.0.1",
|
"react-chartjs-2": "^5.0.1",
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ export async function getServerSideProps(context) {
|
|||||||
|
|
||||||
const ticketRestants = await prisma.gain.count({
|
const ticketRestants = await prisma.gain.count({
|
||||||
where: {
|
where: {
|
||||||
codeActif: true,
|
|
||||||
dateAchat: {
|
dateAchat: {
|
||||||
not: null,
|
not: null,
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -157,7 +157,7 @@ const Index = () => {
|
|||||||
<div className={`${style['imageWrapper']}`}>
|
<div className={`${style['imageWrapper']}`}>
|
||||||
<Image
|
<Image
|
||||||
src={testerCodeCadeau}
|
src={testerCodeCadeau}
|
||||||
alt="thetiptop navigation logo"
|
alt="Tester le code cadeau"
|
||||||
layout="responsive"
|
layout="responsive"
|
||||||
className={`${style['rotatingImage']}`}
|
className={`${style['rotatingImage']}`}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# *
|
||||||
|
User-agent: *
|
||||||
|
Allow: /*
|
||||||
|
Disallow: /admin
|
||||||
|
Disallow: /mon-compte
|
||||||
|
|
||||||
|
# Host
|
||||||
|
Host: https://dandan.re
|
||||||
|
|
||||||
|
# Sitemaps
|
||||||
|
Sitemap: https://dandan.re/sitemap.xml
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
||||||
|
<url><loc>https://dandan.re</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/admin</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/auth-error</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/cgu</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/connexion</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/contact</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/mentions-legales</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/mon-compte</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/tout-savoir</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
<url><loc>https://dandan.re/verify-request</loc><lastmod>2022-12-15T20:38:21.840Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||||
|
</urlset>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<sitemap><loc>https://dandan.re/sitemap-0.xml</loc></sitemap>
|
||||||
|
</sitemapindex>
|
||||||
+1
-1
@@ -12,7 +12,7 @@ echo $! > .pidfile
|
|||||||
set +x
|
set +x
|
||||||
|
|
||||||
echo 'Maintenant...'
|
echo 'Maintenant...'
|
||||||
echo 'Visiter https://devops.dsp-archiwebo21-ad-ec-cb-mt.fr/ '
|
echo 'Visiter https://devops.dandan.re/ '
|
||||||
echo 'L_application tourne sur le docker jenkins sur via le port 3000 voici un ip a'
|
echo 'L_application tourne sur le docker jenkins sur via le port 3000 voici un ip a'
|
||||||
ip a
|
ip a
|
||||||
echo 'Pour fermer l_application a appuyer sur le bouton proced'
|
echo 'Pour fermer l_application a appuyer sur le bouton proced'
|
||||||
Reference in new issue
Block a user