moodle.git
9 years agoMerge branch 'MDL-34633-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 23:54:04 +0000 (01:54 +0200)]
Merge branch 'MDL-34633-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-29662_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 23:14:18 +0000 (01:14 +0200)]
Merge branch 'MDL-29662_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-27818_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 23:07:51 +0000 (01:07 +0200)]
Merge branch 'MDL-27818_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-33306_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 22:30:59 +0000 (00:30 +0200)]
Merge branch 'MDL-33306_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-33812-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 22:20:17 +0000 (00:20 +0200)]
Merge branch 'MDL-33812-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-34725-strict-standards_23' of git://github.com/mudrd8mz/moodle...
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 22:06:23 +0000 (00:06 +0200)]
Merge branch 'MDL-34725-strict-standards_23' of git://github.com/mudrd8mz/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'w36_MDL-34097_m23_environment' of git://github.com/skodak/moodle into...
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 22:00:38 +0000 (00:00 +0200)]
Merge branch 'w36_MDL-34097_m23_environment' of git://github.com/skodak/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-28346-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 18:02:13 +0000 (20:02 +0200)]
Merge branch 'MDL-28346-23' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'w36_MDL-35077_m23_stats' of git://github.com/skodak/moodle into MOODLE_...
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 15:54:03 +0000 (17:54 +0200)]
Merge branch 'w36_MDL-35077_m23_stats' of git://github.com/skodak/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35133_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 15:47:50 +0000 (17:47 +0200)]
Merge branch 'MDL-35133_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'w36_MDL-35168_m23_yuipath' of git://github.com/skodak/moodle into MOODL...
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 15:16:17 +0000 (17:16 +0200)]
Merge branch 'w36_MDL-35168_m23_yuipath' of git://github.com/skodak/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'w36_MDL-35145_m23_guestdelete' of git://github.com/skodak/moodle into...
Eloy Lafuente (stronk7) [Mon, 3 Sep 2012 14:18:15 +0000 (16:18 +0200)]
Merge branch 'w36_MDL-35145_m23_guestdelete' of git://github.com/skodak/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35151_M23' of git://github.com/lazydaisy/moodle into MOODLE_23_STABLE
Aparup Banerjee [Mon, 3 Sep 2012 11:23:52 +0000 (19:23 +0800)]
Merge branch 'MDL-35151_M23' of git://github.com/lazydaisy/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35180_M23' of git://github.com/lazydaisy/moodle into MOODLE_23_STABLE
Aparup Banerjee [Mon, 3 Sep 2012 09:38:07 +0000 (17:38 +0800)]
Merge branch 'MDL-35180_M23' of git://github.com/lazydaisy/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'w36_MDL-35080_m23_weirdtables' of git://github.com/skodak/moodle into...
Aparup Banerjee [Mon, 3 Sep 2012 09:12:32 +0000 (17:12 +0800)]
Merge branch 'w36_MDL-35080_m23_weirdtables' of git://github.com/skodak/moodle into MOODLE_23_STABLE

9 years agoMDL-34633 Repository: Flickr supports small images
Frederic Massart [Tue, 28 Aug 2012 09:01:41 +0000 (17:01 +0800)]
MDL-34633 Repository: Flickr supports small images

9 years agoMDL-35101 Repository: Public Flickr fails when the picture has no license
Frederic Massart [Tue, 28 Aug 2012 09:14:45 +0000 (17:14 +0800)]
MDL-35101 Repository: Public Flickr fails when the picture has no license

9 years agoMDL-28346 Backup: Backup does not fail when a file is missing
Frederic Massart [Mon, 9 Jul 2012 02:49:25 +0000 (10:49 +0800)]
MDL-28346 Backup: Backup does not fail when a file is missing

9 years agoMDL-28346 Backup: Restore does not fail when a file is missing
Frederic Massart [Mon, 9 Jul 2012 02:49:25 +0000 (10:49 +0800)]
MDL-28346 Backup: Restore does not fail when a file is missing

