51 Commits

Author SHA1 Message Date
sam marshall
3ef7279f26 MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
Exceptions (places where set_time_limit is still left) are:

Third-party libraries:
  ADODB
  PHPMailer

Moodle core:
  PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Rajesh Taneja
735c3a7b4f MDL-42536 enrol_self: Added groups/lib.php required file 2013-10-25 11:09:43 +08:00
Rajesh Taneja
2b503e40f2 MDL-31560 Messages: Deprecated generate_email_supportuser
generate_email_supportuser was not creating user which can
be used by messaging system. core_user::get_support_user()
should be used to get support_user record.
2013-09-13 16:13:26 +08:00
Damyon Wiese
74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00
Rajesh Taneja
be9bf94e4a MDL-40126 Enrolments: Implemented two webservices to get enrolment instance info
1. core_enrol_get_course_enrolment_methods() which returns all enrolment method instances
which implement get_enrol_info()
2. enrol_self_get_instance_info() will return information about self enrolment instance.
2013-07-29 15:07:37 +08:00
Rajesh Taneja
cc1b501595 MDL-40127 Enrolments: Added status to instance info and removed displaying of enrolment form with notice
get_enrol_info will return status of enrolment instance, to notify webservice if enrolment is possible or not
If enrolment is not possible then don't show enrolment form
show_enrolme_link will use can_self_enrol to varify if enrolment link should be shown or not.
2013-07-02 14:35:33 +08:00
Rajesh Taneja
85d1c53af4 MDL-40127 Enrolments: Abstracted self_enrolment code so as to be used by webservices 2013-07-02 14:35:33 +08:00
Petr Škoda
8ef3d51470 MDL-39292 use consistent iconsmall in enrol instances UI 2013-04-27 12:28:54 +02:00
Frederic Massart
982f4bc40e MDL-38301 usability: Fixed wrong icon size 2013-02-15 10:04:57 +08:00
Petr Škoda
d8f22c49b1 MDL-37716 standardise enrolment expiration code 2013-01-26 14:55:11 +01:00
Dan Poltawski
82420bbb91 Merge branch 'w02_MDL-37184_m25_editenrol' of git://github.com/skodak/moodle 2013-01-16 10:19:57 +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
0aaea0d241 MDL-37184 refactor enrolment editing code to be shared by plugins
AMOS BEGIN
 MOV [editenrolment,enrol_self],[editenrolment,core_enrol]
AMOS END
2013-01-12 15:47:04 +01:00
Petr Škoda
5d549ffc8c MDL-37299 use progress_trace in enrol_manual and enrol_self sync 2012-12-29 21:50:32 +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
Tim Hunt
9695ff811b MDL-34657 user sorting: consistent sorting everywhere.
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.

Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
Petr Škoda
90bd89651e MDL-35062 add configurable action on self enrolment expiration 2012-09-16 10:57:57 +02:00
Petr Škoda
7a7b8a1f19 MDL-35071 redesign enrol restore
Includes option to convert all enrolments to enrol_manual instances, support for mapping of custom fields and fixes for several other problems. This does not include support for custom enrol tables, it will be addressed in another issue.
2012-09-07 11:11:28 +02: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
Frederic Massart
55bcef2954 MDL-34461 Librairies: Replaced deprecated get_context_instance() 2012-07-23 17:42:05 +08:00
Andrew Davis
c968c1b787 MDL-25476 messages: switched some notification emails to come from the support contact instead of admin 2012-06-26 11:44:56 +07:00
Petr Skoda
282b5cc7e3 MDL-30945 add support for unenrolling of individual users + code cleanup 2011-12-28 16:56:46 +01:00
Petr Skoda
78c5042e06 MDL-29824 improve notification of max number of enrolled users 2011-10-30 13:34:23 +01:00
Sun Zhigang
c03ae03383 MDL-29019 enrol - fix a typo 2011-08-24 01:30:57 +02:00
Sam Hemelryk
8c6e0ebebb MDL-23532 enrol-self - Self enrolments now manages its own enrolment editing and unenrolment 2011-04-21 10:02:55 +08:00
Jerome Mouneyrac
d587f077ef MDL-26822 enrol_user now save the status + trivial typo change in a (bit) related file 2011-03-15 17:27:27 +08:00
Petr Skoda
03531e2790 MDL-25743 fix inverted timestart/end logic 2011-01-26 13:26:31 +01:00
andyjdavis
d8f1412819 message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email 2010-12-22 12:05:49 +08:00
Eloy Lafuente
f2a9be5f8a MDL-22148 backup - support for manual/self/guest enrolments. Credit goes to Petr. 2010-09-21 10:42:19 +00:00
Petr Skoda
94b9c2e8da MDL-24321 switching to stdClass in /e*/ 2010-09-21 08:14:41 +00:00
Petr Skoda
9a13c5af34 MDL-22795 new enrol self icons - credit goes to Rossiani Wijaya 2010-09-20 07:43:56 +00:00
Petr Skoda
1493741406 fixed wrong time() usage 2010-09-17 12:33:01 +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
3ead116af3 MDL-22795 guest access icon + lang pack enrol related cleanup
AMOS BEGIN
 MOV [allowguests,core],[allowguests,enrol_guest]
AMOS END
2010-08-18 09:26:46 +00:00
Petr Skoda
cc1d9893d7 MDL-23719 some more explanation how longtimenosee works in enrol_self 2010-08-09 10:25:54 +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
52d588210e MDL-22789 addding forgotten group enrol option 2010-08-02 07:05:16 +00:00
Petr Skoda
e25f24669b MDL-23502 improved new instance function name 2010-07-31 20:02:56 +00:00
Petr Skoda
8372f76728 MDL-23502 improved coding style 2010-07-31 19:14:44 +00:00
Petr Skoda
5eb222fbe8 fixed docs 2010-07-31 19:07:03 +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
Petr Skoda
c1dfc4a8cf MDL-23502 coding style 2010-07-31 13:10:00 +00:00
David Mudrak
9f38cdce0a MDL-22997 Enrol plugins help - credit goes to Helen for wording the texts 2010-07-19 16:42:09 +00:00
Petr Skoda
2a6dcb72a2 MDL-23237 new timecreated field in user_emrolments and adding timestart to enrol plugins that know it 2010-07-13 20:58:17 +00:00
Petr Skoda
217d039722 MDL-23253 plugin now may indicate if the want "Enrol me" link in navigation 2010-07-13 17:04:17 +00:00