344 Commits

Author SHA1 Message Date
Sam Hemelryk
5c1f0d1ff6 MDL-33592 navigation: Added support for local_ prefix on navigation callback 2012-06-12 14:23:09 +12:00
Sam Hemelryk
a15e8b4101 MDL-30506 navigation: Fixed up reference handling issue and added docs post integration 2012-06-08 09:34:19 +12:00
Sam Hemelryk
a509cb29c3 Merge branch 'MDL-30506' of git://github.com/jonof/moodle 2012-06-08 09:04:46 +12:00
Jonathon Fowler
0cc24b8425 MDL-30506 navigation: Hook for local plugins to extend the settings_navigation tree 2012-06-06 10:38:03 +10:00
Frederic Massart
775fe70093 MDL-30837 Accessibility: removed navigation icons default alt text 2012-06-05 09:11:46 +08:00
Frederic Massart
4c88645920 MDL-33173 Filepicker: renamed private files edit page to main page 2012-05-25 09:24:39 +08:00
Dan Poltawski
3e832fe3e5 Merge branch 'MDL-32981-master' of github.com:FMCorz/moodle 2012-05-22 11:14:12 +08:00
Frederic Massart
c598ea55fe MDL-32981 Filepicker: my private files uses edit page instead of view 2012-05-22 10:56:11 +08:00
Dan Poltawski
c8f0f2cd85 Merge branch 'wip-MDL-33066-m23' of git://github.com/samhemelryk/moodle 2012-05-22 10:30:36 +08:00
Sam Hemelryk
957983b702 MDL-33066 navigation: Fixed ambiguously defined columns in DB queries for Oracle 2012-05-18 10:37:44 +12:00
Andrew Robert Nicols
01e0e7044a MDL-30617 Add a javascript interface for adding modules to a course
This interface allows for additional metadata, such as the module's help
and icon, to be displayed.
2012-05-18 00:27:16 +08:00
Eloy Lafuente (stronk7)
dd420abadf Merge branch 'MDL-24419-master' of git://github.com/sammarshallou/moodle
Conflicts:
	lib/db/upgrade.php
	lib/phpunit/lib.php
	version.php

Fixed:
    lib/db/upgrade.php - duplicate course->sectioncache add code
    lib/db/install.xml - cleanup needed because xmldb editor was not used
    lib/phpunit/classes/util.php - cleanup $GROUPLIB_CACHE on test reset
2012-05-16 23:53:47 +02:00
sam marshall
ce4dfd2703 MDL-24419 (4): Add conditional availability support to sections; section cache
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.

This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)

In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.

The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
Petr Skoda
fca2d3d754 MDL-32659 potential navigation course loading improvements
The idea is to not use inequalities in SQL queries for loading of courses in navigation because ti seems some SQL query optimiser have problems with that.
2012-05-12 13:20:11 +02:00
Sam Hemelryk
b11afed8cd Merge branch 'w19_MDL-32807_m23_navref' of git://github.com/skodak/moodle 2012-05-09 11:01:31 +12:00
Sam Hemelryk
98556b23c7 MDL-28967 navigation: PHPdoc and coding style cleanup 2012-05-07 13:00:29 +12:00
Sam Hemelryk
80c695228e MDL-28967 navigation: courses branch is only shown if all courses are loaded or you're not enrolled in any course 2012-05-07 13:00:28 +12:00
Sam Hemelryk
f7ee4baaee MDL-28967 navigation: Removed buggy caching of course loading information 2012-05-07 13:00:28 +12:00
Sam Hemelryk
d4bb6462fc MDL-28967 navigation: Fixed up AJAX loading of categories 2012-05-07 13:00:28 +12:00
Sam Hemelryk
176b75b59c MDL-28967 navigation: Optimised load_all_categories to load preload contexts to greatly reduce database queries 2012-05-07 13:00:23 +12:00
Sam Hemelryk
ee03fe79ef MDL-28967 navigation: Fixed up front page generation when showing categories and no enrolled courses 2012-05-07 12:42:24 +12:00
Sam Hemelryk
8e8de15f6c MDL-28967 navigation: Several navigation fixes
* Fixed implementation of navigation settings navshowcategories, navshowallcourses, and navcourselimit
    * Improved performance associated with loading all, or a collection of courses
    * Fixed duplicate calls to loading functions when we had the information required to know it had already occurred
