moodle.git
7 years agoMDL-40697 core: added unit test for grade_deleted event
Mark Nelson [Sat, 27 Sep 2014 01:14:26 +0000 (18:14 -0700)]
MDL-40697 core: added unit test for grade_deleted event

7 years agoMDL-40697 core: added more unit tests for the user_graded event
Mark Nelson [Tue, 26 Aug 2014 01:10:01 +0000 (18:10 -0700)]
MDL-40697 core: added more unit tests for the user_graded event

7 years agoMDL-40697 core_grades: trigger the grade_deleted event
Mark Nelson [Fri, 26 Sep 2014 03:52:40 +0000 (20:52 -0700)]
MDL-40697 core_grades: trigger the grade_deleted event

7 years agoMDL-40697 core_grades: trigger the user_graded event
Mark Nelson [Mon, 15 Sep 2014 03:46:06 +0000 (20:46 -0700)]
MDL-40697 core_grades: trigger the user_graded event

7 years agoMDL-40697 core_grades: removed existing user_graded event triggers
Mark Nelson [Sat, 27 Sep 2014 00:29:33 +0000 (17:29 -0700)]
MDL-40697 core_grades: removed existing user_graded event triggers

7 years agoMDL-40697 core_grades: changed user_graded event name
Mark Nelson [Tue, 30 Sep 2014 06:04:02 +0000 (23:04 -0700)]
MDL-40697 core_grades: changed user_graded event name

7 years agoMDL-40697 core: added grade_deleted event
Mark Nelson [Mon, 22 Sep 2014 04:57:52 +0000 (21:57 -0700)]
MDL-40697 core: added grade_deleted event

7 years agoMDL-28484 Libraries: Update comments to suggest using new is_https()
Damyon Wiese [Wed, 8 Oct 2014 01:52:17 +0000 (09:52 +0800)]
MDL-28484 Libraries: Update comments to suggest using new is_https()

7 years agoMerge branch 'MDL-28484-master' of https://github.com/lucisgit/moodle
Damyon Wiese [Wed, 8 Oct 2014 01:53:53 +0000 (09:53 +0800)]
Merge branch 'MDL-28484-master' of https://github.com/lucisgit/moodle

7 years agoMerge branch 'wip_MDL-47477_m28_jqueryuitheme' of https://github.com/skodak/moodle
Sam Hemelryk [Wed, 8 Oct 2014 01:35:02 +0000 (14:35 +1300)]
Merge branch 'wip_MDL-47477_m28_jqueryuitheme' of https://github.com/skodak/moodle

7 years agoMerge branch 'wip_MDL-47303_m28_jquery' of https://github.com/skodak/moodle
Sam Hemelryk [Wed, 8 Oct 2014 01:31:40 +0000 (14:31 +1300)]
Merge branch 'wip_MDL-47303_m28_jquery' of https://github.com/skodak/moodle

7 years agoMerge branch 'MDL-47301-master' of git://github.com/FMCorz/moodle
Sam Hemelryk [Wed, 8 Oct 2014 01:10:50 +0000 (14:10 +1300)]
Merge branch 'MDL-47301-master' of git://github.com/FMCorz/moodle

7 years agoMerge branch 'wip-MDL-47299-master' of git://github.com/marinaglancy/moodle
Sam Hemelryk [Wed, 8 Oct 2014 01:07:57 +0000 (14:07 +1300)]
Merge branch 'wip-MDL-47299-master' of git://github.com/marinaglancy/moodle

7 years agoMerge branch 'MDL-47470-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Tue, 7 Oct 2014 23:21:31 +0000 (12:21 +1300)]
Merge branch 'MDL-47470-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-47132' of git://github.com/timhunt/moodle
Sam Hemelryk [Tue, 7 Oct 2014 23:01:42 +0000 (12:01 +1300)]
Merge branch 'MDL-47132' of git://github.com/timhunt/moodle

7 years agoMerge branch 'MDL-47474' of https://github.com/bostelm/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:52:17 +0000 (11:52 +1300)]
Merge branch 'MDL-47474' of https://github.com/bostelm/moodle

