]>
git.mjollnir.org Git - moodle.git/log
skodak [Fri, 8 May 2009 07:54:24 +0000 (07:54 +0000)]
MDL-18744 cas fix, credit goes to Thibault Le Meur
tjhunt [Fri, 8 May 2009 07:47:50 +0000 (07:47 +0000)]
blocklib: MDL-19010 fix editing block config and block roles.
tjhunt [Fri, 8 May 2009 07:47:02 +0000 (07:47 +0000)]
exceptions: MDL-16175 new invalid_state_exception
This is for those situations where something basically impossible happens,
like $context->contextlevel not having one of the valid value, and you
want to throw an exception (for example in the default: case of a switch)
rather than just ignoring the possibility.
nicolasconnault [Fri, 8 May 2009 07:23:51 +0000 (07:23 +0000)]
MDL-18402 Put default value of 1 for grade item's aggregationcoef if parent category's aggregation is weighted mean. Put 0 for gradepass if field is empty, and 0 for grademin if left empty. This prevents SQL errors because all three fields (aggregationcoef, gradepass and grademin) are non-NULL. Merged from MOODLE_19_STABLE
tjhunt [Fri, 8 May 2009 06:34:40 +0000 (06:34 +0000)]
blocklib: MDL-19010 and now you can delete blocks too!
nicolasconnault [Fri, 8 May 2009 06:30:46 +0000 (06:30 +0000)]
MDL-16416 Created a new help file including explanations of extra credit for both "Sum of Grades" and "Mean with extra credit" aggregation types. This is used on the "Edit categories and items" page. Merging from MOODLE_19_STABLE
tjhunt [Fri, 8 May 2009 03:30:58 +0000 (03:30 +0000)]
blocklib: MDL-19010 once again you can add blocks, at least on the coures page.
tjhunt [Fri, 8 May 2009 03:11:24 +0000 (03:11 +0000)]
blocklib: MDL-19010 finally fix the regressions that mean that you could not create a new course.
tjhunt [Fri, 8 May 2009 02:43:06 +0000 (02:43 +0000)]
admin settings/blocklib: MDL-19108 Error when saving any admin settings
Regression from MDL-19010
moodlerobot [Fri, 8 May 2009 00:36:14 +0000 (00:36 +0000)]
Updated the HEAD build version to
20090508
stronk7 [Thu, 7 May 2009 23:54:46 +0000 (23:54 +0000)]
MDL-15690, MDL-16518 backup - include roles with overrides (not only with assignments). Merged from 19_STABLE
gbateson [Thu, 7 May 2009 23:02:34 +0000 (23:02 +0000)]
when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton"
stronk7 [Thu, 7 May 2009 20:41:33 +0000 (20:41 +0000)]
MDL-13826 link/file resource - check maximum length ; merged from 19_STABLE
stronk7 [Thu, 7 May 2009 20:30:48 +0000 (20:30 +0000)]
MDL-19112 choosecoursefile group element - pass specified attrs to text element ; merged from 19_STABLE
skodak [Thu, 7 May 2009 17:38:40 +0000 (17:38 +0000)]
MDL-19111 fixed dimming of hidden until items; merged from MOODLE_19_STABLE
nicolasconnault [Thu, 7 May 2009 12:20:28 +0000 (12:20 +0000)]
Removed cvs conflict diff line
tjhunt [Thu, 7 May 2009 09:16:22 +0000 (09:16 +0000)]
blocks: MDL-19010 Fix, or prevent being executed, all references to blocks_insance_old inside blocklib.php
nicolasconnault [Thu, 7 May 2009 08:57:46 +0000 (08:57 +0000)]
MDL-14412 Applied Michael's patches to fix ram/rm support in firefox. Merged from MOODLE_19_STABLE
tjhunt [Thu, 7 May 2009 08:55:10 +0000 (08:55 +0000)]
blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php
skodak [Thu, 7 May 2009 08:47:54 +0000 (08:47 +0000)]
MDL-19101 scale selection validated on category edit form; merged from MOODLE_19_STABLE
skodak [Thu, 7 May 2009 08:39:29 +0000 (08:39 +0000)]
MDL-19091 removed custom scales from different courses + added BC hack; backported from MOODLE_19_STABLE
nicolasconnault [Thu, 7 May 2009 07:57:04 +0000 (07:57 +0000)]
MDL-12444 Removed aggregationview preference from category edit form. Merged from MOODLE_19_STABLE
skodak [Thu, 7 May 2009 07:38:02 +0000 (07:38 +0000)]
MDL-19090 fixed user report preferences; merged from MOODLE_19_STABLE
skodak [Thu, 7 May 2009 07:19:04 +0000 (07:19 +0000)]
MDL-19088 fixed category aggregation limitations; merged from mOODLE_19_STABLE
tjhunt [Thu, 7 May 2009 07:05:22 +0000 (07:05 +0000)]
blocklib: MDL-19010 fix new install.
* Fix the blocks bit of build_context_path
* Replace blocks_repopulate_page
* Make starting_output work during setup
dongsheng [Thu, 7 May 2009 06:47:20 +0000 (06:47 +0000)]
"MDL-13766, add extra yui images for yui treeview, this will display folder-style treeview in file picker"
dongsheng [Thu, 7 May 2009 06:10:38 +0000 (06:10 +0000)]
"MDL-13766, disable toolbar is logging needed"
dongsheng [Thu, 7 May 2009 05:40:22 +0000 (05:40 +0000)]
"MDL-18971, fixed .unread class definition, merged from 1.9"
tjhunt [Thu, 7 May 2009 05:38:35 +0000 (05:38 +0000)]
exceptions: MDL-16175 more careful decision whether to use _print_normal/early_error.
It is a mistake to use _print_normal_error if the exception was thrown in print_header - we don't want to try to call print_header again!
fmarier [Thu, 7 May 2009 03:06:48 +0000 (03:06 +0000)]
MDL-19096 include a copy of the GPL
tjhunt [Thu, 7 May 2009 03:02:06 +0000 (03:02 +0000)]
blocklib: MDL-19010 re-fix another Nico 'fix' ;-)
tjhunt [Thu, 7 May 2009 02:57:39 +0000 (02:57 +0000)]
blocklib: MDL-19010 move the check for whether the right database tables exist - and we no longer need this global.
tjhunt [Thu, 7 May 2009 02:56:48 +0000 (02:56 +0000)]
blocklib: MDL-19010 move the check for whether the right database tables exist to a place where it is better encapsulated.
tjhunt [Thu, 7 May 2009 02:38:12 +0000 (02:38 +0000)]
blocklib: MDL-19010 fix upgrade breakage that Nico caused when he fixed the other problems.
Moodle HQ git importer [Thu, 7 May 2009 00:35:40 +0000 (00:35 +0000)]
Fixing drift between CVS and git
moodlerobot [Thu, 7 May 2009 00:35:40 +0000 (00:35 +0000)]
Updated the HEAD build version to
20090507
fmarier [Wed, 6 May 2009 22:41:39 +0000 (22:41 +0000)]
MDL-19095 mod/forum: fix for new forum discussions being broken
(This problem was introduced in
e2d7687fc420495acebc6952a44794f5390a78b9 )
skodak [Wed, 6 May 2009 18:50:52 +0000 (18:50 +0000)]
MDL-19029 fixed validation problems; merged from MOODLE_19_STABLE
skodak [Wed, 6 May 2009 18:35:47 +0000 (18:35 +0000)]
MDL-19029 fixed validation problem in yui titles; merged from MOODLE_19_STABLE
skodak [Wed, 6 May 2009 18:14:01 +0000 (18:14 +0000)]
MDL-16915 fixed warnings caused by empty arrays in forum ratings; merged from MOODLE_19_STABLE
stronk7 [Wed, 6 May 2009 17:25:26 +0000 (17:25 +0000)]
MDL-14463 search/order - make it cross-db + delete unused column from query ; merged from 19_STABLE
skodak [Wed, 6 May 2009 16:10:45 +0000 (16:10 +0000)]
MDL-18670 adding proper permissions for mkdir(); merged from MOODLE_19_STABLE
nicolasconnault [Wed, 6 May 2009 14:19:19 +0000 (14:19 +0000)]
MDL-19010 Including courselib where needed during upgrade
nicolasconnault [Wed, 6 May 2009 10:49:49 +0000 (10:49 +0000)]
MDL-19010 Only output blocks after upgrade
skodak [Wed, 6 May 2009 10:39:51 +0000 (10:39 +0000)]
MDL-19010 reverting last commit- DML must throw exceptions - fix the calling code
nicolasconnault [Wed, 6 May 2009 10:22:33 +0000 (10:22 +0000)]
MDL-19010 Fixing upgrade code to work with mysql. Also returning false when get_recordset_sql hits a SQL error, instead of crashing during upgrade with a Fatal error: Exception thrown without a stack frame in Unknown on line 0
stronk7 [Wed, 6 May 2009 10:22:17 +0000 (10:22 +0000)]
MDL-18059 database rates - secured ; merged from 19_STABLE
tjhunt [Wed, 6 May 2009 09:31:23 +0000 (09:31 +0000)]
blocklib.php: MDL-19010 rearrange lib/db/upgrade.php before commit to CVS
tjhunt [Wed, 6 May 2009 09:31:08 +0000 (09:31 +0000)]
pagelib: MDL-12212 eliminate data_lesson
tjhunt [Wed, 6 May 2009 09:29:05 +0000 (09:29 +0000)]
moodle_page: MDL-12212 improve comments and add some work-in-progress warnings
tjhunt [Wed, 6 May 2009 09:28:26 +0000 (09:28 +0000)]
blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks
tjhunt [Wed, 6 May 2009 09:28:06 +0000 (09:28 +0000)]
moodle_page: MDL-12212 add a couple more useful classes to body
tjhunt [Wed, 6 May 2009 09:27:16 +0000 (09:27 +0000)]
moodle_page: MDL-12212 add a couple more useful classes to body
tjhunt [Wed, 6 May 2009 09:27:02 +0000 (09:27 +0000)]
blocklib: MDL-19010 rename $position -> $region throughout blocklib.php
tjhunt [Wed, 6 May 2009 09:26:46 +0000 (09:26 +0000)]
pagelib: MDL-12212 eliminate data_page
tjhunt [Wed, 6 May 2009 09:25:54 +0000 (09:25 +0000)]
pagelib: MDL-12212 eliminate chat_page
stronk7 [Wed, 6 May 2009 09:25:54 +0000 (09:25 +0000)]
MDL-18058 glossary rates - secured ; merged from 19_STABLE
tjhunt [Wed, 6 May 2009 09:24:45 +0000 (09:24 +0000)]
pagelib: MDL-12212 eliminate quiz_page
tjhunt [Wed, 6 May 2009 09:23:37 +0000 (09:23 +0000)]
moodle_page: MDL-12212 eliminate page_my_moodle
tjhunt [Wed, 6 May 2009 09:19:46 +0000 (09:19 +0000)]
moodle_page: MDL-12212 remove deprecated calls from course/view.php and page_course::print_header
tjhunt [Wed, 6 May 2009 09:15:33 +0000 (09:15 +0000)]
blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way
tjhunt [Wed, 6 May 2009 09:15:05 +0000 (09:15 +0000)]
blocklib: MDL-19010 refactor blocklib to use block_manager to get the blocks for rendering
tjhunt [Wed, 6 May 2009 09:14:42 +0000 (09:14 +0000)]
blocklib: MDL-19010 add block and get_blocks methods
tjhunt [Wed, 6 May 2009 09:14:01 +0000 (09:14 +0000)]
blocklib: MDL-19010 start of block_manager - get and set regions
tjhunt [Wed, 6 May 2009 09:13:40 +0000 (09:13 +0000)]
moodle_page: MDL-12212 clarify some comments
tjhunt [Wed, 6 May 2009 09:13:16 +0000 (09:13 +0000)]
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere
tjhunt [Wed, 6 May 2009 09:12:03 +0000 (09:12 +0000)]
blocklib: MDL-19010 upgrade database tables ready for now blocks system
tjhunt [Wed, 6 May 2009 09:11:07 +0000 (09:11 +0000)]
moodle_page: MDL-12212 completely remove the old tag and admin page classes
tjhunt [Wed, 6 May 2009 09:03:49 +0000 (09:03 +0000)]
moodle_page: MDL-12212 ->subpage field
tjhunt [Wed, 6 May 2009 09:03:33 +0000 (09:03 +0000)]
moodle_page: MDL-12212 ->cm and ->activityrecord fields
tjhunt [Wed, 6 May 2009 09:03:16 +0000 (09:03 +0000)]
moodle_page: MDL-12212 eliminate page_tag::print_footer
tjhunt [Wed, 6 May 2009 09:03:03 +0000 (09:03 +0000)]
moodle_page: MDL-12212 deprecate more of the legacy page machinery, and avoid overwriting $PAGE ever
tjhunt [Wed, 6 May 2009 09:02:48 +0000 (09:02 +0000)]
moodle_page: MDL-12212 kill legacy page_allows_editing implementations
tjhunt [Wed, 6 May 2009 09:01:42 +0000 (09:01 +0000)]
moodle_page: MDL-12212 new implementation of user_allowed_editing
tjhunt [Wed, 6 May 2009 09:00:58 +0000 (09:00 +0000)]
moodle_page: MDL-12212 Unbreak home page when editing is on
tjhunt [Wed, 6 May 2009 09:00:15 +0000 (09:00 +0000)]
moodle_page: MDL-12212 remove get_extra_header_string method from blog page
tjhunt [Wed, 6 May 2009 08:59:29 +0000 (08:59 +0000)]
moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting
tjhunt [Wed, 6 May 2009 08:56:44 +0000 (08:56 +0000)]
moodle_page: MDL-12212 eliminate page::edit_always
tjhunt [Wed, 6 May 2009 08:55:53 +0000 (08:55 +0000)]
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
tjhunt [Wed, 6 May 2009 08:53:14 +0000 (08:53 +0000)]
moodle_page: MDL-12212 Eliminate legacy blocks_ methods
moving blocks will now be broken until the new bockslib is done
tjhunt [Wed, 6 May 2009 08:51:23 +0000 (08:51 +0000)]
fix remove_params
tjhunt [Wed, 6 May 2009 08:50:32 +0000 (08:50 +0000)]
moodle_page: MDL-12212 ->url and cleanup init of $FULLME, etc.
tjhunt [Wed, 6 May 2009 08:49:12 +0000 (08:49 +0000)]
moodle_url: MDL-12212 clean up moodle_url coding style
tjhunt [Wed, 6 May 2009 08:48:13 +0000 (08:48 +0000)]
moodle_page: MDL-12212 ->docspath
tjhunt [Wed, 6 May 2009 08:46:48 +0000 (08:46 +0000)]
moodle_page: MDL-14306 (part of MDL-12212) class name on body with ->category
If ->allowcategorythemes is set, includes all parent categories too
tjhunt [Wed, 6 May 2009 08:46:05 +0000 (08:46 +0000)]
moodle_page: MDL-12212 ->category and ->categories
tjhunt [Wed, 6 May 2009 08:44:58 +0000 (08:44 +0000)]
moodle_page: MDL-14305 (and MDL-12212) class on body based on ->wwwroot
tjhunt [Wed, 6 May 2009 08:43:51 +0000 (08:43 +0000)]
moodle_page: MDL-12212 more ->pagepaths to kill
tjhunt [Wed, 6 May 2009 08:42:13 +0000 (08:42 +0000)]
moodle_page: MDL-12212 ->bodyclasses and initialise_standard_body_classes
tjhunt [Wed, 6 May 2009 08:41:02 +0000 (08:41 +0000)]
moodle_page: MDL-12212 eliminate the two different interpretations of
pagetype
tjhunt [Wed, 6 May 2009 08:38:55 +0000 (08:38 +0000)]
moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
tjhunt [Wed, 6 May 2009 08:36:50 +0000 (08:36 +0000)]
moodle_page: MDL-12212 rewrite blocks_name_allowed_in_format to improve readability
tjhunt [Wed, 6 May 2009 08:36:18 +0000 (08:36 +0000)]
moodle_page: MDL-12212 eliminate two old methods that were never used
tjhunt [Wed, 6 May 2009 08:35:39 +0000 (08:35 +0000)]
moodle_page: MDL-12212 remove code in legacy page types that stores a course record
tjhunt [Wed, 6 May 2009 08:34:32 +0000 (08:34 +0000)]
moodle_page: MDL-12212 implement ->pagetype
tjhunt [Wed, 6 May 2009 08:31:30 +0000 (08:31 +0000)]
filters: MDL-7336 use $PAGE->context now that it exists
tjhunt [Wed, 6 May 2009 08:30:25 +0000 (08:30 +0000)]
moodle_page: MDL-12212 implement ->context
tjhunt [Wed, 6 May 2009 08:29:22 +0000 (08:29 +0000)]
moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
tjhunt [Wed, 6 May 2009 08:27:12 +0000 (08:27 +0000)]
moodle_page: MDL-12212 deprecate page_import_types and clean up file
tjhunt [Wed, 6 May 2009 08:26:19 +0000 (08:26 +0000)]
moodle_page: MDL-12212 remove useless code as a preparitory step