
* Crypto events (#1390) * update schemas, functions & ui to allow creating and updating events with a smart contract property * remove adding sc address in the dialog that first pops-up when creating a new event, since its an advanced option * add sc to booking ui * some more ts && error handling * fetch erc20s and nfts list in event-type page * some cleanup within time limit * ts fix 1 * more ts fixes * added web3 section to integrations * added web3 wrapper, needs connection to user_settings db * extract to api * Update eventType.ts * Update components/CryptoSection.tsx Change comment from // to /** as @zomars suggested Co-authored-by: Omar López <zomars@me.com> * convert axios to fetch, change scAddress to smartContractAddress, load bloxy from next_public_env * Fix branch conflict * add enable/disable btn web3 * fixed away user causing duplicate entries * Remove web3 validation * renamed web3 button in integrations * remove unused variable * Add metadata column * added loader and showToast to the web3 btn * fix: remove smartContractAddress from info sended * send to user events when the contract is missing * use window.web3 instead of web3 * use NEXT_PUBLIC_WEB3_AUTH_MSG * remove web3 auth from .env * wip * wip * Add metamask not installed msg and success redirect * add redirect when verified * styled web3 button and added i18n to web3 * fixed redirect after verification * wip * wip * moved crypto section to ee Co-authored-by: Yuval Drori <53199044+yuvd@users.noreply.github.com> Co-authored-by: Peer Richelsen <peeroke@richelsen.net> Co-authored-by: Yuval Drori <yuvald29@protonmail.com> Co-authored-by: Omar López <zomars@me.com> Co-authored-by: Edward Fernandez <edward.fernandez@rappi.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com>
97 lines
3.6 KiB
Text
97 lines
3.6 KiB
Text
# Set this value to 'agree' to accept our license:
|
|
# LICENSE: https://github.com/calendso/calendso/blob/main/LICENSE
|
|
#
|
|
# Summary of terms:
|
|
# - The codebase has to stay open source, whether it was modified or not
|
|
# - You can not repackage or sell the codebase
|
|
# - Acquire a commercial license to remove these terms by emailing: license@cal.com
|
|
NEXT_PUBLIC_LICENSE_CONSENT=''
|
|
|
|
# DATABASE_URL='postgresql://<user>:<pass>@<db-host>:<db-port>/<db-name>'
|
|
DATABASE_URL="postgresql://postgres:@localhost:5450/calendso"
|
|
|
|
# Needed to enable Google Calendar integrationa and Login with Google
|
|
# @see https://github.com/calendso/calendso#obtaining-the-google-api-credentials
|
|
GOOGLE_API_CREDENTIALS='{}'
|
|
|
|
# To enable Login with Google you need to:
|
|
# 1. Set `GOOGLE_API_CREDENTIALS` above
|
|
# 2. Set `GOOGLE_LOGIN_ENABLED` to `true`
|
|
GOOGLE_LOGIN_ENABLED=false
|
|
|
|
BASE_URL='http://localhost:3000'
|
|
NEXT_PUBLIC_APP_URL='http://localhost:3000'
|
|
|
|
JWT_SECRET='secret'
|
|
# This is used so we can bypass emails in auth flows for E2E testing
|
|
PLAYWRIGHT_SECRET=
|
|
|
|
# To enable SAML login, set both these variables
|
|
# @see https://github.com/calendso/calendso/tree/main/ee#setting-up-saml-login
|
|
# SAML_DATABASE_URL="postgresql://postgres:@localhost:5450/cal-saml"
|
|
# SAML_ADMINS='pro@example.com'
|
|
|
|
# @see: https://github.com/calendso/calendso/issues/263
|
|
# Required for Vercel hosting - set NEXTAUTH_URL to equal your BASE_URL
|
|
# NEXTAUTH_URL='http://localhost:3000'
|
|
|
|
# Remove this var if you don't want Cal to collect anonymous usage
|
|
NEXT_PUBLIC_TELEMETRY_KEY=js.2pvs2bbpqq1zxna97wcml.oi2jzirnbj1ev4tc57c5r
|
|
|
|
# Used for the Office 365 / Outlook.com Calendar integration
|
|
MS_GRAPH_CLIENT_ID=
|
|
MS_GRAPH_CLIENT_SECRET=
|
|
|
|
# Used for the Zoom integration
|
|
ZOOM_CLIENT_ID=
|
|
ZOOM_CLIENT_SECRET=
|
|
|
|
#Used for the Daily integration
|
|
DAILY_API_KEY=
|
|
DAILY_SCALE_PLAN=''
|
|
|
|
# E-mail settings
|
|
|
|
# Cal uses nodemailer (@see https://nodemailer.com/about/) to provide email sending. As such we are trying to
|
|
# allow access to the nodemailer transports from the .env file. E-mail templates are accessible within lib/emails/
|
|
|
|
# Configures the global From: header whilst sending emails.
|
|
EMAIL_FROM='notifications@yourselfhostedcal.com'
|
|
|
|
# Configure SMTP settings (@see https://nodemailer.com/smtp/).
|
|
# Note: The below configuration for Office 365 has been verified to work.
|
|
EMAIL_SERVER_HOST='smtp.office365.com'
|
|
EMAIL_SERVER_PORT=587
|
|
EMAIL_SERVER_USER='<office365_emailAddress>'
|
|
# Keep in mind that if you have 2FA enabled, you will need to provision an App Password.
|
|
EMAIL_SERVER_PASSWORD='<office365_password>'
|
|
# The following configuration for Gmail has been verified to work.
|
|
# EMAIL_SERVER_HOST='smtp.gmail.com'
|
|
# EMAIL_SERVER_PORT=465
|
|
# EMAIL_SERVER_USER='<gmail_emailAddress>'
|
|
## You will need to provision an App Password.
|
|
## @see https://support.google.com/accounts/answer/185833
|
|
# EMAIL_SERVER_PASSWORD='<gmail_app_password>'
|
|
|
|
# ApiKey for cronjobs
|
|
CRON_API_KEY='0cc0e6c35519bba620c9360cfe3e68d0'
|
|
|
|
# Stripe Config
|
|
NEXT_PUBLIC_STRIPE_PUBLIC_KEY= # pk_test_...
|
|
STRIPE_PRIVATE_KEY= # sk_test_...
|
|
STRIPE_CLIENT_ID= # ca_...
|
|
STRIPE_WEBHOOK_SECRET= # whsec_...
|
|
PAYMENT_FEE_PERCENTAGE=0.005 # Take 0.5% commission
|
|
PAYMENT_FEE_FIXED=10 # Take 10 additional cents commission
|
|
|
|
# Application Key for symmetric encryption and decryption
|
|
# must be 32 bytes for AES256 encryption algorithm
|
|
CALENDSO_ENCRYPTION_KEY=
|
|
|
|
# Intercom Config
|
|
NEXT_PUBLIC_INTERCOM_APP_ID=
|
|
|
|
# Web3/Crypto stuff
|
|
NEXT_PUBLIC_BLOXY_API_KEY=
|
|
# Auth message can be whatever you want, doesn't really matter because it's encrypted with a private key anyway, and will be visible to the signee
|
|
NEXT_PUBLIC_WEB3_AUTH_MSG=
|