Skip to content

Commit

Permalink
v2023.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kubekin2 committed Feb 13, 2023
1 parent 398619b commit 198a219
Show file tree
Hide file tree
Showing 28 changed files with 91 additions and 88 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/

Expand All @@ -27,8 +27,8 @@

public class JSDataAdapter {

public static final String handlerVersion = "2023.1.6";
public static final String adapterVersion = "2023.1.6";
public static final String handlerVersion = "2023.1.7";
public static final String adapterVersion = "2023.1.7";
public static final boolean checkVersion = true;

private static final List<String> USERS_KEYS = Arrays.asList(
Expand Down
6 changes: 3 additions & 3 deletions NetCoreDataAdapters/DataAdaptersController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
using FirebirdSql.Data.FirebirdClient;
Expand Down Expand Up @@ -141,7 +141,7 @@ private async Task ProcessRequest()
result.Notice = e.Message;
}

result.HandlerVersion = "2023.1.6";
result.HandlerVersion = "2023.1.7";
result.CheckVersion = true;

var contentType = "application/json";
Expand Down
6 changes: 3 additions & 3 deletions NetCoreDataAdapters/SQLAdapter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
using FirebirdSql.Data.FirebirdClient;
Expand All @@ -26,7 +26,7 @@ public class SQLAdapter

private static Result End(Result result)
{
result.AdapterVersion = "2023.1.6";
result.AdapterVersion = "2023.1.7";
try
{
if (reader != null) reader.Close();
Expand Down
6 changes: 3 additions & 3 deletions NetDataAdapters/Handler.ashx.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
using System;
Expand Down Expand Up @@ -165,7 +165,7 @@ public void ProcessRequest(HttpContext context)
inputStream.Close();
}

result.HandlerVersion = "2023.1.6";
result.HandlerVersion = "2023.1.7";
result.CheckVersion = true;

context.Response.Headers.Add("Access-Control-Allow-Origin", "*");
Expand Down
6 changes: 3 additions & 3 deletions NetDataAdapters/SQLAdapter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
using FirebirdSql.Data.FirebirdClient;
Expand All @@ -25,7 +25,7 @@ public class SQLAdapter

private static Result End(Result result)
{
result.AdapterVersion = "2023.1.6";
result.AdapterVersion = "2023.1.7";
try
{
if (reader != null) reader.Close();
Expand Down
6 changes: 3 additions & 3 deletions NodejsDataAdapters/FirebirdAdapter.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
exports.process = function (command, onResult) {
var end = function (result) {
try {
if (db) db.detach();
result.adapterVersion = "2023.1.6";
result.adapterVersion = "2023.1.7";
onResult(result);
}
catch (e) {
Expand Down
6 changes: 3 additions & 3 deletions NodejsDataAdapters/MSSQLAdapter.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
exports.process = function (command, onResult) {
var end = function (result) {
try {
if (connection) connection.close();
result.adapterVersion = "2023.1.6";
result.adapterVersion = "2023.1.7";
onResult(result);
}
catch (e) {
Expand Down
6 changes: 3 additions & 3 deletions NodejsDataAdapters/MySQLAdapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
exports.process = function (command, onResult) {
Expand All @@ -13,7 +13,7 @@ exports.process = function (command, onResult) {
catch (e) {
}
finally {
result.adapterVersion = "2023.1.6";
result.adapterVersion = "2023.1.7";
onResult(result);
}
}
Expand Down
6 changes: 3 additions & 3 deletions NodejsDataAdapters/PostgreSQLAdapter.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/
exports.process = function (command, onResult) {
var end = function (result) {
try {
if (client) client.end();
result.adapterVersion = "2023.1.6";
result.adapterVersion = "2023.1.7";
onResult(result);
}
catch (e) {
Expand Down
6 changes: 3 additions & 3 deletions NodejsDataAdapters/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Stimulsoft.Reports.JS
Version: 2023.1.6
Build date: 2023.01.25
Version: 2023.1.7
Build date: 2023.02.10
License: https://www.stimulsoft.com/en/licensing/reports
*/

Expand Down Expand Up @@ -67,7 +67,7 @@ function getResponse(result) {
return result
}
function onProcess(onResult, encryptData, result) {
result.handlerVersion = "2023.1.6";
result.handlerVersion = "2023.1.7";
result.checkVersion = true;
result.encryptData = encryptData;
onResult(result);
Expand Down
2 changes: 1 addition & 1 deletion NodejsDataAdapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stimulsoft-data-adapter",
"version": "2023.1.6",
"version": "2023.1.7",
"description": "Nodejs data adapter for Stimulsoft Reports.JS",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions PHPDataAdapters/StiDataAdapter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand Down Expand Up @@ -111,7 +111,7 @@ protected function parseParameters($connectionString, $parameterNames)

protected function parseUnknownParameter($parameter, $name, $value)
{
if ($this->driverType == 'PDO' && mb_strlen($parameter) > 0) {
if ($this->driverType == 'PDO' && !is_null($parameter) && mb_strlen($parameter) > 0) {
if (mb_strlen($this->info->dsn) > 0)
$this->info->dsn .= ';';

Expand Down
6 changes: 3 additions & 3 deletions PHPDataAdapters/StiFirebirdAdapter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand All @@ -13,7 +13,7 @@

class StiFirebirdAdapter extends StiDataAdapter
{
public $version = '2023.1.6';
public $version = '2023.1.7';
public $checkVersion = true;

protected $driverName = 'firebird';
Expand Down
6 changes: 3 additions & 3 deletions PHPDataAdapters/StiMsSqlAdapter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand All @@ -13,7 +13,7 @@

class StiMsSqlAdapter extends StiDataAdapter
{
public $version = '2023.1.6';
public $version = '2023.1.7';
public $checkVersion = true;

protected $driverName = 'sqlsrv';
Expand Down
6 changes: 3 additions & 3 deletions PHPDataAdapters/StiMySqlAdapter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand All @@ -13,7 +13,7 @@

class StiMySqlAdapter extends StiDataAdapter
{
public $version = '2023.1.6';
public $version = '2023.1.7';
public $checkVersion = true;

protected $driverName = 'mysql';
Expand Down
6 changes: 3 additions & 3 deletions PHPDataAdapters/StiOdbcAdapter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand All @@ -13,7 +13,7 @@

class StiOdbcAdapter extends StiDataAdapter
{
public $version = '2023.1.6';
public $version = '2023.1.7';
public $checkVersion = true;

protected function getLastErrorResult()
Expand Down
6 changes: 3 additions & 3 deletions PHPDataAdapters/StiOracleAdapter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand All @@ -13,7 +13,7 @@

class StiOracleAdapter extends StiDataAdapter
{
public $version = '2023.1.6';
public $version = '2023.1.7';
public $checkVersion = true;

protected $driverName = 'oci';
Expand Down
6 changes: 3 additions & 3 deletions PHPDataAdapters/StiPostgreSqlAdapter.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand All @@ -13,7 +13,7 @@

class StiPostgreSqlAdapter extends StiDataAdapter
{
public $version = '2023.1.6';
public $version = '2023.1.7';
public $checkVersion = true;

protected $driverName = 'pgsql';
Expand Down
24 changes: 12 additions & 12 deletions PHPDataAdapters/classes/StiConnectionInfo.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
# Stimulsoft.Reports.JS
# Version: 2023.1.6
# Build date: 2023.01.25
# Version: 2023.1.7
# Build date: 2023.02.10
# License: https://www.stimulsoft.com/en/licensing/reports
?>
<?php
Expand All @@ -10,14 +10,14 @@

class StiConnectionInfo
{
public $dsn;
public $host;
public $port;
public $database;
public $userId;
public $password;
public $charset;
public $privilege;
public $dataPath;
public $schemaPath;
public $dsn = '';
public $host = '';
public $port = 0;
public $database = '';
public $userId = '';
public $password = '';
public $charset = '';
public $privilege = '';
public $dataPath = '';
public $schemaPath = '';
}
Loading

0 comments on commit 198a219

Please sign in to comment.