1525 Commits

Author SHA1 Message Date
Sam Hemelryk
553669ae17 navigation MDL-26908 Fixed up positioning of icons for items that are both expandable and have an icon 2011-03-21 10:45:23 +08:00
Petr Skoda
c3b5e8290b MDL-25352 fix multiple issues in admin/replace.php
Make sure admins know things can go wrong, MSSQL and Oracle were never working, fix block_html config saving issue, skip a lot more tables because the data there is serialised() or can not be changed in case of config tables, more warnings and checkbox confirmation.
2011-03-14 00:51:42 +01:00
Eloy Lafuente (stronk7)
9f3813016c Merge branch 'MDL-26190' of git://github.com/srynot4sale/moodle 2011-03-07 02:58:09 +01:00
Aaron Barnes
0b15b43b3e MDL-26190 completion blocks: Show messages rather than hiding the block 2011-03-02 16:34:19 +13:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
3fa0670a98 Merge branch 'MDL-26109' of git://github.com/nebgor/moodle 2011-02-14 22:10:37 +01:00
Petr Skoda
47a13ff99a Merge branch 'MDL-25612_rss_block' of git://github.com/stronk7/moodle 2011-02-14 20:37:28 +01:00
Petr Skoda
9c14c1c55b MDL-26223 prevent getting content of hidden blocks in edit mode 2011-02-13 18:14:55 +01:00
Eloy Lafuente (stronk7)
3612c3be4a MDL-25612 sql - make rss_client block cross-db 2011-02-12 20:38:03 +01:00
Aparup Banerjee
dde36f9d65 blocks MDL-26109 adding docking option to empty blocks as well. 2011-02-11 12:36:19 +08:00
Eloy Lafuente (stronk7)
cd03ecce8e Merge branch 'MDL-24870_rss_error' of git://github.com/andyjdavis/moodle 2011-02-08 10:21:55 +01:00
Petr Skoda
801dea0605 MDL-26262 fix online users block error on non-course pages 2011-02-06 22:04:44 +01:00
andyjdavis
d95a02faa9 rss MDL-24870 latest news block was supplying the wrong context ID when creating its RSS feed link 2011-02-03 15:24:27 +08:00
Petr Skoda
46df3c6059 Merge branch 'MDL-25981' 2011-01-31 22:44:17 +01:00
Petr Skoda
0ab727fb35 MDL-26034 myprofile block cleanup 2011-01-26 13:26:46 +01:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
Sam Hemelryk
0243d7eb2f Merge branch 'w04_MDL-25855_20_filerequire' of git://github.com/skodak/moodle 2011-01-24 11:51:38 +08:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Petr Skoda
fb7dd39ce7 MDL-26045 fix invalid sql join when separate group mode enabled 2011-01-19 15:40:20 +01:00
Ashley Holman
85b8f8dfd0 MDL-25837 adding missing modinfo course property 2011-01-12 21:44:16 +01:00
Petr Skoda
f4f374176d Merge branch 'MDL-25596-fixed' of git://github.com/samhemelryk/moodle 2011-01-12 09:57:18 +01:00
Sam Hemelryk
0022a97f24 blocks-navigation MDL-25596 Fixed notice when block config doesn't already exist 2011-01-12 09:53:08 +08:00
Petr Skoda
6fa8c7ea86 Merge branch 'MDL-25596' of git://github.com/samhemelryk/moodle 2011-01-10 14:41:04 +01:00
Sam Hemelryk
03364f9e2f Merge branch 'MDL-25869' of git://git.luns.net.uk/moodle 2011-01-10 16:10:46 +08:00
Sam Hemelryk
726bc52504 Merge remote branch 'mouneyrac/MDL-25768' 2011-01-10 16:01:08 +08:00
Dan Poltawski
15217303ae blocks/rss_client MDL-25869 Prevent sharing id
The form was generating an element id of "header", causing theme
breakage
2011-01-08 00:17:33 +00:00
Sam Hemelryk
8e5c23e04f blocks-navigation MDL-25596 Fixed up redundant AJAX calls when navigation was limited by config 2011-01-06 11:50:01 +08:00
jeromemoodle
6a658c9173 community hub finder MDL-25768 private hubs weren't displayed in the hub list 2011-01-05 14:27:54 +08:00
Dan Poltawski
e60a00f9a4 blocks/calendar_month MDL-23657 - don't assume id param is courseid
This was casuing context creation on invalid courses..

