27 Commits

Author SHA1 Message Date
af16af03f8 Make home button filters configurable
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
2026-06-16 09:56:11 +02:00
c8e65146ec Fix home button routes and login redirects
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
2026-06-16 09:50:32 +02:00
3d356c7d6a feat: add price filter and dynamic slider to catalog
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
- Implemented JavaScript-based price slider for catalog filtering
- Updated catalog views to handle min/max price inputs and compute slider bounds
- Enhanced templates (`index.html`, `side-bar.html`) with filtering form and updated URLs
- Added CSS for price slider styling and form layout
- Introduced utility functions for URL building and price parsing
- Expanded tests for price filtering, sliders, and sidebar active states
- Updated context processor and header for dynamic navigation with price filters
2026-05-16 11:12:24 +02:00
29d8302a4f feat: add favorites feature for users
All checks were successful
Build and Push Docker Image / build (push) Successful in 51s
- Implemented `Favorite` model with unique user-item constraint and timestamped records
- Added `favorites:index` and `favorites:toggle` views with AJAX support for toggling favorites
- Built templates and front-end assets for the favorites page and integration with item grids
- Extended header with favorites link and dynamic counter
- Added tests covering models, views, and templates for the favorites functionality
- Updated admin to enable management of favorites via Django admin interface
2026-05-10 20:06:12 +02:00
812065a34b serve media previews
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
2026-04-30 16:07:49 +02:00
bb321dfa22 feat: add item images, product detail page, and gallery support in catalog
All checks were successful
Build and Push Docker Image / build (push) Successful in 45s
- Added `ItemImage` model with migration for image handling and metadata
- Implemented product gallery in `detail.html` with thumbnails for additional images
- Updated `Item` model to include `primary_image` property for gallery logic
- Enhanced `catalog/index.html` to support item thumbnails
- Updated `catalog.css` for responsive gallery and item list styling
- Extended catalog views to prefetch images for efficient queries
- Added comprehensive tests for catalog and detail views
- Configured Django to serve media files in development
- Updated admin with inline support for managing `ItemImage` entities
2026-04-26 21:55:32 +02:00
d0651274d6 feat: add custom authentication backend to support login with email or username
All checks were successful
Build and Push Docker Image / build (push) Successful in 28s
- Implemented `EmailOrUsernameBackend` to allow authentication via email or username
- Updated settings to include the new authentication backend
- Modified tests to cover email-based login scenarios
- Fixed user lookup logic in forms to handle case-insensitive email matching
2026-04-21 18:09:52 +02:00
dab33a03a1 feat: add favicon support with SVG response and update templates and tests
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Implemented a `favicon` view to serve a custom SVG favicon
- Added `favicon.ico` route to `urls.py`
- Updated `base.html` to include favicon link tag
- Suppressed specific Django ASGI warnings in DEBUG mode
- Added unit tests to verify favicon behavior and response
2026-04-21 17:56:12 +02:00
c4eb40f265 feat: add navigation context processor and update header template
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Created `navigation` context processor to manage `active` context
- Integrated the processor into Django settings
- Simplified `header.html` by removing `{% with %}` for `active` management
2026-04-21 17:27:12 +02:00
3838fa2480 fix: avoid cached static hash urls
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
2026-04-21 12:44:47 +02:00
bba8fdf2a2 fix: normalize coolify host env
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
2026-04-21 12:26:14 +02:00
78f3e0f184 fix: relax whiteNoise manifest strictness
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
2026-04-21 12:19:49 +02:00
aa705be81a feat: add configurable log level
All checks were successful
Build and Push Docker Image / build (push) Successful in 24s
2026-04-21 10:36:25 +02:00
fa7a27ae38 fix Coolify host env handling
All checks were successful
Build and Push Docker Image / build (push) Successful in 41s
2026-04-21 08:58:37 +02:00
ffacb3f198 chore: add proxy env settings
All checks were successful
Build and Push Docker Image / build (push) Successful in 29s
2026-04-19 23:12:37 +02:00
9a827dd5ea chore: add env example and env config
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
2026-04-19 22:57:14 +02:00
4f4a1a55e5 feat: add FAQ question form with email notifications and validations
All checks were successful
Build and Push Docker Image / build (push) Successful in 43s
- Created `FaqQuestionForm` in `forms.py` with custom field validations
- Added FAQ form to the FAQ section with CSRF protection and error handling
- Integrated email notifications to administrator upon FAQ submission
- Updated styles and scripts for form inputs, validation messages, and messages UI
- Adjusted FAQ section layout in `faq.html` and related CSS for responsiveness
- Implemented tests for FAQ form submission and email notifications
2026-04-19 22:51:56 +02:00
80164b833b feat: implement user authentication features (registration, activation, and password reset)
All checks were successful
Build and Push Docker Image / build (push) Successful in 46s
- Added email templates for activation and password reset (`activation_email.html`, `password_reset_email.html`, etc.)
- Created forms for registration (`RegisterForm`) and login (`LoginForm`) with custom validation
- Developed new pages for account activation (`activation_success.html`, `activation_invalid.html`), password reset workflow, and profile
- Configured email backend and environment file handling in settings
- Updated header template to conditionally display profile or login links based on authentication status
- Enhanced CSS styles for authentication-related pages and forms
2026-04-15 18:27:23 +02:00
921cea9044 feat: add sidebar and item list to catalog page, enable DEBUG mode for development
All checks were successful
Build and Push Docker Image / build (push) Successful in 24s
- Created `side-bar.html` and `item-list.html` fragments for catalog page layout
- Updated `catalog/index.html` to include sidebar and item list templates
- Added styles for catalog layout in `catalog.css`
- Enabled `DEBUG=True` in settings for local development
- Adjusted CSS in shipping and services for consistent spacing
2026-04-07 23:09:19 +02:00
a2702b13c7 feat: создать базовый шаблон и структуру для страницы каталога
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Создан шаблон `catalog/index.html` с поддержкой хлебных крошек и активного раздела
- Добавлены модели `Category` и `Item` с настройкой админ-панели
- Реализован обработчик URL для отображения категорий и страницы каталога
- Добавлены стили `catalog.css` и `error.css` для новых элементов
- Переведён проект в production режим (DEBUG=False)
2026-04-07 22:30:30 +02:00
09ca1c6997 feat: добавить шаблон "Услуги" и обновить ALLOWED_HOSTS
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Создан шаблон home/services.html с базовой структурой
- Включён localhost в список ALLOWED_HOSTS
2026-03-30 22:59:14 +02:00
c367831df8 feat: добавить поддержку Whitenoise и обновить конфигурацию для продакшна
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
- Добавлен Whitenoise для управления статическими файлами
- Настроены STATICFILES_DIRS, STATIC_ROOT и STORAGES
- Добавлен middleware Whitenoise
- Обновлён Dockerfile: добавлена команда collectstatic
- Включён preview host в ALLOWED_HOSTS
- Добавлены необходимые зависимости в requirements.txt
2026-03-30 22:50:29 +02:00
28c4e08bb6 feat: добавить auth функционал, URL и Docker конфигурацию
Some checks failed
Build and Push Docker Image / build (push) Failing after 12s
- Добавлены views, URL и страницы для входа, регистрации, профиля
- Обновлён основной маршрут users/urls.py
- Перенаправлен маршрут catalog вместо items
- Обновлена структура header с добавлением ссылки на главную
- Создан Dockerfile и workflow для сборки и доставки образов
2026-03-30 22:32:31 +02:00
d522489e7f feat: добавить страницы и фрагменты для улучшения структуры шаблонов
- Добавлены страницы "Услуги", "Доставка", "Гарантия", "Контакты" с view и URL
- Вынесены hero, advantages, и о нас в отдельные фрагменты
- Обновлены header и footer для активных ссылок и адаптивности
- Добавлен normalize.css для унификации стилей
2026-03-30 21:52:08 +02:00
1eff7c6227 feat: добавить home app и базовую структуру шаблонов
- Создано Django app 'home' с view, urls, models
- Добавлены шаблоны: base layout, header/footer fragments, index page
- Настроены STATICFILES_DIRS и TEMPLATES в settings.py
- Подключены URLS всех apps (home, items, orders, users)
- Добавлены статические файлы (CSS, изображения)
2026-03-23 19:00:17 +01:00
7c7060b56d Базовые модули 2026-03-21 21:40:36 +01:00
f066556e66 base project 2026-03-21 15:11:57 +01:00