2012-05-07 12:42:24 +12:00
Petr Skoda
082513badf MDL-32807 remove PHP4 object reference coding style 2012-05-06 13:31:55 +02:00
Dan Poltawski
10cdacfecb MDL-32508 Remove debuggign warning about callback_format_get_section_url
It is not the time to deprecate this callback as we may be doing
major changes in 2.4 so removing the warning about it.
2012-05-04 10:53:04 +08:00
Dan Poltawski
fe221dd583 MDL-32508 navigation: show empty sections 2012-05-04 10:53:03 +08:00
Dan Poltawski
d628215d49 MDL-32508 course: turn editting on/off stays on current page
Rather than always going to the index page, we can edit on section page
2012-05-04 10:53:01 +08:00
Dan Poltawski
d9e1326536 MDL-32508 course: deprecate get_section_url format callback 2012-05-04 10:52:59 +08:00
Dan Poltawski
f755868314 MDL-32508 course formats: Remove key callback
This was used by course formats but now there is a standardised
'section' param
2012-05-04 10:52:59 +08:00
Dan Poltawski
b9bcdb54da MDL-32505 course: drop course_display table and settings 2012-05-04 10:52:56 +08:00
Petr Skoda
f0202ae9a2 MDL-30686 improve accuracy of qualified_me() by trying PAGE->url first
This should help SSL proxies and returning to current page after require_login().
2012-04-27 13:39:18 +02:00
Sam Hemelryk
859a181627 Merge branch 'wip-mdl-32270' of git://github.com/rajeshtaneja/moodle 2012-04-10 10:53:34 +12:00
Aparup Banerjee
5661f7b454 Merge branch 'wip-MDL-31631-m23' of git://github.com/samhemelryk/moodle 2012-04-04 13:40:58 +08:00
Rajesh Taneja
ab6ec58a2e MDL-32270 Library: ->defaulthomepage is checked before used 2012-04-03 11:28:07 +08:00
Sam Hemelryk
04bcd1ce39 MDL-29678 navigation: Navigation AJAX require_login calls no longer set wantsurl or redirect 2012-03-30 10:23:46 +13:00
Sam Hemelryk
c18facf2eb MDL-31631 navigation: Removed caching of activities and sections arrays in favour of relying on cminfo caching 2012-03-30 10:22:45 +13:00
Aparup Banerjee
b36135b66a Merge branch 'wip-MDL-31528-m23' of git://github.com/samhemelryk/moodle 2012-03-20 10:09:43 +08:00
Sam Hemelryk
96e7855298 MDL-31528 navigation: Fixed up missing break and optimised category.php 2012-03-19 19:32:15 +13:00
Sam Hemelryk
f359fd6fcc Merge branch 'wip-MDL-27064-master' of git://github.com/phalacee/moodle 2012-03-19 15:49:05 +13:00
Sam Hemelryk
e141bc8109 MDL-31528 navigation: Replaced calls to deprecated context_instance_preload 2012-03-16 10:36:00 +13:00
Sam Hemelryk
6a16e1367a MDL-31528 navigation: Fixed up generation for category contexts 2012-03-16 10:36:00 +13:00
Jason Fowler
ec21eaba2e MDL-27064 - Blog - Changing the link text for different levels of blog entries 2012-03-15 08:46:38 +08:00
Sam Hemelryk
bc40124bfe MDL-27405 navigation: Fixed up buggy array_merge call 2012-03-14 10:16:34 +13:00
Sam Hemelryk
aad30b6a39 MDL-27405 navigation: Improved checking when fetching all parent categories 2012-03-12 09:42:41 +13:00
Sam Hemelryk
b0712163e6 MDL-27405 navigation: My courses branch now shows categories if navshowcategories is enabled 2012-03-12 09:42:41 +13:00
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Eloy Lafuente (stronk7)
93123b170d MDL-30976 navigation: fix a bunch of incorrect inline @see phpdoc tags 2012-02-29 00:56:41 +01:00
Adrian Greeve
31fde54fbc MDL-30976 - navigation - Updating the api block documentation. 2012-02-27 08:14:54 +08:00
Sam Hemelryk
1fa82cc153 Merge branch 'wip-MDL-30771-master' of git://github.com/marinaglancy/moodle 2012-02-14 17:00:41 +13:00
Marina Glancy
577c89644f MDL-30771: Enable students to view rubric definition prior to submission
Also allow advanced grading plugin to extend course module navigation, it is not necessary only definition previewing
Added option to rubric whether to show it to the students before submission and option to view description
2012-02-10 13:03:55 +08:00
Adrian Greeve
76565fa102 MDL-31463 - navigation - added a context check in the navigation for fullname permission. 2012-02-09 09:46:37 +08:00