From 928beae9fd2b28fad6ae399f8dde33693f3306bf Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Sat, 4 Apr 2020 06:18:38 -0500
Subject: [PATCH 01/10] we have added our students informations on the
README,md file
---
README.md | 2 +
README.md2 | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 141 insertions(+)
create mode 100644 README.md2
diff --git a/README.md b/README.md
index 0151569..bb6d854 100644
--- a/README.md
+++ b/README.md
@@ -139,3 +139,5 @@ TanakaMichelle - Tanaka Michelle Sandati - 201732120134
WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
+ngounou92 - ngounou bernard-201925800180
+------------mohamed moumou- 201925800178
diff --git a/README.md2 b/README.md2
new file mode 100644
index 0000000..095d158
--- /dev/null
+++ b/README.md2
@@ -0,0 +1,139 @@
+# About LRR
+
+LRR (Lab Report Repository) is an online software application for posting assignments, submitting assignments and marking (re-marking) assignments.
+
+This software was originally developed by by Mahomed Nor, a graduate student in the Department of Computer Science at the Zhejiang Normal University,
+while he was taking a graduate course called **Advanced Software Engineering** (http://lanlab.org/course/2018f/se/homepage.html).
+
+The LRR's project home page is at http://118.25.96.118/nor/homepage/index.html.
+
+
+
+# Mission
+
+Our mission is to make the experience of submitting assignments great for tens of hundreds of students in the department of computer science at the Zhejiang Normal University (Jinhua City, Zhejiang Province).
+
+
+
+# Installation Instructions
+
+Check file INSTALLATION.md (TBA) for details.
+
+
+
+
+# Current Status
+
+This software has been actively used by students who took or are
+taking courses (Introduction to Software Engineering and Software
+Project Management) taught by Hui.
+
+There are more than 200 student accounts created since its first
+launch in 2018.
+
+A running instance of this software is at http://118.25.96.118/nor/
+
+There are about 40 bugs (most being CRITICAL) that remain unresolved
+before LRR can hit its beta release. See the section *The Bug
+Tracker* for more detail. Currently, there are a few groups (formed
+by students who are taking Software Project Management) working on
+these bugs.
+
+
+
+
+# The Bug Tracker
+
+We use Bugzilla to track LRR's bugs and feature requests.
+
+Most bugs of this software are recorded on the bug tracker for LRR:
+http://118.25.96.118/bugzilla/describecomponents.cgi?product=Lab%20Report%20Repository%20%28nor%20houzi%29
+
+
+
+# TODO
+
+- *Receiving email for password resetting*. Password resetting link is not always sent successfully.
+
+- *How assignements should be stored?* Creating sub-directories on all student submissions course-code/semester/section-number. (/student-number/course-code/semester/section-number/assignement-title/submission.txt)
+
+- *Feature request*. Editing the assignment title after uploading a new assignment (instructor).
+
+- [SOLVED] A new user could not login immediately after sign up.
+
+- A more complete list of TODO's is at http://lanlab.org/course/2020s/spm/decide-areas-for-improvement-review.html
+
+
+# How to Contribute
+
+We welcome your participation in this project.
+
+Your participation does not have to be in the form of contributing code. You could help us on
+ideas, suggestions, documentation, etc.
+
+
+You need to be an invited member of *Lan Laboratory* before you can
+push your feature branch or bugfix branch to the central reops at
+https://github.com/lanlab-org
+
+Send Hui (lanhui at zjnu.edu.cn) an email message including your
+GitHub account name so that he could invite you to be a member of *Lan
+Laboratory*.
+
+As of March 31 2020, there are 30 members in *Lan Laboratory* (https://github.com/orgs/lanlab-org/people).
+
+You will use the feature-branching workflow (see below) when
+interacting with the central repo. The main point of this workflow is
+that you work on a branch on your local drive, push that branch to the
+central repo, and create a Pull Request (i.e., Pull Me Request) at
+GitHub for other people to review your changes. When everything is
+OK, then *someone* could merge your changes to the master branch in the
+central repo.
+
+I believe that *code review* at the Pull Request stage is important
+for both improving code quality and improving team quality.
+
+
+
+## The Feature-branching Workflow
+
+We will use the feature-branching workflow for collaboration. The
+idea is that you make your own branch, work on it, and push this branch to
+the central repo for review.
+
+Check the section **The feature-branching workflow** in the following link for more detail:
+
+https://github.com/spm2020spring/TeamCollaborationTutorial/blob/master/team.rst
+
+
+
+## Communications Method
+
+For real-time communication, check our IRC channel `#lrr` at irc.freenode.org. Check this link http://lanlab.org/course/2020s/spm/irc-instruction.txt
+for how to use IRC.
+
+To submit bug reports or improvement ideas, please ask Hui [lanhui at zjnu.edu.cn] to open a Bugzilla account for you.
+
+
+
+
+
+## Frequently Asked Questions
+
+Check FAQ.md (TBA) for details.
+
+
+
+# The Original GitHub Repo
+
+The original GitHub Repo is at https://github.com/EngMohamedNor/LabReportRepo
+
+
+# Contributor List
+
+
+(Please put your name and student number below.)
+
+
+ngounou92- ngounou bernard-201925800180
+-----------mohamed moumou-201925800178
From c88730337487bd65ae4b4879bd640819b37852a9 Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Mon, 6 Apr 2020 08:51:26 -0500
Subject: [PATCH 02/10] README.md:personal information on line
---
README.md | 6 ++-
README.md2 | 139 -----------------------------------------------------
2 files changed, 5 insertions(+), 140 deletions(-)
delete mode 100644 README.md2
diff --git a/README.md b/README.md
index bb6d854..4e5a50c 100644
--- a/README.md
+++ b/README.md
@@ -139,5 +139,9 @@ TanakaMichelle - Tanaka Michelle Sandati - 201732120134
WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
+
+
ngounou92 - ngounou bernard-201925800180
-------------mohamed moumou- 201925800178
+
+
+pipafrica - mohamed moumou- 201925800178
diff --git a/README.md2 b/README.md2
deleted file mode 100644
index 095d158..0000000
--- a/README.md2
+++ /dev/null
@@ -1,139 +0,0 @@
-# About LRR
-
-LRR (Lab Report Repository) is an online software application for posting assignments, submitting assignments and marking (re-marking) assignments.
-
-This software was originally developed by by Mahomed Nor, a graduate student in the Department of Computer Science at the Zhejiang Normal University,
-while he was taking a graduate course called **Advanced Software Engineering** (http://lanlab.org/course/2018f/se/homepage.html).
-
-The LRR's project home page is at http://118.25.96.118/nor/homepage/index.html.
-
-
-
-# Mission
-
-Our mission is to make the experience of submitting assignments great for tens of hundreds of students in the department of computer science at the Zhejiang Normal University (Jinhua City, Zhejiang Province).
-
-
-
-# Installation Instructions
-
-Check file INSTALLATION.md (TBA) for details.
-
-
-
-
-# Current Status
-
-This software has been actively used by students who took or are
-taking courses (Introduction to Software Engineering and Software
-Project Management) taught by Hui.
-
-There are more than 200 student accounts created since its first
-launch in 2018.
-
-A running instance of this software is at http://118.25.96.118/nor/
-
-There are about 40 bugs (most being CRITICAL) that remain unresolved
-before LRR can hit its beta release. See the section *The Bug
-Tracker* for more detail. Currently, there are a few groups (formed
-by students who are taking Software Project Management) working on
-these bugs.
-
-
-
-
-# The Bug Tracker
-
-We use Bugzilla to track LRR's bugs and feature requests.
-
-Most bugs of this software are recorded on the bug tracker for LRR:
-http://118.25.96.118/bugzilla/describecomponents.cgi?product=Lab%20Report%20Repository%20%28nor%20houzi%29
-
-
-
-# TODO
-
-- *Receiving email for password resetting*. Password resetting link is not always sent successfully.
-
-- *How assignements should be stored?* Creating sub-directories on all student submissions course-code/semester/section-number. (/student-number/course-code/semester/section-number/assignement-title/submission.txt)
-
-- *Feature request*. Editing the assignment title after uploading a new assignment (instructor).
-
-- [SOLVED] A new user could not login immediately after sign up.
-
-- A more complete list of TODO's is at http://lanlab.org/course/2020s/spm/decide-areas-for-improvement-review.html
-
-
-# How to Contribute
-
-We welcome your participation in this project.
-
-Your participation does not have to be in the form of contributing code. You could help us on
-ideas, suggestions, documentation, etc.
-
-
-You need to be an invited member of *Lan Laboratory* before you can
-push your feature branch or bugfix branch to the central reops at
-https://github.com/lanlab-org
-
-Send Hui (lanhui at zjnu.edu.cn) an email message including your
-GitHub account name so that he could invite you to be a member of *Lan
-Laboratory*.
-
-As of March 31 2020, there are 30 members in *Lan Laboratory* (https://github.com/orgs/lanlab-org/people).
-
-You will use the feature-branching workflow (see below) when
-interacting with the central repo. The main point of this workflow is
-that you work on a branch on your local drive, push that branch to the
-central repo, and create a Pull Request (i.e., Pull Me Request) at
-GitHub for other people to review your changes. When everything is
-OK, then *someone* could merge your changes to the master branch in the
-central repo.
-
-I believe that *code review* at the Pull Request stage is important
-for both improving code quality and improving team quality.
-
-
-
-## The Feature-branching Workflow
-
-We will use the feature-branching workflow for collaboration. The
-idea is that you make your own branch, work on it, and push this branch to
-the central repo for review.
-
-Check the section **The feature-branching workflow** in the following link for more detail:
-
-https://github.com/spm2020spring/TeamCollaborationTutorial/blob/master/team.rst
-
-
-
-## Communications Method
-
-For real-time communication, check our IRC channel `#lrr` at irc.freenode.org. Check this link http://lanlab.org/course/2020s/spm/irc-instruction.txt
-for how to use IRC.
-
-To submit bug reports or improvement ideas, please ask Hui [lanhui at zjnu.edu.cn] to open a Bugzilla account for you.
-
-
-
-
-
-## Frequently Asked Questions
-
-Check FAQ.md (TBA) for details.
-
-
-
-# The Original GitHub Repo
-
-The original GitHub Repo is at https://github.com/EngMohamedNor/LabReportRepo
-
-
-# Contributor List
-
-
-(Please put your name and student number below.)
-
-
-ngounou92- ngounou bernard-201925800180
------------mohamed moumou-201925800178
From d8e2fb078b5ce5a86a12a81be3f62d6565d1ba6c Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Wed, 8 Apr 2020 06:12:21 -0500
Subject: [PATCH 03/10] README.md: added personal information on
ContributorList.
---
README.md | 3 ---
1 file changed, 3 deletions(-)
diff --git a/README.md b/README.md
index 4e5a50c..2768811 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,6 @@ these bugs.
-
# The Bug Tracker
We use Bugzilla to track LRR's bugs and feature requests.
@@ -140,8 +139,6 @@ WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
-
ngounou92 - ngounou bernard-201925800180
-
pipafrica - mohamed moumou- 201925800178
From 1f3dbfc8868c0b3a6d1cc336e02f3a37f837ad4e Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Wed, 8 Apr 2020 20:10:09 -0500
Subject: [PATCH 04/10] README.md:update
---
README.md | 7 -------
1 file changed, 7 deletions(-)
diff --git a/README.md b/README.md
index 4e5a50c..80e020d 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,6 @@ these bugs.
-
# The Bug Tracker
We use Bugzilla to track LRR's bugs and feature requests.
@@ -139,9 +138,3 @@ TanakaMichelle - Tanaka Michelle Sandati - 201732120134
WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
-
-
-ngounou92 - ngounou bernard-201925800180
-
-
-pipafrica - mohamed moumou- 201925800178
From fefae12ba102ed2a0a9191dbc7cc08c2b44a62ef Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Wed, 8 Apr 2020 20:21:14 -0500
Subject: [PATCH 05/10] README.md adding personal information ngounou
bernard-201925800180 mohamed moumou 201925800178
---
README.md | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 80e020d..f7d9b85 100644
--- a/README.md
+++ b/README.md
@@ -122,12 +122,13 @@ To submit bug reports or improvement ideas, please ask Hui [lanhui at zjnu.edu.c
Check FAQ.md (TBA) for details.
-
# The Original GitHub Repo
The original GitHub Repo is at https://github.com/EngMohamedNor/LabReportRepo
+
+
# Contributor List
@@ -138,3 +139,7 @@ TanakaMichelle - Tanaka Michelle Sandati - 201732120134
WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
+
+ngounou92 - ngounou bernard - 201925800180
+
+pipafrica - mohamed moumou - 201925800178
From 3975a386631a1f134c18fb613537e6d72127790a Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Wed, 8 Apr 2020 20:39:40 -0500
Subject: [PATCH 06/10] README.md update
---
README.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/README.md b/README.md
index eee4578..9f29e43 100644
--- a/README.md
+++ b/README.md
@@ -141,9 +141,11 @@ WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
<<<<<<< HEAD
+
ngounou92 - ngounou bernard - 201925800180
pipafrica - mohamed moumou - 201925800178
+
=======
Benny123-cell - ZhangBin - 201732120127
From e87ca4e0ee9f7ee04f817a3245497621a15fb202 Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Wed, 8 Apr 2020 21:00:30 -0500
Subject: [PATCH 07/10] README.md:update
---
README.md | 3 ---
1 file changed, 3 deletions(-)
diff --git a/README.md b/README.md
index 9f29e43..7d14f71 100644
--- a/README.md
+++ b/README.md
@@ -140,13 +140,10 @@ WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
-<<<<<<< HEAD
-
ngounou92 - ngounou bernard - 201925800180
pipafrica - mohamed moumou - 201925800178
-=======
Benny123-cell - ZhangBin - 201732120127
From e815b239a807f4187a439615a807c42c4a17e6ba Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Thu, 9 Apr 2020 02:49:23 -0500
Subject: [PATCH 08/10] README.md:update
---
README.md | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 7d14f71..b4e5cfd 100644
--- a/README.md
+++ b/README.md
@@ -140,11 +140,6 @@ WhyteAsamoah - Yeboah Martha Asamoah - 201732120135
xiaoyusoil - ZhengXiaoyu - 201732120110
-ngounou92 - ngounou bernard - 201925800180
-
-pipafrica - mohamed moumou - 201925800178
-
-
Benny123-cell - ZhangBin - 201732120127
421281726 - LiJiaxing - 201732120118
@@ -160,6 +155,10 @@ Richard1427 - XieJiacong - 201732120123
yutengYing - YingYuteng - 201732120126
Samrusike - Samantha Rusike - 201632120140
+
Teecloudy - Ashly Tafadzwa Dhani - 201632120150
+ngounou92 - ngounou bernard - 201925800180
+
+pipafrica - mohamed moumou - 201925800178
>>>>>>> 8f7191061de9c185b0e7ee9db30d712b75a55479
From 24de5118e25efb5a9a703809db98495016d0284b Mon Sep 17 00:00:00 2001
From: ngounou92 <58895699+ngounou92@users.noreply.github.com>
Date: Tue, 2 Jun 2020 21:31:48 -0500
Subject: [PATCH 09/10] adding new files of our new codes and some comments
about our changes to UserDoc.md file
---
Connect.php | 34 +++++-----
UserDoc.md | 36 +++++++++++
home.php | 164 +++++++++++++++++++++++++++++++++++++++++++++++++
user guide.pdf | Bin 0 -> 570956 bytes
verif-form.php | 11 ++++
5 files changed, 228 insertions(+), 17 deletions(-)
create mode 100644 UserDoc.md
create mode 100644 home.php
create mode 100644 user guide.pdf
create mode 100644 verif-form.php
diff --git a/Connect.php b/Connect.php
index d82d890..330657d 100644
--- a/Connect.php
+++ b/Connect.php
@@ -1,23 +1,23 @@
connect_error) {
- die("Database Connection failed: " . $conn->connect_error);
-}
-// else
-// {
+try {
+ $dbh = new PDO($dsn, $user, $password);
-// echo "Connected";
-// }
-session_start();
\ No newline at end of file
+ }
+catch (PDOException $e) {
+ echo 'connexion has failed : ' . $e->getMessage();
+}
+ $stmt = $dbh->query("SELECT * FROM course_students_table");
+ while ($row = $stmt->fetch()) {
+ $tablel_user[] = $row['Student_ID']." \n";
+}
+session_start();
diff --git a/UserDoc.md b/UserDoc.md
new file mode 100644
index 0000000..116a301
--- /dev/null
+++ b/UserDoc.md
@@ -0,0 +1,36 @@
+LRR User Documentation
+======================
+
+
+Resetting password
+-------------------
+
+We can reset a user's password by directly modifying the MySQL database table called `users_table`. More specifically, we delete that user's information from `users_table` so that the user could sign up again. Suppose the user's student number is 201131129138.
+
+To do so, LRR administrator logs in to MySQL using the following command: `mysql -u username -p`. Type the correct password to access the MySQL database.
+
+After that, issue the following commands in the mysql prompt.
+
+- `use lrr;`
+
+- `delete from users_table where Student_ID="201131129138";`
+
+The first one uses a database called lrr in MySQL. The second one deletes a record from `users_table` where the student number is 201131129138.
+
+
+Joining by using course name or course
+--------------------------------------
+
+In this section we are going to present what we did on the course page to allowed the users(students) to find the course and join that course using the course name/course code.
+we have created a new page with some links (home, course, disabled).those links will help the users to navigate through the other pages of LRRS.
+
+we have use the lrr database especially the courses_table that store different courses information.
+
+You can have a look on our new code source (home.php, connect.php, verif-form.php,connect.php) for more details.
+
+we have not yet associated our page with other pages(script.php) of LRRS because this page is quite different to other pages.
+
+ have a look on our user guide file(user guide file) to see some screenshots of our page.
+
+
+*Last modified on 1 June 2020 by Hui*
diff --git a/home.php b/home.php
new file mode 100644
index 0000000..255d885
--- /dev/null
+++ b/home.php
@@ -0,0 +1,164 @@
+
+
+
+