510 Commits

Author SHA1 Message Date
Adrian Greeve
51e8d287f9 MDL-30797 - backup groups: Added a parameter to the groups_assign_grouping function.
$timeadded has now been included so that the backup / restore functions can now use
this API rather than duplicating the code.
2013-01-14 10:24:37 +08:00
Michael Aherne
d6af3d847f MDL-27164 groups Do not show multiple instances of the same role as multiple 2013-01-11 11:12:33 +00:00
Jerome Mouneyrac
fb695f6e3d MDL-37354 clean return value for each externallib PHPUnit tests 2013-01-09 13:47:01 +08:00
Mark Nelson
9e222bac61 MDL-37359 groups: fixing typo in the web service function create_groupings_parameters 2013-01-04 15:23:12 +08:00
Michael Aherne
df3efbfb2c MDL-35775 group import Support for groupings 2012-11-21 11:04:48 +00:00
David Monllao
d91750bc5a MDL-35187 groups Adding admin pagelayout to group members edition 2012-10-03 14:40:22 +08:00
Eloy Lafuente (stronk7)
c740703c18 Merge branch 'w40_MDL-31437_m24_cohortsync' of git://github.com/skodak/moodle
Conflicts:
	lib/upgrade.txt
2012-10-02 22:00:12 +02:00
Dan Poltawski
f14ecbfff8 Merge branch 'MDL-35187' of git://github.com/lazydaisy/moodle 2012-10-02 13:45:19 +08:00
Eloy Lafuente (stronk7)
8614cd72f0 Merge branch 'MDL-34657' of git://github.com/timhunt/moodle 2012-10-01 23:22:39 +02:00
Petr Škoda
7881024ec4 MDL-31437 add group sync option to enrol_cohort
This patch includes following changes and new features:
* Group sync in enrol_cohort plugin.
* Option for editing of role in existing cohort sync instance.
* Group memberships are now restored after enrolments.
* New enrol method for restore of protected group membership.
* New component callback 'restore_group_member' for restore of general plugin group membership.
* New component callback 'restore_role_assignment' for restore of general plugin role assignments.
* Implemented group membership protection in enrolment UI.
* Other minor fixes and cleanup.

