Jun Pataleta [Thu, 21 May 2020 09:10:16 +0000 (17:10 +0800)]
Merge branch 'MDL-68367' of https://github.com/mkassaei/moodle
Mahmoud Kassaei [Tue, 14 Apr 2020 09:36:19 +0000 (10:36 +0100)]
MDL-68367 Question: Multi-choice Option to hide systemtext
Sara Arjona [Thu, 21 May 2020 06:30:31 +0000 (08:30 +0200)]
Merge branch 'MDL-68451-master' of git://github.com/cescobedo/moodle
Jun Pataleta [Thu, 21 May 2020 06:26:54 +0000 (14:26 +0800)]
Merge branch 'MDL-68568-master' of git://github.com/junpataleta/moodle
Sara Arjona [Thu, 21 May 2020 06:23:46 +0000 (08:23 +0200)]
Merge branch 'MDL-68782-master' of git://github.com/aanabit/moodle
Adrian Greeve [Thu, 21 May 2020 00:37:52 +0000 (08:37 +0800)]
Merge branch 'MDL-68733' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 20 May 2020 22:51:10 +0000 (00:51 +0200)]
Merge branch 'MDL-52578-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Wed, 20 May 2020 22:45:34 +0000 (00:45 +0200)]
Merge branch 'MDL-66992-master' of https://github.com/tungthai/moodle
Amaia Anabitarte [Wed, 20 May 2020 10:42:11 +0000 (12:42 +0200)]
MDL-68782 core_contentbank: Improving event unit tests
cescobedo [Wed, 20 May 2020 16:50:21 +0000 (18:50 +0200)]
MDL-68451 mod_h5pactivity: Add info attempts in check_updates_since
Add updates information related to attempts in check_updates_since
because they may affect the user or the information displayed
in the app.
Jun Pataleta [Wed, 20 May 2020 16:18:52 +0000 (00:18 +0800)]
MDL-68568 editor_atto: Upgrade step for the new toolbar default layout
* emojipicker added to files
* indent moved to list
Mike Churchward [Thu, 30 Apr 2020 17:20:50 +0000 (13:20 -0400)]
MDL-68568 editor-atto: Move 'indent' next to 'lists' by default.
Víctor Déniz Falcón [Wed, 20 May 2020 14:54:14 +0000 (15:54 +0100)]
Merge branch 'MDL-67183' of git://github.com/timhunt/moodle
Sara Arjona [Wed, 20 May 2020 14:32:36 +0000 (16:32 +0200)]
Merge branch 'MDL-68617-master' of git://github.com/ferranrecio/moodle
Ferran Recio [Fri, 8 May 2020 07:35:41 +0000 (09:35 +0200)]
MDL-68617 mod_h5pactivity: add attempts report webservice
Sara Arjona [Wed, 20 May 2020 10:58:37 +0000 (12:58 +0200)]
Merge branch 'MDL-68780' of https://github.com/stronk7/moodle
Amaia Anabitarte [Wed, 20 May 2020 07:25:07 +0000 (09:25 +0200)]
MDL-68782 core_contentbank: Fixing undefined variable error
Ferran Recio [Fri, 8 May 2020 07:34:29 +0000 (09:34 +0200)]
MDL-68617 mod_h5pactivity: add attempt info to generator
Sara Arjona [Wed, 20 May 2020 09:47:27 +0000 (11:47 +0200)]
Merge branch 'MDL-68778-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 20 May 2020 09:35:08 +0000 (17:35 +0800)]
Merge branch 'MDL-58866-master-2' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 19 May 2020 21:48:13 +0000 (23:48 +0200)]
MDL-68780 unit tests: Add missing ->destroy() calls to controllers
Every backup and restore controller always need to call
to their ->destroy() method in charge of finalizing loggers,
closing file handlers and destroy some circular references.
This is specially important within unit tests, because
open resources cannot be reset between tests, causing problems,
specially within Windows that locks all those files.
Adrian Greeve [Wed, 20 May 2020 08:52:17 +0000 (16:52 +0800)]
Merge branch 'MDL-68662' of https://github.com/Chocolate-lightning/moodle
Andrew Nicols [Wed, 20 May 2020 08:50:37 +0000 (16:50 +0800)]
Merge branch 'MDL-68577-redis-lock-tuning' of https://github.com/brendanheywood/moodle
Marina Glancy [Wed, 20 May 2020 08:38:12 +0000 (10:38 +0200)]
MDL-58866 core_calendar: deprecation warning in upgrade.txt
Mathew May [Wed, 13 May 2020 03:14:56 +0000 (11:14 +0800)]
MDL-68662 core_course: Add new tabs to the chooser
We now have two more tabs in the chooser.
Activities & Resources aer now offered in different tabs.
Andrew Nicols [Wed, 20 May 2020 00:47:02 +0000 (08:47 +0800)]
MDL-68778 user: Add bulk action pendingjs checks
Brendan Heywood [Sat, 2 May 2020 15:23:32 +0000 (01:23 +1000)]
MDL-68577 session: Fine tune the redis lock polling
Adrian Greeve [Wed, 20 May 2020 05:17:58 +0000 (13:17 +0800)]
Merge branch 'MDL-68333-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Wed, 20 May 2020 00:47:02 +0000 (08:47 +0800)]
MDL-68778 user: Fetch select from selected option
It seems that the HTMLSelectElement behaves slightly different on Linux
vs MacOS.
On Linux with Firefox 47 when selecting an option the
HTMLOptionElement is returned, whereas on MavOS the HTMLSelectElement
that the Option belongs to is returned.
We need to normalise the value here before resetting the currently
selected item.
Jun Pataleta [Sun, 17 May 2020 14:17:30 +0000 (22:17 +0800)]
MDL-52578 core_course: Peer review fixes
* Fetch parent category only when necessary.
* Fix outdated variable names in original patch.
* Fix variable scope for $outcomeexists.
Adrian Greeve [Wed, 20 May 2020 00:35:18 +0000 (08:35 +0800)]
Merge branch 'MDL-67548-master' of https://github.com/kabalin/moodle
Andrew Nicols [Tue, 19 May 2020 23:32:49 +0000 (07:32 +0800)]
MDL-68464 user: Remove legacy selectall
Eloy Lafuente (stronk7) [Tue, 19 May 2020 22:17:53 +0000 (00:17 +0200)]
Merge branch 'MDL-68464-master-final' of git://github.com/andrewnicols/moodle
Tim Hunt [Fri, 24 Apr 2020 15:12:04 +0000 (16:12 +0100)]
MDL-67183 questions: get_question & get_behaviour only init if required
This reviews all the code code, and sets $requirequestioninitialised
whenever possible in these calls, which should improve performance.
Tim Hunt [Fri, 24 Apr 2020 15:11:51 +0000 (16:11 +0100)]
MDL-67183 question engine: allow lazy-init of question_attempts
That is, we don't call apply_attempt_state as soon as a
the data is loaded from the database. Instead, we wait
and only call it if really needed.
This should (especially after the next commit) be a performance win
during quizzes, particularly for people using advanced question
types liks STACK, or people making extensive use of the
'Try another question like this one' feature.
Víctor Déniz Falcón [Tue, 19 May 2020 19:43:46 +0000 (20:43 +0100)]
Merge branch 'MDL-68299-master' of git://github.com/bmbrands/moodle
Steve Bader [Tue, 11 Jun 2019 15:12:35 +0000 (11:12 -0400)]
MDL-52578 core_course: Activity weight set to 0 on creation
Marina Glancy [Mon, 6 Apr 2020 10:36:35 +0000 (12:36 +0200)]
MDL-68333 testing: trigger user_created event in user generator
Marina Glancy [Thu, 30 Apr 2020 16:55:36 +0000 (18:55 +0200)]
MDL-58866 core_calendar: separate color for other events, icons
Marina Glancy [Thu, 30 Apr 2020 10:38:23 +0000 (12:38 +0200)]
MDL-58866 block_timeline: do not display course if abscent
Marina Glancy [Wed, 29 Apr 2020 20:22:10 +0000 (22:22 +0200)]
MDL-58866 core_calendar: allow component events
Sara Arjona [Tue, 19 May 2020 15:54:25 +0000 (17:54 +0200)]
weekly release 3.9dev+
Sara Arjona [Tue, 19 May 2020 15:54:22 +0000 (17:54 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Andrew Nicols [Tue, 19 May 2020 08:27:51 +0000 (16:27 +0800)]
MDL-68463 core_user: Correct Show all link details
Juan Leyva [Tue, 19 May 2020 09:54:53 +0000 (11:54 +0200)]
MDL-68294 tool_mobile: Fix custom strings and limits calculation
Andrew Nicols [Tue, 19 May 2020 08:13:48 +0000 (16:13 +0800)]
Merge branch 'srdjan-slave-conn' of https://github.com/srdjan-catalyst/moodle
Bas Brands [Thu, 2 Apr 2020 13:39:29 +0000 (15:39 +0200)]
MDL-68299 theme_boost: theme updates for accessible zoom
The Moodle UI should be functional in a viewport of 320px by 256px to
meet WCAG 1.4.10
this patch contains improvements to:
-prevent horizontal scrolling
-better wrapping of page header
-message drawer funtional on tiny screens
-remove indenting on courses
-prevent elements overlapping on quiz editing
-better navigation tabs
-fix colour picker
-quiz editing
Srdjan [Tue, 19 May 2020 08:09:14 +0000 (18:09 +1000)]
MDL-19711 dml: call mysqli::real_connect() with @
Juan Leyva [Mon, 18 May 2020 19:20:36 +0000 (21:20 +0200)]
MDL-68294 tool_mobile: Fix key and default apps values
Srdjan [Tue, 19 May 2020 06:21:48 +0000 (16:21 +1000)]
MDL-19711 dml: Fix undefined $dberr
In mysqli_native_moodle_database::raw_connect()
Andrew Nicols [Thu, 14 May 2020 03:10:57 +0000 (11:10 +0800)]
MDL-68464 enrol_manual: Comment out buggy behat line
This is commented out because auto-hidden toasts currently call `hide()`
and trigger the `bs.toast.hide` event immediately, and _then_ apply the
autohide delay.
Since we automatically add M.util.pending_js calls when we _start_ to
hide, and resolve them when the hide _finishes_, this means that we do:
- addToast called
- trigger `bs.toast.show` event
- add to pending_js
- [pending_js queue not empty - behat waits]
- message is shown in UI
- `hide()` called
- trigger `bs.toast.hide` event
- add to pending_js
- [pending_js queue not empty - behat waits]
- start autohide delay
- [pending_js queue not empty - behat waits]
- [pending_js queue not empty - behat waits]
- [pending_js queue not empty - behat waits]
- [pending_js queue not empty - behat waits]
- end autohide delay
- remove message (no longer present in DOM)
- trigger `bs.toast.hidden` event
- resolve pending_js
- [pending_js queue empty - behat stops waiting]
- Behat runs next step: And I should see "1 enrolled users"
-- Step fails beacuse the message has been shown, and has then been removed
The conversation should have been:
- addToast called
- trigger `bs.toast.show` event
- add to pending_js
- [pending_js queue not empty - behat waits]
- message is shown in UI
- start autohide delay
- trigger `bs.toast.shown` event
- resolve pending_js
- [pending_js queue empty - behat stops waiting]
- Behat runs next step: And I should see "1 enrolled users"
-- Step passes
- autohide delay ends and calls `hide()`
- trigger bs.toast.hide event
- add to pending_js
- [behat waits]
- end autohide delay
- remove message (no longer present in DOM)
- trigger `bs.toast.hidden` event
- resolve pending_js
- [pending_js queue empty - behat stops waiting]
- Behat run continues
See MDL-67386 for futher information.
Andrew Nicols [Mon, 20 Apr 2020 03:24:26 +0000 (11:24 +0800)]
MDL-68464 enrol_manual: Reload participants table after enroling
Andrew Nicols [Mon, 20 Apr 2020 01:24:12 +0000 (09:24 +0800)]
MDL-68464 enrol_manual: Rewrite quickenrolment to use ES6
Andrew Nicols [Tue, 19 May 2020 04:29:20 +0000 (12:29 +0800)]
Merge branch 'srdjan-slave-conn' of https://github.com/srdjan-catalyst/moodle
Jun Pataleta [Tue, 19 May 2020 04:24:14 +0000 (12:24 +0800)]
Merge branch 'MDL-68463-master-3' of git://github.com/andrewnicols/moodle
Andrew Nicols [Tue, 19 May 2020 04:18:15 +0000 (12:18 +0800)]
MDL-68463 user: Show count link should always exist in DOM
Jun Pataleta [Tue, 19 May 2020 03:46:39 +0000 (11:46 +0800)]
Merge branch 'MDL-68528-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Sun, 26 Apr 2020 07:57:59 +0000 (15:57 +0800)]
MDL-68528 js: Normalise core component for template strings
Andrew Nicols [Sun, 26 Apr 2020 07:57:32 +0000 (15:57 +0800)]
MDL-68528 js: Normalise empty component to "core" for string
Srdjan [Thu, 7 May 2020 04:14:29 +0000 (14:14 +1000)]
MDL-19711 dml: Enable use of readonly slave database handles
Implemented with moodle_read_slave_trait
Functionality is triggered by supplying config dboption['readonly'].
See config-dist.php for more info on supported dboptions.
pgsql and mysqli drivers are using this feature. Also added support for
connection timeout for these two drivers.
AMOS bot [Tue, 19 May 2020 00:07:17 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Mon, 18 May 2020 23:13:22 +0000 (01:13 +0200)]
Merge branch 'MDL-68656-master' of https://github.com/catalyst/moodle
Tim Hunt [Mon, 18 May 2020 21:55:50 +0000 (22:55 +0100)]
MDL-68733 quiz editing: behat test for altering random question tags
Bence Molnar [Mon, 18 May 2020 20:04:36 +0000 (21:04 +0100)]
MDL-68733 quiz editing: be more careful deleting random question tags
Tim Hunt [Mon, 18 May 2020 20:50:43 +0000 (21:50 +0100)]
MDL-68733 question behat: question tag generator and use in quiz test
Sara Arjona [Mon, 18 May 2020 18:33:05 +0000 (20:33 +0200)]
Merge branch 'MDL-68760' of https://github.com/timhunt/moodle
Sara Arjona [Mon, 18 May 2020 18:24:17 +0000 (20:24 +0200)]
Merge branch 'MDL-68728-master-2' of git://github.com/andrewnicols/moodle
Tim Hunt [Mon, 18 May 2020 16:31:43 +0000 (17:31 +0100)]
MDL-68760 timezones: add string for new timezone America/Nuuk
Tim Hunt [Mon, 18 May 2020 15:51:17 +0000 (16:51 +0100)]
MDL-68760 string tests: make test_timezone_lang_strings message helpful
Eloy Lafuente (stronk7) [Mon, 18 May 2020 15:14:12 +0000 (17:14 +0200)]
Merge branch 'MDL-68526-master' of git://github.com/aanabit/moodle
Víctor Déniz Falcón [Mon, 18 May 2020 15:04:58 +0000 (16:04 +0100)]
Merge branch 'MDL-67812-master-latest-3' of git://github.com/mihailges/moodle
Sara Arjona [Mon, 18 May 2020 14:16:23 +0000 (16:16 +0200)]
Merge branch 'MDL-68450-master' of git://github.com/cescobedo/moodle
Amaia Anabitarte [Mon, 11 May 2020 16:51:13 +0000 (18:51 +0200)]
MDL-68526 core_contentbank: Tests for delete/move by context
Amaia Anabitarte [Mon, 11 May 2020 16:53:30 +0000 (18:53 +0200)]
MDL-68526 core_contentbank: Delete content when a course is deleted
Or when a course category is moved/deleted
Andrew Nicols [Mon, 18 May 2020 12:53:20 +0000 (20:53 +0800)]
Merge branch 'MDL-68497-master' of git://github.com/bmbrands/moodle
Sara Arjona [Mon, 18 May 2020 12:39:10 +0000 (14:39 +0200)]
Merge branch 'MDL-68449-master' of git://github.com/cescobedo/moodle
Andrew Nicols [Mon, 18 May 2020 12:29:52 +0000 (20:29 +0800)]
Merge branch 'MDL-68503_master' of https://github.com/marxjohnson/moodle
cescobedo [Fri, 15 May 2020 18:16:03 +0000 (20:16 +0200)]
MDL-68450 mod_h5pactivity: Add WS view_h5pactivity
This is the external method for triggering the course module viewed event
and update the module completion status. Affects mobile app.
cescobedo [Fri, 15 May 2020 17:41:26 +0000 (19:41 +0200)]
MDL-68449 mod_h5pactivity: Add a WS for get access information
This WS should return access information required by an external client to check if and how to display the activity module.
Require for Mobile App
Andrew Nicols [Fri, 24 Apr 2020 06:50:30 +0000 (14:50 +0800)]
MDL-68463 user: Remove old selectall attribute
Andrew Nicols [Fri, 24 Apr 2020 04:33:36 +0000 (12:33 +0800)]
MDL-68463 user: Update select/show [count] links dynamically
Andrew Nicols [Wed, 13 May 2020 07:59:23 +0000 (15:59 +0800)]
MDL-68463 core: Add helper functions to toggle checkboxes
Andrew Nicols [Mon, 18 May 2020 02:16:55 +0000 (10:16 +0800)]
MDL-68463 report_participants: Use new shared participant actions module
Andrew Nicols [Fri, 24 Apr 2020 01:40:20 +0000 (09:40 +0800)]
MDL-68463 user: Rewrite participant bulk actions in ES
Sara Arjona [Mon, 18 May 2020 11:54:34 +0000 (13:54 +0200)]
Merge branch 'MDL-68253-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Mon, 18 May 2020 10:49:32 +0000 (12:49 +0200)]
Merge branch 'MDL-68294-master' of git://github.com/jleyva/moodle
Sara Arjona [Mon, 18 May 2020 10:09:00 +0000 (12:09 +0200)]
Merge branch 'read-only-session' of https://github.com/Agilicus/moodle
Andrew Nicols [Mon, 18 May 2020 00:06:58 +0000 (08:06 +0800)]
MDL-68728 calendar: Pending promises for event summary
Andrew Nicols [Sun, 17 May 2020 06:10:28 +0000 (14:10 +0800)]
MDL-68728 calendar: Remove calendar modal on close
Andrew Nicols [Mon, 18 May 2020 04:10:02 +0000 (12:10 +0800)]
Merge branch 'MDL-62487' of https://github.com/timhunt/moodle
Adrian Greeve [Mon, 18 May 2020 03:55:36 +0000 (11:55 +0800)]
Merge branch 'MDL-67791-master' of git://github.com/ferranrecio/moodle
Adrian Greeve [Mon, 18 May 2020 03:34:38 +0000 (11:34 +0800)]
Merge branch 'MDL-68563-master' of git://github.com/lameze/moodle
Mihail Geshoski [Fri, 15 May 2020 03:37:49 +0000 (11:37 +0800)]
MDL-67812 repository_contentbank: Add behat tests
Mihail Geshoski [Fri, 15 May 2020 03:17:00 +0000 (11:17 +0800)]
MDL-67812 core_filepicker: Add behat steps for filepicker
Mihail Geshoski [Fri, 15 May 2020 03:08:11 +0000 (11:08 +0800)]
MDL-67812 core_contentbank: Modify behat tests
Modify all behat tests that use the behat contentbank content generator
in order to use the updated generator structure
Adrian Greeve [Mon, 18 May 2020 02:35:44 +0000 (10:35 +0800)]
Merge branch 'master_MDL-64843_course_copy_ui' of https://github.com/catalyst/moodle
Mihail Geshoski [Fri, 15 May 2020 03:06:07 +0000 (11:06 +0800)]
MDL-67812 core_contentbank: Modify behat contentbank content generator
Enables the behat contentbank content generator to create content in
multiple contexts and optionaly create files on the filesystem
Mihail Geshoski [Thu, 30 Apr 2020 06:48:20 +0000 (14:48 +0800)]
MDL-67812 core: Add content bank files repository in standard plugins
Mihail Geshoski [Thu, 30 Apr 2020 06:45:09 +0000 (14:45 +0800)]
MDL-67812 repository_contentbank: Add unit tests
Mihail Geshoski [Thu, 30 Apr 2020 06:44:48 +0000 (14:44 +0800)]
MDL-67812 repository_contentbank: Create content bank files repository