76917 Commits

Author SHA1 Message Date
David Monllao
ce74ad69ae Merge branch 'MDL-52387-master' of git://github.com/lameze/moodle 2016-02-16 11:25:22 +08:00
David Monllao
fb2d4baf57 MDL-51196 mod_forum: Updating required context vars 2016-02-16 11:22:29 +08:00
David Monllao
0511b81240 Merge branch 'MDL-51196-text-email-permalink' of https://github.com/brendanheywood/moodle 2016-02-16 11:17:20 +08:00
Simey Lameze
c1bc628e1d MDL-52387 auth_ldap: add support for fine grained password
Contributed by Matthew Johnson.
2016-02-16 11:03:42 +08:00
David Monllao
88acc87d8c MDL-51839 mod: Info about removing icon.gif files 2016-02-16 11:02:49 +08:00
David Monllao
11ce3ffccc Merge branch 'MDL-51839-master' of git://github.com/andrewnicols/moodle 2016-02-16 10:58:22 +08:00
Eloy Lafuente (stronk7)
be5955edf0 Merge branch 'MDL-52969-email-unsubscribe' of https://github.com/brendanheywood/moodle 2016-02-16 02:54:08 +01:00
Eloy Lafuente (stronk7)
056a07388b Merge branch 'MDL-52511-master' of git://github.com/danpoltawski/moodle 2016-02-16 02:00:37 +01:00
David Monllao
c06749bdf3 Merge branch 'MDL-50385-master' of git://github.com/merrill-oakland/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2016-02-16 06:47:27 +08:00
David Monllao
187137aa23 Merge branch 'MDL-52217-master' of git://github.com/andrewnicols/moodle
Conflicts:
	repository/upgrade.txt
2016-02-16 05:56:02 +08:00
David Monllao
44ad0f2c8d Merge branch 'MDL-51580' of git://github.com/stronk7/moodle 2016-02-16 05:03:28 +08:00
Eloy Lafuente (stronk7)
20c3e2c9fc 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
2016-02-15 18:38:21 +01:00
Eloy Lafuente (stronk7)
1405f010b7 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();
2016-02-15 18:38:21 +01:00
Eloy Lafuente (stronk7)
e8c82aac82 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.
2016-02-15 18:38:09 +01:00
Dan Poltawski
93fb2b649b Merge branch 'MDL-53039-master' of git://github.com/marinaglancy/moodle 2016-02-15 15:32:51 +00:00
Dan Poltawski
e408c83fa7 Merge branch 'MDL-52414_m31v7' of https://github.com/sbourget/moodle 2016-02-15 14:31:39 +00:00
Dan Poltawski
96966ce6d9 Merge branch 'MDL-52342-master' of git://github.com/andrewnicols/moodle 2016-02-15 13:27:54 +00:00
Dan Poltawski
07853905ef Merge branch 'MDL-49146' of git://github.com/timhunt/moodle 2016-02-15 12:13:30 +00:00
Dan Poltawski
c2f4304b98 Merge branch 'MDL-28030-cleanurls' of https://github.com/brendanheywood/moodle 2016-02-15 11:48:40 +00:00
Dan Poltawski
c1184f6cc2 Merge branch 'wip_MDL-53029_master' of git://github.com/gjb2048/moodle 2016-02-15 11:07:38 +00:00
Dan Poltawski
220f8115d9 Merge branch 'MDL-44626-master' of git://github.com/andrewnicols/moodle 2016-02-15 10:36:20 +00:00
Andrew Nicols
a9e12347b7 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.
2016-02-15 15:54:05 +08:00
David Monllao
e8ba34ac89 Merge branch 'wip-MDL-52566-master' of https://github.com/cdsmith-umn/moodle 2016-02-15 15:17:13 +08:00
David Monllao
6cc1c06236 Merge branch 'MDL-49807-master' of git://github.com/marinaglancy/moodle 2016-02-15 15:11:09 +08:00
David Monllao
3738d1b60b MDL-52249 css: Recompile CSS 2016-02-15 14:20:02 +08:00
David Monllao
61c2a0804b Merge branch 'MDL-52249-master' of git://github.com/andrewnicols/moodle 2016-02-15 14:19:17 +08:00
David Monllao
85dc424a7c Merge branch 'MDL-48634_master' of git://github.com/markn86/moodle 2016-02-15 12:20:59 +08:00
Andrew Nicols
75debb4dbb MDL-47365 mod_forum: Add permalink to forum posts 2016-02-12 08:03:01 +08:00
Eric Merrill
201a90938e MDL-50385 grades: Adding index to improve history search 2016-02-11 12:30:12 -05:00
Eloy Lafuente (stronk7)
bf5c764f3c 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.
2016-02-11 16:08:48 +01:00
Brendan Heywood
2ab797c90b 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
2016-02-11 20:44:25 +11:00
Brendan Heywood
7898d616fa MDL-52969 mod_forum: Add List-Unsubscribe email header 2016-02-11 20:41:58 +11:00
Brendan Heywood
5afe390ef8 MDL-51196 mod_forum: Text emails link to post anchor 2016-02-11 20:41:12 +11:00
David Monllao
2f45a11ac4 weekly release 3.1dev 2016-02-11 13:58:46 +08:00
David Monllao
0e1c750c56 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2016-02-11 13:58:42 +08:00
Andrew Nicols
6f0768618a 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.
2016-02-11 10:55:54 +08:00
Andrew Nicols
6b963db3ff 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.
2016-02-11 08:13:53 +08:00
Andrew Nicols
658a922fa6 MDL-44626 repository: Correct error message when uploading large files 2016-02-11 08:08:57 +08:00
Stephen Bourget
a36eba45dc MDL-52414 Lesson: Apply defaults to lesson creation 2016-02-10 14:07:22 -05:00
Gareth J Barnard
6eaa3230ba MDL-53029 mod_book: Hidden chapter has markup in alt and title attrs. 2016-02-10 18:10:24 +00:00
Petr Skoda
267ac1b9eb MDL-52511 dml: add support for PostgreSQL 9.5
The default definition behaviour has changed for some int values.
2016-02-10 09:45:07 +00:00
Andrew Nicols
87d567d3c5 MDL-51839 mod: Remove really old logos in gif format 2016-02-10 16:20:29 +08:00
Rajesh Taneja
cd6e7e0da0 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
2016-02-10 15:51:31 +08:00
Andrew Nicols
985dca606f MDL-52930 forum: Fix random test failure caused by passing of time 2016-02-10 12:24:09 +08:00
David Monllao
c63801675a Merge branch 'MDL-52766-master-mnet-url-length' of git://github.com/mudrd8mz/moodle 2016-02-10 08:55:04 +08:00
AMOS bot
11a003967e Automatically generated installer lang files 2016-02-10 00:03:56 +08:00
Eloy Lafuente (stronk7)
d9b3898e5d Merge branch 'MDL-52896-master-apd' of git://github.com/mudrd8mz/moodle 2016-02-09 12:08:40 +01:00
Dan Poltawski
e1a478c5f4 Merge branch 'MDL-49620_availability_settings' of git://github.com/synergylearning/moodle 2016-02-09 10:34:14 +00:00
David Monllao
098650d8e2 Merge branch 'MDL-52930-master' of git://github.com/andrewnicols/moodle 2016-02-09 18:06:10 +08:00
Brendan Heywood
eca8cf67dc 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.
2016-02-09 09:59:20 +00:00