Paul Holden [Mon, 6 Mar 2023 08:35:32 +0000 (08:35 +0000)]
MDL-77012 editor_tiny: correct block formats property syntax.
Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
Paul Holden [Fri, 31 Mar 2023 17:13:57 +0000 (18:13 +0100)]
on-demand release 4.2dev+
Paul Holden [Fri, 31 Mar 2023 17:13:54 +0000 (18:13 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Paul Holden [Fri, 31 Mar 2023 07:46:26 +0000 (08:46 +0100)]
MDL-74465 blocks: correct upgrade note version number.
Ilya Tregubov [Fri, 31 Mar 2023 06:33:30 +0000 (14:33 +0800)]
Merge branch 'MDL-76143-patch' of https://github.com/ilyatregubov/moodle
Mathew May [Fri, 31 Mar 2023 05:38:52 +0000 (13:38 +0800)]
MDL-76143 gradereport_grader: Behat changes after integration
Jake Dallimore [Fri, 31 Mar 2023 03:56:14 +0000 (11:56 +0800)]
Merge branch 'MDL-59175' of https://github.com/paulholden/moodle
Jake Dallimore [Fri, 31 Mar 2023 03:48:29 +0000 (11:48 +0800)]
Merge branch 'MDL-77794' of https://github.com/paulholden/moodle
Andrew Nicols [Fri, 31 Mar 2023 03:30:54 +0000 (11:30 +0800)]
Merge branch 'MDL-77783-master' of https://github.com/junpataleta/moodle
Jake Dallimore [Fri, 31 Mar 2023 03:29:45 +0000 (11:29 +0800)]
Merge branch 'MDL-77033-master-3' of https://github.com/ilyatregubov/moodle
Shamim Rezaie [Fri, 31 Mar 2023 02:45:15 +0000 (13:45 +1100)]
Merge branch 'MDL-74465-master-5' of https://github.com/marinaglancy/moodle
Ilya Tregubov [Fri, 31 Mar 2023 01:47:23 +0000 (09:47 +0800)]
Merge branch 'MDL-77406' of https://github.com/AnupamaSarjoshi/moodle
Ilya Tregubov [Fri, 31 Mar 2023 01:41:17 +0000 (09:41 +0800)]
Merge branch 'MDL-70976-master' of https://github.com/laurentdavid/moodle
AMOS bot [Fri, 31 Mar 2023 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files
Sara Arjona [Thu, 30 Mar 2023 17:00:32 +0000 (19:00 +0200)]
Merge branch 'MDL-77693-master' of https://github.com/andrewnicols/moodle
Sara Arjona [Thu, 30 Mar 2023 16:42:02 +0000 (18:42 +0200)]
Merge branch 'MDL-77456-master' of https://github.com/laurentdavid/moodle
Sara Arjona [Thu, 30 Mar 2023 15:53:13 +0000 (17:53 +0200)]
Merge branch 'MDL-77761-master' of https://github.com/junpataleta/moodle
Jun Pataleta [Thu, 30 Mar 2023 15:38:57 +0000 (23:38 +0800)]
Merge branch 'MDL-77306-master' of https://github.com/junpataleta/moodle
Sara Arjona [Thu, 30 Mar 2023 15:32:53 +0000 (17:32 +0200)]
Merge branch 'MDL-77672-master' of https://github.com/ferranrecio/moodle
Jun Pataleta [Thu, 30 Mar 2023 14:50:13 +0000 (22:50 +0800)]
MDL-77306 core: Remove LIMIT from SQL statement
Adding LIMIT to the primary auth type SQL statement does not play well
with Oracle. We can just remove the LIMIT clause from the SQL statement
and and pass IGNORE_MULTIPLE to the call to $DB->get_field_sql()
instead.
Sara Arjona [Thu, 30 Mar 2023 14:56:56 +0000 (16:56 +0200)]
Merge branch 'MDL-77726-master' of https://github.com/jleyva/moodle
Ferran Recio [Wed, 22 Mar 2023 10:53:46 +0000 (11:53 +0100)]
MDL-77672 core_courseformat: fix bulk in one section per page
Sara Arjona [Thu, 30 Mar 2023 14:31:15 +0000 (16:31 +0200)]
Merge branch 'MDL-77764' of https://github.com/paulholden/moodle
Paul Holden [Thu, 30 Mar 2023 13:32:21 +0000 (14:32 +0100)]
Merge branch 'MDL-77789-master' of https://github.com/sarjona/moodle
Ilya Tregubov [Tue, 28 Mar 2023 02:27:06 +0000 (10:27 +0800)]
MDL-77033 core_grades: Deprecate get icons functions.
We don't use those anymore. There are respective functions to get
link without icon.
Ilya Tregubov [Mon, 6 Mar 2023 03:27:17 +0000 (11:27 +0800)]
MDL-77033 core_behat: Fix behat tests.
Ilya Tregubov [Mon, 6 Mar 2023 03:00:19 +0000 (11:00 +0800)]
MDL-77033 core_grades: Add status column to setup page
Also make action menu consistent with grader report
Ilya Tregubov [Mon, 6 Mar 2023 02:50:46 +0000 (10:50 +0800)]
MDL-77033 core_behat: Remove multilang from some scenarios
It should be only tested once. No need to have it in all tests.
Some steps will have to use category fullname so using tags in steps
will look ugly.
Ilya Tregubov [Mon, 6 Mar 2023 02:34:38 +0000 (10:34 +0800)]
MDL-77033 core_behat: Refactor behat steps to be reusable.
We will need similar step definitions for gradebook setup page.
So moving those from grader plugin to the core.
Ilya Tregubov [Sun, 5 Mar 2023 11:03:38 +0000 (19:03 +0800)]
MDL-77033 cores_grades: Refactor cell menus to be reusable.
We need similar menus on gradebook setup page. So moving from
grader plugin to core
Paul Holden [Thu, 30 Mar 2023 11:50:07 +0000 (12:50 +0100)]
Merge branch 'MDL-76481_master_Brickfield_TCPDF_error' of https://github.com/brickfield/moodle
Sara Arjona [Thu, 30 Mar 2023 11:45:11 +0000 (13:45 +0200)]
Merge branch 'MDL-77762' of https://github.com/paulholden/moodle
Marina Glancy [Mon, 13 Mar 2023 19:07:31 +0000 (19:07 +0000)]
MDL-74465 theme_classic: override new block steps
Marina Glancy [Fri, 10 Mar 2023 14:16:57 +0000 (14:16 +0000)]
MDL-74465 blocks: changes for backward-compatibility
Marina Glancy [Tue, 28 Feb 2023 16:22:16 +0000 (16:22 +0000)]
MDL-74465 block_rss_client: display config when adding
Marina Glancy [Tue, 28 Feb 2023 15:17:55 +0000 (15:17 +0000)]
MDL-74465 block_glossary_random: display config when adding
Marina Glancy [Tue, 28 Feb 2023 15:17:33 +0000 (15:17 +0000)]
MDL-74465 block_activity_results: display config when adding
Marina Glancy [Tue, 28 Feb 2023 15:21:25 +0000 (15:21 +0000)]
MDL-74465 block_html: display config when adding
Marina Glancy [Tue, 28 Feb 2023 16:34:08 +0000 (16:34 +0000)]
MDL-74465 blocks: allow configuration in modal
Introduce 'pagehash' - an identifier that uniquely identifies a page for the user session
Marina Glancy [Tue, 28 Feb 2023 15:44:44 +0000 (15:44 +0000)]
MDL-74465 blocks: move some code into separate functions
This commit has no functional changes, only code refactoring
Jun Pataleta [Thu, 30 Mar 2023 11:03:48 +0000 (19:03 +0800)]
Merge branch 'MDL-77333' of https://github.com/stronk7/moodle
Sara Arjona [Thu, 30 Mar 2023 10:51:03 +0000 (12:51 +0200)]
Merge branch 'MDL-76895-master' of https://github.com/ferranrecio/moodle
Marina Glancy [Tue, 28 Feb 2023 15:22:25 +0000 (15:22 +0000)]
MDL-74465 blocks: improve phpdocs
Sara Arjona [Thu, 30 Mar 2023 10:22:18 +0000 (12:22 +0200)]
MDL-77789 mod_h5pactivity: Only remove the current user state content
When a new attempt is created, the previous state content is removed.
There was a bug which was removing all the content data of a given
activity for all the users (instead of deleting only the content data
for the current user).
Ferran Recio [Thu, 30 Mar 2023 10:13:03 +0000 (12:13 +0200)]
MDL-76895 core_courseformat: add detailed bulk selection checks
To prevent future regressions some extra checks has been added to the
bulk_select feature file. The new checks validate the activities and
sections bulk selectors are really selected, not only the total count.
Paul Holden [Thu, 30 Mar 2023 09:41:15 +0000 (10:41 +0100)]
Merge branch 'MDL-77773-master' of https://github.com/andrewnicols/moodle
Ferran Recio [Wed, 1 Mar 2023 15:51:28 +0000 (16:51 +0100)]
MDL-76895 core_courseformat: add fast bulk selections
Jun Pataleta [Thu, 30 Mar 2023 09:31:47 +0000 (17:31 +0800)]
Merge branch 'MDL-77346-master' of https://github.com/meirzamoodle/moodle
Paul Holden [Thu, 30 Mar 2023 08:50:51 +0000 (09:50 +0100)]
MDL-77794 contentbank: fix plugin type language strings.
AMOS BEGIN
CPY [type_contentbank,core_plugin],[type_contenttype,core_plugin]
CPY [type_contentbank_plural,core_plugin],[type_contenttype_plural,core_plugin]
AMOS END
Max Larkin [Thu, 30 Mar 2023 08:02:35 +0000 (09:02 +0100)]
MDL-76481 tool_brickfield: Fix PHP 8 report download
Paul Holden [Thu, 30 Mar 2023 07:47:52 +0000 (08:47 +0100)]
Merge branch 'MDL-75017' of https://github.com/timhunt/moodle
Paul Holden [Thu, 30 Mar 2023 07:34:35 +0000 (08:34 +0100)]
Merge branch 'MDL-77744-master-2' of https://github.com/ilyatregubov/moodle
Ilya Tregubov [Thu, 30 Mar 2023 06:22:32 +0000 (14:22 +0800)]
Merge branch 'MDL-73771' of https://github.com/lostrogit/moodle
Jun Pataleta [Thu, 30 Mar 2023 05:00:39 +0000 (13:00 +0800)]
MDL-72350 core: Add @covers for test_check_mod_assignment_is_used
Plus, remove getStatus() assertion when running the test with
mod_assignment reinstalled since it check_mod_assignment returns a
null result.
Jun Pataleta [Thu, 30 Mar 2023 04:57:20 +0000 (12:57 +0800)]
Merge branch 'MDL-72350-master' of https://github.com/stevandoMoodle/moodle
Jun Pataleta [Thu, 30 Mar 2023 04:37:52 +0000 (12:37 +0800)]
Merge branch 'MDL-76143-class' of https://github.com/Chocolate-lightning/moodle
Andrew Nicols [Tue, 21 Mar 2023 05:22:28 +0000 (13:22 +0800)]
MDL-77693 core: Check the start time of a cron run when fetching tasks
When fetching the list of tasks to run, we were using the _process_
start time as a base. The various task fetchers (adhoc and scheduled)
only fetch tasks which were due to run _before_ this time.
With the new keepalive setting, we need to pass both the process start
time, and the run start time. We need to use the process start time to
determine whether MUC caches have been cleared since the process
started. but the run start time to fetch recent runs.
Mathew May [Thu, 1 Dec 2022 03:55:53 +0000 (11:55 +0800)]
MDL-76143 gradebook: Add search into graderreport
Andrew Nicols [Thu, 30 Mar 2023 03:27:09 +0000 (11:27 +0800)]
Merge branch 'MDL-74664-master' of https://github.com/call-learning/moodle
Jake Dallimore [Thu, 30 Mar 2023 02:45:41 +0000 (10:45 +0800)]
Merge branch 'MDL-77347-master' of https://github.com/meirzamoodle/moodle
Sara Arjona [Mon, 13 Mar 2023 09:22:49 +0000 (17:22 +0800)]
MDL-72350 mod: Remove mod_assignment
The Assignment 2.2 activity module was disabled in 2012 but kept to
enable pre-2.2 backups to be restored and have the assignments
auto-converted to new assignments. After almost 10 years, it's time
to remove it from Moodle core.
Stevani Andolo [Mon, 13 Mar 2023 09:21:51 +0000 (17:21 +0800)]
MDL-72350 core: Added environment check for mod_assignment
Decided to add an environment check before uninstalling the
mod_assignment plugin to prevent data lost.
Stevani Andolo [Mon, 13 Mar 2023 09:21:21 +0000 (17:21 +0800)]
MDL-72350 mod: Updated upgrade.txt file
Stevani Andolo [Mon, 13 Mar 2023 09:20:37 +0000 (17:20 +0800)]
MDL-72350 mod_assign: Removed upgradelib.php from mod_assign
After checking the the relation between mod_assign and mod_assginment,
it was found that upgradelib.php was only used/called from the
mod_assignment. Therefore, it was decided to move the upgradelib.php
from mod_assign to mod_assignment and deleted the line in which requires the upgradelib.php
AMOS bot [Thu, 30 Mar 2023 00:07:47 +0000 (00:07 +0000)]
Automatically generated installer lang files
Laurent David [Fri, 19 Aug 2022 15:28:01 +0000 (17:28 +0200)]
MDL-74664 mod_bigbluebuttonbn: Fix capabilty checking
* role::has_capability_in_course should check if course exist first
Laurent David [Wed, 17 Aug 2022 17:54:36 +0000 (19:54 +0200)]
MDL-74664 mod_bigbluebuttonbn: Restricted recording access fix
* Recording formats should not be accessible to students unless specified as safe
* A global setting will now list all the "safe" formats for students
* A new capability 'mod/bigbluebuttonbn:viewallrecordingsformats' will allow users to
see all formats (as long as they can manage recordings also)
Carlos Castillo [Wed, 8 Mar 2023 14:15:41 +0000 (09:15 -0500)]
MDL-73771 theme: Fix scrollbar position
Paul Holden [Wed, 29 Mar 2023 12:36:26 +0000 (13:36 +0100)]
Merge branch 'MDL-76866-master' of https://github.com/andrewnicols/moodle
Andrew Nicols [Wed, 22 Mar 2023 07:53:34 +0000 (15:53 +0800)]
MDL-76866 repository_contentbank: Mark step as using atto editor
Andrew Nicols [Wed, 22 Mar 2023 02:03:48 +0000 (10:03 +0800)]
MDL-76866 calendar: Make test more specific
Andrew Nicols [Wed, 22 Mar 2023 02:02:50 +0000 (10:02 +0800)]
MDL-76866 mod_quiz: Use atto for grading test
This test is using xpaths for Atto specifically and is an Atto-specific
test.
It needs to be rewritten to be editor-agnostic.
Andrew Nicols [Wed, 22 Mar 2023 02:00:54 +0000 (10:00 +0800)]
MDL-76866 mod_data: Disable the HTML editor to insert partial HTML
This test is adding table rows into an HTML editor and, quite rightly,
is failing under TinyMCE.
This only worked under Atto because Atto does not perform any HTML
validation. A user would not actually be able to insert the template
content this way, and therefore the test is/was invalid.
This change disables the HTML editor before inserting the template
content, which resembles the actions of a real user.
Andrew Nicols [Wed, 22 Mar 2023 02:00:43 +0000 (10:00 +0800)]
MDL-76866 mod_data: Editors should have data-fieldtype attrib
Andrew Nicols [Fri, 17 Mar 2023 02:09:57 +0000 (10:09 +0800)]
MDL-76866 editor_atto: Remove old install script
This install script has not been required for a number of years because
we require the previous LTS for an LTS+1 upgrade. Once Atto was
part of core after an LTS release, it was safe to remove this file.
This is now preventing Tiny from becoming default for new installs in
some situations.
Andrew Nicols [Fri, 22 Jul 2022 01:06:08 +0000 (09:06 +0800)]
MDL-76866 editor_tiny: make tiny default editor
Ilya Tregubov [Mon, 27 Mar 2023 02:06:13 +0000 (10:06 +0800)]
MDL-77744 core_grades: Use separate attribute for gradeitems/users.
Paul Holden [Wed, 29 Mar 2023 09:21:08 +0000 (10:21 +0100)]
Merge branch 'MDL-77339-master' of https://github.com/meirzamoodle/moodle
Paul Holden [Wed, 29 Mar 2023 09:04:40 +0000 (10:04 +0100)]
Merge branch 'MDL-77701-master' of https://github.com/dpalou/moodle
Jun Pataleta [Wed, 29 Mar 2023 08:55:41 +0000 (16:55 +0800)]
Merge branch 'MDL-77774' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 29 Mar 2023 08:33:07 +0000 (10:33 +0200)]
Merge branch 'MDL-77677-master' of https://github.com/ferranrecio/moodle
Laurent David [Thu, 23 Mar 2023 09:31:51 +0000 (10:31 +0100)]
MDL-77456 core_courseformat: Fix highlight in course index
* When navigating to a restricted activity as a student from the course index
the item is not highlighted when refreshing the page.
Laurent David [Fri, 27 May 2022 07:23:00 +0000 (09:23 +0200)]
MDL-70976 core_files: Allow for draft files url inserted in content
* The file file_remove_editor_orphaned_files should take into account URL that
have been embedded in a tag content instead of an attribute (like src attribute)
* This will fix issue with inserting H5P content in calendar events.
Ilya Tregubov [Wed, 29 Mar 2023 06:12:41 +0000 (14:12 +0800)]
Merge branch 'MDL-77748' of https://github.com/skodak/moodle
Shamim Rezaie [Wed, 29 Mar 2023 04:26:49 +0000 (15:26 +1100)]
Merge branch 'MDL-74452_master' of https://github.com/marxjohnson/moodle
Matt Porritt [Mon, 20 Feb 2023 02:43:06 +0000 (13:43 +1100)]
MDL-77306 Site Registration: add extra statistics
Add the DB type, count of courses with start or end dates set,
default site theme, and primary auth type statistics to those
collected as part of the site registration data.
Stevani Andolo [Mon, 13 Mar 2023 09:19:30 +0000 (17:19 +0800)]
MDL-72350 mod_assignment: Removed all mod_assignment files
Jun Pataleta [Wed, 29 Mar 2023 03:17:10 +0000 (11:17 +0800)]
Merge branch 'MDL-77767-master' of https://github.com/jleyva/moodle
Ilya Tregubov [Wed, 29 Mar 2023 02:57:35 +0000 (10:57 +0800)]
Merge branch 'MDL-77740-master' of https://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 29 Mar 2023 01:48:38 +0000 (09:48 +0800)]
Merge branch 'MDL-77382-master' of https://github.com/snake/moodle
Jun Pataleta [Wed, 29 Mar 2023 01:46:31 +0000 (09:46 +0800)]
Merge branch 'MDL-77119' of https://github.com/paulholden/moodle
Jun Pataleta [Wed, 29 Mar 2023 01:31:58 +0000 (09:31 +0800)]
Merge branch 'MDL-76941-master-2' of https://github.com/HuongNV13/moodle
Jun Pataleta [Wed, 29 Mar 2023 00:35:30 +0000 (08:35 +0800)]
MDL-77783 core: Validate sublugins.json
* Validate the decoded subplugins.json before processing it.
* Log errors if subplugins.json is invalid or if plugintypes is not
defined.
Jun Pataleta [Mon, 27 Mar 2023 14:20:17 +0000 (22:20 +0800)]
MDL-77761 core_form: Add label for editor format selector
Paul Holden [Tue, 28 Mar 2023 12:06:25 +0000 (13:06 +0100)]
MDL-77774 gradereport_grader: correct/cleanup previous upgrade step.
Using incorrect data in the upgrade step from
ca60efb8 created a
phantom plugin entry.
Eloy Lafuente (stronk7) [Sat, 25 Mar 2023 12:43:55 +0000 (13:43 +0100)]
MDL-77333 mod_resource: fixes generator uploading files + tests
MDL-76499 revealed a few problems with resource generators:
1. We were not covering with unit tests the upload of files from disk
(and here it's where the problem was).
2. There was a little of confusion between disk paths (only needed
to upload files) and file_area paths (the generator only creates
or uploads files to the root directory of the file area.
3. It was possible to request the upload of a file to the generator
without that file effectively existing.
This commit fixes those points and covers 99% of the generator code.
Anupama Sarjoshi [Tue, 7 Mar 2023 18:31:48 +0000 (18:31 +0000)]
MDL-77406 core: Fix code checker issues
Anupama Sarjoshi [Wed, 1 Mar 2023 14:39:27 +0000 (14:39 +0000)]
MDL-77406 core: Logs to record user file uploaded in draft area
Paul Holden [Tue, 28 Mar 2023 14:55:49 +0000 (15:55 +0100)]
on-demand release 4.2dev+
Paul Holden [Tue, 28 Mar 2023 14:55:46 +0000 (15:55 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install