Rajesh Taneja
52f3e060e4
MDL-55091 phpunit: Following has been deprecated.
...
1. getMock()
2. setExpectedException()
3. checkForUnintentionallyCoveredCode renamed to beStrictAboutCoversAnnotation
4. beStrictAboutTestSize renamed to enforceTimeLimit
5. UnitTestCase class is now fully removed.
2016-07-26 10:11:30 +08:00
Rajesh Taneja
6a021f59f3
MDL-54589 group: ensure loader is available before remobing
2016-06-20 09:43:08 +08:00
Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
dirname() is a slow function compared with __DIR__ and using
'/../'. Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code. This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Cameron Ball
f23e9b6ba4
MDL-49414 webservices: Remove deprecated functions
2016-04-27 15:54:38 +08:00
Rajesh Taneja
921faad9ad
MDL-53571 behat: Use Escaper for escaping
...
xpathLiteral has been depreacted, use Escaper instead
2016-04-06 15:38:31 +08:00
Rajesh Taneja
eb9ca848fa
MDL-53381 behat: Replaced chained steps with api.
...
Behat 3.x doesn't support chained steps and hence
this is first step to get rid of chained steps in core.
2016-04-06 11:32:49 +08:00
Vadim Dvorovenko
dd399f51ab
MDL-45835 group: events for groupings assign/unassign
2016-03-24 10:59:35 +08:00
Rajesh Taneja
afccc03f14
MDL-46891 behat: Phantomjs require explicit change event
...
It fails with multiple select while selecting group
2016-03-11 10:51:16 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Mark Nelson
3ee812fab4
MDL-53072 group: minor changes to existing code
...
1) Tidied up conditional check and put additional variable on new line.
2) Prevented change of the default behaviour for 'groups_get_potential_members()'.
3) Added another behat test.
2016-02-26 11:42:14 +08:00
Rex Lorenzo
4cb32a243d
MDL-53072 group: added related behat tests
2016-02-26 11:42:14 +08:00
Niclas Tollstorff
7b96ffb044
MDL-53072 group: added 'only active' option when auto-creating groups
2016-02-26 11:42:14 +08:00
Dan Poltawski
53a2405c9c
MDL-50357 groups: remove pointless option of groups_delete_group_members
2015-12-30 09:19:22 +00:00
Mark Nelson
04503c5cde
MDL-50357 core_group: tidy up the function groups_delete_group_members
2015-12-30 09:27:05 +08:00
Andrew Nicols
aba3f4f3ba
MDL-50647 groups: Documentation fix
2015-10-16 11:28:06 +08:00
Andrew Nicols
8b1eea3bae
Merge branch 'wip-mdl-50647' of https://github.com/rajeshtaneja/moodle
2015-10-16 11:16:36 +08:00
rajesh Taneja
260f133178
MDL-50647 behat: Expanded behat to not use example
...
Reason for not using scenario example is:
1. Lot of options, hence hard to read and match
2. Example will run whole scenario (created db for each row),
Which is not needed.
2015-10-16 11:01:39 +08:00
Davo Smith
294c4bb0db
MDL-50647 group: add 'not in group' section to groups overview
...
Also adds 'No group' and 'No grouping' filters to the top of the page
2015-10-16 08:53:44 +08:00
Dan Poltawski
4d9edf1b15
MDL-51536 webservices: fix invalid param definitions
2015-10-13 19:01:42 +01:00
Eloy Lafuente (stronk7)
c75b891ba7
Merge branch 'MDL-49821-master-master' of git://github.com/jleyva/moodle
2015-10-01 01:26:58 +02:00
Juan Leyva
4485f7c549
MDL-49821 webservice: Add active user checks in external functions
2015-09-25 11:33:13 +02:00
Juan Leyva
48a90a215b
MDL-51415 webservice: Check course access using can_access_course()
...
This function check both user enrolled and course:view capabilities
2015-09-22 15:29:49 +02:00
David Monllao
224d819678
Merge branch 'MDL-50964-master' of git://github.com/jleyva/moodle
...
Conflicts:
group/tests/externallib_test.php
lib/db/services.php
2015-09-15 17:09:33 +08:00
Juan Leyva
c0ef63eb38
MDL-50964 core_group: New Web Service core_group_get_activity_groupmode
2015-09-11 11:30:28 +02:00
Juan Leyva
7107c2f066
MDL-50966 core_group: New WS core_group_get_activity_allowed_groups
2015-09-11 11:29:38 +02:00
John Okely
fa5a3cdedc
MDL-50709 groups: Prevent XSS in grouping description
2015-09-08 12:47:54 +02:00
Marina Glancy
7f0c7f01c0
MDL-51062 behat: permission steps should work without js
2015-08-09 20:33:27 +08:00
Eloy Lafuente (stronk7)
aa29bb3ba0
Merge branch 'MDL-48970' of https://github.com/andrewhancox/moodle
2015-08-05 16:11:47 +02:00
Andrew Hancox
fef51794a0
MDL-48970 groups: Fix hover description on groups overview page
...
If a course exists within multiple groupings then the description
should display when you mouseover any instance of it on the overview
page.
2015-07-01 21:26:48 +01:00
David Monllao
ed0fd1f6ec
MDL-43949 groups: Add idnumber to web services
...
Thanks to Vitor Martins for his contribution.
2015-06-25 16:55:14 +08:00
Marina Glancy
9c1561ef83
MDL-17929 groups: function to sync groups with enrolments
2015-04-22 14:36:38 +08:00
Andrew Nicols
793645a03f
Merge branch 'm29_MDL-49782' of https://github.com/totara/moodle
2015-04-21 10:43:48 +08:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
Ankit Agarwal
feaa97afac
MDL-49412 groups: Fix behat failures
2015-04-10 17:18:23 +08:00
Brian Barnes
8b3a10438f
MDL-49782 general: removed uses of window.status
2015-04-08 11:49:06 +12:00
Juan Leyva
5d62e813ab
MDL-48730 webservices: New ws core_group_get_course_user_groups
2015-02-24 09:39:05 +01:00
David Monllao
3c1aa6fdfb
MDL-43535 webservices: Marking functions as deprecated
...
Also:
- We don't allow users to add deprecated functions to WS
- We show a debugging message when deprecated functions
are already being used in web services.
2015-02-09 05:42:22 +08:00
Marina Glancy
93df807601
MDL-48847 groups: fixed incorrect user count
2015-01-15 11:12:45 +08:00
Eloy Lafuente (stronk7)
c2f1feffd6
Merge branch 'wip-MDL-48390-master' of git://github.com/marinaglancy/moodle
2014-12-08 18:48:53 +01:00
Dan Poltawski
50944630bd
Merge branch 'm29_MDL-48317' of https://github.com/totara/moodle
2014-12-04 11:37:53 +00:00
Marina Glancy
3e70f5792b
MDL-48390 cohorts: do not limit number of cohorts in dropdowns
2014-11-27 11:14:39 +08:00
Frederic Massart
d996c620a9
MDL-46416 group: Allow group pictures to be deleted
2014-11-25 11:58:13 +08:00
Frederic Massart
21449d01b7
MDL-46416 group: Use a revision number for group pictures
2014-11-25 11:58:13 +08:00
Brian Barnes
270a8f1bf0
MDL-48317 groups: Removed table from User groups page
2014-11-24 10:43:15 +13:00
Sam Hemelryk
fad1a02d21
MDL-46332 fixed whitespace
2014-10-24 11:48:23 +02:00
Dan Bennett
f181e4ac45
MDL-46332 : Display of 'Remove' button in Add/Remove Groups in Grouping
...
Fixed styling of Add/Remove Groups in Grouping to now use the same
layout as the Group Members page.
This fixes the issue with buttons being unaligned and introduces
consistency between pages.
2014-10-20 09:48:50 +01:00
Marina Glancy
80f98467f8
MDL-36014 cohorts: Allow teachers to view cohorts
...
Added property 'visible' for cohorts. Unsetting it hides the cohort from users in the course.
AMOS BEGIN
CPY [visible,core_moodle],[visible,core_cohort]
AMOS END
2014-10-03 18:26:34 +08:00
John Okely
248e23c335
MDL-46792 core_group: Add unit tests to ensure that group updates and grouping updates do not require names
2014-08-20 12:02:58 +08:00
Tony Butler
f84b9e65e4
MDL-46792 core_group: Check that $data->name is set before trimming
...
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-08-15 09:43:36 +01:00
Gregory Faller
e4ebf7ef0f
MDL-46524: Auto-create groups from existing group or grouping membership
2014-08-06 10:50:14 +09:30