Commit graph

4 commits

Author SHA1 Message Date
e3fd691910
fix: Extract user selection components to classes
Extracts and refactors user selection logic by moving user selector
and form functionality into separate class files. This enhances code
modularity and reusability across different parts of the application.

Adds a detailed user grades report page that displays quiz attempts
and grades for selected users, improving user grade reporting.

Updates admin settings to include detailed report page link for
navigation ease.
2024-11-21 19:59:07 +01:00
d3eed13d51
fix: Removes login page error check for usergrades
Eliminates redundant $hassiteconfig condition, preventing potential
login page errors as site configuration check is unnecessary for
accessing the user grades report administration.

Updates URL concatenation to use $CFG->wwwroot for consistency.
2024-11-20 18:15:02 +01:00
8d339008c1
feat: Enhances usergrades report page configuration
Replaces hardcoded URL with moodle_url for flexibility and security.
Adds capability requirement 'report/usergrades:view' for improved access control.
2024-11-20 17:46:27 +01:00
f89cf45a8e
feat: Add user grades report functionality
Introduces a new report to display grades for selected users.
Includes a user selection form and grade display logic.
Sets up plugin metadata and localization strings.

Enables administrators to view a user's grades across courses.

Includes default plugin settings and version information.
2024-11-19 16:06:49 +01:00