ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilAccountRegistrationGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
27 {
29  protected bool $code_enabled = false;
30  protected bool $code_was_used;
32 
34 
35  protected ?ilPropertyFormGUI $form = null;
36 
39  protected ilLanguage $lng;
41  protected ?ilObjUser $userObj = null;
43  protected ilSetting $settings;
48 
50  protected \ILIAS\HTTP\Services $http;
51 
52  public function __construct()
53  {
54  global $DIC;
55 
56  $this->tpl = $DIC->ui()->mainTemplate();
57 
58  $this->ctrl = $DIC->ctrl();
59  $this->ctrl->saveParameter($this, 'lang');
60  $this->lng = $DIC->language();
61  $this->lng->loadLanguageModule('registration');
62  $this->error = $DIC['ilErr'];
63  $this->settings = $DIC->settings();
64  $this->globalUser = $DIC->user();
65  $this->rbacreview = $DIC->rbac()->review();
66  $this->rbacadmin = $DIC->rbac()->admin();
67  $this->ui_factory = $DIC->ui()->factory();
68  $this->ui_renderer = $DIC->ui()->renderer();
69 
70  $this->registration_settings = new ilRegistrationSettings();
71  $this->code_enabled = ($this->registration_settings->registrationCodeRequired() ||
72  $this->registration_settings->getAllowCodes());
73 
74  $this->recommended_content_manager = new ilRecommendedContentManager();
75 
76  $this->user_profile = new ilUserProfile();
77 
78  $this->http = $DIC->http();
79  $this->refinery = $DIC->refinery();
80  }
81 
82  public function executeCommand(): void
83  {
84  if ($this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_DISABLED) {
85  $this->error->raiseError($this->lng->txt('reg_disabled'), $this->error->FATAL);
86  }
87 
88  $cmd = $this->ctrl->getCmd();
89  switch ($cmd) {
90  case 'saveForm':
91  $tpl = $this->$cmd();
92  break;
93  default:
94  $tpl = $this->displayForm();
95  }
96 
97  $this->tpl->setPermanentLink('usr', null, 'registration');
99  }
100 
102  {
103  $tpl = ilStartUpGUI::initStartUpTemplate(['tpl.usr_registration.html', 'Services/Registration'], true);
104  $tpl->setVariable('TXT_PAGEHEADLINE', $this->lng->txt('registration'));
105 
106  if (!$this->form) {
107  $this->initForm();
108  }
109  $tpl->setVariable('FORM', $this->form->getHTML());
110  return $tpl;
111  }
112 
113  protected function initForm(): void
114  {
115  $this->globalUser->setLanguage($this->lng->getLangKey());
116  $this->globalUser->setId(ANONYMOUS_USER_ID);
117 
118  // needed for multi-text-fields (interests)
120 
121  $this->form = new ilPropertyFormGUI();
122  $this->form->setFormAction($this->ctrl->getFormAction($this));
123 
124  // code handling
125  if ($this->code_enabled) {
126  $field = new ilFormSectionHeaderGUI();
127  $field->setTitle($this->lng->txt('registration_codes_type_reg'));
128  $this->form->addItem($field);
129  $code = new ilTextInputGUI($this->lng->txt("registration_code"), "usr_registration_code");
130  $code->setSize(40);
131  $code->setMaxLength(ilRegistrationCode::CODE_LENGTH);
132  if ($this->registration_settings->registrationCodeRequired()) {
133  $code->setRequired(true);
134  $code->setInfo($this->lng->txt("registration_code_required_info"));
135  } else {
136  $code->setInfo($this->lng->txt("registration_code_optional_info"));
137  }
138  $this->form->addItem($code);
139  }
140 
141  // user defined fields
142  $user_defined_data = $this->globalUser->getUserDefinedData();
143  $user_defined_fields = ilUserDefinedFields::_getInstance();
144  $custom_fields = [];
145 
146  foreach ($user_defined_fields->getRegistrationDefinitions() as $field_id => $definition) {
147  $fprop = ilCustomUserFieldsHelper::getInstance()->getFormPropertyForDefinition(
148  $definition,
149  true,
150  $user_defined_data['f_' . $field_id] ?? ''
151  );
152  if ($fprop instanceof ilFormPropertyGUI) {
153  $custom_fields['udf_' . $definition['field_id']] = $fprop;
154  }
155  }
156 
157  $this->user_profile->setMode(ilUserProfile::MODE_REGISTRATION);
158  $this->user_profile->skipGroup("preferences");
159 
160  $this->user_profile->setAjaxCallback(
161  $this->ctrl->getLinkTarget($this, 'doProfileAutoComplete', '', true)
162  );
163  $this->lng->loadLanguageModule("user");
164  // add fields to form
165  $this->user_profile->addStandardFieldsToForm($this->form, null, $custom_fields);
166  unset($custom_fields);
167 
168  // set language selection to current display language
169  $flang = $this->form->getItemByPostVar("usr_language");
170  if ($flang) {
171  $flang->setValue($this->lng->getLangKey());
172  }
173 
174  // add information to role selection (if not hidden)
175  if ($this->code_enabled) {
176  $role = $this->form->getItemByPostVar("usr_roles");
177  if ($role && $role->getType() === "select") {
178  $role->setInfo($this->lng->txt("registration_code_role_info"));
179  }
180  }
181 
182  // #11407
183  $domains = [];
184  foreach ($this->registration_settings->getAllowedDomains() as $item) {
185  if (trim($item)) {
186  $domains[] = $item;
187  }
188  }
189  if (count($domains)) {
190  $mail_obj = $this->form->getItemByPostVar('usr_email');
191  $mail_obj->setInfo(sprintf(
192  $this->lng->txt("reg_email_domains"),
193  implode(", ", $domains)
194  ) . "<br />" .
195  ($this->code_enabled ? $this->lng->txt("reg_email_domains_code") : ""));
196  }
197 
198  // #14272
199  if ($this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_ACTIVATION) {
200  $mail_obj = $this->form->getItemByPostVar('usr_email');
201  if ($mail_obj) { // #16087
202  $mail_obj->setRequired(true);
203  }
204  }
205 
206  global $DIC;
207  array_map($this->form->addItem(...), $DIC['legalDocuments']->selfRegistration()->legacyInputGUIs());
208 
209  $this->form->addCommandButton("saveForm", $this->lng->txt("register"));
210  }
211 
213  {
214  $this->initForm();
215  $form_valid = $this->form->checkInput();
216 
217  // custom validation
218  $valid_code = $valid_role = false;
219 
220  // code
221  if ($this->code_enabled) {
222  $code = $this->form->getInput('usr_registration_code');
223  // could be optional
224  if (
225  $code !== '' ||
226  $this->registration_settings->registrationCodeRequired()
227  ) {
228  // code validation
230  $code_obj = $this->form->getItemByPostVar('usr_registration_code');
231  $code_obj->setAlert($this->lng->txt('registration_code_not_valid'));
232  $form_valid = false;
233  } else {
234  $valid_code = true;
235 
236  // get role from code, check if (still) valid
237  $role_id = ilRegistrationCode::getCodeRole($code);
238  if ($role_id && $this->rbacreview->isGlobalRole($role_id)) {
239  $valid_role = $role_id;
240  }
241  }
242  }
243  }
244 
245  // valid codes override email domain check
246  if (!$valid_code) {
247  // validate email against restricted domains
248  $email = $this->form->getInput("usr_email");
249  if ($email) {
250  // #10366
251  $domains = [];
252  foreach ($this->registration_settings->getAllowedDomains() as $item) {
253  if (trim($item)) {
254  $domains[] = $item;
255  }
256  }
257  if (count($domains)) {
258  $mail_valid = false;
259  foreach ($domains as $domain) {
260  $domain = str_replace("*", "~~~", $domain);
261  $domain = preg_quote($domain, '/');
262  $domain = str_replace("~~~", ".+", $domain);
263  if (preg_match("/^" . $domain . "$/", $email, $hit)) {
264  $mail_valid = true;
265  break;
266  }
267  }
268  if (!$mail_valid) {
269  $mail_obj = $this->form->getItemByPostVar('usr_email');
270  $mail_obj->setAlert(sprintf(
271  $this->lng->txt("reg_email_domains"),
272  implode(", ", $domains)
273  ));
274  $form_valid = false;
275  }
276  }
277  }
278  }
279 
280  $error_lng_var = '';
281  if (
282  !$this->registration_settings->passwordGenerationEnabled() &&
284  $this->form->getInput('usr_password'),
285  $this->form->getInput('username'),
286  $error_lng_var
287  )
288  ) {
289  $passwd_obj = $this->form->getItemByPostVar('usr_password');
290  $passwd_obj->setAlert($this->lng->txt($error_lng_var));
291  $form_valid = false;
292  }
293 
294  global $DIC;
295  $form_valid = $DIC['legalDocuments']->selfRegistration()->saveLegacyForm($this->form) && $form_valid;
296 
297  // no need if role is attached to code
298  if (!$valid_role) {
299  // manual selection
300  if ($this->registration_settings->roleSelectionEnabled()) {
301  $selected_role = $this->form->getInput("usr_roles");
302  if ($selected_role && ilObjRole::_lookupAllowRegister((int) $selected_role)) {
303  $valid_role = (int) $selected_role;
304  }
305  } // assign by email
306  else {
307  $registration_role_assignments = new ilRegistrationRoleAssignments();
308  $valid_role = $registration_role_assignments->getRoleByEmail($this->form->getInput("usr_email"));
309  }
310  }
311 
312  // no valid role could be determined
313  if (!$valid_role && (!isset($selected_role) || $selected_role !== '')) {
314  $this->tpl->setOnScreenMessage('info', $this->lng->txt("registration_no_valid_role"));
315  $form_valid = false;
316  }
317 
318  // validate username
319  $login_obj = $this->form->getItemByPostVar('username');
320  $login = $this->form->getInput("username");
321  if (!ilUtil::isLogin($login)) {
322  $login_obj->setAlert($this->lng->txt("login_invalid"));
323  $form_valid = false;
324  }
325 
326  if ($form_valid) {
327  if (ilObjUser::_loginExists($login)) {
328  $login_obj->setAlert($this->lng->txt("login_exists"));
329  $form_valid = false;
330  } elseif ((int) $this->settings->get('allow_change_loginname') &&
331  (int) $this->settings->get('reuse_of_loginnames') === 0 &&
333  $login_obj->setAlert($this->lng->txt('login_exists'));
334  $form_valid = false;
335  }
336  }
337 
338  if (!$form_valid) {
339  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('form_input_not_valid'));
340  } else {
341  $password = $this->createUser($valid_role);
342  $this->distributeMails($password);
343  return $this->login();
344  }
345  $this->form->setValuesByPost();
346  return $this->displayForm();
347  }
348 
349  protected function createUser(int $a_role): string
350  {
351  // something went wrong with the form validation
352  if (!$a_role) {
353  global $DIC;
354 
355  $ilias = $DIC['ilias'];
356  $ilias->raiseError("Invalid role selection in registration" .
357  ", IP: " . $_SERVER["REMOTE_ADDR"], $ilias->error_obj->FATAL);
358  }
359 
360  $this->userObj = new ilObjUser();
361  if ((int) $this->settings->get('auth_mode') !== ilAuthUtils::AUTH_LOCAL) {
362  $this->userObj->setAuthMode('local');
363  }
364 
365  $this->user_profile->skipGroup("preferences");
366  $this->user_profile->skipGroup("settings");
367  $this->user_profile->skipField("password");
368  $this->user_profile->skipField("birthday");
369  $this->user_profile->skipField("upload");
370  foreach ($this->user_profile->getStandardFields() as $k => $v) {
371  if ($v["method"]) {
372  $method = "set" . substr($v["method"], 3);
373  if (method_exists($this->userObj, $method)) {
374  if ($k !== "username") {
375  $k = "usr_" . $k;
376  }
377  $field_obj = $this->form->getItemByPostVar($k);
378  if ($field_obj) {
379  $this->userObj->$method($this->form->getInput($k));
380  }
381  }
382  }
383  }
384 
385  $this->userObj->setFullName();
386 
387  $birthday_obj = $this->form->getItemByPostVar("usr_birthday");
388  if ($birthday_obj) {
389  $birthday = $this->form->getInput("usr_birthday");
390  $this->userObj->setBirthday($birthday);
391  }
392 
393  $this->userObj->setTitle($this->userObj->getFullname());
394  $this->userObj->setDescription($this->userObj->getEmail());
395 
396  if ($this->registration_settings->passwordGenerationEnabled()) {
398  $password = $password[0];
399  } else {
400  $password = $this->form->getInput("usr_password");
401  }
402  $this->userObj->setPasswd($password);
403 
404  // Set user defined data
405  $user_defined_fields = ilUserDefinedFields::_getInstance();
406  $defs = $user_defined_fields->getRegistrationDefinitions();
407  $udf = [];
408  foreach ($defs as $definition) {
409  $f = "udf_" . $definition['field_id'];
410  $item = $this->form->getItemByPostVar($f);
411  if ($item && !$item->getDisabled()) {
412  $udf[$definition['field_id']] = $this->form->getInput($f);
413  }
414  }
415  $this->userObj->setUserDefinedData($udf);
416 
417  $this->userObj->setTimeLimitOwner(7);
418 
419  $access_limit = null;
420 
421  $this->code_was_used = false;
422  $code_has_access_limit = false;
423  $code_local_roles = [];
424  if ($this->code_enabled) {
425  $code_local_roles = $code_has_access_limit = null;
426 
427  // #10853 - could be optional
428  $code = $this->form->getInput('usr_registration_code');
429  if ($code) {
430  // set code to used
432  $this->code_was_used = true;
433 
434  // handle code attached local role(s) and access limitation
435  $code_data = ilRegistrationCode::getCodeData($code);
436  if ($code_data["role_local"]) {
437  // need user id before we can assign role(s)
438  $code_local_roles = explode(";", $code_data["role_local"]);
439  }
440  if ($code_data["alimit"]) {
441  // see below
442  $code_has_access_limit = true;
443 
444  switch ($code_data["alimit"]) {
445  case "absolute":
446  $abs = date_parse($code_data["alimitdt"]);
447  $access_limit = mktime(23, 59, 59, $abs['month'], $abs['day'], $abs['year']);
448  break;
449 
450  case "relative":
451  $rel = unserialize($code_data["alimitdt"], ['allowed_classes' => false]);
452  $access_limit = (int) ($rel["d"] * 86400 + $rel["m"] * 2592000 + $rel["y"] * 31536000 + time());
453  break;
454  }
455  }
456  }
457  }
458 
459  // code access limitation will override any other access limitation setting
460  if (!($this->code_was_used && $code_has_access_limit) &&
461  $this->registration_settings->getAccessLimitation()) {
462  $access_limitations_obj = new ilRegistrationRoleAccessLimitations();
463  switch ($access_limitations_obj->getMode($a_role)) {
464  case 'absolute':
465  $access_limit = $access_limitations_obj->getAbsolute($a_role);
466  break;
467 
468  case 'relative':
469  $rel_d = $access_limitations_obj->getRelative($a_role, 'd');
470  $rel_m = $access_limitations_obj->getRelative($a_role, 'm');
471  $access_limit = $rel_d * 86400 + $rel_m * 2592000 + time();
472  break;
473  }
474  }
475 
476  if ($access_limit) {
477  $this->userObj->setTimeLimitUnlimited(false);
478  $this->userObj->setTimeLimitUntil($access_limit);
479  } else {
480  $this->userObj->setTimeLimitUnlimited(true);
481  $this->userObj->setTimeLimitUntil(time());
482  }
483 
484  $this->userObj->setTimeLimitFrom(time());
485 
487 
488  $this->userObj->create();
489 
490  if ($this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_DIRECT ||
491  $this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_CODES ||
493  $this->userObj->setActive(true, 0);
494  } elseif ($this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_ACTIVATION) {
495  $this->userObj->setActive(false, 0);
496  } else {
497  $this->userObj->setActive(false, 0);
498  }
499 
500  // set a timestamp for last_password_change
501  // this ts is needed by ilSecuritySettings
502  $this->userObj->setLastPasswordChangeTS(time());
503 
504  $this->userObj->setIsSelfRegistered(true);
505 
506  //insert user data in table user_data
507  $this->userObj->saveAsNew();
508 
509  // don't update owner before the first save. updateOwner rereads the object which fails if it not save before
510  $this->userObj->updateOwner();
511 
512  // setup user preferences
513  $this->userObj->setLanguage($this->form->getInput('usr_language'));
514 
515  global $DIC;
516  $DIC['legalDocuments']->selfRegistration()->userCreation($this->userObj);
517 
518  $hits_per_page = $this->settings->get("hits_per_page");
519  if ($hits_per_page < 10) {
520  $hits_per_page = 10;
521  }
522  $this->userObj->setPref("hits_per_page", $hits_per_page);
523  if ($this->http->wrapper()->query()->has('target')) {
524  $this->userObj->setPref(
525  'reg_target',
526  $this->http->wrapper()->query()->retrieve(
527  'target',
528  $this->refinery->kindlyTo()->string()
529  )
530  );
531  }
532  $this->userObj->setPref('bs_allow_to_contact_me', $this->settings->get('bs_allow_to_contact_me', 'n'));
533  $this->userObj->setPref('chat_osc_accept_msg', $this->settings->get('chat_osc_accept_msg', 'n'));
534  $this->userObj->setPref('chat_broadcast_typing', $this->settings->get('chat_broadcast_typing', 'n'));
535  $this->userObj->writePrefs();
536 
537  $this->rbacadmin->assignUser($a_role, $this->userObj->getId());
538 
539  // local roles from code
540  if ($this->code_was_used && is_array($code_local_roles)) {
541  $code_local_roles = array_map(intval(...), array_unique($code_local_roles));
542  foreach ($code_local_roles as $local_role_obj_id) {
543  // is given role (still) valid?
544  if (ilObject::_lookupType($local_role_obj_id) === "role") {
545  $this->rbacadmin->assignUser($local_role_obj_id, $this->userObj->getId());
546 
547  // patch to remove for 45 due to mantis 21953
548  $role_obj = $GLOBALS['DIC']['rbacreview']->getObjectOfRole($local_role_obj_id);
549  switch (ilObject::_lookupType($role_obj)) {
550  case 'crs':
551  case 'grp':
552  $role_refs = ilObject::_getAllReferences($role_obj);
553  $role_ref = end($role_refs);
554  // deactivated for now, see discussion at
555  // https://docu.ilias.de/goto_docu_wiki_wpage_5620_1357.html
556  // $this->recommended_content_manager->addObjectRecommendation($this->userObj->getId(), $role_ref);
557  break;
558  }
559  }
560  }
561  }
562 
563  return (string) $password;
564  }
565 
566  protected function distributeMails(string $password): void
567  {
568  // Send mail to approvers, if they are defined
569  if ($this->registration_settings->getApproveRecipients()) {
570  $mail = new ilRegistrationMailNotification();
571 
572  if (!$this->code_was_used &&
573  $this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_APPROVE) {
575  } else {
577  }
578  $mail->setRecipients($this->registration_settings->getApproveRecipients());
579  $mail->setAdditionalInformation(['usr' => $this->userObj]);
580  $mail->send();
581  }
582  // Send mail to new user
583  // Registration with confirmation link ist enabled
584  if (!$this->code_was_used &&
585  $this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_ACTIVATION) {
588  $mail->setRecipients([$this->userObj]);
589  $mail->setAdditionalInformation(
590  [
591  'usr' => $this->userObj,
592  'hash_lifetime' => $this->registration_settings->getRegistrationHashLifetime()
593  ]
594  );
595  $mail->send();
596  } else {
597  $accountMail = new ilAccountRegistrationMail(
598  $this->registration_settings,
599  $this->lng,
601  );
602  $accountMail->withDirectRegistrationMode()->send($this->userObj, $password, $this->code_was_used);
603  }
604  }
605 
606  public function login(): ilGlobalTemplateInterface
607  {
608  $tpl = ilStartUpGUI::initStartUpTemplate(['tpl.usr_registered.html', 'Services/Registration'], false);
609  $this->tpl->setVariable('TXT_PAGEHEADLINE', $this->lng->txt('registration'));
610 
611  $tpl->setVariable("TXT_WELCOME", $this->lng->txt("welcome") . ", " . $this->userObj->getTitle() . "!");
612  if (
613  (
614  $this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_DIRECT ||
615  $this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_CODES ||
617  ) &&
618  !$this->registration_settings->passwordGenerationEnabled()
619  ) {
620  $tpl->setVariable('TXT_REGISTERED', $this->lng->txt('txt_registered'));
621 
622  $login_link = $this->ui_renderer->render(
623  $this->ui_factory->link()->standard(
624  $this->lng->txt('login_to_ilias'),
625  './login.php?cmd=force_login&lang=' . $this->userObj->getLanguage()
626  )
627  );
628  $tpl->setVariable('LOGIN_LINK', $login_link);
629  } elseif ($this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_APPROVE) {
630  $tpl->setVariable('TXT_REGISTERED', $this->lng->txt('txt_submitted'));
631  } elseif ($this->registration_settings->getRegistrationType() === ilRegistrationSettings::IL_REG_ACTIVATION) {
632  $tpl->setVariable('TXT_REGISTERED', $this->lng->txt('reg_confirmation_link_successful'));
633  } else {
634  $tpl->setVariable('TXT_REGISTERED', $this->lng->txt('txt_registered_passw_gen'));
635  }
636  return $tpl;
637  }
638 
639  protected function doProfileAutoComplete(): void
640  {
641  $field_id = (string) $_REQUEST["f"];
642  $term = (string) $_REQUEST["term"];
643 
644  $result = ilPublicUserProfileGUI::getAutocompleteResult($field_id, $term);
645  if (count($result)) {
646  echo json_encode($result, JSON_THROW_ON_ERROR);
647  }
648 
649  exit();
650  }
651 }
static getCodeRole(string $code)
static initStartUpTemplate( $a_tmpl, bool $a_show_back=false, bool $a_show_logout=false)
This method enriches the global template with some user interface elements (language selection...
exit
Definition: login.php:29
Class for mime mail registration notifications.
const ANONYMOUS_USER_ID
Definition: constants.php:27
static getLogger(string $a_component_id)
Get component logger.
Class ilAccountRegistrationGUI.
static getAutocompleteResult(string $a_field_id, string $a_term)
static _getAllReferences(int $id)
get all reference ids for object ID
Class ilUserProfile.
Class class.ilregistrationEmailRoleAssignments.
setVariable(string $variable, $value='')
Sets the given variable to the given value.
static printToGlobalTemplate($tpl)
static getCodeData(string $code)
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
Class ilAccountRegistrationMail.
$GLOBALS["DIC"]
Definition: wac.php:31
ilRecommendedContentManager $recommended_content_manager
static isValidRegistrationCode(string $a_code)
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10
static _loginExists(string $a_login, int $a_user_id=0)
check if a login name already exists You may exclude a user from the check by giving his user id as 2...
static isLogin(string $a_login)
static isPasswordValidForUserContext(string $clear_text_password, $user, ?string &$error_language_variable=null)
Class class.ilRegistrationAccessLimitation.
static generatePasswords(int $a_number)
Generate a number of passwords.
static _doesLoginnameExistInHistory(string $a_login)
Checks whether the passed loginname already exists in history.
Class ilObjAuthSettingsGUI.
form( $class_path, string $cmd, string $submit_caption="")
Error Handling & global info handling.
static useCode(string $code)
static initjQuery(ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template
ilRegistrationSettings $registration_settings
Class ilRbacAdmin Core functions for role based access control.
static _lookupType(int $id, bool $reference=false)
static _lookupAllowRegister(int $a_role_id)
check whether role is allowed in user registration or not
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...