Commit Graph
74 Commits
Author SHA1 Message Date
elordenador df0579dd86 Fix GH Issue #68 2026-05-04 21:59:28 +02:00
elordenador 1022a44f12 Fix GH Issue #65 2026-05-04 19:51:49 +02:00
elordenador bb697d92c6 Fix GH Issue #64 2026-05-04 19:45:47 +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 c190a65e57 Opencore files 2026-05-04 12:25:21 +02:00
elordenador 756f1ad36b Remove entire api for issue #61 2026-04-30 07:43:18 +02:00
elordenador 033c52a365 Fix issue #60 verification code generation 2026-04-30 07:39:14 +02:00
elordenador 297b319a20 Fix issue #59 duplicate reset_password 2026-04-30 07:38:17 +02:00
elordenador 830966f3ee Fix issue #58 not deleting verification code. 2026-04-30 07:37:13 +02:00
elordenador 81d3694210 Solving issue #57 Auth 500 bug 2026-04-30 07:35:28 +02:00
elordenadorandCopilot a2e6e5ad97 refactor: change StaticStorage to inherit from S3Storage instead of S3ManifestStaticStorage
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 09:30:09 +02:00
elordenadorandCopilot 30f260c9bf feat: add support for local asset URLs in S3 storage backends
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 08:12:57 +02:00
elordenador 84d8a0e3b6 Add S3 Storage... 2026-04-28 21:19:32 +02:00
elordenador d8f6838f0c refactor: update Product model to use to_dict for image serialization 2026-04-22 09:52:30 +02:00
elordenador d9d9e5b1a6 refactor: update products endpoint to use to_dict method for consistency 2026-04-22 09:52:20 +02:00
elordenador 501d7aade5 chore: add media directory to .gitignore 2026-04-22 09:52:15 +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
elordenador dc967c114f feat: implement initial API endpoints for product retrieval 2026-04-22 09:15:28 +02:00
elordenador 60cd29ee30 feat: add API URL routing to urlpatterns 2026-04-22 09:15:24 +02:00
elordenador 540b3fdc43 chore: add django-ninja to requirements 2026-04-22 09:15:19 +02:00
elordenador c9e05afbc0 Fix CSS formatting for .texto-ajustado and remove unnecessary comments 2026-04-20 12:43:22 +02: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
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
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
elordenador 7ff014a951 refactor: centralize product cache invalidation logic in _invalidate_product_cache function 2026-04-09 14:20:54 +02:00
elordenador 40f9b1dc43 feat: Update Docs Writer agent constraints and tools for improved documentation process 2026-04-09 11:05:52 +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
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
elordenador 403745daa7 Do some optimization 2026-03-10 16:17:30 +01:00
elordenador a289d14a05 Add whitenoise to middlewares 2026-03-10 14:08:42 +01:00
elordenador 05bb210f62 Improve entrypoint and add whitenoise to deps 2026-03-10 14:05:41 +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 01024bb97e Fix .gitignore entries for __pycache__ directories to ensure proper exclusion 2026-03-10 13:07:48 +01:00
elordenador 02704eed0a Update .gitignore to exclude __pycache__ directories 2026-03-10 13:07:18 +01:00
elordenador 837998862c Add shipping restrictions and update project variable conventions in Copilot instructions 2026-03-10 13:06:30 +01:00
elordenador b110de2652 Add Celery configuration and update requirements.txt 2026-03-10 13:06:21 +01:00
elordenador b63b41b88a Update .gitignore to include .env and logs/ directories 2026-03-10 13:06:11 +01:00
elordenador a24d6ad956 Add example environment configuration file 2026-03-10 13:06:04 +01:00
elordenador f5c4e39ba7 Add all 2026-02-18 10:09:21 +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