mattc-catalyst
acf000b077
MDL-11419 - groups: interface enhancements + new features:
...
* Display the grouping a course module belongs to on the course page - for course managers only.
* When adding users to groups, display the groups a user already belongs to.
* Added an overview report that shows groupings, groups and members for a course.
* Added a dialogue to automatically create groups and assign members based on either the number of desired groups or the number of desired users per group.
2007-09-24 21:55:15 +00:00
nfreear
e0b033d5f8
Partial fix of reopened MDL-7436 Accessibility: "Indicate type of resource in the name of the resource"
2007-09-24 17:26:40 +00:00
skodak
024ef5288a
MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden)
2007-09-23 13:13:13 +00:00
martinlanghoff
6b4d8c4d58
course/lib: print_course() fix bug when $course->managers was not set
...
Fix a thinko in a variable assignment that prevented us from grabbing
the correct roles as managers. Addresses Yu's report at
MDL-11182 admin shows up as teacher.
2007-09-19 07:52:27 +00:00
martinlanghoff
5b9e50caf0
course/lib: print_my_moodle() - ask get_my_courses() for the summary
...
get_my_courses() now defaults to a much leaner dataset, but accepts an
array of "additional" fields we want. So ask nicely for the summary,
so that we can print_course() later with it.
2007-09-19 07:51:50 +00:00
martinlanghoff
6c54240a61
course/lib: print_courses() drop $hidesitecourse parameter
...
The $hidesitecourse and related code seem to be dead code. An audit of
the callers did not turn up any interesting/valid use of it.
2007-09-19 07:50:41 +00:00
martinlanghoff
49cd4d7934
Revert "course/lib: print_courses() - no need to worry about sitecourse"
...
This reverts commit d7816749a4ceda352a2fac6e82d7f02f435473ed.
2007-09-19 07:50:28 +00:00
martinlanghoff
55c47e48a9
course/lib: print_courses() - no need to worry about sitecourse
...
get_courses_wmanagers() excludes the sitecourse, so we no longer
check for it. And check explicitly for an empty course array.
2007-09-19 07:49:23 +00:00
martinlanghoff
4dde1463ee
course/lib: print_courses() and print_course() rework
...
print_course() can now recognise a $course object that already has a
$course->context obj and a $course->managers array, which means that
there will be no DB access triggered by print_course().
(Backwards compat is retained so it still works the old way for
callers that get a single course printed anyway (during enrolment
for example.)
And print_courses() now uses get_courses_wmanagers(), and passes the
returned $course objects to print_course().
With this patch, a homepage listing 9 courses (with varying numbers of
teachers) sheds 63 DB queries (88 to 25). A course listing page with
3 courses sheds 9 (33 to 24).
On a single server overall time spent serving the homepage is reduced just
a little bit (262ms to 238ms) -- on a clustered environment, less DB queries
mean much lower latency and DB costs.
2007-09-19 07:26:54 +00:00
martinlanghoff
431cad0d62
course/lib: print_course() bugfix when $rusers is empty
2007-09-19 07:26:27 +00:00
martinlanghoff
19f601d178
course/lib: move_courses() calls content_moved(), intro move_category()
...
move_courses() now calls content_moved() which will take care of any
accesslib-required changes. And introducing move_category() which
also calls content_moved() when needed.
2007-09-19 07:14:23 +00:00
martinlanghoff
a372aab507
course: Changing a course cat from course/edit calls context_moved()
...
Changes to course cat from the main course settings form now calls
context_moved(), and accesslib data is properly maintained.
2007-09-19 07:13:57 +00:00
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
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
toyomoyo
a683deeca6
merged fix for MDL-10818, do not display graph if user has no permission
2007-08-28 07:04:41 +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
moodler
6cf890e36b
Remove timelimits from rebuild_course_cache() MDL-10954 (merged from 1.8)
2007-08-23 05:46:07 +00:00
Martin Langhoff
13534ef716
cvsimport fixups
2007-08-29 13:10:11 +12: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
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
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
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
toyomoyo
c345bb584a
MDL-10679, improvement to context_rel table and load_user_capability
2007-08-02 08:28:29 +00:00
mchurch
0ea0369669
Bug #MDL-10632, fixing the use of 'delete_event'.
2007-07-27 18:39:54 +00:00
thepurpleblob
e8513d2ca0
MDL-10395:
...
Course managers are now displayed in the order that the user
selects in the Define Roles page.
2007-07-17 14:07:56 +00:00
toyomoyo
e42f4d922e
merged fix for MDL-10122, accessiblity fix for course search box
2007-06-19 03:22:58 +00:00
tjhunt
1e95d7b7a3
OU Bug 3246 - No logs shown when a group is selected. Merged from OU Moodle. Merged from MOODLE_18_STABLE.
2007-06-07 16:04:23 +00:00
tjhunt
0be7010474
Fix logging of course settings updates.
2007-06-07 15:40:08 +00:00
tjhunt
edf3ef00a7
Make code slightly more robust, merged from MOODLE_18_STABLE.
2007-06-07 15:33:56 +00:00
poltawski
a044c05ddb
MDL-9742 - changed tabs to spaces in a few places where there are one
...
or two
2007-05-08 15:07:25 +00:00
nicolasconnault
933e257ab2
MDL-9322 Fixed non-compliant xhtml code for mnet pages, logs and enrol pages
2007-04-13 07:03:04 +00:00
toyomoyo
177d4abf11
adding idnumber field for course modules and modedit form
2007-04-11 09:19:24 +00:00
dwoolhead
07996c8e4d
MDL-9122 Unnecessary li opening tag (without closing tag) no longer printed when moving course section activity
2007-03-30 10:23:12 +00:00
toyomoyo
7b44777ef7
fixing a warning
2007-03-26 03:06:39 +00:00
moodler
bfefa87eab
Moved create_course and update_course into course/lib.php and cleaned them up to be more useful in general MDL-9015
2007-03-23 02:29:05 +00:00
toyomoyo
0150c561c5
fix for MDL-8966, customizable role names
2007-03-22 08:11:30 +00:00
nicolasconnault
cddbd5d5fe
MDL-8807: The icon's title attribute wasn't being updated along with its img.src
...
MDL-8997: A couple of typos: groupseparate instead of groupsseparate etc...
2007-03-22 07:16:57 +00:00
poltawski
650408a336
MDL-8455 - merged from MOODLE_18_STABLE
2007-03-14 13:08:00 +00:00
moodler
6ba65fa08d
Merged Nicolas' changes from MDL-8582 into HEAD.
2007-02-28 06:25:22 +00:00
toyomoyo
118c0f6d5c
merged, taking care of context_rel cache when moving courses across categories
2007-02-26 02:35:00 +00:00
moodler
9deaeaa174
Merged changes from stable to tidy course cats
2007-02-23 08:21:38 +00:00
toyomoyo
e2cd3ed012
merged nick's fix for MDL-8582, ampersand in course name/shortname causes xtheml strict problems
2007-02-23 06:03:09 +00:00
vyshane
2585a68d54
Merged from 1.8.
2007-02-16 08:46:55 +00:00
toyomoyo
217a8ee950
made some changes so that if a user has any roles assigned in context_module or context_block with moodle/site:manageblocks or moodle/course:manageactivities, he will see the "turn editting on" button without needing to have a role assigned at context_course with moodle/course:manageactivies capability. Of course this user would not be able to edit any blocks or modules he/she is not supposed to edit. Ajax for these users with partial editing privilages are locked. Please report bugs asap as we are looking at backporting this change to 1.8. Cheers.
2007-02-16 07:57:19 +00:00
toyomoyo
35d0244a37
taking out deprecated width in print_courses and print_course
2007-02-14 04:56:26 +00:00
moodler
1e0fb1054c
Resolved duplicate id issue MDL-8410
2007-02-05 07:58:29 +00:00