moodle.git
9 years agoMDL-32471 preview thumbnails support for blocks
David Mudrak [Tue, 24 Apr 2012 12:01:53 +0000 (14:01 +0200)]
MDL-32471 preview thumbnails support for blocks

block_xxx_pluginfile() now accepts the $options parameter that is to be passed
to the send_stored_file() function.

9 years agoMDL-32471 preview thumbnails support for activity modules
David Mudrak [Wed, 18 Apr 2012 13:56:09 +0000 (15:56 +0200)]
MDL-32471 preview thumbnails support for activity modules

Activity module's xxx_pluginfile() now accepts the $options parameter
that is to be passed to the send_stored_file() function.

9 years agoMDL-32471 send_stored_file() now supports the preview option
David Mudrak [Tue, 17 Apr 2012 22:43:16 +0000 (00:43 +0200)]
MDL-32471 send_stored_file() now supports the preview option

If for any reason the preview image can't be generated for the given
file (eg we do not support its mimetype yet), the function will send
404 Not Found HTTP header. This will be useful for the lazy loading of
the file thumbnails as the JavaScript will simply ignore such response
and will not replace the default icon for the file.

In the future, a fallback thumbnail generator can be implemented that
would generate some sort of default preview for all files (eg using
the mimetype icon like some desktop OS do).

9 years agoMDL-32471 introducing file_storage::get_file_preview() method
David Mudrak [Tue, 17 Apr 2012 22:41:01 +0000 (00:41 +0200)]
MDL-32471 introducing file_storage::get_file_preview() method

9 years agoMDL-32471 introducing generate_image_thumbnail() function
David Mudrak [Tue, 17 Apr 2012 22:37:49 +0000 (00:37 +0200)]
MDL-32471 introducing generate_image_thumbnail() function

This helper function uses GD library to generate a thumbnail of the
given image file.

9 years agoMDL-32471 fixing the coding style in lib/gdlib.php
David Mudrak [Tue, 17 Apr 2012 22:32:07 +0000 (00:32 +0200)]
MDL-32471 fixing the coding style in lib/gdlib.php

The GD functions are listed in lowercase in the PHP manual. So they
should be using this case in our code, too (otherwise, doc autolinking
tools may not work). I did not remove the underscore from the parameters
names intentionally to have the function interface compatible with the
one documented in the PHP manual.

See http://www.php.net/manual/en/ref.image.php
<

9 years agoMDL-32471 changing the interface of the send_stored_file()
David Mudrak [Tue, 17 Apr 2012 13:05:33 +0000 (15:05 +0200)]
MDL-32471 changing the interface of the send_stored_file()

9 years agoMDL-32471 pluginfile.php accepts optional parameter 'preview'
David Mudrak [Tue, 17 Apr 2012 12:56:14 +0000 (14:56 +0200)]
MDL-32471 pluginfile.php accepts optional parameter 'preview'

9 years agoweekly release 2.3dev
Dan Poltawski [Thu, 19 Apr 2012 09:45:59 +0000 (17:45 +0800)]
weekly release 2.3dev

9 years agoMerge branch 'install_master' of git://github.com/amosbot/moodle
Dan Poltawski [Thu, 19 Apr 2012 09:37:38 +0000 (17:37 +0800)]
Merge branch 'install_master' of git://github.com/amosbot/moodle

9 years agoMerge branch 'w16_MDL-32377_m23_strcache' of git://github.com/skodak/moodle
Dan Poltawski [Wed, 18 Apr 2012 10:30:03 +0000 (18:30 +0800)]
Merge branch 'w16_MDL-32377_m23_strcache' of git://github.com/skodak/moodle

9 years agoMDL-32396 more quiz strict syntax problems.
Tim Hunt [Wed, 18 Apr 2012 07:55:12 +0000 (08:55 +0100)]
MDL-32396 more quiz strict syntax problems.

