moodle.git
7 years agoMerge branch 'MDL-52414_m31v7' of https://github.com/sbourget/moodle
David Monllao [Tue, 16 Feb 2016 04:44:09 +0000 (12:44 +0800)]
Merge branch 'MDL-52414_m31v7' of https://github.com/sbourget/moodle

7 years agoMDL-52414 Lesson: Fix lesson defaults
Stephen Bourget [Tue, 16 Feb 2016 04:05:37 +0000 (23:05 -0500)]
MDL-52414 Lesson: Fix lesson defaults

7 years agoMerge branch 'MDL-52387-master' of git://github.com/lameze/moodle
David Monllao [Tue, 16 Feb 2016 03:25:22 +0000 (11:25 +0800)]
Merge branch 'MDL-52387-master' of git://github.com/lameze/moodle

7 years agoMDL-51196 mod_forum: Updating required context vars
David Monllao [Tue, 16 Feb 2016 03:22:29 +0000 (11:22 +0800)]
MDL-51196 mod_forum: Updating required context vars

7 years agoMerge branch 'MDL-51196-text-email-permalink' of https://github.com/brendanheywood...
David Monllao [Tue, 16 Feb 2016 03:17:20 +0000 (11:17 +0800)]
Merge branch 'MDL-51196-text-email-permalink' of https://github.com/brendanheywood/moodle

7 years agoMDL-52387 auth_ldap: add support for fine grained password
Simey Lameze [Wed, 10 Feb 2016 05:30:51 +0000 (13:30 +0800)]
MDL-52387 auth_ldap: add support for fine grained password

Contributed by Matthew Johnson.

7 years agoMDL-51839 mod: Info about removing icon.gif files
David Monllao [Tue, 16 Feb 2016 03:02:49 +0000 (11:02 +0800)]
MDL-51839 mod: Info about removing icon.gif files

7 years agoMerge branch 'MDL-51839-master' of git://github.com/andrewnicols/moodle
David Monllao [Tue, 16 Feb 2016 02:58:22 +0000 (10:58 +0800)]
Merge branch 'MDL-51839-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-52969-email-unsubscribe' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Tue, 16 Feb 2016 01:54:08 +0000 (02:54 +0100)]
Merge branch 'MDL-52969-email-unsubscribe' of https://github.com/brendanheywood/moodle

7 years agoMerge branch 'MDL-52511-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Tue, 16 Feb 2016 01:00:37 +0000 (02:00 +0100)]
Merge branch 'MDL-52511-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-50385-master' of git://github.com/merrill-oakland/moodle
David Monllao [Mon, 15 Feb 2016 22:47:27 +0000 (06:47 +0800)]
Merge branch 'MDL-50385-master' of git://github.com/merrill-oakland/moodle

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

7 years agoMerge branch 'MDL-52217-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 15 Feb 2016 21:56:02 +0000 (05:56 +0800)]
Merge branch 'MDL-52217-master' of git://github.com/andrewnicols/moodle

Conflicts:
repository/upgrade.txt

7 years agoMerge branch 'MDL-51580' of git://github.com/stronk7/moodle
David Monllao [Mon, 15 Feb 2016 21:03:28 +0000 (05:03 +0800)]
Merge branch 'MDL-51580' of git://github.com/stronk7/moodle

7 years agoMDL-51580 lang strings: Delete unused lang strings
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 01:00:07 +0000 (02:00 +0100)]
MDL-51580 lang strings: Delete unused lang strings

With previous commit some lang strings became unused. As far as they
are not reusable we are deleting them plain and straight. This is the
list of strings, for reference:

- orphanedquestionscategory
- orphanedquestionscategoryinfo

- oauth2upgrade_message_small
- oauth2upgrade_message_subject
- oauth2upgrade_message_content

- apiv1migration_message_small
- apiv1migration_message_subject
- apiv1migration_message_content

- security_key_notice_message_small
- security_key_notice_message_subject
- security_key_notice_message_content

- pendingupgrades_message_small
- pendingupgrades_message_subject
- pendingupgrades_message_content

7 years agoMDL-51580 upgradelib: Delete stuff used by removed upgrade steps
Eloy Lafuente (stronk7) [Sun, 7 Feb 2016 23:23:01 +0000 (00:23 +0100)]
MDL-51580 upgradelib: Delete stuff used by removed upgrade steps

