430 Commits

Author SHA1 Message Date
Vito Albano
ac3d959364
[AAE-15480] - fixed variables name and added mat card variable (#8713)
* [AAE-15480] - fixed variables name and added mat card variable

* [AAE-15480] - updated variable names
2023-06-28 15:49:01 +01: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
Popovics András
037dce0ae7
[HXCS-1479] Core breadcrumbs component (#8695)
* Moving breadcrumb component from Hyland UI to ADF and renaming selectors and entities with proper prefix

* Cleaning up a bit the breadcumbs

* Stabilising breadcrumbs and adding storibook

* Fix change requests
2023-06-27 15:09:37 +02:00
Ardit Domi
f0d2456f42
[AAE-15018] - Add support for roles as part of the access token authorization (#8642) 2023-06-27 09:57:40 +01:00
AleksanderSklorz
9dd9347d17
[ACS-5397] Corrected checking whitespace characters in regexp (#8704) 2023-06-27 08:33:26 +02:00
AleksanderSklorz
be896b502f
[ACS-5395] Fixed possibility to containing script by string (#8696)
* ACS-5395 Fixed possibility to containing script by string

* ACS-5395 Fixed possibility to containing script by string
2023-06-27 08:10:27 +02:00
Ehsan Rezaei
82540a4496
[AAE-15259] Making Identity User Info Component customizable (#8675)
* [AAE-15259] Making Identity User Info Component customizable

* AAE-15259: Added margin right var
2023-06-27 02:04:39 +01: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
Denys Vuika
6f5a419dd3
[ACS-5166] use published version of material icons (#8681)
* use published version of material icons

* add support for custom font set
2023-06-20 06:55:03 -04:00
Denys Vuika
10a5f89b24
[ACS-5166] update MS icons (#8683) 2023-06-20 06:54:32 -04:00
Ehsan Rezaei
f915370bc0
[AAE-15251] Making header component more customizable (#8670) 2023-06-15 18:23:55 +02:00
Ehsan Rezaei
c072fa7955
[AAE-15240] Making package list component styles configurable (#8667) 2023-06-14 19:57:52 +02:00
Ehsan Rezaei
5c9ff5b36c
[AAE-15239] Making about settings component styles configurable (#8666) 2023-06-14 16:01:12 +02: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
64f9d0414d
[AAE-15236] Making about component panel styles configurable (#8660)
* Rebasing

* AAE-15236: Fixing syntax
2023-06-14 08:15:49 +02:00
tomasz hanaj
18c3eff472
[AAE-14714] added design tokens to CardViewComponent (#8619)
* [AAE-14714] added design tokens to styles

* Rebasing

* [AAE-14714] - fixing naming for reference variables

---------

Co-authored-by: Vito Albano <vito.albano@hyland.com>
2023-06-13 19:37:01 +02:00
Ehsan Rezaei
fa063465d3
[AAE-15223] Removing Material native classes modifications (#8656) 2023-06-13 18:12:01 +02:00
Denys Vuika
dd3285511e
[ACS-5416] remove internal notification icon pipe (#8659) 2023-06-13 17:09:05 +01: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
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
Ehsan Rezaei
dca9ea4cba
[AAE-14699] Improved unit test description (#8625) 2023-06-06 09:43:13 +01:00
Eugenio Romano
2c5a6e50e2
[AAE-15126] App.config.service should log an error when the app.config.json is invalid (#8624) 2023-06-06 09:04:51 +01:00
Ehsan Rezaei
6ec394da5f
[AAE-14699] Improved card view text item component update (#8597)
* AAE-14699: Improved card view text item component update

* AAE-14699: updated unit tests
2023-06-06 07:28:26 +02: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
Denys Vuika
654acd553f
[ACS-5279] enhanced oath2 configuration handling (#8575)
* [ACS-5279] enhanced oath2 configuration handling

* fix tests

* fix schema
2023-06-02 07:02:50 -04:00
Denys Vuika
ea5c3466ef
[ACS-5305] fix name column link alignment (#8593) 2023-06-02 05:40:22 -04:00
Ehsan Rezaei
7355216034
[AAE-14759] Fixed image viewer when going to full screen mode (#8609) 2023-05-31 12:12:09 +01:00
AleksanderSklorz
32f244d934
[ADF-5517] Reverted extra bug fixes changes (#8605)
* ADF-5517 Reverted extra bug fixes changes

* ADF-5517 Reverted extra bug fixes changes
2023-05-29 12:49:25 +02:00
Bartosz Sekula
3ee2b387ae
[AAE-14030] Fix header custom color (#8595) 2023-05-26 12:22:10 +02:00
Bartosz Sekula
2429bb4266
[AAE-14030] Custom header text color is not working on apa (#8592)
* [AAE-14030] Custom header text color is not working on apa

* CR

* Fix for demo app
2023-05-25 16:56:26 +02:00
Thomas Hunter
e4965ece6b
[ADF-5517] Add unit test to test clicking anywhere on a row in a datatable (#8287)
* [ADF-5517] Add unit test to test clicking anywhere on a row in a datatable

* Fix unit tests

* ADF-5517 Fixed failed jobs

* ADF-5517 Removed some duplications

* ADF-5517 Removed some duplications

* ADF-5517 Removed some duplications

* ADF-5517 Removed some duplications

* ADF-5517 Fixed failed test

* ADF-5517 Small correction

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-05-19 14:00:09 +02:00
Nikita Maliarchuk
b5d410b75c
[ACS-5137] Fixed navigation between images (#8534)
* [ACS-5137] fixed navigation between images

* [ACS-5137] disable navigation while file is saving

* [ACS-5137] moved mocked tested components

* [ACS-5137] code improvements

* [ACS-5137] small fix

* Empty commit

* [ACS-5137] linting

* Empty commit
2023-05-17 17:47:04 +01: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
tomasz hanaj
42322f8a9f
[AAE-13566] changed select input's position (#8471)
* [AAE-13566] changed select input's position

* [AAE-13566] removed obsolete code
2023-05-09 17:57:13 +01:00
Robert Duda
00ede54e3a
[AAE-14184] App key as parameter when fetching roles (#8541) 2023-05-08 08:40:30 +02: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
swapnil-verma-gl
760798338f
[ACA-4677] Added download functionality on DownloadPromptDialog (#8467)
* [ACA-4677] Added download functionality on DownloadPromptDialog

* [ACA-4677] Added downloadFile event emitter documentation to ViewerComponent README. Updated reference of NonResponsiveDialog to DownloadPromptDialog

* [ACA-4677] Corrected typo in documentation for downloadFile event

* [ACA-4677] Updated test case to check for method call via actual event handling instead of calling the method manually
2023-04-20 04:23:45 -04:00
Ehsan Rezaei
ee3f1cdf55
AAE-13310: update and preserve column width preferences only on visible columns (#8488)
* AAE-13310: update and preserve column width preferences only on visible columns

* AAE-13310: Fixing lint issues
2023-04-20 09:43:19 +02:00
AleksanderSklorz
98c0a3c7be
[ACS-5041] update license headers to reflect hyland copyright guidelines (#8472)
* ACS-5041 Changed json to js

* ACS-5041 Corrected paths

* ACS-5041 Changed json to js

* ACS-5041 Updated eslintrc

* ACS-5041 Small correction

* ACS-5041 Small correction

* ACS-5041 Updated license headers

* ACS-5041 Updated license headers

* ACS-5041 Replaced references to alfresco

* ACS-5041 Added Hyland to known words

* ACS-5041 Fixed coverage issue

* ACS-5041 Fixed duplication issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed test

* ACS-5041 Fixed test

* ACS-5041 Reverted one change

* ACS-5041 Added missing license to files after rebase
2023-04-20 09:34:03 +02:00
Gloria Camino
419453da78
LOC-411 - PRODDEL-6965 - Updated UI files in 16 languages for ADF 6.0 release (#8490) 2023-04-19 11:58:40 +02:00
Mikołaj Serwicki
4556546bdd
[AAE-13141] fix: remove faulty interceptor with caused CORS issues (#8474) 2023-04-14 19:54:06 +02:00
swapnil-verma-gl
0eb0ff167b
[ACA-4676][ACA-4678] Added Non Responsive Preview Dialog to viewer component (#8428)
* [ACA-4676] Added NonResponsivePreview dialog to download file incase file preview takes longer than a set period of time.

* [ACA-4676] Updated button positioning for non responsive preview dialog

* [ACA-4676] Added documentation for NonResponsivePreviewDialog functionality for viewer.component.ts

* [ACA-4676] Added unit tests for NonResponsivePreviewDialog

* [ACA-4676] Updated template of NonResponsivePreviewDialog to use components and directives from mat-dialog. Removed non-responsive-dialog.component.scss. Removed unused methods from non-responsive-dialog.component.ts

* [ACA-4676] Corrected typo in NonResponsivePreviewDialog unit tests

* [ACA-4676] Added test cases for NonResponsivePreviewDialog in viewer.component.ts. NOT WORKING

* [ACA-4676] Fixed test cases for non-responsive preview dialog. Moved NonResponsivePreview dialog tests to separate describe block. Updated component code to make properties and methods visible to testing environment

* [ACA-4676] Migrated viewer component test env setup from setupTestBed() to TestBed.configureTestingModule(). Moved NonResponsivePreviewDialog unit tests to inside parent Viewer component describe block

* [ACA-4676] Removed unused async tag. Added license info to non-responsive-dialog.component.ts and non-responsive-preview-actions.enum.ts

* [ACA-4676] Updated code to use "viewer" appConfig object instead of "preview-config". Added non-responsive-preview-actions.enum.ts to public-api.ts

* [ACA-4676] Resolved potential lint issues

* [ACA-4676] Updated non responsive preview to look for viewer config object inside app.config instead of preview-config

* [ACA-4676] Removed duplicate import for @adf/core. Added NonResponsiveDialogComponent to adf/core exports

* [ACA-4676] Renamed properties/config/documentation from nonResponsivePreview to downloadPrompt. Renamed NonResponsivePreviewActionsEnum to DownloadPromptActions.

* [ACA-4676] Resolved linting and unit test failures

* [ACA-4676] Changed dataType for timers to number. Updated code to use window.setTimeout(), instead of just setTimeout(). Added missing whitespace. Updated method names in demo shell to use 'downloadPrompt' naming scheme.

* [ACA-4676] Fixed incorrect import statement in viewer.module.ts for download-prompt-dialog

* [ACA-4676] Testing disabled by default behaviour of downloadPrompt feature

* [ACA-4676] Changed default value for enableDownloadPrompt and enableDownloadPromptReminders to false in app.config.json

* [ACA-4676] Removed un-needed AppConfig configurations from unit tests
2023-04-12 19:32:34 +05:30
Kasia Biernat
3a5483d1cc
[AAE-11885] adjust task list and process list to make it stylable for hxp (#8437)
* [AAE-11885] adjust task list html and css to use material components

* [AAE-11885] adjust process list and tests

* [ci:force]

* [AAE-11885] add variable for spacing

* [ci:force]
2023-04-04 12:07:00 +02:00
Robert Duda
2bd72f71d5
[AAE-12318] Adjustments for HxP Attach-File widget (#8425) 2023-04-03 13:57:49 +02:00
Nikita Maliarchuk
fc3bd7eb42
[ACA-4654] style fix (#8430) 2023-03-31 08:45:28 +02:00
tomasz hanaj
867af029ec
[AAE-13211] fixed datetime icon width (#8420) 2023-03-28 16:00:33 +01:00
Jatin Chugh
735e581932
[ACS-4128] Undo functionality added for input in Perform Actions after selecting an action and it works after destnation folder change in Create/Edit a rule in Manage Rules (#8402)
* undo functionality added for input after selecting destination folder for Create and Edit a rule

* review comments addressed and added 3 more test cases

* used built in type KeyboardEvent instead of interface and combining 2 if conditions - shorten the code

* removed duplicate line of code

* removed duplicate code from test cases

* redundant code removed for render chips for multivalue properties test cases using resuable function

* code smell reduction
2023-03-27 17:41:29 +05:30
Ehsan Rezaei
7c988fe4d3
AAE-13073: Removed unused styles and vars (#8406) 2023-03-24 10:21:05 +01:00
Adriano Costa
1b3275d064
[HXCS-1322] fix e2e NotificaionComponent demo (#8413)
* [HXCS-1322] fix e2e NotificaionComponent demo

* [HXCS-1173] revert to  one line

* [HXCS-1173] move new test after breaking tests

---------

Co-authored-by: Adriano Costa <Adriano.Costa@hyland.comgit>
2023-03-23 21:14:23 +01:00
Aayush Rohila
66bb385a39
[ACS-4746] Returning focus to trigger element after restore option is… (#8359)
* [ACS-4746] Returning focus to trigger element after restore option is selected and manage version modal is closed

* [ACS-4746] Returning focus to trigger element after restore in manage versions PR

* [ACS-4746] Returning focus to trigger element after restore option is selected in manage version and test cases for the change.
2023-03-22 14:38:27 +05:30