An error occurred while fetching the assigned milestone of the selected merge_request.
public/js
headfootLogout.js +2 -2
routes
api_TBD.js +0 -20
dbconn2.js +64 -0
methods.js +54 -34
routes-account.js +46 -40
views/DE/account
contact.pug +9 -9
home.pug +3 -3
profile.pug +6 -6
security.pug +4 -4
services.pug +4 -4
package-lock.json +124 -44
package.json +2 -1
+ 2
- 2
@@ -70,8 +70,8 @@ function head(){
@@ -70,8 +70,8 @@ function head(){
alertdiv.innerHTML="<strong>Disclaimer</strong> This website is under construction and in prototype-phase. It is not for public use."
+ 2
- 2
@@ -70,8 +70,8 @@ function head(){
@@ -70,8 +70,8 @@ function head(){
alertdiv.innerHTML="<strong>Disclaimer</strong> This website is under construction and in prototype-phase. It is not for public use."
routes/api_TBD.js deleted
100644 → 0
+ 0
- 20
dbconn.user.query('SELECT * FROM user WHERE email="'+req.user.email+'"', function (err, rows, fields) {
\ No newline at end of file
routes/dbconn2.js
0 → 100644
+ 64
- 0
\ No newline at end of file
+ 54
- 34
@@ -20,9 +21,9 @@ var methods = {
@@ -20,9 +21,9 @@ var methods = {
@@ -32,9 +33,9 @@ var methods = {
@@ -32,9 +33,9 @@ var methods = {
dbconn.user.query('INSERT INTO user_project_role SET ?', projectRoleData, function (err, results, fields) {
@@ -43,16 +44,16 @@ var methods = {
@@ -43,16 +44,16 @@ var methods = {
dbconn.user.query('INSERT INTO verification SET ?', verificationData, function (err, results, fields) {
@@ -64,8 +65,8 @@ var methods = {
@@ -64,8 +65,8 @@ var methods = {
dbconn.user.query('SELECT id, verificationStatus, salutation, title, firstname, lastname, industry, organisation, speciality, m4lab_idp FROM user WHERE email = "' +email+'"', function (err, rows, fields) {
@@ -76,8 +77,17 @@ var methods = {
@@ -76,8 +77,17 @@ var methods = {
dbconn.user.query('SELECT verificationStatus, email, salutation, title, firstname, lastname, industry, organisation, speciality FROM user WHERE id = ' +userId, function (err, rows, fields) {
@@ -90,7 +100,7 @@ var methods = {
@@ -90,7 +100,7 @@ var methods = {
@@ -102,7 +112,7 @@ var methods = {
@@ -102,7 +112,7 @@ var methods = {
dbconn.user.query('SELECT t1.user_id, t2.email FROM userdb.credential AS t1 INNER JOIN userdb.user AS t2 ON t1.user_id = t2.id AND t1.resetPasswordToken = "'
@@ -115,20 +125,20 @@ var methods = {
@@ -115,20 +125,20 @@ var methods = {
dbconn.user.query('UPDATE user SET ? WHERE id = ' +userData.id, userData, function (err, rows, fields) {
dbconn.user.query('UPDATE credential SET ? WHERE user_id = ' +data.user_id, data, function (err, rows, fields) {
@@ -141,20 +151,20 @@ var methods = {
@@ -141,20 +151,20 @@ var methods = {
dbconn.user.query('SELECT project_id, role_id FROM user_project_role WHERE user_id = "' +userId+'"', function (err, rows, fields) {
dbconn.user.query('SELECT token FROM verification WHERE user_id = "' +userId+'"', function (err, rows, fields) {
@@ -168,7 +178,7 @@ var methods = {
@@ -168,7 +178,7 @@ var methods = {
dbconn.user.query('SELECT user_id FROM verification WHERE token = "' +token+'"', function (err, rows, fields) {
@@ -179,22 +189,22 @@ var methods = {
@@ -179,22 +189,22 @@ var methods = {
dbconn.user.query('UPDATE user SET ? WHERE id =' +userData.id, userData, function (err, rows, fields) {
dbconn.user.query('DELETE FROM verification WHERE user_id = '+userData.id, function (err, rows, fields) {
@@ -203,9 +213,9 @@ var methods = {
@@ -203,9 +213,9 @@ var methods = {
dbconn.user.query('SELECT gu.gitlab_userId FROM user_gitlab gu, user u WHERE u.id = "' +userId+'" and gu.user_id = u.id', function (err, rows) {
@@ -215,8 +225,18 @@ var methods = {
@@ -215,8 +225,18 @@ var methods = {
+ 46
- 40
@@ -21,8 +21,6 @@ const projectRepo = require('../classes/repo')
@@ -21,8 +21,6 @@ const projectRepo = require('../classes/repo')
@@ -112,28 +110,27 @@ module.exports = function (app, config, passport, i18n) {
@@ -112,28 +110,27 @@ module.exports = function (app, config, passport, i18n) {
var updatePasswordMailContent = '<div>Lieber Nutzer,<br/><br/>Ihr Passwort wurde erfolgreich geändert.<br/><br/>' + mailSignature + '</div>';
data.id, req.user.email, data.salutation, data.title, data.firstname, data.lastname, data.industry, data.organisation, data.speciality, data.m4lab_idp, null, data.verificationStatus
@@ -166,10 +163,11 @@ module.exports = function (app, config, passport, i18n) {
@@ -166,10 +163,11 @@ module.exports = function (app, config, passport, i18n) {
@@ -181,9 +179,10 @@ module.exports = function (app, config, passport, i18n) {
@@ -181,9 +179,10 @@ module.exports = function (app, config, passport, i18n) {
@@ -235,10 +234,11 @@ module.exports = function (app, config, passport, i18n) {
@@ -235,10 +234,11 @@ module.exports = function (app, config, passport, i18n) {
@@ -249,7 +249,7 @@ module.exports = function (app, config, passport, i18n) {
@@ -249,7 +249,7 @@ module.exports = function (app, config, passport, i18n) {
@@ -261,9 +261,10 @@ module.exports = function (app, config, passport, i18n) {
@@ -261,9 +261,10 @@ module.exports = function (app, config, passport, i18n) {
dbconn.user.query('UPDATE user SET ? WHERE email = "' +userData.email+'"', userData, function (err, rows, fields) {
@@ -280,10 +281,12 @@ module.exports = function (app, config, passport, i18n) {
@@ -280,10 +281,12 @@ module.exports = function (app, config, passport, i18n) {
@@ -461,9 +464,10 @@ module.exports = function (app, config, passport, i18n) {
@@ -461,9 +464,10 @@ module.exports = function (app, config, passport, i18n) {
@@ -475,10 +479,12 @@ module.exports = function (app, config, passport, i18n) {
@@ -475,10 +479,12 @@ module.exports = function (app, config, passport, i18n) {
@@ -531,9 +537,11 @@ module.exports = function (app, config, passport, i18n) {
@@ -531,9 +537,11 @@ module.exports = function (app, config, passport, i18n) {
@@ -557,10 +565,12 @@ module.exports = function (app, config, passport, i18n) {
@@ -557,10 +565,12 @@ module.exports = function (app, config, passport, i18n) {
@@ -705,7 +715,6 @@ module.exports = function (app, config, passport, i18n) {
@@ -705,7 +715,6 @@ module.exports = function (app, config, passport, i18n) {
@@ -743,9 +752,6 @@ module.exports = function (app, config, passport, i18n) {
@@ -743,9 +752,6 @@ module.exports = function (app, config, passport, i18n) {
+ 9
- 9
@@ -14,9 +14,9 @@ html(lang="de")
@@ -14,9 +14,9 @@ html(lang="de")
@@ -32,18 +32,18 @@ html(lang="de")
@@ -32,18 +32,18 @@ html(lang="de")
input#submitBtn(class="btn btn-primary" type="submit" style="background-color: #8a348b;" value="SENDEN")
div(class="contact-clean" style="background-color: rgb(234,234,234);padding: 80px;padding-top: 0px;")
p(style="margin-top: 25px;") <strong>Hochschule für Technik Stuttgart</strong><br/>Institut für Angewandte Forschung<br/>Innovative Hochschule - Projekt M4_LAB<br/>Schellingstr. 24<br/>70174 Stuttgart<br/>Deutschland<br/><br/><a href="mailto:support-transfer@hft-stuttgart.de">support-transfer@hft-stuttgart.de</a><br/><br/><a href="https://www.hft-stuttgart.de/">www.hft-stuttgart.de</a> / <a href="https://www.hft-stuttgart.de/M4LAB">www.hft-stuttgart.de/M4LAB</a><br/>
p(class="m_top_25") <strong>Hochschule für Technik Stuttgart</strong><br/>Institut für Angewandte Forschung<br/>Innovative Hochschule - Projekt M4_LAB<br/>Schellingstr. 24<br/>70174 Stuttgart<br/>Deutschland<br/><br/><a href="mailto:support-transfer@hft-stuttgart.de">support-transfer@hft-stuttgart.de</a><br/><br/><a href="https://www.hft-stuttgart.de/">www.hft-stuttgart.de</a> / <a href="https://www.hft-stuttgart.de/M4LAB">www.hft-stuttgart.de/M4LAB</a><br/>
div(style="background-color: #feffff;margin: 0px;padding: 60px;padding-top: 20px;padding-bottom: 20px;")
img(class="d-flex d-lg-flex justify-content-center justify-content-lg-center align-items-lg-start mx-auto" src="/img/Logo_TV1.png" width="100px" style="padding-bottom: 35px;")
p(class="text-center") Das Transferportal entsteht in einem Teilprojekt der Innovativen <a href="https://www.hft-stuttgart.de">Hochschule für Technik Stuttgart</a>. Im <a href="https://www.hft-stuttgart.de/forschung/innovative-hochschule-m4-lab">Innovationslabor M4_LAB</a> wird das Transferportal als eine Webpräsenz entwickelt, welches Wissen, Lösungen und Dienste für HFT-Mitglieder, externe Partner und die allgemeine Öffentlichkeit bereitstellt.<br/><br/>Es ergänzt die Informationen der allgemeinen HFT-Webseite durch konkrete Ergebnisse aus Forschung und Entwicklung, verfügbar in verschiedenster Form wie beispielsweise Daten, Dokumentationen und Software-Code.<br/><br/>Zudem stellt es Kollaborationsmittel für Projektpartner und später auch Partizipationsmöglichkeiten für die breite Öffentlichkeit bereit.
p(class="text-center") Das Transferportal entsteht in einem Teilprojekt der Innovativen <a href="https://www.hft-stuttgart.de">Hochschule für Technik Stuttgart</a>. Im <a href="https://www.hft-stuttgart.de/forschung/innovative-hochschule-m4-lab">Innovationslabor M4_LAB</a> wird das Transferportal als eine Webpräsenz entwickelt, welches Wissen, Lösungen und Dienste für HFT-Mitglieder, externe Partner und die allgemeine Öffentlichkeit bereitstellt.<br/><br/>Es ergänzt die Informationen der allgemeinen HFT-Webseite durch konkrete Ergebnisse aus Forschung und Entwicklung, verfügbar in verschiedenster Form wie beispielsweise Daten, Dokumentationen und Software-Code.<br/><br/>Zudem stellt es Kollaborationsmittel für Projektpartner und später auch Partizipationsmöglichkeiten für die breite Öffentlichkeit bereit.
+ 3
- 3
@@ -16,7 +16,7 @@ html(lang="de")
@@ -16,7 +16,7 @@ html(lang="de")
| Wir haben Ihnen eine E-Mail an Ihre verwendete Adresse gesendet. Diese enthält einen Link zur Bestätigung Ihres Accounts.
| <br >Falls Sie keine E-Mail von uns erhalten haben, können Sie <a href="javascript:void(0);" onclick="verify();">diese hier</a> erneut anfordern.
@@ -25,7 +25,7 @@ html(lang="de")
@@ -25,7 +25,7 @@ html(lang="de")
@@ -40,7 +40,7 @@ html(lang="de")
@@ -40,7 +40,7 @@ html(lang="de")
+ 6
- 6
@@ -16,11 +16,11 @@ html(lang="de")
@@ -16,11 +16,11 @@ html(lang="de")
@@ -31,14 +31,14 @@ html(lang="de")
@@ -31,14 +31,14 @@ html(lang="de")
@@ -107,4 +107,4 @@ html(lang="de")
@@ -107,4 +107,4 @@ html(lang="de")
script(src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous")
\ No newline at end of file
+ 4
- 4
@@ -20,21 +20,21 @@ html(lang="de")
@@ -20,21 +20,21 @@ html(lang="de")
+ 4
- 4
@@ -16,7 +16,7 @@ html(lang="de")
@@ -16,7 +16,7 @@ html(lang="de")
@@ -28,10 +28,10 @@ html(lang="de")
@@ -28,10 +28,10 @@ html(lang="de")
+ 124
- 44
@@ -2020,6 +2020,11 @@
@@ -2020,6 +2020,11 @@
@@ -2598,6 +2603,14 @@
@@ -2598,6 +2603,14 @@
@@ -3150,6 +3163,11 @@
@@ -3150,6 +3163,11 @@
"integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
@@ -4892,6 +4910,11 @@
@@ -4892,6 +4910,11 @@
@@ -5154,6 +5177,57 @@
@@ -5154,6 +5177,57 @@
@@ -5503,26 +5577,25 @@
@@ -5503,26 +5577,25 @@
"integrity": "sha512-RJXtuiv4KWazi4zmZGVqN5pf3bV2aFbOygYzUCDEBDdeOD0yHFL4ymPOpLPXg35HvilFYTzB94JRWqwLdI2ecw==",
"integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
@@ -5835,11 +5908,6 @@
@@ -5835,11 +5908,6 @@
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
@@ -6381,6 +6449,11 @@
@@ -6381,6 +6449,11 @@
@@ -7337,30 +7410,30 @@
@@ -7337,30 +7410,30 @@
"integrity": "sha512-/a04qr7RpONRZHOxROZ6iIHItdsQQjN3sj8lJkYDDss8tAkEaAs0VrFjb3tlhmS5snQru5lTs9/5ISSMdPDHlg==",
"integrity": "sha512-hn5w3l5p2+nGjlmM0CAhMChDzVGhW+M37jH35Z+GJIipXbn9PUlAIRZ6I5Wm7ynlqZjFrMAr83d/CIp9VZJMTA==",
@@ -7375,12 +7448,19 @@
@@ -7375,12 +7448,19 @@
"integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA=="
@@ -7388,14 +7468,14 @@
@@ -7388,14 +7468,14 @@
"integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw=="
"integrity": "sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ=="
"integrity": "sha512-fg03WRxtkCV6ohClePNAECYsmpKKTv5L8y/X3Dn1hQrec3POx2jHZ/0P2qQ6HvsrU1BmeqXcof3NGGueG6LxwQ=="
+ 2
- 1
@@ -39,10 +39,11 @@
@@ -39,10 +39,11 @@
"nodemailer": "^6.3.1",
"nodemailer": "^6.3.1",
"passport-saml": "^1.4.2",
"passport-saml": "^2.1.0",