9 years agoMDL-30225 add some phpdoc mentioning to avoid to use broken get_user_capabilities...
Jerome Mouneyrac [Wed, 18 Apr 2012 05:07:09 +0000 (13:07 +0800)]
MDL-30225 add some phpdoc mentioning to avoid to use broken get_user_capabilities ws lib function

9 years agoMerge branch 'MDL-32061-master-2' of git://git.luns.net.uk/moodle
Eloy Lafuente (stronk7) [Wed, 18 Apr 2012 00:31:47 +0000 (02:31 +0200)]
Merge branch 'MDL-32061-master-2' of git://git.luns.net.uk/moodle

9 years agoMDL-32448 import YUI 3.5.0: update readme
Eloy Lafuente (stronk7) [Tue, 17 Apr 2012 16:15:16 +0000 (18:15 +0200)]
MDL-32448 import YUI 3.5.0: update readme

9 years agoMerge branch 'MDL-30225' of git://github.com/mouneyrac/moodle
Dan Poltawski [Tue, 17 Apr 2012 10:53:32 +0000 (18:53 +0800)]
Merge branch 'MDL-30225' of git://github.com/mouneyrac/moodle

9 years agoMDL-30225 Creating new web service tokens create error
Jerome Mouneyrac [Tue, 17 Apr 2012 10:08:55 +0000 (18:08 +0800)]
MDL-30225 Creating new web service tokens create error

9 years agoMerge branch 'MDL-25660-workshop-calendar' of git://github.com/mudrd8mz/moodle
Dan Poltawski [Tue, 17 Apr 2012 08:29:27 +0000 (16:29 +0800)]
Merge branch 'MDL-25660-workshop-calendar' of git://github.com/mudrd8mz/moodle

Conflicts:
mod/workshop/lang/en/workshop.php
mod/workshop/version.php
    mod/workshop/db/upgrade.php

9 years agoAutomatically generated installer lang files
AMOS bot [Tue, 17 Apr 2012 00:31:44 +0000 (00:31 +0000)]
Automatically generated installer lang files

9 years agoMerge branch 'w16_MDL-32448_m23_yui350' of git://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Mon, 16 Apr 2012 22:29:35 +0000 (00:29 +0200)]
Merge branch 'w16_MDL-32448_m23_yui350' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-32359' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 16 Apr 2012 22:16:28 +0000 (00:16 +0200)]
Merge branch 'MDL-32359' of git://github.com/timhunt/moodle

9 years agoMDL-32377 do not rewrite on-disk string cache when double checking if string really...
Petr Skoda [Mon, 16 Apr 2012 21:57:27 +0000 (23:57 +0200)]
MDL-32377 do not rewrite on-disk string cache when double checking if string really does not exist in get_string()

This should help with performance on production sites and may indirectly resolve race condition problems in MDL-31904.

9 years agoMDL-32377 do not store incomplete component strings without local packs in on-disk...
Petr Skoda [Mon, 16 Apr 2012 21:55:35 +0000 (23:55 +0200)]
MDL-32377 do not store incomplete component strings without local packs in on-disk string cache

9 years agoMerge branch 'w16_MDL-32437_m23_tablename' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 16 Apr 2012 12:50:21 +0000 (20:50 +0800)]
Merge branch 'w16_MDL-32437_m23_tablename' of git://github.com/skodak/moodle

9 years agoMDL-32061 Use old lesson_answer ID and correct when restoring lesson attempts
Andrew Robert Nicols [Mon, 16 Apr 2012 12:39:43 +0000 (13:39 +0100)]
MDL-32061 Use old lesson_answer ID and correct when restoring lesson attempts

9 years agoMDL-32448 import YUI 3.5.0
Petr Skoda [Mon, 16 Apr 2012 09:58:48 +0000 (11:58 +0200)]
MDL-32448 import YUI 3.5.0

9 years agoMerge branch 'w16_MDL-32400_m23_phpunit4' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 16 Apr 2012 08:12:35 +0000 (16:12 +0800)]
Merge branch 'w16_MDL-32400_m23_phpunit4' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-32358' of https://github.com/ppichet/moodle
Dan Poltawski [Mon, 16 Apr 2012 06:31:07 +0000 (14:31 +0800)]
Merge branch 'MDL-32358' of https://github.com/ppichet/moodle

