Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f003a1c

Browse files
committed
v1.6.00
1 parent f6cc526 commit f003a1c

24 files changed

+59
-2228
lines changed

Data Admin/CHANGEDB.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,8 @@
131131
$sql[$count][0]="1.5.01" ;
132132
$sql[$count][1]="";
133133

134+
//v1.6.00
135+
$count++;
136+
$sql[$count][0]="1.6.00" ;
137+
$sql[$count][1]="";
138+

Data Admin/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
CHANGELOG
22
=========
33

4+
## [1.6.00] 2022-02-01
5+
### Fixed
6+
- Fixed deprecated functions for v23 compatibility. Not backwards compatible.
7+
48
## [1.5.01] 2021-09-30
59
### Fixed
610
- Removed PHPExcel class, fixed Combine Similar Fields layout

Data Admin/export_run.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
use Gibbon\Data\ImportType;
21+
use Gibbon\Domain\System\SettingGateway;
2122

2223
// Increase max execution time, as this stuff gets big
2324
ini_set('max_execution_time', 7200);
@@ -45,7 +46,7 @@
4546
$type = (isset($_GET['type']))? $_GET['type'] : '';
4647
$importType = ImportType::loadImportType($type, $pdo);
4748

48-
$checkUserPermissions = getSettingByScope($connection2, 'Data Admin', 'enableUserLevelPermissions');
49+
$checkUserPermissions = $container->get(SettingGateway::class)->getSettingByScope('Data Admin', 'enableUserLevelPermissions');
4950

5051
if ($checkUserPermissions == 'Y' && $importType->isImportAccessible($guid, $connection2) == false) {
5152
echo "<div class='error'>" ;
@@ -236,7 +237,7 @@
236237

237238
$filename = ($dataExport) ? 'DataExport'.'-'.$type : 'DataStructure'.'-'.$type;
238239

239-
$exportFileType = getSettingByScope($connection2, 'Data Admin', 'exportDefaultFileType');
240+
$exportFileType = $container->get(SettingGateway::class)->getSettingByScope('Data Admin', 'exportDefaultFileType');
240241
if (empty($exportFileType)) {
241242
$exportFileType = 'Excel2007';
242243
}

Data Admin/imports/usersBasic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ table:
6060
name: "Username"
6161
desc: "User account name & login"
6262
args: {filter: nospaces, required: true}
63-
password:
63+
passwordStrong:
6464
name: "Password"
6565
desc: "At least one lowercase and one number, from 8 to 20 chars"
6666
args: {filter: nospaces, required: true, custom: true, function: generatePassword}

Data Admin/imports/usersFull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ table:
5151
name: "Username"
5252
desc: "User account name & login"
5353
args: {filter: nospaces, required: true}
54-
password:
54+
passwordStrong:
5555
name: "Password"
5656
desc: "At least one lowercase and one number, from 8 to 20 chars"
5757
args: {filter: nospaces, required: true, custom: true, function: generatePassword}

Data Admin/imports/usersParents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ table:
4949
name: "Username"
5050
desc: "User account name & login"
5151
args: {filter: nospaces, required: true}
52-
password:
52+
passwordStrong:
5353
name: "Password"
5454
desc: "At least one lowercase and one number, from 8 to 20 chars"
5555
args: {filter: nospaces, required: true, custom: true, function: generatePassword}

Data Admin/imports/usersPasswords.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ table:
1717
name: "Username"
1818
desc: "User account name & login"
1919
args: {filter: nospaces, required: true}
20-
password:
20+
passwordStrong:
2121
name: "Password"
2222
desc: "At least one lowercase and one number, from 8 to 20 chars"
2323
args: {filter: nospaces, required: true, custom: true, function: generatePassword}

Data Admin/imports/usersStaff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ table:
4949
name: "Username"
5050
desc: "User account name & login"
5151
args: {filter: nospaces, required: true}
52-
password:
52+
passwordStrong:
5353
name: "Password"
5454
desc: "At least one lowercase and one number, from 8 to 20 chars"
5555
args: {filter: nospaces, required: true, custom: true, function: generatePassword}

Data Admin/manifest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
$entryURL="import_manage.php" ; //The landing page for the unit, used in the main menu
2626
$type="Additional" ; //Do not change.
2727
$category="Admin" ; //The main menu area to place the module in
28-
$version="1.5.01" ; //Version number
28+
$version="1.6.00" ; //Version number
2929
$author="Sandra Kuipers" ; //Your name
3030
$url="https://github.com/SKuipers/" ; //Your URL
3131

Data Admin/records_duplicates.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
use Gibbon\Data\ImportType;
2121
use Gibbon\Module\DataAdmin\DatabaseTools;
22+
use Gibbon\Domain\System\SettingGateway;
2223

2324
// Module Bootstrap
2425
require __DIR__ . '/module.php';
@@ -88,7 +89,7 @@
8889
echo "</th>" ;
8990
echo "</tr>" ;
9091

91-
$checkUserPermissions = getSettingByScope($connection2, 'Data Admin', 'enableUserLevelPermissions');
92+
$checkUserPermissions = $container->get(SettingGateway::class)->getSettingByScope('Data Admin', 'enableUserLevelPermissions');
9293
$isImportAccessible = ($checkUserPermissions == 'Y' && $importType->isImportAccessible($guid, $connection2) != false);
9394

9495
foreach ($duplicateRecords as $row) {

0 commit comments

Comments
 (0)