9 years agoMDL-28346 Backup: Added new status 'warning' for backup result
Frederic Massart [Mon, 30 Jul 2012 06:10:46 +0000 (14:10 +0800)]
MDL-28346 Backup: Added new status 'warning' for backup result

9 years agoMDL-33812 Backup: Added some upgrade information about the changes
Frederic Massart [Wed, 29 Aug 2012 08:00:19 +0000 (16:00 +0800)]
MDL-33812 Backup: Added some upgrade information about the changes

9 years agoMDL-33812 Backup: Revert MDL-33521
Frederic Massart [Tue, 21 Aug 2012 05:50:55 +0000 (13:50 +0800)]
MDL-33812 Backup: Revert MDL-33521

9 years agoMDL-33812 Backup: Respect of backup_auto_keep
Frederic Massart [Tue, 14 Aug 2012 08:52:39 +0000 (16:52 +0800)]
MDL-33812 Backup: Respect of backup_auto_keep

9 years agoMerge branch 'MDL-35109-available-updates_23' of git://github.com/mudrd8mz/moodle...
Sam Hemelryk [Mon, 3 Sep 2012 00:28:18 +0000 (12:28 +1200)]
Merge branch 'MDL-35109-available-updates_23' of git://github.com/mudrd8mz/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-31496_23' of git://github.com/dmonllao/moodle into MOODLE_23_STABLE
Sam Hemelryk [Mon, 3 Sep 2012 00:20:25 +0000 (12:20 +1200)]
Merge branch 'MDL-31496_23' of git://github.com/dmonllao/moodle into MOODLE_23_STABLE

9 years agoMDL-26822 user: Minor improvements post integration
Sam Hemelryk [Sun, 2 Sep 2012 23:41:07 +0000 (11:41 +1200)]
MDL-26822 user: Minor improvements post integration

9 years agoMerge branch 'MDL-26882-m23' of git://github.com/ankitagarwal/moodle into MOODLE_23_S...
Sam Hemelryk [Sun, 2 Sep 2012 23:26:07 +0000 (11:26 +1200)]
Merge branch 'MDL-26882-m23' of git://github.com/ankitagarwal/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'wip-MDL-34318-MOODLE_23_STABLE' of git://github.com/abgreeve/moodle...
Sam Hemelryk [Sun, 2 Sep 2012 22:12:37 +0000 (10:12 +1200)]
Merge branch 'wip-MDL-34318-MOODLE_23_STABLE' of git://github.com/abgreeve/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-30020c-23' of git://github.com/srynot4sale/moodle into MOODLE_23_STABLE
Sam Hemelryk [Sun, 2 Sep 2012 21:52:20 +0000 (09:52 +1200)]
Merge branch 'MDL-30020c-23' of git://github.com/srynot4sale/moodle into MOODLE_23_STABLE

9 years agoMDL-35180 theme_afterburner: fixes IE9 compatibility view bug
Mary Evans [Sun, 2 Sep 2012 13:58:23 +0000 (14:58 +0100)]
MDL-35180 theme_afterburner: fixes IE9 compatibility view bug

9 years agoMDL-34097 keep current requirements for Moodle 2.4
Petr Škoda [Sun, 2 Sep 2012 09:52:58 +0000 (11:52 +0200)]
MDL-34097 keep current requirements for Moodle 2.4

9 years agoMDL-35151 theme_anomaly: removed CSS selectors (.forumpost .content p) from style...
Mary Evans [Sat, 1 Sep 2012 22:04:08 +0000 (23:04 +0100)]
MDL-35151 theme_anomaly: removed CSS selectors (.forumpost .content p) from style/general.php thus allowing YUI CSS to style paragraphs as normal.

9 years agoMDL-35080 skip views and weird tables in mysql structure upgrades
Petr Škoda [Sat, 1 Sep 2012 13:37:41 +0000 (15:37 +0200)]
MDL-35080 skip views and weird tables in mysql structure upgrades

