Commit graph

37127 commits

Author SHA1 Message Date
dongsheng
2194247064 "MDL-15351, fixed draft files browsing" 2009-06-22 02:59:32 +00:00
samhemelryk
d76b8a2068 ajaxlib MDL-16693 Fixed fringe condition in ajaxlib and added test 2009-06-22 02:59:02 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
nicolasconnault
c20b684517 MDL-16177 Detecting if script is called from URL, in which case it prints header, footer and form. Otherwise, silently create a global $generator object that can be used by unit tests. 2009-06-22 00:52:36 +00:00
moodlerobot
f45f654877 Updated the HEAD build version to 20090622 2009-06-22 00:37:06 +00:00
moodlerobot
8adc39c35a Automatic installer.php lang files by installer_builder (20090622) 2009-06-22 00:27:15 +00:00
skodak
19bae8cdee MDL-19580 preparation for requiring yui before print_header() 2009-06-21 18:45:07 +00:00
skodak
c8a3911895 MDL-16697 file picker xhtml strict fixes 2009-06-21 18:30:41 +00:00
skodak
752b9f42f5 MDL-14589 new function returning area files in tree structure 2009-06-21 18:22:52 +00:00
skodak
4937508878 MDL-14589 fixed error message if url malformed 2009-06-21 18:22:16 +00:00
arborrow
b0ea27b441 MDL-19950 - check for format type name in qformat if not found in quiz.php lang file 2009-06-21 04:29:37 +00:00
moodlerobot
c0ca2b790a Updated the HEAD build version to 20090621 2009-06-21 00:38:56 +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
moodlerobot
b28ffa2f4f Updated the HEAD build version to 20090620 2009-06-20 00:39:27 +00:00
moodlerobot
67badc722b Automatic installer.php lang files by installer_builder (20090620) 2009-06-20 00:29:33 +00:00
skodak
a262db825d MDL-19516 dragmath embedding improvements by Mauno Korpelainen 2009-06-19 14:35:46 +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
dongsheng
009a97ce00 "MDL-17316, improve non-js filepicker" 2009-06-19 07:22:37 +00:00
moodlerobot
ca1841ee32 Updated the HEAD build version to 20090619 2009-06-19 00:39:02 +00:00
skodak
8754882493 MDL-19528 new dragmath icon by Mauno Korpelainen 2009-06-18 17:23:47 +00:00
tjhunt
571fa82824 themes: MDL-19077 implement the renderer_factory instrastructure.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

The concept is that all the print_... functions in weblib get replaced  by methods
on a moodle_core_renderer class. Then, the theme can choose whether to
use the standard moodle_core_renderer class, or another implemenatation of
its own choosing, to generate different HTML.

Also, becuase Moodle is modular, we may need a moodle_mod_forum_renderer
and so on.

In order for the theme to be able to choose which renderers get created, we
introduce the concept  of a renderer factory, as in the factory design pattern.
The theme will choose which factory should be used, and that then creates
the renderer objects based on the module name.

This commit includes 4 types of factory:
* standard_renderer_factory
* custom_corners_renderer_factory
* theme_overridden_renderer_factory
* template_renderer_factory

All this with unit tests and PHP doc comments.

Note, this new code is not actually used yet. Still todo:
1. actually define the moodle_core_renderer class, and deprecate a lot of weblib functions.
2. make theme_setup initialise everything, so it is used.
2009-06-18 10:43:13 +00:00
dongsheng
78ff29832d "MDL-17316, supported flickr_public plugin working in non-js filepicker" 2009-06-18 07:58:37 +00:00
dongsheng
e78e71fd61 "MDL-16698, use non-js filepicker to pick up files" 2009-06-18 06:52:26 +00:00
dongsheng
ab9cdbb976 "MDL-17316, fix upload form in non-js file picker" 2009-06-18 06:31:51 +00:00
moodlerobot
b556308033 Updated the HEAD build version to 20090618 2009-06-18 00:39:36 +00:00
mits
c4353ccb28 MDL-19552 Fixed a typo. 2009-06-17 17:40:09 +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
tjhunt
32941d74c8 Move extra ajaxlib unit tests to the right place. 2009-06-17 07:35:33 +00:00
tjhunt
1ee9d0d764 Fix boilerplate. 2009-06-17 07:32:18 +00:00
tjhunt
8a0cb3a16d Javadoc comment syntax. 2009-06-17 05:34:10 +00:00
moodlerobot
51ad3ca89f Updated the HEAD build version to 20090617 2009-06-17 00:39:23 +00:00
stronk7
f59309921b MDL-19465 accesslib - improve get_user_access_sitewide() performance (~10%) 2009-06-16 15:34:55 +00:00
tjhunt
52902cea23 blocks upgrade: MDL-19511 And repeat the upgrade step, since some poeple will have missed it. 2009-06-16 10:31:33 +00:00
skodak
aeb0f2135e MDL-19526 fixed inserting of < and > 2009-06-16 10:28:56 +00:00
tjhunt
a26146d563 blocks upgrade: MDL-19511 put back important code that Petr commented out!
The actual mistake was the name of the previous column, which is totally irrelevant, but which XMLDB had filled in incorrectly. Grrr!
2009-06-16 10:23:56 +00:00
skodak
e3d84fb05d MDL-19522 dragmath plugin now fully supports localization 2009-06-16 10:23:27 +00:00
jerome
70f01544e1 administration MDL-19525 remove global $userfields usage from uploadpicture_form class, merged from 1.9 2009-06-16 09:09:33 +00:00
skodak
27c718a90e MDL-19523 dragmath embedding xhtml fixed 2009-06-16 08:54:01 +00:00
skodak
170b4f9b68 MDL-19523 dragmath embedding xhtml fixed 2009-06-16 08:53:37 +00:00
skodak
bd479c7c0f MDL-19520 upgrading to latest dragmath, thanks Marc Grober for new version notification 2009-06-16 08:44:50 +00:00
skodak
ae388c4537 MDL-19211 adding forgotten dragmath in legacy editors 2009-06-16 08:00:53 +00:00
dongsheng
aa8ce6e3fd "MDL-13766, use new API to load javascript files, fix xhtml strict issues in javascript, but YUI cannot work in xml strict mode, so do not true on xml strict option in moodle if you want to use file picker" 2009-06-16 02:42:32 +00:00
moodlerobot
a9a6dfe42a Updated the HEAD build version to 20090616 2009-06-16 00:40:27 +00:00
stronk7
ce174f776f MDL-19460 wiki - disable by default undocumented interwiki links. Can be ebabled with $CFG->wiki_allow_interwiki = true; merged from 19_STABLE 2009-06-15 15:11:20 +00:00
poltawski
c7ad563f55 filters/multimedia MDL-19504 - Fullscreen button didn't work
merged from MOODLE_19_STABLE
2009-06-15 11:21:13 +00:00
tjhunt
25ddb7efc9 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
This is the final batch.
2009-06-15 07:57:53 +00:00
tjhunt
bcfc87f5de javascript: MDL-19475 replace require_js calls with $PAGE->requires->js. 2009-06-15 07:00:08 +00:00
fmarier
3e83641fdc MDL-2794 testweblib: adapt the unit tests to the output of new html2text library 2009-06-15 06:08:42 +00:00