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>
This commit is contained in:
Vito Albano
2024-10-23 15:23:38 +01:00
committed by GitHub
co-authored by Wojciech Duda dominikiwanekhyland swapnil-verma-gl Ehsan Rezaei Amedeo Lepore
parent 0a89d9be97
commit 41391a0bb9
91 changed files with 13720 additions and 13462 deletions
+60 -52
View File
@@ -29,28 +29,28 @@
"process services-cloud"
],
"dependencies": {
"@angular/animations": "15.2.10",
"@angular/cdk": "15.2.9",
"@angular/common": "15.2.10",
"@angular/compiler": "15.2.10",
"@angular/core": "15.2.10",
"@angular/forms": "15.2.10",
"@angular/material": "15.2.9",
"@angular/material-date-fns-adapter": "15.2.9",
"@angular/platform-browser": "15.2.10",
"@angular/platform-browser-dynamic": "15.2.10",
"@angular/router": "15.2.10",
"@apollo/client": "^3.10.2",
"@angular/animations": "16.2.9",
"@angular/cdk": "16.2.9",
"@angular/common": "16.2.9",
"@angular/compiler": "16.2.9",
"@angular/core": "16.2.9",
"@angular/forms": "16.2.9",
"@angular/material": "16.2.9",
"@angular/material-date-fns-adapter": "16.2.9",
"@angular/platform-browser": "16.2.9",
"@angular/platform-browser-dynamic": "16.2.9",
"@angular/router": "16.2.9",
"@apollo/client": "3.11.4",
"@cspell/eslint-plugin": "^7.3.6",
"@mat-datetimepicker/core": "11.0.3",
"@mat-datetimepicker/core": "12.0.1",
"@ngx-translate/core": "^14.0.0",
"@storybook/core-server": "8.2.6",
"@storybook/theming": "8.2.6",
"angular-oauth2-oidc": "^15.0.1",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/core-server": "^8.2.9",
"@storybook/theming": "^8.2.9",
"angular-oauth2-oidc": "16.0.0",
"angular-oauth2-oidc-jwks": "^17.0.2",
"apollo-angular": "^5.0.2",
"axios": "^1.7.4",
"chart.js": "^4.3.0",
"chart.js": "4.4.4",
"cropperjs": "1.6.2",
"date-fns": "^2.30.0",
"dotenv-expand": "^5.1.0",
@@ -65,39 +65,42 @@
"superagent": "^9.0.1",
"ts-morph": "^20.0.0",
"tslib": "^2.6.2",
"zone.js": "~0.11.4"
"zone.js": "0.13.3"
},
"devDependencies": {
"@alfresco/eslint-plugin-eslint-angular": "file:lib/eslint-angular",
"@angular-devkit/architect": "^0.1502.10",
"@angular-devkit/build-angular": "15.2.11",
"@angular-devkit/core": "15.2.10",
"@angular-devkit/schematics": "15.2.10",
"@angular-eslint/eslint-plugin": "15.2.1",
"@angular-eslint/eslint-plugin-template": "16.0.2",
"@angular-eslint/template-parser": "16.2.0",
"@angular/cli": "15.2.10",
"@angular/compiler-cli": "15.2.10",
"@angular-devkit/architect": "0.1602.9",
"@angular-devkit/build-angular": "16.2.9",
"@angular-devkit/core": "16.2.9",
"@angular-devkit/schematics": "16.2.9",
"@angular-eslint/eslint-plugin": "16.0.3",
"@angular-eslint/eslint-plugin-template": "16.0.3",
"@angular-eslint/template-parser": "16.0.3",
"@angular/cli": "~16.2.0",
"@angular/compiler-cli": "16.2.9",
"@chromatic-com/storybook": "1.7.0",
"@editorjs/code": "2.9.0",
"@editorjs/editorjs": "^2.29.0",
"@editorjs/editorjs": "2.30.5",
"@editorjs/header": "2.8.1",
"@editorjs/inline-code": "1.5.0",
"@editorjs/list": "1.10.0",
"@editorjs/marker": "1.4.0",
"@editorjs/paragraph": "^2.11.6",
"@editorjs/underline": "1.1.0",
"@nrwl/angular": "15.9.3",
"@nrwl/eslint-plugin-nx": "15.9.3",
"@nrwl/js": "^15.9.7",
"@nrwl/node": "15.9.3",
"@nrwl/storybook": "15.9.3",
"@nrwl/workspace": "15.9.3",
"@nx/angular": "16.10.0",
"@nx/eslint-plugin": "16.10.0",
"@nx/js": "16.10.0",
"@nx/node": "16.10.0",
"@nx/storybook": "19.6.2",
"@nx/workspace": "16.10.0",
"@paperist/types-remark": "0.1.3",
"@playwright/test": "1.46.1",
"@quanzo/change-font-size": "1.0.0",
"@schematics/angular": "15.2.10",
"@storybook/addon-essentials": "8.2.6",
"@storybook/angular": "8.2.6",
"@storybook/core-server": "8.2.6",
"@schematics/angular": "16.2.9",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/angular": "^8.2.9",
"@storybook/core-server": "^8.2.9",
"@storybook/manager-api": "^8.2.9",
"@types/ejs": "^3.1.5",
"@types/event-emitter": "^0.3.3",
"@types/jasmine": "4.0.3",
@@ -105,7 +108,7 @@
"@types/jsdom": "^21.1.5",
"@types/minimatch": "^3.0.3",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.0",
"@types/node": "20.16.1",
"@types/pdfjs-dist": "^2.10.378",
"@types/shelljs": "^0.8.15",
"@types/superagent": "^4.1.22",
@@ -138,9 +141,10 @@
"jasmine-core": "4.6.0",
"jasmine-marbles": "^0.9.2",
"jasmine-reporters": "^2.5.2",
"jasmine-spec-reporter": "7.0.0",
"js-yaml": "^4.0.0",
"jsdom": "^24.0.0",
"karma": "^6.4.1",
"karma": "6.4.4",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "5.0.1",
@@ -148,26 +152,30 @@
"karma-jasmine-html-reporter": "^2.1.0",
"karma-mocha-reporter": "2.2.5",
"license-checker": "^25.0.1",
"lint-staged": "^15.2.2",
"mini-css-extract-plugin": "^2.7.6",
"mocha": "^10.2.0",
"lint-staged": "15.2.9",
"mini-css-extract-plugin": "2.9.1",
"mocha": "10.7.3",
"moment": "^2.29.4",
"ng-packagr": "15.2.2",
"nock": "^13.3.8",
"nx": "15.9.7",
"postcss": "^8.4.31",
"ng-packagr": "16.2.3",
"nock": "13.5.5",
"npm-run-all": "^4.1.5",
"nx": "16.10.0",
"postcss": "8.4.41",
"postcss-sass": "^0.5.0",
"prettier": "2.8.8",
"protractor": "^7.0.0",
"rimraf": "^5.0.5",
"rimraf": "5.0.10",
"sass-loader": "13.3.2",
"shelljs": "^0.8.5",
"spdx-license-list": "^6.9.0",
"stylelint": "^16.3.1",
"storybook": "^8.2.9",
"stylelint": "16.8.2",
"stylelint-config-standard-scss": "^13.1.0",
"ts-node": "^10.9.2",
"typescript": "4.9.5",
"webpack": "^5.94.0",
"tsconfig-paths": "^4.1.1",
"typescript": "5.1.6",
"webdriver-manager": "12.1.9",
"webpack": "5.94.0",
"webpack-cli": "^5.1.4"
},
"license": "Apache-2.0",