Commit Graph

  • 6b788a9024 add docker-compose.dev.yml master vchikalkin 2025-10-11 14:16:05 +03:00
  • 0e58a8cef7 subscription-price: add period 'day' vchikalkin 2025-10-09 16:19:03 +03:00
  • a63eff9f46 customer: add field surname vchikalkin 2025-10-07 11:42:27 +03:00
  • e0a9f55eeb
    Feature/pro subscription (#8) Vlad Chikalkin 2025-09-17 14:46:39 +03:00
  • d4ea41a910 subscription settings: add field proEnabled feature/pro-subscription vchikalkin 2025-09-17 14:45:22 +03:00
  • 2cebfe90bd add new entity customer_setting vchikalkin 2025-09-16 15:30:07 +03:00
  • 67da211238 SubscriptionHistory: change type to string vchikalkin 2025-09-16 12:30:31 +03:00
  • 09e9e178c5 refactor: remove block-related schemas, controllers, routes, and services vchikalkin 2025-09-16 11:53:18 +03:00
  • 250921344b SubscriptionPrice: rename price -> amount vchikalkin 2025-09-11 13:21:26 +03:00
  • eb5bf5eee6 feat: add subscription_rewards relation to customer and subscription history schemas, and update TypeScript definitions vchikalkin 2025-09-11 11:36:55 +03:00
  • 7436ad181b refactor: rename relation fields in customer schema and update TypeScript definitions vchikalkin 2025-09-08 13:22:56 +03:00
  • 0cb35adefa feat: add 'days' field to subscription price schema and update TypeScript definitions vchikalkin 2025-09-02 19:02:08 +03:00
  • d64432db46 refactor: remove unused fields from subscription schema and TypeScript definitions vchikalkin 2025-08-27 18:58:33 +03:00
  • 2f1fbb8824 feat: add subscription relation to customer schema and new subscription-related interfaces vchikalkin 2025-08-26 18:53:50 +03:00
  • ccd0947334
    feat: add bannedUntil field to customer schema (#7) Vlad Chikalkin 2025-08-26 13:18:12 +03:00
  • 856e651379 feat: add bannedUntil field to customer schema release/rc-1 vchikalkin 2025-08-25 19:15:41 +03:00
  • 37c28353a9 feat: enhance Telegram notification to include total service cost vchikalkin 2025-08-20 17:59:36 +03:00
  • 01fbd1c696 feat: add price and description fields to service schema vchikalkin 2025-08-20 17:23:33 +03:00
  • 8a81a1e251 feat: update Telegram notification to list all services for orders vchikalkin 2025-08-19 19:27:54 +03:00
  • 3fb75f5765 .gitignore: add *.cmd vchikalkin 2025-08-19 19:22:10 +03:00
  • d9ac6858e7 chore: update Docker image configuration and enhance CI/CD workflow vchikalkin 2025-08-15 21:17:31 +03:00
  • 9f1b13192f
    Issues/76 (#6) Vlad Chikalkin 2025-08-11 16:25:56 +03:00
  • 4adc7aa6c7 feat: enhance Telegram notification heading for order updates issues/76 vchikalkin 2025-08-11 15:00:48 +03:00
  • 2c968e9899 refactor: consolidate order lifecycle validation logic and remove slot lifecycle vchikalkin 2025-08-11 14:41:12 +03:00
  • b0aa644435 feat: add update check to order and slot lifecycles vchikalkin 2025-08-03 13:56:43 +03:00
  • 63a68c6089 refactor: comment out beforeDelete lifecycle method in slot API vchikalkin 2025-08-02 19:26:38 +03:00
  • 7a89cfa7ce fix: update slot start time validation to check against the current day vchikalkin 2025-08-02 18:37:42 +03:00
  • cfa5a02ca9 feat: add validation to prevent order creation in the past vchikalkin 2025-08-02 11:19:21 +03:00
  • 50f23f67b3 feat: update customer and service schemas to enforce maxLength and required attributes vchikalkin 2025-08-02 11:15:21 +03:00
  • 3833a1a23d feat: enhance extractId function to support 'connect' input for ID retrieval vchikalkin 2025-08-02 11:04:53 +03:00
  • d592c9cf31
    feat: add 'active' boolean attribute to content type schema and TypeScript definitions (#5) Vlad Chikalkin 2025-08-01 19:53:47 +03:00
  • f9c5f08ebd feat: add 'active' boolean attribute to content type schema and TypeScript definitions issues/66 vchikalkin 2025-08-01 19:52:12 +03:00
  • 34fff838f9 fix: read botToken vchikalkin 2025-07-23 14:06:38 +03:00
  • 8b2c7396c3 fix: add BOT_TOKEN environment variable to docker-compose for Telegram integration vchikalkin 2025-07-23 13:27:58 +03:00
  • c22357b71e
    feat: integrate Telegraf for Telegram notifications in order lifecycle (#4) Vlad Chikalkin 2025-07-23 13:14:02 +03:00
  • 72eab1dd0f feat: integrate Telegraf for Telegram notifications in order lifecycle feature/telegram-order-notifications vchikalkin 2025-07-22 15:44:23 +03:00
  • 7f57b03c88 order: remove field 'price' vchikalkin 2025-07-22 13:33:52 +03:00
  • 6dc36ebe89 refactor: remove service_description field from order schema and TypeScript definitions vchikalkin 2025-07-19 13:46:20 +03:00
  • b0171aa079
    Refactor/migrate to datetime (#2) Vlad Chikalkin 2025-07-18 17:12:57 +03:00
  • c22e179b73 fix: standardize error messages in order and slot lifecycles for better clarity refactor/migrate-to-datetime vchikalkin 2025-07-18 16:44:04 +03:00
  • ec06282d56 fix: enhance datetime validation in order and slot lifecycles to ensure accurate comparisons vchikalkin 2025-07-18 15:20:59 +03:00
  • f0e4a99032 feat: integrate dayjs for improved datetime handling in order lifecycles Нельзя завершить запись до её наступления vchikalkin 2025-07-18 15:15:01 +03:00
  • d91cabaed0 fix: add validation to ensure order times fall within the specified slot boundaries vchikalkin 2025-07-18 14:55:09 +03:00
  • d42e240a2a fix: update order lifecycle validation to exclude only 'cancelled' state vchikalkin 2025-07-18 13:46:35 +03:00
  • 04e8393993 fix: correct time validation logic in order and slot lifecycles to ensure proper datetime comparisons vchikalkin 2025-07-17 20:50:21 +03:00
  • cd5456f7f5 refactor: remove time fields from order and slot schemas to streamline data structure vchikalkin 2025-07-17 19:05:34 +03:00
  • 456f9b071c feat: refactor order and slot lifecycles to use datetime fields for time validation vchikalkin 2025-07-17 14:11:06 +03:00
  • 07b4239038 fix: update error handling in order lifecycle to check for missing time vchikalkin 2025-07-16 17:11:45 +03:00
  • bbb697b159 docker-compose: expose 1337 port for 127.0.0.1 vchikalkin 2025-07-13 11:23:39 +03:00
  • 9f6d5fe11c fix: correct slot ID condition in order lifecycle validation vchikalkin 2025-07-11 16:28:57 +03:00
  • a447f4bf1c feat: refactor slot lifecycle methods to include master validation and enhance time checks vchikalkin 2025-07-11 14:16:59 +03:00
  • 2686249cc9 feat: enhance order creation validation with additional checks for client, slot, and service vchikalkin 2025-07-11 13:38:42 +03:00
  • 4ff50e42b9 fix: update deploy workflow to use dynamic SSH port vchikalkin 2025-07-10 16:27:17 +03:00
  • c5d4ef3392 feat: add validation for slot time changes based on order status vchikalkin 2025-07-10 16:19:41 +03:00
  • 066de8ced8 docker-compose: comment ports vchikalkin 2025-07-02 21:53:37 +03:00
  • ddc1f44fa0 Dockerfile: upgrade node.js vchikalkin 2025-06-27 23:47:30 +03:00
  • e799257dee finally: working deploy vchikalkin 2025-06-27 21:01:43 +03:00
  • a4bdfddc54 chore: add production environment to deploy workflow vchikalkin 2025-06-27 20:30:49 +03:00
  • 839f3445c7 refactor deploy workflow: comment out build-and-push job and add .env file creation and SCP steps for environment variables vchikalkin 2025-06-27 20:26:16 +03:00
  • cb5aaeb412 fix Login and deploy on VPS vchikalkin 2025-06-27 20:17:06 +03:00
  • c852b95c43 deploy: add SSH checkout and ensure zapishis-strapi directory exists on VPS vchikalkin 2025-06-27 20:05:08 +03:00
  • 879dcc2d62 deploy: fix copy docker-compose.yml to VPS vchikalkin 2025-06-27 19:51:25 +03:00
  • a22d2ff773 fix: deploy (login & sync file) vchikalkin 2025-06-27 19:38:35 +03:00
  • 7a74fd7c28 deploy: strapi-app -> zapishis-strapi vchikalkin 2025-06-27 19:24:48 +03:00
  • ed6da539ce deploy: use docker hub vchikalkin 2025-06-27 19:11:18 +03:00
  • 3a20dc60b9 fix: deploy db secrets vchikalkin 2025-06-27 18:50:24 +03:00
  • 2300a7cc1c deploy: try .env - file pattern vchikalkin 2025-06-27 18:45:30 +03:00
  • 4686690c33 fix: deploy docker compose permission error vchikalkin 2025-06-27 18:36:33 +03:00
  • 4a5910611e fix: specify deploy branch 'master' vchikalkin 2025-06-27 18:32:44 +03:00
  • 1d50c3168f add github deploy files vchikalkin 2025-06-27 18:27:03 +03:00
  • ed1fe77f62 set order_number if order state changes to completed vchikalkin 2025-06-27 14:42:49 +03:00
  • c26ad36781 order: check client & master active before create vchikalkin 2025-06-27 12:35:04 +03:00
  • b357571fea fix prev commit vchikalkin 2025-06-26 14:08:46 +03:00
  • c5d4a2f782 fix update order via strapi ui vchikalkin 2025-06-26 13:57:25 +03:00
  • 2074955d19 order: fix order update state lifecycle vchikalkin 2025-06-25 12:20:14 +03:00
  • 065da3e275 order: rename cancellation ->cancelling vchikalkin 2025-06-24 12:32:36 +03:00
  • af4196c685 order: add state 'cancellation' vchikalkin 2025-06-24 11:35:34 +03:00
  • caa9fc54a7 order: fix lifecycle vchikalkin 2025-06-11 17:14:08 +03:00
  • 9ca79ed336 enable debug vchikalkin 2025-06-11 15:28:58 +03:00
  • e419cd811c packages: upgrade strapi version vchikalkin 2025-06-10 11:24:30 +03:00
  • d62b9ad4b0 order: delete date field vchikalkin 2025-06-10 11:19:13 +03:00
  • 5e54c3f7e3 slot: disable beforeUpdate if no time_start & time_end vchikalkin 2025-05-21 12:24:27 +03:00
  • f434f0e208 order: lifecycle checks vchikalkin 2025-05-09 18:48:49 +03:00
  • 797da91b8e service: add field 'duration' vchikalkin 2025-05-08 17:40:15 +03:00
  • 3c2c7701b1 customer::service relations vchikalkin 2025-05-07 17:46:58 +03:00
  • 970c391b0f order: add field 'date' vchikalkin 2025-05-07 17:46:45 +03:00
  • 7b4c5e280a slot: add beforeCreate check vchikalkin 2025-02-20 18:05:57 +03:00
  • e64f5453de slot: beforeUpdate check vchikalkin 2025-02-19 18:14:28 +03:00
  • 554fa6adc0 add type 'service' vchikalkin 2025-02-12 11:16:44 +03:00
  • b30e9e46fb fix fields types & names vchikalkin 2025-02-11 11:40:37 +03:00
  • efe34ba945 upgrade for slots & orders functional vchikalkin 2025-01-30 18:56:18 +03:00
  • 844365c40a upgrade entities vchikalkin 2025-01-27 19:33:49 +03:00
  • 4001b68491 customer.active=false by default vchikalkin 2025-01-10 19:17:56 +03:00
  • 2580fedfd6 customer: add field "photoUrl" vchikalkin 2025-01-01 16:05:09 +03:00
  • 9de19d9aae add graphql vchikalkin 2024-12-09 16:37:00 +03:00
  • d14a8279c0 правки anna k vchikalkin 2024-12-04 19:04:41 +03:00
  • d24eea9e25 day 2 vchikalkin 2024-11-28 23:29:05 +03:00
  • b907aa39f5 locale 'ru' vchikalkin 2024-11-28 21:53:42 +03:00
  • dcfba2b22b Initial commit from Strapi vchikalkin 2024-11-28 21:48:58 +03:00