moodle.git
8 years agoMDL-40013 Easier to override saving question hints
Oleg Sychev [Wed, 5 Jun 2013 17:51:57 +0000 (20:51 +0300)]
MDL-40013 Easier to override saving question hints

This adds 3 new methods, called from question_type::save_hints,
to make it easier for different question types to overload this
functionality without duplicating code.

Question types that will benefit from this change include
oumultiresponse, ddmarker, preg and correctwriting.

8 years agoweekly on-sync release 2.6dev
Damyon Wiese [Thu, 30 May 2013 03:50:35 +0000 (11:50 +0800)]
weekly on-sync release 2.6dev

8 years agoMerge branch 'install_master' of git://git.moodle.cz/moodle-install
Damyon Wiese [Thu, 30 May 2013 03:25:54 +0000 (11:25 +0800)]
Merge branch 'install_master' of git://git.moodle.cz/moodle-install

8 years agoAutomatically generated installer lang files
AMOS bot [Thu, 30 May 2013 00:38:20 +0000 (00:38 +0000)]
Automatically generated installer lang files

8 years agoAutomatically generated installer lang files
AMOS bot [Wed, 29 May 2013 00:39:21 +0000 (00:39 +0000)]
Automatically generated installer lang files

8 years agoMerge branch 'w22_MDL-39676_m26_whereparam' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 28 May 2013 13:31:07 +0000 (15:31 +0200)]
Merge branch 'w22_MDL-39676_m26_whereparam' of git://github.com/skodak/moodle

8 years agoMDL-39477: Remove some unused instances of $CFG
Damyon Wiese [Tue, 28 May 2013 02:53:39 +0000 (10:53 +0800)]
MDL-39477: Remove some unused instances of $CFG

Also change @since tags to 2.5.1 because this will be backported.

8 years agoMerge branch 'MDL-39702_master' of git://github.com/dmonllao/moodle
Damyon Wiese [Tue, 28 May 2013 03:13:43 +0000 (11:13 +0800)]
Merge branch 'MDL-39702_master' of git://github.com/dmonllao/moodle

Conflicts:
lib/testing/generator/repository_generator.php

8 years agoMerge branch 'MDL-39477-master' of git://github.com/FMCorz/moodle
Damyon Wiese [Tue, 28 May 2013 03:12:43 +0000 (11:12 +0800)]
Merge branch 'MDL-39477-master' of git://github.com/FMCorz/moodle

8 years agoMDL-39477 repository: Tests use data generator
Frederic Massart [Fri, 3 May 2013 03:44:31 +0000 (11:44 +0800)]
MDL-39477 repository: Tests use data generator

8 years agoMDL-39477 repository: Introducing data generators for repositories
Frederic Massart [Thu, 2 May 2013 10:14:58 +0000 (18:14 +0800)]
MDL-39477 repository: Introducing data generators for repositories

8 years agoMerge branch 'w22_MDL-39802_m26_deletedusers' of git://github.com/skodak/moodle
Damyon Wiese [Tue, 28 May 2013 01:57:15 +0000 (09:57 +0800)]
Merge branch 'w22_MDL-39802_m26_deletedusers' of git://github.com/skodak/moodle

8 years agoAutomatically generated installer lang files
AMOS bot [Tue, 28 May 2013 00:38:14 +0000 (00:38 +0000)]
Automatically generated installer lang files

8 years agoMerge branch 'wip-MDL-39836_master' of git://github.com/gjb2048/moodle
Eloy Lafuente (stronk7) [Mon, 27 May 2013 23:23:27 +0000 (01:23 +0200)]
Merge branch 'wip-MDL-39836_master' of git://github.com/gjb2048/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

8 years agoMerge branch 'wip-MDL-39456-m26' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Mon, 27 May 2013 23:00:57 +0000 (01:00 +0200)]
Merge branch 'wip-MDL-39456-m26' of git://github.com/samhemelryk/moodle

8 years agoMerge branch 'MDL-39853_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 27 May 2013 22:56:37 +0000 (00:56 +0200)]
Merge branch 'MDL-39853_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-39795_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 27 May 2013 22:02:58 +0000 (00:02 +0200)]
Merge branch 'MDL-39795_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-39686_master' of git://github.com/dmonllao/moodle
Damyon Wiese [Mon, 27 May 2013 08:29:00 +0000 (16:29 +0800)]
Merge branch 'MDL-39686_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-39680_master' of git://github.com/lazydaisy/moodle
Damyon Wiese [Mon, 27 May 2013 08:24:34 +0000 (16:24 +0800)]
Merge branch 'MDL-39680_master' of git://github.com/lazydaisy/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