7 years agoMerge branch 'MDL-47481-master' of https://github.com/sammarshallou/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:51:32 +0000 (11:51 +1300)]
Merge branch 'MDL-47481-master' of https://github.com/sammarshallou/moodle

7 years agoMerge branch 'MDL-47484' of git://github.com/aolley/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:40:49 +0000 (11:40 +1300)]
Merge branch 'MDL-47484' of git://github.com/aolley/moodle

7 years agoMerge branch 'MDL-47496-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:37:24 +0000 (11:37 +1300)]
Merge branch 'MDL-47496-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'wip-MDL-40351-master' of https://github.com/marinaglancy/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:36:01 +0000 (11:36 +1300)]
Merge branch 'wip-MDL-40351-master' of https://github.com/marinaglancy/moodle

7 years agoMerge branch 'MDL-46182' of https://github.com/NeillM/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:28:19 +0000 (11:28 +1300)]
Merge branch 'MDL-46182' of https://github.com/NeillM/moodle

7 years agoMerge branch 'MDL-47197-master' of git://github.com/andrewnicols/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:16:54 +0000 (11:16 +1300)]
Merge branch 'MDL-47197-master' of git://github.com/andrewnicols/moodle

Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-47476' of git://github.com/timhunt/moodle
Sam Hemelryk [Tue, 7 Oct 2014 22:02:38 +0000 (11:02 +1300)]
Merge branch 'MDL-47476' of git://github.com/timhunt/moodle

Conflicts:
lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-28075' of git://github.com/timhunt/moodle
Sam Hemelryk [Tue, 7 Oct 2014 21:57:15 +0000 (10:57 +1300)]
Merge branch 'MDL-28075' of git://github.com/timhunt/moodle

7 years agoMerge branch 'MDL-46391-master' of https://github.com/DmitryNefedov/moodle
Sam Hemelryk [Tue, 7 Oct 2014 21:45:23 +0000 (10:45 +1300)]
Merge branch 'MDL-46391-master' of https://github.com/DmitryNefedov/moodle

7 years agoRevert "MDL-46978 gradebook: Edit grade item changes visibility of category"
Sam Hemelryk [Tue, 7 Oct 2014 21:37:12 +0000 (10:37 +1300)]
Revert "MDL-46978 gradebook: Edit grade item changes visibility of category"

This reverts commit bad2c9b14f27e6d9a370ac6cff6b8b5c2dc79a17.

7 years agoMDL-3714 mod_forum: pre-integration clean up
Sam Hemelryk [Tue, 7 Oct 2014 20:39:44 +0000 (09:39 +1300)]
MDL-3714 mod_forum: pre-integration clean up

7 years agoMerge branch 'MDL-3714-master' of git://github.com/andrewnicols/moodle
Sam Hemelryk [Tue, 7 Oct 2014 20:39:01 +0000 (09:39 +1300)]
Merge branch 'MDL-3714-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-45893-master-v3' of git://github.com/jethac/moodle
Dan Poltawski [Tue, 7 Oct 2014 15:52:07 +0000 (16:52 +0100)]
Merge branch 'MDL-45893-master-v3' of git://github.com/jethac/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

7 years agoMDL-45893 user_menu: responsive approach; fixed minor issues
Jetha Chan [Fri, 3 Oct 2014 09:02:02 +0000 (17:02 +0800)]
MDL-45893 user_menu: responsive approach; fixed minor issues

7 years agoMerge branch 'MDL-47518' of https://github.com/rlorenzo/moodle
Dan Poltawski [Tue, 7 Oct 2014 13:32:48 +0000 (14:32 +0100)]
Merge branch 'MDL-47518' of https://github.com/rlorenzo/moodle

7 years agoMerge branch '46481-28' of git://github.com/samhemelryk/moodle
Dan Poltawski [Tue, 7 Oct 2014 13:25:06 +0000 (14:25 +0100)]
Merge branch '46481-28' of git://github.com/samhemelryk/moodle

