ncoronel
daa74845b7
feat(purchase): add expiration time calculations to PurchaseResource and implement related tests
2026-08-27 10:06:42 -03:00
ncoronel
c51e24311f
Squashed commit of the following:
...
commit cd99a6489b
Merge: ebcbbb1 e63a036
Author: ncoronel <ncoronel@quo.ar>
Date: Wed Aug 26 10:12:44 2026 -0300
Merge branch 'fix/simplify_stock_reservations' of https://gitea.quo.ar/tbianchini/shopit-back into fix/simplify_stock_reservations
commit ebcbbb1774
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:33:39 2026 -0300
fix(cart): reconcile expired cart mutations
commit 3dd378ed06
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:10:15 2026 -0300
docs(stock): describe associated entity expiration
commit 4f705175bd
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:10:14 2026 -0300
test(stock): cover propagated reservation expiration
commit 82570fe941
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:09:52 2026 -0300
refactor(stock): propagate reservation expiration
commit d2a2b323e0
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:47 2026 -0300
docs(stock): document terminal reservation recovery
commit ec67623b7b
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:47 2026 -0300
test(stock): cover terminal reservation lifecycle
commit f6f138e180
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:41 2026 -0300
refactor(stock): make expired reservations terminal
commit d612b7a118
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:30 2026 -0300
docs(stock): describe unified expiration ownership
commit 49f42d4507
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:23 2026 -0300
test(stock): cover authoritative reservation expiration
commit 1881cc1d4b
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:17 2026 -0300
refactor(stock): make reservation expiration authoritative
commit 00ec37d8a0
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:34 2026 -0300
docs(stock): document centralized reservation flow
commit d9f374c718
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:29 2026 -0300
test(stock): cover aggregate reservation lifecycle
commit bbfdf8f342
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:23 2026 -0300
refactor(stock): centralize reservation aggregate
commit 8a0f29bdae
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:33:39 2026 -0300
fix(cart): reconcile expired cart mutations
commit 198ed400a9
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:10:15 2026 -0300
docs(stock): describe associated entity expiration
commit 23d83166e6
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:10:14 2026 -0300
test(stock): cover propagated reservation expiration
commit cb090402d0
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:09:52 2026 -0300
refactor(stock): propagate reservation expiration
commit c120b6f7c0
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:47 2026 -0300
docs(stock): document terminal reservation recovery
commit 1106fa28b4
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:47 2026 -0300
test(stock): cover terminal reservation lifecycle
commit 896fb81bcf
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:41 2026 -0300
refactor(stock): make expired reservations terminal
commit 8545fbc645
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:30 2026 -0300
docs(stock): describe unified expiration ownership
commit dd6dcb708a
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:23 2026 -0300
test(stock): cover authoritative reservation expiration
commit 624b246ff5
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:17 2026 -0300
refactor(stock): make reservation expiration authoritative
commit 007b95b904
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:34 2026 -0300
docs(stock): document centralized reservation flow
commit 0b3c8c93be
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:29 2026 -0300
test(stock): cover aggregate reservation lifecycle
commit ede718e448
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:23 2026 -0300
refactor(stock): centralize reservation aggregate
commit e63a03601a
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:33:39 2026 -0300
fix(cart): reconcile expired cart mutations
commit 389373ad8c
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:10:15 2026 -0300
docs(stock): describe associated entity expiration
commit ace02a3133
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:10:14 2026 -0300
test(stock): cover propagated reservation expiration
commit d69a6210f6
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 16:09:52 2026 -0300
refactor(stock): propagate reservation expiration
commit 3c0b43fea3
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:47 2026 -0300
docs(stock): document terminal reservation recovery
commit 9b0008626b
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:47 2026 -0300
test(stock): cover terminal reservation lifecycle
commit 61861e331a
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:58:41 2026 -0300
refactor(stock): make expired reservations terminal
commit 2cc9d7dd97
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:30 2026 -0300
docs(stock): describe unified expiration ownership
commit f982bcead1
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:23 2026 -0300
test(stock): cover authoritative reservation expiration
commit 7a85e1731d
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:28:17 2026 -0300
refactor(stock): make reservation expiration authoritative
commit 6db99e775a
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:34 2026 -0300
docs(stock): document centralized reservation flow
commit e5f7ba3615
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:29 2026 -0300
test(stock): cover aggregate reservation lifecycle
commit 24bfef431b
Author: ncoronel <ncoronel@quo.ar>
Date: Tue Aug 25 15:05:23 2026 -0300
refactor(stock): centralize reservation aggregate
2026-08-27 10:06:41 -03:00
ncoronel
bbe3cf82f5
feat(bootstrap): expose website type favicon
2026-08-26 14:37:25 -03:00
ncoronel
dc33e5dc09
fix: consolidate purchase confirmation emails
2026-08-26 11:29:53 -03:00
ncoronel
d0424c5589
feat(notification): enhance email logging and refactor event handling to use scalar identifiers
2026-08-26 09:38:19 -03:00
ncoronel
bf02d37a33
feat(sales): add Excel exports
2026-08-25 11:37:53 -03:00
ncoronel
87a4fa6288
feat(catalog): add group_order field to catalog items and update related logic
2026-08-25 10:45:12 -03:00
ncoronel
6b06028771
fix(sales): render PDFs in client timezone
2026-08-24 16:42:38 -03:00
ncoronel
0aa423e90e
feat(sales): validate PDF timezone parameter
2026-08-24 16:42:38 -03:00
ncoronel
80a02fdc52
feat(sale): add changed_at serialization to SaleModificationResource
2026-08-24 16:12:55 -03:00
ncoronel
1dd2366957
feat(catalog): expose product unavailability messages
2026-08-21 16:47:15 -03:00
ncoronel
5548fe8511
feat(purchase): restore in-review transfer lifecycle
2026-08-21 16:15:55 -03:00
ncoronel
afd69b8393
feat(checkout): track current cart purchase
2026-08-21 14:05:33 -03:00
ncoronel
a34d5cba1a
test(sale): require purchase item snapshots
2026-08-21 13:42:30 -03:00
ncoronel
cb56e33685
fix(purchase): unify expired checkout errors
2026-08-21 08:58:51 -03:00
ncoronel
9c46eff880
feat: add checkout editing policy to tenants and update related logic across services and resources
2026-08-20 12:38:22 -03:00
ncoronel
a2c5e687f9
feat(logging): record reservation cleanup attempts
2026-08-19 14:17:05 -03:00
ncoronel
1dc4e29c69
refactor(reservations): unify expiration command
2026-08-19 13:58:03 -03:00
ncoronel
a8973f6171
feat: separate tenant domain and base path, update related models, requests, and tests
2026-08-18 17:23:01 -03:00
ncoronel
c1bfab471c
feat(bootstrap): update tenant bootstrap endpoint to accept domain and path as query parameters, enhancing tenant resolution logic
2026-08-14 15:17:24 -03:00
ncoronel
573d4fe5e6
Refactor ticket validity handling and improve tests
...
- Updated tests for Accommodation, Entry, Food, Merchandise, and Sale controllers to use soft deletes for variants and ensure proper inventory counts.
- Enhanced ticket generation logic to resolve validity from soft-deleted catalog sources.
- Introduced a new TicketValidityResolver service to manage ticket validity based on event dates and variant definitions.
- Removed unnecessary database assertions and improved the clarity of validity checks in tests.
- Added comprehensive tests for the new TicketValidityResolver service, ensuring correct handling of event dates and multi-select options.
- Cleaned up unused code and assertions in existing tests for better maintainability.
2026-08-14 09:00:51 -03:00
ncoronel
e33ebf0af1
feat(auth): implement admin app password reset attempt functionality
2026-08-13 12:15:14 -03:00
ncoronel
97995ae728
feat(catalog): replace selectionOptions with selectorOptions to filter hidden attributes
2026-08-13 08:30:03 -03:00
ncoronel
a12b3dd0c8
feat(purchase): refactor imports and add test for InsufficientStockException handling
2026-08-12 15:22:19 -03:00
ncoronel
8e94cf7856
feat(inventory): add InventorySubject enum and integrate into catalog item management
2026-08-12 14:42:30 -03:00
ncoronel
36c1c185ee
feat(layouts): add 'Single' layout option to GroupLayout and update related functionality
2026-08-12 11:09:11 -03:00
ncoronel
02cf3f3773
Add tests for ticket validity and event date formatting
...
- Create TicketValiditySchemaTest to verify database schema for ticket validity.
- Update CatalogModelsTest to include tests for event date attributes and selection options.
- Introduce EventDateTextFormatterTest for formatting event dates in Spanish.
- Refactor EventModelsTest to include validity time relationships.
- Add SaleDetailResourceTest to ensure correct serialization of purchase items.
- Enhance TicketTest with validity time checks and status management.
- Implement ValidityTimeResourceTest to validate resource output for different validity types.
- Add ValidityTimeTest to verify casting and validity checks for validity time types.
2026-08-11 12:41:35 -03:00
ncoronel
b294e5c46e
Merge branch 'fix/correcciones_secundarias' into dev
2026-08-05 10:28:59 -03:00
ncoronel
ee911171be
fix(variant): simplify getName method and add test for variant without catalog attributes
2026-08-05 09:18:12 -03:00
ncoronel
e17d1fa15e
feat: Add scanner user association to tickets; update Ticket model, resource, migration, and tests
2026-08-05 09:17:09 -03:00
ncoronel
84e45bb964
feat: Introduce source type for featured groups; add category association and implement FeaturedGroupService for item sourcing
2026-08-04 13:17:00 -03:00
ncoronel
8aa3a26ee7
feat: Add event association to purchases; implement event relationship in models, update migration, and enhance tests
2026-08-04 11:45:03 -03:00
ncoronel
1de08c1ca4
feat: Implement sale management features including controllers, services, resources, and routes; add PDF generation for sales and modifications
2026-08-04 11:44:13 -03:00
ncoronel
3f9bcd84c4
feat: Add tenant code to value changes; implement PurchaseController and related services for tenant-specific purchase management
2026-08-04 10:27:33 -03:00
ncoronel
c4b317d5fc
feat: Implement value change logging functionality with models, traits, and migration; add tests for logging behavior and value change mapping
2026-08-03 15:43:50 -03:00
ncoronel
3b36abd46d
feat: Refactor event form functionality by removing social media data from AdminAppBootstrapResource and AdminAppBootstrapService; add EventFormController, EventFormResource, and EventFormService; implement routes and tests for event form
2026-08-03 14:02:08 -03:00
ncoronel
12697c2268
feat: Refactor bootstrap functionality by adding AdminApp and Tenant controllers, requests, resources, and services; remove deprecated event form components
2026-08-03 13:37:37 -03:00
ncoronel
c3713c62a6
feat: Add event management to tenant and catalog
...
- Introduced Event and EventDate models with relationships to Tenant and CatalogItem.
- Added active_event_id to Tenant model to track the currently active event.
- Updated TenantResource to include active event details in the response.
- Enhanced Ticket model to link to CatalogItem and Variant, allowing for event-specific ticketing.
- Implemented migrations to create events and link them to catalog items and variants.
- Updated seeders to populate events and their associated dates for the Fiesta Futbol Infantil tenant.
- Modified Ticket generation logic to respect event dates over standard ticket dates.
- Added tests for event and ticket functionalities, ensuring proper relationships and date handling.
2026-08-03 12:01:20 -03:00
ncoronel
f603a82b5e
feat(website-type): implement BootstrapWebsiteTypeController and related request/resource for domain-based bootstrapping
2026-07-31 13:39:31 -03:00
ncoronel
aa4f3303fc
feat(variants): add minimum and maximum use dates to variants and update related logic
2026-07-27 14:59:07 -03:00
ncoronel
c37b8894e4
Forgot password flow
2026-07-27 09:43:00 -03:00
ncoronel
1438ff66c7
feat(catalog): add GroupLayout enum and integrate into FeaturedGroup model, migrations, and seeders
2026-07-23 13:22:22 -03:00
ncoronel
38f74739da
feat(ticket): add source IDs to tickets and update related services and tests
2026-07-21 12:27:26 -03:00
ncoronel
a928a2e848
feat(ticket): implement ticket generation service, model, and exception handling with tests
2026-07-21 11:20:52 -03:00
ncoronel
29a2ca19a3
refactor(catalog): Complete catalog refactor to simplify its data model and its querying.
...
source commits: refactor/catalog
2026-07-21 09:23:19 -03:00
ncoronel
10157d7c63
feat: Implement inventory policy for product variants
...
- Introduced InventoryPolicy enum to manage tracked and unlimited inventory types.
- Updated ProductVariant model to include inventory_policy and cantidad_vendida attributes.
- Modified addItem and updateItem methods in Cart to check available quantity based on inventory policy.
- Added migration to include inventory_policy and cantidad_vendida in productos_variantes table.
- Enhanced tests to validate inventory behavior for both tracked and unlimited policies.
- Updated various request and resource classes to handle new inventory fields.
2026-07-16 08:36:59 -03:00
ncoronel
02ebe0f0ca
initial commit
2026-06-18 10:09:24 -03:00