9 years agoMDL-35145 add basic unit tests for delete_user()
Petr Škoda [Sat, 1 Sep 2012 12:13:40 +0000 (14:13 +0200)]
MDL-35145 add basic unit tests for delete_user()

9 years agoMDL-35145 add extra delete_user() parameter validation
Petr Škoda [Sat, 1 Sep 2012 11:27:30 +0000 (13:27 +0200)]
MDL-35145 add extra delete_user() parameter validation

We do not want to delete local admins and guest account, we need to validate the supplied parameter is valid $user record and refetch it from database.

9 years agoMDL-35168 fix yui combo path disclosure
Petr Škoda [Sat, 1 Sep 2012 10:39:59 +0000 (12:39 +0200)]
MDL-35168 fix yui combo path disclosure

9 years agoMDL-35077 fix stats report navigation links
Petr Škoda [Tue, 28 Aug 2012 06:08:30 +0000 (08:08 +0200)]
MDL-35077 fix stats report navigation links

9 years agoweekly release 2.3.1+
Eloy Lafuente (stronk7) [Fri, 31 Aug 2012 09:35:54 +0000 (11:35 +0200)]
weekly release 2.3.1+

9 years agoMerge branch 'install_23_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_23...
Eloy Lafuente (stronk7) [Fri, 31 Aug 2012 09:27:25 +0000 (11:27 +0200)]
Merge branch 'install_23_STABLE' of git://git.moodle.cz/moodle-install into MOODLE_23_STABLE

9 years agoMDL-35147 lesson qformat import: Dirty hack to support array questiontext structures.
Eloy Lafuente (stronk7) [Thu, 30 Aug 2012 20:58:52 +0000 (22:58 +0200)]
MDL-35147 lesson qformat import: Dirty hack to support array questiontext structures.

9 years agoMDL-27818 question bank: multilang category names don't work.
Tim Hunt [Wed, 29 Aug 2012 21:43:28 +0000 (22:43 +0100)]
MDL-27818 question bank: multilang category names don't work.

9 years agoMDL-35133 accesslib: context_module::get_context_name should format_string
Tim Hunt [Wed, 29 Aug 2012 21:25:28 +0000 (22:25 +0100)]
MDL-35133 accesslib: context_module::get_context_name should format_string

Otherwise activites with multilang names are displayed badly.

9 years agoMerge branch 'MDL-35147_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Thu, 30 Aug 2012 18:12:31 +0000 (20:12 +0200)]
Merge branch 'MDL-35147_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-31244_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Thu, 30 Aug 2012 16:32:04 +0000 (18:32 +0200)]
Merge branch 'MDL-31244_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMDL-35147 lesson: fix regression from MDL-25492.
Tim Hunt [Thu, 30 Aug 2012 12:09:10 +0000 (13:09 +0100)]
MDL-35147 lesson: fix regression from MDL-25492.

I really wish someone would fix lesson to use the question bank.

9 years agoMDL-26882 profile: Applying cap check (site:viewuseridentity) to email field in user...
Ankit Agarwal [Mon, 27 Aug 2012 06:38:57 +0000 (14:38 +0800)]
MDL-26882 profile: Applying cap check (site:viewuseridentity) to email field in user profile

9 years agoMDL-26882 profile: Apllying the cap check site:viewuseridentity to user profile
Ankit Agarwal [Mon, 27 Aug 2012 06:23:17 +0000 (14:23 +0800)]
MDL-26882 profile: Apllying the cap check site:viewuseridentity to user profile

9 years agoMDL-35119 tool_assignmentupgrade Changing onsubmit form for onclick button
David Monllao [Wed, 29 Aug 2012 07:01:40 +0000 (15:01 +0800)]
MDL-35119 tool_assignmentupgrade Changing onsubmit form for onclick button

