From 6481d060b792a277d2e0997d5ccb03ccaf3fb88f Mon Sep 17 00:00:00 2001 From: Lars Date: Thu, 26 Sep 2024 13:07:31 +0200 Subject: [PATCH 01/15] feat: add cronjob in `setup_uberspace.sh` --- scripts/setup_uberspace.sh | 4 ++++ uberspace/backup_cron | 1 + uberspace/database_backup.sh | 1 + 3 files changed, 6 insertions(+) create mode 100644 uberspace/backup_cron create mode 100755 uberspace/database_backup.sh diff --git a/scripts/setup_uberspace.sh b/scripts/setup_uberspace.sh index 09d798d..d7e3687 100755 --- a/scripts/setup_uberspace.sh +++ b/scripts/setup_uberspace.sh @@ -77,3 +77,7 @@ if ! $(uberspace web backend list | grep -q 'http:3000 => OK, listening'); then exit 2 fi echo 'Backend app opened to the internet' + +# Set cronjob for database backups +# IMPORTANT: This overwrites existing entries! +crontab ~/serlo-editor-as-lti-tool/uberspace/backup_cron \ No newline at end of file diff --git a/uberspace/backup_cron b/uberspace/backup_cron new file mode 100644 index 0000000..7c6068e --- /dev/null +++ b/uberspace/backup_cron @@ -0,0 +1 @@ +0 2 * * * /bin/bash ~/serlo-editor-as-lti-tool/uberspace/database_backup.sh diff --git a/uberspace/database_backup.sh b/uberspace/database_backup.sh new file mode 100755 index 0000000..d007296 --- /dev/null +++ b/uberspace/database_backup.sh @@ -0,0 +1 @@ +mysqldump edtrstag > ~/backup.sql From c875b72f48d2b94f4f46b508fafe24528770c702 Mon Sep 17 00:00:00 2001 From: Lars Date: Thu, 26 Sep 2024 14:30:52 +0200 Subject: [PATCH 02/15] doc(cronjob): add link to `https://crontab.guru/` --- scripts/setup_uberspace.sh | 2 +- uberspace/backup_cron | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/setup_uberspace.sh b/scripts/setup_uberspace.sh index d7e3687..d0fc22c 100755 --- a/scripts/setup_uberspace.sh +++ b/scripts/setup_uberspace.sh @@ -80,4 +80,4 @@ echo 'Backend app opened to the internet' # Set cronjob for database backups # IMPORTANT: This overwrites existing entries! -crontab ~/serlo-editor-as-lti-tool/uberspace/backup_cron \ No newline at end of file +crontab ~/serlo-editor-as-lti-tool/uberspace/backup_cron diff --git a/uberspace/backup_cron b/uberspace/backup_cron index 7c6068e..96b71a7 100644 --- a/uberspace/backup_cron +++ b/uberspace/backup_cron @@ -1 +1,2 @@ +# See https://crontab.guru/ for schedule 0 2 * * * /bin/bash ~/serlo-editor-as-lti-tool/uberspace/database_backup.sh From a58fdb101df9954109ba754792745102e584be07 Mon Sep 17 00:00:00 2001 From: LarsTheGlidingSquirrel <59921805+LarsTheGlidingSquirrel@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:51:28 +0200 Subject: [PATCH 03/15] fix: use $USER in database_backup.sh Co-authored-by: Hugo Tiburtino <45924645+hugotiburtino@users.noreply.github.com> --- uberspace/database_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uberspace/database_backup.sh b/uberspace/database_backup.sh index d007296..6e832e2 100755 --- a/uberspace/database_backup.sh +++ b/uberspace/database_backup.sh @@ -1 +1 @@ -mysqldump edtrstag > ~/backup.sql +mysqldump ${USER} > ~/backup.sql From 67f638eeb37d00886ff6269e675f1c5a6182e933 Mon Sep 17 00:00:00 2001 From: Lars Date: Thu, 26 Sep 2024 14:57:25 +0200 Subject: [PATCH 04/15] fix: only add database backup cronjob on 'production' environment --- scripts/setup_uberspace.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/setup_uberspace.sh b/scripts/setup_uberspace.sh index d0fc22c..6e2031a 100755 --- a/scripts/setup_uberspace.sh +++ b/scripts/setup_uberspace.sh @@ -79,5 +79,8 @@ fi echo 'Backend app opened to the internet' # Set cronjob for database backups -# IMPORTANT: This overwrites existing entries! -crontab ~/serlo-editor-as-lti-tool/uberspace/backup_cron +# IMPORTANT: This completely overwrites existing cronjob entries! +if [ "$USER" = "edtr" ]; then + crontab ~/serlo-editor-as-lti-tool/uberspace/backup_cron + echo 'Added cronjob for database backups' +fi From 58c5b69112b7343069c39f66a879611df564f146 Mon Sep 17 00:00:00 2001 From: Lars Date: Thu, 26 Sep 2024 17:45:15 +0200 Subject: [PATCH 05/15] feat: back up database to Ionos --- scripts/setup_uberspace.sh | 11 +++++++++-- uberspace/backup_cron | 2 +- uberspace/backup_database.sh | 12 ++++++++++++ uberspace/database_backup.sh | 1 - 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100755 uberspace/backup_database.sh delete mode 100755 uberspace/database_backup.sh diff --git a/scripts/setup_uberspace.sh b/scripts/setup_uberspace.sh index 6e2031a..2be8f87 100755 --- a/scripts/setup_uberspace.sh +++ b/scripts/setup_uberspace.sh @@ -78,9 +78,16 @@ if ! $(uberspace web backend list | grep -q 'http:3000 => OK, listening'); then fi echo 'Backend app opened to the internet' -# Set cronjob for database backups -# IMPORTANT: This completely overwrites existing cronjob entries! +# Only on 'production' environment if [ "$USER" = "edtr" ]; then + # IMPORTANT: This completely overwrites existing cronjob entries! crontab ~/serlo-editor-as-lti-tool/uberspace/backup_cron echo 'Added cronjob for database backups' + + echo 'Configuring IONOS S3 for database backups' + s3cmd --configure + + echo 'Available buckets:' + s3cmd ls + echo 'Create bucket serlo-test-database-backup manually if it does not appear here.' fi diff --git a/uberspace/backup_cron b/uberspace/backup_cron index 96b71a7..e9eb06f 100644 --- a/uberspace/backup_cron +++ b/uberspace/backup_cron @@ -1,2 +1,2 @@ # See https://crontab.guru/ for schedule -0 2 * * * /bin/bash ~/serlo-editor-as-lti-tool/uberspace/database_backup.sh +0 2 * * * /bin/bash ~/serlo-editor-as-lti-tool/uberspace/backup_database.sh diff --git a/uberspace/backup_database.sh b/uberspace/backup_database.sh new file mode 100755 index 0000000..e80f904 --- /dev/null +++ b/uberspace/backup_database.sh @@ -0,0 +1,12 @@ +set -e + +timestamp="$(date '+%Y-%m-%d-%H-%M-%S')" +file="/home/${USER}/$timestamp.sql" + +mysqldump ${USER} > $file + +s3cmd put $file s3://serlo-test-database-backup + +rm $file + +echo 'Successfully backed up database on IONOS' diff --git a/uberspace/database_backup.sh b/uberspace/database_backup.sh deleted file mode 100755 index 6e832e2..0000000 --- a/uberspace/database_backup.sh +++ /dev/null @@ -1 +0,0 @@ -mysqldump ${USER} > ~/backup.sql From c0ebf9ede92401253951657f680a36486ef1db62 Mon Sep 17 00:00:00 2001 From: Lars Date: Thu, 26 Sep 2024 17:49:25 +0200 Subject: [PATCH 06/15] fix: disable emails for crontab temporarily --- uberspace/backup_cron | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uberspace/backup_cron b/uberspace/backup_cron index e9eb06f..45a33d4 100644 --- a/uberspace/backup_cron +++ b/uberspace/backup_cron @@ -1,2 +1,4 @@ +MAILTO="" + # See https://crontab.guru/ for schedule 0 2 * * * /bin/bash ~/serlo-editor-as-lti-tool/uberspace/backup_database.sh From 96053fa4e62c6e47b3f38ae09e06e81ca8f41eb6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 01:26:06 +0000 Subject: [PATCH 07/15] chore(deps-dev): bump eslint-plugin-react from 7.35.2 to 7.36.1 Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.35.2 to 7.36.1. - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.35.2...v7.36.1) --- updated-dependencies: - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d3f9e70..50ca22c 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@types/uuid": "^10.0.0", "@vitejs/plugin-react-swc": "^3.7.0", "eslint": "^9.10.0", - "eslint-plugin-react": "^7.35.2", + "eslint-plugin-react": "^7.36.1", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.12", "globals": "^15.9.0", diff --git a/yarn.lock b/yarn.lock index bddb4f0..4d56770 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2267,9 +2267,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react@npm:^7.35.2": - version: 7.35.2 - resolution: "eslint-plugin-react@npm:7.35.2" +"eslint-plugin-react@npm:^7.36.1": + version: 7.36.1 + resolution: "eslint-plugin-react@npm:7.36.1" dependencies: array-includes: "npm:^3.1.8" array.prototype.findlast: "npm:^1.2.5" @@ -2291,7 +2291,7 @@ __metadata: string.prototype.repeat: "npm:^1.0.0" peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - checksum: 10/f4631612444f9066c8007e9433c0972754b75d33be410cd18dcf003e4209600240dec3e50a9962aae35e9a08920a1eb60e51d3cc140e5f6c95582e727ebec74e + checksum: 10/bca154b446c35af4859a92fd043dcfe5c74851eb27652234020548570bb81d37cc9f1eb1795b3c9e7514de6c9b48f42fcc00153062eca879dab45ab84e49d0b1 languageName: node linkType: hard @@ -4914,7 +4914,7 @@ __metadata: "@vitejs/plugin-react-swc": "npm:^3.7.0" dotenv: "npm:^16.4.5" eslint: "npm:^9.10.0" - eslint-plugin-react: "npm:^7.35.2" + eslint-plugin-react: "npm:^7.36.1" eslint-plugin-react-hooks: "npm:^4.6.2" eslint-plugin-react-refresh: "npm:^0.4.12" express: "npm:^4.19.2" From b2b8dda687de7ff5cd320ee10db50fb145a30517 Mon Sep 17 00:00:00 2001 From: Vitomir Budimir Date: Fri, 27 Sep 2024 14:35:11 +0200 Subject: [PATCH 08/15] chore(backup_cron): add comment explaining mailto config --- uberspace/backup_cron | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uberspace/backup_cron b/uberspace/backup_cron index 45a33d4..a4b9362 100644 --- a/uberspace/backup_cron +++ b/uberspace/backup_cron @@ -1,3 +1,5 @@ +# Disable sending all cronjob results, send only errors +# https://manual.uberspace.de/daemons-cron/#mails MAILTO="" # See https://crontab.guru/ for schedule From d432dcc6f45efa1354b796f087428ca4c0d2f5f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 06:13:10 +0000 Subject: [PATCH 09/15] chore(deps-dev): bump @eslint/js from 9.10.0 to 9.11.1 Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.10.0 to 9.11.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.11.1/packages/js) --- updated-dependencies: - dependency-name: "@eslint/js" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 50ca22c..c2ae6c2 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@eslint/compat": "^1.1.1", - "@eslint/js": "^9.10.0", + "@eslint/js": "^9.11.1", "@types/jsonwebtoken": "9.0.6", "@types/ltijs": "4.0.11", "@types/node": "^22.7.2", diff --git a/yarn.lock b/yarn.lock index 4d56770..a4ddce6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -396,13 +396,20 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.10.0, @eslint/js@npm:^9.10.0": +"@eslint/js@npm:9.10.0": version: 9.10.0 resolution: "@eslint/js@npm:9.10.0" checksum: 10/cbda2bf268c8ac7a2b2493aaaa0113a78165a576ee5178b9fbdaf245c3d40ffaf41d006f75afab5718f68d816f00319e267b4c88ead100b19022fe491f9e0175 languageName: node linkType: hard +"@eslint/js@npm:^9.11.1": + version: 9.11.1 + resolution: "@eslint/js@npm:9.11.1" + checksum: 10/77b9c744bdf24e2ca1f99f671139767d6c31cb10d732cf22a85ef28f1f95f2a621cf204f572fd9fee67da6193ff2597a5d236cef3b557b07624230b622612339 + languageName: node + linkType: hard + "@eslint/object-schema@npm:^2.1.4": version: 2.1.4 resolution: "@eslint/object-schema@npm:2.1.4" @@ -4903,7 +4910,7 @@ __metadata: resolution: "serlo-editor-lti-tool@workspace:." dependencies: "@eslint/compat": "npm:^1.1.1" - "@eslint/js": "npm:^9.10.0" + "@eslint/js": "npm:^9.11.1" "@serlo/editor": "npm:0.14.0" "@types/jsonwebtoken": "npm:9.0.6" "@types/ltijs": "npm:4.0.11" From 90c9e2875823bfe3c70ad8a21be534eee358ce8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 06:13:53 +0000 Subject: [PATCH 10/15] chore(deps-dev): bump @vitejs/plugin-react-swc from 3.7.0 to 3.7.1 Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) from 3.7.0 to 3.7.1. - [Release notes](https://github.com/vitejs/vite-plugin-react-swc/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.7.0...v3.7.1) --- updated-dependencies: - dependency-name: "@vitejs/plugin-react-swc" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 116 +++++++++++++++++++++++++-------------------------- 2 files changed, 59 insertions(+), 59 deletions(-) diff --git a/package.json b/package.json index 50ca22c..67db6d8 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", "@types/uuid": "^10.0.0", - "@vitejs/plugin-react-swc": "^3.7.0", + "@vitejs/plugin-react-swc": "^3.7.1", "eslint": "^9.10.0", "eslint-plugin-react": "^7.36.1", "eslint-plugin-react-hooks": "^4.6.2", diff --git a/yarn.lock b/yarn.lock index 4d56770..153ed93 100644 --- a/yarn.lock +++ b/yarn.lock @@ -657,94 +657,94 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-darwin-arm64@npm:1.5.7" +"@swc/core-darwin-arm64@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-darwin-arm64@npm:1.7.28" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-darwin-x64@npm:1.5.7" +"@swc/core-darwin-x64@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-darwin-x64@npm:1.7.28" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.5.7" +"@swc/core-linux-arm-gnueabihf@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.28" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-linux-arm64-gnu@npm:1.5.7" +"@swc/core-linux-arm64-gnu@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-linux-arm64-gnu@npm:1.7.28" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-linux-arm64-musl@npm:1.5.7" +"@swc/core-linux-arm64-musl@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-linux-arm64-musl@npm:1.7.28" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-linux-x64-gnu@npm:1.5.7" +"@swc/core-linux-x64-gnu@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-linux-x64-gnu@npm:1.7.28" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-linux-x64-musl@npm:1.5.7" +"@swc/core-linux-x64-musl@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-linux-x64-musl@npm:1.7.28" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-win32-arm64-msvc@npm:1.5.7" +"@swc/core-win32-arm64-msvc@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-win32-arm64-msvc@npm:1.7.28" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-win32-ia32-msvc@npm:1.5.7" +"@swc/core-win32-ia32-msvc@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-win32-ia32-msvc@npm:1.7.28" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.5.7": - version: 1.5.7 - resolution: "@swc/core-win32-x64-msvc@npm:1.5.7" +"@swc/core-win32-x64-msvc@npm:1.7.28": + version: 1.7.28 + resolution: "@swc/core-win32-x64-msvc@npm:1.7.28" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@swc/core@npm:^1.5.7": - version: 1.5.7 - resolution: "@swc/core@npm:1.5.7" +"@swc/core@npm:^1.7.26": + version: 1.7.28 + resolution: "@swc/core@npm:1.7.28" dependencies: - "@swc/core-darwin-arm64": "npm:1.5.7" - "@swc/core-darwin-x64": "npm:1.5.7" - "@swc/core-linux-arm-gnueabihf": "npm:1.5.7" - "@swc/core-linux-arm64-gnu": "npm:1.5.7" - "@swc/core-linux-arm64-musl": "npm:1.5.7" - "@swc/core-linux-x64-gnu": "npm:1.5.7" - "@swc/core-linux-x64-musl": "npm:1.5.7" - "@swc/core-win32-arm64-msvc": "npm:1.5.7" - "@swc/core-win32-ia32-msvc": "npm:1.5.7" - "@swc/core-win32-x64-msvc": "npm:1.5.7" - "@swc/counter": "npm:^0.1.2" - "@swc/types": "npm:0.1.7" + "@swc/core-darwin-arm64": "npm:1.7.28" + "@swc/core-darwin-x64": "npm:1.7.28" + "@swc/core-linux-arm-gnueabihf": "npm:1.7.28" + "@swc/core-linux-arm64-gnu": "npm:1.7.28" + "@swc/core-linux-arm64-musl": "npm:1.7.28" + "@swc/core-linux-x64-gnu": "npm:1.7.28" + "@swc/core-linux-x64-musl": "npm:1.7.28" + "@swc/core-win32-arm64-msvc": "npm:1.7.28" + "@swc/core-win32-ia32-msvc": "npm:1.7.28" + "@swc/core-win32-x64-msvc": "npm:1.7.28" + "@swc/counter": "npm:^0.1.3" + "@swc/types": "npm:^0.1.12" peerDependencies: - "@swc/helpers": ^0.5.0 + "@swc/helpers": "*" dependenciesMeta: "@swc/core-darwin-arm64": optional: true @@ -769,23 +769,23 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 10/83e03908db40f2133c3624a83d4550336d7a56e64af7d42fd959c746b8da950a253f3c6d9eaa3467e10abeda024aa6b039a987adc839326f969e1d26625f14ef + checksum: 10/a477e79387ecc8b68c2bdbbdc88cc61f27a02c5d00f0d77134f9e2de166786a4ee9f7388d6ffd44fc01bfef5311a15cc3132052bab72fb43246dc42705fedb60 languageName: node linkType: hard -"@swc/counter@npm:^0.1.2, @swc/counter@npm:^0.1.3": +"@swc/counter@npm:^0.1.3": version: 0.1.3 resolution: "@swc/counter@npm:0.1.3" checksum: 10/df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 languageName: node linkType: hard -"@swc/types@npm:0.1.7": - version: 0.1.7 - resolution: "@swc/types@npm:0.1.7" +"@swc/types@npm:^0.1.12": + version: 0.1.12 + resolution: "@swc/types@npm:0.1.12" dependencies: "@swc/counter": "npm:^0.1.3" - checksum: 10/ed66c26b36972a74f852c1781fadc75946578abfeeea58f110684833b5d1e70f28a77ddb82fd5bf3cf3c4dad0e1b6a1c924d7e2cc7a99f9b16ed16fe266bba25 + checksum: 10/92dbbc70cd068ea30fb6fbdc1ae8599d6c058a5d09b2923d6e4e24fab5ad7c86a19dd01f349a8e03e300a9321e06911a24df18303b40e307fbd4109372cef2ef languageName: node linkType: hard @@ -1136,14 +1136,14 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-react-swc@npm:^3.7.0": - version: 3.7.0 - resolution: "@vitejs/plugin-react-swc@npm:3.7.0" +"@vitejs/plugin-react-swc@npm:^3.7.1": + version: 3.7.1 + resolution: "@vitejs/plugin-react-swc@npm:3.7.1" dependencies: - "@swc/core": "npm:^1.5.7" + "@swc/core": "npm:^1.7.26" peerDependencies: vite: ^4 || ^5 - checksum: 10/16498c65aca482f638f490a59c4ef49875e59d4f1631dad7515e2fce2f87a69a4ec0cd9774fc3666b8a6e211f65b78442411a743aea33762caa0044e3c04ad39 + checksum: 10/e86c1424998e0d249edb9b22ea38fbf4d26732e6732789cefcd8754c04140b0cfed4f1b22e8c755a1b04d21b32d61557e995d49cad41176865461951b113cfbc languageName: node linkType: hard @@ -4911,7 +4911,7 @@ __metadata: "@types/react": "npm:^18.3.5" "@types/react-dom": "npm:^18.3.0" "@types/uuid": "npm:^10.0.0" - "@vitejs/plugin-react-swc": "npm:^3.7.0" + "@vitejs/plugin-react-swc": "npm:^3.7.1" dotenv: "npm:^16.4.5" eslint: "npm:^9.10.0" eslint-plugin-react: "npm:^7.36.1" From dac308aeac46513712c970c0df3a046356b28e94 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 06:14:10 +0000 Subject: [PATCH 11/15] chore(deps): bump tsx from 4.19.0 to 4.19.1 Bumps [tsx](https://github.com/privatenumber/tsx) from 4.19.0 to 4.19.1. - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.19.0...v4.19.1) --- updated-dependencies: - dependency-name: tsx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 50ca22c..900325f 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "mysql2": "^3.11.3", "react": "^18.3.1", "react-dom": "^18.3.1", - "tsx": "4.19.0", + "tsx": "4.19.1", "typescript": "^5.5.4", "uuid": "^10.0.0" }, diff --git a/yarn.lock b/yarn.lock index 4d56770..673efaf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4930,7 +4930,7 @@ __metadata: prettier-plugin-packagejson: "npm:^2.5.2" react: "npm:^18.3.1" react-dom: "npm:^18.3.1" - tsx: "npm:4.19.0" + tsx: "npm:4.19.1" typescript: "npm:^5.5.4" typescript-eslint: "npm:^8.4.0" uuid: "npm:^10.0.0" @@ -5415,9 +5415,9 @@ __metadata: languageName: node linkType: hard -"tsx@npm:4.19.0": - version: 4.19.0 - resolution: "tsx@npm:4.19.0" +"tsx@npm:4.19.1": + version: 4.19.1 + resolution: "tsx@npm:4.19.1" dependencies: esbuild: "npm:~0.23.0" fsevents: "npm:~2.3.3" @@ -5427,7 +5427,7 @@ __metadata: optional: true bin: tsx: dist/cli.mjs - checksum: 10/cd9eef1fd7de4ab01cc0fa876b0bc50688cfd7c738c137928c2487021471ce14412c758c006375e3f3b444eee9e2f77f2d69661f1a5df4427bd9ec1250996f2d + checksum: 10/1f5f0b7c4107fc18f523e94c79204b043641aa328f721324795cc961826879035652a1f19fe29ba420465d9f4bacb0f47e08f0bd4b934684ab45727eca110311 languageName: node linkType: hard From bf5b0c4eb9e58321bfa4126fc1d6483902c789d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 06:14:27 +0000 Subject: [PATCH 12/15] chore(deps-dev): bump @types/node from 22.7.2 to 22.7.4 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.7.2 to 22.7.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 50ca22c..48a901f 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@eslint/js": "^9.10.0", "@types/jsonwebtoken": "9.0.6", "@types/ltijs": "4.0.11", - "@types/node": "^22.7.2", + "@types/node": "^22.7.4", "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", "@types/uuid": "^10.0.0", diff --git a/yarn.lock b/yarn.lock index 4d56770..4dbcd3b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -917,12 +917,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.7.2": - version: 22.7.2 - resolution: "@types/node@npm:22.7.2" +"@types/node@npm:^22.7.4": + version: 22.7.4 + resolution: "@types/node@npm:22.7.4" dependencies: undici-types: "npm:~6.19.2" - checksum: 10/78cfa59bfa7a7d287aede017400006059c07e0220c9eed3ab380409972711f5a2d972f8a86d6adaf2343bc66a6e9619a4dfbc71e86a2335f54bb9cd59ff0ce11 + checksum: 10/19ddab80c4eba2253c855ed67c9bbc47417183049d01e59010a738bd80d47338bab79fd1f44ae51516bd63a1db4bf21ddb38b16bf6401a2e93252068ec52e88b languageName: node linkType: hard @@ -4907,7 +4907,7 @@ __metadata: "@serlo/editor": "npm:0.14.0" "@types/jsonwebtoken": "npm:9.0.6" "@types/ltijs": "npm:4.0.11" - "@types/node": "npm:^22.7.2" + "@types/node": "npm:^22.7.4" "@types/react": "npm:^18.3.5" "@types/react-dom": "npm:^18.3.0" "@types/uuid": "npm:^10.0.0" From 5a00d13852eb9661034749a05646bb24ce33bb9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 07:09:10 +0000 Subject: [PATCH 13/15] chore(deps): bump easingthemes/ssh-deploy from 5.1.0 to 5.1.1 Bumps [easingthemes/ssh-deploy](https://github.com/easingthemes/ssh-deploy) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/easingthemes/ssh-deploy/releases) - [Changelog](https://github.com/easingthemes/ssh-deploy/blob/main/docs/CHANGELOG.md) - [Commits](https://github.com/easingthemes/ssh-deploy/compare/v5.1.0...v5.1.1) --- updated-dependencies: - dependency-name: easingthemes/ssh-deploy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy-to-uberspace-dev.yml | 2 +- .github/workflows/deploy-to-uberspace-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-uberspace-dev.yml b/.github/workflows/deploy-to-uberspace-dev.yml index e304aed..0c70a03 100644 --- a/.github/workflows/deploy-to-uberspace-dev.yml +++ b/.github/workflows/deploy-to-uberspace-dev.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Deploy to Server - uses: easingthemes/ssh-deploy@v5.1.0 + uses: easingthemes/ssh-deploy@v5.1.1 with: ARGS: '-rlgoDzvc -i --delete' SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} diff --git a/.github/workflows/deploy-to-uberspace-staging.yml b/.github/workflows/deploy-to-uberspace-staging.yml index 93469fd..7bf848b 100644 --- a/.github/workflows/deploy-to-uberspace-staging.yml +++ b/.github/workflows/deploy-to-uberspace-staging.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - name: Deploy to Server - uses: easingthemes/ssh-deploy@v5.1.0 + uses: easingthemes/ssh-deploy@v5.1.1 with: ARGS: '-rlgoDzvc -i --delete' SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} From b3138575c45d2ef8714d8558356a9b5ebe4ab81e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 07:09:12 +0000 Subject: [PATCH 14/15] chore(deps): bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/deploy-to-uberspace-dev.yml | 2 +- .github/workflows/deploy-to-uberspace-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-uberspace-dev.yml b/.github/workflows/deploy-to-uberspace-dev.yml index e304aed..4f44461 100644 --- a/.github/workflows/deploy-to-uberspace-dev.yml +++ b/.github/workflows/deploy-to-uberspace-dev.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy to Server uses: easingthemes/ssh-deploy@v5.1.0 with: diff --git a/.github/workflows/deploy-to-uberspace-staging.yml b/.github/workflows/deploy-to-uberspace-staging.yml index 93469fd..340c94e 100644 --- a/.github/workflows/deploy-to-uberspace-staging.yml +++ b/.github/workflows/deploy-to-uberspace-staging.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Deploy to Server uses: easingthemes/ssh-deploy@v5.1.0 with: From 131fea8d81842c8731a213e905bf4e3dc4a42ff2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:08:28 +0000 Subject: [PATCH 15/15] chore(deps): bump typescript from 5.5.4 to 5.6.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.6.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 9c61bee..da4e4c2 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "tsx": "4.19.1", - "typescript": "^5.5.4", + "typescript": "^5.6.2", "uuid": "^10.0.0" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index aeac850..c22945b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4938,7 +4938,7 @@ __metadata: react: "npm:^18.3.1" react-dom: "npm:^18.3.1" tsx: "npm:4.19.1" - typescript: "npm:^5.5.4" + typescript: "npm:^5.6.2" typescript-eslint: "npm:^8.4.0" uuid: "npm:^10.0.0" vite: "npm:^5.4.3" @@ -5523,23 +5523,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.5.4": - version: 5.5.4 - resolution: "typescript@npm:5.5.4" +"typescript@npm:^5.6.2": + version: 5.6.2 + resolution: "typescript@npm:5.6.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/1689ccafef894825481fc3d856b4834ba3cc185a9c2878f3c76a9a1ef81af04194849840f3c69e7961e2312771471bb3b460ca92561e1d87599b26c37d0ffb6f + checksum: 10/f95365d4898f357823e93d334ecda9fcade54f009b397c7d05b7621cd9e865981033cf89ccde0f3e3a7b73b1fdbae18e92bc77db237b43e912f053fef0f9a53b languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.5.4#optional!builtin": - version: 5.5.4 - resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin::version=5.5.4&hash=b45daf" +"typescript@patch:typescript@npm%3A^5.6.2#optional!builtin": + version: 5.6.2 + resolution: "typescript@patch:typescript@npm%3A5.6.2#optional!builtin::version=5.6.2&hash=b45daf" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/2c065f0ef81855eac25c9b658a3c9da65ffc005260c12854c2286f40f3667e1b1ecf8bdbdd37b59aa0397920378ce7900bff8cb32e0f1c7af6fd86efc676718c + checksum: 10/060a7349adf698477b411be4ace470aee6c2c1bd99917fdf5d33697c17ec55c64fe724eb10399387530b50e9913b41528dd8bfcca0a5fc8f8bac63fbb4580a2e languageName: node linkType: hard