jerome
72c6b04ae7
report MDL-19660 fix PHP Fatal error when display report (wrong field order into get_users_by_capability) - bug only in 2.0
2009-06-30 02:42:56 +00:00
samhemelryk
c892b53108
course-reports MDL-16438 Fixed broken reports, changed plugin list type to coursereport
2009-06-30 01:41:28 +00:00
stronk7
d47cf63dec
MDL-19579 code coverage - add initial $includecoverage attributes
2009-06-26 17:21:36 +00:00
tjhunt
34a2777ccb
themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
...
Also, part of the change from weblib.php functions to $OUTPUT-> methods.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F
This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.
The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.
A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.
All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
2009-06-26 09:06:16 +00:00
skodak
09f8d75e32
MDL-19611 fixing regression - video icon disappeared
2009-06-25 07:30:37 +00:00
sam_marshall
29cb6c4c47
MDL-18297: Completion date checking - when updating meaning of 'available until', forgot to update validation code
2009-06-22 11:11:45 +00:00
skodak
17da2e6f28
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
2009-06-19 14:25:56 +00:00
tjhunt
c28bf5c9f8
javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
...
Also, some related JavaScript cleanup.
More to follow.
2009-06-15 05:37:57 +00:00
skodak
fc29e51b2d
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:34:43 +00:00
skodak
a8f3a651c0
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 18:16:08 +00:00
skodak
bb4b6010f3
MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup
2009-06-13 17:17:10 +00:00
tjhunt
cf6155226c
ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
...
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.
There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.
get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.
Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.
All that remains is to update all the places in core code that are
still using require_js.
(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt
0eab1dc067
Fix whitespace.
2009-06-12 11:57:15 +00:00
tjhunt
c679c3582a
Fix some fallout from the pagelib changes.
2009-06-12 11:56:30 +00:00
skodak
a8d6ef8c6c
MDL-18293 $DB->somethiong is using exceptions, no need for ifs there, removing useless strings
2009-06-03 20:16:20 +00:00
skodak
bf8e93d704
MDL-18293 $DB->somethiong is using exceptions, no need for ifs tehre, removing useless strings
2009-06-03 20:00:08 +00:00
stronk7
77a7b86529
MDL-19246 restore - cleanup of "restoreto" options. Some more extra uses updated. Merged from 19_STABLE
2009-05-22 10:32:34 +00:00
skodak
a19a06d09e
MDL-14589 file api improvements - converting more params to general $options array
2009-05-18 19:04:06 +00:00
skodak
73efeff61b
MDL-19119 moving get_fast_modinfo() to moodlelib.php - the recent changes related to inclusion of course/lib.php were causing regressions
2009-05-17 18:45:00 +00:00
sam_marshall
9593d8b87f
MDL-19186 Fixed couple warnings on moodleform_mod when completion is enabled
2009-05-14 10:55:14 +00:00
fmarier
dc247e5232
MDL-19179 cache superfluous queries when listing categories on front page
2009-05-14 06:04:35 +00:00
moodler
609bc82be7
course/format/social MDL-18483 For social course format, print forum intro on course page (Merged from 1.9)
2009-05-12 05:10:28 +00:00
skodak
34d39b792c
MDL-19002 standardized constructor parameter order
2009-05-11 18:55:03 +00:00
mjollnir_
00f270bc6c
fix for MDL-19110
...
Author: Adrian Schlegel <adrian@liip.ch>
2009-05-08 14:24:56 +00:00
tjhunt
4e1132a8c5
forum: MDL-19119 missing requires now course/lib.php is not included everywhere.
...
Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');
2009-05-08 09:00:41 +00:00
tjhunt
6cbcbf0fb3
blocklib: MDL-19010 eliminate remaining calls to blocks_repopulate_page
2009-05-08 08:22:59 +00:00
tjhunt
f4d38d20fb
blocklib: MDL-19010 and now you can delete blocks too!
2009-05-08 06:34:40 +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
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
b7b2d0f37d
moodle_page: MDL-12212 improve comments and add some work-in-progress warnings
2009-05-06 09:29:05 +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
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
cfcfb9f3d0
moodle_page: MDL-12212 kill legacy page_allows_editing implementations
2009-05-06 09:02:48 +00:00
tjhunt
830dd6e9cd
moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting
2009-05-06 08:59:29 +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
948203a5e8
moodle_page: MDL-12212 ->category and ->categories
2009-05-06 08:46:05 +00:00
tjhunt
ad5d5997ed
moodle_page: MDL-12212 more ->pagepaths to kill
2009-05-06 08:43:51 +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
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
skodak
8b449a3958
MDL-18124 course creators can not delete any courses in their category any more, only those they created at most one day ago; merged from MOODLE_19_STABLE
2009-05-04 19:56:32 +00:00
skodak
a08171c5c2
MDL-19002 file upload limits support
2009-04-28 19:08:33 +00:00
skodak
43b44d5ea6
MDL-18910 full support for module intro editor with embedded images
2009-04-22 07:14:19 +00:00
skodak
dc5c2bd9eb
MDL-18910 full support for module intro editor with embedded images
2009-04-21 21:17:21 +00:00
skodak
42f103be4c
MDL-18910 moving modedit features to modname_supports()
2009-04-21 08:57:20 +00:00
tjhunt
7a9d505bb9
category paths: MDL-18897 call fix_course_sortorder eveywhere we insert a category to set category.path and .depth
2009-04-20 05:59:11 +00:00
sam_marshall
e7c6bf0eab
MDL-18297: Changed date conditions so that the text and behaviour is more natural.
2009-04-17 16:06:29 +00:00
sam_marshall
e8e509865e
MDL-17816: Changes to the way availability conditions are displayed when viewing course
2009-04-17 11:07:59 +00:00
sam_marshall
3982f0f87d
MDL-17816: Minor whitespace fixes before I work on the actual bug
2009-04-17 10:22:56 +00:00
sam_marshall
52dbbcf665
MDL-17816: Minor whitespace fixes before I work on the actual bug
2009-04-17 10:20:44 +00:00