Commit Graph

58 Commits

Author SHA1 Message Date
880999b03a feat: plantilla base workspace SaaS
Some checks failed
Build Producción & Push a Harbor / test (push) Failing after 2s
Build Producción & Push a Harbor / build (push) Has been skipped
Convierte el repositorio de Anexo76 en una plantilla limpia y reutilizable
para nuevos proyectos del ecosistema Workspace de Aduanasoft.

Cambios principales:
- Elimina módulos específicos de Anexo76: a76, a24, sitar, public
- Agrega módulo example/ con patrón CRUD de referencia (models/dto/service/routes)
- Limpia migraciones Alembic: solo quedan las 6 de core (users, tenants, permissions)
- Reemplaza todas las rutas del dashboard con stubs genéricos
- Elimina lógica de negocio aduanera: shortcuts, CSV imports, permisos, catálogos
- Simplifica variables de entorno: una sola WORKSPACE_URL deriva Hub y Keycloak
- Agrega scripts/auth-mode.sh para alternar entre auth local y workspace
- Configura docker-compose con nombres genéricos (app-*)
- Corrige flujo SSO: elimina system-gate SCAF/SCAII que bloqueaba el login
- Modo DEV_LOCAL_AUTH para desarrollo sin Keycloak ni Hub

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 10:55:17 -05:00
85ecdc88fa fix: estabilizar auth, proxy y traducciones del dashboard 2026-05-06 16:57:28 -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
5ac757dbc1 chore: snapshot before development sync 2026-04-24 11:18:06 -05:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
55aa10579f Refactor main.py to streamline imports and enhance FastAPI setup. Introduced UserContextMiddleware for audit logging and added a new register.py file for audit log listener registration, consolidating core and reference data models. 2026-03-18 16:40:03 -05:00
b0cf46104b Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/tablas_nuevas_partes 2026-03-18 11:03:26 -05:00
546b1ea56f Nuevo formulario de extension para partes SCAI con nuevas tablas de aphis con catalogos fijos nuevos 2026-03-18 10:50:36 -05:00
5265ec6849 Merge pull request 'feature/catalogo-pedimento' (#219) from feature/catalogo-pedimento into development
Reviewed-on: ADUANASOFT/anexo76#219
2026-03-18 03:53:00 +00:00
3983c9e4b3 feature/catalogo-pedimento 2026-03-17 16:35:27 -06:00
hreyes
fbbe4370de feature/refactorizacion-tabla-sector 2026-03-17 11:21:28 -06:00
hreyes
8d304fb98b feature/continuacion-vista-tablas-location 2026-03-12 16:17:01 -06:00
hreyes
8cd299609c Merge branch 'development' into feature/catalog-drivers 2026-03-06 10:14:55 -07:00
a77761f2e5 Enmascaramiento y regax para datos sensibles en los agentes aduanales 2026-03-04 10:41:37 -06:00
hreyes
4c781b460a feature/layouts-csv-refact 2026-03-03 16:45:12 -07:00
hreyes
ededff9dce Merge branch 'feature/BOMs-csv' into feature/templates-csv 2026-03-03 10:00:51 -07:00
7ad519968a refactor: Remove create_transportation_tables function and related logic 2026-03-03 09:11:06 -06:00
hreyes
6026132db3 Merge origin/development: resolved conflicts in scripts/init_first_time.sh, backend/api/v1/modules/a76/invoices/services.py, .gitignore and others 2026-02-27 11:46:16 -07:00
cfcf5009fd Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into development 2026-02-26 12:37:29 -06:00
7289947e48 Resolucion de conflictos: Merge feature/boton_ayuda a development 2026-02-26 12:34:38 -06:00
Galindo97
750130ac8e feat: Implement CRUD and UI for transportation entities (vehicles, trailers, and transporters). 2026-02-26 11:40:55 -06:00
hreyes
cde583315b Merge development 2026-02-23 13:12:49 -06:00
hreyes
0683aaa801 feature/csv-for-envoices 2026-02-23 13:05:02 -06:00
f15d40f697 Nuevas funcionalidades y correcciones 2026-02-23 10:54:39 -06:00
63c6b73674 feat: update item import to use LineItem model for consistency in tasks 2026-02-19 12:55:08 -06:00
12c1686514 Merge remote-tracking branch 'origin/development' into feature/items-calculation 2026-02-19 10:41:45 -06:00
af93ad9d8a feat: simplify relationship definitions for FaLineItem in ORM models 2026-02-19 10:35:04 -06:00
62315e5b24 Implementacion de sistema distribuido de boton de ayuda 2026-02-18 14:25:24 -06:00
b94d0ac7fb refactor: restructure item interfaces and update related components
- Renamed LineItem interface to Item and adjusted properties accordingly.
- Updated CreateItemData and UpdateItemData interfaces to reflect new structure.
- Modified components to use the new Item interface, removing nested lines.
- Adjusted data binding in item configuration, main data, and other related components.
- Simplified item creation and editing logic by removing unnecessary nesting.
- Ensured all references to line items are updated to reflect the new structure.
2026-02-18 09:56:50 -06:00
hreyes
56f19bb88f Merge branch development into feature/carga-via-csv 2026-02-17 09:22:19 -06:00
hreyes
91c3f7105b feature/csv-envoices-integration 2026-02-16 17:17:07 -06:00
e6ef5c9094 feat: enhance error handling with custom HTTP exception responses and middleware improvements 2026-02-16 13:18:42 -06:00
dedef1672e refactor: update API endpoints and improve company ID handling in various components 2026-02-13 10:40:24 -06:00
6440b79d28 feat: add ProxyHeadersMiddleware for HTTPS redirects in production 2026-02-13 08:58:07 -06:00
5d7c4019bc fix: update import paths for TariffFraction model to reflect new directory structure 2026-02-12 17:14:53 -06:00
daa520b5fa Add logger initialization for improved logging in FastAPI app 2026-02-11 17:51:41 -06:00
76f857ff69 Merge branch 'feature/record' into development 2026-02-11 17:35:44 -06:00
Galindo97
85ca22e574 feat: Implement dynamic backend URL configuration and streamline logout process by centralizing audit logging. 2026-02-11 16:22:03 -06:00
Galindo97
a594676de7 feat: Implement comprehensive audit logging for authentication events, including login, logout, user agent, and IP address, and add a script for audit verification. 2026-02-11 10:56:43 -06:00
Galindo97
f90e20469a feat: Implement a comprehensive audit log system with a dedicated dashboard page and backend API. 2026-02-10 14:07:20 -06:00
a35ead5021 Merge: Resolver conflictos en client-selector-dialog.svelte 2026-02-09 11:39:21 -06:00
f2005e33a0 Se integro el modulo de manifestacion base 2026-02-06 16:22:04 -06:00
27d9625bd0 Implement automatic versioning and display in the application
- Added a step in the CI/CD pipeline to generate a version based on the branch and commit history.
- Updated Dockerfile to accept the application version as an argument.
- Modified the configuration to retrieve the application version from the environment variable.
- Created a new API endpoint to expose the application version.
- Added a new Svelte component to display the application version in the UI.
2026-02-05 09:58:35 -06:00
4079a0cc0f Refactor database models to use server defaults for boolean and timestamp fields
- Updated `TimestampMixin` to use `server_default` for `created_at` and `updated_at` fields.
- Modified various models in the `fa_classes`, `doc_types_dig`, `ports`, `units_of_measure`, `invoices`, `parts`, `trailers`, `licenses`, `tenants`, and `user_tenant` modules to set `server_default` for boolean fields and other relevant fields.
- Adjusted the `trailer_types` model to change the schema from `a76` to `public`.
- Implemented database migration execution during application startup in `main.py`.
- Removed old Alembic migration execution logic from the entrypoint script.
- Updated seed data for units of measure and removed unused seed files.
2026-01-14 15:54:37 -06:00
3622998e5b feat: update upload path to /api/uploads and improve URL handling in getBackendAssetUrl 2026-01-13 15:44:39 -06:00
c00107d921 feat: Implement user profile management with avatar upload and additional fields
- Added avatar_url, phone, bio, and preferences fields to UserTenant model.
- Updated UserService to handle user profile updates and retrieval.
- Created endpoints for getting and updating the current user's profile.
- Implemented avatar upload functionality with validation in routes.
- Enhanced frontend to manage user profile, including avatar preview and form handling.
- Added server-side logic for loading and updating user profile data.
- Updated .gitignore to include uploads directory.
2026-01-13 12:37:11 -06:00
AlexeerCT
08416d6cad Refactor Part model and related components
- Updated the Part model in models.py to improve readability and maintainability by organizing imports and formatting.
- Enhanced relationships in the Part model for better clarity.
- Modified main.py to streamline imports for parts and related models.
- Adjusted partForm.svelte to correctly reference properties from inv_data and fa_data.
- Updated +page.svelte to fix the import path for DataTable and refine data handling.
- Changed edit/[[id]]/+page.svelte to enforce type safety for the 'type' variable.
2026-01-08 21:12:31 -06:00
AlexeerCT
181648d0cb Merge branch 'feature/invoices' into development 2026-01-08 16:57:13 -06:00
Galindo97
ea0e570678 feat: add fixed asset classes management page and embed functionality
- Implemented a new page for managing fixed asset classes with full CRUD functionality.
- Added filtering options for searching classes by code, description, type, and fraction.
- Integrated dialogs for inserting, editing, and deleting classes with validation.
- Enhanced error handling and user feedback with toast notifications.
- Created an embedded iframe for the fixed asset classes page in the merchandise section.
2026-01-08 16:33:43 -06:00
AlexeerCT
9fe07e78a6 feat: refactor invoice compliance fields to use foreign keys and enhance validation logic 2026-01-06 18:01:26 -06:00