9 years agoMDL-32108 - navigation - After logging in the user is directed to mysite instead...
Adrian Greeve [Tue, 14 Aug 2012 07:09:02 +0000 (15:09 +0800)]
MDL-32108 - navigation - After logging in the user is directed to mysite instead of site home.
Thanks to lurii Kucherov for this patch.

9 years agoMerge branch 'MDL-35010_23' of git://github.com/stronk7/moodle into MOODLE_23_STABLE
Aparup Banerjee [Thu, 30 Aug 2012 02:43:38 +0000 (10:43 +0800)]
Merge branch 'MDL-35010_23' of git://github.com/stronk7/moodle into MOODLE_23_STABLE

9 years agoMDL-29662 quiz overrides: update dates during course reset.
Tim Hunt [Wed, 29 Aug 2012 17:41:37 +0000 (18:41 +0100)]
MDL-29662 quiz overrides: update dates during course reset.

Also, fix duplicate SQL clause in similar code in lib,
and fix error when saving overrides.

9 years agoMDL-33306 qtype multichoice: fix display of right answer.
Tim Hunt [Wed, 29 Aug 2012 16:42:53 +0000 (17:42 +0100)]
MDL-33306 qtype multichoice: fix display of right answer.

Also, fix  higlighing of last edited question in the qeustion bank, when
it co-incides with a grey row.

9 years agoMDL-34725 Make the signatures of process_legacy_element() method consistent
David Mudrák [Wed, 29 Aug 2012 13:33:22 +0000 (15:33 +0200)]
MDL-34725 Make the signatures of process_legacy_element() method consistent

The patch fixes the missing parameter type declaration in all subclasses
of the moodle1_workshopform_handler class.

9 years agoMerge branch 'wip-mdl-30121-m23' of git://github.com/rajeshtaneja/moodle into MOODLE_...
Eloy Lafuente (stronk7) [Wed, 29 Aug 2012 10:15:14 +0000 (12:15 +0200)]
Merge branch 'wip-mdl-30121-m23' of git://github.com/rajeshtaneja/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'wip-MDL-34290-MOODLE_23_STABLE' of git://github.com/marinaglancy/moodle...
Eloy Lafuente (stronk7) [Wed, 29 Aug 2012 10:11:22 +0000 (12:11 +0200)]
Merge branch 'wip-MDL-34290-MOODLE_23_STABLE' of git://github.com/marinaglancy/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'wip-mdl-31623-m23' of git://github.com/rajeshtaneja/moodle into MOODLE_...
Aparup Banerjee [Wed, 29 Aug 2012 08:57:09 +0000 (16:57 +0800)]
Merge branch 'wip-mdl-31623-m23' of git://github.com/rajeshtaneja/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-31959_m23' of git://github.com/rwijaya/moodle into MOODLE_23_STABLE
Aparup Banerjee [Wed, 29 Aug 2012 07:33:43 +0000 (15:33 +0800)]
Merge branch 'MDL-31959_m23' of git://github.com/rwijaya/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-34952_23' of git://github.com/grabs/moodle into MOODLE_23_STABLE
Aparup Banerjee [Wed, 29 Aug 2012 05:27:05 +0000 (13:27 +0800)]
Merge branch 'MDL-34952_23' of git://github.com/grabs/moodle into MOODLE_23_STABLE

9 years agoMDL-34290 repository_filesystem: do not store files in moodle filepool unless images
Marina Glancy [Tue, 28 Aug 2012 04:03:43 +0000 (12:03 +0800)]
MDL-34290 repository_filesystem: do not store files in moodle filepool unless images

9 years agoMDL-34290 using moodleform cast to int in dropbox repository settings
Dan Poltawski [Tue, 14 Aug 2012 02:49:20 +0000 (10:49 +0800)]
MDL-34290 using moodleform cast to int in dropbox repository settings

9 years agoMDL-34290 Added timeout to googledocs request to download a file
Marina Glancy [Tue, 31 Jul 2012 03:09:35 +0000 (11:09 +0800)]
MDL-34290 Added timeout to googledocs request to download a file

