diff --git a/doc/IncreaseSessionDuration.txt b/doc/IncreaseSessionDuration.txt new file mode 100644 index 0000000..881d8ef --- /dev/null +++ b/doc/IncreaseSessionDuration.txt @@ -0,0 +1,13 @@ +Increasing session duration +--------------------------- + +By default, the session duration in PHP is set to 1,440 seconds (24 +minutes). However, this is not convenient in most software +systems. Therefore, we may need to increase the duration to allow +users to have more session time. To increase the session duration, we +need to edit the variable *session.gc_maxlifetime* in **php.ini**. We +can increase its default value to whatever we want (e.g., 7200). On +Ubuntu, the file is located at */etc/php/7.2/apache2/php.ini*. On +XAMPP, the file is located at */xampp/php/php.ini*. + +*Last modified on 20 April 2022 by Umar* diff --git a/doc/Issues.txt b/doc/Issues.txt index e79cc3e..b41ded8 100644 --- a/doc/Issues.txt +++ b/doc/Issues.txt @@ -1,7 +1,26 @@ +Todo +---- + +3. Filter file format and size upon upload. + +4.1. Upon Change password it must ask the old password first before new password. + +4.2. It should not use the GET REQUEST on password which puts user's data at risk since it displays in the URL. * Allow submission without file upload -* Lecturer/TA should see his/her feedback on submissions + +* Lecturer/TA should see his/her feedback on submissions + +* Remarking request details required + + +Done +---- + +1. The connect.php should not echo 'Connected' since there is a redirect already in the header.php [Resolved] + +2. The header.php is connecting to the database twice through inline connection and an external connect.php [Resolved] + +4. Added css into the header.php * Check Spelling Issues - -* Remarking request details required \ No newline at end of file diff --git a/doc/QuickStart.txt b/doc/QuickStart.txt new file mode 100644 index 0000000..195a563 --- /dev/null +++ b/doc/QuickStart.txt @@ -0,0 +1,26 @@ +Quick Start Guide + + +* Use Admin User to Create Lecturer Accounts + + Account: Admin + Password: admin@123 + +* Create a Lecturer account + +* Login to Lecturer account + +* Create a course ( You can determine whether or not students need approval before they can join the course. ) + +* As Student + + You can Sign up with your Student ID, then provide your email address and password. + +* Browse Courses by Deartment + + - Or Search by Course Course + - Join Course + - You can see the list of your courses in Course Home page + + + diff --git a/doc/Quick_Start.txt b/doc/Quick_Start.txt deleted file mode 100644 index e6df0fe..0000000 --- a/doc/Quick_Start.txt +++ /dev/null @@ -1,32 +0,0 @@ - -

Quick Start Guide

-
- - -* Use Admin User to Create Lecturer Accounts - - user : Admin - Password : admin@123 - -* Create Lecturer - -* Login to Lecturer Account - - -* Create Course ( You can define whether or not students require approval to join the course ) - - -* As Student - - You can Sign up with your Student ID - Then Provide your Email and Password - -* Browse Courses by Deartment - - - Or Search by Course Course - - Join Course - - You can see the list of your courses in Course Home page - -* - - diff --git a/doc/Reset_Database.txt b/doc/ResetDatabase.txt similarity index 92% rename from doc/Reset_Database.txt rename to doc/ResetDatabase.txt index 620daa0..0b842a5 100644 --- a/doc/Reset_Database.txt +++ b/doc/ResetDatabase.txt @@ -7,8 +7,8 @@ delete from course_Group_Members_table; delete from course_students_table; delete from course_ta; -delete from extended_deadlines_table; +delete from extended_deadlines_table; delete from lab_reports_table; @@ -16,4 +16,4 @@ delete from lab_report_submissions; delete from students_data; -Delete from users_table; +delete from users_table; diff --git a/doc/ResetPassword.txt b/doc/ResetPassword.txt new file mode 100644 index 0000000..a197b1f --- /dev/null +++ b/doc/ResetPassword.txt @@ -0,0 +1,24 @@ +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 mnc -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. + + +*Last modified on 20 April 2022 by Umar* diff --git a/doc/UserDoc.md b/doc/UserDoc.md deleted file mode 100644 index 8a78d83..0000000 --- a/doc/UserDoc.md +++ /dev/null @@ -1,26 +0,0 @@ -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. - -Increasing session duration -------------------- - -By default, the session duration in PHP is set to 1,440 seconds (24 minutes). However, this is not convenient in most software systems. Therefore, we may need to increase the duration to allow users to have more session time. To increase the session duration, we need to edit the variable *session.gc_maxlifetime* in **php.ini**. We can increase its default value to whatever we want (e.g., 7200). -On Ubuntu, the file is located at */etc/php/7.2/apache2/php.ini*. On XAMPP, the file is located at */xampp/php/php.ini*. - -*Last modified on 20 April 2022 by Umar* diff --git a/doc/ashlys_issues.txt b/doc/ashlys_issues.txt deleted file mode 100644 index 206f7b9..0000000 --- a/doc/ashlys_issues.txt +++ /dev/null @@ -1,10 +0,0 @@ -1. The connect.php should not echo 'Connected' since there is a redirect already in the header.php [Resolved] - -2. The header.php is connecting to the database twice through inline connection and an external connect.php [Resolved] - -3. Filter file format and size upon upload. - -4.1. Upon Change password it must ask the old password first before new password. -4.2. It should not use the GET REQUEST on password which puts user's data at risk since it displays in the URL. - -4. Added css into the header.php \ No newline at end of file