This commits removes stuff from different upgradelib files, used
exclusively by the already deleted upgrade steps. Given such
exclusivity it was not needed to proceed with a 2-phase deprecation
as far as the functions were 100% internal to upgrade.

This is the list of deleted functions, all them docummented in their
corresponding upgrade.txt files:

- repository_picasa_admin_upgrade_notification();
- repository_googledocs_admin_upgrade_notification();
- repository_boxnet_admin_upgrade_notification();
- repository_alfresco_admin_security_key_notice();
- qtype_essay_convert_to_html();
- portfolio_picasa_admin_upgrade_notification();
- portfolio_googledocs_admin_upgrade_notification();
- portfolio_boxnet_admin_upgrade_notification();
- mod_book_migrate_moddata_dir_to_legacy();
- mod_book_migrate_all_areas();
- mod_book_migrate_area();
- mod_assignment_pending_upgrades_notification();
- upgrade_mysql_fix_unsigned_and_lob_columns();
- upgrade_course_completion_remove_duplicates();
- upgrade_save_orphaned_questions();
- upgrade_rename_old_backup_files_using_shortname();
- upgrade_mssql_nvarcharmax();
- upgrade_mssql_varbinarymax();
- upgrade_fix_missing_root_folders();
- upgrade_course_modules_sequences();
- upgrade_grade_item_fix_sortorder();
- upgrade_availability_item();

7 years agoMDL-51580 upgrade: clean < 2.7.0 upgrade steps
Eloy Lafuente (stronk7) [Sat, 6 Feb 2016 11:33:09 +0000 (12:33 +0100)]
MDL-51580 upgrade: clean < 2.7.0 upgrade steps

This just deletes all the upgrade steps previous to 2.7.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.

7 years agoMerge branch 'MDL-53039-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 15 Feb 2016 15:32:51 +0000 (15:32 +0000)]
Merge branch 'MDL-53039-master' of git://github.com/marinaglancy/moodle

7 years agoMerge branch 'MDL-52414_m31v7' of https://github.com/sbourget/moodle
Dan Poltawski [Mon, 15 Feb 2016 14:31:39 +0000 (14:31 +0000)]
Merge branch 'MDL-52414_m31v7' of https://github.com/sbourget/moodle

7 years agoMerge branch 'MDL-52342-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 15 Feb 2016 13:27:54 +0000 (13:27 +0000)]
Merge branch 'MDL-52342-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-49146' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 15 Feb 2016 12:13:30 +0000 (12:13 +0000)]
Merge branch 'MDL-49146' of git://github.com/timhunt/moodle

7 years agoMerge branch 'MDL-28030-cleanurls' of https://github.com/brendanheywood/moodle
Dan Poltawski [Mon, 15 Feb 2016 11:48:40 +0000 (11:48 +0000)]
Merge branch 'MDL-28030-cleanurls' of https://github.com/brendanheywood/moodle

7 years agoMerge branch 'wip_MDL-53029_master' of git://github.com/gjb2048/moodle
Dan Poltawski [Mon, 15 Feb 2016 11:07:38 +0000 (11:07 +0000)]
Merge branch 'wip_MDL-53029_master' of git://github.com/gjb2048/moodle

7 years agoMerge branch 'MDL-44626-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 15 Feb 2016 10:36:20 +0000 (10:36 +0000)]
Merge branch 'MDL-44626-master' of git://github.com/andrewnicols/moodle

7 years agoMDL-52217 repository: prepare_file should use per-request directory
Andrew Nicols [Fri, 29 Jan 2016 04:12:48 +0000 (12:12 +0800)]
MDL-52217 repository: prepare_file should use per-request directory

The repository API defaults has a function, prepare_file, which is
responsible for creating a unique file to be used during the current
request.

This is usually used in the repository's get_file() function to store the
file before it is used elsewhere in the API to save the file to the
filestorage API.
It is also sometimes used to temporarily store credentials for the lifetime
of the session.

In all cases, this file is only expected to exist for the duration of the
session.

Switching to use of a per-request directory using make_request_directory()
ensures that the tempdir does not grow without control.

This commit also adds an upgrade step to remove all old temp directories
created by any repository currently installed.

