Commit Graph
323 Commits
Author SHA1 Message Date
Denys Vuika 572231bf49 AAE-41225 update typescript target to es2022 and fix FormService propagation (#11508)
* update targets

* update targets

* fixed FormService propagation [ci:force]

* fixed FormService propagation [ci:force]
2026-01-13 08:47:07 +00:00
Denys Vuika fcb15868f8 ACS-7579 Remove unused process audit directive (#11474) 2025-12-19 12:07:20 +00:00
Wojciech Duda 6567c02220 AAE-40269 Cleanup deprecated global sass mixins (#11420) 2025-12-08 16:00:48 +01:00
Michal Kinas 9717a88818 [ACS-10226] Improve color contrast for better accessibility (#11429) 2025-12-08 15:52:21 +01:00
Mykyta Maliarchuk de62fe181a [MNT-24950] Preview a file from APS doesn't work in ADW (#11439) 2025-12-08 11:37:27 +01:00
Amedeo Lepore 43622266ce AAE-21565 Replace deprecated @import with @use in all scss files (#11273) 2025-11-07 10:28:26 +01:00
Wiktor Danielewski c4f276e228 AAE-39612 Registering click event on form widget twice (#11323)
* AAE-39612 Remove click from base and add it directly to the implementations

* AAE-39612 Add unit tests for the Text Widgets

* AAE-39612 Add unit tests for the Date Widgets

* AAE-39612 Add unit tests for the UI Widgets

* AAE-39612 Add unit tests for the People Widgets

* AAE-39612 Add unit tests for the Display Text Widgets

* AAE-39612 Add unit tests for the Base Viewer Widget

* AAE-39612 Add unit tests for the Object View Widgets

* AAE-39612 Add unit tests for the File Upload Widgets

* AAE-39612 Add unit tests for the Data Table Widget
2025-11-04 12:08:04 +01:00
Mykyta Maliarchuk fb72ccffcc [ACS-9725] Fix preview for files attached to tasks with display value form field (#11219) 2025-09-22 14:19:56 +02:00
Vito Albano 91d6b80965 Revert "AAE-30882 Replace superagent (#11134)" (#11210)
* Revert "AAE-30882 Replace superagent (#11134)"

This reverts commit a347b20f20.

* AAE-0000 - Fixed lock for cli and adf
2025-09-19 12:44:06 +01:00
Vito Albano a347b20f20 AAE-30882 Replace superagent (#11134)
* [AAE-30878] - Migrating from event-emitter to eventemitter3 which is ESM and commonJs compatibile

* [AAE-30878] - Using types to avoid compilation isues with the new ruels

* AAE-30878 - fixed lint issue on js-api

* AAE-30878 - reverted misplaced changes

* [AAE-30882] - migrating from superagent to axios

* AAE-30882 - Fixed unit test for js-api

* AAE-30882 - Fixed unit test for js-api

* AAE-30882 - Fixed unit test for js-api

* AAE-30882 - Improved some unit tests

* [ci:force]

* AAE-30882 - Checking why is ok locally but fails on CI

* AAE-30882 - Start fixing some unit tests - check 1

* AAE-30882 - Start fixing some unit tests - check 2

* [AAE-30882] - rebased

* [AAE-30882] - added missing import
2025-09-16 11:31:07 +01:00
Enrico Hilgendorf 82f96d9510 AAE-36335 Handle custom redirects (#11167) 2025-09-15 12:05:53 +02:00
Amedeo Lepore 51c55674b4 AAE-35340 Replace deprecated toPromise() usages with firstValueFrom / lastValueFrom (#11161) 2025-09-03 08:37:13 -04:00
dominikiwanekhyland 0576aac985 Revert "CSX-73 Date and Select Satori (#11056)" (#11144)
This reverts commit 9b6688ce10.
2025-08-26 11:00:03 +02:00
Samuel FialhoandSahana Ghosal 9b6688ce10 CSX-73 Date and Select Satori (#11056)
* CSX-73 Date and Select Satori

* CSX-73 Fix process-header unit test

* CSX-73 Fix core unit test

* CSX-73 Fix core unit test

* CSX-73 Fix task-header unit test

* CSX-73 Fix task-header unit test

* CSX-73 Fix task-header unit test

* CSX-73 Fix card-view dateitem

* CSX-73 Fix card-view dateitem

---------

Co-authored-by: Sahana Ghosal <sahana.ghosal@hyland.com>
2025-08-18 14:32:55 +01:00
Denys Vuika b16e326ac3 AAE-36664 additional linting rules, cleanup (#11084) 2025-08-13 08:01:09 -04:00
Soumyajit Chakraborty 71df219f94 AAE-36023 Making develop sync with ng18 backup branch (#11061)
AAE-36023 Fixing workspace cropping issues and label floating issues
2025-07-24 18:13:52 +05:30
Fabian Kindgen d7ec3a1b77 AAE-35981 Form button customization (#11047) 2025-07-24 09:37:35 +02:00
Soumyajit Chakraborty 06a9ddc068 AAE-36023 Some form fields are not properly aligned and cropped out ng19 (#11050)
* AAE-36023 fixing amount widget label cropping and overlapping issue

* AAE-36023 removing hard-coded appearance and adding dynamic floatlabel
2025-07-24 12:50:56 +05:30
Denys Vuika 11cb2ea688 AAE-36484 improved standalone support for Core (#10998)
improved standalone support
2025-07-09 08:12:17 -04:00
Denys Vuika 5438eef9db AAE-36260 global test setup (#10970) 2025-07-07 12:41:59 -04:00
dominikiwanekhyland 951b22e098 Angular 19 migration (#10795) 2025-07-03 12:09:53 +02:00
Denys Vuika 8b3b6ffbca AAE-36173 switch to TranslatePipe (#10968) 2025-06-27 10:20:05 -04:00
Soumyajit Chakraborty 16f42be08e AAE-35976 Adding auto required instead of manually handling styles manually (#10956)
* AAE-35976 adding auto-required instead of manually handling required using asterisks inside mat-form-field elements

* AAE-35976 removing hiderequiredmarker as it'll be handled by the form-fields itself

Resolving merge conflicts with develop

* AAE-35976 fixing units

* AAE-35976 adding isVisible condition with the required field

* AAE-35976 removing the method call from html and using the variable instead for conditions
2025-06-26 18:11:24 +05:30
Soumyajit Chakraborty f40107de33 AAE-34482 Modelling inconsistencies in mat form fields label alignments ii (#10929)
* AAE-34482 fixing card view datetime component in adf using mat-label

* AAE-34482 fixing the padding for mat-form-field labels

* AAE-34482 resolving the pr review comments

* AAE-34482 changing the floatType from 'auto' to null

* AAE-34482 changing the scss class name as per the review comment

* AAE-34482 fixing the left units
2025-06-23 16:14:39 +05:30
AleksanderSklorz a6ab5fcbdd [ACS-9696] fix failing upgrade rxjs from 7.8.1 to 7.8.2 (#10911)
* [ACS-9696] Upgrade rxjs version to fix faling upgrade PR in ACA

* [ACS-9696] Update package-lock.json

* [ACS-9696] Fixed unit tests
2025-06-03 13:54:30 +02:00
Alfresco BuildandCrowdin Bot 342f165b41 New Crowdin translations by GitHub Action (#10887)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-06-02 12:46:53 +01:00
Alfresco BuildandCrowdin Bot 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 RomanoandEhsan Rezaei 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
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
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
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
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 BuildandCrowdin Bot 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
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
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 BuildandCrowdin Bot 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
dominikiwanekhyland 3078387325 [ACS-8959] Introduce new takeUntilDestroyed operator where possible (#10388) 2024-11-19 11:54:00 +01:00