Skip to content

Commit

Permalink
3.1.2
Browse files Browse the repository at this point in the history
Added a check for internet access
  • Loading branch information
nilsteampassnet committed May 1, 2024
1 parent 0d5534a commit f851d99
Show file tree
Hide file tree
Showing 28 changed files with 282 additions and 30 deletions.
2 changes: 1 addition & 1 deletion includes/config/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

define('TP_VERSION', '3.1.2');
define("UPGRADE_MIN_DATE", "1705123921");
define('TP_VERSION_MINOR', '43');
define('TP_VERSION_MINOR', '44');
define('TP_TOOL_NAME', 'Teampass');
define('TP_ONE_DAY_SECONDS', 86400);
define('TP_ONE_WEEK_SECONDS', 604800);
Expand Down
12 changes: 11 additions & 1 deletion includes/language/bulgarian.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/catalan.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/chinese.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/czech.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/dutch.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
3 changes: 3 additions & 0 deletions includes/language/english.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
* @see https://www.teampass.net
*/
return array(
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',

This comment has been minimized.

Copy link
@jcloward13

jcloward13 May 9, 2024

Should be:
'server_connected_to_internet' => 'Server is connected to the internet'
'server_not_connected_to_internet' => 'Server is not connected to the internet'

'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA.',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
Expand Down
12 changes: 11 additions & 1 deletion includes/language/estonian.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/french.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Merci de confirmer l'exécution de la tache',
'user_keys_downloaded' => 'Clés utilisateur téléchargées',
'mfa_code_send_by_email' => 'Code MFA envoyé par email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'Code OTP',
'enabled_otp_for_item' => 'Activer le code OTP',
'at_otp_status' => 'Status de l'OTP',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to supprimer',
'folder_created' => 'Répertoire créé',
'login_with_sso' => 'Se connecter en SSO',
'server_connected_to_internet' => 'Serveur connecté à internet',
'server_not_connected_to_internet' => 'Serveur non connecté à internet',
'server_not_connected_to_internet_tip' => 'Cela peut engendré des disfonctionnements de certaines fonctionnalités du MFA par exemple.',
'tools' => 'Outils',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/german.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/greek.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/hungarian.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/italian.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
12 changes: 11 additions & 1 deletion includes/language/japanese.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
'please_confirm_task_to_be_run' => 'Please confirm the task to be performed',
'user_keys_downloaded' => 'User keys downloaded',
'mfa_code_send_by_email' => 'MFA code sent by email',
'otp' => '',
'otp' => 'OTP',
'otp_code' => 'OTP code',
'enabled_otp_for_item' => 'Enable OTP code',
'at_otp_status' => 'OTP status',
Expand All @@ -1176,5 +1176,15 @@
'allowed_to_delete' => 'Allowed to delete',
'folder_created' => 'Folder created',
'login_with_sso' => 'Login with SSO',
'server_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet' => 'Server is connected to internet',
'server_not_connected_to_internet_tip' => 'This could lead to several functionnalities not working properly. Especially MFA',
'tools' => 'Tools',
'user_config_not_compliant' => 'User configuration is not compliant',
'fix_personal_items_empty' => 'Fix personal items are empty',
'fix_personal_items_empty_tip' => 'This tool permits to fix the issue where personal items are empty after a Teampass upgrade. It requires to have restored a copy of table teampass_items from Teampass version 2. The table needs to be named teampass_items_v2.',
'table_not_exists' => 'Expected table does not exist. Please restore it from a backup.',
'tools_usage_warning' => 'Using tools can have a direct impact on the database. Please be careful. Always perform a dump before and define a maintenance period.',
'select_user' => 'Select user',

);
Loading

1 comment on commit f851d99

@useronkel
Copy link

@useronkel useronkel commented on f851d99 May 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sry to comment this, but you have to rework a little error ;-)
grafik
If the website is not connected to the internet, you should say it :-)

Please sign in to comment.