Commit Graph

596 Commits

Author SHA1 Message Date
71e9a6e916 Remove unit tests for FacturaCoveDomainService related to VU configuration validation 2026-04-13 18:35:58 -05:00
8f4fd7ee90 feature/correcion-hash 2026-04-13 15:57:40 -06:00
233da55f40 feature/COVE-api-email-selector 2026-04-13 14:12:25 -06:00
07dd69a28a Merge branch 'feature/table-invoice' into feature/API-COBE 2026-04-13 13:51:01 -06:00
847180e800 Merge branch 'development' into feature/API-COBE 2026-04-13 13:44:20 -06:00
6eb4bbb149 Merge development into feature/table-invoice 2026-04-13 11:53:03 -06:00
0b57742024 feature/catalog-fixed-fix-styles 2026-04-10 11:08:02 -06:00
55821e69e5 feature/upgrade-styles-pediment 2026-04-08 07:16:59 -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
15dd7c6225 Merge branch 'feature/API-COBE' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/API-COBE 2026-04-07 14:56:39 -06:00
9d8d27a9d0 fix/variable-encriptado 2026-04-07 14:55:55 -06:00
5fc801f638 Merge branch 'development' into feature/API-COBE 2026-04-07 14:28:40 -05:00
3e97106a5a Se pusieron todos los parametros adcuadamente de facturas 2026-04-07 14:27:58 -05:00
2e529a0026 feature/botones-vu-more-actions 2026-04-07 12:30:32 -06:00
4e08abafb8 merge-conflic-fix 2026-04-07 08:21:16 -06:00
df4024436b checkpoint 2026-04-07 08:15:02 -06:00
cc3942bbd7 feature/recive-respuesta-de-vucem 2026-04-06 15:53:25 -06:00
ad4fded2ce Todos los parametros de SCAI montadas y con su sistema CRUD 2026-04-06 16:03:27 -05:00
fe74481786 feature/api-cove-integration 2026-04-06 13:52:33 -06:00
0c25572d70 feature/correcion-al-borrar-datos-borrar-tambien-del-bucket 2026-04-06 08:13:01 -06:00
1355bf34c4 feature/file-manager-user-only-read 2026-04-06 07:43:43 -06:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
4bc38b691f Add APP_VERSION handling in Dockerfile and config.py
Updated the Dockerfile to include an ARG and ENV for APP_VERSION, allowing for version specification during build time. Modified config.py to set a default APP_VERSION, which can be overridden by the environment, enhancing flexibility for deployment and runtime configuration.
2026-04-02 11:31:00 -05:00
309a26bf8f Refactor sort_order parameter in tenant and invoice routes to use 'pattern' instead of 'regex' for validation. This change enhances consistency across the API query parameters. 2026-04-02 08:36:16 -05:00
78c534df10 Add models for transportation in test configuration
Updated the test configuration file to include imports for Trailer, Transporter, and Vehicle models from the transportation module, enhancing the testing capabilities for related functionalities.
2026-04-02 08:32:08 -05:00
3cdb227ccc Merge branch 'development' into fix/filtro_facturas 2026-04-02 08:19:51 -05:00
1a01757c63 Merge branch 'development' into feature/validaciones-invoices-transports 2026-04-01 13:42:49 -06:00
e8b4cbd377 checkpoint 2026-04-01 13:40:46 -06:00
a297592d84 Correcion del CRUD 2026-03-31 10:57:51 -05:00
6dea5b4a23 Merge branch 'development' into current branch and resolve modify/delete conflict in items-tab-form.svelte 2026-03-31 10:14:59 -05:00
4541629b3f Parametros generales SCAII, con endpint y con la mayoria de pestanias hechas y funcionalaes 2026-03-30 13:05:21 -05:00
61633fd969 Merge pull request 'feature/columnas_ordenamiento' (#259) from feature/columnas_ordenamiento into development
Reviewed-on: ADUANASOFT/anexo76#259
2026-03-30 14:50:10 +00:00
a08a62bc31 feature/alineacion-validaciones-carga-csv-con-manual-invoices 2026-03-27 14:57:38 -06:00
7a029307a8 feature/validaciones-invoices-transortes 2026-03-27 12:56:47 -06:00
b477233245 feature/migraciones-id-transportes 2026-03-27 09:32:59 -06:00
183a6f3348 correcion de saldos temporales 2026-03-27 09:50:47 -05:00
d93c4c6b7b Mecanismo sort para tablas 2026-03-27 08:45:51 -05:00
9255dbc6b2 Se arreglo los filtros de facturas 2026-03-26 09:07:28 -05:00
26977b881a Merge branch 'development' into feature/table-celery-tasks 2026-03-25 07:15:31 -06:00
85247e2713 fix/quitar-dato-empresa 2026-03-25 07:12:22 -06:00
a6c5abbe4c Enhance invoice validation logic to support existing invoices
- Updated the `validate_common` function to accept an optional `existing_invoice` parameter, allowing for more robust validation when updating invoices.
- Introduced a new helper function, `_normalize_invoice_currency_value`, to standardize currency code handling.
- Adjusted currency validation logic to ensure proper handling of existing invoice data, preventing changes to currency types when associated line items exist.
- Modified the `validate_update` functions in both imports and exports to pass the `existing_invoice` parameter, ensuring consistent validation across different update scenarios.
2026-03-24 18:52:53 -05:00
28de77e50b Refactor Alembic migration for index management and column type update
- Simplified the index drop and creation logic in the `upgrade` and `downgrade` functions by removing the unnecessary existence check for the `carta_porte_codes` table.
- Updated the `iva_factor` column type in the `invoice_financials` table from VARCHAR to Numeric, enhancing data integrity.
- Improved the overall clarity and efficiency of the migration script.
2026-03-24 18:05:24 -05:00
c565696242 feature/limpieza-periodica 2026-03-24 16:58:48 -06:00
06b3b20fd8 Refactor test setup to utilize ephemeral tenant IDs
- Introduced a new fixture, `test_tenant`, to allocate ephemeral tenant and company IDs for tests, reducing conflicts with real data.
- Updated various test functions to use the new `test_tenant` fixture, ensuring consistent tenant ID usage across tests.
- Enhanced the `ensure_tenant_company` function to accept dynamic tenant and company IDs, improving flexibility in test scenarios.
- Adjusted database interaction in tests to utilize the ephemeral IDs, streamlining the setup process and enhancing isolation.
2026-03-24 17:24:01 -05:00
309835be8c Enhance SQLAlchemy URL validation in Alembic environment
- Added a new function to reject documentation placeholder hosts in database URLs, improving error handling for misconfigurations.
- Updated the `get_database_url` function to incorporate this new validation, ensuring that users are alerted when using "host" as a placeholder.
- Enhanced error messages to provide clearer guidance on valid host configurations.

These changes aim to improve the robustness and clarity of database connection handling in the application.
2026-03-24 15:41:47 -05:00
2cd6b165d7 Enhance database URL validation in Alembic environment
- Introduced a new validation function for SQLAlchemy URLs to ensure proper formatting and provide clearer error messages.
- Updated the `get_database_url` function to include checks for both `TEST_DATABASE_URL` and `DATABASE_URL`, improving flexibility in configuration.
- Removed the previous URL scheme validation in favor of the new validation method, streamlining the error handling process.

These changes aim to improve the robustness and clarity of database connection handling in the application.
2026-03-24 15:39:53 -05:00
18e4477bf1 Add TEST_DATABASE_URL to configuration settings
- Introduced a new configuration variable, TEST_DATABASE_URL, to specify the test database connection string.
- This addition enhances the flexibility of database handling, particularly for testing scenarios, aligning with recent improvements in database URL management.
2026-03-24 15:35:13 -05:00
a3ba317d2c Enhance database URL handling in Alembic environment
- Added a new helper function to strip unwanted characters from environment variable URLs, improving the normalization process.
- Updated the `get_database_url` function to validate the database URL scheme and provide clearer error messages for misconfigurations.
- Expanded the environment variable checks to include `DATABASE_URL`, enhancing flexibility for different deployment scenarios.

These changes aim to improve the robustness and clarity of database connection handling in the application.
2026-03-24 15:32:49 -05:00
4b2a3da611 Refactor database URL handling in Alembic environment
- Introduced a new function to normalize database URLs for Alembic, ensuring compatibility with different PostgreSQL drivers.
- Updated the `get_database_url` function to prioritize the use of the `TEST_DATABASE_URL` environment variable for CI and testing scenarios.
- Enhanced error messaging to clarify configuration requirements for database connections.

This change aims to improve the flexibility and reliability of database connections in the testing environment.
2026-03-24 15:28:41 -05:00