Andrew Nicols
abc83c40b5
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.
2020-05-19 12:37:21 +08:00
Andrew Nicols
e0e7b19f9c
MDL-68464 enrol_manual: Reload participants table after enroling
2020-05-19 12:37:21 +08:00
Andrew Nicols
c50f5af248
MDL-68464 enrol_manual: Rewrite quickenrolment to use ES6
2020-05-19 12:33:40 +08:00
Andrew Nicols
ab6ca1d5c9
Merge branch 'srdjan-slave-conn' of https://github.com/srdjan-catalyst/moodle
2020-05-19 12:29:20 +08:00
Jun Pataleta
f46b5f5f28
Merge branch 'MDL-68463-master-3' of git://github.com/andrewnicols/moodle
2020-05-19 12:24:14 +08:00
Andrew Nicols
50ba817fda
MDL-68463 user: Show count link should always exist in DOM
2020-05-19 12:18:15 +08:00
Jun Pataleta
b81c2a3475
Merge branch 'MDL-68528-master' of git://github.com/andrewnicols/moodle
2020-05-19 11:46:39 +08:00
Andrew Nicols
bc9426c879
MDL-68528 js: Normalise core component for template strings
2020-05-19 11:40:44 +08:00
Andrew Nicols
ed0328397a
MDL-68528 js: Normalise empty component to "core" for string
2020-05-19 11:37:55 +08:00
Srdjan
46cfde3d95
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.
2020-05-19 11:50:42 +10:00
AMOS bot
df35cf110e
Automatically generated installer lang files
2020-05-19 00:07:17 +00:00
Eloy Lafuente (stronk7)
4c6a9740f7
Merge branch 'MDL-68656-master' of https://github.com/catalyst/moodle
2020-05-19 01:13:22 +02:00
Tim Hunt
89c8a076b2
MDL-68733 quiz editing: behat test for altering random question tags
2020-05-18 23:20:10 +01:00
Bence Molnar
9024289626
MDL-68733 quiz editing: be more careful deleting random question tags
2020-05-18 22:56:33 +01:00
Tim Hunt
c689726d3f
MDL-68733 question behat: question tag generator and use in quiz test
2020-05-18 22:56:33 +01:00
Tim Hunt
4a45b7112c
MDL-68757 questions: don't do output in low-level functions
2020-05-18 20:54:27 +01:00
Sara Arjona
2418c12c60
Merge branch 'MDL-68760' of https://github.com/timhunt/moodle
2020-05-18 20:33:05 +02:00
Sara Arjona
0a3efb5689
Merge branch 'MDL-68728-master-2' of git://github.com/andrewnicols/moodle
2020-05-18 20:24:17 +02:00
Tim Hunt
c3dd5ccc40
MDL-68760 timezones: add string for new timezone America/Nuuk
2020-05-18 17:31:43 +01:00
Tim Hunt
8f406297e0
MDL-68760 string tests: make test_timezone_lang_strings message helpful
2020-05-18 16:51:17 +01:00
Eloy Lafuente (stronk7)
6462724e4f
Merge branch 'MDL-68526-master' of git://github.com/aanabit/moodle
2020-05-18 17:14:12 +02:00
Víctor Déniz Falcón
8060ed34db
Merge branch 'MDL-67812-master-latest-3' of git://github.com/mihailges/moodle
2020-05-18 16:04:58 +01:00
Sara Arjona
149b60f242
Merge branch 'MDL-68450-master' of git://github.com/cescobedo/moodle
2020-05-18 16:16:23 +02:00
Amaia Anabitarte
01003725f4
MDL-68526 core_contentbank: Tests for delete/move by context
2020-05-18 16:05:04 +02:00
Amaia Anabitarte
f2a9bb6edb
MDL-68526 core_contentbank: Delete content when a course is deleted
...
Or when a course category is moved/deleted
2020-05-18 16:05:04 +02:00
Marina Glancy
ae0218624f
MDL-68099 gradereport_grader: prevent exception without groups
2020-05-18 15:18:30 +02:00
Andrew Nicols
5fb2abb4eb
Merge branch 'MDL-68497-master' of git://github.com/bmbrands/moodle
2020-05-18 20:53:20 +08:00
Sara Arjona
3f6d31f979
Merge branch 'MDL-68449-master' of git://github.com/cescobedo/moodle
2020-05-18 14:39:10 +02:00
Andrew Nicols
215393c86c
Merge branch 'MDL-68503_master' of https://github.com/marxjohnson/moodle
2020-05-18 20:29:52 +08:00
cescobedo
a9ed34a944
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.
2020-05-18 14:17:46 +02:00
cescobedo
feae09652e
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
2020-05-18 14:07:59 +02:00
Andrew Nicols
07c9106476
MDL-68463 user: Remove old selectall attribute
2020-05-18 20:03:38 +08:00
Andrew Nicols
ed23725bc6
MDL-68463 user: Update select/show [count] links dynamically
2020-05-18 20:03:38 +08:00
Andrew Nicols
814da16778
MDL-68463 core: Add helper functions to toggle checkboxes
2020-05-18 20:03:38 +08:00
Andrew Nicols
0d01f2ae56
MDL-68463 report_participants: Use new shared participant actions module
2020-05-18 20:00:47 +08:00
Andrew Nicols
bae72dd06d
MDL-68463 user: Rewrite participant bulk actions in ES
2020-05-18 20:00:47 +08:00
Sara Arjona
20a1852593
Merge branch 'MDL-68253-master' of git://github.com/lucaboesch/moodle
2020-05-18 13:54:34 +02:00
Sara Arjona
84ab8a51e2
Merge branch 'MDL-68294-master' of git://github.com/jleyva/moodle
2020-05-18 12:49:32 +02:00
Adrian Perez
c1bce8b4c7
MDL-67126 assign: set completion state for all group members
2020-05-18 12:29:01 +02:00
Sara Arjona
da7feb3455
Merge branch 'read-only-session' of https://github.com/Agilicus/moodle
2020-05-18 12:09:00 +02:00
Andrew Nicols
88f1a81bd6
MDL-68728 calendar: Pending promises for event summary
2020-05-18 13:00:32 +08:00
Andrew Nicols
15d02a3045
MDL-68728 calendar: Remove calendar modal on close
2020-05-18 13:00:30 +08:00
Andrew Nicols
1feb2a5e2e
Merge branch 'MDL-62487' of https://github.com/timhunt/moodle
2020-05-18 12:10:02 +08:00
Adrian Greeve
410cec0d40
Merge branch 'MDL-67791-master' of git://github.com/ferranrecio/moodle
2020-05-18 11:55:36 +08:00
Adrian Greeve
a1bd5d556d
Merge branch 'MDL-68563-master' of git://github.com/lameze/moodle
2020-05-18 11:34:38 +08:00
Mihail Geshoski
17050eea1c
MDL-67812 repository_contentbank: Add behat tests
2020-05-18 11:10:07 +08:00
Mihail Geshoski
a165085055
MDL-67812 core_filepicker: Add behat steps for filepicker
2020-05-18 11:10:07 +08:00
Mihail Geshoski
4f2a5f2074
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
2020-05-18 11:10:07 +08:00
Adrian Greeve
5ec37d28a6
Merge branch 'master_MDL-64843_course_copy_ui' of https://github.com/catalyst/moodle
2020-05-18 10:35:44 +08:00
Mihail Geshoski
2e4e031e1c
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
2020-05-18 10:12:14 +08:00