Issue Details (XML | Word | Printable)

Key: MDL-10383
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Petr Skoda
Reporter: Enrique Castro
Votes: 1
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Make modules to declare and use Groupings

Created: 09/Jul/07 06:58 AM   Updated: 03/Oct/07 11:52 PM
Return to search
Component/s: Groups
Affects Version/s: 1.9
Fix Version/s: 1.9

File Attachments: 1. File diff-ulpgc_groupings-08-07-07 (69 kB)
2. File groups-db-libchanges.diff (55 kB)
3. File groups.dia (2 kB)
4. Text File groups_cleanup2.patch (114 kB)
5. File patch-Bugz-2617-group_cm.diff (44 kB)
6. File patch-MDL-10383-groups-db-v6.diff (57 kB)
7. File patch-MDL-10383-groups-lib-clean-p1.diff (30 kB)

Issue Links:
Dependency
Duplicate

URL: http://moodle.ulpgc.es/moodle19ulpgc/course/view.php?id=3
Participants: Enrique Castro, Martin Dougiamas, Matt Clarkson, Nick Freear, Petr Skoda and Sam Marshall
Security Level: None
QA Assignee: Helen Foster
Resolved date: 03/Oct/07
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE

Sub-Tasks  All   Open   
 Sub-Task Progress: 
No sub-tasks match this view.

 Description  « Hide
Groupings were introduced in version 1.8 as a way to organize groups within a course. However, groupings do not have any practical use in version 1.8 or current 1.9 (HEAD). As in 1.8/1.9 Groupings are more a useless complication than a useful feature. To be productive Groupings must be USED by activity modules. I have proposed a whole new range of groups/groupings features combining the design goals (but not yet implemented) of OU and the implemented version of Groupings working at ULPGC. The spec proposal may be found at http://docs.moodle.org/en/Development:Groupings_and_Groups

At this stage I will concentrate in two new features:

a) Making possible to use different groupings by different activities.
Activities can declare a grouping to use. This means that when that particular activity is set as visible/separate groups, the particular groups used are those belonging to the declared grouping. Hence, we can have simultaneous activities where users are distributed according to different criteria, activities & resources may be targeted to different audiences.

The needed changes are adding a field "groupingid" to the courses and course_modules tables to hold the grouping that the course itself or each module instance will use when set in visible/separate groupmode. By "using grouping" I mean that grouping-aware functions should operate nor on all groups associated with a course but only those associated with a grouping. So, you may have a forum declaring a grouping and thus using a particular set of groups. At the same time other activity in the course, let say an assignment may declare other grouping and thus treat the same users as distributed in a completely different set of groups.

"Use grouping" must be added to the configuration form for each module instance, parallel to "groupmode" attribute. Best way is to add to te common module settings

Module code must be adapted to ensure that $cm->groupingid property now existing is passed to groups-API functions within the module code to return/manage only those groups belonging to the declared grouping.


b) Group-based content delivery
Once each activity, and resources, may declare a grouping to use, it is possible to make that those users that are not members of any group of that grouping cannot access to the module content (being it an interactive activity or a Resource module instance)
A simple checking for group membership at the beggining of the view.php file for each module would do the trick
Group-membership may be checked at course page (function print_section() ) to make links to forbidden modules invisible to users without suitable access.

At ULPGC we have a test site with these features ENABLED, that is, already coded. You may find it at http://moodle.ulpgc.es/moodle19ulpgc/course/view.php?id=3
Try login as user "prof01", "prof02" or "estudiante01", "estudiante02" ... with password "moodle" for all

The file attached is a unified diff against HEAD that can be used to explore proposed code changes.





 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda committed 32 files to 'Moodle CVS' - 14/Aug/07 08:50 AM
