Commit graph

9268 commits

Author SHA1 Message Date
Petr Skoda
5515b53605 MDL-21147 do not use standard "get_x" methods for "magic" $PAGE stuff + fixed incorrect ->get_x uses 2009-12-17 14:04:15 +00:00
Petr Skoda
a24318005c MDL-20935 removing entity decoding because seemingly nobody knows why it is there and it might create XSS security problems; this might create regression somewhere, but we shoudl imo find better solution instead 2009-12-17 13:47:35 +00:00
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Dongsheng Cai
e2a70069f9 "MDL-13766, fixed repository instances counting" 2009-12-17 08:48:53 +00:00
Penny Leach
0a2a36f737 lib/moodlelib MDL-21130 added helper partial() function
this helps to create callbacks with partially bound arguments. woot!
2009-12-17 08:34:07 +00:00
jerome mouneyrac
995ea2fcc5 theme MDL-20204 print_collapsible_region didn't print arrow icons anymore. Kudos to Sam H. 2009-12-17 08:05:54 +00:00
Andrew Davis
9c7a301b4d weblib MDL-20826 improved convert_urls_into_links() 2009-12-17 07:52:56 +00:00
Andrew Davis
e09e9d55b6 gradebook MDL-20945 Title attribute missing from cells in grader report 2009-12-17 07:29:57 +00:00
Petr Skoda
91e856f7f8 MDL-21141 removing incorrect connection_core, thanks Dongsheng 2009-12-17 07:08:47 +00:00
Dongsheng Cai
70f83b5803 "MDL-21141, fixed yui connection file and let requires->css ignore existing css files" 2009-12-17 04:54:13 +00:00
Martin Dougiamas
b73d1651fe portfolio/lib MDL-15995 Added a missing global declaration for $CFG that broke cron 2009-12-17 03:33:45 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
cb1e046d6e MDL-20792 renamed moodle_progress_trace to progress_trace too - the general consensus is to not use moodle everywhere 2009-12-16 21:35:58 +00:00
Petr Skoda
47ce714bc0 MDL-21142 minor cleanup in out() default params 2009-12-16 21:33:01 +00:00
Petr Skoda
2b3fcef98d MDL-21142 moodle_url improvements:
1/ new __toString()
2/ strict method parameters checking, this should help discover wrong uses
3/ new remove_all_params() which prevents problems when using remove_params()
2009-12-16 21:31:47 +00:00
Petr Skoda
c39e5ba20f MDL-20787 renaming image_url() to pix_url() to be more consistent with the actual image location ;-) 2009-12-16 20:33:37 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
39302c7922 MDL-21140 CSS style reset now used from the YUI3 lib, surprisingly it is a bit different from YUI2 2009-12-16 20:11:39 +00:00
Petr Skoda
bee934afa3 MDL-20796 importing yui 3.0.0 2009-12-16 19:45:12 +00:00
Petr Skoda
c32547b39e MDL-20841 temporary fix for buggy YUI 2.8.0r4, dummy callback prevents error in js 2009-12-16 19:34:35 +00:00
Petr Skoda
bf62f18738 MDL-20795 integrating new YUI2 2.8.0r4 2009-12-16 19:32:36 +00:00
Petr Skoda
4fbf922400 MDL-20841 remporary fix for buggy YUI 2.8.0r4, dummy callback prevents error in js 2009-12-16 19:31:31 +00:00
Petr Skoda
7d89b4230b MDL-20795 importing latest version of YUI2 2.8.0r4, not integrated yet with our libs 2009-12-16 18:21:43 +00:00
Petr Skoda
f0e4c766b8 MDL-20788 fix comment 2009-12-16 18:03:52 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
e09ef36a4c lib-navigation MDL-21113 Fixed minor javascript error when positioning sidepanel tabs for display 2009-12-16 02:08:53 +00:00
Penny Leach
5fb2911515 portfolio MDL-21079 updated a few more portfolio_callers
fixed a few more that were pointing to lib.php rather than locallib.php
2009-12-15 12:37:06 +00:00
Penny Leach
521a6ab04d portfolio MDL-20896 added the ability to set mime info for "intended" files
This means for places in Moodle that are going to write a file, like a
CSV file, they can set the intended mimetype of the generated file.

