510 Commits

Author SHA1 Message Date
Michaela Kröber
afc5830c31
AAE-10239 showRowContextMenu-datatable-action-called-multiple-times (#10386)
* [AAE-10239] use an action when the datatable component is loaded

* [AAE-10239] add test for disabled context menu

* [AAE-10239] fixed context menu for tree component

* [AAE-10239] added new test for disabled context menu

* [AAE-10239] fixed context menu for recent changes for tree component

* [AAE-10239] backward compatible approach

* [AAE-10239] no need to format the file

* [AAE-10239] reverted rename of method

* [AAE-10239] renamed file so you can find it better
2024-11-21 15:32:25 +01:00
Fabian Kindgen
7f07024fe3
[AAE-27113] Align edit assignee button correctly in process admin user task property editor (#10371)
* [AAE-27113] Align edit assignee button correctly in process admin user task property editor

* [AAE-27113] Adjusted text-overflow behavior to avoid overlap
2024-11-21 14:06:10 +01:00
Wiktor Danielewski
beaf86d987
AAE-28106 Make the header ( label + style ) optional with a checkbox [Preview/Runtime display] (#10408)
* AAE-28106 Update ContainerModel

* AAE-28106 Update HeaderWidgetComponent

* AAE-28106 Reorganize span element

* AAE-28106 Update tests
2024-11-20 16:50:52 +01:00
dominikiwanekhyland
3078387325
[ACS-8959] Introduce new takeUntilDestroyed operator where possible (#10388) 2024-11-19 11:54:00 +01:00
AleksanderSklorz
cbb5f14473
[ACS-8994] the upload new version button is not disabled when clicked and the uploading starts (#10391)
* [ACS-8994] Disable upload button when new version is uploading

* [ACS-8994] Disable upload button when new version is uploading
2024-11-18 14:19:55 +01:00
dominikiwanekhyland
412295306c
[ACS-8955] [ACA] Data Table / Column Pills Drag button is not centered horizontally (#10384) 2024-11-14 09:08:10 +01:00
Bartosz Sekula
3111008044
AAE-28286 Show process variables columns in datatable fix (#10383)
* AAE-28286 Show process variables columns in datatable fix

* fix lint
2024-11-12 14:03:20 +01:00
swapnil-verma-gl
35c8093706
[MNT-24614] Fixed APS basic auth login issue with ADF (#10364)
* [MNT-24614] Fixed APS basic auth login issue with ADF

* [MNT-24614] Addressed code review findings - Using includes api, and removed unneeded functions. Added missing return type to functions

* [MNT-24614] Added unit tests

* [MNT-24614] Added unit tests

* [MNT-24614] Fixed casing of unit test titles
2024-11-08 14:06:40 +05:30
Diogo Bastos
db22c6aac9
AAE-27309 Add selectable property to datatable row (#10368)
* AAE-27309 Add selectable property to datatable row

* AAE-27309 Update documentation
2024-11-06 13:39:18 +00:00
Mykyta Maliarchuk
258f01803c
[MNT-24496] ADW Integration with APS Improvements - Re-assign Tasks (#10350)
* [MNT-24496] ADW Integration with APS Improvements - Re-assign Tasks

* [MNT-24496] code improvements

* [MNT-24496] remove duplications

* [MNT-24496] add unit test

* [MNT-24496] cr fixes

* [MNT-24496] empty commit [ci:force]

* [MNT-24496] fix unit test

* [MNT-24496] empty commit [ci:force]

* [MNT-24496] cr fix

* [MNT-24496] remove redundant import
2024-11-06 10:48:40 +01:00
MichalKinas
f07636e297
[ACS-8956] Introduce new ESLint rule for self-closing tags (#10354) 2024-11-04 09:58:24 +00:00
Alfresco Build
15d76a4554
New Crowdin translations by GitHub Action (#10318)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-31 12:58:22 -04:00
MichalKinas
f4cd4dc40a
[ACS-8634] Additional fixes (#10351)
* [ACS-8634] Limit drag area for dragging datatable rows

* ACS-8634 Fixed styles for context menu

* [ACS-8634] Keep row and cell appearance while dragging

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2024-10-31 14:15:57 +01:00
dominikiwanekhyland
a7911338c3
[ACS-8634] "Manage Searches" - a full page list of saved searches (#10307)
* [ACS-8634] "Manage Searches" - a full page list of saved searches

* Changes after CR

* [ACS-8634] Removed extra selector, drag&drop on hover

* [ACS-8634] Fix discovered bugs

* [ACS-8634] Unit test fixes

* [ACS-8634] Cleanup failing test case

* [ACS-8634] Unit test fixes

* [ACS-8634] Remove unused import

* [ACS-8634] Final cleanup

* [ACS-8634] Remove unused imports

---------

Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2024-10-25 16:14:11 +02:00
Tiago Salvado
ba52074bb5
[MNT-24682] Kerberos: do not add authorization header (#10320)
* [MNT-24682] Prevent Authorization header from being added with basic auth when Kerberos is enabled

* [MNT-24682] Add unit test
2024-10-25 14:14:52 +01:00
Vito Albano
41391a0bb9
Ng16 migration (#10114)
* NG-16 - migration step 1

* NG16 - fixed the builds

* [MIGRATION] - Switching off no empty functions rule

* [MIGRATION] - Somehow the fix for the cli types got lost

* [MIGRATION] - Something happened on the way to heaven

* [MIGRATION] - Ok this is weird

* [MIGRATION] - Ok this is really weird

* [MIGRATION] - change selector for expanded expansion panel content

* [MIGRATION] - storybook chips related e2e fails fix, unit alignments

* [MIGRATION] - Ok this is really weird

* [MIGRATION] - Updating outdated packages

* [MIGRATION] - updated deps for process cloud

* [MIGRATION] - Rebased to latest

* [MIGRATION] - Fixed lint

* [MIGRATION] - Fixed package version

* Rebased with lastest changes

* [MIGRATION] - check to update the script

* [MIGRATION] - rebased after the move of AlfrescoApiService

* [MIGRATION] - fixed schematics build

* [MIGRATION] - the lesson is : do not change what is already working

* Rebased to latestp

* Fixes after CR (#10202)

* Fixed white background issue in sidenav after ng16 upgrade (#10207)

* [MIGRATION] fix header background color not being read from input prop

* Fixed build

* Rebased

* Fix package version after release

* Thanks apollo deps

* custom theme missing sidenav color

* fix filter subscript overlapping dropdown items

* [ACS-8749] View More tags button no longer shows when all tags are removed from a node (#10285)

* [ACS-8741] Sidenav text for Process and Task filters is now grey (#10284)

* AAE-26037 Moved permissions role selector styles to a dedicated file (#10297)

* Removed fallback and starting using simple token

* Removed fallback and starting using simple token

* Fixed related unit test

* Fixed related unit test

* Writing should use the same calss as reading

* Fixed unit tests for insights

* Fixed unit tests for insights

* Added fallback for JWT token

* Added fallback for JWT token

* Auto import fix

* Added fallback for injection

* Added fallback for injection

* Trying to fix JWT token issue

* Fixed unit tests

* Fixed unit tests

* Fixed style for collaborators

* fixed permission row height

* AAE-26163 Fix infinite loop when authentication error event occured (#10272)

* AAE-26163 Logout user after 3 login attempts failed, avoiding infinite loop when an authentication error occured, like when a user machine clock is significantly out of sync

* AAE-26163 Wait to discovery document to be loaded and user not authenticated to perform a ssoLogin, logout user if login fails after 3 attempts

* AAE-26163 Fix missed id_token_hint invoking logout when a login error occured due to a clock significantly out of sync

* AAE-26163 Add fake observable to unit test

* AAE-26163 Show oauth event logs if showDebugInformation is enabled, remove auth items if access token is not valid

* AAE-26163 Improve tryLogin error message

* AAE-26163 Check if token has expired to fix case when user access the application after the token is expired and with a clock significantly out of sync

* AAE-26163 Test logout when clock is out of sync

* AAE-26163 Create a service to check if local machine time is out of sync

* AAE-26163 Update oauthErrorEvent$ and combinedOAuthErrorsStream$ to return errors

* AAE-26163 Output error within combined oauth error event subscription

* AAE-26163 Fix lint problems

* AAE-26163 Logout user when token refresh error happens for the second time, if the token is not refreshed properly after first refresh error

* AAE-26163 Logout user once an oauth error event occur due to clock out of sync

* AAE-26163 Fix retry login error message if the OAuthErrorEvent doesn t return reason

* AAE-26163 Fix the issue where the logout API call is canceled by the authorize call when login fails due to clock synchronization problems, causing an infinite loop.

* remove console.log

* AAE-26163 Fix retry login error message if the OAuthErrorEvent reason is an empty object

* Updating dependencies

* Fixed subject complete to avoid calling a reset event when complete

---------

Co-authored-by: Wojciech Duda <69160975+wojd0@users.noreply.github.com>
Co-authored-by: dominikiwanekhyland <141320833+dominikiwanekhyland@users.noreply.github.com>
Co-authored-by: swapnil-verma-gl <92505353+swapnil-verma-gl@users.noreply.github.com>
Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2024-10-23 15:23:38 +01:00
Amedeo Lepore
bbea2d80e5
AAE-26163 Fix infinite loop when authentication error event occured (#10272)
* AAE-26163 Logout user after 3 login attempts failed, avoiding infinite loop when an authentication error occured, like when a user machine clock is significantly out of sync

* AAE-26163 Wait to discovery document to be loaded and user not authenticated to perform a ssoLogin, logout user if login fails after 3 attempts

* AAE-26163 Fix missed id_token_hint invoking logout when a login error occured due to a clock significantly out of sync

* AAE-26163 Add fake observable to unit test

* AAE-26163 Show oauth event logs if showDebugInformation is enabled, remove auth items if access token is not valid

* AAE-26163 Improve tryLogin error message

* AAE-26163 Check if token has expired to fix case when user access the application after the token is expired and with a clock significantly out of sync

* AAE-26163 Test logout when clock is out of sync

* AAE-26163 Create a service to check if local machine time is out of sync

* AAE-26163 Update oauthErrorEvent$ and combinedOAuthErrorsStream$ to return errors

* AAE-26163 Output error within combined oauth error event subscription

* AAE-26163 Fix lint problems

* AAE-26163 Logout user when token refresh error happens for the second time, if the token is not refreshed properly after first refresh error

* AAE-26163 Logout user once an oauth error event occur due to clock out of sync

* AAE-26163 Fix retry login error message if the OAuthErrorEvent doesn t return reason

* AAE-26163 Fix the issue where the logout API call is canceled by the authorize call when login fails due to clock synchronization problems, causing an infinite loop.

* remove console.log

* AAE-26163 Fix retry login error message if the OAuthErrorEvent reason is an empty object
2024-10-21 11:33:09 +02:00
Anna Karwatka
c08e8d6b31
AAE-26469 Add external-property-process to simpleapp (#10296)
* AAE-26469 Add external-property-process to simpleapp

* Remove redundant empty line in string-utils spec
2024-10-11 12:51:16 +02:00
Wojciech Duda
9e96fed71e
AAE-26321 Custom JWT storage service optional injection token (#10292)
* AAE-26321 Custom JWT storage service optional injection token

* AAE-26321 custom storage service test

* AAE-26321 Use only the injection token with factory

* AAE-26321 improve custom storage test
2024-10-09 17:06:30 +02:00
Wojciech Duda
9a9a9db628
Revert "AAE-26321 Add an injection token to JwtHelperService for OAuthStorage…" (#10291)
This reverts commit a93f0bd0699cf99302e453f1881383729de34c46.
2024-10-09 10:59:45 +01:00
Wojciech Duda
a93f0bd069
AAE-26321 Add an injection token to JwtHelperService for OAuthStorage (#10288)
* AAE-26321 Add an injection token to JwtHelperService for OAuthStorage

* AAE-26321 remove unneeded method spies

* AAE-26321 Add missing providers to depending tests
2024-10-08 22:20:41 +01:00
Tomasz Gnyp
d5a530ba23
AAE-25339 Fix ADF Datetime adapter display format date (#10274) 2024-10-07 20:19:44 +02:00
Diogo Bastos
9e70aad67d
AAE-22724 Fix json widget display (#10248) 2024-10-07 17:08:15 +01:00
Diogo Bastos
e0e89cfa3b
AAE-26181 Fix layout container overflowing screen (#10269) 2024-10-07 15:33:24 +01:00
Bartosz Sekula
dfbf08e3a8
AAE-24992 Form rules for fields (#10245)
* AAE-24992 Add an ability to call a process on a form event

* extract filter events

* tmp

* add unit
2024-09-30 20:13:32 +02:00
Denys Vuika
0139273914
remove filter string pipe, performance improvements (#10231) 2024-09-30 10:44:15 -04:00
dominikiwanekhyland
da44b4cee0
ACS-8824 [ACA] View Details / The user cannot edit node properties af… (#10246)
* ACS-8824 [ACA] View Details / The user cannot edit node properties after failing to change node name with special characters

* ACS-8824 [ACA] View Details / The user cannot edit node properties after failing to change node name with special characters
2024-09-27 10:39:00 +02:00
Mykyta Maliarchuk
602460c574
[ACS-8823] Viewer - do not show non responsive dialog if blobFile was provided (#10247) 2024-09-27 10:28:46 +02:00
jacekpluta
e9bfcbd3fb
[ACS-8834] KR page on Auth token expire page get cancel popup with continue refresh (#10250) 2024-09-27 09:58:22 +02:00
Wojciech Duda
e2ee7ad9a4
AAE-25888 Remove negative margin from search text icon (#10243)
* AAE-25888 Remove negative margin and introduce active button state class

* AAE-25888 remove active class
2024-09-24 15:59:43 +02:00
Wojciech Duda
4998bddfde
AAE-25888 Offset SearchTextInput expansion based on search icon width (#10213)
* AAE-25888 use negative margin and transform by full width

* AAE-25888 update tests

* AAE-25888 add adf-search-button-inactive to manage search icon offset

* AAE-25888 remove scss variable

* AAE-25888 adjust peer unit tests
2024-09-19 17:31:08 +02:00
jacekpluta
797b800bd6
[ACS-8201] Knowledge Retrieval - getting AI response for one or more selected files (#10229)
* [ACS-8202] basic flow getting ai response for one or more selected files (#9944)

* ACS-8202 Getting list of agents

* ACS-8202 Mocked agents, used base api from hxi connector

* ACS-8202 Search Ai service

* ACS-8202 Small correction and mocked data

* ACS-8202 Renamed variable

* ACS-8202 Added documentation

* ACS-8202 Addressed PR comments

* ACS-8202 Type change

* ACS-8202 Reverted unwatend change

* ACS-8202 Reverted unwanted change

* ACS-8201 Small correction after rebasing with Angular 15

* [ACS-8398] Unit tests for agents and search ai  (#9974)

* ACS-8398 Unit tests for search ai api and agents api

* ACS-8398 Unit tests for getAnswer function from SearchAiApi, corrections for unit tests for SearchAiApi and AgentsApi

* ACS-8398 Unit tests for SearchAiService and AgentService

* [ACS-8210] Agent basic details popup (#9956)

* [ACS-8573] Allow user to ask question without file selection

* [ACS-8312] Display warning about losing response (#10059)

* [ACS-8312] Display warning about losing response

* [ACS-8312] Display warning about losing response - fixes

* [ACS-8432] Sending all file types to HX instead of only the text file types (#10087)

* ACS-8201 Fixed issues after rebase

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page (#10132)

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page - review fixes

* [ACS-8588] Navigation is triggered twice when leaving Knowledge Retrieval page - review fixes 2

* [ACS-8399] Integrate all changes with backend (#10163)

* Answers endpoint fix (#10176)

* [ACS-8664] generic question redirection to hx insight (#10174)

* ACS-8664 Loading HX insight url

* ACS-8664 Added documentation for loading config of Knowledge Retrieval

* ACS-8664 Unit tests

* ACS-8664 Fixed unit tests

* ACS-8664 Fixed unit tests after rebase

* ACS-8664 Addressed comment

* ACS-8201 Fixed issues after rebase

* [ACS-8695] Getting Agent avatar (#10189)

* [ACS-8695] Getting Agent avatar

* [ACS-8695] Getting Agent avatar - on image load error

* [ACS-8695] Getting Agent avatar - removed getAgentAvatar call (#10209)

* [ACS-8201] Review fixes

---------

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2024-09-19 12:42:50 +02:00
Denys Vuika
4d4a1dd6b1
ACS-8761 Noop Auth Module for unit testing ergonomics (#10195) 2024-09-18 08:05:26 -04:00
Denys Vuika
075c6891fe fix imports 2024-09-18 08:04:12 -04:00
Kasia Biernat-Kluba
59818226aa
AAE-26023 Unify look of style properties names (#10227) 2024-09-17 14:50:53 +02:00
Darya Balvanovich
6cb3b589f8 ACS-8602 remove mat-selectors 2024-09-14 21:02:21 +02:00
Darya Balvanovich
dd14a9349d ACS-8602 fix header alignment and replace old selectors with new 2024-09-14 21:02:21 +02:00
Darya Balvanovich
9c68f68c0a ACS-8602 fix header alignment 2024-09-14 21:02:21 +02:00
Darya Balvanovich
36a6b0e568 WIP on ACS-8602-The-tabs-names-in-window-are-not-match-in-the-design
ACS-24317 fix src double call
2024-09-14 21:01:18 +02:00
Denys Vuika
4609a53a99
remove unused setupTestBed api (#10210) 2024-09-13 14:54:31 +02:00
swapnil-verma-gl
3458546c92
[ACS-8556] Resolved issue where UI for type to narrow field in the add aspect dropdown was broken (#10066)
* [ACS-8556] Resolved issue where UI for type to narrow field in the add aspect dropdown was broken

* [ACS-8556] Empty commit

* [ACS-8556] Empty commit

* [ACS-8556] Empty commit
2024-09-12 12:05:17 +05:30
Kasia Biernat-Kluba
ed24f4932c
AAE-25387 Styles preview (#10199) 2024-09-11 16:20:30 +02:00
Denys Vuika
b1abe2c8a6
ACS-8227: remove internal mime type icon pipe (#10142) 2024-09-10 10:07:18 -04:00
Amedeo Lepore
b20107fdc5
AAE-24139 Fix unauthorized user error when access token is not valid (#10012)
* AAE-24139 Bump angular-oauth2-oidc version to 15

* AAE-24139 Allow to set sessionCheckEnabled and clockSkewInSec properties

* AAE-24139 Update angular-oauth2-oidc version to 15 in the core deps

* AAE-24139 Remove authentication tokens when the token is no longer valid and reload the page to let oauth library refresh the token

* fix lint issue
2024-09-10 15:09:32 +02:00
Kasia Biernat-Kluba
4202fa7e90
AAE-24927 update widgets schema & predefined theme (#10185)
* AAE-24927 update widgets schema

* AAE-24927 predefined theme

* update theme model and tests

* exclude flaky test
2024-09-09 14:45:43 +02:00
Eugenio Romano
e617333f00
[AAE-20109] Move alfresco js-API and alfrescoapi service out from the core (#9317)
* AAE-20109 Remove alfrescoapiservice from core

* fix after rebase

* [AAe-12502] Post-rebase fix

* [AAE-12502] Add unit test fix

---------

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2024-09-06 18:43:33 +02:00
Kasia Biernat-Kluba
166325d703
AAE-24927 add ability to style form widget - header (#10173)
* AAE-25211 form styling PoC

* AAE-25211 poc

* AAE-25211 revert cloud form service

* AAE-24927 display text schema

* AAE-24927 radio button styles

* AAE-24927 header styles

* AAE-24927 style pipes

* AAE-24927 styles for header

* AAE-24927 remove redundand prop
2024-09-05 11:59:57 +02:00
Kasia Biernat-Kluba
5d5c1ac527
AAE-24927 Add ability to style form widgets (#10171)
* AAE-25211 form styling PoC

* AAE-25211 poc

* AAE-25211 revert cloud form service

* AAE-24927 display text schema

* AAE-24927 radio button styles

* AAE-24927 header styles

* AAE-24927 style pipes

* AAE-24927 remove redundand field

* remove redundand comment

* fix build error

* remove space from protractor test
2024-09-05 10:58:36 +02:00
Denys Vuika
a86b23f8a1
ACS-8221: remove internal localized role pipe (#10143)
* remove internal localized role pipe

* remove internal localized role pipe [ci:force]

* performance improvements
2024-09-04 11:59:34 -04:00
Ehsan Rezaei
beae4054f2
Revert "Revert "AAE-23521 Fix improve dropdown reactive form"" (#10073)
* Revert "Revert "AAE-23521 Fix improve dropdown reactive form" (#10068)"

This reverts commit 554218d11e1e5f888190cf781dc960e7ff3cabf7.

* AAE-23521 fix trigger error check

* AAE-23521 improve standalone import

---------

Co-authored-by: Kasia Biernat <kasia.biernat@hyland.com>
2024-09-02 14:27:10 +02:00