moodle.git
7 years agoweekly release 2.6dev
Dan Poltawski [Fri, 21 Jun 2013 05:25:42 +0000 (13:25 +0800)]
weekly release 2.6dev

7 years agofix permissions
Dan Poltawski [Fri, 21 Jun 2013 05:24:44 +0000 (13:24 +0800)]
fix permissions

7 years agoMerge branch 'install_master' of git://git.moodle.cz/moodle-install
Dan Poltawski [Fri, 21 Jun 2013 05:23:21 +0000 (13:23 +0800)]
Merge branch 'install_master' of git://git.moodle.cz/moodle-install

7 years agoRevert "MDL-33105 flexible apply_units() function"
Dan Poltawski [Thu, 20 Jun 2013 13:09:36 +0000 (21:09 +0800)]
Revert "MDL-33105 flexible apply_units() function"

This reverts commit bf766d43f965d81ff0461026e6f3aba34c0f59b0.

7 years agoMerge branch 'fix_classloading8' of git://github.com/skodak/moodle
Dan Poltawski [Wed, 19 Jun 2013 07:47:08 +0000 (15:47 +0800)]
Merge branch 'fix_classloading8' of git://github.com/skodak/moodle

7 years agoMDL-39854 fix borked core_component cache
Petr Škoda [Wed, 19 Jun 2013 07:42:05 +0000 (09:42 +0200)]
MDL-39854 fix borked core_component cache

7 years agoMDL-33955 filelib: accept any HTTP 1.0 in tests
Dan Poltawski [Wed, 19 Jun 2013 06:42:51 +0000 (08:42 +0200)]
MDL-33955 filelib: accept any HTTP 1.0 in tests

This is common with proxies like squid which don't support http
pipelining.

7 years agoMDL-39854 disable component cachin in BEHAT_TEST
David Monllao [Wed, 19 Jun 2013 03:28:32 +0000 (11:28 +0800)]
MDL-39854 disable component cachin in BEHAT_TEST

7 years agoMerge branch 'MDL-40109_master-fix' of git://github.com/dmonllao/moodle
Sam Hemelryk [Wed, 19 Jun 2013 02:06:41 +0000 (14:06 +1200)]
Merge branch 'MDL-40109_master-fix' of git://github.com/dmonllao/moodle

7 years agoRevert "MDL-38555 forms: Prevent same data submission multiple times."
Sam Hemelryk [Wed, 19 Jun 2013 01:45:46 +0000 (13:45 +1200)]
Revert "MDL-38555 forms: Prevent same data submission multiple times."

This reverts commit 761670208a97c0ed7e1ff7c2e6a7ec5494eb93d3.

7 years agoMDL-40109 behat: Fixing backup feature
David Monllao [Wed, 19 Jun 2013 00:53:08 +0000 (08:53 +0800)]
MDL-40109 behat: Fixing backup feature

7 years agoMerge branch 'w25_MDL-33955_m26_curlredir' of git://github.com/skodak/moodle
Sam Hemelryk [Tue, 18 Jun 2013 21:13:30 +0000 (09:13 +1200)]
Merge branch 'w25_MDL-33955_m26_curlredir' of git://github.com/skodak/moodle

7 years agoMDL-40103 Now xmldb code matches original templates 100%
Eloy Lafuente (stronk7) [Tue, 18 Jun 2013 13:22:51 +0000 (15:22 +0200)]
MDL-40103 Now xmldb code matches original templates 100%

There were still some differences between the php code
used in the issue and the php code generated by the
xmldb editor for the template tables. This commit put
both 100% in sync.

7 years agoMDL-40103 stats: correct incorrectly copied stats tables.
Russell Smith [Tue, 18 Jun 2013 09:27:10 +0000 (19:27 +1000)]
MDL-40103 stats: correct incorrectly copied stats tables.

