Skip to content

Commit 75f8e8c

Browse files
committed
Merge branch 'main' into fix/api-endpoint-double-region-subdomain
2 parents 92ad5d0 + b2c12f8 commit 75f8e8c

File tree

141 files changed

+2793
-2044
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+2793
-2044
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ PUBLIC_APPWRITE_MULTI_REGION=false
44
PUBLIC_APPWRITE_ENDPOINT=http://localhost/v1
55
PUBLIC_STRIPE_KEY=
66
PUBLIC_GROWTH_ENDPOINT=
7-
PUBLIC_CONSOLE_EMAIL_VERIFICATION=false
87
PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=true

.github/workflows/publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ jobs:
4141
"PUBLIC_CONSOLE_MODE=cloud"
4242
"PUBLIC_CONSOLE_FEATURE_FLAGS="
4343
"PUBLIC_APPWRITE_MULTI_REGION=true"
44-
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=true"
4544
"PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=false"
4645
"PUBLIC_GROWTH_ENDPOINT=${{ secrets.PUBLIC_GROWTH_ENDPOINT }}"
4746
"PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY }}"
@@ -84,7 +83,6 @@ jobs:
8483
"PUBLIC_CONSOLE_MODE=cloud"
8584
"PUBLIC_CONSOLE_FEATURE_FLAGS="
8685
"PUBLIC_APPWRITE_MULTI_REGION=true"
87-
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=false"
8886
"PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=false"
8987
"PUBLIC_GROWTH_ENDPOINT=${{ secrets.PUBLIC_GROWTH_ENDPOINT }}"
9088
"PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY_STAGE }}"
@@ -124,7 +122,6 @@ jobs:
124122
build-args: |
125123
"PUBLIC_CONSOLE_MODE=self-hosted"
126124
"PUBLIC_APPWRITE_MULTI_REGION=false"
127-
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=false"
128125
"PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=true"
129126
"PUBLIC_CONSOLE_FEATURE_FLAGS="
130127
"PUBLIC_GROWTH_ENDPOINT=${{ secrets.PUBLIC_GROWTH_ENDPOINT }}"
@@ -164,7 +161,6 @@ jobs:
164161
build-args: |
165162
"PUBLIC_CONSOLE_MODE=cloud"
166163
"PUBLIC_APPWRITE_MULTI_REGION=false"
167-
"PUBLIC_CONSOLE_EMAIL_VERIFICATION=false"
168164
"PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=false"
169165
"PUBLIC_CONSOLE_FEATURE_FLAGS="
170166
"PUBLIC_STRIPE_KEY=${{ secrets.PUBLIC_STRIPE_KEY_STAGE }}"

AGENTS.md

Lines changed: 228 additions & 124 deletions
Large diffs are not rendered by default.

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!-- Loads AGENTS.md into AI assistant context -->
2+
3+
@AGENTS.md

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ ADD ./static /app/static
1717
ARG PUBLIC_CONSOLE_MODE
1818
ARG PUBLIC_CONSOLE_FEATURE_FLAGS
1919
ARG PUBLIC_APPWRITE_MULTI_REGION
20-
ARG PUBLIC_CONSOLE_EMAIL_VERIFICATION
2120
ARG PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS
2221
ARG PUBLIC_APPWRITE_ENDPOINT
2322
ARG PUBLIC_GROWTH_ENDPOINT
@@ -31,7 +30,6 @@ ENV PUBLIC_GROWTH_ENDPOINT=$PUBLIC_GROWTH_ENDPOINT
3130
ENV PUBLIC_CONSOLE_MODE=$PUBLIC_CONSOLE_MODE
3231
ENV PUBLIC_CONSOLE_FEATURE_FLAGS=$PUBLIC_CONSOLE_FEATURE_FLAGS
3332
ENV PUBLIC_APPWRITE_MULTI_REGION=$PUBLIC_APPWRITE_MULTI_REGION
34-
ENV PUBLIC_CONSOLE_EMAIL_VERIFICATION=$PUBLIC_CONSOLE_EMAIL_VERIFICATION
3533
ENV PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS=$PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS
3634
ENV PUBLIC_STRIPE_KEY=$PUBLIC_STRIPE_KEY
3735
ENV PUBLIC_CONSOLE_FINGERPRINT_KEY=$PUBLIC_CONSOLE_FINGERPRINT_KEY

