From 5ad51e7d6a47f10696caf74e507b3232a5760865 Mon Sep 17 00:00:00 2001 From: uiv02430vitescocom_SGGITC Date: Mon, 31 Mar 2025 10:57:30 +0200 Subject: [PATCH 1/5] fix: standardize quotes in team entity for test environment --- backend/src/entities/team.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/entities/team.ts b/backend/src/entities/team.ts index a98c6e3..43736f7 100644 --- a/backend/src/entities/team.ts +++ b/backend/src/entities/team.ts @@ -4,7 +4,7 @@ function Longtext() { // Sqlite doesn't support longtext. I hate this, but it is what it is if we want // to keep backend tests and prepare tilt for the upcoming Hackaburg as quickly // as possible. - if (process.env.NODE_ENV === 'test') { + if (process.env.NODE_ENV === "test") { return Column("text"); } return Column("longtext"); From 771aa9d4f804e197f323d19a9c2fb60a92cddff0 Mon Sep 17 00:00:00 2001 From: uiv02430vitescocom_SGGITC Date: Mon, 31 Mar 2025 10:59:28 +0200 Subject: [PATCH 2/5] fix: standardize quotes in team entity for test environment --- backend/src/entities/team.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/entities/team.ts b/backend/src/entities/team.ts index 43736f7..334f12f 100644 --- a/backend/src/entities/team.ts +++ b/backend/src/entities/team.ts @@ -5,6 +5,7 @@ function Longtext() { // to keep backend tests and prepare tilt for the upcoming Hackaburg as quickly // as possible. if (process.env.NODE_ENV === "test") { + console.log("Using text instead of longtext for sqlite"); return Column("text"); } return Column("longtext"); From 5612e55251a13d3c73606d7595c9823ea2796130 Mon Sep 17 00:00:00 2001 From: uiv02430vitescocom_SGGITC Date: Mon, 31 Mar 2025 11:07:20 +0200 Subject: [PATCH 3/5] fix: add 2025 --- frontend/src/components/base/dialog.tsx | 6 +++--- frontend/src/components/pages/status.tsx | 10 +++++----- frontend/src/components/routers/sidebar/sidebar.tsx | 2 +- .../src/components/routers/unauthenticated-router.tsx | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/base/dialog.tsx b/frontend/src/components/base/dialog.tsx index 713ed19..b789dec 100644 --- a/frontend/src/components/base/dialog.tsx +++ b/frontend/src/components/base/dialog.tsx @@ -41,7 +41,7 @@ export const SimpleDialog = (props: SimpleDialogProps) => { Invite a friend to join - Please feel free to invite a friend to join Hackaburg 2024. You can + Please feel free to invite a friend to join Hackaburg 2025. You can use the following link to invite them.
{ WhatsApp } style={{ @@ -84,7 +84,7 @@ export const SimpleDialog = (props: SimpleDialogProps) => { diff --git a/frontend/src/components/pages/status.tsx b/frontend/src/components/pages/status.tsx index df06c59..a67d2f9 100644 --- a/frontend/src/components/pages/status.tsx +++ b/frontend/src/components/pages/status.tsx @@ -69,7 +69,7 @@ export const Status = () => { <> - + )} @@ -99,7 +99,7 @@ export const Status = () => { profile form - , any time between 01.03.2024 - 31.04.2024 + , any time between 01.03.205 - 31.04.2025 )} @@ -146,14 +146,14 @@ export const Status = () => { <> We will come back to you and send you a acceptance mail until{" "} - 01.05.2024. + 01.05.2025. )} {user?.confirmed && ( <> - Congratulations! You got accepted for Hackaburg 2024. 🎉 + Congratulations! You got accepted for Hackaburg 2025. 🎉 )} @@ -174,7 +174,7 @@ export const Status = () => { <> If you got accepted, you need to confirm your spot until{" "} - 08.05.2024 + 08.05.2025 {user?.admitted && ( <> {" "} diff --git a/frontend/src/components/routers/sidebar/sidebar.tsx b/frontend/src/components/routers/sidebar/sidebar.tsx index a67b18d..6336f0d 100644 --- a/frontend/src/components/routers/sidebar/sidebar.tsx +++ b/frontend/src/components/routers/sidebar/sidebar.tsx @@ -105,7 +105,7 @@ export const Sidebar = () => {

HACKABURG

CONTROL CENTER

- All important information about

the Hackaburg 2024{" "} + All important information about

the Hackaburg 2025{" "} event

diff --git a/frontend/src/components/routers/unauthenticated-router.tsx b/frontend/src/components/routers/unauthenticated-router.tsx index cef9179..a139c27 100644 --- a/frontend/src/components/routers/unauthenticated-router.tsx +++ b/frontend/src/components/routers/unauthenticated-router.tsx @@ -73,7 +73,7 @@ export const UnauthenticatedRouter = () => { style={{ color: "#3fb28f" }} > {" "} - Hackaburg 2024 + Hackaburg 2025 {" "}

From 99aab1f8af9be0745dd675bf52da7fb351541d28 Mon Sep 17 00:00:00 2001 From: uiv02430vitescocom_SGGITC Date: Mon, 31 Mar 2025 11:09:35 +0200 Subject: [PATCH 4/5] fix: remove console log for test environment in team entity --- backend/src/entities/team.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/entities/team.ts b/backend/src/entities/team.ts index 334f12f..43736f7 100644 --- a/backend/src/entities/team.ts +++ b/backend/src/entities/team.ts @@ -5,7 +5,6 @@ function Longtext() { // to keep backend tests and prepare tilt for the upcoming Hackaburg as quickly // as possible. if (process.env.NODE_ENV === "test") { - console.log("Using text instead of longtext for sqlite"); return Column("text"); } return Column("longtext"); From cc5f114a7ede6804f605de5d02a94d9bf1cb954b Mon Sep 17 00:00:00 2001 From: uiv02430vitescocom_SGGITC Date: Mon, 31 Mar 2025 11:24:02 +0200 Subject: [PATCH 5/5] fix: update team entity for consistency in test environment --- backup/admit.html | 1295 ++++++++++++++++++++++++++++++++++++++++++ backup/password.html | 1 + backup/subject.html | 1 + backup/verify.html | 1 + 4 files changed, 1298 insertions(+) create mode 100644 backup/admit.html create mode 100644 backup/password.html create mode 100644 backup/subject.html create mode 100644 backup/verify.html diff --git a/backup/admit.html b/backup/admit.html new file mode 100644 index 0000000..af93b09 --- /dev/null +++ b/backup/admit.html @@ -0,0 +1,1295 @@ + + + + + + + + Hackaburg - You're admitted! + + + + + + + + + + + + + + + + + + diff --git a/backup/password.html b/backup/password.html new file mode 100644 index 0000000..3b24f56 --- /dev/null +++ b/backup/password.html @@ -0,0 +1 @@ + Hackaburg - You're admitted! \ No newline at end of file diff --git a/backup/subject.html b/backup/subject.html new file mode 100644 index 0000000..318ce38 --- /dev/null +++ b/backup/subject.html @@ -0,0 +1 @@ + Hackaburg - Submission successfull! \ No newline at end of file diff --git a/backup/verify.html b/backup/verify.html new file mode 100644 index 0000000..59edbe5 --- /dev/null +++ b/backup/verify.html @@ -0,0 +1 @@ + Hackaburg - Confirm your E-Mail address \ No newline at end of file