9 years agoMerge branch 'MDL-31694' of git://github.com/mouneyrac/moodle
Dan Poltawski [Mon, 16 Apr 2012 06:27:18 +0000 (14:27 +0800)]
Merge branch 'MDL-31694' of git://github.com/mouneyrac/moodle

9 years agoMerge branch 'MDL-32396' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 16 Apr 2012 05:55:25 +0000 (13:55 +0800)]
Merge branch 'MDL-32396' of git://github.com/timhunt/moodle

9 years agoMerge branch 'w16_MDL-32392_m23_minversion' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 16 Apr 2012 05:52:50 +0000 (13:52 +0800)]
Merge branch 'w16_MDL-32392_m23_minversion' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-32438-master' of git://github.com/micaherne/moodle
Dan Poltawski [Mon, 16 Apr 2012 05:46:03 +0000 (13:46 +0800)]
Merge branch 'MDL-32438-master' of git://github.com/micaherne/moodle

9 years agoMerge branch 'w16_MDL-32434_m23_droptemp' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 16 Apr 2012 05:40:32 +0000 (13:40 +0800)]
Merge branch 'w16_MDL-32434_m23_droptemp' of git://github.com/skodak/moodle

9 years agoMerge branch 'MDL-29174-master' of git://github.com/raymanuk/moodle
Sam Hemelryk [Mon, 16 Apr 2012 05:37:06 +0000 (17:37 +1200)]
Merge branch 'MDL-29174-master' of git://github.com/raymanuk/moodle

9 years agoMerge branch 'w16_MDL-32423_m23_flowplayer' of git://github.com/skodak/moodle
Dan Poltawski [Mon, 16 Apr 2012 05:32:40 +0000 (13:32 +0800)]
Merge branch 'w16_MDL-32423_m23_flowplayer' of git://github.com/skodak/moodle

9 years agoMerge branch 'w16_MDL-32405_m23_estrict4' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 16 Apr 2012 05:31:45 +0000 (17:31 +1200)]
Merge branch 'w16_MDL-32405_m23_estrict4' of git://github.com/skodak/moodle

9 years agoMerge branch 'wip-MDL-32393-m23' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 16 Apr 2012 05:29:04 +0000 (13:29 +0800)]
Merge branch 'wip-MDL-32393-m23' of git://github.com/samhemelryk/moodle

9 years agoMerge branch 'w16_MDL-32447_m23_tcpdf' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 16 Apr 2012 05:25:27 +0000 (17:25 +1200)]
Merge branch 'w16_MDL-32447_m23_tcpdf' of git://github.com/skodak/moodle

9 years agoMDL-32443 queupgradehelper cli: fix path & whitespace
Dan Poltawski [Mon, 16 Apr 2012 05:11:46 +0000 (13:11 +0800)]
MDL-32443 queupgradehelper cli: fix path & whitespace

9 years agoMDL-32443 qeupgradehelper: Add cli tool to execute qeupgrade helper
Eric Merrill [Sat, 14 Apr 2012 15:23:00 +0000 (11:23 -0400)]
MDL-32443 qeupgradehelper: Add cli tool to execute qeupgrade helper

9 years agoMDL-32393 navigation: Fixed up issue when rendering action_link instances for the...
Sam Hemelryk [Tue, 10 Apr 2012 22:56:49 +0000 (10:56 +1200)]
MDL-32393 navigation: Fixed up issue when rendering action_link instances for the navigation

9 years agoMerge branch 'MDL-32385_master' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Mon, 16 Apr 2012 05:06:15 +0000 (17:06 +1200)]
Merge branch 'MDL-32385_master' of git://github.com/lazydaisy/moodle

9 years agoMerge branch 'MDL-32404' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 16 Apr 2012 05:01:48 +0000 (13:01 +0800)]
Merge branch 'MDL-32404' of git://github.com/timhunt/moodle

