Commit graph

7868 commits

Author SHA1 Message Date
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
stronk7
f9ecb1716d MDL-18577 drop enums support - fixed dml/ddl tests to be runnable once enums are out. Some
are failing but will be fixed/completed soon by MDL-19057
2009-05-03 23:46:40 +00:00
stronk7
d14fc380c9 MDL-19055 two missed XHTML fixes forgotten in previous commit. 2009-05-03 23:15:44 +00:00
stronk7
2f326cef12 MDL-19055 Upgrade to AdoDB 5.08 + local patches reapplied 2009-05-03 22:33:18 +00:00
stronk7
d64514aab0 MDL-14679 - PG get_indexes() fix - minor problem retrieving indexes with columns quoted 2009-05-03 17:19:40 +00:00
mjollnir_
4c7a4ef9df MDL-18734 - documentation and coding style in portfolio/*
Added much needed documentation to the portfolio "scripts" (the libs are all
fine), and moved all parameter fetching from the body of the file to the top.
2009-05-02 13:23:22 +00:00
stronk7
526fe7d8da MDL-18577 drop enums support - step3: deprecate old change_field_enum() use
by new drop_enum_from_field() available in 2.0
2009-05-02 00:22:20 +00:00
stronk7
ae5a39398b using new DB syntax 2009-05-02 00:17:31 +00:00
stronk7
2d2d79ef49 MDL-18577 drop enums support - step3: Drop enums from generator classes. Only code used to drop enums remains until Moodle 2.1 2009-05-01 23:49:31 +00:00
stronk7
ffaf9c59a9 MDL-18577 drop enums support - step3: Missing return 2009-05-01 23:35:36 +00:00
stronk7
e00ab5f994 MDL-18577 drop enums support - step3: Fix oci8 adodb set_field_select() without select 2009-05-01 23:35:01 +00:00
stronk7
762bd0df3c MDL-18577 drop enums support - step3: fix native pgsql set_field_select() handling of BLOBs 2009-05-01 23:33:24 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
tjhunt
fb073f60ec adminlib: MDL-19038 lazy-load the list of users in admin_setting_users_with_capability 2009-05-01 10:32:12 +00:00
jerome
eef760748c repository MDL-15404 display instance number into the administration 2009-05-01 06:55:10 +00:00
dongsheng
b8aa76c1a4 "MDL-19037, use getremoteaddr to get remote ip address" 2009-05-01 03:04:10 +00:00
stronk7
2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
skodak
49ba2b61b9 MDL-19030 even uglier hack - do not try to add id to labels of static element - they do not have it; merged from MOODLE_19_STABLE 2009-04-30 10:09:13 +00:00
skodak
5c89242e50 MDL-19030 very ugly hack - do not try to add id to labels of element group - they do not have it; merged from MOODLE_19_STABLE 2009-04-30 10:06:11 +00:00
skodak
8c453e41f7 MDL-19030 fixed xhtml strictness when label attached to frozen element; merged from MOODLE_19_STABLE 2009-04-30 09:50:02 +00:00
skodak
35079f539c MDL-18951 standardised group support in grader report (not complete yet) 2009-04-30 08:07:43 +00:00
tjhunt
e8c8cee99a blocklib: MDL-19010 add standard boilerplate at the top of the file. 2009-04-30 03:50:00 +00:00
skodak
a9e38ac8a7 MDL-19008 extra credis should not be dropped when drop low or keep high specified (including unit tests) 2009-04-29 13:42:03 +00:00
skodak
b9b199beba MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type 2009-04-29 10:05:55 +00:00
nicolasconnault
9810d8a08c MDL-14909 Preventing the border from being assigned to label list elements. Merged from MOODLE_19_STABLE 2009-04-29 09:31:24 +00:00
skodak
59080eee21 MDL-18993 implemented frull support for droplow and keephigh in sum aggregation type 2009-04-29 08:55:25 +00:00