9 years agoMDL-34290, MDL-33416 prepare to deprecate fields files.referencelastsync and referenc...
Marina Glancy [Fri, 10 Aug 2012 04:26:19 +0000 (12:26 +0800)]
MDL-34290, MDL-33416 prepare to deprecate fields files.referencelastsync and referencelifetime

9 years agoMDL-34290 Auto synchronise newly created references when possible
Marina Glancy [Thu, 9 Aug 2012 05:50:42 +0000 (13:50 +0800)]
MDL-34290 Auto synchronise newly created references when possible

9 years agoMDL-34665 Dropbox displays thumbnails and return info about file size and date last...
Marina Glancy [Wed, 1 Aug 2012 07:01:38 +0000 (15:01 +0800)]
MDL-34665 Dropbox displays thumbnails and return info about file size and date last modified

9 years agoMDL-34290 remove class cache_file as not used
Marina Glancy [Tue, 31 Jul 2012 03:08:25 +0000 (11:08 +0800)]
MDL-34290 remove class cache_file as not used

in fact we have moodle filepool that can work perfectly for caching files, no need to create new class and storage

9 years agoMDL-34290 repository_dropbox reference handling
Marina Glancy [Tue, 7 Aug 2012 03:26:19 +0000 (11:26 +0800)]
MDL-34290 repository_dropbox reference handling

- When Dropbox file is inserted by reference, the shared link is created and stored
- Added a function to fix old references (containing access_key/secret) with the proper ones
- Added support for external links in Dropbox (FILE_EXTERNAL), using the shared link API
- Make sure that repository::get_link() receives reference and not source (other repositories than Dropbox have those fields identical)
- Function get_file_by_reference respects request timeouts, downloads only images (for thumbnail generation),
- Function get_file respects request timeout
- do not use cache_file class (content is cached in moodle filepool if needed)
- added parameter for maximum size of files to cache
- added 'Manage' link for Filepicker
- added user name to
- added user name (if different from current) to 'Original' field
- added/corrected phpdocs

9 years agoMDL-34290 oauthlib_helper support for POST request
Marina Glancy [Tue, 7 Aug 2012 03:10:24 +0000 (11:10 +0800)]
MDL-34290 oauthlib_helper support for POST request

9 years agoMDL-34290 Allow to have several requests to the same instance of oauth_helper
Marina Glancy [Tue, 7 Aug 2012 03:35:51 +0000 (11:35 +0800)]
MDL-34290 Allow to have several requests to the same instance of oauth_helper

9 years agoMDL-34290 repository_equella: do not download files when not needed
Marina Glancy [Tue, 31 Jul 2012 02:57:54 +0000 (10:57 +0800)]
MDL-34290 repository_equella: do not download files when not needed

repository_equella::get_file_by_reference respects request timeouts, downloads only images (for thumbnail generation),
does not use cache_file class (content is cached in moodle filepool if needed);
also repository_equella has counter of unsuccessfull connect attempts and do not perform any more if 3 failed
(within one request)

9 years agoMDL-34290 repository_boxnet, boxlib use request timeouts
Marina Glancy [Tue, 31 Jul 2012 02:54:48 +0000 (10:54 +0800)]
MDL-34290 repository_boxnet, boxlib use request timeouts

boxlib receives additional argument as request timeout
repository_boxnet::get_file_by_reference respects request timeouts and downloads file into moodle only if it is image
also some improvements to repository_boxnet source display functions;
also do not cache result of request in retrieving of listing, user is unable to see the new files he added to box.

9 years agoMDL-34290 repository API: add repository function to import referenced file
Marina Glancy [Tue, 31 Jul 2012 02:50:05 +0000 (10:50 +0800)]
MDL-34290 repository API: add repository function to import referenced file

it must be independed from sync_external_file because sync often does not actually download contents, it is used just to retrieve
the size of the file. Besides the timeouts for get_file and sync requests are very different.

