Commit Graph

52 Commits

Author SHA1 Message Date
Andrew Nicols d66f81d2e1 MDL-78168 mod_assign: Deprecate assign_files::preprocess 2023-06-24 13:33:01 +08:00
Andrew Nicols adddcf394f MDL-78168 mod_assign: Stop storing properties dynamically
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

In these cases, mod_assign was treating other unrelated objects as its
personal object store. These have been updated to not require this.
2023-06-24 13:33:00 +08:00
Meirza 29d20be214 MDL-77343 mod_assign: Added missing class properties.
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
2023-03-15 14:30:47 +07:00
Shamim Rezaie 48b7dc597b MDL-76603 mod_assign: Move advanced grading grades out of the tables 2023-03-10 10:08:42 +08:00
Adrian Greeve 965f4e74cd fixup! MDL-73354 mod_assign: General tidy up of tertiary navigation. 2022-02-09 10:52:58 +08:00
Adrian Greeve 33e6a36daf MDL-73354 mod_assign: General tidy up of tertiary navigation. 2022-02-09 10:52:34 +08:00
Matt Porritt eaa1f56704 MDL-68913 Assign: Per attempt timing
This patch provides functionality to allow the
assign activity to have timed attempts for submissions.
It includes the logic, UI and adminstration changes
fot timed submissions.
2021-11-10 12:07:35 +08:00
Marty 424fecb7b0 MDL-69723 assign: Add # need grading to summary
For teachers viewing the assignment summary (/mod/assign/index.php),
it shows a '-' in the 'Grade' column. Instead of showing a '-', display
the number of items that need grading.

Augment by creating a link to the grading page so that teachers can see
the outstanding assignments more quickly.

Also attempted to write phpunit tests that verify values for ungraded
submissions for teachers.
2021-10-26 09:58:02 -04:00
Matt Porritt f5d9267a29 MDL-69696 mod_assign: Class refactoring - rendering
Refactor rendering classes to be more PSR compliant.

Move renderer to output class folder and initial
splitting of classes in renderable.php into individual
class files. To make it easier to refactor assign UI
functionality in the future.
2021-10-07 14:25:11 +08:00
Adrian Greeve c8422f4576 MDL-70196 mod_assign: Allow the last navbar item to have a link.
- Part of: MDL-69588
This updates a method to allow the last item in the breadcrumb
navbar to have a URL.
2021-08-23 17:46:38 +08:00
Dan Marsden ceb2da3b77 MDL-72054 assign: pass course/coursemodule to assign_files 2021-07-01 14:58:51 +12:00
Jake Dallimore 9e719b81d4 MDL-66147 mod_assign: submissions overview page shows time interval
Use get_time_interval_string() on the teacher only page, to show how
long after the course start the assignment is due for each user.
2019-08-13 15:09:11 +08:00
Davo Smith 8773296b77 MDL-64811 mod_assign: fix webservice return type 2019-07-01 11:22:57 +01:00
Davo Smith 74ddcaaa6f MDL-64811 mod_assign: warn about 'Default group' submissions 2019-06-17 16:01:47 +01:00
Zig Tan a8f7818beb MDL-62533 assign: Show assign hidden status on grading summary page 2018-06-29 09:37:57 +08:00
Orzu Ionut 403f553623 MDL-61670 assign: show uploaded files timestamp
Amended to fix commit message. Rename variable to lower.
2018-06-06 11:16:22 +02:00
Damyon Wiese bf0a154217 MDL-58983 assign: Hide grade button if no cap
If the current user cannot grade students, don't show them the button.
2017-11-28 15:47:30 +08:00
Damyon Wiese 151b0f9409 MDL-58132 repositories: Controlled link file type
This introduces a new "controlled link" file type where the file is not
stored in Moodle - but Moodle will control the access permissions on the file.

Plugins can "freeze" a filearea which means Moodle will take ownership of all the remote
files of this type.

When accessing a file, if the "filebrowser" infomation indicates the current user can write to the file, they
will be granted temporary write access.

