637 Commits

Author SHA1 Message Date
Adrian Greeve
e3dd580980 Merge branch 'MDL-63144-master' of git://github.com/rezaies/moodle 2019-03-19 11:24:32 +08:00
Shamim Rezaie
58182fa833 MDL-63144 mod_lti: Add userid param to mod_lti calendar callbacks 2019-03-07 17:48:17 +11:00
Shamim Rezaie
70e7f3b9ba MDL-63144 mod_lti: Check if the module is visible to the user 2019-03-07 17:38:01 +11:00
Eloy Lafuente (stronk7)
8ab1bd2f5e Merge branch 'MDL-64943-master-enfix' of git://github.com/mudrd8mz/moodle 2019-03-05 11:08:32 +01:00
Helen Foster
38dc5b9677 MDL-64943 lang: Import fixed English strings (en_fix)
Significant string changes:

* importgroups_help,core_group - Correcting optional fieldnames
  (removing picture, hidepicture and adding groupidnumber, groupingname
  and enablemessaging)

* penaltyforeachincorrecttry_help,core_question - additional paragraph
  about scoring logic

* resultdownloadready,tool_dataprivacy - wording corrected (no need to
  go to a download page)

* auth_dbfielduser,auth_db - varchar data type requirement
2019-02-28 09:50:18 +01:00
Damyon Wiese
40fe153816 MDL-64878 grades: Update delete_instance
When grades are deleted, it needs to know the context so any files
in the gradebook can be deleted. This means module delete_instance
functions must delete the grade_item before they delete the module record.
2019-02-27 10:37:54 +08:00
Claude Vervoort
25ad68293c MDL-64730 LTI Adv: do not ignore 0 score 2019-01-30 16:18:22 -05:00
Eloy Lafuente (stronk7)
a12207be25 MDL-63276 upgrade: clean < 3.2.0 upgrade steps
3.7 (min PHP 7.1) requires 3.2 (first version supporting PHP 7.1)

