85 Commits

Author SHA1 Message Date
Denys Vuika
d829d8eefb
AAE-34390 Clean old theming files (#10800) 2025-04-22 18:30:30 -04:00
Wojciech Duda
3912a652d5
[AAE-16369] use layout-bp mixin where applicable (#8945)
* [AAE-15828] layout-bp mixin for core

* [AAE-15828] fixed import

* [AAE-15828] layout-bp for process-services-cloud

* [AAE-15828] layout-bp for process-services

* [AAE-15828] layout-bp for content-services

* [AAE-15828] fixed incorrect values

* [AAE-15828] lint fix

* configure stylePreprocessorOptions for cross project scss importing

* scss import cardio

* set correct style paths for packages

* [AAE-16369] addded missing test config

* [ci:force] fix for the pretheme build

* unified configs for libs
2023-10-23 15:36:26 +01:00
Maurizio Vitale
eb8bad1f96
[AAE-12124] Use a function to remove js files (#8157)
* Use a function to remove js files

* try to check the asset
2023-01-17 14:47:50 +00:00
Maurizio Vitale
1fa81962a0
👽 Angular 14 rebase 👽 (#7769)
* fix after rebase

* new release strategy for ng next

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

* peer dep

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

* Angular 14

fix unit test and storybook

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

fix after rebase

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

update pkg.json

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

missing dep

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

Fix mistake and missing code

Dream....build only affected libs

Add utility run commands

* Use nx command to run affected tests

* Fix nx test core

fix content tests

Run unit with watch false

core test fixes

reduce test warnings

Fix process cloud unit

Fix adf unit test

Fix lint process cloud

Disable lint next line

Use right core path

Fix insights unit

fix linting insights

Fix process-services unit

fix the extensions test report

fix test warnings

Fix content unit

Fix bunch of content unit

* Produce an adf alpha of 14

* hopefully fixing the content

* Push back the npm publish

* Remove flaky unit

* Fix linting

* Make the branch as root

* Get rid of angualar13

* Remove the travis depth

* Fixing version for npm

* Enabling cache for unit and build

* Fix scss for core and paths

Copy i18 and asset by using ng-packager

Export the theming alias and fix path

Use ng-package to copy assets process-services-cloud

Use ng-package to copy assets process-services

Use ng-package to copy assets content-services

Use ng-package to copy assets insights

* feat: fix api secondary entry point

* fix storybook rebase

* Move dist under dist/libs from lib/dist

* Fix the webstyle

* Use only necessary nrwl deps and improve lint

* Fix unit for libs

* Convert lint.sh to targets - improve performance

* Use latest of angular

* Align alfresco-js-api

Signed-off-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
2022-08-25 10:50:30 +01: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
Eugenio Romano
ce43d0a766
Clean style creations ADF (#7385) 2021-11-29 16:14:26 +00:00
Denys Vuika
c1860f0c1f
[ADF-5410] code fixes and updates prior to Angular 12 upgrade (#7177)
* package fixes

* upgrade stylelint config

* upgrade configuration and stats

* code fixes based on Angular upgrade

* rework scss-bundle usage

* use node 14 with travis (lts)

* fix production builds

* fix node sass version
2021-07-15 12:48:23 +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
Eugenio Romano
7c90c9b372
Improve css prebuilt creation and minimize (#5553)
* improve CSS creation strategy and minimize

* remove multiple select slow down test
2020-03-17 18:59:52 +00:00
Maurizio Vitale
6331979baa [ADF-4857] Be able to run ng build content-service (#5183)
* Be able to build conten with ng build content-service

* fix tslint

* The translate module is necessary

* Rollback the build commands

* Rollback

* Remove wrong imports

* Trigger the build
2019-10-24 19:23:30 +01:00
Maurizio Vitale
6860ab73ab [ADF-4859] Make sure the ng build insight works (#5141)
* Make sure the ng build insight works

* Fix styles
2019-10-10 09:57:20 +01:00
Maurizio Vitale
cd7e21a23d [ADF-4858] Make sure process-services works with ng commands (#5067)
* Process-services:
Making sure you can run
ng build process-services
ng test process-services

* Fix the path of the styles

* move the file in the right place
2019-09-20 09:47:17 +01:00
Eugenio Romano
b806556453
[no-issue] improve e2e timeout and names apps (#4604)
* fix sso, change timeout, parallel

* cange travis

* split viewer test

* timeot fix

* move name apps in resources file

* resources fix

* resources fix

* fix search default

* fix sso test

* fix test
2019-04-15 01:01:47 +02:00
Maurizio Vitale
073311185f [ADF-2788] Fix the process service coverage path and config (#4009)
* Fix the process service coverage path and config

* Create a index report page and run the liteserver
2018-11-27 16:53:32 +00:00
Maurizio Vitale
f0dff4d011 Travis cache (#3972)
* Use name instead of env

* Enable cache dist

* enable only master and dev

* rename e2e lib

* add nx and smart build

* disable packaging and create demo shell stages

* use same name

* Enable affected e2e for core and process

* Enable affected libs check on all the e2e

* fix e2e condition

* Enable unit tests

* Manage case deps not present

* add name typo

* add affected folder to check e2e

* change an e2e test

* remove branch typo

* Update .travis.yml
2018-11-19 13:28:02 +00:00
Maurizio Vitale
0ecb6c13ec [ADF-3538] Alfresco Process Service Cloud - new package with CLI (#3872)
* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* change index

* fix package

* Fix module structure with Cli

* add basic structure

* Create a library with angular cli

* Add a cloud component as example

* Skip the scss style

* add the import scss

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* Fix process service cloud path

* Download process-service-cloud from the CS
2018-10-16 18:15:11 +01:00
Cilibiu Bogdan
42f4bee2b4 [ADF-3530, ADF-3598] Sharing files (#3828)
* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
2018-10-01 14:10:40 +01:00
Denys Vuika
6b24bfb1d4 [ADF-3299] and [ADF-3300] upgrade to Angular and Material 6 (#3579)
* upgrade to HttpClient

* upgrade to Renderer2

* upgrade Document reference

* remove useless test with deprecated ReflectiveInjector

* upgrade to latest typescript

* upgrade libs

* upgrade package scripts

* remove rxjs blacklists and duplicate rules

* add rxjs compat to help with migration

* fix breaking changes

* fix breaking changes in material

* fix breaking changes (material 6)

* upgrade rxjs, ngx-translate and flex layout

* update unit tests

* restore providers

* upgrade deprecated Observable.error

* rebase
fix first configuration problems

* fix style issues commented

* fix core build

* fix lib template errors

* move lib test execution in angular.json

* ignore

* karma conf files

* fix import statement test

* single run option

* update packages reporter

* restore report

* increase timeout

* improve karma conf test configuration

* fix test issues about lint

* fix test analytics

* fix process service test

* content service fix test

* fix logout directive test

* fix core test

* fix build

* update node-sass to latest

* update angular cli dependencies

* improve build script

create directorites and move files only if previous command succeded

* upgrade individual libs to 6.0

* remove old webpack files

* revert sass change

* fix type issues
fix style issues

* fix tslint demo shell issue

* fix peerdependencies

* fix test e2e BC

* package upate

* fix style import issue

* extract-text-webpack-plugin beta

* fix test dist build command

* remove alpha js-api

* fix tslint issue
add banner tslint rule

* upload service fix

* change BC script

* fix test dist script

* increase demo shell timeout test

* verbose copy

* path absolute

* fix script bc

* fix copy part

* fix path warning
fix monaco editor

* remove duplicate header

* remove unused import

* fix align and check ago tests

* add missing import

* fix notification button selector

* [ANGULAR6] fixed core tests

* fix CS test

* fix cs test step 2

* increase travis_wait for dist

* fix attachment PS

* fix checklist test

* use pdf min
2018-08-14 15:42:43 +01:00
Eugenio Romano
afdedf02d1
[ADF-3191] Not able to login only to BPM or ECM (#3478)
* disable random test

* host setting component reset JS-API

* reload api after user prefrence change

* remove replicate reset

* missing semicolon

* deprecate provider property

* remove trailing space

* check new value before to set
2018-06-13 16:05:35 +01:00
Andy Stark
beeb7bd369 [ADF-3150] Moved all doc tool config settings to doctool.config.json (#3455)
* [ADF-3150] Moved undoc stoplist to doc config file

* [ADF-3150] Moved config to doctools.config.json and removed obsolete scripts
2018-06-08 00:22:50 +02:00
Eugenio Romano
eb0f91c5db fix random test failing part 2 (#3395)
* fix random failing test core search/comment/auth/user

* fix node delete directive

* fix lint issues

* node restore fix

* fix comment test

* remove fdescribe

* fix tests and tslint

* fix upload test

* unsubscribe success event task test

* copy comment object during test

* use the data pipe performance improvement and standard usage

* uncomment random test

* fix comment date random failing test

* disposable unsubscribe

* fix start process

* remove fdescribe

* change start process test and remove commented code

* fix error event check double click

* clone object form test

* refactor date time test

* fix service mock

* fix test dropdown and context

* git hook lint

* fix language test

* unsubscribe documentlist event test

* fix disposable error

* fix console log service error document list

* unusbscribe search test

* clear input field

* remove wrong test
2018-05-29 10:18:17 +01:00
Eugenio Romano
7e67257b8a
first part random test fix (#3376)
fixing random test executions first part
2018-05-23 01:23:54 +01:00
Andy Stark
60644d9917 [ADF-2969] Moved doc tools to new tools folder (#3314)
* [ADF-2969] Moved doc tools to new tools folder

* [ADF-2969] Added files missing from schematic

* [ADF-2969] Added missing files to schematic
2018-05-11 14:01:19 +01:00
Andy Stark
06992196cd [ADF-2824] Reviewed docs for core and content services (#3290)
* [ADF-2824] Reviewed card view docs

* [ADF-2824] Reviewed doc for core and content services

* [ADF-2824] Added class name exception to prop script
2018-05-09 15:03:22 +01:00
Eugenio Romano
fe0ac0e474
move tslint ADF rules in principal repo (#3247)
* move tslint ADF rules in principal repo

* fix style issues

* change pacakge.json position

* update to angular cli 6.0.0

* reorganization package.json

* remove node modules2 folder

* exclude integration

* rollback alfresco-js-api

* solve types problems

* fix pdf test

* fix errors and exclude two tests

* fix e2e

* fix test

* copy all the new packages in node_modules

* fix test

* fix packaging script

* scss issue fix

* move test export in tools
2018-05-04 17:13:45 +01:00
Andy Stark
8f9cb75120 [ADF-2911] Improved error message handling in doc tools (#3267) 2018-05-03 16:39:04 +01:00
Andy Stark
2c0e7aa035 [ADF-2847] Added Class members headings and rebuilt prop/method tables for docs (#3240)
* [ADF-2847] Added class members heading to content services docs

* [ADF-2847] Updated all prop/method tables in content services
2018-04-26 14:54:25 +01:00
Denys Vuika
3a51c27f66 [ADF-2189] new search facets (#3230)
* slider facet

* number range facet

* unit tests

* remove fdescribe

* remove old demo-only content

* remove old tests

* Support "include" and "field" values with app config

* exclude deprecated demo content from export checks
2018-04-25 17:45:14 +01:00
Andy Stark
8f27cd1758 [ADF-2764] Added tool to add links to type names in Markdown files (#3226)
* [ADF-2764] Added basic type linker tool

* [ADF-2764] Support for class links in body text

* [ADF-2764] Started support for multi-word class names (not working yet)

* [ADF-2764] Updated script to handle English component names
2018-04-24 14:30:51 +01:00
Denys Vuika
382ea3c1b3 unit test performance (#3194)
* DataTable (-4 sec)

* PaginationComponent (-1 sec)

* DocumentList

* custom testbed setup, test upgrades

* test fixes

* more test fixes

* remove fdescribe

* test fixes

* test fixes

* more test fixes

* test fixes

* upgrade tests

* update tests

* upgrade tests

* upgrade tests

* upgrade tests

* upgrade tests

* update tests

* translate loader fixes

* auth and cookie fixes

* upgrade tests

* upgrade tests

* test fixes

* almost there

* diable broken tests

* process tests (part 1)

* fix lint issues

* another test upgrade

* almost there

* cleanup

* insights testing upgrade

* improve tests

* tests cleanup

* tests cleanup

* cleanup tests

* test cleanup

* favorite nodes tests

* rebase fix syntax

* fix core test

* give up test focus

* flush tabs

* fix search test

* Update document-list.component.spec.ts

* fix document list lock

* increase tick time

* remove duplicate test
2018-04-23 09:55:22 +01:00
Andy Stark
e0cc0fc7c5 [ADF-2643] Added compatibility info to version index (#3218)
* [ADF-1643] Updated version index and script to support compatibility info

* [ADF-2643] Added links and compatibility info
2018-04-19 16:20:00 +01:00
Andy Stark
026da57cb8 [ADF-2759] Updated doc script to allow multiple config profiles (#3211) 2018-04-18 11:15:47 +01:00
Eugenio Romano
06d85aa8d3 add export check 2.3.0 2018-04-17 17:56:27 +01:00
Eugenio Romano
6cd0e9f5bb
[ADF-2645] move the service use in the upload in the right place (#3189)
[ADF-2645] move the service use in the upload in the right place 
[ADF-2687] No message is displayed when deleting a file/folder from content action
[ADF-2714] [demo shell] Not able to download a version of a file

* add spaces tslint fix
2018-04-14 10:39:24 +01:00
Andy Stark
d0f5bad894 [ADF-2679] Added first tutorials (#3186)
* [ADF-2679] Updated tutorial index script and added the first few tutorials

* [ADF-2679] Minor fixes to README and index script
2018-04-13 14:50:29 +01:00
Andy Stark
0d2f0b7b84 [ADF-2670] Updated doc indexes for 2.3 (#3183)
* [ADF-2670] Updated doc indexes for 2.3

* [ADF-2670] Clarified explanation of sharedLinkId property in Viewer

* [ADF-2670] Updated review checker for new doc folder structure
2018-04-12 16:46:35 +01:00
Andy Stark
809cf56e2b [ADF-2679] Added tutorial index tool (#3175) 2018-04-11 17:46:27 +01:00
Andy Stark
38de016893 [ADF-2670] Reviewed sidenav docs and updated index files (#3172)
* [ADF-2670] Updated indexes and reviewed sidenav docs

* [ADF-2670] Rebuilt index files after doc file change
2018-04-11 14:27:42 +01:00
Andy Stark
2a5fe7ad28 [ADF-2596] Fixed inputs with incorrect names (#3166)
* [ADF-2596] Updated prop script to handle names from input decorators

* [ADF-2596] Fixed inputs with accessors

* [ADF-2596] Fixed remaining inputs with wrong names

* [ADF-2596] Updated prop script to handle names from input decorators

* [ADF-2596] Fixed inputs with accessors

* [ADF-2596] Fixed remaining inputs with wrong names
2018-04-10 17:19:15 +01:00
Eugenio Romano
07c247ca11 [ADF-2500] fix trashcan bug plus refactoring documentlist (#3136)
* [ADF-2500] The full content of Trashcan is not displayed.

fix pagination problem and add tests

* refactor code

* custom resources services

* move custom resources in separate service part 2

* move custom resources in separate service part 3

* move isCustomResources in custom resources

* move getCorrispondinNodeIds in custom services

* reorganize code

* add pagination interface

* remove permissions check document list and use the common cs method
remove the merge option and move it in the paginator

* make infinte scrolling always use the target

* restore loading infinite page

* fix license header

* fix type problems

* breadcrumb test service

* fix test

* export CustomResourcesService

* fix test pagination

* fix content ndoe test

* remove timeout content node selector test

* fix after rebase

* ripristinate observalbe in search service

* fix wrong type return stub document list test

* fix search service

* fix test document list

* move handle error in common method

* restore observable in search control

* Update search-control.component.spec.ts

* fix after rebase

* add import switchmap

* core import in karma conf

* missing commas

* fix mocks

* fix mock searchquerybody

* search test fix
2018-04-09 10:31:43 +01:00
Andy Stark
717dbfb388 [ADF-2557] Updated doc files with new script and fixed script bugs (#3135) 2018-03-29 17:02:40 +01:00
Andy Stark
7d5f1b223b [ADF-2557] Added return tag support and error messages (#3127)
* [ADF-2557] Added return tag support and error messages

* [ADF-2557] Set doc tool config to use index script correctly
2018-03-28 16:00:59 +01:00
Eugenio Romano
9e2969b955 [ADF-2569] fix reload app.config.json (#3124)
* fix reload app.config.json

* improve style mobile
fix test

* test karma setup update

* fix core providers test

* remove unused providers

* use mock api in service test

* skip test in the wrong place

* remove comma

* remove fdescribe
2018-03-28 11:01:04 +01:00
Andy Stark
21b8cd30ce [ADF-2557] Added new prop table script with support for "deprecated" tags (#3126)
* [ADF-2557] Initial test of typedoc props script

* [ADF-2557] Added simple table generation and support for deprecated tag

* [ADF-2557] Added templates and simple method list

* [ADF-2557] Finished method features and added new templates

* [ADF-2557] Updated templates and added Markdown insertion
2018-03-28 10:20:29 +01:00
Andy Stark
ea0f783015 [ADF-2451] Reviewed component docs (#3113)
* [ADF-2451] Reviewed component docs

* [ADF-2451] Updated review date on tasklist service docs
2018-03-22 17:27:30 +00:00
Cilibiu Bogdan
ae8b7419a0 [ADF-2415] PDF Viewer - open password protected pdf files (#3022)
* pdf password dialog

* PDF viewer onPassword test

* pdf password dialog

* PDF viewer onPassword test

* test

* test

* test

* test

* test

* test

* test

* fix password test

* travis improvements
2018-03-21 21:30:20 +00:00
Andy Stark
9d578bbd55 [ADF-2463] Added index pages to doc subfolders (#3091) 2018-03-19 14:37:08 +00:00
Andy Stark
126e73f5f3 [ADF-2463] Moved user guide pages to a subfolder (#3083)
* [ADF-2463] Moved user guide to a subfolder

* [ADF-2463] Fixed broken links and images
2018-03-16 17:26:39 +00:00
Andy Stark
4ee7cc0870 [ADF-2463] Update doc tools to work with subfolders (#3056)
* [ADF-2463] Updated main doc tool and index tool to handle subfolders

* [ADF-2463] Updated version index tool for subfolders
2018-03-09 22:39:59 +00:00
Eugenio Romano
ae489f6737
[ADF-2240] fix e2e and test in demo shell (#3035)
* fix e2e and test in demo shell

* test single run demo shell conf

* fix script e2e

* fix test lint problems

* remove async from nested test

* fix pdf test

* modify url load pdf strategy test

* SimpleChange import

* pdf viewer test fix

* remove force closing

* refactor pdf viewer
-remove promise approach
-add event rendered
-add destroy worker

* increment timeout

* use proxy files

* remove require

* fix viewer component test

* remove last require

* prefer use of done for txt viewer test
2018-03-09 12:16:05 +00:00