Commit Graph

63 Commits

Author SHA1 Message Date
d73c0dca83 fix: add ORIGIN environment variable for SvelteKit to prevent internal IP/port usage 2026-05-12 11:17:43 -05:00
42d7b876d1 feat: add environment variables for SMTP configuration and update hub-net to internal 2026-05-12 09:19:39 -05:00
52577b9e66 refactor: update SSO handling and remove deprecated components
- Changed the hub-net network configuration to external in docker-compose.
- Removed the Single Sign-On (SSO) service implementation and associated login form component.
- Enhanced authentication callback logic to improve error handling and redirect management.
- Updated various routes to streamline login and authentication processes, ensuring proper redirection to workspace login.
- Cleaned up unused code and improved overall structure for better maintainability.
2026-05-11 17:17:37 -05:00
af415eb604 fix: change hub-net network to internal 2026-05-11 10:36:30 -05:00
c9d8bf666a fix: update docker-compose network to external and enhance avatar URL resolution logic 2026-05-11 08:39:16 -05:00
8cd6e19a6a feature/api-sittar-actualizacion 2026-05-08 14:43:07 -06:00
1f2f8d1f83 feat: implement user invitation system
- Add InviteToken model and Alembic migration (core.invite_tokens)
- Add invites module: DTOs, service (create/validate/consume), routes
- Register invites router in core router
- Extend auth register endpoint to support invite_token flow:
  - Validate local token, create user via Hub admin API (service account),
    handle existing user (link instead of duplicate), create UserTenant, consume token
