Commit Graph

41 Commits

Author SHA1 Message Date
438d547fb4 fix: update Dockerfile to combine collectstatic and app execution in CMD
All checks were successful
Build and Push Docker Image / build (push) Successful in 40s
- Refactored CMD to run `collectstatic` before starting the application
- Replaced inline command with JSON array syntax for improved entrypoint handling
2026-05-17 10:30:27 +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
52cbc1c2b3 feat: implement shopping cart feature with user authentication support
All checks were successful
Build and Push Docker Image / build (push) Successful in 42s
- Added `Cart` and `CartItem` models with migrations for managing user-specific carts and items
- Developed services for cart-related operations: adding, removing, and updating cart items
- Built specialized templates (`cart.html`) and styled them with new CSS assets (`cart.css`)
- Enabled real-time UI updates via AJAX in shopping cart interactions (`cart.js`)
- Modified header to dynamically display cart link with user authentication awareness
- Added Leaflet-based interactive map to the contacts page and integrated CSS/JS dependencies
- Expanded tests for cart functionality, item detail page cart integration, and contacts page maps
2026-05-15 23:18:16 +02:00
d2126e0fba style: resize favorite button for item cards in catalog
All checks were successful
Build and Push Docker Image / build (push) Successful in 29s
2026-05-10 20:17:06 +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
27187c5e53 feat: add subcategory support for catalog and admin
All checks were successful
Build and Push Docker Image / build (push) Successful in 30s
- Introduced `Subcategory` model with migration and unique slug constraint per category
- Enabled subcategory assignment for items with validation to ensure category matching
- Updated catalog views to handle subcategories, filtering items accordingly
- Enhanced templates (`index.html`, `side-bar.html`, `item-list.html`, `detail.html`) to display subcategories
- Added dynamic subcategory dropdown in Django admin with category filtering
- Created JavaScript for admin subcategory handling and AJAX population
- Wrote comprehensive tests for subcategory functionality in views and admin
2026-04-26 22:53:45 +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
fba29b7a6c feat: enhance header context handling and add login page test
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
- Updated `header.html` to use `with` block for `active` context variable fallback
- Added test to verify login page renders correctly without `active` context
2026-04-21 15:36:44 +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
f73e6d607b feat: expose configurable log level
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
2026-04-21 10:37:30 +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
5c05a91bd2 refactor: update "shipping" and "services" styles with adjusted padding
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Added `.shipping-content` class with `padding-bottom` styling in `shipping.css`
- Updated `.large` section in `services.css` with adjusted spacing for consistency
2026-04-07 22:41:23 +02:00
db46b5eefc feat: добавить миграцию для моделей Category и Item, шаблон 404 страницы
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Создана миграция `0001_initial.py` для моделей `Category` и `Item`
- Добавлен шаблон `404.html` с пользовательским стилем и макетом ошибки
2026-04-07 22:33:16 +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
bbf43d29a7 feat: добавить страницу "Доставка" с содержанием и стилями
All checks were successful
Build and Push Docker Image / build (push) Successful in 39s
- Создан шаблон `shipping.html` с подробной информацией о доставке и оплате
- Добавлен файл `shipping.css` для стилизации страницы
- Интегрированы хлебные крошки и активная ссылка в шапке страницы
- Обновлены стили с поддержкой новых секций и компонентов
2026-04-07 20:13:50 +02:00
4155ed27ed refactor: update styles and structure for header, navigation, and banner
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Removed unnecessary "active-page" class from banner link
- Added reusable "nav-block" class for header links
- Adjusted `.nav-links` structure: switched to `inline-flex`, added `justify-content`
- Reduced `.kitchen-banner` margin and added border, padding for text styles
- Enhanced flex layout for `home-index-block` in index.css
2026-04-04 22:16:54 +02:00
6577eab464 feat: добавить хлебные крошки и стили для страницы "Услуги"
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Создан фрагмент `_fragments/breadcrumbs.html` для отображения цепочки навигации
- Обновлён шаблон `services.html` с интеграцией хлебных крошек и новым содержанием
- Добавлен файл `services.css` для стилизации раздела "Услуги"
- Расширены стили breadcrumbs в `style.css`
- Уточнены размеры и отступы в стилях главной страницы (index.css)
- Добавлено фоновое изображение `services-bg.png` для секции "Услуги"
2026-04-04 22:06:58 +02:00
c5d4d4568b feat: интеграция Fancybox и добавление формы обратной связи
All checks were successful
Build and Push Docker Image / build (push) Successful in 27s
- Подключён Fancybox для улучшения пользовательского интерфейса
- Добавлена интерактивная форма обратной связи в секции FAQ
- Обновлены стили и скрипты для поддержки новых функций
- Исправлена ссылка на страницу входа в header
2026-04-04 11:55:24 +02:00
777b753230 feat: добавить слайдер для преимуществ, фонты и portable setup
All checks were successful
Build and Push Docker Image / build (push) Successful in 40s
- Интегрирован Swiper.js для слайдера преимуществ
- Обновлены преимущества: добавлены новые элементы и улучшена структура
- Добавлены новые шрифты (BerlinType, Noah) и подключены стили
- Добавлен start.bat для автоматической настройки Python, Git и запуска проекта
2026-04-04 11:15:40 +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
6dcdccf801 chore: удалить устаревшую конфигурацию кэша из docker workflow
All checks were successful
Build and Push Docker Image / build (push) Successful in 25s
2026-03-30 22:38:26 +02:00
288ad6d489 chore: обновить docker workflow для использования динамических тегов образов
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m20s
2026-03-30 22:35:05 +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
6a7e2d8153 dependencies & gitignore 2026-03-21 15:41:04 +01:00
f066556e66 base project 2026-03-21 15:11:57 +01:00