13121 Commits

Author SHA1 Message Date
Andrew Nicols
5cddf50e69 Merge branch 'wip-MDL-61663-master' of git://github.com/abgreeve/moodle 2018-04-17 11:45:50 +08:00
David Monllao
77d9eca5f2 Merge branch 'MDL-61819-master' of git://github.com/andrewnicols/moodle 2018-04-16 16:12:59 +02:00
Andrew Nicols
5377f8a263 MDL-61819 core_editor: Implement core provider 2018-04-16 21:54:51 +08:00
Jake Dallimore
e6f06ce994 MDL-61663 core_portfolio: add subsystem privacy provider
Added provider for portfolio plugins, and legacy polyfill for plugins.
2018-04-13 14:47:40 +08:00
Luca Bösch
c3c8cc40be MDL-39035 admin: show old and new version after upgrade in CLI 2018-04-12 18:02:12 +02:00
Ruslan Kabalin
bd74bda383 MDL-50907 antivirus: Implement data stream scanning default process. 2018-04-12 10:30:25 +08:00
Ruslan Kabalin
8504673116 MDL-50907 antivirus: Make antivirus_exception message more general.
Since the scan can be run not only as a result of file uploading, the
language string should be more general.
2018-04-12 10:30:25 +08:00
Eloy Lafuente (stronk7)
d2706c5e58 Merge branch 'MDL-60940-master-forceclean' of git://github.com/mudrd8mz/moodle 2018-04-11 19:39:01 +02:00
David Monllao
728b851eb5 Merge branch 'MDL-55491-master' of git://github.com/sarjona/moodle 2018-04-11 17:53:37 +02:00
David Mudrák
4b82c15cdb MDL-60940 weblib: Introduce an ability to force cleaning of all content
The new configuration flag $CFG->forceclean overrides the noclean
option when calling format_text() so that the text is always
and unconditionally cleaned.
2018-04-11 10:23:45 +02:00
Jake Dallimore
da16e3e3dc Merge branch 'MDL-61255_master' of git://github.com/markn86/moodle 2018-04-11 09:53:14 +08:00
Eloy Lafuente (stronk7)
2f27dca60d Merge branch 'MDL-60548-master-v4' of https://github.com/Dave-B/moodle 2018-04-10 17:14:46 +02:00
Mark Nelson
23de6f3a2d MDL-61255 core_message: add warning when notifications not migrated 2018-04-10 17:28:52 +08:00
Mark Nelson
7022b8d9e4 MDL-61255 core_message: add notification when data not migrated 2018-04-10 15:17:01 +08:00
Eloy Lafuente (stronk7)
cb03034466 Merge branch 'MDL-61861-master' of git://github.com/andrewnicols/moodle 2018-04-09 20:23:49 +02:00
Stephen Bourget
75653a3068 MDL-55491 badges: Add cohort as badge criteria 2018-04-09 11:03:30 +02:00
Eugene Venter
abc07b53a7 MDL-55491 badges: Add cohort as badge criteria
commissioned by NZ Customs Service
2018-04-09 10:23:50 +02:00
Andrew Nicols
d607cdd782 Merge branch 'MDL-61601-master' of git://github.com/sarjona/moodle 2018-04-09 09:38:21 +08:00
Jake Dallimore
d67991f15a MDL-59581 database: remove mssql strings from install.php 2018-04-09 01:59:57 +02:00
Sara Arjona
88cb8b781d MDL-61601 cohort: Add theme support for cohorts
If enabled $CFG->allowcohortthemes, then themes can be set at the cohort level.
This will affect all users with only one cohort or more than one but with the same theme.
The default theme order will be: course, category, session, user, cohort, site.
2018-04-06 08:28:01 +02:00
Andrew Nicols
cba5d8f1de MDL-61861 core_tag: Correct langstring identifier 2018-04-06 09:25:54 +08:00
Eloy Lafuente (stronk7)
2b9e3510f8 Merge branch 'MDL-61076-master' of https://github.com/sammarshallou/moodle 2018-04-05 02:09:31 +02:00
Andrew Nicols
0e25774762 Merge branch 'MDL-61183-master' of git://github.com/farhan6318/moodle 2018-04-04 11:00:07 +08:00
Farhan Karmali
6afa07edd1 MDL-61183 user: Added total participants count on paricipants page 2018-04-04 07:56:38 +05:30
sam marshall
9a53cdb0fc MDL-61076 core_search: Require confirmation for search areas actions
The search areas screen contains several options which are potentially
risky for a live site but can be triggered by accidentally clicking a
single button or link.

This change adds a confirmation prompt for all these options.

The enable/disable search area icon does not have a confirmation
prompt because this is nondestructive (you can just click the icon
again to change it back).
2018-03-29 17:41:01 +01:00
sam marshall
40aa5fe9ab MDL-61256 core_search: Support search of section titles, summaries 2018-03-29 17:38:36 +01:00
Mark Nelson
376a79c242 MDL-36941 core: added events for notifications 2018-03-23 12:30:27 +08:00
Jake Dallimore
9a2bf09d19 Merge branch 'MDL-59434-master' of https://github.com/sammarshallou/moodle 2018-03-21 10:00:47 +08:00
Eloy Lafuente (stronk7)
4dca6ab54d Merge branch 'MDL-61589-master' of git://github.com/rezaies/moodle 2018-03-21 00:21:24 +01:00
sam marshall
fc440796e9 MDL-59434 core_search: Alternate result orders including by context
Implements a mechanism by which search engines can provide different
result orderings, and implements a 'by location' ordering within the
Solr search engine (available whenever the user starts their search
from within a course or activity).
2018-03-20 12:15:25 +00:00
Martin Gauk
c4172077df MDL-61519 calendar: do not iterate through all categories
Replace calls to \coursecat::get_all() or cache the results.
2018-03-16 14:30:55 +00:00
Shamim Rezaie
c185e4fe21 MDL-61589 Questions: Top question category naming improvement
Display the context name next to the top question category name.
2018-03-15 18:47:25 +11:00
Marina Glancy
1727c939ba MDL-61477 admin: sitepolicy handler API
- Define sitepolicy handler manager class, base class and the core handler
- Allow to set a plugin as sitepolicyhandler that implements the sitepolicy API
- Modify web services to return information from the 3rd party handler instead of core if needed
2018-03-15 11:32:55 +08:00
David Mudrák
0bdc578567 MDL-61477 admin: Allow plugins to act as alternate policy handlers
The patch introduces a new site setting 'sitepolicyhandler' that can be
either empty or contain a plugin component name. If it is empty, the
site policy feature keeps working as before and the core keeps the
control over it.

If a plugin is specified, it is expected to implement the callback
'site_policy_handler' in its lib.php file. The callback should return a
URL to a script where the user can accept the site policies. The plugin
itself is responsible for setting the 'policyagreed' flag in the users
table. The callback may return an empty value, in which case the user
can continue using the site without being redirected.

The patch adds support for a new pre-config flag NO_SITEPOLICY_CHECK.
This constant should be defined and set to true if we should not check
the user's policyagreed status during the require_login().

This is for pages where the user actually accepts the site policies and
helps to avoid the redirect loop.
2018-03-15 09:31:41 +08:00
Eloy Lafuente (stronk7)
e43977e2d9 Merge branch 'MDL-61307-master' of git://github.com/andrewnicols/moodle 2018-03-13 03:18:09 +01:00
Andrew Nicols
801116a502 MDL-61307 core: Language changes 2018-03-13 09:42:11 +08:00
Eloy Lafuente (stronk7)
c3cb1ea063 Merge branch 'MDL-48501-master' of git://github.com/jswebster/moodle 2018-03-13 01:55:41 +01:00
Andrew Nicols
a235a6e02d MDL-61307 core_plagiarism: Add implementation of Privacy API 2018-03-09 12:24:38 +08:00
Adrian Greeve
5be028ab82 MDL-61307 core_comment: Add implementation of privacy API 2018-03-09 12:24:38 +08:00
Andrew Nicols
cbc6325253 MDL-61307 core_rating: Add implementation of Privacy API 2018-03-09 12:24:38 +08:00
Andrew Nicols
bd9139463d MDL-61307 core_tag: Add implementation of privacy API 2018-03-09 12:24:37 +08:00
Andrew Nicols
d49f9f280d MDL-61307 core_privacy: Implementation of itself 2018-03-09 12:24:37 +08:00
Andrew Nicols
dcc16e155d MDL-61307 core: Define a new privacy component 2018-03-09 09:59:36 +08:00
Jeff Webster
caae082025 MDL-48501 recaptchalib_v2: add new lib to support reCAPTCHA v2 2018-03-08 14:48:35 -05:00
Jeff Webster
85ef1adbd0 MDL-48501 lang: update reCAPTCHA language strings 2018-03-08 14:48:35 -05:00
Andrew Nicols
1e9016d8d8 Merge branch 'MDL-61423-master' of git://github.com/mihailges/moodle 2018-03-08 15:26:30 +08:00
Mihail Geshoski
25dbbdf90b MDL-61423 authentication: Add digital minor verification upon signup 2018-03-08 15:01:25 +08:00
Ryan Wyllie
081eb156c5 MDL-61363 question: add course context tagging 2018-03-07 10:31:47 +08:00
Helen Foster
ad5b7d26e7 MDL-61533 lang: Merge English strings from the en_fix language pack
Significant string change:

* typeoflogin_desc,tool_mobile - removing sentence about autologinguests
* gradepublishing_help, core_grades - updated explanation mentioning the
  manager role and grade export publishing settings
2018-03-01 17:17:16 +01:00
Eloy Lafuente (stronk7)
59462743e6 Merge branch 'MDL-58885-master' of https://github.com/sammarshallou/moodle 2018-02-22 08:30:57 +08:00