9 years agoMerge branch 'MDL-32444_master' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Mon, 16 Apr 2012 03:59:55 +0000 (15:59 +1200)]
Merge branch 'MDL-32444_master' of git://github.com/lazydaisy/moodle

9 years agoMDL-32353 fixed up very minor whitespace
Sam Hemelryk [Mon, 16 Apr 2012 03:22:47 +0000 (15:22 +1200)]
MDL-32353 fixed up very minor whitespace

9 years agoMerge branch 'MDL-32353' of git://github.com/merrill-oakland/moodle
Sam Hemelryk [Mon, 16 Apr 2012 03:14:45 +0000 (15:14 +1200)]
Merge branch 'MDL-32353' of git://github.com/merrill-oakland/moodle

9 years agoMerge branch 'MDL-26099-workshop-phase-switch' of git://github.com/mudrd8mz/moodle
Sam Hemelryk [Mon, 16 Apr 2012 03:00:20 +0000 (15:00 +1200)]
Merge branch 'MDL-26099-workshop-phase-switch' of git://github.com/mudrd8mz/moodle

9 years agoMerge branch 'MDL-32442' of git://github.com/merrill-oakland/moodle
Dan Poltawski [Mon, 16 Apr 2012 02:45:02 +0000 (10:45 +0800)]
Merge branch 'MDL-32442' of git://github.com/merrill-oakland/moodle

9 years agoMerge branch 'wip-MDL-32381-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 16 Apr 2012 02:35:56 +0000 (10:35 +0800)]
Merge branch 'wip-MDL-32381-master' of git://github.com/marinaglancy/moodle

9 years agoMerge branch 'wip-MDL-32395-m23' of git://github.com/samhemelryk/moodle
Dan Poltawski [Mon, 16 Apr 2012 02:32:09 +0000 (10:32 +0800)]
Merge branch 'wip-MDL-32395-m23' of git://github.com/samhemelryk/moodle

9 years agoMDL-32358 : numerical question: validation messages errors
ppichet [Mon, 16 Apr 2012 02:11:10 +0000 (22:11 -0400)]
MDL-32358 : numerical question: validation messages errors

The selected unit parameter is added answer paramter when renderer call
 $question->get_validation_error() so that it mimics the
is_complete_response(array $response) structure.

9 years agoMerge branch 'master_MDL-32388' of git://github.com/danmarsden/moodle
Sam Hemelryk [Mon, 16 Apr 2012 00:23:23 +0000 (12:23 +1200)]
Merge branch 'master_MDL-32388' of git://github.com/danmarsden/moodle

9 years agoMDL-32355 theme_formal_white: changed the order of parent themes
Kordan [Thu, 12 Apr 2012 14:49:40 +0000 (16:49 +0200)]
MDL-32355 theme_formal_white: changed the order of parent themes

9 years agoMDL-32355 formal_white: improved reliability e maintainability
Kordan [Fri, 6 Apr 2012 07:26:28 +0000 (09:26 +0200)]
MDL-32355 formal_white: improved reliability e maintainability

9 years agoMerge branch 'MDL-32356_master' of git://github.com/kordan/moodle
Sam Hemelryk [Mon, 16 Apr 2012 00:00:55 +0000 (12:00 +1200)]
Merge branch 'MDL-32356_master' of git://github.com/kordan/moodle

9 years agoMerge branch 'MDL-32433_master' of git://github.com/kordan/moodle
Sam Hemelryk [Sun, 15 Apr 2012 23:58:17 +0000 (11:58 +1200)]
Merge branch 'MDL-32433_master' of git://github.com/kordan/moodle

9 years agoMDL-32426 phpunit: Fixed up phpdocs for generator changes
Sam Hemelryk [Sun, 15 Apr 2012 23:52:56 +0000 (11:52 +1200)]
MDL-32426 phpunit: Fixed up phpdocs for generator changes

