mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-02-08 04:18:40 +00:00
test fixes and changes for release
This commit is contained in:
parent
4b42ef2f7e
commit
1d42d45d39
|
|
@ -46,7 +46,7 @@ class Resource implements \JsonSerializable
|
|||
/**
|
||||
* Uri.
|
||||
*
|
||||
* @var int
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $uri = '';
|
||||
|
|
@ -70,7 +70,7 @@ class Resource implements \JsonSerializable
|
|||
/**
|
||||
* Xpath.
|
||||
*
|
||||
* @var int
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $xpath = '';
|
||||
|
|
@ -78,7 +78,7 @@ class Resource implements \JsonSerializable
|
|||
/**
|
||||
* Hash.
|
||||
*
|
||||
* @var int
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $hash = '';
|
||||
|
|
@ -86,7 +86,7 @@ class Resource implements \JsonSerializable
|
|||
/**
|
||||
* Last version path.
|
||||
*
|
||||
* @var int
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $lastVersionPath = '';
|
||||
|
|
|
|||
|
|
@ -100,13 +100,13 @@ $next = $tableView->getNextLink(
|
|||
$url = UriFactory::build('{/lang}/{/app}/'{/lang}/{/app}/admin/audit/single?id=' . $audit->getId()); ?>
|
||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||
<td><?= $audit->getId(); ?>
|
||||
<td><?php if ($audit->getOld() === null) : echo $this->getHtml('CREATE', '0', '0'); ?>
|
||||
<?php elseif ($audit->getOld() !== null && $audit->getNew() !== null) : echo $this->getHtml('UPDATE', '0', '0'); ?>
|
||||
<?php elseif ($audit->getNew() === null) : echo $this->getHtml('DELETE', '0', '0'); ?>
|
||||
<td><?php if ($audit->old === null) : echo $this->getHtml('CREATE', '0', '0'); ?>
|
||||
<?php elseif ($audit->old !== null && $audit->new !== null) : echo $this->getHtml('UPDATE', '0', '0'); ?>
|
||||
<?php elseif ($audit->new === null) : echo $this->getHtml('DELETE', '0', '0'); ?>
|
||||
<?php else : echo $this->getHtml('UNKNOWN', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
<td><?= $audit->getType(); ?>
|
||||
<td><?= $audit->getTrigger(); ?>
|
||||
<td><?= $audit->type; ?>
|
||||
<td><?= $audit->trigger; ?>
|
||||
<td><a class="content" href="<?= UriFactory::build('{/lang}/{/app}/'{/lang}/{/app}/admin/account/settings?id=' . $audit->createdBy->getId()); ?>"><?= $this->printHtml(
|
||||
$this->renderUserName('%3$s %2$s %1$s', [$audit->createdBy->name1, $audit->createdBy->name2, $audit->createdBy->name3, $audit->createdBy->login])
|
||||
); ?></a>
|
||||
|
|
|
|||
|
|
@ -257,6 +257,25 @@ $CONFIG = [
|
|||
'root' => '/',
|
||||
'https' => false,
|
||||
],
|
||||
'app' => [
|
||||
'path' => __DIR__,
|
||||
'default' => [
|
||||
'app' => 'Backend',
|
||||
'id' => 'backend',
|
||||
'lang' => 'en',
|
||||
'theme' => 'Backend',
|
||||
'org' => 1,
|
||||
],
|
||||
'domains' => [
|
||||
'127.0.0.1' => [
|
||||
'app' => 'Backend',
|
||||
'id' => 'backend',
|
||||
'lang' => 'en',
|
||||
'theme' => 'Backend',
|
||||
'org' => 1,
|
||||
],
|
||||
],
|
||||
],
|
||||
'socket' => [
|
||||
'master' => [
|
||||
'host' => '127.0.0.1',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user