Commit Graph

25 Commits

Author SHA1 Message Date
elordenador 848a49c92d feat: add BlankToNoneCharField for handling empty strings in models and update Cart model to use it
fix: update view functions to require appropriate HTTP methods
2026-05-26 11:48:04 +02:00
elordenador 2024e2f90c fix: update session_key fields in Cart, Order, and StockReservation models for consistency 2026-05-26 10:29:06 +02:00
elordenador f129b0462a fix: permitir valorar si el usuario tiene cualquier OrderItem del producto 2026-05-08 13:53:56 +02:00
elordenador 40f0ef8ea5 feat: añadir modelo Review para valoraciones de productos 2026-05-08 13:32:33 +02:00
elordenador bf39724837 Fix security issues: image validation, email masking, quantity limits, min length
- #76: Add file type validation for product images (Media severity)
- #75: Mask emails in audit logs to prevent information leakage (Media severity)
- #74: Add max value validator to quantity fields (Low severity)
- #73: Add min length validation to password fields (Low severity)
2026-05-08 13:24:54 +02:00
elordenador a50cadc873 Finish Form Rewrite 2026-05-08 09:43:19 +02:00
elordenador 56286c2fd9 Add limit to briefdesc and description on Product model, for issue #73 2026-05-07 08:01:46 +02:00
elordenador 6be67a9100 Add SKU field to Product model (issue #67) 2026-05-05 09:01:24 +02:00
elordenador bee360dfbb Fix POSTGRES_ENABLED check in ShippingAddress.clean() (issue #66) 2026-05-05 08:52:02 +02:00
elordenador a20a61be82 Add postal code validation to ShippingAddress model (issue #66) 2026-05-05 08:46:34 +02:00
elordenador d75165e31a Arreglar el bug de posiblemente creator y primary_image este en None... 2026-05-04 12:31:49 +02:00
elordenador 6ed4fb1954 Remove punctuation Signs so we generate 'url-safe' codes 2026-05-04 12:30:09 +02:00
elordenador 033c52a365 Fix issue #60 verification code generation 2026-04-30 07:39:14 +02:00
elordenador d8f6838f0c refactor: update Product model to use to_dict for image serialization 2026-04-22 09:52:30 +02:00
elordenador 7d3cff0bd9 refactor: rename __dict__ methods to to_dict for consistency in models 2026-04-22 09:22:20 +02:00
elordenador 3cbca38c32 feat: add __dict__ method to models for JSON serialization 2026-04-22 09:15:32 +02:00
copilot-swe-agent[bot] 2b6d6ed642 Add exhaustive endpoint test suite
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/e596d554-92ce-4f30-95b7-bcb209573c48

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 07:47:42 +00:00
elordenador 987466e11d Fix data 2026-04-16 10:20:45 +02:00
elordenador 4a3f5a8025 Changed to Postgres 2026-04-16 10:17:54 +02:00
copilot-swe-agent[bot] 233e42c14e feat: implement new payment system with Stripe Elements and PayPal JS SDK
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/09bd2b8f-753c-4431-816f-eba20606d5a0

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-10 06:17:54 +00:00
elordenador a570c542c2 feat: Implement StockReservation model and enhance Order model with transaction code generation 2026-04-09 08:51:03 +02:00
elordenador f7e658da7b Enhance entrypoint script with sleep for MySQL readiness, update VerificationCode model to use CharField, and add responsive logo images in base template. 2026-03-11 10:13:46 +01:00
elordenador 162b63cae9 feat: Add user purchase and receipt management
- Implemented 'Mis Compras' and 'Mis Recibos' pages for users to view their orders and payment receipts.
- Enhanced address validation in 'editar_direccion.html' to ensure cities and postal codes belong to Almería.
- Added shipping address display in seller order details on 'pedidos_vendedor.html'.
- Updated user portal to include links to purchases and receipts.
- Introduced email verification functionality during user registration.
- Refactored email sending utility for better error handling and logging.
- Improved session management for checkout processes with selected shipping addresses.
2026-03-10 13:08:10 +01:00
elordenador c4fdd13f49 Add those files 2026-02-17 09:53:44 +01:00
elordenador 5a22d3abae first commit 2026-02-15 09:23:44 +01:00