9 years agoMerge branch 'MDL-32426-master-1' of git://git.luns.net.uk/moodle
Sam Hemelryk [Sun, 15 Apr 2012 23:52:12 +0000 (11:52 +1200)]
Merge branch 'MDL-32426-master-1' of git://git.luns.net.uk/moodle

9 years agoMerge branch 'MDL-30819_grader_col_highlight' of git://github.com/andyjdavis/moodle
Sam Hemelryk [Sun, 15 Apr 2012 23:45:55 +0000 (11:45 +1200)]
Merge branch 'MDL-30819_grader_col_highlight' of git://github.com/andyjdavis/moodle

9 years agoMerge branch 'MDL-30955_forum_ratings' of git://github.com/andyjdavis/moodle
Sam Hemelryk [Sun, 15 Apr 2012 23:34:39 +0000 (11:34 +1200)]
Merge branch 'MDL-30955_forum_ratings' of git://github.com/andyjdavis/moodle

9 years agoMerge branch 'MDL-32316_master_wip' of git://github.com/grabs/moodle
Sam Hemelryk [Sun, 15 Apr 2012 23:00:43 +0000 (11:00 +1200)]
Merge branch 'MDL-32316_master_wip' of git://github.com/grabs/moodle

9 years agoMerge branch 'MDL-27547' of git://github.com/mouneyrac/moodle
Sam Hemelryk [Sun, 15 Apr 2012 22:48:15 +0000 (10:48 +1200)]
Merge branch 'MDL-27547' of git://github.com/mouneyrac/moodle

9 years agoMDL32392 delete unused is_min_version() in some DB drivers
Petr Skoda [Sun, 15 Apr 2012 17:40:07 +0000 (19:40 +0200)]
MDL32392 delete unused is_min_version() in some DB drivers

9 years agoMDL-32405 fix PHP4isms and other E_STRICT issues in custom profile fields
Petr Skoda [Sun, 15 Apr 2012 15:15:50 +0000 (17:15 +0200)]
MDL-32405 fix PHP4isms and other E_STRICT issues in custom profile fields

9 years agoMDL-32405 workaround for non-static PEAR::raise_error() and fixed -1 debug support
Petr Skoda [Sun, 15 Apr 2012 15:02:26 +0000 (17:02 +0200)]
MDL-32405 workaround for non-static PEAR::raise_error() and fixed -1 debug support

9 years agoMDL-32447 import latest tcpdf and point cache to tcpdf subdirectory of moodle cache dir
Petr Skoda [Sun, 15 Apr 2012 13:58:25 +0000 (15:58 +0200)]
MDL-32447 import latest tcpdf and point cache to tcpdf subdirectory of moodle cache dir

9 years agoMDL32423 import latest flowplayer
Petr Skoda [Sun, 15 Apr 2012 13:27:03 +0000 (15:27 +0200)]
MDL32423 import latest flowplayer

9 years agoMDL-32437 add gradebook querylib tests
Petr Skoda [Sun, 15 Apr 2012 12:19:58 +0000 (14:19 +0200)]
MDL-32437 add gradebook querylib tests

9 years agoMDL-32437 fix invalid gradebook query sql
Petr Skoda [Sun, 15 Apr 2012 12:19:41 +0000 (14:19 +0200)]
MDL-32437 fix invalid gradebook query sql

9 years agoMDL-32400 improve module generators
Petr Skoda [Sun, 15 Apr 2012 12:07:21 +0000 (14:07 +0200)]
MDL-32400 improve module generators

Module generators are using standard *_add_instance() methods which helps with testing, it also updates grades and calendar events if used.

9 years agoMDL-32400 fix PHPUnit configuration file paths on windows
Petr Skoda [Fri, 13 Apr 2012 12:26:40 +0000 (14:26 +0200)]
MDL-32400 fix PHPUnit configuration file paths on windows

9 years agoMDL-32400 do not silence diagnostic PHPUnit includes
Petr Skoda [Fri, 13 Apr 2012 10:52:37 +0000 (12:52 +0200)]
MDL-32400 do not silence diagnostic PHPUnit includes

