1130 Commits

Author SHA1 Message Date
Denys Vuika
3b4ce3b857
[ACS-5839] migrate to latest JS-API types (#8859)
* [ci:force] migrate Minimal Node to Node

* [ci:force] remove js-api wrappers and use real types

* [ci:force] remove js-api wrappers and use real types

* [ci:force] fix linting errors

* [ci:force] fix linting errors

* [ci:force] security fixes

* [ci:force] sonarcloud bug fixes

* [ci:force] dead code elimination, sonar suggested fixes
2023-08-29 20:56:40 +01:00
Tomasz Gnyp
a5b05b3e5f
[AAE-15814] Handle direct input mapping with JSON response for data table widget (#8860) 2023-08-29 18:01:57 +02:00
Raviraj Bahirsheth
d839531d08
[APPS-2134] Remove moment.js dependency from start-task-cloud.compone… (#8845)
* [APPS-2134] Remove moment.js dependency from start-task-cloud.component.ts

* Removed the console log

* Update variable name
2023-08-25 09:13:14 -04:00
Ketevani Kvirikashvili
377dd5d3a2
[AAE-15764] Add rollback property to the model (#8848)
* [AAE-15764] Add rollback property to the model

* trigger
2023-08-25 11:53:11 +01:00
Jatin Chugh
c9fdf24553
[APPS-2127] migrated dependency in date-range-filter component from moment to date-fns (#8833)
* migrated dependency in date-range-filter component from moment to date-fns

* test cases migrated to date-fns impacted due to migration of dependency in date-range-filter.component.ts

* migrate date-range-filter.service.ts from moment to date-fns dependency
2023-08-22 14:45:52 -04:00
Jatin Chugh
d0c35c28ee
[ACS-5860] Migration of process name cloud pipe from moment to date-fns (#8797) 2023-08-17 19:22:38 -04:00
Alfresco Build
1b06742eb6
[ci:force][auto-commit] Update dependencies JS:6.3.0-1108 (#8815)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-08-13 14:31:35 +01:00
Alfresco Build
f1d9e0a92f
[ci:force][auto-commit] Update dependencies JS:6.3.0-1104 (#8800)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-08-12 09:33:16 -04:00
Pablo Martinez Garcia
04803c1815
[AAE-15839] Fix file object input in viewers (#8804)
* [AAE-15839] Fix file object input in viewers

* [AAE-15839] Attend review comments

* [AAE-15839] Remove duplication

* [AAE-15839] Fix package-lock.json

* [AAE-15839] Fix package.json

* [AAE-15839] Remove duplication

* [AAE-15839] Remove duplication
2023-08-09 13:30:50 +02:00
Tomasz Gnyp
1f96c3452c
[AAE-15815] Create Data Table widget (#8801)
* [AAE-15815] Create Data Table widget

* [AAE-15815] Add check for corectness of column schema

* fix mock name typo

* improve method name

* fix testing module config
2023-08-09 01:31:39 +02:00
Alfresco Build
17535c9f53
[ci:force][auto-commit] Update dependencies JS:6.3.0-1070 (#8780)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-08-03 17:25:20 +01:00
Alfresco Build
049fb16c6b [ci:force][auto-commit] Update dependencies JS:6.3.0-1054 (#8774)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-07-24 09:28:11 +02:00
Alfresco Build
2c937060d2
[ci:force][auto-commit] Update dependencies JS:6.3.0-1052 (#8748)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-07-21 10:48:55 +02:00
Denys Vuika
1a4d7ba008
[ACS-5629] enhanced way of providing translations (#8763)
* enhanced way providing translations

* update documentation

* update documentation

* test fixes

* try add missing module import

* inject i18n to core module to cause the setup
2023-07-18 20:06:09 +01:00
Denys Vuika
f45d69eb49
[ACS-5620] stabilise unit tests by switching to standard Angular api (#8759)
* switch to standard TestBed api for unit testing

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes

* test fixes
2023-07-15 15:02:33 +01:00
Tomasz Gnyp
484211d322
[AAE-15519] Fix - Assign To filter UI is broken (#8751) 2023-07-12 15:13:33 +02:00
Alfresco Build
7951eba089
GH Auto: Upstream dependencies JS-API:6.3.0-1031 (#8741)
* [ci:force][auto-commit] Update dependencies JS:6.3.0-1031

* Trigger CI

---------

Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>
2023-07-10 18:08:07 +02:00
Alfresco Build
11155e3882
[ci:force][auto-commit] Update dependencies JS:6.3.0-1025 (#8740)
Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
2023-07-05 22:37:43 +02:00
Tomasz Gnyp
0ffbf9fbe2
[AAE-15522] Fix - Dropdown variable error messages are displayed at modeling part 2 (#8734)
* Revert preview flag changes

* add get preview state method to form cloud service
2023-07-04 14:39:02 +02:00
Tomasz Gnyp
a933070fc3
[AAE-15522] Fix - Dropdown variable error messages are displayed at modeling level (#8730) 2023-07-04 09:37:08 +02:00
Tomasz Gnyp
e3ea23da37
[AAE-15082][AAE-15081] Resolve the options coming from a json variabl… (#8673)
* [AAE-15082][AAE-15081] Resolve the options coming from a json variable for a dropdown

* split method to smaller parts and remove duplications in units

* fix unit tests

* get variables from API call

* [AAE-15082] Add handle form variable

* replace variableId by variableName

* improve code
2023-06-29 17:21:14 +02:00
Amedeo Lepore
7abebf0652
[AAE-12501] Align JS API (#8344)
* [AAE-12501] Provide an AlfrescoApiService implementation that disable the AlfrescoApi oauth initialization when we use new oidc implementation

* [AAE-12501] Replace oauth2Auth with authentication service, define get username as abstract

* [AAE-12501] Replace sitesService with authentication service since sitesService get the username from oauth2Auth

* [AAE-12501] Call implicitLogin by authentication service

* [AAE-12501] Replace Oauth2Auth with AlfrescoApi and call the custom api without using authentication

* [AAE-12501] Replace oauth2Auth with authentication service to get the token

* [AAE-12501] Replace oauth2Auth with alfrescoApi

* remove unneeded JS-API dep
move auth in the right place

* [AAE-10501] Rename alfresco-api.http-client to adf-http-client

* [AAE-10501] Remove config from a CoreModule, a different service is provided in AuthModule to use angular http client instead of super agent

* [AAE-10501] Disable AlfrescoApi oauth initialization while using new adf oidc authentication

* [AAE-12501] Replace alfresco api client with AdfHttpClient

* [AAE-12501] Restore get username methods

* [AAE-12501] Get username with authentication service

* [AAE-12501] removee unused method

* [AAE-12501] Trigger on login when token is received

* [AAE-12501] Fix content-services unit test

* [AAE-12501] Fix import

* [AAE-12501] Fix core unit tests

* [AAE-12501] Fix process-services-cloud unit tests

* [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request

* [AAE-12501] Fix process-services-cloud unit tests without Expectation

* [AAE-12501] Fix Core secondary entrypoints unit tests are not executed: move test.ts one level up in order to find all the spec files into the secondary entrypoints folders and update path

* [AAE-12501] Fix Core unit tests that weren't executed because of the previous test.ts wrong location

* [AAE-12501] Fix authentication token_issued subscription

* add emitters

* [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues

* [AAE-12501] Install event-emitter dependency

* [AAE-12501] Comment temporary setCsrfToken because is not possible to import app config service from core due to circular dependencies

* [AAE-12501] Get disableCsrf from app config serviice when app configuration is loaded

* [AAE-12501] Fix license-header lint issue

* [AAE-14221] Regenerate lock file

* [AAE-14221] Fix sonarcloud issues

* [AAE-12501] Remove wrong character

* [AAE-12501] Regenerate lock file

* [AAE-12501] Fix BC: update alfresco api response error

---------

Co-authored-by: eromano <eugenioromano16@gmail.com>
2023-06-27 17:22:30 +02:00
Diogo Bastos
3f4fe2a898
[AAE-15252] Update ADF interfaces to reflect update from BE (#8672)
* [AAE-15252] Update ADF ApplicationInstanceModel and Descriptor interfaces and AppsProcessCloudService service

* [AAE-15252] Update app.config.json file
2023-06-27 10:45:52 +01:00
Denys Vuika
1940d3e81b
Release-6.2.0 (#8705)
* bump versions to 6.2.0

* release reports

* changelog

* update lock file
2023-06-26 12:24:30 -04:00
Denys Vuika
66f060a018
use latest JS-API library (#8684) 2023-06-20 13:02:57 -04:00
Gloria Camino
58ef531c6b
LOC-447 - Updated UI files in 16 languages for ADF 6.2 release based on EN file of 2023-06-20 (#8685) 2023-06-20 12:06:40 -04:00
Ehsan Rezaei
caaf04b5ea
[AAE-15228] process filter component styles configurable (#8657)
* Rebasing

* AAE-15228: Removed unused style
2023-06-14 10:07:50 +02:00
Ehsan Rezaei
fa063465d3
[AAE-15223] Removing Material native classes modifications (#8656) 2023-06-13 18:12:01 +02:00
Ehsan Rezaei
1870214bac
[AAE-15198] - Using reference vars to style form fields in base task (#8651)
* [AAE-15198] - Using reference vars to style form fields in base task filter component

* AAE-15198: Fixed lint errors
2023-06-12 17:54:02 +02:00
Gloria Camino
a762c19a5c
LOC-440 - UI updated as per https://alfresco.atlassian.net/browse/AAE-14405 All strings updated as per source of 2023-06-09 (#8641) 2023-06-12 09:54:41 -04:00
Ehsan Rezaei
c66fb5f6ec
[AAE-15149] Added reference variables to edit task filter component (#8636)
* AAE-15149: Added reference variables to edit task filter component

* AAE-15149: Added component variables

* AAE-15149: updated variable names

* AAE-15149: updated class names targeting directly the elements

* AAE-15149: updated class names targeting directly the elements

* AAE-15149: Fixed lint errors
2023-06-12 15:31:38 +02:00
tomasz hanaj
f549a19fb9
[AAE-14469] added constraint for typed value (#8611)
* [AAE-14469] added constraint for typed value

* [AAE-14469] removed obsolete input property
2023-06-06 09:41:13 +01:00
Denys Vuika
f5abce8baa
Optimise imports using inject function (#8557)
* optimise AuthGuard

* optimise UploadBase

* optimise BaseAuthenticationService

* optimise FormComponent

* optimise BaseCloudService

* optimise card view
2023-06-05 17:31:44 +01:00
Tomasz Gnyp
9845b1e2a0
[AAE-14851] Convert manual tests to unit for C587091, C587092 (#8608)
* [AAE-14851] Convert manual tests to unit for C587091, C587092

* remove useless unit test

* implement suggestions
2023-06-05 12:23:30 +02:00
Bartosz Sekula
3afe323840
[AAE-14430] Release 6.1.0 (#8614) 2023-06-01 17:18:27 +02:00
Robert Duda
46efc4f7ea
[AAE-14850] Fix outcome buttons position (#8610)
* [AAE-14850] Fix outcome buttons position

* delete NX file
2023-05-31 10:16:34 +02:00
Ketevani Kvirikashvili
507c6498a1
[AAE-14376] Spinner is not aligned after opening task details (#8591) 2023-05-25 12:43:27 +02:00
Ehsan Rezaei
3660f7347e
[AAE-14168] Fixed outcome buttons position in start process (#8586)
* AAE-14168: Fixed outcome buttons position in startprocess

* AAE-14168: Removed unused css
2023-05-23 14:55:00 +02:00
Robert Duda
5abb6fbee9
[AAE-14061] Fix spinner disappearing too early in task lists (#8577) 2023-05-23 11:31:55 +02:00
MichalKinas
65dfd446fd
[ADF-5542] Update JS-API and ADF libs versions to use caret (#8570)
* [ADF-5542] Update JS-API and ADF libs versions to use caret

* [ADF-5542] Corrected versions
2023-05-18 12:01:11 -04:00
Vito Albano
b10a4370c1
[AAE-14032] - fixed style for attach button (#8566) 2023-05-18 09:46:54 +02:00
AleksanderSklorz
3b1842f038
[ADF-5505] deprecate angular flex layout library (#8562)
* ADF-5505 Removed some angular flex usages

* ADF-5505 Deprecated usage of angular flex layout in demo shell

* ADF-5505 Deprecated usage of angular flex layout in core files

* ADF-5505 Removed usage of angular flex layout from files from process services

* ADF-5505 Removed usage of angular flex layout from files from process services cloud

* ADF-5505 Removed usage of fxflex and fxlayout from left files

* ADF-5505 Removed usage of fxhide from left files

* ADF-5505 Fixed issue with incorrect colors

* ADF-5505 Fixed some lint issues

* ADF-5505 Removed imports of FlexLayoutModule

* ADF-5505 Uninstalled angular flex layout dependency

* ADF-5505 Removed usage of ngClass with gt-md

* ADF-5505 Removed duplicated selector

* ADF-5505 Removed empty line

* ADF-5505 Changed encapsulation
2023-05-17 08:44:59 -04:00
Robert Duda
7e2a7f5b2c
[AAE-14332] Fix export in FormCloudModule (#8565) 2023-05-17 12:13:40 +02:00
Denys Vuika
d5e1ca45f7
fix JS-API peer dependencies for libs (#8551)
* fix JS-API peer dependencies for libs

* Trigger Build
2023-05-12 13:34:55 +01:00
tomasz hanaj
2b8f81dfe4
[AAE-11270] replaced error message with shorter version (#8487)
* [AAE-11270] replaced error message with shorter version

* [AAE-11270] updated failing e2e test
2023-05-08 15:39:56 +02:00
tomasz hanaj
50f9a2776d
[AAE-13971] changed color to accent contrast (#8501) 2023-05-08 11:12:50 +02:00
Ehsan Rezaei
23149cae58
[AAE-13800] - Avoid reloading task/process list when column visibility changes (#8499)
* Fixing rebase conflicts

* AAE-13310: Fixing lint issues

* AAE-13800: Avoid reloading tasks list component when column visibility changes, improved unit tests

* AAE-13800: Avoid reloading process list when column visibility changes, improving unit tests

* AAE-13800: Removing extra code from unit tests

* AAE-13800: updated obserable and unit tests in service tasks component

* AAE-13800: Updated service tasks reload method

* AAE-13800: Improved unit test

* AAE-13800: Removed unnecessary unit test

* AAE-13800: Removed extra subscription from a unit test

* AAE-13800: Replacing component reload with ngOnChanges as suggested in PR review

* AAE-13800: Adding done to the unit tests with a subscription

* AAE-13800: Removing extra spy

* AAE-13800: using ngHooks instead of calling directly component methods

* AAE-13800: code clean-up

* AAE-13800: making onDestroy subject private to each component

* AAE-13800: Code improvements

* AAE-13800: Code refactoring

* AAE-13800: Added more unit tests

* AAE-13800: Fixing lint issues
2023-05-05 10:45:29 +02:00
Vito Albano
895d4189f2
[AAE-14166] - fixing dependencies for editorjs (#8526) 2023-05-04 10:18:21 +01:00
Ehsan Rezaei
2d55bbf58a
AAE-12240: Form save button enable/disable management (#8502)
* AAE-12240: Form save button enable/disable management

* AAE-12240: Code improvement
2023-05-03 13:03:08 +02:00
Denys Vuika
81fea0fe40
[ACS-5065] Release 6.0.0 (#8520)
* bump versions to 6.0.0

* move editorjs to proper place

* release reports

* release notes
2023-04-28 06:09:48 -04:00