Commit graph

95569 commits

Author SHA1 Message Date
Simey Lameze
6d76fc107a MDL-66075 enrol: add unit tests for search_users webservice 2019-09-23 13:07:40 +08:00
Simey Lameze
1de4baf1f1 MDL-66075 core: various fixes & code polishing
* Removes unnecessary comment in search_users() WS.
* Replaces DB call by get_course() in search_users() WS.
* Fix discussionids handling on export.php.
* Coding style fix in test_search_users unit test.
* Add missing version bump.
* phpDOc fixes in post vault.
* Fix in the dataformat callback to handle different data types.
2019-09-23 13:07:30 +08:00
Jun Pataleta
8b09690540 Merge branch 'MDL-66645' of git://github.com/stronk7/moodle 2019-09-23 11:58:43 +08:00
AMOS bot
f58b8a0162 Automatically generated installer lang files 2019-09-22 00:09:11 +00:00
Gareth Barnard
f254cef989
MDL-66656 format_social: Edit Summary Icon leads to 'File not found'. 2019-09-20 21:44:33 +01:00
Eloy Lafuente (stronk7)
d1e051d0c7 MDL-66645 install: update the list of stale files for 3.8 2019-09-20 16:16:31 +02:00
Sara Arjona
c2b4ebe9cf Merge branch 'MDL-46978-Master' of github.com:tuanngocnguyen/moodle 2019-09-20 13:07:27 +02:00
Sara Arjona
1445f82315 Merge branch 'MDL-66090_master' of git://github.com/dmonllao/moodle 2019-09-20 12:46:16 +02:00
Mark Johnson
d91aa1e760 MDL-65327 performance: Lazy-load module name strings 2019-09-20 08:59:34 +01:00
Mark Johnson
f3c9599e1f MDL-65335 auth: Make oauth2 enabled check more efficient 2019-09-20 08:54:40 +01:00
Jake Dallimore
564a6e8650 Merge branch 'MDL-65970-master' of git://github.com/jleyva/moodle 2019-09-20 14:27:57 +08:00
Jake Dallimore
24ddc6dc64 MDL-66075 mod_forum: add more coverage of get_from_discussion_ids
Specifically, this is now testing the $canseeprivatereplies param for
different users and over a more complete range of cases.
2019-09-20 12:16:18 +08:00
Andrew Nicols
4bb39eabc7 MDL-66733 grade: Add helper to get correct user date for grade 2019-09-20 09:50:17 +08:00
Tom Dickman
4487612c4a MDL-63453 media_videojs: Upgrade Video.JS to 7.5.5.
Upgrade Video.JS to 7.5.5
Upgrade videojs-youtube plugin to 2.6.0
Upgrade videojs-flash plugin to 2.2.2

