Commit Graph

48 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 362a636f5f chore: ajustar acento en categorías tras validación
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/2db304a5-95b5-4161-99c1-ce4d68b014df

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 11:17:32 +00:00
copilot-swe-agent[bot] b0edc7a1f3 fix: mostrar categorias con toggle en diseño móvil
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/2db304a5-95b5-4161-99c1-ce4d68b014df

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 11:14:53 +00:00
copilot-swe-agent[bot] 82376b0aed chore: plan mobile categories toggle fix
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/2db304a5-95b5-4161-99c1-ce4d68b014df

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 11:06:46 +00:00
elordenador c9e05afbc0 Fix CSS formatting for .texto-ajustado and remove unnecessary comments 2026-04-20 12:43:22 +02:00
copilot-swe-agent[bot] 0f9b0b1c63 Ajustar estilos de bienvenida y estadísticas en home
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/fa8e9460-2ed8-43fb-b477-10b487ef1f88

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 10:30:45 +00:00
copilot-swe-agent[bot] f52035abae Plan update before homepage spacing fix
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/fa8e9460-2ed8-43fb-b477-10b487ef1f88

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 10:29:29 +00:00
Daniel (elordenador) 89efe354d2 Merge branch 'latest' into development 2026-04-20 12:23:58 +02:00
copilot-swe-agent[bot] 1770293221 fix: evitar overflow en descripciones largas sin saltos de línea
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/5d4fb379-0cda-4ba0-803a-9110b1433c27

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 08:21:08 +00:00
copilot-swe-agent[bot] 95230df6ac Address review feedback and clean unintended artifacts
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:52:40 +00:00
copilot-swe-agent[bot] 668ac1a129 Fix legal/help template inheritance order
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:49:20 +00: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 3e76782a0c Refactor tests and add comprehensive coverage for User, VerificationCode, Category, Product, StockReservation, Cart, Order, and related models
- Enhanced User model tests with creation, registration status, password hashing, and unique username checks.
- Added extensive tests for VerificationCode model including creation, uniqueness, and relation to User.
- Implemented Category model tests covering creation, uniqueness, and string representation.
- Expanded Product model tests to include creation, default values, VAT calculations, and deletion behavior.
- Introduced StockReservation and StockReservationItem model tests for creation, status checks, and unique constraints.
- Developed Cart and CartItem model tests focusing on creation, total calculations, and item uniqueness.
- Added Order and OrderItem model tests for creation, status management, and string representation.
- Included SavedPaymentMethod and ShippingAddress model tests for creation, default settings, and ordering.
2026-04-20 09:38:54 +02:00
copilot-swe-agent[bot] a2c9bd3999 fix: keep footer at bottom on short pages
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/b935601c-c133-451b-9de5-556afef7178f

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-20 07:18:47 +00:00
elordenador 5aaf38aa54 Update static file storage settings and add migration for unique category names; clean up CSS and HTML structure 2026-04-20 08:10:23 +02: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
Daniel (elordenador) cfc0f833e3 Merge pull request #17 from dsaub/copilot/fix-payment-method-attachment-error
fix: handle Stripe PaymentMethod already-attached error in confirmar_setup_intent
2026-04-10 11:52:10 +02:00
copilot-swe-agent[bot] 623cc8945e Hide register buttons on home page when user is logged in
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/59eddd8a-c067-45a7-9335-d43e3e4938b1

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-10 08:22:38 +00:00
elordenador d4a42e7cf8 Arreglado bug que mostraba los pedidos enviados en el conteo de por enviar... 2026-04-10 10:18:47 +02:00
elordenador b7b7792a9e Added a limit on stock to editar_producto 2026-04-10 10:05:23 +02:00
elordenador 155e80780b Added a limit on stock to crear_producto 2026-04-10 10:03:56 +02:00
copilot-swe-agent[bot] 838e5dd25d fix: handle already-attached Stripe payment method gracefully
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/9a4f463c-0ad0-4552-8b3f-85b3373203b5

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-10 07:49:01 +00:00
Daniel (elordenador) 51abc66eb3 Merge pull request #8 from dsaub/copilot/update-payment-system-to-paypal-and-card
feat: Replace Stripe Checkout with Stripe Elements + PayPal JS SDK v2 (in-page payments)
2026-04-10 09:33:45 +02:00
copilot-swe-agent[bot] ff475ef2dc fix: address code review issues (stack traces, duplicate code, template logic, import alias)
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:21:26 +00: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
copilot-swe-agent[bot] 4ab93edc71 feat: add legal/info pages and update footer with links
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/022418da-7d63-48aa-99d9-dd4257314523

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-09 19:09:48 +00:00
elordenador 7ff014a951 refactor: centralize product cache invalidation logic in _invalidate_product_cache function 2026-04-09 14:20:54 +02:00
copilot-swe-agent[bot] 2e0ebdeeb2 Fix stock display bug: invalidate Redis product cache on stock changes
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/96ec0a57-b92c-4200-be0c-c991880a939c

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-09 10:32:47 +00:00
elordenador cbcdb823db feat: Add stock management features including stock reservations and updates to cart and checkout processes 2026-04-09 10:03:57 +02:00
elordenador 618c65accb feat: Implement stock reservation management in cart and order creation 2026-04-09 08:51:18 +02:00
elordenador a3eae63587 feat: Add transaction code generation for orders and update receipt templates 2026-04-09 08:51:12 +02:00
elordenador a570c542c2 feat: Implement StockReservation model and enhance Order model with transaction code generation 2026-04-09 08:51:03 +02:00
elordenador 7f2dea901d feat: Register StockReservation model and enhance OrderAdmin with transaction_code 2026-04-09 08:50:57 +02:00
elordenador 0e52011980 fix: Change alignment of 'RECIBO DE PAGO' header to right in PDF receipt 2026-03-24 08:31:36 +01:00
elordenador d54e9a6ed5 fix: Adjust header alignment and footer content in PDF receipt generation 2026-03-24 08:06:37 +01:00
elordenador 4c360655c1 Add Roboto font family and update PDF generation to use custom fonts
- Added Roboto font files to the Docker image and specified their location.
- Updated the PDF generation code to use the Roboto font instead of Arial.
- Enhanced the PDF output by including additional font styles (Bold, Italic, etc.) for better formatting.
- Created a new directory for fonts in the Docker container to manage font files effectively.
2026-03-23 11:53:22 +01:00
Daniel (elordenador) 328fe9f985 feat: Implement PDF receipt generation and email sending for purchases 2026-03-23 08:19:14 +00:00
elordenador 062892fb29 feat: Enhance accessibility and improve navbar styles in base.html 2026-03-21 12:20:40 +01:00
elordenador 6f9cb34b6c feat: Add Password recuperation logic
Added:
- Phase 1 Template + Logic
- Phase 2 Template + Logic
2026-03-20 11:32:54 +01:00
elordenador 351c9cd955 feat: remove unused images and update email functionality
- Deleted multiple unused image files from the static media directory.
- Enhanced email sending functionality by adding a new method `send_hemail` for sending HTML emails.
- Updated the `enviar_correo_bienvenida` task to use the new HTML email method.
- Added a new RGPD (General Data Protection Regulation) privacy policy page template.
- Updated URL routing to include the new RGPD page.
- Added a view function for rendering the RGPD page.
2026-03-20 09:18:02 +01:00
elordenador d6feeee893 Add Nginx configuration, update MEDIA_ROOT path, and enhance email confirmation task 2026-03-20 09:17:01 +01:00
elordenador c6b3bca910 Add preload and noscript support for Bootstrap CSS in base template 2026-03-11 11:27:43 +01: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 952ed5d76e Update CSS optimization (using CDN for bootstrap) and mysql compat 2026-03-11 09:51:25 +01:00
elordenador 403745daa7 Do some optimization 2026-03-10 16:17:30 +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