202 Commits

Author SHA1 Message Date
Sam Hemelryk
ebfb8f1371 ajaxlib MDL-21435 Fixed regression from recent updates: Notice of undefined variable 2010-01-28 06:47:07 +00:00
Petr Skoda
7d7a7e908f MDL-21404 RIP $PAGE->requires->*()->now() 2010-01-26 10:44:17 +00:00
Petr Skoda
88515081c8 MDL-21403 RIP $PAGE->requires->*()->asap() 2010-01-26 10:42:25 +00:00
Petr Skoda
5a197e9130 MDL-21400 maring data_for_js as deprecated because it encourages bad coding style 2010-01-26 10:12:10 +00:00
Petr Skoda
c66a13b2d8 MDL-21435 moje JS improvements 2010-01-26 08:58:51 +00:00
Petr Skoda
e3f4e3cadf MDL-21400 yui3 lib includes from php are not necessary any more, removing from public API 2010-01-26 08:38:00 +00:00
Petr Skoda
2b8c3f8c1a MDL-21435 api changes and simplification needed for JS caching and compression 2010-01-26 08:33:21 +00:00
Petr Skoda
9786fbfac4 MDL-21400 migrated roles JS to YUI3 and new modular structure 2010-01-24 19:37:46 +00:00
Petr Skoda
7e5f3db4d4 MDL-21400 global Y is evil 2010-01-24 10:41:15 +00:00
Petr Skoda
3b01539ccc MDL-21400 global Y revisited, I really think it is better to pass it around properly, this could help a lot in future if we have multiple versions of YUI installed; reverted js_function_call() and added new js_init_call() instead which should be hopefully easier to use and in theory could replace all other $PAGE->requires->js_*; finished implemenetation of js_module() 2010-01-23 17:08:18 +00:00
Petr Skoda
bca0975478 MDL-21170 migrated code to new M.util.image_url() function that returns correct theme images 2010-01-22 10:34:09 +00:00
Petr Skoda
ef502357f4 MDL-21170 improved comments module, added new support for module parameter in js_function_call(), fixed bug in comments on frontpage - see tracker for more info 2010-01-22 10:10:27 +00:00
Dongsheng Cai
adacb0fe71 "MDL-21170, comment system upgraded to yui3" 2010-01-22 07:35:56 +00:00
Dongsheng Cai
840912d5cf "MDL-21170, rename filepicker to core_filepicker, upgrade filemanager to yui3 module" 2010-01-22 03:02:09 +00:00
Petr Skoda
1be3ec803b NOBUG fixed typo in comment 2010-01-21 22:21:40 +00:00
Petr Skoda
9598d578bb MDL-21420 modole_cfg converted to M.cfg 2010-01-21 22:19:46 +00:00
Petr Skoda
7b42e81a76 MDL-21170 migrated filepicker to new YUI3 loading, tested in editor only, the filemanager and picker elements still have some problems, sorry for that 2010-01-21 22:04:31 +00:00
Petr Skoda
e50b4c8972 MDL-21420 refactoring towards global M 2010-01-21 20:55:58 +00:00
Sam Hemelryk
1ce15fdac8 navigation MDL-21366 Converted dock and navigation to YUI3 modules and added some supporting structures to outputcomponents and ajaxlib 2010-01-21 08:38:50 +00:00
Petr Skoda
d194928e94 MDL-21402 fixed nasty regression :-D 2010-01-20 21:54:15 +00:00
Petr Skoda
227255b802 MDL-21402 new js_writer abstraction + otehr minor improvements 2010-01-20 20:01:24 +00:00
Petr Skoda
f5de8ee77b MDL-21401 killed top_of_body support because it does not encourage good coding style (agreed with Tim), skiplinks conversion to html_writer 2010-01-20 18:30:55 +00:00
Petr Skoda
08fac7341f MDL-21240 new $PAGE->requires->js_init_code('js code;') intended for simple initialisation of YUI stuff in page, this should help to reduce uncached HTTP requrests per page because we would not have to create tons of .js files each with one short init function; we have to make sure ppl do not abuse this; this coudl also allow theme designers to tweak module JS if we store the JS fragment in plugin renderer where it in fact belongs ;-) + fixed some docs 2010-01-19 23:08:06 +00:00
Petr Skoda
c845f827e5 MDL-21240 fixed event docs 2010-01-19 22:07:13 +00:00
Petr Skoda
d96d8f03b4 MDL-21240 adding new level to requirements manager, now the function calls and events have access to "Y." 2010-01-19 22:01:12 +00:00
Petr Skoda
8f29813160 MDL-21240 shortened urls now start with / everywhere 2010-01-19 12:59:34 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda
f2ab0d0694 MDL-21240 more migration to html_writer 2010-01-18 20:39:47 +00:00
Petr Skoda
77774f6a83 MDL-21240 move script tag generation into html_writer + improving api a bit 2010-01-18 20:17:43 +00:00
Petr Skoda
c046747947 MDL-21240 simplified CSS handling in requirements manager 2010-01-18 20:02:13 +00:00
Petr Skoda
02fd1ad7a7 MDL-21240 converting shortened urls to start with '/' 2010-01-18 19:21:38 +00:00
Petr Skoda
c8870e6886 MDL-21240 support for loading of yui2 modules thourgh the yui3 JS loader; see example attached in tracker 2010-01-18 19:18:00 +00:00
Petr Skoda
2212eb7add MDL-21240 adding special handling of theme CSS, the reason is we ned to mark first theme CSS so that YUI adds own CSS before that, and second the custom plugin CSS must be always loaded after themes 2010-01-18 13:13:20 +00:00
Petr Skoda
b9bc201962 MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!) 2010-01-17 09:50:55 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Dongsheng Cai
99eaca9d3d "MDL-21170, major update to filepicker, complete rewrote filepicker javascript code to use YUI3, need furthur polish" 2010-01-15 07:48:38 +00:00
Sam Hemelryk
9d89733132 javascript-dock MDL-21329 Several major changes to the underlying navigation and dock code
The following changes have been made in this commit:
1. Renamed the side bar thing to dock, this is consistent through all code/css now.
2. Converted everything to YUI 3 except the panel which docked items are shown in, this iwll be converted once YUI 3 overlay is no longer beta.
3 Redisigned the dock, all blocks can now make use of it, and theme code within JS can override it so they can make it look as they want.
More changes are coming
2010-01-14 05:35:23 +00:00
Petr Skoda
c724f835ca MDL-21242 moving yui2 skin away from theme CSS, this improves browser caching and finally we may load skin from the internet too 2010-01-05 17:29:43 +00:00
Petr Skoda
2574fae6ef MDL-21123 moved javascript for navigation bar - testing of themes JS and it may need to use different tricks in other themes with CSS column layouts 2010-01-04 23:51:48 +00:00
Petr Skoda
945f19f77d MDL-21193 finally fixed YUI3 laoding - now fully cached and working - yay! 2009-12-28 23:08:55 +00:00
Petr Skoda
636365f89a MDL-21196 workaround for xhtml strict problems in phploader 2009-12-27 09:27:41 +00:00
Petr Skoda
aa42314ded MDL-21189 yui2/3 combo loader implemented - yay! admin settings in the next commit; yui libs stored in more standard locations 2009-12-25 22:37:04 +00:00
Petr Skoda
60f2c8666a MDL-21189 custom yui image loading needed for combo yui loader 2009-12-25 19:51:40 +00:00
Petr Skoda
985d1d1d22 MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading 2009-12-25 15:27:47 +00:00
Petr Skoda
9fd49f5fd4 MDL-21188 minor cleanup 2009-12-25 14:23:36 +00:00
Petr Skoda
95fbe49bab fixed whitespace, sorrry 2009-12-25 14:15:24 +00:00
Petr Skoda
9b2735f93c MDL-21188 removing support for yui pix folders in themes because it is not compatible with autoloading in YUI3 and also loading of any YUI from external sites through combo scripts 2009-12-25 14:14:55 +00:00
Petr Skoda
4c90714106 MDL-21187 YUI phploader now used for YUI3 2009-12-25 13:48:23 +00:00
Dongsheng Cai
9f509643f0 "MDL-21141, fixed a regression introduced by last commit, thanks for testing, jerome" 2009-12-18 07:17:46 +00:00
Petr Skoda
91e856f7f8 MDL-21141 removing incorrect connection_core, thanks Dongsheng 2009-12-17 07:08:47 +00:00