Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ PUBLIC_GROWTH_ENDPOINT=
PUBLIC_CONSOLE_EMAIL_VERIFICATION=false
PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=true
PUBLIC_AI_SERVICE_BASE_URL=
PUBLIC_API_BASE_URL=
PUBLIC_REALTIME_URI=ws://localhost:8891/graphql
PUBLIC_IMAGINE_CDN_URL=
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
PUBLIC_CONSOLE_PROFILE: 'default'
PUBLIC_APPWRITE_ENDPOINT: http://appwrite.test/v1
PUBLIC_AI_SERVICE_BASE_URL: 'http://appwrite.test/v1'
PUBLIC_API_BASE_URL: 'http://appwrite.test/v1'
PUBLIC_REALTIME_URI: 'ws://appwrite.test/graphql'
PUBLIC_APPWRITE_SITES_BASE_URL: 'https://appwrite.network'
jobs:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
ARG PUBLIC_CONSOLE_MODE
ARG PUBLIC_CONSOLE_PROFILE
ARG PUBLIC_AI_SERVICE_BASE_URL
ARG PUBLIC_API_BASE_URL
ARG PUBLIC_REALTIME_URI
ARG PUBLIC_CONSOLE_FEATURE_FLAGS
ARG PUBLIC_APPWRITE_MULTI_REGION
Expand All @@ -38,7 +39,7 @@
ARG PUBLIC_SENTRY_TRACES_SAMPLE_RATE
ARG PUBLIC_SENTRY_REPLAY_SAMPLE_RATE
ARG PUBLIC_SENTRY_DEBUG
ARG SENTRY_AUTH_TOKEN

Check warning on line 42 in Dockerfile

View workflow job for this annotation

GitHub Actions / dockerize-profiles

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "SENTRY_AUTH_TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ARG SENTRY_RELEASE


Expand All @@ -59,7 +60,7 @@
ENV PUBLIC_SENTRY_TRACES_SAMPLE_RATE=$PUBLIC_SENTRY_TRACES_SAMPLE_RATE
ENV PUBLIC_SENTRY_REPLAY_SAMPLE_RATE=$PUBLIC_SENTRY_REPLAY_SAMPLE_RATE
ENV PUBLIC_SENTRY_DEBUG=$PUBLIC_SENTRY_DEBUG
ENV SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / dockerize-profiles

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "SENTRY_AUTH_TOKEN") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV SENTRY_RELEASE=$SENTRY_RELEASE
ENV PUBLIC_IMAGINE_CDN_URL=$PUBLIC_IMAGINE_CDN_URL
ENV NODE_OPTIONS=--max_old_space_size=8192
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"devDependencies": {
"@eslint/compat": "^1.4.0",
"@eslint/js": "^9.37.0",
"@imagine.dev/web-components": "^0.0.140",
"@imagine.dev/web-components": "https://pkg.vc/-/@appwrite/@imagine.dev/web-components@ad8767ea",
"@melt-ui/pp": "^0.3.2",
"@melt-ui/svelte": "^0.86.6",
"@playwright/test": "^1.56.0",
Expand Down
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const config: PlaywrightTestConfig = {
NODE_OPTIONS: '--max_old_space_size=8192',
PUBLIC_CONSOLE_PROFILE: 'console',
PUBLIC_AI_SERVICE_BASE_URL: 'http://appwrite.test/v1',
PUBLIC_API_BASE_URL: 'http://appwrite.test/v1',
PUBLIC_APPWRITE_SITES_BASE_URL: 'https://appwrite.network',
PUBLIC_REALTIME_URI: 'ws://appwrite.test/v1',
PUBLIC_APPWRITE_ENDPOINT: 'https://stage.cloud.appwrite.io/v1',
Expand Down
17 changes: 12 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/lib/studio/studio-widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ export async function initImagine(
initImagineConfig(
{
AI_SERVICE_ENDPOINT: env.PUBLIC_AI_SERVICE_BASE_URL,
API_ENDPOINT: env.PUBLIC_API_BASE_URL,
APPWRITE_ENDPOINT: env.PUBLIC_APPWRITE_ENDPOINT,
APPWRITE_SITES_BASE_URL: env.PUBLIC_APPWRITE_SITES_BASE_URL,
REALTIME_URI: env.PUBLIC_REALTIME_URI
Expand Down