MDL-33218 Filepicker repository and toolbar aligned for IE
Merge branch 'MDL-33045-master-2' of git://git.luns.net.uk/moodle
Merge branch 'wip-mdl-27120' of git://github.com/rajeshtaneja/moodle
Merge branch 'MDL-33184-master' of https://github.com/FMCorz/moodle
MDL-32329 plugin manager returns plugins with unsatisfied dependencies
MDL-32329 CLI install and upgrade scripts display plugins with unsatisfied dependencies
MDL-32329 new plugininfo_base::is_core_dependency_satisfied() method

The method's logic was previously implemented in all_plugins_ok() but we
will need to call it separately. Also make the code cleaner.
MDL-32329 check for plugin dependencies during the pre-install checking

This follows the same path as we have in CLI installers. Plugin
dependencies are checked right after the environment checks and the
install can't continue unless all dependencies are fixed.
MDL-32329 improved plugin dependencies check on upgrade

Previously, it was the renderer method that actually called
all_plugins_ok(). I believe that renderer methods should not be
responsible for such an important step in the install/upgrade code flow.
So dependencies are now checked by admin/index.php on upgrade, too.
MDL-32329 fixed missing phpdoc and improved coding style

Credit goes to Aparup Banerjee for spotting this during the integration
review.
Merge branch 'MDL-32329-all-plugins-ok' of git://github.com/mudrd8mz/moodle
MDL-29857 - lib: Add an OAuth 2.0 client

A generic OAuth 2.0 for the web application flow, tested against
microsoft and google apis.

Added a callback endpoint for requests so that clients can use a single
endpoint (without GET params). I put this in /admin/ as I expect some
sites will have .htaccess denying access to /lib/.
MDL-29857 - google apis: Convert to OAuth 2.0

Updated the various plugins to use OAuth 2.0 for authentication
against google apis. Google are phasing out AuthSub and pushing OAuth as
the replacement.

This changes repository_googledocs, repository_picasa,
portfolio_googledocs and portfolio_picasa

The token for requests is now stored in session rather than a user
prefence and it persists less but doesn't bother the user more than
necessary.

The google docs portfolio plugin is converted to use resumable upload
API as this appears to be what Google have replaced this with.

Unfortunately unlike authsub OAuth will require some setup by admins,
this is linked as a docs page.
MDL-29857 google apis: OAuth 2.0 repository plugins upgrade

We are disabling the plugins on upgrade and emailing admins
about this if they have a plugin configured.

This is required because OAuth 2 credentials are now required
in the plugin configuration.

NOTE: These strings are temporary and need to be improved.
MDL-29857 google apis: OAuth 2.0 portfolio plugins upgrade

We are disabling the plugins if not configured. As part of
this upgrade we will emailing admins about this change
if they have a plugin configured.

This is required because OAuth 2 credentials are now required
in the plugin configuration.

NOTE: These strings are temporary and need to be improved.
MDL-33140 quiz browser security: block copy/paste more
MDL-33434 dml: define expected results when unique constraint is violated on insert.
MDL-33434 mssql: Improve handling of returned ids on insert.

This commit moves from the batch SCOPE_IDENTITY() way to return
the inserted ids to the OUTPUT alternative (supported and
recommended since 2005). Also the handling of possible return
values is improved, with all the alternatives leading to expected results.
Automatically generated installer lang files
Merge branch 'MDL-33397-master' of https://github.com/FMCorz/moodle