7 years agoMDL-39854 disable component caching in BEHAT_UTIL
Petr Škoda [Tue, 18 Jun 2013 10:02:07 +0000 (12:02 +0200)]
MDL-39854 disable component caching in BEHAT_UTIL

7 years agoMDL-39854 fix get_list_of_plugins() test
Petr Škoda [Tue, 18 Jun 2013 09:46:00 +0000 (11:46 +0200)]
MDL-39854 fix get_list_of_plugins() test

7 years agoMerge branch 'MDL-37761-m' of git://github.com/andrewnicols/moodle
Dan Poltawski [Tue, 18 Jun 2013 08:47:18 +0000 (16:47 +0800)]
Merge branch 'MDL-37761-m' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'fix_classloading5' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 18 Jun 2013 08:37:45 +0000 (10:37 +0200)]
Merge branch 'fix_classloading5' of git://github.com/skodak/moodle

7 years agoMDL-39854 fix test_finder regression
Petr Škoda [Tue, 18 Jun 2013 08:37:04 +0000 (10:37 +0200)]
MDL-39854 fix test_finder regression

7 years agoMDL-39854 fix installer regression caused by new core_component
Petr Škoda [Tue, 18 Jun 2013 08:31:26 +0000 (10:31 +0200)]
MDL-39854 fix installer regression caused by new core_component

7 years agoMDL-39854: version bump for classloader new world
Dan Poltawski [Tue, 18 Jun 2013 06:39:11 +0000 (14:39 +0800)]
MDL-39854: version bump for classloader new world

7 years agoMDL-39854 use classloader in add-on installer tool
Petr Škoda [Sat, 8 Jun 2013 09:55:31 +0000 (11:55 +0200)]
MDL-39854 use classloader in add-on installer tool

7 years agoMDL-39854 use class loader in editor_tinymce
Petr Škoda [Wed, 12 Jun 2013 08:28:19 +0000 (10:28 +0200)]
MDL-39854 use class loader in editor_tinymce

7 years agoMDL-39854 reimplement Frankenstyle support and enable classloader
Petr Škoda [Fri, 7 Jun 2013 16:15:28 +0000 (18:15 +0200)]
MDL-39854 reimplement Frankenstyle support and enable classloader

Better performance, more reliable, completely self contained,
more validation and full backwards compatibility.

This will also allow us to implement ignoring of plugins.

7 years agoRevert "MDL-39474 Library: Make a fast way to check developer debug mode"
Dan Poltawski [Tue, 18 Jun 2013 07:07:22 +0000 (15:07 +0800)]
Revert "MDL-39474 Library: Make a fast way to check developer debug mode"

There were multiple problems discovered.

This reverts commit 5c92e7a740fbce4184cf204a11ebbb6b918a376b.

Conflicts:
admin/cli/install.php

7 years agoMDL-37761 Backup: Add phpdoc for MODE constants
Andrew Nicols [Tue, 14 May 2013 10:44:41 +0000 (11:44 +0100)]
MDL-37761 Backup: Add phpdoc for MODE constants

7 years agoMDL-37761 Backup: Do not include files in backups when importing courses/activities
Andrew Nicols [Sun, 12 May 2013 15:53:57 +0000 (16:53 +0100)]
MDL-37761 Backup: Do not include files in backups when importing courses/activities

When we import courses or duplicate activities, the deduplicating nature of
the file_storage system means that we don't actually have to include the
real files in the backup - just their metadata from the file table.

The restoration process needs to know not to expect files from the backup
phase so a flag is set in moodle_backup metadata.

7 years agoMerge branch 'MDL-40207-master' of git://github.com/danpoltawski/moodle
Marina Glancy [Tue, 18 Jun 2013 05:36:42 +0000 (15:36 +1000)]
Merge branch 'MDL-40207-master' of git://github.com/danpoltawski/moodle

7 years agoMDL-40165 Backup: Split out test classes into multiple files
Andrew Nicols [Wed, 12 Jun 2013 19:40:50 +0000 (20:40 +0100)]
MDL-40165 Backup: Split out test classes into multiple files

