708 Commits

Author SHA1 Message Date
VitoAlbano
d3f66d86ab [ci:force] - Migrate to NG19 After pdfjs migration 2025-05-22 20:34:41 +01:00
AleksanderSklorz
2cc3ba4d6b
[ACS-7706] create tags return promise tag paging instead of tag entry (#10869)
* [ACS-7706] Corrected returned type for createTags function

* [ACS-7706] Updated documentation for createTags and fixed unit tests
2025-05-21 08:08:49 +02:00
Alfresco Build
81822a119d
New Crowdin translations by GitHub Action (#10854)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-14 16:48:50 -04:00
Alfresco Build
d342643bd8
New Crowdin translations by GitHub Action (#10852)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-13 19:07:47 +02:00
Denys Vuika
997e82a6b0
AAE-34543 Remove unused mat-selectors (#10830) 2025-04-28 13:34:35 -04:00
Denys Vuika
b1113c51a7
AAE-34493 Improved internal mat-selectors (#10829) 2025-04-28 11:17:36 -04:00
AleksanderSklorz
50ad04aeb3
[ACS-9564] Corrected models after change of Knowledge Retrieval answer structure (#10817)
* [ACS-9564] Corrected models after change of Knowledge Retrieval answer structure

* [ACS-9564] Changed id

* [ACS-9564] Fixed unit tests
2025-04-25 08:56:12 +02:00
Denys Vuika
d829d8eefb
AAE-34390 Clean old theming files (#10800) 2025-04-22 18:30:30 -04:00
Wojciech Duda
fdd4f6c081
AAE-22975 update to the latest version of pdfjs-dist library (#10780)
* AAE-30877 squash-merged improvement/AAE-30877-update-package-pdfjs-dist

* AAE-30877 statically import pdf_viewer

* AAE-30877 fix failing worker load

* AAE-22975 attempt without excessive logs

* AAE-22975 remove pdf_viewer from karma includes

* AAE-22975 remove incorrect firstValueFrom

* AAE-22975 await rendered event callback

* AAE-22975 change pdf mock code

* AAE-22975 change pdf mock code

* AAE-22975 mock pdfjs-dist package in tests to improve performance

* AAE-22975 fix pagesLoaded test

* AAE-22975 fix insights tests

* AAE-22975 un-focus pdf-viewer tests, remove logs

* AAE-22975 add defer block

* AAE-22975 add pdfjsLib injection token

* AAE-22975 remove defer block

* AAE-22975 change pdfjs import path

* AAE-22975 change pdfjsviewer import path

* AAE-22975 limit usage of direct PDFViewer

* AAE-22975 cleanup
2025-04-22 10:05:44 +02:00
Mykyta Maliarchuk
82175bad80
[ACS-9435] Resolve a11y issues for 'Add use/group' dialog (#10773) 2025-04-08 10:01:39 +02:00
Alfresco Build
4249a856c9
New Crowdin translations by GitHub Action (#10730)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-03-20 14:12:44 +00:00
MichalKinas
838b3e78b7
[ACS-9398] Add snackbar notifications for favorite node directive (#10714)
* [ACS-9398] Add snackbar notifications for favorite node directive

* [ACS-9398] Fix sonarqube issues

* [ACS-9398] Add snackbar notifications for library favorite directive
2025-03-18 08:33:22 +01:00
Mykyta Maliarchuk
1422604991
[ACS-9233] a11y testing: Edit Aspects - Interactive controls must not be nested (#10680) 2025-02-27 09:35:24 +01:00
Mykyta Maliarchuk
1e83be9194
[ACS-9267] a11y testing: Datatable - columns settings menu (#10668)
* [ACS-9267] a11y testing: Datatable - columns settings menu

* delete comment

* [ACS-9267] add empty line

* [ACS-9267] adress sonarcloud issues

* [ACS-9267] fix unit tests
2025-02-25 08:26:36 +01:00
AleksanderSklorz
7bfe27dda9
[ACS-8782] list of frozen files under a hold (#10663)
* [ACS-8782] Added possibility to hide drag and drop hint from document list

* [ACS-8782] Unit tests for changes in document list component

* [ACS-8782] Added documentation for displayDragAndDropHint property

* [ACS-8782] Corrected path
2025-02-20 11:24:15 +01:00
Vito Albano
5d64c7f0ed
Ng17 migration (#10295)
* Migrate to NG17

* [ci:force] - fixed deps

* [ci:force] - fixed build for testing 1

* Fixed build for all the packages

* [ci:force] - fixing lint

* [ci:force] - Fixed lint

* 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

* Cherry picked commit from oidc and run fix lint

* [MIGRATION] - fixed build and lint

* [MIGRATION] - Added injectionContext to avoid error NG0203 for unit tests

* [MIGRATION] - Moving mocha to jest

* [MIGRATION] - Fixing failing migrated tests

* [MIGRATION] - Migrating to Jest - working but some tests fails

* Trying to fix js-api unit tests

* Removing testing lib to sync with develop

* Fixed two excluded unit tests

* Removed unused project parts

* Removed unused project parts

* Reduced tserrors on building storybook

* Fixed sonarqube errors

* Removing temporarily eslint rule from publishing

* [MIGRATION] - Fixed lint

* [MIGRATION] - Fixed type

* [MIGRATION] - Rebased

* [MIGRATION] - Readded removed action

* [MIGRATION] - Checking deps

* [MIGRATION] - updated lock

* [ACS-9052] manage versions close button is too low (#10466)

* [ci:force] - Fixed lint

* [ACS-9052] Fixed close button in version manager position

* [ACS-9052] Reverted unwanted changes

---------

Co-authored-by: VitoAlbano <vito.albano.123@gmail.com>

* [MIGRATION] - fixed storybook builds

* [MIGRATION] - Checking if now eslint is releasable

* [MIGRATION] - Changing the building executor for eslint-rules

* Readded rule for peer deps

* Fixed wrong rule

* [ACS-9075] Fixed incorrect buttons labels color (#10489)

* Update package.json

* Fix ACA pipeline

* [ACS-9084] Fixed incorrect color for notification bell icon (#10513)

* Change dialog label padding

* [AAE-26767] - Fixed lint

* [AAE-26767] - Fixed lint

* updated dependencies

* AAE-30733 Fix incorrect alignment of icons in permission list header

* [MIGRATION] - sync package-lock

* [MIGRATION] - Fixed package on core lib

* [MIGRATION] - Removed unused lock

* Fixed licence

* [MIGRATION] - sync lock file

* [MIGRATION] - fixed lint issues

* [ACS-9271][ACA] Login page input labels are cut if the input is not empty (#10637)

* AAE-31453 Override card-view-textitem readonly color

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: DominikIwanek <dominik.iwanek@hyland.com>
Co-authored-by: swapnil-verma-gl <92505353+swapnil-verma-gl@users.noreply.github.com>
Co-authored-by: Wojciech Duda <69160975+wojd0@users.noreply.github.com>
Co-authored-by: dominikiwanekhyland <141320833+dominikiwanekhyland@users.noreply.github.com>
2025-02-12 11:58:57 +00:00
dominikiwanekhyland
287519ee24
[ACS-9252] Create Button Not Enabled After Resolving Duplicate Folder Name Warning (#10635) 2025-02-12 10:59:10 +01:00
dominikiwanekhyland
2784310556
[ACS-9230] a11y testing: Search Page / Search Filters / Certain ARIA roles must contain particular children (#10627) 2025-02-10 14:51:16 +01:00
Mykyta Maliarchuk
e62c0587b6
[ACS-9215] Update license headers (#10625)
* [ACS-9215] Update license headers

* [ACS-9215] Update license headers
2025-02-06 13:18:56 +01:00
Bartosz Sekula
72a889241e
AAE-30901 Allow to use different saveSearch service (#10623) 2025-02-05 17:27:34 +01:00
Alfresco Build
f1e0ba2726
New Crowdin translations by GitHub Action (#10486)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-02-05 12:17:13 +00:00
Mykyta Maliarchuk
eaa1008018
[ACS-8824] Disable node properties save button if values are invalid (#10560)
* [ACS-8824] Disable node properties save button if values are invalid

* [ACS-8824] remove commented code

* [ACS-8824] unit tests [ci:force]

* [ACS-8824] cr fixes
2025-01-28 15:49:32 +01:00
MichalKinas
35aec24c0f
Revert "Revert "[ACS-9166] Migrate Saved Searches to preferences API from con…" (#10594)
This reverts commit fcd6e25dc65b83929c1dbed4121c929eef666910.
2025-01-28 08:41:23 +01:00
MichalKinas
fcd6e25dc6
Revert "[ACS-9166] Migrate Saved Searches to preferences API from config file…" (#10566)
This reverts commit 184a38a0ef08e2222820e6654ea356579e2f88d1.
2025-01-20 12:38:27 +01:00
MichalKinas
184a38a0ef
[ACS-9166] Migrate Saved Searches to preferences API from config file (#10559)
* [ACS-9166] Migrate Saved Searches to preferences API from config file

* [ACS-9166][ci:force] Unit test coverage

* [ACS-9166] Unit test fixes

* [ACS-9166] Remove obsolete comment
2025-01-20 08:22:02 +01:00
dominikiwanekhyland
ada55aebc1
[ACS-8960] Review and apply required inputs where possible (#10554) 2025-01-17 13:15:25 +01:00
swapnil-verma-gl
4787470707
[MNT-24575] Added APIS and models folder information dialog (#10460)
* [MNT-24575] Added APIs folder information

* [MNT-24575] Added models

* [MNT-24575] Added constructors to model

* [MNT-24575] Added documentation

* [MNT-24575] Added documentation

* [MNT-24575] Addressed Code review comments

* [MNT-24575] Added unit tests. Fixed typo

* [MNT-24575] Fixed accesibility issue in DialogComponent. Fixed typo in enum

* [MNT-24575] Fixed typo, incorrect ACS version, and incorrect imports

* [MNT-24575] Added unit tests to js-api

* Empty commit to trigger GHA

* [ci:force] Empty force commit to trigger GHA

* [MNT-24575] Fixed linting issue

* [MNT-24575] Removed redundant *

* [ci:force] Empty force commit to trigger GHA
2025-01-07 15:21:44 +05:30
MichalKinas
d45155bcb2
[ACS-8863] Add nodeMimeType to keep proper file icon when renditions are generated (#10508)
* [ACS-8863] Add nodeMimeType to keep proper file icon when renditions are generated

* [ACS-8863] Small fix
2024-12-23 09:56:13 +01:00
Vito Albano
872fb16b62
AAE-29442 moving to node 20.18.1 (#10500)
* AAE-0000 - moving to node 20.18.1

* AAE-29442 Adjusted to the new eslint rule
2024-12-18 12:14:52 +01:00
Mykyta Maliarchuk
4ab3040954
[ACS-8824] The user cannot edit node properties after failing... (#10420)
* [ACS-8824] The user cannot edit node properties after failing to change node name with special characters

* [ACS-8824] fix formatting
2024-12-16 12:58:42 +01:00
jacekpluta
1cfbeff28c
[ACS-8899] Undercounted space from the top for view more button (#10403)
* [ACS-8065] tag creator unification

* [ACS-8065] test adjustments and after review fixes

* [ACS-8065] remove unnecessary style

* [ACS-8065] fix style selector

* [ACS-8065] remove transforming pipe and unnecessary styles

* [ACS-8065] fixes

* [ACS-8065] fixes

* [ACS-8065] fixes

* [ACS-8065] fix view more button placement

* [ACS-8065] fix view more button placement

* [ACS-8899] Undercounted space from the top for view more button

* [ACS-8899] Post rebase fixes

---------

Co-authored-by: tamaragruszka <tamara.gruszka@hyland.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2024-12-11 12:18:23 +01:00
tamaragruszka
d6151308c9
[ACS-8065][ADF] Unify components in TagModule (#10226)
* [ACS-8065] tag creator unification

* [ACS-8065] test adjustments and after review fixes

* [ACS-8065] remove unnecessary style

* [ACS-8065] fix style selector

* [ACS-8065] remove transforming pipe and unnecessary styles

* [ACS-8065] fixes

* [ACS-8065] fixes

* [ACS-8065] fixes

* [ACS-8065] fix view more button placement

* [ACS-8065] fix view more button placement

* [ACS-8065] fix position of view more button for pagination

* [ACS-8065] Fix imports

* [ACS-8065] Unit test fixes

---------

Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2024-12-11 11:07:12 +01:00
swapnil-verma-gl
9faea5c1e7
[ACA-4556] Copy/Move button is now disabled on the My Libraries Page in Copy/Move dialog (#10402)
* [ACA-4556] Copy/Move button is now disabled on the My Libraries Page in Copy/Move dialog

* [ACA-4556] Fix linting issue

* [ACA-4556] Added unit test

* [AC-4556] Addressed code review findings
2024-12-06 14:15:03 +05:30
AleksanderSklorz
88eb654c30
[ACS-8918] search date filter changing between created and modified tabs slides the text inside the tabs too (#10455)
* [ACS-8918] Fix sliding text after changing tabs

* [ACS-8918] Unit tests

* [ACS-8918] Retrigger jobs

* [ACS-8918] Retrigger jobs

* [ACS-8918] Fixed failed job, fixed sonar, addressing PR comments
2024-12-05 08:26:35 +01:00
dominikiwanekhyland
5461bedb3e
[ACS-9010] Loading spinner is not shown on search results page when filtering for files or folders (#10434) 2024-11-27 18:41:49 +01:00
Fabian Kindgen
7f41675d1c
AAE-10529 Find a better way to fix clipped icons (#10366)
* AAE-10529 Removed unused styling

* AAE-10529 Apply styling fixes related to ACA
2024-11-21 14:06:54 +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
MichalKinas
3adccc132e
[ACS-8991] Saved searches potential file conflict fix (#10393) 2024-11-18 13:14:42 +01:00
dominikiwanekhyland
472671bd50
[ACS-8921][ACA] Data Table / The input field in "Filter by Name" dialog is enormous in comparison with the UI design (#10375) 2024-11-14 10:31:43 +01:00
Tiago Salvado
9520b2a4e5
[MNT-24698] Concatenate aspect name to the title when there are duplicated aspect titles (#10374)
* [MNT-24698] Concatenate aspect name to title when there are duplicated titles

* [MNT-24698] Added validation to check if name should be concatenated

* [MNT-24698] Add unit test

* [MNT-24698] Distinguish aspect without title from other aspect with title equals to its name
2024-11-12 15:00:03 +00:00
dominikiwanekhyland
278a5ee143
[ACS-8919] [ACA] Search / Advanced Search Facets / The borders of search facets thickens very slowly when clicked (#10376) 2024-11-12 09:52:15 +01:00
AleksanderSklorz
c48022daf4
[MNT-24689] the add user or group icon is displayed within the folder permissions for a user with the collaborator role (#10373)
* [MNT-24689] Hide disallowed options for permissions

* [MNT-24689] Used ng-container to wrap hidden buttons

* MNT-24689 Unit tests

* MNT-24689 Fixed sonar duplicated lines

* [MNT-24689] Fixed sonar duplicated lines

* [MNT-24689] Addressed comment
2024-11-08 12:16:08 +01:00
MichalKinas
3ec3e732c0
[ACS-8634] Change saved searches config file name (#10370) 2024-11-08 07:37:30 +01:00
Diogo Bastos
3aabb9420d
AAE-27309 Update class (#10372) 2024-11-07 14:33:41 +00:00
dominikiwanekhyland
d06c829dac
[ACS-8916] [ACA] The calendar button in advanced search filters is placed too low in the date dialog (#10369) 2024-11-07 12:50:55 +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
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
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