Dan Poltawski [Tue, 16 Feb 2016 10:26:57 +0000 (10:26 +0000)]
Merge branch 'MDL-52879' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 16 Feb 2016 10:22:53 +0000 (11:22 +0100)]
Merge branch 'MDL-51929-master' of git://github.com/dpalou/moodle
Dan Poltawski [Tue, 16 Feb 2016 09:30:12 +0000 (09:30 +0000)]
Merge branch 'MDL-49612-master' of git://github.com/dpalou/moodle
Dan Poltawski [Tue, 16 Feb 2016 09:09:08 +0000 (09:09 +0000)]
Merge branch 'master_MDL-50620' of https://github.com/danmarsden/moodle
Dani Palou [Tue, 26 Jan 2016 09:15:28 +0000 (10:15 +0100)]
MDL-51929 external: Apply new validate_courses to data/lti/survey
David Monllao [Tue, 16 Feb 2016 06:39:46 +0000 (14:39 +0800)]
Merge branch 'MDL-52208-master-2' of git://github.com/junpataleta/moodle
Jun Pataleta [Mon, 23 Nov 2015 22:40:26 +0000 (16:40 -0600)]
MDL-52208 webservice_soap: Remove Zend from webservice_soap
David Monllao [Tue, 16 Feb 2016 05:26:37 +0000 (13:26 +0800)]
Merge branch 'MDL-51117-master' of git://github.com/andrewnicols/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
Stephen Bourget [Tue, 16 Feb 2016 04:05:37 +0000 (23:05 -0500)]
MDL-52414 Lesson: Fix lesson defaults
David Monllao [Tue, 16 Feb 2016 03:25:22 +0000 (11:25 +0800)]
Merge branch 'MDL-52387-master' of git://github.com/lameze/moodle
David Monllao [Tue, 16 Feb 2016 03:22:29 +0000 (11:22 +0800)]
MDL-51196 mod_forum: Updating required context vars
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
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.
David Monllao [Tue, 16 Feb 2016 03:02:49 +0000 (11:02 +0800)]
MDL-51839 mod: Info about removing icon.gif files
David Monllao [Tue, 16 Feb 2016 02:58:22 +0000 (10:58 +0800)]
Merge branch 'MDL-51839-master' of git://github.com/andrewnicols/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
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
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
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
David Monllao [Mon, 15 Feb 2016 21:03:28 +0000 (05:03 +0800)]
Merge branch 'MDL-51580' of git://github.com/stronk7/moodle
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
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();
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.
Dan Poltawski [Mon, 15 Feb 2016 15:32:51 +0000 (15:32 +0000)]
Merge branch 'MDL-53039-master' of git://github.com/marinaglancy/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
Dan Poltawski [Mon, 15 Feb 2016 13:27:54 +0000 (13:27 +0000)]
Merge branch 'MDL-52342-master' of git://github.com/andrewnicols/moodle
Dan Poltawski [Mon, 15 Feb 2016 12:13:30 +0000 (12:13 +0000)]
Merge branch 'MDL-49146' of git://github.com/timhunt/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
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
Dan Poltawski [Mon, 15 Feb 2016 10:36:20 +0000 (10:36 +0000)]
Merge branch 'MDL-44626-master' of git://github.com/andrewnicols/moodle
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.
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
David Monllao [Mon, 15 Feb 2016 07:11:09 +0000 (15:11 +0800)]
Merge branch 'MDL-49807-master' of git://github.com/marinaglancy/moodle
David Monllao [Mon, 15 Feb 2016 06:20:02 +0000 (14:20 +0800)]
MDL-52249 css: Recompile CSS
David Monllao [Mon, 15 Feb 2016 06:19:17 +0000 (14:19 +0800)]
Merge branch 'MDL-52249-master' of git://github.com/andrewnicols/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
Andrew Nicols [Thu, 5 Feb 2015 00:42:00 +0000 (08:42 +0800)]
MDL-47365 mod_forum: Add permalink to forum posts
Eric Merrill [Thu, 11 Feb 2016 17:30:12 +0000 (12:30 -0500)]
MDL-50385 grades: Adding index to improve history search
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.
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
Brendan Heywood [Tue, 9 Feb 2016 13:24:17 +0000 (00:24 +1100)]
MDL-52969 mod_forum: Add List-Unsubscribe email header
Brendan Heywood [Tue, 9 Feb 2016 12:09:31 +0000 (23:09 +1100)]
MDL-51196 mod_forum: Text emails link to post anchor
David Monllao [Thu, 11 Feb 2016 05:58:46 +0000 (13:58 +0800)]
weekly release 3.1dev
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
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.
Andrew Nicols [Fri, 14 Aug 2015 06:47:08 +0000 (14:47 +0800)]
MDL-51117 JavaScript: Convert alert to M.core.alert in dndupload
This also updates a language string to use string params instead of
hard-prefixing.
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.
Andrew Nicols [Fri, 24 Apr 2015 04:09:47 +0000 (12:09 +0800)]
MDL-44626 repository: Correct error message when uploading large files
Stephen Bourget [Wed, 10 Feb 2016 19:07:22 +0000 (14:07 -0500)]
MDL-52414 Lesson: Apply defaults to lesson creation
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.
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.
Andrew Nicols [Tue, 20 Oct 2015 01:37:11 +0000 (09:37 +0800)]
MDL-51839 mod: Remove really old logos in gif format
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
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
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
Tim Hunt [Sat, 6 Feb 2016 10:13:28 +0000 (10:13 +0000)]
MDL-52879 quiz editing: allow removal of the last question in a quiz
Even though you are not normally allowed to remove the last question
in a section.
Dan Marsden [Thu, 9 Jul 2015 23:24:15 +0000 (11:24 +1200)]
MDL-50620 mod_scorm: Add Mastery score override setting
Thanks to Nathan Lewis for the initial patch
AMOS bot [Tue, 9 Feb 2016 16:03:56 +0000 (00:03 +0800)]
Automatically generated installer lang files
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
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
David Monllao [Tue, 9 Feb 2016 10:06:10 +0000 (18:06 +0800)]
Merge branch 'MDL-52930-master' of git://github.com/andrewnicols/moodle
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.
Marina Glancy [Tue, 9 Feb 2016 09:47:14 +0000 (17:47 +0800)]
MDL-49807 mod_wiki: minimum heading level should always be <h3>
Mark Nelson [Mon, 8 Feb 2016 08:37:11 +0000 (16:37 +0800)]
MDL-48634 core: changes to automated tests to pass with changes
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
Mark Nelson [Thu, 21 Jan 2016 05:04:02 +0000 (13:04 +0800)]
MDL-48634 core_form: added behat test for 'modgrade' validation
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.
Dan Poltawski [Tue, 9 Feb 2016 09:43:21 +0000 (09:43 +0000)]
Merge branch 'MDL-52895-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
David Monllao [Tue, 9 Feb 2016 05:37:14 +0000 (13:37 +0800)]
Merge branch 'MDL-52927' of https://github.com/mkassaei/moodle
Marina Glancy [Tue, 9 Feb 2016 07:51:09 +0000 (15:51 +0800)]
MDL-53039 rss: allow guest access to front page forum
David Monllao [Tue, 9 Feb 2016 04:24:24 +0000 (12:24 +0800)]
Merge branch 'MDL-51818_M30' of git://github.com/lazydaisy/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
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
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
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
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
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
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
Dan Poltawski [Mon, 8 Feb 2016 17:13:02 +0000 (17:13 +0000)]
Merge branch 'MDL-48778-master' of git://github.com/lameze/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
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.
David Monllao [Mon, 8 Feb 2016 06:10:39 +0000 (14:10 +0800)]
Merge branch 'MDL-50115-master' of git://github.com/danpoltawski/moodle
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
Simey Lameze [Mon, 8 Feb 2016 02:22:31 +0000 (10:22 +0800)]
MDL-48778 mod_assign: behat tests for group submission
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.
David Monllao [Mon, 8 Feb 2016 03:23:34 +0000 (11:23 +0800)]
Merge branch 'MDL-51306' of https://github.com/andrewhancox/moodle
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.
David Monllao [Mon, 8 Feb 2016 01:02:41 +0000 (09:02 +0800)]
Merge branch 'MDL-51723-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Fri, 29 Jan 2016 07:16:23 +0000 (15:16 +0800)]
MDL-44087 mod_forum: Move forum digest to new processor
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.
AMOS bot [Fri, 5 Feb 2016 16:03:58 +0000 (00:03 +0800)]
Automatically generated installer lang files
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.
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.
Damyon Wiese [Thu, 13 Aug 2015 04:16:21 +0000 (12:16 +0800)]
MDL-48634 grades: Make the rescaling option required if maxgrade changes
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
Andrew Nicols [Fri, 5 Feb 2016 06:32:47 +0000 (14:32 +0800)]
MDL-52930 mod_forum: Add get_unmailed_posts tests
Josh Marshall [Thu, 29 Oct 2015 05:21:13 +0000 (15:51 +1030)]
MDL-52930 forum: Correct get_unmailed_posts logic
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.