[moodle] / moodle / lib / weblib.php Repository:

Log of /moodle/lib/weblib.php

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.1348 - (view) (download) (annotate) - [select for diffs]
Wed Nov 18 14:05:11 2009 WST (6 days, 6 hours ago) by andyjdavis
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1347: +4 -4 lines
Diff to previous 1.1347
all MDL-20821 Removed more deprecated functions

Revision 1.1347 - (view) (download) (annotate) - [select for diffs]
Wed Nov 18 08:57:05 2009 WST (6 days, 11 hours ago) by andyjdavis
Branch: MAIN
Changes since 1.1346: +3 -1 lines
Diff to previous 1.1346
weblib MDL-19196 Added guard around call to error_get_last to prevent error if running old php

Revision 1.1346 - (view) (download) (annotate) - [select for diffs]
Sun Nov 1 06:02:06 2009 WST (3 weeks, 2 days ago) by skodak
Branch: MAIN
Changes since 1.1345: +16 -18 lines
Diff to previous 1.1345
MDL-20693 new NO_DEBUG_DISPLAY define

Revision 1.1345 - (view) (download) (annotate) - [select for diffs]
Fri Oct 30 14:20:59 2009 WST (3 weeks, 4 days ago) by samhemelryk
Branch: MAIN
Changes since 1.1344: +11 -0 lines
Diff to previous 1.1344
moodle_url MDL-20674 Added a method to allow the dev to set the anchor attribute of a moodle_url

Revision 1.1344 - (view) (download) (annotate) - [select for diffs]
Tue Oct 13 14:45:38 2009 WST (6 weeks ago) by moodler
Branch: MAIN
Changes since 1.1343: +2 -1 lines
Diff to previous 1.1343
redirect MDL-20546 Set page type to embedded to avoid ever printing header/blocks/footer on redirects

Revision 1.1343 - (view) (download) (annotate) - [select for diffs]
Thu Oct 1 12:16:22 2009 WST (7 weeks, 5 days ago) by samhemelryk
Branch: MAIN
Changes since 1.1342: +0 -8 lines
Diff to previous 1.1342
navigation MDL-20395 Fixed regression created earlier

Revision 1.1342 - (view) (download) (annotate) - [select for diffs]
Thu Oct 1 10:31:42 2009 WST (7 weeks, 5 days ago) by samhemelryk
Branch: MAIN
Changes since 1.1341: +9 -0 lines
Diff to previous 1.1341
simpletest-navigation MDL-20395 Fixed up regressions in the simpletest caused by recent changes to upgrades to navigation lib.
Also fixed issue whereby PAGE->set_url was being called by testdeprecatedlib but not being reset to the original value causing several flow on errors through simpletests

Revision 1.1341 - (view) (download) (annotate) - [select for diffs]
Thu Oct 1 02:13:27 2009 WST (7 weeks, 5 days ago) by tjhunt
Branch: MAIN
Changes since 1.1340: +1 -1 lines
Diff to previous 1.1340
unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false

Doh! I had the logic the wrong way round in my previous commit. Sorry.

Revision 1.1340 - (view) (download) (annotate) - [select for diffs]
Thu Oct 1 02:06:45 2009 WST (7 weeks, 5 days ago) by tjhunt
Branch: MAIN
Changes since 1.1339: +7 -2 lines
Diff to previous 1.1339
unit tests: MDL-20398 spurious exceptions when $CFG->debugdisplay is false

Revision 1.1339 - (view) (download) (annotate) - [select for diffs]
Fri Sep 25 14:17:38 2009 WST (8 weeks, 4 days ago) by samhemelryk
Branch: MAIN
Changes since 1.1338: +2 -2 lines
Diff to previous 1.1338
core MDL-19791 Replaced deprecated functions, added set_url calls

Revision 1.1338 - (view) (download) (annotate) - [select for diffs]
Wed Sep 23 14:05:37 2009 WST (2 months ago) by samhemelryk
Branch: MAIN
Changes since 1.1337: +13 -1 lines
Diff to previous 1.1337
navigation MDL-20332 MDL-20324 Modifications to fix the following issues:
 * If no active node is found when the navigation is called upon then we attempt to find a best match active node
 * Links are now produced with frame breakout actions
 * Links ending with / are presumed index.php for matching purposes

Revision 1.1337 - (view) (download) (annotate) - [select for diffs]
Fri Sep 18 11:50:46 2009 WST (2 months ago) by dongsheng
Branch: MAIN
Changes since 1.1336: +19 -77 lines
Diff to previous 1.1336
"MDL-14706, move javascript code to javascript-static.js"

Revision 1.1336 - (view) (download) (annotate) - [select for diffs]
Wed Sep 16 17:17:25 2009 WST (2 months, 1 week ago) by samhemelryk
Branch: MAIN
Changes since 1.1335: +5 -0 lines
Diff to previous 1.1335
weblib MDL-20276 Reverted fix to deal with relative URLs

Revision 1.1335 - (view) (download) (annotate) - [select for diffs]
Wed Sep 16 10:43:58 2009 WST (2 months, 1 week ago) by samhemelryk
Branch: MAIN
Changes since 1.1334: +1 -7 lines
Diff to previous 1.1334
questions MDL-20276 Fixed minor issue with URL handling within the paging bar for the question bank

