Commit graph

37043 commits

Author SHA1 Message Date
tjhunt
9cd70d9d73 forum: MDL-19119 missing require now course/lib.php is not included everywhere. 2009-05-08 08:07:45 +00:00
skodak
3db835d1ae MDL-18744 cas fix, credit goes to Thibault Le Meur 2009-05-08 07:54:24 +00:00
tjhunt
e03c0c1d49 blocklib: MDL-19010 fix editing block config and block roles. 2009-05-08 07:47:50 +00:00
tjhunt
cce1b0b9ca 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.
2009-05-08 07:47:02 +00:00
nicolasconnault
33e2e92453 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 2009-05-08 07:23:51 +00:00
tjhunt
f4d38d20fb blocklib: MDL-19010 and now you can delete blocks too! 2009-05-08 06:34:40 +00:00
nicolasconnault
e3efd04c1e 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 2009-05-08 06:30:46 +00:00
tjhunt
7130fb212c blocklib: MDL-19010 once again you can add blocks, at least on the coures page. 2009-05-08 03:30:58 +00:00
tjhunt
1d00ec6a6a blocklib: MDL-19010 finally fix the regressions that mean that you could not create a new course. 2009-05-08 03:11:24 +00:00
tjhunt
ac9e220734 admin settings/blocklib: MDL-19108 Error when saving any admin settings
Regression from MDL-19010
2009-05-08 02:43:06 +00:00
moodlerobot
31bb8f3e23 Updated the HEAD build version to 20090508 2009-05-08 00:36:14 +00:00
stronk7
b78ed27edb MDL-15690, MDL-16518 backup - include roles with overrides (not only with assignments). Merged from 19_STABLE 2009-05-07 23:54:46 +00:00
gbateson
801ab89d93 when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton" 2009-05-07 23:02:34 +00:00
stronk7
99e8a8a838 MDL-13826 link/file resource - check maximum length ; merged from 19_STABLE 2009-05-07 20:41:33 +00:00
stronk7
3ea24f884a MDL-19112 choosecoursefile group element - pass specified attrs to text element ; merged from 19_STABLE 2009-05-07 20:30:48 +00:00
skodak
fa5ac78bed MDL-19111 fixed dimming of hidden until items; merged from MOODLE_19_STABLE 2009-05-07 17:38:40 +00:00
nicolasconnault
2458773012 Removed cvs conflict diff line 2009-05-07 12:20:28 +00:00
tjhunt
feed19003c blocks: MDL-19010 Fix, or prevent being executed, all references to blocks_insance_old inside blocklib.php 2009-05-07 09:16:22 +00:00
nicolasconnault
7c59f3be9d MDL-14412 Applied Michael's patches to fix ram/rm support in firefox. Merged from MOODLE_19_STABLE 2009-05-07 08:57:46 +00:00
tjhunt
f474a4e583 blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php 2009-05-07 08:55:10 +00:00
skodak
572befbcf2 MDL-19101 scale selection validated on category edit form; merged from MOODLE_19_STABLE 2009-05-07 08:47:54 +00:00
skodak
d9be236f5d MDL-19091 removed custom scales from different courses + added BC hack; backported from MOODLE_19_STABLE 2009-05-07 08:39:29 +00:00
nicolasconnault
28087eb710 MDL-12444 Removed aggregationview preference from category edit form. Merged from MOODLE_19_STABLE 2009-05-07 07:57:04 +00:00
skodak
d69ef28b77 MDL-19090 fixed user report preferences; merged from MOODLE_19_STABLE 2009-05-07 07:38:02 +00:00
skodak
b8a3724138 MDL-19088 fixed category aggregation limitations; merged from mOODLE_19_STABLE 2009-05-07 07:19:04 +00:00
tjhunt
9d1d606e0d blocklib: MDL-19010 fix new install.
* Fix the blocks bit of build_context_path
* Replace blocks_repopulate_page
* Make starting_output work during setup
2009-05-07 07:05:22 +00:00
dongsheng
c19f8e7dcb "MDL-13766, add extra yui images for yui treeview, this will display folder-style treeview in file picker" 2009-05-07 06:47:20 +00:00
dongsheng
c1cfadedd5 "MDL-13766, disable toolbar is logging needed" 2009-05-07 06:10:38 +00:00
dongsheng
ccf84b11bc "MDL-18971, fixed .unread class definition, merged from 1.9" 2009-05-07 05:40:22 +00:00
tjhunt
0ae8f5fcb2 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!
2009-05-07 05:38:35 +00:00
fmarier
576e101aa3 MDL-19096 include a copy of the GPL 2009-05-07 03:06:48 +00:00
tjhunt
35550fd627 blocklib: MDL-19010 re-fix another Nico 'fix' ;-) 2009-05-07 03:02:06 +00:00
tjhunt
e3bd4690e0 blocklib: MDL-19010 move the check for whether the right database tables exist - and we no longer need this global. 2009-05-07 02:57:39 +00:00
tjhunt
d19e819597 blocklib: MDL-19010 move the check for whether the right database tables exist to a place where it is better encapsulated. 2009-05-07 02:56:48 +00:00
tjhunt
3aceb097a2 blocklib: MDL-19010 fix upgrade breakage that Nico caused when he fixed the other problems. 2009-05-07 02:38:12 +00:00
Moodle HQ git importer
a54bf344c8 Fixing drift between CVS and git 2009-05-07 00:35:40 +00:00
moodlerobot
f3bdfe4be8 Updated the HEAD build version to 20090507 2009-05-07 00:35:40 +00:00
fmarier
330895d56f MDL-19095 mod/forum: fix for new forum discussions being broken
(This problem was introduced in e2d7687fc4)
2009-05-06 22:41:39 +00:00
skodak
1edd08ab56 MDL-19029 fixed validation problems; merged from MOODLE_19_STABLE 2009-05-06 18:50:52 +00:00
skodak
da2818d34c MDL-19029 fixed validation problem in yui titles; merged from MOODLE_19_STABLE 2009-05-06 18:35:47 +00:00
skodak
99a3aa38b8 MDL-16915 fixed warnings caused by empty arrays in forum ratings; merged from MOODLE_19_STABLE 2009-05-06 18:14:01 +00:00
stronk7
aa4c6b68b5 MDL-14463 search/order - make it cross-db + delete unused column from query ; merged from 19_STABLE 2009-05-06 17:25:26 +00:00
skodak
c9a433cdd6 MDL-18670 adding proper permissions for mkdir(); merged from MOODLE_19_STABLE 2009-05-06 16:10:45 +00:00
nicolasconnault
a9a0b93de1 MDL-19010 Including courselib where needed during upgrade 2009-05-06 14:19:19 +00:00
nicolasconnault
0a75f205cb MDL-19010 Only output blocks after upgrade 2009-05-06 10:49:49 +00:00
skodak
e0eda20921 MDL-19010 reverting last commit- DML must throw exceptions - fix the calling code 2009-05-06 10:39:51 +00:00
nicolasconnault
eb2761f856 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 2009-05-06 10:22:33 +00:00
stronk7
c11f2e4c15 MDL-18059 database rates - secured ; merged from 19_STABLE 2009-05-06 10:22:17 +00:00
tjhunt
c045e45a44 blocklib.php: MDL-19010 rearrange lib/db/upgrade.php before commit to CVS 2009-05-06 09:31:23 +00:00
tjhunt
40d6de1af6 pagelib: MDL-12212 eliminate data_lesson 2009-05-06 09:31:08 +00:00