90947 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
bd5fdcfccd MDL-63422 general: review core loop / switch / case / continue
This commit reviews all continue uses in core happening within a
loop / switch / case hierarchy. This does not cover:

- Changes to libraries. Will be handled in another issue / commit.
- Uses out from loops, will be reviewed by other commit.

The policy followed has been:
- When possible, take rid of the continue.
- When clearly the intention was to jump to next element in loop
  change to continue 2
- When it was not clear, keep old behavior switching to break, no
  matter how weird the behavior may be.
2018-10-31 00:17:59 +01:00
Eloy Lafuente (stronk7)
8b019fb709 on-demand release 3.6dev+ 2018-10-30 18:24:14 +01:00
Eloy Lafuente (stronk7)
4ea6f848fa NOBUG: Fixed file access permissions 2018-10-30 18:24:14 +01:00
Eloy Lafuente (stronk7)
3f32559999 Merge branch 'MDL-63522-master' of git://github.com/jleyva/moodle 2018-10-30 18:01:10 +01:00
Juan Leyva
716c103d49 MDL-63522 course: Restore config and static cache 2018-10-30 17:35:46 +01:00
Jun Pataleta
a78e94257a Merge branch 'MDL-63813-master' of git://github.com/andrewnicols/moodle 2018-10-30 15:32:32 +08:00
Andrew Nicols
98f65cf665 MDL-63813 theme_bootstrapbase: Give page buttons height+width
Elements iwth an inline display type have no height, or width, which
makes it impossible for behat to interact with them.
2018-10-30 13:04:24 +08:00
Andrew Nicols
5bfa505fba Merge branch 'MDL-63634-master' of git://github.com/rezaies/moodle 2018-10-30 12:00:18 +08:00
Andrew Nicols
e538fc1549 Merge branch 'MDL-63626-master' of git://github.com/rezaies/moodle 2018-10-30 10:57:42 +08:00
Jun Pataleta
ae29ec8d13 Merge branch 'MDL-63531-master' of git://github.com/andrewnicols/moodle 2018-10-30 10:50:52 +08:00
Adrian Greeve
d2148f32ca MDL-63531 privacy: Update to comments provider to simplfy sql.
This updates the get_users_in_context_from_sql query to include
the context id to simplify the calls made from other components.
2018-10-30 09:47:14 +08:00
Adrian Greeve
6592598f71 MDL-63531 assignfeedback: Update to use the new privacy interface.
This now uses the new interface to allow the deletion of users based
on a context.
2018-10-30 09:47:14 +08:00
Adrian Greeve
d8cd86e1b1 MDL-63531 assignsubmission: Update to use the new interface.
This updates the plugins to use the new inteface for deleting
data for users in a context.
2018-10-30 09:47:14 +08:00
Andrew Nicols
e974de337d Merge branch 'MDL-63796-master' of git://github.com/ryanwyllie/moodle 2018-10-30 09:38:46 +08:00
Adrian Greeve
b96e7fa6b2 MDL-63531 mod_assign: Update mod assign to use new interface.
This introduces a new interface for assign sub-plugins and
updates the mod_assign provider to implement the new general
interface for deleting data for users in a context.
2018-10-30 09:06:12 +08:00
Andrew Nicols
e22214b965 Merge branch 'MDL-63656-master' of git://github.com/mickhawkins/moodle 2018-10-30 08:49:56 +08:00
Andrew Nicols
1ac8ae517d Merge branch 'MDL-63742-master' of git://github.com/jleyva/moodle 2018-10-30 07:46:00 +08:00
Eloy Lafuente (stronk7)
038645591a Merge branch 'MDL-63522-master' of git://github.com/jleyva/moodle 2018-10-30 00:00:12 +01:00
Eloy Lafuente (stronk7)
82bd1fa000 Merge branch 'MDL-63396-master' of git://github.com/jleyva/moodle 2018-10-29 23:35:31 +01:00
David Monllao
77ac4d8c31 Merge branch 'MDL-63445-master' of git://github.com/bmbrands/moodle 2018-10-29 16:47:45 +01:00
Eloy Lafuente (stronk7)
f3d80b483b Merge branch 'MDL-63730-master-enfix' of git://github.com/mudrd8mz/moodle 2018-10-29 13:23:53 +01:00
David Monllao
95a4d796fe Merge branch 'MDL-63698-master' of https://github.com/lucaboesch/moodle 2018-10-29 12:20:52 +01:00
Luca Bösch
9452bddedc MDL-63698 block_myoverview: Summary view course images eq height/width. 2018-10-29 11:43:23 +01:00
David Monllao
707668287d Merge branch 'MDL-63042-master' of git://github.com/peterRd/moodle 2018-10-29 11:27:16 +01:00
Juan Leyva
2ced73f636 MDL-63396 grade_report: Return locked and overridden info 2018-10-29 11:26:59 +01:00
David Monllao
beb86abdff Merge branch 'MDL-63528-master' of git://github.com/junpataleta/moodle 2018-10-29 11:18:02 +01:00
Juan Leyva
1de51367f7 MDL-63522 course: Return completion info in get_course_content WS 2018-10-29 11:11:38 +01:00
Juan Leyva
1206a4878c MDL-63522 course: Return more fields in get_course_content WS
We need those fields on the mobile app to be able to render the course view properly.
2018-10-29 11:10:51 +01:00
David Monllao
4af7cf6bdb Merge branch 'MDL-63698-master' of https://github.com/lucaboesch/moodle 2018-10-29 11:06:41 +01:00
Juan Leyva
6f79370531 MDL-63742 auth: New WS core_auth_resend_confirmation_email 2018-10-29 11:04:02 +01:00
David Monllao
4bd78d79a8 Merge branch 'MDL-63040-master' of git://github.com/peterRd/moodle 2018-10-29 10:42:51 +01:00
Andrew Nicols
fca51b97ed Merge branch 'MDL-63043-master' of git://github.com/peterRd/moodle 2018-10-29 14:42:09 +08:00
Michael Hawkins
f9d06ed7c9 MDL-63656 tool_messageinbound: Add support for removal of context users
This issue is a part of the MDL-62560 Epic.
2018-10-29 14:13:45 +08:00
Ryan Wyllie
1f3d92c443 MDL-63796 theme_boost: reduce padding of blocks
Reduce the padding of the blocks and revert the margin changes
from MDL-63102.
2018-10-29 14:07:35 +08:00
Andrew Nicols
89689e64f4 Merge branch 'MDL-40695-master' of https://github.com/HuongNV13/moodle 2018-10-29 12:28:58 +08:00
Jun Pataleta
5c52b9686f Merge branch 'MDL-63622-master' of git://github.com/andrewnicols/moodle 2018-10-29 11:36:20 +08:00
Andrew Nicols
65c0e336b1 Merge branch 'MDL-63665-master' of git://github.com/rezaies/moodle 2018-10-29 08:42:50 +08:00
Andrew Nicols
d9e56517ca Merge branch 'MDL-63680-master' of git://github.com/mihailges/moodle 2018-10-29 08:21:27 +08:00
Andrew Nicols
d4274bd951 Merge branch 'MDL-60520_master' of git://github.com/dmonllao/moodle 2018-10-29 07:39:58 +08:00
Adrian Greeve
980425022b MDL-63622 core_grading: Add support for removal of context users.
Core grading now implements the new core_userlist_provider
interface to allow for deletion of specific users in a context.
2018-10-29 07:37:44 +08:00
Luca Bösch
fe149a996a MDL-63698 block_myoverview: Summary view course images eq height/width. 2018-10-27 11:43:58 +02:00
Eloy Lafuente (stronk7)
448bd578d8 on-demand release 3.6dev+ 2018-10-26 18:06:00 +02:00
Eloy Lafuente (stronk7)
6728c963f3 NOBUG: Fixed SVG browser compatibility 2018-10-26 18:05:58 +02:00
David Mudrák
8743cade5b MDL-63730 quiz: Fix unit tests to use the new way of percents display
As agreed in MDL-63186, the English language pack has no space
separating the number and the percents. This patch removes the
regressions from the unit tests.
2018-10-26 14:26:12 +02:00
David Mudrák
f5d98e6173 MDL-63730 lang: Update Behat scenarios to use the new strings 2018-10-26 13:25:56 +02:00
Helen Foster
0c19b2c8fa MDL-63730 lang: Merge English strings from the en_fix language pack
Significant string changes:

* withselectedusers_help, core - removing mention of 'Add a common note'
  as the option no longer exists
* considereddigitalminor and digitalminor_desc, core - more
  child-friendly wording
* configmessagingallusers, core_admin - clearer explanation
* auth_dbtype, auth_db - fixed broken link
2018-10-26 12:48:40 +02:00
Shamim Rezaie
c0bafa2777 MDL-63634 enrol_paypal: Improve query performance
This issue is a part of the MDL-62560 Epic.
2018-10-26 19:35:57 +11:00
Shamim Rezaie
cb21486c66 MDL-63634 enrol_paypal: support removal of multiple users in a context
This issue is a part of the MDL-62560 Epic.
2018-10-26 19:35:47 +11:00
Eloy Lafuente (stronk7)
51da48f193 Merge branch 'MDL-63765-master' of git://github.com/damyon/moodle 2018-10-26 10:21:43 +02:00
Damyon Wiese
cfd390ee94 MDL-63765 behat: Fix behat tests opening a menu
If javascript is disabled, we don't need to open the menus at all. If it is enabled
we should use the custom step where possible.

In some tests (user profile) we have to use link_or_button because
the element that opens the menu will be a link or a button in different themes.
2018-10-26 16:14:41 +08:00