81555 Commits

Author SHA1 Message Date
Dan Poltawski
a9f119efd6 Merge branch 'wip-MDL-56633-master' of https://github.com/marinaglancy/moodle 2016-10-31 15:36:21 +00:00
Dan Poltawski
6795b0a0c7 Merge branch 'MDL-56580-master' of git://github.com/junpataleta/moodle 2016-10-31 15:20:45 +00:00
Dan Poltawski
f2263f7c06 Merge branch 'MDL-56542-master-enfix' of git://github.com/mudrd8mz/moodle 2016-10-31 15:15:09 +00:00
Dan Poltawski
5ad34c43f6 Merge branch 'MDL-56597-master' of git://github.com/damyon/moodle 2016-10-31 15:10:02 +00:00
Dan Poltawski
0e86392133 Merge branch 'MDL-56578-master' of git://github.com/damyon/moodle 2016-10-31 15:04:55 +00:00
Damyon Wiese
155b0bc0b9 MDL-56578 theme_boost: Dismiss help popovers on next click 2016-10-31 22:01:19 +08:00
Damyon Wiese
2259c0f078 MDL-56621 templates: Add missing example contexts 2016-10-31 21:27:52 +08:00
Dan Poltawski
b0f7a97c42 Merge branch 'MDL-56610-master' of git://github.com/damyon/moodle 2016-10-31 10:20:08 +00:00
Dan Poltawski
f7614c6007 Merge branch 'MDL-56523-master' of git://github.com/lazydaisy/moodle 2016-10-31 10:19:13 +00:00
Dan Poltawski
e90d0c90b4 MDL-56514 message: fix whitespace 2016-10-31 10:06:26 +00:00
Dan Poltawski
868f5c8709 Merge branch 'MDL-56514-master' of git://github.com/lameze/moodle 2016-10-31 10:03:59 +00:00
Dan Poltawski
703863ce82 Merge branch 'MDL-56599-master' of git://github.com/damyon/moodle 2016-10-31 09:57:03 +00:00
Dan Poltawski
b7f3b1365d Merge branch 'MDL-56509-master' of git://github.com/andrewnicols/moodle 2016-10-31 09:35:21 +00:00
Dan Poltawski
75de2e6199 Merge branch 'MDL-56631-master' of git://github.com/damyon/moodle 2016-10-31 09:10:06 +00:00
Russell Smith
a330e83ade MDL-56273 cache: Use is_ready() to determine if cache is really ready. 2016-10-31 19:44:05 +11:00
Damyon Wiese
a2d9a89f5a MDL-56149 permissions: Alignment of icons should not wrap
/admin/roles/permissions.php?contextid=2 the icons should not wrap.
2016-10-31 16:24:11 +08:00
Damyon Wiese
6fb8a7ab7e MDL-56621 forms: Hide format menu if only one
This was a regression in the new templates for editors.
2016-10-31 15:06:50 +08:00
Simey Lameze
a2c7227ab8 MDL-56514 core_message: add missing is messaging enabled checks 2016-10-31 15:06:50 +08:00
Damyon Wiese
ad785e699e MDL-56631 passwordunmask: Admin setting for password unmask not working
Andrew refactored the way it rendered the element, but did not update all the
templates (there is mforms element AND admin settings element).

See 3778a9226f05a6c0203b291a95378dd8a56c6516 for Andrews original change.
2016-10-31 14:45:07 +08:00
Andrew Nicols
0b03040605 Merge branch 'MDL-56501-master' of git://github.com/lameze/moodle 2016-10-31 14:10:37 +08:00
Simey Lameze
343ba16c31 MDL-56501 message: introduce new manageallmessaging capability 2016-10-31 14:09:03 +08:00
Andrew Nicols
de32120676 Merge branch 'MDL-56577-master' of git://github.com/junpataleta/moodle 2016-10-31 14:02:27 +08:00
Andrew Nicols
42a372e20f Merge branch 'MDL-56273' of https://github.com/mr-russ/moodle 2016-10-31 14:00:36 +08:00
Andrew Nicols
711e2ab184 Merge branch 'MDL-56583-master' of git://github.com/crazyserver/moodle 2016-10-31 13:42:46 +08:00
Russell Smith
f9599c77cc MDL-56273 cache: Ensure requirements are met for cache stores.
Ensure that the cache store requirements are met prior to attempting
to instantiate a class.  Many of the constructors create connections
to external services requiring the installation and availability of
classes that are specified in are_requirements_met().  If they are
not checked properly you end up with PHP Fatal errors rather than
falling back to a different store that is capabable without the
the extra classes loaded.
2016-10-31 16:04:51 +11:00
Jun Pataleta
6af2ccda91 MDL-56577 core_form: Let other option attrs to be set in select elements 2016-10-31 12:19:21 +08:00
Andrew Nicols
4e5d96ee3a Merge branch 'MDL-56282-master' of git://github.com/damyon/moodle 2016-10-31 12:18:22 +08:00
Frédéric Massart
77bec234e0 MDL-56282 enrol_meta: Fix error when editing existing instances
We had a few problems here.

