Skip to content

Commit 2934777

Browse files
Merge remote-tracking branch 'origin/main' into big-int
2 parents d5689d4 + e4da580 commit 2934777

93 files changed

Lines changed: 1339 additions & 1502 deletions

File tree

Some content is hidden

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

.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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ Set via `.env` (copy `.env.example`). All prefixed with `PUBLIC_` for SvelteKit:
222222
| `PUBLIC_STRIPE_KEY` | -- | Stripe public key (cloud only) |
223223
| `PUBLIC_GROWTH_ENDPOINT` | -- | Analytics endpoint |
224224
| `PUBLIC_CONSOLE_FEATURE_FLAGS` | -- | Feature flags |
225-
| `PUBLIC_CONSOLE_EMAIL_VERIFICATION` | `false` | Require email verification |
226225
| `PUBLIC_CONSOLE_MOCK_AI_SUGGESTIONS` | `true` | Mock AI in dev |
227226

228227
## Common pitfalls

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: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 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@863d3e9",
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",

pnpm-lock.yaml

Lines changed: 7 additions & 6 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) {

src/lib/actions/analytics.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ export enum Submit {
428428
MessagingTopicSubscriberDelete = 'submit_messaging_topic_subscriber_delete',
429429
ApplyQuickFilter = 'submit_apply_quick_filter',
430430
RequestBAA = 'submit_request_baa',
431+
BAAAddonEnable = 'submit_baa_addon_enable',
432+
BAAAddonDisable = 'submit_baa_addon_disable',
431433
RequestSoc2 = 'submit_request_soc2',
432434
SiteCreate = 'submit_site_create',
433435
SiteDelete = 'submit_site_delete',

0 commit comments

Comments
 (0)