7 years agoMerge branch 'wip-MDL-52566-master' of https://github.com/cdsmith-umn/moodle
David Monllao [Mon, 15 Feb 2016 07:17:13 +0000 (15:17 +0800)]
Merge branch 'wip-MDL-52566-master' of https://github.com/cdsmith-umn/moodle

7 years agoMerge branch 'MDL-49807-master' of git://github.com/marinaglancy/moodle
David Monllao [Mon, 15 Feb 2016 07:11:09 +0000 (15:11 +0800)]
Merge branch 'MDL-49807-master' of git://github.com/marinaglancy/moodle

7 years agoMDL-52249 css: Recompile CSS
David Monllao [Mon, 15 Feb 2016 06:20:02 +0000 (14:20 +0800)]
MDL-52249 css: Recompile CSS

7 years agoMerge branch 'MDL-52249-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 15 Feb 2016 06:19:17 +0000 (14:19 +0800)]
Merge branch 'MDL-52249-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-48634_master' of git://github.com/markn86/moodle
David Monllao [Mon, 15 Feb 2016 04:20:59 +0000 (12:20 +0800)]
Merge branch 'MDL-48634_master' of git://github.com/markn86/moodle

7 years agoMDL-47365 mod_forum: Add permalink to forum posts
Andrew Nicols [Thu, 5 Feb 2015 00:42:00 +0000 (08:42 +0800)]
MDL-47365 mod_forum: Add permalink to forum posts

7 years agoMDL-50385 grades: Adding index to improve history search
Eric Merrill [Thu, 11 Feb 2016 17:30:12 +0000 (12:30 -0500)]
MDL-50385 grades: Adding index to improve history search

7 years agoMDL-51580 environment: 3.1 requirements added
Eloy Lafuente (stronk7) [Sat, 6 Feb 2016 11:12:35 +0000 (12:12 +0100)]
MDL-51580 environment: 3.1 requirements added

Only important change is that Moodle 2.7 installed is
required to be able to upgrade to 3.1. See the issue
for opinions, votes and agreed outcomes.

7 years agoMDL-28030 weblib: Added $CFG->urlrewriteclass in config.php
Brendan Heywood [Fri, 5 Feb 2016 08:45:00 +0000 (19:45 +1100)]
MDL-28030 weblib: Added $CFG->urlrewriteclass in config.php

    This enables a plugin to implement rewriting rules enabling
    'clean' or 'semantic' urls such as /course/COMP100/ instead
    of /course/view.php?id=1234

7 years agoMDL-52969 mod_forum: Add List-Unsubscribe email header
Brendan Heywood [Tue, 9 Feb 2016 13:24:17 +0000 (00:24 +1100)]
MDL-52969 mod_forum: Add List-Unsubscribe email header

7 years agoMDL-51196 mod_forum: Text emails link to post anchor
Brendan Heywood [Tue, 9 Feb 2016 12:09:31 +0000 (23:09 +1100)]
MDL-51196 mod_forum: Text emails link to post anchor

