David Matamoros [Thu, 20 Jan 2022 09:09:58 +0000 (10:09 +0100)]
MDL-72061 reportbuilder: Report actions are shown in action menus
Ilya Tregubov [Tue, 8 Feb 2022 12:54:21 +0000 (14:54 +0200)]
on-demand release 4.0dev+
Andrew Nicols [Tue, 8 Feb 2022 04:03:42 +0000 (12:03 +0800)]
Merge branch 'MDL-73631' of https://github.com/paulholden/moodle
Jun Pataleta [Tue, 8 Feb 2022 03:36:59 +0000 (11:36 +0800)]
Merge branch 'MDL-72246-master-2' of https://github.com/andrewnicols/moodle
Andrew Nicols [Wed, 2 Feb 2022 08:10:59 +0000 (16:10 +0800)]
MDL-72246 core_completion: Only fetch other completion data on requested
Prior to this patch, the code was fetching all completion data for all
activities in a course, even when the activity was not requested. This
leads to recursion issues as the data has not been added to the cache
before this operation occurs.
To handle this situation, only the requested CM is fetched in full, and
a boolean flag is used to store whether the full data has been fetched.
When returning a partially fetched value from the cache, the flag is
used to determine whether more data must be fetched, and the cache
updated.
The flag is filtered out before the value is returned.
Note: Many of the tests were updated as these were inspecting private
features of the API which should not really be tested.
Andrew Nicols [Thu, 3 Feb 2022 05:27:24 +0000 (13:27 +0800)]
MDL-72246 core_completion: Test coverage improvements for completion
Andrew Nicols [Thu, 3 Feb 2022 03:09:50 +0000 (11:09 +0800)]
MDL-72246 core_completion: Stop testing the inner workings of get_data()
Andrew Nicols [Tue, 8 Feb 2022 02:59:34 +0000 (10:59 +0800)]
Merge branch 'MDL-73716' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 8 Feb 2022 02:57:40 +0000 (10:57 +0800)]
Merge branch 'MDL-73116' of https://github.com/roland04/moodle
Andrew Nicols [Tue, 8 Feb 2022 02:54:44 +0000 (10:54 +0800)]
Merge branch 'MDL-73766-master' of https://github.com/lucaboesch/moodle
Víctor Déniz [Mon, 7 Feb 2022 18:13:20 +0000 (18:13 +0000)]
Merge branch 'MDL-73279' of https://github.com/call-learning/moodle
Eloy Lafuente (stronk7) [Mon, 7 Feb 2022 11:01:19 +0000 (12:01 +0100)]
Merge branch 'MDL-73601-master' of https://github.com/aanabit/moodle
Mikel Martín [Mon, 29 Nov 2021 10:59:36 +0000 (11:59 +0100)]
MDL-73116 reportbuilder: Use triggerElement parameter to return focus
Mikel Martín [Thu, 18 Nov 2021 11:31:43 +0000 (12:31 +0100)]
MDL-73116 core: Add triggerElement parameter to saveCancel dialogue
triggerElement parameter is used to return the focus after modal is hidden
Eloy Lafuente (stronk7) [Mon, 7 Feb 2022 09:42:17 +0000 (10:42 +0100)]
MDL-73716 phpunit: remove old simpletest static members
And replace them by phpunit @covers annotations including
all the classes declared or extended in the removed members.
It's not awesome coverage, but better than nothing.
Shamim Rezaie [Mon, 7 Feb 2022 07:40:39 +0000 (18:40 +1100)]
Merge branch 'MDL-73684-master' of https://github.com/marinaglancy/moodle
Luca Bösch [Thu, 3 Feb 2022 21:11:45 +0000 (22:11 +0100)]
MDL-73766 theme_boost: have login page use loginto string
Andrew Nicols [Mon, 7 Feb 2022 06:23:31 +0000 (14:23 +0800)]
Merge branch 'MDL-73697-master' of https://github.com/ferranrecio/moodle
Shamim Rezaie [Mon, 7 Feb 2022 05:41:26 +0000 (16:41 +1100)]
Merge branch 'MDL-73644-master' of https://github.com/lameze/moodle
Shamim Rezaie [Mon, 7 Feb 2022 05:36:39 +0000 (16:36 +1100)]
Merge branch 'MDL-73480-master' of https://github.com/bmbrands/moodle
Andrew Nicols [Mon, 7 Feb 2022 05:34:01 +0000 (13:34 +0800)]
Merge branch 'MDL-73659' of https://github.com/stronk7/moodle
Simey Lameze [Thu, 20 Jan 2022 07:18:17 +0000 (15:18 +0800)]
MDL-73644 core: link confirm module CL to related JSDoc
Andrew Nicols [Mon, 7 Feb 2022 02:12:20 +0000 (10:12 +0800)]
Merge branch 'master_MDL-73666-questionimagebug' of https://github.com/catalyst/moodle-MDL-70329
Andrew Nicols [Mon, 7 Feb 2022 01:53:09 +0000 (09:53 +0800)]
Merge branch 'MDL-71712-master' of https://github.com/aanabit/moodle
Marc-Alexandre Ghaly [Sat, 29 Jan 2022 02:58:44 +0000 (21:58 -0500)]
MDL-73666 core_question: Question bank usage and comment modal fix
Fix for question bank modals not showing question images.
Eloy Lafuente (stronk7) [Fri, 21 Jan 2022 21:59:40 +0000 (22:59 +0100)]
MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper
All restore_date_test, api_test, rule_test, plugin_test,
manager_test, helper_test testcase classes:
- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.
Special mention to:
- All restore_date_test cases have been put under xxx\backup
level 2 (valid API) namespace.
Sara Arjona [Fri, 4 Feb 2022 17:18:46 +0000 (18:18 +0100)]
on-demand release 4.0dev+
Sara Arjona [Fri, 4 Feb 2022 14:54:44 +0000 (15:54 +0100)]
MDL-71696 question: Fix random PHPUnit error with question order
Sara Arjona [Fri, 4 Feb 2022 09:34:21 +0000 (10:34 +0100)]
MDL-71696 question: Fix Oracle GROUP BY error - Round 2
Eloy Lafuente (stronk7) [Fri, 4 Feb 2022 08:48:17 +0000 (09:48 +0100)]
Merge branch 'MDL-71696-behat-oracle-fix' of https://github.com/sarjona/moodle
Sara Arjona [Fri, 4 Feb 2022 08:26:18 +0000 (09:26 +0100)]
MDL-71696 core_question: Fix Oracle GROUP BY error
Jun Pataleta [Fri, 4 Feb 2022 02:36:50 +0000 (10:36 +0800)]
Merge branch 'MDL-73651-master' of git://github.com/rezaies/moodle
Shamim Rezaie [Thu, 3 Feb 2022 02:00:40 +0000 (13:00 +1100)]
MDL-73651 calendar: search in localised module type names as well
Víctor Déniz [Thu, 3 Feb 2022 22:20:20 +0000 (22:20 +0000)]
Merge branch 'MDL-73514' of https://github.com/stronk7/moodle
Víctor Déniz [Thu, 3 Feb 2022 22:02:39 +0000 (22:02 +0000)]
Merge branch 'MDL-73517' of https://github.com/stronk7/moodle
Víctor Déniz [Thu, 3 Feb 2022 21:45:50 +0000 (21:45 +0000)]
Merge branch 'MDL-73758-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Thu, 3 Feb 2022 21:38:28 +0000 (22:38 +0100)]
Merge branch 'MDL-71696-fix-oracle' of https://github.com/sarjona/moodle
Víctor Déniz [Thu, 3 Feb 2022 21:29:09 +0000 (21:29 +0000)]
Merge branch 'MDL-73605' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Thu, 3 Feb 2022 21:27:02 +0000 (22:27 +0100)]
Merge branch 'MDL-73765-master-twenty-three-minutes' of https://github.com/mudrd8mz/moodle
Sara Arjona [Thu, 3 Feb 2022 18:28:27 +0000 (19:28 +0100)]
MDL-71696 question: Fix Oracle failures with ambiguous colum
David Mudrák [Thu, 3 Feb 2022 18:17:42 +0000 (19:17 +0100)]
MDL-73765 task: Fix calculation of random minute in the task schedule
The random minute was incorrectly set to a random value from the range
0 - 23 instead of 0 - 59 due to this copy & paste mistake.
Sara Arjona [Thu, 3 Feb 2022 14:10:01 +0000 (15:10 +0100)]
MDL-71696 question: Align new tables with install/upgrade
Amended because, in all cases, install.xml wins and we
have make upgrade.php to match it...
But in the question_versions->status case, that needs to
be NOT_NULL, so upgrade was correct and install.xml has
been changed for it.
Note this has been changed without using the editor because
it has been detected that there are other changes in the xml
file that have been added manually, we'll create a "reconcile"
issue to fix that (mainly whitespace).
So, yes, please, always use the editor.
Ilya Tregubov [Thu, 3 Feb 2022 14:37:55 +0000 (16:37 +0200)]
Merge branch 'MDL-73664-master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Thu, 3 Feb 2022 14:25:18 +0000 (15:25 +0100)]
Merge branch 'MDL-73507-master' of https://github.com/lameze/moodle
Gareth Barnard [Tue, 1 Feb 2022 15:30:46 +0000 (15:30 +0000)]
MDL-73719 themes: Redundant theme_reset_all_caches callback.
Eloy Lafuente (stronk7) [Thu, 3 Feb 2022 13:59:00 +0000 (14:59 +0100)]
Merge branch 'MDL-73728-master' of https://github.com/andrewnicols/moodle
Paul Holden [Mon, 17 Jan 2022 23:11:17 +0000 (23:11 +0000)]
MDL-73605 mod_forum: add label/help to the subscription mode options.
Ilya Tregubov [Thu, 3 Feb 2022 12:56:11 +0000 (14:56 +0200)]
Merge branch 'MDL-69088' of https://github.com/jacdsouza/moodle
Amaia Anabitarte [Tue, 1 Feb 2022 16:12:43 +0000 (17:12 +0100)]
MDL-73664 lib: Set Moodle files after ADODB upgrade
Sara Arjona [Thu, 3 Feb 2022 12:25:27 +0000 (13:25 +0100)]
Merge branch 'master_MDL-71696-versioning-integration' of https://github.com/catalyst/moodle-MDL-70329
Jun Pataleta [Thu, 3 Feb 2022 11:27:56 +0000 (19:27 +0800)]
Merge branch 'MDL-73632-master-2' of https://github.com/bmbrands/moodle
Safat Shahin [Tue, 16 Nov 2021 12:18:28 +0000 (23:18 +1100)]
MDL-71696 core_question: class autoload changes
This commit implements some class autoloading
fixes to align with core question structure.
Safat Shahin [Sun, 24 Oct 2021 13:17:11 +0000 (00:17 +1100)]
MDL-71696 core_question: Implement question status change
This commit implements the status change pop up for a question
in the base view. This feature update will allow the change of
status of a question without creating a new version.
This commit also implements the status as a char rather than
an int value.
Marc-Alexandre Ghaly [Thu, 14 Oct 2021 18:18:54 +0000 (14:18 -0400)]
MDL-71696 qbank_preview: previewquestion plugin update
This commit implements versioning and associated features
in the previewquestion plugin. There have been some major
changes in the random question and version selection for
questions. This commit made those changes as well as added
some more features in the preview for version selection
and adds more behat coverage.
Safat Shahin [Fri, 3 Sep 2021 06:43:49 +0000 (16:43 +1000)]
MDL-71696 mod_quiz: quiz updates and behat coverage
The versioning changes will require some major changes
in the backup and restore of question bank and its
elements. This change introduces those changes to make
it compatible with the new world of versioning in question
bank. This commit also removes quiz_slots fields and
quiz_slot_tags table.
This commit will also introduce the versioning db
structure and some major changes to the quiz
and quiz attempts for the question, random
question and the view.
This commit implements the behat changes for versioning
in core question and associated locations.
Guillermo Gomez [Tue, 3 Aug 2021 06:25:06 +0000 (16:25 +1000)]
MDL-71696 core_question: Changes for versioning
This commit adds the changes in questiontype base
to work with new question tables and the new structure in the
databse. Also needed for versioning.
This implementation will also introduct the question status
which allows a question to be in draft and ready status.
I also introduces changes to the base view where it shows
the latest version of the questions. The view of versions
for a question is not implemented in this commit.
This implementation will also introduce changes in the core
qtype plugins to support versioning and the changed
db schema.
Safat Shahin [Tue, 24 Aug 2021 01:51:56 +0000 (11:51 +1000)]
MDL-71696 tool_brickfield: accessibility changes for versioning
This implementation will introduce changes in the admin tools plugin brickfield to support versioning and the changed db schema.
Safat Shahin [Thu, 12 Aug 2021 06:32:23 +0000 (16:32 +1000)]
MDL-71696 core_question: question instance report
This commit implements changes in the question
instance report to support the new db structure
for versioning. I considers each question as a
an entity rather than counting each versions.
Guillermo Gomez [Wed, 2 Jun 2021 09:16:18 +0000 (19:16 +1000)]
MDL-71696 core_question: Implement new database schema
This commit implements the new database structure for
versioning in question. It also does the migration of
current data to the new structure.
Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
Andrew Nicols [Wed, 2 Feb 2022 02:40:40 +0000 (10:40 +0800)]
MDL-73728 admin: Move adminpresets to admin/presets
This commit moves the presets subsystem to a location within the admin
folder, which is more appropriate given its purpose and reduces
developer frustration with tab completion of the admin directory.
Jun Pataleta [Thu, 3 Feb 2022 11:09:37 +0000 (19:09 +0800)]
Merge branch 'MDL-73646-master-v2' of https://github.com/sharidas/moodle
Jackson D'souza [Wed, 8 Dec 2021 14:39:43 +0000 (14:39 +0000)]
MDL-69088 cache: Make file cache store purge async
Eloy Lafuente (stronk7) [Thu, 3 Feb 2022 09:59:56 +0000 (10:59 +0100)]
Merge branch 'MDL-73682' of https://github.com/paulholden/moodle
Ilya Tregubov [Thu, 3 Feb 2022 08:52:25 +0000 (10:52 +0200)]
Merge branch 'MDL-73543-master' of https://github.com/lameze/moodle
Jake Dallimore [Thu, 3 Feb 2022 08:22:20 +0000 (16:22 +0800)]
MDL-73758 availability: fix info::is_available_for_all()
Should only return true early when the config setting is disabled,
not when it's enabled.
Paul Holden [Wed, 19 Jan 2022 20:09:50 +0000 (20:09 +0000)]
MDL-73631 reportbuilder: singular, pivoted Behat data generators.
Andrew Nicols [Thu, 3 Feb 2022 07:30:59 +0000 (15:30 +0800)]
Merge branch 'MDL-72783-master-test' of https://github.com/rezaies/moodle
Shamim Rezaie [Thu, 3 Feb 2022 04:24:04 +0000 (15:24 +1100)]
Merge branch 'MDL-73538-master' of https://github.com/ferranrecio/moodle
Jun Pataleta [Thu, 3 Feb 2022 04:11:06 +0000 (12:11 +0800)]
Merge branch 'MDL-73649-master' of https://github.com/bmbrands/moodle
Jun Pataleta [Thu, 3 Feb 2022 04:06:26 +0000 (12:06 +0800)]
Merge branch 'MDL-73741-master' of https://github.com/sarjona/moodle
Jun Pataleta [Thu, 3 Feb 2022 03:51:35 +0000 (11:51 +0800)]
Merge branch 'MDL-73594-master' of https://github.com/bmbrands/moodle
Jun Pataleta [Thu, 3 Feb 2022 03:44:31 +0000 (11:44 +0800)]
Merge branch 'MDL-73452-master' of git://github.com/mickhawkins/moodle
Jun Pataleta [Thu, 3 Feb 2022 03:36:58 +0000 (11:36 +0800)]
Merge branch 'MDL-73390-master' of https://github.com/bmbrands/moodle
Jun Pataleta [Thu, 3 Feb 2022 03:14:30 +0000 (11:14 +0800)]
Merge branch 'MDL-73711' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Wed, 2 Feb 2022 18:03:24 +0000 (19:03 +0100)]
Merge branch 'MDL-71724-master' of https://github.com/sarjona/moodle
Sara Arjona [Wed, 2 Feb 2022 15:51:37 +0000 (16:51 +0100)]
MDL-73741 adminpresets: Remove duplicates from breadcrumbs
Eloy Lafuente (stronk7) [Wed, 2 Feb 2022 15:30:12 +0000 (16:30 +0100)]
Merge branch 'MDL-73730' of https://github.com/paulholden/moodle
Ilya Tregubov [Wed, 2 Feb 2022 13:41:20 +0000 (15:41 +0200)]
Merge branch 'MDL-73623-master' of https://github.com/bmbrands/moodle
Simey Lameze [Tue, 18 Jan 2022 10:12:20 +0000 (18:12 +0800)]
MDL-73507 course: make current activity highlight darker
Jun Pataleta [Wed, 2 Feb 2022 11:14:39 +0000 (19:14 +0800)]
Merge branch 'MDL-73363-master' of https://github.com/peterRd/moodle
Simey Lameze [Mon, 31 Jan 2022 02:06:07 +0000 (10:06 +0800)]
MDL-73543 theme: add left margin to move block icon
Eloy Lafuente (stronk7) [Wed, 2 Feb 2022 11:10:18 +0000 (12:10 +0100)]
Merge branch 'MDL-72466-master' of https://github.com/bmbrands/moodle
Ferran Recio [Thu, 20 Jan 2022 11:20:52 +0000 (12:20 +0100)]
MDL-73538 core_courseformat: fix course index manual completion
The current manual completion button triggers an event to alert the page
of any completion change. This event is capture in the course page by
the core_courseformat/local/content module but it was ignored when this
happens in an activity page. Now the activity header has its own
component to capture this event and support possible future reactive
actions.
Jun Pataleta [Wed, 2 Feb 2022 10:40:57 +0000 (18:40 +0800)]
Merge branch 'MDL-73310-master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Wed, 2 Feb 2022 10:23:47 +0000 (11:23 +0100)]
Merge branch 'MDL-73674' of https://github.com/paulholden/moodle
Paul Holden [Tue, 1 Feb 2022 13:51:24 +0000 (13:51 +0000)]
MDL-73730 calendar: more precise matching of calendar day partial.
Paul Holden [Tue, 25 Jan 2022 14:46:56 +0000 (14:46 +0000)]
MDL-73682 reportbuilder: allow columns to define how they're sorted.
Eloy Lafuente (stronk7) [Wed, 2 Feb 2022 10:11:16 +0000 (11:11 +0100)]
Merge branch 'MDL-73075' of https://github.com/paulholden/moodle
Paul Holden [Mon, 24 Jan 2022 18:13:08 +0000 (18:13 +0000)]
MDL-73075 lang: move deprecated strings to correct component.
Fix deprecated version. See original change from
f9e1c258 for context.
Paul Holden [Tue, 25 Jan 2022 14:48:15 +0000 (14:48 +0000)]
MDL-73682 reportbuilder: move active columns method to datasource.
This is consistent with similar methods for retrieving the active
filters and conditions of a given custom report.
Ferran Recio [Fri, 28 Jan 2022 14:29:35 +0000 (15:29 +0100)]
MDL-73697 core_courseformat: fix weeks format this week badge
Amaia Anabitarte [Wed, 22 Dec 2021 15:05:38 +0000 (16:05 +0100)]
MDL-73310 course: Add course index to all non-site course pages
Sujith Haridasan [Tue, 1 Feb 2022 14:18:16 +0000 (19:48 +0530)]
MDL-73646 navigation: Fix breadcrumbs for site admin
Fix the breadcrumbs for site administration page.
Created a new public method get_active_method for the same.
Eloy Lafuente (stronk7) [Tue, 1 Feb 2022 18:52:17 +0000 (19:52 +0100)]
on-demand release 4.0dev+
Eloy Lafuente (stronk7) [Tue, 1 Feb 2022 18:52:13 +0000 (19:52 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Amaia Anabitarte [Tue, 1 Feb 2022 16:59:12 +0000 (17:59 +0100)]
MDL-73601 lib: Normalize readme_moodle.txt file name
Amaia Anabitarte [Tue, 1 Feb 2022 15:58:30 +0000 (16:58 +0100)]
MDL-73664 lib: Upgrade ADODB to 5.21.4
Amaia Anabitarte [Tue, 1 Feb 2022 11:49:07 +0000 (12:49 +0100)]
MDL-71712 lib: Set Moodle files after PHP-JWT upgrade
Laurent David [Tue, 1 Feb 2022 14:39:31 +0000 (15:39 +0100)]
MDL-73279 mod_bigbluebuttonbn: Remove notify change option in settings
* As 'Send content change notification' is standard in all activities in Moodle 4.0
we should be removing 'Notify this change to users enrolled'
* Fix and adjust tests
Michael Hawkins [Tue, 1 Feb 2022 13:10:59 +0000 (21:10 +0800)]
MDL-73452 navigation: Update to Course reuse string in secondary nav
Previously this used the "Course administration" string, which causes
some confusion for those familiar with the older usage of that string.
A new "Course reuse" string has been added to better reflect what is
being linked to in course secondary navigation.