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

Log of /moodle/lib/weblib.php

Parent Directory Parent Directory


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

Revision 1.970.2.148 - (view) (download) (annotate) - [select for diffs]
Thu Nov 19 18:00:30 2009 WST (4 days, 4 hours ago) by skodak
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_19_MERGED, MOODLE_19_WEEKLY
Changes since 1.970.2.147: +15 -15 lines
Diff to previous 1.970.2.147 , to branch point 1.970 , to next main 1.1348 , to selected 1.1344
MDL-20821 reverting untested ereg cleanup, not acceptable for stable, sorry

Revision 1.970.2.147 - (view) (download) (annotate) - [select for diffs]
Thu Nov 19 14:14:54 2009 WST (4 days, 8 hours ago) by andyjdavis
Branch: MOODLE_19_STABLE
Changes since 1.970.2.146: +3 -3 lines
Diff to previous 1.970.2.146 , to branch point 1.970 , to selected 1.1344
validation MDL-20821 Fixed a mistake in validation

Revision 1.970.2.146 - (view) (download) (annotate) - [select for diffs]
Wed Nov 18 15:36:22 2009 WST (5 days, 6 hours ago) by andyjdavis
Branch: MOODLE_19_STABLE
Changes since 1.970.2.145: +15 -15 lines
Diff to previous 1.970.2.145 , to branch point 1.970 , to selected 1.1344
all MDL-20821 Removed ereg related deprecated functions

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

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

Revision 1.970.2.145 - (view) (download) (annotate) - [select for diffs]
Tue Nov 17 11:10:13 2009 WST (6 days, 11 hours ago) by samhemelryk
Branch: MOODLE_19_STABLE
Changes since 1.970.2.144: +3 -3 lines
Diff to previous 1.970.2.144 , to branch point 1.970 , to selected 1.1344
themes MDL-20780 the Moodle release info is no longer shown within the footer

Revision 1.1346 - (view) (download) (annotate) - [select for diffs]
Sun Nov 1 06:02:06 2009 WST (3 weeks, 1 day ago) by skodak
Branch: MAIN
Changes since 1.1345: +16 -18 lines
Diff to previous 1.1345 , to selected 1.1344
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, 3 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) - [selected]
Tue Oct 13 14:45:38 2009 WST (5 weeks, 6 days 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, 4 days ago) by samhemelryk
Branch: MAIN
Changes since 1.1342: +0 -8 lines
Diff to previous 1.1342 , to selected 1.1344
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, 4 days ago) by samhemelryk
Branch: MAIN
Changes since 1.1341: +9 -0 lines
Diff to previous 1.1341 , to selected 1.1344
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, 4 days ago) by tjhunt
Branch: MAIN
Changes since 1.1340: +1 -1 lines
Diff to previous 1.1340 , to selected 1.1344
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, 4 days ago) by tjhunt
Branch: MAIN
Changes since 1.1339: +7 -2 lines
Diff to previous 1.1339 , to selected 1.1344
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, 3 days ago) by samhemelryk
Branch: MAIN
Changes since 1.1338: +2 -2 lines
Diff to previous 1.1338 , to selected 1.1344
core MDL-19791 Replaced deprecated functions, added set_url calls

Revision 1.970.2.144 - (view) (download) (annotate) - [select for diffs]
Thu Sep 24 10:15:12 2009 WST (8 weeks, 4 days ago) by samhemelryk
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_196
Changes since 1.970.2.143: +7 -7 lines
Diff to previous 1.970.2.143 , to branch point 1.970 , to selected 1.1344
weblib MDL-20327 Added CFG->frametarget to the navigation generation code

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 , to selected 1.1344
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 , to selected 1.1344
"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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.1332: +24 -17 lines
Diff to previous 1.1332 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 ago) by nicolasconnault
Branch: MAIN
Changes since 1.1328: +6 -3 lines
Diff to previous 1.1328 , to selected 1.1344
MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify

