Commit graph

7868 commits

Author SHA1 Message Date
stronk7
d09af2e19f MDL-18547 mysql floats - only none/both params (length & decimals) syntax is
allowed. So, if decimals are missing, enforce 0 if length is defined. Merged
from 19_STABLE
2009-05-11 15:11:23 +00:00
stronk7
0974051307 MDL-18746 get_user_courses_bycap() - avoid ambiguous (repeated) column names ; merged from 19_STABLE 2009-05-11 00:04:18 +00:00
skodak
da40fd3218 MDL-19139 selectgroups formslib element improvements - 1/ does not validate if optgroup array empty 2/ add optional $showchoose parameter which adds "Choose..." as first item of list with empty value; merged from MOODLE_19_STABLE 2009-05-10 11:49:00 +00:00
tjhunt
dc14c0767e filterlib: Fix typo 2009-05-09 14:21:11 +00:00
skodak
edaf04d489 MDL-16957 explain why our htaccess is intentionally broken; merged from MOODLE_19_STABLE 2009-05-08 21:30:56 +00:00
tjhunt
6cbcbf0fb3 blocklib: MDL-19010 eliminate remaining calls to blocks_repopulate_page 2009-05-08 08:22:59 +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
tjhunt
f4d38d20fb blocklib: MDL-19010 and now you can delete blocks too! 2009-05-08 06:34:40 +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
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
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
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
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
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
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
tjhunt
c045e45a44 blocklib.php: MDL-19010 rearrange lib/db/upgrade.php before commit to CVS 2009-05-06 09:31:23 +00:00
tjhunt
b7b2d0f37d moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
tjhunt
b80856bd6e moodle_page: MDL-12212 add a couple more useful classes to body 2009-05-06 09:28:06 +00:00
tjhunt
a132617056 moodle_page: MDL-12212 add a couple more useful classes to body 2009-05-06 09:27:16 +00:00
tjhunt
f2c6739c39 blocklib: MDL-19010 rename $position -> $region throughout blocklib.php 2009-05-06 09:27:02 +00:00
tjhunt
3681f9a953 pagelib: MDL-12212 eliminate data_page 2009-05-06 09:26:46 +00:00
tjhunt
c85acc871f pagelib: MDL-12212 eliminate chat_page 2009-05-06 09:25:54 +00:00
tjhunt
6bf44482c6 pagelib: MDL-12212 eliminate quiz_page 2009-05-06 09:24:45 +00:00
tjhunt
1b6b940022 moodle_page: MDL-12212 eliminate page_my_moodle 2009-05-06 09:23:37 +00:00
tjhunt
5d3e9d9fe3 moodle_page: MDL-12212 remove deprecated calls from course/view.php and page_course::print_header 2009-05-06 09:19:46 +00:00
tjhunt
bb46a4fa2a blocklib: MDL-19010 refactor blocklib to use block_manager to get the blocks for rendering 2009-05-06 09:15:05 +00:00
tjhunt
08eab89703 blocklib: MDL-19010 add block and get_blocks methods 2009-05-06 09:14:42 +00:00
tjhunt
86b5ea0f85 blocklib: MDL-19010 start of block_manager - get and set regions 2009-05-06 09:14:01 +00:00
tjhunt
c33db6e690 moodle_page: MDL-12212 clarify some comments 2009-05-06 09:13:40 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
tjhunt
f8b80dbd95 moodle_page: MDL-12212 completely remove the old tag and admin page classes 2009-05-06 09:11:07 +00:00
tjhunt
5ed70539f9 moodle_page: MDL-12212 ->subpage field 2009-05-06 09:03:49 +00:00
tjhunt
5ec434a9c2 moodle_page: MDL-12212 ->cm and ->activityrecord fields 2009-05-06 09:03:33 +00:00
tjhunt
0d5890c45d moodle_page: MDL-12212 deprecate more of the legacy page machinery, and avoid overwriting $PAGE ever 2009-05-06 09:03:03 +00:00
tjhunt
cfcfb9f3d0 moodle_page: MDL-12212 kill legacy page_allows_editing implementations 2009-05-06 09:02:48 +00:00
tjhunt
934524d70b moodle_page: MDL-12212 new implementation of user_allowed_editing 2009-05-06 09:01:42 +00:00
tjhunt
60dfb02a02 moodle_page: MDL-12212 Unbreak home page when editing is on 2009-05-06 09:00:58 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00