Paul Holden [Wed, 13 Dec 2023 17:10:46 +0000 (17:10 +0000)]
MDL-79270 reportbuilder: remove duplicate columns from order clause.
This works around a problem in SQL Server, which caused it to throw a
DML exception if the same column is duplicated in `ORDER BY` clause.
Sara Arjona [Wed, 13 Dec 2023 16:05:43 +0000 (17:05 +0100)]
Merge branch 'MDL-80360' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 13 Dec 2023 09:21:57 +0000 (10:21 +0100)]
Merge branch 'MDL-80233-main' of https://github.com/aanabit/moodle
Sara Arjona [Wed, 13 Dec 2023 07:19:43 +0000 (08:19 +0100)]
Merge branch 'MDL-79270-main-behat-fix' of https://github.com/lameze/moodle
Huong Nguyen [Wed, 13 Dec 2023 02:28:24 +0000 (09:28 +0700)]
Merge branch 'MDL-74466' of https://github.com/paulholden/moodle
Ilya Tregubov [Wed, 13 Dec 2023 01:21:49 +0000 (09:21 +0800)]
Merge branch 'MDL-80003_master' of https://github.com/PhilippImhof/moodle
Simey Lameze [Wed, 13 Dec 2023 01:20:20 +0000 (09:20 +0800)]
MDL-79270 behat: update tests to match new UI elements
Sara Arjona [Tue, 12 Dec 2023 16:58:07 +0000 (17:58 +0100)]
Merge branch 'MDL-77572_master' of https://github.com/santoshndev/moodle
Sara Arjona [Tue, 12 Dec 2023 16:32:47 +0000 (17:32 +0100)]
Merge branch 'MDL-79270' of https://github.com/dravek/moodle
Santosh Nagargoje [Wed, 6 Sep 2023 20:51:34 +0000 (02:21 +0530)]
MDL-77572 Course: Added fix for section,activity visibility capabilities
Amaia Anabitarte [Mon, 27 Nov 2023 16:08:56 +0000 (17:08 +0100)]
MDL-80233 completion: Use default for empty values
Sara Arjona [Tue, 12 Dec 2023 13:19:46 +0000 (14:19 +0100)]
Merge branch 'MDL-80315-main' of https://github.com/andelacruz/moodle
Sara Arjona [Tue, 12 Dec 2023 13:11:34 +0000 (14:11 +0100)]
Merge branch 'MDL-79835' of https://github.com/timhunt/moodle
Ilya Tregubov [Tue, 12 Dec 2023 01:28:27 +0000 (09:28 +0800)]
Merge branch 'MDL-79397' of https://github.com/paulholden/moodle
Paul Holden [Wed, 8 Nov 2023 12:46:35 +0000 (12:46 +0000)]
MDL-79270 admin: new filter type for filtering users by course role.
Use in the new browse users system report, to which it is quite
specific. The filter itself is a like for like replacement of the
pre-existing filter on the same page, and is really a combination
of existing role/category/course filters.
David Carrillo [Wed, 25 Oct 2023 15:12:57 +0000 (17:12 +0200)]
MDL-79270 user: New 'Browse list of users' system report
- The report 'Browse list of users' has been converted to use Report
Builder.
- Behat tests have been fixed and some test have been deleted for not
being relevant anymore.
David Carrillo [Wed, 25 Oct 2023 15:01:36 +0000 (17:01 +0200)]
MDL-79270 reportbuilder: Add lastip column/filter to user RB entity
Paul Holden [Fri, 8 Dec 2023 10:12:21 +0000 (10:12 +0000)]
MDL-80360 mod_assign: fix timemodified assertion in date restore test.
Paul Holden [Fri, 15 Sep 2023 10:28:30 +0000 (11:28 +0100)]
MDL-79397 reportbuilder: update reports to use auto-generated aliases.
We no longer need to be concerned about the manual setting of entity
table aliases (e.g. to avoid duplication between entities, or for using
a single entity multiple times), as it's handled transparently for us.
Paul Holden [Thu, 14 Sep 2023 17:45:11 +0000 (18:45 +0100)]
MDL-79397 reportbuilder: update existing entity table definitions.
Paul Holden [Wed, 13 Sep 2023 16:31:51 +0000 (17:31 +0100)]
MDL-79397 reportbuilder: always auto-generate entity table aliases.
As the number of report entity classes has grown, each having their own
manually defined table aliases, it becomes harder to ensure each of the
aliases are always unique across report sources.
We can remove that burden by ensuring table aliases are automatically
generated upon request.
Philipp Imhof [Mon, 6 Nov 2023 11:46:37 +0000 (12:46 +0100)]
MDL-80003 mod_quiz: watch all instances of tinyMCE
Sara Arjona [Thu, 7 Dec 2023 15:22:00 +0000 (16:22 +0100)]
weekly release 4.4dev
Sara Arjona [Thu, 7 Dec 2023 15:21:57 +0000 (16:21 +0100)]
NOBUG: Fixed SVG browser compatibility
Paul Holden [Thu, 7 Dec 2023 09:16:19 +0000 (09:16 +0000)]
MDL-79980 mod_survey: remove responses link if user cannot access.
Update Behat scenario to match.
Brendan Heywood [Thu, 7 Dec 2023 03:43:20 +0000 (11:43 +0800)]
MDL-80309 tasks: Clean up mtrace logs
Andrew Nicols [Thu, 7 Dec 2023 03:42:50 +0000 (11:42 +0800)]
Merge branch 'MDL-80257-main' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Thu, 7 Dec 2023 03:27:37 +0000 (10:27 +0700)]
Merge branch 'MDL-80341' of https://github.com/timhunt/moodle
Ilya Tregubov [Thu, 7 Dec 2023 03:17:25 +0000 (11:17 +0800)]
Merge branch 'MDL-79931-main' of https://github.com/lucaboesch/moodle
Paul Holden [Wed, 25 Oct 2023 06:11:33 +0000 (07:11 +0100)]
MDL-79839 tool_task: clean task classname parameter prior to use.
Huong Nguyen [Thu, 7 Dec 2023 02:52:11 +0000 (09:52 +0700)]
Merge branch 'MDL-79061-main-2' of https://github.com/junpataleta/moodle
Jun Pataleta [Tue, 5 Dec 2023 03:01:53 +0000 (11:01 +0800)]
MDL-79061 course: Create a sr-only mutations logger
* Create SRLogger that extends from the default Logger class. This
logger outputs the feedback to a sr-only ARIA live region to allow
screen readers to announce the feedback from mutations.
* Update the course editor to use the SRLogger.
Ferran Recio [Tue, 7 Nov 2023 14:39:00 +0000 (15:39 +0100)]
MDL-79061 core: Mechanism for logging mutation feedbacks
* Create a mechanism for logging mutation feedbacks.
* The mutation feedbacks are displayed as a toast by default.
* Apply this logging mechanism on the course homepage to provide
feedback for the results of actions performed on course modules and
course sections.
Huong Nguyen [Thu, 7 Dec 2023 02:31:05 +0000 (09:31 +0700)]
Merge branch 'MDL-68652-master-1' of https://github.com/ilyatregubov/moodle
Jun Pataleta [Thu, 7 Dec 2023 02:16:58 +0000 (10:16 +0800)]
Merge branch 'MDL-80281_main' of https://github.com/marxjohnson/moodle
Huong Nguyen [Thu, 7 Dec 2023 01:36:27 +0000 (08:36 +0700)]
Merge branch 'MDL-77136-main' of https://github.com/lucaboesch/moodle
Paul Holden [Mon, 6 Nov 2023 16:38:06 +0000 (16:38 +0000)]
MDL-79980 mod_survey: respect activity group mode getting report.
Ilya Tregubov [Tue, 5 Dec 2023 02:50:20 +0000 (10:50 +0800)]
MDL-68652 core_grades: Only return allowed fields.
Grade iterator should check user permissions.
Ilya Tregubov [Thu, 7 Dec 2023 01:01:25 +0000 (09:01 +0800)]
Merge branch 'MOODLE_master_MDL-73378' of https://github.com/danielneis/moodle
Jun Pataleta [Thu, 7 Dec 2023 00:54:21 +0000 (08:54 +0800)]
Merge branch 'MDL-79761-main' of https://github.com/marinaglancy/moodle
Paul Holden [Wed, 29 Nov 2023 17:06:43 +0000 (17:06 +0000)]
MDL-80239 grade: escape matched data in user search results.
Paul Holden [Wed, 29 Nov 2023 16:00:26 +0000 (16:00 +0000)]
MDL-80287 grade: escape current value in search templates.
Tim Hunt [Tue, 24 Oct 2023 17:17:14 +0000 (18:17 +0100)]
MDL-79835 behat_core_generator: remove misleading error obfuscation
Jun Pataleta [Wed, 6 Dec 2023 14:12:25 +0000 (22:12 +0800)]
Merge branch 'MDL-80127' of https://github.com/timhunt/moodle
Jun Pataleta [Wed, 6 Dec 2023 13:59:47 +0000 (21:59 +0800)]
Merge branch 'MDL-80079-master' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Thu, 26 Oct 2023 04:59:26 +0000 (12:59 +0800)]
MDL-68652 mod_forum: Only include gradable users in grading
Ilya Tregubov [Thu, 26 Oct 2023 04:55:04 +0000 (12:55 +0800)]
MDL-68652 core_grades: Refactor grades functions.
get_gradable_users now has extra param to retrieve only active
users. Grade reports hase their own grade_report::get_gradable_users
since they decided whether to inlcude active users from report preferences
Luca Bösch [Mon, 4 Dec 2023 22:32:14 +0000 (23:32 +0100)]
MDL-77136 qtype_randomsamatch: Newest versions for shortanswer questions
Luca Bösch [Mon, 4 Dec 2023 22:16:52 +0000 (23:16 +0100)]
MDL-77136 core_question: Newest versions get_questions_from_categories
Tim Hunt [Wed, 6 Dec 2023 11:11:59 +0000 (11:11 +0000)]
MDL-80341 quiz: unseen descriptions are not unanswered questonis
This was causing confusing in the 'are you sure you want to submit' confirmation pop-up.
Ilya Tregubov [Wed, 6 Dec 2023 07:41:19 +0000 (15:41 +0800)]
Merge branch 'MDL-76109-main' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Wed, 6 Dec 2023 07:05:25 +0000 (14:05 +0700)]
Merge branch 'MDL-50650-master' of https://github.com/ilyatregubov/moodle
Stephan Robotta [Wed, 6 Dec 2023 06:53:28 +0000 (13:53 +0700)]
MDL-41465 reports: In separate group mode, limit to same
Angelia Dela Cruz [Tue, 5 Dec 2023 05:52:21 +0000 (13:52 +0800)]
MDL-80315 block_comments: Removed duplicate Behat test
Deleted the duplicated course comments block behat test. The file
blocks/comments/tests/behat/add_comment.feature is deleted as a
result.
David Woloszyn [Tue, 14 Nov 2023 04:36:47 +0000 (15:36 +1100)]
MDL-79759 repository_url: Limit css imports and remove fragments
There are checks to urls that attempt to limit recurrsion when
parse_file is called. This is problematic for css import urls that
can call an indefinite amount of nested import urls. An import limit
has been introduced to address this. Fragments have also been removed.
Stevani Andolo [Thu, 30 Nov 2023 03:00:24 +0000 (11:00 +0800)]
MDL-80174 tool_log: ensure "other" data is safely unserialized.
Paul Holden [Mon, 27 Nov 2023 20:35:33 +0000 (20:35 +0000)]
MDL-80268 badges: require capability to view awarded badges.
Paul Holden [Mon, 6 Nov 2023 21:16:22 +0000 (21:16 +0000)]
MDL-79797 backup: ensure block config is safely unserialized.
Ilya Tregubov [Wed, 6 Dec 2023 02:49:42 +0000 (10:49 +0800)]
Merge branch 'MDL-79692' of https://github.com/paulholden/moodle
Huong Nguyen [Wed, 6 Dec 2023 02:16:06 +0000 (09:16 +0700)]
Merge branch 'MDL-80180-master' of https://github.com/jbs1/moodle
Ilya Tregubov [Wed, 6 Dec 2023 02:00:26 +0000 (10:00 +0800)]
Merge branch 'MDL-74248-master-fix_mp3_mod_folder' of https://github.com/praxisdigital/moodle
Sara Arjona [Tue, 5 Dec 2023 15:46:10 +0000 (16:46 +0100)]
Merge branch 'MDL-79216' of https://github.com/paulholden/moodle
Sara Arjona [Tue, 5 Dec 2023 15:42:09 +0000 (16:42 +0100)]
Merge branch 'MDL-80286' of https://github.com/paulholden/moodle
Sara Arjona [Tue, 5 Dec 2023 15:35:20 +0000 (16:35 +0100)]
Merge branch 'MDL-79862-master' of https://github.com/aanabit/moodle
Sara Arjona [Tue, 5 Dec 2023 15:16:42 +0000 (16:16 +0100)]
Merge branch 'MDL-79979-main' of https://github.com/aanabit/moodle
Jun Pataleta [Tue, 5 Dec 2023 15:09:51 +0000 (23:09 +0800)]
Merge branch 'MDL-73974-main' of https://github.com/junpataleta/moodle
Sara Arjona [Tue, 5 Dec 2023 15:01:49 +0000 (16:01 +0100)]
Merge branch 'MDL-55640-main' of https://github.com/sammarshallou/moodle
Sara Arjona [Tue, 5 Dec 2023 14:51:21 +0000 (15:51 +0100)]
Merge branch 'MDL-80015-main' of https://github.com/roland04/moodle
Karen Holland [Mon, 17 Jul 2023 16:43:20 +0000 (16:43 +0000)]
MDL-73974 tool_brickfield: Processing alpha fontsizes
Sara Arjona [Tue, 5 Dec 2023 14:45:23 +0000 (15:45 +0100)]
Merge branch 'MDL-80254' of https://github.com/paulholden/moodle
Jun Pataleta [Tue, 5 Dec 2023 04:48:41 +0000 (12:48 +0800)]
Merge branch 'MDL-79806_master' of https://github.com/marxjohnson/moodle
Huong Nguyen [Tue, 5 Dec 2023 04:19:25 +0000 (11:19 +0700)]
Merge branch 'MDL-71336' of https://github.com/paulholden/moodle
Jun Pataleta [Tue, 5 Dec 2023 04:13:45 +0000 (12:13 +0800)]
Merge branch 'mdl64431' of https://github.com/danmarsden/moodle
Huong Nguyen [Tue, 5 Dec 2023 03:40:10 +0000 (10:40 +0700)]
Merge branch 'main' of https://github.com/dragos5436/moodle
Ilya Tregubov [Fri, 20 Oct 2023 07:20:06 +0000 (15:20 +0800)]
MDL-68652 core_grades: Add a webservice to retrive only gradable users.
Ilya Tregubov [Tue, 5 Dec 2023 01:10:37 +0000 (09:10 +0800)]
Merge branch 'MDL-80043-main' of https://github.com/junpataleta/moodle
Ilya Tregubov [Tue, 5 Dec 2023 01:00:06 +0000 (09:00 +0800)]
Merge branch 'MDL-80131-main' of https://github.com/junpataleta/moodle
Marina Glancy [Wed, 18 Oct 2023 14:49:10 +0000 (16:49 +0200)]
MDL-79761 navigation: fix default setting during web installation
Sara Arjona [Mon, 4 Dec 2023 10:00:38 +0000 (11:00 +0100)]
Merge branch 'MDL-80185' of https://github.com/paulholden/moodle
Paul Holden [Fri, 24 Nov 2023 10:44:07 +0000 (10:44 +0000)]
MDL-80254 reportbuilder: better handling of deleted users in schedules.
We should verify that schedule and audience users are active accounts,
and that we don't try to send report schedules either from/to them if
they aren't.
meirzamoodle [Mon, 4 Dec 2023 08:54:33 +0000 (15:54 +0700)]
MDL-80257 editory_tiny: Implement ui_mode: split
Since version 6.4 and later, TinyMCE had a feature `ui_mode: split`.
It enables support for editors in scrollable containers,
and Moodle has some pages, especially the course pages, that are using the scrollable containers.
Therefore, all workaround that is addressed should be replaced by the feature to avoid future problems
regarding the overflow and the z-index issues.
Paul Holden [Mon, 11 Apr 2022 11:04:50 +0000 (12:04 +0100)]
MDL-74466 repository: avoid passing around sesskey when not required.
meirzamoodle [Mon, 4 Dec 2023 08:54:09 +0000 (15:54 +0700)]
MDL-80257 editory_tiny: Remove tox-tinymce-aux z-index
Remove .tox-tinymce-aux from style.css because z-index is already defined in TinyMCE skin.css
Jun Pataleta [Mon, 4 Dec 2023 08:12:07 +0000 (16:12 +0800)]
Merge branch 'MDL-80221-main-enfix' of https://github.com/mudrd8mz/moodle
Ilya Tregubov [Mon, 16 Oct 2023 01:46:27 +0000 (09:46 +0800)]
MDL-50650 core_grades: Validate minimum grade when importing grades
Also add behat test for max and min grade validation.
Jun Pataleta [Mon, 4 Dec 2023 08:01:37 +0000 (16:01 +0800)]
Merge branch 'MDL-79986-main' of https://github.com/sarjona/moodle
Kyle Matter [Tue, 14 Feb 2017 23:17:20 +0000 (15:17 -0800)]
MDL-50650 core_grades: allow grade imports larger than 100 points
Jun Pataleta [Mon, 4 Dec 2023 04:09:26 +0000 (12:09 +0800)]
Merge branch 'MDL-79726-main' of https://github.com/sarjona/moodle
Ilya Tregubov [Mon, 4 Dec 2023 03:35:41 +0000 (11:35 +0800)]
Merge branch 'MDL-74417-manage-sesskeys' of https://github.com/bwalkerl/moodle
Huong Nguyen [Mon, 4 Dec 2023 02:25:11 +0000 (09:25 +0700)]
Merge branch 'MDL-79784-master' of https://github.com/jleyva/moodle
Luca Bösch [Wed, 8 Nov 2023 09:12:48 +0000 (10:12 +0100)]
MDL-79931 mod_glossary: Change edit entry icon from gear to pencil.
Jun Pataleta [Fri, 1 Dec 2023 04:28:44 +0000 (12:28 +0800)]
MDL-80131 mod_data: Make page titles unique
dragos5436 [Fri, 1 Dec 2023 14:47:14 +0000 (14:47 +0000)]
MDL-60632 mod_quiz: Fix chart rendering fail in quiz report
If a quiz activity has negative grading enabled for incorrect answers,
students can achieve overall negative grades in this quiz. If at least
one student achieves a negative grade, the chart at the bottom of the
quiz 'Results' tab will fail to display. This patch add a search for
negative results, removes them from the band below 0 and adds them to
the 0 band. This will make the chart render correctly again.
Co-authored-by: Susana Leitão <sleitao@uporto.pt>
Co-authored-by: Matthias Opitz <m.opitz@ucl.ac.uk>
Removed whitespace at end of lines
Sara Arjona [Fri, 1 Dec 2023 10:07:57 +0000 (11:07 +0100)]
Merge branch 'MDL-80238-main' of https://github.com/roland04/moodle
Sara Arjona [Fri, 1 Dec 2023 09:56:02 +0000 (10:56 +0100)]
Merge branch 'MDL-80209-main' of https://github.com/aanabit/moodle
Paul Holden [Wed, 30 Aug 2023 15:38:49 +0000 (16:38 +0100)]
MDL-79216 reportbuilder: standardize on filter field unit lang string.
Replace/deprecate specific string identifier with generic version that
was introduced in the commit prior.
AMOS BEGIN
CPY [filterdurationunit,core_reportbuilder],[filterfieldunit,core_reportbuilder]
AMOS END
Paul Holden [Tue, 29 Aug 2023 22:42:42 +0000 (23:42 +0100)]
MDL-79216 files: new report filter type for filesize data.
Benjamin Walker [Wed, 15 Nov 2023 04:38:23 +0000 (14:38 +1000)]
MDL-74417 admin: Remove sesskey from test settings links
Sara Arjona [Wed, 29 Nov 2023 07:16:18 +0000 (08:16 +0100)]
MDL-79726 completion: Overall should consider pass/fail states too
In MDL-78744, when the overallcompletion state was added to be displayed
in the activity card, only COMPLETE/INCOMPLETE status were considered.
However, depending on the activity completion settings, there are a
couple of states more that should also be included (COMPLETE_FAIL and
COMPLETE_PASS).
A new method has been added to the cm_completion_details class to
calculate whether a module should be considered or not completed,
based on their completion options and the current value for the
overall complete state.
Sara Arjona [Fri, 10 Nov 2023 14:54:47 +0000 (15:54 +0100)]
MDL-79986 course: Remove $CFG->linkcoursesections setting
Currently, the $CFG->linkcoursesections setting was only used
for the Classic theme, to let admins decide whether the section
names in the Navigation block would be linked or not.
Now that the course/section.php page has been created to display
the content of any single section, and a link to this section page
has been added from the main course page to help users to focus
on the section content, it has been decided to remove the setting
$CFG->linkcoursesections because it's not required anymore.