Commit Graph

737 Commits

Author SHA1 Message Date
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
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
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
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
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
373f5e1198 fix/parentesis 2026-05-06 15:13:12 -06:00
62dded0b61 fix/test-doda-y-s3 2026-05-06 15:09:45 -06: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
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
1e4eaf0576 Merge pull request 'fix/facturas_ame_mez' (#358) from fix/facturas_ame_mez into development
Reviewed-on: ADUANASOFT/anexo76#358
2026-05-02 02:40:44 +00:00
259d67ebb2 Merge branch 'development' into feature/reporte-bak 2026-04-30 16:30:14 -06:00
143bfded29 feature/reporte-bak 2026-04-30 16:26:14 -06:00
b5c94ca0cc feature/vu-api-acuse-xml-pdf 2026-04-30 11:07:03 -06: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
cb2a68fd35 Merge pull request 'feat: increase character limit for who_processed and capture_user fields in InvoiceHeader to 100' (#351) from fix/character-limit into development
Reviewed-on: ADUANASOFT/anexo76#351
2026-04-30 14:25:31 +00: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
e8db8f2a86 bak 2026-04-30 07:42:02 -06: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
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
47411556ee feature/moneda-partes-obligatoria 2026-04-29 10:22:11 -06:00
d78163da12 feature/clases-paginacion 2026-04-29 09:51:50 -06:00
953edc6127 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into fix/facturas_ame_mez 2026-04-29 10:35:55 -05:00