Commit graph

2027 commits

Author SHA1 Message Date
Marina Glancy
f99fe11045 MDL-17929 enrol_meta: unittest for unenrolment from group 2015-04-23 15:08:07 +08:00
Dan Poltawski
296a428776 Merge branch 'wip-MDL-49953-master' of git://github.com/marinaglancy/moodle 2015-04-22 12:06:46 +01:00
Marina Glancy
9c1561ef83 MDL-17929 groups: function to sync groups with enrolments 2015-04-22 14:36:38 +08:00
Marina Glancy
bacb7b1f6e MDL-17929 enrol_meta: allow to edit instance 2015-04-22 14:36:38 +08:00
Marina Glancy
e284e1792c MDL-17929 enrol_meta: create new group if selected
AMOS BEGIN
  CPY [creategroup,enrol_cohort],[creategroup,enrol_meta]
AMOS END
2015-04-22 14:36:38 +08:00
Marina Glancy
9e37d365d8 MDL-17929 enrol_meta: synchronise with groups 2015-04-22 14:36:34 +08:00
Marina Glancy
5894432c50 MDL-49953 enrol_cohort: correction to string 2015-04-22 13:40:03 +08:00
Marina Glancy
42c92eef33 MDL-49953 enrol_cohort: check courseid when looking for group 2015-04-22 13:39:02 +08:00
Daniel Neis Araujo
98177a4510 MDL-17929 enrol: Populate groups from Child Courses in META courses
This is based on code from the enrol cohort plugin and
on work from Willy Lee available at https://github.com/willylee/moodle-local_metasync

AMOS BEGIN
  CPY [addgroup,enrol_cohort],[addgroup,enrol_meta]
