20619 Commits

Author SHA1 Message Date
Michael Hawkins
418831e096 MDL-64240 mod_forum: Clean forum post text before storing
Previously only edited messages were cleaned, so longer strings could
be stored in the database, which would never be displayed.
This update takes into account trusted text before cleaning (as editing does).
2018-12-18 14:10:43 +08:00
Michael Hawkins
b6995c29ec MDL-64240 mod_forum: Update word count to use current message length
Previously this used the length of the message stored in the database,
before scripts etc are cleaned to display the content. That resulted
in cases where the count would seem much larger than the message size.
2018-12-18 14:10:43 +08:00
Jake Dallimore
f9479eb8ca Merge branch 'MDL-63150-master' of git://github.com/peterRd/moodle 2018-12-12 08:32:16 +08:00
Jake Dallimore
909654806f Merge branch 'MDL-63145-master' of git://github.com/peterRd/moodle 2018-12-12 08:29:40 +08:00
Jake Dallimore
fb029c996b Merge branch 'MDL-63147-master' of git://github.com/peterRd/moodle 2018-12-12 08:25:02 +08:00
Peter
73a8110d3a 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:25:35 +08:00
Peter
dcb7662ee7 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:13:09 +08:00
Peter
3ff8068fc5 MDL-63147 mod_resource: Accept userid in resource event_action 2018-12-12 07:06:53 +08: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
Eloy Lafuente (stronk7)
78fd9a2b53 Merge branch 'MDL-62988_master' of git://github.com/markn86/moodle 2018-11-22 23:15:54 +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)
70abb41263 Merge branch 'MDL-63798_assign_restore_groups' of git://github.com/davosmith/moodle 2018-11-21 16:05:32 +01:00
Davo Smith
b5f63b1e90 MDL-63798 mod_assign: fix restore when group is missing 2018-11-21 07:58:11 +00:00
Mark Nelson
4f95f92edc MDL-63591 assignfeedback_comments: fix privacy provider file URLs 2018-11-21 14:38:13 +08:00
Eloy Lafuente (stronk7)
16d4f75b26 Merge branch 'MDL-63976-master-enfix' of git://github.com/mudrd8mz/moodle 2018-11-19 22:17:44 +01:00
David Monllao
9af8b0aef1 Merge branch 'MDL-63394-master' of git://github.com/jleyva/moodle 2018-11-19 19:42:06 +01:00
Helen Foster
cd492e2ea5 MDL-63976 lang: Merge English strings from the en_fix language pack
Significant string changes:

* courseoverviewfiles, courseoverviewfiles_help, courseoverviewfilesext
  in core, configcourseoverviewfilesext, configcourseoverviewfileslimit
  in core_admin, areacourseoverviewfiles in core_repository - renaming
  of 'Course summary files' to 'Course image'
2018-11-19 19:17:52 +01:00
Simey Lameze
62b6e6f20d MDL-63468 mod_quiz: fix stats report visual style 2018-11-19 10:16:16 +08:00
Eloy Lafuente (stronk7)
6905c1c3fe MDL-64066 behat: more fixes to dialog names, old "add" steps 2018-11-17 12:10:37 +01:00
Juan Leyva
904c37c6c8 MDL-63394 mod_quiz: Do not fail overdue if there is a grace period 2018-11-16 16:56:40 +01:00
Eloy Lafuente (stronk7)
246149f059 Merge branch 'MDL-53035-master' of git://github.com/vmdef/moodle 2018-11-16 00:35:33 +01:00
Jun Pataleta
b51b0c6682 Merge branch 'MDL-63832-master' of git://github.com/jleyva/moodle 2018-11-15 23:12:14 +08:00
Andrew Nicols
705003beae MDL-63303 behat: Behat fixes 2018-11-15 16:26:16 +08:00
Juan Leyva
df3d877656 MDL-63832 assign: Check current user can view submission 2018-11-14 16:53:34 +01:00
Eloy Lafuente (stronk7)
d27e49448f Merge branch 'MDL-53566-master' of git://github.com/andrewnicols/moodle 2018-11-13 23:55:38 +01:00
Andrew Nicols
4ba4bc9acd MDL-53566 mod_forum: Correct captype for writeable capabilities 2018-11-13 21:17:40 +08: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
Víctor Déniz Falcón
e26d40e343 MDL-53035 mod_assign: add course_module_viewed event 2018-11-08 09:54:55 +00: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