Skip to content

Commit d4e49cd

Browse files
Merge pull request #3415 from quadratichq/qa
QA Sept 5th
2 parents 97afd1b + 2168ca6 commit d4e49cd

File tree

180 files changed

+3515
-1498
lines changed

Some content is hidden

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

180 files changed

+3515
-1498
lines changed

.env.docker

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,11 @@ PUBSUB_PASSWORD=""
1717
PUBSUB_ACTIVE_CHANNELS=active_channels
1818
PUBSUB_PROCESSED_TRANSACTIONS_CHANNEL=processed_transactions
1919

20-
# auth: ory or auth0
20+
# auth: ory or workos
2121
AUTH_TYPE=ory
22-
# JWKS_URI=AUTH0_JWKS_URI
23-
JWKS_URI=http://host.docker.internal:3000/.well-known/jwks.json
2422
M2M_AUTH_TOKEN=M2M_AUTH_TOKEN
2523
ENCRYPTION_KEY=eb4758047f74bdb2603cce75c4370327ca2c3662c4786867659126da8e64dfcc
2624

27-
# auth=auth0
28-
AUTH0_ISSUER=AUTH0_ISSUER
29-
AUTH0_AUDIENCE=AUTH0_AUDIENCE
30-
#client
31-
VITE_AUTH0_DOMAIN=VITE_AUTH0_DOMAIN
32-
VITE_AUTH0_CLIENT_ID=VITE_AUTH0_CLIENT_ID
33-
#api
34-
AUTH0_DOMAIN=AUTH0_DOMAIN
35-
AUTH0_CLIENT_ID=AUTH0_CLIENT_ID
36-
AUTH0_CLIENT_SECRET=AUTH0_CLIENT_SECRET
37-
3825
# auth=ory
3926
ORY_IN_DOCKER_COMPOSE=true
4027
ORY_DSN=postgresql://postgres:postgres@host.docker.internal:5432/kratos?sslmode=disable
@@ -46,6 +33,12 @@ KRATOS_NODE_PORT=4455
4633
KRATOS_COOKIE_SECRET=changeme
4734
KRATOS_CSRF_COOKIE_NAME=__HOST-localhost-x-csrf-token
4835
KRATOS_CSRF_COOKIE_SECRET=changeme
36+
JWKS_URI=http://host.docker.internal:3000/.well-known/jwks.json
37+
38+
# auth=workos
39+
WORKOS_CLIENT_ID=client_xxxxxxxxxxxxxxxxxxxxxxxxx
40+
WORKOS_API_KEY=WORKOS_API_KEY
41+
# JWKS_URI=https://api.workos.com/sso/jwks/client_xxxxxxxxxxxxxxxxxxxxxxxxx
4942

5043
# caddy
5144
CADDY_IN_DOCKER_COMPOSE=false
@@ -58,6 +51,7 @@ QUADRATIC_API_IN_DOCKER_COMPOSE=true
5851
QUADRATIC_API_URL_EXTERNAL=http://localhost:8000
5952
QUADRATIC_API_URL_INTERNAL=http://host.docker.internal:8000
6053
QUADRATIC_API_CORS=*
54+
QUADRATIC_API_AUTH_CORS=http://localhost:3000
6155

6256
# multiplayer
6357
QUADRATIC_MULTIPLAYER_IN_DOCKER_COMPOSE=true
@@ -130,9 +124,6 @@ BASETEN_API_KEY=BASETEN_API_KEY
130124
FIREWORKS_API_KEY=FIREWORKS_API_KEY
131125
OPEN_ROUTER_API_KEY=OPEN_ROUTER_API_KEY
132126

133-
# use image from ECR or build locally
134-
ECR_OR_BUILD=build
135-
136127
# build client in dev mode without wasm-opt
137128
CLIENT_DEV=false
138129

.github/workflows/preview-build-deploy-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ jobs:
538538
outputs:
539539
matrix: ${{ steps.generate-matrix.outputs.matrix }}
540540
env:
541-
matrix_runner: 158
541+
matrix_runner: 162
542542
e2e_url: ${{ needs.deploy_images.outputs.WEBSITE_URL }}
543543
deploy_time: ${{ needs.deploy_images.outputs.DEPLOY_TIME }}
544544
steps:
@@ -583,7 +583,7 @@ jobs:
583583
]
584584
runs-on: blacksmith-2vcpu-ubuntu-2404
585585
container:
586-
image: mcr.microsoft.com/playwright:v1.53.1-noble
586+
image: mcr.microsoft.com/playwright:v1.55.0-noble
587587
options: --user root
588588
if: github.head_ref != 'qa' || github.base_ref != 'main'
589589
timeout-minutes: 15

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"acked",
66
"actix",
77
"allocvec",
8+
"authkit",
89
"autoclean",
910
"autoincrement",
1011
"AVERAGEIF",
@@ -65,6 +66,7 @@
6566
"fholzer",
6667
"filechooser",
6768
"finitize",
69+
"flate",
6870
"fontfaceobserver",
6971
"fontkit",
7072
"fontobject",
@@ -102,9 +104,11 @@
102104
"keepalive",
103105
"keyrings",
104106
"Kimi",
107+
"Kircos",
105108
"kratos",
106109
"linkify",
107110
"localstack",
111+
"mailchimp",
108112
"mailslurper",
109113
"MDSL",
110114
"micropip",
@@ -137,6 +141,7 @@
137141
"pointerupoutside",
138142
"Pooler",
139143
"prec",
144+
"presigner",
140145
"profraw",
141146
"proptest",
142147
"prost",
@@ -159,6 +164,7 @@
159164
"rfind",
160165
"ROUNDDOWN",
161166
"rstar",
167+
"russh",
162168
"RUSTC",
163169
"RUSTFLAGS",
164170
"rustup",
@@ -179,6 +185,7 @@
179185
"Spannable",
180186
"sqlcmd",
181187
"sqlservr",
188+
"sqlx",
182189
"sslmode",
183190
"stdev",
184191
"Strftime",
@@ -196,6 +203,7 @@
196203
"Unspan",
197204
"Unspanned",
198205
"unspill",
206+
"urlencoding",
199207
"useblacksmith",
200208
"usermod",
201209
"vals",
@@ -206,6 +214,7 @@
206214
"VLOOKUP",
207215
"websockets",
208216
"Westborough",
217+
"workos",
209218
"XLOOKUP",
210219
"xlsxwriter",
211220
"xyxy",

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2024"
1515
description = "Infinite data grid with Python, JavaScript, and SQL built-in"
1616
repository = "https://github.com/quadratichq/quadratic"
1717
license-file = "LICENSE"
18-
version = "0.17.2"
18+
version = "0.18.0"
1919

