36050 Commits

Author SHA1 Message Date
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
tjhunt
b7b2d0f37d moodle_page: MDL-12212 improve comments and add some work-in-progress warnings 2009-05-06 09:29:05 +00:00
tjhunt
cb6402296c blocklib: MDL-19010 remove no-longer-necessary global variable use from blocks 2009-05-06 09:28:26 +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
stronk7
6e73bd12e8 MDL-18058 glossary rates - secured ; merged from 19_STABLE 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
3179b0006a blocklib: MDL-19010 Fix blocks that were relying on ->instance in an unfortunate way 2009-05-06 09:15:33 +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
397fff3870 moodle_page: MDL-12212 eliminate page_tag::print_footer 2009-05-06 09:03:16 +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
b80e3a9c47 moodle_page: MDL-12212 remove get_extra_header_string method from blog page 2009-05-06 09:00:15 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
d7f688d46a moodle_page: MDL-12212 eliminate page::edit_always 2009-05-06 08:56:44 +00:00
tjhunt
ad52c04f4c 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
2009-05-06 08:55:53 +00:00
tjhunt
4873f5f709 moodle_page: MDL-12212 Eliminate legacy blocks_ methods
moving blocks will now be broken until the new bockslib is done
2009-05-06 08:53:14 +00:00
tjhunt
4912752214 fix remove_params 2009-05-06 08:51:23 +00:00
tjhunt
75781f879c moodle_page: MDL-12212 ->url and cleanup init of $FULLME, etc. 2009-05-06 08:50:32 +00:00
tjhunt
7ceb61d8ed moodle_url: MDL-12212 clean up moodle_url coding style 2009-05-06 08:49:12 +00:00
tjhunt
82611d8d33 moodle_page: MDL-12212 ->docspath 2009-05-06 08:48:13 +00:00
tjhunt
d7ab887938 moodle_page: MDL-14306 (part of MDL-12212) class name on body with ->category
If ->allowcategorythemes is set, includes all parent categories too
2009-05-06 08:46:48 +00:00
tjhunt
948203a5e8 moodle_page: MDL-12212 ->category and ->categories 2009-05-06 08:46:05 +00:00
tjhunt
89fbdca300 moodle_page: MDL-14305 (and MDL-12212) class on body based on ->wwwroot 2009-05-06 08:44:58 +00:00
tjhunt
ad5d5997ed moodle_page: MDL-12212 more ->pagepaths to kill 2009-05-06 08:43:51 +00:00
tjhunt
753debd2ab moodle_page: MDL-12212 ->bodyclasses and initialise_standard_body_classes 2009-05-06 08:42:13 +00:00
tjhunt
e88462a055 moodle_page: MDL-12212 eliminate the two different interpretations of
pagetype
2009-05-06 08:41:02 +00:00
tjhunt
d529807a65 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)
2009-05-06 08:38:55 +00:00
tjhunt
cd2bc3c98a moodle_page: MDL-12212 rewrite blocks_name_allowed_in_format to improve readability 2009-05-06 08:36:50 +00:00