Skip to content

refresh#8

Merged
DannielEU merged 5 commits intodevelopfrom
main
Nov 29, 2025
Merged

refresh#8
DannielEU merged 5 commits intodevelopfrom
main

Conversation

@DannielEU
Copy link
Copy Markdown
Contributor

No description provided.

DannielEU and others added 5 commits November 29, 2025 00:29
* Add or update the Azure App Service build and deployment workflow config

* Feat/prisma structure (#3)

* Add environment configuration and validation using Joi

* Add dotenv and joi dependencies to package.json

* Add .vscode to .gitignore to exclude VSCode settings from version control

* Refactor main.ts to use environment configuration for port and add logging

* Enhance main.ts by adding CORS support and global validation pipes

* Add class-transformer and class-validator dependencies to package.json

* feat: integrate Prisma ORM with PostgreSQL

- Added Prisma configuration and schema files for database modeling.
- Updated package.json to include Prisma dependencies and scripts for migration and generation.
- Created PrismaModule and PrismaService to manage database connections and lifecycle.
- Integrated PrismaModule into the main application module.

* Fix/azure deployment (#2)

* Fix/logs (#4)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>
…handling

- Changed the production start script in package.json to point to dist/src/main.
- Refactored envs.ts for better readability and consistency in formatting.
- Ensured proper export of environment variables in index.ts.
- Updated main.ts to use void for the bootstrap function call.
- Improved formatting in prisma.service.ts for better code readability.
@sonarqubecloud
Copy link
Copy Markdown

@DannielEU DannielEU merged commit 0c7ad03 into develop Nov 29, 2025
2 of 3 checks passed
LauraVenegas6 added a commit that referenced this pull request Dec 12, 2025
* refresh (#8)

* Develop (#7)

* Add or update the Azure App Service build and deployment workflow config

* Feat/prisma structure (#3)

* Add environment configuration and validation using Joi

* Add dotenv and joi dependencies to package.json

* Add .vscode to .gitignore to exclude VSCode settings from version control

* Refactor main.ts to use environment configuration for port and add logging

* Enhance main.ts by adding CORS support and global validation pipes

* Add class-transformer and class-validator dependencies to package.json

* feat: integrate Prisma ORM with PostgreSQL

- Added Prisma configuration and schema files for database modeling.
- Updated package.json to include Prisma dependencies and scripts for migration and generation.
- Created PrismaModule and PrismaService to manage database connections and lifecycle.
- Integrated PrismaModule into the main application module.

* Fix/azure deployment (#2)

* Fix/logs (#4)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>

* fix: update production start script and improve environment variable handling

- Changed the production start script in package.json to point to dist/src/main.
- Refactored envs.ts for better readability and consistency in formatting.
- Ensured proper export of environment variables in index.ts.
- Updated main.ts to use void for the bootstrap function call.
- Improved formatting in prisma.service.ts for better code readability.

* fix(Deploy)

* fix(github-secret-fix)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>

* feat(configuracion): configuración Swagger (#12)

* feat(votes): endpoint de votación con idempotencia, tests unitarios y QA (#9)

Co-authored-by: Daniel Eduardo Useche <du.important@gmail.com>

* feat(threads): implementar creación de hilos en foro (US-045)

Añade modelos Prisma Thread/Reply, ThreadsModule (controller/service), DTOs, validaciones, sanitización, verificación de authorId, prevención de duplicados, documentación Swagger y traducción de mensajes a español.

* feat(threads): creación básica de hilos y replies (US-045)

Modelos Thread/Reply, validación author/estado/rol, Swagger, mensajes en español.

* feat(threads,responses): persistencia y validaciones básicas

* Feature/chat: con notificaciones de a usuarios no conectados (#17)

* feat(chats): add initial resource with module, controller and service

* feat(chats): add initial chats package.json

* feat(chats): agregar lógica de grupos para el módulo de chats

* feat(chats): add send message DTO

* feat(chats): add messaging methods in service

* feat(config): add JWT_SECRET to environment configuration

* feat(chats): integrate JWT authentication in REST endpoints

- Replace manual user-id header with JWT authentication
- Protect all endpoints with JwtAuthGuard
- Add REST endpoints for messages (GET/POST /chats/:id/messages)
- Use GetUser decorator to extract authenticated user from JWT
- Import AuthModule in ChatsModule
- Register ChatsGateway as provider

* feat(chats): conexión de WS, union de grupos y chats

* feat(notificaciones):notificaciones a usuarios desconectados

* feat(chats):notificacionnes de mensajes no vistos

* fix(notificaciones):envio de notificaciones a usuarios desconectados

* fix: correct package.json syntax and remove duplicate Swagger config

* fix:get chats by id fix bug (all chats)

* Implementación Foros y Threads  (#23)

* feat(forums,threads,responses): persistencia, validaciones y operaciones básicas

* Revision foros

* test: verificar foros e hilos tras actualización de dependencias

Pruebas funcionales de endpoints de Foros y Threads después de actualizar dependencias. Ajustes menores en AppModule, .env y prisma/schema.prisma para compatibilidad.

* feat: add tsx for seeding, update forum DTOs, and implement materias listing

- Added "tsx" dependency for improved TypeScript execution.
- Modified CreateForumDto to make description and creatorId optional.
- Introduced new MateriaDto for handling materia data.
- Implemented getMaterias method in ForumsService to fetch all materias.
- Added getMaterias endpoint in ForumsController to list available materias.
- Updated forum creation logic to handle optional creatorId.

* feat(add): implementacion reportes (#29)

* fix(env): actualizar DATABASE_URL a Azure Postgres

* fix(app): corregir AppModule — restaurar imports válidos y exportar AppModule

* test: add unit adn E2E test suit

* ci(sonar): agregar cobertura lcov, excluir .pnpm/node_modules y arreglar tests/Prisma

* test: add unit test for controllers

* feat(threads): enhance forum update to include creator and thread author details

* feat(forum): add reopen functionality for forums by creator

* Merge/main to develop (#44)

* Develop (#7)

* Add or update the Azure App Service build and deployment workflow config

* Feat/prisma structure (#3)

* Add environment configuration and validation using Joi

* Add dotenv and joi dependencies to package.json

* Add .vscode to .gitignore to exclude VSCode settings from version control

* Refactor main.ts to use environment configuration for port and add logging

* Enhance main.ts by adding CORS support and global validation pipes

* Add class-transformer and class-validator dependencies to package.json

* feat: integrate Prisma ORM with PostgreSQL

- Added Prisma configuration and schema files for database modeling.
- Updated package.json to include Prisma dependencies and scripts for migration and generation.
- Created PrismaModule and PrismaService to manage database connections and lifecycle.
- Integrated PrismaModule into the main application module.

* Fix/azure deployment (#2)

* Fix/logs (#4)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>

* fix: update production start script and improve environment variable handling

- Changed the production start script in package.json to point to dist/src/main.
- Refactored envs.ts for better readability and consistency in formatting.
- Ensured proper export of environment variables in index.ts.
- Updated main.ts to use void for the bootstrap function call.
- Improved formatting in prisma.service.ts for better code readability.

* fix(Deploy)

* fix(github-secret-fix)

* Feature/config swagger (#13)

* Feature/config swagger (#14)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>
Co-authored-by: LauraVenegas6 <aleja09venegas@gmail.com>

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>
Co-authored-by: LauraVenegas6 <aleja09venegas@gmail.com>
Co-authored-by: Nella1414 <marianella.polo-p@mail.escuelaing.edu.co>
Co-authored-by: SebasDuqueC <sebastiankcyo07@gmail.com>
Co-authored-by: SebasDuqueC <sebastian.duque-c@mail.escuelaing.edu.co>
LauraVenegas6 added a commit that referenced this pull request Dec 12, 2025
* Develop (#7)

* Add or update the Azure App Service build and deployment workflow config

* Feat/prisma structure (#3)

* Add environment configuration and validation using Joi

* Add dotenv and joi dependencies to package.json

* Add .vscode to .gitignore to exclude VSCode settings from version control

* Refactor main.ts to use environment configuration for port and add logging

* Enhance main.ts by adding CORS support and global validation pipes

* Add class-transformer and class-validator dependencies to package.json

* feat: integrate Prisma ORM with PostgreSQL

- Added Prisma configuration and schema files for database modeling.
- Updated package.json to include Prisma dependencies and scripts for migration and generation.
- Created PrismaModule and PrismaService to manage database connections and lifecycle.
- Integrated PrismaModule into the main application module.

* Fix/azure deployment (#2)

* Fix/logs (#4)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>

* fix: update production start script and improve environment variable handling

- Changed the production start script in package.json to point to dist/src/main.
- Refactored envs.ts for better readability and consistency in formatting.
- Ensured proper export of environment variables in index.ts.
- Updated main.ts to use void for the bootstrap function call.
- Improved formatting in prisma.service.ts for better code readability.

* fix(Deploy)

* fix(github-secret-fix)

* Feature/config swagger (#13)

* Feature/config swagger (#14)

* Merge/develop to main (#46)

* refresh (#8)

* Develop (#7)

* Add or update the Azure App Service build and deployment workflow config

* Feat/prisma structure (#3)

* Add environment configuration and validation using Joi

* Add dotenv and joi dependencies to package.json

* Add .vscode to .gitignore to exclude VSCode settings from version control

* Refactor main.ts to use environment configuration for port and add logging

* Enhance main.ts by adding CORS support and global validation pipes

* Add class-transformer and class-validator dependencies to package.json

* feat: integrate Prisma ORM with PostgreSQL

- Added Prisma configuration and schema files for database modeling.
- Updated package.json to include Prisma dependencies and scripts for migration and generation.
- Created PrismaModule and PrismaService to manage database connections and lifecycle.
- Integrated PrismaModule into the main application module.

* Fix/azure deployment (#2)

* Fix/logs (#4)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>

* fix: update production start script and improve environment variable handling

- Changed the production start script in package.json to point to dist/src/main.
- Refactored envs.ts for better readability and consistency in formatting.
- Ensured proper export of environment variables in index.ts.
- Updated main.ts to use void for the bootstrap function call.
- Improved formatting in prisma.service.ts for better code readability.

* fix(Deploy)

* fix(github-secret-fix)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>

* feat(configuracion): configuración Swagger (#12)

* feat(votes): endpoint de votación con idempotencia, tests unitarios y QA (#9)

Co-authored-by: Daniel Eduardo Useche <du.important@gmail.com>

* feat(threads): implementar creación de hilos en foro (US-045)

Añade modelos Prisma Thread/Reply, ThreadsModule (controller/service), DTOs, validaciones, sanitización, verificación de authorId, prevención de duplicados, documentación Swagger y traducción de mensajes a español.

* feat(threads): creación básica de hilos y replies (US-045)

Modelos Thread/Reply, validación author/estado/rol, Swagger, mensajes en español.

* feat(threads,responses): persistencia y validaciones básicas

* Feature/chat: con notificaciones de a usuarios no conectados (#17)

* feat(chats): add initial resource with module, controller and service

* feat(chats): add initial chats package.json

* feat(chats): agregar lógica de grupos para el módulo de chats

* feat(chats): add send message DTO

* feat(chats): add messaging methods in service

* feat(config): add JWT_SECRET to environment configuration

* feat(chats): integrate JWT authentication in REST endpoints

- Replace manual user-id header with JWT authentication
- Protect all endpoints with JwtAuthGuard
- Add REST endpoints for messages (GET/POST /chats/:id/messages)
- Use GetUser decorator to extract authenticated user from JWT
- Import AuthModule in ChatsModule
- Register ChatsGateway as provider

* feat(chats): conexión de WS, union de grupos y chats

* feat(notificaciones):notificaciones a usuarios desconectados

* feat(chats):notificacionnes de mensajes no vistos

* fix(notificaciones):envio de notificaciones a usuarios desconectados

* fix: correct package.json syntax and remove duplicate Swagger config

* fix:get chats by id fix bug (all chats)

* Implementación Foros y Threads  (#23)

* feat(forums,threads,responses): persistencia, validaciones y operaciones básicas

* Revision foros

* test: verificar foros e hilos tras actualización de dependencias

Pruebas funcionales de endpoints de Foros y Threads después de actualizar dependencias. Ajustes menores en AppModule, .env y prisma/schema.prisma para compatibilidad.

* feat: add tsx for seeding, update forum DTOs, and implement materias listing

- Added "tsx" dependency for improved TypeScript execution.
- Modified CreateForumDto to make description and creatorId optional.
- Introduced new MateriaDto for handling materia data.
- Implemented getMaterias method in ForumsService to fetch all materias.
- Added getMaterias endpoint in ForumsController to list available materias.
- Updated forum creation logic to handle optional creatorId.

* feat(add): implementacion reportes (#29)

* fix(env): actualizar DATABASE_URL a Azure Postgres

* fix(app): corregir AppModule — restaurar imports válidos y exportar AppModule

* test: add unit adn E2E test suit

* ci(sonar): agregar cobertura lcov, excluir .pnpm/node_modules y arreglar tests/Prisma

* test: add unit test for controllers

* feat(threads): enhance forum update to include creator and thread author details

* feat(forum): add reopen functionality for forums by creator

* Merge/main to develop (#44)

* Develop (#7)

* Add or update the Azure App Service build and deployment workflow config

* Feat/prisma structure (#3)

* Add environment configuration and validation using Joi

* Add dotenv and joi dependencies to package.json

* Add .vscode to .gitignore to exclude VSCode settings from version control

* Refactor main.ts to use environment configuration for port and add logging

* Enhance main.ts by adding CORS support and global validation pipes

* Add class-transformer and class-validator dependencies to package.json

* feat: integrate Prisma ORM with PostgreSQL

- Added Prisma configuration and schema files for database modeling.
- Updated package.json to include Prisma dependencies and scripts for migration and generation.
- Created PrismaModule and PrismaService to manage database connections and lifecycle.
- Integrated PrismaModule into the main application module.

* Fix/azure deployment (#2)

* Fix/logs (#4)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>

* fix: update production start script and improve environment variable handling

- Changed the production start script in package.json to point to dist/src/main.
- Refactored envs.ts for better readability and consistency in formatting.
- Ensured proper export of environment variables in index.ts.
- Updated main.ts to use void for the bootstrap function call.
- Improved formatting in prisma.service.ts for better code readability.

* fix(Deploy)

* fix(github-secret-fix)

* Feature/config swagger (#13)

* Feature/config swagger (#14)

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>
Co-authored-by: LauraVenegas6 <aleja09venegas@gmail.com>

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>
Co-authored-by: LauraVenegas6 <aleja09venegas@gmail.com>
Co-authored-by: Nella1414 <marianella.polo-p@mail.escuelaing.edu.co>
Co-authored-by: SebasDuqueC <sebastiankcyo07@gmail.com>
Co-authored-by: SebasDuqueC <sebastian.duque-c@mail.escuelaing.edu.co>

---------

Co-authored-by: cntrIsaac <isaac.palomo-p@mail.escuelaing.edu.co>
Co-authored-by: LauraVenegas6 <aleja09venegas@gmail.com>
Co-authored-by: Nella1414 <marianella.polo-p@mail.escuelaing.edu.co>
Co-authored-by: SebasDuqueC <sebastiankcyo07@gmail.com>
Co-authored-by: SebasDuqueC <sebastian.duque-c@mail.escuelaing.edu.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant