13095 Commits

Author SHA1 Message Date
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
Andrew Nicols
2b32b1fea8 Merge branch 'MDL-61394-master' of git://git.cameron1729.xyz/moodle 2018-02-22 08:30:53 +08:00
Cameron Ball
4658220b2d
MDL-61394 Administration: Add experimental feature to use SassC 2018-02-19 14:39:11 +08:00
Simey Lameze
34cd75240e MDL-61444 question: add question tagmine and tagall capabilities 2018-02-19 14:21:45 +08:00
sam marshall
4359ef18bb MDL-58885 core_search: Add group support
Adds group support to the core search API and the Solr search engine.
This allows for:

* User searching by group (in the API only, no interface yet)
* Automatically restrict search results by group (in some cases like
  separate-groups forums)
2018-02-16 16:57:00 +00:00
David Monllao
4b140685ad Merge branch 'MDL-45837_master' of git://github.com/markn86/moodle 2018-02-13 07:48:16 +01:00
Andrew Nicols
1e41e6ddd9 Merge branch 'MDL-61135-master' of git://github.com/ryanwyllie/moodle 2018-02-12 11:34:56 +08:00
Stephen Bourget
31647f0cc9 MDL-45837 Grades: Add events for grade letters 2018-02-09 11:41:38 +08:00
Stephen Bourget
2f3b709859 MDL-45837 Grades: Add events for scales 2018-02-09 11:41:38 +08:00
Ryan Wyllie
031a275288 MDL-61135 question: add tag filter condition 2018-02-08 02:44:16 +00:00
David Monllao
d3e54578ea Merge branch 'MDL-52811_prevent_forcelang' of git://github.com/davosmith/moodle 2018-02-06 08:00:11 +01:00
Andrew Nicols
e742f93303 Merge branch 'MDL-61132-master' of git://github.com/rezaies/moodle 2018-02-06 14:33:41 +08:00
Andrew Nicols
5d7d0457d2 Merge branch 'MDL-61133-master' of git://github.com/lameze/moodle 2018-02-06 14:00:51 +08:00
Simey Lameze
fd5e2ead95 MDL-61133 core_question: add new question tags modal 2018-02-06 10:09:10 +08:00
David Monllao
69b4a73de8 Merge branch 'MDL-61251-master' of https://github.com/lucaboesch/moodle 2018-02-05 11:50:39 +01:00
David Monllao
1cc79637c7 Merge branch 'MDL-42764_master' of git://github.com/markn86/moodle 2018-02-05 11:18:34 +01:00
Shamim Rezaie
8df402e401 MDL-61132 Questions: Adapt logic on backup/restore
Modifying backup/restore to adapt with "Top" categories.
2018-02-05 11:58:57 +11:00
Shamim Rezaie
9275220de3 MDL-61132 Questions: Question Bank amendments to cope with Top category
* Display "Top" categories in the category filter when listing questions in the question bank
* Prevent editing "Top" categories
* Prevent deleting "Top" categories
2018-02-05 11:58:52 +11:00
Luca Bösch
1477e62936 MDL-61251 admin: configenablerssfeedsdisabled2 string more correct. 2018-02-01 22:59:33 +01:00
Yair Spielmann
ecce451878 MDL-52811 course: Require course:setforcedlanguage to force language. 2018-02-01 17:06:57 +00:00
Mark Nelson
b02295039e MDL-42764 core: added missing string definition
Also changed the string index so it was not
vague. The index 'emailempty' appears as if it
could belong to a validation method for a form.
2018-01-29 19:07:57 +08:00
Luca Bösch
916a72bb51 MDL-37190 blocks: Block name label consistency
AMOS BEGIN
    MOV [blocktitle,blog],[configtitle,block_blog_tags]
   AMOS END
2018-01-29 09:43:30 +01:00
Eloy Lafuente (stronk7)
b0bb30e2e7 Merge branch 'MDL-61224_master' of git://github.com/markn86/moodle 2018-01-22 01:22:22 +01:00
Mark Nelson
e4d9eff640 MDL-61224 core_role: prevent short name from exceeding 100 chars 2018-01-16 18:14:42 +08:00
Eloy Lafuente (stronk7)
b3b79085e6 Merge branch 'MDL-51885-master' of git://github.com/ankitagarwal/moodle 2018-01-15 19:09:52 +01:00
Adrian Greeve
f1d1a60e0a MDL-61131 repositories: Added a key to verify incoming urls. 2018-01-09 11:34:37 +01:00