Dan Marsden
d55d207044
MDL-60979 cohort: allow description to be used in mustache templates.
2017-12-12 16:10:54 +13:00
sam marshall
a938e4096c
MDL-60174 core_dml: fix miscellaneous incorrect recordset usage
...
The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
2017-11-27 11:10:33 +00:00
Mark Nelson
a764855641
MDL-60590 core_cohort: removed unused variables from search_cohorts()
2017-11-06 12:39:31 +08:00
Marina Glancy
484b43f456
MDL-60281 general: create_function is deprecated in PHP7.2
2017-10-16 09:37:19 +08:00
Juan Leyva
e71687baf9
MDL-60198 webservice: Add missing MOODLE_INTERNAL checks
2017-09-21 13:01:28 +02:00
Damyon Wiese
a60e8ba51e
MDL-59365 enrol_manual: Rewrite the yui enrolment popup in amd
...
The add/roles thing was only converted to bootstrap 2/4 markup and the yui left in place.
The modal for adding users to a course was unsavable so I rewrote it with an mform in a popup, still calling
the same (barely) modified ajax script.
The webservice for searching cohorts was taken from admin/tool/lp and moved into /cohort. I added a generic "cohort"
mform element at the same time.
The webservice for searching for users was taken from the original ajax script.
2017-07-11 13:47:26 +01:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Frederic Massart
c59e531301
MDL-57273 exporter: Clarify why contextname needs to be PARAM_RAW
2017-01-20 12:56:19 +08:00
Frederic Massart
f5f02ac0d3
MDL-57273 core: Migrating some exporters from tool_lp & core_competency
2017-01-20 12:56:18 +08:00
Rajesh Taneja
57bee542ab
MDL-56519 behat: Fixed lint errors
2017-01-03 09:12:54 +08:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
David Monllao
18bb2883ce
MDL-56677 cohort: Fix cohort search box misalignment
2016-11-03 14:33:07 +08:00
Simey Lameze
4bd9a67bf1
MDL-56677 core_cohort: fix style issues on cohort search fields
2016-11-02 14:10:24 +08:00
Damyon Wiese
ba5c5083c5
MDL-55074 theme_boost: Behat fixes for latest theme changes
...
Fix I edit profile steps
Apply fixed header in css
Remove transitions from menus for behat
Be more specific about some "I follow" steps
Navigation path changes
"Current course" node removed from nav tree
Adapt tests because there are no default blocks
Force some space between action menu items
2016-10-21 16:06:54 +08:00
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
Mark Nelson
02113beb10
MDL-53920 cohort: notify competencies on cohort deletion
2016-05-02 12:49:11 +08:00
Marina Glancy
787ec240c1
MDL-53772 inplace_editable: set context in callbacks
2016-04-14 13:58:29 +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
Rajesh Taneja
a1d3a94b1c
MDL-49150 behat: Removed unnecessary @javascript tags
2016-03-22 13:54:12 +08:00
David Monllao
4235b98110
Merge branch 'wip-MDL-53026-master' of https://github.com/marinaglancy/moodle
2016-03-16 10:00:28 +08:00
Rajesh Taneja
42ad096fdb
MDL-46891 Behat: Added support for behat 3
2016-03-11 10:51:15 +08:00
Marina Glancy
48983fb9e7
MDL-53026 cohorts: edit names and idnumbers in place
2016-03-11 08:14:49 +08:00
Kevin Bruton
cfd8c0fe09
MDL-52568 core_cohort: added ability to return all cohorts in WS
2016-01-18 11:00:20 +01:00
Adrian Greeve
de66ddea5f
MDL-51241 cohorts: Update to cohort query.
...
This improves the speed of returning a list of
cohorts. Thanks to François Gannaz for providing
this patch.
2015-09-18 07:30:37 +08:00
Ankit Agarwal
2149326b8c
MDL-50049 deprecation: Remove usage of deprecated api and cleanup
2015-06-29 17:15:50 +05:30
Marina Glancy
6218473334
MDL-28954 cohorts: support files in cohort descriptions
2015-06-08 09:18:45 +08:00
Marina Glancy
e65d05c128
MDL-50191 cohorts: check manage cap to display hide icon
2015-05-21 12:19:57 +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
David Monllao
89a6290fb9
Merge branch 'MDL-45131-master' of git://github.com/jleyva/moodle
2015-04-16 17:04:34 +08:00
Juan Leyva
52ab107698
MDL-45131 cohort: Add validation for returned parameters in WS tests
2015-04-13 16:37:29 +02:00
Damyon Wiese
46a2fbc4b7
MDL-49412 Navigation: Remaining behat fixed for nav branch
...
Behat is passing after this change.
Part of MDL-45774.
2015-04-10 17:19:28 +08:00
Frederic Massart
5c5721285f
MDL-43902 cohort: Fix behat failure because attribute does not exist
2014-12-18 14:34:59 +08:00
Marina Glancy
9b65d0dd62
MDL-36014 cohorts: specify exact cohort names in unittest
2014-10-06 09:50:29 +08:00
Marina Glancy
fbb250f8ef
MDL-36014 cohorts: Support cohort visibility in Upload cohorts
2014-10-03 18:26:37 +08: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
Marina Glancy
78fb7110e0
MDL-36014 cohorts: fix string names
...
Cohort capabilities are defined in lang/en/roles.php, remove(rename) the capability-styled strings
AMOS BEGIN
CPY [cohort:assign,core_assign],[assigncohorts,core_assign]
AMOS END
2014-10-03 17:56:22 +08:00
Marina Glancy
5076b96171
MDL-35468 cohorts: upload cohorts from csv file
2014-09-12 10:24:04 +08:00
Marina Glancy
274dc06881
MDL-34189 cohorts: Allow admin/manager to see all cohorts on one page
2014-07-28 15:02:27 +08:00
Ankit Agarwal
b63f773296
MDL-44717 events: Fix multiple issues in events
...
Fix various incorrect urls
Fix incorrect phpdocs and other minor code style issues
Fix missing/incorrect strings
AMOS BEGIN
MOV [eventblogassociationcreated, core_blog],[eventblogassociationadded, core_blog]
AMOS END
2014-04-01 15:08:34 +08:00
Dan Poltawski
7f42ee92eb
Merge branch 'MDL-44440_master' of git://github.com/dmonllao/moodle
2014-03-10 13:45:26 +08:00
David Monllao
1f631c7c63
MDL-44440 behat: Changing , for > as a navigation tree nodes separator
...
Using greater than as seems a more natural separator
than the comma when separating nodes which have a
hierarchy relation.
2014-03-10 13:35:40 +08:00
David Monllao
759b323e0e
MDL-43236 behat: Updating references to deprecated methods
2014-03-07 16:05:21 +08:00
David Monllao
a542553d42
MDL-44440 behat: Refactoring features to use I navigate to
...
Replacing multiple "I expand node" steps by the
new "I navigate to". Also fixing few I navigate to
when dealing with non-JS.
2014-03-07 14:46:54 +08:00
Damyon Wiese
267c4b4292
Merge branch 'MDL-43738_master' of git://github.com/dmonllao/moodle
2014-03-04 13:29:03 +08:00
Marina Glancy
cd5be9a504
MDL-44321 events: make sure the full object is passed to add_record_snapshot()
2014-02-28 16:37:36 +08:00
David Monllao
f083d6145e
MDL-43738 behat: Updating features files
...
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match
Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
Paul Verrall
a266a1a07b
MDL-44142 Cohorts: Use maxusersperpage for list of current users.
2014-02-13 15:48:40 +00:00