build.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ async function main() {
2828
logEnv('MULTI REGION', env?.PUBLIC_APPWRITE_MULTI_REGION);
2929
logEnv('APPWRITE ENDPOINT', env?.PUBLIC_APPWRITE_ENDPOINT, 'relative');
3030
logEnv('GROWTH ENDPOINT', env?.PUBLIC_GROWTH_ENDPOINT);
31-
logEnv('CONSOLE EMAIL VERIFICATION', env?.PUBLIC_CONSOLE_EMAIL_VERIFICATION);
3231
logEnv('CONSOLE MOCK AI SUGGESTIONS', env?.PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS);
3332
log();
3433
logDelimiter();

bun.lock

Lines changed: 14 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
},
2121
"dependencies": {
2222
"@ai-sdk/svelte": "^1.1.24",
23-
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@83fd10c",
23+
"@appwrite.io/console": "https://pkg.vc/-/@appwrite/@appwrite.io/console@67539a6",
2424
"@appwrite.io/pink-icons": "0.25.0",
2525
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@bfe7ce3",
2626
"@appwrite.io/pink-legacy": "^1.0.3",
27-
"@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@bfe7ce3",
27+
"@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@8dcaa17",
2828
"@faker-js/faker": "^9.9.0",
2929
"@plausible-analytics/tracker": "^0.4.4",
3030
"@popperjs/core": "^2.11.8",
@@ -41,7 +41,7 @@
4141
"flatted": "^3.4.2",
4242
"ignore": "^6.0.2",
4343
"nanoid": "^5.1.7",
44-
"nanotar": "^0.1.1",
44+
"nanotar": "^0.3.0",
4545
"pretty-bytes": "^6.1.1",
4646
"remarkable": "^2.0.1",
4747
"svelte-confetti": "^1.4.0",
@@ -55,7 +55,7 @@
5555
"@melt-ui/svelte": "^0.86.6",
5656
"@playwright/test": "^1.58.2",
5757
"@sveltejs/adapter-static": "^3.0.10",
58-
"@sveltejs/kit": "^2.55.0",
58+
"@sveltejs/kit": "^2.57.1",
5959
"@sveltejs/vite-plugin-svelte": "^5.1.1",
6060
"@testing-library/dom": "^10.4.1",
6161
"@testing-library/jest-dom": "^6.9.1",
@@ -91,8 +91,11 @@
9191
"overrides": {
9292
"vite": "npm:rolldown-vite@latest",
9393
"minimatch": "10.2.3",
94+
"brace-expansion": ">=5.0.5",
9495
"immutable": "^5.1.5",
9596
"flatted": "^3.4.2",
96-
"picomatch": "^2.3.2"
97+
"yaml": "^1.10.3",
98+
"picomatch": "^2.3.2",
99+
"cookie": "^0.7.0"
97100
}
98101
}

pnpm-lock.yaml

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hooks.client.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as Sentry from '@sentry/sveltekit';
22
import { isCloud, isProd } from '$lib/system';
33
import { AppwriteException } from '@appwrite.io/console';
4+
import { isVerifyEmailRedirectError } from '$lib/helpers/emailVerification';
45
import type { HandleClientError } from '@sveltejs/kit';
56

67
Sentry.init({
@@ -12,7 +13,9 @@ Sentry.init({
1213
});
1314

1415
export const handleError: HandleClientError = ({ error, message, status }) => {
15-
console.error(error);
16+
if (!isVerifyEmailRedirectError(error)) {
17+
console.error(error);
18+
}
1619

1720
let type;
1821
if (error instanceof AppwriteException) {

0 commit comments

Comments
 (0)