This just deletes all the upgrade steps previous to 3.2.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2016120500 (v3.2.0) as anti-cheating measure.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase. (note there isn't any this time).
2019-01-03 01:17:17 +01:00
Jake Dallimore
85b0a914f0 Merge branch 'MDL-64357_master' of git://github.com/markn86/moodle 2018-12-11 17:43:59 +08:00
Mark Nelson
e56eb26aec MDL-64357 ltiservice_gradebookservices: updated unit tests 2018-12-11 17:02:40 +08:00
Claude Vervoort
9d6f9d1d47 MDL-64357 ltiservice_gradebookservices: fix cleanup deleting lineitems 2018-12-11 14:22:49 +08:00
Tim Hunt
939218c2b6 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-05 16:44:25 +00:00
Eloy Lafuente (stronk7)
f47c8f3525 MDL-64300 upgrade: add 3.6.0 separation line to all upgrade scripts 2018-12-02 18:36:40 +01:00
Eloy Lafuente (stronk7)
085353b315 MDL-64282 versions: bump all versions and requires near release
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Cory Buecker
c30a2c9903 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:26:22 +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
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
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
Michael Hawkins
3b0a3604dc MDL-63498 mod_lti: Add support for removal of context users
This issue is part of the MDL-62560 Epic.
2018-10-22 12:48:25 +02:00
Dmitrii Metelkin
f9ec2496f8 MDL-51969 mod_lti: Fixed missing tool proxy GUID 2018-10-05 15:14:15 +10:00
Helen Foster
24a29d720c MDL-63249 lang: Merge English strings from the en_fix language pack
Significant string changes:

* completionpass_help, gradetopassnotset in mod_quiz - grade to pass set
  in quiz settings not gradebook
* namecolumnmissing,core_cohort - fixing incorrect message about adding
  users to a cohort
2018-09-04 08:40:48 +02:00
Andrew Nicols
9adf5f0595 Merge branch 'MDL-57281-master' of https://github.com/vmdef/moodle 2018-08-21 10:49:10 +08:00
Víctor Déniz Falcón
02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Stephen Vickers
1272a926d5
MDL-63176 enrol_lti: Add $COURSE to global
Ensure that capabilities using $COURSE can be parsed.
2018-08-16 22:41:57 +01:00
Andrew Nicols
1718a59ee2 Merge branch 'MDL-62993_master' of git://github.com/markn86/moodle 2018-08-08 13:10:41 +08:00
Claude Vervoort
29acede1f0 MDL-62993 ltiservice_memberships: make message an array per spec
Also added resultSourcedId to member for BC.
2018-07-30 10:05:46 +08:00
Cory Buecker
520c5e080b MDL-62969 mod_lti: fix parsed value for LtiLink.memberships.url
Fixes a typo in the function that replaces the LTI placeholder variable
LtiLink.memberships.url with the actual endpoint. Without this change,
the placeholder variable, "$LtiLink.memberships.url" is not replaced in
the LTI launch parameters.
2018-07-25 11:59:36 +08:00
Andrew Nicols
affd85ce24 Merge branch 'MDL-53697-master' of git://github.com/abgreeve/moodle 2018-07-17 11:36:44 +08:00
Adrian Greeve
4bebed4011 MDL-53697 mod: Final deprecation of xxx_get_types(). 2018-07-12 10:19:09 +08:00
Helen Foster
9722f6a25e MDL-62763 lang: Merge English strings from the en_fix language pack
Significant string changes:

* various strings in tool_dataprivacy and tool_policy - 'Data Protection
  Officer' changed to 'privacy officer'
* idnumbermod_help,core - mentioning resource and custom reporting
2018-07-02 11:15:26 +02:00
Eloy Lafuente (stronk7)
00977e984e MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
Mark Nelson
ad7f143897 MDL-62456 mod_lti: add missing add_external_location_link call 2018-05-16 12:22:34 +08:00
Andrew Nicols
7831f2785d Merge branch 'MDL-62428_master' of git://github.com/markn86/moodle 2018-05-15 10:58:45 +08:00
David Monllao
641d878d08 MDL-62430 block_html: Check that block instances are block_html 2018-05-14 17:06:57 +02:00
Marina Glancy
3960ad53a7 MDL-62430 privacy: validate context when deleting all user data 2018-05-14 18:13:27 +08:00
Mark Nelson
8e24041287 MDL-62428 core: fix incorrect early return in privacy providers 2018-05-14 13:06:29 +08:00
Eloy Lafuente (stronk7)
57ea6753d3 MDL-62361 versions: bump all versions and requires near release
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Mark Nelson
3467e8ce3d MDL-61920 mod_lti: implement privacy provider 2018-04-30 18:43:19 +08:00
Mark Nelson
13fadc8767 MDL-61920 ltiservice_toolsettings: implement privacy provider 2018-04-30 17:08:00 +08:00
Mark Nelson
897a6e824f MDL-61920 ltiservice_toolproxy: implement privacy provider 2018-04-30 17:08:00 +08:00
Mark Nelson
583f84d7cb MDL-61920 ltiservice_profile: implement privacy provider 2018-04-30 17:08:00 +08:00
Mark Nelson
03d6e06400 MDL-61920 ltiservice_memberships: implement privacy provider 2018-04-30 17:07:59 +08:00
Mark Nelson
2b3c4538f1 MDL-61920 ltiservice_gradebookservices: implement privacy provider 2018-04-30 17:07:59 +08:00
Helen Foster
970c1a4bf1 MDL-62181 lang: Merge English strings from the en_fix language pack
Significant string changes:

* sitepolicies, core_admin - 'Site policies' changed to 'Site security
  settings'
* processexpirationstask, enrol_paypal - more explanatory name
* sitepolicy_help and sitepolicyguest_help, core_admin - setting will
  only have an effect if the site policy handler is set to default
* sitepolicyhandler_desc,core_admin - improved wording
* pathtodot_help, core_admin - Windows and Mac paths
* debugstringids_desc, core_admin - improved explanation
2018-04-24 22:05:30 +02:00
Andrew Nicols
1b6e378edb MDL-61651 mod_lti: Add missing callback doc 2018-04-24 09:21:51 +08:00
Claude Vervoort
da04fb70fa MDL-61651 mod_lti: cisr lineitem support 2018-04-20 11:22:11 +08:00
Jun Pataleta
1e09c9ac8f Merge branch 'MDL-61708-lti-fullnamedisplay' of https://github.com/wjroes/moodle 2018-04-16 15:29:08 +08:00