Commit graph

20598 commits

Author SHA1 Message Date
Jake Dallimore
061db30ef7 Merge branch 'MDL-63147-35' of git://github.com/peterRd/moodle into MOODLE_35_STABLE 2018-12-12 08:25:43 +08:00
Peter
91ef3d2e40 MDL-63145 mod_page: Accept userid param as override
Accept a userid as an override in the lib function instead of
relying on $USER
2018-12-12 07:31:59 +08:00
Peter
07baf8e940 MDL-63150 mod_url: Accept a userid override in event action
Accept a userid in the event action instead of depending on $USER
2018-12-12 07:18:28 +08:00
Peter
5362c6f185 MDL-63147 mod_resource: Accept userid in resource event_action 2018-12-12 07:08:13 +08:00
Mark Nelson
551975b2ac MDL-64357 ltiservice_gradebookservices: updated unit tests 2018-12-11 17:03:26 +08:00
Claude Vervoort
111998407c MDL-64357 ltiservice_gradebookservices: fix cleanup deleting lineitems 2018-12-11 17:03:26 +08:00
Damyon Wiese
7afbae7e1a MDL-64313 assign: feedback viewed event
When a student views their submission, if it has feedback create an event.
2018-12-11 14:07:23 +08:00
Tim Hunt
6a58779607 MDL-46783 permissions: let some moodle/ caps be overriden in all mods
The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to
'contextlevel' => CONTEXT_MODULE) are:

* moodle/site:accessallgroups
* moodle/site:viewfullnames
* moodle/site:trustcontent
* moodle/site:viewuseridentity

This list came from reviewing the _get_extra_capabilities functions in
all core activities. They were all somewhat inconsistent, but I think it
makes sense that these capabilities are consistently overridable in all
activities. E.g. moodle/site:accessallgroups affects conditional
availability even if there is no other user of groups, and
moodle/site:viewuseridentity and moodle/site:viewfullnames affect the
logs report, if nothing else.

