Commit Graph

48 Commits (5ac806217531bce438b831312fec834c39ba261a)

Author SHA1 Message Date
Lan Hui baf2d831ef Course.php: better paragraphs. 2023-08-24 21:06:14 +08:00
Lan Hui 28617c9854 Course.php: better variable name . 2023-08-24 21:02:18 +08:00
Lan Hui 6b1d41a02d Course.php: better variable name . 2023-08-24 21:01:34 +08:00
Lan Hui 587474e074 Course.php: better variable name . 2023-08-24 20:59:27 +08:00
Lan Hui 97b682fdfb Course.php: better spacing. 2023-08-24 20:57:48 +08:00
Lan Hui f2dfb5ddd6 Course.php: make group invitation work. 2023-08-23 21:55:02 +08:00
Lan Hui b477edca1b Course.php: better spacing; removed unused code: echo '<ul>'; 2023-08-23 20:49:00 +08:00
Lan Hui 1875028472 Course.php: delete unused code. 2023-08-23 20:44:21 +08:00
Lan Hui 027c4fada6 Course.php: better code spacing. 2023-08-23 20:43:37 +08:00
Lan Hui 3270817a4b Course.php: remove link under Courses. 2023-08-23 20:31:11 +08:00
Lan Hui e41311dde9 Course.php: indent buffer using web-mode. 2023-08-23 20:15:55 +08:00
Lan Hui 0bf58fc282 Course.php: give the code better format; show None if there is no attachment. 2023-08-22 19:51:02 +08:00
Lan Hui 6a840566d2 Solve the no X problem in modal dialogue (complete it). 2023-08-12 21:29:49 +08:00
Lan Hui 90f8e7b835 Solve the no X problem in modal dialogue. 2023-08-12 21:25:16 +08:00
Lan Hui debd5a124e Update jquery and jquery-ui. 2023-08-12 20:56:27 +08:00
Lan Hui a7a33e1400 Remove unused CSS class definitions. Make spacing better. 2023-08-11 21:53:55 +08:00
Lan Hui 89395dbb98 Make student's interface look better. 2023-08-09 16:40:26 +08:00
Lan Hui a4a413f700 Use card class while displaying assignments in New and Marked tabs. 2023-08-09 14:18:05 +08:00
Lan Hui 6af2d77912 Add non-sticky footer. 2023-08-08 15:02:26 +08:00
Lan Hui 0e4a49fb3d Make nav tabs work, and make buttons look better. 2023-08-07 16:39:19 +08:00
Lan Hui 7d28f987d2 Make pages look even better. 2023-08-05 16:11:27 +08:00
Lan Hui e74c018a8c Remove Footer.php because it is not useful. 2023-08-05 14:53:43 +08:00
Lan Hui 6a4f44df73 Better information display for the student's assignment status. 2023-08-04 20:42:40 +08:00
Lan Hui c490974dd7 Better look. 2023-08-04 18:44:10 +08:00
Lan Hui 6be0908210 Make pages look better. List courses in descending order creation. 2023-08-04 15:24:51 +08:00
Lan Hui 954006ff0b Make a student's Course Page look better. The first letter in a button name is uppercase, others are in lowercase. 2023-08-03 16:31:16 +08:00
Lan Hui 7f870d8c7a Make Course.php look better. 2023-08-02 15:09:49 +08:00
Lan Hui 7ed74390ce Better JavaScript function name. 2023-08-02 15:03:25 +08:00
Lan Hui a56b4c00dd (1) Make php files look better; (2) Removed Visitors.php and Reset_password.php because they are no longer used; (3) TODO: review Submissions.php, Script.php, Course.php and Courses.php. 2023-08-01 17:02:33 +08:00
mrlan 0539b7053a Bug469-Hui (#55)
修复 [Bug 469](http://118.25.96.118/bugzilla/show_bug.cgi?id=469)
修改 SESSION 的键名,使其更合适。

Hui

Co-authored-by: Hui Lan <lanhui@zjnu.edu.cn>
Reviewed-on: http://121.4.94.30:3000/mrlan/LRR/pulls/55
Co-authored-by: mrlan <mrlan@noreply.121.4.94.30>
Co-committed-by: mrlan <mrlan@noreply.121.4.94.30>
2023-01-20 17:43:30 +08:00
mrlan a02b3bec4b YAAQB: this commit fixes Bug 457 - Can't remove a group or group member in LRR (#53)
Demo video shows that the modification works

Co-authored-by: Hui Lan <lanhui@zjnu.edu.cn>
Reviewed-on: http://121.4.94.30:3000/mrlan/LRR/pulls/53
Co-authored-by: mrlan <mrlan@noreply.121.4.94.30>
Co-committed-by: mrlan <mrlan@noreply.121.4.94.30>
2023-01-19 18:22:39 +08:00
bmth eb532d10af “LiangLigang” 2022-05-19 12:35:27 +08:00
Ibrahim ef6e79f31c Update 3: test cases 07-16 2021-12-05 00:59:43 +08:00
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