Commit Graph

21 Commits

Author SHA1 Message Date
87eb66f06b WIP
Some checks failed
Telegram Mini App Shop Builder / Compute version metadata (push) Has been cancelled
Telegram Mini App Shop Builder / Run Frontend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run Backend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run PHP_CodeSniffer (push) Has been cancelled
Telegram Mini App Shop Builder / Build module. (push) Has been cancelled
Telegram Mini App Shop Builder / release (push) Has been cancelled
2026-03-11 21:52:01 +03:00
47bffc90b2 WIP 2026-03-11 21:49:07 +03:00
bf99bfe8a4 feat: add changelog 2025-12-25 18:44:24 +03:00
65973d2d79 feat: add scheduler module 2025-12-07 19:55:05 +03:00
5fe4aac7eb refactor: correct static analyze errors 2025-12-01 18:04:54 +03:00
fc8044484e build: update Makefile and change files chmod 2025-11-30 12:08:17 +03:00
9a93cc7342 feat: add Telegram customers management system with admin panel
Implement comprehensive Telegram customers storage and management functionality:

Backend:
- Add database migration for telecart_customers table with indexes
- Create TelegramCustomer model with CRUD operations
- Implement TelegramCustomerService for business logic
- Add TelegramCustomerHandler for API endpoint (saveOrUpdate)
- Add TelegramCustomersHandler for admin API (getCustomers with pagination, filtering, sorting)
- Add SendMessageHandler for sending messages to customers via Telegram
- Create custom exceptions: TelegramCustomerNotFoundException, TelegramCustomerWriteNotAllowedException
- Refactor TelegramInitDataDecoder to separate decoding logic
- Add TelegramHeader enum for header constants
- Update SignatureValidator to use TelegramInitDataDecoder
- Register new routes in bastion/routes.php and src/routes.php

Frontend (Admin):
- Add CustomersView.vue component with PrimeVue DataTable
- Implement advanced filtering (text, date, boolean filters)
- Add column visibility toggle functionality
- Add global search with debounce
- Implement message sending dialog with validation
- Add Russian locale for PrimeVue components
- Add navigation link in App.vue
- Register route in router

Frontend (SPA):
- Add saveTelegramCustomer utility function
- Integrate automatic customer data saving on app initialization
- Extract user data from Telegram.WebApp.initDataUnsafe

The system automatically saves/updates customer data when users access the Telegram Mini App,
and provides admin interface for viewing, filtering, and messaging customers.

BREAKING CHANGE: None
2025-11-23 21:30:51 +03:00
07b7289fdc build: use node instead of bun 2025-11-18 15:51:05 +03:00
3d078900a1 build: implement php obfustation 2025-11-18 15:40:21 +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
30b0108fe7 fix: image picker component name type 2025-11-02 17:04:23 +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
5681ac592a refactor: move spa to frontend folder 2025-10-27 12:32:38 +03:00
c18f5d9038 tests: generate ai tests and run cicd 2025-10-27 09:04:02 +03:00
4d8bbedf38 build: move from nodejs to bun 2025-10-04 12:03:24 +03:00
1e2a9bc705 feat: add filters to mainpage 2025-10-03 00:26:13 +03:00
7404ecb33e feat: remove cache, refactor 2025-08-08 22:25:00 +03:00
Nikita Kiselev
846fa64fb4 feat: WIP 2025-07-10 18:31:02 +03:00
Nikita Kiselev
c3664025ba first commit 2025-07-09 20:55:29 +03:00