227 Commits

Author SHA1 Message Date
Sam Hemelryk
4766a50c19 navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit 2010-05-13 09:57:43 +00:00
Sam Hemelryk
6605ff8cda themes MDL-22358 Renamed sideblock class to block 2010-05-06 06:16:07 +00:00
Sam Hemelryk
88f77c3c26 navigation MDL-22044 Added setting to limit content that is shown on the navigation back into the navigation block 2010-04-21 09:44:16 +00:00
Sam Hemelryk
a9535f7945 navigation MDL-21350 Implemented trim options for the navigation block, can now set trim mode (right/left/center) and trim length 2010-04-21 07:05:39 +00:00
Sam Hemelryk
3406acdef9 navigation MDL-22044 Major navigation structure changes.
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure.
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
David Mudrak
4d84db2725 Fixed incorrect getting of Exception message 2010-04-01 19:06:02 +00:00
Sam Hemelryk
7da3a79994 navigation MDL-21646 Fixing icon positioning and ensured a regular look 2010-02-19 02:24:26 +00:00
Sam Hemelryk
507a7a9a2d navigation MDL-21604 Fixed AJAX security issue + the following changes
* AJAX expansion now uses JSON rather than XML
* Tidied up unused globals in navigaitonlib after recent refactoring
* Cleaned up Database calls that were no longer required after security changes
2010-02-18 05:57:20 +00:00
Petr Skoda
2e866010a3 fixed regression 2010-02-09 17:56:26 +00:00
Petr Skoda
0bb38e8c04 MDL-21400 JS != ajax and page requirements are also CSS - making new special lib file for page requirements 2010-02-07 08:45:21 +00:00
Petr Skoda
dcd6229201 MDL-21400 fixed yui2 laoding from footer 2010-02-06 19:39:28 +00:00
Petr Skoda
26114d526f MDL-21400 removing some YUI2 extras 2010-02-06 15:59:29 +00:00
Petr Skoda
3244d9cc57 MDL-21400 load as few YUI2 as possible 2010-02-06 15:26:47 +00:00
Petr Skoda
3b044ba347 MDL-21400 converting help tooltips to YUI3/2 2010-02-06 15:08:12 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Petr Skoda
60409fe103 MDL-21532 ->in_head() now really exceptional (after overrlib removal there will be just a few of them) 2010-02-06 14:09:33 +00:00
Petr Skoda
781bd8aed5 MDL-21400 removed js_object_init, the new js_init_call is a new replacement which encourages our new standard coding style 2010-02-06 13:56:31 +00:00
Petr Skoda
cd9729e405 MDL-21400 ->in_head() from deprecated data_for_js(), this actually also fixes order of loading of libs+init code 2010-02-06 13:30:15 +00:00
Petr Skoda
4abd5b9b2a MDL-21400 migrated falsh detection to YUI3 2010-02-06 12:58:19 +00:00
Petr Skoda
c6f5f39ad5 MDL-21400 fixed & quoting issues 2010-02-06 12:11:34 +00:00
Petr Skoda
2169e664f2 MDL-21503 RIP global Y 2010-02-05 08:31:52 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Petr Skoda
76c0123b0e MDL-21400 completion manual toggle ajax converted to YUI3, simplified a bit, replaced textual feedback with standard ajax progress indicator spinning icon (fully themable) 2010-02-04 22:41:49 +00:00
Petr Skoda
4c508047eb MDL-21400 converting forms stuff to new M namespace and using standardised JS module coding style, fixed some regressions - for now works in FF only 2010-02-03 14:36:53 +00:00
Petr Skoda
76418c143b MDL-21400 fixedsloppy regression, sorry 2010-02-03 09:26:38 +00:00
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