Revision 1.970.2.143 - (view) (download) (annotate) - [select for diffs]
Tue Aug 18 12:29:11 2009 WST (3 months ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.142: +3 -3 lines
Diff to previous 1.970.2.142 , to branch point 1.970 , to selected 1.1344
"MDL-MDL-20113, fixed hardcoded siteid"

Revision 1.1328 - (view) (download) (annotate) - [select for diffs]
Tue Aug 18 08:18:19 2009 WST (3 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.1327: +1 -1 lines
Diff to previous 1.1327 , to selected 1.1344
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 , to selected 1.1344
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, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.1325: +1 -1 lines
Diff to previous 1.1325 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1314: +0 -44 lines
Diff to previous 1.1314 , to selected 1.1344
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, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1313: +39 -136 lines
Diff to previous 1.1313 , to selected 1.1344
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, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1312: +0 -34 lines
Diff to previous 1.1312 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1307: +0 -108 lines
Diff to previous 1.1307 , to selected 1.1344
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, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1306: +1 -1 lines
Diff to previous 1.1306 , to selected 1.1344
MDL-19756 Removing debugging call

Revision 1.1306 - (view) (download) (annotate) - [select for diffs]
Mon Jul 27 18:33:00 2009 WST (3 months, 3 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1305: +37 -809 lines
Diff to previous 1.1305 , to selected 1.1344
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.970.2.142 - (view) (download) (annotate) - [select for diffs]
Sat Jul 25 08:25:34 2009 WST (3 months, 4 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.141: +3 -3 lines
Diff to previous 1.970.2.141 , to branch point 1.970 , to selected 1.1344
weblib: Grrr! remove PHP5ism

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 , to selected 1.1344
"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 , to selected 1.1344
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 , to selected 1.1344
weblib: Let redirect() take a moodle_url object.

Revision 1.970.2.141 - (view) (download) (annotate) - [select for diffs]
Wed Jul 15 11:30:00 2009 WST (4 months, 1 week ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.140: +14 -7 lines
Diff to previous 1.970.2.140 , to branch point 1.970 , to selected 1.1344
Backport improved moodle_url::params implementation from HEAD - lets you get the params  as an array.

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1293: +1 -1 lines
Diff to previous 1.1293 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
"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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 (4 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1276: +5 -5 lines
Diff to previous 1.1276 , to selected 1.1344
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 (4 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1275: +1 -0 lines
Diff to previous 1.1275 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-19598: Error in logic that should hide 'skip link' when block doesn't have title

Revision 1.970.2.140 - (view) (download) (annotate) - [select for diffs]
Tue Jun 23 01:08:41 2009 WST (5 months ago) by sam_marshall
Branch: MOODLE_19_STABLE
Changes since 1.970.2.139: +5 -9 lines
Diff to previous 1.970.2.139 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
breadcrumb MDL-14133 One function missed during fix, got it this time

Revision 1.970.2.139 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 14:29:56 2009 WST (5 months, 2 weeks ago) by samhemelryk
Branch: MOODLE_19_STABLE
Changes since 1.970.2.138: +7 -3 lines
Diff to previous 1.970.2.138 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
lib MDL-19236 Added boilerplates and copyrights

Revision 1.1256 - (view) (download) (annotate) - [select for diffs]
Tue May 26 01:33:28 2009 WST (5 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1255: +15 -72 lines
Diff to previous 1.1255 , to selected 1.1344
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 , to selected 1.1344
weblib.php  MDL-19236 added phpdocs and copyrights

Revision 1.812.2.111 - (view) (download) (annotate) - [select for diffs]
Fri May 22 10:28:11 2009 WST (6 months ago) by fmarier
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_1810, MOODLE_18_MERGED, MOODLE_18_WEEKLY
Changes since 1.812.2.110: +2 -5 lines
Diff to previous 1.812.2.110 , to branch point 1.812 , to next main 1.1348 , to selected 1.1344
MDL-17542 lib/html2text: update to latest upstream version (r2374)
from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php

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 , to selected 1.1344
MDL-17542 lib/html2text: update to latest upstream version (r2374)
from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php

Revision 1.970.2.138 - (view) (download) (annotate) - [select for diffs]
Fri May 22 10:07:34 2009 WST (6 months ago) by fmarier
Branch: MOODLE_19_STABLE
Changes since 1.970.2.137: +2 -5 lines
Diff to previous 1.970.2.137 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file, merged from 19

Revision 1.970.2.137 - (view) (download) (annotate) - [select for diffs]
Wed May 13 13:35:37 2009 WST (6 months, 1 week ago) by jerome
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_195
Changes since 1.970.2.136: +14 -2 lines
Diff to previous 1.970.2.136 , to branch point 1.970 , to selected 1.1344
authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file

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 , to selected 1.1344
blocklib: MDL-19010 once again you can add blocks, at least on the coures page.

Revision 1.970.2.136 - (view) (download) (annotate) - [select for diffs]
Thu May 7 13:30:10 2009 WST (6 months, 2 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.135: +3 -3 lines
Diff to previous 1.970.2.135 , to branch point 1.970 , to selected 1.1344
"MDL-3729, use forces language for htmleditor"

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
"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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
weblib: fix bug with disabled pop_form()s

Revision 1.812.2.110 - (view) (download) (annotate) - [select for diffs]
Fri Apr 3 07:14:58 2009 WST (7 months, 3 weeks ago) by fmarier
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_189
Changes since 1.812.2.109: +9 -3 lines
Diff to previous 1.812.2.109 , to branch point 1.812 , to selected 1.1344
html2text: MDL-17542 switch to a GPL-compatible html2text library

Revision 1.970.2.135 - (view) (download) (annotate) - [select for diffs]
Fri Apr 3 07:00:12 2009 WST (7 months, 3 weeks ago) by fmarier
Branch: MOODLE_19_STABLE
Changes since 1.970.2.134: +6 -6 lines
Diff to previous 1.970.2.134 , to branch point 1.970 , to selected 1.1344
html2text: MDL-17542 switch to a GPL-compatible html2text library

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 ago) by tjhunt
Branch: MAIN
Changes since 1.1215: +13 -14 lines
Diff to previous 1.1215 , to selected 1.1344
weblib: finish documenting print_user_picture.

Revision 1.970.2.134 - (view) (download) (annotate) - [select for diffs]
Mon Feb 16 13:15:59 2009 WST (9 months ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.133: +13 -14 lines
Diff to previous 1.970.2.133 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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.970.2.133 - (view) (download) (annotate) - [select for diffs]
Tue Feb 10 12:27:48 2009 WST (9 months, 1 week ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.132: +3 -4 lines
Diff to previous 1.970.2.132 , to branch point 1.970 , to selected 1.1344
weblib: XHTML strict.

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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.970.2.132 - (view) (download) (annotate) - [select for diffs]
Wed Feb 4 17:21:06 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.131: +6 -6 lines
Diff to previous 1.970.2.131 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
weblib: MDL-14901 Fix misleading comment on print_navigation

Revision 1.970.2.131 - (view) (download) (annotate) - [select for diffs]
Wed Feb 4 16:34:52 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.130: +4 -4 lines
Diff to previous 1.970.2.130 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
theme / navbar: MDL-14133 every link in the nav bar was getting class="first"!

Revision 1.970.2.130 - (view) (download) (annotate) - [select for diffs]
Tue Feb 3 18:32:47 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.129: +4 -4 lines
Diff to previous 1.970.2.129 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
theme / weblib: MDL-14400 Setting $THEME->makenavmenulist = true causes a php notice

Revision 1.970.2.129 - (view) (download) (annotate) - [select for diffs]
Tue Feb 3 16:47:11 2009 WST (9 months, 2 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.128: +3 -3 lines
Diff to previous 1.970.2.128 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements

Revision 1.970.2.128 - (view) (download) (annotate) - [select for diffs]
Wed Jan 28 22:11:23 2009 WST (9 months, 3 weeks ago) by sam_marshall
Branch: MOODLE_19_STABLE
Changes since 1.970.2.127: +36 -21 lines
Diff to previous 1.970.2.127 , to branch point 1.970 , to selected 1.1344
MDL-381: Added 'Move' button to reduce accidentally moving forum posts.

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 , to selected 1.1344
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 , to selected 1.1344
MDL-17974: Calendar 'new entry' accessibility improvement

Revision 1.970.2.127 - (view) (download) (annotate) - [select for diffs]
Wed Jan 28 21:10:24 2009 WST (9 months, 3 weeks ago) by sam_marshall
Branch: MOODLE_19_STABLE
Changes since 1.970.2.126: +34 -7 lines
Diff to previous 1.970.2.126 , to branch point 1.970 , to selected 1.1344
MDL-17974: Calendar 'new entry' accessibility improvement

Revision 1.970.2.126 - (view) (download) (annotate) - [select for diffs]
Sun Jan 18 03:09:38 2009 WST (10 months ago) by stronk7
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_194
Changes since 1.970.2.125: +40 -7 lines
Diff to previous 1.970.2.125 , to branch point 1.970 , to selected 1.1344
MDL-17331 choose_from_menu() - backport listbox, multiple and class params

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1195: +3 -3 lines
Diff to previous 1.1195 , to selected 1.1344
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, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1194: +5 -9 lines
Diff to previous 1.1194 , to selected 1.1344
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, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1193: +5 -5 lines
Diff to previous 1.1193 , to selected 1.1344
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, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1192: +6 -7 lines
Diff to previous 1.1192 , to selected 1.1344
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, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1191: +4 -4 lines
Diff to previous 1.1191 , to selected 1.1344
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, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.1190: +3 -3 lines
Diff to previous 1.1190 , to selected 1.1344
MDL-16613 sesskey cleanup

Revision 1.970.2.125 - (view) (download) (annotate) - [select for diffs]
Thu Jan 1 23:29:37 2009 WST (10 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.124: +3 -3 lines
Diff to previous 1.970.2.124 , to branch point 1.970 , to selected 1.1344
MDL-17758 fixed hardcoded /admin/ links

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 , to selected 1.1344
MDL-17758 fixed hardcoded /admin/ links

Revision 1.970.2.124 - (view) (download) (annotate) - [select for diffs]
Tue Dec 30 06:18:32 2008 WST (10 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.123: +3 -3 lines
Diff to previous 1.970.2.123 , to branch point 1.970 , to selected 1.1344
MDL-17637 fixed adobe XSS protection; backported from HEAD

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 , to selected 1.1344
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 , to selected 1.1344
"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 ago) by fmarier
Branch: MAIN
Changes since 1.1186: +6 -6 lines
Diff to previous 1.1186 , to selected 1.1344
MDL-17542 weblib/html2text: replace html2text.php with a GPL alternative (which is also faster)

Revision 1.970.2.123 - (view) (download) (annotate) - [select for diffs]
Thu Dec 11 19:34:07 2008 WST (11 months, 1 week ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.122: +39 -41 lines
Diff to previous 1.970.2.122 , to branch point 1.970 , to selected 1.1344
weblib: MDL-17606 Make the highlight function better, with unit tests.

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 , to selected 1.1344
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, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1184: +24 -19 lines
Diff to previous 1.1184 , to selected 1.1344
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 , to selected 1.1344
MDL-17479 category search: replaced old update capability; merged from MOODLE__STABLE

Revision 1.970.2.122 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 05:29:15 2008 WST (11 months, 2 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.121: +3 -3 lines
Diff to previous 1.970.2.121 , to branch point 1.970 , to selected 1.1344
MDL-17479 category search: replaced old update capability

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 , to selected 1.1344
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 , to selected 1.1344
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.970.2.121 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 17:49:48 2008 WST (11 months, 2 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.120: +2 -59 lines
Diff to previous 1.970.2.120 , to branch point 1.970 , to selected 1.1344
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.

Revision 1.581.4.14 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:55:49 2008 WST (11 months, 2 weeks ago) by ericmerrill
Branch: MOODLE_16_STABLE
CVS Tags: MOODLE_169, MOODLE_16_MERGED, MOODLE_16_WEEKLY
Changes since 1.581.4.13: +4 -4 lines
Diff to previous 1.581.4.13 , to branch point 1.581 , to next main 1.1348 , to selected 1.1344
weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it.

Including:
weblib: MDL-15963: Backporting the addition of font-family and text-decoration while i'm here for consistency.

Revision 1.674.2.37 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:54:08 2008 WST (11 months, 2 weeks ago) by ericmerrill
Branch: MOODLE_17_STABLE
CVS Tags: MOODLE_177, MOODLE_17_MERGED, MOODLE_17_WEEKLY
Changes since 1.674.2.36: +4 -4 lines
Diff to previous 1.674.2.36 , to branch point 1.674 , to next main 1.1348 , to selected 1.1344
weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it.

Including:
weblib: MDL-15963: Backporting the addition of font-family and text-decoration while i'm here for consistency.

Revision 1.812.2.109 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:51:22 2008 WST (11 months, 2 weeks ago) by ericmerrill
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_188
Changes since 1.812.2.108: +3 -3 lines
Diff to previous 1.812.2.108 , to branch point 1.812 , to selected 1.1344
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.970.2.120 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:48:08 2008 WST (11 months, 2 weeks ago) by ericmerrill
Branch: MOODLE_19_STABLE
Changes since 1.970.2.119: +3 -3 lines
Diff to previous 1.970.2.119 , to branch point 1.970 , to selected 1.1344
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.1181 - (view) (download) (annotate) - [select for diffs]
Thu Dec 4 01:31:49 2008 WST (11 months, 2 weeks ago) by ericmerrill
Branch: MAIN
Changes since 1.1180: +3 -3 lines
Diff to previous 1.1180 , to selected 1.1344
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.970.2.119 - (view) (download) (annotate) - [select for diffs]
Tue Dec 2 04:20:17 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.118: +6 -5 lines
Diff to previous 1.970.2.118 , to branch point 1.970 , to selected 1.1344
MDL-17485 roles: fixed use and definition of moodle/user:viewuseractivitiesreport; backported from HEAD

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 , to selected 1.1344
MDL-17485 roles: fixed use and definition of review use of moodle/user:viewuseractivitiesreport

Revision 1.970.2.118 - (view) (download) (annotate) - [select for diffs]
Mon Dec 1 04:25:50 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.117: +3 -3 lines
Diff to previous 1.970.2.117 , to branch point 1.970 , to selected 1.1344
MDL-17472 notes: backported disabling of notes and general refactoring from HEAD

Revision 1.970.2.117 - (view) (download) (annotate) - [select for diffs]
Sat Nov 29 23:30:57 2008 WST (11 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.116: +4 -4 lines
Diff to previous 1.970.2.116 , to branch point 1.970 , to selected 1.1344
MDL-17463 - reparate capabilities for course and admin reports; backported from HEAD

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 , to selected 1.1344
MDL-17463 - reparate capabilities for course and admin reports

Revision 1.970.2.116 - (view) (download) (annotate) - [select for diffs]
Thu Nov 27 14:07:47 2008 WST (11 months, 3 weeks ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.115: +3 -3 lines
Diff to previous 1.970.2.115 , to branch point 1.970 , to selected 1.1344
fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices

A new install has NOT NULL DEFAULT 0.

Revision 1.812.2.108 - (view) (download) (annotate) - [select for diffs]
Thu Nov 27 14:07:36 2008 WST (11 months, 3 weeks ago) by tjhunt
Branch: MOODLE_18_STABLE
Changes since 1.812.2.107: +6 -6 lines
Diff to previous 1.812.2.107 , to branch point 1.812 , to selected 1.1344
fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices

A new install has NOT NULL DEFAULT 0.

Revision 1.1178 - (view) (download) (annotate) - [select for diffs]
Wed Nov 26 12:26:33 2008 WST (11 months, 3 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1177: +3 -3 lines
Diff to previous 1.1177 , to selected 1.1344
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 (11 months, 4 weeks ago) by moodler
Branch: MAIN
Changes since 1.1176: +3 -2 lines
Diff to previous 1.1176 , to selected 1.1344
Emoticons MDLSITE-564  Patch to avoid [[brackets]] around alt text

Revision 1.970.2.115 - (view) (download) (annotate) - [select for diffs]
Mon Nov 24 10:02:33 2008 WST (11 months, 4 weeks ago) by moodler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.114: +3 -2 lines
Diff to previous 1.970.2.114 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1163: +37 -6 lines
Diff to previous 1.1163 , to selected 1.1344
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, 2 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1162: +56 -3 lines
Diff to previous 1.1162 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-16939 - adding check type exists to avoid PHP notice in build_navigation function; merged from MOODLE_19_STABLE

Revision 1.970.2.114 - (view) (download) (annotate) - [select for diffs]
Tue Oct 21 01:47:52 2008 WST (13 months ago) by arborrow
Branch: MOODLE_19_STABLE
Changes since 1.970.2.113: +3 -3 lines
Diff to previous 1.970.2.113 , to branch point 1.970 , to selected 1.1344
MDL-16939 - adding check type exists to avoid PHP notice in build_navigation function

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 , to selected 1.1344
MDL-15800: clean filelib.php,  fix https image link into the edit profil page (weblib.php), merged from 19

Revision 1.970.2.113 - (view) (download) (annotate) - [select for diffs]
Tue Oct 7 10:09:51 2008 WST (13 months, 2 weeks ago) by jerome
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_193
Changes since 1.970.2.112: +3 -8 lines
Diff to previous 1.970.2.112 , to branch point 1.970 , to selected 1.1344
MDL-15800: clean filelib.php,  fix https image link into the edit profil page (weblib.php), and also into the YUI integration (ajaxlib.php)

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 , to selected 1.1344
MDL-14696 Option to unenrol user from course when assigned to a role at a higher context; merged from MOODLE_19_STABLE

Revision 1.970.2.112 - (view) (download) (annotate) - [select for diffs]
Mon Oct 6 17:28:26 2008 WST (13 months, 2 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.111: +3 -3 lines
Diff to previous 1.970.2.111 , to branch point 1.970 , to selected 1.1344
MDL-14696 Option to unenrol user from course when assigned to a role at a higher context

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 , to selected 1.1344
Fix comment.

Revision 1.1154 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 18:49:31 2008 WST (13 months, 3 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1153: +31 -14 lines
Diff to previous 1.1153 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-15810 whitelist _blank target in htmlpurifier cleaning; merged from MOODLE_19_STABLE

Revision 1.970.2.111 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 05:38:43 2008 WST (13 months, 4 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.110: +3 -2 lines
Diff to previous 1.970.2.110 , to branch point 1.970 , to selected 1.1344
MDL-15810 whitelist _blank target in htmlpurifier cleaning

Revision 1.1148 - (view) (download) (annotate) - [select for diffs]
Wed Sep 24 05:09:46 2008 WST (13 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1147: +5 -78 lines
Diff to previous 1.1147 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 ago) by dongsheng
Branch: MAIN
Changes since 1.1139: +4 -2 lines
Diff to previous 1.1139 , to selected 1.1344
"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 , to selected 1.1344
MDL-16473 Merged style fix for user pics from 1.9

Revision 1.970.2.110 - (view) (download) (annotate) - [select for diffs]
Fri Sep 12 14:54:03 2008 WST (14 months, 1 week ago) by moodler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.109: +3 -5 lines
Diff to previous 1.970.2.109 , to branch point 1.970 , to selected 1.1344
MDL-16473  Removed stylings from user and group images so theme can do it with CSS

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-16029 Added $extralocations in the function print_error; merged from MOODLE_19_STABLE

Revision 1.970.2.109 - (view) (download) (annotate) - [select for diffs]
Mon Sep 1 23:24:40 2008 WST (14 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.108: +6 -5 lines
Diff to previous 1.970.2.108 , to branch point 1.970 , to selected 1.1344
MDL-16029 Added $extralocations in the function print_error

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 , to selected 1.1344
MDL-16292 print_error not backwards compatible with error(get_string('xx', 'moodle')); merged from MOODLE_19_STABLE

Revision 1.970.2.108 - (view) (download) (annotate) - [select for diffs]
Mon Sep 1 22:54:09 2008 WST (14 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.107: +18 -11 lines
Diff to previous 1.970.2.107 , to branch point 1.970 , to selected 1.1344
MDL-16292 print_error not backwards compatible with error(get_string('xx', 'moodle'))

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 3 weeks ago) by thepurpleblob
Branch: MAIN
Changes since 1.1129: +2 -6 lines
Diff to previous 1.1129 , to selected 1.1344
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, 3 weeks ago) by thepurpleblob
Branch: MAIN
Changes since 1.1128: +8 -3 lines
Diff to previous 1.1128 , to selected 1.1344
MDL-16221
The height and width are now included in the user's image.

Revision 1.970.2.107 - (view) (download) (annotate) - [select for diffs]
Wed Aug 27 18:17:01 2008 WST (14 months, 3 weeks ago) by thepurpleblob
Branch: MOODLE_19_STABLE
Changes since 1.970.2.106: +3 -3 lines
Diff to previous 1.970.2.106 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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.812.2.107 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 06:42:54 2008 WST (15 months, 2 weeks ago) by stronk7
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_187
Changes since 1.812.2.106: +4 -4 lines
Diff to previous 1.812.2.106 , to branch point 1.812 , to selected 1.1344
Adding 'text-decoration' and 'font-family' to allowed protocols. Backported from HEAD.  MDL-15963

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 , to selected 1.1344
Allow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE

Revision 1.970.2.106 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 06:36:33 2008 WST (15 months, 2 weeks ago) by stronk7
Branch: MOODLE_19_STABLE
Changes since 1.970.2.105: +3 -3 lines
Diff to previous 1.970.2.105 , to branch point 1.970 , to selected 1.1344
Allow font-family "protocol" to avoid kses cleaning it. MDL-15963

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
"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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-5018 added thead and tfoot to allowed tags; merged from MOODLE_19_SATLE

Revision 1.970.2.105 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 19:27:48 2008 WST (15 months, 4 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.104: +3 -3 lines
Diff to previous 1.970.2.104 , to branch point 1.970 , to selected 1.1344
MDL-5018 added thead and tfoot to allowed tags

Revision 1.581.4.13 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 06:46:33 2008 WST (15 months, 4 weeks ago) by skodak
Branch: MOODLE_16_STABLE
CVS Tags: MOODLE_168
Changes since 1.581.4.12: +12 -4 lines
Diff to previous 1.581.4.12 , to branch point 1.581 , to selected 1.1344
MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE

Revision 1.674.2.36 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 06:45:46 2008 WST (15 months, 4 weeks ago) by skodak
Branch: MOODLE_17_STABLE
CVS Tags: MOODLE_176
Changes since 1.674.2.35: +12 -4 lines
Diff to previous 1.674.2.35 , to branch point 1.674 , to selected 1.1344
MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE

Revision 1.812.2.106 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 06:45:04 2008 WST (15 months, 4 weeks ago) by skodak
Branch: MOODLE_18_STABLE
Changes since 1.812.2.105: +8 -5 lines
Diff to previous 1.812.2.105 , to branch point 1.812 , to selected 1.1344
MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE

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 , to selected 1.1344
MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE

Revision 1.970.2.104 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 06:43:08 2008 WST (15 months, 4 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.103: +8 -5 lines
Diff to previous 1.970.2.103 , to branch point 1.970 , to selected 1.1344
MDL-15823 format_string() improvements

Revision 1.1112 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 00:20:46 2008 WST (15 months, 4 weeks ago) by tjhunt
Branch: MAIN
Changes since 1.1111: +3 -3 lines
Diff to previous 1.1111 , to selected 1.1344
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 (15 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1110: +4 -4 lines
Diff to previous 1.1110 , to selected 1.1344
MDL-15820 fixed some install noise on dev sites; merged from MOODLE_19_STABLE

Revision 1.970.2.103 - (view) (download) (annotate) - [select for diffs]
Fri Jul 25 06:23:51 2008 WST (16 months ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.102: +4 -4 lines
Diff to previous 1.970.2.102 , to branch point 1.970 , to selected 1.1344
MDL-15820 fixed some install noise on dev sites

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 , to selected 1.1344
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 , to selected 1.1344
MDL-15565, fix bug of maintenance mode alert reminder

Revision 1.970.2.102 - (view) (download) (annotate) - [select for diffs]
Wed Jul 23 11:16:00 2008 WST (16 months ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.101: +7 -6 lines
Diff to previous 1.970.2.101 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
MDL-15773 - 'Pass by reference' errors in update from 1.9.1+

Revision 1.970.2.101 - (view) (download) (annotate) - [select for diffs]
Tue Jul 22 22:06:48 2008 WST (16 months ago) by sam_marshall
Branch: MOODLE_19_STABLE
Changes since 1.970.2.100: +9 -6 lines
Diff to previous 1.970.2.100 , to branch point 1.970 , to selected 1.1344
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 ago) by scyrma
Branch: MAIN
Changes since 1.1106: +7 -15 lines
Diff to previous 1.1106 , to selected 1.1344
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 ago) by moodler
Branch: MAIN
Changes since 1.1105: +5 -4 lines
Diff to previous 1.1105 , to selected 1.1344
MDL-15700  Merged from 1.9  Tidied up the maintenance mode display to users

Revision 1.970.2.100 - (view) (download) (annotate) - [select for diffs]
Fri Jul 18 10:59:45 2008 WST (16 months ago) by moodler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.99: +5 -4 lines
Diff to previous 1.970.2.99 , to branch point 1.970 , to selected 1.1344
MDL-15700  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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-15565, add maintenance mode alert reminder in title and navbar.

Revision 1.970.2.99 - (view) (download) (annotate) - [select for diffs]
Mon Jul 14 10:29:27 2008 WST (16 months, 1 week ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.98: +27 -19 lines
Diff to previous 1.970.2.98 , to branch point 1.970 , to selected 1.1344
MDL-15565, add maintenance mode alert reminders in title and navbar.

Revision 1.1102 - (view) (download) (annotate) - [select for diffs]
Fri Jul 11 22:17:21 2008 WST (16 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.1101: +15 -14 lines
Diff to previous 1.1101 , to selected 1.1344
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 , to selected 1.1344
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9)

Revision 1.970.2.98 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 17:48:44 2008 WST (16 months, 2 weeks ago) by scyrma
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_192
Changes since 1.970.2.97: +10 -19 lines
Diff to previous 1.970.2.97 , to branch point 1.970 , to selected 1.1344
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually

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 , to selected 1.1344
MDL-15601 Merged basic checking to avoid some notices

Revision 1.970.2.97 - (view) (download) (annotate) - [select for diffs]
Thu Jul 10 16:50:00 2008 WST (16 months, 2 weeks ago) by moodler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.96: +7 -3 lines
Diff to previous 1.970.2.96 , to branch point 1.970 , to selected 1.1344
MDL-15601 Basic checking to avoid some notices

Revision 1.970.2.96 - (view) (download) (annotate) - [select for diffs]
Mon Jul 7 22:35:29 2008 WST (16 months, 2 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.95: +3 -3 lines
Diff to previous 1.970.2.95 , to branch point 1.970 , to selected 1.1344
MDL-15413 warn admins if display_errors enabled; backported from HEAD

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 , to selected 1.1344
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, 2 weeks ago) by jamiesensei
Branch: MAIN
Changes since 1.1097: +172 -2 lines
Diff to previous 1.1097 , to selected 1.1344
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, 2 weeks ago) by scyrma
Branch: MAIN
Changes since 1.1096: +3 -0 lines
Diff to previous 1.1096 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
"MDL-15500, change helpbutton debug level to developer, merged from MOODLE_19_STABLE"

Revision 1.970.2.95 - (view) (download) (annotate) - [select for diffs]
Wed Jul 2 14:38:09 2008 WST (16 months, 3 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.94: +4 -4 lines
Diff to previous 1.970.2.94 , to branch point 1.970 , to selected 1.1344
"MDL-15500, change helpbutton debug level to developer"

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

Revision 1.970.2.94 - (view) (download) (annotate) - [select for diffs]
Wed Jun 25 11:01:49 2008 WST (16 months, 4 weeks ago) by jerome
Branch: MOODLE_19_STABLE
Changes since 1.970.2.93: +9 -2 lines
Diff to previous 1.970.2.93 , to branch point 1.970 , to selected 1.1344
MDL-14635 remove tags from glossary block help

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-14992 first step towards new database sessions - refactoring of current session code

Revision 1.970.2.93 - (view) (download) (annotate) - [select for diffs]
Fri Jun 20 02:38:36 2008 WST (17 months ago) by tjhunt
Branch: MOODLE_19_STABLE
Changes since 1.970.2.92: +20 -4 lines
Diff to previous 1.970.2.92 , to branch point 1.970 , to selected 1.1344
MDL-15321 - Add a class to the last column and row of the table in print_table to help theming

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 , to selected 1.1344
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 ago) by jerome
Branch: MAIN
Changes since 1.1088: +5 -3 lines
Diff to previous 1.1088 , to selected 1.1344
MDL-15152 reverse MDL-14439 fix for dropdown menu for Opera+Linux, merged from 19

Revision 1.970.2.92 - (view) (download) (annotate) - [select for diffs]
Wed Jun 18 13:40:19 2008 WST (17 months ago) by jerome
Branch: MOODLE_19_STABLE
Changes since 1.970.2.91: +5 -3 lines
Diff to previous 1.970.2.91 , to branch point 1.970 , to selected 1.1344
MDL-15152 reverse MDL-14439 fix for dropdown menu for Opera+Linux

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 , to selected 1.1344
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 , to selected 1.1344
MDL-15263 Fixed numeric entities remaining after html_to_text

Revision 1.970.2.91 - (view) (download) (annotate) - [select for diffs]
Mon Jun 16 22:01:52 2008 WST (17 months, 1 week ago) by sam_marshall
Branch: MOODLE_19_STABLE
Changes since 1.970.2.90: +9 -3 lines
Diff to previous 1.970.2.90 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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, 1 week ago) by scyrma
Branch: MAIN
Changes since 1.1082: +27 -14 lines
Diff to previous 1.1082 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
MDL-15000 "Moodle url method remove_params doesn't actually remove anything" Fixed.

Revision 1.970.2.90 - (view) (download) (annotate) - [select for diffs]
Mon May 26 19:47:00 2008 WST (17 months, 4 weeks ago) by jamiesensei
Branch: MOODLE_19_STABLE
Changes since 1.970.2.89: +4 -4 lines
Diff to previous 1.970.2.89 , to branch point 1.970 , to selected 1.1344
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 (17 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1076: +10 -5 lines
Diff to previous 1.1076 , to selected 1.1344
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 , to selected 1.1344
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.970.2.89 - (view) (download) (annotate) - [select for diffs]
Thu May 22 17:18:03 2008 WST (18 months ago) by jamiesensei
Branch: MOODLE_19_STABLE
Changes since 1.970.2.88: +7 -4 lines
Diff to previous 1.970.2.88 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
"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 , to selected 1.1344
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 , to selected 1.1344
MDL-14811 Merged from 1.9:  Fixed the popup window name for HTML editor help

Revision 1.970.2.88 - (view) (download) (annotate) - [select for diffs]
Tue May 13 13:35:15 2008 WST (18 months, 1 week ago) by moodler
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_191
Changes since 1.970.2.87: +3 -3 lines
Diff to previous 1.970.2.87 , to branch point 1.970 , to selected 1.1344
MDL-14811 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, 1 week ago) by stronk7
Branch: MAIN
Changes since 1.1068: +8 -3 lines
Diff to previous 1.1068 , to selected 1.1344
Prevent some notices and process if $CFG->emoticons is not set or empty. MDL-12414 ; merged from 19_STABLE

Revision 1.970.2.87 - (view) (download) (annotate) - [select for diffs]
Mon May 12 07:32:34 2008 WST (18 months, 1 week ago) by stronk7
Branch: MOODLE_19_STABLE
Changes since 1.970.2.86: +8 -3 lines
Diff to previous 1.970.2.86 , to branch point 1.970 , to selected 1.1344
Prevent some notices and process if $CFG->emoticons is not set or empty. MDL-12414

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 , to selected 1.1344
MDL-12648 Undefined property: stdClass::$wwwroot on popup screen during installation, merged from 19

Revision 1.970.2.86 - (view) (download) (annotate) - [select for diffs]
Thu May 8 10:34:38 2008 WST (18 months, 2 weeks ago) by jerome
Branch: MOODLE_19_STABLE
Changes since 1.970.2.85: +5 -5 lines
Diff to previous 1.970.2.85 , to branch point 1.970 , to selected 1.1344
MDL-12648 Undefined property: stdClass::$wwwroot on popup screen during installation

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 , to selected 1.1344
"MDL-13233, replace the uses of old files to new ones, see tracker"

Revision 1.970.2.85 - (view) (download) (annotate) - [select for diffs]
Sat May 3 00:14:11 2008 WST (18 months, 3 weeks ago) by jamiesensei
Branch: MOODLE_19_STABLE
Changes since 1.970.2.84: +3 -3 lines
Diff to previous 1.970.2.84 , to branch point 1.970 , to selected 1.1344
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.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 , to selected 1.1344
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 , to selected 1.1344
MDL-12864 fix bad XHTML in the messaging popup, merged from 19

Revision 1.970.2.84 - (view) (download) (annotate) - [select for diffs]
Fri May 2 13:17:16 2008 WST (18 months, 3 weeks ago) by jerome
Branch: MOODLE_19_STABLE
Changes since 1.970.2.83: +5 -4 lines
Diff to previous 1.970.2.83 , to branch point 1.970 , to selected 1.1344
MDL-12864 fix bad XHTML in the messaging popup

Revision 1.581.4.12 - (view) (download) (annotate) - [select for diffs]
Fri May 2 11:40:42 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MOODLE_16_STABLE
CVS Tags: MOODLE_167
Changes since 1.581.4.11: +6 -6 lines
Diff to previous 1.581.4.11 , to branch point 1.581 , to selected 1.1344
MDL-8592: Get spellchecking to work over https (backport from 1.9)

Revision 1.674.2.35 - (view) (download) (annotate) - [select for diffs]
Fri May 2 11:38:22 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MOODLE_17_STABLE
CVS Tags: MOODLE_175
Changes since 1.674.2.34: +6 -6 lines
Diff to previous 1.674.2.34 , to branch point 1.674 , to selected 1.1344
MDL-8592: Get spellchecking to work over https (backport from 1.9)

Revision 1.812.2.105 - (view) (download) (annotate) - [select for diffs]
Fri May 2 11:35:38 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_186
Changes since 1.812.2.104: +6 -6 lines
Diff to previous 1.812.2.104 , to branch point 1.812 , to selected 1.1344
MDL-8592: Get spellchecking to work over https (backport from 1.9)

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 , to selected 1.1344
MDL-8592: Get spellchecking to work over https (merge from 1.9)

Revision 1.970.2.83 - (view) (download) (annotate) - [select for diffs]
Fri May 2 11:31:49 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.82: +6 -6 lines
Diff to previous 1.970.2.82 , to branch point 1.970 , to selected 1.1344
MDL-8592: Get spellchecking to work over https

Revision 1.812.2.104 - (view) (download) (annotate) - [select for diffs]
Fri May 2 10:52:48 2008 WST (18 months, 3 weeks ago) by jerome
Branch: MOODLE_18_STABLE
Changes since 1.812.2.103: +12 -4 lines
Diff to previous 1.812.2.103 , to branch point 1.812 , to selected 1.1344
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.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 , to selected 1.1344
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.970.2.82 - (view) (download) (annotate) - [select for diffs]
Fri May 2 10:20:36 2008 WST (18 months, 3 weeks ago) by jerome
Branch: MOODLE_19_STABLE
Changes since 1.970.2.81: +12 -4 lines
Diff to previous 1.970.2.81 , to branch point 1.970 , to selected 1.1344
MDL-14439 IE and Opera fire the onchange when ever you move into a dropdwown list with the keyboard - this changes fix the problem.

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 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
"MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE"

Revision 1.970.2.81 - (view) (download) (annotate) - [select for diffs]
Thu May 1 14:02:28 2008 WST (18 months, 3 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.80: +6 -6 lines
Diff to previous 1.970.2.80 , to branch point 1.970 , to selected 1.1344
"MDL-14460, fix all get_context_instance"

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 , to selected 1.1344
MDL-13985 - Fix previous fix to display a warning when whitespace is used in popup window name (merge from 1.9)

Revision 1.970.2.80 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 13:07:57 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.79: +4 -2 lines
Diff to previous 1.970.2.79 , to branch point 1.970 , to selected 1.1344
MDL-13985 - Fix previous fix to display a warning when whitespace is used in popup window name

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 , to selected 1.1344
MDL-13985 - Prevent popup windows from having a space in their name. (merge from 1.9)

Revision 1.970.2.79 - (view) (download) (annotate) - [select for diffs]
Tue Apr 29 12:04:32 2008 WST (18 months, 3 weeks ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.78: +7 -4 lines
Diff to previous 1.970.2.78 , to branch point 1.970 , to selected 1.1344
MDL-13985 - Prevent popup windows from having a space in their name.

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 , to selected 1.1344
MDL-14497 Fixed several minor bugs in navmenu()

Revision 1.970.2.78 - (view) (download) (annotate) - [select for diffs]
Thu Apr 24 01:07:44 2008 WST (19 months ago) by sam_marshall
Branch: MOODLE_19_STABLE
Changes since 1.970.2.77: +10 -8 lines
Diff to previous 1.970.2.77 , to branch point 1.970 , to selected 1.1344
MDL-14497 Fixed several minor bugs in navmenu()

Revision 1.674.2.34 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 18:38:13 2008 WST (19 months ago) by tjhunt
Branch: MOODLE_17_STABLE
Changes since 1.674.2.33: +5 -2 lines
Diff to previous 1.674.2.33 , to branch point 1.674 , to selected 1.1344
MDL-11978 - Backport admin notification from MDL-11061 about bogus $CFG->wwwroot from 1.9 to 1.8 and 1.7.

Revision 1.812.2.103 - (view) (download) (annotate) - [select for diffs]
Wed Apr 23 18:38:10 2008 WST (19 months ago) by tjhunt
Branch: MOODLE_18_STABLE
Changes since 1.812.2.102: +5 -2 lines
Diff to previous 1.812.2.102 , to branch point 1.812 , to selected 1.1344
MDL-11978 - Backport admin notification from MDL-11061 about bogus $CFG->wwwroot from 1.9 to 1.8 and 1.7.

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 , to selected 1.1344
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 , to selected 1.1344
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, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.1053: +9 -9 lines
Diff to previous 1.1053 , to selected 1.1344
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 , to selected 1.1344
MDL-14126 fixed undefined message; merged from MOODLE_19_STABLE

Revision 1.970.2.77 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 03:47:47 2008 WST (19 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.76: +5 -3 lines
Diff to previous 1.970.2.76 , to branch point 1.970 , to selected 1.1344
MDL-14126 fixed undefined message

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 , to selected 1.1344
MDL-14126, cron shouldn't print html tags, merged from MOODLE_19_STABLE

Revision 1.970.2.76 - (view) (download) (annotate) - [select for diffs]
Wed Apr 2 00:03:46 2008 WST (19 months, 3 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.75: +7 -7 lines
Diff to previous 1.970.2.75 , to branch point 1.970 , to selected 1.1344
MDL-14126, cron shouldn't print html tags

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 , to selected 1.1344
MDL-14085, Make print_error() autonomous, merged from MOODLE_19_STABLE

Revision 1.970.2.75 - (view) (download) (annotate) - [select for diffs]
Tue Apr 1 14:15:54 2008 WST (19 months, 3 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.74: +50 -6 lines
Diff to previous 1.970.2.74 , to branch point 1.970 , to selected 1.1344
MDL-14085, Make print_error() autonomous

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 , to selected 1.1344
Move error() to deprecatelib.php, merged from MOODLE_19_STABLE

Revision 1.970.2.74 - (view) (download) (annotate) - [select for diffs]
Tue Apr 1 12:07:01 2008 WST (19 months, 3 weeks ago) by dongsheng
Branch: MOODLE_19_STABLE
Changes since 1.970.2.73: +2 -63 lines
Diff to previous 1.970.2.73 , to branch point 1.970 , to selected 1.1344
MDL-14085, Move error() to deprecatelib.php

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 , to selected 1.1344
MDL-14103 - remove the call to s() - the string has to already be in html format. (merge - 1.9)

Revision 1.970.2.73 - (view) (download) (annotate) - [select for diffs]
Mon Mar 31 14:52:16 2008 WST (19 months, 3 weeks ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.72: +1 -1 lines
Diff to previous 1.970.2.72 , to branch point 1.970 , to selected 1.1344
MDL-14103 - remove the call to s() - the string has to already be in html format.

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 , to selected 1.1344
MDL-13985 - removed call to get_string, translation of this string made no sense and broke badly. (merge)

Revision 1.970.2.72 - (view) (download) (annotate) - [select for diffs]
Thu Mar 20 16:04:02 2008 WST (20 months ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.71: +7 -6 lines
Diff to previous 1.970.2.71 , to branch point 1.970 , to selected 1.1344
MDL-13985 - removed call to get_string, translation of this string made no sense and broke badly.

Revision 1.970.2.71 - (view) (download) (annotate) - [select for diffs]
Thu Mar 20 15:26:20 2008 WST (20 months ago) by nicolasconnault
Branch: MOODLE_19_STABLE
Changes since 1.970.2.70: +5 -5 lines
Diff to previous 1.970.2.70 , to branch point 1.970 , to selected 1.1344
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. Merging from HEAD

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 , to selected 1.1344
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.812.2.102 - (view) (download) (annotate) - [select for diffs]
Wed Mar 19 17:23:26 2008 WST (20 months ago) by scyrma
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_185
Changes since 1.812.2.101: +5 -2 lines
Diff to previous 1.812.2.101 , to branch point 1.812 , to selected 1.1344
MDL-13934 - Commit patch by Eloy - prevent display of moodle docs link on redirect pages

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 , to selected 1.1344
MDL-13934 - Commit patch by Eloy - prevent display of moodle docs link on redirect pages

Revision 1.970.2.70 - (view) (download) (annotate) - [select for diffs]
Wed Mar 19 17:18:48 2008 WST (20 months ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.69: +1 -0 lines
Diff to previous 1.970.2.69 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
MDL-12093 - remove added classes - they don't help the issue and clutter the code

Revision 1.970.2.69 - (view) (download) (annotate) - [select for diffs]
Wed Mar 19 17:15:40 2008 WST (20 months ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.68: +2 -12 lines
Diff to previous 1.970.2.68 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
MDL-13886 whitelist text-decoration in kses cleaning; merged from MOODLE_19_STABLE

Revision 1.970.2.68 - (view) (download) (annotate) - [select for diffs]
Sun Mar 16 00:00:03 2008 WST (20 months, 1 week ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.67: +3 -3 lines
Diff to previous 1.970.2.67 , to branch point 1.970 , to selected 1.1344
MDL-13886 whitelist text-decoration in kses cleaning

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 , to selected 1.1344
Clarify unused argument.

Revision 1.812.2.101 - (view) (download) (annotate) - [select for diffs]
Wed Mar 5 14:38:04 2008 WST (20 months, 2 weeks ago) by moodler
Branch: MOODLE_18_STABLE
Changes since 1.812.2.100: +3 -3 lines
Diff to previous 1.812.2.100 , to branch point 1.812 , to selected 1.1344
Merged release display fixes from 1.9

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 , to selected 1.1344
Fix the display of the release (merged from 1.9)

Revision 1.970.2.67 - (view) (download) (annotate) - [select for diffs]
Wed Mar 5 14:34:16 2008 WST (20 months, 2 weeks ago) by moodler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.66: +3 -3 lines
Diff to previous 1.970.2.66 , to branch point 1.970 , to selected 1.1344
Fix up display of version in footer

Revision 1.581.4.11 - (view) (download) (annotate) - [select for diffs]
Fri Feb 29 06:19:54 2008 WST (20 months, 3 weeks ago) by skodak
Branch: MOODLE_16_STABLE
Changes since 1.581.4.10: +3 -2 lines
Diff to previous 1.581.4.10 , to branch point 1.581 , to selected 1.1344
MDL-13705

Revision 1.674.2.33 - (view) (download) (annotate) - [select for diffs]
Fri Feb 29 06:19:15 2008 WST (20 months, 3 weeks ago) by skodak
Branch: MOODLE_17_STABLE
Changes since 1.674.2.32: +3 -2 lines
Diff to previous 1.674.2.32 , to branch point 1.674 , to selected 1.1344
MDL-13705

Revision 1.812.2.100 - (view) (download) (annotate) - [select for diffs]
Fri Feb 29 06:18:41 2008 WST (20 months, 3 weeks ago) by skodak
Branch: MOODLE_18_STABLE
Changes since 1.812.2.99: +3 -2 lines
Diff to previous 1.812.2.99 , to branch point 1.812 , to selected 1.1344
MDL-13705

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 , to selected 1.1344
MDL-13705

Revision 1.970.2.66 - (view) (download) (annotate) - [select for diffs]
Fri Feb 29 06:16:56 2008 WST (20 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_19
Changes since 1.970.2.65: +3 -2 lines
Diff to previous 1.970.2.65 , to branch point 1.970 , to selected 1.1344
MDL-13705

Revision 1.970.2.65 - (view) (download) (annotate) - [select for diffs]
Wed Feb 27 11:52:39 2008 WST (20 months, 3 weeks ago) by martinlanghoff
Branch: MOODLE_19_STABLE
Changes since 1.970.2.64: +19 -2 lines
Diff to previous 1.970.2.64 , to branch point 1.970 , to selected 1.1344
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.1040 - (view) (download) (annotate) - [select for diffs]
Wed Feb 27 11:52:28 2008 WST (20 months, 3 weeks ago) by martinlanghoff
Branch: MAIN
Changes since 1.1039: +19 -2 lines
Diff to previous 1.1039 , to selected 1.1344
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 , to selected 1.1344
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.970.2.64 - (view) (download) (annotate) - [select for diffs]
Tue Feb 26 05:38:52 2008 WST (20 months, 4 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.63: +3 -3 lines
Diff to previous 1.970.2.63 , to branch point 1.970 , to selected 1.1344
MDL-13665 HTML editor is loaded as non-secure on the secure "Add new user" form, patch by Steve Bond

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 , to selected 1.1344
MDL-13661 - fixing incorrect use of array_shift; merged from MOODLE_19_STABLE

Revision 1.970.2.63 - (view) (download) (annotate) - [select for diffs]
Tue Feb 26 05:21:18 2008 WST (20 months, 4 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.62: +8 -4 lines
Diff to previous 1.970.2.62 , to branch point 1.970 , to selected 1.1344
MDL-13661 - fixing incorrect use of array_shift

Revision 1.812.2.99 - (view) (download) (annotate) - [select for diffs]
Mon Feb 25 20:59:10 2008 WST (20 months, 4 weeks ago) by poltawski
Branch: MOODLE_18_STABLE
Changes since 1.812.2.98: +3 -3 lines
Diff to previous 1.812.2.98 , to branch point 1.812 , to selected 1.1344
MDL-9667 - convert_tree_to_html doesn't set css class properly if
$tab->linkedwhenselected is set

Patch from Jeff Graham
backported 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 , to selected 1.1344
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.970.2.62 - (view) (download) (annotate) - [select for diffs]
Mon Feb 25 20:56:43 2008 WST (20 months, 4 weeks ago) by poltawski
Branch: MOODLE_19_STABLE
Changes since 1.970.2.61: +3 -3 lines
Diff to previous 1.970.2.61 , to branch point 1.970 , to selected 1.1344
MDL-9667 - convert_tree_to_html doesn't set css class properly if
$tab->linkedwhenselected is set

Patch from Jeff Graham

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 , to selected 1.1344
Fixed $displaypage notice by initialising it

Revision 1.970.2.61 - (view) (download) (annotate) - [select for diffs]
Thu Feb 21 15:13:05 2008 WST (21 months ago) by moodler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.60: +3 -3 lines
Diff to previous 1.970.2.60 , to branch point 1.970 , to selected 1.1344
Initialise a variable to avoid a notice $displaypage

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 , to selected 1.1344
MDL-12538 skip to main does not work if page div contains other attributes; merged from MOODLE_19_STABLE

Revision 1.970.2.60 - (view) (download) (annotate) - [select for diffs]
Tue Feb 19 22:33:21 2008 WST (21 months ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.59: +3 -3 lines
Diff to previous 1.970.2.59 , to branch point 1.970 , to selected 1.1344
MDL-12538 skip to main does not work if page div contains other attributes

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 , to selected 1.1344
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.970.2.59 - (view) (download) (annotate) - [select for diffs]
Sat Feb 16 01:35:19 2008 WST (21 months, 1 week ago) by nicolasconnault
Branch: MOODLE_19_STABLE
Changes since 1.970.2.58: +4 -4 lines
Diff to previous 1.970.2.58 , to branch point 1.970 , to selected 1.1344
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

Revision 1.812.2.98 - (view) (download) (annotate) - [select for diffs]
Tue Feb 5 06:12:45 2008 WST (21 months, 2 weeks ago) by skodak
Branch: MOODLE_18_STABLE
Changes since 1.812.2.97: +5 -5 lines
Diff to previous 1.812.2.97 , to branch point 1.812 , to selected 1.1344
MDL-7734 fixed global $COURSE

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

Revision 1.970.2.58 - (view) (download) (annotate) - [select for diffs]
Sun Feb 3 21:52:29 2008 WST (21 months, 2 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.57: +5 -5 lines
Diff to previous 1.970.2.57 , to branch point 1.970 , to selected 1.1344
MDL-13312 fixed notices caused by previous commit, patch by Gary Anderson

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

Revision 1.970.2.57 - (view) (download) (annotate) - [select for diffs]
Sun Feb 3 19:55:24 2008 WST (21 months, 2 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.56: +26 -2 lines
Diff to previous 1.970.2.56 , to branch point 1.970 , to selected 1.1344
MDL-13310 added static cron cache into format_text() to prevent some db access

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 , to selected 1.1344
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.970.2.56 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 23:09:29 2008 WST (21 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.55: +12 -12 lines
Diff to previous 1.970.2.55 , to branch point 1.970 , to selected 1.1344
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

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 , to selected 1.1344
Merged from MOODLE_19_STABLE: MDL-13244 - weblib - Add 'summary' attribute to print_table()

Revision 1.970.2.55 - (view) (download) (annotate) - [select for diffs]
Fri Feb 1 07:21:52 2008 WST (21 months, 3 weeks ago) by fmarier
Branch: MOODLE_19_STABLE
Changes since 1.970.2.54: +6 -2 lines
Diff to previous 1.970.2.54 , to branch point 1.970 , to selected 1.1344
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 (21 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1028: +76 -89 lines
Diff to previous 1.1028 , to selected 1.1344
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.970.2.54 - (view) (download) (annotate) - [select for diffs]
Fri Jan 25 05:29:37 2008 WST (21 months, 4 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.53: +76 -89 lines
Diff to previous 1.970.2.53 , to branch point 1.970 , to selected 1.1344
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

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

Revision 1.970.2.53 - (view) (download) (annotate) - [select for diffs]
Thu Jan 24 23:33:43 2008 WST (21 months, 4 weeks ago) by nicolasconnault
Branch: MOODLE_19_STABLE
Changes since 1.970.2.52: +13 -2 lines
Diff to previous 1.970.2.52 , to branch point 1.970 , to selected 1.1344
Backporting phpdocs from Head

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

Revision 1.970.2.52 - (view) (download) (annotate) - [select for diffs]
Fri Jan 18 14:17:12 2008 WST (22 months ago) by moodler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.51: +5 -5 lines
Diff to previous 1.970.2.51 , to branch point 1.970 , to selected 1.1344
FIxed some typos in the popup names

Revision 1.812.2.97 - (view) (download) (annotate) - [select for diffs]
Thu Jan 17 23:56:13 2008 WST (22 months ago) by poltawski
Branch: MOODLE_18_STABLE
Changes since 1.812.2.96: +4 -2 lines
Diff to previous 1.812.2.96 , to branch point 1.812 , to selected 1.1344
MDL-13039 - fix missing strings

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 , to selected 1.1344
added some documentation

Revision 1.970.2.51 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 17:24:27 2008 WST (22 months, 1 week ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.50: +2 -115 lines
Diff to previous 1.970.2.50 , to branch point 1.970 , to selected 1.1344
MDL-13020 : deprecates make_table

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 , to selected 1.1344
MDL-13020 : deprecates make_table

Revision 1.970.2.50 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 17:05:01 2008 WST (22 months, 1 week ago) by nicolasconnault
Branch: MOODLE_19_STABLE
Changes since 1.970.2.49: +2 -52 lines
Diff to previous 1.970.2.49 , to branch point 1.970 , to selected 1.1344
Reverting MDL-12974 and MDL-12941 (Urs simple wrapper changes)

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 , to selected 1.1344
Fix for MDL-9669 : make it possible to specify 0 as cellpadding and cellspacing

Revision 1.812.2.96 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 16:37:31 2008 WST (22 months, 1 week ago) by scyrma
Branch: MOODLE_18_STABLE
Changes since 1.812.2.95: +4 -4 lines
Diff to previous 1.812.2.95 , to branch point 1.812 , to selected 1.1344
Fix for MDL-9669 : make it possible to specify 0 as cellpadding and cellspacing

Revision 1.970.2.49 - (view) (download) (annotate) - [select for diffs]
Wed Jan 16 15:29:03 2008 WST (22 months, 1 week ago) by scyrma
Branch: MOODLE_19_STABLE
Changes since 1.970.2.48: +4 -4 lines
Diff to previous 1.970.2.48 , to branch point 1.970 , to selected 1.1344
Fix for MDL-9669 : make it possible to specify 0 as cellpadding and cellspacing

Revision 1.970.2.48 - (view) (download) (annotate) - [select for diffs]
Mon Jan 14 05:02:54 2008 WST (22 months, 1 week ago) by urs_hunkler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.47: +52 -2 lines
Diff to previous 1.970.2.47 , to branch point 1.970 , to selected 1.1344
MDL-12974 :: We urgently need a simple wrapper function to avoid the advanced containers when only a wrapper div is needed. Pages like for example the tags page look awful in custom_corners with all those unesessarily overlapping boxes.

I created the function print_simplewrapper_start($classes='generalbox', $idname='', $return=false) { ... } and used it in tag/indec.php and tag/lib.php.

The pages look much better now in custom_corners.

Revision 1.970.2.47 - (view) (download) (annotate) - [select for diffs]
Sun Jan 13 17:35:38 2008 WST (22 months, 1 week ago) by jamiesensei
Branch: MOODLE_19_STABLE
Changes since 1.970.2.46: +61 -61 lines
Diff to previous 1.970.2.46 , to branch point 1.970 , to selected 1.1344
whitespace clean up, removed all indentation with tabs and trailing white space

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 , to selected 1.1344
whitespace clean up, removed all indentation with tabs and trailing white space

Revision 1.970.2.46 - (view) (download) (annotate) - [select for diffs]
Sun Jan 13 17:09:09 2008 WST (22 months, 1 week ago) by jamiesensei
Branch: MOODLE_19_STABLE
Changes since 1.970.2.45: +9 -4 lines
Diff to previous 1.970.2.45 , to branch point 1.970 , to selected 1.1344
MDL-12906 add an optional parameter $jsconfirmmessage parameter to print_single_button

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 , to selected 1.1344
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 , to selected 1.1344
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.970.2.45 - (view) (download) (annotate) - [select for diffs]
Fri Jan 11 18:21:24 2008 WST (22 months, 1 week ago) by urs_hunkler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.44: +2 -7 lines
Diff to previous 1.970.2.44 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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 , to selected 1.1344
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.970.2.44 - (view) (download) (annotate) - [select for diffs]
Thu Jan 10 00:03:31 2008 WST (22 months, 2 weeks ago) by urs_hunkler
Branch: MOODLE_19_STABLE
Changes since 1.970.2.43: +10 -3 lines
Diff to previous 1.970.2.43 , to branch point 1.970 , to selected 1.1344
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 , to selected 1.1344
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, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1016: +5 -2 lines
Diff to previous 1.1016 , to selected 1.1344
MDL-12429 Applied and tested François' patches to 1.8, 1.9 and head.

Revision 1.812.2.95 - (view) (download) (annotate) - [select for diffs]
Fri Jan 4 15:46:00 2008 WST (22 months, 2 weeks ago) by nicolasconnault
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_184
Changes since 1.812.2.94: +7 -6 lines
Diff to previous 1.812.2.94 , to branch point 1.812 , to selected 1.1344
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, 2 weeks ago) by nicolasconnault
Branch: MAIN
Changes since 1.1015: +8 -7 lines
Diff to previous 1.1015 , to selected 1.1344
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 , to selected 1.1344
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.970.2.43 - (view) (download) (annotate) - [select for diffs]
Wed Jan 2 00:51:12 2008 WST (22 months, 3 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.42: +13 -4 lines
Diff to previous 1.970.2.42 , to branch point 1.970 , to selected 1.1344
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

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 , to selected 1.1344
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.970.2.42 - (view) (download) (annotate) - [select for diffs]
Sun Dec 30 00:35:38 2007 WST (22 months, 3 weeks ago) by poltawski
Branch: MOODLE_19_STABLE
Changes since 1.970.2.41: +4 -4 lines
Diff to previous 1.970.2.41 , to branch point 1.970 , to selected 1.1344
MDL-7242 eliminate last use of location to refer to city in profile where
it causes problems for translators

Revision 1.1013 - (view) (download) (annotate) - [select for diffs]
Tue Dec 25 19:04:00 2007 WST (22 months, 4 weeks ago) by skodak
Branch: MAIN
Changes since 1.1012: +19 -5 lines
Diff to previous 1.1012 , to selected 1.1344
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.970.2.41 - (view) (download) (annotate) - [select for diffs]
Tue Dec 25 19:03:16 2007 WST (22 months, 4 weeks ago) by skodak
Branch: MOODLE_19_STABLE
Changes since 1.970.2.40: +19 -5 lines
Diff to previous 1.970.2.40 , to branch point 1.970 , to selected 1.1344
MDL-11561 improved text filter cache resetting