1/ The auto complete element was displaying the picker though the
   field was frozen.
2/ Checking for existing enrolment including the courses chosen was
   not checking if the courses found were in the instance we edit.
3/ Upon creation we support multiple courses but when editing we
   should not expect more than the course in the instance being edited.
2016-10-31 12:15:02 +08:00
Andrew Nicols
c86fb21789 Merge branch 'MDL-56573-master' of git://github.com/junpataleta/moodle 2016-10-31 12:03:00 +08:00
Andrew Nicols
09a05b798b MDL-56138 messaging: Add tests for viewparticipants search restriction 2016-10-31 11:58:29 +08:00
Andrew Nicols
46dd48129b Merge branch 'wip-MDL-56138-master' of git://github.com/abgreeve/moodle 2016-10-31 11:35:47 +08:00
Andrew Nicols
cf6fc0abe1 Merge branch 'MDL-56638-master' of git://github.com/crazyserver/moodle 2016-10-31 11:01:25 +08:00
Adrian Greeve
87d4ab654b MDL-56138 messaging: Update to messaging unit tests. 2016-10-31 10:52:05 +08:00
Adrian Greeve
f324957724 MDL-56138 messaging: Limit course search to enrolled courses. 2016-10-31 10:52:05 +08:00
Andrew Nicols
72c0d69d5c Merge branch 'wip-MDL-56625-master' of git://github.com/abgreeve/moodle 2016-10-31 10:47:29 +08:00
Andrew Nicols
236778b905 MDL-56078 theme_boost: Update ignorefiles 2016-10-31 10:46:14 +08:00
Andrew Nicols
43dadab50b Merge branch 'MDL-56078-master' of git://github.com/damyon/moodle 2016-10-31 09:30:15 +08:00
Andrew Nicols
bcabf4d530 Merge branch 'MDL-56427-master' of git://github.com/lameze/moodle 2016-10-31 09:16:10 +08:00
Jun Pataleta
5a3f6ceb57 MDL-55825 enrol_lti: Unit tests for upgraded memberships sync
* sync_members tests
* data_connector tests for new methods
2016-10-31 09:09:43 +08:00
Jun Pataleta
08237c3aa8 MDL-55825 enrol_lti: Upgrade member sync to use the new LTI library 2016-10-31 09:09:06 +08:00
Russell Smith
a169739d5d MDL-56273 cache: Use cache initialise always.
purge_all() and purge_by_definition() look in the configuration
for which caches are available and then creates them to purge them.
The configuration stores the values used by initialise(), not
initialise_unit_test_instance() and would therefore fail to purge
all caches if they were not purged by another means.

In the case of filestore, it's purged by unit tests, in the case
of memcache(d), it purges the whole store when a single definition
is requested.

Therefore all configuration was moved into the configuration file
during unit tests and does not have any special override codes in
the unit test infrastructure.
2016-10-30 13:42:43 +11:00
Tomasz Sanecki
fd7bb5a8d9 MDL-48468 cache: add support for port in server address 2016-10-30 13:34:43 +11:00
Russell Smith
68b1e13094 MDL-48468 cache: Import Redis cachestore
This code was originally taken from; https://github.com/durana/moodle-cachestore_redis
Special thanks to Mark Nielsen and Adam Durana for their work on this.

Since the original import;
- Mode session support has been added.
- Some cleanup of names has been made.
- Data guarantee and references support was added.
2016-10-30 13:34:43 +11:00
Pau Ferrer Ocaña
1f84c2c5ea MDL-56638 assign: Don't check sesskey using submit_grading_form from WS 2016-10-28 13:44:19 +02:00
Dani Palou
6d2f938cbd MDL-56637 ws: Add core_user_update_user_preferences to Mobile service 2016-10-28 12:40:18 +02:00
Dan Poltawski
85c9053aec Merge branch 'MDL-56339-master' of git://github.com/junpataleta/moodle 2016-10-28 09:47:15 +01:00
Marina Glancy
c05be214aa MDL-56633 theme_boost: activity label should not be centered 2016-10-28 15:20:47 +08:00
Simey Lameze
fd5797aa3b MDL-55799 inplace_editable: add form-control class to fields 2016-10-28 15:04:54 +08:00
Simey Lameze
823ae9f062 MDL-56155 theme_boost: fix wrong padding on inline field help text
Thanks John Okely!
2016-10-28 14:45:28 +08:00
Damyon Wiese
4821f45961 MDL-56188 theme_boost: Better alignment for form fields help 2016-10-28 14:40:00 +08:00