845 Commits

Author SHA1 Message Date
Alfresco Build
f70ba30b46
New Crowdin translations by GitHub Action (#10884)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-05-20 21:49:59 -04:00
Eugenio Romano
b4eee9d631
AAE-34675 Fix default selection required (#10860)
* fix default selection required

* rename test

* dropdown form field return object

* dropdown form field return object

* dropdown form field return object

* fix test

* Update lib/core/src/lib/form/components/widgets/core/form-field.model.spec.ts

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>

* Update lib/core/src/lib/form/components/widgets/core/form-field.model.ts

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>

---------

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
2025-05-15 21:26:17 +02:00
Denys Vuika
b1113c51a7
AAE-34493 Improved internal mat-selectors (#10829) 2025-04-28 11:17:36 -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
0dc45e95af
[MNT-24715] App with APS does not show display value of dynamic table (#10799)
* [MNT-24715] App with APS does not show display value of dynamic table

* [MNT-24715] fix linting
2025-04-18 10:38:46 +02:00
MichalKinas
6fb9474d46
[ACS-9552] Add obsolete task list filters migration (#10798)
* [ACS-9552] Add obsolete task list filters migration

* [ACS-9552] Add missing unit tests

* [ACS-9552] CR fixes
2025-04-17 15:35:48 +02:00
Mykyta Maliarchuk
a426338f94
[MNT-24950] Fix process file preview button state (#10790)
* [MNT-24950] Fix process file preview button state

* [MNT-24950] cr fix

* [MNT-24950] fix unit tests error
2025-04-15 10:05:55 +02:00
Mykyta Maliarchuk
8e0ea373f0
[ACS-9406] Add getContentRenditionTypePreview to process-content service (#10743)
* [ACS-9406] Add getContentRenditionTypePreview to process-content service

* [ACS-9406] remove extra space

* [ACS-9406] fix unit tests

* [ACS-9406] fix unit tests

* [ACS-9406] cr fixes
2025-04-02 14:07:20 +02:00
MichalKinas
e8d1328244
Post-release version bump (#10726)
* Post-release version bump

* Reset cache
2025-03-17 17:03:58 +01:00
MichalKinas
25f7351b63
Release 7.0.0 (#10725)
* Release 7.0.0

* Cli js-api version fix
2025-03-17 11:06:16 +01:00
AleksanderSklorz
8dceb5fb1d
[ACS-9225] serious a11y testing side bar elements must meet minimum color contrast ratio thresholds (#10687)
* [ACS-9225] Fixed color contrast for sidebar elements

* [ACS-9225] Applied fix also for processes
2025-03-03 11:08:38 +01:00
Tomasz Nastaly
ac11fa8a65
AAE-30141 Replace ngIf for asterix with style visibility (#10665) 2025-02-25 14:27:44 +01:00
AleksanderSklorz
808f836259
[MNT-24456] aps with adw multi user and group fields do not accept multiple values (#10636)
* [MNT-24456] Allow to select multiple users and groups for task form

* [MNT-24456] Inputs styling

* [MNT-24456] Unit tests, fixed issue for selecting single group

* [MNT-24456] Fixed issue when completing forms with null instead of empty array

* [MNT-24456] Used UnitTestingUtils where possible
2025-02-13 10:43:02 +01:00
Vito Albano
430ca84c77
[AAE-0000] - bumping the prerelease version (#10645) 2025-02-12 12:49:49 +00: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
Tomasz Gnyp
2284ede0c7
AAE-30110 Render sections in runtime (#10599)
* AAE-30110 Render sections in runtime

* Move section to separate component

* Improve sections styles

* added early return improvement

* fix process services unit tests

* use testingUtils

* fix styles

* fix lint header error
2025-02-12 12:37:17 +01:00
Wojciech Duda
0edbae8c59
AAE-25579 Toggle logs for skipped karma unit tests (#10601) 2025-02-07 13:02:32 +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
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
Tomasz Gnyp
c4b3b9f3d4
AAE-30596 Fix required reactive widgets do not visibility conditions (#10595)
* AAE-30596 Fix required reactive widgets do not visibility conditions

* fix unit test
2025-01-28 10:30:12 +01:00
AleksanderSklorz
35a1f0b885
Post release version bump (#10589) 2025-01-27 13:14:58 +01:00
AleksanderSklorz
4c310be779
Release 7.0.0-alpha.7 (#10587)
* Release 7.0.0-alpha.7

* Reverted changes in package json for cli
2025-01-27 09:05:40 +01:00
dominikiwanekhyland
ada55aebc1
[ACS-8960] Review and apply required inputs where possible (#10554) 2025-01-17 13:15:25 +01:00
Denys Vuika
0a17fb4f4c
AAE-26215 Standalone process cloud components (#10553) 2025-01-15 08:37:46 -05:00
MichalKinas
8b5dcf19b9
[MNT-24538] Update PDFjs viewer version and disable annotation mode (#10538)
* [MNT-24538] Bump PDFjs viewer version and use annotation mode disabled

* [MNT-24538] Proper test params

* [ci:force]

* [MNT-24538] Use different pdfjs version

* [ci:force]

* [MNT-24538][ci:force] Use proper legacy paths

* [MNT-24538][ci:force] Use Node 22 LTS

* [MNT-24538] Use pdfjs legacy version

* [MNT-24538] Use existing pdfjs-dist version with new param

* [MNT-24538] Legacy build cleanup

* [MNT-24538] Lockfile fix

* [MNT-24538] Lockfile fix

* [MNT-24538] Unit test fix

* [MNT-24538] Unit test fixes
2025-01-15 11:41:56 +01:00
Denys Vuika
af3ca02347
AAE-26215 standalone cloud tasks (#10537) 2025-01-14 12:00:07 -05:00
Denys Vuika
b7881db56b
AAE-26215 standalone form (cloud) (#10535) 2025-01-08 07:53:56 -05: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
Alfresco Build
06f16996a4
New Crowdin translations by GitHub Action (#10456)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-12-06 14:00:43 +00:00
Mykyta Maliarchuk
2b0100466a
[MNT-24657] Add multiple selection support for people widget (#10458)
* [MNT-24657] Add multiple selection support for people widget [ci:force]

* [MNT-24657] cr fixes
2024-12-05 14:01:16 +01:00
Tomasz Gnyp
23fe4d4486
AAE-27343 Listen to form rules changes from reactive widgets (#10392)
* AAE-27343 Listen to form rules changes from reactive widgets

* remove leftover

* apply interface for reactive widgets and unit test

* update readonly control status

* [ci:force][link-adf:fix/AAE-27343-listen-to-form-rules-changes-in-reactive-widgets]
2024-11-29 10:27:24 +01:00
swapnil-verma-gl
356260b5d1
Post release version bump (#10417)
* Post release version bump

* Post release version bump

* Release notes and docs cleanup for v7.0.0-alpha.6

* Fixed js-api version in cli package.json
2024-11-21 16:30:58 +05:30
swapnil-verma-gl
ac07a827fd
Release 7.0.0-alpha.6 (#10415)
* Release 7.0.0-alpha.6

* Revert package.json for adf-cli
2024-11-20 21:58:53 +05:30
swapnil-verma-gl
056950ce6a
Release 7.0.0-alpha.5 (#10411) 2024-11-20 16:58:57 +05:30
dominikiwanekhyland
3078387325
[ACS-8959] Introduce new takeUntilDestroyed operator where possible (#10388) 2024-11-19 11:54:00 +01: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
Ehsan Rezaei
872dae6f2d
Post-release version bump (#10336) 2024-10-25 10:05:07 +02:00
Ehsan Rezaei
3b6aa8f1d2
Release 7.0.0-alpha.4 (#10332)
* Release 7.0.0-alpha.4

* Fixed npm check bundle script with the new esm

---------

Co-authored-by: VitoAlbano <vito.albano.123@gmail.com>
2024-10-24 16:47:50 +02:00
Ehsan Rezaei
881841a4a9
Revert "Release 7.0.0-alpha.4 (#10329)" (#10331)
This reverts commit 30eb9ff0074ba3cc5f34b3f4f2d864fb93c490cc.
2024-10-24 14:58:39 +01:00
Ehsan Rezaei
30eb9ff007
Release 7.0.0-alpha.4 (#10329) 2024-10-24 13:29:30 +02:00
Ehsan Rezaei
a3b687ffd1
Revert "Release 7.0.0-alpha.5 (#10325)" (#10327)
This reverts commit 63a3775be25d65da3e9267d809b2725912e827aa.
2024-10-24 10:31:42 +02:00
Ehsan Rezaei
63a3775be2
Release 7.0.0-alpha.5 (#10325)
* Release 7.0.0-alpha.5

* Decreasing cli dep for js-api
2024-10-23 20:27:14 +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
MichalKinas
dd2bbd0a4b
Post-release version bump (#10264)
* Post-release version bump

* Add missing lockfile changes

* Use older js-api for cli
2024-09-30 15:41:33 +02:00
dominikiwanekhyland
51f74a54f3
[ACS-8635] ADW: View button not working on create process (#10263) 2024-09-30 13:50:55 +02:00
MichalKinas
8d895a9893
Release 7.0.0-alpha.3 (#10262)
* Release 7.0.0-alpha.3

* Exclude flaky unit test
2024-09-30 12:23:51 +02:00
Grzegorz Jaśkowski
76aeab4d10
[ACS-8806] refactor process comments (#10230)
* ACS-8806 refactor process comments, datatable access in task list and process list

* ACS-8806 docs mistake

* ACS-8806 revert datatable access changes in task and process lists
2024-09-19 09:17:30 +02:00
Denys Vuika
4d4a1dd6b1
ACS-8761 Noop Auth Module for unit testing ergonomics (#10195) 2024-09-18 08:05:26 -04:00