Commit Graph
897 Commits
Author SHA1 Message Date
SheenaMalhotra182 d94be47ec3 [ACS-5857] modified unit tests 2023-09-20 15:47:19 +05:30
SheenaMalhotra182 4b9a625e26 [ACS-5857] removed unused variables and fixed date format in e2es 2023-09-20 15:47:19 +05:30
SheenaMalhotra182 7f63cd82cf [ACS-5857] made dateFormat configurable for DateCloudWidget 2023-09-20 15:47:19 +05:30
SheenaMalhotra182 b7c6faf6b3 [ACS-5857] resolved unit tests and linting issues 2023-09-20 15:47:19 +05:30
SheenaMalhotra182 e91bfb56e2 [ACS-5857] resolved unit tests 2023-09-20 15:44:58 +05:30
SheenaMalhotra182 cc7b3f39c6 [ACS-5640] refactored unit tests post migration 2023-09-20 15:44:58 +05:30
SheenaMalhotra182 70cf1ead3c [ACS-5640] adfMomentDate Pipe migrated to date-fns equivalent 2023-09-20 15:44:58 +05:30
Denys Vuika 9ca7dbdce9 Release 6.3.0 (#8917)
* bump versions and deps

* release reports

* release notes

* update lock file
2023-09-18 14:55:34 +01:00
Denys Vuika a1dd270c5d [ACS-5991] ESLint fixes and code quality improvements (#8893)
* prefer-optional-chain: core

* prefer-optional-chain: content, fix typings

* prefer-optional-chain: process, fix typings

* prefer-optional-chain: process-cloud, fix typings, fix ts configs and eslint

* [ci: force] sonar errors fixes, insights lib

* [ci:force] fix security issues

* [ci:force] fix metadata e2e bug, js assignment bugs

* [ci:force] fix lint issue

* [ci:force] fix tests
2023-09-18 09:42:16 +01:00
Alfresco Buildandmauriziovitale 6df6fd16fc [ci:force][auto-commit] Update dependencies JS:6.3.0-1289 (#8907)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-13 03:33:10 -04:00
Diogo Bastos 13b6bf37ff [AAE-16202] Fix long label overlap on radio button (#8906)
* [AAE-16202] Fix long label overlap on radio button

* [AAE-16202] Add margin top

* Align styles with expected behaviour

* [AAE-16202] fix lint error
2023-09-12 16:05:05 +02:00
Alfresco Buildandmauriziovitale 3aa55996bf [ci:force][auto-commit] Update dependencies JS:6.3.0-1288 (#8904)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-12 04:43:40 -04:00
Alfresco Buildandmauriziovitale d2ef772e0a [ci:force][auto-commit] Update dependencies JS:6.3.0-1280 (#8819)
Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
2023-09-11 14:35:30 +01:00
Tomasz Gnyp ce881b7dcf [AAE-16303] Handle nested property data source in data table (#8895) 2023-09-08 17:19:53 +02:00
Robert Duda a8db044092 [AAE-14704] Fix viewers showing removed file (#8890) 2023-09-08 10:11:47 +02:00
MichalKinas 76e2870c66 Adjust ADF to latest JS-API version (#8882)
* Bump js-api version

* Fix imports

* Fix content-services unit tests

* Fix process-services unit tests

* [ci:force] Trigger CI

* Fix code smells

* Fix orderBy param

* Fix code smells

* Fix failing unit tests

* Bump js-api version and align with new changes

* Remove dangling coma

* Fix delete return type

* Add correct date format in task filters e2es

* Fix typing in task filter sorting

* Fix activiti content api import

* Add null check for has avatar

* Make User class instead of type

* Fix user type in comment model

* Fix sonar cloud issue

* Type fixes

* Update js-api version
2023-09-07 07:29:42 -04:00
Diogo Bastos 8a9f828894 [AAE-16202] Fix long label overlap on radio button (#8886)
* [AAE-16202] Fix long label overlap on radio button

* [AAE-16202] Add margin top
2023-09-06 11:16:28 +01:00
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 Buildandmauriziovitale 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 Buildandmauriziovitale 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 Buildandmauriziovitale 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 Buildandmauriziovitale 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 Buildandmauriziovitale 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
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 BuildandMichalKinas 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 Leporeanderomano 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