Commit Graph
343 Commits
Author SHA1 Message Date
Denys Vuika 6fc8dda887 Remove mocha and jasmine-ajax dependencies (#11813) 2026-04-16 10:20:49 +01:00
Michal Kinas ef5944a09c Post-release version bump (#11734) 2026-03-11 20:30:57 +01:00
Michal Kinas f44e4e90e8 Release 8.3.1 (#11731)
* Release 8.3.1

* CLI js-api version fix
2026-03-11 14:25:08 +01:00
Michal Kinas 89851a625a Release 8.3.0 (#11730) 2026-03-11 11:14:33 +01:00
Denys Vuika 303a9efb3e chore: eslint fixes for @typescript-eslint/no-explicit-any (#11672) 2026-02-23 13:11:44 +00:00
Denys Vuika 3f542d99ba Migrate to @angular-eslint/prefer-inject and @typescript-eslint/prefer-readonly (#11665) 2026-02-18 15:38:01 +00:00
Denys Vuika 40b15689d5 AAE-21047 Get rid of enums (#11643)
* Refactor enums to const objects and update ESLint rules

- Converted several TypeScript enums to const objects for better type inference and immutability.
- Updated ESLint configuration to disable 'no-redeclare' rule and added new restrictions on schema usage.
- Adjusted package-lock.json to mark several dependencies as peer dependencies.

* Refactor enums to const objects in site-dropdown and new-version-uploader models

- Converted TypeScript enums to const objects for improved type safety and immutability in `sites-dropdown.component.ts` and `new-version-uploader.model.ts`.
- Updated related types to reflect the changes in both files.
- Enhanced error handling in the `DropdownSitesComponent` by using the `subscribe` method with an object for better readability.

* Refactor TypeScript types and improve error handling in component tests

- Updated type annotations in `upload.service.ts` and `node-actions.service.ts` for better type safety.
- Enhanced error handling in various component tests by using more descriptive error messages in `task-attachment-list.component.spec.ts`, `attach-file-widget-dialog.component.spec.ts`, and `task-form.component.spec.ts`.
- Removed unnecessary schemas from test configurations in several component spec files to streamline the testing setup.

* Refactor TypeScript enums to const objects for improved type safety

- Converted multiple TypeScript enums to const objects across various models, including `AppConfigValues`, `Status`, `ShowHeaderMode`, `WidgetTypeEnum`, and others.
- Updated related type definitions to enhance type inference and immutability.
- Adjusted ESLint configurations by removing the 'no-redeclare' rule to streamline code quality checks.

* Refactor TypeScript types for improved type safety and consistency

- Updated type annotations in `document-list.component.ts`, `document-actions.service.ts`, and `node-actions.service.ts` to use `Observable` instead of `Subject` for better reactive programming practices.
- Enhanced type definitions in `search-date-range.component.ts` and related spec files to allow `inLastValue` to be either a string or a number, improving flexibility in handling date range inputs.
- Adjusted test cases to reflect these type changes, ensuring consistency across the application.

* Enhance type safety in ViewerComponent by specifying type for closeButtonPosition

- Updated the type annotation for `closeButtonPosition` in `viewer.component.ts` to explicitly define it as `CloseButtonPosition`, improving type safety and clarity.

* Enhance type safety in DataTableComponent by specifying type for showHeader

- Updated the type annotation for `showHeader` in `datatable.component.ts` to explicitly define it as `ShowHeaderMode`, improving type safety and clarity.

* Update PDF viewer test to accommodate varying date formats

- Modified the test for the annotation popup in `pdf-viewer.component.spec.ts` to check for the presence of date components instead of a specific date format, enhancing test robustness across different locales.
2026-02-12 16:28:45 +00:00
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
Wojciech Duda 5f9de1fde8 AAE-40269 Add storybook v10 (#11401) 2026-01-09 18:17:43 +00:00
Michal Kinas 03f67c861f [ACS-10740] Adjust Karma and Jest config (#11365) 2025-11-20 14:24:22 +01:00
Grzegorz Jaśkowski 9fd304b66d post release version bump (#11366) 2025-11-20 05:57:43 -05:00
Grzegorz Jaśkowski fbc647459f Release 8.2.1 (#11364)
* Release 8.2.1.

* Release 8.2.1.
2025-11-20 10:47:38 +01:00
Grzegorz Jaśkowski dec8fcfb91 Release 8.2.0 (#11352)
* Release 8.2.0

* Release 8.2.0

* Release 8.2.0

* Release 8.2.0
2025-11-18 15:31:06 +01:00
dominikiwanekhyland 591934db0e [ACS-10117] Deprecate ADF Storybook and custom Docker builds (#11207) 2025-09-18 15:13:01 +02:00
Ehsan Rezaei dabab63f78 Fix Post release version bump to align with ACA (#11153) 2025-08-29 14:24:59 +02:00
dominikiwanekhyland f205cbc33c Post release version bump (#11147) 2025-08-26 15:58:18 +02:00
dominikiwanekhyland e0f0486e66 Release 8.1.1 (#11145) 2025-08-26 11:35:21 +02:00
dominikiwanekhyland de537f0a0d Release 8.1.0 (#11143) 2025-08-25 14:25:56 +02:00
Denys Vuika 5213621023 AAE-37287 provideExtensions provider api for Angular standalone (#11103)
* provideExtensions provider api for Angular standalone

* improved typing
2025-08-06 13:38:52 -04:00
Denys Vuika d5c2e7c585 AAE-36664 Cleanup deprecated AppConfigModule (#11016)
* cleanup deprecated AppConfigModule

* migrate factory to initializer

* add provideAppExtensions() api to allow deprecating ExtensionsModule in apps

* fix viewer render import

* use Angular control flow instead of NgIf

* use Angular control flow instead of NgSwitch
2025-07-30 14:08:33 -04:00
AleksanderSklorz e5fcfde2ec Post release version bump (#11021)
* Trigger Build

* Post release bump
2025-07-15 16:16:03 +02:00
dominikiwanekhyland 951b22e098 Angular 19 migration (#10795) 2025-07-03 12:09:53 +02:00
MichalKinas 5d9acaec0d [AAE-35649] Viewer renderer wait until subsequent renderers will finish (#10924)
* [AAE-35649] Viewer renderer wait until particular renderers are done

* [AAE-35649] Add docs and unit test coverage

* [AAE-35649] Add missing space
2025-06-11 09:28:07 +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
Mykyta Maliarchuk e4feb68381 [ACS-9266][ACS-9234] Make notification and user menu accessible with keyboard (#10647)
* [ACS-9266][ACS-9234] Make notification and user menu accessible with keyboard

* [ACS-9266] cr fix

* [ACS-9266] cr fixes

* [ACS-9266] fix eslint

* [ACS-9266] fix circular dependency

* [ACS-9266] cr fix
2025-02-17 10:52:27 +01:00
Vito Albano 430ca84c77 [AAE-0000] - bumping the prerelease version (#10645) 2025-02-12 12:49:49 +00: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
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
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
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
MichalKinas 60a9565c71 [ACS-9012] Add the option to truncate display value in text column (#10440)
* [ACS-9012] Add the option to truncate disaplay value in text column

* [ACS-9012] Use slice as substr is deprecated

* [ACS-9012] Remove redundant param
2024-12-05 09:55: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
MichalKinas f07636e297 [ACS-8956] Introduce new ESLint rule for self-closing tags (#10354) 2024-11-04 09:58:24 +00:00
Ehsan Rezaei 872dae6f2d Post-release version bump (#10336) 2024-10-25 10:05:07 +02:00
Ehsan RezaeiandVitoAlbano 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 30eb9ff007.
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 63a3775be2.
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
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
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
Denys Vuika 4d4a1dd6b1 ACS-8761 Noop Auth Module for unit testing ergonomics (#10195) 2024-09-18 08:05:26 -04:00
Ehsan Rezaei 598d494b0f Fix peerDependency version conflicts (#10167) 2024-09-03 11:44:13 +01:00
Ehsan Rezaei 4fd62acdec AAE-25392 Fixing types for setAuthGuards method (#10164)
* AAE-25392 Fixing types for setAuthGuards method

* AAE-25392 Fix type
2024-09-03 07:43:34 +02:00