7 years agoweekly release 3.1dev
David Monllao [Thu, 11 Feb 2016 05:58:46 +0000 (13:58 +0800)]
weekly release 3.1dev

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Thu, 11 Feb 2016 05:58:42 +0000 (13:58 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoMDL-44626 files: Show the PHP max upload size instead of 'unlimited'
Andrew Nicols [Fri, 14 Aug 2015 06:03:20 +0000 (14:03 +0800)]
MDL-44626 files: Show the PHP max upload size instead of 'unlimited'

Even when a user has the appropriate capability to upload any sized files,
they are still restricted to the PHP post_max_size, and upload_max_filesize
values.

Rather than showing a value of "Unlimited', we should always restrict to
this value.

7 years agoMDL-52342 theme: Reduce specificity of selector
Andrew Nicols [Tue, 9 Feb 2016 06:32:42 +0000 (14:32 +0800)]
MDL-52342 theme: Reduce specificity of selector

These selectors were introduced to fix a real issue (highlighted by behat with
Chromedriver) whereby the 'Show section foo' link was partially covered by
another layer.

The fix in that issue was too broad and applied to all content > div areas,
which had some unforseen effects.

Since the original issue only affected activity instances, and sections (and
not content > div regions), I've removed this from the original patch.

7 years agoMDL-44626 repository: Correct error message when uploading large files
Andrew Nicols [Fri, 24 Apr 2015 04:09:47 +0000 (12:09 +0800)]
MDL-44626 repository: Correct error message when uploading large files

7 years agoMDL-52414 Lesson: Apply defaults to lesson creation
Stephen Bourget [Wed, 10 Feb 2016 19:07:22 +0000 (14:07 -0500)]
MDL-52414 Lesson: Apply defaults to lesson creation

7 years agoMDL-53029 mod_book: Hidden chapter has markup in alt and title attrs.
Gareth J Barnard [Wed, 10 Feb 2016 17:40:38 +0000 (17:40 +0000)]
MDL-53029 mod_book: Hidden chapter has markup in alt and title attrs.

7 years agoMDL-52511 dml: add support for PostgreSQL 9.5
Petr Skoda [Tue, 15 Dec 2015 00:17:49 +0000 (13:17 +1300)]
MDL-52511 dml: add support for PostgreSQL 9.5

The default definition behaviour has changed for some int values.

7 years agoMDL-51839 mod: Remove really old logos in gif format
Andrew Nicols [Tue, 20 Oct 2015 01:37:11 +0000 (09:37 +0800)]
MDL-51839 mod: Remove really old logos in gif format

7 years agoMDL-51306 mod_folder: Use context_module to find details
Rajesh Taneja [Wed, 10 Feb 2016 07:18:26 +0000 (15:18 +0800)]
MDL-51306 mod_folder: Use context_module to find details

renderable should not be used for extracting
details. Use cm to get context and dir information

7 years agoMDL-52930 forum: Fix random test failure caused by passing of time
Andrew Nicols [Wed, 10 Feb 2016 03:09:28 +0000 (11:09 +0800)]
MDL-52930 forum: Fix random test failure caused by passing of time

7 years agoMerge branch 'MDL-52766-master-mnet-url-length' of git://github.com/mudrd8mz/moodle
David Monllao [Wed, 10 Feb 2016 00:55:04 +0000 (08:55 +0800)]
Merge branch 'MDL-52766-master-mnet-url-length' of git://github.com/mudrd8mz/moodle

7 years agoAutomatically generated installer lang files
AMOS bot [Tue, 9 Feb 2016 16:03:56 +0000 (00:03 +0800)]
Automatically generated installer lang files

7 years agoMerge branch 'MDL-52896-master-apd' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 9 Feb 2016 11:08:40 +0000 (12:08 +0100)]
Merge branch 'MDL-52896-master-apd' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-49620_availability_settings' of git://github.com/synergylearning...
Dan Poltawski [Tue, 9 Feb 2016 10:34:14 +0000 (10:34 +0000)]
Merge branch 'MDL-49620_availability_settings' of git://github.com/synergylearning/moodle

7 years agoMerge branch 'MDL-52930-master' of git://github.com/andrewnicols/moodle
David Monllao [Tue, 9 Feb 2016 10:06:10 +0000 (18:06 +0800)]
Merge branch 'MDL-52930-master' of git://github.com/andrewnicols/moodle

7 years agoMDL-52818 core: Added CFG->divertallemailsexcept config option
Brendan Heywood [Tue, 2 Feb 2016 07:05:53 +0000 (18:05 +1100)]
MDL-52818 core: Added CFG->divertallemailsexcept config option

When $CFG->divertallemailsto is specified, this allows a list of email
or domain exceptions to be whitelisted enabling easier testing by groups
of testers who don't share a single email address.

7 years agoMDL-49807 mod_wiki: minimum heading level should always be <h3>
Marina Glancy [Tue, 9 Feb 2016 09:47:14 +0000 (17:47 +0800)]
MDL-49807 mod_wiki: minimum heading level should always be <h3>

7 years agoMDL-48634 core: changes to automated tests to pass with changes
Mark Nelson [Mon, 8 Feb 2016 08:37:11 +0000 (16:37 +0800)]
MDL-48634 core: changes to automated tests to pass with changes

7 years agoMDL-48634 core_grades: added behat test for grade items form validation
Mark Nelson [Mon, 25 Jan 2016 06:52:33 +0000 (14:52 +0800)]
MDL-48634 core_grades: added behat test for grade items form validation

7 years agoMDL-48634 core_form: added behat test for 'modgrade' validation
Mark Nelson [Thu, 21 Jan 2016 05:04:02 +0000 (13:04 +0800)]
MDL-48634 core_form: added behat test for 'modgrade' validation