7 years agoMerge branch 'MDL-39339_master' of https://github.com/pauln/moodle
Dan Poltawski [Tue, 18 Jun 2013 05:10:24 +0000 (13:10 +0800)]
Merge branch 'MDL-39339_master' of https://github.com/pauln/moodle

7 years agoMerge branch 'wip-MDL-39794-master' of git://github.com/phalacee/moodle
Sam Hemelryk [Tue, 18 Jun 2013 03:35:37 +0000 (15:35 +1200)]
Merge branch 'wip-MDL-39794-master' of git://github.com/phalacee/moodle

7 years agoMerge branch 'MDL-39152-master' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Tue, 18 Jun 2013 03:34:30 +0000 (15:34 +1200)]
Merge branch 'MDL-39152-master' of git://github.com/ankitagarwal/moodle

7 years agoMDL-33546: course: Fix current week hightlighting after dragging the section
Ruslan Kabalin [Fri, 1 Feb 2013 11:41:08 +0000 (11:41 +0000)]
MDL-33546: course: Fix current week hightlighting after dragging the section

7 years agoMerge branch 'MDL-40165-m' of git://github.com/andrewnicols/moodle
Marina Glancy [Tue, 18 Jun 2013 02:59:04 +0000 (12:59 +1000)]
Merge branch 'MDL-40165-m' of git://github.com/andrewnicols/moodle

7 years agoMerge branch 'MDL-39634_master' of git://github.com/dmonllao/moodle
Sam Hemelryk [Tue, 18 Jun 2013 02:51:06 +0000 (14:51 +1200)]
Merge branch 'MDL-39634_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'wip-MDL-38318_master' of git://github.com/gjb2048/moodle
Sam Hemelryk [Tue, 18 Jun 2013 02:47:25 +0000 (14:47 +1200)]
Merge branch 'wip-MDL-38318_master' of git://github.com/gjb2048/moodle

7 years agoMerge branch 'MDL-40180_master' of https://github.com/nadavkav/moodle
Dan Poltawski [Tue, 18 Jun 2013 02:42:33 +0000 (10:42 +0800)]
Merge branch 'MDL-40180_master' of https://github.com/nadavkav/moodle

7 years agoMerge branch 'MDL-33105' of https://github.com/ppichet/moodle
Dan Poltawski [Tue, 18 Jun 2013 02:35:47 +0000 (10:35 +0800)]
Merge branch 'MDL-33105' of https://github.com/ppichet/moodle

7 years agoMerge branch 'w25_MDL-26455_m26_installport' of git://github.com/skodak/moodle
Sam Hemelryk [Tue, 18 Jun 2013 02:29:08 +0000 (14:29 +1200)]
Merge branch 'w25_MDL-26455_m26_installport' of git://github.com/skodak/moodle

Conflicts:
admin/cli/install.php

7 years agoMerge branch 'MDL-17468-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Tue, 18 Jun 2013 02:06:33 +0000 (14:06 +1200)]
Merge branch 'MDL-17468-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-40036-master' of git://github.com/FMCorz/moodle
Sam Hemelryk [Tue, 18 Jun 2013 02:01:54 +0000 (14:01 +1200)]
Merge branch 'MDL-40036-master' of git://github.com/FMCorz/moodle

7 years agoMerge branch 'MDL-39865-master' of git://github.com/FMCorz/moodle
Sam Hemelryk [Tue, 18 Jun 2013 01:54:39 +0000 (13:54 +1200)]
Merge branch 'MDL-39865-master' of git://github.com/FMCorz/moodle

7 years agoMDL-39794 - Course - Add 'Add a new course' button to front page when page editing...
Jason Fowler [Fri, 7 Jun 2013 07:27:59 +0000 (15:27 +0800)]
MDL-39794 - Course - Add 'Add a new course' button to front page when page editing is on