Part of MDL-58220
2017-04-03 13:40:13 +08:00
Shamim Rezaie 05fdbe378a MDL-55915 mod_assign: let fullname() know if user has viewfullnames cap
Instruct fullname() to format names on the assignment grading page with alternativefullnameformat when user
has moodle/site:viewfullnames capability.
2017-01-20 20:28:57 +11:00
Andrew Nicols f42288ea62 MDL-54113 assign: Open files in new window
Open files in a new window when viewing to ensure that the form change
checker does not warn about the page reloading.
2016-08-24 11:33:09 +08:00
Damyon Wiese 6853cd5ed4 MDL-52954 assign: Fix the reasonable cibot warnings. 2016-03-30 14:07:28 +08:00
Damyon Wiese bb690849c9 MDL-52954 assign: Rebuild the assignment single grade page. 2016-03-30 13:47:21 +08:00
Dan Poltawski a49fca44e0 MDL-49490 assign: can't export to portfolio on non-submission 2015-11-18 09:10:20 +00:00
Andrew Hancox ee5d4eef08 MDL-50524 mod_assign: preventsubmissionnotingroup for multiple groups
When preventsubmissionnotingroup and a user is in multiple groups, display
relevant error messages to the user and teacher
2015-09-03 14:54:46 +01:00
Andrew Hancox e528997a4a MDL-48159 mod_assign: Added setting preventsubmissionnotingroup
If enabled a user will be unable to make a submission unless they are a
member of a group.
2015-04-07 14:30:40 +01:00
Mark Nelson bd3ee80716 MDL-46498 mod_assign: display correct grading status 2014-12-23 23:46:22 -08:00
Eloy Lafuente (stronk7) 9bdb64681f Merge branch 'MDL-39929' of https://github.com/bostelm/moodle 2014-09-03 00:13:53 +02:00
Henning Bostelmann 7faf78cbae MDL-39929 Assignment: provide file upload area for assignment description 2014-09-02 11:02:16 +01:00
Dan Marsden f4774f44d1 MDL-46816 mod_asssign plagiarism: Remove unnecessary code. 2014-08-22 09:43:48 +12:00
Gregory Faller cfdd3e5cac MDL-46718: Return user to last accessed page when quick grading 2014-08-08 14:01:02 +09:30
David Balch 153510ead8 MDL-40479 mod_assign: Fix the colour of grading success messages. 2014-07-16 08:57:48 +01:00
Henning Bostelmann af904bd75b MDL-44629 Assignment: add facility for displaying plugin-specific headers 2014-04-07 11:34:26 +01:00
Damyon Wiese 997588195d MDL-43318 Assign: Fix bug when editing previous attempt feedback 2013-12-20 11:14:27 +08:00
Damyon Wiese 1561a37cab MDL-37148 assign: Fix all phpdocs warnings from moodlecheck (except tests) 2013-09-13 13:30:02 +08:00
Rajesh Taneja a69944eb8b MDL-40218 Assignment: Show suspended user, similar to the way they are shown in grader report 2013-07-09 13:32:08 +08:00
Damyon Wiese df211804f1 MDL-36804 mod_assign - allow students to resubmit work and display a submission + grading history
This is based on work by Davo Smith with input from Fernando Oliveira (Thanks guys!).
2013-04-02 13:37:51 +08:00
Damyon Wiese d08e6c31fb MDL-38061 Assignment - Use $CFG->showuseridentity to add extra fields to the assignment grading table/user summary. 2013-02-22 10:30:56 +08:00
Damyon Wiese e5403f8c44 MDL-36904 Assignment: Fix all errors and warnings from codechecker 2013-01-04 15:46:15 +08:00
Damyon Wiese 64220210de MDL-35740 Assignment: Change the assignment index page to use a renderer.
This also cleans up the patch to prevent students from seeing the number of submissions for the assignment.
2012-12-18 08:44:53 +08:00
Mark Nelson 3774324174 MDL-33791 Portfolio: Fixed security issue with passing file paths. 2012-11-08 00:26:13 +01:00
Raymond Wijaya ec32d06834 MDL-34088: Advanced grading criteria is shown on assignment page (if used) before the assignment submissions have been graded. 2012-09-07 15:20:32 +08:00
Damyon Wiese 88cfe46998 MDL-31291: Do not show students names who have not submitted when blind marking is enabled. 2012-09-03 11:11:16 +08:00
Damyon Wiese b473171a6f MDL-31291: Blind marking feature for mod_assign 2012-09-03 11:11:16 +08:00
Damyon Wiese 12a1a0da2f MDL-31284: New feature for mod_assign: Team assignments 2012-09-03 10:54:07 +08:00
Damyon Wiese 9e795179ad MDL-31295: Allow granting individual extension dates to students for mod_assign 2012-09-03 10:08:47 +08:00
Damyon Wiese 94f26900c9 MDL-31288: New feature: Assignment submission statements 2012-07-27 16:00:10 +08:00
Damyon Wiese f70079b9bf MDL-2283: Display number of assignment submissions that need grading in the grading summary 2012-07-17 09:16:43 +08:00
Damyon Wiese a1e54f4d6c MDL-33327: Layout changes for the assignment grading table
Move the grading actions to a single drop down list above the header
Move the grading options below the grading table (although that is inconsistent)

Conflicts:

	mod/assign/gradingtable.php
	mod/assign/locallib.php
2012-06-14 15:22:42 +08:00
Damyon Wiese 509e59ca38 MDL-33547: Fix for mod_assign portfolio export for a list of files.
This will fix any submission or feedback plugin using render_area_files
to show a list of files.
2012-06-06 15:49:37 +08:00
Damyon Wiese bf78ebd650 MDL-32932: Add quickgrading support to mod_assign 2012-05-15 13:33:59 +08:00