MDL-10383 - major groups patch - see bug i ntracker for more details - authors: Nick, Matt, Enrique and me
MODIFY group/lib/Attic/utillib.php   Rev. 1.15    (+3 -3 lines)
MODIFY lib/db/upgradelib.php   Rev. 1.3    (+260 -1 lines)
MODIFY lib/db/upgrade.php   Rev. 1.114    (+58 -14 lines)
MODIFY lib/db/install.xml   Rev. 1.107    (+75 -12 lines)
DEL group/db/Attic/dbsetup.php   Rev. 1.10    (+0 -0 lines)
DEL group/db/Attic/dbcourselib.php   Rev. 1.2    (+0 -0 lines)
MODIFY group/Attic/edit_form.php   Rev. 1.9    (+39 -52 lines)
MODIFY group/Attic/edit.php   Rev. 1.10    (+63 -108 lines)
MODIFY backup/backuplib.php   Rev. 1.166    (+54 -32 lines)
DEL group/lib/Attic/courselib.php   Rev. 1.2    (+0 -0 lines)
DEL group/db/Attic/upgrade.php   Rev. 1.18    (+0 -0 lines)
MODIFY group/db/Attic/dbbasicgrouplib.php   Rev. 1.16    (+19 -53 lines)
MODIFY group/lib/Attic/clientlib.js   Rev. 1.12    (+0 -45 lines)
MODIFY group/simpletest/Attic/test_basicgrouplib.php   Rev. 1.8    (+2 -1 lines)
MODIFY group/grouping.php   Rev. 1.10    (+4 -0 lines)
DEL group/db/Attic/vssver.scc   Rev. 1.2    (+0 -0 lines)
MODIFY calendar/lib.php   Rev. 1.195    (+3 -3 lines)
MODIFY backup/restorelib.php   Rev. 1.268    (+73 -53 lines)
DEL group/Attic/overview.txt   Rev. 1.2    (+0 -0 lines)
DEL group/Attic/version.php   Rev. 1.7    (+0 -0 lines)
MODIFY group/index.php   Rev. 1.27    (+49 -228 lines)
MODIFY group/simpletest/Attic/test_groupinglib.php   Rev. 1.7    (+2 -1 lines)
DEL group/db/Attic/install.xml   Rev. 1.6    (+0 -0 lines)
MODIFY group/db/Attic/dbgroupinglib.php   Rev. 1.9    (+9 -9 lines)
MODIFY admin/index.php   Rev. 1.279    (+7 -10 lines)
MODIFY group/Attic/printgrouping.php   Rev. 1.3    (+2 -0 lines)
DEL group/Attic/onedaymaybe.txt   Rev. 1.2    (+0 -0 lines)
MODIFY version.php   Rev. 1.520    (+1 -1 lines)
DEL group/Attic/todo.txt   Rev. 1.2    (+0 -0 lines)
MODIFY group/lib/Attic/basicgrouplib.php   Rev. 1.18    (+2 -10 lines)
MODIFY group/lib/Attic/groupinglib.php   Rev. 1.19    (+4 -5 lines)
MODIFY group/assign.php   Rev. 1.11    (+40 -61 lines)
Petr Skoda committed 3 files to 'Moodle CVS' - 15/Aug/07 04:35 AM
MDL-10383 - backup/restore of new groups&groupings finished
MODIFY backup/restorelib.php   Rev. 1.269    (+264 -167 lines)
MODIFY lang/en_utf8/moodle.php   Rev. 1.130    (+2 -1 lines)
MODIFY backup/backuplib.php   Rev. 1.167    (+11 -10 lines)
Mitsuhiro Yoshida committed 2 files to 'Lang CVS' - 15/Aug/07 02:48 PM
Translated a new string for role.
Translated a new string for grouping MDL-10383.
Brushed up a translated string.
MODIFY ja_utf8/moodle.php   Rev. 1.233    (+3 -2 lines)
MODIFY ja_utf8/role.php   Rev. 1.47    (+2 -1 lines)
Petr Skoda committed 2 files to 'Moodle CVS' - 15/Aug/07 06:43 PM
MDL-10383 - some more groupings related restore problems fixed - groupings are now restored before course sections+course_modules - groupingsids now restored properly in course_modules table; fixed object initialization; fixed typos when restoring course modules that were causing missing group mode
MODIFY backup/lib.php   Rev. 1.86    (+2 -1 lines)
MODIFY backup/restorelib.php   Rev. 1.270    (+129 -108 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 15/Aug/07 08:21 PM
MDL-10383 - fixed stupid bug from last commit, sorry
MODIFY backup/restorelib.php   Rev. 1.271    (+2 -2 lines)
Petr Skoda committed 27 files to 'Moodle CVS' - 16/Aug/07 02:55 AM
MDL-10383 - major groups refactoring, cleanup and bugfixing - not finished yet!
groupings are fully implemented only in db schema and backup/restore
DEL group/db/Attic/dbmodulelib.php   Rev. 1.4    (+0 -0 lines)
MODIFY group/index.php   Rev. 1.28    (+32 -0 lines)
MODIFY group/Attic/edit_form.php   Rev. 1.10    (+4 -4 lines)
MODIFY group/assign.php   Rev. 1.13    (+1 -1 lines)
MODIFY group/db/Attic/dbbasicgrouplib.php   Rev. 1.17    (+0 -160 lines)
DEL group/simpletest/Attic/test_groupinglib.php   Rev. 1.8    (+0 -0 lines)
MODIFY group/lib/Attic/utillib.php   Rev. 1.16    (+0 -118 lines)
DEL group/simpletest/Attic/test_basicgrouplib.php   Rev. 1.9    (+0 -0 lines)
MODIFY lib/moodlelib.php   Rev. 1.920    (+10 -64 lines)
MODIFY group/db/Attic/dbgroupinglib.php   Rev. 1.10    (+0 -355 lines)
MODIFY blocks/admin/block_admin.php   Rev. 1.99    (+2 -2 lines)
MODIFY group/lib/Attic/groupinglib.php   Rev. 1.20    (+1 -415 lines)
MODIFY group/grouping.php   Rev. 1.11    (+11 -10 lines)
MODIFY group/lib/Attic/basicgrouplib.php   Rev. 1.20    (+0 -127 lines)
ADD lib/grouplib.php   Rev. 1.1    (+0 -0 lines)
MODIFY group/Attic/edit.php   Rev. 1.11    (+2 -8 lines)
DEL group/db/Attic/dbcleanup.php   Rev. 1.3    (+0 -0 lines)
MODIFY group/lib/Attic/legacylib.php   Rev. 1.13    (+39 -57 lines)
MODIFY mod/quiz/locallib.php   Rev. 1.119    (+3 -3 lines)
DEL group/lib/Attic/automaticgroupinglib.php   Rev. 1.4    (+0 -0 lines)
MODIFY user/index.php   Rev. 1.181    (+2 -2 lines)
DEL group/lib/Attic/modulelib.php   Rev. 1.7    (+0 -0 lines)
MODIFY group/lib.php   Rev. 1.4    (+178 -6 lines)
MODIFY lib/setup.php   Rev. 1.204    (+2 -1 lines)
DEL group/Attic/printgrouping.php   Rev. 1.4    (+0 -0 lines)
MODIFY lib/accesslib.php   Rev. 1.280    (+6 -6 lines)
MODIFY course/import/groups/index.php   Rev. 1.11    (+8 -6 lines)
Petr Skoda committed 12 files to 'Moodle CVS' - 16/Aug/07 03:28 AM
MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9
MODIFY blog/lib.php   Rev. 1.68    (+6 -16 lines)
MODIFY group/lib/Attic/legacylib.php   Rev. 1.14    (+0 -42 lines)
MODIFY mod/exercise/Attic/locallib.php   Rev. 1.27    (+9 -9 lines)
MODIFY mod/quiz/report/analysis/Attic/report.php   Rev. 1.38    (+3 -3 lines)
MODIFY lib/datalib.php   Rev. 1.392    (+4 -4 lines)
MODIFY mod/survey/lib.php   Rev. 1.62    (+4 -3 lines)
MODIFY mod/quiz/report/overview/report.php   Rev. 1.93    (+5 -5 lines)
MODIFY lib/deprecatedlib.php   Rev. 1.30    (+45 -2 lines)
MODIFY mod/assignment/lib.php   Rev. 1.258    (+5 -4 lines)
MODIFY mod/journal/Attic/lib.php   Rev. 1.81    (+4 -3 lines)
MODIFY mod/forum/lib.php   Rev. 1.591    (+4 -3 lines)
MODIFY blocks/online_users/block_online_users.php   Rev. 1.52    (+3 -3 lines)
Petr Skoda committed 35 files to 'Moodle CVS' - 16/Aug/07 04:21 AM
MDL-10383 - deprecated get_groups(), user_group() and ismember()
MODIFY blog/index.php   Rev. 1.33    (+2 -2 lines)
MODIFY lib/grouplib.php   Rev. 1.2    (+35 -3 lines)
MODIFY grade/edit/tree/grade.php   Rev. 1.12    (+2 -2 lines)
MODIFY lib/datalib.php   Rev. 1.393    (+2 -89 lines)
MODIFY admin/Attic/upgradeforumread.php   Rev. 1.13    (+2 -2 lines)
MODIFY lib/deprecatedlib.php   Rev. 1.31    (+43 -3 lines)
MODIFY mod/forum/post.php   Rev. 1.150    (+2 -2 lines)
MODIFY search/documents/data_document.php   Rev. 1.2    (+1 -1 lines)
MODIFY blocks/quiz_results/block_quiz_results.php   Rev. 1.25    (+3 -3 lines)
MODIFY lib/accesslib.php   Rev. 1.281    (+2 -2 lines)
MODIFY search/documents/chat_document.php   Rev. 1.2    (+1 -1 lines)
MODIFY mod/journal/Attic/report.php   Rev. 1.40    (+3 -3 lines)
MODIFY mod/choice/lib.php   Rev. 1.58    (+3 -3 lines)
MODIFY mod/forum/lib.php   Rev. 1.592    (+8 -8 lines)
MODIFY group/lib/Attic/basicgrouplib.php   Rev. 1.21    (+0 -19 lines)
MODIFY course/report/log/lib.php   Rev. 1.21    (+3 -3 lines)
MODIFY mod/data/lib.php   Rev. 1.131    (+3 -3 lines)
MODIFY mod/workshop/Attic/view.php   Rev. 1.66    (+2 -2 lines)
MODIFY enrol/manual/enrol.php   Rev. 1.20    (+2 -2 lines)
MODIFY group/lib/Attic/legacylib.php   Rev. 1.15    (+5 -62 lines)
MODIFY mod/exercise/Attic/submissions.php   Rev. 1.29    (+2 -2 lines)
MODIFY mod/workshop/Attic/lib.php   Rev. 1.97    (+2 -2 lines)
MODIFY mod/exercise/Attic/locallib.php   Rev. 1.28    (+3 -3 lines)
MODIFY mod/assignment/lib.php   Rev. 1.259    (+4 -4 lines)
MODIFY mod/survey/graph.php   Rev. 1.29    (+2 -2 lines)
MODIFY blog/lib.php   Rev. 1.69    (+3 -3 lines)
MODIFY group/db/Attic/dbbasicgrouplib.php   Rev. 1.18    (+0 -18 lines)
MODIFY mod/workshop/Attic/locallib.php   Rev. 1.43    (+7 -7 lines)
MODIFY mod/forum/discuss.php   Rev. 1.109    (+4 -4 lines)
MODIFY group/index.php   Rev. 1.29    (+2 -2 lines)
MODIFY calendar/lib.php   Rev. 1.196    (+2 -2 lines)
MODIFY mod/choice/report.php   Rev. 1.59    (+4 -4 lines)
MODIFY mod/wiki/lib.php   Rev. 1.51    (+12 -12 lines)
MODIFY user/view.php   Rev. 1.162    (+3 -3 lines)
MODIFY mod/hotpot/lib.php   Rev. 1.73    (+2 -2 lines)
martignoni committed 1 file to 'Lang CVS' - 16/Aug/07 04:22 AM
MDL-10383 - backup/restore of new groups&groupings finished
MODIFY fr_utf8/moodle.php   Rev. 1.162    (+2 -1 lines)
Petr Skoda committed 7 files to 'Moodle CVS' - 16/Aug/07 04:33 AM
MDL-10383 - group edit form refactoring and minor bugfixing
ADD group/group.php   Rev. 1.12    (+0 -0 lines)
ADD group/group_form.php   Rev. 1.1    (+0 -0 lines)
MODIFY user/index.php   Rev. 1.182    (+2 -2 lines)
DEL group/Attic/edit_form.php   Rev. 1.11    (+0 -0 lines)
MODIFY lib/weblib.php   Rev. 1.926    (+2 -26 lines)
MODIFY group/index.php   Rev. 1.30    (+3 -3 lines)
DEL group/Attic/edit.php   Rev. 1.12    (+0 -0 lines)
Petr Skoda committed 14 files to 'Moodle CVS' - 16/Aug/07 07:51 AM
MDL-10383 - yet more groups and groupigns refactoring, cleanup and bugfixing - grouping edit form now works
MODIFY group/group_form.php   Rev. 1.2    (+9 -17 lines)
MODIFY group/group.php   Rev. 1.13    (+4 -11 lines)
MODIFY group/grouping.php   Rev. 1.12    (+90 -80 lines)
MODIFY course/import/groups/index.php   Rev. 1.12    (+3 -3 lines)
ADD group/grouping_form.php   Rev. 1.1    (+0 -0 lines)
MODIFY group/lib.php   Rev. 1.5    (+47 -0 lines)
MODIFY group/lib/Attic/basicgrouplib.php   Rev. 1.22    (+0 -97 lines)
MODIFY group/index.php   Rev. 1.31    (+2 -2 lines)
DEL group/db/Attic/dbgroupinglib.php   Rev. 1.11    (+0 -0 lines)
MODIFY lang/en_utf8/group.php   Rev. 1.17    (+1 -0 lines)
MODIFY group/lib/Attic/groupinglib.php   Rev. 1.21    (+0 -44 lines)
MODIFY group/lib/Attic/utillib.php   Rev. 1.17    (+0 -49 lines)
MODIFY lib/grouplib.php   Rev. 1.3    (+17 -5 lines)
DEL group/Attic/grouping_edit_form.php   Rev. 1.3    (+0 -0 lines)
Mitsuhiro Yoshida committed 4 files to 'Lang CVS' - 16/Aug/07 10:48 AM
Translated a new string for group MDL-10383.
Translated new strings for backward compatibility MDL-10669.
MODIFY ja_utf8/README   Rev. 1.487    (+1 -1 lines)
MODIFY ja_utf8/message.php   Rev. 1.12    (+2 -1 lines)
MODIFY ja_utf8/group.php   Rev. 1.19    (+2 -1 lines)
MODIFY ja_utf8/grades.php   Rev. 1.60    (+3 -1 lines)
Petr Skoda committed 12 files to 'Moodle CVS' - 16/Aug/07 05:28 PM
MDL-10383 - groups/groupings refactoring and improvements - basic UI for groupings implemented
MODIFY group/lib/Attic/basicgrouplib.php   Rev. 1.23    (+0 -15 lines)
MODIFY lib/grouplib.php   Rev. 1.4    (+37 -11 lines)
ADD group/groupings.php   Rev. 1.1    (+0 -0 lines)
MODIFY group/group.php   Rev. 1.14    (+4 -4 lines)
MODIFY mod/hotpot/report.php   Rev. 1.35    (+3 -3 lines)
MODIFY lang/en_utf8/group.php   Rev. 1.18    (+3 -2 lines)
MODIFY group/index.php   Rev. 1.32    (+20 -14 lines)
MODIFY course/lib.php   Rev. 1.512    (+3 -3 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.493    (+11 -0 lines)
MODIFY group/grouping.php   Rev. 1.13    (+12 -11 lines)
ADD group/members.php   Rev. 1.1    (+0 -0 lines)
MODIFY group/assign.php   Rev. 1.14    (+73 -132 lines)
Petr Skoda committed 20 files to 'Moodle CVS' - 16/Aug/07 07:06 PM
MDL-10383 - groups/groupings refactoring nearly finished ;-)
MODIFY group/index.php   Rev. 1.33    (+9 -15 lines)
ADD group/clientlib.js   Rev. 1.1    (+0 -0 lines)
DEL group/lib/Attic/groupinglib.php   Rev. 1.22    (+0 -0 lines)
MODIFY enrol/manual/enrol.php   Rev. 1.21    (+2 -2 lines)
MODIFY lib/accesslib.php   Rev. 1.283    (+4 -4 lines)
DEL group/lib/Attic/basicgrouplib.php   Rev. 1.24    (+0 -0 lines)
MODIFY mod/hotpot/report.php   Rev. 1.36    (+5 -5 lines)
DEL group/lib/Attic/clientlib.js   Rev. 1.13    (+0 -0 lines)
MODIFY course/lib.php   Rev. 1.513    (+8 -4 lines)
MODIFY lib/moodlelib.php   Rev. 1.921    (+14 -7 lines)
MODIFY admin/uploaduser.php   Rev. 1.63    (+2 -2 lines)
MODIFY lib/deprecatedlib.php   Rev. 1.32    (+267 -2 lines)
DEL group/lib/Attic/legacylib.php   Rev. 1.16    (+0 -0 lines)
MODIFY enrol/imsenterprise/enrol.php   Rev. 1.10    (+1 -1 lines)
DEL group/db/Attic/dbbasicgrouplib.php   Rev. 1.19    (+0 -0 lines)
MODIFY mod/quiz/locallib.php   Rev. 1.120    (+3 -3 lines)
MODIFY blocks/quiz_results/block_quiz_results.php   Rev. 1.26    (+3 -3 lines)
MODIFY user/view.php   Rev. 1.163    (+2 -10 lines)
DEL group/lib/Attic/utillib.php   Rev. 1.18    (+0 -0 lines)
MODIFY lib/grouplib.php   Rev. 1.5    (+82 -5 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 16/Aug/07 11:52 PM
MDL-10383 - fixing missing else typo
MODIFY group/group_form.php   Rev. 1.3    (+2 -2 lines)
Petr Skoda committed 14 files to 'Moodle CVS' - 17/Aug/07 05:14 AM
MDL-10383 - some more refactoring/cleanup, enablegroupings experimental admin setting, tabs in groups UI
MODIFY admin/settings/Attic/misc.php   Rev. 1.14    (+3 -1 lines)
ADD group/tabs.php   Rev. 1.1    (+0 -0 lines)
MODIFY enrol/imsenterprise/enrol.php   Rev. 1.11    (+1 -0 lines)
MODIFY group/grouping.php   Rev. 1.14    (+9 -7 lines)
MODIFY group/lib.php   Rev. 1.6    (+61 -0 lines)
MODIFY lang/en_utf8/admin.php   Rev. 1.143    (+2 -0 lines)
MODIFY lang/en_utf8/group.php   Rev. 1.19    (+1 -19 lines)
MODIFY group/groupings.php   Rev. 1.2    (+7 -4 lines)
MODIFY lib/grouplib.php   Rev. 1.6    (+1 -63 lines)
MODIFY group/group.php   Rev. 1.15    (+10 -8 lines)
MODIFY enrol/manual/enrol.php   Rev. 1.22    (+2 -1 lines)
MODIFY lib/deprecatedlib.php   Rev. 1.33    (+5 -2 lines)
MODIFY group/index.php   Rev. 1.34    (+158 -151 lines)
MODIFY admin/uploaduser.php   Rev. 1.64    (+2 -1 lines)
Mitsuhiro Yoshida committed 2 files to 'Lang CVS' - 17/Aug/07 08:37 AM
Translated new strings for groups/groupings MDL-10383.
MODIFY ja_utf8/README   Rev. 1.488    (+1 -1 lines)
MODIFY ja_utf8/group.php   Rev. 1.20    (+20 -18 lines)
martignoni committed 1 file to 'Lang CVS' - 17/Aug/07 02:03 PM
MDL-10383 - yet more groups and groupigns refactoring, cleanup and bugfixing - grouping edit form now works
MODIFY fr_utf8/group.php   Rev. 1.21    (+2 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 17/Aug/07 02:19 PM
MDL-10383 - groups/groupings refactoring and improvements - basic UI for groupings implemented
MODIFY fr_utf8/group.php   Rev. 1.22    (+3 -2 lines)
martignoni committed 2 files to 'Lang CVS' - 17/Aug/07 02:25 PM
MDL-10383 - some more refactoring/cleanup, enablegroupings experimental admin setting, tabs in groups UI
MODIFY fr_utf8/admin.php   Rev. 1.182    (+3 -1 lines)
MODIFY fr_utf8/group.php   Rev. 1.23    (+1 -16 lines)
Petr Skoda committed 5 files to 'Moodle CVS' - 17/Aug/07 04:05 PM
MDL-10383 - adding UI for new grouping settings into course and mod edit forms + fixed section handling on mod edit page + other minor cleanup
MODIFY course/moodleform_mod.php   Rev. 1.14    (+22 -50 lines)
MODIFY course/lib.php   Rev. 1.514    (+9 -1 lines)
MODIFY course/modedit.php   Rev. 1.30    (+57 -54 lines)
MODIFY lang/en_utf8/group.php   Rev. 1.20    (+2 -0 lines)
MODIFY course/edit_form.php   Rev. 1.37    (+26 -1 lines)
Mitsuhiro Yoshida committed 1 file to 'Lang CVS' - 19/Aug/07 11:56 PM
Translated new strings for group MDL-10383 MDL-10888.
MODIFY ja_utf8/group.php   Rev. 1.21    (+3 -0 lines)
Petr Skoda committed 5 files to 'Moodle CVS' - 20/Aug/07 03:27 PM
MDL-10383 adding new standard elements method - modules now must specify what they support (groups/groupings/groupmembersonly); by default only groupmode selector is enabled
MODIFY mod/resource/mod_form.php   Rev. 1.9    (+1 -1 lines)
MODIFY mod/lesson/mod_form.php   Rev. 1.19    (+3 -3 lines)
MODIFY course/moodleform_mod.php   Rev. 1.16    (+45 -14 lines)
MODIFY mod/glossary/mod_form.php   Rev. 1.20    (+1 -1 lines)
MODIFY course/modedit.php   Rev. 1.31    (+23 -20 lines)
martignoni committed 1 file to 'Lang CVS' - 20/Aug/07 09:03 PM
MDL-10383 - adding UI for new grouping settings into course and mod edit forms + fixed section handling on mod edit page + other minor cleanup
MODIFY fr_utf8/group.php   Rev. 1.24    (+3 -1 lines)
Petr Skoda committed 4 files to 'Moodle CVS' - 20/Aug/07 09:56 PM
MDL-10383 - some more refactoring and new grouping related functions for modules
MODIFY lib/weblib.php   Rev. 1.928    (+2 -77 lines)
MODIFY lib/moodlelib.php   Rev. 1.926    (+2 -17 lines)
MODIFY lib/grouplib.php   Rev. 1.8    (+160 -4 lines)
MODIFY lib/deprecatedlib.php   Rev. 1.34    (+47 -2 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 20/Aug/07 10:18 PM
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
MODIFY lib/grouplib.php   Rev. 1.9    (+19 -3 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 20/Aug/07 10:20 PM
MDL-10383 - some more disabling of groupingid's when $CFG->enablegroupings empty - adding some explanation comments
MODIFY lib/grouplib.php   Rev. 1.10    (+5 -1 lines)
Nicolas Connault committed 1 file to 'Moodle CVS' - 11/Sep/07 03:29 PM
MDL-10383 Reverting Petr's boolean cast on the array of allowed groups. It makes it impossible to get the "Group event" option in the calendar.
MODIFY calendar/lib.php   Rev. 1.200    (+3 -3 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 29/Sep/07 09:48 PM
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
MODIFY lib/grouplib.php   Rev. 1.21    (+28 -11 lines)
moodler committed 1 file to 'Moodle CVS' - 03/Oct/07 05:12 PM
Fixed some notices but this needs review from Petr MDL-10383
MODIFY lib/grouplib.php   Rev. 1.22    (+2 -3 lines)