Also add option to send_stored_file() to ignore reference and send cached contents

9 years agoMDL-34290 repository_filesystem add original info function and reduce ref lifetime
Marina Glancy [Tue, 31 Jul 2012 02:40:31 +0000 (10:40 +0800)]
MDL-34290 repository_filesystem add original info function and reduce ref lifetime

9 years agoMDL-34290 repository API: add timeout to get_file and throw exception
Marina Glancy [Tue, 31 Jul 2012 02:31:36 +0000 (10:31 +0800)]
MDL-34290 repository API: add timeout to get_file and throw exception

- get_file should have a request timeout and throw an exception with the details (i.e. timeout reached) if download can
not be completed
- corrected phpdocs

9 years agoMDL-34290 repository API: do not confuse source and reference
Marina Glancy [Tue, 31 Jul 2012 02:17:07 +0000 (10:17 +0800)]
MDL-34290 repository API: do not confuse source and reference

make sure that repository function get_file_source_info receives as argument the source of the file,
and get_file receives a reference;
reference is a value of DB field files_reference.reference and result of get_file_reference(source).
Fix dropbox as the only repository that have different values in those fields;
also added information about user in dropbox reference and original

9 years agoMDL-34290 repository API: allow get_file_by_reference return only filesize
Marina Glancy [Tue, 31 Jul 2012 01:55:33 +0000 (09:55 +0800)]
MDL-34290 repository API: allow get_file_by_reference return only filesize

we want to allow repositories to perform quick synchronisation, without downloading the file. In this case they return
only filesize, without the contenthash

9 years agoMDL-34290 class oauth_helper, added API to pass options to curl (such as timeout)
Marina Glancy [Tue, 31 Jul 2012 01:11:11 +0000 (09:11 +0800)]
MDL-34290 class oauth_helper, added API to pass options to curl (such as timeout)

9 years agoMDL-34290 update all references after the source is changed
Marina Glancy [Tue, 31 Jul 2012 01:02:13 +0000 (09:02 +0800)]
MDL-34290 update all references after the source is changed

- When several records in {files} have the same record in {files_reference} and the synchronisation is performed, we need to update
all records in {files} so all files know if source is changed and that sync was performed;
- also when local moodle file content is changed we immediately update all files referencing to it (therefore sync of references
to the local files is unnecessary);

9 years agoMDL-34290 curl class: add functions to return error code and to download one file
Marina Glancy [Tue, 31 Jul 2012 00:51:27 +0000 (08:51 +0800)]
MDL-34290 curl class: add functions to return error code and to download one file

9 years agoMerge branch 'MDL-29598_23' of git://github.com/dmonllao/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Tue, 28 Aug 2012 21:23:50 +0000 (23:23 +0200)]
Merge branch 'MDL-29598_23' of git://github.com/dmonllao/moodle into MOODLE_23_STABLE

9 years agoMDL-35109 Fix available_update_checker::cron_has_fresh_fetch()
David Mudrák [Tue, 28 Aug 2012 20:56:18 +0000 (22:56 +0200)]
MDL-35109 Fix available_update_checker::cron_has_fresh_fetch()

For the purpose of cron based fetching, recently fetched data are valid
for 24 hours.

9 years agoMDL-35109 Improve unittests for cron based fetching of available updates
David Mudrák [Tue, 28 Aug 2012 20:52:31 +0000 (22:52 +0200)]
MDL-35109 Improve unittests for cron based fetching of available updates

The expected behaviour is as follows:

* If the recently fetched data is older than 48 hours, it is considered
  as outdated and the new fetch is executed
* else, if the recently fetched data is younger than 24 hours, it is
  considered as fresh enough and no fetch is executed
* else, if the current time is after 01:00 AM plus a certain offset
  (which is randomly generated for each site), the fetch is
  executed.

9 years agoMerge branch 'MDL-34250_23' of github.com:stronk7/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Tue, 28 Aug 2012 18:44:49 +0000 (20:44 +0200)]
Merge branch 'MDL-34250_23' of github.com:stronk7/moodle into MOODLE_23_STABLE

