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
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
tjhunt
f73102864a
moodle_page: MDL-12212 eliminate two old methods that were never used
2009-05-06 08:36:18 +00:00
tjhunt
31940ba622
moodle_page: MDL-12212 remove code in legacy page types that stores a course record
2009-05-06 08:35:39 +00:00
tjhunt
f230ce19ea
moodle_page: MDL-12212 implement ->pagetype
2009-05-06 08:34:32 +00:00
tjhunt
e3e40b4333
filters: MDL-7336 use $PAGE->context now that it exists
2009-05-06 08:31:30 +00:00
tjhunt
2afe21eea3
moodle_page: MDL-12212 implement ->context
2009-05-06 08:30:25 +00:00
tjhunt
c13a5e71cc
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!
2009-05-06 08:29:22 +00:00
tjhunt
de60de044c
moodle_page: MDL-12212 deprecate page_import_types and clean up file
2009-05-06 08:27:12 +00:00
skodak
989c16eeb9
MDL-16692 converted glossary comments to new editor + file API fixes
2009-05-05 08:57:12 +00:00
skodak
8ead7b5983
MDL-19009 cleanup - there is no CONTEXT_GROUP and pinned block context
2009-05-04 20:23:20 +00:00
stronk7
382123a06e
2.0 has lowercase xmldb objects.
2009-05-04 14:33:01 +00:00