1493 Commits

Author SHA1 Message Date
skodak
0a8a7b6c24 MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
nicolasconnault
385219cba9 MDL-19808 Upgraded view.php to new pagelib and outputlib APIs 2009-07-15 02:54:40 +00:00
tjhunt
fbaaeaebac forum: $PAGE->set_url on forum view page. 2009-07-14 09:36:02 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
skodak
86900a93bb MDL-14589 improved _pluginfile function - added forcedownload param and fixed docs 2009-07-03 13:40:37 +00:00
tjhunt
d436d197d1 MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693

RIP $CFG->pixpath
2009-07-03 07:55:30 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
stronk7
ce40c8ff2b MDL-19579 code coverage - add more initial $includecoverage attributes 2009-06-26 18:12:05 +00:00
samhemelryk
002575adeb mod-forum MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 07:49:37 +00:00
samhemelryk
68533e531a mod-forum MDL-19620 Replaced get_db_family with get_dbfamily 2009-06-25 03:08:05 +00:00
samhemelryk
970df3e01f modforum MDL-16706 Removed inline js script call in mod forum 2009-06-25 02:57:46 +00:00
skodak
7de5a29a33 MDL-19611 fixing regression - video icon disappeared 2009-06-24 23:15:24 +00:00
skodak
5a4ba49ca7 MDL-19611 fixing regression - video icon disappeared 2009-06-24 22:54:49 +00:00
samhemelryk
7bfe17822a modforum MDL-16706 Removed inline js script call in mod forum and added forum.js 2009-06-23 03:16:16 +00:00
moodler
bb8f37595a Some old fixes for whitespaces etc (coding style) 2009-06-22 03:53:02 +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
0bcf8b6f0d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:55:51 +00:00
skodak
a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak
9d7493399d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:35: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
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
3e17976332 MDL-19350 upgrade blocks - fixing minor bits in modules 2009-06-03 17:01:51 +00:00
samhemelryk
df1ba0f4e2 mod-forum MDL-19294 Added boilerplate and phpdocs 2009-05-27 07:27:53 +00:00
skodak
e3ea4a75e9 MDL-15249 fixed installation warnings 2009-05-25 21:04:29 +00:00
skodak
4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +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
34d39b792c MDL-19002 standardized constructor parameter order 2009-05-11 18:55:03 +00:00
skodak
9d54b8cd95 MDL-19002 file size limits in filepicker + improved options 2009-05-11 18:49:04 +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
9cd70d9d73 forum: MDL-19119 missing require now course/lib.php is not included everywhere. 2009-05-08 08:07:45 +00:00
fmarier
330895d56f MDL-19095 mod/forum: fix for new forum discussions being broken
(This problem was introduced in e2d7687fc420495acebc6952a44794f5390a78b9)
2009-05-06 22:41:39 +00:00
skodak
99a3aa38b8 MDL-16915 fixed warnings caused by empty arrays in forum ratings; merged from MOODLE_19_STABLE 2009-05-06 18:14:01 +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
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
stronk7
9b66b300c6 MDL-18227 forum ratings - clean wrong records; merged from 19_STABLE 2009-05-04 08:44:51 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +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
a08171c5c2 MDL-19002 file upload limits support 2009-04-28 19:08:33 +00:00
stronk7
e37cd84ad4 MDL-18577 drop enums support - step1: transforming all enums to nomal varchar + prevent creation of new ones 2009-04-27 20:29:01 +00:00
skodak
3268cf9921 MDL-18910 full support for module intro editor with embedded images 2009-04-22 06:48:15 +00:00
skodak
4ba2221a09 MDL-18910 full support for module intro editor with embedded images 2009-04-22 04:46:04 +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
skodak
d0bcf735aa MDL-18910 normalised module intro and introformat 2009-04-20 19:57:04 +00:00
skodak
18b5df9155 MDL-18910 normalised module intro and introformat 2009-04-20 19:29:15 +00:00