Sam Hemelryk
c16b882bcd
MDL-41081 navigation: added means to prepend to the navbar.
2013-08-26 08:52:35 +12:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c
.
2013-08-21 13:42:30 +08:00
Dan Poltawski
c3f5f4ab37
Merge branch 'wip-MDL-32191-m26' of git://github.com/samhemelryk/moodle
2013-08-21 10:44:04 +08:00
Jonathon Fowler
072c52bbc0
MDL-32191 navigation: Add keys to module and block settings nav nodes
...
Conflicts:
lib/navigationlib.php
2013-08-16 09:18:42 +12:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Sam Hemelryk
49c7794dcf
Merge branch 'MDL-41082-master' of git://github.com/FMCorz/moodle
2013-08-13 10:16:14 +12:00
Frederic Massart
ce4619be9b
MDL-41082 navigation: Remove unnecessary load of portfolio instances
2013-08-09 17:44:46 +08:00
Frederic Massart
d0cac8b51b
MDL-41100 libraries: Deprecating get_plugin_list_with_file
2013-08-09 11:59:48 +08:00
Sam Hemelryk
75eb202ebd
MDL-40174 navigation: don't remove active root nodes without children
2013-07-22 10:48:59 +12:00
Eloy Lafuente (stronk7)
fb1788c598
Merge branch 'MDL-40424-master' of git://github.com/FMCorz/moodle
...
Conflicts:
admin/oacleanup.php
2013-07-17 01:21:51 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Frederic Massart
2e4c0c9181
MDL-40424 libraries: Deprecate context_instance_preload_sql()
2013-07-12 17:41:49 +08:00
Adrian Greeve
329846f198
MDL-40430 - Libraries: Deprecate print_context_name().
2013-07-09 16:11:55 +08:00
Ankit Agarwal
db314f34fb
MDL-40425 libraries: Remove context_instance_preload() from core
2013-07-09 15:55:51 +08:00
Ankit Agarwal
0601e0eef6
MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core
2013-07-04 15:41:06 +08:00
Dan Poltawski
20cea2c57f
Merge branch 'MDL-40297' of git://github.com/stronk7/moodle
2013-07-02 13:43:40 +08:00
Eloy Lafuente (stronk7)
19263336a0
MDL-40297 whitespace, comments & var names cleanup
2013-06-28 04:46:00 +02:00
Dmytro Vorona
42b40f99c1
MDL-40297 Hide empty categories in my courses
...
This is a followup of MDL-38631 were was detected that
whith categories being displayed in my courses, some of
them, not having courses for the user, were still shown.
With this patch, any category in the tree, not having courses
is automatically hidden, any depth.
2013-06-28 04:46:00 +02:00
Sam Hemelryk
09da042b36
MDL-40344 navigation: expandable branch id is now properly unique
2013-06-28 09:59:13 +12:00
Dmytro Vorona
257b59e737
MDL-38631 Fixed faulty add_category call, introduced in 758103
2013-06-22 16:27:28 +10:00
Sam Hemelryk
044bb690f8
Merge branch 'MDL-39865-master' of git://github.com/FMCorz/moodle
2013-06-18 13:54:39 +12:00
Dan Poltawski
85db00e0c3
Merge branch 'MDL-39825_dev_master' of https://github.com/totara/openbadges
2013-06-17 16:40:24 +08:00
Yuliya Bozhko
1dcb9ff1f5
MDL-39825 badges: Remove badges from course navigation when course badges are disabled
2013-06-10 16:21:55 +12:00
Sam Hemelryk
a6d966885b
Merge branch 'MDL-39979-master' of git://github.com/FMCorz/moodle
2013-06-10 11:35:26 +12:00
Frederic Massart
d36dd9eb57
MDL-39979 navigation: Remove the use of an undefined variable
2013-06-06 14:52:49 +08:00
Eloy Lafuente (stronk7)
32ce8b6803
Merge branch 'wip-MDL-21097-master' of git://github.com/marinaglancy/moodle
2013-06-05 01:43:03 +02:00
Frederic Massart
89f9dce0f7
MDL-39865 navigation: Removed unaccessible repositories node
...
A user is not allowed to edit another user's repositories, in any
circumstances. The repositories node under 'Profile setting for X'
does not make sense under those conditions.
2013-06-04 11:08:22 +08:00
Frederic Massart
0595d1d5a9
MDL-39865 navigation: 'Profile settings for ...' always displayed
...
Before this patch, 'Profile settings for X' would only be displayed
if X can access the course, which means that if the course is hidden
the node would be hidden as well. We changed this so that the user
needs to be enrolled in the course.
2013-06-04 11:07:49 +08:00
Marina Glancy
1fda836ca6
MDL-21097 Correctly check capabilities for course settings items
...
- Make sure that items in course settings (and frontpage settings) are shown depending on user capabilities
- Make sure user is able to turn editing on on the page even if he has only limited number of seciton/modules managing capabilities
2013-05-31 13:17:12 +10:00
Marina Glancy
5150c30203
MDL-39801 navigation_node::remove does not allow to insert nodes afterwards
2013-05-31 11:49:34 +10:00
Marina Glancy
e3b11a6e2b
MDL-39801 navigation_node::remove fails if first child does not have a key
2013-05-31 11:49:12 +10:00
Damyon Wiese
a02e36d682
Merge branch 'MDL-39209_master' of git://github.com/totara/openbadges
2013-05-13 14:59:37 +08:00
David Mudrák
6e5a473c47
MDL-38559 Reorganise course completion settings form
...
This is a result of a pretty intensive effort to make the form less
sucky, given the completion strings mess around. It partially solves
MDL-39419 too as it clarifies the course completion link in the course
administration block.
I must admit and record here that I'm pretty desperate by the current
state of the core_completion and how strings from it are inconsistently
used at various places with different meanings. For example the 'Completion
tracking' may mean the mode of how activities are tracked within the
course as well as the overall feature of course and activities tracking.
While a same phrase can be used in English for both this meanings, not
all languages have such luck and translating it is a pain in the ass.
Finally, let me give the credit for wording and UI design suggestions to
Helen Foster and all others who helped with this. This has been one of
the most ugliest forms in Moodle and we believe we made it better
(although we know it's far from perfect).
2013-05-09 23:14:57 +02:00
Yuliya Bozhko
85d7399e20
MDL-39209 badges: Fix course badges page access and navigation when course badges are disabled
2013-05-10 08:41:22 +12:00
Dan Poltawski
19226a309f
Merge branch 'MDL-39063' of github.com:totara/openbadges
...
Conflicts:
admin/settings/badges.php
lib/db/upgrade.php
version.php
2013-04-16 12:00:46 +01:00
Damyon Wiese
e0cded5d44
Merge branch 'wip-MDL-38055-m25' of git://github.com/samhemelryk/moodle
2013-04-16 14:32:53 +08:00
Sam Hemelryk
2fb77a96b3
MDL-39127 navigation: fixed loading of categories for navbar
2013-04-16 11:02:06 +12:00
Yuliya Bozhko
e280531436
MDL-39063 badges: Improve external backpack usability and workflow
2013-04-16 10:47:40 +12:00
Dan Poltawski
6c9e174cc8
MDL-37762 course: fix category url
2013-04-15 09:29:06 +01:00
Damyon Wiese
823efcedcc
MDL-37762 navbar - fold some long lines in previous patch
2013-04-15 13:32:07 +08:00
Damyon Wiese
23718dade9
Merge branch 'wip-MDL-37762-m25' of https://github.com/samhemelryk/moodle
2013-04-15 13:30:28 +08:00
Sam Hemelryk
abb29010f3
MDL-37762 navbar: shows categories for current course again
2013-04-15 11:27:26 +12:00
Paul Nicholls
75bdae9f6e
MDL-37762: Breadcrumb not showing categories on course page
2013-04-12 16:40:12 +12:00
Dan Poltawski
315e2ad133
Merge branch 'integration_MDL-38997' of github.com:totara/moodle
2013-04-12 09:59:49 +08:00
Dan Poltawski
ca0b1f57fc
Merge branch 'wip-MDL-38442-m25' of git://github.com/samhemelryk/moodle
2013-04-09 15:39:57 +08:00
Dan Poltawski
e26b02ddad
Merge branch 'wip-MDL-38593-master' of git://github.com/marinaglancy/moodle
2013-04-09 11:46:27 +08:00
Marina Glancy
cb52eeab28
MDL-38593 Argument 'id' renamed to 'categoryid' in course/manage.php
2013-04-09 12:55:50 +10:00
Marina Glancy
30142c1905
MDL-38593 Merge code from /course/category.php into /course/index.php
2013-04-09 12:21:05 +10:00
Sam Hemelryk
8718ffbac5
MDL-38442 navigation: set_expansion_limit now only hides structural nodes
2013-04-09 12:07:10 +12:00
Dan Poltawski
fd0768c0e7
MDL-39015 navigation: remove course reports from navigation
...
Regression from the commit in
278065528a
2013-04-08 12:25:14 +08:00