Enable path correction.

This commit is contained in:
Paulo Gustavo Veiga 2020-12-08 19:35:02 -08:00
parent 76d4593500
commit dc3e5ebcbe
5 changed files with 100 additions and 41 deletions

View File

@ -14,21 +14,42 @@
"footer.faq": { "footer.faq": {
"defaultMessage": "F.A.Q." "defaultMessage": "F.A.Q."
}, },
"footer.faqandhelp": {
"defaultMessage": "Help & FAQ"
},
"footer.feedback": { "footer.feedback": {
"defaultMessage": "Feedback" "defaultMessage": "Feedback"
}, },
"footer.opensource": { "footer.opensource": {
"defaultMessage": "Open Source" "defaultMessage": "Open Source"
}, },
"footer.others": {
"defaultMessage": "Others"
},
"footer.termsandconditions": { "footer.termsandconditions": {
"defaultMessage": "Term And Conditions" "defaultMessage": "Term And Conditions"
}, },
"forgot.desc": {
"defaultMessage": "We will send you an email to reset your password"
},
"forgot.email": {
"defaultMessage": "Email"
},
"forgot.register": {
"defaultMessage": "Send recovery link"
},
"forgot.title": {
"defaultMessage": "Reset your password"
},
"header.donthaveaccount": { "header.donthaveaccount": {
"defaultMessage": "Don't have an account ?" "defaultMessage": "Don't have an account ?"
}, },
"header.haveaccount": { "header.haveaccount": {
"defaultMessage": "Already have an account?" "defaultMessage": "Already have an account?"
}, },
"login.desc": {
"defaultMessage": "Log Into Your Account"
},
"login.email": { "login.email": {
"defaultMessage": "Email" "defaultMessage": "Email"
}, },
@ -42,9 +63,6 @@
"defaultMessage": "Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL", "defaultMessage": "Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL",
"description": "Missing production database configured" "description": "Missing production database configured"
}, },
"login.loginto": {
"defaultMessage": "Log Into Your Account"
},
"login.password": { "login.password": {
"defaultMessage": "Password" "defaultMessage": "Password"
}, },
@ -57,14 +75,14 @@
"login.signup": { "login.signup": {
"defaultMessage": "Sign Up" "defaultMessage": "Sign Up"
}, },
"login.title": {
"defaultMessage": "Welcome"
},
"login.userinactive": { "login.userinactive": {
"defaultMessage": "Sorry, your account has not been activated yet. You'll receive a notification login.email when it becomes active. Stay tuned!." "defaultMessage": "Sorry, your account has not been activated yet. You'll receive a notification login.email when it becomes active. Stay tuned!."
}, },
"login.welcome": { "registration.desc": {
"defaultMessage": "Welcome" "defaultMessage": "Signing up is free and just take a moment"
},
"registration.become": {
"defaultMessage": "Become a member of our comunity"
}, },
"registration.email": { "registration.email": {
"defaultMessage": "Email" "defaultMessage": "Email"
@ -81,16 +99,16 @@
"registration.register": { "registration.register": {
"defaultMessage": "Register" "defaultMessage": "Register"
}, },
"registration.signup": {
"defaultMessage": "Signing up is free and just take a moment"
},
"registration.success.desc": { "registration.success.desc": {
"defaultMessage": "Click to 'Sign In' button below and start creating mind maps." "defaultMessage": "Click 'Sign In' button below and start creating mind maps."
}, },
"registration.success.title": { "registration.success.title": {
"defaultMessage": "Your account has been created successfully" "defaultMessage": "Your account has been created successfully"
}, },
"registration.termandconditions": { "registration.termandconditions": {
"defaultMessage": "Terms of Service: Please check the WiseMapping Account information you've entered above, and review the Terms of Service here. By clicking on 'Register' below you are agreeing to the Terms of Service above and the Privacy Policy" "defaultMessage": "Terms of Service: Please check the WiseMapping Account information you've entered above, and review the Terms of Service here. By clicking on 'Register' below you are agreeing to the Terms of Service above and the Privacy Policy"
},
"registration.title": {
"defaultMessage": "Become a member of our comunity"
} }
} }

View File

@ -29,6 +29,7 @@
"eslint": "^7.14.0", "eslint": "^7.14.0",
"eslint-plugin-react": "^7.21.5", "eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-react-hooks": "^4.2.0",
"html-webpack-dynamic-env-plugin": "^0.0.2",
"html-webpack-plugin": "^4.5.0", "html-webpack-plugin": "^4.5.0",
"sass-loader": "^10.1.0", "sass-loader": "^10.1.0",
"style-loader": "^2.0.0", "style-loader": "^2.0.0",

View File

@ -4,17 +4,17 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<!-- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> --> <link rel="icon" href="<%= PUBLIC_URL %>/favicon.ico" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta name="description" content="WiseMappping" /> <meta name="description" content="WiseMappping" />
<!-- <link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon.png" /> --> <link rel="apple-touch-icon" href="<%= PUBLIC_URL %>/favicon.png" />
<!-- <!--
manifest.json provides metadata used when your web app is installed on a manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
--> -->
<!-- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> --> <link rel="manifest" href="<%= PUBLIC_URL %>/manifest.json" />
<!-- <!--
Notice the use of %PUBLIC_URL% in the tags above. Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build. It will be replaced with the URL of the `public` folder during the build.
@ -24,6 +24,8 @@
work correctly both with client-side routing and a non-root public URL. work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<base url="<%=PUBLIC_URL%>" />
<title>Loading | WiseMapping</title> <title>Loading | WiseMapping</title>
</head> </head>

