* apps/web: add generic privacy & offer pages * Update environment variables and enhance offer and privacy pages - Added `OFFER_URL` and `SUPPORT_TELEGRAM_URL` to environment variable configuration for better flexibility. - Updated the offer page to dynamically link to the offer URL and improved contact information presentation with a direct link to the support Telegram. - Revised the privacy policy page to reflect the service name and updated contact details, ensuring clarity and consistency in communication. * move offer & privacy -> (documents) sub directory * Update offer and privacy pages to include user consent for third-party data sharing - Added a clause in the offer page requiring users to ensure consent from third parties when adding their contact information. - Updated the privacy policy to clarify that users can share third-party data, emphasizing the need for consent for data processing within the service. * Add privacy agreement and update environment variables - Introduced `PRIVACY_URL` to the environment configuration for dynamic linking. - Updated localization files to include a user consent agreement for sharing phone numbers, linking to the offer and privacy URLs. - Enhanced welcome and contact addition messages to incorporate the new consent clause, improving user clarity on data handling. * Refactor phone agreement localization and enhance user consent messaging - Updated the Russian localization file to streamline the phone sharing agreement, improving clarity on user consent for data processing. - Modified the contact addition and welcome messages to incorporate the new agreement format, ensuring users are informed about their consent to share personal data. * Enhance Russian localization and update message formatting - Added a new payment agreement clause in the Russian localization file, clarifying user consent for payments. - Updated message formatting in the contact addition and subscription processes to support HTML parsing, improving message presentation and user experience. - Incorporated the new payment agreement into the subscription flow, ensuring users are informed about their consent to the terms. * Refactor Russian localization for contact agreements and enhance user consent messaging - Updated the Russian localization file to separate and clarify the phone sharing and contact sharing agreements, improving user understanding of consent requirements. - Modified the contact addition and welcome messages to utilize the new agreement format, ensuring users are informed about their consent to share personal data in a more structured manner. * Enhance Russian localization and add document handling features - Updated the Russian localization file to include new entries for privacy policy and public offer documents, improving user access to important information. - Added 'documents' command to the bot's command list, allowing users to easily access document-related features. - Integrated document handling in the main menu and handlers, enhancing user experience and navigation within the bot.
49 lines
949 B
JSON
49 lines
949 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "tui",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"outputs": [".next/**", "!.next/cache/**"],
|
|
"env": [
|
|
"URL_GRAPHQL",
|
|
"PASSWORD_GRAPHQL",
|
|
"LOGIN_GRAPHQL",
|
|
"BOT_TOKEN",
|
|
"NEXTAUTH_SECRET",
|
|
"BOT_URL",
|
|
"SUPPORT_TELEGRAM_URL",
|
|
"BOT_PROVIDER_TOKEN",
|
|
"REDIS_HOST",
|
|
"REDIS_PORT",
|
|
"REDIS_PASSWORD",
|
|
"OFFER_URL",
|
|
"PRIVACY_URL"
|
|
]
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^lint"]
|
|
},
|
|
"check-types": {
|
|
"dependsOn": ["^check-types"]
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"lint-staged": {
|
|
"cache": false
|
|
},
|
|
"graphql:codegen": {
|
|
"cache": false
|
|
},
|
|
"test:unit": {
|
|
"cache": false
|
|
},
|
|
"test:e2e": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|