7 years agoMerge branch 'MDL-32870' of git://github.com/jmvedrine/moodle
Marina Glancy [Tue, 7 Oct 2014 09:16:56 +0000 (17:16 +0800)]
Merge branch 'MDL-32870' of git://github.com/jmvedrine/moodle

7 years agoMerge branch 'wip-MDL-35618-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 7 Oct 2014 08:24:39 +0000 (09:24 +0100)]
Merge branch 'wip-MDL-35618-master' of git://github.com/marinaglancy/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

7 years agoMerge branch 'wip-MDL-36014-master' of git://github.com/marinaglancy/moodle
Damyon Wiese [Tue, 7 Oct 2014 04:34:34 +0000 (12:34 +0800)]
Merge branch 'wip-MDL-36014-master' of git://github.com/marinaglancy/moodle

Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-46284-master' of git://github.com/andrewnicols/moodle
Sam Hemelryk [Tue, 7 Oct 2014 03:28:50 +0000 (16:28 +1300)]
Merge branch 'MDL-46284-master' of git://github.com/andrewnicols/moodle

Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-38106-master' of git://github.com/danpoltawski/moodle
Marina Glancy [Tue, 7 Oct 2014 02:25:29 +0000 (10:25 +0800)]
Merge branch 'MDL-38106-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-36460-master' of git://github.com/andrewnicols/moodle
Sam Hemelryk [Tue, 7 Oct 2014 02:16:54 +0000 (15:16 +1300)]
Merge branch 'MDL-36460-master' of git://github.com/andrewnicols/moodle

7 years agoMDL-31936 workshop: version bump
Marina Glancy [Tue, 7 Oct 2014 02:15:54 +0000 (10:15 +0800)]
MDL-31936 workshop: version bump

7 years agoMerge branch 'MDL-31936-master-workshop-reset' of git://github.com/mudrd8mz/moodle
Marina Glancy [Tue, 7 Oct 2014 02:08:48 +0000 (10:08 +0800)]
Merge branch 'MDL-31936-master-workshop-reset' of git://github.com/mudrd8mz/moodle

7 years agoMDL-47197 core: Private files handler
Andrew Nicols [Wed, 10 Sep 2014 08:10:02 +0000 (16:10 +0800)]
MDL-47197 core: Private files handler

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.

7 years agoMDL-46284 core: Add e-mail fetcher from IMAP
Andrew Nicols [Wed, 16 Jul 2014 06:51:19 +0000 (14:51 +0800)]
MDL-46284 core: Add e-mail fetcher from IMAP

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.

7 years agoMDL-3714 mod_forum: Add an inbound message handler
Andrew Nicols [Wed, 16 Jul 2014 06:52:02 +0000 (14:52 +0800)]
MDL-3714 mod_forum: Add an inbound message handler

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.

7 years agoMDL-46284 core: Add e-mail fetcher from IMAP
Andrew Nicols [Wed, 16 Jul 2014 06:51:19 +0000 (14:51 +0800)]
MDL-46284 core: Add e-mail fetcher from IMAP

This issue is a part of the MDL-47194 Task.
This issue is a part of the MDL-39707 Epic.

7 years agoMerge branch 'MDL-46295-master' of git://github.com/damyon/moodle
Sam Hemelryk [Mon, 6 Oct 2014 21:36:48 +0000 (10:36 +1300)]
Merge branch 'MDL-46295-master' of git://github.com/damyon/moodle

7 years agoMDL-31936 workshop: Improve unit tests for the course reset support
David Mudrák [Thu, 18 Sep 2014 11:52:47 +0000 (13:52 +0200)]
MDL-31936 workshop: Improve unit tests for the course reset support

7 years agoMerge branch 'MDL-46978' of https://github.com/danielneis/moodle
Sam Hemelryk [Mon, 6 Oct 2014 21:26:05 +0000 (10:26 +1300)]
Merge branch 'MDL-46978' of https://github.com/danielneis/moodle