Previously you had to use a stored_file object.

This also gets rid of portfolio_fake_add_url function and replaces the
data module implementation with a button.  I also refactored
portfolio_add_button::to_html to use moodle_url so it's easy to return
the same parameters to hidden form fields, an escaped url (for a link),
and a non escaped url (to redirect to, which is what the data module
does)
2009-12-15 12:36:49 +00:00
Dongsheng Cai
ecea942368 "MDL-21103, fixed regex filter in tinymce plugin, and overwriten uploaded file with the same filename by default" 2009-12-15 09:19:04 +00:00
Sam Hemelryk
75b1018cd3 navigation MDL-20735 Activities added to the front page topic section were not being included in nav 2009-12-15 04:13:21 +00:00
Sam Hemelryk
a9da131e0b navigation MDL-20735 Activities added to the front page topic section were not being included in nav 2009-12-15 01:38:40 +00:00
Sam Hemelryk
d54343ef28 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 05:56:55 +00:00
Sam Hemelryk
477969b6b4 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 02:23:36 +00:00
Penny Leach
24ba58ee9a portfolio MDL-21079 be more selective about including libraries.
this involves moving all formslib includes to where they're actually needed.
it also moves the portfolio stuff from assignment,data,chat,forum and glossary
into a locallib.php which involved creating it for many of those modules.
2009-12-12 11:27:07 +00:00
Sam Hemelryk
460232f302 navigation MDL-14632 Attempting to fix navigation simpletests 2009-12-11 02:40:57 +00:00
Sam Hemelryk
c2a0b3adaa weblib MDL-17550 Added code to convert arrows set in themes from entities to UTF8 chars 2009-12-11 02:19:12 +00:00
Sam Hemelryk
8b7463e766 weblib MDL-17550 Added code to convert arrows set in themes from entities to UTF8 chars 2009-12-11 02:05:39 +00:00
Sam Hemelryk
417a273d1a navigation MDL-20735 Fixed issue with unset cm contexts for front page course 2009-12-10 03:33:30 +00:00
Andrew Davis
496e3ccdd2 quiz MDL-10128 popup checker no longer requests a non-existent file which was causing messages in server logs 2009-12-10 02:29:53 +00:00
Sam Hemelryk
c23c90093e mod-forum MDL-17550 Converted subscribers.php to use the new user_selector control
At the same time I also converted weblib.php::check_theme_arrows to use UTF8 arrows rather than entities.
2009-12-10 02:11:28 +00:00
Sam Hemelryk
8379764371 navigation MDL-20735 Patch to properly display front page actitivies on the navigation 2009-12-10 02:05:12 +00:00
Sam Hemelryk
862940c033 moodlelib MDL-21060 Editing require_course_login to properly set page vars for the front page course 2009-12-10 01:57:01 +00:00
Dongsheng Cai
2da47842d2 "MDL-16597, remove firebug debug code" 2009-12-09 04:16:34 +00:00
Rossiani Wijaya
2b32850e0d MDL-20095 add 1 minute delay time to display the tooltip windows. 2009-12-09 01:55:39 +00:00
jerome mouneyrac
7ca825b148 flash upgrader MDL-20841 change phpdoc for flashdetect.js 2009-12-08 03:06:48 +00:00
Dongsheng Cai
494bf5c8cf "MDL-16597, added more docs, clean up code and added maxbytes support" 2009-12-07 05:01:09 +00:00
jerome mouneyrac
976c007ff3 flash upgrader MDL-20841 fix swfobject javascript bug related to http://code.google.com/p/swfobject/issues/detail?id=332, merged from 1.9 2009-12-07 03:24:49 +00:00