As a result of this, several _get_extra_capabilities functions are no
longer needed, and all the rest have been simplified.
2018-12-04 18:01:29 +00:00
Eloy Lafuente (stronk7)
b9c412be9f Merge branch 'MDL-62988_35' of git://github.com/markn86/moodle into MOODLE_35_STABLE 2018-11-22 23:16:06 +01:00
Cory Buecker
0a39efd896 MDL-62988 LTI provider: fix missing info. for LTI 2.X tool provider
Fixes missing capabilities (user information) when membership service is called
from a LTI 2.X tool provider.
2018-11-22 12:27:07 +08:00
Davo Smith
e35c7c2c50 MDL-63798 mod_assign: fix restore when group is missing 2018-11-21 08:02:47 +00:00
David Monllao
3955dde284 Merge branch 'MDL-63394-35' of git://github.com/jleyva/moodle into MOODLE_35_STABLE 2018-11-20 10:34:09 +01:00
Juan Leyva
d55565066c MDL-63394 mod_quiz: Do not fail overdue if there is a grace period 2018-11-20 09:27:40 +01:00
Helen Foster
cac9d8d665 MDL-63976 lang: Merge English strings from the en_fix language pack 2018-11-19 19:21:59 +01:00
Juan Leyva
d6b498f6ae MDL-62668 mod_workshop: Return feedback for reviewer in assessment phase
Teachers were not able to view the existing feedback.
2018-11-16 15:49:18 +01:00
Jun Pataleta
2ca939b838 Merge branch 'MDL-63832-35' of git://github.com/jleyva/moodle into MOODLE_35_STABLE 2018-11-15 23:11:55 +08:00
Juan Leyva
1978e7205d MDL-63832 assign: Check current user can view submission 2018-11-14 16:54:17 +01:00
Dan Marsden
6dae57a102 MDL-63953 mod_scorm: Use correct value for first attempt. 2018-11-12 10:06:39 +13:00
Jun Pataleta
3af336b41a Merge branch 'MDL-63924-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-11-09 11:57:31 +08:00
Andrew Nicols
a07e8d7023 MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:27:22 +08:00
Jun Pataleta
1523c8bc6f Merge branch 'm35_MDL-63800' of https://github.com/danmarsden/moodle into MOODLE_35_STABLE 2018-11-07 15:28:07 +08:00
Dan Marsden
4aa5cee144 MDL-63800 mod_assign: don't show grade if not set. 2018-11-06 10:04:54 +13:00
Andrew Nicols
d906136aa5 Merge branch 'MDL-63689-35-workshopprivacy' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE 2018-11-05 15:00:40 +08:00
Andrew Nicols
ea321f34c4 Merge branch 'MDL-63564-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-11-05 13:21:33 +08:00
Shamim Rezaie
2a34d4b3fd 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:40:38 +08:00
Shamim Rezaie
e1dca20127 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:40:37 +08:00
Shamim Rezaie
73b5e30559 MDL-63564 mod_quiz: Added quizaccess_user_provider interface
This issue is a part of the MDL-62560 Epic.
2018-11-02 14:40:37 +08:00
Andrew Nicols
6404971918 Merge branch 'MDL-63816-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2018-11-02 08:00:49 +08:00
Jun Pataleta
bbb9ffb0c1 Merge branch 'MDL-63826_35' of git://github.com/stronk7/moodle into MOODLE_35_STABLE 2018-11-01 09:28:30 +08:00
Eloy Lafuente (stronk7)
e882740a56 MDL-63826 tests: Don't rely on random array keys for testing 2018-11-01 00:35:21 +01:00
Matteo Scaramuccia
b193f7754d MDL-63727 mod_scorm: Fixed typo in test_launch_sco() 2018-10-31 22:42:06 +01:00
Davo Smith
73c8d34ab8 MDL-63727 mod_scorm: fix typo in sco_launched URL 2018-10-31 22:42:05 +01:00
Michael Hawkins
a25222e9c4 MDL-63816 privacy: Corrected provider get_users_in_context descriptions 2018-10-31 12:14:43 +08:00
David Mudrák
5171746d5a 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:31:49 +01:00
Andrew Nicols
a7b6eaa544 Merge branch 'MDL-63626-35' of git://github.com/rezaies/moodle into MOODLE_35_STABLE 2018-10-30 10:59:28 +08:00
Jun Pataleta
831b2f6729 Merge branch 'MDL-63531-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-10-30 10:50:46 +08:00
Adrian Greeve
e2f9bdd44b 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
707586883b 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
f5029c213a 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
5e0b16e369 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 08:47:41 +08:00
Eloy Lafuente (stronk7)
7b9e3e0336 Merge branch 'MDL-63730-35-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE 2018-10-29 13:20:24 +01:00
Andrew Nicols
a32ea64a88 Merge branch 'MDL-63665-35' of git://github.com/rezaies/moodle into MOODLE_35_STABLE 2018-10-29 08:57:04 +08:00
Adrian Greeve
9383ee853c MDL-63267 mod_assign: Update to providers to include adv grading. 2018-10-26 18:25:46 -04:00
Helen Foster
8757d7cb6b 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
* auth_dbtype, auth_db - fixed broken link
2018-10-26 13:40:07 +02:00
Eloy Lafuente (stronk7)
5b8e3123a9 Merge branch 'MDL-63765-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2018-10-26 10:22:36 +02:00
Damyon Wiese
eaf9da10ad 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:12:00 +08:00
Shamim Rezaie
0f9997a4ec 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:49:35 +11:00
Shamim Rezaie
591b16786c 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:49:35 +11:00
Andrew Nicols
497d75ae71 Merge branch 'MDL-63679-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-25 15:13:15 +08:00
Andrew Nicols
b9c01f1f70 Merge branch 'MDL-63678-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2018-10-25 15:11:53 +08:00