Commit Graph

678 Commits

Author SHA1 Message Date
26f9675557 Merge branch 'development' into feature/alembic-daf 2026-05-12 09:23:19 -06:00
e3cbb738e0 feature/csv-correccion-clientes 2026-05-12 09:22:30 -06:00
ee9ac4f64f feature/alembic-daf 2026-05-12 09:00:32 -06:00
f8356bbd5c Merge pull request 'fix/trailers' (#387) from fix/trailers into development
Reviewed-on: ADUANASOFT/anexo76#387
2026-05-12 14:06:26 +00:00
c8ef9b47fc Merge pull request 'fix/trasnportistas' (#385) from fix/trasnportistas into development
Reviewed-on: ADUANASOFT/anexo76#385
2026-05-12 14:05:02 +00:00
1ca6e8d565 Merge pull request 'feature/correccion-de-actualizar' (#384) from feature/correccion-de-actualizar into development
Reviewed-on: ADUANASOFT/anexo76#384
2026-05-12 14:03:44 +00:00
c50d38c496 Errores corregidos y despliegie normal decatalgos en trailers 2026-05-11 12:03:04 -05:00
ffda66c741 Resolviendo conflicto 2026-05-08 17:44:16 -05:00
06998f61d4 Ahora si guarda y edita de forma correcta 2026-05-08 17:40:56 -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
da088ef6e6 feature/correccion-de-actualizar 2026-05-08 15:23:45 -06:00
f9f87a5e0c Remove SITAR external OpenAPI snapshot and README 2026-05-08 14:51:02 -06:00
290d1c2913 Merge branch 'development' into feature/api-sittar-actualizacion 2026-05-08 14:39:24 -06:00
6113c47839 Add BaseAPIException handling to invoice routes for improved error management 2026-05-08 14:12:31 -05:00
315c94219b feature/api-sittar-actualizacion 2026-05-08 12:54:19 -06:00
9e3274b03a Update environment variables in docker-compose and refactor RLS context handling in database and middleware. Added error handling for Hub license verification. 2026-05-08 13:51:24 -05:00
39209501ab Merge pull request 'fix/facturas-ame-mex-2' (#373) from fix/facturas-ame-mex-2 into development
Reviewed-on: ADUANASOFT/anexo76#373
2026-05-08 16:22:24 +00:00
fd26b8e1dd Merge pull request 'feature/profile-photo' (#372) from feature/profile-photo into development
Reviewed-on: ADUANASOFT/anexo76#372
2026-05-08 14:25:32 +00:00
a3917544f3 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into fix/facturas-ame-mex-2 2026-05-07 13:57:18 -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
04a3c5a8af Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/manuales 2026-05-07 11:56:36 -05:00
beaf9b2f8e Correcion con vite, borrar los print y mejorar la barra de manuales 2026-05-07 11:41:44 -05:00
fdc145b2c6 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into fix/facturas-ame-mex-2 2026-05-07 10:45:27 -05:00
2456c0086b Solucion a tipos de datos, blindaje y resoluciones con el token expirado 2026-05-07 10:45:00 -05:00
4b7cc13d11 fix/filtros-leyendas 2026-05-07 08:07:30 -06:00
9152750a9f feature/bitacora-correccion-por-tenant 2026-05-07 07:52:31 -06:00
d325218d27 merge: integrar development y resolver conflictos en traducciones 2026-05-06 17:02:27 -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
85ecdc88fa fix: estabilizar auth, proxy y traducciones del dashboard 2026-05-06 16:57:28 -05:00
daa3a252b9 fix/carga-csv-ergonomia 2026-05-06 14:24:41 -06:00
b212cf63c1 Merge development into feature/manuales and resolve conflicts in HelpDrawer 2026-05-06 14:29:56 -05:00
8c8cd0e247 feature/bitacora-correccion-filtro-tenant 2026-05-06 12:12:09 -06:00
9260b5f2ce Merge branch 'development' into feature/catalogos-generales-permisos 2026-05-06 11:13:40 -06:00
e3ad7e7a7e feature/catalogos-generales-permisos 2026-05-06 11:13:09 -06:00
d977b08bf9 Merge pull request 'feat: add first_name and last_name fields to UserTenant model and sync with Keycloak' (#366) from fix/user-profile-edit-keycloak-sync into development
Reviewed-on: ADUANASOFT/anexo76#366
2026-05-06 17:11:07 +00: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
12dd328eb5 Merge branch 'development' into feature/permisos-reference-data 2026-05-06 08:14:25 -06:00
73b2eb222e feature/permisos-reference-data 2026-05-06 08:13:53 -06:00
c3d1d21e7f Merge pull request 'feature/users-delete' (#364) from feature/users-delete into development
Reviewed-on: ADUANASOFT/anexo76#364
2026-05-06 13:43:46 +00:00
5c4161e5d8 feat: enhance user deletion process with access token and hub tenant ID propagation 2026-05-06 08:20:39 -05:00
2ba043eec5 feature/fracciones-permisos 2026-05-05 16:29:59 -06:00
bc7160790b feature/mercancias-permisos 2026-05-05 15:05:11 -06:00
63939e3aa7 feature/cliente-proveedor-permisos 2026-05-05 12:32:04 -06:00
9435e73761 feature/permisos-desabilitar-botones 2026-05-05 12:12:17 -06:00
a1561d3796 feature/permisos-pedimentos 2026-05-04 15:43:34 -06:00
aac5607e05 feature/permisos-invoices 2026-05-04 14:06:44 -06:00
97bb5c23b6 feature/permisos-keycloak-correccion 2026-05-04 13:22:18 -06:00
7ea8a4ba8d feat: multi-tenant user delete scope + conditional keycloak wait
- Add GET /users/{user_id}/tenant-count endpoint
- Add scope query param (current|all) to DELETE /users/{user_id}
- UserService.delete_user now supports scope='all' to deactivate/remove
  user from all tenants
- Frontend users.ts: getTenantCount(), delete() accepts scope param
- Frontend +page.svelte: async openDeleteDialog fetches tenant count,
  shows 4-button dialog when user belongs to >1 tenant
- docker-entrypoint.sh: Keycloak wait now conditional on WAIT_FOR_KEYCLOAK=1
2026-05-04 14:17:12 -05:00
2ce8a9047c feat: enhance user statistics and tenant management
- Updated user statistics endpoint to include access token and hub tenant ID for improved data retrieval.
- Refactored user listing functionality to support access token and hub tenant ID, ensuring accurate user data from the Hub.
- Introduced new methods in UserService for fetching users with additional information from the Hub.
- Enhanced security functions to ensure user-tenant relationships are maintained and synchronized with the Hub.
- Improved frontend logic to handle company initialization and user authentication more effectively.
2026-05-01 23:32:48 -05:00