Commit Graph

319 Commits

Author SHA1 Message Date
e6f570e1c3 build(deps): bump composer updates 2026-02-22 13:38:20 +03:00
dependabot[bot]
b5a46c9123 build(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 2 updates in the /frontend/admin directory: [ajv](https://github.com/ajv-validator/ajv) and [minimatch](https://github.com/isaacs/minimatch).


Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.6...v6.14.0)

Updates `minimatch` from 3.1.2 to 3.1.3
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-version: 3.1.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-22 13:34:35 +03:00
dependabot[bot]
66790768d9 build(deps): bump the npm_and_yarn group across 2 directories with 2 updates
Bumps the npm_and_yarn group with 1 update in the /frontend/admin directory: [axios](https://github.com/axios/axios).
Bumps the npm_and_yarn group with 1 update in the /frontend/spa directory: [swiper](https://github.com/nolimits4web/Swiper).


Updates `axios` from 1.13.2 to 1.13.5
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.13.2...v1.13.5)

Updates `swiper` from 12.0.3 to 12.1.2
- [Release notes](https://github.com/nolimits4web/Swiper/releases)
- [Changelog](https://github.com/nolimits4web/swiper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nolimits4web/Swiper/compare/v12.0.3...v12.1.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.13.5
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: swiper
  dependency-version: 12.1.2
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-22 13:34:35 +03:00
dependabot[bot]
37fe0cabda build(deps): bump swiper
Bumps the npm_and_yarn group with 1 update in the /frontend/spa directory: [swiper](https://github.com/nolimits4web/Swiper).


Updates `swiper` from 12.0.3 to 12.1.2
- [Release notes](https://github.com/nolimits4web/Swiper/releases)
- [Changelog](https://github.com/nolimits4web/swiper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nolimits4web/Swiper/compare/v12.0.3...v12.1.2)

---
updated-dependencies:
- dependency-name: swiper
  dependency-version: 12.1.2
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-22 13:34:35 +03:00
dependabot[bot]
06c1bf2abb build(deps-dev): bump phpunit/phpunit
Bumps the composer group with 1 update in the /module/oc_telegram_shop/upload/oc_telegram_shop directory: [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit).


Updates `phpunit/phpunit` from 9.6.31 to 9.6.33
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.33/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.31...9.6.33)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.33
  dependency-type: direct:development
  dependency-group: composer
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-22 13:06:19 +03:00
cf3a2ddc14 chore(release): 2.2.0 2026-01-09 22:32:59 +03:00
3d0a7536a6 feat: add cache:clear CLI command for module cache clearing (#46) 2026-01-05 20:58:12 +03:00
647e20c6b0 feat(spa): add UTM markers for product view on OpenCart (#47) 2026-01-05 20:51:21 +03:00
8a9bac8221 feat(search): improvement search cache (#44) 2026-01-05 15:41:47 +03:00
089b686722 fix: correct external .env loading 2026-01-05 15:41:47 +03:00
9da605b9ea feat: add system information drawer (#44) 2026-01-05 15:41:47 +03:00
966ed4baab build: make release for master and PR (#44) 2026-01-05 15:41:47 +03:00
0798f5c3e9 feat: add config redis cache, categories cache (#44) 2026-01-05 15:41:47 +03:00
3a1f8dbf94 fix: missing store_id for carousel products 2026-01-05 01:54:09 +03:00
84641868e9 feat: add store_id conditions (#43) 2026-01-05 01:14:53 +03:00
0312b882e1 fix: correctly work with telecart customers without usernames 2026-01-03 12:13:57 +03:00
afade85d00 feat: add haptic feedback toggle setting
- Add haptic_enabled field to AppDTO with default value true
- Update SettingsSerializerService to deserialize haptic_enabled
- Add haptic_enabled setting in admin panel (GeneralView) with toggle
- Update admin settings store to include haptic_enabled default value
- Update SPA SettingsStore to load haptic_enabled from API
- Refactor useHapticFeedback composable to return safe wrapper object
- Replace all direct window.Telegram.WebApp.HapticFeedback usage with composable
- Update useHapticScroll to use useHapticFeedback composable
- Add getHapticFeedback helper function in CheckoutStore for store usage
- Add haptic_enabled default value to app.php configuration
- All haptic feedback methods now check settings internally
- Remove redundant if checks from components (handled in composable)
2025-12-25 22:36:07 +03:00
ce2ea9dea1 feat: increase dock icons size and add click animation
- Increase icon sizes from 1.2em to 1.5em for home, search, and cart icons
- Increase catalog icon from size-6 to size-7
- Increase profile avatar and icon from w-6 h-6 to w-7 h-7
- Add dock-icon class to all icons for consistent styling
- Implement bounce animation on icon click with scale effect (1.15x)
- Animation duration set to 200ms for subtle feedback
- Update onDockItemClick handler to trigger animation on click
2025-12-25 22:02:17 +03:00
ad94afda68 feat: add customer account page with profile information and actions
- Create Account.vue page component with user profile display
- Add account route to router.js
- Update Navbar.vue to remove avatar button (moved to Dock)
- Add avatar icon to Dock.vue for account page navigation
- Implement 'Contact us' action that opens manager chat via Telegram
- Implement 'Add to home screen' feature using Telegram Web App API 8.0+
- Add home screen status checking with checkHomeScreenStatus API
- Display customer registration date and days with us counter
- Add Russian language declension for days word (день/дня/дней)
- Update TelegramCustomerHandler to return created_at in saveOrUpdate response
- Add getByTelegramUserId method to TelecartCustomerService
- Store customer_created_at in Pulse store during app initialization
- Update App.vue to show Dock on account page
- Remove unused getCurrentCustomer API endpoint and function
2025-12-25 21:32:25 +03:00
0a7877ddbe feat: add customizable text for manager contact button
- Add text_manager_button field to TextsDTO with getter method
- Update SettingsSerializerService to validate and deserialize new field
- Add text_manager_button field to admin settings store
- Add input field in admin TextsView for configuring button text
- Update SPA SettingsStore with default value including emoji
- Replace hardcoded button text in Product.vue with configurable text
- Remove SVG icon from manager button to allow emoji usage
- Add default value with emoji to app.php configuration
- Button text now customizable via admin panel Texts tab
2025-12-25 20:43:12 +03:00
551c4a3506 feat: add BETA label and UI improvements for TeleCart Pulse tab
- Add BETA badge to TeleCart Pulse tab in navigation
- Implement pulsing heartbeat animation for pulse icon
- Add dynamic color change for icon (light red when inactive, bright red when active)
- Add dynamic color change for BETA label (light orange when inactive, bright orange when active)
- Add informational block about TeleCart Pulse in TeleCartPulseView component
- Update App.vue with pulse icon animation and styling
- Update TeleCartPulseView.vue with info block and styling
2025-12-25 19:06:50 +03:00
60c0c832e0 reformat: fix codestyle issues 2025-12-25 18:46:18 +03:00
bf99bfe8a4 feat: add changelog 2025-12-25 18:44:24 +03:00
8c0d61dc9a reformat: fix codestyle issues 2025-12-25 18:32:57 +03:00
115c13393f fix(admin): correct logs sorting by datetime with milliseconds
- Change sortField from datetime to datetime_raw for proper chronological sorting
- Add sortField attribute to 'Date and time' column to show sort indicator
- Remove sorting from 'Level' and 'Channel' columns
- Add information about displaying last 100 events
2025-12-25 18:31:13 +03:00
ff7263649c fix(spa): correct line breaks for long attribute names and values in Product.vue
- Fix word wrapping for attribute names and values in product details
- Ensure proper text display for long attribute names and values
2025-12-25 18:31:06 +03:00
79f23400d2 fix(spa): correct privacy policy message margin 2025-12-25 18:18:59 +03:00
6a635e1896 feat(admin): improve navigation UI and move logs to drawer
- Add icons to all navigation tabs in admin panel
- Rename 'Telegram Покупатели' tab to 'Покупатели'
- Move logs view from navigation tab to Drawer component
- Add logs button in TopLead component next to cache reset button
- Group logs and cache reset buttons in ButtonGroup
- Remove logs route from router
2025-12-25 18:13:09 +03:00
ecf4df363d feat: add product interaction mode selector with three scenarios
- Add ItemToggleButton component for 3-way toggle in admin panel
- Add product_interaction_mode setting with options: order, manager, browser
- Add manager_username setting for Telegram manager contact
- Remove store_enabled setting, replaced with product_interaction_mode
- Create migration to automatically migrate store_enabled to product_interaction_mode
- Update Product.vue to handle all three interaction modes
- Update Dock.vue to show cart button only when product_interaction_mode is 'order'
- Rename 'Магазин' tab to 'Витрина' in admin panel
- Remove 'Разрешить покупки' option (now controlled via product_interaction_mode)
- Set default product_interaction_mode to 'browser'
- Update StoreDTO to remove enableStore field
- Update SettingsHandler to return product_interaction_mode instead of store_enabled
2025-12-25 18:02:38 +03:00
22ddc3043d chore: update to v2.1.0 2025-12-24 01:56:02 +03:00
c3994b2291 feat: add setting to control category products button visibility
- Add show_category_products_button field to StoreDTO
- Update SettingsSerializerService to support new field
- Add setting in admin panel on 'Store' tab with toggle
- Pass setting to SPA through SettingsHandler
- Button displays only for categories with child categories
- Add default value true to configuration
2025-12-24 01:47:34 +03:00
7b0e5f80e9 chore: release 2.0 2025-12-23 22:34:08 +03:00
2ec683f016 feat: hide greeting image from frontend 2025-12-23 21:49:56 +03:00
57c8400904 fix: correct cli.php path for phar 2025-12-23 21:23:01 +03:00
185f3096e1 fix: correct path for cron 2025-12-23 21:23:01 +03:00
b87797ee67 feat: dont migrate tg messages from v1 2025-12-23 21:23:01 +03:00
262f529290 feat: change image crop algorythm for product view page 2025-12-23 21:23:01 +03:00
0ee3b7d091 fix: grant +x permissions for cli.php 2025-12-23 21:23:01 +03:00
e729484fd7 feat: fix opecart module status, remove .vite 2025-12-23 21:23:00 +03:00
bf32d90811 fix: disable fullscreen for desktop 2025-12-21 18:32:34 +03:00
08f0e24859 feat: remove unused js libs 2025-12-21 18:26:55 +03:00
7e6502b07e fix: use html for tg bot 2025-12-21 18:13:11 +03:00
bdbdfc3650 fix: fix dock layout 2025-12-21 18:06:04 +03:00
28d80d0f19 fix: base header color 2025-12-19 01:30:17 +03:00
4cd49b17a6 fix: browser check 2025-12-19 01:27:01 +03:00
76c32c5320 feat: add old browser checks 2025-12-19 01:22:53 +03:00
28bef4ee3b docs: update docs 2025-12-15 20:10:32 +03:00
955747334d feat: more fluent vuejs app error handler 2025-12-15 19:45:53 +03:00
9870f2f363 fix: correct counter id for yandex metrika test 2025-12-15 19:45:31 +03:00
97df5b4c0a feat: add html editor for telegram messages 2025-12-15 19:44:56 +03:00