2020

2121
[profile.release]

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.17.2
1+
0.18.0

dev/cli.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export class CLI {
2929
.option("-E, --hideRustClient", "Hide RustClient")
3030
.option("-S, --hideShared", "Hide Shared output")
3131
.option("-L, --servicesLocal", "Set Redis & Postgres as running locally")
32-
.option("-D, --dockerDev", "Run dev in docker")
3332
.option("-d, --dark", "Use dark theme")
3433
.showHelpAfterError();
3534
program.parse();

dev/cli.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export class CLI {
2424
hidePython: boolean;
2525
hideShared: boolean;
2626
servicesLocal: boolean;
27-
dockerDev: boolean;
2827
dark: boolean;
2928
};
3029

@@ -67,7 +66,6 @@ export class CLI {
6766
.option("-E, --hideRustClient", "Hide RustClient")
6867
.option("-S, --hideShared", "Hide Shared output")
6968
.option("-L, --servicesLocal", "Set Redis & Postgres as running locally")
70-
.option("-D, --dockerDev", "Run dev in docker")
7169
.option("-d, --dark", "Use dark theme")
7270
.showHelpAfterError();
7371

dev/control.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -526,8 +526,8 @@ export class Control {
526526
runRust() {
527527
if (this.quitting)
528528
return;
529-
this.ui.print("rust", "upgrading...");
530-
this.rust = spawn("rustup", ["upgrade"]);
529+
this.ui.print("rust", "installing...");
530+
this.rust = spawn("rustup", ["show"]);
531531
this.rust.on("close", (code) => {
532532
if (code === 0) {
533533
this.ui.print("rust", "completed");
@@ -545,10 +545,6 @@ export class Control {
545545
return new Promise((resolve) => {
546546
if (this.quitting)
547547
resolve(false);
548-
const dockerDev = this.cli.options.dockerDev;
549-
if (dockerDev) {
550-
resolve(true);
551-
}
552548
const servicesLocal = this.cli.options.servicesLocal;
553549
const redis = servicesLocal
554550
? spawn("redis-cli", ["ping"])
@@ -567,10 +563,6 @@ export class Control {
567563
return new Promise((resolve) => {
568564
if (this.quitting)
569565
resolve(false);
570-
const dockerDev = this.cli.options.dockerDev;
571-
if (dockerDev) {
572-
resolve(true);
573-
}
574566
const servicesLocal = this.cli.options.servicesLocal;
575567
const postgres = servicesLocal
576568
? spawn("pg_isready")

dev/control.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ export class Control {
626626

627627
runRust() {
628628
if (this.quitting) return;
629-
this.ui.print("rust", "upgrading...");
630-
this.rust = spawn("rustup", ["upgrade"]);
629+
this.ui.print("rust", "installing...");
630+
this.rust = spawn("rustup", ["show"]);
631631
this.rust.on("close", (code) => {
632632
if (code === 0) {
633633
this.ui.print("rust", "completed");
@@ -644,10 +644,6 @@ export class Control {
644644
isRedisRunning(): Promise<boolean | "not found"> {
645645
return new Promise((resolve) => {
646646
if (this.quitting) resolve(false);
647-
const dockerDev = this.cli.options.dockerDev;
648-
if (dockerDev) {
649-
resolve(true);
650-
}
651647
const servicesLocal = this.cli.options.servicesLocal;
652648
const redis = servicesLocal
653649
? spawn("redis-cli", ["ping"])
@@ -666,10 +662,6 @@ export class Control {
666662
isPostgresRunning(): Promise<boolean | "not found"> {
667663
return new Promise((resolve) => {
668664
if (this.quitting) resolve(false);
669-
const dockerDev = this.cli.options.dockerDev;
670-
if (dockerDev) {
671-
resolve(true);
672-
}
673665
const servicesLocal = this.cli.options.servicesLocal;
674666
const postgres = servicesLocal
675667
? spawn("pg_isready")

dev/input.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ export class Input {
136136
this.cli.options.servicesLocal = !this.cli.options.servicesLocal;
137137
this.control.checkServices();
138138
break;
139-
case "D":
140-
this.cli.options.dockerDev = !this.cli.options.dockerDev;
141-
this.control.checkServices();
142-
break;
143139
}
144140
};
145141
}

0 commit comments

Comments
 (0)