129 Commits

Author SHA1 Message Date
Darya Blavanovich
3819aecb70
[MNT-24354] update license header to 2024 (#9633)
* MNT-24354 update license header [ci:force]

* MNT-24354 fix lint [ci:force]

* MNT-24354 [ci:force]

* MNT-24354 update license header in process-services [ci:force]

---------

Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-05-08 08:34:51 +02:00
Darya Blavanovich
10244f45ac
[ACS-7577] [ADF] Remove Folder Directives from Content Services lib (#9582)
* ACS-7577 remove create and edit folder directive [ci:force]

* Revert "ACS-7577 remove create and edit folder directive [ci:force]"

This reverts commit a0055aa496d1c6ee64118035acb36b55ab59716b.

* ACS-7577 move edit and create folder directives to demo-shell [ci:force]

* ACS-7577 remove public-api and fix readme file [ci:force]

* ACS-7577 remove edit directive [ci:force]

* ACS-7577 update e2e tests [ci:force]

* ACS-7577 update e2e tests [ci:force]

* ACS-7577 update e2e tests [ci:force]

* ACS-7577 revert e2e tests [ci:force]

* ACS-7577 revert e2e tests and create button [ci:force]

* ACS-7577 refactor e2e test [ci:force]

---------

Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-04-29 08:55:18 +02:00
Denys Vuika
135b3b4b51
[ACS-7462] cleanup deprecated api for DataTable and DocumentList (#9500)
* refactor: cleanup gallery mode from DataTable/DocumentList

* refactor: cleanup gallery mode from DataTable/DocumentList

* refactor: cleanup gallery mode from DataTable/DocumentList [ci:force]

* refactor: remove unused api [ci:force]

* refactor: remove unused api [ci:force]

* refactor: update and fix documentation [ci:force]

* refactor: restore thumbnails, docs fixes [ci:force]

* fix package lock
2024-04-09 13:13:57 -04:00
Tomasz Gnyp
468c32691d
[AAE-17666] Remove date cell e2es covered by unit tests (#9153) 2023-12-12 14:41:51 +01:00
Denys Vuika
620911cf70
Protractor cleanup for demo shell (#9019)
* [ci:force] cleanup protractor tests

* [ci:force] cleanup insights test

* [ci:force] cleanup dead demo shell e2e

* [ci:force] cleanup e2e

* [ci:force] cleanup e2e

* cleanup files component

* [ci:force] cleanup e2e

* [ci:force] remove user info SSO protractor e2e

* [ci:force] remove viewer e2e already covered by other tests

* [ci:force] remove custom font from demo shell

* [ci:force] demo shell viewer cleanup

* [ci:force] cleanup viewer in demo shell

* [ci:force] rollback model changes

* [ci:force] remove site picker from content demo

* [ci:force] cleanup files demo shell component

* [ci:force] cleanup e2e and dead code

* [ci:force] cleanup dead code

* [ci:force] fix linting

* [ci:force] standalone home component

* [ci:force] cleanup demo shell app layout

* [ci:force] cleanup css

* [ci:force] cleanup demo shell logout

* Update demo-shell/src/app/components/app-layout/app-layout.component.html

Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com>

---------

Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com>
2023-10-27 11:56:53 -04:00
Denys Vuika
ef551a9c71
Improved ESLint configuration, integrated spellcheck and error fixes (#8931)
* integrate cspell with eslint, improved configuration

* core: fix linting errors

* core: fix lint warnings

* content: lint fixes

* process service lint fixes

* lint: process services cloud

* lint: insights

* lint: extensions

* [ci:force] lint: cli fixes

* [ci:force] comment out dead code

* [ci:force] exclude dead code

* fix code and tests

* rollback some changes

* fix testing lib

* fix demo shell

* minor lint warning fixes

* minor lint fixes

* fix process services
2023-09-26 13:46:53 +01:00
Denys Vuika
3b4ce3b857
[ACS-5839] migrate to latest JS-API types (#8859)
* [ci:force] migrate Minimal Node to Node

* [ci:force] remove js-api wrappers and use real types

* [ci:force] remove js-api wrappers and use real types

* [ci:force] fix linting errors

* [ci:force] fix linting errors

* [ci:force] security fixes

* [ci:force] sonarcloud bug fixes

* [ci:force] dead code elimination, sonar suggested fixes
2023-08-29 20:56:40 +01:00
Denys Vuika
f201efd56a
[ACS-5761] Demo Shell Cleanup (part 2) (#8807)
cleanup demo shell
2023-08-10 22:18:21 +01:00
Denys Vuika
9497abcb43
[ACS-5743] Cleanup Content tests (Demo Shell) (#8799)
* remove unused demo shell api

* remove recent files and cleanup unused api

* cleanup upload dialog page

* [ci:force] dummy commit

* [ci:force] cleanup the toolbar and tooltips

* [ci:force] remove dead code

* [ci:force] remove logger and custom action

* [ci:force] remove custom permission e2e test as already tested by unit

* [ci:force] remove "Start process" from the Content demo as not related to document list

* [ci:force] remove useless divs for selection

* [ci:force] dummy change to trigger CI/CD

* Revert "[ci:force] remove useless divs for selection"

This reverts commit fb3ae0b4396f44fc5aa055fcc5edf2df3e870fee.

* [ci:force] remove e2e for artificial scenario

* [ci:force] cleanup unused navigation bar protractor api

* [ci:force] cleanup unused datatable protractor api

* [ci:force] cleanup unused login protractor api

* [ci:force] fix process cloud demo page selector
2023-08-01 18:48:19 +01:00
AleksanderSklorz
98c0a3c7be
[ACS-5041] update license headers to reflect hyland copyright guidelines (#8472)
* ACS-5041 Changed json to js

* ACS-5041 Corrected paths

* ACS-5041 Changed json to js

* ACS-5041 Updated eslintrc

* ACS-5041 Small correction

* ACS-5041 Small correction

* ACS-5041 Updated license headers

* ACS-5041 Updated license headers

* ACS-5041 Replaced references to alfresco

* ACS-5041 Added Hyland to known words

* ACS-5041 Fixed coverage issue

* ACS-5041 Fixed duplication issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed test

* ACS-5041 Fixed test

* ACS-5041 Reverted one change

* ACS-5041 Added missing license to files after rebase
2023-04-20 09:34:03 +02:00
swapnil-verma-gl
0eb0ff167b
[ACA-4676][ACA-4678] Added Non Responsive Preview Dialog to viewer component (#8428)
* [ACA-4676] Added NonResponsivePreview dialog to download file incase file preview takes longer than a set period of time.

* [ACA-4676] Updated button positioning for non responsive preview dialog

* [ACA-4676] Added documentation for NonResponsivePreviewDialog functionality for viewer.component.ts

* [ACA-4676] Added unit tests for NonResponsivePreviewDialog

* [ACA-4676] Updated template of NonResponsivePreviewDialog to use components and directives from mat-dialog. Removed non-responsive-dialog.component.scss. Removed unused methods from non-responsive-dialog.component.ts

* [ACA-4676] Corrected typo in NonResponsivePreviewDialog unit tests

* [ACA-4676] Added test cases for NonResponsivePreviewDialog in viewer.component.ts. NOT WORKING

* [ACA-4676] Fixed test cases for non-responsive preview dialog. Moved NonResponsivePreview dialog tests to separate describe block. Updated component code to make properties and methods visible to testing environment

* [ACA-4676] Migrated viewer component test env setup from setupTestBed() to TestBed.configureTestingModule(). Moved NonResponsivePreviewDialog unit tests to inside parent Viewer component describe block

* [ACA-4676] Removed unused async tag. Added license info to non-responsive-dialog.component.ts and non-responsive-preview-actions.enum.ts

* [ACA-4676] Updated code to use "viewer" appConfig object instead of "preview-config". Added non-responsive-preview-actions.enum.ts to public-api.ts

* [ACA-4676] Resolved potential lint issues

* [ACA-4676] Updated non responsive preview to look for viewer config object inside app.config instead of preview-config

* [ACA-4676] Removed duplicate import for @adf/core. Added NonResponsiveDialogComponent to adf/core exports

* [ACA-4676] Renamed properties/config/documentation from nonResponsivePreview to downloadPrompt. Renamed NonResponsivePreviewActionsEnum to DownloadPromptActions.

* [ACA-4676] Resolved linting and unit test failures

* [ACA-4676] Changed dataType for timers to number. Updated code to use window.setTimeout(), instead of just setTimeout(). Added missing whitespace. Updated method names in demo shell to use 'downloadPrompt' naming scheme.

* [ACA-4676] Fixed incorrect import statement in viewer.module.ts for download-prompt-dialog

* [ACA-4676] Testing disabled by default behaviour of downloadPrompt feature

* [ACA-4676] Changed default value for enableDownloadPrompt and enableDownloadPromptReminders to false in app.config.json

* [ACA-4676] Removed un-needed AppConfig configurations from unit tests
2023-04-12 19:32:34 +05:30
swapnil-verma-gl
fc3ad78004
[ACA-4681] Added file auto download feature to DocumentList component (#8423)
* [ACA-4681] Added feature in DocumentListComponent to auto download a file if it exceeds a pre defined file size threshold

* [ACA-4681] Added test cases for file auto download feature in document list (NOT WORKING)

* [ACA-4681] Fixed unit tests for file auto download feature of document list

* [ACA-4681] Removed unused variables from app.config.json

* [ACA-4681] Resolved code review findings. Local constants are no longer upper case only (used camelCase instead). FileAutoDownload component template now uses mat-dialog provided directives and components. Removed file-auto-download.component.scss. Removed unused methods from file-auto-download.component.ts

* [ACA-4681] Added licence info to file-auto-download-actions.enum.ts

* [ACA-4681] Added license info to file-auto-download.component.ts

* [ACA-4681] Removed empty constructor

* [ACA-4681] Updated appConfig property name from "preview-config" to "viewer".

* [ACA-4681] Added JSDoc for FileAutoDownloadActionsEnum

* [ACA-4681] Updated ADF demo shell application to use "viewer" appConfig object instead of "preview-config"

* [ACA-4681] Resolved lint issues

* [ACA-4681] Removed dependency from NodeActionsService inside DocumentListComponent. FileAutoDownload component now directly triggers the file download, instead of emitting FileAutoDownloadActionsEnum.Download.

* [ACA-4681] Removed unused async. Updated import statement

* [ACA-4681] Added FileAutoDownloadComponent to public-api.ts
2023-04-04 13:01:23 +05:30
Eugenio Romano
2590e7d0a9
[AAE-10777] Move services from Core in Content the right place (#8242)
Clean core services and directive
2023-03-10 09:28:24 +01:00
Eugenio Romano
f48cd30756
[AE-11486] move shared link in content and deprecate unused dialog service (#8091)
* move shared link in content and deprecate unused dialog service

* Update public-api.ts

* fix

* fix demoshell
2023-01-04 22:44:05 +01:00
Eugenio Romano
4da74f1c07
[AAE-10769] remove alfresco deps from datatable (#8045)
* remove alfresco dep

* [ci:force] move data-column in datatable

* new datatable service

* doc

* required changes

* fix

* fix
2023-01-04 08:08:03 +00:00
Popovics András
c974623741
🚀🚀🚀 Release 5.0.0-angular.13 🚀🚀🚀 (#7751)
* Angular 13 migration

author Denys Vuika <denys.vuika@gmail.com> 1645535464 +0000
committer Andras Popovics <popovics@ndras.hu> 1658854099 +0200
gpgsig -----BEGIN PGP SIGNATURE-----

 iHUEABYKAB0WIQQp4kkcEG/HRJq2bsSpIH4RXC/6cgUCYuAa0wAKCRCpIH4RXC/6
 cpbgAQDdXzCpsWqAu2yGX+KHYg+pO1mY/ChSMVyqmEpJ92cf2QEAj+4v68ezwM7R
 eWYLTjZtLXNu0oHKejFZbDT2QgR6dQk=
 =PM8X
 -----END PGP SIGNATURE-----

Angular 13 upgrade

ng 11

material 11

remove node-sass

flex layout upgrade

angular 12 with theming workaround

flex 12

upgrade nrwl libs

update lock file

update builder configs

update lock file

Angular 13 upgrade

fix

fix lint

workaround to remove
remove some unused dependencies

fix flex import

Signed-off-by: eromano <eugenioromano16@gmail.com>

renmove gropu and container as form field to review
fix most of the content cycle deps

Signed-off-by: eromano <eugenioromano16@gmail.com>

nx

Signed-off-by: eromano <eugenioromano16@gmail.com>

all build not sure all work

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix demo shell

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix demo shell

Signed-off-by: eromano <eugenioromano16@gmail.com>

[AAE-7662] attach file modal TabPage selector update - protractor (#7538)

* tab selector update

* trigger travis

* exclude failing test

[AAE-6345] New start process page APA (#7521)

* [AAE-6345] New start process page APA

* [AAE-6345] Added test

* [AAE-6345] Update

* CR

* Revrite wrapper to component

* Quick fix to e2e

* Show errors as ng-content

* Add Inplace word

* Fix unit tests

* Fix e2e

[ADF-5470] [E2E Automation] Test cases failing on the newest Chrome b… (#7539)

* [ADF-5470] [E2E Automation] Test cases failing on the newest Chrome browser 98

[AAE-7160] Setup Playwright in ADF - Storybook testing (#7537)

* [AAE-7160] Setup Playwright in ADF - Storybook testing

* New test cases for groups component. Reorganize the files

* Add to package.json scripts - npm run playwright

* Change amount of workers

* Change workesr to 2

[AAE-7338] Changed endpoint for process task list (#7522)

* [AAE-7338] Changed approach to use token injection

* [AAE-7338] moved model files up

* [AAE-7338] fixed imports

* [AAE-7338] changed class to interface

* [AAE-7338] fixed model imports

* * Fixed failing unit tests due recent changes

* [AAE-7338] fixed unit test

Co-authored-by: sivakumar414ram <sivakumar414ram@gmail.com>

[AAE-7765] Improved display mandatory form fields (#7531)

* [MNT-22765] Improved display mandatory form fields

* [MNT-22765] added unit tests

* [MNT-22765] fixed test with error icon on rest fail

* Trigger travis

* [MNT-22765] removed underscore from var name

* [AAE-7765] removed underscore from unit test

* [AAE-7765] fixed css lint

* [AAE-7765] fixed e2e error message css class

* [AAE-7765] fixed storybook e2e

additional unit tests for Viewer component (#7543)

* additional unit tests for Viewer component

* extra unit tests

* fix unit test

[ADF-5472] Missing placeholder for inplace input (#7541)

[AAE-7801] Export TaskListCloudServiceInterface and BaseCloudService (#7546)

[AAE-7376] Added process instance link in task details (#7544)

* [AAE-7376] Added process instance link in task details

* [AAE-7376] removed redirect logic from ADF

* Trigger travis

* [AAE-7376] added unit test

Playwright travis.yml update (#7545)

* Playwright travis.yml update

* Travis: Trigger

[AAE-7705] unexclude fixed test (#7547)

* [AAE-7705] unexclude fixed test

* trigger travis

LOC-359 - Full fix - UI files localized in 16 languages for ADF 4.9 (#7551)

Fail in case of error (#7550)

Release 4.9.0 (#7552)

* bump versions

* generate reports

* release notes

* update release link

Update .travis.yml (#7555)

Fix new URL configuration (#7557)

* Fix new URL configuration

* Update check-ps-cloud-env.sh

* Update check-ps-cloud-env.sh

* Update .travis.yml

* Update test.config.js

[AAE-5880] Add Tasks Create, DueDate range testing methods in the testing page (#7549)

* [AAE-5880] Add Tasks Create, DueDate range testing methods in the testing page

* [AAE-5880] fixed process definition name dropdown select

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>

[ci:force] Manually upgrade to latest js-api (#7560)

[AAE-7818] e2e - Task involved users can access process instance details (#7554)

* [AAE-7818] e2e - Task involved users can access process instance details

* Trigger travis

Bump eslint-plugin-import from 2.22.1 to 2.25.4 (#7527)

Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.22.1 to 2.25.4.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.22.1...v2.25.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump minimist from 1.2.5 to 1.2.6 (#7563)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump minimist from 1.2.5 to 1.2.6 in /tools/doc (#7561)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump minimist from 1.2.5 to 1.2.6 in /lib/cli (#7562)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Update header.component.md

[AAE-7819] Change column order - enable drag and drop for datatable - [1/3] (#7567)

* [AAE-7819] Enable drag and drop for datatable [1/3]

* [AAE-7819] Change column order - load and save columns order preferences for PROCESSES - [2/3] (#7568)

* [AAE-7819] Load and save column order preferences for processes

* [AAE-7819] Load and save column order preferences for tasks [3/3] (#7569)

* fix css

* fix icon module import

* Fix unit tests

* Fix test

* Fix e2e

* Fix C279927

[AAE-8086] Propagate form events (#7572)

* [AAE-8086] Propagate events

* [AAE-8086] Add form rules manager to the form renderer

* [AAE-8086] Extensibility improvements

* [AAE-8086] Fix wrong import

* [AAE-8087] Add form actions

* [AAE-8086] Initialize form rules manager on form renderer component changes

* [AAE-8087] Fix form actions

* [AAE-8087] Fix unit tests for field visibility

* trigger travis

Provide preference services on for tasks/processes on component module level (#7579)

[AAE-8086] Remove form rules events that kill performance (#7583)

* [AAE-8086] Remove form rules events that kill performance

* [AAE-8086] Handle form loaded event in form rules

[AAE-7313] User can claim a task only if he is an candidate and relea… (#7558)

* [AAE-7313] User can claim a task only if he is an candidate and release if he is assigned

* [AAE-7313] unit test improvements

* revert change on  angular.json

* [AAE-7313] removed focus from unit test describe

* Trigger travis

* Trigger travis

* [AAE-7313] exclude C593997 e2e

[AAE-8086] Add form field changed event (#7584)

* [AAE-8086] Add form field changed event

* [AAE-8086] Send field changed event only qhen value changes (not in visibility check)

[AAE-8061] Add groups restriction to people widget (#7586)

* [AAE-8061] add groups restriction to people widget

* Trigger travis

* [AAE-8061] fix lint

* [AAE-8061] fix unit tests

[AAE-7819] Fix for custom header (#7585)

Update branch for JS-API PR#63 (#7581)

* [ci:force][auto-commit] Update JS-API to 4.10.0-63 for branch: update-js-api originated from JS-API PR: 63

* [ci:force][auto-commit] Update JS-API to 4.10.0-64 for branch: update-js-api originated from JS-API PR: 64

* [ci:force][auto-commit] Update JS-API to 4.10.0-65 for branch: update-js-api originated from JS-API PR: 65

* [ci:force][auto-commit] Update JS-API to 4.10.0-66 for branch: update-js-api originated from JS-API PR: 66

* [ci:force][auto-commit] Update JS-API to 4.10.0-69 for branch: update-js-api originated from JS-API PR: 69

* [ci:force][auto-commit] Update JS-API to 4.10.0-70 for branch: update-js-api originated from JS-API PR: 70

* [ci:force][auto-commit] Update JS-API to 4.10.0-77 for branch: update-js-api originated from JS-API PR: 77

* generate package lock

* fix eslint plugin versions

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>

[ci:force][auto-commit] Update JS-API to 4.10.0-78 for branch: update-js-api originated from JS-API PR: 78 (#7589)

Bump karma from 6.3.16 to 6.3.17 (#7576)

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.16 to 6.3.17.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.16...v6.3.17)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump moment from 2.29.1 to 2.29.2 in /tools/doc (#7574)

Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[AAE-8554] - Fix linked dropdown values are displayed but not submitted (#7590)

* [AAE-8554] - Fix dropdown values are displayed but not submitted

* Make eslint allow ternary

[ADF-5480] Fix partially hidden icon on permissions (#7591)

Fix reules event filtering when no form is provided (#7592)

[AAE-8565] multiple use viewer in form (#7594)

* multiple use viewer

multiple use in the form of viewer needs multiple instance of ViewUtilService

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

use all the filter fields to count the elements (#7595)

[AAE-8061] Fix the group restriction for people widget (#7601)

* FIx the restrinction

* Fix unit test about restricted groups

* Add a small sleep to make it green

* Add sleep to other checks

* Remove sleeps, improve assertions

Co-authored-by: MichalFidor <michal.fidor@hyland.com>

AAE-8476 Update sample app (#7603)

Release 4.10.0 (#7602)

* bump library versions

* update package lock

* generate reports

* release notes for 4.10.0

Fix demo shell proxies (#7613)

Added font awesome to icons model map (#7616)

* Added font awesome to icons model map

* update

Update branch for JS-API PR#5 (#7615)

* [ci:force][auto-commit] Update JS-API to 4.11.0-121 for branch: update-js-api originated from JS-API PR: 5

* [ci:force][auto-commit] Update JS-API to 4.11.0-122 for branch: update-js-api originated from JS-API PR: 122

[AAE-7817] Show hide columns on datatable (#7580)

* [AAE-7817]  Show hide columns for data-table

* Update

* update tests and uses material harness

* added pipes test

* update

* update

* added tests for datatable

* update

* Added documentation

* Fix for drop column header

* lint fix

* fix lint

Update branch for JS-API PR#9 (#7625)

* [ci:force][auto-commit] Update JS-API to 4.11.0-124 for branch: update-js-api originated from JS-API PR: 9

* [ci:force][auto-commit] Update JS-API to 4.11.0-125 for branch: update-js-api originated from JS-API PR: 125

[AAE-8659] fix eslint configuration for rxjs (#7607)

* fix eslint configuration for rxjs

* update vs code settings

* disable arror-functions warning

[MNT-22924] Fix slow search results loading, limit number of pages (#7609)

* [MNT-22924] Fix slow search results loading, limit number of pages

* Add unit test

* Changed some of the values

Add eslint ban rule (#7611)

[AAE-8648] Fix deprecated copy to clipboard api (#7610)

[ci:force] Fix failing copy to clipboard test (#7631)

Added missing top-level export for MainMenuDataTableTemplateDirective (#7633)

[AAE-8639] Discovery OpenId - Load discovery and pass info to jsapi (#7632)

* Load discovery and pass info to jsapi

* fix the roles empty scenario tests

* Make lint happier

* Rename the initApi method

* Add secret field

Co-authored-by: arditdomi <ardit.domi@hyland.com>

[AAE-8764] Enable left labels in text, number and dropdown cloud widget (#7628)

Update branch for JS-API PR#126 (#7629)

* [ci:force][auto-commit] Update JS-API to 4.11.0-126 for branch: update-js-api originated from JS-API PR: 126

* [ci:force][auto-commit] Update JS-API to 4.11.0-127 for branch: update-js-api originated from JS-API PR: 127

* [ci:force][auto-commit] Update JS-API to 4.11.0-131 for branch: update-js-api originated from JS-API PR: 131

* [ci:force][auto-commit] Update JS-API to 4.11.0-132 for branch: update-js-api originated from JS-API PR: 132

* [ci:force][auto-commit] Update JS-API to 4.11.0-133 for branch: update-js-api originated from JS-API PR: 133

[AAE-7077] Reset people content service cache on logout (#7637)

* reset people content state on logout

* unit test

* use property accessor

[AAE-7817] Add columns selector for processes and tasks tasks (#7612)

* [AAE-7817] Add columns selector for processes and tasks tasks

* cr

* Update

* fix unit tests

* preserve order while sorting

* add input toggle to show main actions

* fix test

[AAE-8713] feat: create api registry with factories support (#7634)

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Michal Dobkiewicz <michal.dobkiewicz@hyland.com>
Co-authored-by: Michał Dobkiewicz <ddohcim@users.noreply.github.com>

use default profile email as scope (#7639)

[AAE-8856] Enable left label for form widgets in several widgets (#7640)

test: remove flaky file upload e2e test (#7648)

* test: remove flaky file upload e2e test

Revert "[AAE-8713] feat: create api registry with factories support (… (#7647)

* Revert "[AAE-8713] feat: create api registry with factories support (#7634)"

This reverts commit 226a6548a1fbaecad9f340e0ac688ef334ab4049.

fix small viewport attach file (#7650)

[AAE-6242] upload a new version of a file attached in a form (#7651)

* [AAE-6242] Create upload new version dialog to handle the upload of the new file version

* [AAE-6242] Create version manager service to open version manager dialog

* [AAE-6242] Export service and dialog

* [AAE-6242] add adf-upload button to the show the upload new file button

* [AAE-6242] open upload new version dialog

* [AAE-6242] Removed console log

* [AAE-8798] display update option name to newVersion

* [AAE-8799] Emit version manager data when new file version is uploaded

* [AAE-8799] When a new file version is uploaded open new version dialog and update current file version with the new file version

* [AAE-8799] Rename UploadNewVersionDialogComponent to VersionManagerDialogComponent and UploadNewVersionDialogData to VersionManagerDialogData

* [AAE-8799] Use default root folder id

* [AAE-8799] Add #uploadSingleFile ViewChild in order get the input reference

* [AAE-8799] Trigger adf-upload-button by clicking on the button in order to open the file chooser and upload a new file version

* [AAE-8799] Version manager dialog emits file upload error

* [AAE-8799] Format version manager dialog code

* [AAE-8799] Reject upload and permission errors

* [AAE-8799] Catch upload new version errors

* [AAE-8799] Update allowable operation type

* [AAE-8799] Rename VersionManagerDialogComponent into NewVersionUploaderDialogComponent and VersionManagerService into NewVersionUploaderService, create specific folder for new version uploader component and service

* Restore previous UploadButtonComponent version

* [AAE-8799] Use [adf-upload] directive to upload new file version

* [AAE-8799] Add mock file for new version uploader unit tests

* [AAE-8799] Override mat dialog configuration

* [AAE-8799] Add unit test related to event emitted from Dialog

* [AAE-8799] Create model to handle New Version Uploader data

* [AAE-8799] Return data on dialog close

* [AAE-8799] Add showVersionsOnly property to dialog to show only file version list

* [AAE-8799] Add dialogAction to emit dialog actions

* [AAE-8799] Return observable instead of promise

* [AAE-8799] Update new file version type

* [AAE-8799] Subscribe dialog because return an Observable

* [AAE-8799] Add license header

* [AAE-8799] Add i18n new version uploader translations

* [AAE-8799] If data.title is not provided, add a default title

* [AAE-8799] Change panelClass for manage versions visualizations, add dialog styles

* [AAE-8799] Add upload new version dialog unit test

* [AAE-8799] Add upload new version dialog unit test related to manage versions section

* [AAE-8799] Add onUploadNewFileVersion unit tests

* [AAE-8799] Test new dialog panelClass

* [AAE-8799] Create a method to set dialog title, if title isn't provided from parent component, a default title is set

* [AAE-8799] Add doc to new-version-uploader-dilog component and service

* [AAE-8799] Add new-version-uploader.dialog.service documentation

[AAE-8929] Get start event form static inputs (#7652)

* [AAE-8929] Get start event form static inputs

* [AAE-8929] Fix tests

[AAE-8948] Fix placeholders styles for left labels (#7656)

[AAE-8740 Add a confirmation message in ADW (#7660)

* [AAE-8740 Add a confirmation message in ADW

* update tests

* use MatDialogHarness for tests

* Cleaning tests

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>

[AAE-7856] Show process variables in table (#7630)

* [AAE-7856] Show variables in table

* Exclude flaky tests

* Revert "Exclude flaky tests"

This reverts commit 6ac24cc14a90d7b494fbc4dcc72e073e83a46457.

[AAE-7856] Show variables columns for tasks (#7659)

* Exclude flaky tests

* Revert "Exclude flaky tests"

This reverts commit 6ac24cc14a90d7b494fbc4dcc72e073e83a46457.

* [AAE-7856] Show variable columns in tasks

* revert loadTask to reload method name

* Temporary solution due to incompatible type used for dates

Update process variable column type (#7664)

[AAE-8748] - Auth guards call api when access is not in JWT (#7662)

* [AAE-8748] - Auth guards call api when access is not in JWT

* [ci:force] fix unit tests

* Remove fdescribe

* Add documentation and unit tests for the user access service

* Rename mocks, make e2e independent

* Fix login e2e

* Move forbidden access e2e under cloud

[AAE-8740] Fix default ConfirmDialogComponent title (#7665)

[ADF-5272] fe files upload form width is increasing if we upload file name too long (#7666)

* [ADF-5272] Add tooltip to show the entire filename

* [ADF-5272] Set max-width to div that contains filename to show ellipsis

[AAE-8155] Check if it is content admin only when content provider is available (#7667)

[AAE-8155] Fix typo in providers (#7669)

Update content-node-selector.component.scss (#7673)

[ADF-5479] Disable clam/release button for standalone tasks on APA (#7670)

* [ADF-5479] Disable clam/release button for standalone tasks on APA

* [ADF-5479] remove focus on unit test describe

* Trigger travis

[AAE-8076] Add groupsRestriction input to docs (#7645)

* [AAE-8076] revert storybook changes

* Trigger travis

[AAE-9094] - Fix app breaking when configured with BASIC auth (#7672)

Update branch for JS-API PR#134 (#7638)

* [ci:force][auto-commit] Update JS-API to 4.11.0-134 for branch: update-js-api originated from JS-API PR: 134

* [ci:force][auto-commit] Update JS-API to 4.11.0-136 for branch: update-js-api originated from JS-API PR: 136

* [ci:force][auto-commit] Update JS-API to 4.11.0-137 for branch: update-js-api originated from JS-API PR: 137

* [ci:force][auto-commit] Update JS-API to 4.11.0-138 for branch: update-js-api originated from JS-API PR: 138

* [ci:force][auto-commit] Update JS-API to 4.11.0-138 for branch: update-js-api originated from JS-API PR: 139

* [ci:force][auto-commit] Update JS-API to 4.11.0-140 for branch: update-js-api originated from JS-API PR: 140

* [ci:force][auto-commit] Update JS-API to 4.11.0-142 for branch: update-js-api originated from JS-API PR: 142

* [ci:force][auto-commit] Update JS-API to 4.11.0-144 for branch: update-js-api originated from JS-API PR: 144

* [ci:force][auto-commit] Update JS-API to 4.11.0-145 for branch: update-js-api originated from JS-API PR: 145

* [ci:force][auto-commit] Update JS-API to 4.11.0-146 for branch: update-js-api originated from JS-API PR: 146

* [ci:force][auto-commit] Update JS-API to 4.11.0-147 for branch: update-js-api originated from JS-API PR: 147

* [ci:force][auto-commit] Update JS-API to 4.11.0-148 for branch: update-js-api originated from JS-API PR: 148

* [ci:force][auto-commit] Update JS-API to 4.11.0-149 for branch: update-js-api originated from JS-API PR: 149

* [ci:force][auto-commit] Update JS-API to 4.11.0-150 for branch: update-js-api originated from JS-API PR: 150

* [ci:force][auto-commit] Update JS-API to 4.11.0-154 for branch: update-js-api originated from JS-API PR: 154

* [ci:force][auto-commit] Update JS-API to 4.11.0-154 for branch: update-js-api originated from JS-API PR: 157

* [ci:force][auto-commit] Update JS-API to 4.11.0-158 for branch: update-js-api originated from JS-API PR: 158

* [ci:force][auto-commit] Update JS-API to 4.11.0-159 for branch: update-js-api originated from JS-API PR: 159

* [ci:force][auto-commit] Update JS-API to 4.11.0-161 for branch: update-js-api originated from JS-API PR: 161

* [ci:force][auto-commit] Update JS-API to 4.11.0-162 for branch: update-js-api originated from JS-API PR: 162

* [ci:force][auto-commit] Update JS-API to 4.11.0-163 for branch: update-js-api originated from JS-API PR: 163

* [ci:force][auto-commit] Update JS-API to 4.11.0-164 for branch: update-js-api originated from JS-API PR: 164

* [ci:force][auto-commit] Update JS-API to 4.11.0-165 for branch: update-js-api originated from JS-API PR: 165

* [ci:force][auto-commit] Update JS-API to 4.11.0-166 for branch: update-js-api originated from JS-API PR: 166

* [ci:force][auto-commit] Update JS-API to 4.11.0-167 for branch: update-js-api originated from JS-API PR: 167

* [ci:force][auto-commit] Update JS-API to 4.11.0-169 for branch: update-js-api originated from JS-API PR: 169

Convert login fields validation e2e to unit (#7674)

[ci:force][auto-commit] Update JS-API to 4.11.0 for branch: update-js-api originated from JS-API PR: 173 (#7675)

[ADF-5494] Remove useless imports (#7678)

* Remove useless imports

* rollback constants

* Remove useless variable

[ACS-3108] Release 4.11.0 (#7677)

* bump versions

* generate reports

* release notes

Transform e2e into unit (#7671)

[AAE-8713] feat: create api registry with factories support (#7649)

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Michal Dobkiewicz <michal.dobkiewicz@hyland.com>
Co-authored-by: Michał Dobkiewicz <ddohcim@users.noreply.github.com>

Fix the nx path to avoid installing it globally (#7681)

* fix nx path

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx

[AAE-9293] Allow editing and restoring default process cloud filter (#7684)

* [AAE-9293] Allow editing and restoring default process cloud filter

* [AAE-9293] Fix e2e tests

* [AAE-9293] Fix review comments

[AAE-9135] Print simple form (#7683)

Fetch the userInfo once loggedIn and expose the capability of admin (#7682)

* Fetch the userInfo once loggedIn and expose the cabilibility of admin

* Rollback method

* Return same use if defined

* Use the same pepleContent service for UserInfoCOmpnent

* Remove useless import

* Use interface

* Use angular resolver instead of guard

* Remove fdescribe

* Fix linting

* Regenerate doc

* Improve doc

* Fix optional

* Fix the unit test

* Fix comment

* Fix lint

* Fix unit

* Add fetch user as part of the ssoGuard

* Fix unit test after fetch

* Add additional unit

* Fix await

[AAE-9337] Improve update project script (#7687)

[ci:force][auto-commit] Update JS-API to 4.12.0-191 for branch: update-js-api originated from JS-API PR: 32 (#7676)

APPS-1568 ACA should be extended to support visibility rules for Document List columns (#7685)

* APPS-1568 Extended rules functionality for Document List columns

[AAE-9298] FE ADF Date widget handle dynamic date values (#7689)

* [AAE-9298] Add dynamic date fields to FormFieldModel

* [AAE-9298] Change dynamic date range types from string to integer

* [AAE-9298] If dynamicDateRangeSelection is true, it will evaluate minDateRangeValue and maxDateRangeValue to set min and max date if are set

* [AAE-9298] Check if date range values are numbers

[AAE-9314] Fix preselected user display in completed task (#7688)

* [AAE-9314] Fix preselected user display in completed task

* [AAE-9314] add unit tests

* Trigger travis

[AAE-9019] - People/Group cloud with HxP (#7658)

* Cover the use cases by mocking them

* Replace the mock with real stream and remove useless code

* Provide new service to fetch groups

* Fix group tests

* Use the interface and token injection

* [AAE-8870] add unit test and mock for new service

* Improve roles condifion

* initialize the stream as part of NgOnInit to be sure it relies on the correct FormControl instance(input)

* Rollback tmp change for roles

* [AAE-8641] people abstraction mock

* [AAE-8641] revert angular.json changes

* [AAE-8641] few conditions and code improvements

* [AAE-8641] revert change input controls name

* [AAE-8641] initialize the stream as part of ngOnInit

* [AAE-8641] people abstraction improvements

* [AAE-8870] cherry pick people abstraction

* [AAE-8641] fix people-group e2es

* fix lint

* remove hardcoded identityHost

* Use the identityhost api in case of cloud

* Solve issue with returnType array string

* Rebase and use GroupModel from cloud

* Rebase and use GroupModel from cloud

* Use the bpmHost instead of identityFor

* Add identity ingress for user access service

* Rename test

* Fix linting issues

* Fix playwright storybook e2e for people and group

* Trigger travis

* Fix people group e2e

* improved formatting

* Remove not needed travis var override

* Remove unused import after rebase

* Make roles in filter optional + remove comments

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>

[AAE-9365] - Auth guards should return true when no roles to check are passed (#7695)

[AAE-9190] - ATTACH FILE: view file content directly by clicking (#7693)

* [AAE-9190] ATTACH FILE: view file content directly by clicking

* unit test added

* fix

* delete comment

* fix CR

* fix

* fix identation

* delete extra spaces

* change import in unit test

* fix

* fix space lint

[AAE-9112] Included a output event on change of language (#7697)

[AAE-9382] SSOGuard - Call the acs user only in case of ECM (#7696)

* Call the acs user only

* Fix and add unit test

[AAE-9370] Add manageruser to default apps (#7698)

* Add manageruser to default apps

* Try to ignore resource file to avoid affected

[ci:force][auto-commit] Update JS-API to 4.12.0-197 for branch: update-js-api originated from JS-API PR: 197 (#7692)

[AAE-9310] Add missing initial on task assignment dialog (#7694)

* [AAE-9310] Add missing initial on task assignment dialog

* [AAE-9310] rewrite full-name pipe

* [AAE-9310] improved build username or email

* Trigger travis

* [AAE-9310] improve buildFromUsernameOrEmail

[AAE-7865] Added process with displayable variables (#7703)

[AAE-7865] Configuration of columns in Task and Process Lists in ADW e2e (#7701)

* [AAE-7865] Configuration of columns in Task and Process Lists in ADW e2e test

* Update

* Cr

* Added variable task data

Angular 13 upgrade

Signed-off-by: eromano <eugenioromano16@gmail.com>

make unit test start

Signed-off-by: eromano <eugenioromano16@gmail.com>

some fix for unit test

Signed-off-by: eromano <eugenioromano16@gmail.com>

full compilation mode

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

core fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix cloud unit test

Signed-off-by: eromano <eugenioromano16@gmail.com>

nx 13

Signed-off-by: eromano <eugenioromano16@gmail.com>

remove S3

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix command

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix lint

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

Fix imports and storybook stories

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

revert modify package.json and uncommented code

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix lock

Signed-off-by: eromano <eugenioromano16@gmail.com>

fic

Signed-off-by: eromano <eugenioromano16@gmail.com>

Use proper file name

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

revert

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix travis before and after e2e

Signed-off-by: eromano <eugenioromano16@gmail.com>

try

Signed-off-by: eromano <eugenioromano16@gmail.com>

ls  node

Signed-off-by: eromano <eugenioromano16@gmail.com>

tentative n1

Signed-off-by: eromano <eugenioromano16@gmail.com>

before

Signed-off-by: eromano <eugenioromano16@gmail.com>

release alpha version A13

Signed-off-by: eromano <eugenioromano16@gmail.com>

release alpha

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

partial

Signed-off-by: eromano <eugenioromano16@gmail.com>

refactor form rendering :
remove tabs widget and container widget due dependency loop

Signed-off-by: eromano <eugenioromano16@gmail.com>

lint

Signed-off-by: eromano <eugenioromano16@gmail.com>

handle group

Signed-off-by: eromano <eugenioromano16@gmail.com>

[AAE-7958] update - playwright and C260040 exclude

fix build content

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix render dynamic table

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix unit

Signed-off-by: eromano <eugenioromano16@gmail.com>

revert

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix
increase use of the field cache
check before if tab is visible improve performance tabs  visibility

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix style

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix module

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix after rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix after rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix import

Signed-off-by: eromano <eugenioromano16@gmail.com>

update lock

Signed-off-by: eromano <eugenioromano16@gmail.com>

node 14 back

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix lock

Signed-off-by: eromano <eugenioromano16@gmail.com>

cli build

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix build testing and cli

Signed-off-by: eromano <eugenioromano16@gmail.com>

version bump 5

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix build cli

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix cli

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix duplicate build and themes

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix storybook

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix unit test

Signed-off-by: eromano <eugenioromano16@gmail.com>

update package json files to reflect esm reqs

fix lib path

remove type module for karma sake

Get rid of moment-es6 package

fix after rebase

fix different  version commander

use same commander main pkg

new release strategy for ng next

Signed-off-by: eromano <eugenioromano16@gmail.com>

peer dep

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix test

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix shared enty point testing

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix moment import

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix moment in testing

fix moment

Signed-off-by: eromano <eugenioromano16@gmail.com>

Update mat-datetimepicker package version

Update peerDeps version to match the ones in the root

Fix invalid storybook configuration

Revert the file due a wrong rebase (I suppose) aligning the file with latest develop

Revowe flaky e2e that will be replaced by storybook

Fix the autoscaling for page-fit

* Syncing angular version to be patch perfect

* Pre-release of 5.0.0-angular.13

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-08-08 18:07:58 +02:00
Denys Vuika
b8bb234410
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics

* add schematics

* upgrade demoshell to eslint

* fix eslint issues for demoshell

* integrate eslint for ADF core and fix some issues

* turn into warn

* fix code

* workaround for Chrome clipboard issue

* exclude e2e tests

* exclude e2e
2022-02-02 18:01:47 +00:00
Denys Vuika
6f968f7e4a
[AAE-5637] Remove SCSS mixins and use CSS variables (#7250)
* remove default-class mixin and use regular import

* cleanup colors

* remove variables file, fix bugs in animations

* proper ordering of imports, core css vars

* cleanup snackbar and material themes

* tags component

* login component styles

* app login

* toolbar component styles

* breadcrumb styles

* dropdown breadcrumb

* app layout component

* demo shell: files component

* aspect list styles

* content metadata styles

* node selector

* name location cell

* node share dialog

* content type dialog

* folder dialog

* document list

* datatable theme

* pagination theme

* viewer theme

* viewer theme

* user-info theme

* container widget

* dynamic table theme

* form widgets

* form theme

* form renderer

* sidebar menu

* header theme

* info drawer theme

* comment list

* commens and layout container

* sidenav layout

* empty content

* error content

* clipboard theme

* search input

* tooltip card and notification history

* card view theme

* remove unused keys

* add permission dialog

* search and permission dialogs

* version comparison and column themes

* upload drag area and cleanup references

* remove the need for content styles

* insight components

* cleanup insights theme

* process components

* process components

* process cloud themes

* cleanup unsed imports

* cleanup mixins

* update build scripts

* test fixes

* remove fdescribe

* css fixes

* update unit tests
2021-09-29 13:17:05 +01:00
Denys Vuika
829805e201
[ADF-5432] component template and code fixes after testing Angular strict mode (#7118)
* process list fixes

* template error fixes

* template and code fixes

* bug fixes in templates and types

* bugs, bugs are everywhere

* fix test

* test fixes

* enable strict templates for extensions lib

* enable strict mode for insights lib

* enable strict mode for core lib

* enable strict mode for content lib

* strict mode for process lib

* strict mode for process cloud

* fix demo shell template issues

* fix process cloud types
2021-06-22 16:36:06 +01:00
Dharan
9a2a62255f
[ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event (#7087)
* [ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event

* [ci:force] unit test fixed
2021-06-08 09:00:04 +01:00
Denys Vuika
e94b2f99bd
[ADF-5406] SCSS and HTML template path fixes (#7063)
* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
2021-06-01 09:21:00 +01:00
Vito
e62c752f1f
[ADF-5305] - Added aspect list component (#6549)
* [ADF-5305] - Creation of aspect list and aspect list dialog components

* [ADF-5305] - unit test for aspect list

* [ADF-5305] - added filtering for aspects

* [ADF-5305] - enabling tests

* [ADF-5305] - added filtering and unit test

* [ADF-5305] - added context action to demo shell

* [ADF-5305] - added button on metadata card for opening aspects

* [ADF-5305] - fixed unit test for filtering aspects

* [ADF-5305] - added documentation

* [ADF-5305] - fixed lint

* [ADF-5305] - Updated the js-api calls

* [ADF-5305] - Removed circle dependency

* [ADF-5305] - Simplified code

* [ADF-5305] - revert changes on package.json

* [ADF-5305] - removed extra cspell word

* [ADF-5305] - added filtering on aspect list service

* [ADF-5305] - fix unit test for aspect service

* [ADF-5305] - reverted changes to package-loc

* [ADF-5305] - removed unused changes

* [ADF-5305] - attempt to fix PR #§

* [ADF-5305] - attempt to fix PR #2

* [ADF-5305] - attempt to fix PR #3

* [ADF-5305] - attempt to fix PR #4

* [ADF-5305] - attempt to fix PR #5

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2021-02-17 11:13:35 +00:00
Denys Vuika
31bac2da24
[ACA-4205] reload on sorting only for server mode (#6420)
* reload on sorting only for server mode

* cleanup demo shell / files
2020-12-04 17:36:02 +00:00
davidcanonieto
9bbdee5de0
[ADF-5297] Success Snackbar messages showning as errors (#6404) 2020-12-01 23:57:46 +00:00
davidcanonieto
b0a46f7eac
[ADF-5219] Refactor Document list Filters (#6092)
* First commit

* Second commit

* Commit 4

* Add unit tests

* Fix unit tests

* Add documentation for breaking change

* Fix rebase

* Fix unit test
2020-09-25 10:08:15 +01:00
siva kumar
6fa02548ae
[AAE-3321] Select uploaded local files by default (#6079)
* [AAE-3111] Select uploaded files by default

* [AAE-3321] Select uploaded local files by default

* * After rebase

* *  Renamed method/property names

* * Fixed comments
* Added a private method to bubble up preselected nodes

* * Added unit tests

* * Fixed typo* added doc* Preselect based on the selection mode

* * Added way to test in demo shell
2020-09-14 09:07:41 +01:00
davidcanonieto
0e8b28dc49
[ACA-3542] Fix Filter sorting initialization (#6018) 2020-08-17 15:02:47 +01:00
davidcanonieto
5850f4c929
[ADF-5218] Fix custom stencil usage on Start Process Form (#5999)
* [ADF-5218] Fix custom stencil usage on Start Process Form

* Fix e2e test

* Fix task form provider

* Fix people tests

* Add docs

* Update stencil docs

* Remove outdated docs

* Update task details component
2020-08-14 20:45:07 +01:00
Vito
85183ead0d
[ACA-3542] - added sorting for filters (#5932)
* [ACA-3542] - added sorting for filters

* [ACA-3542] - removed wrong parameter

* [ACA-3542] - fixed test with fixed sorting mode parameter

* Update content-node-selector-panel.component.html

* fix e2e

* fix delete site

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-08-03 10:30:14 +01:00
arditdomi
d553c71b1e
[AAE-3110] Move upload button inside the node selector dialog (#5901)
* Open select dialog on all types, fetch destination folder from a relative path

* Dialog UI refactor, multiple upload from local

* Fix document list should automatically reload after upload

* Remove not used ViewChild

* Fix imports, read destination folder from form field

* support different alias

* Remove not needed property, reuse selection mode

* Remove unused methods

* Fix unit tests

* * Added unit tests
* Fixed failing unit tests

* * Added unit for upload button
* Skipped failing e2e

* * Removed process-storage related code

* * Removed unncessory model and code
*

* * Removed contentHost from formCloud model

* * Skiped content-services e2e

* Skip failing process e2e related to attachment

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-07-31 06:38:58 +01:00
Vito
01a068550f
Put folder on top by default (#5918) 2020-07-28 09:13:04 +01:00
Vito
30c5c58d40
[ACA-3672] - added server order for document -list (#5899)
* [ACA-3672] - added sorting server side for document-list

* [ACA-3672] - added and fixed unit tests for backend order

* [ACA-3672] - fixed failing test

* [ACA-3672] - regenerated doc and renamed variable

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-07-23 14:04:05 +01:00
Cilibiu Bogdan
5257917258
[ADF-3484] - Metadata drop-down list option for properties constrained by a list of values (#5892)
* update js-api

* include definition field

* process LIST constraint

* update tests

* dropdown visibility

* optional chaining
2020-07-21 22:46:46 +01:00
Vito
3b7f3a5762
[ACA-3506] - Filter are kept when reloaded (#5885)
* [ADF] - saving in the url the filter values

* Fixed filter status on refresh

* Fixed filter status on refresh

* [ACA-3506] - added url filtering save

* [ACA-3506] - fixed spellcheck

* improve log

* more log

* fix scripts

* Added documentation for allowUpdateOnChange setting

* Added default value in description for docs

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-07-20 11:39:51 +01:00
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

* Add dependencies among libs and run only affected unit test and build

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
Vito
29d953e2d1
ACA-3426 - Search Headers for Document List (#5800)
* [ACA-3426] Move filter-menu inside search and renamed as search-header

* [ACA-3426] adf-search-header removed from document-list and implemented in app-files

* [ACA-3426] Allow custom header filters inside document-list

* [ACA-3426] Decouple search from the document-list

* [ACA-3409] NodePaging ouputed to the DL

* [ACA-3426] - fixed injection for service

* Dev baptiste aca 3430 (#5773)

* [ACA-3430] Add style to filter and hide action buttons from facet widgets

* [ACA-3430] Update eventEmitter created in the DL and create  unit tests for the search-header

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>

* [ACA-3426] - added parent for service

* [ACA-3426] - added parent for service - fixed method

* [ACA-3426] Revert update EventEmitter inside DL

* [ACA-3436] Use of the node input instead of nodeUpdate mehtod

* [ACA-3426] Add clear behaviour to search-header

* [ACA-3426] Remove useless update exposition

* [ACA-3426] Update filter button styles and padding inside the filter menu

* [ACA-3443] Propagate filters states through DL and datatable to avoid hiding the header

* [ACA-3426] Refactor showHeader logic and use it for the filters

* [ACA-3426] - fixed pagination for filter result

* [ACA-3426] - fixed messed files after rebase

* [ACA-3426] - added simplified config version

* [ACA-3426] - enabling created by filter

* [ACA-3426] Fix search-date-range apply method

* [ACA-3426] Fix loading style and default showHeaderMode

* [ACA-3426] Changed showHedaer default to always

* [ACA-3426] - stabilised the feature and added injection token

* [ACA-3426] Add unit test for showHeader new behaviour

* [ACA-3426] Add documentation to search-header

* [ACA-3426] - added parent filtering for special folders

* [ACA-3426] - added unit test for search header

* [ACA-3426] - fixed search fitler behavour

* [ACA-3426] - fixed search result inject service

* [ACA-3426] - fixed search result inject service for search sorting

* [ACA-3426] - fixed title for matching selector

* [ACA-3426] - fixed app config with missing search widget

* Update search-header.component.md

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-22 09:24:57 +01:00
Denys Vuika
e9350bd297
various code quality fixes (#5792)
* various code quality fixes

* reduce duplicated code

* add safety check
2020-06-18 17:57:46 +01:00
Urse Daniel
4cb3a876d9
[ACA-45] Drag and Drop a New Version (#5710)
* added a new input: file

* unit test - having singleFile option and a file as input, the type of the input for uploading should be button instead of file

* added a click event for the upload button and also handle if having a file as input, the type of the input should be 'button' instead of 'file'

* handling allowed for upload also for 'update' permissions over a dropped file. also emitting a new event for updating file version if i'm dropping a single file over another file.

* unit tests for handling dropping a file over another

* added a new input (file type)

* passing a file to adf-version-upload component

* new input as file and toggle new version if having that as input + unit test

* added new input as file for new version

* added new input to allow dropping a file over another to update it's version

* added a new variable for handling dropping a file over another one and also handle a new event when we update the file version

* pass a new dropped file to the dialog

* new message

* new method to allow isDropTarget for a file instead only to folders.

* new emitter for updating a file's version

* allows updating a file's version by dropping another file over it.

* refactor allowDropFiles

* update docs for drag&drop file into another file

* update for drag&drop a file over another file functionality

* made the allowDropFiles checking optional for isDropTarget property, only checking if the value is passed to the share-data-row

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-20 11:57:17 +01:00
Denys Vuika
e806e97c75 [AAE-207] support aps 1.x for upload reset (#5260)
* support aps 1.x for upload reset

* update test

* revert pdfjd change

* fix error reporting and crash from upload button

* i18n support for generic error

* fix test
2019-11-21 15:06:00 +00:00
Denys Vuika
3dd43ce9b5
[ADF-4997] no-duplicate-imports rule (#5256)
* no-duplicate-imports rule

* no-duplicate-imports rule
2019-11-15 13:38:01 +00:00
Denys Vuika
d7ab0417b8
[AAE-622] No implicit returns (#5157)
* enable noImplicitReturns rule

* type fixes

* fix return types

* fix return value

* fix tests

* fix visibility service

* update tests

* add missing types

* fix test
2019-10-17 09:35:39 +01:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Denys Vuika
1abb9bfc89 [ADF-4745] memory leak fixes (#4931)
* fix app-layout component

* fix card-view component

* fix cloud-layout service

* code fixes

* code fixes

* even more fixes

* even more fixes

* lint fixes

* test fixes

* fix code

* remove useless pipes

* fix code owners

* enable spellcheck for cloud components

* update test

* update test
2019-07-16 15:56:00 +01:00
Eugenio Romano
5ce06d80cb remove wrong use of get in translation service 2019-07-11 19:50:03 +01:00
Eugenio Romano
79a95ecd5d use instant pipe translate in demo shell error message 2019-07-11 16:24:18 +01:00
Denys Vuika
f64cd9cffd
[ADF-4640] share dialog fixes (#4830)
* unshare fixes and error notifications

* fix disabled toggles issue

* code fixes and separate interface

* remove 'isFavorite' include

* safety checks for properties

* update e2e

* refactor test after functionality change

* fix issue with the missing properties

* safety checks
2019-06-12 17:21:23 +01:00
Denys Vuika
ac224a0b82
[ADF-4489] metadata errors demoshell (#4720)
* raise errors in demo shell for metadata

* remove commented out code
2019-05-14 11:45:07 +01:00
Eugenio Romano
64be9e3624
[NO-ISSUE] Fix e2e test (#4621)
* fix sso, change timeout, parallel

* cange travis

* move name apps in resources file

* resources fix

* resources fix

* add sleep before search group

* add possibility to extend duration of snack-bar message from configuration

* fix unit test

* fix unit test

* remove timeout

* change timeout

* decrease message time

* add lint main branch travis

* reduce timeout

* add new check application presence

* change permission script
fix search selector

* fix travis conf

* check app environment and upload the app if abbsent

* fix cloud test

* remove duplicate

* restore ps test

* restore resources file

* fix e2e test

* process with variables missing

* test new conf travis

* fix lint

* fix spellcheck

* remove duplicate module

* fix ps module

* fix travis conf

* change check activiti env

* add concept of processes in resources
2019-04-18 13:31:42 +02:00
Denys Vuika
e75335a06d [ADF-3794] Update individual rows without reloading DocumentList (#4213)
* reload table cells on node updates

* update unit tests

* update dynamic columns

* fix value type

* fix tests

* update code as per review

* update variable name

* test fixes, core automation service

* fix test
2019-03-27 11:38:37 +00:00
Eugenio Romano
5a7fe6f499
[ADF-4267] expose stiky heder in document list (#4455)
* expose stiky heder in document list

* lint fix
2019-03-19 16:41:28 +00:00