forked from baptisteArno/typebot.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from jmgoncalves97/release/v2.21.0
Release/v2.21.0
- Loading branch information
Showing
4,237 changed files
with
172,376 additions
and
61,968 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Dockerfile | ||
.dockerignore | ||
node_modules | ||
**/node_modules | ||
npm-debug.log | ||
README.md | ||
.next | ||
**/.next | ||
.git | ||
.github | ||
.turbo | ||
|
||
**/.env | ||
landing-page | ||
docs | ||
scripts | ||
packages/scripts | ||
wordpress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Make sure to change this to your own random string of 32 characters (https://docs.typebot.io/self-hosting/docker#2-add-the-required-configuration) | ||
ENCRYPTION_SECRET=H+KbL/OFrqbEuDy/1zX8bsPG+spXri3S | ||
|
||
DATABASE_URL=postgresql://postgres:typebot@localhost:5432/typebot | ||
|
||
NEXTAUTH_URL=http://localhost:3000 | ||
NEXT_PUBLIC_VIEWER_URL=http://localhost:3001 | ||
|
||
GITHUB_CLIENT_ID=Ov23liv5olc27SY9YdUV | ||
GITHUB_CLIENT_SECRET=7249890167c442df8e542871052a7eb63d811d63 | ||
|
||
S3_ACCESS_KEY=minio | ||
S3_SECRET_KEY=minio123 | ||
S3_BUCKET=typebot | ||
S3_PORT=9000 | ||
S3_ENDPOINT=localhost | ||
S3_SSL=false | ||
|
||
# For more configuration options check out: https://docs.typebot.io/self-hosting/configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Make sure to change this to your own random string of 32 characters (https://docs.typebot.io/self-hosting/docker#2-add-the-required-configuration) | ||
ENCRYPTION_SECRET=do+UspMmB/rewbX2K/rskFmtgGSSZ8Ta | ||
|
||
DATABASE_URL=postgresql://postgres:typebot@typebot-db:5432/typebot | ||
|
||
NEXTAUTH_URL= | ||
NEXT_PUBLIC_VIEWER_URL= | ||
|
||
ADMIN_EMAIL= | ||
# For more configuration options check out: https://docs.typebot.io/self-hosting/configuration |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Check and report chats usage | ||
|
||
on: | ||
schedule: | ||
- cron: '0 * * * *' | ||
|
||
jobs: | ||
send: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/scripts | ||
env: | ||
DATABASE_URL: '${{ secrets.DATABASE_URL }}' | ||
ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' | ||
NEXTAUTH_URL: 'http://localhost:3000' | ||
NEXT_PUBLIC_VIEWER_URL: 'http://localhost:3001' | ||
TELEMETRY_WEBHOOK_URL: '${{ secrets.TELEMETRY_WEBHOOK_URL }}' | ||
TELEMETRY_WEBHOOK_BEARER_TOKEN: '${{ secrets.TELEMETRY_WEBHOOK_BEARER_TOKEN }}' | ||
SMTP_USERNAME: '${{ secrets.SMTP_USERNAME }}' | ||
SMTP_PASSWORD: '${{ secrets.SMTP_PASSWORD }}' | ||
SMTP_HOST: '${{ secrets.SMTP_HOST }}' | ||
SMTP_PORT: '${{ secrets.SMTP_PORT }}' | ||
NEXT_PUBLIC_SMTP_FROM: '${{ secrets.NEXT_PUBLIC_SMTP_FROM }}' | ||
STRIPE_SECRET_KEY: '${{ secrets.STRIPE_SECRET_KEY }}' | ||
STRIPE_STARTER_PRICE_ID: '${{ secrets.STRIPE_STARTER_PRICE_ID }}' | ||
STRIPE_STARTER_CHATS_PRICE_ID: '${{ secrets.STRIPE_STARTER_CHATS_PRICE_ID }}' | ||
STRIPE_PRO_PRICE_ID: '${{ secrets.STRIPE_PRO_PRICE_ID }}' | ||
STRIPE_PRO_CHATS_PRICE_ID: '${{ secrets.STRIPE_PRO_CHATS_PRICE_ID }}' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@v2.2.2 | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo run checkAndReportChatsUsage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Daily database cleanup | ||
|
||
on: | ||
schedule: | ||
- cron: '0 6 * * *' | ||
|
||
jobs: | ||
clean: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/scripts | ||
env: | ||
DATABASE_URL: '${{ secrets.DATABASE_URL }}' | ||
ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' | ||
NEXTAUTH_URL: 'http://localhost:3000' | ||
NEXT_PUBLIC_VIEWER_URL: 'http://localhost:3001' | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@v2.2.2 | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo run db:cleanDatabase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish @typebot.io/js package to NPM | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'js-v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@v2.2.2 | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo build --filter=@typebot.io/js... | ||
- run: cd packages/embeds/js && pnpm publish --no-git-checks --access public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish @typebot.io/nextjs package to NPM | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'nextjs-v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@v2.2.2 | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo build --filter=@typebot.io/nextjs... | ||
- run: cd packages/embeds/nextjs && pnpm publish --no-git-checks --access public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish @typebot.io/react package to NPM | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'react-v*' | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@v2.2.2 | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm turbo build --filter=@typebot.io/react... | ||
- run: cd packages/embeds/react && pnpm publish --no-git-checks --access public |
Oops, something went wrong.