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
2 changes: 1 addition & 1 deletion .workflows/build/compose.start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ services:
container_name: arrhes-prod-website
image: arrhes-website:${ARRHES_VERSION:-dev}
ports:
- "5173:3101"
- "5173:80"

worker:
container_name: arrhes-prod-worker
Expand Down
2 changes: 1 addition & 1 deletion .workflows/build/packages/website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ WORKDIR /
COPY .workflows/build/packages/website/nginx/default.conf /etc/nginx/nginx.conf
RUN rm -rf /usr/share/nginx/html/*
COPY --from=build /root/packages/website/build /usr/share/nginx/html
EXPOSE 3101
EXPOSE 80
CMD ["nginx"]
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.3
v1.3.4
1 change: 0 additions & 1 deletion packages/api/src/routes/auth/settings/updateUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const updateUserRoute = registerRoute(updateUserRouteDefinition, async (c
table: models.user,
data: {
alias: body.alias,
dashboardMode: body.dashboardMode,
lastUpdatedAt: new Date().toISOString(),
},
where: (table) => eq(table.id, user.id),
Expand Down
6 changes: 0 additions & 6 deletions packages/metadata/src/models/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ export const userModel = pgTable(
passwordSalt: text("password_salt").notNull(),
createdAt: dateTimeColumn("created_at").notNull(),
lastUpdatedAt: dateTimeColumn("last_updated_at"),
dashboardMode: varchar("dashboard_mode", {
length: 16,
})
.notNull()
.default("tabs")
.$type<"tabs" | "classic">(),
},
(t) => [
index().on(t.emailToken),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const updateUserRouteDefinition = routeDefinition({
schemas: {
body: v.object({
alias: v.optional(userSchema.entries.alias),
dashboardMode: v.optional(userSchema.entries.dashboardMode),
}),
return: userSchemaReturn,
},
Expand Down
8 changes: 0 additions & 8 deletions packages/metadata/src/schemas/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ export const userSchema = v.object({
passwordSalt: v.nonNullable(stringSchema, "Ce champ est requis"),
createdAt: v.nonNullable(dateTimeSchema, "Ce champ est requis"),
lastUpdatedAt: v.nullable(dateTimeSchema),
dashboardMode: v.nonNullable(
v.picklist([
"tabs",
"classic",
]),
"Ce champ est requis",
),
}) satisfies v.GenericSchema<typeof userModel.$inferSelect>

export const userSchemaReturn = v.pick(userSchema, [
Expand All @@ -45,5 +38,4 @@ export const userSchemaReturn = v.pick(userSchema, [
"passwordSalt",
"createdAt",
"lastUpdatedAt",
"dashboardMode",
])
1 change: 0 additions & 1 deletion packages/tools/drizzle/0025_add_user_dashboard_mode.sql

This file was deleted.

Loading