From 40814f1b8a0930fb4437f9038da648e49448d8cd Mon Sep 17 00:00:00 2001 From: wkytz <37340087+wkytz@users.noreply.github.com> Date: Sun, 5 Apr 2020 22:12:37 +0800 Subject: [PATCH 01/19] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0151569..c67b2d0 100644 --- a/README.md +++ b/README.md @@ -139,3 +139,11 @@ TanakaMichelle - Tanaka Michelle Sandati - 201732120134 WhyteAsamoah - Yeboah Martha Asamoah - 201732120135 xiaoyusoil - ZhengXiaoyu - 201732120110 + +wkytz - YeHantao - 201732120125 + +zego000 - GaoZeng - 201732120117 + +Richard1427 - XieJiacong - 201732120123 + +yingyuteng - YingYuteng - 201732120126 From 93d53927485d5d36d9b430a6b391323a9d0e4bb1 Mon Sep 17 00:00:00 2001 From: wkytz <37340087+wkytz@users.noreply.github.com> Date: Sun, 5 Apr 2020 22:13:09 +0800 Subject: [PATCH 02/19] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c67b2d0..69e9cc4 100644 --- a/README.md +++ b/README.md @@ -146,4 +146,4 @@ zego000 - GaoZeng - 201732120117 Richard1427 - XieJiacong - 201732120123 -yingyuteng - YingYuteng - 201732120126 +yutengYing - YingYuteng - 201732120126 From 10a2b4f9d8563a36e711d1580d72647d83523434 Mon Sep 17 00:00:00 2001 From: samrusike Date: Mon, 6 Apr 2020 04:01:14 +0800 Subject: [PATCH 03/19] created branch and added names to contributer list --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0151569..41b6112 100644 --- a/README.md +++ b/README.md @@ -139,3 +139,5 @@ TanakaMichelle - Tanaka Michelle Sandati - 201732120134 WhyteAsamoah - Yeboah Martha Asamoah - 201732120135 xiaoyusoil - ZhengXiaoyu - 201732120110 +Samrusike - Samantha Rusike - 201632120140 +Teecloudy - Ashly Tafadzwa Dhani - 201632120150 From 0e9025fa64bda9893ddad1993744a6b49a3c3a62 Mon Sep 17 00:00:00 2001 From: wkytz <37340087+wkytz@users.noreply.github.com> Date: Mon, 6 Apr 2020 22:26:08 +0800 Subject: [PATCH 04/19] Update README.md --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 69e9cc4..0fdb8d1 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,3 @@ WhyteAsamoah - Yeboah Martha Asamoah - 201732120135 xiaoyusoil - ZhengXiaoyu - 201732120110 -wkytz - YeHantao - 201732120125 - -zego000 - GaoZeng - 201732120117 - -Richard1427 - XieJiacong - 201732120123 - -yutengYing - YingYuteng - 201732120126 From 3370688164385022af8e78394a0c9d59548e665d Mon Sep 17 00:00:00 2001 From: wkytz <37340087+wkytz@users.noreply.github.com> Date: Mon, 6 Apr 2020 22:27:43 +0800 Subject: [PATCH 05/19] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 0fdb8d1..e84923e 100644 --- a/README.md +++ b/README.md @@ -140,3 +140,16 @@ WhyteAsamoah - Yeboah Martha Asamoah - 201732120135 xiaoyusoil - ZhengXiaoyu - 201732120110 +Benny123-cell - ZhangBin - 201732120127 + +421281726 - LiJiaxing - 201732120118 + +zhenghongyu-david - ZhengHongyu - 201732120128 + +wkytz - YeHantao - 201732120125 + +zego000 - GaoZeng - 201732120117 + +Richard1427 - XieJiacong - 201732120123 + +yutengYing - YingYuteng - 201732120126 From 150d4de569bf97c89d71a5591efea068c2bf3397 Mon Sep 17 00:00:00 2001 From: wkytz <37340087+wkytz@users.noreply.github.com> Date: Mon, 6 Apr 2020 22:38:37 +0800 Subject: [PATCH 06/19] Update README.md --- README.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/README.md b/README.md index e84923e..0151569 100644 --- a/README.md +++ b/README.md @@ -139,17 +139,3 @@ TanakaMichelle - Tanaka Michelle Sandati - 201732120134 WhyteAsamoah - Yeboah Martha Asamoah - 201732120135 xiaoyusoil - ZhengXiaoyu - 201732120110 - -Benny123-cell - ZhangBin - 201732120127 - -421281726 - LiJiaxing - 201732120118 - -zhenghongyu-david - ZhengHongyu - 201732120128 - -wkytz - YeHantao - 201732120125 - -zego000 - GaoZeng - 201732120117 - -Richard1427 - XieJiacong - 201732120123 - -yutengYing - YingYuteng - 201732120126 From 294f473e8f2eebbefcfb4dd784d7d6eca23ba130 Mon Sep 17 00:00:00 2001 From: wkytz <37340087+wkytz@users.noreply.github.com> Date: Mon, 6 Apr 2020 23:13:15 +0800 Subject: [PATCH 07/19] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c069f60..e84923e 100644 --- a/README.md +++ b/README.md @@ -145,3 +145,11 @@ Benny123-cell - ZhangBin - 201732120127 421281726 - LiJiaxing - 201732120118 zhenghongyu-david - ZhengHongyu - 201732120128 + +wkytz - YeHantao - 201732120125 + +zego000 - GaoZeng - 201732120117 + +Richard1427 - XieJiacong - 201732120123 + +yutengYing - YingYuteng - 201732120126 From 25f9b4ff0f308b2b7acce3dcedc298dcb2acdc35 Mon Sep 17 00:00:00 2001 From: CloudStarTreck <37251906+Teecloudy@users.noreply.github.com> Date: Mon, 6 Apr 2020 23:45:30 +0800 Subject: [PATCH 08/19] Allowing all group member to submit assignment and allowing Lecture to Edit Assignments Two Issues have been Fixed 1)Firstly Only Group Admins were able to submit group assignments and the system was indicating to other members that they missed the deadline. This Problems was solved through the following stages: Create 4 new columns 'Member_ID1-4 Varchar(50) DEFAULT 0' in the database table 'course_group_table' (this will limit each group to max 5 members you can check the file Script.php from line 1071.) Changing the SQL query in SubmitLab.php to allow both Group Member and Group Admin to submit assignment. (However for this feature to take effect with backward compat, the group admin might need to invite other members again into the group or else they still wont be able to submit but all the group assignments will indicate that they have been submitted by the admin. For any new group after the update it works perfect.) Changing the Course.php allows other members to be updated once 1 member submit the assignment. 2)Secondly The Tutor couldnt modify assignments once posted. Adding an 'Edit' Button on the Tutor's page allows him to modify new and old assignment without any duplications. This feature afftected Courses.php from line 109. Group Ashly Tafadzwa Dhani 201632120150 Samantha Rusike 201632120140 --- Course.php | 14 +- Courses.php | 136 ++++++++++++-- Script.php | 398 +++++++++++++++++++++-------------------- SubmitLab.php | 16 +- homepage/overview.html | 33 ++-- lrr (1).sql | 156 +++++++++++++--- 6 files changed, 482 insertions(+), 271 deletions(-) diff --git a/Course.php b/Course.php index d0a61cf..5ba362d 100644 --- a/Course.php +++ b/Course.php @@ -103,11 +103,11 @@ $resultx1 = mysqli_query($con,$sql); -while($row = mysqli_fetch_assoc($resultx1)) {$group_id=$row['Course_Group_id'];} +while($row = mysqli_fetch_assoc($resultx1)) {$_SESSION['group_id']=$row['Course_Group_id'];} if($group_id==""){$group_id=-1;} - + $group_id=$_SESSION['group_id']; $var="SELECT Type,Lab_Report_ID,Marks, `Course_ID`, `Posted_Date`, `Deadline`, `Instructions`, lab_reports_table.Title, `Attachment_link_1`, `Attachment_link_2`, `Attachment_link_3`, `Attachment_link_4` @@ -169,6 +169,7 @@