20588 Commits

Author SHA1 Message Date
Juan Leyva
df3d877656 MDL-63832 assign: Check current user can view submission 2018-11-14 16:53:34 +01:00
Dan Marsden
93bddb2734 MDL-63953 mod_scorm: Use correct value for first attempt. 2018-11-12 09:51:15 +13:00
Jun Pataleta
1d2adca39b Merge branch 'MDL-63924-master' of git://github.com/andrewnicols/moodle 2018-11-09 11:57:38 +08:00
Andrew Nicols
c96cd71102 MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:26:18 +08:00
Jun Pataleta
134f262ee3 Merge branch 'master_MDL-63800' of https://github.com/danmarsden/moodle 2018-11-07 15:27:27 +08:00
Dan Marsden
e6a93dc215 MDL-63800 mod_assign: don't show grade if not set. 2018-11-06 10:04:15 +13:00
Andrew Nicols
19716edd9c Merge branch 'MDL-63689-master-workshopprivacy' of git://github.com/mudrd8mz/moodle 2018-11-05 14:54:09 +08:00
Andrew Nicols
5b2856864d Merge branch 'MDL-63564-master' of git://github.com/mihailges/moodle 2018-11-05 12:57:48 +08:00
Shamim Rezaie
6cd2de3ceb MDL-63564 mod_quiz: Added delete_quizaccess_data_for_users to polyfill
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:04:25 +08:00
Shamim Rezaie
0db66dcf5d MDL-63564 mod_quiz: support removal of multiple users in a context
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:04:23 +08:00
Shamim Rezaie
92d26b3940 MDL-63564 mod_quiz: Added quizaccess_user_provider interface
This issue is a part of the MDL-62560 Epic.
2018-11-02 13:56:02 +08:00
Andrew Nicols
f8e364e31a Merge branch 'MDL-63422' of git://github.com/stronk7/moodle 2018-11-02 08:22:33 +08:00
Andrew Nicols
bdccab4769 Merge branch 'MDL-63816-master' of git://github.com/mickhawkins/moodle 2018-11-02 08:00:32 +08:00
Jun Pataleta
3beb545baf Merge branch 'MDL-63826' of git://github.com/stronk7/moodle 2018-11-01 09:28:45 +08:00
Eloy Lafuente (stronk7)
9c0e123af0 MDL-63826 tests: Don't rely on random array keys for testing 2018-11-01 00:28:35 +01:00
Andrew Nicols
7b70c6bc48 Merge branch 'm36_MDL-63727_Wrong_SCO_Launched_Link' of https://github.com/scara/moodle 2018-11-01 07:01:13 +08:00
Matteo Scaramuccia
f9df004724 MDL-63727 mod_scorm: Fixed typo in test_launch_sco() 2018-10-31 21:47:45 +01:00
Davo Smith
54a5cc6187 MDL-63727 mod_scorm: fix typo in sco_launched URL 2018-10-31 21:39:34 +01:00
Jun Pataleta
52d575b396 Merge branch 'MDL-63820' of git://github.com/albertgasset/moodle 2018-10-31 16:01:40 +08:00
Michael Hawkins
b16a3388bb MDL-63816 privacy: Corrected provider get_users_in_context descriptions 2018-10-31 12:13:30 +08:00
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)
4ea6f848fa NOBUG: Fixed file access permissions 2018-10-30 18:24:14 +01:00
Albert Gasset
577fdc3438 MDL-63820 assignfeedback_comments: Implement get_file_areas 2018-10-30 15:25:58 +01:00
David Mudrák
6c999842af MDL-63689 workshop: Add support for removal of multiple context users
The mod_workshop\privacy\provider now implements the new
core_userlist_provider interface. Deleting (erasing) data follows the
same principles as in other existing methods - we do not actually delete
data that might affect other users. Instead, we only erase the sensitive
owned personal information such as provided content.
2018-10-30 14:29:40 +01: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
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
Eloy Lafuente (stronk7)
f3d80b483b Merge branch 'MDL-63730-master-enfix' of git://github.com/mudrd8mz/moodle 2018-10-29 13:23:53 +01:00
Andrew Nicols
89689e64f4 Merge branch 'MDL-40695-master' of https://github.com/HuongNV13/moodle 2018-10-29 12:28:58 +08:00
Andrew Nicols
65c0e336b1 Merge branch 'MDL-63665-master' of git://github.com/rezaies/moodle 2018-10-29 08:42:50 +08: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
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
Shamim Rezaie
8839feb90e MDL-63665 mod_choice: no exception when course_modules doesn't exist
This issue is a part of the MDL-62560 Epic.
2018-10-26 18:48:10 +11:00
Shamim Rezaie
b96446f3af MDL-63665 mod_choice: support removal of multiple users in a context
This issue is a part of the MDL-62560 Epic.
2018-10-26 18:48:02 +11:00
Andrew Nicols
fbf4eaeec0 Merge branch 'MDL-63679-master' of git://github.com/mihailges/moodle 2018-10-25 15:12:50 +08:00
Andrew Nicols
c31ac0f5e2 Merge branch 'MDL-63678-master' of git://github.com/mihailges/moodle 2018-10-25 15:11:30 +08:00
Mihail Geshoski
cc2b9d6683 MDL-63679 ltiservice_memberships: Support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-23 13:33:48 +08:00
Mihail Geshoski
0c088088de MDL-63678 ltiservice_gradebookservices: Support removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-23 13:04:30 +08:00
David Monllao
72e72dd93f Merge branch 'MDL-61391-master' of git://github.com/damyon/moodle 2018-10-22 16:50:47 +02:00
David Monllao
64a00dffbd Merge branch 'MDL-61388-master' of git://github.com/damyon/moodle 2018-10-22 16:48:56 +02:00
David Monllao
57846fd010 Merge branch 'MDL-61052-master' of git://github.com/damyon/moodle 2018-10-22 14:36:23 +02:00
David Monllao
f7642bebc5 Merge branch 'MDL-62560-master' 2018-10-22 12:52:58 +02:00
Michael Hawkins
e9ebae7e2a MDL-63514 mod_wiki: Add support for removal of context users
This issue is a part of the MDL-62560 Epic.
2018-10-22 12:48:35 +02:00
Michael Hawkins
bd0b6d8693 MDL-63510 mod_survey: Add support for removal of context users
This issue is a part of the MDL-62560 Epic.
2018-10-22 12:48:34 +02:00