839 Commits

Author SHA1 Message Date
Petr Skoda
af82383fde MDL-23502 fixed php docs in enrol/mnet - minor coding style fixes 2010-07-31 20:24:04 +00:00
Petr Skoda
f699087144 MDL-23502 fixed php docs in enrol/guest + fixed use of config cap 2010-07-31 20:22:29 +00:00
Petr Skoda
974fedfeda MDL-23502 sorting lang strings again 2010-07-31 20:19:53 +00:00
Petr Skoda
4460eab552 MDL-23502 fixed php docs in enrol/flatfile 2010-07-31 20:18:50 +00:00
Petr Skoda
9232bceb53 MDL-23502 fixed php docs in enrol/database + removed unnecessary caps 2010-07-31 20:15:36 +00:00
Petr Skoda
465f508826 MDL-23502 fixed php docs in enrol/cohort + readding config capability for more fine grained access control 2010-07-31 20:12:13 +00:00
Petr Skoda
fe4419332b MDL-23502 fixed php docs in enrol/category 2010-07-31 20:07:51 +00:00
Petr Skoda
e25f24669b MDL-23502 improved new instance function name 2010-07-31 20:02:56 +00:00
Petr Skoda
42761bc637 MDL-23502 PayPal plugin now using separate edit form; added missing capabilities and unenrol self support 2010-07-31 20:00:14 +00:00
Petr Skoda
8372f76728 MDL-23502 improved coding style 2010-07-31 19:14:44 +00:00
Petr Skoda
c65171b738 MDL-23502 ohlala, sorting lang strings and adding new unenrolself string 2010-07-31 19:09:47 +00:00
Petr Skoda
5eb222fbe8 fixed docs 2010-07-31 19:07:03 +00:00
Petr Skoda
953234e097 MDL-23502 added missing instance data validation 2010-07-31 19:04:57 +00:00
Petr Skoda
06fa8101fc whitespace fix 2010-07-31 19:03:39 +00:00
Petr Skoda
862259bea0 MDL-23502 fixed unenroll self login in self plugin 2010-07-31 18:54:14 +00:00
Petr Skoda
a00a44e150 MDL-23502 fixed unenroll self login in manual plugin 2010-07-31 18:53:59 +00:00
Petr Skoda
24a625725a MDL-23502 php docs improvements and cleanup 2010-07-31 18:41:28 +00:00
Petr Skoda
5379726a09 MDL-23502 fixed package info 2010-07-31 13:48:27 +00:00
Petr Skoda
0f4ac87010 MDL-23502 fixed version info 2010-07-31 13:47:04 +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
c1adaed0b5 MDL-23502 no form field disabling necessary any more 2010-07-31 13:22:44 +00:00
Petr Skoda
c1dfc4a8cf MDL-23502 coding style 2010-07-31 13:10:00 +00:00
Petr Skoda
0848a19608 MDL-23502 make sure there are not multiple instances of manual enrol plugin 2010-07-31 12:20:23 +00:00
Petr Skoda
eafb7a72dc MDL-23502 manual enrol plugin is not part of course edit screen any more 2010-07-31 12:13:38 +00:00
Petr Skoda
2d4b1f3e0d MDL-23502 refactoring towards separate instance config forms 2010-07-31 09:58:36 +00:00
jerome mouneyrac
41e962ffb0 webservice MDL-23440 more explicit error message when validation context fail in some external functions. 2010-07-30 06:00:32 +00:00
David Mudrak
4bac47bd65 MDL-21695 Dropping enrol/authorize help - to be added by the plugin maintainer 2010-07-28 11:04:11 +00:00
samhemelryk
9fe92ae8c3 enrol MDL-22854 Fixed usage of $PAGE and $OUTPUT within enrol table component 2010-07-28 09:24:08 +00:00
samhemelryk
4a370785b6 enrol MDL-22854 Re-jigged the enrolment dialogue putting the role and options up the top 2010-07-28 09:11:03 +00:00
Petr Skoda
12b8f43314 MDL-21524 fixed wrong var names, credit goes to Heiko Schach 2010-07-27 19:07:58 +00:00
Petr Skoda
74f64f62bb MDL-22783 fixing default roles in ims settings 2010-07-25 17:33:14 +00:00
Petr Skoda
d67fb0413c MDL-23412 fixed incorrect settings defaults - it was causing problems in install 2010-07-25 17:21:57 +00:00
Petr Skoda
0cd579d7de MDL-22788 fixed wrong currency default 2010-07-25 17:19:29 +00:00
Sam Hemelryk
9f15347e2c enrol MDL-23447 Others users page now only lists roles that have moodle/course:view 2010-07-23 08:21:42 +00:00
Aaron Barnes
fa36ca3db7 MDL-22783 upgrade enrol/flatfile plugin to use enrolments
Adding/removing files missed in last patch
2010-07-22 03:33:28 +00:00
Aaron Barnes
e8e0d84584 MDL-22781 upgrade enrol/flatfile plugin to use enrolments
Adding/removing files missed in last patch
2010-07-22 03:11:27 +00:00
Aaron Barnes
88f2f61c7d MDL-22788 upgrade enrol/paypal plugin to use enrolments
Adding file missing from previous commits
2010-07-22 02:08:15 +00:00
Aaron Barnes
f719e91f67 MDL-22788 upgrade enrol/paypal plugin to use enrolments
Adding files missing from previous patches
2010-07-22 02:07:19 +00:00
Aaron Barnes
5ea8855350 MDL-22788 upgrade enrol/paypal plugin to use enrolments
Patch by Eugene Venter
2010-07-22 01:58:54 +00:00
Inaki
0762b758d6 enrol/ldap MDL-23442 Give a bit more of detail about what's missing and why it's needed 2010-07-21 07:32:17 +00:00
Martin Dougiamas
36c9121693 MDL-23442 Added a missing string 2010-07-21 04:03:44 +00:00
Inaki
1331264bdf enrol/ldap: MDL-23412 Do not use any PHP LDAP constants unless the module is loaded and enabled.
Guard all the configuration settings with a proper check, don't display
any setting and notify the user about the missing extension.
2010-07-20 21:53:09 +00:00
Inaki
6969b70aa5 enrol/ldap: MDL-23424 don't use $CFG->enrol_ldap_user_memberfield if it's not defined 2010-07-20 10:28:58 +00:00
Inaki
dc0288a665 enrol/ldap: MDL-23424 don't upgrade $CFG->enrol_ldap_version if it's not defined 2010-07-20 10:25:02 +00:00
Sam Hemelryk
57e8a9361f enrol MDL-23384 fixed issue with cohort sync JavaScript not redirecting after successfully enrolling a cohort 2010-07-20 03:56:22 +00:00
Martin Dougiamas
caf0021225 MDL-23412 Fixed a typo 2010-07-20 03:06:23 +00:00
Sam Hemelryk
62bf1746a2 enrol ldap MDL-23412 Quick fix for two notices in ldap settings, needs review by maintainer 2010-07-20 02:50:01 +00:00
Inaki
5704585cf4 enrol/ldap: MDL-22784 Conversion of the LDAP enrolment plugin to the new enrolment infrastructure.
We've moved some of the LDAP auth plugin "knowledge" of different LDAP
servers to a common library, and we've added support for nested groups
enrolments for selected LDAP servers.

