Commit Graph

59 Commits (64c625ae58b78786d505db11bdfa6a910c8dfd27)

Author SHA1 Message Date
CloudStarTreck 25f9b4ff0f 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
2020-04-06 23:45:30 +08:00
CloudStarTreck e3dafae622 Removing the 'HashPassword' Column
Edited by Ashly
Removed the insertion of encripted password into the 'HashPassword' column. All passwords are kept in the 'Password' Column.

Also adjusted the Column size of database to hold the long hashed password
2020-03-19 19:49:41 +08:00
Hui Lan cdd4dceb0a Script.php: we create for backward compatibility. -Hui 2020-03-18 22:16:00 +08:00
Hui Lan 1aec051398 Script.php: login backward compatibility
Make sure the really old, legitimate users could still login.

Note that these users' passwords were first encrypted by SHA512 then stored in column HashPassword.

In recent updates, we totally disuse HashPassword.  The hashed password (using Php's built-in function password_hash) is stored in column Password instead.

- Group: Ashly Tafadzwa Dhani, Samantha Rusike

2020-03-18
2020-03-18 22:07:13 +08:00
CloudStarTreck 41aa01579c Logging Users
Password verification was being bypassed therefor on line 160 i modified the password verification to match the database
2020-03-16 20:26:17 +08:00
CloudStarTreck c77b470e8a Update Script.php
this change is on line 160. it allows both new users and old users to loginto the system successfully by verifying hashed passwords and normal passwords
2020-03-16 15:35:12 +08:00
CloudStarTreck 625d447dd9 Update Script.php
Allow users to login soon after signup by confirming the user details from the database on line 159
2020-03-16 15:32:07 +08:00
CloudStarTreck 2b03c8118d Update Script.php
passwords are now encripted by password hashing. This improves privacy on user data.
2020-03-16 15:30:56 +08:00
CloudStarTreck 2ac128c680 adding LRR files
uploading the full project online
2020-03-16 15:23:14 +08:00