Commit Graph

528 Commits

Author SHA1 Message Date
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
d24bb89294 feat: enhance invoice creation and editing experience
- Added a new `isCreate` prop to manage the invoice creation state in the invoice top fields component.
- Implemented a conditional invoice type selection for the export operation in the invoice top fields.
- Updated sidebar module links to simplify URL parameters for invoice exports.
- Refactored invoice type handling in the dashboard to improve dynamic title generation based on operation type and invoice type.
- Adjusted server-side logic to enforce required parameters for invoice creation based on operation type.
- Cleaned up unused filters in the invoice page to streamline the user interface.
2026-05-01 23:32:40 -05:00
a5ef8f1fd1 Merge pull request 'feature/dashboard-lenguage' (#359) from feature/dashboard-lenguage into development
Reviewed-on: ADUANASOFT/anexo76#359
2026-05-02 02:41:53 +00:00
eae9e57115 Merge pull request 'refactor: centralize access token handling in cookies and improve related functions' (#356) from feature/cookies into development
Reviewed-on: ADUANASOFT/anexo76#356
2026-05-02 02:38:48 +00:00
a5b378ccff refactor: centralize access token handling in cookies and improve related functions
- Introduced utility functions for managing access tokens in cookies, including setting, getting, and clearing tokens.
- Updated various components and server routes to utilize the new access token functions for better consistency and maintainability.
- Removed redundant cookie handling code across the application, streamlining the authentication process.
2026-05-01 21:30:52 -05: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
e8db8f2a86 bak 2026-04-30 07:42:02 -06: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
d4e5958742 feature/correccion-redireccion-doda 2026-04-29 10:57:51 -06:00
ac38b3bdee Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/dashboard-lenguage 2026-04-29 11:13:04 -05:00
d78163da12 feature/clases-paginacion 2026-04-29 09:51:50 -06:00
1ce8f05ee0 feature/mejora-cliente-proveedor-scroll-filtros 2026-04-29 09:02:26 -06:00
213bd37a9d Merge branch 'fix/transportes-traduccion-erronea' into feature/visible-clicks-csv 2026-04-29 08:39:09 -06:00
4a58c01d67 Merge branch 'fix/catalogo-agente-aduanal-doble-click' into feature/visible-clicks-csv 2026-04-29 08:34:34 -06:00
3bbeccb267 Merge branch 'fix/codigo-clave-cambio' into feature/visible-clicks-csv 2026-04-29 08:34:17 -06:00
6e764a980f Merge branch 'feature/doda-endpoints-faltantes' into feature/visible-clicks-csv 2026-04-29 08:32:07 -06:00
71c4963228 Merge branch 'feature/scaf-partes-default' into feature/visible-clicks-csv 2026-04-29 08:24:53 -06:00
0a3c27254a Merge branch 'feature/sitar-fractions-upgrade' into feature/visible-clicks-csv 2026-04-29 08:24:39 -06:00
0fd5599a2c Merge branch 'development' into feature/visible-clicks-csv 2026-04-29 08:24:11 -06:00
5f8bc3492e fix/transportes-traduccion-erronea 2026-04-29 08:13:29 -06:00
c92d114080 refactor: enhance invoice filtering and dropdown menu functionality
- Updated SQLAlchemy imports for better clarity and organization in invoice service.
- Refactored dropdown menu components to improve state management and accessibility.
- Adjusted invoice year filter logic for consistency in dashboard components.
- Improved internationalization handling in invoice titles and headers.
2026-04-29 09:03:01 -05:00
8e3f7d2dd8 fix/catalogo-agente-aduanal-doble-click 2026-04-29 07:42:56 -06:00
86f529386c Merge branch 'fix/codigo-clave-cambio' into fix/catalogo-agente-aduanal-doble-click 2026-04-29 07:39:12 -06:00
9105fad3c4 fix/codigo-clave-cambio 2026-04-29 07:37:01 -06:00
77039acff4 refactor: simplify column creation in dashboard components and improve error handling
- Removed derived error state in manifest page.
- Updated column creation logic in various general catalog components to streamline permissions handling.
- Enhanced type safety in selected item logic across components.
- Improved search functionality and state management in identifiers, concepts, and other catalog pages.
2026-04-29 08:29:29 -05:00
dd6998232d Merge branch 'development' into fix/permisos 2026-04-29 08:14:09 -05:00
ce455ccb8e fix: corregir error de compilación en fda-codes 2026-04-28 18:03:11 -05:00
d19445d77a fix: correct HTML structure by closing conditional block in fda-codes page 2026-04-28 17:25:41 -05:00
41e1a1767b fix: standardize multiplication notation from '×' to 'x' across various files for consistency 2026-04-28 17:25:37 -05:00
30f915eecf fix: correct HTML syntax and improve accessibility in various components 2026-04-28 17:25:14 -05:00
8535fdf5cc chore: rescate y restauracion de modulos base, a76 y digitalizacion tras conflictos 2026-04-28 17:23:14 -05:00
07ba33a4d9 feature/doda-endpoints-faltantes 2026-04-28 14:53:08 -06:00
17eca50332 fix: remaining hardcoded strings in dashboard page 2026-04-28 13:30:11 -05:00
13aabb5caa feat: traduje el dashboard al ingles y ademas el modal del tipo de cambio 2026-04-28 13:26:17 -05:00
52ad58aceb feature/cliente-asignado-partes 2026-04-28 12:01:50 -06:00
463b1a1925 feature/scaf-partes-default 2026-04-28 11:23:04 -06:00
b95afb138b Merge branch 'feature/sitar-fractions-upgrade' into feature/scaf-partes-default 2026-04-28 11:05:46 -06:00
2715d9d22f feature/us-y-7-mejora-tabla-lateral 2026-04-28 11:01:18 -06:00
d67d1c5538 feature/sitar-fractions-upgrade 2026-04-28 10:50:58 -06:00
c7412abaa9 feature/visible-clicks-csv 2026-04-28 10:36:16 -06:00
20576fea99 fix: correct HTML structure by closing conditional block in fda-codes page 2026-04-28 10:06:27 -05:00
356ea99b04 Merge branch 'feature/errores-legibles-tabla' into development 2026-04-28 09:49:41 -05:00
9797ec96f8 fix: standardize multiplication notation from '×' to 'x' across various files for consistency 2026-04-28 09:48:20 -05:00
b5e8b66e99 fix: correct HTML syntax and improve accessibility in various components 2026-04-28 09:36:16 -05:00
9f77e360a1 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into fix/permisos 2026-04-27 15:46:05 -06:00
8260b64951 fix: corriegiendo la compilaciond el frontend de script mal ejecutado 2026-04-27 16:00:52 -05:00