Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tchat into devel
  • Loading branch information
matfuchsunistra committed May 26, 2021
2 parents e008cc9 + a9fe3b6 commit a5bf511
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ curl -H "X-Auth-Token: XXXAuthTokenXXX" -H "X-User-Id: XXXUserIDXXX" -H "Content
```
* If you want to verify, you can list personal tokens
```bash
curl -H "X-Auth-Token: XXXAuthTokenXXX" -H "X-User-Id: XXXUserIDXXX" -H t-type:application/json" https://chat.univ.fr/api/v1/users.getPersonalAccessTokens
curl -H "X-Auth-Token: XXXAuthTokenXXX" -H "X-User-Id: XXXUserIDXXX" -H "Content-type:application/json" https://chat.univ.fr/api/v1/users.getPersonalAccessTokens
# {"tokens":[{"name":"moodletoken","createdAt":"2021-02-09T10:35:38.564Z","lastTokenPart":"XXX"}],"success":true}
```
* Generate a new token in case of lost
Expand Down
22 changes: 11 additions & 11 deletions lang/en/rocketchat.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,27 +70,27 @@
$string['rocketchat:change_embedded_display_mode'] = 'Can change the display mode (embedded) of each module instance';
$string['rocketchat_nickname'] = '{$a->firstname} {$a->lastname}';
$string['create_user_account_if_not_exists'] = 'Create Rocket.Chat user account';
$string['create_user_account_if_not_exists_desc'] = 'While enrolling user, create Rocket.Chat corresponding user account(username) if not exists';
$string['create_user_account_if_not_exists_desc'] = 'While enrolling user, create Rocket.Chat corresponding user account(username), if it does not exist';
$string['recyclebin_patch'] = 'Is recyclebin moodle core patch installed?';
$string['recyclebin_patch_desc'] = 'the mod rocketchat recyclebin patch is a patch locate in admin/tool/recyclebin/classes/course_bin.php file enabling to pass cmid and module instanceid to recyclebin item created event. It enables to delete remote Rocket.Chat groups';
$string['recyclebin_patch_desc'] = 'the mod rocketchat recyclebin patch is a patch located in admin/tool/recyclebin/classes/course_bin.php file enabling to pass cmid and module instanceid to recyclebin item created event. It enables the deletion of remote Rocket.Chat groups';
$string['validationgroupnameregex'] = 'Rocket.Chat group validation name regular expression to remove invalid characters';
$string['validationgroupnameregex_desc'] = 'Moodle will replace every unauthorized caracters by _. This regexp is the exact negation of the Rocket.Chat server one concerning group name validation';
$string['embedded_display_mode'] = 'Rocket.Chat embedded display mode';
$string['embedded_display_mode_desc'] = 'If checked, will remove left panel on Rocket.Chat web interface (hidding other channels)';
$string['embedded_display_mode_desc'] = 'If checked, it will remove left panel on Rocket.Chat web interface (hidding other channels)';
$string['embedded_display_mode_setting'] = 'Rocket.Chat embedded display mode';
$string['embedded_display_mode_setting_desc'] = 'If checked, will remove left panel on Rocket.Chat web interface (hidding other channels)';
$string['embedded_display_mode_setting_desc'] = 'If checked, it will remove left panel on Rocket.Chat web interface (hidding other channels)';
$string['rocketchat:addinstance'] = 'Add a Rocket.Chat instance';
$string['rocketchat:candefineroles'] = 'Override role mapping through module instance definition';
$string['modulenameplural'] = 'Rocket.Chat instances';
$string['removemessages'] = 'Remove all messages';
$string['removeditem'] = 'removed messages on {$a->rocketchatid}';
$string['datastransmittedtorc'] = 'datas transmitted to Rocketchat';
$string['datastransmittedtorc'] = 'data transmitted to Rocketchat';
$string['privacy:metadata:mod_rocketchat:rocket_chat_server:username'] = 'User username';
$string['privacy:metadata:mod_rocketchat:rocket_chat_server:firstname'] = 'User firstname';
$string['privacy:metadata:mod_rocketchat:rocket_chat_server:lastname'] = 'User lastname';
$string['privacy:metadata:mod_rocketchat:rocket_chat_server:email'] = 'User email';
$string['privacy:metadata:mod_rocketchat:rocket_chat_server:rocketchatids'] = 'Rocket.Chat remote private groups ids where user is enrolled in';
$string['privacy:metadata:mod_rocketchat:rocket_chat_server'] = 'Datas transmitted to remote Rocket.Chat servers';
$string['privacy:metadata:mod_rocketchat:rocket_chat_server'] = 'Data transmitted to remote Rocket.Chat servers';
$string['connection-success'] = 'Connection succesfully establish';
$string['testconnection'] = 'Test connection to Rocket.Chat';
$string['testtitle'] = 'Rocket.Chat connection test.';
Expand All @@ -104,12 +104,12 @@
$string['rcgrouperror'] = 'Remote Rocket.Chat group can\'t be retrieved. Please contact your system administrator. Error code {$a}.';
$string['usernamehook'] = 'Activate username hook.';
$string['usernamehook_desc'] = 'By activating this option it will be possible to chang moodle username to fit Rocket.Chat username.</br>Create a hooklib.php file in the module rocketchat installation directory.</br>code a moodle_username_to_rocketchat function that will return the transformed moodle username to fit Rocket.Chat one.</br>hooklib-example.php is given as example.';
$string['background_enrolment_task'] = 'Pass user enrolment/unenrolments in remote Rocket.Chat as background tasks.';
$string['background_enrolment_task_desc'] = 'These to solve performance issue while enrolling large amounts of users.</br>This will prevent the enroller to wait on course enrolment page while enrolling/unenrolling large amount of users.</br>Choice of enrol cohort and flatfile, if enabled, are strongly advised';
$string['background_enrolment_task'] = 'Pass user enrolment/unenrolments to remote Rocket.Chat as background tasks.';
$string['background_enrolment_task_desc'] = 'This is to solve performance issue while enrolling large amounts of users.</br>This will prevent the enroller to wait on course enrolment page while enrolling/unenrolling large amount of users.</br>Choice of enrol cohort and flatfile, if enabled, are strongly advised';
$string['background_add_instance'] = 'Pass Rocket.Chat enrolments to background task while creating a new module instance';
$string['background_add_instance_desc'] = 'This will prevent to wait on the module creation page';
$string['background_add_instance_desc'] = 'This will prevent waiting of the module creation page';
$string['background_restore'] = 'Pass Rocket.Chat enrolments to background task while dupplicating a rocket.chat modules';
$string['background_restore_desc'] = 'This will prevent to wait while dupplicating a Rocket.Chat module';
$string['background_restore_desc'] = 'This will prevent waiting while dupplicating a Rocket.Chat module';
$string['background_synchronize'] = 'Pass Rocket.Chat enrolments to background task while synchronizing enrollees.';
$string['background_synchronize_desc'] = 'This occurs after a course or a Rocket.Chat module is restored from recyclebin, ';
$string['background_user_update'] = 'Pass Rocket.Chat enrolments to background task while updating user informations such as activation/deactivation.';
Expand Down Expand Up @@ -138,4 +138,4 @@
$string['displaysection'] = 'Display settings';
$string['retentionsection'] = 'Message retention settings';
$string['rolessection'] = 'Roles definition settings';
$string['warningapiauthchanges'] = 'Warning, Rocket.Chat moodle plugin changes in auth methods, Only token auth is now taken into acount.\nPlease change the Rocket.Chat plugin settings.';
$string['warningapiauthchanges'] = 'Warning, Rocket.Chat moodle plugin changes in auth methods, Only token auth is now taken into acount.\nPlease change the Rocket.Chat plugin settings.';

0 comments on commit a5bf511

Please sign in to comment.