7 years agoMerge branch 'MDL-38079_master' of git://github.com/mr-russ/moodle
Marina Glancy [Tue, 18 Jun 2013 01:18:30 +0000 (11:18 +1000)]
Merge branch 'MDL-38079_master' of git://github.com/mr-russ/moodle

7 years agoMDL-40137 Whitespace fix
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 23:47:13 +0000 (01:47 +0200)]
MDL-40137 Whitespace fix

7 years agoMerge branch 'wip-MDL-40137-m26' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 23:43:57 +0000 (01:43 +0200)]
Merge branch 'wip-MDL-40137-m26' of git://github.com/samhemelryk/moodle

7 years agoMDL-40022 badges: Fix missing calls to setType in course criteria settings
Yuliya Bozhko [Wed, 12 Jun 2013 04:48:23 +0000 (16:48 +1200)]
MDL-40022 badges: Fix missing calls to setType in course criteria settings

7 years agoMerge branch 'MDL-38555-master' of https://github.com/lucisgit/moodle
Sam Hemelryk [Mon, 17 Jun 2013 23:38:05 +0000 (11:38 +1200)]
Merge branch 'MDL-38555-master' of https://github.com/lucisgit/moodle

7 years agoMDL-40103 doc create_temptable_from_real_table() deletion.
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 23:35:11 +0000 (01:35 +0200)]
MDL-40103 doc create_temptable_from_real_table() deletion.

7 years agoMDL-40103 Fix wrong call, causing restore to fail.
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 23:24:20 +0000 (01:24 +0200)]
MDL-40103 Fix wrong call, causing restore to fail.

7 years agoMDL-40103 Bump version & whitespace/punctuation
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 23:14:40 +0000 (01:14 +0200)]
MDL-40103 Bump version & whitespace/punctuation

7 years agoMerge branch 'MDL-40103_temptable' of https://github.com/mr-russ/moodle
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 23:30:07 +0000 (01:30 +0200)]
Merge branch 'MDL-40103_temptable' of https://github.com/mr-russ/moodle

Conflicts:
lib/db/upgrade.php

7 years agoMerge branch 'MDL-32253-master' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Mon, 17 Jun 2013 23:26:23 +0000 (11:26 +1200)]
Merge branch 'MDL-32253-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'wip-MDL-26998-master' of git://github.com/abgreeve/moodle
Sam Hemelryk [Mon, 17 Jun 2013 23:22:40 +0000 (11:22 +1200)]
Merge branch 'wip-MDL-26998-master' of git://github.com/abgreeve/moodle

7 years agoMerge branch 'wip-mdl-39863' of git://github.com/rajeshtaneja/moodle
Sam Hemelryk [Mon, 17 Jun 2013 23:19:35 +0000 (11:19 +1200)]
Merge branch 'wip-mdl-39863' of git://github.com/rajeshtaneja/moodle

7 years agoMerge branch 'MDL-40109_master' of git://github.com/dmonllao/moodle
Sam Hemelryk [Mon, 17 Jun 2013 23:08:45 +0000 (11:08 +1200)]
Merge branch 'MDL-40109_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'MDL-39626_master' of git://github.com/kordan/moodle
Sam Hemelryk [Mon, 17 Jun 2013 23:03:21 +0000 (11:03 +1200)]
Merge branch 'MDL-39626_master' of git://github.com/kordan/moodle

Conflicts:
theme/formal_white/style/course.css

7 years agoMerge branch 'w25_MDL-40210_m26_badgescaps' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 22:55:53 +0000 (00:55 +0200)]
Merge branch 'w25_MDL-40210_m26_badgescaps' of git://github.com/skodak/moodle

7 years agoMerge branch 'MDL-33562-master' of git://github.com/danpoltawski/moodle
Eloy Lafuente (stronk7) [Mon, 17 Jun 2013 22:40:36 +0000 (00:40 +0200)]
Merge branch 'MDL-33562-master' of git://github.com/danpoltawski/moodle

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

