Skip to content

Commit 0738b2b

Browse files
nilsteampassnetnilsteampassnet
nilsteampassnet
authored and
nilsteampassnet
committed
Merge branch 'development'
2 parents dd35c7f + ee3a16a commit 0738b2b

28 files changed

+184
-174
lines changed

api/functions.php

+155-173
Large diffs are not rendered by default.

changelog.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
2.1.27
2+
15/
3+
#2266 Google 2FA mail for temporary code is blank
4+
25
14/
36
Fix for missing install/upgrade instructions
47

includes/config/include.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
global $SETTINGS, $languagesList, $SETTINGS_EXT;
1313

1414
$SETTINGS_EXT['version'] = "2.1.27";
15-
$SETTINGS_EXT['version_full'] = $SETTINGS_EXT['version'].".14";
15+
$SETTINGS_EXT['version_full'] = $SETTINGS_EXT['version'].".15";
1616
$SETTINGS_EXT['tool_name'] = "TeamPass";
1717
$SETTINGS_EXT['one_day_seconds'] = 86400;
1818
$SETTINGS_EXT['one_week_seconds'] = 604800;

includes/language/arabic.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/bulgarian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/catalan.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/chinese.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/czech.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/dutch.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/estonian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/french.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Connexion',
18+
'2fa_authentication_selector' => 'Sélectionner une méthode d\'authentification double',
1819
'create_item_based_upon_template' => 'Activer le Modèle par Objet',
1920
'create_item_based_upon_template_tip' => 'Quand activée, cette fonction permet à l\'auteur de choisir un modèle réalisé à partir des Champs Spéciaux. A noter que cela ne fonctionnera que si l\'option Champs Spéciaux est activée.',
2021
'main_template' => 'Utiliser comme Modèle',

includes/language/german.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/greek.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/hungarian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/italian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/japanese.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/norwegian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/polish.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/portuguese.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/portuguese_br.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/romanian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/russian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/spanish.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/swedish.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/turkish.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/ukrainian.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

includes/language/vietnamese.php

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
global $LANG;
1616
$LANG = array(
1717
'log_in' => 'Log In',
18+
'2fa_authentication_selector' => 'Select a 2 factor authenticator method',
1819
'create_item_based_upon_template' => 'Use of template for Item',
1920
'create_item_based_upon_template_tip' => 'When enabled, this feature permits the author to select a template made of Custom Fields. Notice that this feature requires Custom Fields to be enabled too.',
2021
'main_template' => 'Use as template',

sources/items.queries.php

+1
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@
306306
if (isset($SETTINGS['item_creation_templates']) === true
307307
&& $SETTINGS['item_creation_templates'] === '1'
308308
&& isset($post_template_id) === true
309+
&& empty($post_template_id) === false
309310
) {
310311
DB::queryFirstRow(
311312
"SELECT *

0 commit comments

Comments
 (0)