7 years agoMDL-48634 core: prevent change of grade values when necessary
Mark Nelson [Tue, 19 Jan 2016 09:04:56 +0000 (17:04 +0800)]
MDL-48634 core: prevent change of grade values when necessary

Three additional checks have been added.

Once grades have been recorded for the activity/grade item -

1) Do not allow the grade type to be changed.
2) Do not allow the scale to be changed.
3) If we are using ratings do not allow the 'Maximum points'
value to be changed.

Also reordered form elements, removed form elements that
were not necessary, added and changed existing language
strings to improve the overall UI.

7 years agoMerge branch 'MDL-52895-master' of git://github.com/jleyva/moodle
Dan Poltawski [Tue, 9 Feb 2016 09:43:21 +0000 (09:43 +0000)]
Merge branch 'MDL-52895-master' of git://github.com/jleyva/moodle

7 years agoMerge branch 'MDL-52902-master' of git://github.com/jleyva/moodle
David Monllao [Tue, 9 Feb 2016 06:45:29 +0000 (14:45 +0800)]
Merge branch 'MDL-52902-master' of git://github.com/jleyva/moodle

7 years agoMerge branch 'MDL-52927' of https://github.com/mkassaei/moodle
David Monllao [Tue, 9 Feb 2016 05:37:14 +0000 (13:37 +0800)]
Merge branch 'MDL-52927' of https://github.com/mkassaei/moodle

7 years agoMDL-53039 rss: allow guest access to front page forum
Marina Glancy [Tue, 9 Feb 2016 07:51:09 +0000 (15:51 +0800)]
MDL-53039 rss: allow guest access to front page forum

7 years agoMerge branch 'MDL-51818_M30' of git://github.com/lazydaisy/moodle
David Monllao [Tue, 9 Feb 2016 04:24:24 +0000 (12:24 +0800)]
Merge branch 'MDL-51818_M30' of git://github.com/lazydaisy/moodle

7 years agoMerge branch 'wip-mdl-52949' of https://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Tue, 9 Feb 2016 01:30:07 +0000 (02:30 +0100)]
Merge branch 'wip-mdl-52949' of https://github.com/rajeshtaneja/moodle

7 years agoMerge branch 'MDL-52339-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 23:45:19 +0000 (00:45 +0100)]
Merge branch 'MDL-52339-master' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-52938-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 23:30:02 +0000 (00:30 +0100)]
Merge branch 'MDL-52938-master' of git://github.com/marinaglancy/moodle

7 years agoMerge branch 'MDL-52975-master-mnet-context' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 21:57:45 +0000 (22:57 +0100)]
Merge branch 'MDL-52975-master-mnet-context' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-52981-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 21:55:07 +0000 (22:55 +0100)]
Merge branch 'MDL-52981-master' of https://github.com/sammarshallou/moodle

7 years agoMerge branch 'MDL-51075_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 21:44:47 +0000 (22:44 +0100)]
Merge branch 'MDL-51075_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'MDL-50310-master-random-glossary' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 21:34:07 +0000 (22:34 +0100)]
Merge branch 'MDL-50310-master-random-glossary' of git://github.com/mudrd8mz/moodle

7 years agoMerge branch 'MDL-48778-master' of git://github.com/lameze/moodle
Dan Poltawski [Mon, 8 Feb 2016 17:13:02 +0000 (17:13 +0000)]
Merge branch 'MDL-48778-master' of git://github.com/lameze/moodle

7 years agoMerge branch 'MDL-52983' of git://github.com/aolley/moodle
Eloy Lafuente (stronk7) [Mon, 8 Feb 2016 12:05:30 +0000 (13:05 +0100)]
Merge branch 'MDL-52983' of git://github.com/aolley/moodle

7 years agoMDL-52249 theme_bootstrapbase: Remove dropdown-backdrop
Andrew Nicols [Mon, 8 Feb 2016 06:17:51 +0000 (14:17 +0800)]
MDL-52249 theme_bootstrapbase: Remove dropdown-backdrop

Standard bootstrap adds a backdrop for touch-responsive clients.
Unfortunately the backdrop is not compatible with submenus.

The backdrop was only added in Bootstrap v2.3.1, and Moodle switched to
using the bootstrap JS in version 3.0.0.