7 years agoMerge branch 'MDL-30132_master' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Mon, 17 Jun 2013 22:27:11 +0000 (10:27 +1200)]
Merge branch 'MDL-30132_master' of git://github.com/lazydaisy/moodle

7 years agoMerge branch 'wip-mdl-16982' of git://github.com/rajeshtaneja/moodle
Sam Hemelryk [Mon, 17 Jun 2013 22:04:18 +0000 (10:04 +1200)]
Merge branch 'wip-mdl-16982' of git://github.com/rajeshtaneja/moodle

7 years agoMDL-40210 do not use CAP_PREVENT for role defaults!
Petr Škoda [Mon, 17 Jun 2013 10:12:36 +0000 (12:12 +0200)]
MDL-40210 do not use CAP_PREVENT for role defaults!

7 years agoMDL-38079 mod_feedback - Hide "add question to activity" button
Russell Smith [Mon, 17 Jun 2013 09:50:13 +0000 (19:50 +1000)]
MDL-38079 mod_feedback - Hide "add question to activity" button

7 years agoMerge branch 'MDL-40110_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 17 Jun 2013 09:02:11 +0000 (17:02 +0800)]
Merge branch 'MDL-40110_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'MDL-39825_dev_master' of https://github.com/totara/openbadges
Dan Poltawski [Mon, 17 Jun 2013 08:40:24 +0000 (16:40 +0800)]
Merge branch 'MDL-39825_dev_master' of https://github.com/totara/openbadges

7 years agoMerge branch 'MDL-39474-master' of git://github.com/sammarshallou/moodle
Dan Poltawski [Mon, 17 Jun 2013 07:36:15 +0000 (15:36 +0800)]
Merge branch 'MDL-39474-master' of git://github.com/sammarshallou/moodle

7 years agoMDL-39152 webservices: Rename external_api::get_context() to external_api::get_contex...
Ankit Agarwal [Mon, 17 Jun 2013 07:04:59 +0000 (15:04 +0800)]
MDL-39152 webservices: Rename external_api::get_context() to external_api::get_context_from_params()

7 years agoMerge branch 'MDL-31680' of https://github.com/ppichet/moodle
Dan Poltawski [Mon, 17 Jun 2013 06:53:19 +0000 (14:53 +0800)]
Merge branch 'MDL-31680' of https://github.com/ppichet/moodle

7 years agoMerge branch 'wip-MDL-40136-m26' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 17 Jun 2013 05:37:18 +0000 (13:37 +0800)]
Merge branch 'wip-MDL-40136-m26' of git://github.com/samhemelryk/moodle

7 years agoMDL-16982 Administration: Moved bulk action outside loop and using profile api to...
Rajesh Taneja [Tue, 11 Jun 2013 02:58:52 +0000 (10:58 +0800)]
MDL-16982 Administration: Moved bulk action outside loop and using profile api to save data

7 years agoMerge branch 'm26_MDL-40095_Completion_locked_Error_on_save' of https://github.com...
Sam Hemelryk [Mon, 17 Jun 2013 04:14:00 +0000 (16:14 +1200)]
Merge branch 'm26_MDL-40095_Completion_locked_Error_on_save' of https://github.com/scara/moodle

7 years agoMerge branch 'MDL-21933_master' of https://github.com/mr-russ/moodle
Sam Hemelryk [Mon, 17 Jun 2013 03:45:56 +0000 (15:45 +1200)]
Merge branch 'MDL-21933_master' of https://github.com/mr-russ/moodle

7 years agoMerge branch 'wip-MDL-40091-master' of git://github.com/satrun77/moodle
Sam Hemelryk [Mon, 17 Jun 2013 03:43:31 +0000 (15:43 +1200)]
Merge branch 'wip-MDL-40091-master' of git://github.com/satrun77/moodle