8 years agoMerge branch 'MDL-39640-master-int' of git://github.com/FMCorz/moodle
Damyon Wiese [Mon, 27 May 2013 08:15:51 +0000 (16:15 +0800)]
Merge branch 'MDL-39640-master-int' of git://github.com/FMCorz/moodle

8 years agoMDL-39194 theme_formal_white: cleaned the category page showing course listing
Kordan [Mon, 20 May 2013 12:55:10 +0000 (14:55 +0200)]
MDL-39194 theme_formal_white: cleaned the category page showing course listing

8 years agoMDL-39853 behat: Useful info for $CFG->behat_config setting
David Monllao [Mon, 27 May 2013 07:12:15 +0000 (15:12 +0800)]
MDL-39853 behat: Useful info for $CFG->behat_config setting

8 years agoMDL-39686 behat: Add option to restart the browser
David Monllao [Wed, 15 May 2013 08:15:47 +0000 (16:15 +0800)]
MDL-39686 behat: Add option to restart the browser

8 years agoMDL-39686 behat: Adding into to config-dist.php
David Monllao [Wed, 15 May 2013 08:12:15 +0000 (16:12 +0800)]
MDL-39686 behat: Adding into to config-dist.php

8 years agoMDL-39702 generators: Adding MOODLE_INTERNAL
David Monllao [Mon, 20 May 2013 06:58:56 +0000 (14:58 +0800)]
MDL-39702 generators: Adding MOODLE_INTERNAL

As discussed generators should include MOODLE_INTERNAL
as they make use of CFG and they don't make sense without
requiring config.php.

8 years agoMDL-39477 repository: Introducing data generators for repositories
Frederic Massart [Thu, 2 May 2013 10:14:58 +0000 (18:14 +0800)]
MDL-39477 repository: Introducing data generators for repositories

8 years agoMDL-39806 theme_bootstrapbase: run less with --compress
Dan Poltawski [Mon, 27 May 2013 06:42:44 +0000 (14:42 +0800)]
MDL-39806 theme_bootstrapbase: run less with --compress

8 years agoMerge branch 'MDL-39806_master' of git://github.com/lazydaisy/moodle
Dan Poltawski [Mon, 27 May 2013 06:36:46 +0000 (14:36 +0800)]
Merge branch 'MDL-39806_master' of git://github.com/lazydaisy/moodle

8 years agoMDL-39795 behat: Adapting features to consider spaces
David Monllao [Mon, 27 May 2013 06:23:45 +0000 (14:23 +0800)]
MDL-39795 behat: Adapting features to consider spaces

8 years agoMDL-39795 behat: Improving find-texts-in-page-contents performance
David Monllao [Thu, 23 May 2013 05:18:51 +0000 (13:18 +0800)]
MDL-39795 behat: Improving find-texts-in-page-contents performance

8 years agoMerge branch 'wip-MDL-39785-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 27 May 2013 06:17:00 +0000 (14:17 +0800)]
Merge branch 'wip-MDL-39785-master' of git://github.com/marinaglancy/moodle

8 years agoMerge branch 'MDL-38239-master' of git://github.com/StudiUM/moodle
Dan Poltawski [Mon, 27 May 2013 06:04:04 +0000 (14:04 +0800)]
Merge branch 'MDL-38239-master' of git://github.com/StudiUM/moodle

8 years agoMerge branch 'w22_MDL-39688_m26_etag' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 27 May 2013 05:43:13 +0000 (13:43 +0800)]
Merge branch 'w22_MDL-39688_m26_etag' of git://github.com/skodak/moodle

8 years agoMerge branch 'w22_MDL-38408_m26_paypalcost' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 27 May 2013 05:04:45 +0000 (13:04 +0800)]
Merge branch 'w22_MDL-38408_m26_paypalcost' of git://github.com/skodak/moodle