7 years agoMDL-46576 grade: fix trailing whitespace
Dan Poltawski [Mon, 6 Oct 2014 16:48:28 +0000 (17:48 +0100)]
MDL-46576 grade: fix trailing whitespace

7 years agoMerge branch 'wip-MDL-46576-master' of git://github.com/abgreeve/moodle
Dan Poltawski [Mon, 6 Oct 2014 17:06:13 +0000 (18:06 +0100)]
Merge branch 'wip-MDL-46576-master' of git://github.com/abgreeve/moodle

Conflicts:
lib/upgrade.txt
    lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-46054-master' of git://github.com/jleyva/moodle
Dan Poltawski [Mon, 6 Oct 2014 15:01:26 +0000 (16:01 +0100)]
Merge branch 'MDL-46054-master' of git://github.com/jleyva/moodle

7 years agoMDL-47547 quiz editing: minor fixes following MDL-47547
Tim Hunt [Mon, 6 Oct 2014 14:44:21 +0000 (15:44 +0100)]
MDL-47547 quiz editing: minor fixes following MDL-47547

* Remove unnecessary skip links.
* Disable shortforms for form in pop-ups.
* Remove some CSS that was hurting display of the add menu.

7 years agoMDL-38106 lesson: don't require intro when upgraded
Dan Poltawski [Mon, 6 Oct 2014 13:54:53 +0000 (14:54 +0100)]
MDL-38106 lesson: don't require intro when upgraded

7 years agoMerge branch 'MDL-45504' of git://github.com/stronk7/moodle
Dan Poltawski [Mon, 6 Oct 2014 13:00:20 +0000 (14:00 +0100)]
Merge branch 'MDL-45504' of git://github.com/stronk7/moodle

7 years agoMDL-43089 question: fix shifter build issues
Dan Poltawski [Mon, 6 Oct 2014 12:53:26 +0000 (13:53 +0100)]
MDL-43089 question: fix shifter build issues

7 years agoMerge branch 'wip_MDL-47538_m28_phpunitseq' of git://github.com/skodak/moodle
Marina Glancy [Mon, 6 Oct 2014 12:40:13 +0000 (20:40 +0800)]
Merge branch 'wip_MDL-47538_m28_phpunitseq' of git://github.com/skodak/moodle

7 years agoMerge branch 'MDL-46210-master' of git://github.com/danpoltawski/moodle
Marina Glancy [Mon, 6 Oct 2014 12:39:09 +0000 (20:39 +0800)]
Merge branch 'MDL-46210-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-47221-master' of git://github.com/danpoltawski/moodle
Marina Glancy [Mon, 6 Oct 2014 12:38:29 +0000 (20:38 +0800)]
Merge branch 'MDL-47221-master' of git://github.com/danpoltawski/moodle

7 years agoMDL-43089 question: fix whitespace
Dan Poltawski [Mon, 6 Oct 2014 11:56:45 +0000 (12:56 +0100)]
MDL-43089 question: fix whitespace

7 years agoMerge branch 'MDL-43089-behat-fixup' of https://github.com/timhunt/moodle
Dan Poltawski [Mon, 6 Oct 2014 11:49:55 +0000 (12:49 +0100)]
Merge branch 'MDL-43089-behat-fixup' of https://github.com/timhunt/moodle

7 years agoMerge branch 'MDL-43089' of git://github.com/mkassaei/moodle
Dan Poltawski [Mon, 6 Oct 2014 11:11:33 +0000 (12:11 +0100)]
Merge branch 'MDL-43089' of git://github.com/mkassaei/moodle

7 years agoMerge branch 'MDL-47426' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 6 Oct 2014 07:54:09 +0000 (08:54 +0100)]
Merge branch 'MDL-47426' of git://github.com/timhunt/moodle

7 years agoMDL-47538 phpunit: fix invalid PHPUNIT_SEQUENCE_START constant
Petr Skoda [Mon, 6 Oct 2014 04:31:15 +0000 (17:31 +1300)]
MDL-47538 phpunit: fix invalid PHPUNIT_SEQUENCE_START constant

