Commit graph

6 commits

Author SHA1 Message Date
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
79aa7978bb
feat: Add capability for viewing user grades
Defines a new capability 'report/usergrades:view' with associated
risks and context level. Grants managers permission to access
this report.

Updates page setup to check the new capability, ensuring
appropriate access control. Increments plugin version to
reflect these changes.

Enhances security and manages user access more effectively.
2024-11-20 17:38:16 +01:00
d58349069d
fix: Removes debug output from form submission
Eliminates unnecessary print_r function call for form data,
enhancing code clarity and preventing potential data exposure
during form submission handling.
2024-11-20 15:16:24 +01:00
e77df1e29f
fix: Enhances user grade selection and display
Adds a custom user selector class to streamline user search
and selection based on name or email.

Improves grade display by showing the final grade and maximum
possible grade, enhancing clarity for end-users.

Includes new language strings for improved user interface
text clarity during user selection and grade reporting.

Updates the plugin version to reflect substantive changes.
2024-11-20 15:10:57 +01:00
a0d65305ab
fix: Fixes missing PHP opening tag
Adds the PHP opening tag to prevent potential parsing errors
and ensure correct script execution.
2024-11-20 14:24:58 +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