Commit graph

1273 commits

Author SHA1 Message Date
tjhunt
31a9987770 install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function. 2009-06-24 09:17:56 +00:00
tjhunt
8954245a1b 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.
2009-06-23 10:41:22 +00:00
sam_marshall
a5d75d2af1 MDL-19598: Error in logic that should hide 'skip link' when block doesn't have title 2009-06-22 17:09:32 +00:00
nicolasconnault
31c2087d1e MDL-19566 Refactored some of the more complex regular expressions in their own function and added unit tests for them. 2009-06-22 06:07:56 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak
69429650c4 MDL-19211, MDL-19544 improved editor embedding, media and dragmath enabled only when moodle configuration and current user permissions allow it to work 100% 2009-06-20 11:00:40 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
tjhunt
5085a59ad7 javascript: MDL-16695 print_footer('empty'); I had the wrong type of quotes.
Thanks to Dongsheng for noticing.
2009-06-19 08:02:11 +00:00
tjhunt
a978bddea3 javascript: MDL-16695 print_footer('empty'); was not printing the necessary end of page code. 2009-06-17 10:29:42 +00:00
moodler
b03fc39253 Just some whitespace fixes 2009-06-17 08:50:16 +00:00
skodak
13a220cfb8 MDL-19500 improved editor embedding 2009-06-14 21:35:07 +00:00
skodak
44f27e4123 MDL-14990 pritning of backtrace does not rely on $CFG any more and can be used from destructors 2009-06-13 16:07:14 +00:00
skodak
b4154c2d64 MDL-14990 implemented query loggin in new native DML drivers 2009-06-13 15:59:55 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
samhemelryk
9985cbc4fe breadcrumb MDL-14133 One function missed during fix, got it this time 2009-06-09 06:31:20 +00:00
skodak
4fe2250a1f MDL-19352 maintenance mode reiplemented 2009-05-31 14:42:29 +00:00
skodak
1c39033f29 MDL-15249 error status codes for exceptions and notices 2009-05-27 08:34:04 +00:00
skodak
3316fe24d5 MDL-15249 more cleanup and refactoring - towards cli upgrade 2009-05-26 17:44:25 +00:00
samhemelryk
b868d3d9cf lib MDL-19236 Added boilerplates and copyrights 2009-05-26 06:26:11 +00:00
skodak
258d532221 MDL-15249 preparation for new cli installer + coding style changes 2009-05-25 17:33:28 +00:00
samhemelryk
449611af98 weblib.php MDL-19236 added phpdocs and copyrights 2009-05-22 03:26:07 +00:00
fmarier
ea2678d8b9 MDL-17542 lib/html2text: update to latest upstream version (r2374)
from http://trac.roundcube.net/log/trunk/roundcubemail/program/lib/html2text.php
2009-05-22 02:10:22 +00:00
skodak
5ca3c8386f MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon 2009-05-16 20:53:21 +00:00
jerome
2a274f2a93 authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file, merged from 19 2009-05-14 07:03:27 +00:00
tjhunt
7130fb212c blocklib: MDL-19010 once again you can add blocks, at least on the coures page. 2009-05-08 03:30:58 +00:00
tjhunt
5d3e9d9fe3 moodle_page: MDL-12212 remove deprecated calls from course/view.php and page_course::print_header 2009-05-06 09:19:46 +00:00
tjhunt
08eab89703 blocklib: MDL-19010 add block and get_blocks methods 2009-05-06 09:14:42 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
tjhunt
ad52c04f4c moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
tjhunt
4912752214 fix remove_params 2009-05-06 08:51:23 +00:00
tjhunt
75781f879c moodle_page: MDL-12212 ->url and cleanup init of $FULLME, etc. 2009-05-06 08:50:32 +00:00
tjhunt
7ceb61d8ed moodle_url: MDL-12212 clean up moodle_url coding style 2009-05-06 08:49:12 +00:00
tjhunt
82611d8d33 moodle_page: MDL-12212 ->docspath 2009-05-06 08:48:13 +00:00
tjhunt
ad5d5997ed moodle_page: MDL-12212 more ->pagepaths to kill 2009-05-06 08:43:51 +00:00
tjhunt
753debd2ab moodle_page: MDL-12212 ->bodyclasses and initialise_standard_body_classes 2009-05-06 08:42:13 +00:00
tjhunt
d529807a65 moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
tjhunt
e3e40b4333 filters: MDL-7336 use $PAGE->context now that it exists 2009-05-06 08:31:30 +00:00
tjhunt
c13a5e71cc moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
2009-05-06 08:29:22 +00:00
skodak
7d2948bdd0 MDL-18910 full support for module intro editor with embedded images 2009-04-22 07:19:56 +00:00
skodak
43b44d5ea6 MDL-18910 full support for module intro editor with embedded images 2009-04-22 07:14:19 +00:00
skodak
ac3668bfae MDL-18910 full support for module intro editor with embedded images 2009-04-22 05:10:08 +00:00
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
skodak
7467e72197 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 2009-04-20 11:37:39 +00:00
skodak
cbc2b5df03 MDL-18901 reimplemented trusstext support in glossary + standardising format column for text fields 2009-04-20 10:05:50 +00:00
dongsheng
e189ec00f0 "MDL-18486, remove php varible from file picker code, all javascript code goes into a static file" 2009-04-20 08:53:21 +00:00
skodak
f6949ddb95 MDL-18887 using exceptions instead of @ for ignoring of db update/insert failure 2009-04-17 08:05:55 +00:00
tjhunt
14d20de162 filters: MDL-7336 fix upgrade problem when filterall is on. Thanks Nico for finding. 2009-04-16 09:13:30 +00:00
tjhunt
ccc161f8f0 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
2009-04-13 06:56:32 +00:00
tjhunt
c9ec505b9e weblib progress_bar: Add a comment and fix some coding style. 2009-04-08 11:46:19 +00:00