Commit graph

77059 commits

Author SHA1 Message Date
Ruslan Kabalin
375223c6db MDL-50887 antivirus: Deprecate functions no longer required.
This also removes abandoned strings that are no longer in use (since
1e23ff2 landed).
2016-02-25 09:55:45 +00:00
Ruslan Kabalin
001feb6649 MDL-50887 antivirus: Refactor antivirus scanning to use new plugin.
This patch moves existing scanning functionality to plugin level. It does
not add anything new, just refactors the existing functionality.

AMOS BEGIN
  MOV [clamemailsubject,core],[emailsubject,antivirus]
  MOV [clamfailed,core],[clamfailed,antivirus_clamav]
  MOV [clamlost,core],[invalidpathtoclam,antivirus_clamav]
  MOV [clamunknownerror,core],[unknownerror,antivirus_clamav]
  MOV [virusfounduser,core],[virusfounduser,antivirus]
AMOS END
2016-02-25 09:55:45 +00:00
Ruslan Kabalin
1a1d249a70 MDL-50887 antivirus_clamav: Implement file scanning functionality.
This also removes runclamonupload config setting. It is implied that files
will be scanned if plugin is enabled, no need to have a separate setting.

In addition to that, some language strings are updated. It is 'ClamAV', not
'clam AV' (see http://www.clamav.net/index.html).
2016-02-25 09:55:45 +00:00
Ruslan Kabalin
7d19e0e33d MDL-50887 antivirus_clamav: Move global clamav settings to plugin level.
AMOS BEGIN
 MOV [clamfailureonupload,core],[clamfailureonupload,antivirus_clamav]
 MOV [configclamactlikevirus,core],[configclamactlikevirus,antivirus_clamav]
 MOV [configclamdonothing,core],[configclamdonothing,antivirus_clamav]
 MOV [configclamfailureonupload,core],[configclamfailureonupload,antivirus_clamav]
 MOV [configpathtoclam,core],[configpathtoclam,antivirus_clamav]
 MOV [configquarantinedir,core],[configquarantinedir,antivirus_clamav]
 MOV [configrunclamavonupload,core],[configrunclamavonupload,antivirus_clamav]
 MOV [pathtoclam,core],[pathtoclam,antivirus_clamav]
 MOV [quarantinedir,core],[quarantinedir,antivirus_clamav]
 MOV [runclamavonupload,core],[runclamavonupload,antivirus_clamav]
AMOS END
2016-02-25 09:55:45 +00:00
Ruslan Kabalin
89a5878e3f MDL-50887 antivirus_clamav: Initial commit. 2016-02-25 09:54:05 +00:00
Ruslan Kabalin
146eeb7651 MDL-50887 antivirus: Add antivirus plugin infrastructure. 2016-02-25 09:54:05 +00:00
Andrew Nicols
03b8b55f10 weekly release 3.1dev 2016-02-25 13:52:15 +08:00
Andrew Nicols
5fef7d9c04 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2016-02-25 13:52:11 +08:00
Andrew Nicols
84fbbd9985 Merge branch 'MDL-45104-master-fix' of github.com:xow/moodle 2016-02-25 10:14:06 +08:00
John Okely
a285d561ef MDL-45104 logging: Check if legacy log is enabled 2016-02-25 10:00:02 +08:00
John Okely
3f195ab7c8 MDL-45104 logging: Fix spelling of writing 2016-02-25 09:59:28 +08:00
Andrew Nicols
7204460d5a Merge branch 'wip-mdl-49324' of https://github.com/rajeshtaneja/moodle 2016-02-25 09:53:43 +08:00
Rajesh Taneja
2b9361cdda MDL-49324 behat: Use singleselect step to select user 2016-02-25 09:49:24 +08:00
AMOS bot
cbd7d973dd Automatically generated installer lang files 2016-02-25 00:11:21 +08:00
Eloy Lafuente (stronk7)
316d6574e2 Merge branch 'MDL-53071-master' of git://github.com/junpataleta/moodle 2016-02-24 11:01:15 +01:00
Dan Poltawski
e8d908728d MDL-45104 admin: convert error to warning 2016-02-24 08:30:31 +00:00
Eloy Lafuente (stronk7)
6ab07f97bf Merge branch 'MDL-49324-master' of git://github.com/andrewnicols/moodle 2016-02-24 07:55:51 +01:00
Andrew Nicols
0c31d92452 MDL-49324 grade: Ensure report appears in breadcrumbs 2016-02-24 14:39:11 +08:00
Andrew Nicols
beb964520a MDL-49324 gradereport_singleview: Fix unit tests 2016-02-24 14:39:10 +08:00
Andrew Nicols
bb4d057662 MDL-49324 grades: Remove old variable usage 2016-02-24 14:39:10 +08:00
Andrew Nicols
47f084c6a1 MDL-49324 grades: Remove unnecessary @javascript tag from tests 2016-02-24 14:39:09 +08:00
Andrew Nicols
87d71ecf69 MDL-49324 grade: Ensure weights adjusted message is displayed
The grade settings page displays a message to inform users that weights
have been adjusted if they did not previously add up to the required 100%.

With the change to sometimes displaying a progress bar, whether the message
is displayed must be calculated immediately after the regrade took place,
and before the page redirects.

I have added a callback with arguments to the regrade_if_required function
which is called immediately after regrade has taken place (regardless of
whether the progress bar is required).

This callback modifies the PAGE URL such that the redirect message will be
displayed after the redirect. This does not use the session as the message
should only be displayed immediately after a change. If the user does not
click on the continue button after the progress bar has been displayed, and
comes back to the page later, this may be confusing.
2016-02-24 14:39:09 +08:00
Andrew Nicols
417c7f3b86 MDL-49324 grades: Remove category aggregation change backend
The UI for this was removed several releases ago and this code is no longer
called.
2016-02-24 14:39:09 +08:00
Andrew Nicols
a2f6399806 MDL-49324 gradereport_singleview: Correct url params supplied to PAGE 2016-02-24 14:39:08 +08:00
Andrew Nicols
0a802c9c4e MDL-49324 grades: Create helper function for regrading on report view 2016-02-24 14:39:08 +08:00
Andrew Nicols
21efa3c65c Merge branch 'MDL-31989_admin-performance' of git://github.com/dmonllao/moodle 2016-02-24 11:05:41 +08:00
David Monllao
46e944aeb3 MDL-31989 admin: Search admin settings only when needed 2016-02-24 10:49:04 +08:00
Andrew Nicols
38d94702af Merge branch 'wip-mdl-52996' of https://github.com/rajeshtaneja/moodle 2016-02-24 10:38:17 +08:00
Rajesh Taneja
7b61603406 MDL-52996 Atto: Only check if plugins are loaded
Atto bold using behat with phantomjs doesn't work.
In this case there is no need to test plugin functionality.
Only checking if plugin is loaded in toolbar is sufficient.
2016-02-24 10:09:15 +08:00
AMOS bot
14d45c443c Automatically generated installer lang files 2016-02-24 00:04:19 +08:00
Dan Poltawski
fef5360053 Merge branch 'MDL-42460-master' of git://github.com/marinaglancy/moodle 2016-02-23 14:36:54 +00:00
Dan Poltawski
f0ad27291e MDL-31989 version: proper bump 2016-02-23 12:11:39 +00:00
Dan Poltawski
e03711fc08 MDL-31989 version: bump 2016-02-23 12:10:05 +00:00
Dan Poltawski
0011d7c5e1 Merge branch 'MDL-31989_survey-fix' of git://github.com/dmonllao/moodle 2016-02-23 12:07:46 +00:00
David Monllao
c625b01a4c MDL-31989 mod_survey: Prevent templates from being indexed 2016-02-23 19:58:52 +08:00
Dan Poltawski
5500e15d67 Merge branch 'MDL-33663' of https://github.com/rushi963/moodle 2016-02-23 11:44:24 +00:00
Dan Poltawski
d71448e2a6 Merge branch 'wip-MDL-45104-master-v2' of git://github.com/abgreeve/moodle 2016-02-23 11:06:05 +00:00
Dan Poltawski
02038b9d79 Merge branch 'MDL-52958_master' of git://github.com/dmonllao/moodle 2016-02-23 10:57:38 +00:00
David Monllao
69d66020ce MDL-31989 search: get_config method to search areas
Also content_to_text moved to weblib.
2016-02-23 10:47:59 +00:00
David Monllao
f900b2b6c9 MDL-31989 component: Allow classes to be retrieved by namespace 2016-02-23 10:47:58 +00:00
David Monllao
db48207e1a MDL-31989 search: Search API and search engine API
Introducing both APIs in moodle along with:
- search_box widget to add a tiny search box
- admin settings with setup steps helper
- cache for search results
- template for a search result
- php unit stuff

Many thanks to Tomasz Muras, Prateek Sachan and Daniel Neis for their contributions, for starting this development
and for pushing for it to be completed. Also thanks to other contributors: Jonathan Harker and eugeneventer.
2016-02-23 10:47:58 +00:00
David Monllao
95c6aeaf1c MDL-31989 search_solr: Solr search engine 2016-02-23 10:47:58 +00:00
David Monllao
e2be996171 MDL-31989 search: New search areas
Some search areas have been introduced as part of the initial search API
and search engine API implementation.
- Forum posts
- Glossary enties
- All moodle activities
2016-02-23 10:47:57 +00:00
David Monllao
28b70ba536 MDL-31989 block_globalsearch: Adding the block
Just a basic block with a search box.
2016-02-23 10:47:57 +00:00
David Monllao
17675612b5 MDL-31989 report_search: Adding the report 2016-02-23 10:47:57 +00:00
David Monllao
4040c8b35e MDL-31989 theme: Global search styles 2016-02-23 10:47:55 +00:00
David Monllao
eddea91dfd MDL-31989 task: Global search indexing task 2016-02-23 10:47:31 +00:00
Dan Poltawski
2c720c9772 Merge branch 'MDL-50312_master' of https://github.com/jinhofer/moodle 2016-02-23 08:07:13 +00:00
Andrew Nicols
bde3e8c5d1 Merge branch 'MDL-49338' of git://github.com/timhunt/moodle 2016-02-23 13:32:00 +08:00
Andrew Nicols
7bf992cccb Merge branch 'wip-MDL-53129-master' of https://github.com/marinaglancy/moodle 2016-02-23 13:22:49 +08:00