From ddb2b4d06055e0e7c59e455421dfe3c24e5c6d89 Mon Sep 17 00:00:00 2001 From: FurkanK <122597204+FurKay00@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:00:21 +0200 Subject: [PATCH 1/4] Update RMMM.md --- docs/RMMM.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/RMMM.md b/docs/RMMM.md index 6dc7adfa..61d0a1f9 100644 --- a/docs/RMMM.md +++ b/docs/RMMM.md @@ -1,12 +1,12 @@ | ID | Category | Risk description | Probability | Damage/Impact | Risk Score (P x D) | Mitigation strategy | Indicator | Contingency plan | Responsible | Status | Update date | | - | - | - | - | - | - | - | - | - | - | - | - | -| 1 | Organization | Team member leaves project unexpectedly | 2 | 6 | 12 | Reasons outside our influence | Worsening grades, absence | Split the work up, since we are 5 people; good documentation | Scrum Master | Open | 14.12.2023 | +| 1 | Organization | Team member leaves project unexpectedly | 2 | 6 | 12 | Reasons outside our influence | Worsening grades, absence | Split the work up, since we are 5 people; good documentation | Scrum Master | Closed | 11.06.2024 | | 2 | Technical | Production error | 5 | 7 | 35 | Lots of Testing; Test/feature pipelines; Code Reviews | Customer feedback, Pipeline errors or systematic problems | Prioritizing the search and fix of the production pipeline | Product Owner | Open | 14.12.2023 | -| 3 | Organization | Not finishing the project as intended | 5 | 10 | 50 | Scrum Events (Refining the backlog, tracking the dates); Modular architekture (focus on main components) | Backlog still full when nearing the deadline | Focus on finishing the main unfinished components, not starting anything new | Scrum Master | Open | 14.12.2023 | +| 3 | Organization | Not finishing the project as intended | 5 | 10 | 50 | Scrum Events (Refining the backlog, tracking the dates); Modular architekture (focus on main components) | Backlog still full when nearing the deadline | Focus on finishing the main unfinished components, not starting anything new | Scrum Master | Closed | 11.06.2024 | | 4 | Technical | Leak of data (passwords) | 4 | 8 | 32 | Encrypting serverside data (Hashing and Salting), using as minimal information as possible | Unusual activities, user complaints etcs | Checking the impact of the leak (how much, which information), informing impacted users | Whole team | Open | 14.12.2023 | | 5 | Technical | Server outage (such as database) | 6 | 9 | 54 | Using multiple instances to switch between them | Slow or no response time, Reloading not possible | Rebooting the system or switch to other instances while fixing impacted one | Database-Team | Open | 14.12.2023 | | 6 | Law | User posting copyright-protected images | 9 | 2 | 18 | Moderators or administrators, looking over several sections | User/copyright holder complaints | Removing such posts and enforcing our policy | Whole team | Open | 14.12.2023 | -| 7 | - | - | - | - | - | - | - | - | - | - | - | +| 7 | Technical | High loading/response time when retrieving data (between frontend and databse) | 6 | 6 | 36 | Try to find ways to restrict the need to retrieve new data or migrate the backend to new server provider | Long waiting time | Update the impacted components and reduce response time | Whole team | open | 11.06.2024 | | 8 | - | - | - | - | - | - | - | - | - | - | - | | 9 | - | - | - | - | - | - | - | - | - | - | - | | 10 | - | - | - | - | - | - | - | - | - | - | - | From ad7b6e5bbb55d78ab86264e276139a1332575bb3 Mon Sep 17 00:00:00 2001 From: FurkanK <122597204+FurKay00@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:05:30 +0200 Subject: [PATCH 2/4] Update RMMM.md --- docs/RMMM.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/RMMM.md b/docs/RMMM.md index 61d0a1f9..e628810a 100644 --- a/docs/RMMM.md +++ b/docs/RMMM.md @@ -7,7 +7,7 @@ | 5 | Technical | Server outage (such as database) | 6 | 9 | 54 | Using multiple instances to switch between them | Slow or no response time, Reloading not possible | Rebooting the system or switch to other instances while fixing impacted one | Database-Team | Open | 14.12.2023 | | 6 | Law | User posting copyright-protected images | 9 | 2 | 18 | Moderators or administrators, looking over several sections | User/copyright holder complaints | Removing such posts and enforcing our policy | Whole team | Open | 14.12.2023 | | 7 | Technical | High loading/response time when retrieving data (between frontend and databse) | 6 | 6 | 36 | Try to find ways to restrict the need to retrieve new data or migrate the backend to new server provider | Long waiting time | Update the impacted components and reduce response time | Whole team | open | 11.06.2024 | -| 8 | - | - | - | - | - | - | - | - | - | - | - | +| 8 | Law | User posting hateful/harassing content | 7 | 5 | 35 | Appointing community members who are responsible for identifying such posts and their users | Lots of reports or own sightings | Reporting function of posts | Whole Team | Open | 11.06.2024 | | 9 | - | - | - | - | - | - | - | - | - | - | - | | 10 | - | - | - | - | - | - | - | - | - | - | - | From 87bf6304bb988bf9c8ea6b9d356fac1738478149 Mon Sep 17 00:00:00 2001 From: FurkanK <122597204+FurKay00@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:06:03 +0200 Subject: [PATCH 3/4] Update RMMM.md --- docs/RMMM.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/RMMM.md b/docs/RMMM.md index e628810a..f367e665 100644 --- a/docs/RMMM.md +++ b/docs/RMMM.md @@ -6,7 +6,7 @@ | 4 | Technical | Leak of data (passwords) | 4 | 8 | 32 | Encrypting serverside data (Hashing and Salting), using as minimal information as possible | Unusual activities, user complaints etcs | Checking the impact of the leak (how much, which information), informing impacted users | Whole team | Open | 14.12.2023 | | 5 | Technical | Server outage (such as database) | 6 | 9 | 54 | Using multiple instances to switch between them | Slow or no response time, Reloading not possible | Rebooting the system or switch to other instances while fixing impacted one | Database-Team | Open | 14.12.2023 | | 6 | Law | User posting copyright-protected images | 9 | 2 | 18 | Moderators or administrators, looking over several sections | User/copyright holder complaints | Removing such posts and enforcing our policy | Whole team | Open | 14.12.2023 | -| 7 | Technical | High loading/response time when retrieving data (between frontend and databse) | 6 | 6 | 36 | Try to find ways to restrict the need to retrieve new data or migrate the backend to new server provider | Long waiting time | Update the impacted components and reduce response time | Whole team | open | 11.06.2024 | +| 7 | Technical | High loading/response time when retrieving data (between frontend and databse) | 6 | 6 | 36 | Try to find ways to restrict the need to retrieve new data or migrate the backend to new server provider | Long waiting time | Update the impacted components and reduce response time | Whole team | Open | 11.06.2024 | | 8 | Law | User posting hateful/harassing content | 7 | 5 | 35 | Appointing community members who are responsible for identifying such posts and their users | Lots of reports or own sightings | Reporting function of posts | Whole Team | Open | 11.06.2024 | | 9 | - | - | - | - | - | - | - | - | - | - | - | | 10 | - | - | - | - | - | - | - | - | - | - | - | From 74e84c69ea4d93d868126f8e1884c9c980524377 Mon Sep 17 00:00:00 2001 From: denniskp <122602355+denniskp@users.noreply.github.com> Date: Tue, 11 Jun 2024 11:10:14 +0200 Subject: [PATCH 4/4] fix: check for nullable --- .../simplified_models/UserInformationProposal.java | 2 +- src/main/web/src/scenes/User/index.tsx | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/tinf22b6/dhbwhub/proposal/simplified_models/UserInformationProposal.java b/src/main/java/de/tinf22b6/dhbwhub/proposal/simplified_models/UserInformationProposal.java index 9d0bfcd2..fd488e95 100644 --- a/src/main/java/de/tinf22b6/dhbwhub/proposal/simplified_models/UserInformationProposal.java +++ b/src/main/java/de/tinf22b6/dhbwhub/proposal/simplified_models/UserInformationProposal.java @@ -19,7 +19,7 @@ public class UserInformationProposal { private int amountFollower; - private int age; + private Integer age; private String description; diff --git a/src/main/web/src/scenes/User/index.tsx b/src/main/web/src/scenes/User/index.tsx index c332c8f8..66b2f6d3 100644 --- a/src/main/web/src/scenes/User/index.tsx +++ b/src/main/web/src/scenes/User/index.tsx @@ -92,7 +92,7 @@ export const UserPage = () => { {username}
- Followers: {amountFollower} + Followers: {amountFollower}
{course !== null ? ( @@ -102,10 +102,18 @@ export const UserPage = () => { )}
- Age: {age} + {age !== null ? ( + Age: {age} + ): ( + Age: Not set + )}
- Description: {description} + {description !== null ? ( + Description: {description} + ): ( + Description: Not set + )}