Commit Graph

52 Commits

Author SHA1 Message Date
97df5b4c0a feat: add html editor for telegram messages 2025-12-15 19:44:56 +03:00
4a3dcc11d1 feat(pulse): implement reliable event tracking and delivery system
Implement comprehensive event tracking system for TeleCart Pulse that ensures
all user interactions and order events are reliably captured and delivered to
the analytics platform, even in case of network failures or service outages.

Business Value:
- Guaranteed event delivery: All events are stored in database before sending,
  ensuring no data loss even if SaaS service is temporarily unavailable
- Automatic retry mechanism: Failed events are automatically retried with
  configurable attempts, reducing manual intervention
- Real-time monitoring: Admin dashboard displays event statistics (pending,
  sent, failed) to track system health and delivery status
- Data integrity: Idempotency keys prevent duplicate events, ensuring accurate
  analytics and metrics
- Performance optimization: Statistics are cached for 1 hour to reduce database
  load while maintaining visibility

Key Features:
- Event queue system: Events are queued in database with status tracking
  (pending/sent/failed)
- Asynchronous processing: Events are sent via background tasks, not blocking
  user interactions
- Error tracking: Failed events include detailed error reasons for debugging
- Campaign tracking: Only events with valid campaign_id and tracking_id are
  stored, ensuring data quality
- Admin visibility: Statistics dashboard shows delivery status at a glance

This system ensures reliable data collection for campaign analytics, A/B testing,
and performance metrics, providing accurate insights for business decisions.
2025-12-08 00:29:33 +03:00
1f5ef4353d build: fix cache hash for admin 2025-12-08 00:29:33 +03:00
65973d2d79 feat: add scheduler module 2025-12-07 19:55:05 +03:00
216ed7e522 build: fix cache hash for admin 2025-12-07 19:55:04 +03:00
38668fb4a7 feat: image processing improve 2025-12-06 12:59:55 +03:00
116821a209 feat: show module version in admin 2025-12-04 22:16:23 +03:00
17865d8af4 feat(admin): add more details for admin errors 2025-12-04 11:25:02 +03:00
ae9771dec4 feat: maintenance tasks, logs
- add interval for periodic maintenance tasks
- add cache prune periodic task
- use rotating handler for monolog
- update UI logs component
- correctly reset cache from admin
- increase cache timeout for tg data
- fix UI errors in admin
2025-11-20 09:20:11 +03:00
d6db083dea Implement PSR3 and PHP Monolog (#19)
* feat: install monolog composer lib
* feat: implement psr3 and monolog
* feat: display logs in frontend
* fix: tests
* build: update cicd to run tests for PR
* build: add phpcs to cicd
* refactor: fix phpcs problems
2025-11-17 15:00:54 +03:00
f0837e5c94 feat: added new products_carousel bock type 2025-11-13 22:37:55 +03:00
c0a6cb17b3 feat: add migrations, mantenance tasks, database cache, blocks cache 2025-11-13 02:24:00 +03:00
6176c720b1 feat: new settings and mainpage blocks 2025-11-12 20:32:10 +03:00
cd818d3356 feat: update admin page 2025-11-11 00:02:53 +03:00
2bc751119c feat: add default configs 2025-11-02 15:27:48 +03:00
1077417d71 feat(admin): remove legacy setting keys that not defined in defaults 2025-11-02 15:05:52 +03:00
3049bd3101 feat(slider): add slider feature 2025-11-02 14:51:23 +03:00
0cccc7e3d7 refactor: move spa to frontend folder 2025-11-02 14:42:27 +03:00
34dfe90286 feat: add texts configuration 2025-10-27 11:13:04 +03:00
4e59c4e788 feat: WIP add yandex metrika goals 2025-10-26 14:35:44 +03:00
fbccd50675 feat: add debug mode for developers. Logs improvements 2025-10-26 12:08:45 +03:00
d7666f94ba feat(ya_metrika): WIP yandex metrika 2025-10-26 01:22:29 +03:00
05e7cafd0f feat(banner): add banner feature 2025-10-25 19:59:33 +03:00
c3c0d6d2c1 feat(spa): show navbar with app logo and app name 2025-10-25 18:48:47 +03:00
ac24f0376b feat(telecart): add vouchers and coupons (#9) 2025-10-24 14:26:34 +03:00
00165b3b61 feat(admin): do not log assets cleanup message if nothing deleted 2025-10-19 14:52:13 +03:00
31a9909cc3 feat(admin): remove old maps 2025-10-19 14:37:04 +03:00
01368bbfce feat(admin): remove old assets 2025-10-19 14:34:28 +03:00
e24e7c6d10 fix: correct update opencart config after defaults diff update 2025-09-27 00:24:32 +03:00
d7dd055e24 feat(product): add option to disable store feature 2025-09-27 00:08:24 +03:00
016eeb445d fix: fix possible foreign error message on telecart page 2025-09-24 14:37:45 +03:00
ec5cdfcaa9 fix(database): fix db connection error when not standard mysql port 2025-09-24 14:37:18 +03:00
9e4022f648 feat(categories): add options to select what categories to show on front page 2025-09-24 14:02:13 +03:00
0cf0c43843 fix: init exception for some opencart versions 2025-09-24 11:46:00 +03:00
51a8255dbe WIP 2025-08-16 21:54:12 +03:00
79c82c5109 WIP 2025-08-16 21:54:12 +03:00
d522cbef83 feat: UI changes 2025-08-16 21:53:55 +03:00
d7df5a4b5c feat: add bot_token validation 2025-08-16 17:17:28 +03:00
9770a09fc0 feat: fix module name in admin 2025-08-11 10:06:00 +03:00
d9fd26d354 feat: add new mainpage products options, hide attributes 2025-08-07 18:07:18 +03:00
ea2a60b59b fix: corrent telegram mini app url in settings 2025-08-06 21:14:09 +03:00
1e80fdb2eb feat(admin): correct getting chat_id 2025-08-06 19:31:34 +03:00
c61dfd824a fix(admin): fix shop url 2025-08-06 19:10:14 +03:00
469077d0c9 feat(admin): correct merge new default settings after initializing app 2025-08-06 19:07:39 +03:00
b1ea169e2f feat: show tg app link 2025-08-05 22:09:07 +03:00
ef137729ac WIP 2025-08-05 21:53:39 +03:00
c3c2561932 feat(shop): change grid image resize algorythm 2025-08-03 17:19:09 +03:00
133badf45b feat(admin): update disclaimer text 2025-08-03 12:01:37 +03:00
Nikita Kiselev
ba3eb6c085 wip 2025-08-03 11:32:10 +03:00
Nikita Kiselev
14d42c6ecb feat(order): order default status and customer group 2025-08-03 10:20:14 +03:00