- Add GET /auth/register/check endpoint to validate token without consuming
- Add HUB_ADMIN_EMAIL, HUB_ADMIN_PASSWORD, APP_PUBLIC_URL to config
- Frontend: add invite() method and types to users.ts API client
- Frontend: add invite dialog with real roles dropdown to users page
- Frontend: update register page to handle invite flow and user-exists case
2026-05-06 16:57:29 -05:00
5dd65df3e8 feat: add first_name and last_name fields to UserTenant model and sync with Keycloak
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 12:09:04 -05:00
0c4f54b2c0 fix: update VARCHAR lengths to prevent truncation errors in audit_log and discharges 2026-04-30 11:09:07 -05:00
f10fee9bc3 refactor: update role handling in security and permissions modules, and change hub-net to non-external in docker-compose 2026-04-29 22:08:37 -05:00
6349bef45d chore: remove unused IPAM configuration from network definitions in docker-compose 2026-04-29 14:03:31 -05:00
1d1d4b1619 Merge remote-tracking branch 'origin/development' into feature/hub-integration
# Conflicts:
#	backend/.env.example
#	backend/api/v1/modules/core/auth/service.py
#	backend/api/v1/modules/core/users/service.py
#	backend/core/middleware.py
#	docker-compose.yml
#	frontend/src/lib/auth.ts
#	frontend/src/lib/components/help/HelpDrawer.svelte
#	scripts/backend-entrypoint.sh
2026-04-29 13:11:44 -05:00
a445935d8b chore: update sso flow, logout, dashboard layout and docker-compose 2026-04-29 12:58:08 -05:00
edafbde59d fix/docker-compose-env-variables: remove DODA_API variables and clean up production configuration 2026-04-27 12:17:19 -05:00
9d232998d6 feature/api-doda 2026-04-26 18:13:20 -06:00
ca21cdf58d feat: Implement token issue detection and enhance license validation middleware; add tests for token issue message detection 2026-04-26 08:25:53 -05:00
4892053e7a Update docker-compose.yml and Jenkinsfile for improved service health checks and logging
- Adjusted health check parameters in docker-compose.yml for backend services to enhance reliability during startup.
- Increased memory limits and reservations for backend services to accommodate higher resource demands.
- Updated service dependencies in docker-compose.yml to ensure proper startup order based on health status.
- Enhanced Jenkinsfile to include additional logging for backend and Celery services, aiding in troubleshooting during CI runs.
2026-04-24 13:35:40 -05:00
f2d645235a Update Docker configuration and Jenkinsfile for E2E testing
- Added .env.e2e.generated to .gitignore to prevent committing generated environment files.
- Updated docker-compose.yml to use environment variables for Keycloak ports, enhancing flexibility in CI environments.
- Enhanced Jenkinsfile to generate dynamic Keycloak ports for E2E testing and improved logging for troubleshooting during failures.
2026-04-24 13:24:37 -05:00
9d63b000bc Refactor Docker entrypoints and remove unused scripts
- Removed custom entrypoint scripts for backend, frontend, and PostgreSQL services from docker-compose files.
- Added a new entrypoint script in the backend and frontend Dockerfiles to handle initialization without relying on host-mounted scripts.
- Updated Dockerfiles to ensure proper permissions for the new entrypoint scripts.
- Enhanced database initialization logic by moving schema and extension creation to the Alembic migration script.
2026-04-24 12:53:11 -05:00
42eda346f5 Merge pull request 'feature/testing' (#314) from feature/testing into development
Reviewed-on: ADUANASOFT/anexo76#314
2026-04-24 17:16:00 +00:00
225f020747 feat: Update authentication flow to unify logout process and improve Keycloak integration 2026-04-24 12:09:29 -05:00
b024a5b981 Refactor docker-compose.yml to remove IPAM subnet configurations for networks
- Removed IPAM subnet configurations for backend-net, auth-net, and frontend-net in docker-compose.yml to simplify network setup.
2026-04-24 12:08:35 -05:00
46c98dbc38 Update Docker volumes in docker-compose.yml and enhance Jenkinsfile for frontend testing
- Changed PostgreSQL data volume paths in docker-compose.yml to remove the trailing 'data' directory.
- Improved the 'Test frontend' stage in Jenkinsfile by adding cleanup steps and ensuring the workspace is correctly copied to the Docker container for testing.
2026-04-24 10:47:06 -05:00
8f4fd7ee90 feature/correcion-hash 2026-04-13 15:57:40 -06:00
d3676aa8ed Refactor code structure for improved readability and maintainability 2026-04-06 08:54:05 -05:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
AlexeerCT
a4cf394447 Update Docker Compose files for production environment and enhance unit of measure handling
- Changed the default environment variable from 'development' to 'production' in docker-compose.prod.yml and docker-compose.yml.
- Added SITAR API credentials to the environment variables in both Docker Compose files.
- Updated the seed data for customs units of measure to include a76_unit_code.
- Refactored the UnitOfMeasureCustoms model and related DTOs to replace scaii_unit_code with a76_unit_code for consistency.
- Adjusted frontend components to reflect the updated unit of measure structure and ensure proper handling of the new a76_unit_code field.
2026-03-15 20:52:01 -06:00
375df79da5 Merge branch 'development' into feature/data-entry 2026-03-05 09:36:03 -06:00
a0e231196e refactor: update Svelte components to use runes, snippets, and improved reactivity patterns. 2026-03-03 16:52:17 -07:00
9bb5778c3b Merge pull request 'feature/alerta-no-registros-agentes-clientes' (#179) from fix/svelte-a11y-warnings into development
Reviewed-on: ADUANASOFT/anexo76#179
2026-03-03 20:02:10 +00:00
hreyes
ae23a080ba feature/alerta-no-registros-agentes-clientes 2026-03-03 12:58:33 -07:00
4302bd4655 feat: Update environment variables and improve Sitar API configuration 2026-03-03 12:58:00 -06:00
dbffc95e67 Correcion de yml y los script 2026-02-26 18:03:14 -06:00
7289947e48 Resolucion de conflictos: Merge feature/boton_ayuda a development 2026-02-26 12:34:38 -06:00
e4d4d0cce6 Puestas de seguridad y limpieza de codigo 2026-02-25 10:34:11 -06:00
ad26062f46 Coreccion del cliente para descargar los archivos multimedia 2026-02-24 14:00:28 -06:00
c9f934a0da Nuevo frontend y start cambiado 2026-02-24 11:35:46 -06:00
09c806b4f5 Nuevo forntend con datos multimedia 2026-02-23 17:44:33 -06:00
17c1ef3947 Nuevo start con interaccion para elegir que tipo de servidor estamos 2026-02-23 12:15:44 -06:00
62315e5b24 Implementacion de sistema distribuido de boton de ayuda 2026-02-18 14:25:24 -06:00
Galindo97
84b507fbba feat: Enhance invoice movement reports by refactoring CSV generation with a filter object, expanding exported fields, improving formatting, and enabling direct download in the frontend. 2026-02-06 17:57:58 -06:00
2a82215a6a feat(docker): add SITAR API environment variables and configure backend uploads volume 2026-01-23 14:01:03 -06:00
52708c5ba0 feat(api): integrate Sitar API configuration and authentication 2026-01-23 13:42:58 -06:00
35390d6e48 Merge pull request 'fix/producction' (#85) from fix/producction into development
Reviewed-on: ADUANASOFT/anexo76#85
2026-01-23 18:48:38 +00:00
beb32088b8 fix(docker): update celery worker container name and add valkey service 2026-01-23 12:19:57 -06:00
b8045d73e6 Se integro el sistema de extraer el tipo de cambio 2026-01-23 10:42:21 -06:00
ae1d7f0c58 Se mejoro el disenio de agentes y clientes-proveedores 2026-01-14 12:47:01 -06:00
6214973eaf Implementacion de celery y problemas con relacioines 2026-01-13 11:27:58 -06:00
ce37aa77b2 Se edito el reporte de factura, se le puso las partidas, ademas se inicio todo el procedo de celery 2026-01-12 16:29:07 -06:00
AlexeerCT
b939526302 Update Keycloak configuration and normalize API endpoint paths in invoices API 2025-12-26 17:48:46 -06:00