Revision 1.1334 - (view) (download) (annotate) - [select for diffs]
Tue Sep 8 10:41:51 2009 WST (2 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1333: +0 -52 lines
Diff to previous 1.1333
core MDL-19786 Deprecated print_header_simple function - now use PAGE and OUTPUT methods

Revision 1.1333 - (view) (download) (annotate) - [select for diffs]
Thu Sep 3 14:59:26 2009 WST (2 months, 3 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1332: +24 -17 lines
Diff to previous 1.1332
admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants

Revision 1.1332 - (view) (download) (annotate) - [select for diffs]
Fri Aug 28 16:47:32 2009 WST (2 months, 3 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1331: +0 -415 lines
Diff to previous 1.1331
navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php

Revision 1.1331 - (view) (download) (annotate) - [select for diffs]
Thu Aug 20 21:18:08 2009 WST (3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.1330: +8 -3 lines
Diff to previous 1.1330
MDL-19799 Upgraded calls to link_to_popup_window()

Revision 1.1330 - (view) (download) (annotate) - [select for diffs]
Thu Aug 20 16:50:51 2009 WST (3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.1329: +1 -2 lines
Diff to previous 1.1329
MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno

Revision 1.1329 - (view) (download) (annotate) - [select for diffs]
Tue Aug 18 13:20:13 2009 WST (3 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.1328: +6 -3 lines
Diff to previous 1.1328
MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify

Revision 1.1328 - (view) (download) (annotate) - [select for diffs]
Tue Aug 18 08:18:19 2009 WST (3 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.1327: +1 -1 lines
Diff to previous 1.1327
MDL-19799 Upgraded calls to choose_from_menu

Revision 1.1327 - (view) (download) (annotate) - [select for diffs]
Thu Aug 13 09:16:30 2009 WST (3 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.1326: +2 -0 lines
Diff to previous 1.1326
MDL-19756
* Removed outputpixfinders.php and put that code back in outputlib.php
* Created labelled_html_component class and subclassed all appropriate components from it
* Added component::add_confirm_action($message) as a shortcut for adding a confirmation popup
* Fixed bug in close_window_button()

Revision 1.1326 - (view) (download) (annotate) - [select for diffs]
Mon Aug 10 16:38:45 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1325: +1 -1 lines
Diff to previous 1.1325
MDL-19756 Renamed moodle_select to html_select for better API consistency

Revision 1.1325 - (view) (download) (annotate) - [select for diffs]
Mon Aug 10 12:58:02 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1324: +4 -4 lines
Diff to previous 1.1324
MDL-19799 Converted print_box* to $OUTPUT->box*

Revision 1.1324 - (view) (download) (annotate) - [select for diffs]
Mon Aug 10 11:04:01 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1323: +60 -3 lines
Diff to previous 1.1323
MDL-9644 Added a compare() method to moodle_url

Revision 1.1323 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 22:21:35 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1322: +5 -9 lines
Diff to previous 1.1322
MDL-19799 Converted all print_footer() calls

Revision 1.1322 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 16:19:22 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1321: +2 -2 lines
Diff to previous 1.1321
MDL-19799 Migrated calls to print_heading

Revision 1.1321 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 16:49:56 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1320: +27 -0 lines
Diff to previous 1.1320
MDL-19756 Fixed bugs and improved API in various places

Revision 1.1320 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 10:39:43 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1319: +0 -32 lines
Diff to previous 1.1319
MDL-19756 Deprecated update_course_icon() and implemented a simple $OUTPUT->edit_button($moodleurl) method which uses $USER->editing

Revision 1.1319 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 10:03:51 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1318: +0 -232 lines
Diff to previous 1.1318
MDL-19756 MDL-19825 MDL-19823 MDL-19794 Deprecated update_tag_button, update_categories_search_button and print_user, and updated a few pages that depended on the now deprecated functions

Revision 1.1318 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 08:00:25 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1317: +0 -27 lines
Diff to previous 1.1317
MDL-19756 Deprecated update_mymoodle_icon() and upgraded my/index.php with new output code

Revision 1.1317 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 23:15:12 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1316: +0 -24 lines
Diff to previous 1.1316
MDL-19756 Migrated print_heading_with_help

Revision 1.1316 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 15:44:31 2009 WST (3 months, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1315: +0 -2 lines
Diff to previous 1.1315
MDL-19756 Removed debugging message regarding string URLs in redirect() function

Revision 1.1315 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 10:42:24 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1314: +0 -44 lines
Diff to previous 1.1314
MDL-19756 Migrated print_textfield, choose_from_radio and print_checkbox

Revision 1.1314 - (view) (download) (annotate) - [select for diffs]
Tue Aug 4 10:05:32 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1313: +39 -136 lines
Diff to previous 1.1313
MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions.

Revision 1.1313 - (view) (download) (annotate) - [select for diffs]
Mon Aug 3 19:03:16 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1312: +0 -34 lines
Diff to previous 1.1312
MDL-19756 Migrated print_close_window to $OUTPUT->print_close_window($text)

Revision 1.1312 - (view) (download) (annotate) - [select for diffs]
Thu Jul 30 11:47:13 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1311: +0 -194 lines
Diff to previous 1.1311
MDL-19756 Migrated popup_form

Revision 1.1311 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 16:52:49 2009 WST (3 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1310: +2 -2 lines
Diff to previous 1.1310
MDL-19756 Try to bring some consistency to how we handle & is attribute values.

Revision 1.1310 - (view) (download) (annotate) - [select for diffs]
Wed Jul 29 09:08:52 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1309: +0 -145 lines
Diff to previous 1.1309
MDL-19756 Migrated time selectors from weblib to outputlib

Revision 1.1309 - (view) (download) (annotate) - [select for diffs]
Tue Jul 28 20:12:24 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1308: +0 -95 lines
Diff to previous 1.1308
MDL-19756 Migrated choose_from_menu_yesno and choose_from_menu_nested into $OUTPUT->select_menu()

Revision 1.1308 - (view) (download) (annotate) - [select for diffs]
Tue Jul 28 10:45:13 2009 WST (3 months, 4 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1307: +0 -108 lines
Diff to previous 1.1307
MDL-19756 Migrating choose_from_menu to outputlib

Revision 1.1307 - (view) (download) (annotate) - [select for diffs]
Mon Jul 27 18:41:38 2009 WST (3 months, 4 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1306: +1 -1 lines
Diff to previous 1.1306
MDL-19756 Removing debugging call

Revision 1.1306 - (view) (download) (annotate) - [select for diffs]
Mon Jul 27 18:33:00 2009 WST (3 months, 4 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1305: +37 -809 lines
Diff to previous 1.1305
MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno

Revision 1.1305 - (view) (download) (annotate) - [select for diffs]
Fri Jul 24 10:44:45 2009 WST (4 months ago) by dongsheng
Branch: MAIN
Changes since 1.1304: +13 -5 lines
Diff to previous 1.1304
"MDL-19118, comments api"

Revision 1.1304 - (view) (download) (annotate) - [select for diffs]
Sun Jul 19 20:17:48 2009 WST (4 months ago) by skodak
Branch: MAIN
Changes since 1.1303: +6 -6 lines
Diff to previous 1.1303
MDL-19871 new parameter syntax from htmlpurifier 4.0.0

Revision 1.1303 - (view) (download) (annotate) - [select for diffs]
Wed Jul 15 12:05:05 2009 WST (4 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1302: +5 -1 lines
Diff to previous 1.1302
weblib: Let redirect() take a moodle_url object.

Revision 1.1302 - (view) (download) (annotate) - [select for diffs]
Mon Jul 13 19:10:30 2009 WST (4 months, 1 week ago) by mudrd8mz
Branch: MAIN
Changes since 1.1301: +0 -185 lines
Diff to previous 1.1301
MDL-19755 print_table replaced with $OUTPUT->table

rowclass property has been deprecated, rowclasses should be used.
Direct assigning of the class has been deprecated,
moodle_html_elements::set_classes() should be used instead. In both
cases, debugging message is displayed.

Revision 1.1301 - (view) (download) (annotate) - [select for diffs]
Mon Jul 13 14:16:48 2009 WST (4 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1300: +1 -1 lines
Diff to previous 1.1300
themes: MDL-19077 Don't us $OUTPUT in debugging.

Revision 1.1300 - (view) (download) (annotate) - [select for diffs]
Fri Jul 10 16:44:02 2009 WST (4 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1299: +2 -0 lines
Diff to previous 1.1299
upgrade: MDL-19763 Improve the redirect that forces a DB upgrade when there are major changes

Also fix redirect, so 303 redirects don't need to fully initialise $OUTPUT.

Revision 1.1299 - (view) (download) (annotate) - [select for diffs]
Fri Jul 10 16:08:17 2009 WST (4 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1298: +1 -1 lines
Diff to previous 1.1298
weblib MDL-19750 Fixed regression caused by implementing new PAGE methods

Revision 1.1298 - (view) (download) (annotate) - [select for diffs]
Thu Jul 9 15:35:06 2009 WST (4 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1297: +25 -0 lines
Diff to previous 1.1297
themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme

The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.

Revision 1.1297 - (view) (download) (annotate) - [select for diffs]
Wed Jul 8 11:27:27 2009 WST (4 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1296: +1 -0 lines
Diff to previous 1.1296
lib MDL-19739 Moved call to include dropdown.js out of outputlib and into the same body of code in weblib
that uses it.
This ensures that it is only loaded if it is used, which is only is the browser is opera, or IE

Revision 1.1296 - (view) (download) (annotate) - [select for diffs]
Mon Jul 6 13:32:29 2009 WST (4 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1295: +0 -27 lines
Diff to previous 1.1295
themes: MDL-19077 move deprecated function page_id_and_class to deprecatedlib.php

Revision 1.1295 - (view) (download) (annotate) - [select for diffs]
Sun Jul 5 22:31:58 2009 WST (4 months, 2 weeks ago) by mudrd8mz
Branch: MAIN
Changes since 1.1294: +13 -4 lines
Diff to previous 1.1294
MDL-19716 moodle_url: new parameter to get URL with unescaped ampersands

moodle_url::get_query_string() and moodle_url::out() now accept new
optional parameter. Backwards compatible. This is needed so we can use returned URL
during redirect() which expects unescaped ampersands.

Revision 1.1294 - (view) (download) (annotate) - [select for diffs]
Sat Jul 4 17:35:19 2009 WST (4 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1293: +1 -1 lines
Diff to previous 1.1293
MDL-19689 adding IGNORE_MULTIPLE to get_record - please note this parameter is discouraged

Revision 1.1293 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 17:03:29 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1292: +16 -8 lines
Diff to previous 1.1292
MDL-19696 & MDL-16706 refactor sam's redirect changes, so they can work during initial install.

Revision 1.1292 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 15:17:41 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1291: +2 -1 lines
Diff to previous 1.1291
XHTML strict

Revision 1.1291 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 14:38:41 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1290: +3 -2 lines
Diff to previous 1.1290
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

Revision 1.1290 - (view) (download) (annotate) - [select for diffs]
Fri Jul 3 14:19:27 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1289: +2 -2 lines
Diff to previous 1.1289
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

Revision 1.1289 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 20:07:59 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1288: +12 -12 lines
Diff to previous 1.1288
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url

Revision 1.1288 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 19:23:47 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1287: +1 -2 lines
Diff to previous 1.1287
MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.

Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.

Revision 1.1287 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 19:09:15 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1286: +4 -4 lines
Diff to previous 1.1286
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url

Revision 1.1286 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 18:26:03 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1285: +4 -5 lines
Diff to previous 1.1285
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url

Revision 1.1285 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 18:12:22 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1284: +2 -2 lines
Diff to previous 1.1284
MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url

Revision 1.1284 - (view) (download) (annotate) - [select for diffs]
Thu Jul 2 11:47:05 2009 WST (4 months, 3 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1283: +4 -6 lines
Diff to previous 1.1283
weblib MDL-16706 Elimate inline scripts, replaced with PAGE methods

Revision 1.1283 - (view) (download) (annotate) - [select for diffs]
Wed Jul 1 13:54:26 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1282: +5 -821 lines
Diff to previous 1.1282
themes: MDL-19077 change how the theme is initialised and CSS is served.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.

Revision 1.1282 - (view) (download) (annotate) - [select for diffs]
Wed Jul 1 12:11:52 2009 WST (4 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1281: +2 -1 lines
Diff to previous 1.1281
"MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary fix"

Revision 1.1281 - (view) (download) (annotate) - [select for diffs]
Mon Jun 29 16:17:31 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1280: +8 -187 lines
Diff to previous 1.1280
MDL-19077 - Finish eliminating customcorners-specific code in core.

The custom-corners-specific code now in theme/customcornser/renderers.php
and lib/deprecatedlib.php.

Also, $CFG->pixpath is now causing more problems than ever. If it is
giving your problems, please call $OUTPUT->initialise_deprecated_cfg_pixpath()
as a temporary fix. As you can imagine, we are thinking about a better
long-term fix, which is why that method as a silly, and easy to grep name.

Revision 1.1280 - (view) (download) (annotate) - [select for diffs]
Mon Jun 29 15:19:05 2009 WST (4 months, 3 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1279: +32 -68 lines
Diff to previous 1.1279
lib MDL-19077 Created output redirect method and implemented against weblib redirect method
This resolves the meta bug that was used when redirecting with a delay
Thanks Tim for the help with this one

Revision 1.1279 - (view) (download) (annotate) - [select for diffs]
Mon Jun 29 13:00:45 2009 WST (4 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1278: +9 -11 lines
Diff to previous 1.1278
MDL-19077 - change how $OUTPUT is initialised.
Please read the comment at the top of bootstrap_renderer in setuplib.php

Revision 1.1278 - (view) (download) (annotate) - [select for diffs]
Fri Jun 26 17:06:16 2009 WST (4 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1277: +71 -710 lines
Diff to previous 1.1277
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.

Revision 1.1277 - (view) (download) (annotate) - [select for diffs]
Thu Jun 25 17:14:16 2009 WST (5 months ago) by skodak
Branch: MAIN
Changes since 1.1276: +5 -5 lines
Diff to previous 1.1276
MDL-16438 fixed regression during recent plugin centralisation effort

Revision 1.1276 - (view) (download) (annotate) - [select for diffs]
Thu Jun 25 06:34:29 2009 WST (5 months ago) by skodak
Branch: MAIN
Changes since 1.1275: +1 -0 lines
Diff to previous 1.1275
MDL-19580 cleanup of require css and js filepicker code

Revision 1.1275 - (view) (download) (annotate) - [select for diffs]
Wed Jun 24 17:17:57 2009 WST (5 months ago) by tjhunt
Branch: MAIN
Changes since 1.1274: +3 -3 lines
Diff to previous 1.1274
install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function.

Revision 1.1274 - (view) (download) (annotate) - [select for diffs]
Tue Jun 23 18:41:22 2009 WST (5 months ago) by tjhunt
Branch: MAIN
Changes since 1.1273: +0 -12 lines
Diff to previous 1.1273
themes: MDL-19077 start implementing moodle_core_renderer
Only a couple of methods implemented. Please review the API and
tell me if you are not happy with the direction I am taking.

Revision 1.1273 - (view) (download) (annotate) - [select for diffs]
Tue Jun 23 01:09:32 2009 WST (5 months ago) by sam_marshall
Branch: MAIN
Changes since 1.1272: +3 -7 lines
Diff to previous 1.1272
MDL-19598: Error in logic that should hide 'skip link' when block doesn't have title

Revision 1.1272 - (view) (download) (annotate) - [select for diffs]
Mon Jun 22 14:07:56 2009 WST (5 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.1271: +38 -9 lines
Diff to previous 1.1271
MDL-19566 Refactored some of the more complex regular expressions in their own function and added unit tests for them.

Revision 1.1271 - (view) (download) (annotate) - [select for diffs]
Mon Jun 22 09:22:39 2009 WST (5 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.1270: +23 -10 lines
Diff to previous 1.1270
MDL-19418 Replaced ereg* by preg*

Revision 1.1270 - (view) (download) (annotate) - [select for diffs]
Sat Jun 20 19:00:41 2009 WST (5 months ago) by skodak
Branch: MAIN
Changes since 1.1269: +2 -3 lines
Diff to previous 1.1269
MDL-19211, MDL-19544 improved editor embedding, media and dragmath enabled only when moodle configuration and current user permissions allow it to work 100%

Revision 1.1269 - (view) (download) (annotate) - [select for diffs]
Fri Jun 19 22:25:57 2009 WST (5 months ago) by skodak
Branch: MAIN
Changes since 1.1268: +16 -20 lines
Diff to previous 1.1268
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

Revision 1.1268 - (view) (download) (annotate) - [select for diffs]
Fri Jun 19 16:02:11 2009 WST (5 months ago) by tjhunt
Branch: MAIN
Changes since 1.1267: +1 -1 lines
Diff to previous 1.1267
javascript: MDL-16695 print_footer('empty'); I had the wrong type of quotes.
Thanks to Dongsheng for noticing.

Revision 1.1267 - (view) (download) (annotate) - [select for diffs]
Wed Jun 17 18:29:42 2009 WST (5 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1266: +3 -1 lines
Diff to previous 1.1266
javascript: MDL-16695 print_footer('empty'); was not printing the necessary end of page code.

Revision 1.1266 - (view) (download) (annotate) - [select for diffs]
Wed Jun 17 16:50:16 2009 WST (5 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1265: +4 -4 lines
Diff to previous 1.1265
Just some whitespace fixes

Revision 1.1265 - (view) (download) (annotate) - [select for diffs]
Mon Jun 15 05:35:08 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1264: +1 -0 lines
Diff to previous 1.1264
MDL-19500 improved editor embedding

Revision 1.1264 - (view) (download) (annotate) - [select for diffs]
Sun Jun 14 00:07:14 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1263: +5 -4 lines
Diff to previous 1.1263
MDL-14990 pritning of backtrace does not rely on $CFG any more and can be used from destructors

Revision 1.1263 - (view) (download) (annotate) - [select for diffs]
Sat Jun 13 23:59:56 2009 WST (5 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1262: +10 -9 lines
Diff to previous 1.1262
MDL-14990 implemented query loggin in new native DML drivers

Revision 1.1262 - (view) (download) (annotate) - [select for diffs]
Fri Jun 12 20:13:07 2009 WST (5 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1261: +24 -273 lines
Diff to previous 1.1261
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.)

Revision 1.1261 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 14:31:20 2009 WST (5 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1260: +5 -1 lines
Diff to previous 1.1260
breadcrumb MDL-14133 One function missed during fix, got it this time

Revision 1.1260 - (view) (download) (annotate) - [select for diffs]
Sun May 31 22:42:30 2009 WST (5 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1259: +11 -11 lines
Diff to previous 1.1259
MDL-19352 maintenance mode reiplemented

Revision 1.1259 - (view) (download) (annotate) - [select for diffs]
Wed May 27 16:34:04 2009 WST (5 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1258: +5 -5 lines
Diff to previous 1.1258
MDL-15249 error status codes for exceptions and notices

Revision 1.1258 - (view) (download) (annotate) - [select for diffs]
Wed May 27 01:44:25 2009 WST (5 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1257: +6 -1 lines
Diff to previous 1.1257
MDL-15249 more cleanup and refactoring - towards cli upgrade

Revision 1.1257 - (view) (download) (annotate) - [select for diffs]
Tue May 26 14:26:11 2009 WST (5 months, 4 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1256: +4 -4 lines
Diff to previous 1.1256
lib MDL-19236 Added boilerplates and copyrights

Revision 1.1256 - (view) (download) (annotate) - [select for diffs]
Tue May 26 01:33:28 2009 WST (6 months ago) by skodak
Branch: MAIN
Changes since 1.1255: +15 -72 lines
Diff to previous 1.1255
MDL-15249 preparation for new cli installer + coding style changes

Revision 1.1255 - (view) (download) (annotate) - [select for diffs]
Fri May 22 11:26:07 2009 WST (6 months ago) by samhemelryk
Branch: MAIN
Changes since 1.1254: +870 -293 lines
Diff to previous 1.1254
weblib.php  MDL-19236 added phpdocs and copyrights

Revision 1.1254 - (view) (download) (annotate) - [select for diffs]
Fri May 22 10:10:22 2009 WST (6 months ago) by fmarier
Branch: MAIN
Changes since 1.1253: +2 -5 lines
Diff to previous 1.1253
MDL-17542 lib/html2text: update to latest upstream version (r2374)
from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php

Revision 1.1253 - (view) (download) (annotate) - [select for diffs]
Sun May 17 04:54:23 2009 WST (6 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1252: +8 -36 lines
Diff to previous 1.1252
MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon

Revision 1.1252 - (view) (download) (annotate) - [select for diffs]
Thu May 14 15:03:27 2009 WST (6 months, 1 week ago) by jerome
Branch: MAIN
Changes since 1.1251: +15 -2 lines
Diff to previous 1.1251
authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file, merged from 19

Revision 1.1251 - (view) (download) (annotate) - [select for diffs]
Fri May 8 11:30:58 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1250: +9 -6 lines
Diff to previous 1.1250
blocklib: MDL-19010 once again you can add blocks, at least on the coures page.

Revision 1.1250 - (view) (download) (annotate) - [select for diffs]
Wed May 6 17:19:47 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1249: +3 -3 lines
Diff to previous 1.1249
moodle_page: MDL-12212 remove deprecated calls from course/view.php and page_course::print_header

Revision 1.1249 - (view) (download) (annotate) - [select for diffs]
Wed May 6 17:14:42 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1248: +16 -2 lines
Diff to previous 1.1248
blocklib: MDL-19010 add block and get_blocks methods

Revision 1.1248 - (view) (download) (annotate) - [select for diffs]
Wed May 6 17:13:19 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1247: +2 -7 lines
Diff to previous 1.1247
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere

Revision 1.1247 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:59:31 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1246: +4 -4 lines
Diff to previous 1.1246
moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting

Revision 1.1246 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:55:55 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1245: +3 -3 lines
Diff to previous 1.1245
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

Revision 1.1245 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:51:23 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1244: +3 -3 lines
Diff to previous 1.1244
fix remove_params

Revision 1.1244 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:50:32 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1243: +43 -22 lines
Diff to previous 1.1243
moodle_page: MDL-12212 ->url and cleanup init of $FULLME, etc.

Revision 1.1243 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:49:12 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1242: +48 -41 lines
Diff to previous 1.1242
moodle_url: MDL-12212 clean up moodle_url coding style

Revision 1.1242 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:48:14 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1241: +13 -27 lines
Diff to previous 1.1241
moodle_page: MDL-12212 ->docspath

Revision 1.1241 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:43:53 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1240: +3 -3 lines
Diff to previous 1.1240
moodle_page: MDL-12212 more ->pagepaths to kill

Revision 1.1240 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:42:13 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1239: +3 -25 lines
Diff to previous 1.1239
moodle_page: MDL-12212 ->bodyclasses and initialise_standard_body_classes

Revision 1.1239 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:38:56 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1238: +13 -35 lines
Diff to previous 1.1238
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)

Revision 1.1238 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:31:30 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1237: +8 -10 lines
Diff to previous 1.1237
filters: MDL-7336 use $PAGE->context now that it exists

Revision 1.1237 - (view) (download) (annotate) - [select for diffs]
Wed May 6 16:29:23 2009 WST (6 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1236: +30 -33 lines
Diff to previous 1.1236
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!

Revision 1.1236 - (view) (download) (annotate) - [select for diffs]
Wed Apr 22 15:19:56 2009 WST (7 months ago) by skodak
Branch: MAIN
Changes since 1.1235: +3 -3 lines
Diff to previous 1.1235
MDL-18910 full support for module intro editor with embedded images

Revision 1.1235 - (view) (download) (annotate) - [select for diffs]
Wed Apr 22 15:14:20 2009 WST (7 months ago) by skodak
Branch: MAIN
Changes since 1.1234: +5 -4 lines
Diff to previous 1.1234
MDL-18910 full support for module intro editor with embedded images

Revision 1.1234 - (view) (download) (annotate) - [select for diffs]
Wed Apr 22 13:10:11 2009 WST (7 months ago) by skodak
Branch: MAIN
Changes since 1.1233: +6 -4 lines
Diff to previous 1.1233
MDL-18910 full support for module intro editor with embedded images

Revision 1.1233 - (view) (download) (annotate) - [select for diffs]
Wed Apr 22 05:17:22 2009 WST (7 months ago) by skodak
Branch: MAIN
Changes since 1.1232: +15 -2 lines
Diff to previous 1.1232
MDL-18910 full support for module intro editor with embedded images

Revision 1.1232 - (view) (download) (annotate) - [select for diffs]
Mon Apr 20 19:37:39 2009 WST (7 months ago) by skodak
Branch: MAIN
Changes since 1.1231: +3 -65 lines
Diff to previous 1.1231
MDL-18900 reimplemented trusttext - now using separate db field; the API will be improved and documented together with the new support functions needed for new Editor element

Revision 1.1231 - (view) (download) (annotate) - [select for diffs]
Mon Apr 20 18:05:51 2009 WST (7 months ago) by skodak
Branch: MAIN
Changes since 1.1230: +57 -31 lines
Diff to previous 1.1230
MDL-18901 reimplemented trusstext support in glossary + standardising format column for text fields

Revision 1.1230 - (view) (download) (annotate) - [select for diffs]
Mon Apr 20 16:53:21 2009 WST (7 months ago) by dongsheng
Branch: MAIN
Changes since 1.1229: +6 -5 lines
Diff to previous 1.1229
"MDL-18486, remove php varible from file picker code, all javascript code goes into a static file"

Revision 1.1229 - (view) (download) (annotate) - [select for diffs]
Fri Apr 17 16:05:55 2009 WST (7 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1228: +19 -13 lines
Diff to previous 1.1228
MDL-18887 using exceptions instead of @ for ignoring of db update/insert failure

Revision 1.1228 - (view) (download) (annotate) - [select for diffs]
Thu Apr 16 17:13:30 2009 WST (7 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1227: +3 -3 lines
Diff to previous 1.1227
filters: MDL-7336 fix upgrade problem when filterall is on. Thanks Nico for finding.

Revision 1.1227 - (view) (download) (annotate) - [select for diffs]
Mon Apr 13 14:56:33 2009 WST (7 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1226: +33 -123 lines
Diff to previous 1.1226
filters: MDL-7336 change weblib to use the new code

* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib

Revision 1.1226 - (view) (download) (annotate) - [select for diffs]
Wed Apr 8 19:46:19 2009 WST (7 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1225: +15 -7 lines
Diff to previous 1.1225
weblib progress_bar: Add a comment and fix some coding style.

Revision 1.1225 - (view) (download) (annotate) - [select for diffs]
Tue Apr 7 15:40:40 2009 WST (7 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1224: +4 -5 lines
Diff to previous 1.1224
weblib: fix bug with disabled pop_form()s

Revision 1.1224 - (view) (download) (annotate) - [select for diffs]
Thu Apr 2 10:42:12 2009 WST (7 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1223: +3 -5 lines
Diff to previous 1.1223
translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.

I'll commit the patch to contrib in case anyone wishes to experiment further.

Revision 1.1223 - (view) (download) (annotate) - [select for diffs]
Wed Apr 1 08:39:17 2009 WST (7 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1222: +10 -14 lines
Diff to previous 1.1222
translation: MDL-18766 Prototype automatic translation system for Moodle.

If Google can do something like http://translate.google.com/, surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)

In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.

Revision 1.1222 - (view) (download) (annotate) - [select for diffs]
Mon Mar 30 14:11:33 2009 WST (7 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1221: +10 -14 lines
Diff to previous 1.1221
help.php: related to MDL-13816. Clean up the URLs used for help files by removing unused parameters.

Revision 1.1221 - (view) (download) (annotate) - [select for diffs]
Wed Mar 25 13:20:58 2009 WST (8 months ago) by tjhunt
Branch: MAIN
Changes since 1.1220: +18 -14 lines
Diff to previous 1.1220
switch roles: MDL-18132 New Role allow switches page finished.

I also set up a reasonable set of default allows, including setting up some sensible allow_overrides, whatever the rant in MDL-15841 says.

Revision 1.1220 - (view) (download) (annotate) - [select for diffs]
Mon Mar 23 17:15:22 2009 WST (8 months ago) by tjhunt
Branch: MAIN
Changes since 1.1219: +3 -3 lines
Diff to previous 1.1219
switch roles: MDL-18132 separate database table role_allow_switch instead of re-using role_allow_assign.

This is part 1 that does the back-end:

1. New table role_allow_switch.
2. Upgrade that copies all the allows from role_allow_assign, and then drops the old CFG->allowuserswitchrolestheycantassign.
3. Old function get_assignable_roles_for_switchrole renamed to get_switchable_roles and changed to use the new table. Fixes MDL-18604 in HEAD.
4. Switch callers to use the new function name.
5. Unit tests for this new function.
6. To make those unit tests work, new switch_global_user_id and revert_global_user_id methods in UnitTestCaseUsingDatabase for toggling $USER->id.

I still need to do the editing interface under Administration â–º Users â–º Permissions â–º Define roles. That will be done as a second commit.

Revision 1.1219 - (view) (download) (annotate) - [select for diffs]
Mon Mar 23 12:41:34 2009 WST (8 months ago) by tjhunt
Branch: MAIN
Changes since 1.1218: +3 -3 lines
Diff to previous 1.1218
weblib: Fix test_format_text_email and unit tests.

Revision 1.1218 - (view) (download) (annotate) - [select for diffs]
Fri Mar 13 18:19:01 2009 WST (8 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1217: +7 -4 lines
Diff to previous 1.1217
gift import: MDL-18390 better way to get the question type name.

Revision 1.1217 - (view) (download) (annotate) - [select for diffs]
Tue Feb 24 14:09:29 2009 WST (8 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1216: +10 -10 lines
Diff to previous 1.1216
weblib: Improve PHPdoc comment and parameter names.

Revision 1.1216 - (view) (download) (annotate) - [select for diffs]
Mon Feb 16 13:16:10 2009 WST (9 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1215: +13 -14 lines
Diff to previous 1.1215
weblib: finish documenting print_user_picture.

Revision 1.1215 - (view) (download) (annotate) - [select for diffs]
Thu Feb 12 17:33:42 2009 WST (9 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1214: +83 -2 lines
Diff to previous 1.1214
weblib: MDL-18224 Create a better mechanism for outputting progress information from batch jobs

Revision 1.1214 - (view) (download) (annotate) - [select for diffs]
Wed Feb 11 00:42:13 2009 WST (9 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.1213: +4 -2 lines
Diff to previous 1.1213
MDL-18188 Added a call to the new get_browser_version_classes() function in print_header, so that the classes are always added to the body tag.

Revision 1.1213 - (view) (download) (annotate) - [select for diffs]
Tue Feb 10 12:27:38 2009 WST (9 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1212: +3 -5 lines
Diff to previous 1.1212
weblib: XHTML strict.

Revision 1.1212 - (view) (download) (annotate) - [select for diffs]
Sun Feb 8 02:56:40 2009 WST (9 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1211: +10 -3 lines
Diff to previous 1.1211
MDL-14924 the same title now used on each upgrade/install page (Moodle - 2.0...) + the same footer with moodle logo now used during installation and upgrade - links to admin docs

Revision 1.1211 - (view) (download) (annotate) - [select for diffs]
Wed Feb 4 17:21:18 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1210: +6 -6 lines
Diff to previous 1.1210
weblib: MDL-17525 Give previous and next links in paging bars class names, so they can be themed.

Thanks to Daniel Neis for the patch.

I checked the standard theme, and I don't see any rules there that would erroneously apply to these class names in paging bars.

Revision 1.1210 - (view) (download) (annotate) - [select for diffs]
Wed Feb 4 16:35:06 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1209: +4 -4 lines
Diff to previous 1.1209
weblib: MDL-14901 Fix misleading comment on print_navigation

Revision 1.1209 - (view) (download) (annotate) - [select for diffs]
Tue Feb 3 18:32:58 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1208: +4 -4 lines
Diff to previous 1.1208
theme / navbar: MDL-14133 every link in the nav bar was getting class="first"!

Revision 1.1208 - (view) (download) (annotate) - [select for diffs]
Tue Feb 3 16:47:24 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1207: +3 -3 lines
Diff to previous 1.1207
theme / weblib: MDL-14400 Setting $THEME->makenavmenulist = true causes a php notice

Revision 1.1207 - (view) (download) (annotate) - [select for diffs]
Mon Feb 2 02:45:32 2009 WST (9 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1206: +3 -3 lines
Diff to previous 1.1206
MDL-17458 fixed headers used during installation

Revision 1.1206 - (view) (download) (annotate) - [select for diffs]
Sun Feb 1 05:07:33 2009 WST (9 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1205: +13 -5 lines
Diff to previous 1.1205
MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements

Revision 1.1205 - (view) (download) (annotate) - [select for diffs]
Wed Jan 28 22:10:01 2009 WST (9 months, 3 weeks ago) by sam_marshall
Branch: MAIN
Changes since 1.1204: +33 -20 lines
Diff to previous 1.1204
MDL-381: Added 'Move' button to reduce accidentally moving forum posts.

Revision 1.1204 - (view) (download) (annotate) - [select for diffs]
Wed Jan 28 21:11:32 2009 WST (9 months, 3 weeks ago) by sam_marshall
Branch: MAIN
Changes since 1.1203: +34 -7 lines
Diff to previous 1.1203
MDL-17974: Calendar 'new entry' accessibility improvement

Revision 1.1203 - (view) (download) (annotate) - [select for diffs]
Tue Jan 13 00:13:45 2009 WST (10 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1202: +2 -12 lines
Diff to previous 1.1202
MDL-17845 now only one page per installs/upgrade :-D

Revision 1.1202 - (view) (download) (annotate) - [select for diffs]
Sun Jan 11 05:44:46 2009 WST (10 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1201: +63 -7 lines
Diff to previous 1.1201
MDL-17848 oops, yet more cron compatibility fixes for console_write() ;-) I have added a new console_write_error() too

Revision 1.1201 - (view) (download) (annotate) - [select for diffs]
Sun Jan 11 04:46:02 2009 WST (10 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1200: +7 -7 lines
Diff to previous 1.1200
MDL-17848 general support for CLI scripts in weblib; grrr - fixed regression

Revision 1.1200 - (view) (download) (annotate) - [select for diffs]
Sun Jan 11 04:19:51 2009 WST (10 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1199: +24 -15 lines
Diff to previous 1.1199
MDL-17848 general support for CLI scripts in weblib

Revision 1.1199 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 15:28:00 2009 WST (10 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1198: +3 -3 lines
Diff to previous 1.1198
weblib: improve comment.

Revision 1.1198 - (view) (download) (annotate) - [select for diffs]
Tue Jan 6 06:37:21 2009 WST (10 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1197: +24 -161 lines
Diff to previous 1.1197
MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support

Revision 1.1197 - (view) (download) (annotate) - [select for diffs]
Sat Jan 3 23:28:03 2009 WST (10 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1196: +7 -7 lines
Diff to previous 1.1196
MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception)

Revision 1.1196 - (view) (download) (annotate) - [select for diffs]
Sat Jan 3 08:49:29 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1195: +3 -3 lines
Diff to previous 1.1195
MDL-16613 refactore session IP tracking; MDL-14213 improved message when IP changes; MDL-17754 SID is regenerated when terminating session and old session is deleted

Revision 1.1195 - (view) (download) (annotate) - [select for diffs]
Sat Jan 3 07:56:51 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1194: +5 -9 lines
Diff to previous 1.1194
MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks

Revision 1.1194 - (view) (download) (annotate) - [select for diffs]
Sat Jan 3 05:32:05 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1193: +5 -5 lines
Diff to previous 1.1193
MDL-17754 next round of session related refactoring

Revision 1.1193 - (view) (download) (annotate) - [select for diffs]
Sat Jan 3 00:15:27 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1192: +6 -7 lines
Diff to previous 1.1192
MDL-17767 loginas refactoring and simplification; full SESSION switching implemented

Revision 1.1192 - (view) (download) (annotate) - [select for diffs]
Fri Jan 2 23:53:03 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1191: +4 -4 lines
Diff to previous 1.1191
MDL-17767 loginas internals refactoring - code moved to sessionlib.php

Revision 1.1191 - (view) (download) (annotate) - [select for diffs]
Fri Jan 2 20:00:54 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1190: +3 -3 lines
Diff to previous 1.1190
MDL-16613 sesskey cleanup

Revision 1.1190 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 23:25:29 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1189: +3 -3 lines
Diff to previous 1.1189
MDL-17758 fixed hardcoded /admin/ links

Revision 1.1189 - (view) (download) (annotate) - [select for diffs]
Tue Dec 30 06:18:02 2008 WST (10 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1188: +3 -3 lines
Diff to previous 1.1188
MDL-17637 fixed adobe XSS protection

Revision 1.1188 - (view) (download) (annotate) - [select for diffs]
Fri Dec 19 11:16:00 2008 WST (11 months ago) by dongsheng
Branch: MAIN
Changes since 1.1187: +29 -9 lines
Diff to previous 1.1187
"FILTER/MDL-14582, filters 2.0, compatible with old filters"

Revision 1.1187 - (view) (download) (annotate) - [select for diffs]
Wed Dec 17 11:55:33 2008 WST (11 months, 1 week ago) by fmarier
Branch: MAIN
Changes since 1.1186: +6 -6 lines
Diff to previous 1.1186
MDL-17542 weblib/html2text: replace html2text.php with a GPL alternative (which is also faster)

Revision 1.1186 - (view) (download) (annotate) - [select for diffs]
Thu Dec 11 19:33:57 2008 WST (11 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1185: +39 -41 lines
Diff to previous 1.1185
weblib: MDL-17606 Make the highlight function better, with unit tests.

Revision 1.1185 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 17:57:50 2008 WST (11 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1184: +24 -19 lines
Diff to previous 1.1184
javascript cleanup: MDL-16583 clean up the close_window function in weblib.php.

Revision 1.1184 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 05:30:02 2008 WST (11 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1183: +3 -3 lines
Diff to previous 1.1183
MDL-17479 category search: replaced old update capability; merged from MOODLE__STABLE

Revision 1.1183 - (view) (download) (annotate) - [select for diffs]
Tue Dec 9 15:50:06 2008 WST (11 months, 2 weeks ago) by moodler
Branch: MAIN
Changes since 1.1182: +3 -3 lines
Diff to previous 1.1182
MDL-17391, change paramters of repository_get_client.

Revision 1.1182 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 17:53:11 2008 WST (11 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1181: +2 -59 lines
Diff to previous 1.1181
course categories: Fix many bugs with category editing and permissions. Clean up code.

Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Merged from MOODLE_19_STABLE.

Revision 1.1181 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:31:49 2008 WST (11 months, 3 weeks ago) by ericmerrill
Branch: MAIN
Changes since 1.1180: +3 -3 lines
Diff to previous 1.1180
weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it.

Revision 1.1180 - (view) (download) (annotate) - [select for diffs]
Tue Dec 2 04:19:30 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1179: +6 -5 lines
Diff to previous 1.1179
MDL-17485 roles: fixed use and definition of review use of moodle/user:viewuseractivitiesreport

Revision 1.1179 - (view) (download) (annotate) - [select for diffs]
Sat Nov 29 23:22:13 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1178: +4 -4 lines
Diff to previous 1.1178
MDL-17463 - reparate capabilities for course and admin reports

Revision 1.1178 - (view) (download) (annotate) - [select for diffs]
Wed Nov 26 12:26:33 2008 WST (11 months, 4 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1177: +3 -3 lines
Diff to previous 1.1177
REPOSITORY/MDL-13766
pass mimetype and return value type to file picker to filter repository instances

Revision 1.1177 - (view) (download) (annotate) - [select for diffs]
Mon Nov 24 10:05:55 2008 WST (12 months ago) by moodler
Branch: MAIN
Changes since 1.1176: +3 -2 lines
Diff to previous 1.1176
Emoticons MDLSITE-564  Patch to avoid [[brackets]] around alt text

Revision 1.1176 - (view) (download) (annotate) - [select for diffs]
Sat Nov 22 10:16:52 2008 WST (12 months ago) by skodak
Branch: MAIN
Changes since 1.1175: +13 -5 lines
Diff to previous 1.1175
MDL-17317 DML: more exceptions - now in connect too

Revision 1.1175 - (view) (download) (annotate) - [select for diffs]
Fri Nov 21 04:04:23 2008 WST (12 months ago) by stronk7
Branch: MAIN
Changes since 1.1174: +4 -3 lines
Diff to previous 1.1174
MDL-17331 choose_from_menu(): 'select' selector added always.

Revision 1.1174 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 22:28:25 2008 WST (12 months ago) by stronk7
Branch: MAIN
Changes since 1.1173: +3 -3 lines
Diff to previous 1.1173
MDL-17331 choose_from_menu(): Add 'select' selector too.

Revision 1.1173 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 22:25:04 2008 WST (12 months ago) by stronk7
Branch: MAIN
Changes since 1.1172: +15 -5 lines
Diff to previous 1.1172
MDL-17331 choose_from_menu(): Add "class" optional parameter.

Revision 1.1172 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 18:57:21 2008 WST (12 months ago) by tjhunt
Branch: MAIN
Changes since 1.1171: +10 -10 lines
Diff to previous 1.1171
define roles: MDL-16966 etc. polishing the new roles UI following a meeting with Martin.

* Move the show/hide advanced button a bit down the page.
* Improve save button caption when creating a role.
* Don't show defaults on the basic define roles screen.
* Explain the background shading on the advanced roels screen.
* Fix the problem with the risks link to Moodle docs.
* Help icon by the permissions column heading.
* Tables with rotated <th>s, make them vertical-align: bottom.
* Rename explain.php and explainhascapability.php to check.php and explain.php
* Tool tips on the number headers in the explain table.
* Explain table - role names were missing.
* Allow link_to_popup_window to work with full URLs.

Revision 1.1171 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 15:59:11 2008 WST (12 months ago) by tjhunt
Branch: MAIN
Changes since 1.1170: +37 -26 lines
Diff to previous 1.1170
quiz editing: MDL-17285 This is Olli Savolainen's new interface for editing quizzes.

This was started and usability tested as a Finnish Summer of Code project, and then Olli did further work on it in his own time to get it in shape for inclusion in Moodle 2.0. I reviewed all the code. There are a number of minor outstanding issues that will be fixed soon. See the subtasks of MDL-17284 for a list.

The goal of these changes is to:
* help teachers new to Moodle, so when they first see the quiz editing page, they don't go "Huh! What on earth am I supposed to do here?"
* help novice Moodle users understand and learn to use some of the more advanced quiz feature;
* but, without slowing down more experienced quiz users.

Naturally, with ambitous goals like that, we won't have managed to satisy everybody, but I think this change is a big step in the right direction.

There is extensive documentation on this project at http://docs.moodle.org/en/Development:Quiz_UI_redesign.

Revision 1.1170 - (view) (download) (annotate) - [select for diffs]
Tue Nov 18 19:17:27 2008 WST (12 months ago) by tjhunt
Branch: MAIN
Changes since 1.1169: +23 -3 lines
Diff to previous 1.1169
Let any table have rotated text in its headers. Stolen from sam's activity completion report.

Revision 1.1169 - (view) (download) (annotate) - [select for diffs]
Thu Nov 13 17:41:00 2008 WST (12 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1168: +3 -3 lines
Diff to previous 1.1168
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.

For something that has been deprecated for over two years, they were still used in a lot of places!

Revision 1.1168 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 17:17:32 2008 WST (12 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1167: +13 -7 lines
Diff to previous 1.1167
role overrides: MDL-17070 Improve override roles page to match the recent usability improvements on the assign page.

Including:
MDL-11529 When assigning/overriding roles, the dropdown for switching to another role should have a number in brackets

MDL-16549 Should not be able to edit the permission associated with moodle/site:doanything on any role.

Revision 1.1167 - (view) (download) (annotate) - [select for diffs]
Wed Nov 5 08:07:14 2008 WST (12 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1166: +12 -10 lines
Diff to previous 1.1166
MDL-17129 dml: implemented exceptions in new drivers, yay!

Revision 1.1166 - (view) (download) (annotate) - [select for diffs]
Tue Nov 4 14:13:21 2008 WST (12 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1165: +3 -3 lines
Diff to previous 1.1165
user selection: MDL-17073 add options to control the search in a collapsible region.

Revision 1.1165 - (view) (download) (annotate) - [select for diffs]
Tue Nov 4 14:12:12 2008 WST (12 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1164: +8 -4 lines
Diff to previous 1.1164
user selection: MDL-17073 add options to control the search in a collapsible region.

Revision 1.1164 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 14:27:10 2008 WST (12 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1163: +37 -6 lines
Diff to previous 1.1163
weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - I forgot the PHP docs before.

Revision 1.1163 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 14:04:24 2008 WST (12 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1162: +56 -3 lines
Diff to previous 1.1162
weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference.

Revision 1.1162 - (view) (download) (annotate) - [select for diffs]
Fri Oct 31 17:45:35 2008 WST (12 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1161: +4 -3 lines
Diff to previous 1.1161
ajax: MDL-17086 Add a CSS class name to <body> when JavaScript is enabled

Revision 1.1161 - (view) (download) (annotate) - [select for diffs]
Fri Oct 31 17:25:19 2008 WST (12 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1160: +4 -3 lines
Diff to previous 1.1160
ajax: MDL-17084 provide a way for JavaScript to update user preferences.

Revision 1.1160 - (view) (download) (annotate) - [select for diffs]
Thu Oct 30 13:20:03 2008 WST (12 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1159: +10 -4 lines
Diff to previous 1.1159
print_table: allow headings to span multiple columns.

Revision 1.1159 - (view) (download) (annotate) - [select for diffs]
Wed Oct 29 17:17:18 2008 WST (12 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1158: +9 -5 lines
Diff to previous 1.1158
Make developer debug mode available to JavaScript.

Revision 1.1158 - (view) (download) (annotate) - [select for diffs]
Tue Oct 21 01:56:11 2008 WST (13 months ago) by arborrow
Branch: MAIN
Changes since 1.1157: +4 -4 lines
Diff to previous 1.1157
MDL-16939 - adding check type exists to avoid PHP notice in build_navigation function; merged from MOODLE_19_STABLE

Revision 1.1157 - (view) (download) (annotate) - [select for diffs]
Tue Oct 7 10:26:48 2008 WST (13 months, 2 weeks ago) by jerome
Branch: MAIN
Changes since 1.1156: +7 -8 lines
Diff to previous 1.1156
MDL-15800: clean filelib.php,  fix https image link into the edit profil page (weblib.php), merged from 19

Revision 1.1156 - (view) (download) (annotate) - [select for diffs]
Mon Oct 6 17:29:26 2008 WST (13 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1155: +3 -3 lines
Diff to previous 1.1155
MDL-14696 Option to unenrol user from course when assigned to a role at a higher context; merged from MOODLE_19_STABLE

Revision 1.1155 - (view) (download) (annotate) - [select for diffs]
Sun Sep 28 16:21:58 2008 WST (13 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1154: +4 -5 lines
Diff to previous 1.1154
Fix comment.

Revision 1.1154 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 18:49:31 2008 WST (13 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1153: +31 -14 lines
Diff to previous 1.1153
MDL-16706 - eliminate miscellaneous inine JavaScript
This does the quiz (apart from the bloody 'secure' window), the question bank and a couple of others.

Revision 1.1153 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 18:07:11 2008 WST (13 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1152: +43 -9 lines
Diff to previous 1.1152
MDL-16654 Move javascript used by the emoticons help file from javascript.php to javascript-static.js. Fix it so that it actually works.

Revision 1.1152 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 15:13:46 2008 WST (13 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1151: +14 -4 lines
Diff to previous 1.1151
MDL-16676 Developer debug warning if you refer to the old text.html help file.

Revision 1.1151 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 14:29:28 2008 WST (13 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1150: +18 -17 lines
Diff to previous 1.1150
MDL-16583 Make require_js accept library names like lib/javascript-static.js without the caller having to fiddle around with $CFG->wwwroot themselves.

Revision 1.1150 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 11:11:33 2008 WST (13 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1149: +20 -2 lines
Diff to previous 1.1149
MDL-16672 Output a standard set of config variables into JavaScript on every page.

Revision 1.1149 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 05:39:47 2008 WST (13 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1148: +3 -2 lines
Diff to previous 1.1148
MDL-15810 whitelist _blank target in htmlpurifier cleaning; merged from MOODLE_19_STABLE

Revision 1.1148 - (view) (download) (annotate) - [select for diffs]
Wed Sep 24 05:09:46 2008 WST (14 months ago) by skodak
Branch: MAIN
Changes since 1.1147: +5 -78 lines
Diff to previous 1.1147
MDL-16644 removing striplsahses() and friends

Revision 1.1147 - (view) (download) (annotate) - [select for diffs]
Tue Sep 23 23:12:09 2008 WST (14 months ago) by skodak
Branch: MAIN
Changes since 1.1146: +2 -49 lines
Diff to previous 1.1146
MDL-16637 removing obsoleted spellchecker support

Revision 1.1146 - (view) (download) (annotate) - [select for diffs]
Tue Sep 23 22:53:21 2008 WST (14 months ago) by skodak
Branch: MAIN
Changes since 1.1145: +2 -9 lines
Diff to previous 1.1145
MDL-16628 editortogglebutton removed

Revision 1.1145 - (view) (download) (annotate) - [select for diffs]
Tue Sep 23 22:51:55 2008 WST (14 months ago) by skodak
Branch: MAIN
Changes since 1.1144: +6 -4 lines
Diff to previous 1.1144
MDL-16627 removing obsoleted HTMLArea

Revision 1.1144 - (view) (download) (annotate) - [select for diffs]
Tue Sep 23 17:59:19 2008 WST (14 months ago) by tjhunt
Branch: MAIN
Changes since 1.1143: +5 -5 lines
Diff to previous 1.1143
MDL-16630 - Change admintree JavaScript to move the code out of the page, and into a separate .js file

Revision 1.1143 - (view) (download) (annotate) - [select for diffs]
Fri Sep 19 21:37:33 2008 WST (14 months ago) by tjhunt
Branch: MAIN
Changes since 1.1142: +52 -7 lines
Diff to previous 1.1142
Commit the print_js_config, so people can see it as the read http://moodle.org/mod/forum/discuss.php?d=106312

Revision 1.1142 - (view) (download) (annotate) - [select for diffs]
Fri Sep 19 12:51:47 2008 WST (14 months ago) by tjhunt
Branch: MAIN
Changes since 1.1141: +34 -2 lines
Diff to previous 1.1141
New function to make it easy when you just want to call one JavaScript function, so you don't have to worry about constructing the script tag yourself. I did this in the context of MDL-12391, but I think it is generally userful.

Revision 1.1141 - (view) (download) (annotate) - [select for diffs]
Thu Sep 18 15:34:45 2008 WST (14 months ago) by tjhunt
Branch: MAIN
Changes since 1.1140: +12 -5 lines
Diff to previous 1.1140
New option on close_window_button to reload the page that opened this pop-up, as the pop-up is closed. Needed in preparation for MDL-16334.

Revision 1.1140 - (view) (download) (annotate) - [select for diffs]
Wed Sep 17 15:02:08 2008 WST (14 months, 1 week ago) by dongsheng
Branch: MAIN
Changes since 1.1139: +4 -2 lines
Diff to previous 1.1139
"MDL-14706, comment value check code to make progress bar work"

Revision 1.1139 - (view) (download) (annotate) - [select for diffs]
Fri Sep 12 14:56:11 2008 WST (14 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1138: +3 -5 lines
Diff to previous 1.1138
MDL-16473 Merged style fix for user pics from 1.9

Revision 1.1138 - (view) (download) (annotate) - [select for diffs]
Thu Sep 11 19:01:20 2008 WST (14 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1137: +7 -4 lines
Diff to previous 1.1137
MDL-16410 Implement the delete question type functionality on the question type administration screen.

Revision 1.1137 - (view) (download) (annotate) - [select for diffs]
Mon Sep 8 15:01:41 2008 WST (14 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1136: +27 -4 lines
Diff to previous 1.1136
MDL-16343 Report showing, for a given capability, how it is set in the definition of each role, and everywhere that it is overridden.

Revision 1.1136 - (view) (download) (annotate) - [select for diffs]
Tue Sep 2 14:03:37 2008 WST (14 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1135: +9 -10 lines
Diff to previous 1.1135
MDL-16029 removing recently added support for $extralocation from print_error(), thanks TIm for pointing out this is not the recommended way anymore

Revision 1.1135 - (view) (download) (annotate) - [select for diffs]
Mon Sep 1 23:31:09 2008 WST (14 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1134: +12 -11 lines
Diff to previous 1.1134
MDL-16029 Added $extralocations in the function print_error; merged from MOODLE_19_STABLE

Revision 1.1134 - (view) (download) (annotate) - [select for diffs]
Mon Sep 1 22:54:57 2008 WST (14 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1133: +14 -5 lines
Diff to previous 1.1133
MDL-16292 print_error not backwards compatible with error(get_string('xx', 'moodle')); merged from MOODLE_19_STABLE

Revision 1.1133 - (view) (download) (annotate) - [select for diffs]
Fri Aug 29 18:04:15 2008 WST (14 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1132: +3 -3 lines
Diff to previous 1.1132
Make comment clearer.

Revision 1.1132 - (view) (download) (annotate) - [select for diffs]
Fri Aug 29 17:54:44 2008 WST (14 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1131: +12 -137 lines
Diff to previous 1.1131
MDL-14741: clean up some old code. This needs to be confirmed backward-compatible.

Revision 1.1131 - (view) (download) (annotate) - [select for diffs]
Thu Aug 28 13:13:13 2008 WST (14 months, 3 weeks ago) by jerome
Branch: MAIN
Changes since 1.1130: +3 -3 lines
Diff to previous 1.1130
MDL-13766: refactor all libary functions, they now all start with repository_

Revision 1.1130 - (view) (download) (annotate) - [select for diffs]
Wed Aug 27 18:27:39 2008 WST (14 months, 4 weeks ago) by thepurpleblob
Branch: MAIN
Changes since 1.1129: +2 -6 lines
Diff to previous 1.1129
Curse you CVS!!!  Didn't notice strange merge error.

Revision 1.1129 - (view) (download) (annotate) - [select for diffs]
Wed Aug 27 18:24:48 2008 WST (14 months, 4 weeks ago) by thepurpleblob
Branch: MAIN
Changes since 1.1128: +8 -3 lines
Diff to previous 1.1128
MDL-16221
The height and width are now included in the user's image.

Revision 1.1128 - (view) (download) (annotate) - [select for diffs]
Tue Aug 26 13:45:08 2008 WST (14 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1127: +3 -3 lines
Diff to previous 1.1127
MDL-16166 centralised enabling of subsystems, fixed some warnings and general cleanup

Revision 1.1127 - (view) (download) (annotate) - [select for diffs]
Wed Aug 20 10:52:29 2008 WST (15 months ago) by dongsheng
Branch: MAIN
Changes since 1.1126: +3 -3 lines
Diff to previous 1.1126
MDL-13766
1. Use treeview display files in repository
2. Dymanicly loading file support
3. Upload file in local repository plugin
4. Move file picker to the top level of DOM
5. get original photo format from flickr web service

Revision 1.1126 - (view) (download) (annotate) - [select for diffs]
Mon Aug 18 14:40:41 2008 WST (15 months ago) by scyrma
Branch: MAIN
Changes since 1.1125: +12 -3 lines
Diff to previous 1.1125
MDL-16036: make the default value in popup_form "selected"

Revision 1.1125 - (view) (download) (annotate) - [select for diffs]
Sat Aug 16 20:16:04 2008 WST (15 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1124: +3 -3 lines
Diff to previous 1.1124
MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes

Revision 1.1124 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 06:38:46 2008 WST (15 months, 2 weeks ago) by stronk7
Branch: MAIN
Changes since 1.1123: +3 -3 lines
Diff to previous 1.1123
Allow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE

Revision 1.1123 - (view) (download) (annotate) - [select for diffs]
Thu Aug 7 11:33:47 2008 WST (15 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1122: +9 -3 lines
Diff to previous 1.1122
MDL-13766
1. Pass context information to repository
TODO
Not sure about the way to get context, hard to find where we are, because print_textarea and moodle may be used in any place in moodle.
2. Change parameter type in ws.php

Revision 1.1122 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 16:12:22 2008 WST (15 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1121: +3 -6 lines
Diff to previous 1.1121
MDL-13766, mulit-filepicker in htmleditor worked.

Revision 1.1121 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 13:49:33 2008 WST (15 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1120: +3 -3 lines
Diff to previous 1.1120
MDL-13766, more changes to mulit-filepicker in one page.

Revision 1.1120 - (view) (download) (annotate) - [select for diffs]
Tue Aug 5 13:12:31 2008 WST (15 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1119: +7 -2 lines
Diff to previous 1.1119
MDL-13766
1. Make mulit-filepicker in one page possible
2. fix lang strings
3. use itemid specify a draft file
TODO
itemid should use a better value.

Revision 1.1119 - (view) (download) (annotate) - [select for diffs]
Fri Aug 1 06:15:31 2008 WST (15 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1118: +3 -3 lines
Diff to previous 1.1118
MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib  related file improvements MDL-15906

Revision 1.1118 - (view) (download) (annotate) - [select for diffs]
Thu Jul 31 11:13:49 2008 WST (15 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1117: +3 -4 lines
Diff to previous 1.1117
"MDL-13766, move require_once"

Revision 1.1117 - (view) (download) (annotate) - [select for diffs]
Thu Jul 31 10:51:28 2008 WST (15 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1116: +6 -2 lines
Diff to previous 1.1116
MDL-13766
1. Filepicker component for moodleform
2. Integrate TinyMCE and FilePicker
3. Fix show/hide bug in filepicker
4. Rewrite print_login function for ajax

Revision 1.1116 - (view) (download) (annotate) - [select for diffs]
Wed Jul 30 15:58:05 2008 WST (15 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1115: +0 -2 lines
Diff to previous 1.1115
MDL-14741: cleaning up some leftover cruft

Revision 1.1115 - (view) (download) (annotate) - [select for diffs]
Wed Jul 30 14:26:26 2008 WST (15 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1114: +5 -3 lines
Diff to previous 1.1114
MDL-14741: use better names for tinymce-specific javascript functions, add function to trigger the save event of tinymce on form save.

Revision 1.1114 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 19:29:00 2008 WST (15 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1113: +3 -3 lines
Diff to previous 1.1113
MDL-5018 added thead and tfoot to allowed tags; merged from MOODLE_19_SATLE

Revision 1.1113 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 06:44:17 2008 WST (15 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1112: +8 -5 lines
Diff to previous 1.1112
MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE

Revision 1.1112 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 00:20:46 2008 WST (16 months ago) by tjhunt
Branch: MAIN
Changes since 1.1111: +3 -3 lines
Diff to previous 1.1111
MDL-15813 - correction - add missing 'return'. Again, Jamie, if you see this, please review.

Revision 1.1111 - (view) (download) (annotate) - [select for diffs]
Fri Jul 25 06:58:03 2008 WST (16 months ago) by skodak
Branch: MAIN
Changes since 1.1110: +4 -4 lines
Diff to previous 1.1110
MDL-15820 fixed some install noise on dev sites; merged from MOODLE_19_STABLE

Revision 1.1110 - (view) (download) (annotate) - [select for diffs]
Thu Jul 24 23:22:31 2008 WST (16 months ago) by jamiesensei
Branch: MAIN
Changes since 1.1109: +19 -8 lines
Diff to previous 1.1109
MDL-15813 "return params or a param from moodle_url params and param method when no value is passed to method to set url param(s)."

Methods param and params can now be used in the following ways :

$url->params(); // returns params

$url->params($arrayofnewparams);// add params to url params and then returns all the params.

//--

$url->param('id');//returns value of id param.

$url->param('id', 5); set id param to 5.

Revision 1.1109 - (view) (download) (annotate) - [select for diffs]
Wed Jul 23 11:18:02 2008 WST (16 months ago) by dongsheng
Branch: MAIN
Changes since 1.1108: +10 -10 lines
Diff to previous 1.1108
MDL-15565, fix bug of maintenance mode alert reminder

Revision 1.1108 - (view) (download) (annotate) - [select for diffs]
Tue Jul 22 22:09:32 2008 WST (16 months ago) by sam_marshall
Branch: MAIN
Changes since 1.1107: +8 -5 lines
Diff to previous 1.1107
MDL-15773 - 'Pass by reference' errors in update from 1.9.1+

Revision 1.1107 - (view) (download) (annotate) - [select for diffs]
Fri Jul 18 12:24:53 2008 WST (16 months, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.1106: +7 -15 lines
Diff to previous 1.1106
MDL-14741: Make tinymce loading simpler, and makes it work on pages with multiple instances.

Revision 1.1106 - (view) (download) (annotate) - [select for diffs]
Fri Jul 18 11:02:43 2008 WST (16 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1105: +5 -4 lines
Diff to previous 1.1105
MDL-15700  Merged from 1.9  Tidied up the maintenance mode display to users

Revision 1.1105 - (view) (download) (annotate) - [select for diffs]
Tue Jul 15 17:43:14 2008 WST (16 months, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.1104: +16 -1 lines
Diff to previous 1.1104
MDL-14741: load editor automatically, from footer/after page is loaded.

Revision 1.1104 - (view) (download) (annotate) - [select for diffs]
Tue Jul 15 17:00:23 2008 WST (16 months, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.1103: +6 -4 lines
Diff to previous 1.1103
MDL-14741: make tinymce toggle editor icon work as it should

Revision 1.1103 - (view) (download) (annotate) - [select for diffs]
Mon Jul 14 10:33:00 2008 WST (16 months, 1 week ago) by dongsheng
Branch: MAIN
Changes since 1.1102: +33 -25 lines
Diff to previous 1.1102
MDL-15565, add maintenance mode alert reminder in title and navbar.

Revision 1.1102 - (view) (download) (annotate) - [select for diffs]
Fri Jul 11 22:17:21 2008 WST (16 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1101: +15 -14 lines
Diff to previous 1.1101
Document print_side_block, and eliminate a bit of duplicated code.

Revision 1.1101 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 17:55:12 2008 WST (16 months, 2 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1100: +10 -19 lines
Diff to previous 1.1100
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9)

Revision 1.1100 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 16:50:43 2008 WST (16 months, 2 weeks ago) by moodler
Branch: MAIN
Changes since 1.1099: +7 -3 lines
Diff to previous 1.1099
MDL-15601 Merged basic checking to avoid some notices

Revision 1.1099 - (view) (download) (annotate) - [select for diffs]
Mon Jul 7 22:34:40 2008 WST (16 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1098: +3 -3 lines
Diff to previous 1.1098
MDL-15413 warn admins if display_errors enabled

Revision 1.1098 - (view) (download) (annotate) - [select for diffs]
Fri Jul 4 18:15:00 2008 WST (16 months, 3 weeks ago) by jamiesensei
Branch: MAIN
Changes since 1.1097: +172 -2 lines
Diff to previous 1.1097
MDL-15532 "moving progress_bar class into weblib from adminlib"

Revision 1.1097 - (view) (download) (annotate) - [select for diffs]
Fri Jul 4 10:42:49 2008 WST (16 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1096: +3 -0 lines
Diff to previous 1.1096
MDL-14741: Reverting removal of output buffering.

Revision 1.1096 - (view) (download) (annotate) - [select for diffs]
Thu Jul 3 13:32:34 2008 WST (16 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1095: +3 -8 lines
Diff to previous 1.1095
MDL-14741: Using a better way to include javascript files (removed use of
output buffering) and corrected parameters so that the file manager is
linked to the right course again.

Revision 1.1095 - (view) (download) (annotate) - [select for diffs]
Wed Jul 2 14:43:21 2008 WST (16 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1094: +4 -4 lines
Diff to previous 1.1094
"MDL-15500, change helpbutton debug level to developer, merged from MOODLE_19_STABLE"

Revision 1.1094 - (view) (download) (annotate) - [select for diffs]
Wed Jun 25 11:26:09 2008 WST (17 months ago) by jerome
Branch: MAIN
Changes since 1.1093: +9 -2 lines
Diff to previous 1.1093
MDL-14635 remove tags from glossary block help, merged from 19

Revision 1.1093 - (view) (download) (annotate) - [select for diffs]
Mon Jun 23 07:35:52 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.1092: +8 -3 lines
Diff to previous 1.1092
MDL-15343 mod upgrade savepoints implemented (the xmldb generator is not updated yet)

Revision 1.1092 - (view) (download) (annotate) - [select for diffs]
Mon Jun 23 00:51:56 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.1091: +14 -7 lines
Diff to previous 1.1091
MDL-14956 DDL exceptions

Revision 1.1091 - (view) (download) (annotate) - [select for diffs]
Fri Jun 20 06:27:11 2008 WST (17 months ago) by skodak
Branch: MAIN
Changes since 1.1090: +6 -7 lines
Diff to previous 1.1090
MDL-14992 first step towards new database sessions - refactoring of current session code

Revision 1.1090 - (view) (download) (annotate) - [select for diffs]
Fri Jun 20 02:38:27 2008 WST (17 months ago) by tjhunt
Branch: MAIN
Changes since 1.1089: +20 -4 lines
Diff to previous 1.1089
MDL-15321 - Add a class to the last column and row of the table in print_table to help theming

Revision 1.1089 - (view) (download) (annotate) - [select for diffs]
Wed Jun 18 13:58:07 2008 WST (17 months, 1 week ago) by jerome
Branch: MAIN
Changes since 1.1088: +5 -3 lines
Diff to previous 1.1088
MDL-15152 reverse MDL-14439 fix for dropdown menu for Opera+Linux, merged from 19

Revision 1.1088 - (view) (download) (annotate) - [select for diffs]
Tue Jun 17 00:39:28 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1087: +6 -5 lines
Diff to previous 1.1087
MDL-14898 upgraded html purifier to 3.1.0 in HEAD

Revision 1.1087 - (view) (download) (annotate) - [select for diffs]
Mon Jun 16 22:07:47 2008 WST (17 months, 1 week ago) by sam_marshall
Branch: MAIN
Changes since 1.1086: +9 -3 lines
Diff to previous 1.1086
MDL-15263 Fixed numeric entities remaining after html_to_text

Revision 1.1086 - (view) (download) (annotate) - [select for diffs]
Mon Jun 16 19:39:21 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1085: +3 -2 lines
Diff to previous 1.1085
MDL-15094 fixed print_box() regression

Revision 1.1085 - (view) (download) (annotate) - [select for diffs]
Sat Jun 14 01:51:35 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1084: +90 -57 lines
Diff to previous 1.1084
MDL-14956 basic exception support in Moodle + other minor related refactoring

Revision 1.1084 - (view) (download) (annotate) - [select for diffs]
Fri Jun 13 16:35:30 2008 WST (17 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1083: +4 -5 lines
Diff to previous 1.1083
MDL-14905 towards functional DB tests

Revision 1.1083 - (view) (download) (annotate) - [select for diffs]
Wed Jun 11 16:37:26 2008 WST (17 months, 2 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1082: +27 -14 lines
Diff to previous 1.1082
MDL-14741: Simplifies the activation of the htmleditor. This is a work-in-progress at this stage, but it's an improvement on the current state.

Revision 1.1082 - (view) (download) (annotate) - [select for diffs]
Tue Jun 10 00:53:36 2008 WST (17 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1081: +7 -54 lines
Diff to previous 1.1081
MDL-15189 magic quotes finally removed

Revision 1.1081 - (view) (download) (annotate) - [select for diffs]
Fri Jun 6 09:49:07 2008 WST (17 months, 2 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1080: +14 -13 lines
Diff to previous 1.1080
MDL-14741 - Make tinymce work with the front page description.
TODO: convert the front page description form so it uses formslib

Revision 1.1080 - (view) (download) (annotate) - [select for diffs]
Thu Jun 5 17:36:55 2008 WST (17 months, 2 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1079: +9 -2 lines
Diff to previous 1.1079
MDL-14741: use the default html editor, as chosen in the admin settings

Revision 1.1079 - (view) (download) (annotate) - [select for diffs]
Tue Jun 3 05:52:27 2008 WST (17 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1078: +4 -4 lines
Diff to previous 1.1078
MDL-14679 converted some delete_records

Revision 1.1078 - (view) (download) (annotate) - [select for diffs]
Mon May 26 19:50:51 2008 WST (17 months, 4 weeks ago) by jamiesensei
Branch: MAIN
Changes since 1.1077: +4 -4 lines
Diff to previous 1.1077
MDL-15000 "Moodle url method remove_params doesn't actually remove anything" Fixed.

Revision 1.1077 - (view) (download) (annotate) - [select for diffs]
Sun May 25 23:34:19 2008 WST (18 months ago) by skodak
Branch: MAIN
Changes since 1.1076: +10 -5 lines
Diff to previous 1.1076
MDL-14983  add magic quotes stripping option into data_submitted()

Revision 1.1076 - (view) (download) (annotate) - [select for diffs]
Thu May 22 21:29:19 2008 WST (18 months ago) by jamiesensei
Branch: MAIN
Changes since 1.1075: +7 -4 lines
Diff to previous 1.1075
MDL-14943 "moodle_url : need way to add extra params when outputting params as hidden fields for forms" added new optional param to method hidden_params_out

Revision 1.1075 - (view) (download) (annotate) - [select for diffs]
Wed May 21 22:59:33 2008 WST (18 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.1074: +24 -14 lines
Diff to previous 1.1074
MDL-14905 Started on the DDL functional tests. Added an ugly but temporary hack into error() and print_error(), so that they throw an exception instead of dying when UNITTEST is defined.

Revision 1.1074 - (view) (download) (annotate) - [select for diffs]
Tue May 20 02:02:34 2008 WST (18 months ago) by stronk7
Branch: MAIN
Changes since 1.1073: +49 -4 lines
Diff to previous 1.1073
Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864

Revision 1.1073 - (view) (download) (annotate) - [select for diffs]
Fri May 16 05:40:01 2008 WST (18 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1072: +20 -20 lines
Diff to previous 1.1072
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs

Revision 1.1072 - (view) (download) (annotate) - [select for diffs]
Thu May 15 11:07:21 2008 WST (18 months, 1 week ago) by dongsheng
Branch: MAIN
Changes since 1.1071: +6 -6 lines
Diff to previous 1.1071
"MDL-14129, fix print_error"

Revision 1.1071 - (view) (download) (annotate) - [select for diffs]
Tue May 13 20:36:16 2008 WST (18 months, 1 week ago) by sam_marshall
Branch: MAIN
Changes since 1.1070: +10 -10 lines
Diff to previous 1.1070
MDL-14618 HTML class so that link arrows can be themed

Revision 1.1070 - (view) (download) (annotate) - [select for diffs]
Tue May 13 13:36:25 2008 WST (18 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1069: +3 -3 lines
Diff to previous 1.1069
MDL-14811 Merged from 1.9:  Fixed the popup window name for HTML editor help

Revision 1.1069 - (view) (download) (annotate) - [select for diffs]
Mon May 12 07:34:29 2008 WST (18 months, 2 weeks ago) by stronk7
Branch: MAIN
Changes since 1.1068: +8 -3 lines
Diff to previous 1.1068
Prevent some notices and process if $CFG->emoticons is not set or empty. MDL-12414 ; merged from 19_STABLE

Revision 1.1068 - (view) (download) (annotate) - [select for diffs]
Thu May 8 10:38:38 2008 WST (18 months, 2 weeks ago) by jerome
Branch: MAIN
Changes since 1.1067: +5 -5 lines
Diff to previous 1.1067
MDL-12648 Undefined property: stdClass::$wwwroot on popup screen during installation, merged from 19

Revision 1.1067 - (view) (download) (annotate) - [select for diffs]
Wed May 7 11:08:45 2008 WST (18 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1066: +3 -3 lines
Diff to previous 1.1066
"MDL-13233, replace the uses of old files to new ones, see tracker"

Revision 1.1066 - (view) (download) (annotate) - [select for diffs]
Sat May 3 00:11:30 2008 WST (18 months, 3 weeks ago) by jamiesensei
Branch: MAIN
Changes since 1.1065: +3 -3 lines
Diff to previous 1.1065
MDL-14663 "link_to_popup_window displays 'Click here....' as the link text if you pass in 0 as the link text."
Also fixing the problem in link_to_popup_window function. Test for null instead of empty.

Revision 1.1065 - (view) (download) (annotate) - [select for diffs]
Fri May 2 13:20:40 2008 WST (18 months, 3 weeks ago) by jerome
Branch: MAIN
Changes since 1.1064: +5 -5 lines
Diff to previous 1.1064
MDL-12864 fix bad XHTML in the messaging popup, merged from 19

Revision 1.1064 - (view) (download) (annotate) - [select for diffs]
Fri May 2 11:34:00 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1063: +6 -6 lines
Diff to previous 1.1063
MDL-8592: Get spellchecking to work over https (merge from 1.9)

Revision 1.1063 - (view) (download) (annotate) - [select for diffs]
Fri May 2 10:45:18 2008 WST (18 months, 3 weeks ago) by jerome
Branch: MAIN
Changes since 1.1062: +13 -4 lines
Diff to previous 1.1062
MDL-14439 IE and Opera fire the onchange when ever you move into a dropdwown list with the keyboard - this changes fix the problem. Merged from 19.

Revision 1.1062 - (view) (download) (annotate) - [select for diffs]
Fri May 2 05:49:23 2008 WST (18 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1061: +2 -65 lines
Diff to previous 1.1061
MDL-14617 removed PHP4 compatibility string functions

Revision 1.1061 - (view) (download) (annotate) - [select for diffs]
Fri May 2 05:19:05 2008 WST (18 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1060: +2 -15 lines
Diff to previous 1.1060
MDL-14617 removed PHP4 compatibility error_get_last()

Revision 1.1060 - (view) (download) (annotate) - [select for diffs]
Thu May 1 14:07:24 2008 WST (18 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1059: +6 -6 lines
Diff to previous 1.1059
"MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE"

Revision 1.1059 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 13:10:34 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1058: +6 -4 lines
Diff to previous 1.1058
MDL-13985 - Fix previous fix to display a warning when whitespace is used in popup window name (merge from 1.9)

Revision 1.1058 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 12:10:08 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1057: +7 -4 lines
Diff to previous 1.1057
MDL-13985 - Prevent popup windows from having a space in their name. (merge from 1.9)

Revision 1.1057 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 01:09:03 2008 WST (19 months ago) by sam_marshall
Branch: MAIN
Changes since 1.1056: +10 -8 lines
Diff to previous 1.1056
MDL-14497 Fixed several minor bugs in navmenu()

Revision 1.1056 - (view) (download) (annotate) - [select for diffs]
Tue Apr 22 22:14:47 2008 WST (19 months ago) by sam_marshall
Branch: MAIN
Changes since 1.1055: +18 -6 lines
Diff to previous 1.1055
MDL-14476: Made 'fake blocks' in calendar and elsewhere more consistent with real blocks (so styling themes is easier)

Revision 1.1055 - (view) (download) (annotate) - [select for diffs]
Wed Apr 9 00:10:49 2008 WST (19 months, 2 weeks ago) by sam_marshall
Branch: MAIN
Changes since 1.1054: +5 -5 lines
Diff to previous 1.1054
MDL-14260: Changed print_heading_with_help so that the help button is outside the heading (for accessibility reasons) and changed themes so that this makes no visual difference.

Revision 1.1054 - (view) (download) (annotate) - [select for diffs]
Fri Apr 4 10:54:32 2008 WST (19 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1053: +9 -9 lines
Diff to previous 1.1053
MDL-14129, remove all the other error() call

Revision 1.1053 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 03:49:12 2008 WST (19 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1052: +5 -3 lines
Diff to previous 1.1052
MDL-14126 fixed undefined message; merged from MOODLE_19_STABLE

Revision 1.1052 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 00:07:17 2008 WST (19 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1051: +7 -7 lines
Diff to previous 1.1051
MDL-14126, cron shouldn't print html tags, merged from MOODLE_19_STABLE

Revision 1.1051 - (view) (download) (annotate) - [select for diffs]
Tue Apr 1 14:19:10 2008 WST (19 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1050: +50 -6 lines
Diff to previous 1.1050
MDL-14085, Make print_error() autonomous, merged from MOODLE_19_STABLE

Revision 1.1050 - (view) (download) (annotate) - [select for diffs]
Tue Apr 1 12:15:13 2008 WST (19 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1049: +2 -75 lines
Diff to previous 1.1049
Move error() to deprecatelib.php, merged from MOODLE_19_STABLE

Revision 1.1049 - (view) (download) (annotate) - [select for diffs]
Mon Mar 31 14:53:35 2008 WST (19 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1048: +3 -3 lines
Diff to previous 1.1048
MDL-14103 - remove the call to s() - the string has to already be in html format. (merge - 1.9)

Revision 1.1048 - (view) (download) (annotate) - [select for diffs]
Thu Mar 20 16:05:06 2008 WST (20 months ago) by scyrma
Branch: MAIN
Changes since 1.1047: +7 -6 lines
Diff to previous 1.1047
MDL-13985 - removed call to get_string, translation of this string made no sense and broke badly. (merge)

Revision 1.1047 - (view) (download) (annotate) - [select for diffs]
Thu Mar 20 15:05:45 2008 WST (20 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.1046: +5 -5 lines
Diff to previous 1.1046
MDL-13880 Overridden and excluded grades are now coloured with alternate row colours that override the default alternate row colours (gray). I also fixed the long-standing notice about aggregationposition. See attached patch.

Revision 1.1046 - (view) (download) (annotate) - [select for diffs]
Wed Mar 19 17:19:31 2008 WST (20 months ago) by scyrma
Branch: MAIN
Changes since 1.1045: +3 -2 lines
Diff to previous 1.1045
MDL-13934 - Commit patch by Eloy - prevent display of moodle docs link on redirect pages

Revision 1.1045 - (view) (download) (annotate) - [select for diffs]
Wed Mar 19 17:16:51 2008 WST (20 months ago) by scyrma
Branch: MAIN
Changes since 1.1044: +2 -12 lines
Diff to previous 1.1044
MDL-12093 - remove added classes - they don't help the issue and clutter the code

Revision 1.1044 - (view) (download) (annotate) - [select for diffs]
Sun Mar 16 00:01:27 2008 WST (20 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1043: +3 -3 lines
Diff to previous 1.1043
MDL-13886 whitelist text-decoration in kses cleaning; merged from MOODLE_19_STABLE

Revision 1.1043 - (view) (download) (annotate) - [select for diffs]
Fri Mar 7 20:17:44 2008 WST (20 months, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1042: +5 -4 lines
Diff to previous 1.1042
Clarify unused argument.

Revision 1.1042 - (view) (download) (annotate) - [select for diffs]
Wed Mar 5 14:36:49 2008 WST (20 months, 2 weeks ago) by moodler
Branch: MAIN
Changes since 1.1041: +3 -3 lines
Diff to previous 1.1041
Fix the display of the release (merged from 1.9)

Revision 1.1041 - (view) (download) (annotate) - [select for diffs]
Fri Feb 29 06:17:52 2008 WST (20 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1040: +3 -2 lines
Diff to previous 1.1040
MDL-13705

Revision 1.1040 - (view) (download) (annotate) - [select for diffs]
Wed Feb 27 11:52:28 2008 WST (20 months, 4 weeks ago) by martinlanghoff
Branch: MAIN
Changes since 1.1039: +19 -2 lines
Diff to previous 1.1039
MDL-90 weblib: Introducing mdie() - close sibling of Perl's die()

So that commandline scripts can die with a message and
a nonzero errorcode

Revision 1.1039 - (view) (download) (annotate) - [select for diffs]
Tue Feb 26 05:39:42 2008 WST (20 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1038: +3 -3 lines
Diff to previous 1.1038
MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form, patch by Steve Bond; merged from MOOODLE_19_SATBLE

Revision 1.1038 - (view) (download) (annotate) - [select for diffs]
Tue Feb 26 05:22:59 2008 WST (20 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1037: +8 -4 lines
Diff to previous 1.1037
MDL-13661 - fixing incorrect use of array_shift; merged from MOODLE_19_STABLE

Revision 1.1037 - (view) (download) (annotate) - [select for diffs]
Mon Feb 25 20:58:12 2008 WST (20 months, 4 weeks ago) by poltawski
Branch: MAIN
Changes since 1.1036: +1 -1 lines
Diff to previous 1.1036
MDL-9667 - convert_tree_to_html doesn't set css class properly if
$tab->linkedwhenselected is set

Patch from Jeff Graham

merged from MOODLE_19_STABLE

Revision 1.1036 - (view) (download) (annotate) - [select for diffs]
Thu Feb 21 15:14:02 2008 WST (21 months ago) by moodler
Branch: MAIN
Changes since 1.1035: +3 -3 lines
Diff to previous 1.1035
Fixed $displaypage notice by initialising it

Revision 1.1035 - (view) (download) (annotate) - [select for diffs]
Tue Feb 19 22:34:31 2008 WST (21 months ago) by skodak
Branch: MAIN
Changes since 1.1034: +3 -3 lines
Diff to previous 1.1034
MDL-12538 skip to main does not work if page div contains other attributes; merged from MOODLE_19_STABLE

Revision 1.1034 - (view) (download) (annotate) - [select for diffs]
Sat Feb 16 01:40:45 2008 WST (21 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.1033: +3 -3 lines
Diff to previous 1.1033
MDL-13459 Didn't use the patch, which puts its finger in too many pies. Instead just implemented a quick-fix, a temporary get_assignable_for_switchrole() function. It only affects the switchroles menu. Merging from MOODLE_19_STABLE

Revision 1.1033 - (view) (download) (annotate) - [select for diffs]
Sun Feb 3 21:53:33 2008 WST (21 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1032: +5 -5 lines
Diff to previous 1.1032
MDL-13312 fixed notices caused by previous commit, patch by Gary Anderson; merged from MOODLE_19_STABLE

Revision 1.1032 - (view) (download) (annotate) - [select for diffs]
Sun Feb 3 19:57:07 2008 WST (21 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1031: +26 -2 lines
Diff to previous 1.1031
MDL-13310 added static cron cache into format_text() to prevent some db access; merged from MOODLE_19_STABLE

Revision 1.1031 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 23:10:50 2008 WST (21 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1030: +12 -12 lines
Diff to previous 1.1030
MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE

Revision 1.1030 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 07:24:45 2008 WST (21 months, 3 weeks ago) by fmarier
Branch: MAIN
Changes since 1.1029: +6 -2 lines
Diff to previous 1.1029
Merged from MOODLE_19_STABLE: MDL-13244 - weblib - Add 'summary' attribute to print_table()

Revision 1.1029 - (view) (download) (annotate) - [select for diffs]
Fri Jan 25 05:33:51 2008 WST (22 months ago) by skodak
Branch: MAIN
Changes since 1.1028: +76 -89 lines
Diff to previous 1.1028
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE

Revision 1.1028 - (view) (download) (annotate) - [select for diffs]
Fri Jan 25 01:58:32 2008 WST (22 months ago) by sam_marshall
Branch: MAIN
Changes since 1.1027: +9 -2 lines
Diff to previous 1.1027
MDL-13154 Make it possible to unit test code that calls error() (2.0 only, PHP5 req)

Revision 1.1027 - (view) (download) (annotate) - [select for diffs]
Fri Jan 18 14:18:11 2008 WST (22 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1026: +5 -5 lines
Diff to previous 1.1026
Merged typo fox for popup windows from 19

Revision 1.1026 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 17:41:30 2008 WST (22 months, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.1025: +11 -0 lines
Diff to previous 1.1025
added some documentation

Revision 1.1025 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 17:17:25 2008 WST (22 months, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.1024: +0 -113 lines
Diff to previous 1.1024
MDL-13020 : deprecates make_table

Revision 1.1024 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 16:39:03 2008 WST (22 months, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.1023: +4 -4 lines
Diff to previous 1.1023
Fix for MDL-9669 : make it possible to specify 0 as cellpadding and cellspacing

Revision 1.1023 - (view) (download) (annotate) - [select for diffs]
Sun Jan 13 17:30:39 2008 WST (22 months, 1 week ago) by jamiesensei
Branch: MAIN
Changes since 1.1022: +64 -64 lines
Diff to previous 1.1022
whitespace clean up, removed all indentation with tabs and trailing white space

Revision 1.1022 - (view) (download) (annotate) - [select for diffs]
Sat Jan 12 17:47:29 2008 WST (22 months, 1 week ago) by jamiesensei
Branch: MAIN
Changes since 1.1021: +9 -4 lines
Diff to previous 1.1021
MDL-12906 add an optional parameter $jsconfirmmessage parameter to print_single_button

Revision 1.1021 - (view) (download) (annotate) - [select for diffs]
Fri Jan 11 18:29:53 2008 WST (22 months, 1 week ago) by urs_hunkler
Branch: MAIN
Changes since 1.1020: +2 -7 lines
Diff to previous 1.1020
merged from 1.9 :: MDL-12221 :: removed the "nocoursepage" hack, which was an attempt to find out if a page has a layout-table. I developed this hack because Martin said, that he does not see any chance to implement a layout-table check. This hack followed several exception hacks because Moodel pages are inconsistently created. All those exceptions I could delete too.

Now I added a JavaScript layout-table check which works great.

Revision 1.1020 - (view) (download) (annotate) - [select for diffs]
Thu Jan 10 08:15:45 2008 WST (22 months, 2 weeks ago) by mjollnir_
Branch: MAIN
Changes since 1.1019: +4 -4 lines
Diff to previous 1.1019
MDL-12894 Fixing language string mess (language packs containing \n) & moved them to the controllers,
also fixed a few typos and a || instead of && bug.  This all relates to the CLI installer.

Revision 1.1019 - (view) (download) (annotate) - [select for diffs]
Thu Jan 10 00:52:08 2008 WST (22 months, 2 weeks ago) by urs_hunkler
Branch: MAIN
Changes since 1.1018: +10 -3 lines
Diff to previous 1.1018
Merged from 1.9 and checked :: MDL-12221 :: I added changes to weblib and the forum and glossary view pages, the custom_corners and standard theme to get those pages working.

In the view pages I changed the container function call to a simple "echo 'div ...'" to avoid the custom_corners container overhead and page oddity.

In weblib I added "clearfix" handling to the function "print_box_start($classes ...". "clearfix" is handed over to the containing divs. This is a hack, but I didn't know how to handle it without rewriting too much areas.

Revision 1.1018 - (view) (download) (annotate) - [select for diffs]
Mon Jan 7 10:54:29 2008 WST (22 months, 2 weeks ago) by mjollnir_
Branch: MAIN
Changes since 1.1017: +39 -3 lines
Diff to previous 1.1017
New feature: Command line installer.  Credit: Dilan Anurudda.

This was a Google Summer of Code 2007 Project.

This introduces two new files, admin/cliupgrader.php and lib/installlib.php.

It also introduces a new PEAR library, Console_GetOpt.  I have recieved permission from the upstream author to include this in GPL Moodle (essentially dual license it) -  notes in lib/pear.

Most stuff that outputs html during install gets suppressed by the use of a constant.

Run the script like  php admin/cliupgrade.php --help for info.

Note that this all uses strings from install/ rather than lang, so I have updated stringnames.txt accordingly and they'll all be broken until the cronjob that generates them runs.

Revision 1.1017 - (view) (download) (annotate) - [select for diffs]
Fri Jan 4 15:46:52 2008 WST (22 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1016: +5 -2 lines
Diff to previous 1.1016
MDL-12429 Applied and tested François' patches to 1.8, 1.9 and head.

Revision 1.1016 - (view) (download) (annotate) - [select for diffs]
Fri Jan 4 15:45:55 2008 WST (22 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1015: +8 -7 lines
Diff to previous 1.1015
MDL-12429 Applied and tested François' patches to 1.8, 1.9 and head.

Revision 1.1015 - (view) (download) (annotate) - [select for diffs]
Wed Jan 2 00:51:54 2008 WST (22 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.1014: +13 -4 lines
Diff to previous 1.1014
MDL-12790 highlighting in admin search results breaks html
MDL-12791 add defaults parameter to format_admin_setting()
MDL-12792 search in admin settings and defaults
+ minor speedup of fast highlighting and fixed empty span tags

merged from MOODLE_19_STABLE

Revision 1.1014 - (view) (download) (annotate) - [select for diffs]
Sun Dec 30 00:38:14 2007 WST (22 months, 3 weeks ago) by poltawski
Branch: MAIN
Changes since 1.1013: +4 -4 lines
Diff to previous 1.1013
MDL-7242 eliminate last use of location to refer to city in profile where
it causes problems for translators
merged from MOODLE_19_STABLE

Revision 1.1013 - (view) (download) (annotate) - [select for diffs]
Tue Dec 25 19:04:00 2007 WST (23 months ago) by skodak
Branch: MAIN
Changes since 1.1012: +19 -5 lines
Diff to previous 1.1012
MDL-11561 improved text filter cache resetting when settings change; fixed bug causing fatal errors if html purifier enabled during upgrade; merged from MOODLE_19_STABLE

Revision 1.1012 - (view) (download) (annotate) - [select for diffs]
Sun Dec 23 22:55:10 2007 WST (23 months ago) by skodak
Branch: MAIN
Changes since 1.1011: +3 -4 lines
Diff to previous 1.1011
MDL-12718 show the print_header navigation warning only if in DEBUG_DEVELOPER mode; merged from MOODLE_19_STABLE

Revision 1.1011 - (view) (download) (annotate) - [select for diffs]
Fri Dec 21 20:12:43 2007 WST (23 months ago) by nfreear
Branch: MAIN
Changes since 1.1010: +4 -4 lines
Diff to previous 1.1010
MDL-7493 further fix: strip_tags from title strings because the titles may have HTML in them.
  -From Martin D/moodler in moodleblock.class.php - thanks.

Revision 1.1010 - (view) (download) (annotate) - [select for diffs]
Fri Dec 21 00:52:33 2007 WST (23 months ago) by poltawski
Branch: MAIN
Changes since 1.1009: +9 -4 lines
Diff to previous 1.1009
MDL-12676 - generate navigation if none supplied to print_header_simple()

Merged from MOODLE_19_STABLE, also merged unmerged change from MDL-11812

Revision 1.1009 - (view) (download) (annotate) - [select for diffs]
Wed Dec 19 22:31:03 2007 WST (23 months ago) by tjhunt
Branch: MAIN
Changes since 1.1008: +18 -9 lines
Diff to previous 1.1008
New option on print_single_button to all printing of disabled buttons.

Revision 1.1008 - (view) (download) (annotate) - [select for diffs]
Wed Dec 19 02:18:19 2007 WST (23 months, 1 week ago) by nfreear
Branch: MAIN
Changes since 1.1007: +10 -8 lines
Diff to previous 1.1007
Fixes reopened MDL-7493 "Make sure standard themes are visible under "Windows High Contrast Black" mode" - foreground show/hide block icon/ALT text switched with Javscript.

Revision 1.1007 - (view) (download) (annotate) - [select for diffs]
Mon Dec 17 10:25:18 2007 WST (23 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1006: +1 -0 lines
Diff to previous 1.1006
Testing commit message one more time, I think this is it

Revision 1.1006 - (view) (download) (annotate) - [select for diffs]
Mon Dec 17 10:18:21 2007 WST (23 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1005: +0 -1 lines
Diff to previous 1.1005
Testing a commit

Revision 1.1005 - (view) (download) (annotate) - [select for diffs]
Mon Dec 17 10:14:39 2007 WST (23 months, 1 week ago) by moodler
Branch: MAIN
Changes since 1.1004: +1 -0 lines
Diff to previous 1.1004
Testing a commit message

Revision 1.1004 - (view) (download) (annotate) - [select for diffs]
Sun Dec 16 03:42:49 2007 WST (23 months, 1 week ago) by poltawski
Branch: MAIN
Changes since 1.1003: +10 -3 lines
Diff to previous 1.1003
Improving phpdocs for when to use format_string()/format_text() based on
wiki comments. It wasn't an entirely clear (e.g. mixup in MDL-11800)

Merged from MOODLE_19_STABLE

Revision 1.1003 - (view) (download) (annotate) - [select for diffs]
Sun Dec 16 01:53:39 2007 WST (23 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1002: +8 -3 lines
Diff to previous 1.1002
MDL-12592 do not execute theme_setup() if header already printed; merged from MOODLE_19_STABLE

Revision 1.1002 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 06:22:38 2007 WST (23 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.1001: +89 -39 lines
Diff to previous 1.1001
MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE

Revision 1.1001 - (view) (download) (annotate) - [select for diffs]
Tue Dec 11 22:58:39 2007 WST (23 months, 2 weeks ago) by nfreear
Branch: MAIN
Changes since 1.1000: +8 -4 lines
Diff to previous 1.1000
Fixes MDL-12539 "Help link text for all admin/user filters are broken".

Revision 1.1000 - (view) (download) (annotate) - [select for diffs]
Fri Dec 7 14:00:22 2007 WST (23 months, 2 weeks ago) by fmarier
Branch: MAIN
Changes since 1.999: +3 -5 lines
Diff to previous 1.999
weblib: Fix typo in print_table() which was causing invalid <th> tag
MDL-11506

Revision 1.999 - (view) (download) (annotate) - [select for diffs]
Tue Dec 4 01:41:36 2007 WST (23 months, 3 weeks ago) by nfreear
Branch: MAIN
Changes since 1.998: +4 -5 lines
Diff to previous 1.998
Fixes bug MDL-12416, Help links - img ALT text should contain phrase "new window" to match link TITLE.

Revision 1.998 - (view) (download) (annotate) - [select for diffs]
Mon Dec 3 15:27:21 2007 WST (23 months, 3 weeks ago) by toyomoyo
Branch: MAIN
Changes since 1.997: +16 -36 lines
Diff to previous 1.997
MDL-10915, additional setting for emoticons

Revision 1.997 - (view) (download) (annotate) - [select for diffs]
Fri Nov 30 12:09:59 2007 WST (23 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.996: +30 -12 lines
Diff to previous 1.996
Code style corrections.

Revision 1.996 - (view) (download) (annotate) - [select for diffs]
Thu Nov 29 16:20:13 2007 WST (23 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.995: +12 -2 lines
Diff to previous 1.995
Possible fix to MDL-12093 : give window without heading and navigation special css classes.

Revision 1.995 - (view) (download) (annotate) - [select for diffs]
Thu Nov 29 14:54:35 2007 WST (23 months, 3 weeks ago) by scyrma
Branch: MAIN
Changes since 1.994: +65 -52 lines
Diff to previous 1.994
MDL-12093 : cleanup & simplify code to get popup windows.

Revision 1.994 - (view) (download) (annotate) - [select for diffs]
Thu Nov 29 03:14:38 2007 WST (23 months, 3 weeks ago) by stronk7
Branch: MAIN
Changes since 1.993: +7 -4 lines
Diff to previous 1.993
Adding new wraplevelXX class for easier containers identification. MDL-12339

Merged from MOODLE_19_STABLE

Revision 1.993 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 05:26:16 2007 WST (2 years ago) by skodak
Branch: MAIN
Changes since 1.992: +22 -3 lines
Diff to previous 1.992
MDL-12221 custom themes revisited - fixed bug in previous commit, added more developer debug; merged from MOODLE_19_STABLE

Revision 1.992 - (view) (download) (annotate) - [select for diffs]
Sat Nov 24 01:49:52 2007 WST (2 years ago) by skodak
Branch: MAIN
Changes since 1.991: +133 -59 lines
Diff to previous 1.991
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE

Revision 1.991 - (view) (download) (annotate) - [select for diffs]
Wed Nov 21 03:04:03 2007 WST (2 years ago) by sam_marshall
Branch: MAIN
Changes since 1.990: +116 -7 lines
Diff to previous 1.990
MDL-12284 Moved require_js to weblib and improved it so that it works if called during header (also tidied up code)

Revision 1.990 - (view) (download) (annotate) - [select for diffs]
Wed Nov 21 02:31:13 2007 WST (2 years ago) by tjhunt
Branch: MAIN
Changes since 1.989: +5 -5 lines
Diff to previous 1.989
MDL-12172 - Sorry, more fall-out from converting continue buttons to use GET instead of POST. Sometimes, URLs were being passed in with & already repalced by &amp; and we weren't handling that properly. Should now be fixed. Merged from MOODLE_19_STABLE.

Revision 1.989 - (view) (download) (annotate) - [select for diffs]
Mon Nov 19 10:45:45 2007 WST (2 years ago) by mattc-catalyst
Branch: MAIN
Changes since 1.988: +10 -4 lines
Diff to previous 1.988
MDL-12172: fixed get parameters not being submitted in Firefox


Author: Matt Clarkson <mattc@catalyst.net.nz>

Revision 1.988 - (view) (download) (annotate) - [select for diffs]
Sun Nov 18 05:55:44 2007 WST (2 years ago) by skodak
Branch: MAIN
Changes since 1.987: +3 -3 lines
Diff to previous 1.987
fixed typo throwing warnings during install; merged from MOODLE_19_STABLE

Revision 1.987 - (view) (download) (annotate) - [select for diffs]
Sun Nov 18 01:37:00 2007 WST (2 years ago) by skodak
Branch: MAIN
Changes since 1.986: +9 -7 lines
Diff to previous 1.986
MDL-12221 initialised $output and fixed whitespace; merged from MOODLE_19_STABLE

Revision 1.986 - (view) (download) (annotate) - [select for diffs]
Fri Nov 16 22:33:51 2007 WST (2 years ago) by urs_hunkler
Branch: MAIN
Changes since 1.985: +76 -2 lines
Diff to previous 1.985
merged from 1.9 :: MDL-12221 :: Added wrapper functions for print_box, print_box_start and print_box_end to be able to add custom_corners to any boxes.

If you call print_custom_corners_box with the same parameters as print_box and custom_corners is enabled you get the custom corners divs within those boxes and can style them accordingly.

Revision 1.985 - (view) (download) (annotate) - [select for diffs]
Thu Nov 15 01:34:26 2007 WST (2 years ago) by tjhunt
Branch: MAIN
Changes since 1.984: +3 -3 lines
Diff to previous 1.984
MDL-12172 - print_continue should create a method="get" button, not post. Merged from MOODLE_19_STABLE.

Revision 1.984 - (view) (download) (annotate) - [select for diffs]
Tue Nov 13 23:46:44 2007 WST (2 years ago) by nfreear
Branch: MAIN
Changes since 1.983: +6 -4 lines
Diff to previous 1.983
MDL-12153, "Validome - moodle.org invalid - require Content-Script-Type".

Revision 1.983 - (view) (download) (annotate) - [select for diffs]
Mon Nov 12 20:17:24 2007 WST (2 years ago) by urs_hunkler
Branch: MAIN
Changes since 1.982: +3 -3 lines
Diff to previous 1.982
merged from 1.9 :: MDL-12093

Revision 1.982 - (view) (download) (annotate) - [select for diffs]
Sat Nov 10 23:53:54 2007 WST (2 years ago) by urs_hunkler
Branch: MAIN
Changes since 1.981: +18 -2 lines
Diff to previous 1.981
merged from 1.9 :: MDL-12093 :: added function get_in_popup()

Revision 1.981 - (view) (download) (annotate) - [select for diffs]
Sun Oct 28 07:01:39 2007 WST (2 years ago) by skodak
Branch: MAIN
Changes since 1.980: +12 -2 lines
Diff to previous 1.980
support for styles.php in grade reports

Revision 1.980 - (view) (download) (annotate) - [select for diffs]
Mon Oct 22 17:21:11 2007 WST (2 years, 1 month ago) by nfreear
Branch: MAIN
Changes since 1.979: +8 -5 lines
Diff to previous 1.979
Fix for reopened bug MDL-7878, "Link identification and skipping" - includes site and course index.php.

Revision 1.979 - (view) (download) (annotate) - [select for diffs]
Mon Oct 22 14:43:04 2007 WST (2 years, 1 month ago) by nfreear
Branch: MAIN
Changes since 1.978: +18 -2 lines
Diff to previous 1.978
Partial fix for reopened bug MDL-7878, "Link identification and skipping" - affects all course formats + other files.

Revision 1.978 - (view) (download) (annotate) - [select for diffs]
Thu Oct 18 04:21:17 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.977: +5 -2 lines
Diff to previous 1.977
MDL-11061 - admin notifications about $CFG->wwwroot, which sometimes lead to obscure errors. Merged from MOODLE_19_STABLE.

Revision 1.977 - (view) (download) (annotate) - [select for diffs]
Mon Oct 15 18:04:41 2007 WST (2 years, 1 month ago) by nfreear
Branch: MAIN
Changes since 1.976: +3 -3 lines
Diff to previous 1.976
Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use.

Revision 1.976 - (view) (download) (annotate) - [select for diffs]
Fri Oct 12 23:11:57 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.975: +9 -4 lines
Diff to previous 1.975
MDL-11699 - Making one more common case a bit nicer for callers. Merged from MOODLE_19_STABLE.

Revision 1.975 - (view) (download) (annotate) - [select for diffs]
Fri Oct 12 18:36:11 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.974: +37 -13 lines
Diff to previous 1.974
MDL-11699 - Further, backwards-compatible, improvement to the build navigation API to simplify a common case. Also, further improvements to the doc comment, so it is easy to use. Merged from MOODLE_19_STABLE.

Revision 1.974 - (view) (download) (annotate) - [select for diffs]
Fri Oct 12 00:45:43 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.973: +3 -3 lines
Diff to previous 1.973
MDL-11699 - Addendum - fix typo in fixup code. Sorry.

Revision 1.973 - (view) (download) (annotate) - [select for diffs]
Fri Oct 12 00:35:20 2007 WST (2 years, 1 month ago) by nfreear
Branch: MAIN
Changes since 1.972: +6 -8 lines
Diff to previous 1.972
Fixes MDL-11695, Skip block links inaccessible for many keyboard-only users

Revision 1.972 - (view) (download) (annotate) - [select for diffs]
Thu Oct 11 23:25:27 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.971: +6 -8 lines
Diff to previous 1.971
Small tidy-up in print_header_simple. Merged from MOODLE_19_STABLE.

Revision 1.971 - (view) (download) (annotate) - [select for diffs]
Thu Oct 11 19:52:34 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.970: +32 -29 lines
Diff to previous 1.970
MDL-11699 - Addendum - rewrite the other half of the function too, so I can understand what it is doing, and fix a couple of minor logic errors along the way. Merged from MOODLE_19_STABLE.

Revision 1.970 - (view) (download) (annotate) - [select for diffs]
Thu Oct 11 00:02:45 2007 WST (2 years, 1 month ago) by jmg324
Branch: MAIN
CVS Tags: MOODLE_19_BETA
Branch point for: MOODLE_19_STABLE
Changes since 1.969: +3 -3 lines
Diff to previous 1.969
MDL-10296 adding in the global for https

Revision 1.969 - (view) (download) (annotate) - [select for diffs]
Wed Oct 10 22:00:41 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.968: +61 -18 lines
Diff to previous 1.968
MDL-11699 - Make build_navigation more helpful by having it optionally build the activity and activityinstance links too, if you pass a $cm object. Note that this only does extra DB queries if you do pass a $cm object, and it does not have all the required fields, but in this case it will winge at you in developer debug mode. If you get your $cm using get_coursemodule_from_instance or get_coursemodule_from_id, which is best practice these days, then you won't have a problem.

Revision 1.968 - (view) (download) (annotate) - [select for diffs]
Wed Oct 10 13:29:28 2007 WST (2 years, 1 month ago) by nicolasconnault
Branch: MAIN
Changes since 1.967: +3 -3 lines
Diff to previous 1.967
Updated copyright notice in header

Revision 1.967 - (view) (download) (annotate) - [select for diffs]
Wed Oct 10 00:56:00 2007 WST (2 years, 1 month ago) by sam_marshall
Branch: MAIN
Changes since 1.966: +4 -3 lines
Diff to previous 1.966
MDL-11681 Changed it so current tab no longer is a link to #

Revision 1.966 - (view) (download) (annotate) - [select for diffs]
Mon Oct 8 13:11:15 2007 WST (2 years, 1 month ago) by moodler
Branch: MAIN
Changes since 1.965: +3 -3 lines
Diff to previous 1.965
Fixed typo from MDL-11642, thanks Gary

Revision 1.965 - (view) (download) (annotate) - [select for diffs]
Mon Oct 8 08:42:41 2007 WST (2 years, 1 month ago) by toyomoyo
Branch: MAIN
Changes since 1.964: +3 -3 lines
Diff to previous 1.964
using correct capability for displaying activity report link in print_user()

Revision 1.964 - (view) (download) (annotate) - [select for diffs]
Fri Oct 5 23:06:39 2007 WST (2 years, 1 month ago) by skodak
Branch: MAIN
Changes since 1.963: +3 -3 lines
Diff to previous 1.963
MDL-11521 fixed problems when creating contexts and aprents does not exist yet
MDL-11527 fixed warning from $CFG->defaultuserroleid when installing and upgrading
+ removed reusing of previous contexts in has_capability() and get_context_instance()  because it was hiding critical errors when context was false, not specified, etc.
+ tweaked roles defaults - faster and defaults are applied when roles exist
+ SYSCONTEXTID may be specified in config.php to eliminate 1 db query
+ static context cache is now reset after rebuilding of context paths
+ path field in context table is now nullable - pg compatibility requirement
+ other minor fixes

Revision 1.963 - (view) (download) (annotate) - [select for diffs]
Fri Oct 5 14:32:53 2007 WST (2 years, 1 month ago) by moodler
Branch: MAIN
Changes since 1.962: +5 -5 lines
Diff to previous 1.962
Small efficiency improvement for print_user_picture() when it does access the db

Revision 1.962 - (view) (download) (annotate) - [select for diffs]
Fri Oct 5 14:31:11 2007 WST (2 years, 1 month ago) by toyomoyo
Branch: MAIN
Changes since 1.961: +6 -3 lines
Diff to previous 1.961
MDL-11549, print_user() should also check user context when printing activity report link

Revision 1.961 - (view) (download) (annotate) - [select for diffs]
Wed Oct 3 07:08:00 2007 WST (2 years, 1 month ago) by skodak
Branch: MAIN
Changes since 1.960: +5 -5 lines
Diff to previous 1.960
MDL-11568 warnings - can not use $USER->property when not logged in - quick fix, please review last commits

Revision 1.960 - (view) (download) (annotate) - [select for diffs]
Wed Oct 3 02:49:04 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.959: +18 -6 lines
Diff to previous 1.959
PHP docs for choose_from_menu function. Merged from MOODLE_18_STABLE.

Revision 1.959 - (view) (download) (annotate) - [select for diffs]
Wed Oct 3 00:14:39 2007 WST (2 years, 1 month ago) by donal72
Branch: MAIN
Changes since 1.958: +18 -4 lines
Diff to previous 1.958
Choose the correct theme for SSO-authenticated users. Roaming themes

Revision 1.958 - (view) (download) (annotate) - [select for diffs]
Thu Sep 27 16:18:28 2007 WST (2 years, 1 month ago) by skodak
Branch: MAIN
Changes since 1.957: +5 -5 lines
Diff to previous 1.957
MDL-11442 removed last instances of global $course

Revision 1.957 - (view) (download) (annotate) - [select for diffs]
Thu Sep 27 01:48:27 2007 WST (2 years, 1 month ago) by tjhunt
Branch: MAIN
Changes since 1.956: +6 -5 lines
Diff to previous 1.956
Comment out an if (ajaxenabled()) check that was stopping any javascript included with require_js before print_header from being included, (but not js included afterwareds). See
http://moodle.org/mod/forum/discuss.php?d=81050 for discussion.

Revision 1.956 - (view) (download) (annotate) - [select for diffs]
Wed Sep 26 20:44:35 2007 WST (2 years, 1 month ago) by nfreear
Branch: MAIN
Changes since 1.955: +4 -4 lines
Diff to previous 1.955
Fixes "Notice: Undefined property: stdClass::$hideactivitytypenavlink..."

Revision 1.955 - (view) (download) (annotate) - [select for diffs]
Tue Sep 25 22:02:53 2007 WST (2 years, 2 months ago) by skodak
Branch: MAIN
Changes since 1.954: +2 -4 lines
Diff to previous 1.954
MDL-11413 I hope now it is correct solution

Revision 1.954 - (view) (download) (annotate) - [select for diffs]
Tue Sep 25 19:33:30 2007 WST (2 years, 2 months ago) by nfreear
Branch: MAIN
Changes since 1.953: +22 -8 lines
Diff to previous 1.953
MDL-11436, Encapsulate "accesshide" HTML class in function.

Revision 1.953 - (view) (download) (annotate) - [select for diffs]
Mon Sep 24 23:24:21 2007 WST (2 years, 2 months ago) by skodak
Branch: MAIN
Changes since 1.952: +4 -4 lines
Diff to previous 1.952
MDL-11413 revisited

Revision 1.952 - (view) (download) (annotate) - [select for diffs]
Mon Sep 24 19:08:02 2007 WST (2 years, 2 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.951: +10 -2 lines
Diff to previous 1.951
MDL-11370 :: added a global var $THEME->customcornersopen to track properly closed custom corners divs. In function print_footer I added a check if some custom_corneres divs are still open and eventually close them.

Revision 1.951 - (view) (download) (annotate) - [select for diffs]
Sun Sep 23 20:28:03 2007 WST (2 years, 2 months ago) by skodak
Branch: MAIN
Changes since 1.950: +3 -2 lines
Diff to previous 1.950
MDL-11413 improved text cleaning (problem reported by Andreas Nolden)

Revision 1.950 - (view) (download) (annotate) - [select for diffs]
Sun Sep 23 20:20:29 2007 WST (2 years, 2 months ago) by skodak
Branch: MAIN
Changes since 1.949: +3 -2 lines
Diff to previous 1.949
MDL-11413 improved text cleaning (problem reported by Andreas Nolden)

Revision 1.949 - (view) (download) (annotate) - [select for diffs]
Sat Sep 22 01:28:16 2007 WST (2 years, 2 months ago) by stronk7
Branch: MAIN
Changes since 1.948: +3 -3 lines
Diff to previous 1.948
Now XML strict headers are controlled by new setting
(xmlstrictheaders) separating it from debug->developer. MDL-11216

Revision 1.948 - (view) (download) (annotate) - [select for diffs]
Thu Sep 20 17:18:24 2007 WST (2 years, 2 months ago) by jmg324
Branch: MAIN
Changes since 1.947: +9 -5 lines
Diff to previous 1.947
MDL-10296 made print_user_picture cater for https possibility in user/edit

Revision 1.947 - (view) (download) (annotate) - [select for diffs]
Wed Sep 19 15:55:29 2007 WST (2 years, 2 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.946: +3 -3 lines
Diff to previous 1.946
weblib: print_user_picture() fix typoed classname when faking user object

Revision 1.946 - (view) (download) (annotate) - [select for diffs]
Wed Sep 19 15:52:42 2007 WST (2 years, 2 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.945: +14 -3 lines
Diff to previous 1.945
weblib: build_navigation() try to avoid pointless capchecks

Prevent calls to has_capability() in build_navigation() from messing
with upgrades.

Most calls to has_capability() in weblib should be moved to the callers.

Revision 1.945 - (view) (download) (annotate) - [select for diffs]
Wed Sep 19 15:19:35 2007 WST (2 years, 2 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.944: +52 -9 lines
Diff to previous 1.944
weblib: print_user()/print_user_picture() optimisations

print_user_picture() was forcing an unneeded dbquery
if you need an imagealt. And who doesn't need one these days.

So - teach print_user_picture() to take either $userid
_or_ $userobj as the first parameter. If that first
parameter has the fields we need, never touch the db.

In other words, only touch the DB as a last resort.

There is a bit of ugliness in testing whether we have
the fields or not, because these fields are inconsistently
with/without NOT NULL in the DB definitions. So we cannot
use isset() because it barfs on nulls. And we cannot use empty()
because it will match both on "missing key" and ''.

And while at it, silence warnings that we are missing string
for the year(s). Also fixes a missing string bug in really boring
courses that noone's visitied in many years ;-)

Revision 1.944 - (view) (download) (annotate) - [select for diffs]
Wed Sep 19 15:06:17 2007 WST (2 years, 2 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.943: +5 -5 lines
Diff to previous 1.943
weblib: switchroles_form() user_login_string() handle the new switchroles

The switched role data bits have moved to a
different place in the session. Trivial to fix here.

Revision 1.943 - (view) (download) (annotate) - [select for diffs]
Wed Sep 19 14:52:52 2007 WST (2 years, 2 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.942: +18 -18 lines
Diff to previous 1.942
weblib:update_course_icon() - remove access control from here

Access control for the course icon display should happen
at the page level, as we'll need to ask "can edit?" quite
a few times in the page.

The fact that this is weblib should be a good hint that
functions that print html should not be doing access control...

Revision 1.942 - (view) (download) (annotate) - [select for diffs]
Sun Sep 16 03:36:31 2007 WST (2 years, 2 months ago) by skodak
Branch: MAIN
Changes since 1.941: +7 -4 lines
Diff to previous 1.941
MDL-11295 editorshortcutshelpbutton breaking xhtml strict

Revision 1.941 - (view) (download) (annotate) - [select for diffs]
Wed Sep 12 10:57:27 2007 WST (2 years, 2 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.940: +4 -4 lines
Diff to previous 1.940
PERF logging - move handling to moodle_request_shutdown()

By moving the performance profile logging to the very
end of PHP processing, we cover more pages, notably those
that don't end up with a footer or a redirect, like file
serving.

This should improve quality of our performance logs, and
help catch some piggies...

Revision 1.940 - (view) (download) (annotate) - [select for diffs]
Wed Sep 12 10:57:08 2007 WST (2 years, 2 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.939: +10 -2 lines
Diff to previous 1.939
redirect() - log performance profiling info

Many heavy pages end in a redirect. Log their profiling data!

Thanks to Matt Clarkson for spotting the problem.

Revision 1.939 - (view) (download) (annotate) - [select for diffs]
Fri Aug 31 11:45:59 2007 WST (2 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.938: +4 -4 lines
Diff to previous 1.938
Fixed some notices on some custom pages

Revision 1.938 - (view) (download) (annotate) - [select for diffs]
Thu Aug 30 14:01:57 2007 WST (2 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.937: +7 -3 lines
Diff to previous 1.937
Merged fixes for MDL-7425 from 1.8 stable

Revision 1.937 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 17:40:14 2007 WST (2 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.936: +3 -3 lines
Diff to previous 1.936
The home page is the only exception to the rule of navigation

Revision 1.936 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 13:17:11 2007 WST (2 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.935: +3 -3 lines
Diff to previous 1.935
Removed unnecessary BR

Revision 1.935 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 12:36:09 2007 WST (2 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.934: +9 -5 lines
Diff to previous 1.934
Don't include AJAX libraries is AJAX is off across the site

Revision 1.934 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 07:47:24 2007 WST (2 years, 2 months ago) by mattc-catalyst
Branch: MAIN
Changes since 1.933: +3 -2 lines
Diff to previous 1.933
MDL-10888: groupings - added function to get all grouping members, cleaned up some notices

Revision 1.933 - (view) (download) (annotate) - [select for diffs]
Sat Aug 25 19:28:38 2007 WST (2 years, 3 months ago) by skodak
Branch: MAIN
Changes since 1.932: +3 -26 lines
Diff to previous 1.932
MDL-10635 improved performance of update_course_icon() and friends; fixed parameter of iseditting() - removed $userid which was not used and did not make much sense there anyway

Revision 1.932 - (view) (download) (annotate) - [select for diffs]
Fri Aug 24 20:45:17 2007 WST (2 years, 3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.931: +87 -2 lines
Diff to previous 1.931
MDL-10970 Reverted changes

Revision 1.931 - (view) (download) (annotate) - [select for diffs]
Fri Aug 24 12:22:35 2007 WST (2 years, 3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.930: +65 -71 lines
Diff to previous 1.930
MDL-10723 Removed all uses of print_navigation() throughout moodle, the function call is now entirely deprecated.

Revision 1.930 - (view) (download) (annotate) - [select for diffs]
Wed Aug 22 06:08:54 2007 WST (2 years, 3 months ago) by skodak
Branch: MAIN
Changes since 1.929: +6 -3 lines
Diff to previous 1.929
MDL-10937  upgraded html purifier to 2.1.1

Revision 1.929 - (view) (download) (annotate) - [select for diffs]
Tue Aug 21 11:18:19 2007 WST (2 years, 3 months ago) by mattc-catalyst
Branch: MAIN
Changes since 1.928: +6 -2 lines
Diff to previous 1.928
MDL-10888: groupings - make 'jump to...' menu respect groupmembersonly flag

Revision 1.928 - (view) (download) (annotate) - [select for diffs]
Mon Aug 20 21:56:39 2007 WST (2 years, 3 months ago) by skodak
Branch: MAIN
Changes since 1.927: +2 -77 lines
Diff to previous 1.927
MDL-10383 - some more refactoring and new grouping related functions for modules

Revision 1.927 - (view) (download) (annotate) - [select for diffs]
Fri Aug 17 15:25:48 2007 WST (2 years, 3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.926: +16 -16 lines
Diff to previous 1.926
MDL-10870 All files updated to new build_navigation() method.

Revision 1.926 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 04:33:18 2007 WST (2 years, 3 months ago) by skodak
Branch: MAIN
Changes since 1.925: +2 -26 lines
Diff to previous 1.925
MDL-10383 - group edit form refactoring and minor bugfixing

Revision 1.925 - (view) (download) (annotate) - [select for diffs]
Sun Aug 12 17:58:23 2007 WST (2 years, 3 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.924: +17 -6 lines
Diff to previous 1.924
$THEME->htmleditorpostprocess merged from 1.8

Revision 1.924 - (view) (download) (annotate) - [select for diffs]
Fri Aug 10 18:37:30 2007 WST (2 years, 3 months ago) by tjhunt
Branch: MAIN
Changes since 1.923: +3 -3 lines
Diff to previous 1.923
Accessing wrong field of $mod from course.modinfo. Merged from MOODLE_17_STABLE.

Revision 1.923 - (view) (download) (annotate) - [select for diffs]
Thu Aug 9 18:09:34 2007 WST (2 years, 3 months ago) by moodler
Branch: MAIN
Changes since 1.922: +2 -13 lines
Diff to previous 1.922
Removing the langdir stuff from themes

Revision 1.922 - (view) (download) (annotate) - [select for diffs]
Thu Aug 9 16:40:02 2007 WST (2 years, 3 months ago) by moodler
Branch: MAIN
Changes since 1.921: +47 -3 lines
Diff to previous 1.921
More support for right-to-left languages  MDL-10768

Revision 1.921 - (view) (download) (annotate) - [select for diffs]
Mon Aug 6 13:49:49 2007 WST (2 years, 3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.920: +4 -4 lines
Diff to previous 1.920
MDL-9775 Reverting Urs' dot, so that martin can play around with this issue.

Revision 1.920 - (view) (download) (annotate) - [select for diffs]
Sun Aug 5 18:33:39 2007 WST (2 years, 3 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.919: +4 -4 lines
Diff to previous 1.919
Nicolas' changes to custom_corners has broken the theme. I decided to use the same method as clearfix by adding a "." and not a "&nbsp;". Some additional CSS is needed either way.

Revision 1.919 - (view) (download) (annotate) - [select for diffs]
Sat Aug 4 05:41:09 2007 WST (2 years, 3 months ago) by luizlaydner
Branch: MAIN
Changes since 1.918: +28 -2 lines
Diff to previous 1.918
- added block support for tag pages

Revision 1.918 - (view) (download) (annotate) - [select for diffs]
Fri Aug 3 19:55:29 2007 WST (2 years, 3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.917: +4 -4 lines
Diff to previous 1.917
MDL-9775 Added &nbsp; inside the <div></div> for class="bt" and class="bb", for custom corners theme
MDL-10702 Finished fixing the CSS

Revision 1.917 - (view) (download) (annotate) - [select for diffs]
Wed Aug 1 22:08:55 2007 WST (2 years, 3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.916: +12 -9 lines
Diff to previous 1.916
MDL-10674 and MDL-10675 finished

Revision 1.916 - (view) (download) (annotate) - [select for diffs]
Wed Aug 1 00:19:53 2007 WST (2 years, 3 months ago) by moodler
Branch: MAIN
Changes since 1.915: +18 -4 lines
Diff to previous 1.915
Merged fix for doc links MDL-10670 from 1.8 stable

Revision 1.915 - (view) (download) (annotate) - [select for diffs]
Mon Jul 30 04:47:55 2007 WST (2 years, 3 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.914: +6 -5 lines
Diff to previous 1.914
MDL-10075 - changes done following Petr's patch and optional_param with default ltr

Revision 1.914 - (view) (download) (annotate) - [select for diffs]
Wed Jul 25 22:50:37 2007 WST (2 years, 4 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.913: +15 -5 lines
Diff to previous 1.913
removed <br /> in sitelink

Revision 1.913 - (view) (download) (annotate) - [select for diffs]
Wed Jul 25 01:17:52 2007 WST (2 years, 4 months ago) by tjhunt
Branch: MAIN
Changes since 1.912: +9 -4 lines
Diff to previous 1.912
MDL-10589 - make the forum subscribe link a post form button.

Revision 1.912 - (view) (download) (annotate) - [select for diffs]
Tue Jul 24 00:54:16 2007 WST (2 years, 4 months ago) by tjhunt
Branch: MAIN
Changes since 1.911: +3 -3 lines
Diff to previous 1.911
Improve javadocs.

Revision 1.911 - (view) (download) (annotate) - [select for diffs]
Mon Jul 23 01:34:41 2007 WST (2 years, 4 months ago) by skodak
Branch: MAIN
Changes since 1.910: +8 -4 lines
Diff to previous 1.910
MDL-10566 do not redirect when dubug message printed; do not redirect also in DEBUG_ALL mode when error found - the DEBUG_DEVELOPER is not used by all developers all the time ;-)

Revision 1.910 - (view) (download) (annotate) - [select for diffs]
Thu Jul 19 05:06:40 2007 WST (2 years, 4 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.909: +15 -7 lines
Diff to previous 1.909
corrected an error in the sideblock structure for custom corners

Revision 1.909 - (view) (download) (annotate) - [select for diffs]
Thu Jul 19 03:51:11 2007 WST (2 years, 4 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.908: +3 -3 lines
Diff to previous 1.908
corrected a wrong closing div

Revision 1.908 - (view) (download) (annotate) - [select for diffs]
Wed Jul 18 23:41:26 2007 WST (2 years, 4 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.907: +4 -4 lines
Diff to previous 1.907
added a wrapper div to be able to handle content shorter than the side columns

Revision 1.907 - (view) (download) (annotate) - [select for diffs]
Sun Jul 15 23:15:30 2007 WST (2 years, 4 months ago) by skodak
Branch: MAIN
Changes since 1.906: +3 -3 lines
Diff to previous 1.906
MDL-8096 fixed & in htmlarea httpsrequired parameter - xhtml strict fix

Revision 1.906 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 00:36:42 2007 WST (2 years, 4 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.905: +8 -8 lines
Diff to previous 1.905
MDL-10386 Refactored the grader report file (index.php), and extracted the grade_report_grader class out of it. The index file now only calls upon the class' main methods. Certain elements and code blocks in the class can be abstracted for other reports (such as the paging, sorting arrows and several general purpose variables).

Revision 1.905 - (view) (download) (annotate) - [select for diffs]
Sun Jul 8 22:57:21 2007 WST (2 years, 4 months ago) by skodak
Branch: MAIN
Branch point for: MOODLE_19_CLI
Changes since 1.904: +3 -3 lines
Diff to previous 1.904
MDL-10226 improved regrading of final grades - optimised db access, partial regrading when raw grade updated

Revision 1.904 - (view) (download) (annotate) - [select for diffs]
Fri Jul 6 19:29:25 2007 WST (2 years, 4 months ago) by tjhunt
Branch: MAIN
Changes since 1.903: +11 -4 lines
Diff to previous 1.903
Small improvement to print_table. Lets you apply a class attribute to particular table rows.

Revision 1.903 - (view) (download) (annotate) - [select for diffs]
Thu Jul 5 14:53:17 2007 WST (2 years, 4 months ago) by toyomoyo
Branch: MAIN
Changes since 1.902: +7 -3 lines
Diff to previous 1.902
MDL-7077, MDL-10181, adding notes for students

Revision 1.902 - (view) (download) (annotate) - [select for diffs]
Thu Jul 5 12:40:57 2007 WST (2 years, 4 months ago) by mattc-catalyst
Branch: MAIN
Changes since 1.901: +4 -4 lines
Diff to previous 1.901
MDL-9615: Correct incorrect use of term breadcrumbs

- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>

Revision 1.901 - (view) (download) (annotate) - [select for diffs]
Wed Jul 4 18:01:28 2007 WST (2 years, 4 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.900: +50 -2 lines
Diff to previous 1.900
MDL-10210 Added the grader report admin settings, and its corresponding language strings. Few other minor edits.

Revision 1.900 - (view) (download) (annotate) - [select for diffs]
Wed Jul 4 04:17:54 2007 WST (2 years, 4 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.899: +3 -3 lines
Diff to previous 1.899
working on MDL-10322 :: tabs. I added a space before the closing </li> to close the gap between the li elements used without images. I don't know why this space is necessary.

Revision 1.899 - (view) (download) (annotate) - [select for diffs]
Fri Jun 29 03:18:11 2007 WST (2 years, 4 months ago) by mchurch
Branch: MAIN
Changes since 1.898: +8 -5 lines
Diff to previous 1.898
Bug MDL-8520. Adding target= to the prev/next and logs buttons.

Revision 1.898 - (view) (download) (annotate) - [select for diffs]
Wed Jun 27 19:58:33 2007 WST (2 years, 4 months ago) by skodak
Branch: MAIN
Changes since 1.897: +6 -2 lines
Diff to previous 1.897
MDL-10276 Text cleaning trouble

Revision 1.897 - (view) (download) (annotate) - [select for diffs]
Tue Jun 26 04:50:17 2007 WST (2 years, 5 months ago) by mchurch
Branch: MAIN
Changes since 1.896: +7 -6 lines
Diff to previous 1.896
Fixing update_group_button and update_groups_button. They were no longer calling valid URL's.

Revision 1.896 - (view) (download) (annotate) - [select for diffs]
Sat Jun 23 20:21:59 2007 WST (2 years, 5 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.895: +18 -6 lines
Diff to previous 1.895
Add an option $CFG->CSSEdit or $THEME->CSSEdit to Moodle. If one of both is set to true, Moodle does not write all CSS code in one single CSS file but adds CSS @include to the theme CSS file to load all single CSS files. These single CSS files can then be interactively edited and saved with CSSEdit. It's like Firebug with direct saving your changes.

Revision 1.895 - (view) (download) (annotate) - [select for diffs]
Tue Jun 19 23:21:27 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.894: +4 -3 lines
Diff to previous 1.894
elaborated phpdoc comment slightly for  doc_link

Revision 1.894 - (view) (download) (annotate) - [select for diffs]
Tue Jun 19 22:44:02 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.893: +95 -82 lines
Diff to previous 1.893
refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page.

Revision 1.893 - (view) (download) (annotate) - [select for diffs]
Sun Jun 10 21:54:38 2007 WST (2 years, 5 months ago) by urs_hunkler
Branch: MAIN
Changes since 1.892: +4 -0 lines
Diff to previous 1.892
MDL-9977 and MDL-8446  - added body class 'ltr'/'rtl' for language direction to support themes for 'rtl' languages.

Revision 1.892 - (view) (download) (annotate) - [select for diffs]
Fri Jun 1 16:01:47 2007 WST (2 years, 5 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.891: +4 -3 lines
Diff to previous 1.891
MDL-9137 Almost finished the edit category page. The only remaining issue is some sort of endless loop starting in grade_category::set_as_parent. Big issue...

Revision 1.891 - (view) (download) (annotate) - [select for diffs]
Tue May 29 14:27:38 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.890: +13 -16 lines
Diff to previous 1.890
reverting commit 1.889 "added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&amp;'. &amp; breaks redirect on IE."  It turned out to be unnecessary.

Revision 1.890 - (view) (download) (annotate) - [select for diffs]
Tue May 29 14:14:09 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.889: +3 -3 lines
Diff to previous 1.889
fixed bug in parsing urls

Revision 1.889 - (view) (download) (annotate) - [select for diffs]
Mon May 28 22:25:40 2007 WST (2 years, 5 months ago) by jamiesensei
Branch: MAIN
Changes since 1.888: +16 -13 lines
Diff to previous 1.888
added another parameter to moodle_url out, out_action and get_query_string so that developer can output url with query string joined by '&' and not '&amp;'. &amp; breaks redirect on IE.

Revision 1.888 - (view) (download) (annotate) - [select for diffs]
Mon May 28 06:55:52 2007 WST (2 years, 5 months ago) by skodak
Branch: MAIN
Changes since 1.887: +38 -20 lines
Diff to previous 1.887
MDL-9959 debugging() shows warnings when called from call_user_func() functions
MDL-9958 addslashes_recursive() and stripslashes_recursive() modifies function parameter in PHP5

Revision 1.887 - (view) (download) (annotate) - [select for diffs]
Tue May 22 21:25:31 2007 WST (2 years, 6 months ago) by tjhunt
Branch: MAIN
Changes since 1.886: +4 -2 lines
Diff to previous 1.886
When using DEBUG_DEVELOPER, make error(...) output a stack trace.

Revision 1.886 - (view) (download) (annotate) - [select for diffs]
Tue May 22 16:59:56 2007 WST (2 years, 6 months ago) by nfreear
Branch: MAIN
Changes since 1.885: +8 -8 lines
Diff to previous 1.885
Follow up for MDL-9753, accepts HTML for $text param (THEME->larrow, rarrow don't work in stock IE6).

Revision 1.885 - (view) (download) (annotate) - [select for diffs]
Mon May 21 01:05:27 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MAIN
Changes since 1.884: +3 -2 lines
Diff to previous 1.884
adding quoting to output of hidden params in moodle_url

Revision 1.884 - (view) (download) (annotate) - [select for diffs]
Sun May 20 22:05:49 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MAIN
Changes since 1.883: +6 -3 lines
Diff to previous 1.883
small additions to comments on moodle_url

Revision 1.883 - (view) (download) (annotate) - [select for diffs]
Wed May 16 16:03:37 2007 WST (2 years, 6 months ago) by moodler
Branch: MAIN
Changes since 1.882: +15 -6 lines
Diff to previous 1.882
Merged MDL-9826 from stable

Revision 1.882 - (view) (download) (annotate) - [select for diffs]
Wed May 16 02:33:29 2007 WST (2 years, 6 months ago) by skodak
Branch: MAIN
Changes since 1.881: +14 -7 lines
Diff to previous 1.881
MDL-9780 Groups 181 cleanup - merged from MOODLE_18_STABLE

Revision 1.881 - (view) (download) (annotate) - [select for diffs]
Mon May 14 21:28:21 2007 WST (2 years, 6 months ago) by nfreear
Branch: MAIN
Changes since 1.880: +78 -28 lines
Diff to previous 1.880
Follow-up fix bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6".

Revision 1.880 - (view) (download) (annotate) - [select for diffs]
Wed May 9 23:11:21 2007 WST (2 years, 6 months ago) by urs_hunkler
Branch: MAIN
Branch point for: MOODLE_19_QUESTIONS
Changes since 1.879: +16 -14 lines
Diff to previous 1.879
added/changed custom corners lib and calls to add the necessary divs

Revision 1.879 - (view) (download) (annotate) - [select for diffs]
Wed May 9 22:15:33 2007 WST (2 years, 6 months ago) by nfreear
Branch: MAIN
Changes since 1.878: +45 -18 lines
Diff to previous 1.878
Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6"

Revision 1.878 - (view) (download) (annotate) - [select for diffs]
Wed May 9 14:49:23 2007 WST (2 years, 6 months ago) by moodler
Branch: MAIN
Changes since 1.877: +6 -3 lines
Diff to previous 1.877
Added CSS class for current language to every page  MDL-9750

Revision 1.877 - (view) (download) (annotate) - [select for diffs]
Tue May 8 23:07:25 2007 WST (2 years, 6 months ago) by poltawski
Branch: MAIN
Changes since 1.876: +7 -7 lines
Diff to previous 1.876
MDL-9742 - changed tabs to spaces in a few places where there are one
or two

Revision 1.876 - (view) (download) (annotate) - [select for diffs]
Fri May 4 13:45:33 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MAIN
Changes since 1.875: +8 -4 lines
Diff to previous 1.875
added a param to moodle_url constructor to provide params as an array just as a convenience to quickly construct a url with an array of params.

Revision 1.875 - (view) (download) (annotate) - [select for diffs]
Thu May 3 18:03:59 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MAIN
Changes since 1.874: +36 -12 lines
Diff to previous 1.874
change to print_paging_bar function to optionally support the use of a moodle_url object as a parameter instead of a string.

small changes to moodle_url class

Revision 1.874 - (view) (download) (annotate) - [select for diffs]
Thu May 3 12:34:53 2007 WST (2 years, 6 months ago) by jamiesensei
Branch: MAIN
Changes since 1.873: +133 -2 lines
Diff to previous 1.873
MDL-9644 new class 'moodle_url' in weblib.php to handle constructing a url. It would internally stores params as an array and have methods to manipulate the array. The class can also output the params as hidden fields in a form or as a url with get params appended.

Revision 1.873 - (view) (download) (annotate) - [select for diffs]
Wed May 2 17:35:35 2007 WST (2 years, 6 months ago) by ikawhero
Branch: MAIN
Changes since 1.872: +99 -15 lines
Diff to previous 1.872
1. Changes to allow different priorities in the theme selection based on
CFG->themeorder setting

2. Changes to allow category themes. Theme can now be set for a category
which will apply to all sub-categories (unless they specifically have a
theme set) and to child courses (course theme and $CFG->themeorder
settings permitting). New config setting $CFG->allowcategorythemes must
be set. Off by default as it means extra database calls.

There is an ugly hack to find out if we are viewing course/category.php -
anyone welcome to tidy this up if they have a better idea.

GUI for setting category theme coming.

Revision 1.872 - (view) (download) (annotate) - [select for diffs]
Tue May 1 01:28:28 2007 WST (2 years, 6 months ago) by skodak
Branch: MAIN
Changes since 1.871: +8 -19 lines
Diff to previous 1.871
MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
fixed continue button in error() on admin page when link present

Revision 1.871 - (view) (download) (annotate) - [select for diffs]
Tue May 1 01:13:37 2007 WST (2 years, 6 months ago) by skodak
Branch: MAIN
Changes since 1.870: +4 -3 lines
Diff to previous 1.870
MDL-9647 simplify dealing with headers/footers in admin sections; fixed double footers when using print_footer() in admin page

Revision 1.870 - (view) (download) (annotate) - [select for diffs]
Tue May 1 01:08:47 2007 WST (2 years, 6 months ago) by skodak
Branch: MAIN
Changes since 1.869: +17 -14 lines
Diff to previous 1.869
MDL-9647 simplify dealing with headers/footers in admin sections

Revision 1.869 - (view) (download) (annotate) - [select for diffs]
Wed Apr 25 02:53:12 2007 WST (2 years, 7 months ago) by skodak
Branch: MAIN
Changes since 1.868: +4 -4 lines
Diff to previous 1.868
lets prevent detection of strict PHP5 errors in redirect in developer debug mode

Revision 1.868 - (view) (download) (annotate) - [select for diffs]
Wed Apr 25 01:09:12 2007 WST (2 years, 7 months ago) by tjhunt
Branch: MAIN
Changes since 1.867: +3 -2 lines
Diff to previous 1.867
Stop "Undefined variable: ALLOWED_TAGS" errors all over the place.

Revision 1.867 - (view) (download) (annotate) - [select for diffs]
Tue Apr 24 19:59:17 2007 WST (2 years, 7 months ago) by sam_marshall
Branch: MAIN
Changes since 1.866: +5 -3 lines
Diff to previous 1.866
Merged MDL-9556: HTML editor shortcut button should only appear when JS enabled

Revision 1.866 - (view) (download) (annotate) - [select for diffs]
Thu Apr 19 20:18:44 2007 WST (2 years, 7 months ago) by skodak
Branch: MAIN
Changes since 1.865: +4 -2 lines
Diff to previous 1.865
MDL-9151  fixed missing global definition, sorry :-(

Revision 1.865 - (view) (download) (annotate) - [select for diffs]
Thu Apr 19 05:52:49 2007 WST (2 years, 7 months ago) by skodak
Branch: MAIN
Changes since 1.864: +42 -22 lines
Diff to previous 1.864
MDL-9151 HTML Purifier cleaning support - enable switch is in experimental section
MDL-9435 Reviewved url cleaning in redirect()

Revision 1.864 - (view) (download) (annotate) - [select for diffs]
Wed Apr 18 04:42:29 2007 WST (2 years, 7 months ago) by skodak
Branch: MAIN
Changes since 1.863: +4 -4 lines
Diff to previous 1.863
MDL-9416 Double quotes and tags in helpable item breaks XHTML strict; merged from MOODLE_18_STABLE

Revision 1.863 - (view) (download) (annotate) - [select for diffs]
Tue Apr 17 04:44:32 2007 WST (2 years, 7 months ago) by mattc-catalyst
Branch: MAIN
Changes since 1.862: +27 -8 lines
Diff to previous 1.862
Breadcrumbs: Core functionality changes

- Added build_navigation function to create an XHTML breadcrumb list and to
  allow filtering of breadcrumbs to remove the activity from the trail.
- modified print_navigation to print the output of build_navigation whilst
  maintaining backward compatibility with old style string breadcrumbs.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>

Revision 1.862 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 05:54:34 2007 WST (2 years, 7 months ago) by skodak
Branch: MAIN
Changes since 1.861: +3 -2 lines
Diff to previous 1.861
MDL-8839 fixed markdown cleaning before editting of existing untrusted text; merged from MOODLE_18_STABLE

Revision 1.861 - (view) (download) (annotate) - [select for diffs]
Thu Apr 12 08:41:31 2007 WST (2 years, 7 months ago) by martinlanghoff
Branch: MAIN
Changes since 1.860: +3 -3 lines
Diff to previous 1.860
Fixed 'off by one' month bug in month select boxes generated by
print_date_selector when users time zone set to GMT-13.


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt <mattc@catalyst.net.nz>

Revision 1.860 - (view) (download) (annotate) - [select for diffs]
Tue Apr 3 16:34:39 2007 WST (2 years, 7 months ago) by tjhunt
Branch: MAIN
Changes since 1.859: +3 -3 lines
Diff to previous 1.859
Better way to detect whether a function exists in this version of PHP before redefining it.

Revision 1.859 - (view) (download) (annotate) - [select for diffs]
Mon Apr 2 06:19:39 2007 WST (2 years, 7 months ago) by tjhunt
Branch: MAIN
Changes since 1.858: +19 -5 lines
Diff to previous 1.858
Another attempt to get redirect() to not redirect if an error was output to the screen, to make dubuggin easier. Sorry I had not noticed the bit in the docs that says error_get_last was PHP 5.2.0+.

Revision 1.858 - (view) (download) (annotate) - [select for diffs]
Sat Mar 31 10:34:06 2007 WST (2 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.857: +3 -3 lines
Diff to previous 1.857
Making redirects work again

Revision 1.857 - (view) (download) (annotate) - [select for diffs]
Sat Mar 31 10:30:56 2007 WST (2 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.856: +3 -3 lines
Diff to previous 1.856
error_get_last() ?   What's that?

Revision 1.856 - (view) (download) (annotate) - [select for diffs]
Fri Mar 23 17:01:02 2007 WST (2 years, 8 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.855: +36 -19 lines
Diff to previous 1.855
MDL-8922 More work on fixing RSS block XHTML

Revision 1.855 - (view) (download) (annotate) - [select for diffs]
Fri Mar 23 01:43:48 2007 WST (2 years, 8 months ago) by tjhunt
Branch: MAIN
Changes since 1.854: +15 -7 lines
Diff to previous 1.854
Make debugging more helpful by printing a full stack trace.

Revision 1.854 - (view) (download) (annotate) - [select for diffs]
Fri Mar 23 01:37:55 2007 WST (2 years, 8 months ago) by skodak
Branch: MAIN
Changes since 1.853: +3 -3 lines
Diff to previous 1.853
MDL-9007 weblib.php breaks upper-case hex Numeric Character References; patch by Gareth Morgan; merged from MOODLE_18_STABLE

Revision 1.853 - (view) (download) (annotate) - [select for diffs]
Wed Mar 21 05:47:57 2007 WST (2 years, 8 months ago) by skodak
Branch: MAIN
Changes since 1.852: +10 -8 lines
Diff to previous 1.852
MDL-8976 smilies alt text was cached in one static cache for all langs; merged from MOODLE_18_STABLE

Revision 1.852 - (view) (download) (annotate) - [select for diffs]
Tue Mar 20 03:54:58 2007 WST (2 years, 8 months ago) by skodak
Branch: MAIN
Changes since 1.851: +7 -7 lines
Diff to