8 years agoMDL-39778 badges: Fix missing library error in delete_course()
Yuliya Bozhko [Tue, 21 May 2013 22:28:51 +0000 (10:28 +1200)]
MDL-39778 badges: Fix missing library error in delete_course()

8 years agoMerge branch 'MDL-39768_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 27 May 2013 02:18:21 +0000 (10:18 +0800)]
Merge branch 'MDL-39768_master' of git://github.com/dmonllao/moodle

8 years agoMDL-38856 theme_bootstrapbase: Inverse user name text unreadable on nav bar
Gareth J Barnard [Mon, 27 May 2013 01:14:19 +0000 (02:14 +0100)]
MDL-38856 theme_bootstrapbase: Inverse user name text unreadable on nav bar

8 years agoMDL-39680 theme_bootstrapbase: Fixed footer alignment in less/moodle/debug.less
Mary Evans [Sun, 26 May 2013 12:55:45 +0000 (13:55 +0100)]
MDL-39680 theme_bootstrapbase: Fixed footer alignment in less/moodle/debug.less

Squashed commit of the following:

commit 58f5e063a8b333c184ca83ece7f61ec40d2a5080
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sun May 26 13:45:11 2013 +0100

    MDL-39680 theme_bootstrapbase: Fixed footer alignment in less/moodle/debug.less

commit 575594257a9f4fab75977d2334d07659abea0b65
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sun May 26 02:07:00 2013 +0100

    MDL-39680 theme_bootstrapbase: Centralised text in footer.

8 years agoMDL-38408 always validate PayPal dates and cost, improve float formatting
Petr Škoda [Sat, 25 May 2013 20:47:28 +0000 (22:47 +0200)]
MDL-38408 always validate PayPal dates and cost, improve float formatting

8 years agoMDL-39806 theme_bootstrapbase: Fix for coursesearchbox label alignment.
Mary Evans [Sat, 25 May 2013 15:47:52 +0000 (16:47 +0100)]
MDL-39806 theme_bootstrapbase: Fix for coursesearchbox label alignment.

8 years agoMDL-39676 improve get_role_users() unit tests
Petr Škoda [Sat, 25 May 2013 08:09:42 +0000 (10:09 +0200)]
MDL-39676 improve get_role_users() unit tests

8 years agoMDL-39688 do not set Etag when sending http ranges
Petr Škoda [Sat, 25 May 2013 07:10:24 +0000 (09:10 +0200)]
MDL-39688 do not set Etag when sending http ranges

8 years agoMDL-39802 ignore deleted users in meta enrolments
Petr Škoda [Fri, 24 May 2013 19:03:58 +0000 (21:03 +0200)]
MDL-39802 ignore deleted users in meta enrolments

8 years agoMDL-39802 ignore deleted users in cohort enrolments
Petr Škoda [Fri, 24 May 2013 19:03:47 +0000 (21:03 +0200)]
MDL-39802 ignore deleted users in cohort enrolments

8 years agoMDL-39802 ignore deleted users in category enrolments
Petr Škoda [Fri, 24 May 2013 19:03:33 +0000 (21:03 +0200)]
MDL-39802 ignore deleted users in category enrolments

8 years agoMDL-39802 fix sloppy user deleting and creating in imsenterprise plugin
Petr Škoda [Fri, 24 May 2013 19:14:53 +0000 (21:14 +0200)]
MDL-39802 fix sloppy user deleting and creating in imsenterprise plugin

8 years agoMDL-39802 add cli script for fixing of all deleted users
Petr Škoda [Fri, 24 May 2013 19:01:08 +0000 (21:01 +0200)]
MDL-39802 add cli script for fixing of all deleted users

Use this script if something just set the user.deleted flag instead of calling the delete_user() method.

8 years agoweekly on-sync release 2.6dev
Damyon Wiese [Fri, 24 May 2013 05:18:42 +0000 (13:18 +0800)]
weekly on-sync release 2.6dev

8 years agoMerge branch 'install_master' of git://git.moodle.cz/moodle-install
Damyon Wiese [Fri, 24 May 2013 05:10:53 +0000 (13:10 +0800)]
Merge branch 'install_master' of git://git.moodle.cz/moodle-install

8 years agoMDL-39456 cachestore_file: added reference to global $CFG
Sam Hemelryk [Wed, 1 May 2013 21:56:30 +0000 (09:56 +1200)]
MDL-39456 cachestore_file: added reference to global $CFG