Lots of changes in the language pack, as all the plugin messages have been
internationali[sz]ed (it also includes renaming of quite a few string
identifiers).

During plugin settings migration, we rename 'version' setting to
'ldap_version', as we store the plugin version itself as a setting in the
plugin config table and the two collided.

Performance is not great for larga data sets but this can be improved later
(20000 users, 4000 courses and 100 users/course take around 1h25m on a somewhat
tuned postgresql-8.4 on a 2.66GHz Core2 Duo w/ 4 GB of RAM).

AMOS BEGIN
  MOV [description,enrol_ldap],[pluginname_desc,enrol_ldap]
  MOV [enrol_ldap_autocreate,enrol_ldap],[autocreate,enrol_ldap]
  MOV [enrol_ldap_autocreate_key,enrol_ldap],[autocreate_key,enrol_ldap]
  MOV [enrol_ldap_autocreation_settings,enrol_ldap],[autocreation_settings,enrol_ldap]
  MOV [enrol_ldap_bind_dn,enrol_ldap],[bind_dn,enrol_ldap]
  MOV [enrol_ldap_bind_dn_key,enrol_ldap],[bind_dn_key,enrol_ldap]
  MOV [enrol_ldap_bind_pw,enrol_ldap],[bind_pw,enrol_ldap]
  MOV [enrol_ldap_bind_pw_key,enrol_ldap],[bind_pw_key,enrol_ldap]
  MOV [enrol_ldap_bind_settings,enrol_ldap],[bind_settings,enrol_ldap]
  MOV [enrol_ldap_category,enrol_ldap],[category,enrol_ldap]
  MOV [enrol_ldap_category_key,enrol_ldap],[category_key,enrol_ldap]
  MOV [enrol_ldap_contexts,enrol_ldap],[contexts,enrol_ldap]
  MOV [enrol_ldap_course_fullname,enrol_ldap],[course_fullname,enrol_ldap]
  MOV [enrol_ldap_course_fullname_key,enrol_ldap],[course_fullname_key,enrol_ldap]
  MOV [enrol_ldap_course_idnumber,enrol_ldap],[course_idnumber,enrol_ldap]
  MOV [enrol_ldap_course_idnumber_key,enrol_ldap],[course_idnumber_key,enrol_ldap]
  MOV [enrol_ldap_course_search_sub,enrol_ldap],[course_search_sub,enrol_ldap]
  MOV [enrol_ldap_course_settings,enrol_ldap],[course_settings,enrol_ldap]
  MOV [enrol_ldap_course_shortname,enrol_ldap],[course_shortname,enrol_ldap]
  MOV [enrol_ldap_course_shortname_key,enrol_ldap],[course_shortname_key,enrol_ldap]
  MOV [enrol_ldap_course_summary,enrol_ldap],[course_summary,enrol_ldap]
  MOV [enrol_ldap_course_summary_key,enrol_ldap],[course_summary_key,enrol_ldap]
  MOV [enrol_ldap_editlock,enrol_ldap],[editlock,enrol_ldap]
  MOV [enrol_ldap_ldap_encoding,enrol_ldap],[ldap_encoding,enrol_ldap]
  MOV [enrol_ldap_ldap_encoding_key,enrol_ldap],[ldap_encoding_key,enrol_ldap]
  MOV [enrol_ldap_general_options,enrol_ldap],[general_options,enrol_ldap]
  MOV [enrol_ldap_group_memberofattribute,enrol_ldap],[group_memberofattribute,enrol_ldap]
  MOV [enrol_ldap_group_memberofattribute_key,enrol_ldap],[group_memberofattribute_key,enrol_ldap]
  MOV [enrol_ldap_host_url,enrol_ldap],[host_url,enrol_ldap]
  MOV [enrol_ldap_host_url_key,enrol_ldap],[host_url_key,enrol_ldap]
  MOV [enrol_ldap_idnumber_attribute,enrol_ldap],[idnumber_attribute,enrol_ldap]
  MOV [enrol_ldap_idnumber_attribute_key,enrol_ldap],[idnumber_attribute_key,enrol_ldap]
  MOV [enrol_ldap_memberattribute,enrol_ldap],[memberattribute,enrol_ldap]
  MOV [enrol_ldap_memberattribute_isdn,enrol_ldap],[memberattribute_isdn,enrol_ldap]
  MOV [enrol_ldap_memberattribute_isdn_key,enrol_ldap],[memberattribute_isdn_key,enrol_ldap]
  MOV [enrol_ldap_nested_groups,enrol_ldap],[nested_groups,enrol_ldap]
  MOV [enrol_ldap_nested_groups_key,enrol_ldap],[nested_groups_key,enrol_ldap]
  MOV [enrol_ldap_nested_groups_settings,enrol_ldap],[nested_groups_settings,enrol_ldap]
  MOV [enrol_ldap_objectclass,enrol_ldap],[objectclass,enrol_ldap]
  MOV [enrol_ldap_objectclass_key,enrol_ldap],[objectclass_key,enrol_ldap]
  MOV [enrol_ldap_opt_deref,enrol_ldap],[opt_deref,enrol_ldap]
  MOV [enrol_ldap_opt_deref_key,enrol_ldap],[opt_deref_key,enrol_ldap]
  MOV [enrol_ldap_roles,enrol_ldap],[roles,enrol_ldap]
  MOV [enrol_ldap_search_sub_key,enrol_ldap],[search_sub_key,enrol_ldap]
  MOV [enrol_ldap_server_settings,enrol_ldap],[server_settings,enrol_ldap]
  MOV [enrol_ldap_template,enrol_ldap],[template,enrol_ldap]
  MOV [enrol_ldap_template_key,enrol_ldap],[template_key,enrol_ldap]
  MOV [enrol_ldap_updatelocal,enrol_ldap],[updatelocal,enrol_ldap]
  MOV [enrol_ldap_user_attribute,enrol_ldap],[user_attribute,enrol_ldap]
  MOV [enrol_ldap_user_attribute_key,enrol_ldap],[user_attribute_key,enrol_ldap]
  MOV [enrol_ldap_user_contexts,enrol_ldap],[user_contexts,enrol_ldap]
  MOV [enrol_ldap_user_contexts_key,enrol_ldap],[user_contexts_key,enrol_ldap]
  MOV [enrol_ldap_user_search_sub,enrol_ldap],[user_search_sub,enrol_ldap]
  MOV [enrol_ldap_user_settings,enrol_ldap],[user_settings,enrol_ldap]
  MOV [enrol_ldap_user_type,enrol_ldap],[user_type,enrol_ldap]
  MOV [enrol_ldap_user_type_key,enrol_ldap],[user_type_key,enrol_ldap]
  MOV [enrol_ldap_version,enrol_ldap],[version,enrol_ldap]
  MOV [enrol_ldap_version_key,enrol_ldap],[version_key,enrol_ldap]
  MOV [search_sub_key,enrol_ldap],[course_search_sub_key,enrol_ldap]
AMOS END
2010-07-19 21:52:52 +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
ec9132b5bb removing unused adv cohort role option from settings 2010-07-19 12:55:19 +00:00