7 years agoMerge branch 'MDL-50115-master' of git://github.com/danpoltawski/moodle
David Monllao [Mon, 8 Feb 2016 06:10:39 +0000 (14:10 +0800)]
Merge branch 'MDL-50115-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'm31_MDL-52637_Disable_Automatically_Enabling_TLS_Encryption' of https...
David Monllao [Mon, 8 Feb 2016 05:47:06 +0000 (13:47 +0800)]
Merge branch 'm31_MDL-52637_Disable_Automatically_Enabling_TLS_Encryption' of https://github.com/scara/moodle

7 years agoMDL-48778 mod_assign: behat tests for group submission
Simey Lameze [Mon, 8 Feb 2016 02:22:31 +0000 (10:22 +0800)]
MDL-48778 mod_assign: behat tests for group submission

7 years agoMDL-52983 excel output: avoid single quote on end of sheet name
Adam Olley [Wed, 3 Feb 2016 11:58:44 +0000 (22:28 +1030)]
MDL-52983 excel output: avoid single quote on end of sheet name

This change resolves a problem where a long sheet name, which gets
trimmed down with substr($name, 0, 31), could result in a sheet name
with a single quote on the end because the quote removal was done before
the substr.

7 years agoMerge branch 'MDL-51306' of https://github.com/andrewhancox/moodle
David Monllao [Mon, 8 Feb 2016 03:23:34 +0000 (11:23 +0800)]
Merge branch 'MDL-51306' of https://github.com/andrewhancox/moodle

7 years agoMDL-48778 assign: Use proper latest attempt for quickgrading prechecks
Eric Merrill [Wed, 21 Jan 2015 14:48:15 +0000 (09:48 -0500)]
MDL-48778 assign: Use proper latest attempt for quickgrading prechecks

The code that stored lastmodified in gradingtable used a different
method to produce it than the processor used to generate the check
value. Fix that and also check that the attempt number has not changed.

7 years agoMerge branch 'MDL-51723-master' of git://github.com/andrewnicols/moodle
David Monllao [Mon, 8 Feb 2016 01:02:41 +0000 (09:02 +0800)]
Merge branch 'MDL-51723-master' of git://github.com/andrewnicols/moodle

7 years agoMDL-44087 mod_forum: Move forum digest to new processor
Andrew Nicols [Fri, 29 Jan 2016 07:16:23 +0000 (15:16 +0800)]
MDL-44087 mod_forum: Move forum digest to new processor

7 years agoMDL-49146 single-activity course format: key activity must be visible
Tim Hunt [Sat, 6 Feb 2016 14:55:46 +0000 (14:55 +0000)]
MDL-49146 single-activity course format: key activity must be visible

With a single-activity course, visibility to students is controlled by
course visibility. There is no sense in having the key activity not
visible to students, and, if you did, the symptoms were almost
incomprehensible. It was very hard to work out what you had done wrong.

7 years agoAutomatically generated installer lang files
AMOS bot [Fri, 5 Feb 2016 16:03:58 +0000 (00:03 +0800)]
Automatically generated installer lang files

7 years agoMDL-48634 grades: Remove hardcoded hack in grade book
Damyon Wiese [Wed, 19 Aug 2015 07:00:56 +0000 (15:00 +0800)]
MDL-48634 grades: Remove hardcoded hack in grade book

This was testing specifically for mod_assign - now we can test to see if
an activity provides it's own rescaling function.

7 years agoMDL-48634 assign: Improve related feature to better cover new code.
Eloy Lafuente (stronk7) [Tue, 18 Aug 2015 02:05:23 +0000 (04:05 +0200)]
MDL-48634 assign: Improve related feature to better cover new code.

This does:
- split the existing scenarion into background + 2 scenarions (yes and no).
- get rid of @javascript
- fix some whitespace
- add 2 more scenarios to verify the new server-side validation rule.

7 years agoMDL-48634 grades: Make the rescaling option required if maxgrade changes
Damyon Wiese [Thu, 13 Aug 2015 04:16:21 +0000 (12:16 +0800)]
MDL-48634 grades: Make the rescaling option required if maxgrade changes

7 years agoMDL-48634 grades: Add an option to rescale when changing the maxgrade
Damyon Wiese [Wed, 15 Apr 2015 11:57:28 +0000 (07:57 -0400)]
MDL-48634 grades: Add an option to rescale when changing the maxgrade

