Sam Hemelryk
9b0e51000e
MDL-29224 navigation Fixed bug caused because in 20 and 21 onclick events get added to extra rather than onclick
2011-10-12 19:47:13 +13:00
Aparup Banerjee
4b7783da19
Merge branch 'wip-MDL-28549-m21' of git://github.com/samhemelryk/moodle into MOODLE_21_STABLE
2011-10-11 09:45:06 +08:00
Sam Hemelryk
63f81e076d
MDL-28549 navigation: Added a missing login check when adding the calendar link to the navigation
2011-10-10 10:31:01 +13:00
Sam Hemelryk
5993fccd1e
MDL-29224 navigation: Navigation now respects a modules onclick event when preparing navigation nodes
2011-10-06 19:32:52 +13:00
Aparup Banerjee
d8f2500f46
Merge branch MDL-29186-m21 of git://github.com/samhemelryk/moodle
...
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:19:47 +08:00
Aparup Banerjee
6519a7769d
Merge branch MDL-29187-m21 of git://github.com/samhemelryk/moodle
...
- resolved conflict.
2011-09-13 13:54:43 +08:00
Sam Hemelryk
0347dd4d70
MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently
2011-09-08 09:39:00 +12:00
Sam Hemelryk
5da6f4eeb6
MDL-29187 multilang Reviewed the uses of category name and ensured things are being formatted correctly
2011-09-08 09:36:55 +12:00
Sam Hemelryk
34c46428f1
MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently
2011-09-08 09:30:10 +12:00
Sam Hemelryk
208b9e2a50
MDL-24202 navigation Fixed bug caused by navigation overriding a CFG setting
2011-08-29 13:45:36 +12:00
Petr Skoda
8fa38242d0
Merge branch 'wip-MDL-28040-m21' of git://github.com/samhemelryk/moodle into MOODLE_21_STABLE
2011-07-18 15:34:09 +02:00
Petr Skoda
aa3097da63
Merge branch 'wip-MDL-28184-m21' of git://github.com/samhemelryk/moodle into MOODLE_21_STABLE
2011-07-18 15:28:54 +02:00
Sam Hemelryk
f3e47fc8d2
MDL-28184 navigation: Tidied up handling of coursenode when adding course essentials
2011-07-13 14:59:31 +08:00
Sam Hemelryk
3274dc1461
MDL-28040 navigation: Fixed up error with navigation when dealing with categories that have a lower sort order than the parent.
2011-07-13 10:00:16 +08:00
Ruslan Kabalin
661dd2cf61
MDL-28186 messaging: Fix "Enable messagning setting" infuence on the menus
...
"Enable messaging system" (Site administration > Advanced features) is
supposed to control messaging between site users only, thus it should not
remove user messging preferences menu item. However, it may remove instant
messging preferences from providers list for the user.
Signed-off-by: Ruslan Kabalin <ruslan.kabalin@luns.net.uk >
2011-07-11 15:24:15 +02:00
Dan Poltawski
fbb580c38a
MDL-27855 navigation - only display participants link with permissions
2011-07-06 13:20:46 +08:00
Sam Hemelryk
baa97ed623
Merge branch 'MDL-28135_MOODLE_21_STABLE' of git://github.com/nebgor/moodle into MOODLE_21_STABLE
2011-07-06 11:02:55 +08:00
Petr Skoda
9a49e6004b
MDL-28167 fix missing new
...
And sloppy whitespace.
2011-07-06 02:09:54 +02:00
Aparup Banerjee
63e8936bb1
MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/"
2011-07-05 15:16:55 +08:00
Sam Hemelryk
797cedc7cf
MDL-25249 Tidied up calendar variable passing and removed session abuse
2011-06-29 14:50:38 +08:00
Sam Hemelryk
3992a46e89
MDL-27809 navigation: Fixed up a couple of minor issues after peer-review
2011-06-27 15:11:28 +08:00
Sam Hemelryk
e26507b361
MDL-27809 navigation: Reworked the caching within navigation and improved the ordering of events in order to reduce the use of session without serious impact on serverload
2011-06-24 16:42:41 +08:00
Sam Hemelryk
d38a4849b7
MDL-27940 navigaiton: Fixed an ordering problem so that when a parent was set for a node the nodes activity was accounted for
2011-06-23 11:29:26 +08:00
Tim Hunt
01d203566f
MDL-27925 Give meaningful keys to all the standard navigation mod settings nodes.
2011-06-18 16:24:31 +01:00
Tim Hunt
0c2f94e081
MDL-27925 A way to get the all the keys of the child nodes of a node.
2011-06-18 16:23:53 +01:00
Sam Hemelryk
5436561c7c
Merge branch 'MDL-27600-master' of git://github.com/sammarshallou/moodle
2011-05-30 10:05:59 +08:00
sam marshall
188a812794
MDL-27600 Navigation: Should be able to add nodes at other places than end of list
2011-05-27 13:18:03 +01:00
Eloy Lafuente (stronk7)
5fba6731d3
MDL-27541 course reports - allow teachers to view individual reports
2011-05-26 01:29:41 +02:00
Sam Hemelryk
870815faed
Merged MDL-25805 Renamed property and function to be a little more descriptive
2011-05-03 15:41:34 +08:00
Aparup Banerjee
b9bcad24db
MDL-25805 Roles propagated ugly hack for parent seeing child activities into navigation lib to display nav node.
2011-05-02 20:08:08 +08:00
Jenny Gray
52d1a8043c
MDL-25651 add capability check to my private files navigation link
2011-03-31 14:44:35 +01:00
Petr Skoda
61baea5d22
Merge branch 'MDL-26903' of git://github.com/samhemelryk/moodle
2011-03-21 18:00:07 +01:00
Sam Hemelryk
c78262b542
navigation MDL-26903 Fixed regression to navigation ajax after CM changes
2011-03-21 10:22:28 +08:00
Petr Skoda
8f6c1f3488
MDL-26859 improve blog access control and prevent unnecessary blog includes
2011-03-20 13:34:51 +01:00
Eloy Lafuente (stronk7)
0dd8cb88e9
Merge branch 'w07_MDL-23939_20_completeuser' of git://github.com/skodak/moodle
2011-02-14 17:10:29 +01:00
Petr Skoda
44303ca67a
MDL-25974 fix access to activities when role switched in hidden course and some coding style strict comparison fixes
...
The problem with strict comparison of numerical values fails badly if one is int and the other is string, moodle core apis do not guarantee return types much.
2011-02-13 16:17:47 +01:00
Petr Skoda
cc10c0b979
MDL-23939 minor course_display coding style improvements and inline docs
2011-02-12 23:06:11 +01:00
Aparup Banerjee
13801a49a2
MDL-23939 lazy load course_display with new course_get_display()
...
This change speeds up user login and makes the session smaller.
2011-02-12 22:45:17 +01:00
Petr Skoda
81c29ae06d
Merge branch 'MDL-26266' of git://github.com/samhemelryk/moodle
2011-02-07 23:05:08 +01:00
Dongsheng Cai
100e0d4989
NAVIGATION MDL-25468 remove optional_param from navigationlib.php, use override_active_url to help find the correct node
2011-02-07 16:25:58 +08:00
Sam Hemelryk
f0dcc21259
navigation MDL-26266 Refactored code to ensure when loading activities is a cm_info object
2011-02-07 12:16:13 +08:00
Petr Skoda
46df3c6059
Merge branch 'MDL-25981'
2011-01-31 22:44:17 +01:00
Sam Hemelryk
7e90d3a450
navigation MDL-25291 Added a session variable so that admin tree is skipped if it is found to be empty.
2011-01-27 15:54:11 +08: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
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
Sam Hemelryk
afc45eb160
navigation MDL-25578 Fixed up navbar when viewing categories.
2010-12-08 02:03:07 +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
Sam Hemelryk
ed6af5425c
navigation MDL-25397 Converted use of can_edit_category to check capabilities instead.
2010-11-26 06:07:46 +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