Commit Graph

21 Commits

Author SHA1 Message Date
Matt Porritt cc980d0197 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:20:31 +11:00
Daniel Neis Araujo 334e91e82c MDL-41173 Change enrolenddate from "date_selector" to "date_time_selector" 2014-02-21 17:15:27 -03:00
Petr Škoda 12c92bca22 MDL-37717 warn teachers before disabling or deleting their enrolment method 2013-10-04 16:02:48 +02:00
David Monllao 1ad8902820 MDL-38821 enrol_self: Fixing setType missing calls 2013-04-02 15:39:44 +08:00
Petr Škoda e1fa177cf9 MDL-36514 add new option to prevent only new self enrolments
Hopefully this will resolve all confusion around the enrol->status flag in this plugin.
2013-01-12 16:03:08 +01:00
Petr Škoda eac37ff46a MDL-36431 fix multiple problems with self enrol defaults
This patch adds new method for retrieving of default properties of enrol_self instances and uses it both for automatic adding of instances and add instance form - this will guarantee both are using the same data in the future.
2012-11-07 18:57:14 +01:00
Petr Škoda 8a486fdb7d MDL-35843 implement self enrolment expiry notification 2012-10-19 16:04:00 +08:00
Petr Škoda d9669db9b3 MDL-35070 coding style cleanup in enrol_self 2012-08-26 16:02:38 +02:00
Petr Škoda dd6b1f15cf MDL-23875 add option to limit self-enrol to cohort members only 2012-08-26 15:56:01 +02:00
Petr Škoda 0896292622 MDL-34635 support multilang in self enrol course welcome message
Includes also new help string for the custom multilang placeholders by Helen Foster.
2012-08-02 09:38:48 +02:00
Petr Skoda c52551dc3c MDL-8249 localise standard role names and descriptions if empty 2012-07-06 08:22:34 +02:00
Aparup Banerjee b50ac85799 MDL-29469 Enrolments : fixed whitespaces 2011-11-30 14:42:04 +08:00
Jason Fowler 2c5857186b MDL-29469 Enrolments - fixing the role assignment access elevation issue 2011-11-23 11:23:05 +08:00
David Mudrak 94f630e33f MDL-28325 Enrolment: added help to the duration, start date and end date setting
The patch also fixes one typo in enrol_manual detected while working on
this.
2011-07-15 08:59:55 +02:00
Petr Skoda dc157e0903 MDL-24285 fixed invalid password check 2010-09-19 16:10:18 +00:00
Petr Skoda 6e0b0a39ab MDL-15916 teachers now control course welcome messages in each course separately, you can also specify custom message
AMOS BEGIN
 MOV [sendcoursewelcomemessage_desc,enrol_self],[sendcoursewelcomemessage_help,enrol_self]
AMOS END
2010-09-05 14:05:24 +00:00
Petr Skoda af41d03d96 MDL-15962 implemented a max enrolled users limit in enrol/self plugin 2010-09-05 11:21:01 +00:00
Petr Skoda 770ab27f1d MDL-23719 longtimenosee finally reimplemented - it is now used in self enrol only. It should be faster, easier to configure and finally there should not be any "my users are disappearing" reports in the future 2010-08-09 10:19:25 +00:00
Petr Skoda 684784c81c MDL-23502 fixing headers, navigation and form submit buttons 2010-08-01 19:59:25 +00:00
Petr Skoda 9779585953 MDL-23502 oops, die()! 2010-07-31 20:30:29 +00:00
Petr Skoda c9f9c90009 MDL-23502 self enrol not part of course edit page any more 2010-07-31 13:45:44 +00:00