7 years agoMDL-36014 cohorts: specify exact cohort names in unittest
Marina Glancy [Mon, 6 Oct 2014 01:50:29 +0000 (09:50 +0800)]
MDL-36014 cohorts: specify exact cohort names in unittest

7 years agoMDL-40351 block_course_overview: minor corrections
Marina Glancy [Mon, 6 Oct 2014 01:36:58 +0000 (09:36 +0800)]
MDL-40351 block_course_overview: minor corrections

7 years agoMDL-40351 Blocks, My home: Course Categories on the My Home Page
Julien Boulen [Fri, 3 Oct 2014 15:58:21 +0000 (17:58 +0200)]
MDL-40351 Blocks, My home: Course Categories on the My Home Page

7 years agoMDL-45504 environment: define 2.8 requirements
Eloy Lafuente (stronk7) [Sun, 5 Oct 2014 23:11:41 +0000 (01:11 +0200)]
MDL-45504 environment: define 2.8 requirements

No changes from 2.7, so this is a simple copy of them.

The MyISAM case (MDL-46064) will be considered for 2.9.

7 years agoMerge branch 'master_MDL-47316' of git://git.catalyst.net.nz/moodle-r2
Sam Hemelryk [Sun, 5 Oct 2014 22:15:44 +0000 (11:15 +1300)]
Merge branch 'master_MDL-47316' of git://git.catalyst.net.nz/moodle-r2

7 years agoMerge branch 'MDL-43472-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Sun, 5 Oct 2014 22:10:19 +0000 (11:10 +1300)]
Merge branch 'MDL-43472-master' of git://github.com/danpoltawski/moodle

7 years agoMDL-43089 behat: fix core_question tests that use quiz.
Tim Hunt [Sun, 5 Oct 2014 21:47:52 +0000 (22:47 +0100)]
MDL-43089 behat: fix core_question tests that use quiz.

Unfortunately, using the quiz is the only way to test this, so no way to break the dependency.

7 years agoMerge branch 'MDL-45374' of git://github.com/jleyva/moodle
Sam Hemelryk [Sun, 5 Oct 2014 21:44:30 +0000 (10:44 +1300)]
Merge branch 'MDL-45374' of git://github.com/jleyva/moodle

7 years agoMDL-46210 langimport: behat tests
Dan Poltawski [Sun, 28 Sep 2014 14:43:50 +0000 (15:43 +0100)]
MDL-46210 langimport: behat tests

Behat tests for lang import. To run these tests you must define the
TOOL_LANGIMPORT_REMOTE_TESTS constant - because they rely on the
download.moodle.org infrastructure.

7 years agoMDL-46210 langimport: logging for install/update/remove
Dan Poltawski [Sun, 28 Sep 2014 13:15:41 +0000 (14:15 +0100)]
MDL-46210 langimport: logging for install/update/remove

Now that we have sceduled tasks updating the langpacks, its useful
to log which actions have occured.

7 years agoMDL-47496 lib: remove XML_Parser library
Dan Poltawski [Wed, 1 Oct 2014 13:20:38 +0000 (14:20 +0100)]
MDL-47496 lib: remove XML_Parser library

It has been flagged as deprecated for many years and no longer used.

7 years agoMDL-47470 behat: fix 'I navigate to' exception
Dan Poltawski [Tue, 30 Sep 2014 14:20:25 +0000 (15:20 +0100)]
MDL-47470 behat: fix 'I navigate to' exception

When a child page is not found

7 years agoMDL-47221 task: allow 'random' time definitions
Dan Poltawski [Sat, 27 Sep 2014 20:22:57 +0000 (21:22 +0100)]
MDL-47221 task: allow 'random' time definitions

When working against external services it can be advantageous to not
have automated tasks all hit the service at the exact same time from
many different installations.

This change allows the use of 'R' in hour/minute fields of the scheduled
task definition so a task will be installed with a 'random' hour/minute
value for these sort of occasions.