Notes:
* The YUI base enrolment page is not reimplemented yet - see MDL-35618.
2012-09-28 21:00:00 +02:00
Tim Hunt
9695ff811b MDL-34657 user sorting: consistent sorting everywhere.
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.

Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
Mark Nelson
5a45b936bf MDL-35637 group: Fix form submission error that occurs when GD version is not set. 2012-09-27 12:00:02 +08:00
Jerome Mouneyrac
1f867c025b MDL-34970 PHPunit test: group/externallib.php 2012-09-04 12:34:40 +08:00
Mary Evans
982e21a550 MDL-35187 /group: Changed page layout from 'standard' to 'admin' in group/index.php 2012-09-02 17:10:38 +01:00
sam marshall
1d1917aeaa MDL-31973 Groups: groups_members table should have 'component', 'itemid' fields 2012-08-24 15:30:13 +01:00
Petr Škoda
e3c1d655f8 MDL-34741 use 2in3 in groups UI 2012-08-11 20:40:07 +02:00
Ankit Agarwal
2d9c05b930 MDL-34471 libraries: Remove unused context calls 2012-08-02 15:37:41 +08:00
Ankit Agarwal
0d4d49d18a MDL-34471 libraries: changing strictness of context_XXXX::instance() when needed 2012-08-02 15:37:38 +08:00
Ankit Agarwal
bf0f06b1be MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method 2012-08-02 15:37:38 +08:00
Dan Poltawski
a5c8e33122 Merge branch 'wip-mdl-32945' of git://github.com/rajeshtaneja/moodle 2012-07-23 13:35:24 +08:00
Rajesh Taneja
071e68f93e MDL-32945 libraries: Replaced deprecated PARAM_MULTILANG with PARAM_TEXT 2012-07-19 15:44:40 +08:00
Rajesh Taneja
1e12c1203b MDL-30651 libraries: Replaced deprecated PARAM_INTEGER with PARAM_INT 2012-07-19 15:37:46 +08:00
Petr Skoda
c52551dc3c MDL-8249 localise standard role names and descriptions if empty 2012-07-06 08:22:34 +02:00
Sam Hemelryk
e5f0e51942 MDL-33770 webservices: Fixed error with core_group_create_groups when no enrolment key provided 2012-07-05 09:22:12 +12:00
Jerome Mouneyrac
32435a6968 MDL-33770 Web service: create_groups should not require enrolmentkey 2012-06-15 15:14:06 +08:00
Jerome Mouneyrac
93ce0e8296 MDL-32581 support additional format field with all text field in extrnal lib function + new possible ws params to decide how format is returned (which are stored in a singleton) 2012-05-31 12:31:27 +08:00
Dan Poltawski
2ffd7f1824 Merge branch 'MDL-33060' of git://github.com/mouneyrac/moodle 2012-05-25 10:16:12 +08:00
Jerome Mouneyrac
96d3b93ba3 MDL-33060 remove some get_string from exceptions 2012-05-18 14:45:15 +08:00
Eloy Lafuente (stronk7)
6b4769bc8b Merge branch 'MDL-32662-core_course_groups_xxx_groupings' of git://github.com/jleyva/moodle 2012-05-16 11:41:48 +02:00
Juan Leyva
2c8ad38eff MDL-32662 core_group_xxx_groupings: Fixed integrator review potential problem detected in update_groupings. More info: http://tracker.moodle.org/browse/MDL-32662?focusedCommentId=157706&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-157706 2012-05-16 10:45:40 +02:00
Andrew Robert Nicols
74b714df7e MDL-32005 Add idnumber field to groups and groupings 2012-05-15 09:38:51 +01:00
Juan Leyva
67aa60f9b7 MDL-32662 Fixed review problems 2012-05-10 11:41:46 +02:00
Juan Leyva
fb3f5d3173 MDL-32662 Added unassign_grouping method 2012-05-10 11:40:57 +02:00
Juan Leyva
20053b8c3d MDL-32662 Added assign_grouping method 2012-05-10 11:40:51 +02:00
Juan Leyva
a531136e98 MDL-32662 Added delete_groupings method 2012-05-10 11:40:46 +02:00
Juan Leyva
85e42d2218 MDL-32662 Added get_course_groupings method 2012-05-10 11:40:40 +02:00
Juan Leyva
ed849fbace MDL-32662 Added get_groupings method 2012-05-10 11:40:35 +02:00
Juan Leyva
87e959f33b MDL-32662 Added update_groupings method 2012-05-10 11:40:29 +02:00
Juan Leyva
882bac854f MDL-32662 Added method create_groupings 2012-05-10 11:40:23 +02:00
Jerome Mouneyrac
4615817d1c MDL-30986 external API, check and update DocBlock
Conflicts:

	group/externallib.php
2012-04-30 15:11:56 +08:00
Andrew Robert Nicols
2e83961018 MDL-32514 Remove onclick for the group delete button 2012-04-18 11:52:00 +01:00
Sam Hemelryk
b31865ce2a Merge branch 'w12_MDL-32090_m23_groupui' of git://github.com/skodak/moodle 2012-03-19 20:33:48 +13:00
Petr Skoda
0ac9d19a23 MDL-32090 fix invalid group members url
Credit goes to Jean-Philippe Gaudreau.
2012-03-16 20:11:23 +01:00
Andrew Robert Nicols
cab03a03b4 MDL-32008 Remove old group deletion code 2012-03-16 12:05:54 +00:00
Petr Skoda
f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Eloy Lafuente (stronk7)
e757f51864 MDL-30997 - group - trailing whitespace + comment alignment fixes 2012-02-22 13:23:11 +01:00
Adrian Greeve
4d8e241742 MDL-30997 - group - update of the api block documentation. 2012-02-21 11:17:27 +08:00
Sam Hemelryk
e9d2492833 Merge remote-tracking branch 'skodak/w03_MDL-29102_m23_autogrouping' 2012-01-16 15:12:02 +08:00
Petr Skoda
ca50186f73 MDL-29102 fix notice when auto-creating groups in existing grouping 2012-01-15 19:26:43 +01:00
Petr Skoda
c5eeccbec9 MDL-31117 delete obsolete TODO
This TODO was added when we were still using moodledata folder for group images, it is not relevant any more because group images are in new file API which supports DB transaction rollbacks.
2012-01-15 00:43:28 +01:00