7 years agoMerge branch 'MDL-39369' of git://github.com/rwijaya/moodle
Sam Hemelryk [Mon, 17 Jun 2013 03:10:41 +0000 (15:10 +1200)]
Merge branch 'MDL-39369' of git://github.com/rwijaya/moodle

7 years agoMDL-40207 simplepie: reduce false failures in unit tests
Dan Poltawski [Mon, 17 Jun 2013 02:23:44 +0000 (10:23 +0800)]
MDL-40207 simplepie: reduce false failures in unit tests

The simplepie tests time out too quickly due to a low connect timeout,
to fix this:

* Introduced a way to set the timeout during intitial construction
* Converted the unit tests to use a high timeout value

7 years agoMerge branch 'MDL-39761-master' of https://github.com/lucisgit/moodle
Sam Hemelryk [Mon, 17 Jun 2013 02:30:24 +0000 (14:30 +1200)]
Merge branch 'MDL-39761-master' of https://github.com/lucisgit/moodle

7 years agoAutomatically generated installer lang files
AMOS bot [Mon, 17 Jun 2013 00:43:35 +0000 (00:43 +0000)]
Automatically generated installer lang files

7 years agoMerge branch 'wip-MDL-40142-m26' of git://github.com/samhemelryk/moodle
Marina Glancy [Mon, 17 Jun 2013 00:43:29 +0000 (10:43 +1000)]
Merge branch 'wip-MDL-40142-m26' of git://github.com/samhemelryk/moodle

7 years agoMDL-39949 dock: fixed whitespace
Sam Hemelryk [Sun, 16 Jun 2013 22:24:39 +0000 (10:24 +1200)]
MDL-39949 dock: fixed whitespace

7 years agoMerge branch 'wip-MDL-39949-master' of git://github.com/phalacee/moodle
Sam Hemelryk [Sun, 16 Jun 2013 22:01:10 +0000 (10:01 +1200)]
Merge branch 'wip-MDL-39949-master' of git://github.com/phalacee/moodle

7 years agoMDL-40137 theme_clean: corrected lib.php function names
Sam Hemelryk [Wed, 12 Jun 2013 01:01:26 +0000 (13:01 +1200)]
MDL-40137 theme_clean: corrected lib.php function names

7 years agoMDL-40136 cache: fixed dirroot change bugs with plugin caches
Sam Hemelryk [Wed, 12 Jun 2013 02:14:24 +0000 (14:14 +1200)]
MDL-40136 cache: fixed dirroot change bugs with plugin caches

7 years agoMDL-40142 navigation: fixed chainable issue with navigation JS
Sam Hemelryk [Wed, 12 Jun 2013 04:23:13 +0000 (16:23 +1200)]
MDL-40142 navigation: fixed chainable issue with navigation JS

7 years agoMDL-38318 theme_mymobile: Upgrade to jQueryMobile 1.3.1.
Gareth J Barnard [Sun, 14 Apr 2013 13:48:25 +0000 (14:48 +0100)]
MDL-38318 theme_mymobile: Upgrade to jQueryMobile 1.3.1.

7 years agoMDL-26455 add support for custom DB port and socket in CLI installer
Petr Škoda [Sat, 15 Jun 2013 13:07:28 +0000 (15:07 +0200)]
MDL-26455 add support for custom DB port and socket in CLI installer

7 years agoMDL-26455 add custom DB port and socket to web installer
Petr Škoda [Sat, 15 Jun 2013 12:35:02 +0000 (14:35 +0200)]
MDL-26455 add custom DB port and socket to web installer

7 years agoMDL-40103 Backup: Move install.xml templates to inline XML
Russell Smith [Tue, 11 Jun 2013 10:56:06 +0000 (20:56 +1000)]
MDL-40103 Backup: Move install.xml templates to inline XML