View File

@ -29,6 +29,12 @@
"value": "F.A.Q." "value": "F.A.Q."
} }
], ],
"footer.faqandhelp": [
{
"type": 0,
"value": "Help &amp; FAQ"
}
],
"footer.feedback": [ "footer.feedback": [
{ {
"type": 0, "type": 0,
@ -41,12 +47,42 @@
"value": "Open Source" "value": "Open Source"
} }
], ],
"footer.others": [
{
"type": 0,
"value": "Others"
}
],
"footer.termsandconditions": [ "footer.termsandconditions": [
{ {
"type": 0, "type": 0,
"value": "Term And Conditions" "value": "Term And Conditions"
} }
], ],
"forgot.desc": [
{
"type": 0,
"value": "We will send you an email to reset your password"
}
],
"forgot.email": [
{
"type": 0,
"value": "Email"
}
],
"forgot.register": [
{
"type": 0,
"value": "Send recovery link"
}
],
"forgot.title": [
{
"type": 0,
"value": "Reset your password"
}
],
"header.donthaveaccount": [ "header.donthaveaccount": [
{ {
"type": 0, "type": 0,
@ -59,6 +95,12 @@
"value": "Already have an account?" "value": "Already have an account?"
} }
], ],
"login.desc": [
{
"type": 0,
"value": "Log Into Your Account"
}
],
"login.email": [ "login.email": [
{ {
"type": 0, "type": 0,
@ -83,12 +125,6 @@
"value": "Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL" "value": "Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.7 instead. You can find more information how to configure MySQL"
} }
], ],
"login.loginto": [
{
"type": 0,
"value": "Log Into Your Account"
}
],
"login.password": [ "login.password": [
{ {
"type": 0, "type": 0,
@ -113,22 +149,22 @@
"value": "Sign Up" "value": "Sign Up"
} }
], ],
"login.title": [
{
"type": 0,
"value": "Welcome"
}
],
"login.userinactive": [ "login.userinactive": [
{ {
"type": 0, "type": 0,
"value": "Sorry, your account has not been activated yet. You'll receive a notification login.email when it becomes active. Stay tuned!." "value": "Sorry, your account has not been activated yet. You'll receive a notification login.email when it becomes active. Stay tuned!."
} }
], ],
"login.welcome": [ "registration.desc": [
{ {
"type": 0, "type": 0,
"value": "Welcome" "value": "Signing up is free and just take a moment"
}
],
"registration.become": [
{
"type": 0,
"value": "Become a member of our comunity"
} }
], ],
"registration.email": [ "registration.email": [
@ -161,16 +197,10 @@
"value": "Register" "value": "Register"
} }
], ],
"registration.signup": [
{
"type": 0,
"value": "Signing up is free and just take a moment"
}
],
"registration.success.desc": [ "registration.success.desc": [
{ {
"type": 0, "type": 0,
"value": "Click to 'Sign In' button below and start creating mind maps." "value": "Click 'Sign In' button below and start creating mind maps."
} }
], ],
"registration.success.title": [ "registration.success.title": [
@ -184,5 +214,11 @@
"type": 0, "type": 0,
"value": "Terms of Service: Please check the WiseMapping Account information you've entered above, and review the Terms of Service here. By clicking on 'Register' below you are agreeing to the Terms of Service above and the Privacy Policy" "value": "Terms of Service: Please check the WiseMapping Account information you've entered above, and review the Terms of Service here. By clicking on 'Register' below you are agreeing to the Terms of Service above and the Privacy Policy"
} }
],
"registration.title": [
{
"type": 0,
"value": "Become a member of our comunity"
}
] ]
} }

View File

@ -1,8 +1,11 @@
const path = require('path'); const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin');
const HtmlWebpackDynamicEnvPlugin = require('html-webpack-dynamic-env-plugin');
const webpack = require('webpack'); const webpack = require('webpack');
const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const { CleanWebpackPlugin } = require('clean-webpack-plugin');
module.exports = { module.exports = {
mode: 'development', mode: 'development',
devtool: 'eval-source-map', devtool: 'eval-source-map',
@ -44,11 +47,10 @@ module.exports = {
plugins: [ plugins: [
new CleanWebpackPlugin(), new CleanWebpackPlugin(),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
template: path.join(__dirname, 'public/index.html') template: path.join(__dirname, 'public/index.html'),
}), templateParameters: {
new webpack.DefinePlugin({ PUBLIC_URL: process.env.PUBLIC_URL ? process.env.PUBLIC_URL : '/'
'process.env.NODE_ENV': JSON.stringify('development'), },
'process.env.PUBLIC_URL': 'http://localhost:3000'
}) })
], ],
devServer: { devServer: {