martinlanghoff
3bf13d05f5
course/lib:print_course() smarter calling of get_role_users()
...
And saves a few dbqueries too...
2007-09-19 07:09:24 +00:00
martinlanghoff
026579bbc3
course/search.php: smarter about contexts, bugfix in pagination
...
Save a ton of queries about contexts, and a bugfix in how we are
calling the pagination for get_courses_search().
2007-09-19 07:08:50 +00:00
martinlanghoff
679b617967
categories: Categories page and get_courses_page() - smarter about context
...
This patch saves 1600 context lookups on a 1600 course category. rcache
does help a bit with small categories, but on large setups, this is
not sustainable.
And it's not needed either. We have the data right at our fingertips.
Just get it when it's cheap...
2007-09-19 07:08:24 +00:00
martinlanghoff
d7d4b0e572
course/view: roleswitch checks moved to the course page
...
Implemented all the relevant checks for role_switch().
accesslib's role_switch() doesn't do any UI-related checks any more,
being a backend lib call. These belong here.
2007-09-19 07:06:44 +00:00
martinlanghoff
d863419245
course/index: move orphan fixups to an optimised fix_coursecategory_orphans()
...
Move the fixups for orphan courses to the newly minted
fix_coursecategory_orphans() -- and optimise it to take only 1 dbquery for
the common case.
If we do find lots of orphans, we issue 2 updates per orphan.
This cuts down dbqueries drastically - we used to have 2x the number of
courses in the site.
2007-09-12 02:56:36 +00:00
skodak
ffc536af8e
MDL-7380 converted various places to use new groups API
2007-09-08 20:53:05 +00:00
mattc-catalyst
263017bbdd
MDL-10888: groupings - mod/workshop - add grouping support
2007-09-06 01:35:37 +00:00
moodler
7b0d5cd551
Merged fixes for MDL-7425 from 1.8 stable
2007-08-30 06:01:57 +00:00
toyomoyo
a683deeca6
merged fix for MDL-10818, do not display graph if user has no permission
2007-08-28 07:04:41 +00:00
nicolasconnault
9837bd1d2c
MDL-7574 Applying Matthew Davidson's patch.
2007-08-27 16:59:04 +00:00
skodak
97928ddf00
MDL-11003 adding of first activity on frontpage does not work - incorrect section
2007-08-26 15:30:51 +00:00
skodak
273eb2f5aa
MDL-10999 Cannot Insert or Edit a Label
2007-08-26 07:44:14 +00:00
nicolasconnault
ba7472ccdf
MDL-10910 Corrected two errors committed while fixing MDL-10870
2007-08-23 15:08:14 +00:00
nicolasconnault
d02240f302
MDL-10870 A few more files with old style navigation strings.
2007-08-23 14:58:15 +00:00
moodler
6cf890e36b
Remove timelimits from rebuild_course_cache() MDL-10954 (merged from 1.8)
2007-08-23 05:46:07 +00:00
moodler
4ae6d1ed41
untick teachers by default, merged from 1.8 MDL-10946
2007-08-23 05:16:16 +00:00
toyomoyo
66af2bf186
fixing a broken get_context_instance() call
2007-08-22 05:51:04 +00:00
Martin Langhoff
13534ef716
cvsimport fixups
2007-08-29 13:10:11 +12:00
skodak
e04ff2d559
MDL-10383 adding new standard elements method - modules now must specify what they support (groups/groupings/groupmembersonly); by default only groupmode selector is enabled
2007-08-20 07:27:04 +00:00
toyomoyo
1dc08b85b1
MDL-4384, fixed undefined function call, hide the add sub category form in non-editing mode
2007-08-20 01:59:50 +00:00
skodak
b299029264
fixed syntax error
2007-08-19 21:07:15 +00:00
nicolasconnault
0be6f67819
MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site.
2007-08-17 19:09:11 +00:00
skodak
a104debf4f
MDL-10892 modules explicitly declare support for groupmembersonly; the grouping and groupmembersonly elements are now marked as advanced; only Resource supports groupmembers only now
2007-08-17 12:29:18 +00:00
nicolasconnault
e295df447f
MDL-10870 All files updated to new build_navigation() method.
2007-08-17 11:18:58 +00:00
skodak
24f41672ba
MDL-10383 - adding UI for new grouping settings into course and mod edit forms + fixed section handling on mod edit page + other minor cleanup
2007-08-17 08:05:04 +00:00
nicolasconnault
73c24ef80b
MDL-10870 All files updated to new build_navigation() method.
2007-08-16 15:01:25 +00:00
skodak
5bf243d131
MDL-10383 - groups/groupings refactoring nearly finished ;-)
2007-08-16 11:06:48 +00:00
skodak
62d6383803
MDL-10383 - groups/groupings refactoring and improvements - basic UI for groupings implemented
2007-08-16 09:28:18 +00:00
toyomoyo
3aafb7d9d2
merged fix for MDL-10818, do not display broken graph when user has no permission to view actities graph
2007-08-16 04:05:31 +00:00
skodak
ddff2fa806
MDL-10383 - yet more groups and groupigns refactoring, cleanup and bugfixing - grouping edit form now works
2007-08-15 23:51:07 +00:00
skodak
2c386f82e5
MDL-10383 - deprecated get_groups(), user_group() and ismember()
2007-08-15 20:21:01 +00:00
toyomoyo
ca5d523bef
MDL-4384, description for course categories
2007-08-15 08:28:40 +00:00
moodler
a0501fc36a
Make sure require_login is being called from reports MDL-10833
2007-08-13 13:45:14 +00:00
moodler
665f8762ae
Fixed theme and require_login MDL-10833
2007-08-13 13:40:35 +00:00
moodler
36d3e28d30
Fixed course theme and require_login MDL-10833
2007-08-13 13:39:32 +00:00
moodler
76655d6ff1
Make course themes work on course settings page MDL-10833
2007-08-13 13:35:29 +00:00
stronk7
4f6bd3b9c1
Increasing the displayed size of course->shortinfo to 20. MDL-10026
...
(bigger but enough smaller than the fullname field)
2007-08-09 12:26:43 +00:00
moodler
8047ab1d9d
Using right_to_left() function MDL-10768
2007-08-09 08:41:08 +00:00
moodler
932be04628
Patch for left-right buttons in course view MDL-10768
2007-08-09 07:50:21 +00:00
toyomoyo
9e5fe95780
removing an extra include
2007-08-08 07:51:55 +00:00
toyomoyo
4d25a59e3f
user the grader report for user activity reports
2007-08-08 07:50:32 +00:00
stronk7
bd5d0ce540
MDL-8119 : Improvements to logging where Mnet hosts are involved
...
Merged from MOODLE_18_STABLE
2007-08-06 18:19:15 +00:00
skodak
f615fbaba0
MDL-10711 adding deleting of grade data when deleting module or course
2007-08-03 19:25:22 +00:00
skodak
e79541a3b7
fixed updating of idnumbers
2007-08-03 14:12:38 +00:00
nicolasconnault
6d762c249c
MDL-10109 Completing unfinished refactoring. Thanks Petr :-)
2007-08-02 15:13:09 +00:00
nicolasconnault
2d6df44f7f
MDL-10109 Only creating new category when at least 2 grade_items (inc. outcome or normal grade)
2007-08-02 14:33:29 +00:00
nicolasconnault
61defed9f2
MDL-10109 New category gets created without problem, and the outcomes are created and added as children of that category. The normal grade_item, if present, is also added before the outcomes.
...
There is only one issue which is probably not directly related to this issue: When these new objects are created, the changes take a few page loads to appear correctly in the grader report. Sometimes I even had to open the Category and item edit page and then the grader report again before the correct changes would appear and remain that way afterwards
2007-08-02 14:22:20 +00:00
skodak
602433133e
MDL-10105 idnumber uniqueness tested before insert in UI now - both modedit and item edit pages
2007-08-02 10:38:18 +00:00
nicolasconnault
75bde3cc0d
MDL-10109 Adding missing global $CFG
2007-08-02 08:32:49 +00:00
toyomoyo
c345bb584a
MDL-10679, improvement to context_rel table and load_user_capability
2007-08-02 08:28:29 +00:00