65 Commits

Author SHA1 Message Date
Marina Glancy
1171ad564b MDL-40897 avoid extra DB queries in groups_get_activity_groupmode() 2013-07-28 18:47:57 +10:00
Ankit Agarwal
e481f05c0d MDL-40354 groups: Fix issues in groups_group_visible() 2013-07-10 10:50:22 +08:00
Ankit Agarwal
2d4d29da06 MDL-40354 groups:groups_get_activity_allowed_groups() should use passed userid to check capabilities 2013-07-10 10:50:22 +08:00
Ankit Agarwal
e7eb992d3a MDL-40354 groups: Add new api groups_group_visible() 2013-07-10 10:50:21 +08:00
Ankit Agarwal
475896bdbc MDL-37100 webservices: Implement core_calendar_get_calendar_events() 2013-01-21 11:05:50 +08:00
Sam Hemelryk
e17dbeeb1a MDL-34398 groups: implemented caching of group information. 2013-01-17 09:24:58 +13:00
Adrian Greeve
b0c6dc1cac MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8) 2012-07-27 10:10:46 +08:00
Eloy Lafuente (stronk7)
dd420abadf Merge branch 'MDL-24419-master' of git://github.com/sammarshallou/moodle
Conflicts:
	lib/db/upgrade.php
	lib/phpunit/lib.php
	version.php

Fixed:
    lib/db/upgrade.php - duplicate course->sectioncache add code
    lib/db/install.xml - cleanup needed because xmldb editor was not used
    lib/phpunit/classes/util.php - cleanup $GROUPLIB_CACHE on test reset
2012-05-16 23:53:47 +02:00
Andrew Robert Nicols
74b714df7e MDL-32005 Add idnumber field to groups and groupings 2012-05-15 09:38:51 +01:00
sam marshall
ae3fbf7b06 MDL-24419 (2): Moved groupings cache to get_all_groupings function
There was a static cache inside course/lib.php. I need to access this
information in other places, so to avoid making two queries, I am
moving the cache into the groups_get_all_groupings function instead.
2012-05-14 11:15:15 +01:00
Adrian Greeve
4d8e241742 MDL-30997 - group - update of the api block documentation. 2012-02-21 11:17:27 +08:00
Petr Skoda
c160da9cb8 MDL-28450 prefer member group for default 2011-08-07 13:06:45 +02:00
Petr Skoda
998ced0805 MDL-26577 fix several groups and groupings issues
The current group in verified on each page which prevents problems when group settings are changed. The default group for course level is now using correct grouping id which solves problems when activity and course are using different grouping. The grouping is now displayed in group selector if user has access to all groups.
2011-04-10 13:31:17 +02:00
Petr Skoda
1d57f8622c revert MDL-26577 added session cleaning to groups_get_activity_group() that fixes an issue with dirty session data. refactored session cleaning into one function, added caching to reduce queries.
(reverse-merged from commit 0d1e49d46838f6916f93561866fdd83beaf24a0f) This change was causing fatal errors on the course level, I am going to fix it myself.
2011-04-05 18:33:35 +02:00
Aparup Banerjee
0d1e49d468 MDL-26577 added session cleaning to groups_get_activity_group() that fixes an issue with dirty session data. refactored session cleaning into one function, added caching to reduce queries. 2011-04-05 12:22:27 +08:00
Eloy Lafuente (stronk7)
b967c54185 MDL-25708 recordsets - fix events/grade/group/moodle libs 2011-01-25 19:58:59 +01:00
Petr Skoda
2e24dd645e MDL-25174 adding a workaround for old passwords that were hashed with magic quotes 2010-11-12 10:13:40 +00:00
Andrew Davis
078397d28e gradebook MDL-21907 grader report group view was being limited to groups in the course's default grouping 2010-11-12 04:00:45 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Dan Marsden
5138bae0d7 MDL-23280 fix typo in var name 2010-07-15 08:21:41 +00:00
Petr Skoda
98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +00:00
Petr Skoda
c564ee2ac8 MDL-21704 fixed recent regression 2010-02-23 16:39:56 +00:00
Petr Skoda
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
Sam Marshall
f1035deb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:48 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
skodak
9a0df45a01 MDL-12886 new design of external service functions, groups api improved and known problems fixed - still work in progress with lots of todos - sorry 2009-09-14 23:52:08 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
d81b05e701 MDL-19799 Converted calls to popup_form() 2009-08-10 03:39:21 +00:00
samhemelryk
aaeba37197 lib MDL-19236 Corrected PhpDoc 2009-05-26 06:57:19 +00:00
samhemelryk
e4f0a85e10 grouplib MDL-19236 Added phpdocs and copyrights 2009-05-25 09:12:22 +00:00
skodak
25bc3cd369 MDL-13843 treat default course grouping as current grouping at course level (groupmode is used the same way at course level) 2009-04-09 08:17:12 +00:00
skodak
c70552d871 MDL-18407 fixed wrong select 2009-02-28 09:09:09 +00:00
dongsheng
06e84d52bd MDL-14129, remove error() call 2008-07-21 07:18:58 +00:00
skodak
177d5493bb MDL-15712 fixed groups regressions - credit goes to Daniel Servos 2008-07-19 08:07:51 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
skodak
ca182d9003 MDL-14343 fixed groups_get_user_groups() when groupings disabled; merged from MOODLE_19_STABLE 2008-04-13 21:59:27 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
0b943ef12c MDL-13921 Incorrect access given to members of group included in 2 groupings; merged from MOODLE_19_STABLE 2008-03-18 16:38:25 +00:00
skodak
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak
89f3974190 MDL-12351 verify active group before use because allowed groups may change; merged from MOODLE_19_STABLE 2007-12-26 12:42:33 +00:00
tjhunt
3d96cba76a Improve PHP doc comments. 2007-12-12 17:10:48 +00:00
skodak
f16fa0a34b MDL-12249 groups UI cleanup and improvements - see tracker for details; merged from MOODLE_19_STABLE 2007-11-19 20:31:57 +00:00
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