9 years agoMDL-32400 rework phpunit exit codes, use only php based init
Petr Skoda [Fri, 13 Apr 2012 10:45:18 +0000 (12:45 +0200)]
MDL-32400 rework phpunit exit codes, use only php based init

9 years agoMDL-32400 ignore outdated config settings in future upgrades
Petr Skoda [Fri, 13 Apr 2012 09:48:34 +0000 (11:48 +0200)]
MDL-32400 ignore outdated config settings in future upgrades

9 years agoMDL-32400 store version hash also in database
Petr Skoda [Fri, 13 Apr 2012 09:25:34 +0000 (11:25 +0200)]
MDL-32400 store version hash also in database

This prevents problems when switching databases in config.php and keeping the same test dataroot.

9 years agoMDL-32400 convert completion tests
Petr Skoda [Fri, 13 Apr 2012 09:03:46 +0000 (11:03 +0200)]
MDL-32400 convert completion tests

9 years agoMDL-32434 deprecate drop_temp_table() in favour of drop_table()
Petr Skoda [Sun, 15 Apr 2012 10:21:31 +0000 (12:21 +0200)]
MDL-32434 deprecate drop_temp_table() in favour of drop_table()

9 years agoMDL-32444 theme_afterburner: adds 5px margin to the left of #loginbtn, input, button...
Mary Evans [Sun, 15 Apr 2012 00:37:55 +0000 (01:37 +0100)]
MDL-32444 theme_afterburner: adds 5px margin to the left of #loginbtn, input, button, select in /style/afterburner_styles.css

9 years agoMDL-32404 question export: missing error message when exporting an empty category.
Tim Hunt [Wed, 11 Apr 2012 08:55:32 +0000 (09:55 +0100)]
MDL-32404 question export: missing error message when exporting an empty category.

9 years agoMDL-32396 quiz: Strict syntax notice on the quiz attempt page.
Tim Hunt [Wed, 11 Apr 2012 09:17:10 +0000 (10:17 +0100)]
MDL-32396 quiz: Strict syntax notice on the quiz attempt page.

9 years agoMDL-32359 Forum usability: reduce accidental clicks on mark thread read
Tim Hunt [Fri, 6 Apr 2012 08:59:59 +0000 (09:59 +0100)]
MDL-32359 Forum usability: reduce accidental clicks on mark thread read

I hope this little CSS change does not break anybody's theme. I is a big
usability win, at least as far as I am concerned.

9 years agoMDL-32385 theme_base: adds line-height:normal in style/course.css for section summary
Mary Evans [Sat, 14 Apr 2012 13:40:09 +0000 (14:40 +0100)]
MDL-32385 theme_base: adds line-height:normal in style/course.css for section summary

9 years agoMDL-32442 questionupgrade: error in SQL from postgres systems
Eric Merrill [Sat, 14 Apr 2012 13:05:12 +0000 (09:05 -0400)]
MDL-32442 questionupgrade: error in SQL from postgres systems

9 years agoAutomatically generated installer lang files
AMOS bot [Sat, 14 Apr 2012 00:31:53 +0000 (00:31 +0000)]
Automatically generated installer lang files

9 years agoMDL-32434 allow database_manager->drop_table() for temporary tables
Petr Skoda [Fri, 13 Apr 2012 11:58:35 +0000 (13:58 +0200)]
MDL-32434 allow database_manager->drop_table() for temporary tables

9 years agoMDL-32438 choice: fix fatal error on making choice
Michael Aherne [Fri, 13 Apr 2012 14:09:31 +0000 (15:09 +0100)]
MDL-32438 choice: fix fatal error on making choice

9 years agoMDL-26099 fixing the strict standards warning
David Mudrak [Fri, 13 Apr 2012 12:04:43 +0000 (14:04 +0200)]
MDL-26099 fixing the strict standards warning

The signature of mod_workshop_mod_form::validation() is now compatible
with that of moodleform_mod::validation() even though the parent's
declaration sucks. No one can choose their parents.

