Commit Graph

163 Commits

Author SHA1 Message Date
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
Daniel (elordenador) bea84e942e Merge pull request #16 from dsaub/copilot/fix-home-page-register-buttons
Hide register buttons on home page for authenticated users
2026-04-10 10:25:03 +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
copilot-swe-agent[bot] a9ea893d80 Initial plan 2026-04-10 08:21:02 +00:00
Daniel (elordenador) a45ab44152 Merge pull request #15 from dsaub/issue-13
Fix order count for pending shipments
2026-04-10 10:20:09 +02:00
elordenador d4a42e7cf8 Arreglado bug que mostraba los pedidos enviados en el conteo de por enviar... 2026-04-10 10:18:47 +02:00
Daniel (elordenador) bbe6ddc0db Merge pull request #14 from dsaub/issue-11
Fix stock limit 500 error issue.
2026-04-10 10:07:57 +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
Daniel (elordenador) e3444aa912 Merge pull request #7 from dsaub/latest
Implement stock management, PDF generation, and enhance documentation
2026-04-10 08:04:05 +02:00
Daniel (elordenador) edd78b0bf2 Merge pull request #6 from dsaub/copilot/add-legal-pages-to-footer
Add informational/legal pages and restructure footer with real links
2026-04-10 07:59:32 +02: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
Daniel (elordenador) 0dd02236e3 Merge pull request #5 from dsaub/copilot/documentar-funciones-tienda-views-again
docs: document all functions in tienda/views.py
2026-04-09 13:07:54 +02:00
Daniel (elordenador) c71411fdd5 Merge pull request #4 from dsaub/copilot/fix-stock-availability-bug
Fix stale Redis cache causing buyers to see zero stock despite available inventory
2026-04-09 12:39:13 +02:00
copilot-swe-agent[bot] ed92991872 docs: add full documentation for all functions in tienda/views.py
Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/49df17c8-213a-4e23-adfe-465a0104f6a3

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
2026-04-09 10:35:28 +00: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
copilot-swe-agent[bot] 664a0e4f29 Initial plan 2026-04-09 09:22:10 +00:00
Daniel (elordenador) 47ea00c822 Merge pull request #2 from dsaub/development
feat: Update Docs Writer agent constraints and tools for improved doc…
2026-04-09 11:07:07 +02:00
elordenador 40f9b1dc43 feat: Update Docs Writer agent constraints and tools for improved documentation process 2026-04-09 11:05:52 +02:00
Daniel (elordenador) 6ec24f080b Merge pull request #1 from dsaub/development
Implement stock management, PDF generation, and accessibility updates
2026-04-09 10:52:11 +02:00
elordenador 3b99b9c136 feat: Update Docs Writer agent constraints to specify usage of Python files from tienda/ 2026-04-09 10:40:50 +02:00
elordenador 0ac39813c8 feat: Add Docs Writer agent for creating and updating Markdown documentation 2026-04-09 10:39:35 +02: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 40cd93fbef docs: Update Copilot instructions to include virtual environment setup guidance 2026-04-09 08:50:39 +02:00
elordenador fe5bcbb776 feat: Add service script for managing Docker containers on remote hosts 2026-04-09 08:50:29 +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
Daniel (elordenador) 260d8cf290 feat: Add fpdf2 dependency to requirements.txt 2026-03-23 08:19:06 +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 2439916d14 Fix task autodiscovery by re-importing tienda tasks in celery.py 2026-03-20 09:17:16 +01:00
elordenador 500832f56a Update requirements.txt to specify mysqlclient version and add Jinja2 and MarkupSafe dependencies 2026-03-20 09:17:11 +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 25f9a9d668 Add proxy support 2026-03-10 16:43:11 +01:00