AMOS END
2015-04-22 12:06:29 +08:00
Andrew Nicols
e28767f414 Merge branch 'MDL-49753-master' of https://github.com/alexmitin/moodle 2015-04-22 11:00:21 +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
Dan Poltawski
8da277ea96 Merge branch 'MDL-49894-master' of git://github.com/jleyva/moodle 2015-04-16 16:10:23 +01:00
Juan Leyva
6d28e2cfa6 MDL-49894 webservices: Add missing API changes in upgrade.txt 2015-04-16 15:19:42 +02: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
b4896308dc MDL-45131 enrol: Add validation for returned parameters in WS tests 2015-04-16 10:25:25 +02:00
Dan Poltawski
75e20c1845 Merge branch 'wip-MDL-18309-master' of git://github.com/marinaglancy/moodle 2015-04-15 09:54:36 +01:00
Dan Poltawski
0627d5802c Merge branch 'wip-MDL-45774-master' of git://github.com/abgreeve/moodle 2015-04-14 15:32:13 +08:00
Ankit Agarwal
5c94d1ee39 MDL-49412 enrol: Fix behat failures 2015-04-10 17:18:22 +08:00
Gregory Zbitnev
6601690202 MDL-18309 Course: enrol/index.php returnurl improvement
This patch improves usability of enrolment page in case of course is not
enrollable. 'Continue' button now returns student to referring page instead of
main moodle page (as it used to be). To make this improvement, passing correct
returnurl parameter to enrol/index.php page was implemented for links that may
be accessible for not-enrolled students.
2015-04-10 09:32:31 +08:00
Barry Oosthuizen
2568347e28 MDL-33328 enrol_manual: use correct parameter in search function
Searching for user from "Enrol users" panel causes blocks to dock in IE
2015-04-09 18:52:14 +01:00
Andrew Nicols
647681d4e9 Merge branch 'MDL-49687-master' of git://github.com/andrewnicols/moodle 2015-04-08 09:34:37 +08:00
Andrew Nicols
31635bfb63 MDL-49687 enrol: Add behat tests for adding multiple groups 2015-04-08 09:34:16 +08:00
Dan Poltawski
cdc0f4de3f Merge branch 'MDL-49677' of https://github.com/sleperf/moodle 2015-04-07 11:28:35 +01:00
Alex Mitin
af4e80ae69 MDL-49753 enrolments: preselct status filter if needed 2015-04-07 16:19:01 +08:00
Dan Poltawski
c17dc4347e Merge branch 'MDL-28592-master' of https://github.com/ninelanterns/moodle 2015-04-06 13:59:30 +01:00
David Monllao
32b97a03f3 MDL-49380 enrol_cohort: Fixing matches
Tiny fix as the group name was not properly
generated when incrementing the captured
generated number. Also adding unit test for
this case.
2015-04-06 10:47:54 +08:00
David Monllao
b948d8c8a0 Merge branch 'wip-MDL-49380-master' of git://github.com/abgreeve/moodle 2015-04-06 10:16:38 +08:00
Juan Leyva
1d3e954630 MDL-49606 webservices: Use correct item null value for files in summary 2015-04-02 11:06:25 +02:00
Marina Glancy
058caae6f3 MDL-49687 enrol: allow to add user to multiple gorups 2015-04-02 17:02:39 +08:00
LE PERF Stephane
ab2fa7a768 MDL-49677 enrol_self: allow fullname and email in the welcome message 2015-04-02 09:42:20 +02:00
John Phoon
28e31ae43f MDL-28592 webservices: Add manual unenrol users to external services 2015-04-02 17:37:44 +11:00
Adrian Greeve
7efd0c0adb MDL-49380 enrol_cohort: Update to code and introduction of a constant. 2015-04-02 09:49:35 +08:00
Adrian Greeve
df9dbc9f42 MDL-49380 enrol_cohort: Unit tests and formatting update. 2015-04-01 14:05:29 +08:00
Juan Leyva
ba62015b8e MDL-49606 webservices: Minor style fixes 2015-03-27 12:19:52 +01:00
Daniel Ureña
9b78f0e98b MDL-49606 webservices: Improved unit tests for get_users_courses 2015-03-27 10:12:47 +01:00
Costantino Cito
170717e2a9 MDL-49606 webservices: Return additional fields in get_users_courses 2015-03-26 22:02:36 +01:00
Sergey Gorbatov
73985b1425 MDL-49380 enrol_cohort: Automatically create a group if needed 2015-03-26 21:12:52 +04:00
David Monllao
6c6539dd72 Merge branch 'MDL-49555-master' of git://github.com/FMCorz/moodle 2015-03-24 11:00:15 +08:00
info@ewallah.net
3039181c51 MDL-49555 enrol_paypal: Only display icon if method available 2015-03-18 14:21:41 +01:00
Marina Glancy
fc77f56679 MDL-49439 enrol: Allow quick adding several instances 2015-03-17 14:01:34 +08:00
David Monllao
52a5d7a225 MDL-46238 course: Add newcourse param to enrol user filter 2015-02-25 11:26:18 +08:00
shashi
bbc3b07965 MDL-46238 enrol:add a simple way to go back to course page 2015-02-19 16:56:53 +05:30
David Monllao
157643cacd Merge branch 'MDL-49034_master' of git://github.com/mattporritt/moodle 2015-02-18 09:36:22 +08:00
David Monllao
5bb0ee2a7a MDL-43535 webservices: Adding missing deprecated WS
- enrol_manual needs a version bump to execute
  external_update_descriptions()
- core_user_get_users_by_id() is now also marked
  as deprecated
2015-02-12 10:13:36 +08:00
Matt Porritt
7e36bb7197 MDL-49034 enrol_self: Enforce maxlength in self enrolment form fields.
Alter self enrolment creation form to enforce max field lengths.
Limit "Custom instance name" (name) form field to 255 characters via maxlength.
Limit "Enrolment key" (password) form field to 50 characters via maxlength.

Fix for when the form is submitted causing a database write error to be thrown
as corresponding field "name" in the table mdl_enrol is set to varchar(255) and
database field "password" is varying(50).
2015-02-10 13:21:12 +11: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
John Okely
3a0c9c6306 MDL-48772 enrol_cohort: Replace hardcoded language with language strings 2015-01-30 11:29:40 +08:00
Andrew Nicols
0d98b0f7ad Merge branch 'MDL-48491-master' of git://github.com/zbdd/moodle 2015-01-27 10:48:36 +08:00
Zachary Durber
530debc078 MDL-48491 enrolments: Paypal enrolments send email as support user. 2015-01-22 13:42:08 +08:00
David Monllao
53aa8423bd Merge branch 'MDL-48765-master' of git://github.com/mackensen/moodle 2015-01-20 17:08:21 +08:00