1153 Commits

Author SHA1 Message Date
Dan Poltawski
209a123509 blocks/admin MDL-21593 - Specify full url to 'child courses'
forward ported from MOODLE_19_STABLE
2010-02-24 08:58:40 +00:00
Dan Poltawski
41cfe00422 blocks/quiz_results: MDL-21284 - dont strip leading zeros from idnumbers
Or make assumptions its an integer as many external systems are not and to
be of copy and paste use to teachers it should match

forward ported from MOODLE_19_STABLE
2010-02-24 08:52:06 +00:00
Dan Poltawski
cd44c2b742 block/mentees: MDL-20993 - incorrectly assumes SITEID
forward ported from MOODLE_19_STABLE
2010-02-24 08:46:33 +00:00
Sam Hemelryk
46de77b6b7 navigation MDL-21543 Moved block docking icons next to the show-hide block icon 2010-02-24 08:12:17 +00:00
Eloy Lafuente
157aa3a22d MDL-21666 backup & restore caps - renaming the import one 2010-02-19 19:11:06 +00:00
Eloy Lafuente
d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Sam Hemelryk
7da3a79994 navigation MDL-21646 Fixing icon positioning and ensured a regular look 2010-02-19 02:24:26 +00:00
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +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
dd72b308ed MDL-20204 blocks rendering does not depend on html_component any more 2010-02-17 18:36:26 +00:00
Petr Skoda
5be262b66f MDL-20204 converting html_list 2010-02-17 17:56:26 +00:00
Petr Skoda
c63923bddb MDL-20204 converted action_icon 2010-02-16 16:24:49 +00:00
Petr Skoda
3ea5951efb MDL-20204 converting some more html_links 2010-02-16 15:27:16 +00:00
Petr Skoda
75015e5fc1 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:27:53 +00:00
Sam Hemelryk
7c964cdf14 javascript-modules MDL-21400 Fixed up some recent module regressions 2010-02-09 01:38:45 +00:00
Sam Hemelryk
d2e68385d7 navigation MDL-21529 Added a close icon to docked item panels + show/hide event improvements 2010-02-08 04:09:18 +00:00
Petr Skoda
916276fc0a MDL-20204 more outputlib changes towards separate html_writer 2010-02-07 20:12:31 +00:00
Petr Skoda
2b728cb5e1 MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
Petr Skoda
41912a261f MDL-21400 converting JS set_user_preference to M namespace and YUI3 2010-02-06 15:20:24 +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
7d54028d59 MDL-21400 the correct namespace for blcoks is M.block_xxx, not M.blockS_xxx - the /blocks/ directory name is ugly exception, we use singulars everywhere else 2010-02-06 13:34:54 +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
Sam Hemelryk
87bf352d75 navigation MDL-21503 Dock cleanup in preperation of removing global Y 2010-02-04 06:51:57 +00:00
Penny Leach
83d50b79cd mnet MDL-21484 don't offer jump links in the mnet block to remote users 2010-02-01 03:37:38 +00:00
Sam Hemelryk
9af2b86b95 navigation MDL-21329 Fixed regression with docked preferences thanks Jerome for spotting 2010-01-28 06:29:29 +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
Martin Dougiamas
35e064659e block/config MDL-21375 Restrict options on the front page, and use better human-readable names 2010-01-25 05:29:51 +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
Sam Hemelryk
dada7d66a4 navigation MDL-21418 Changed regex to replace all characters not just a-zA-Z0-9 thanks for picking this up David 2010-01-22 07:04:24 +00:00
Sam Hemelryk
bdbae764d9 calendar MDL-21240 Converted calendar JS to YUI3 module 2010-01-22 03:06:01 +00:00
Petr Skoda
9598d578bb MDL-21420 modole_cfg converted to M.cfg 2010-01-21 22:19:46 +00:00
Petr Skoda
e50b4c8972 MDL-21420 refactoring towards global M 2010-01-21 20:55:58 +00:00
Eloy Lafuente
26a8a8c8af MDL-21293 tag_youtube block - apply conversion of old tags to new ones in specialization()
and start using new ones in configuration
2010-01-21 19:28:28 +00:00
Eloy Lafuente
4f42e4663d MDL-21293 tag_youtube block - migratin from YouTube API to Google one
TODO: fix the configuration form to use the new stuff...
2010-01-21 18:54:50 +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
Martin Dougiamas
0aed347fd1 blocks config MDL-21375 Usability improvements for editing block stickiness, especially when dealing with frontpage and system blocks. 2010-01-20 09:08:04 +00:00
Martin Dougiamas
02ba576c27 blocks/sticky MDL-21375 This patch allows frontpage blocks to be easily turned into SYSTEM-wide sticky blocks. There is still an outstanding problem about how to deal with SYSTEM blocks that are not sticky. I think these should also be seen on the front page all the time but I'm not sure. See the bug for discussion about this. 2010-01-19 10:07:52 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +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
Dongsheng Cai
285fd4ea55 "MDL-20125, boilerplates added" 2010-01-18 05:33:25 +00:00
Petr Skoda
eb7880654f MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead 2010-01-17 09:37:30 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +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
Sam Hemelryk
b291933029 javascript MDL-21329 Tidied up navigation and blocks JS documentation 2010-01-15 03:34:20 +00:00
Petr Skoda
0f4c64b79f MDL-21235 new link method in html_write, partinally replaces old html_link, going to add new action_link soon 2010-01-14 22:10:20 +00:00
Sam Hemelryk
598ee31708 javascript-dock MDL-21329 Fixed regression with CFG var 2010-01-14 07:04:37 +00:00
Sam Hemelryk
d2c394f3c3 javascript-dock MDL-21329 Added $CFG->allowblockstodock(true by default) and $THEME->enable_dock (false by default)
Also moved blocks/blocks.js to javascript-static,js so there is one less file to load
2010-01-14 06:56:12 +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
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