By holding onto a reference of the global $CFG object we
can be sure that it isn't destroyed before we are done
with it.
This allows for caches to be used within destructors for
purposes such as delayed writes.

8 years agoMerge branch 'wip-MDL-39177-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Thu, 23 May 2013 13:50:56 +0000 (15:50 +0200)]
Merge branch 'wip-MDL-39177-master' of git://github.com/marinaglancy/moodle

8 years agoMDL-39177 make sure we don't remove existing directories when cleaning up unzip
Marina Glancy [Thu, 23 May 2013 09:15:47 +0000 (19:15 +1000)]
MDL-39177 make sure we don't remove existing directories when cleaning up unzip

8 years agoAutomatically generated installer lang files
AMOS bot [Wed, 22 May 2013 08:26:02 +0000 (08:26 +0000)]
Automatically generated installer lang files

8 years agoMDL-39785 bug fix: filter_activitynames was not applied correctly
Marina Glancy [Wed, 22 May 2013 07:30:04 +0000 (17:30 +1000)]
MDL-39785 bug fix: filter_activitynames was not applied correctly

8 years agoMDL-39768 behat: Adding focused panels CSS selector
David Monllao [Wed, 22 May 2013 07:11:05 +0000 (15:11 +0800)]
MDL-39768 behat: Adding focused panels CSS selector

8 years agoMDL-36482 Fix slipped error, thanks Petr!
Eloy Lafuente (stronk7) [Wed, 22 May 2013 02:09:10 +0000 (04:09 +0200)]
MDL-36482 Fix slipped error, thanks Petr!

8 years agoMerge branch 'MDL-39697' of git://github.com/lazydaisy/moodle
Damyon Wiese [Wed, 22 May 2013 01:06:29 +0000 (09:06 +0800)]
Merge branch 'MDL-39697' of git://github.com/lazydaisy/moodle

8 years agoMerge branch 'wip-MDL-39177-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Wed, 22 May 2013 00:22:55 +0000 (02:22 +0200)]
Merge branch 'wip-MDL-39177-master' of git://github.com/marinaglancy/moodle

8 years agoMDL-38239 gradebook: Importing grades from a .txt file with commas for decimals cause...
Gilles-Philippe Leblanc [Thu, 9 May 2013 15:35:38 +0000 (11:35 -0400)]
MDL-38239 gradebook: Importing grades from a .txt file with commas for decimals causes an error

8 years agoMerge branch 'wip-MDL-39720-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 21 May 2013 04:30:11 +0000 (12:30 +0800)]
Merge branch 'wip-MDL-39720-master' of git://github.com/marinaglancy/moodle

8 years agoMerge branch 'MDL-39753' of git://github.com/stronk7/moodle
Dan Poltawski [Tue, 21 May 2013 02:58:37 +0000 (10:58 +0800)]
Merge branch 'MDL-39753' of git://github.com/stronk7/moodle

8 years agoMDL-39323 auth_ldap: fix savepoint version
Dan Poltawski [Tue, 21 May 2013 02:52:44 +0000 (10:52 +0800)]
MDL-39323 auth_ldap: fix savepoint version

8 years agoMerge branch 'wip_master_mdl-39323_fix_start_tls_undefined_notice' of https://github...
Dan Poltawski [Tue, 21 May 2013 02:43:34 +0000 (10:43 +0800)]
Merge branch 'wip_master_mdl-39323_fix_start_tls_undefined_notice' of https://github.com/iarenaza/moodle

8 years agoAutomatically generated installer lang files
AMOS bot [Tue, 21 May 2013 00:38:13 +0000 (00:38 +0000)]
Automatically generated installer lang files

8 years agoMerge branch 'MDL-36482_master' of https://github.com/mr-russ/moodle
Eloy Lafuente (stronk7) [Tue, 21 May 2013 00:25:41 +0000 (02:25 +0200)]
Merge branch 'MDL-36482_master' of https://github.com/mr-russ/moodle

8 years agoMDL-39720 added missing setType() in moodleform
Marina Glancy [Mon, 20 May 2013 23:50:07 +0000 (09:50 +1000)]
MDL-39720 added missing setType() in moodleform

