123 Commits

Author SHA1 Message Date
David Mudrak
bb50c37651 MDL-30162 The grading method can be selected when creating new instance of the activity module 2011-11-08 01:54:36 +01:00
David Mudrak
01609c9ad9 Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/upgrade.php
	version.php
2011-10-24 22:13:01 +02:00
David Mudrak
03d448e5ff Activity module's settings form redirects to the management screen when advanced grading method was selected to use 2011-10-16 19:40:47 +02:00
sam marshall
6282381d05 MDL-27242 Conditional availability dates should support time as well as day
Change also adds minor feature to date-time selector so you can specify the time it uses as default when the value is 0 (disabled).

Credit: This feature was developed collaboratively by Charles Fulton, Neill Magill, and me.
2011-10-13 10:23:23 +01:00
David Mudrak
6440286719 MDL-29479 Active grading method can be set for the given area 2011-10-03 22:26:52 +02:00
David Mudrak
8a4acb3aca MDL-29479 Cosmetic rename of some methods in grading manager API 2011-10-03 22:26:52 +02:00
David Mudrak
b11f9da65e MDL-29479 New feature FEATURE_ADVANCED_GRADING
Plugins will use this feature to claim their support for the new
advanced grading methods machinery.
2011-09-29 00:09:59 +02:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
sam marshall
8c40662e22 MDL-27001 'Show description' feature part 1: infrastructure that allows modules to support feature
The 'Show description' feature is about optionally including module description on the course page. This change include the necessary infrastructure - new database field, new FEATURE constant, changes to forms to display it, new language strings for it, backup and restore, and old course conversion. (I found the places to change by searching for an existing field in course_modules).

Documentation for the field is included in install.xml and in modinfolib.
2011-09-06 11:03:00 +01:00
Sam Hemelryk
9fed82de9c Merge branch 'MDL-26785' of git://github.com/stronk7/moodle 2011-03-14 11:22:05 +08:00
Eloy Lafuente (stronk7)
e140197481 MDL-26785 module edit - icon in heading missing sometimes 2011-03-12 01:39:58 +01:00
Tim Hunt
b053dcab0f MDL-26730 when going back from modedit.php to the course, go to the right section. 2011-03-09 15:51:15 +00:00
Sergey Vidusov
ebb32067bf MDL-25478 - stop fatal errors adding blocks on the module edit page
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-03 19:09:56 +00:00
David Mudrak
ff7670e79b MDL-25582 Fixed inconsistence in FEATURE_MOD_INTRO evaluation 2010-12-06 16:07:31 +00:00
Dongsheng Cai
7be06fa535 "MDL-25529 revert changes, it broke module instance creating page" 2010-12-05 18:01:33 +00:00
jerome mouneyrac
4a67d7c84d course MDL-25529 $introeditor not declared in some cases (=> it was displaying php notice when adding the official newmodule template) 2010-12-05 08:24:33 +00:00
Sam Marshall
91d0bb0a1f Activity completion MDL-24746 If you turn on autocompletion for an activity after users have already done things that should complete it, it didn't mark them complete 2010-11-08 11:51:19 +00:00
Petr Skoda
fbaea88faa MDL-24321 switching to stdClass in /c*/ 2010-09-21 08:13:11 +00:00
Dan Marsden
bce59524ce Plagiarism API MDL-13680 add plagiarism support for user submitted files - currently only added to single and advanced Assignment types - other modules to come in future. 2010-09-20 07:32:31 +00:00
Petr Skoda
4cc977a64d fixing messed up property_exists() regression - sorrrry 2010-09-17 20:36:49 +00:00
Petr Skoda
c20b001bf4 fixed a few more property_exists()s 2010-09-17 19:20:39 +00:00
Martin Dougiamas
9645a4843a MDL-16203 Updated the mod_created, mod_updated and mod_deleted events to be more generic and easier to handle 2010-07-08 02:27:58 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Rossiani Wijaya
377d7b82f6 MDL-20410 - remove set_focuscontrol (bulk commit) 2010-07-01 05:35:27 +00:00
Petr Skoda
54632b02b2 MDL-21782 removing oboslete tabs 2010-06-22 07:05:11 +00:00
Sam Hemelryk
7487c85699 course formats MDL-22647 Course format names are now properly supported and used. Big thanks to Brandon Turner for the patch. 2010-06-08 06:21:25 +00:00
Sam Hemelryk
ae2fa74f95 blocks MDL-22311 Fixed page layout for course/modedit.php
For future note and all those who read CVS commit messages calls to set pagelayout MUST come before any mforms instantiations.
2010-05-06 03:39:12 +00:00
Dan Marsden
e7983475fd Events MDL-16203 - add user info to event trigger. 2010-05-02 22:43:35 +00:00
Dan Marsden
30b5ee6b06 Plagiarism Lib MDL-13680 - reverting commit for now. 2010-04-28 02:47:25 +00:00
Dan Marsden
cc3b3fae5d Plagiarism Lib MDL-13680 - add Plagiarism lib support for modules. - initially including the assignment module and Turnitin service - Backup deliberately excluded at this stage and I expect some of the file handling to change slightly before 2.0 release. 2010-04-27 21:52:07 +00:00
Martin Dougiamas
5435c9dcc4 help strings MDL-21695 changed _hlp to _help and fixed help.php to format those strings properly 2010-04-23 07:46:35 +00:00
Sam Hemelryk
ba9dc077c4 roles MDL-22126 Fixed up usage of admin/roles/tags.php 2010-04-21 02:43:02 +00:00
Petr Skoda
3fc066917d MDL-21695 adding support for module help 2010-04-13 21:59:15 +00:00
Dan Marsden
75ba5fe41a Events MDL-16203 fire events when a module is added/updated/deleted 2010-03-22 02:56:45 +00:00
Sam Hemelryk
d0ccc7e93e course MDL-19794 Set a better page layout (admin) for modedit 2010-02-01 07:49:33 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
b1a2d9d2af course MDL-20989 Fixed bug that threw notices if a module didn't support FEATURE_MOD_INTRO 2009-12-07 06:23:00 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
moodler
480b5db6b3 course/modedit MDL-19794 Add missing heading from module editing page 2009-09-22 08:15:58 +00:00
samhemelryk
2b9e3bac50 course MDL-19794 Updated a couple of deprecated functions in modedit and view 2009-09-10 06:45:51 +00:00
samhemelryk
0ef5125898 navigation MDL-20216 Fixed regression in course/modedit.php 2009-09-08 03:16:23 +00:00
samhemelryk
3856ca5605 course MDL-19794 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents 2009-09-08 01:33:56 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
nicolasconnault
d60c112435 MDL-19794 Converted all print_footer() calls 2009-08-06 14:10:33 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00