There remains a problem with previous/next buttons on non course pages.
2011-01-03 23:21:44 +00:00
Sam Hemelryk
8ad24c1a44 navigation MDL-25596 Fixed whitespace issue 2010-12-23 16:55:52 +08:00
Sam Hemelryk
48d8d09063 navigation MDL-25596 Improvements for the navigation blocks JS
The biggest change is that the navigation block has been converted to a proper YUI module.
The following are the other changes made at the same time:
 * A loading icon is displayed when a branch is being loaded by AJAX.
 * Fixed a bug where you could trigger multiple AJAX requests by rapidly clicking an unloaded branch.
 * Fixed a bug where empty branches weren't being marked as such after a successful AJAX load.
 * When docked the width of the blocks dock panel is now inspected an increased if required to try avoid horizontal scrolling.
 * Removed the no longer needed inclusion of the YUI2 dom library from the navigation and settings block.
 * Expandable nodes are now passed as JS data allowing the navigation JS to be initialised through block_navigation::get_required_javascript.
 * AJAX is now focused around the branch in question rather than the tree in general.
 * Expansion of branches is now delegated to the tree rather than being an individual event on all branches.
 * Tidied up the code in general removing unneeded-unused parameters.
2010-12-23 11:21:07 +08:00
David Mudrak
07f59c9049 NOMDL mnet: do not display 'All Hosts' in the Network servers block 2010-12-10 22:18:26 +00:00
Petr Skoda
3bcc53cd83 MDL-25607 respect visibility of news forum in the Latest news block 2010-12-09 06:23:18 +00:00
Andrew Davis
77fb01833e rss MDL-25563 made the rss block unescape item URLs to prevent double escaping 2010-12-09 03:02:26 +00:00
Helen Foster
dcc5fd59f8 MDL-21250 capital letters removal also license info added 2010-12-08 11:01:20 +00:00
Helen Foster
6fa35f8aae MDL-21250 capital letters removal 2010-12-08 10:50:53 +00:00
Petr Skoda
3aa2fd20c0 MDL-25593 added missing filelib include
credit goes to Adam Olley
2010-12-08 08:15:21 +00:00
Helen Foster
90699ee515 removing backslash 2010-12-04 19:44:51 +00:00
Sam Hemelryk
480f906e25 block-navigation MDL-23838 There is now an option that you can enable so that categories in the navigation are links as well. 2010-12-02 07:13:07 +00:00
David Mudrak
95840a8e7b MDL-24939 block mnet_hosts now displays error message if the dependencies test fails
The site must be switch at least to DEBUG_NORMAL level and
$CFG->debugdisplay must be turned on. It helps administrators to detect
the problems in their MNet setups.
2010-11-29 13:44:28 +00:00
Sam Hemelryk
c55e1d2945 navigation MDL-25410 Fixed up marking of active item/items and fixed blog links on navigation so they only display for current user. 2010-11-26 06:04:59 +00:00
Helen Foster
dc084e42f9 MDL-25305 typo fix 2010-11-19 09:22:24 +00:00
Sam Hemelryk
a467d243f9 navigation MDL-25317 Fixed scroll issue and ajax expansion bug within the navigation JS 2010-11-19 02:41:05 +00:00
jerome mouneyrac
d4f866ea5f community block MDL-25262 improve hub listing css 2010-11-17 09:03:26 +00:00
jerome mouneyrac
cbe80ba5c3 community block MDL-25256 fix hub description on the search form (previous hub description was assigned to the following) 2010-11-17 03:29:35 +00:00
David Mudrak
45e8775911 MDL-13379 mnet: course overview at my home page displays remote courses, too
The patch submitted by Hubert Chathi. I just changed it a bit to use
moodle_url instead of string URLs and to use s() instead of format_string()
when putting the course fullname into title="" attribute value.
2010-11-16 13:40:34 +00:00
Petr Skoda
43206af618 MDL-25235 fixed param type for OS paths
paths to executable are not PARAM_TEXT, we have to use PARAM_RAW there + whitespace fixes
2010-11-16 10:27:00 +00:00
Eloy Lafuente
32df07b4c3 MDL-24959 glossary_random - render images in picked entries properly 2010-11-15 15:46:14 +00:00
Sam Hemelryk
740952e40b blocks MDL-24999 Fixed up regression in the display of block_list type blocks. Columns now site next to each other rather than below. 2010-11-11 05:15:41 +00:00
Aparup Banerjee
693fc4a29f global search MDL-25099 setting global search block to 'hidden' when feature is disabled in experimental settings. 2010-11-11 03:37:54 +00:00