Commit Graph

15 Commits (dd75c24a3030fb0bc9da7cd8106e953869b01664)

Author SHA1 Message Date
Lan Hui 55753cc88f Courses.php: indent code. 2021-10-18 23:27:03 +08:00
Lan Hui e64af95eee Admin.php: format code using visual studio code's PHP Intelephense. 2021-10-18 23:03:36 +08:00
enockkays d5fc7c425e
Update Course.php 2021-06-12 19:09:43 +08:00
enockkays aa9f47e1db
Update Course.php 2021-06-12 19:07:54 +08:00
enockkays dd46a63611
Update Course.php
Changed the Mysql connection names because at first we used the local server and forgot to change the details when pushing to gitHub.
2021-06-12 17:26:06 +08:00
enockkays 8fb4c89329 Enock Jeanick & Omar Bug 189 - students should be able to drop a course. http://118.25.96.118/bugzilla/show_bug.cgi?id=189. We Implemented a button that will enable students to drop a course in case they join a wrong course or something else. 2021-05-21 20:14:43 +08:00
Hui Lan c2cee17c0a Course.php: show missed courses properly. This is bug fix commit. 2021-04-04 20:03:05 +08:00
Hui Lan ada55d3394 [Refactoring] Particularly make the SQL statement that shows new assigmments in Coruse.php less messy. 2020-10-02 17:02:20 +08:00
Hui Lan 1abe47788c Bug fixes for bug reports from 2020-09-24 to 2020-09-29. 2020-09-29 17:38:14 +08:00
Hui Lan df3b48553a Several fixes (sign up/sign in, recover password, etc). 2020-09-26 20:08:39 +08:00
Software Project Management 058eb2adac
Merge pull request #21 from lanlab-org/Ashly-Tafadzwa-Dhani-201632120150-Contributor_List
Allowing all group member to submit assignment and allowing Lecturer to edit assignment info.
2020-04-18 17:49:48 +08:00
和user.email 674ba53cfd Link js css files to local. -Dai 2020-04-17 22:20:28 +08:00
CloudStarTreck 29ad8f4499 Regression Test Failure with 4441 Upload Error
Following the previous update, the system failed a regression test and reported a 4441 error while trying to submit a new Lab report.
This was due to the condition added on line 298 in Course.php and reversing this change solved the problem.

This condition was added to allow all Group members to be updated once the Tutor Marks the Lab Report but a better method to
archieve this has been implemented on line 367 in Course.php
2020-04-16 14:46:43 +08:00
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 2ac128c680 adding LRR files
uploading the full project online
2020-03-16 15:23:14 +08:00