9 years agoMDL-32433_master theme_formal_white: increased the line spacing in plugin list page
kordan [Fri, 13 Apr 2012 11:24:05 +0000 (13:24 +0200)]
MDL-32433_master theme_formal_white: increased the line spacing in plugin list page

9 years agoMDL-25660 workshop removes its calendar events on instance deletion
David Mudrak [Fri, 13 Apr 2012 11:10:04 +0000 (13:10 +0200)]
MDL-25660 workshop removes its calendar events on instance deletion

9 years agoMDL-25660 recreate all workshop calendar events
David Mudrak [Fri, 13 Apr 2012 02:40:29 +0000 (04:40 +0200)]
MDL-25660 recreate all workshop calendar events

Due to complex workshop upgrade path from 1.9 and missing calendar events
support in 2.x, the only safe way to get rid of potentially invalid
calendar events (such as those reported in MDL-26687) is to remove all
current workshop events and recreate them from scratch.

9 years agoMDL-25660 workshop registers events in the calendar
David Mudrak [Fri, 13 Apr 2012 01:26:28 +0000 (03:26 +0200)]
MDL-25660 workshop registers events in the calendar

9 years agoMDL-26099 workshop can be switched into the assessment phase automatically
David Mudrak [Thu, 12 Apr 2012 00:51:27 +0000 (02:51 +0200)]
MDL-26099 workshop can be switched into the assessment phase automatically

9 years agoMDL-26099 workshop planner tool displays info about the automatic phase switching
David Mudrak [Wed, 11 Apr 2012 23:42:16 +0000 (01:42 +0200)]
MDL-26099 workshop planner tool displays info about the automatic phase switching

9 years agoMDL-26099 New i/scheduled icon
David Mudrak [Tue, 10 Apr 2012 16:57:08 +0000 (18:57 +0200)]
MDL-26099 New i/scheduled icon

Based on http://commons.wikimedia.org/wiki/File:Appointment-new.svg
(public domain Tango! Desktop Project icon)

9 years agoMDL-26099 new workshop DB field phaseswitchassessment
David Mudrak [Fri, 30 Mar 2012 23:27:41 +0000 (01:27 +0200)]
MDL-26099 new workshop DB field phaseswitchassessment

Note that most line changes in the patch are caused by the recent
changes in the XMLDB TEXT fields handling (no size specified now) and by
the change in the indentation.

9 years agoMDL-26099 validate the phases open dates and deadlines
David Mudrak [Fri, 30 Mar 2012 22:51:29 +0000 (00:51 +0200)]
MDL-26099 validate the phases open dates and deadlines

9 years agoMDL-32235 scheduled allocation settings form displays the execution status
David Mudrak [Fri, 30 Mar 2012 20:08:02 +0000 (22:08 +0200)]
MDL-32235 scheduled allocation settings form displays the execution status

AMOS BEGIN
 CPY [allocationsettings,workshopallocation_random],[randomallocationsettings,workshopallocation_scheduled]
AMOS END

9 years agoMDL-32235 execute scheduled allocation by cron
David Mudrak [Fri, 30 Mar 2012 10:57:43 +0000 (12:57 +0200)]
MDL-32235 execute scheduled allocation by cron

9 years agoMDL-32235 fixing DB schema
David Mudrak [Fri, 30 Mar 2012 10:39:44 +0000 (12:39 +0200)]
MDL-32235 fixing DB schema

Removing the table "scheduled" created by the XMLDB by default (it's a
bug in XMLDB, I'm just too lazy now to fix it). Adding new fields to
hold the result of the most recent execution.

9 years agoMDL-32235 workshop cron support
David Mudrak [Thu, 29 Mar 2012 14:17:39 +0000 (16:17 +0200)]
MDL-32235 workshop cron support

On every invocation, the workshop will give its subplugins a chance to
to something useful. For now, we know that the scheduled allocator will
use it, no need to load other plugin types yet (until there will be a
real reason for it).