Skip to content

Commit

Permalink
2.1.27
Browse files Browse the repository at this point in the history
New - User must provide a reason to access a restricted item
Fix for #2109, #2035
Changed licensing to GNU GPL-3.0
  • Loading branch information
nilsteampassnet authored and nilsteampassnet committed Feb 25, 2018
1 parent eb13097 commit 883c57a
Show file tree
Hide file tree
Showing 125 changed files with 711 additions and 881 deletions.
2 changes: 1 addition & 1 deletion admin.php
Expand Up @@ -4,7 +4,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion admin.settings.load.php
Expand Up @@ -4,7 +4,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
6 changes: 3 additions & 3 deletions admin.settings.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down Expand Up @@ -1076,7 +1076,7 @@
echo '
<tr style="display:', (isset($ldap_type)) ? '' : 'none', '" class="tr-windows tr-ldap tr-posix tr-posix-search">
<td><label for="ldap_suffix">'.$LANG['settings_ldap_domain'].'</label></td>
<td><input type="text" size="50" id="ldap_suffix" name="ldap_suffix" class="text ui-widget-content" title="@dc=example,dc=com" value="', isset($SETTINGS['ldap_suffix']) ? $SETTINGS['ldap_suffix'] : '', '" onchange="updateSetting($(this).attr(\'id\'));" /></td>
<td><input type="text" size="50" id="ldap_suffix" name="ldap_suffix" class="text ui-widget-content" title="dc=example,dc=com" value="', isset($SETTINGS['ldap_suffix']) ? $SETTINGS['ldap_suffix'] : '', '" onchange="updateSetting($(this).attr(\'id\'));" /></td>
</tr>';

// Domain DN
Expand Down Expand Up @@ -1111,7 +1111,7 @@
echo '
<tr style="display:', (isset($ldap_type) && $ldap_type === 'posix-search') ? '' : 'none', '" class="tr-posix-search tr-ldap">
<td><label for="ldap_usergroup">'.$LANG['settings_ldap_usergroup'].'&nbsp;<i class="fa fa-question-circle tip" title="'.htmlentities(strip_tags($LANG['settings_ldap_usergroup_tip']), ENT_QUOTES).'"></i></label></td>
<td><input type="text" size="50" id="ldap_usergroup" name="ldap_usergroup" class="text ui-widget-content" title="uid" value="',
<td><input type="text" size="50" id="ldap_usergroup" name="ldap_usergroup" class="text ui-widget-content" title="usergroupname" value="',
isset($SETTINGS['ldap_usergroup']) ? $SETTINGS['ldap_usergroup'] : '', '" class="text ui-widget-content" onchange="updateSetting($(this).attr(\'id\'));" /></td>
</tr>';
// LDAP BIND DN for search
Expand Down
2 changes: 1 addition & 1 deletion admin.settings_api.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion admin.settings_categories.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion admin.settings_duo.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion api/functions.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.0
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion api/index.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.0
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion backups/script.backup.php
Expand Up @@ -4,7 +4,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion backups/script.ssh.php
Expand Up @@ -4,7 +4,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
@@ -1,5 +1,7 @@
2.1.27
11/
Changed licensing to GNU GPL-3.0
New - User must provide a reason to access a restricted item
Improved security of password generator with php7
Improved cannot edit user without email
Improved read-only user limitation to copy folder and import action
Expand All @@ -15,6 +17,7 @@
#2116 Insufficient password strength when creating Offline Mode
#2115 Fix script backup issue with encryption key
#2111 Add support for login through http header
#2109 restrict login to Group Ldap don't work
#2102 Changed field renewal_period size
#2095 Can't upload files on items - Plupload update
#2094 PHP 7.2: Call to undefined function mcrypt_encrypt()
Expand All @@ -37,6 +40,7 @@
#2064 LDAP and DUO users with administrator role taken to items page then logged out
#2063 Setting "Hide forgot password link on Home page" not correctly displayed
#2059 Fix for Custom LDAP port and adLDAP
#2035 After first time login as user Personal Folder is not correctly shown (100000)
#2015 Double click to edit not working for items created by a different user

10/
Expand Down
2 changes: 1 addition & 1 deletion duo.load.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion error.php
Expand Up @@ -4,7 +4,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
10 changes: 5 additions & 5 deletions favorites.php
@@ -1,10 +1,10 @@
<?php
/**
* @file favorites.php
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @file favorites.php
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion find.load.php
Expand Up @@ -4,7 +4,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion find.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link
*/