Added additional AMD modules for bootstrapping the DOM
window and document objects to Video.JS in line with the
updates made to Video.JS.
2019-09-20 01:29:19 +00:00
Jake Dallimore
5120087808 MDL-66106 core_form: fix client side validation bug caused by MDL-65217
Forms with randomised ids need to support client side validation.
2019-09-20 09:03:25 +08:00
Jake Dallimore
cddbdb20b2 MDL-66169 admin: properly set debugsmtp, which is a config.php only var
This may not be set, so care must be taken to conditionally reinstate
the value, once the test email has been sent.
2019-09-20 09:01:13 +08:00
Simey Lameze
babc6bf707 MDL-66075 mod_forum: coverage for ordering in test_get_from_discussion_ids 2019-09-20 08:29:47 +08:00
Simey Lameze
d72d47c115 MDL-66443 mod_forum: fix error when exporting in pdf format
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Simey Lameze
30eeb2a528 MDL-66604 mod_forum: add missing exportforum lang string
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
90093eecc1 MDL-66269 mod_forum: filter export based on user and discussion ids
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
ff0c5bbed9 MDL-66269 mod_forum: added get_from_discussion_ids_and_user_ids
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
1ff734a47d MDL-66269 mod_forum: refactor post vault class to remove duplications
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
e61a41b425 MDL-66269 mod_forum: added filters to the export form
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
32e4c582f0 MDL-66269 mod_forum: AMD module to fetch and format users
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
0f308fcda7 MDL-66269 enrol: A new webservice to search course participants
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
151ef39cd8 MDL-66269 enrol: added search_users method to course_enrolment_manager
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
c3ac38129d MDL-66269 mod_forum: removed the unnecessary hidden element
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
078ac3aa3c MDL-66269 mod_forum: Cancelling the export should take us back to forum
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Shamim Rezaie
a0185ef7b3 MDL-66269 mod_forum: the export form to use automatic class loading
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Simey Lameze
fbdef95112 MDL-66314 mod_forum: fix error when exporting forum in HTML table
Part of MDL-66075.
2019-09-20 08:19:01 +08:00
Simey Lameze
75af28c73f MDL-9469 mod_forum: add exportforum capability and checks
Part of MDL-66075
2019-09-20 08:19:01 +08:00
Simey Lameze
f7b7f4e679 MDL-9469 mod_forum: create basic forum export structure
Part of MDL-66075
2019-09-20 08:19:01 +08:00
Simey Lameze
357d74fda9 MDL-9469 mod_forum: add export node to settings menu
Part of MDL-66075
2019-09-20 08:19:01 +08:00
David Monllaó
2d9280e0df MDL-65588 analytics: New models for student accesses 2019-09-20 08:14:13 +08:00
David Monllaó
7d8ed90757 MDL-65588 analytics: Unit tests for any_course_access 2019-09-20 08:14:13 +08:00
David Monllaó
7b8a5bfd50 MDL-65588 tool_analytics: Alternative method to pass data to JS
The more time-splitting methods we have in core the more data we pass to
the amd module as an argument. There is a limit of 1024 characters and
a debugging message is triggered by js_call_amd if we surpass it.
2019-09-20 08:14:13 +08:00
Sara Arjona
6735197cc2 weekly release 3.8dev 2019-09-19 21:19:12 +02:00
Huong Nguyen
0fd6032ce8 MDL-66633 Quiz: Improve preview user checking 2019-09-19 16:20:42 +02:00
Nathan Nguyen
2aaac3f670 MDL-46978 core_grades: preserve category total visibility 2019-09-19 14:05:01 +10:00
Adrian Greeve
f05c426357 MDL-66710 privacy: Update to template to reference js file right. 2019-09-19 10:42:48 +08:00
Andrew Nicols
1162e2c958 MDL-66675 behat: Fix typo in step function name 2019-09-19 07:30:15 +08:00
Andrew Nicols
0b07ea423b MDL-66675 behat: Add option to pause on behat failures 2019-09-19 07:30:15 +08:00
Eloy Lafuente (stronk7)
5a14a1c422 Merge branch 'MDL-66548-master' of git://github.com/bmbrands/moodle 2019-09-19 01:00:59 +02:00
Eloy Lafuente (stronk7)
0059a5e52e Merge branch 'MDL-40669' of https://github.com/paulholden/moodle 2019-09-18 23:15:13 +02:00
Paul Holden
51539ba383 MDL-40669 tool_uploaduser: set emailstop during upload Behat test. 2019-09-18 21:41:28 +01:00
Eloy Lafuente (stronk7)
502639bd3c Merge branch 'MDL-66641' of https://github.com/timhunt/moodle 2019-09-18 20:29:53 +02:00
Eloy Lafuente (stronk7)
699a12eeca Merge branch 'MDL-65878-master' of https://github.com/lucaboesch/moodle 2019-09-18 20:07:48 +02:00
Huong Nguyen
8dc015050e MDL-66633 quiz: allow to create attempts for different users
By adding a new optional param to quiz_prepare_and_start_new_attempt()
it can be used by the surrounding code to create an attempt for anybody
else (different from current $USER)

quiz attempt API should let you create an attempt for a different user
2019-09-18 19:52:09 +02:00
Eloy Lafuente (stronk7)
74241346c0 Merge branch 'MDL-65323-master' of https://github.com/snake/moodle 2019-09-18 18:15:19 +02:00
Eloy Lafuente (stronk7)
6f278d21b9 Merge branch 'MDL-63895-master' of git://github.com/vmdef/moodle 2019-09-18 17:33:17 +02:00