refs #5816 Remove duplicated logs #1634
15
CHANGELOG.md
15
CHANGELOG.md
|
@ -5,14 +5,23 @@ All notable changes to this project will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [2326.01] - 2023-06-29
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
-
|
||||||
|
|
||||||
## [2324.01] - 2023-06-08
|
## [2324.01] - 2023-06-08
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
-
|
- (Tickets -> Abono) Al abonar permite crear el ticket abono con almacén o sin almmacén
|
||||||
|
- (General -> Desplegables) Mejorada eficiencia de carga de datos
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
-
|
- (General -> Permisos) Mejorada seguridad
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
-
|
-
|
||||||
|
|
|
@ -11,9 +11,9 @@ RUN apt-get update \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
gnupg2 \
|
gnupg2 \
|
||||||
graphicsmagick \
|
graphicsmagick \
|
||||||
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
|
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
||||||
&& apt-get install -y --no-install-recommends nodejs \
|
&& apt-get install -y --no-install-recommends nodejs \
|
||||||
&& npm install -g npm@8.19.2
|
&& npm install -g npm@9.6.6
|
||||||
|
|
||||||
# Puppeteer
|
# Puppeteer
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ pipeline {
|
||||||
NODE_ENV = ""
|
NODE_ENV = ""
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
nodejs('node-v14') {
|
nodejs('node-v20') {
|
||||||
sh 'npm install --no-audit --prefer-offline'
|
sh 'npm install --no-audit --prefer-offline'
|
||||||
sh 'gulp install --ci'
|
sh 'gulp install --ci'
|
||||||
}
|
}
|
||||||
|
@ -57,14 +57,14 @@ pipeline {
|
||||||
parallel {
|
parallel {
|
||||||
stage('Frontend') {
|
stage('Frontend') {
|
||||||
steps {
|
steps {
|
||||||
nodejs('node-v14') {
|
nodejs('node-v20') {
|
||||||
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
|
sh 'jest --ci --reporters=default --reporters=jest-junit --maxWorkers=2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Backend') {
|
stage('Backend') {
|
||||||
steps {
|
steps {
|
||||||
nodejs('node-v14') {
|
nodejs('node-v20') {
|
||||||
sh 'npm run test:back:ci'
|
sh 'npm run test:back:ci'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,7 @@ pipeline {
|
||||||
CREDENTIALS = credentials('docker-registry')
|
CREDENTIALS = credentials('docker-registry')
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
nodejs('node-v14') {
|
nodejs('node-v20') {
|
||||||
sh 'gulp build'
|
sh 'gulp build'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,11 @@ describe('Claim summary path', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should click on the first sale ID making the item descriptor visible`, async() => {
|
it(`should click on the first sale ID making the item descriptor visible`, async() => {
|
||||||
await page.waitToClick(selectors.claimSummary.firstSaleItemId);
|
const firstItem = selectors.claimSummary.firstSaleItemId;
|
||||||
|
await page.evaluate(selectors => {
|
||||||
|
document.querySelector(selectors).scrollIntoView();
|
||||||
|
}, firstItem);
|
||||||
|
await page.click(firstItem);
|
||||||
await page.waitImgLoad(selectors.claimSummary.firstSaleDescriptorImage);
|
await page.waitImgLoad(selectors.claimSummary.firstSaleDescriptorImage);
|
||||||
const visible = await page.isVisible(selectors.claimSummary.itemDescriptorPopover);
|
const visible = await page.isVisible(selectors.claimSummary.itemDescriptorPopover);
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ class Controller extends SearchPanel {
|
||||||
|
|
||||||
addValue() {
|
addValue() {
|
||||||
this.filter.values.push({});
|
this.filter.values.push({});
|
||||||
setTimeout(() => this.popover.relocate());
|
setTimeout(() => this.parentPopover.relocate());
|
||||||
}
|
}
|
||||||
|
|
||||||
changeTag() {
|
changeTag() {
|
||||||
|
@ -36,7 +36,7 @@ ngModule.vnComponent('vnOrderCatalogSearchPanel', {
|
||||||
controller: Controller,
|
controller: Controller,
|
||||||
bindings: {
|
bindings: {
|
||||||
onSubmit: '&?',
|
onSubmit: '&?',
|
||||||
popover: '<?',
|
parentPopover: '<?',
|
||||||
resultTags: '<?'
|
resultTags: '<?'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
</vn-searchbar>
|
</vn-searchbar>
|
||||||
</vn-portal>
|
</vn-portal>
|
||||||
<vn-order-catalog-view
|
<vn-order-catalog-view
|
||||||
model="model"
|
model="model"
|
||||||
order="$ctrl.order">
|
order="$ctrl.order">
|
||||||
</vn-order-catalog-view>
|
</vn-order-catalog-view>
|
||||||
<vn-side-menu side="right">
|
<vn-side-menu side="right">
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
label="Category">
|
label="Category">
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
<vn-one ng-repeat="category in categories">
|
<vn-one ng-repeat="category in categories">
|
||||||
<vn-icon
|
<vn-icon
|
||||||
ng-class="{'active': $ctrl.categoryId == category.id}"
|
ng-class="{'active': $ctrl.categoryId == category.id}"
|
||||||
icon="{{::category.icon}}"
|
icon="{{::category.icon}}"
|
||||||
vn-tooltip="{{::category.name}}"
|
vn-tooltip="{{::category.name}}"
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
</div>
|
</div>
|
||||||
</vn-vertical>
|
</vn-vertical>
|
||||||
<vn-vertical class="input vn-pt-md">
|
<vn-vertical class="input vn-pt-md">
|
||||||
<vn-textfield vn-one
|
<vn-textfield vn-one
|
||||||
vn-id="search"
|
vn-id="search"
|
||||||
ng-keyUp="$ctrl.onSearchByTag($event)"
|
ng-keyUp="$ctrl.onSearchByTag($event)"
|
||||||
label="Search tag">
|
label="Search tag">
|
||||||
|
@ -104,20 +104,20 @@
|
||||||
on-close="$ctrl.onPopoverClose()">
|
on-close="$ctrl.onPopoverClose()">
|
||||||
<vn-order-catalog-search-panel
|
<vn-order-catalog-search-panel
|
||||||
on-submit="$ctrl.onPanelSubmit($filter)"
|
on-submit="$ctrl.onPanelSubmit($filter)"
|
||||||
popover="popover"
|
parent-popover="popover"
|
||||||
result-tags="$ctrl.resultTags">
|
result-tags="$ctrl.resultTags">
|
||||||
</vn-order-catalog-search-panel>
|
</vn-order-catalog-search-panel>
|
||||||
</vn-popover>
|
</vn-popover>
|
||||||
<div class="chips">
|
<div class="chips">
|
||||||
<vn-chip
|
<vn-chip
|
||||||
ng-if="$ctrl.itemId"
|
ng-if="$ctrl.itemId"
|
||||||
removable="true"
|
removable="true"
|
||||||
vn-tooltip="Item id"
|
vn-tooltip="Item id"
|
||||||
on-remove="$ctrl.removeItemId()"
|
on-remove="$ctrl.removeItemId()"
|
||||||
class="colored">
|
class="colored">
|
||||||
<span>Id: {{$ctrl.itemId}}</span>
|
<span>Id: {{$ctrl.itemId}}</span>
|
||||||
</vn-chip>
|
</vn-chip>
|
||||||
<vn-chip
|
<vn-chip
|
||||||
ng-if="$ctrl.itemName"
|
ng-if="$ctrl.itemName"
|
||||||
removable="true"
|
removable="true"
|
||||||
vn-tooltip="Item"
|
vn-tooltip="Item"
|
||||||
|
@ -130,20 +130,20 @@
|
||||||
<span>{{$ctrl.itemName}}</span>
|
<span>{{$ctrl.itemName}}</span>
|
||||||
</div>
|
</div>
|
||||||
</vn-chip>
|
</vn-chip>
|
||||||
<vn-chip
|
<vn-chip
|
||||||
ng-if="category.selection"
|
ng-if="category.selection"
|
||||||
removable="true"
|
removable="true"
|
||||||
vn-tooltip="Category"
|
vn-tooltip="Category"
|
||||||
on-remove="$ctrl.categoryId = null"
|
on-remove="$ctrl.categoryId = null"
|
||||||
class="colored">
|
class="colored">
|
||||||
<span translate>{{category.selection.name}}</span>
|
<span translate>{{category.selection.name}}</span>
|
||||||
</vn-chip>
|
</vn-chip>
|
||||||
<vn-chip
|
<vn-chip
|
||||||
ng-if="type.selection"
|
ng-if="type.selection"
|
||||||
removable="true"
|
removable="true"
|
||||||
vn-tooltip="Type"
|
vn-tooltip="Type"
|
||||||
on-remove="$ctrl.typeId = null"
|
on-remove="$ctrl.typeId = null"
|
||||||
class="colored">
|
class="colored">
|
||||||
<span translate>{{type.selection.name}}</span>
|
<span translate>{{type.selection.name}}</span>
|
||||||
</vn-chip>
|
</vn-chip>
|
||||||
<vn-chip
|
<vn-chip
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
removable="true"
|
removable="true"
|
||||||
on-remove="$ctrl.remove($index)"
|
on-remove="$ctrl.remove($index)"
|
||||||
vn-tooltip="{{::$ctrl.formatTooltip(tagGroup)}}"
|
vn-tooltip="{{::$ctrl.formatTooltip(tagGroup)}}"
|
||||||
class="colored">
|
class="colored">
|
||||||
<div>
|
<div>
|
||||||
<span ng-if="::tagGroup.tagFk">
|
<span ng-if="::tagGroup.tagFk">
|
||||||
<span translate>{{::tagGroup.tagSelection.name}}</span>:
|
<span translate>{{::tagGroup.tagSelection.name}}</span>:
|
||||||
|
@ -163,4 +163,4 @@
|
||||||
</div>
|
</div>
|
||||||
</vn-chip>
|
</vn-chip>
|
||||||
</div>
|
</div>
|
||||||
</vn-side-menu>
|
</vn-side-menu>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "salix-back",
|
"name": "salix-back",
|
||||||
"version": "23.22.01",
|
"version": "23.24.01",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "salix-back",
|
"name": "salix-back",
|
||||||
"version": "23.22.01",
|
"version": "23.24.01",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.2.2",
|
"axios": "^1.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "salix-back",
|
"name": "salix-back",
|
||||||
"version": "23.24.01",
|
"version": "23.26.01",
|
||||||
"author": "Verdnatura Levante SL",
|
"author": "Verdnatura Levante SL",
|
||||||
"description": "Salix backend",
|
"description": "Salix backend",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
|
|
@ -9,7 +9,7 @@ let mode = env == 'development' ? env : 'production';
|
||||||
|
|
||||||
let baseConfig = {
|
let baseConfig = {
|
||||||
entry: {salix: 'salix'},
|
entry: {salix: 'salix'},
|
||||||
mode: mode,
|
mode,
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, 'dist'),
|
path: path.join(__dirname, 'dist'),
|
||||||
publicPath: '/'
|
publicPath: '/'
|
||||||
|
|
Loading…
Reference in New Issue