Expand Down
2 changes: 1 addition & 1 deletion folders.load.php
Expand Up @@ -4,7 +4,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion folders.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
2 changes: 1 addition & 1 deletion includes/config/include.php
Expand Up @@ -5,7 +5,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link
*/
// DONT'T CHANGE BELOW THIS LINE
Expand Down
2 changes: 1 addition & 1 deletion includes/js/functions.js
Expand Up @@ -3,7 +3,7 @@
* @author Nils Laumaillé
* @version 2.1.27
* @copyright (c) 2009-2017 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand Down
10 changes: 7 additions & 3 deletions includes/language/arabic.php
@@ -1,11 +1,11 @@
<?php
<?php
/**
*
* @file arabic.php
* @author Nils Laumaillé
* @version 2.1.27
* @copyright 2009 - 2018 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand All @@ -14,6 +14,10 @@
*/
global $LANG;
$LANG = array (
'request_access_to_item' => 'Request access for this item',
'request_access_to_item_info' => 'Provide the reason why you want to access this item',
'send_request' => 'Send request',
'error_no_reason_of_access' => 'Please provide a reason for accessing this item.',
'human_resources' => 'Human Resources',
'user_ga_code' => 'Email Google Authentication to user',
'send_ga_code' => 'Set and email Google Authentication code',
Expand Down Expand Up @@ -1081,4 +1085,4 @@
'create_github_bug_report' => 'Create new bug report',
'deselect_all' => 'Deselect all',
'' => ''
);
);
10 changes: 7 additions & 3 deletions includes/language/bulgarian.php
@@ -1,11 +1,11 @@
<?php
<?php
/**
*
* @file bulgarian.php
* @author Nils Laumaillé
* @version 2.1.27
* @copyright 2009 - 2018 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand All @@ -14,6 +14,10 @@
*/
global $LANG;
$LANG = array (
'request_access_to_item' => 'Request access for this item',
'request_access_to_item_info' => 'Provide the reason why you want to access this item',
'send_request' => 'Send request',
'error_no_reason_of_access' => 'Please provide a reason for accessing this item.',
'human_resources' => 'Human Resources',
'user_ga_code' => 'Изптати Google Authenticator на потребителя по имейл',
'send_ga_code' => 'Google Authenticator за потребител',
Expand Down Expand Up @@ -1081,4 +1085,4 @@
'create_github_bug_report' => 'Create new bug report',
'deselect_all' => 'Deselect all',
'' => ''
);
);
10 changes: 7 additions & 3 deletions includes/language/catalan.php
@@ -1,11 +1,11 @@
<?php
<?php
/**
*
* @file catalan.php
* @author Nils Laumaillé
* @version 2.1.27
* @copyright 2009 - 2018 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand All @@ -14,6 +14,10 @@
*/
global $LANG;
$LANG = array (
'request_access_to_item' => 'Request access for this item',
'request_access_to_item_info' => 'Provide the reason why you want to access this item',
'send_request' => 'Send request',
'error_no_reason_of_access' => 'Please provide a reason for accessing this item.',
'human_resources' => 'Human Resources',
'user_ga_code' => 'Envia Google Authenticator per email a l\'usuari',
'send_ga_code' => 'Estableix i envia per correu el codi de Google Authenticator',
Expand Down Expand Up @@ -1081,4 +1085,4 @@
'create_github_bug_report' => 'Create new bug report',
'deselect_all' => 'Deselect all',
'' => ''
);
);
10 changes: 7 additions & 3 deletions includes/language/chinese.php
@@ -1,11 +1,11 @@
<?php
<?php
/**
*
* @file chinese_simplified.php
* @author Nils Laumaillé
* @version 2.1.27
* @copyright 2009 - 2018 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand All @@ -14,6 +14,10 @@
*/
global $LANG;
$LANG = array (
'request_access_to_item' => 'Request access for this item',
'request_access_to_item_info' => 'Provide the reason why you want to access this item',
'send_request' => 'Send request',
'error_no_reason_of_access' => 'Please provide a reason for accessing this item.',
'human_resources' => 'Human Resources',
'user_ga_code' => '发送 Google 身份验证器至用户,通过电子邮件',
'send_ga_code' => 'Google 身份验证器,为用户',
Expand Down Expand Up @@ -1081,4 +1085,4 @@
'create_github_bug_report' => 'Create new bug report',
'deselect_all' => 'Deselect all',
'' => ''
);
);
10 changes: 7 additions & 3 deletions includes/language/czech.php
@@ -1,11 +1,11 @@
<?php
<?php
/**
*
* @file czech.php
* @author Nils Laumaillé
* @version 2.1.27
* @copyright 2009 - 2018 Nils Laumaillé
* @licensing GNU AFFERO GPL 3.0
* @licensing GNU GPL-3.0
* @link http://www.teampass.net
*
* This library is distributed in the hope that it will be useful,
Expand All @@ -14,6 +14,10 @@
*/
global $LANG;
$LANG = array (
'request_access_to_item' => 'Request access for this item',
'request_access_to_item_info' => 'Provide the reason why you want to access this item',
'send_request' => 'Send request',
'error_no_reason_of_access' => 'Please provide a reason for accessing this item.',
'human_resources' => 'Human Resources',
'user_ga_code' => 'Zaslat uživateli Google Authenticator emailem',
'send_ga_code' => 'Google Authenticator pro uživatele',
Expand Down Expand Up @@ -1081,4 +1085,4 @@
'create_github_bug_report' => 'Create new bug report',
'deselect_all' => 'Deselect all',
'' => ''
);
);

0 comments on commit 883c57a

Please sign in to comment.