9 years agoMDL-34250 navigation: Always look for correct parent context.
Eloy Lafuente (stronk7) [Tue, 28 Aug 2012 18:37:46 +0000 (20:37 +0200)]
MDL-34250 navigation: Always look for correct parent context.

Conflicts:
lib/navigationlib.php

9 years agoMDL-25492 bb6 import: bump version after big changes.
Eloy Lafuente (stronk7) [Tue, 28 Aug 2012 18:15:18 +0000 (20:15 +0200)]
MDL-25492 bb6 import: bump version after big changes.

9 years agoMerge branch 'MDL-25492_23' of git://github.com/jmvedrine/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Tue, 28 Aug 2012 18:08:19 +0000 (20:08 +0200)]
Merge branch 'MDL-25492_23' of git://github.com/jmvedrine/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-34192_23' of git://github.com/stronk7/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Tue, 28 Aug 2012 12:44:30 +0000 (14:44 +0200)]
Merge branch 'MDL-34192_23' of git://github.com/stronk7/moodle into MOODLE_23_STABLE

9 years agoMDL-34192 mod_assign: prevent ambiguous column use for Oracle.
Eloy Lafuente (stronk7) [Tue, 28 Aug 2012 12:16:15 +0000 (14:16 +0200)]
MDL-34192 mod_assign: prevent ambiguous column use for Oracle.

Credit goes to Raymond Antonio from NetSpot.

9 years agoMerge branch 'MDL-31837_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Aparup Banerjee [Tue, 28 Aug 2012 09:04:19 +0000 (17:04 +0800)]
Merge branch 'MDL-31837_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-32464_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Aparup Banerjee [Tue, 28 Aug 2012 08:54:31 +0000 (16:54 +0800)]
Merge branch 'MDL-32464_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMDL-34318 - blog - Removal of blog associations from the database on delete.
Adrian Greeve [Tue, 28 Aug 2012 07:54:01 +0000 (15:54 +0800)]
MDL-34318 - blog - Removal of blog associations from the database on delete.
Thanks to Erik Lundberg for this patch.

9 years agoMDL-30020 blocks/completion: Some criteria do not display complete
Aaron Barnes [Tue, 21 Aug 2012 01:07:57 +0000 (13:07 +1200)]
MDL-30020 blocks/completion: Some criteria do not display complete

Also includes a spruce up of the code

9 years agoMerge branch 'MDL-34406_fullname_23' of git://github.com/andyjdavis/moodle into MOODL...
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 18:03:52 +0000 (20:03 +0200)]
Merge branch 'MDL-34406_fullname_23' of git://github.com/andyjdavis/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-34430_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 16:51:01 +0000 (18:51 +0200)]
Merge branch 'MDL-34430_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-34993_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 16:35:54 +0000 (18:35 +0200)]
Merge branch 'MDL-34993_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'm23_MDL-34994' of git://github.com/danmarsden/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 16:20:44 +0000 (18:20 +0200)]
Merge branch 'm23_MDL-34994' of git://github.com/danmarsden/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35026_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 15:54:20 +0000 (17:54 +0200)]
Merge branch 'MDL-35026_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35003_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 15:51:24 +0000 (17:51 +0200)]
Merge branch 'MDL-35003_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35023_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 14:33:39 +0000 (16:33 +0200)]
Merge branch 'MDL-35023_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35038_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 14:25:30 +0000 (16:25 +0200)]
Merge branch 'MDL-35038_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE

9 years agoMerge branch 'MDL-35048_M23' of git://github.com/lazydaisy/moodle into MOODLE_23_STABLE
Eloy Lafuente (stronk7) [Mon, 27 Aug 2012 14:20:37 +0000 (16:20 +0200)]
Merge branch 'MDL-35048_M23' of git://github.com/lazydaisy/moodle into MOODLE_23_STABLE