primer commit hacia el nuevo servidor de git
This commit is contained in:
@@ -34,3 +34,6 @@ server/build
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
# AI tooling
|
||||||
|
.atl/
|
||||||
|
|||||||
Generated
+822
-488
File diff suppressed because it is too large
Load Diff
+25
-25
@@ -14,39 +14,39 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bcryptjs": "^2.4.2",
|
"@types/bcryptjs": "^2.4.6",
|
||||||
"@types/cors": "^2.8.13",
|
"@types/cors": "^2.8.19",
|
||||||
"@types/express": "4.17.17",
|
"@types/express": "^4.17.25",
|
||||||
"@types/jest": "^30.0.0",
|
"@types/jest": "^30.0.0",
|
||||||
"@types/jsonwebtoken": "^9.0.2",
|
"@types/jsonwebtoken": "^9.0.10",
|
||||||
"@types/sanitize-html": "^2.16.0",
|
"@types/nodemailer": "^6.4.24",
|
||||||
"@types/socket.io": "^3.0.1",
|
"@types/sanitize-html": "^2.16.1",
|
||||||
"@types/swagger-ui-express": "^4.1.3",
|
"@types/socket.io": "^3.0.2",
|
||||||
"concurrently": "^8.2.0",
|
"@types/swagger-ui-express": "^4.1.8",
|
||||||
"csv-parse": "^5.4.0",
|
"concurrently": "^8.2.2",
|
||||||
|
"csv-parse": "^5.6.0",
|
||||||
"jest": "^30.4.2",
|
"jest": "^30.4.2",
|
||||||
"ts-jest": "^29.4.11",
|
"ts-jest": "^29.4.11",
|
||||||
"ts-node-dev": "^2.0.0",
|
"ts-node-dev": "^2.0.0",
|
||||||
"typescript": "5.0.4"
|
"typescript": "^5.9.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/nodemailer": "^6.4.16",
|
"axios": "^1.18.1",
|
||||||
"axios": "^1.7.7",
|
|
||||||
"bcryptjs": "^2.4.3",
|
"bcryptjs": "^2.4.3",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.6",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.21",
|
||||||
"dotenv": "^16.0.3",
|
"dotenv": "^16.6.1",
|
||||||
"express": "^4.21.1",
|
"express": "^4.22.2",
|
||||||
"google-auth-library": "^10.1.0",
|
"google-auth-library": "^10.9.0",
|
||||||
"joi": "^17.9.2",
|
"joi": "^17.13.4",
|
||||||
"jsonwebtoken": "^9.0.1",
|
"jsonwebtoken": "^9.0.3",
|
||||||
"mongoose": "^8.8.3",
|
"mongoose": "8.8.3",
|
||||||
"multer": "^1.4.5-lts.1",
|
"multer": "^1.4.5-lts.2",
|
||||||
"nodemailer": "^6.9.15",
|
"nodemailer": "^6.10.1",
|
||||||
"sanitize-html": "^2.17.0",
|
"sanitize-html": "^2.17.6",
|
||||||
"sharp": "^0.33.5",
|
"sharp": "^0.33.5",
|
||||||
"socket.io": "^4.8.1",
|
"socket.io": "^4.8.3",
|
||||||
"swagger-ui-express": "^5.0.0",
|
"swagger-ui-express": "^5.0.1",
|
||||||
"tsoa": "^5.1.1"
|
"tsoa": "^5.1.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -630,7 +630,7 @@ class UsersManager implements IUsersManager {
|
|||||||
|
|
||||||
// Generate a JWT token using the payload and a secret word
|
// Generate a JWT token using the payload and a secret word
|
||||||
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
||||||
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
|
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Create a user object by merging the payload and the token
|
// Create a user object by merging the payload and the token
|
||||||
@@ -684,7 +684,7 @@ class UsersManager implements IUsersManager {
|
|||||||
// If the token expires in less than 5 minutes, generate a new one.
|
// If the token expires in less than 5 minutes, generate a new one.
|
||||||
if (decodedPayload.exp < nowInSeconds + fiveMinutesInSeconds) {
|
if (decodedPayload.exp < nowInSeconds + fiveMinutesInSeconds) {
|
||||||
finalToken = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
finalToken = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
||||||
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
|
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -765,7 +765,7 @@ class UsersManager implements IUsersManager {
|
|||||||
|
|
||||||
// Generate a JWT token using the payload and a secret word
|
// Generate a JWT token using the payload and a secret word
|
||||||
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
||||||
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
|
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Create a user object by merging the payload and the token
|
// Create a user object by merging the payload and the token
|
||||||
@@ -810,7 +810,7 @@ class UsersManager implements IUsersManager {
|
|||||||
|
|
||||||
// Generate a JWT token using the payload and a secret word
|
// Generate a JWT token using the payload and a secret word
|
||||||
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
||||||
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
|
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Create a user object by merging the payload and the token
|
// Create a user object by merging the payload and the token
|
||||||
@@ -862,7 +862,7 @@ class UsersManager implements IUsersManager {
|
|||||||
|
|
||||||
// Generate a JWT token using the payload and a secret word
|
// Generate a JWT token using the payload and a secret word
|
||||||
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
||||||
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
|
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Create a user object by merging the payload and the token
|
// Create a user object by merging the payload and the token
|
||||||
@@ -907,7 +907,7 @@ class UsersManager implements IUsersManager {
|
|||||||
|
|
||||||
// Generate a JWT token using the payload and a secret word
|
// Generate a JWT token using the payload and a secret word
|
||||||
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
const token = jwt.sign(payload, `${process.env.SECRET_WORD}`, {
|
||||||
expiresIn: `${process.env.TOKEN_SESSION_TIME}`,
|
expiresIn: `${process.env.TOKEN_SESSION_TIME}` as any,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Create a user object by merging the payload and the token
|
// Create a user object by merging the payload and the token
|
||||||
|
|||||||
Generated
+578
-545
File diff suppressed because it is too large
Load Diff
+24
-24
@@ -9,44 +9,44 @@
|
|||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.13.3",
|
"@emotion/react": "^11.14.0",
|
||||||
"@emotion/styled": "^11.13.0",
|
"@emotion/styled": "^11.14.1",
|
||||||
"@mui/icons-material": "^6.1.5",
|
"@mui/icons-material": "^6.5.0",
|
||||||
"@mui/material": "^6.1.5",
|
"@mui/material": "^6.5.0",
|
||||||
"@mui/x-charts": "^7.23.2",
|
"@mui/x-charts": "^7.29.1",
|
||||||
"@mui/x-date-pickers": "^7.22.2",
|
"@mui/x-date-pickers": "^7.29.4",
|
||||||
"@react-oauth/google": "^0.12.1",
|
"@react-oauth/google": "^0.13.5",
|
||||||
"axios": "^1.7.7",
|
"axios": "^1.18.1",
|
||||||
"classnames": "^2.5.1",
|
"classnames": "^2.5.1",
|
||||||
"currency.js": "^2.0.4",
|
"currency.js": "^2.0.4",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.21",
|
||||||
"dompurify": "^3.2.7",
|
"dompurify": "^3.4.12",
|
||||||
"driver.js": "^1.3.6",
|
"driver.js": "^1.7.0",
|
||||||
"leaflet": "^1.9.4",
|
"leaflet": "^1.9.4",
|
||||||
"motion": "^11.12.0",
|
"motion": "^11.18.2",
|
||||||
"next": "^15.5.7",
|
"next": "^15.5.20",
|
||||||
"pdfmake": "^0.2.20",
|
"pdfmake": "^0.3.11",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-avatar": "^5.0.3",
|
"react-avatar": "^5.0.4",
|
||||||
"react-colorful": "^5.6.1",
|
"react-colorful": "^5.8.0",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"react-leaflet": "^4.2.1",
|
"react-leaflet": "^4.2.1",
|
||||||
"react-quill-new": "^3.6.0",
|
"react-quill-new": "^3.8.3",
|
||||||
"react-schedule-view": "^1.1.2",
|
"react-schedule-view": "^1.1.2",
|
||||||
"react-share": "^5.2.2",
|
"react-share": "^5.3.0",
|
||||||
"socket.io-client": "^4.8.1",
|
"socket.io-client": "^4.8.3",
|
||||||
"yup": "^1.4.0",
|
"yup": "^1.7.1",
|
||||||
"zustand": "^5.0.0"
|
"zustand": "^5.0.14"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/dompurify": "^3.0.5",
|
"@types/dompurify": "^3.2.0",
|
||||||
"@types/leaflet": "^1.9.15",
|
"@types/leaflet": "^1.9.21",
|
||||||
"@types/node": "^20",
|
"@types/node": "^20",
|
||||||
"@types/pdfmake": "^0.2.12",
|
"@types/pdfmake": "^0.2.12",
|
||||||
"@types/react": "^18",
|
"@types/react": "^18",
|
||||||
"@types/react-dom": "^18",
|
"@types/react-dom": "^18",
|
||||||
"eslint": "^8",
|
"eslint": "^8",
|
||||||
"eslint-config-next": "15.0.1",
|
"eslint-config-next": "15.5.20",
|
||||||
"typescript": "^5"
|
"typescript": "^5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user