7 years agoMDL-52930 mod_forum: Add get_unmailed_posts tests
Andrew Nicols [Fri, 5 Feb 2016 06:32:47 +0000 (14:32 +0800)]
MDL-52930 mod_forum: Add get_unmailed_posts tests

7 years agoMDL-52930 forum: Correct get_unmailed_posts logic
Josh Marshall [Thu, 29 Oct 2015 05:21:13 +0000 (15:51 +1030)]
MDL-52930 forum: Correct get_unmailed_posts logic

7 years agoMDL-51075 filter_glossary: Fix popup position when no popups
David Monllao [Tue, 2 Feb 2016 04:34:59 +0000 (12:34 +0800)]
MDL-51075 filter_glossary: Fix popup position when no popups

Thanks to Andrew Nicols for cleaning my eyes.

7 years agoMDL-52339 question: Fix question attempt removal for MySQL
Andrew Nicols [Tue, 2 Feb 2016 07:37:17 +0000 (15:37 +0800)]
MDL-52339 question: Fix question attempt removal for MySQL

Derived table support was altered in MySQL 5.7 changing the way in which
DELETE FROM works in some cases.

This change modifies the way in which deletion occurs by selecting all IDs
and batching them into groups of 1000.

7 years agoMDL-50310 glossary: Fix restore of random glossary entry block
David Mudrák [Thu, 4 Feb 2016 22:44:15 +0000 (23:44 +0100)]
MDL-50310 glossary: Fix restore of random glossary entry block

When restoring the random glossary entry block, we need to check that
the associated glossary has also been included in the backup and is
being restored. If not, we must invalidate the block configuration.

Before this patch, the block configuration was not invalidated.

Additionally, as a result of MDL-20131, the block configuration also
contains the course id of the associated glossary (which by the way does
not seem to be a wise choice, but I may be missing something). So we
need to remap this course id as well to avoid mismatch.

7 years agoMDL-52637 mail: Disabled automatic TLS encryption.
Matteo Scaramuccia [Sat, 16 Jan 2016 20:12:03 +0000 (21:12 +0100)]
MDL-52637 mail: Disabled automatic TLS encryption.

7 years agoMDL-52975 mnet: Set system context on the MNet SSO landing page
David Mudrák [Tue, 2 Feb 2016 20:01:45 +0000 (21:01 +0100)]
MDL-52975 mnet: Set system context on the MNet SSO landing page

Without the context being explicitly set, debugging warning can be
displayed in certain rare situations.

7 years agoMDL-52766 mnet: Support MNet peer URLs longer than 64 characters
David Mudrák [Tue, 2 Feb 2016 21:34:04 +0000 (22:34 +0100)]
MDL-52766 mnet: Support MNet peer URLs longer than 64 characters

The commonName in SSL certificate is limited to 64 characters as per
RFC 5280 (https://www.ietf.org/rfc/rfc5280.txt). We respect that limit
when generating the CN attribute from the site's $CFG->wwwroot. But then
we did not respect it when comparing the common name with the peer's
URL so the certificate was not considered valid.

7 years agoMDL-49620 availability: plugins can have global settings
Davo Smith [Thu, 4 Feb 2016 15:21:02 +0000 (15:21 +0000)]
MDL-49620 availability: plugins can have global settings

7 years agoMDL-50115 grunt: provide a --root option to set base path
Dan Poltawski [Thu, 28 Jan 2016 14:55:56 +0000 (14:55 +0000)]
MDL-50115 grunt: provide a --root option to set base path

Windows users are not able to run grunt on a subpath due to platform
restrictions. So we provide this option to provide a workaround for that.

Thanks to Ty Delean who proposed this idea.

7 years agoMDL-52927 qtype ddwtos and ddimageortext focus using keyboard
M Kassaei [Mon, 1 Feb 2016 12:04:10 +0000 (12:04 +0000)]
MDL-52927 qtype ddwtos and ddimageortext focus using keyboard

7 years agoweekly release 3.1dev
David Monllao [Thu, 4 Feb 2016 06:30:03 +0000 (14:30 +0800)]
weekly release 3.1dev

7 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Monllao [Thu, 4 Feb 2016 06:30:00 +0000 (14:30 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 years agoAutomatically generated installer lang files
AMOS bot [Wed, 3 Feb 2016 16:04:08 +0000 (00:04 +0800)]
Automatically generated installer lang files