Commit Graph

106 Commits

Author SHA1 Message Date
9fae110c11 fix/AS-487-merge-main-development (#490)
Some checks failed
Build Producción & Push a Harbor / test (push) Failing after 3s
Build Producción & Push a Harbor / build (push) Has been skipped
Co-authored-by: Galindo97 <agalindo@aduanasoft.com.mx>
Reviewed-on: ADUANASOFT/anexo76#490
Co-authored-by: AlexeerCT <acazares@aduanasoft.com.mx>
Co-committed-by: AlexeerCT <acazares@aduanasoft.com.mx>
2026-06-03 15:02:02 +00:00
47e3f36f5c fix/AS-prosec-revertir-boolean (#483)
alembic seed para empresas ya existentes

Reviewed-on: ADUANASOFT/anexo76#483
Co-authored-by: hreyes <hreyes@aduanasoft.com.mx>
Co-committed-by: hreyes <hreyes@aduanasoft.com.mx>
2026-06-02 21:21:01 +00:00
26c5a97c04 fix/AS-prosec-revertir-boolean (#482)
prosec revertir boolean y uso de catalogo

Reviewed-on: ADUANASOFT/anexo76#482
Co-authored-by: hreyes <hreyes@aduanasoft.com.mx>
Co-committed-by: hreyes <hreyes@aduanasoft.com.mx>
2026-06-02 21:06:23 +00:00
e0b08dfa8a feauture/catalogo-clases-inventario-UME 2026-06-02 11:12:38 -06:00
619ef8d7d8 feature/separacion-de-tax-id-de-rfc 2026-06-02 09:05:29 -06:00
08f99f102e fix/uso-de-catalogo-sectores-empresa 2026-06-02 07:59:12 -06:00
dbf68986da feature/app-selector 2026-05-26 16:59:32 -06:00
676a6fe413 feature/seed-digitalizacion 2026-05-25 11:03:24 -06:00
687217b345 Merge pull request 'fix(schema): remove unused ENUM types from PostgreSQL during downgrade' (#413) from fix/jenkins-mejora into development
Reviewed-on: ADUANASOFT/anexo76#413
2026-05-20 17:01:54 +00:00
f18532087f fix(schema): remove unused ENUM types from PostgreSQL during downgrade 2026-05-20 11:59:32 -05:00
eced3accdc Arreglo de equivalencias 2026-05-13 08:39:37 -05:00
99a6daa160 fix/head-alembic 2026-05-12 09:31:37 -06:00
26f9675557 Merge branch 'development' into feature/alembic-daf 2026-05-12 09:23:19 -06:00
ee9ac4f64f feature/alembic-daf 2026-05-12 09:00:32 -06:00
96fd14582d fix: update down_revision for workspace profile fields migration 2026-05-08 17:37:27 -05:00
fb89ed0569 Merge pull request 'feat: enhance user avatar handling and synchronization with Workspace' (#381) from feature/profile-photo into development
Reviewed-on: ADUANASOFT/anexo76#381
2026-05-08 22:34:06 +00:00
1dbc75107f feat: enhance user avatar handling and synchronization with Workspace
- Updated sidebar component to merge user data from Keycloak and Workspace, including avatar URLs.
- Refactored nav-user component to utilize new avatar resolution logic and display user information more effectively.
- Introduced a new utility function to resolve user avatar URLs, prioritizing Workspace avatars.
- Implemented backend changes to support synchronization of user profile data, including avatar URLs from Workspace.
- Added database migration to include new fields for Workspace profile synchronization in user_tenants.
- Created a new client for fetching user profiles from Workspace.
- Updated dashboard components to reflect changes in user data structure and avatar handling.
- Removed avatar upload functionality from the profile update process, relying on Workspace for avatar management.
- Added tests for avatar resolution logic to ensure correct prioritization of avatar sources.
2026-05-08 17:03:29 -05:00
33dfb15277 fix/alembic-fix-head 2026-05-08 08:49:06 -06:00
5e5eb94916 Merge branch 'development' into feature/transportista-completar-modelo 2026-05-08 08:44:01 -06:00
f15b803c1e feature/transportista-completar-modelo 2026-05-08 08:43:10 -06:00
9fe307bd74 feat: remove hub_invite_token migration from invite_tokens 2026-05-08 08:44:48 -05:00
52fec4038e feat: implement lazy-link for pending invites and add hub_invite_token to InviteToken model
Co-authored-by: Copilot <copilot@github.com>
2026-05-07 12:41:12 -05: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
4c0fa607dc refactor: update alembic migrations and import models
- Added import for `alta_log_models` to `env.py` for autogeneration of tables outside of `models.py`.
- Deleted several obsolete migration files, including those related to classification descriptions, initial data seeding, and legacy fields in the company certification schema.
- Cleaned up migration history by removing unused migration scripts to streamline future updates.
2026-05-01 22:10:21 -05:00
0c4f54b2c0 fix: update VARCHAR lengths to prevent truncation errors in audit_log and discharges 2026-04-30 11:09:07 -05:00
6392a3dba8 fix: remove obsolete revision reference from alembic merge script 2026-04-30 10:13:06 -05:00
da7419e25e feat: add alembic migration script to merge multiple heads for deployment 2026-04-30 09:47:40 -05:00
f225731625 feat: increase character limit for who_processed and capture_user fields in InvoiceHeader to 100 2026-04-30 09:22:44 -05:00
07ba33a4d9 feature/doda-endpoints-faltantes 2026-04-28 14:53:08 -06:00
52ad58aceb feature/cliente-asignado-partes 2026-04-28 12:01:50 -06:00
c8e45f5ce2 chore: resolve second wave of merge conflicts, integrate new DODA despacho module and stabilize catalogues 2026-04-27 13:43:51 -05:00
8374975a30 chore: resolve remaining merge conflicts in data-table-actions components 2026-04-27 13:39:04 -05:00
4d873f392e fix/alembic-duration-cert-delete 2026-04-27 10:31:33 -06:00
5c2a84e95d fix: solución de bloqueos y estandarización de permisos 2026-04-27 10:47:30 -05:00
9d232998d6 feature/api-doda 2026-04-26 18:13:20 -06:00
d78d8f3599 Merge branch 'fix/empresa-cert-duracion' into feature/api-doda 2026-04-26 08:36:55 -06:00
855afe6670 fix/empresa-cert-duracion 2026-04-26 08:24:57 -06:00
73a6d92863 Implement row-level security (RLS) context management for database sessions. Refactor invoice processing and reverting tasks to utilize scoped database sessions with RLS context. Update middleware to extract and set company ID from requests. Enhance task dispatching to propagate RLS context via Celery headers. Update architecture documentation to reflect RLS implementation details. 2026-04-24 18:01:46 -05:00
a9523853c9 Merge pull request 'feature/carril-expres-transportes' (#315) from feature/carril-expres-transportes into development
Reviewed-on: ADUANASOFT/anexo76#315
2026-04-24 21:49:44 +00: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
38d10e6f51 feature/carril-expres-transportes 2026-04-24 09:18:41 -06:00
29c305cd2c feaature/catalogo-empresa-mejoras 2026-04-23 14:28:56 -06:00
ff1ff30e23 fix/conceptos-catalogo-general 2026-04-22 07:44:07 -06:00
1cd81ebc03 feature/digitalizacion-api 2026-04-20 15:13:48 -06:00
129608bb31 feature/digitalizacion-api 2026-04-17 15:59:47 -06:00
db46237a3e Poniendo como ultima actulaizacion nuestra migracion 2026-04-07 16:43:13 -05:00
a6e0a04451 Mezlca de migraciones mas recientes 2026-04-07 16:13:01 -05:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
4541629b3f Parametros generales SCAII, con endpint y con la mayoria de pestanias hechas y funcionalaes 2026-03-30 13:05:21 -05:00