22 Commits

Author SHA1 Message Date
moodler
e873679b8a Fixed some notices but this needs review from Petr MDL-10383 2007-10-03 09:12:01 +00:00
skodak
b0dcd1288f MDL-10383 added new subarray into $SESSION->activegroup which store active group in groupings for users with accessallgroups permission - defaults to 0 on first use; this should solve the problem when user has accessallgroups only in one activity 2007-09-29 13:48:41 +00:00
sam_marshall
cdaa941032 MDL-11455 renamed function I just added, to make it more consistent (sorry) 2007-09-26 11:19:41 +00:00
sam_marshall
18d43e964b MDL-11455 Added function and option to grouplib (also corrected another comment) 2007-09-26 11:13:09 +00:00
sam_marshall
d15da061a1 Corrected inaccurate comment (said 'group IDs' when it actually returns group objects) 2007-09-26 10:16:25 +00:00
sam_marshall
4d8e340715 MDL-11443 Added groups_get_grouping_name to match groups_get_group_name 2007-09-25 15:52:33 +00:00
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
skodak
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
skodak
b2bc96d10b MDL-7380 added new groups API functions for use in course related pages (very similar to functions for activities) + fixed grade code to use these new functions 2007-09-06 10:19:24 +00:00
mattc-catalyst
e683967738 MDL-10888: groupings - added function to get all grouping members, cleaned up some notices 2007-08-26 23:47:24 +00:00
mattc-catalyst
e0bc99e4db MDL-10888: groupings - added some caching of repetative queries 2007-08-23 22:18:53 +00:00
mattc-catalyst
dcd8db6864 MDL-10888: Groupings - add support for groupmembersonly flag.
Make the following respect the groupmembersonly flag:

- Course front page
- Activities block
- Recent Activity, including full report
- Calendar
2007-08-20 21:30:40 +00:00
skodak
7e4fdf2515 MDL-10383 - some more disabling of groupingid's when $CFG->enablegroupings empty - adding some explanation comments 2007-08-20 14:20:36 +00:00
skodak
c0d4238d01 MDL-10383 - some more disabling of groupingid's when $CFG->enablegroupings empty; this should allow using of $cm->groupingid in modules without extra checks for $CFG->enablegroupings 2007-08-20 14:18:55 +00:00
skodak
9d66deb3ce MDL-10383 - some more refactoring and new grouping related functions for modules 2007-08-20 13:56:39 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
skodak
f8e3d5f0c2 MDL-10888 groupmembers only checks in require_login() 2007-08-17 12:15:32 +00:00
skodak
778918fd71 MDL-10383 - some more refactoring/cleanup, enablegroupings experimental admin setting, tabs in groups UI 2007-08-16 21:14:03 +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
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