Note that the task will be installed in the database with a defined
time, this simply randomises the time chosen when loading from the
definiton.

7 years agoMDL-46210 langimport: task for updating langpacks
Dan Poltawski [Thu, 11 Sep 2014 20:58:13 +0000 (21:58 +0100)]
MDL-46210 langimport: task for updating langpacks

Now langpacks will be updated by scheduled task every day rather
than updating manually.

7 years agoMDL-46210 langimport: Rearrange code
Dan Poltawski [Thu, 11 Sep 2014 20:28:14 +0000 (21:28 +0100)]
MDL-46210 langimport: Rearrange code

Factoring code into a controller class so that the update
can be put into a scheduled task (and be a bit tider).

7 years agoMDL-47221 task: allow 'random' time definitions
Dan Poltawski [Sat, 27 Sep 2014 20:22:57 +0000 (21:22 +0100)]
MDL-47221 task: allow 'random' time definitions

When working against external services it can be advantageous to not
have automated tasks all hit the service at the exact same time from
many different installations.

This change allows the use of 'R' in hour/minute fields of the scheduled
task definition so a task will be installed with a 'random' hour/minute
value for these sort of occasions.

Note that the task will be installed in the database with a defined
time, this simply randomises the time chosen when loading from the
definiton.

7 years agoMDL-38106 lesson: behat now sets introduction
Dan Poltawski [Fri, 3 Oct 2014 13:28:47 +0000 (14:28 +0100)]
MDL-38106 lesson: behat now sets introduction

7 years agoMDL-46481 backup: removed collapsing and better lang string
Sam Hemelryk [Fri, 1 Aug 2014 05:28:55 +0000 (17:28 +1200)]
MDL-46481 backup: removed collapsing and better lang string

Thanks Rex for the peer-review!

7 years agoMDL-32870 Lesson: No HTML editor for questions answers and responses
Jean-Michel Vedrine [Sun, 17 Mar 2013 22:40:40 +0000 (23:40 +0100)]
MDL-32870 Lesson: No HTML editor for questions answers and responses

7 years agoMDL-43472 course: behat tests for searching courses
Dan Poltawski [Sat, 4 Oct 2014 07:36:04 +0000 (08:36 +0100)]
MDL-43472 course: behat tests for searching courses

7 years agoMDL-45374 messages: Bump version number
Juan Leyva [Wed, 1 Oct 2014 09:19:12 +0000 (11:19 +0200)]
MDL-45374 messages: Bump version number

7 years agoMDL-45374 messages: Created new API function message_get_messages
Juan Leyva [Wed, 1 Oct 2014 09:10:42 +0000 (11:10 +0200)]
MDL-45374 messages: Created new API function message_get_messages

7 years agoMDL-45374 messages: get_messages ws unit tests
Juan Leyva [Tue, 6 May 2014 16:01:41 +0000 (18:01 +0200)]
MDL-45374 messages: get_messages ws unit tests

7 years agoMDL-45374 messages: get_messages ws definition
Juan Leyva [Mon, 5 May 2014 12:34:17 +0000 (14:34 +0200)]
MDL-45374 messages: get_messages ws definition

7 years agoMDL-43472 course: Add bulk move to management search page
Willy Lee [Tue, 30 Sep 2014 21:04:18 +0000 (14:04 -0700)]
MDL-43472 course: Add bulk move to management search page

7 years agoMDL-38106 mod_lesson: Add introduction field
Daniel Neis Araujo [Wed, 10 Sep 2014 19:17:16 +0000 (16:17 -0300)]
MDL-38106 mod_lesson: Add introduction field

7 years agoMDL-28484 core_lib: Add function for https detection
Tony Butler [Fri, 15 Aug 2014 14:41:56 +0000 (15:41 +0100)]
MDL-28484 core_lib: Add function for https detection

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
7 years agoMDL-35618 enrol_cohort: remove enrolment button
Marina Glancy [Mon, 15 Sep 2014 02:50:53 +0000 (10:50 +0800)]
MDL-35618 enrol_cohort: remove enrolment button