8 years agoMerge branch 'MDL-39758_master' of git://github.com/lazydaisy/moodle
Eloy Lafuente (stronk7) [Mon, 20 May 2013 23:46:45 +0000 (01:46 +0200)]
Merge branch 'MDL-39758_master' of git://github.com/lazydaisy/moodle

8 years agoMerge branch 'MDL-39638_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 20 May 2013 22:59:42 +0000 (00:59 +0200)]
Merge branch 'MDL-39638_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-26120' of https://github.com/jacks92/moodle
Eloy Lafuente (stronk7) [Mon, 20 May 2013 22:54:08 +0000 (00:54 +0200)]
Merge branch 'MDL-26120' of https://github.com/jacks92/moodle

8 years agoMerge branch 'MDL-39717_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Mon, 20 May 2013 22:44:05 +0000 (00:44 +0200)]
Merge branch 'MDL-39717_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-31209-master' of git://github.com/mouneyrac/moodle
Eloy Lafuente (stronk7) [Mon, 20 May 2013 17:05:14 +0000 (19:05 +0200)]
Merge branch 'MDL-31209-master' of git://github.com/mouneyrac/moodle

8 years agoMDL-39753 Add 2.5.0 upgrade line
Eloy Lafuente (stronk7) [Mon, 20 May 2013 13:33:19 +0000 (15:33 +0200)]
MDL-39753 Add 2.5.0 upgrade line

8 years agoMDL-39758 theme_bootatrapbase: Added missing layout/embedded.php.
Mary Evans [Mon, 20 May 2013 11:42:43 +0000 (12:42 +0100)]
MDL-39758 theme_bootatrapbase: Added missing layout/embedded.php.

8 years agoMDL-39323 Make sure start_tls config value is defined
Iñaki Arenaza [Wed, 24 Apr 2013 21:31:48 +0000 (23:31 +0200)]
MDL-39323 Make sure start_tls config value is defined

This has been introduced in 2.5, so when upgrading from previous versions
make sure we set a default value. Otherwise, we get a notice about it
being undefined when we try to use it (and we always try to use it!).

8 years agoMerge branch 'w18_MDL-39374_m26_folderlog' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 20 May 2013 09:58:09 +0000 (17:58 +0800)]
Merge branch 'w18_MDL-39374_m26_folderlog' of git://github.com/skodak/moodle

8 years agoMerge branch 'MDL-38498-master' of git://github.com/FMCorz/moodle
Damyon Wiese [Mon, 20 May 2013 08:11:59 +0000 (16:11 +0800)]
Merge branch 'MDL-38498-master' of git://github.com/FMCorz/moodle

8 years agoMerge branch 'MDL-39719-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 20 May 2013 08:08:51 +0000 (16:08 +0800)]
Merge branch 'MDL-39719-master' of git://github.com/FMCorz/moodle

8 years agoMDL-38498 repository: Unit tests for repository::check_capability()
Frederic Massart [Thu, 2 May 2013 06:49:13 +0000 (14:49 +0800)]
MDL-38498 repository: Unit tests for repository::check_capability()

8 years agoMerge branch 'MDL-27748' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 20 May 2013 07:46:49 +0000 (15:46 +0800)]
Merge branch 'MDL-27748' of git://github.com/timhunt/moodle

8 years agoMerge branch 'MDL-39728' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 20 May 2013 07:28:31 +0000 (15:28 +0800)]
Merge branch 'MDL-39728' of git://github.com/timhunt/moodle

8 years agoMerge branch 'wip-MDL-36020-master' of git://github.com/troylee/moodle
Dan Poltawski [Mon, 20 May 2013 04:42:17 +0000 (12:42 +0800)]
Merge branch 'wip-MDL-36020-master' of git://github.com/troylee/moodle

8 years agoMerge branch 'MDL-39363-master' of git://github.com/ankitagarwal/moodle
Damyon Wiese [Mon, 20 May 2013 04:12:23 +0000 (12:12 +0800)]
Merge branch 'MDL-39363-master' of git://github.com/ankitagarwal/moodle

8 years agoMDL-39177 Updating userid when file is overwritten
Marina Glancy [Mon, 20 May 2013 04:09:11 +0000 (14:09 +1000)]
MDL-39177 Updating userid when file is overwritten

