Commit Graph

76 Commits

Author SHA1 Message Date
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
elordenador 8f70125d3a chore: update actions/checkout to version 6 2026-04-20 09:29:47 +02:00
elordenador 693de66117 chore: downgrade Docker actions to version 4 for compatibility 2026-04-20 09:29:04 +02:00
elordenador e150e8e5e7 fix: sanitize branch name for Docker image tags 2026-04-20 09:27:01 +02:00
elordenador f89116ca2e chore: update Docker actions to latest versions 2026-04-20 09:25:39 +02:00
Daniel (elordenador) 8f4e443b18 Merge pull request #19 from dsaub/copilot/set-footer-to-bottom-screen
Ajustar footer para comportamiento sticky solo en páginas cortas
2026-04-20 09:23:57 +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 e8aa6d18c2 Add testing job to GitHub Actions workflow for Docker image build 2026-04-20 08:25:55 +02:00
elordenador 20ebd472f3 Add GitHub Actions workflow for building and pushing Docker images 2026-04-20 08:18:51 +02: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 e3f492ded5 Refactor Dockerfile and entrypoint script; add Makefile for build and test commands 2026-04-20 08:10:12 +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
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