7 years agoMDL-35618 enrol_manual: Add possibility to manually enrol cohort members
Marina Glancy [Fri, 12 Sep 2014 07:52:10 +0000 (15:52 +0800)]
MDL-35618 enrol_manual: Add possibility to manually enrol cohort members

7 years agoMDL-36014 cohorts: Support cohort visibility in Upload cohorts
Marina Glancy [Wed, 10 Sep 2014 08:42:43 +0000 (16:42 +0800)]
MDL-36014 cohorts: Support cohort visibility in Upload cohorts

7 years agoMDL-36014 cohorts: Allow teachers to view cohorts
Marina Glancy [Tue, 29 Jul 2014 09:44:25 +0000 (17:44 +0800)]
MDL-36014 cohorts: Allow teachers to view cohorts

Added property 'visible' for cohorts. Unsetting it hides the cohort from users in the course.

AMOS BEGIN
 CPY [visible,core_moodle],[visible,core_cohort]
AMOS END

7 years agoMDL-36014 cohorts: fix string names
Marina Glancy [Tue, 29 Jul 2014 09:41:52 +0000 (17:41 +0800)]
MDL-36014 cohorts: fix string names

Cohort capabilities are defined in lang/en/roles.php, remove(rename) the capability-styled strings

AMOS BEGIN
 CPY [cohort:assign,core_assign],[assigncohorts,core_assign]
AMOS END

7 years agoMDL-46182 Inefficient query during Moodle upgrade on course_section table.
Neill Magill [Fri, 3 Oct 2014 09:27:06 +0000 (10:27 +0100)]
MDL-46182 Inefficient query during Moodle upgrade on course_section table.

This part of the code is changing an index on the course_sections table to be unique, for this to happen in the upgrade script the index must be deleted and then the new version added.

Before this change the following was being done:

* The index is removed
* A query to delete records that were not unique on this index is performed
* The unique version of the index is added

After this change the following happens:

* A query to delete records that were not unique on this index is performed
* The index is removed
* The unique version of the index is added

When the original index is present the query uses it, which greatly improves the execution plan.

Before the change an upgrade on a site with around 387967 course_section records the upgrade would be stuck on the delete query for many hours, after the change the time can be measured in minutes.

7 years agoMDL-46576 core_grades: Update upgrade scripts new version number
Adrian Greeve [Fri, 3 Oct 2014 08:59:19 +0000 (16:59 +0800)]
MDL-46576 core_grades: Update upgrade scripts new version number

7 years agoMDL-47520 core_grades: added CSS classes to the setup page
Marina Glancy [Thu, 2 Oct 2014 10:35:10 +0000 (18:35 +0800)]
MDL-47520 core_grades: added CSS classes to the setup page

Part of: MDL-46576

7 years agoMDL-47062 Grades: Add an upgrade step to warn about changes in upgrade.
Damyon Wiese [Fri, 3 Oct 2014 03:37:12 +0000 (11:37 +0800)]
MDL-47062 Grades: Add an upgrade step to warn about changes in upgrade.

Puts a notice on the grader report about the change in aggregation method
from "Sum of grades" to "Natural".

Part of: MDL-46576

7 years agoMDL-31936 workshop: Generator able to create submissions and assessments
David Mudrák [Thu, 18 Sep 2014 11:48:40 +0000 (13:48 +0200)]
MDL-31936 workshop: Generator able to create submissions and assessments

This is a basic implementation of the actual content generation in the workshop
generator. Note the we do not generate actual grading form data (which is what
the grading strategy plugins would do), just their results.

7 years agoMDL-31936 workshop: Add more options to the course reset form
David Mudrák [Wed, 17 Sep 2014 19:36:13 +0000 (21:36 +0200)]
MDL-31936 workshop: Add more options to the course reset form

This is built upon original work by Michael Hughes. We now have separate
settings for deleting workshop submissions, assessments and for resetting the
workshop phase.