Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/mit-27/Panora into ui-enhan…
Browse files Browse the repository at this point in the history
…cement
  • Loading branch information
mit-27 committed Jun 11, 2024
2 parents 0130c73 + e9d6ea2 commit e8c6758
Show file tree
Hide file tree
Showing 153 changed files with 3,269 additions and 1,369 deletions.
9 changes: 7 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# ================================================
ENV=dev
DISTRIBUTION=selfhosted # selfhosted or managed
OAUTH_REDIRECT_BASE=http://localhost:3000
PANORA_BASE_API_URL=http://localhost:3000
JWT_SECRET=secret_jwt
ENCRYPT_CRYPTO_SECRET_KEY="0123456789abcdef0123456789abcdef"
#Managed only
Expand All @@ -16,6 +16,10 @@ REDIS_HOST=redis
REDIS_PORT=6379
REDIS_USER=default
REDIS_PASS=A3vniod98Zbuvn9u5

#REDIS_TLS=


# ================================================

# ================================================
Expand Down Expand Up @@ -64,7 +68,8 @@ GORGIAS_TICKETING_CLOUD_CLIENT_SECRET=
GORGIAS_TICKETING_CLOUD_SUBDOMAIN=
FRONT_TICKETING_CLOUD_CLIENT_ID=
FRONT_TICKETING_CLOUD_CLIENT_SECRET=

GITLAB_TICKETING_CLOUD_CLIENT_ID=
GITLAB_TICKETING_CLOUD_CLIENT_SECRET=
# ================================================
# Webapp settings
# Must be set in the perspective of the end user browser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
push: false
tags: panoradotdev/backend-api:selfhosted
build-args: |
OAUTH_REDIRECT_BASE=${{ env.OAUTH_REDIRECT_BASE }}
PANORA_BASE_API_URL=${{ env.PANORA_BASE_API_URL }}
DISTRIBUTION=${{ env.DISTRIBUTION }}
ENV=${{ ENV }}
DATABASE_URL=postgresql://${{env.POSTGRES_USER}}:${{secrets.POSTGRES_PASSWORD}}@${{env.POSTGRES_HOST}}:5432/${{env.POSTGRES_DB}}?ssl=false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.export.backend.selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
push: true
tags: panoradotdev/backend-api:selfhosted
build-args: |
OAUTH_REDIRECT_BASE=${{ env.OAUTH_REDIRECT_BASE }}
PANORA_BASE_API_URL=${{ env.PANORA_BASE_API_URL }}
DISTRIBUTION=${{ env.DISTRIBUTION }}
ENV=${{ ENV }}
DATABASE_URL=postgresql://${{env.POSTGRES_USER}}:${{secrets.POSTGRES_PASSWORD}}@${{env.POSTGRES_HOST}}:5432/${{env.POSTGRES_DB}}?ssl=false
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/porter_stack_panora-backend.yml

This file was deleted.

2 changes: 1 addition & 1 deletion apps/client-ts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

WORKDIR /app
RUN pnpm add -g turbo
RUN pnpm add -g turbo@1.13.4
COPY . .
RUN turbo prune client-ts --docker

Expand Down
2 changes: 1 addition & 1 deletion apps/client-ts/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ENV VITE_STYTCH_TOKEN="$VITE_STYTCH_TOKEN"
RUN corepack enable

WORKDIR /app
RUN pnpm add -g turbo
RUN pnpm add -g turbo@1.13.4

# Start the Webapp
CMD cd apps/client-ts && pnpm install && pnpm run dev
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function CatalogWidget() {
useEffect(() => {
if (data) {
const filteredData = Object.entries(data).reduce((acc, [key, value]) => {
if (key !== 'id_project' && key !== 'id_project_connector') {
if (key !== 'id_connector_set') {
acc[key] = Boolean(value);
}
return acc;
Expand Down
Loading

0 comments on commit e8c6758

Please sign in to comment.