8 years agoMerge branch 'MDL-39528_master' of git://github.com/dmonllao/moodle
Damyon Wiese [Mon, 20 May 2013 04:03:36 +0000 (12:03 +0800)]
Merge branch 'MDL-39528_master' of git://github.com/dmonllao/moodle

8 years agoMerge branch 'MDL-39630_master' of git://github.com/lazydaisy/moodle
Dan Poltawski [Mon, 20 May 2013 04:01:01 +0000 (12:01 +0800)]
Merge branch 'MDL-39630_master' of git://github.com/lazydaisy/moodle

8 years agoMerge branch 'MDL-39198_master' of git://github.com/kordan/moodle
Dan Poltawski [Mon, 20 May 2013 03:47:50 +0000 (11:47 +0800)]
Merge branch 'MDL-39198_master' of git://github.com/kordan/moodle

8 years agoMerge branch 'MDL-38369-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Mon, 20 May 2013 02:25:08 +0000 (10:25 +0800)]
Merge branch 'MDL-38369-master' of git://github.com/FMCorz/moodle

8 years agoMDL-39719 course: Pointing to wrong category string in requests
Frederic Massart [Mon, 20 May 2013 01:15:01 +0000 (09:15 +0800)]
MDL-39719 course: Pointing to wrong category string in requests

8 years agoMDL-27748 question: grade options should be localised.
Tim Hunt [Sun, 19 May 2013 22:39:23 +0000 (23:39 +0100)]
MDL-27748 question: grade options should be localised.

question_bank::fraction_options should use format_float to display
decimal pionts correctly.

8 years agoAutomatically generated installer lang files
AMOS bot [Sun, 19 May 2013 00:37:17 +0000 (00:37 +0000)]
Automatically generated installer lang files

8 years agoMDL-39728 List all the classes in question/type/questionbase.php
Tim Hunt [Sat, 18 May 2013 08:16:05 +0000 (09:16 +0100)]
MDL-39728 List all the classes in question/type/questionbase.php

This should make it easier for people to understand the type hierarchy.

8 years agoAutomatically generated installer lang files
AMOS bot [Sat, 18 May 2013 00:41:31 +0000 (00:41 +0000)]
Automatically generated installer lang files

8 years agoMDL-39177 More comments about confusing files.source field
Marina Glancy [Tue, 14 May 2013 03:21:02 +0000 (13:21 +1000)]
MDL-39177 More comments about confusing files.source field

8 years agoMDL-39177 New function file_storage::get_unused_dirname()
Marina Glancy [Mon, 13 May 2013 11:20:54 +0000 (21:20 +1000)]
MDL-39177 New function file_storage::get_unused_dirname()

8 years agoMDL-39177 Ensure files are overwritten correctly on unzip
Marina Glancy [Mon, 13 May 2013 10:15:32 +0000 (20:15 +1000)]
MDL-39177 Ensure files are overwritten correctly on unzip

8 years agoMDL-39177 Perform all checks on draftfile area before saving the files
Marina Glancy [Mon, 13 May 2013 05:48:01 +0000 (15:48 +1000)]
MDL-39177 Perform all checks on draftfile area before saving the files

8 years agoMDL-39177 Remove code duplication
Marina Glancy [Mon, 13 May 2013 05:31:15 +0000 (15:31 +1000)]
MDL-39177 Remove code duplication

8 years agoMDL-39177 Update file in filearea only if original is present
Marina Glancy [Mon, 13 May 2013 05:12:20 +0000 (15:12 +1000)]
MDL-39177 Update file in filearea only if original is present

Now when file was deleted in filemanager and new file with the same file was uploaded the references will be converted to copies exactly like UI warns in filemanager.
Also do not delete original information from draftfiles.

8 years agoMDL-39177 Discard file origin when moving/renaming a file in filemanager
Marina Glancy [Wed, 8 May 2013 12:22:53 +0000 (22:22 +1000)]
MDL-39177 Discard file origin when moving/renaming a file in filemanager

Created one function that handles file update to be used from both JS and nonJS filepicker

8 years agoMDL-39177 Original info is not preserved when overwriting a file in filemanager
Marina Glancy [Wed, 8 May 2013 04:37:29 +0000 (14:37 +1000)]
MDL-39177 Original info is not preserved when overwriting a file in filemanager

original file location is used by filemanager to indicate that file is a source of reference and file the list of referencing files