From 5ab9af0e7c202cc835fac8822ec91e9fdc1a188b Mon Sep 17 00:00:00 2001 From: Yannick Mijsters Date: Fri, 13 Sep 2024 10:56:40 +0200 Subject: [PATCH] fix: remove unnecessary back end features (#12) * fix: update graasp-dev.json * fix: update deploy-dev.yml add h5p-storage-root-path * fix: update server.ts * fix: add some console logs to find issue * fix: add a lot more logs * fix: remove etherpad from dependency build * fix: remove more Etherpad content * fix: one more etherpad thing removed * fix: one more * fix: remove h5p integration in import-export service * fix: update container.ts to remove h5p * fix: remove etherpad and h5p from api * fix: remove ws component * fix: use prettier --write on everything * feat: remove websocket + redis, etherpad, h5p and meilisearch from initialization * feat: take out etherpad + h5p + meilisearch, keep redis * feat: completely-remove-etherpad-and-h5p-code * feat: removed test for search service using meilisearch * fix: reenabled commented items from testUtils * fix: readd published item content to DataSource.ts * fix: remove h5p and etherpad tests from import service * feat: remove meilisearch code and test * fix: remove meilisearch from mockSetup.ts * fix: remove one more H5P test * fix: remove one more meilisearch test line * fix: removed previously commented out code and re-enabled some husky features --- .aws/graasp-dev.json | 16 +++++++++++++--- .husky/commit-msg | 2 +- CHANGELOG.md | 12 +++++++++++- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.aws/graasp-dev.json b/.aws/graasp-dev.json index f08bddd58..fd334b6d9 100644 --- a/.aws/graasp-dev.json +++ b/.aws/graasp-dev.json @@ -1,6 +1,6 @@ { "ipcMode": null, - "executionRoleArn": "arn:aws:iam::087219672371:role/ecsTaskExecutionRole", + "executionRoleArn": "arn:aws:iam::299720865162:role/ecsTaskExecutionRole", "family": "graasp", "cpu": "1024", "memory": "3072", @@ -15,7 +15,7 @@ "logConfiguration": { "logDriver": "awslogs", "options": { - "awslogs-group": "/ecs/graasp-development", + "awslogs-group": "/ecs/lnco-ai-development", "awslogs-region": "eu-central-2", "awslogs-stream-prefix": "ecs" } @@ -31,7 +31,17 @@ "dependsOn": null, "disableNetworking": null, "healthCheck": null, - "essential": true + "essential": true, + "links": null, + "hostname": null, + "extraHosts": null, + "pseudoTerminal": null, + "user": null, + "readonlyRootFilesystem": null, + "dockerLabels": null, + "systemControls": null, + "privileged": null, + "name": "graasp" } ], "placementConstraints": [], diff --git a/.husky/commit-msg b/.husky/commit-msg index 0bd658f49..0fb6dccaf 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx --no-install commitlint --edit "$1" +#npx --no-install commitlint --edit "$1" diff --git a/CHANGELOG.md b/CHANGELOG.md index 94b00a1f9..a50542af0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +<<<<<<< HEAD ## [1.58.0](https://github.com/graasp/graasp/compare/v1.57.0...v1.58.0) (2024-11-20) @@ -32,11 +33,16 @@ All notable changes to this project will be documented in this file. See [standa ### Bug Fixes * fix password reset email content ([#1619](https://github.com/graasp/graasp/issues/1619)) ([7c6ab79](https://github.com/graasp/graasp/commit/7c6ab7974060dd3fd3e1ba81f8607a355fe2fa92)) +======= +## [1.54.2](https://github.com/graasp/graasp/compare/v1.54.1...v1.54.2) (2024-10-21) +>>>>>>> 6a0642d8 (fix: remove unnecessary back end features (#12)) ## [1.56.1](https://github.com/graasp/graasp/compare/v1.56.0...v1.56.1) (2024-11-04) - ### Bug Fixes + +- allow guests in members app context, allow to get context as guest ([#1554](https://github.com/graasp/graasp/issues/1554)) ([0ef4047](https://github.com/graasp/graasp/commit/0ef4047cbf92df89057b0eed1a5bcbda55abcfb4)) + * Optimize slow GET own recycled items [1594](https://github.com/graasp/graasp/commit/1b9c3651c58b47c365492ec0ff996423aeed23c7) * **arabic:** update membership request translations ([#1605](https://github.com/graasp/graasp/issues/1605)) ([02ab379](https://github.com/graasp/graasp/commit/02ab379dca03e50271f59a18c6cd68c16f1ae99e)) * **german:** update translations ([#1602](https://github.com/graasp/graasp/issues/1602)) ([bb4ce03](https://github.com/graasp/graasp/commit/bb4ce03a4b9476cee8321b23db6291da2f928439)) @@ -49,6 +55,8 @@ All notable changes to this project will be documented in this file. See [standa - add migration from item category to item lang ([#1567](https://github.com/graasp/graasp/issues/1567)) ([dcff750](https://github.com/graasp/graasp/commit/dcff750995ad0501ccd7ffe38deea62588f78938)) +## [1.54.1](https://github.com/graasp/graasp/compare/v1.54.0...v1.54.1) (2024-10-18) + ## [1.55.0](https://github.com/graasp/graasp/compare/v1.54.2...v1.55.0) (2024-10-29) ### Features @@ -61,6 +69,8 @@ All notable changes to this project will be documented in this file. See [standa ### Bug Fixes +- set html as optional for link metadata ([#1546](https://github.com/graasp/graasp/issues/1546)) ([1d87bce](https://github.com/graasp/graasp/commit/1d87bceb9f4ee81b3d4bbc61ef1b029c50a7dce1)) +- update schema for current account ([#1542](https://github.com/graasp/graasp/issues/1542)) ([417f397](https://github.com/graasp/graasp/commit/417f397bd235ef6e3bc818f20cabc40d50ffc00a)) - add env var for account ([#1578](https://github.com/graasp/graasp/issues/1578)) ([04a6bee](https://github.com/graasp/graasp/commit/04a6bee13cf03605c2c1b5fac81e611fa798ff32)) - add optional param for actions ([#1562](https://github.com/graasp/graasp/issues/1562)) ([e52f1aa](https://github.com/graasp/graasp/commit/e52f1aabf04f39cb038ef4e38a8ac41e6ee8f9b5)) - allow local file in update schema ([#1570](https://github.com/graasp/graasp/issues/1570)) ([85b5ff1](https://github.com/graasp/graasp/commit/85b5ff17167f2daebf274529be75fcb509888c15))