7 years agoMDL-40103 stats: Move db temp templates to inline xmldb tables
Russell Smith [Tue, 11 Jun 2013 09:06:15 +0000 (19:06 +1000)]
MDL-40103 stats: Move db temp templates to inline xmldb tables

Move all statistics temporary tables into the code.  We are not
going to continue to use database templates.  They were a mix
of reading the install.xml and tables in the database.  It is
much clearer to have them created inline at the point they are
used in the code.

7 years agoMDL-40091 book: revision must be incremented after editing a chapter
Mohamed Alsharaf [Tue, 11 Jun 2013 23:54:42 +0000 (11:54 +1200)]
MDL-40091 book: revision must be incremented after editing a chapter

7 years agoMDL-39634 behat: Removing unused arguments
David Monllao [Fri, 14 Jun 2013 07:11:36 +0000 (15:11 +0800)]
MDL-39634 behat: Removing unused arguments

Also adding deprecated methods.

7 years agoMDL-39152 webservices: Abstract context fetching
Ankit Agarwal [Fri, 14 Jun 2013 07:36:38 +0000 (15:36 +0800)]
MDL-39152 webservices: Abstract context fetching

Since many apis in future will need to provide alternative method to fetch context, I have abstracted this bit into the core external_api class

7 years agoMDL-40180 - RTL/Clean theme: Misalignment of student name and profile image in grader...
Nadav Kavalerchik [Fri, 14 Jun 2013 07:35:31 +0000 (10:35 +0300)]
MDL-40180 - RTL/Clean theme: Misalignment of student name and profile image in grader (fixed by Mary Evans)

7 years agoMDL-17468 tool_uploaduser: seperate capability for user pictures
Dan Poltawski [Fri, 7 Jun 2013 04:03:24 +0000 (12:03 +0800)]
MDL-17468 tool_uploaduser: seperate capability for user pictures

7 years agoMDL-33955 add file download and curl unit tests
Petr Škoda [Mon, 10 Jun 2013 16:11:25 +0000 (18:11 +0200)]
MDL-33955 add file download and curl unit tests

7 years agoMDL-33955 make downalod_file_content() use curl class and cleanup
Petr Škoda [Sun, 9 Jun 2013 19:07:29 +0000 (21:07 +0200)]
MDL-33955 make downalod_file_content() use curl class and cleanup

The options in constructor were renamed to setttings in order to prevent confusion.
This removes ignored CURLOPT_BINARYTRANSFER, add newline header cleaning,
reworks proxy settings and some other minor issues.

7 years agoMDL-33955 fix sloppy whitespace in curl class
Petr Škoda [Sun, 9 Jun 2013 18:56:41 +0000 (20:56 +0200)]
MDL-33955 fix sloppy whitespace in curl class

7 years agoMDL-39152 phpunit: Move core_role_external_testcase() to a new file
Ankit Agarwal [Fri, 14 Jun 2013 03:47:11 +0000 (11:47 +0800)]
MDL-39152 phpunit: Move core_role_external_testcase() to a new file

It is not recommended to have multiple test classes in a single phpunit file

7 years agoMDL-39152 phpunit: improve tests for assign_roles()
Ankit Agarwal [Fri, 14 Jun 2013 03:35:12 +0000 (11:35 +0800)]
MDL-39152 phpunit: improve tests for assign_roles()

core_role_external::assign_roles() now support alternative paramaters instead of contextid. Test working of those. Also test the parameters validation a bit, since these are no longer automatically tested being optional now

7 years agoMDL-39152 webservices: Provide alternative to context id
Ankit Agarwal [Tue, 11 Jun 2013 05:51:59 +0000 (13:51 +0800)]
MDL-39152 webservices: Provide alternative to context id

As per our policy asking for and returning contextids is discouraged in webservices. So provide alternative parameters for the same

7 years agoweekly release 2.6dev
Marina Glancy [Fri, 14 Jun 2013 03:18:50 +0000 (13:18 +1000)]
weekly release 2.6dev