Compare commits

...
566 Commits
Author SHA1 Message Date
Eugenio Romano 24eaeef071 fix build script 2020-10-14 01:10:38 +01:00
Maurizio Vitale aabc086ac6 Return the createUrlTree to see the redirect (#6243) 2020-10-13 17:35:54 +01:00
Eugenio Romano f1231d3c44 bump 4.1.0 2020-10-13 16:52:48 +01:00
dependabot[bot] 80e9557ce5 Bump snyk from 1.404.0 to 1.413.2 (#6237)
Bumps [snyk](https://github.com/snyk/snyk) from 1.404.0 to 1.413.2.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Changelog](https://github.com/snyk/snyk/blob/master/.releaserc)
- [Commits](https://github.com/snyk/snyk/compare/v1.404.0...v1.413.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 15:18:02 +01:00
Eugenio Romano 4bde7654bd Fix user model default email domain (#6242)
* Fix user model

* Update user.model.ts
2020-10-13 12:48:16 +01:00
VitoandVito Albano 3aab5f7d2c [ACA-4013] - fixed sorting for document list - size (#6240)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-10-13 09:56:42 +01:00
dependabot[bot] bc71f58c2c Bump tslib from 2.0.1 to 2.0.3 (#6241)
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.1...2.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-13 08:24:24 +01:00
Maurizio Vitale 01fb4fa2b6 Override the redirectTo with the loginFragment (#6239)
* Override the redirectTo with the loginFragment

* Add check
2020-10-12 23:40:25 +01:00
dhrn f852811920 [ACA-4041] Filter not emitting the latest value (#6238)
* [ACA-4041] update filter

* * unit test added
2020-10-12 23:40:02 +01:00
Silviu PopaandSilviu Popa 686e28715d [ADF-5268] Fix card view losing focus when typing (#6226)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-10-12 15:20:41 +03:00
Silviu PopaandSilviu Popa 4954642a48 [AAE-3742] fix propertie card view wrong behavior (#6225)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-10-12 15:20:04 +03:00
siva kumar 40b5822e62 [AAE-3410] Restrict breadcrumb if upload widget type set to Alfresco Content (#6220)
* [AAE-3410] Restricted Breadcrumb navigation when upload widget type set to only ACS

* * Added/Modified unit tests to the recent changes

* Fixed failing UT

* * Updated contentNodeSelectorPanel doc

* * After rebase
2020-10-12 12:28:29 +01:00
Silviu Popa 2b23edd0bd [ADF-5269] - fix datatable date filter (#6232)
* [ADF-5269] - fix datatable date filter

* fix e2e
2020-10-12 12:27:49 +01:00
Denys Vuika e3560a3f72 additional unit tests for the upload (#6235) 2020-10-09 15:56:38 +01:00
Eugenio Romano e8b5b3ab32 fix delete cookie in path (#6236)
[skip ci]
2020-10-09 15:55:32 +01:00
Francesco Corti edb9fc5f2b Fix of the release note menu. (#6234) 2020-10-09 11:34:02 +01:00
Eugenio Romano d7db9adbf6 Update Doc 4.1.0 (#6215)
* docbuild

* docbuild

* doc license audit

* remove link redirect to testing
2020-10-08 18:33:57 +01:00
Francesco CortiandEugenio Romano 2747b7fc13 Release note for 4.1.0 in draft. (#6228)
* Release note for 4.1.0 in draft.

* Update RelNote410.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-10-08 18:32:11 +01:00
Eugenio Romano a7ebfa9fba Fix Redirect URL (#6229)
* Fix Redirect URL

* fix unit test

* browser false

* workaround
2020-10-08 16:59:19 +01:00
arditdomi d236ed40a2 Fix search panel scroll in content node selector (#6227) 2020-10-08 12:02:38 +01:00
dependabot[bot] 19572c3e9a Bump stylelint from 13.7.0 to 13.7.2 (#6219)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.7.0 to 13.7.2.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.7.0...13.7.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-07 06:47:48 +01:00
Cristina Jalba 8d54ca2cd3 Fix typo for CLAIM button on form - process services 2020-10-06 18:18:57 +03:00
siva kumarandadomi bce1aeb723 [AAE-3637] Attach file - Upload button is not disabled when the user is in search mode (#6193)
* [AAE-3637] Attach file - Upload button is not disabled when the user is in search mode

* Add missing documentation for Input on the search filters

* * Added warning message

* * Added Unit tests to the recent changes

* * Fixed css error

* * Updated string

Co-authored-by: adomi <ardit.domi@alfresco.com>
2020-10-06 14:55:42 +01:00
dependabot[bot] a4af32c704 Bump remark-frontmatter from 2.0.0 to 3.0.0 (#6218)
Bumps [remark-frontmatter](https://github.com/remarkjs/remark-frontmatter) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/remarkjs/remark-frontmatter/releases)
- [Commits](https://github.com/remarkjs/remark-frontmatter/compare/2.0.0...3.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 10:36:04 +02:00
dependabot[bot] c8ec35b1a2 Bump ng2-charts from 2.3.3 to 2.4.2 (#6206)
Bumps [ng2-charts](https://github.com/valor-software/ng2-charts) from 2.3.3 to 2.4.2.
- [Release notes](https://github.com/valor-software/ng2-charts/releases)
- [Changelog](https://github.com/valor-software/ng2-charts/blob/development/CHANGELOG.md)
- [Commits](https://github.com/valor-software/ng2-charts/compare/2.3.3...2.4.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 21:20:44 +02:00
dependabot[bot] af8da6fb54 Bump karma from 5.2.2 to 5.2.3 (#6207)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.2 to 5.2.3.
- [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/v5.2.2...v5.2.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 20:18:30 +02:00
dependabot[bot] a3f55ec16f Bump @angular-devkit/build-ng-packagr from 0.1001.0 to 0.1001.4 (#6203)
Bumps [@angular-devkit/build-ng-packagr](https://github.com/angular/angular-cli) from 0.1001.0 to 0.1001.4.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 20:17:44 +02:00
dependabot[bot] 8e4e9b09df Bump mdast-util-compact from 2.0.1 to 3.0.0 (#6211)
Bumps [mdast-util-compact](https://github.com/syntax-tree/mdast-util-compact) from 2.0.1 to 3.0.0.
- [Release notes](https://github.com/syntax-tree/mdast-util-compact/releases)
- [Commits](https://github.com/syntax-tree/mdast-util-compact/compare/2.0.1...3.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 20:17:06 +02:00
dhrn c75896e1eb [ADF-5261] Fix excluded flaky tests C297689, C297690 (#6212)
* [ADF-5261] Fix excluded flaky tests C297689, C297690

* * fixed test
2020-10-05 12:42:48 +01:00
dependabot[bot] 1ae256030b Bump rxjs from 6.6.2 to 6.6.3 (#6205)
Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.2 to 6.6.3.
- [Release notes](https://github.com/reactivex/rxjs/releases)
- [Changelog](https://github.com/ReactiveX/rxjs/blob/6.6.3/CHANGELOG.md)
- [Commits](https://github.com/reactivex/rxjs/compare/6.6.2...6.6.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-05 00:27:59 +01:00
Denys Vuika 5e5d6c92fb add missing interface property (#6210)
* add missing interface property

* add missing 'component' property
2020-10-05 00:27:28 +01:00
Eugenio Romano 04f5fdffd7 [ADF-5263] Empty page displayed all the time when load content fix (#6209)
* Make test run on API update
Improve create librrary test

* Fix empty page displayed always first

* remvoe console

* fix

* fix

* lint

* fix

* fix

* fix

* fix

* fix
2020-10-05 00:26:56 +01:00
Eugenio Romano d128bc158c Update .travis.yml 2020-10-02 17:49:54 +01:00
Eugenio Romano 6915cc0e16 Update build.sh 2020-10-02 16:30:11 +01:00
Cano 7c4c1e0304 Expose ServiceTaskListCloudService in public API 2020-10-02 16:47:23 +02:00
VitoandVito Albano e22bdc7f4c [ADF-5259] - addded unit test for custom widget (#6202)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-10-02 13:51:15 +01:00
davidcanonieto d83bc9935c [ADF-5262] Fix query execution in BaseQueryBuilderService (#6201)
* [] Fix query execution in BaseQueryBuilderService

* Update base-query-builder.service.ts

* Update base-query-builder.service.ts
2020-10-01 15:50:42 +02:00
Denys Vuika c68b84513b add support for toolbar title i18n (#6200) 2020-10-01 13:42:51 +01:00
davidcanonieto 877a9f00e9 [AAE-3694] Add new Service Method for service task integration (#6199)
* [AAE-3694] Add new Service Method for service task integration

* Split task list services in two

* Move ServiceTaskQueryCloudRequestModel to a newe file
2020-10-01 13:15:39 +01:00
Silviu PopaandSilviu Popa f2f9049c2c [ACA-3627] - Add completedBy filter again (#6186)
* [ACA-3627] - Add completedBy filter again

* add more unit tests

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-10-01 13:15:24 +01:00
dependabot[bot] 571315fe38 Bump @angular/cli from 10.1.2 to 10.1.4 (#6197)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.1.2 to 10.1.4.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.1.2...v10.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 13:05:07 +01:00
Silviu PopaandSilviu Popa 7ed02f6716 [ACA-3010] - Process/Task Cloud fix wrong date range (#6192)
* [ACA-3010] - Process/Task Cloud fix wrong date range

* fix e2e

* fix unit test and disable false positive e2e tests

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-10-01 12:10:15 +02:00
dependabot[bot] 7adb982e84 Bump @angular-devkit/build-angular from 0.1000.7 to 0.1001.4 (#6198)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.7 to 0.1001.4.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 10:20:57 +01:00
dependabot[bot] 60bfe60b38 Bump codelyzer from 6.0.0 to 6.0.1 (#6196)
Bumps [codelyzer](https://github.com/mgechev/codelyzer) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/mgechev/codelyzer/releases)
- [Changelog](https://github.com/mgechev/codelyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgechev/codelyzer/commits/6.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 10:19:46 +01:00
dependabot[bot] 2c5f46cb2d Bump ng-packagr from 10.1.0 to 10.1.2 (#6194)
Bumps [ng-packagr](https://github.com/ng-packagr/ng-packagr) from 10.1.0 to 10.1.2.
- [Release notes](https://github.com/ng-packagr/ng-packagr/releases)
- [Changelog](https://github.com/ng-packagr/ng-packagr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ng-packagr/ng-packagr/compare/v10.1.0...v10.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 10:19:31 +01:00
dependabot[bot] be50be4b95 Bump typedoc from 0.18.0 to 0.19.2 (#6195)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.18.0 to 0.19.2.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.18.0...v0.19.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 10:09:30 +01:00
Maurizio Vitaleandadomi 7c83f2eb18 [AAE-3199] - Add support for searchable content model properties (new search filters panel in the attach file widget) (#6134)
* Create new panel component and search refactoring

* Replace

* First refactoring - Fix global search and service injection issues

* More refactoring

* Fix service injection - create one new instance for content-node-selector component

* Avoid having more services extending BaseQueryBuilderService

* more refactoring, remove injecting the SearchQueryBuilderService from the content node selector service

* Fix build errors to launch unit tests

* Fix existing unit tests

* Fix wrong import and constructor injection comments

* Fix wrong import

* Fix comments

* Fix api compatibility

* Revert demo shell causing e2e fail

Co-authored-by: adomi <ardit.domi@alfresco.com>
2020-10-01 09:11:23 +01:00
Sushmitha V f0af0c4113 [ACA-3957] Added correct Icon for save-as button in task filter and process filter (#6190) 2020-09-30 17:46:24 +01:00
Gloria Camino 74dfe4ef49 LOC-258_Localised UI files for ADF 4.1 in 16 languages (#6191) 2020-09-30 14:12:11 +01:00
Roxana Diacenco 7c1d72994b [ACA-3689] Update edit-process-filter-cloud-component PO (#6176)
Add process definition name selection
2020-09-30 11:39:01 +01:00
dependabot[bot] f83ea78173 Bump @nrwl/workspace from 10.1.0 to 10.2.1 (#6168)
Bumps [@nrwl/workspace](https://github.com/nrwl/nx) from 10.1.0 to 10.2.1.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/compare/10.1.0...10.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 11:38:31 +01:00
dependabot[bot] 28eb1f82ba Bump pdfjs-dist from 2.4.456 to 2.5.207 (#6170)
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 2.4.456 to 2.5.207.
- [Release notes](https://github.com/mozilla/pdfjs-dist/releases)
- [Commits](https://github.com/mozilla/pdfjs-dist/compare/v2.4.456...v2.5.207)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 10:58:32 +01:00
Eugenio Romano 9fd5a32f0b fix beta release script 2020-09-30 10:54:33 +01:00
dependabot[bot] be96e55fee Bump @types/node from 14.6.4 to 14.11.2 (#6189)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.6.4 to 14.11.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:21:20 +01:00
dependabot[bot] 2e1069b209 Bump lint-staged from 10.2.13 to 10.4.0 (#6188)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.13 to 10.4.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.13...v10.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:20:30 +01:00
dependabot[bot] ff44485d16 Bump snyk from 1.393.0 to 1.404.0 (#6187)
Bumps [snyk](https://github.com/snyk/snyk) from 1.393.0 to 1.404.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Changelog](https://github.com/snyk/snyk/blob/master/.releaserc)
- [Commits](https://github.com/snyk/snyk/compare/v1.393.0...v1.404.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-30 08:20:10 +01:00
Cilibiu Bogdan f2f1cb4187 [ACA-3626] Cloud Task - completed date filter (#6185)
* completedDate task filter

* translation key

* update TaskFilterCloudModel

* update TaskQueryCloudRequestModel

* add completed date inputs

* update TaskQueryCloudRequestModel request params

* update tests
2020-09-29 22:29:28 +01:00
Alexandra Abrudan 06f57a605b [ADF-4481] e2e test for uploading an unsupported file (#6141)
* [ADF-4481] e2e test for uploading an unsupported file

* re-order the tests

* updated e2e steps
2020-09-29 17:53:46 +02:00
davidcanonieto 8453f932aa [ADF-5260] Fix Service task list initialization in DemoShell (#6184)
* [ADF-5260] Fix Service task list initialization in DemoShell

* Improve layout
2020-09-29 15:09:22 +02:00
Pablo Martinez Garcia c06310d13c Update candidatebaseapp for variable mapping in tasks to work (#6182) 2020-09-29 08:44:58 +01:00
dependabot[bot] 2e50ac4ca9 Bump commander from 6.0.0 to 6.1.0 (#6169)
Bumps [commander](https://github.com/tj/commander.js) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v6.0.0...v6.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-29 07:53:12 +01:00
dependabot[bot] 52b6743544 Bump moment from 2.27.0 to 2.29.0 (#6171)
Bumps [moment](https://github.com/moment/moment) from 2.27.0 to 2.29.0.
- [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.27.0...2.29.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-29 07:52:33 +01:00
Eugenio Romano 02a8370bfe Update login.page.ts 2020-09-28 19:19:26 +01:00
Eugenio Romano 1a10cfe8fb Update login.page.ts 2020-09-28 17:56:44 +01:00
Denys Vuika 649a19fc8f fix rxjs imports (#6181) 2020-09-28 17:32:41 +01:00
Popovics András 5ff3852c84 Fix broken e2e tests because of the lack of thrown error (#6180) 2020-09-28 17:32:08 +01:00
VitoandVito Albano 302482945c Added switch to be able to check the form behaviour (#6177)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-09-28 16:23:40 +01:00
siva kumar 1abdf07d4f [AAE-3651] FE - Export DateCloudFilterType from process-services-cloud lib (#6174) 2020-09-28 14:56:33 +01:00
davidcanonieto 9da72463e9 Expose ServiceTaskFilterCloudService in public API (#6175) 2020-09-28 14:11:41 +02:00
davidcanonieto 64881718d7 Expose ServiceTaskListCloudComponent in public api (#6173) 2020-09-28 12:30:07 +02:00
davidcanonieto e497b31e3e [AAE-3469] New Service Task Cloud Component (#6161)
* [AAE-3469] New Service Task Lisst Component

* Fix unit tests

* Add documentation

* Add public methods to Data Table Schema

* [AAE-3469] New Service Task Cloud Component

* Fix comments

* Fix comments

* Fix unit tests
2020-09-28 09:47:18 +01:00
dependabot[bot] 9b5d0d2a82 Bump mini-css-extract-plugin from 0.10.1 to 0.11.2 (#6172)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.10.1 to 0.11.2.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/commits/v0.11.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-28 09:01:03 +01:00
Eugenio RomanoandAdina Parpalita 7fb42d79c0 Test improve 2 (#6167)
* more debug log

* fix

* next chrome

* fix favorite

* fix

* Fix spelling

* fix

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-09-28 00:05:07 +01:00
Maurizio Vitale c40614f211 [AAE-3410] NodeSelector - Use user alias (-my-) name as default for upload of type Alfresco Content only (#6160)
* Use as default folder root in case is only ACS

* Fix and improve unit test

* Use user alias -my- for Content Service only
2020-09-27 10:26:48 +01:00
Ole Hejlskov 71ec41f303 Ole tutorial updates (#6153)
[skip ci]
* Restructure tutorials to remove duplication

* Update to work with ADF 4.0 and fix language + grammar

* Restructure and add Angular CLI section for prerequisites

* Language fixes
2020-09-27 10:26:22 +01:00
davidcanonieto dea062263e [ADF-5219] Fix Production Build (#6166)
* [ADF-5219] Fix Production Build

* Fix BC

* Revert file name
2020-09-27 10:23:13 +01:00
Roxana Diacenco 3ba729a939 [ACA-3689] Update customize filter locator
* Update locators in EditTaskFilterCloudComponentPage and EditProcessFilterCloudComponentPage
2020-09-26 10:29:56 +03:00
dependabot[bot] 9f2f895cab Bump optimize-css-assets-webpack-plugin from 5.0.3 to 5.0.4 (#6119)
Bumps [optimize-css-assets-webpack-plugin](https://github.com/NMFR/optimize-css-assets-webpack-plugin) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/NMFR/optimize-css-assets-webpack-plugin/releases)
- [Commits](https://github.com/NMFR/optimize-css-assets-webpack-plugin/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-25 15:55:39 +01:00
Cilibiu Bogdan d7ce7d0b00 accessibility (#6164) 2020-09-25 15:02:57 +01:00
dependabot[bot] 121e4f9ce6 Bump @angular/cli from 10.1.0 to 10.1.2 (#6139)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.1.0 to 10.1.2.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.1.0...v10.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-25 13:13:49 +01:00
d7f0fa5aa0 [AAE-3493] Update the documentation to provide the proper guidance on custom forms widgets for APA and APS developers (#6158)
* * improve docs

* * assets fixed

* * links fixed

* * versions fixed

* * assets added

* * fix links

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Update docs/user-guide/aae-extensions.md

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

* * example fixed

* * minor changes

* Make stencils document step-based

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>
Co-authored-by: Mark Hulbert <mark.hulbert@alfresco.com>
2020-09-25 12:42:37 +01:00
siva kumar c84ef7318f [ACA-3960] FE - Users that are part of a candidate group should not be able to see 'Assignee' property as editable when on that user task candidate group was set as assignment (#6159)
* [ACA-3960] FE - Users that are part of a candidate group should not be able to see 'Assignee' property as editable when on that user task candidate group was set as assignment

* * Added description
2020-09-25 10:35:07 +01: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
Iulia Burcă df2e53110c [ACA-3312] Add user-filter util class (#6098)
* Add user-filter api

* typo

* Add user-filters API

* Add isFilterNotHighlighted method

* Add isProcessFilterNotHighlighted methods

* Add process-list constructor

* Add isTasksFilterNotHighlighted methods and methods for custom task filter

* Add getDataTable for process-
list

* Simplify the Logger.error

* typo
2020-09-25 09:30:27 +01:00
Silviu PopaandSilviu Popa 0119c743ba [ACA-3643] - add completedBy filter on tasks (#5924)
* [ACA-3643] - add completedBy filter on tasks

* send user id as query parameter

* preselect users

* rebase and reset filter

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-24 17:14:19 +02:00
siva kumar fe61c6dbd1 [ACA-3977] FE - Integrate new user assign API (#6157)
* [ACA-3977] FE - Integrate new user assign API

* * Added documentation
2020-09-24 14:33:35 +01:00
VitoandVito Albano ffe04120a8 [MNT-21705] - fixed column display for fields (#6078)
* [MNT-21705] - fixed column display for fields

* [MNT-21705] - fixed unit test

* [MNT-21636] - adding flag for enable-disable column

* [MNT-21705] - fixed broken unit test

* [MNT-21705] - added documentation for extra form input field

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-09-24 10:20:18 +01:00
dhrn 80a3618ca8 [ADF-5236] C246534 Failing (#6138)
* [ADF-5236]fix C246534 Failing

* * improved e2e

* * spell check

* * fix

* revert chnages

* * minor improvements

* * fix lint

* * query improvements
2020-09-24 10:15:22 +01:00
Eugenio Romano d485aee674 Test improve (#6156)
* fix

* fix

* fix

* fix
2020-09-24 10:10:56 +01:00
Silviu PopaandSilviu Popa b5ae4ebff5 [ACA-3692] - Add completed date/due date/started date filter (#6145)
* add completedDate filter

* [ACA-3692] - Add completed date filter

* fix lint

* fix description

* fix lint

* preserve filters

* fix startDate/dueDate fitlers and add unit test

* revert app.config.json changes

* add support for completed date field in datatable

* fix unit tests

* fix date range unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-24 11:07:30 +02:00
dhrn b67b3b83b0 Update protractor.excludes.json (#6152) 2020-09-23 15:08:13 +01:00
Silviu PopaandSilviu Popa 902b863172 [ACA-3683] - implement started date process filter (#6093)
* [ACA-3583] - implement created date process filter

* [ACA-3683] - add started date process filter

* remove unused property input

* rebase

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-23 14:42:21 +02:00
Eugenio Romano 3f1a9f4853 Test improve (#6146)
* fix

* fix datatable wait method

* slow down isEmpty check

* fix

* fix

* fix
2020-09-23 13:32:27 +01:00
Maurizio Vitale 98742e898e [ACA-3973] K8s - namespaces - Replace all the occurrences (#6155)
* Replace all the occurrences

* Add more log
2020-09-23 11:59:42 +01:00
davidcanonieto a888689caa Revert "[AAE-3469] New Service Task List in Task List Cloud Component (#6131)" (#6154)
This reverts commit 472e112b71.
2020-09-23 10:48:52 +02:00
davidcanonieto 20f6df5a79 [ADF-3499] Make Card View Text Item reactive to user input (#5953)
* [ADF-3499] Make Card View Text Item reactive to user input

* Improve code and fix APS2 tests

* Fix tests

* Improve tests

* Add missing async
2020-09-23 10:12:10 +02:00
Cilibiu Bogdan 3da5196b2d [ACA-3899] Viewer thumbnails cannot be accessed by keyboard (#6150)
* accessibility

* add thumb focus

* close thumbs list event

* fix eventbus listener

* rename parameter

* track previous focused element

* implement FocusKeyManager

* fix getGlobalEventBus is deprecated

* keyboard navigation

* set tabindex

* setActiveItem on list change

* update  test
2020-09-23 05:57:46 +01:00
davidcanonieto 472e112b71 [AAE-3469] New Service Task List in Task List Cloud Component (#6131)
* [AAE-3469] New Service Task Lisst Component

* Fix unit tests

* Add documentation

* Add public methods to Data Table Schema
2020-09-22 20:41:53 +01:00
Silviu PopaandSilviu Popa 7bead426ce DueDate filter fix translation and add missing option (#6128)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-22 20:40:43 +01:00
davidcanonietoandEugenio Romano e351925e8f Fix C291954, C291955, C291993 and C291995 (#6149)
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-09-22 18:53:58 +01:00
davidcanonieto 636da03eca [ADF-5245] Fix C297478, C297485 and C297472 (#6147) 2020-09-22 17:03:11 +01:00
Pablo Martinez Garcia 3a464a7bed [AAE-3514] Create file viewer widget (#6142)
* AAE-3514 Create File viewer widget

* AAE-3514 Fix complex fields behaviour

* AAE-3514 Modify attach widget selection indicator

* AAE-3514 Add unit tests to attach-file-cloud widget

* AAE-3514 Add unit tests

* AAE-3514 Increase coverage

* AAE-3514 Fix review comments

* AAE-3514 Fix review comments
2020-09-22 17:01:03 +01:00
Maurizio Vitale 46383602f1 Be able to fetch all the namespaces in case not passed and handle the case of missing container for a label (#6148) 2020-09-22 15:59:15 +01:00
Silviu PopaandSilviu Popa 2d0b09f3e4 [ACA-3722] - rename process name sort option (#5931)
* [ACA-3722] - rename process name sort option

* rework unit test

* remove unnecesary property

* fix e2e

* PR changes

* fix e2e

* fix e2e

* fix e2e

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-22 12:14:37 +01:00
davidcanonieto 3b02233481 [ADF-5237] Unexclude C362240 and C362241 (#6137)
* [ADF-5237] Unexclude C362240 and C362241

* Fix initialization bug
2020-09-22 09:52:41 +01:00
Maurizio Vitale e98b40c37d Be able to pass params (#6144) 2020-09-21 19:29:26 +01:00
Maurizio Vitale d2a9424827 Pass the replaced value (#6143) 2020-09-21 19:28:45 +01:00
Eugenio Romano 46ccda68b3 [ADF-5235] Facet fix and improve search test (#6122)
* improve search test

* fix

* fix

* fix

* changes

* modify

* logout public URL

* improve stability some e2e

* fx lint

* fix

* fix

* improve

* fix

* improve

* fix

* fix

* fix

* fix [skip ci]

* fix

* some fix [skip ci]

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* convert C291893 in manual test case in testrail

* fix

* fix
2020-09-21 09:35:01 +01:00
siva kumar 9c427b3142 [AAE-3507] ADF - Change default destination folder alias -root- to -my- (#6126)
* [AAE-3507] ADF - Change default destination folder alias -root- to -my-

* * After rebase
2020-09-17 14:11:51 +01:00
Alexandra Abrudan 864e080e19 updated outcomebuttons process (#6130) 2020-09-15 15:30:56 +01:00
Eugenio Romano 91992bc9d5 fix permissions 2020-09-15 14:14:02 +01:00
Eugenio Romano 8ceae25f15 change permissions script 2020-09-15 10:27:40 +01:00
Eugenio Romano a08ea45887 Update .travis.yml 2020-09-15 09:45:56 +01:00
Eugenio Romano ccd6b4a5c3 Update package.json 2020-09-14 12:11:03 +01:00
Maurizio Vitale bfe6836021 Ability to use the appname as placeholder in the destinationFolder relative path (#6076) 2020-09-14 12:06:10 +01:00
Denys Vuika c5e23102f9 update pr limit for dependabot 2020-09-14 10:46:38 +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
Mercy Chrysolite a64e13bec5 [ACA-3623] Process definition name filter in task list (#5871)
* [ACA-3623] Process definition name filter in task list

* Added unit test

* Aligning with changes in process list

* Added all option
2020-09-14 13:01:19 +05:30
Denys Vuika 0d607ba0bd fix aot 2020-09-11 10:59:48 +01:00
dependabot[bot] d69a90cdd1 Bump snyk from 1.385.0 to 1.393.0 (#6120)
Bumps [snyk](https://github.com/snyk/snyk) from 1.385.0 to 1.393.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Changelog](https://github.com/snyk/snyk/blob/master/.releaserc)
- [Commits](https://github.com/snyk/snyk/compare/v1.385.0...v1.393.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 08:51:50 +01:00
dhrn 5d3c86d75f [Docs] cloud custom form widget examples (#6083)
* Docs for AAE 2829

* * sample improved

* * redonly improved

* minor changes
2020-09-10 21:31:51 +01:00
dependabot[bot] ca92cc3ad6 Bump karma-coverage-istanbul-reporter from 2.1.0 to 3.0.3 (#6088)
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 2.1.0 to 3.0.3.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.1.0...v3.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 21:31:11 +01:00
Popovics András ed53a0204d [ACA-3877] Add the possibility to ADF Extension to be used in compila… (#6097)
* [ACA-3877] Add the possibility to ADF Extension to be used in compilation time

* Fix interface

* Fix cspell

* Fix unit tests

* Add tests
2020-09-10 21:29:09 +01:00
Eugenio Romano 5305d65121 include attach file test (#6102)
* include attach file test

* fix

* fix

* fix

* fix
2020-09-10 21:28:50 +01:00
dhrn e765239cbf [MNT-21789] ADW - Disable ACS Thumbnail Generation cause ADF Upload Service to fail any file upload with 501 error (#6114)
* Disable ACS Thumbnail Generation cause ADF Upload Service to fail any file upload with 501 error

* * fixed config
2020-09-10 18:51:50 +01:00
siva kumar 14f08f2178 [ACA-3942] Enable assignee edit button only when userTask shared among the candidates (#6113)
* [ACA-3942] Enable assignee edit button only when user task shared among the candidates

* * Moved logic to service level
2020-09-10 18:26:43 +01:00
dependabot[bot] 26172f3a6f Bump @angular/cli from 10.0.7 to 10.1.0 (#6112)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.7 to 10.1.0.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.7...v10.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 09:33:20 +01:00
dependabot[bot] b308c4397d Bump @types/node from 14.6.0 to 14.6.4 (#6111)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.6.0 to 14.6.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 09:33:13 +01:00
dependabot[bot] 4de0d48e73 Bump graphql-request from 1.8.2 to 3.1.0 (#6110)
Bumps [graphql-request](https://github.com/prisma/graphql-request) from 1.8.2 to 3.1.0.
- [Release notes](https://github.com/prisma/graphql-request/releases)
- [Commits](https://github.com/prisma/graphql-request/compare/v1.8.2...3.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 09:33:03 +01:00
Silviu PopaandSilviu Popa de07e41b9e [ACA-3637] - Add dueDate range filter (#5919)
* [ACA-3637] - Add dueDate range filter

* update documentation

* [ACA-3637] - Add due date range filter

* update doc

* improvements

* remove unnecesarry file

* fix unit test

* fix codecov

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-10 08:41:03 +01:00
davidcanonieto f4ebaec501 [AAE-3296] Add unit tests for Tooltips in Form Widgets (#6094) 2020-09-10 08:39:26 +01:00
dependabot[bot] 327fab225a Bump @angular-devkit/build-ng-packagr from 0.1000.7 to 0.1001.0 (#6108)
Bumps [@angular-devkit/build-ng-packagr](https://github.com/angular/angular-cli) from 0.1000.7 to 0.1001.0.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:37:37 +01:00
dependabot[bot] e7b578d13d Bump css-loader from 3.6.0 to 4.3.0 (#6105)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 4.3.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.6.0...v4.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:37:10 +01:00
dependabot[bot] 95784a3b43 Bump husky from 4.2.5 to 4.3.0 (#6109)
Bumps [husky](https://github.com/typicode/husky) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.5...v4.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:36:55 +01:00
dependabot[bot] 5799401cdb Bump karma from 5.2.0 to 5.2.2 (#6107)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.0 to 5.2.2.
- [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/v5.2.0...v5.2.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 08:36:34 +01:00
dependabot[bot] 2c705b3e86 Bump remark-frontmatter from 1.3.3 to 2.0.0 (#6073)
Bumps [remark-frontmatter](https://github.com/remarkjs/remark-frontmatter) from 1.3.3 to 2.0.0.
- [Release notes](https://github.com/remarkjs/remark-frontmatter/releases)
- [Commits](https://github.com/remarkjs/remark-frontmatter/compare/1.3.3...2.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 22:31:23 +01:00
dependabot[bot] ba63f735d9 Bump tslint from 5.20.0 to 6.1.3 (#6072)
Bumps [tslint](https://github.com/palantir/tslint) from 5.20.0 to 6.1.3.
- [Release notes](https://github.com/palantir/tslint/releases)
- [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palantir/tslint/compare/5.20.0...6.1.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 22:28:24 +01:00
dependabot[bot] 2655a17bba Bump ng-packagr from 10.0.4 to 10.1.0 (#6104)
Bumps [ng-packagr](https://github.com/ng-packagr/ng-packagr) from 10.0.4 to 10.1.0.
- [Release notes](https://github.com/ng-packagr/ng-packagr/releases)
- [Changelog](https://github.com/ng-packagr/ng-packagr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ng-packagr/ng-packagr/compare/v10.0.4...v10.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 16:16:04 +01:00
dependabot[bot] bd7d513be9 Bump ts-node from 8.10.2 to 9.0.0 (#6106)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 15:24:49 +01:00
dependabot[bot] c4e0ac4ed3 Bump sass-loader from 10.0.0 to 10.0.2 (#6103)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.0 to 10.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.0...v10.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-09 12:54:41 +01:00
davidcanonieto 6977df169a [ADF-4481] Fix Viewer peview for unsupported new versions (#6101)
* [ADF-4481] Fix Viewer peview for unsupported new versions

* Update img-viewer.component.ts
2020-09-08 17:28:46 +01:00
dependabot[bot] 722e28bc0d Bump selenium-webdriver from 4.0.0-alpha.5 to 4.0.0-alpha.7 (#6069)
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.0.0-alpha.5 to 4.0.0-alpha.7.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-08 16:40:52 +01:00
VitoandVito Albano 14c2408c69 [MNT-21636] - added redirection when SSO is enabled for external link (#6099)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-09-08 15:51:28 +01:00
Eugenio Romano c57253ff54 Remove excluded test (#6096)
* remove excluded test part1

* remove fit

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix lint

* fix lint

* fixes

* update protractor due incompatibility with new node versions

* increase timeout pdf when system is busy
2020-09-08 14:39:22 +01:00
Silviu PopaandSilviu Popa 8d6baf2536 [ADF-5230] - Implement process date range filter (#6086)
* [ADF-5230] - Implement process date range filter

* i18n

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-07 15:05:18 +02:00
arditdomi c9c96e8027 [AAE-3406] - Fix advanced search inside content-node selector (#6084)
* fix advanced search inside content-node selector

* Update failing unit tests
2020-09-07 10:47:41 +01:00
Cristina Jalba c11237a2ff [ACA-3441] Add method to attach file widget PO (#6085)
* Add methods and locator for uploadButton of attach file widget of type local

* Add method to attach-file-widget

* Modify the right click
2020-09-06 20:11:52 +01:00
Eugenio Romanoandmaurizio vitale a630cfb390 Fix e2e (#6087)
* fix protractor conf

* remove update env

* fix cli error script cs

* change screenshot plugin

* remove unused param

* fix

* fix

* fix

* moment comment nvm

* fix

* fix

* fix

* fix

* remove adf redirect

* fix

* fix

* save remote report

* report fix

* improve save result

* fix folder save

* fix folder save

* fix placeholder pointer , they needs refactor later

* fix

* fix lint

* fix

* remove test already covered by unit
fix the test in core needed
exclude the one impossible to make it works without APS basic support

* lint

* fix some logout missing

* fix

* Fix the custom-tasks-filters.e2e

* fix lint

* fix

* fix

* fix

* Fix wait on start process  and on process definition options

* Fix logout before login again

* fix uplaod test

* fix

* Fix infodrawer with check detail and sleep

* lint

* increase list of excluded test

* fix

* fix lint

* change wait method datatable

* fix

* fix

* revert check value

* fix

* fix

* change tag test

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-09-04 13:27:55 +01:00
Roxana Diacenco f17270621b [AAE-3338] Update simpleapp (#6090)
* Add correlation key to next processes:
pool-int-boundary-event
pool-nonint-boundary-event
pool-intermed-messag-ev
pool-int-boundary-subproc
2020-09-01 09:29:46 +01:00
Denys Vuika d051aed476 fix production builds (#6075)
* run builds scripts sequentially

* temporary enable prod builds

* use ng instead of nx for adf-core

* increase mem

* downgrage the ts target

* downgrade main tsconfig

* update config

* downgrade scss-bundle

* raise mem only for prod builds

* restore dev build

* update angular cdk

* try restore build target

* upgrade unit tests after angular upgrade

* fix tests after angular upgrade

* remove old e2e
2020-08-28 17:34:08 +01:00
Eugenio Romano 6435901ffb Update process-services-cloud-e2e.sh 2020-08-28 16:33:19 +01:00
Denys Vuika 70e9a72aed publish improvements (#6067)
* publish improvements

* latest angular cli
2020-08-25 21:17:31 +01:00
Denys Vuika 1401039285 try fix prod build 2020-08-25 16:20:09 +01:00
Denys Vuika 752bc874da export NODE_OPTIONS 2020-08-25 15:47:51 +01:00
Denys Vuika da67b6fa19 improve build and publish scripts 2020-08-25 15:11:03 +01:00
Denys Vuika 94273678df increase node memory to 8gb 2020-08-25 14:22:49 +01:00
Denys Vuika b38012d462 fix cli package lock 2020-08-25 14:08:56 +01:00
Denys Vuika 2a91f37d8d increase mem size for production builds 2020-08-25 12:42:36 +01:00
Denys Vuika 93b51b266c fix http method regression (#6066) 2020-08-25 11:27:57 +01:00
dependabot[bot] f499020e8c Bump markdownlint-cli from 0.16.0 to 0.23.2 (#6063)
Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.16.0 to 0.23.2.
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases)
- [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.16.0...v0.23.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 10:44:38 +01:00
dependabot[bot] 8ab2cf0cfe Bump scss-bundle from 2.3.2 to 3.1.2 (#6060)
Bumps [scss-bundle](https://github.com/reactway/scss-bundle) from 2.3.2 to 3.1.2.
- [Release notes](https://github.com/reactway/scss-bundle/releases)
- [Commits](https://github.com/reactway/scss-bundle/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 10:44:28 +01:00
Eugenio Romano 9716317a99 Update upgrade39-40.md (#6065) 2020-08-25 10:38:16 +01:00
dependabot[bot] 5d382ce814 Bump adf-tslint-rules from 0.0.6 to 0.0.7 (#6064)
Bumps adf-tslint-rules from 0.0.6 to 0.0.7.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 10:11:01 +01:00
dependabot[bot] f7d811f7ed Bump @angular-devkit/build-ng-packagr from 0.1000.6 to 0.1000.7 (#6061)
Bumps [@angular-devkit/build-ng-packagr](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 09:09:18 +01:00
dependabot[bot] 7b78468571 Bump mdast-util-compact from 1.0.4 to 2.0.1 (#6059)
Bumps [mdast-util-compact](https://github.com/syntax-tree/mdast-util-compact) from 1.0.4 to 2.0.1.
- [Release notes](https://github.com/syntax-tree/mdast-util-compact/releases)
- [Commits](https://github.com/syntax-tree/mdast-util-compact/compare/1.0.4...2.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 08:55:14 +01:00
dependabot[bot] 9edc2d833a Bump sass-loader from 9.0.3 to 10.0.0 (#6062)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.3 to 10.0.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.3...v10.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-25 08:54:59 +01:00
dependabot[bot]andEugenio Romano 4943079f9d Bump commander from 4.0.0 to 6.0.0 (#6054)
* Bump commander from 4.0.0 to 6.0.0

Bumps [commander](https://github.com/tj/commander.js) from 4.0.0 to 6.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v4.0.0...v6.0.0)

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

* fix commander

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-08-25 08:54:42 +01:00
Pablo Martinez Garcia c1435c53e0 [AAE-3273] Manage empty option in retrieve content metadata dropdowns (#6024)
* AAE-3273 Manage empty option in retrieve content metadata dropdowns

* AAE-3273 Add unit tests

* AAE-3273 Refactor add not present fields

* AAE-3273 Add unit test in core
2020-08-25 00:36:22 +01:00
Maurizio Vitale a7af27cfad change the labels based on reqs (#6058) 2020-08-25 00:11:13 +01:00
Denys Vuika 0f11094b1e add missing group role APIs (#6057)
* add missing group role apis

* add missing "assign" and "remove" api
2020-08-24 15:37:02 +01:00
dependabot[bot] b0ec6041c0 Bump jasmine-ajax from 3.2.0 to 4.0.0 (#6050)
Bumps [jasmine-ajax](https://github.com/jasmine/jasmine-ajax) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/jasmine/jasmine-ajax/releases)
- [Commits](https://github.com/jasmine/jasmine-ajax/compare/v3.2.0...v4.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 13:51:41 +01:00
dependabot[bot]andEugenio Romano 5cbe4884d9 Bump cspell from 4.0.63 to 4.1.0 (#6047)
* Bump cspell from 4.0.63 to 4.1.0

Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 4.0.63 to 4.1.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/cspell@4.0.63...cspell@4.1.0)

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

* remove cspell from raphael

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-08-24 13:50:32 +01:00
dependabot[bot] b077fc9a44 Bump jasmine-spec-reporter from 4.2.1 to 5.0.2 (#6052)
Bumps [jasmine-spec-reporter](https://github.com/bcaudan/jasmine-spec-reporter) from 4.2.1 to 5.0.2.
- [Release notes](https://github.com/bcaudan/jasmine-spec-reporter/releases)
- [Changelog](https://github.com/bcaudan/jasmine-spec-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bcaudan/jasmine-spec-reporter/compare/v4.2.1...v5.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 11:55:18 +01:00
dependabot[bot] 4fe957cdf0 Bump rxjs from 6.6.0 to 6.6.2 (#6053)
Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.0 to 6.6.2.
- [Release notes](https://github.com/reactivex/rxjs/releases)
- [Changelog](https://github.com/ReactiveX/rxjs/blob/6.6.2/CHANGELOG.md)
- [Commits](https://github.com/reactivex/rxjs/compare/6.6.0...6.6.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 11:54:59 +01:00
dependabot[bot] e4975a962a Bump ejs from 3.1.3 to 3.1.5 (#6056)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.3...v3.1.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 09:07:38 +01:00
dependabot[bot] 954a63d6fb Bump sass-loader from 7.1.0 to 9.0.3 (#6055)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 7.1.0 to 9.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v7.1.0...v9.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-24 09:07:21 +01:00
dependabot[bot] 4a74586540 Bump stylelint from 9.10.1 to 13.6.1 (#6051)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 9.10.1 to 13.6.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/9.10.1...13.6.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-23 17:54:13 +01:00
Eugenio Romano 0667ad66e0 revert change copy to S3 2020-08-23 17:39:35 +01:00
Denys Vuika 7f81499990 Update upgrade39-40.md 2020-08-23 10:03:02 +01:00
dependabot[bot] a6230e30e9 Bump typescript from 3.9.6 to 3.9.7 (#6044)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 11:26:31 +01:00
Eugenio Romano fc876eb05f Update artifact-from-s3.sh 2020-08-20 11:25:31 +01:00
Eugenio Romano 062c5e85e7 Update artifact-to-s3.sh 2020-08-20 11:25:04 +01:00
Cristina Jalba 90b50f8f31 Add method for selecting row with CMD 2020-08-20 11:58:55 +03:00
dependabot[bot] 3036dff1aa Bump codelyzer from 5.2.2 to 6.0.0 (#6041)
Bumps [codelyzer](https://github.com/mgechev/codelyzer) from 5.2.2 to 6.0.0.
- [Release notes](https://github.com/mgechev/codelyzer/releases)
- [Changelog](https://github.com/mgechev/codelyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgechev/codelyzer/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 09:50:02 +01:00
dependabot[bot] 521ae8becd Bump karma from 4.4.1 to 5.1.1 (#6042)
Bumps [karma](https://github.com/karma-runner/karma) from 4.4.1 to 5.1.1.
- [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/v4.4.1...v5.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 09:49:53 +01:00
dependabot[bot] 7414f0e84a Bump @angular-devkit/build-angular from 0.1000.3 to 0.1000.6 (#6043)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.3 to 0.1000.6.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 09:49:42 +01:00
dependabot[bot] 8bb933b330 Bump concurrently from 3.6.1 to 5.3.0 (#6046)
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 3.6.1 to 5.3.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/3.6.1...v5.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 09:49:31 +01:00
dependabot[bot] 7e35a3530f Bump moment from 2.22.2 to 2.27.0 (#6045)
Bumps [moment](https://github.com/moment/moment) from 2.22.2 to 2.27.0.
- [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.22.2...2.27.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-20 09:45:28 +01:00
Denys Vuika cd057c8b13 fix flex-layout version (#6040) 2020-08-20 09:43:38 +01:00
Eugenio Romano b0419d70ae Revert "Bump scss-bundle from 2.3.2 to 3.1.2 (#6034)" (#6049)
This reverts commit 91cbcb146d.
2020-08-20 09:37:57 +01:00
dependabot[bot] 9c372895ec Bump graphql from 14.7.0 to 15.3.0 (#6013)
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.7.0 to 15.3.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.7.0...v15.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 15:51:12 +01:00
dependabot[bot] 0e8113a9eb Bump @types/node from 14.0.27 to 14.6.0 (#6035)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.27 to 14.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 11:45:55 +01:00
Yuuki Ebihara 57a54e18e7 New Service create - AuditService (#5983)
* [#5671] Create new AuditService

* [#5671] Fixed because the method used was different

* [#5671] Create document
2020-08-19 11:37:34 +01:00
dependabot[bot] a672d15062 Bump @nrwl/workspace from 10.0.10 to 10.0.12 (#6015)
Bumps [@nrwl/workspace](https://github.com/nrwl/nx) from 10.0.10 to 10.0.12.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/compare/10.0.10...10.0.12)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 11:35:24 +01:00
dependabot[bot] 91cbcb146d Bump scss-bundle from 2.3.2 to 3.1.2 (#6034)
Bumps [scss-bundle](https://github.com/reactway/scss-bundle) from 2.3.2 to 3.1.2.
- [Release notes](https://github.com/reactway/scss-bundle/releases)
- [Commits](https://github.com/reactway/scss-bundle/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 09:38:48 +01:00
Roxana Diacenco 2d2bdf670b [ACA-3863] Update query-service api for E2E (#6032)
* Get application process instances by status
2020-08-19 09:37:05 +01:00
dependabot[bot] 60673a3818 Bump jasmine2-protractor-utils from 1.1.3 to 1.3.0 (#6033)
Bumps [jasmine2-protractor-utils](https://github.com/abhishekswain/jasmine2-protractor-utils) from 1.1.3 to 1.3.0.
- [Release notes](https://github.com/abhishekswain/jasmine2-protractor-utils/releases)
- [Commits](https://github.com/abhishekswain/jasmine2-protractor-utils/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 09:36:44 +01:00
dependabot[bot] d753286d11 Bump ng-packagr from 10.0.2 to 10.0.4 (#6036)
Bumps [ng-packagr](https://github.com/ng-packagr/ng-packagr) from 10.0.2 to 10.0.4.
- [Release notes](https://github.com/ng-packagr/ng-packagr/releases)
- [Changelog](https://github.com/ng-packagr/ng-packagr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ng-packagr/ng-packagr/compare/v10.0.2...v10.0.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 09:36:13 +01:00
dependabot[bot] 7104e09ff5 Bump @types/pdfjs-dist from 2.1.4 to 2.1.5 (#6037)
Bumps [@types/pdfjs-dist](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pdfjs-dist) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pdfjs-dist)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-19 09:36:01 +01:00
dependabot[bot] 9434377897 Bump mdast-zone from 3.0.4 to 4.0.0 (#5997)
Bumps [mdast-zone](https://github.com/syntax-tree/mdast-zone) from 3.0.4 to 4.0.0.
- [Release notes](https://github.com/syntax-tree/mdast-zone/releases)
- [Commits](https://github.com/syntax-tree/mdast-zone/compare/3.0.4...4.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 21:21:19 +01:00
dependabot[bot] d6d02ef727 Bump mini-css-extract-plugin from 0.9.0 to 0.10.0 (#6012)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.9.0...v0.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 17:42:22 +01:00
dependabot[bot] 9588b6a8dc Bump unist-util-select from 2.0.2 to 3.0.1 (#6021)
Bumps [unist-util-select](https://github.com/syntax-tree/unist-util-select) from 2.0.2 to 3.0.1.
- [Release notes](https://github.com/syntax-tree/unist-util-select/releases)
- [Commits](https://github.com/syntax-tree/unist-util-select/compare/2.0.2...3.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 17:40:38 +01:00
dependabot[bot] 0b2caf9878 Bump mdast-util-toc from 2.1.0 to 5.0.3 (#6023)
Bumps [mdast-util-toc](https://github.com/syntax-tree/mdast-util-toc) from 2.1.0 to 5.0.3.
- [Release notes](https://github.com/syntax-tree/mdast-util-toc/releases)
- [Commits](https://github.com/syntax-tree/mdast-util-toc/compare/v2.1.0...5.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 12:55:47 +01:00
Denys Vuika 17718a5db9 disable verbose logging for tar 2020-08-18 12:17:49 +01:00
Denys Vuika 84ad0028ba less talkative caching (#6025) 2020-08-18 11:55:21 +01:00
Eugenio Romano c96f57d1c6 bump 4.0.0 2020-08-18 11:41:49 +01:00
Eugenio Romano 16998924f5 bump dependencies 4.0.0 2020-08-18 11:12:28 +01:00
Denys Vuika d355f76499 drag and drop improvements (copy effect) (#6019)
* drag and drop fixes (copy effect)

* fix tests

* update tests

* test fixes
2020-08-18 10:57:09 +01:00
Eugenio Romano 16d9d9e356 4.0.0 2020-08-18 10:29:32 +01:00
dependabot[bot] 9dabdcac61 Bump raphael from 2.2.7 to 2.3.0 (#6016)
Bumps [raphael](https://github.com/DmitryBaranovskiy/raphael) from 2.2.7 to 2.3.0.
- [Release notes](https://github.com/DmitryBaranovskiy/raphael/releases)
- [Changelog](https://github.com/DmitryBaranovskiy/raphael/blob/master/history.md)
- [Commits](https://github.com/DmitryBaranovskiy/raphael/compare/v2.2.7...v2.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-18 10:07:19 +01:00
Eugenio Romano beeb3ad080 selct box can use numbers as value in the card view (#6020) 2020-08-17 21:31:01 +01:00
davidcanonieto a4632cf9a5 Create upgrade39-40.md 2020-08-17 16:48:18 +01:00
davidcanonieto 0e8b28dc49 [ACA-3542] Fix Filter sorting initialization (#6018) 2020-08-17 15:02:47 +01:00
Eugenio Romano 7cfb95da9d Execute test when change exclude file (#5989)
* Execute test when change exclude file

* Update protractor.excludes.json

* Update nx.json

* fix first call use all params document list
2020-08-17 10:45:55 +01:00
dependabot[bot] bba8ab1839 Bump snyk from 1.363.0 to 1.374.0 (#6010)
Bumps [snyk](https://github.com/snyk/snyk) from 1.363.0 to 1.374.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Changelog](https://github.com/snyk/snyk/blob/master/.releaserc)
- [Commits](https://github.com/snyk/snyk/compare/v1.363.0...v1.374.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-17 09:05:01 +01:00
dependabot[bot] e7044dda0e Bump ngx-monaco-editor from 7.0.0 to 8.1.1 (#5998)
Bumps [ngx-monaco-editor](https://github.com/atularen/ngx-monaco-editor) from 7.0.0 to 8.1.1.
- [Release notes](https://github.com/atularen/ngx-monaco-editor/releases)
- [Commits](https://github.com/atularen/ngx-monaco-editor/compare/7.0.0...8.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-16 14:46:45 +01:00
Eugenio Romano 6384b8148c fix error in preview (#6009) 2020-08-16 14:46:26 +01:00
Denys Vuika 4bf7a758ca fix commonjs warnings (#6008) 2020-08-15 19:05:55 +01:00
Eugenio Romano bf72fd6c9e [ACA-3853] fix use of more recent pdf viewer versions (#6007)
* fix use of more recent pdf viewer versions

* fix unit test with thte new promise
2020-08-15 19:05:38 +01:00
dependabot[bot] d5d9e70e60 Bump tslib from 2.0.0 to 2.0.1 (#6000)
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.0...2.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-15 04:25:53 +01:00
dependabot[bot] 9d11aed9fa Bump typedoc from 0.15.8 to 0.18.0 (#6001)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.15.8 to 0.18.0.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.15.8...v0.18.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-15 04:22:26 +01:00
dependabot[bot] d71d34b87d Bump karma-chrome-launcher from 2.2.0 to 3.1.0 (#6003)
Bumps [karma-chrome-launcher](https://github.com/karma-runner/karma-chrome-launcher) from 2.2.0 to 3.1.0.
- [Release notes](https://github.com/karma-runner/karma-chrome-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-chrome-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-chrome-launcher/compare/v2.2.0...v3.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-15 03:45:21 +01:00
dependabot[bot] be33270199 Bump ng2-charts from 2.3.2 to 2.3.3 (#6004)
Bumps [ng2-charts](https://github.com/valor-software/ng2-charts) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/valor-software/ng2-charts/releases)
- [Changelog](https://github.com/valor-software/ng2-charts/blob/development/CHANGELOG.md)
- [Commits](https://github.com/valor-software/ng2-charts/commits/2.3.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-15 03:11:17 +01:00
dependabot[bot] e99a5088c6 Bump @types/node from 14.0.23 to 14.0.27 (#5994)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.23 to 14.0.27.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-15 02:54:57 +01:00
dependabot[bot] 67f559bc42 Bump @angular-devkit/build-ng-packagr from 0.1000.3 to 0.1000.6 (#6002)
Bumps [@angular-devkit/build-ng-packagr](https://github.com/angular/angular-cli) from 0.1000.3 to 0.1000.6.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-15 02:18:55 +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
dhrn f5378a61ff [ADF-5165][Form] Save button is not displayed for Involved task (#6005) 2020-08-14 16:50:02 +01:00
Francesco CortiandEugenio Romano 466b309cd8 Draft of the release note for ADF 4.0.0. (#5992)
* Release note for 4.0.0.

* Added items to the release note for 4.0.0.

* Added items to the release note for 4.0.0.

* Updated the compatibikity matrix for 4.0.0.

* Update RelNote400.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-08-14 16:01:46 +01:00
Denys Vuika 66a2a676d1 Create codeql-analysis.yml 2020-08-14 14:52:06 +01:00
dependabot[bot] b3d6604426 Bump remark from 9.0.0 to 12.0.1 (#5996)
Bumps [remark](https://github.com/remarkjs/remark) from 9.0.0 to 12.0.1.
- [Release notes](https://github.com/remarkjs/remark/releases)
- [Changelog](https://github.com/remarkjs/remark/blob/main/changelog.md)
- [Commits](https://github.com/remarkjs/remark/compare/9.0.0...12.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-14 14:40:33 +01:00
Denys Vuika 53463bce7c enable dependabot 2020-08-14 10:31:37 +01:00
04b6d841d1 [ACA-3506] - Fixed refresh for filters on ADF (#5993)
* Fixed refresh for filters on ADF

* Update search-widget-container.component.ts

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-08-13 23:30:49 +01:00
Cilibiu Bogdan 5f5867370c [ACA-3839] Document List - clear filter called multiple times (#5991)
* clear only when filter has value

* update tests

* fix lint
2020-08-13 16:11:14 +01:00
Denys Vuika 322587921c allow styling cloud header from the outside (#5988) 2020-08-13 15:03:01 +01:00
davidcanonieto 5577e0e9be [AAE-2378] Add tooltip to People and Group Cloud Widgets (#5990) 2020-08-13 14:01:55 +01:00
siva kumar eb5d0da079 [ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget (#5865)
* [ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget

* *

* * Fixed failing unit tests

* * Used openFileBrowseDialogByFolderId
2020-08-13 12:45:01 +01:00
Eugenio Romano 418202cb24 update doc node selector and interface (#5987) 2020-08-13 11:15:12 +01:00
VitoandVito Albano 9ec04d33d4 [ADF-5165] - added involved user for task (#5985)
Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-08-13 09:02:28 +01:00
arditdomi 268cf7af21 [AAE-3204] Fix destinationFolder breadcrumb restriction not working (#5984)
* [AAE-3204] Fix destinationFolder breadcrumb restriction not working

* Remove not needed if-else statement

* Fix comments

* Fix type definition error while bulding

* Fix unit tests
2020-08-13 09:01:20 +01:00
Eugenio Romano 8a6358ef44 [AAE-2984] fix save not modified Form with dropdown (#5976)
* fix save not modified Form with dropdown

* Update form-field.model.ts

* Update form-field.model.ts

* fix empty value scenario

* fix unit
2020-08-12 22:34:16 +01:00
davidcanonieto 9b3efb5502 [ADF-5165] Fix Checkbok widget in completed tasks (#5979) 2020-08-12 17:58:09 +01:00
Roxana Diacenco 47883a3504 [AAE-3258] Update simpleapp (#5982)
* Update multiinstance-dmnsequence process
* Due to recent changes added to multi instance processes
2020-08-12 17:57:39 +01:00
Denys Vuika 58ec56a3b8 process header loaded event (#5981) 2020-08-12 17:56:51 +01:00
Gloria Broadbent edd172dc9b LOC-244 - All localised files in 16 languages for ADF 4.0 release (#5980) 2020-08-12 17:17:55 +01:00
8fbcb4731f [AAE-3204] 'Invalid destination folder path' displayed when clicking on attach file widget of type alfresco & local when destination folder is empty. (#5962)
* [AAE-3204] 'Invalid destination folder path' displayed when clicking on attach file widget of type alfresco & local when destination folder is empty.

* * Removed snackBar
* Removed unwanted Unit test

* * Added unit tests to the recent changes

* Remove unused import

* Exclude a test that will be fixed on different PR

* * Removed breadcrumb restriction on content source type

* * modified rootNodeId based on fileSource type
* Added unit tests too

* Revert exclude  e2e  test

Co-authored-by: adomi <ardit.domi@alfresco.com>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
2020-08-12 14:57:52 +01:00
Denys Vuika 4aa936bb9c use people api and new js api where possible (#5888)
* use people api and new js api where possible

* fix code and tests

* cleanup tests
2020-08-12 13:45:48 +01:00
Cristina Jalba a0aaf0ea58 Modify simpleapp: (#5978)
- form upload-single-multiple : the attach file widgets of type local (single and multiple) have now destination folder set to -my- instead of -root-
Modify candidatebaseapp:
- forms uploadfileform, input attach file widget and output attach file widget - the attach file widgets of type local (single and multiple) have now destination folder set to -my- instead of -root-
2020-08-12 11:30:49 +01:00
VitoandVito Albano 16d74ccf05 Fixed parent changing for search header (#5975)
Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-08-12 08:46:19 +01:00
Eugenio Romano 0a935acf23 [ADF-5159] fix visibility condition for label radio box (#5974)
* fix visibility condition for label radio box

* fix lint
2020-08-11 16:22:50 +01:00
Cristina Jalba ff8cfb1d05 Improve attach file widget PO (#5973)
* Improve attach file widget

* Fix import

* Fix import

* no message
2020-08-11 13:45:48 +01:00
Eugenio Romano 4f97067c77 update datepicker (#5971) 2020-08-11 12:30:34 +01:00
Eugenio Romano 499b50c76c Update protractor.excludes.json (#5972) 2020-08-11 11:43:29 +01:00
Cilibiu Bogdan fb24c572fa update i18n strings (#5966) 2020-08-10 19:01:20 +01:00
Eugenio Romano e2958b9988 update documentation 4.0.0 (#5968) 2020-08-10 18:06:51 +01:00
Cilibiu Bogdan 0df4f86292 update docs (#5965) 2020-08-10 15:42:47 +01:00
arditdomi 644885becc Change icon for the view option (#5967) 2020-08-10 15:42:08 +01:00
Pablo Martinez GarciaandEugenio Romano aeff60a1b5 [AAE-3084] Add retrieve metadata option in upload widget (#5903)
* AAE-3084 Add retrieve metadata option to upload widget file menu

* AAE-3084 Fix rebasing issues

* AAE-3084 Fix behaviour on empty dropdown

* Update en.json

* AAE-3084 Fix en.json

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-08-10 11:57:30 +01:00
Eugenio Romano 83786bf271 Remove excluded test (#5964) 2020-08-09 23:36:36 +01:00
Cilibiu Bogdan 9b0db0a82e [ADF-5213] Metadata - select list filter (#5961)
* select filter input component

* include theme

* add filter input

* show input conditionally

* convert value to string for d:int type values

* filter list options pipe

* add components to module

* convert int value to string

* i18n

* update tests

* tests

* update config

* remove unneeded decorator

* fix lint

* update schema

* remove filter pipe

* provide a filtered list
2020-08-09 23:35:46 +01:00
Cristina Jalba 7b7c996fab Fix process-task-attach-content-file-cloud.e2e.ts afterAll (#5963) 2020-08-08 10:09:46 +01:00
Vito 61cac20ab3 Readded column key as key parameter (#5960)
* Readded column key as key parameter

* Fixed failing unit test
2020-08-07 09:37:40 +01:00
Cristina Jalba c559898f02 Modify candidatebaseapp - input and output forms that are using attac… (#5952)
* Modify candidatebaseapp - input and output forms that are using attach file widget - destination folder set

* Exclude test
2020-08-07 09:29:06 +01:00
Denys Vuika 89b37067ff add missing export 2020-08-06 15:01:46 +01:00
Alexandra Abrudan e58367fb77 excluded C286516 (#5959) 2020-08-06 12:59:11 +01:00
Denys Vuika 486a002023 [AAE-2718] List available roles for a group (#5954)
* oath2 api service, cleanup identity users service

* cleanup groups service

* get awailable role mappings

* cleanup tests and mocks

* fix lint
2020-08-06 11:01:03 +01:00
Mercy Chrysolite 700c06521b [AAE-3219] Start process button is disabled when page is first displayed (#5955) 2020-08-05 20:54:57 +01:00
Yuuki Ebihara 5e19d488ce [#5956] Property enclose in [] (#5957) 2020-08-05 20:49:02 +01:00
Mercy Chrysolite 486a1d2c9d [ACA-3762] Task/Process filters not working with updatePagination (#5936)
* [ACA-3762] Task/Process filters not working with updatePagination

* Fixed in task list
* Added unit tests
* Refactored resetPagination
2020-08-05 19:36:38 +05:30
Cristina Jalba 5bd012deef [AAE-3214]Improve process-task-attach-content-file-cloud.e2e.ts (#5948)
* Improve process-task-attach-content-file-cloud.e2e.ts

* Exclude this test until the simpleapp zip is merged

* Travis is not working
2020-08-05 09:01:39 +01:00
Yuuki Ebihara fcb6dc0059 [#5950] Fix branch name. (#5951) 2020-08-05 08:59:45 +01:00
Mercy Chrysolite 5f5bedd1fc [ACA-3804] Add All option in process definition name filter dropdown (#5937)
* [ACA-3804] Add All option in process definition name filter dropdown

* Updated lint error
2020-08-04 22:38:35 +02:00
Eugenio Romano d312809811 not sortable id and lock (#5949) 2020-08-04 19:00:57 +01:00
Cristina Jalba 732a34f69b [AAE-3209]Fix e2e about attach file from local (#5944)
* Fix attach file from local

* Exclude test

* no message

* Change hruser to new user

* Use hruser

* no message
2020-08-04 13:58:42 +01:00
Mercy Chrysolite 1dec2ba7c8 [ACA-3678] Disable Save and Delete Button for Default Filters (#5928)
* [ACA-3678] Disable Save and Delete Button for Default Filters

* Added unit tests

* Updated unit tests

* Updated unit test
2020-08-04 09:22:43 +01:00
siva kumar 88433fe4b9 [AAE-3200] Attach button of content node selector becomes enabled when selecting a folder (#5946)
* [AAE-3200] Attach button of content node selector becomes enabled when selecting a folder

* * Removed  excluded test from the protractor.exludes.json file
2020-08-04 09:21:37 +01:00
davidcanonieto 1ade912e64 [AAE-2378] Add tooltip to Form Cloud Widgets (#5947) 2020-08-03 21:32:19 +01:00
Eugenio Romano c66ad49f03 Order by folder (#5945) 2020-08-03 14:09:42 +01:00
Eugenio Romano f740364e3a [skip ci] 2020-08-03 14:03:33 +01:00
Mercy Chrysolite 76e8a5d52d [ACA-3728] Remove the filter name from the custom filter header (#5940)
* [ACA-3728] Remove the filter name from the custom filter header

* Updated docs
2020-08-03 11:52:18 +01:00
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
Silviu PopaandSilviu Popa bfbb66ea8e [ACA-3727] - Process Filters add possibility to hide process filter name (#5938)
* [ACA-3727] - Process Filters add possibility to hide process filter name

* update documentation

* remove unnecesary changes in doc

* update doc

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-08-01 23:40:43 +01:00
arditdomi 3b4ce819f0 [AAE-3208] Remove local file widget param for attach-file-cloud-widget (#5943) 2020-08-01 23:14:48 +01:00
Cristina Jalba dc912aea5b [AAE-3177] Fix tests that are using attach file widget (#5939)
* Fix few tests with alfresco content type

* Fix start-task-form-cloud suite: make tests independent

* no message

* Add new candidatebaseapp.zip - fix attach file widget with alfresco content & local type to have destination folder empty

* Fix json
2020-08-01 23:07:41 +01:00
Eugenio Romano 4ea73ec8f3 Update protractor.conf.js 2020-08-01 01:21:52 +01:00
Eugenio Romano 0c712ae260 improve smart runner (#5942) 2020-07-31 23:39:12 +01:00
siva kumar c027d0b82b * Updated simpleapp with destinationFolderPath form paran (#5941) 2020-07-31 17:55:54 +01:00
Eugenio Romano 6f5ff737dd change travis order trigger 2020-07-31 12:15:14 +01:00
Petruta Bogdana PatrichiandPetruta Bogdana Patrichi 1e8c146ab2 [ACA-3795] E2E test to validate Delete Save and Save as actions should be displayed and enabled when clicking on custom filter header (#5930)
* Add createNewProcessCustomFilter() method in edit-process-filters-component.e2e.ts

Co-authored-by: Petruta Bogdana Patrichi <petrutabogdana@gmail.com>
2020-07-31 09:34:30 +01:00
siva kumar b8a3afce01 [ACA-3551] Show vs View button for attach widget. (#5850) 2020-07-31 10:31:12 +02:00
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
davidcanonieto 1e692252a5 [AAE-612] Support for Form Outcome Visibility Conditions (#5934) 2020-07-30 17:05:10 +01:00
Denys Vuika 0afbe36787 remove unused ID and fix the duplicate warning (#5933) 2020-07-30 16:51:04 +01:00
Mercy Chrysolite ff9d29affb [ACA-3687] Implement Process definition name filter dropdown in Process List (#5935)
* Made processDefinitionName optional
2020-07-30 16:49:55 +01:00
Petruta Bogdana PatrichiandPetruta Bogdana Patrichi e987fba5af [ACA-3731] E2E test to validate Save, Save as and Delete buttons availability on custom filters (#5929)
* [ACA-3731] E2E test to validate Save, Save as and Delete buttons availability on custom filters
* Add createNewCustomFilter() method in edit-task-filters-component.e2e.ts

* * Added the return type promise

Co-authored-by: Petruta Bogdana Patrichi <petrutabogdana@gmail.com>
2020-07-30 14:51:54 +01:00
Denys Vuika 6dde9779cd fix drop effect (#5925)
* fix drop effect

* remove old comment

* update tests
2020-07-30 11:54:42 +01:00
Urse Daniel bf7a0902c6 [ADF-5209] When viewing a previous version, the title is not displayed correctly. (#5926)
* set the file title if the versionId is present.

* test if file title is set when changing the versionId.
2020-07-30 10:19:02 +01:00
Mercy Chrysolite 46f3f0f1d1 [ACA-3687] Implement Process definition name filter dropdown in Process List (#5870)
* [ACA-3687] Implement Process definition name filtr

* Updated docs

* Updated mock
2020-07-30 09:30:39 +01:00
Eugenio Romano f6bf60eb49 minor cosmetic fix filter (#5927) 2020-07-29 17:15:53 +01:00
Cilibiu Bogdan f1a98cc6d6 [ACA-3745] Folder - update metadata default copies the name in the title field (#5923)
* add title input

* title form control

* i18n

* update tests
2020-07-29 14:02:59 +01:00
Maurizio Vitale c7237486df [AAE-3113] Node selector - Be able to restrict the breadcrums to a specific root (#5912)
* Be able to restrict the breadcrums to a specific root

* Add unit test for breadcrumbs restriction

* Fix refresh
2020-07-29 12:46:37 +01:00
Cristina Jalba 506f0dfbb1 [ACA-3590]Created process-instance-header, info-drawer and task-header POs (#5894)
* Created process-instance-header and info-drawer POs

* Refactor ADF tests to use ProcessInstanceHeaderPage

* Fix lint

* Fix card-view-date-item PO

* Add task-header PO

* no message

* Add set and get for due date property

* Changed how it was previously

* Exclude attach folder and attach file tests

* Bugs already fixed, remove excludes

* Modify data-table-item for cases when column title is empty

* Add new methods to datatable PO
2020-07-29 10:05:17 +01:00
Cilibiu Bogdan 54df083311 [ADF-5204] Metadata - Error message still appears after exiting Edit form (#5922)
* show error only in editable mode

* reset errors when reset value

* update tests
2020-07-29 09:27:17 +01:00
Eugenio Romano 1581cfc662 fix change on nodeSelector interface 2020-07-28 17:27:18 +01:00
siva kumar efc6432d1c * Made selectMode optioanl on contentNodeSelectorInterface (#5921) 2020-07-28 13:35:31 +01:00
Urse Danielandkristian b331c1422d [ACA-100] FIX - View a previous version (#5915)
* small fix, forgot to add the line when creating the last branch

* fixing the wrong parameter passing

* small fix, forgot to add the line when creating the last branch

* fixing the wrong parameter passing

* ACA-100: Exclude preview of a previous version e2e tests until ADF starts using ACS 7+

* ACA-100: Change protractor.conf.js path in Jasmine Opts

* fixing the wrong parameter passing

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
2020-07-28 13:33:20 +01:00
Silviu PopaandSilviu Popa c7a3fdab8e add missing task list translation key (#5920)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-07-28 11:55:52 +01:00
Vito 01a068550f Put folder on top by default (#5918) 2020-07-28 09:13:04 +01:00
siva kumar 76727e954b * Fixed attach widget menu (#5916) 2020-07-27 15:51:16 +01:00
Silviu PopaandSilviu Popa 7399704d57 [ACA-3107] add possibility to hide task name from the sidenav (#5883)
* [ACA-3107] add possibility to hide task name from the sidenav

* add unit tesT

* add task header spinner

* update documentation

* fix unit test

* change expect

* add another check

* replace expect condition

* additional expect

* use ToBeTruthy

* simplify expect

* add unit tesT

* add task header spinner

* fix unit test

* change expect

* add another check

* additional expect

* use ToBeTruthy

* simplify expect

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-07-27 12:12:44 +01:00
Eugenio Romano 6fa62fd62d Remove TaskLIstModule PS dep from PS Cloud 2020-07-27 09:36:25 +01:00
Urse Daniel 7c09fb1fb9 added functionality to view a previous version (#5913) 2020-07-27 09:29:29 +01:00
Mercy Chrysolite 8d43155c14 [ACA-3678] Disable save & delete buttons for default process filters (#5896)
* [ACA-3678] Disable save & delete buttons for default process filters

* Added unit test

* Added types for params

* Updated e2e

* Updated test
2020-07-26 22:13:18 +01:00
Mercy Chrysolite ef73d812c4 [ACA-3751] Disable save & delete buttons for default task filters (#5897)
* [ACA-3751] Disable save & delete buttons for default task filters

* Added unit tests

* Added param types

* Updated e2e

* Updated e2e title
2020-07-26 22:12:45 +01:00
Cilibiu Bogdan d745308cf3 include definition (#5910) 2020-07-24 16:58:35 +01:00
Cilibiu Bogdan aa3d890342 [ACA-3742] Metadata - constraints validation (#5908)
* card min max value validator

* card match value validator

* card value length validator

* map validators to constraint type

* add minmax

* update exported validators

* register validators based on constraint type

* translate errors with parameters

* tests
2020-07-24 16:58:07 +01:00
Eugenio Romano 154ca07aad force logout e2e before login (#5909) 2020-07-24 14:43:29 +01:00
Maurizio VitaleandDenys Vuika 1dde6bb1c5 [AAE-3115] Content node selector - Ability to select multiple files (#5904)
* Ability to select multiple files

* Fix unit test

* Rename event into NodeSelected

* restrict the typo

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

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2020-07-24 10:12:51 +01:00
dhrn 5a820cbecd [ACA-3765] [ADF] move reusable versioning logic (#5906) 2020-07-24 09:27:02 +01:00
dhrn a2a2f8c93c Update package.json (#5905) 2020-07-23 15:08:50 +01:00
VitoandVito Albano 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
a5972e753a [ACA-3492] ADF - Expose new Groups Endpoints (#5893)
* [ACA-3492] ADF - Expose new Groups Endpoints

* * docs added

* * fix ut

* unit test split cloud

* Update data-table-component.page.ts

* unit test split cloud

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-22 11:20:07 +01:00
Eugenio Romano 7b1da04f77 Update login.page.ts
remove duplicate log [skip ci]
2020-07-22 09:27:57 +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
Maurizio Vitale 826bd32e60 [AAE-3114] Ability to restrict search to a root folder (#5890)
* Ability to restrict the search to a specific root in case there is no site concept

* Add unit test

* Initialize the siteId with root

* Fix unit test

* Reuse existing property and add boolean

* add new line before extect

* Rename to restrictSearchToCurrentFolderId

* Typo

* Rename property into doc
2020-07-21 22:46:19 +01:00
Alexandra AbrudanandEugenio Romano 94c99574f8 [ADF-1960] automated C315180, C310200 and C313200 (#5891)
* [ADF-1960] automated C315180, C310200 and C313200

* Add log and some fixes for scripts

* fix scripts e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-07-21 01:59:32 +01:00
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
Eugenio Romano 44c5472fa2 fix build testing 2020-07-18 22:54:19 +01:00
Eugenio Romano 6358f4b318 fix build 2020-07-18 22:08:09 +01:00
Eugenio Romano c31efa85af fix build 2020-07-18 00:45:42 +01:00
Eugenio Romano 746d9fa696 fix build 2020-07-18 00:04:33 +01:00
Eugenio Romano 59c2cb7df6 use nx 2020-07-17 15:59:03 +01:00
Eugenio Romano f75151d6c6 move scripts check env in cli (#5889)
* move scripts check env in cli

* rmeove logs dep

* move scripts check env in cli

* build all
2020-07-17 14:56:24 +01:00
Eugenio Romano c3b5d1734f copy testing in nodes 2020-07-17 12:20:07 +01:00
Eugenio Romano 90820a08df Revert "[ACA-3499] Cardview textitem update on change (#5882)" (#5886)
This reverts commit 389a65860c.
2020-07-17 09:28:34 +01:00
Eugenio Romano 581a0ec7bf avoid check affected for develop and new lock file 2020-07-17 08:57:45 +01:00
Eugenio Romano 721fc74a4d revert bigFile change 2020-07-16 22:49:25 +01:00
Denys Vuika b69fdb9370 Optimize tests and upgrade Nx workspace (#5884)
* fix issue with async await, use interface over class

* upgrade nx workspace

* remove useless async

* code fixes
2020-07-16 22:34:50 +01:00
b9dc285d2b [ACA-3596] Fix e2e due to process header properties changes (#5873)
* [ACA-3596] Fix e2e due to process header properties changes

* Change pages structure

* Move the build demoshell as last step and exclude for PR

* move more pages

* change testing pkg

* better JSON import

* update script

* move CLOUD in the right place

* some logs and not used methods

* retrycout

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-16 22:22:22 +01:00
Denys Vuika 33965d0a41 fix pagination issues (#5881)
* fix pagination issues

* angular workarounds
2020-07-16 17:52:49 +01:00
Baptiste Mahé 389a65860c [ACA-3499] Cardview textitem update on change (#5882) 2020-07-16 15:56:32 +01:00
Urse Daniel e293aa048e fix on click function when in plain upload mode (#5876) 2020-07-16 14:19:09 +01:00
Iulia Burcă dace956aa0 [ACA-3184][ACA-3185] Create Task Util class (#5863)
* Create Task Util page

* Export Task Util class

* Update Task Util

* Add checks for No Form fields
2020-07-16 11:57:05 +01:00
Baptiste Mahé b968e8702e [ADF-5175] Fix clear button removing multiple filter (#5869) 2020-07-16 11:55:33 +01:00
Baptiste Mahé 00c839cc9f [ADF-5177] Pressing enter close filter menu (#5875) 2020-07-16 11:54:14 +01:00
Mercy Chrysolite 9f7a73e5cf [AAE-3073] Fix error due to formatSorting() in APW (#5878) 2020-07-16 11:53:42 +01:00
Denys Vuika 38440670b3 upgrade 3rd party dependencies (#5879)
* update and remove libs

* upgrade angular

* upgrade libs

* disable old polyfills

* upgrade angular devkit
2020-07-16 11:53:29 +01:00
Baptiste Mahé 18600ab724 [ADF-5063] Add translate pipe to attach file/folder widget titles (#5877) 2020-07-16 11:39:03 +01:00
Cristina Jalba f1bab75a79 [dev-crisj-ACA-3611]Refactor createUser method (#5872)
* Refactor createUser method

* Fix linting
2020-07-15 16:12:53 +01:00
Baptiste Mahé 586562c4dd [ADF-5180] Add keyboard accessibility for filters (#5868) 2020-07-15 10:48:05 +01:00
Eugenio Romano d1672596ba Unify hash url strategy (#5866)
* unify hash url startegy

* improve
2020-07-14 16:00:32 +01:00
dhrn 8ac683d164 [ACA-3613] Inconsistent role value between library views (#5855)
* [ACA-3613] Inconsistent role value between library views

* [ACA-3670] Inconsistent empty role value between library views

* fixed ut
2020-07-14 09:44:01 +01:00
Vito 81d3247c87 [ADF-5179] - added folders for size filters (#5849)
* [ADF-5179] - added folders for size filters

* Update app.config.json

fixed wrong rebased missed value
2020-07-14 09:33:51 +01:00
Eugenio Romano b33ecbe606 check env only if affected 2020-07-14 09:32:41 +01:00
Eugenio Romano f3ecfb5c2d fix s3 and diff branch 2020-07-13 22:23:46 +01:00
Eugenio Romano db8981ffc4 use lib from s3 2020-07-13 21:10:59 +01:00
Eugenio Romano a0f865b83b use lib from s3 2020-07-13 20:09:36 +01:00
Eugenio Romano e98927284d restore build demo shell part 2020-07-13 19:09:45 +01:00
Eugenio Romano 5edab26f8e simplify release tasks 2020-07-13 18:36:18 +01:00
Eugenio Romano 270020f561 remove cache lib/dist 2020-07-13 17:42:09 +01:00
Eugenio Romano 1be59630c8 fix build develop 2020-07-13 17:22:09 +01:00
Eugenio Romano f52f86e4c2 update lock file 2020-07-13 16:49:44 +01:00
Eugenio Romano c6dc046eab remove calculade buidl due already present in angular conf 2020-07-13 16:44:54 +01:00
Eugenio Romano 3fc7b0d95f tag fix body 2020-07-13 15:54:53 +01:00
arditdomi 50daa0ef7b [ACA-3596] process-header change assignee property key to createdBy (#5854)
* [ACA-3596] process-header change assignee property key to createdBy

* Fix unit test
2020-07-13 15:34:01 +01:00
Eugenio Romano 1f58c2d64b Update start-form.component documentation (#5864)
* Update start-form.component.ts

* Update start-form.component.md
2020-07-13 15:33:01 +01:00
Maurizio Vitale 42d88fdaa9 [MNT-21595] Content - Expose a group service for content (#5833)
* Expose a group service for content

* Use nx command and remove smart-build
2020-07-13 12:22:54 +01:00
Yuuki Ebihara 179ce2e8eb [#5860] Fix end tag. (#5861) 2020-07-11 16:52:30 +01:00
Yuuki Ebihara 681e94a921 [#5858] Fix elements of tags (#5859) 2020-07-11 14:07:21 +01:00
Maurizio Vitale 6d56cd991a Update the adf deps before install (#5857) 2020-07-10 17:01:32 +01:00
Eugenio Romano cc31c90563 fix check bundles A10 2020-07-10 15:50:24 +01:00
Alexandra Abrudan be83676a8e fixed simpleapp (#5853) 2020-07-10 10:51:44 +01:00
Alexandra Abrudan 2ec7fad019 update simpleapp with 1 new process:interm-date-provar-timer,2 forms & 1 form updated (#5852) 2020-07-10 09:45:19 +01:00
Roxana Diacenco 934b51f4c7 Add resources for Process Cloud e2e tests (#5846) 2020-07-09 10:51:53 +01:00
Maurizio Vitale 33f4c01c2e use the tag and not id because does not exist (#5847) 2020-07-09 10:51:34 +01:00
arditdomi 05a478e317 [ACA-3614] Add a way to not show info drawer header (#5848) 2020-07-09 10:51:16 +01:00
dhrn d7dc6d7230 [ADF-5191] move reusable actions to testing package (#5842)
* [ADF-5191] move reusable actions to testing package

* * tenant added

* * improved logic

* fix circular deps error and warns

* fix unit test
2020-07-08 09:11:30 +01:00
Vito 529aea77b1 [ADF-5178] - add translation for filters (#5843) 2020-07-08 09:10:00 +01:00
dependabot[bot] 1e4e58abe0 Bump npm-registry-fetch from 3.9.1 to 4.0.5 in /lib/cli (#5845)
Bumps [npm-registry-fetch](https://github.com/npm/registry-fetch) from 3.9.1 to 4.0.5.
- [Release notes](https://github.com/npm/registry-fetch/releases)
- [Changelog](https://github.com/npm/npm-registry-fetch/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/registry-fetch/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-08 09:09:47 +01:00
Vito 30e980837a [ADF-5176] - fixed apply when no value is given (#5841)
* [ADF-5176] - added check for when values are empty for headers

* [ADF-5176] - added test for the clear check
2020-07-07 17:07:49 +01:00
Mercy Chrysolite ed12b13c87 [ACA-3529] Custom filter doesn't work properly when Direction is set to ASC (#5829)
* [ACA-3479] Sort Order arrow not displayed in task and process list

* Added unit tests

* Fixed lint

* Updated constant prefix

* Added retention of sorting when ItemsPerPage changes

* Removed unwanted changes check; Renamed sortInput

* Updated unit tests

* [ACA-3529] Custom filter doesn't work properly when Direction is set to "ASC"

* Added server side sorting, when sort on column is changed

* Added unit tests
2020-07-07 17:39:27 +05:30
Baptiste Mahé 4ae484c617 [ADF-5177] Search-header execute when enter is pressed (#5840)
* [ADF-5177] Filter execute on enter key down

* [ADF-5177] Add unit test
2020-07-07 09:08:03 +01:00
Eugenio Romano a5a984164c Update .travis.yml 2020-07-06 17:54:35 +01:00
Maurizio Vitale a9e8b18972 Fix the path for the docker image (#5839) 2020-07-06 16:19:57 +01:00
Maurizio Vitale 21b881e655 return the release project (#5838) 2020-07-06 14:44:40 +01:00
Roxana Diacenco d7f6ec1a9c [ACA-3546] Update simpleapp (#5837)
Add forms:
* multiple attach file widget + single attach file widget
* 2 x multiple attach files widgets
* single attach file widget + multiple attach file widget
Add 3 processes with the forms above on Start event
Add a Content UI
2020-07-06 13:39:30 +01:00
Vito 6001ff801e [ADF-5175] - perform the search when at least one filter is active (#5836)
* [ADF-5175] - perform the search when at least one filter is active

* [ADF-5175] - removed wrong attempt

* [ADF-5175] - removed unused import
2020-07-06 11:53:23 +01:00
Denys Vuika a1077756fc fix peer dependencies 2020-07-06 07:46:10 +01:00
Denys Vuika 298fec08c1 production builds for CI runs 2020-07-03 18:25:49 +01:00
Denys Vuika f691dc90dc cleanup dependencies and fix versions (#5835)
* remove core-js

* fix lib versions

* remove unused lib

* upgrade rxjs
2020-07-03 18:08:37 +01:00
Denys Vuika 93d5dcbc30 restore commented out scripts 2020-07-03 16:28:44 +01:00
Denys Vuika 3f49a96c2c update the release command 2020-07-03 15:26:12 +01:00
maurizio vitale b8418e6e07 Print the output in dev null and add logs 2020-07-03 14:43:16 +01:00
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 2f0a585273 fix children project 2020-07-03 11:53:03 +01:00
siva kumar 14ce05c799 [ACA-3548] Convert Start Process manual cases to unit tests (#5832) 2020-07-02 11:38:27 +01:00
Pablo Martinez Garcia 90133b3bef [AAE-2972] Add password visibility to login sso page (#5830)
* AAE-2972 Add password visibility to login sso page

* AAE-2972 Remove unuseful checks

* AAE-2972 Fix css selector
2020-07-02 08:56:55 +01:00
maurizio vitale 19840b3def Remove line 2020-07-01 13:30:43 +01:00
Maurizio Vitale 270efc8bb1 add more logs and default interval (#5826) 2020-07-01 13:02:25 +01:00
Pablo Martinez Garcia e05c111c43 AAE-2972 Use BrowserActions in login page (#5825) 2020-07-01 09:10:09 +01:00
davidcanonieto 2547f9692d [ADF-5174] Add Permisssions Dialog to adf-testing Lib (#5824)
* [ADF-5174] Add Permisssions Dialog to adf-testing Lib

* Fix linting
2020-06-30 11:39:01 +01:00
Maurizio Vitale bd21c5ca7b Be able to delete based on time (#5823) 2020-06-30 11:37:57 +01:00
Eugenio Romano be91bec05d increase decoupling during the release 2020-06-30 11:37:22 +01:00
Eugenio Romano af47361f15 bump 3.9.0 2020-06-29 18:09:23 +01:00
Eugenio Romano 5180493aa8 [ACA-3507] [ACA-3523] Fix Filters (#5821)
* fix search one letter
fix navigation
add new property search text prefix and suffix

* fix unit test

* fix unit test

* fix failing test
2020-06-29 17:27:52 +01:00
Maurizio Vitale 0183f9e7f7 Fix the js-api instance and remove access to the database (#5822)
* Fix the js-api instance and remove access to the database

* Remove useless parameters
2020-06-29 15:08:38 +01:00
Eugenio Romano 1aa1f12c64 [DO NOT MERGE] try reload search conf (#5820)
* try reload

* fix

* provide

* fix

* try
2020-06-27 14:26:51 +01:00
Vito 238521e9be Fixed search configuration to look for facet widgets (#5819) 2020-06-26 13:59:08 +01:00
Popovics András 3106786a9a [ACA-3522] Fix start process feature (infinite loop, process name gets updated every second) (#5818) 2020-06-26 01:06:15 +01:00
Vito e589fdc3bf [ACA-3520] - fixed providing by default of the service (#5813) 2020-06-25 18:47:42 +01:00
Baptiste Mahé 0fcff58c04 [ACA-3527] Add check to activeFilters update (#5817)
* [ACA-3527] Add check to activeFilters update

* [ACA-3527] Add unit test
2020-06-25 17:08:50 +01:00
dhrn bd074c83e1 [ADF-5167] [FORM] Task action name inconsistency (#5816)
* [ADF-5167] [FORM] Task action name inconsistency

* * fixed UT
2020-06-25 09:55:47 +01:00
Francesco CortiandEugenio Romano 663d7fefc6 Release note for ADF 3.9.0 (#5808)
* Release note in draft for 3.9.0.

* Release note for 3.9.0.

* release notes and documentation

* fix

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-06-24 19:14:09 +01:00
Urse Daniel de975d22b8 [ACA-3447] Cancel upload of new version removes existing version (#5815)
* instead of deleting the whole node when we upload and then cancel a new version, we delete the version in case

* reverting wrong auto indent

* fix case name of the unit test

* fix auto indent

* fix auto indent
2020-06-24 18:14:18 +01:00
davidcanonieto ed68ebb751 [ADF-5163] Fix placeholder on Form widgets (#5812) 2020-06-24 15:18:33 +01:00
Gloria Broadbent c0d1ef2216 ALL 16 LANGUAGES: Fix for LOC-231 - updated localised UI files for ADF 3.9 (#5811) 2020-06-24 14:06:15 +01:00
arditdomi f76e0cd0bb [AAE-2840] Not able to complete a task with attach file widget with mappings (#5809)
* [AAE-2840] Check pipeline with possible fix

* Remove update form loop causing overwriting of the form values

* Revert ACA-3235 causing form values regression
2020-06-24 13:35:47 +01:00
Eugenio Romano 094f247889 Fix unknown style (#5810)
* fix unknown style

* missing var

* remove delete because there is already delete site

* fix test
2020-06-24 11:22:09 +01:00
Eugenio Romano 9fd10687e4 Update browser-actions.ts (#5807) 2020-06-23 16:37:52 +01:00
Eugenio Romano 5ea7b19c20 minor documentation fixes 2020-06-23 09:53:25 +01:00
davidcanonietoandEugenio Romano 46e4daeef3 [ADF-5158] ECM Version Directive (#5779)
* [ADF-5158] ECM Version Directive

* Update version-compatibility.directive.ts

* Update version-compatibility.directive.ts

* Change name from ecm to acs

* Fix unit tests

* Update docs for Version directive

* Fix unit tests

* Fix unit tests

* Linting

* Update apps-process-cloud.service.spec.ts

* Fix Ecm Service initialization

* Fix unit test

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-23 08:46:17 +01:00
Baptiste Mahé 1daffc050c [ACA-3426] Add translate pipe to search-header tooltip (#5804)
* [ACA-3426] Add translate pipe to search-header tooltip

* [ACA-3426] Get tooltip translation from member

* [ACA-3426] Refactor template
2020-06-22 22:22:39 +01:00
Eugenio Romano 9a156fa4fe error message if log level is set with wrong name (#5805) 2020-06-22 18:46:45 +01:00
Vito adfa9e2d80 [ACA-3426] - reverted method renaming (#5803) 2020-06-22 17:41:05 +01:00
Eugenio Romano 75b6c436d3 documentation review (#5802) 2020-06-22 15:20:00 +01:00
Eugenio Romano 20eaae5257 guard missing configuration 2020-06-22 15:07:28 +01:00
Eugenio Romano b62794e385 remove global configuration and add timeout configuration 2020-06-22 13:22:34 +01:00
Vito af70e22cd9 [ACA-3426] - removed not used color code (#5801) 2020-06-22 12:05:34 +01:00
siva kumar 9a6fd0125b [ACA-3448] Candidate user is able to complete a task without a form attached before claiming it (#5780)
* [ACA-3448] Candidate user is able to complete a task without a form attached before claiming it

* * Added unit test to the recent changes

* * Updated unit test
* Fixed comment

* * Updated doc

* * Revered claim changes

* * Fixed comments

* * Added unit tests to the recent changes

* * Removed errorModel
2020-06-22 11:59:07 +01:00
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
dhrn 5a0ba6666d [ACA-3474] [Info Drawer] Error on save (#5791) 2020-06-20 14:56:41 +01:00
davidcanonieto 2baae61cc5 [ADF-5161] Add query token injection for search query builder (#5799)
* [ADF-5161] Add query token injection for search query builder

* Improve logic
2020-06-20 10:59:48 +01:00
Denys Vuika 8ba36ea21c remove old unmaintained sub-projects (#5798)
* remove old unmaintained sub-projects

* add missing dependency
2020-06-20 10:59:31 +01:00
Eugenio Romano 2a5fa954bd exclude failing test before the revert of the time modify is finalized (#5794)
* exclude test

* remove exclude and add more log power

* fix

* correct issue
2020-06-19 23:04:21 +01:00
Eugenio Romano b7815e6006 Create rebase.yml 2020-06-19 18:08:45 +01:00
arditdomi 01244b1250 [ACA-3218] Fix attach file widget - wrong payload when link is true (#5777)
* [ACA-3218] Fix attach file widget link is always false

* Add unit tests
2020-06-18 18:18:34 +01:00
Silviu PopaandSilviu Popa 71205a704c [ACA-3461] Start Process - show form for preselected process (#5787)
* [ACA-3461] Start Process - show form for preselected process

* fix unit test

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-18 18:00:49 +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
Roxana Diacenco dc2060fe49 Add attach file forms and processes to resources file (#5793) 2020-06-18 17:56:57 +01:00
Eugenio Romano c5d71c09e7 minor fix init script 2020-06-18 09:45:28 +01:00
davidcanonieto fe95673e0a [ADF-5160] Fix CardView Key-Value Pairs Item overflowing (#5790) 2020-06-17 16:52:23 +01:00
Silviu PopaandSilviu Popa 61d52bd8cd [ACA-3454] disable floating label for ammount (#5782)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-17 16:28:18 +01:00
Maurizio Vitale b92aa7dfd8 adf-cli k8s image - Be able to override image by label and namespace (#5786)
* Ability to set the image of pods based on label

* Use the namespaces as filter
2020-06-16 17:24:59 +01:00
Roxana Diacenco 6fc97895ab [ACA-3373] Update simpleapp (#5784)
* Add forms and processes for attach file widget e2e tests
in Process Cloud Service
2020-06-16 16:48:04 +01:00
Maurizio Vitale baab211790 Revert "Ability to set the image of pods based on label (#5781)" (#5783)
This reverts commit 5dc3e4c46b.
2020-06-16 14:42:46 +01:00
Maurizio Vitale 5dc3e4c46b Ability to set the image of pods based on label (#5781) 2020-06-16 14:28:35 +01:00
Iulia Burcă 3651cc0235 [ACA-3329] Refactor isCompleteFormButtonDisabled method (#5765)
* Refactor isCompleteFormButtonDisabled method

- Change the isCompleteFormButtonDisabled() method structure as per the Code Style E2E 03-01
- Replace the isCompleteFormButtonDisabled() with isCompleteFormButtonEnabled() in the tests
- Add lists with the default tasks and process filters name in order to use a variable instead of a string (ADW eg. in the breadcrumb checks)

* Add visibility wait in isCompleteFormButtonEnabled method

* Refactor isProcessListDisplayed method

- Change the isProcessListDisplayed() method structure as per the Code Style E2E 03-01
- Replace the checkProcessListIsDisplayed() with isProcessListDisplayed() in the tests

* Fix isCompleteFormButtonEnabled and isCancelButtonEnabled methods

* Fix isCompleteFormButtonEnabled method

* Create separate method to check for Complete button visibility

* fix tslint
2020-06-16 12:51:34 +01:00
Mercy Chrysolite 0349280d42 [ACA-3109] Change order of default process filters for DW (#5760)
* [ACA-3109] Change order of default process filters

* Updated strings to constants; Fixed failing e2e

* fixed lint

* Fixed failed e2e
2020-06-16 10:44:28 +02:00
Eugenio Romano 904c7eff7c fix start process testing (#5778) 2020-06-16 09:08:04 +01:00
Cristina Jalba 8fb93fe1c0 Check for presence of the element before getText() in BreadcrumbPage PO. (#5776) 2020-06-15 22:04:50 +01:00
arditdomi 7b52da55cb Fix attach file widget shows Local source when only link is enabled (#5775) 2020-06-15 13:45:48 +01:00
Eugenio Romano 6a20a7acef fix start process testing (#5774) 2020-06-12 18:41:40 +01:00
Eugenio Romano fec1b813e6 fix cli 2020-06-12 13:57:44 +01:00
Eugenio Romano 6e732ee9a4 fix parameter oauth cli 2020-06-11 23:56:35 +01:00
arditdomi d56bca3765 [ACA-3201] Fix datatable non-sortable with sortable columns are not aligned (#5771) 2020-06-11 18:13:01 +01:00
Denys Vuika 8025434de9 fix e2e tests and cleanup e2e typings (#5770)
* cleanup e2e typings

* fix e2e tests
2020-06-10 20:37:21 +01:00
Denys Vuika 98774395d2 fix imports (#5769) 2020-06-10 15:29:02 +01:00
arditdomi 3409cca8b8 [ADF-5157] Export default process name pipes (#5768) 2020-06-10 14:49:13 +01:00
Urse DanielandEugenio Romano c86b1937fe [ACA-3266] Improve version upload component (#5766)
* added new component to compare current and new file version of a node.

* update doc

* added more tests

* updated docs

* small fixes

* changed with typography

* Update version-comparison.component.md

* handle hiding the comparison component on demo shell if cancelled/uploaded a new file version

* small fixes

* added export the new component version-comparison

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-10 12:59:44 +01:00
siva kumar ea62b1e3bd [ACA-3416] Add Claim/Release actions on adf task form (#5753)
* [ACA-3255] FE - Claim a task

* * Added unit tests

* * Added unit tests
* Changed cloud directive names

* * Added/Updated documents

* * Added showReleaseClaim button flag
* Add unit test too

* * Used claim/release directive in task-header component.

* * Fixed unit test

* * Fixed one comment

* * After rebase

* * Fixed comments
2020-06-10 10:43:23 +01:00
Silviu PopaandSilviu Popa 77bbecea8e [ACA_3292] - Add queued task as part of default task filter (#5747)
* [ACA_3292] - Add queued task as default task filter

* don't emit event if the filter is undefined

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-10 11:45:02 +03:00
Eugenio Romano d263ee7142 Update test.config.js 2020-06-09 16:00:45 +01:00
siva kumar 295cb21043 * Fixed opacity error (#5764) 2020-06-09 15:07:43 +01:00
arditdomi 8a36e7fd3f [ACA-3348] Add default process name pipe (#5745)
* [ACA-3348] Add default process name pipe

* [ACA-3348] Add documentation

* [ACA-3348] Change transform function to recieve a process def parameter, Update documentation

* Change parameter type to fix build

* Fix lint errors

* Move unit test to the correct describe

* Fix lint errors

* Move from one core pipe to different for APS1 and Cloud

* Add Pipe to process cloud providers

* Update documentation

* Revert demo-shell default process name

* Fix pipe version in documentation

* e2e - select process definition and then type name

* Fix process services e2e

* Align process filters e2e

* Align start-task-form cloud e2e

* Use processInstance model instead of processDefinition as a parameter for transform function
2020-06-09 13:35:13 +01:00
siva kumar b161ceab26 [ACA-3358] Show user friendly error templates when there are no applications/processDefinitions (#5746)
* * Added empty template on start process component

* * Removed errorMessageId

* * Added unit tests to recent changes

* * Added doc

* * fixed comments

* * Used showError notification

* * After rebase

* * Fixed failing e2e

* * Fixed comments
2020-06-09 09:15:22 +01:00
Eugenio Romano fffa97c7f8 use new static drop actions 2020-06-09 01:25:08 +01:00
Eugenio Romano 76d391669c static async dropactions 2020-06-09 00:59:46 +01:00
Eugenio Romano a37423b74a add drop actions utils 2020-06-08 23:59:36 +01:00
Eugenio Romano 5e09bbc252 fix param 2020-06-08 21:11:16 +01:00
Baptiste Mahé 4b53c0e3be Hide WIP filter inside document-list (#5761) 2020-06-08 18:25:25 +01:00
Baptiste Mahé 6412697d96 [ACA-3407] New component : Filter Menu created and implemented inside the Document List (#5748)
* [ACA-3407] New component : Filter Menu, implemented inside the Document List

* [ACA-3407] Refactor click method

* [ACA-3407] Update Filter Icon style

* [ACA-3407] Add filter icon and update tooltip with column name
2020-06-08 09:46:45 +01:00
Eugenio Romano 482c3023f8 fix testConfig Logger 2020-06-08 09:25:23 +01:00
Eugenio Romano ffcd16aeaf improve api service configuration (#5759) 2020-06-08 07:24:28 +01:00
Eugenio Romano cafedf29f6 not use testconfig if is not present (#5758) 2020-06-08 00:10:13 +01:00
Eugenio Romano 8e241a9e8f add export missing model (#5757)
simplify api
2020-06-07 21:46:37 +01:00
dependabot[bot] 0257cf5748 Bump websocket-extensions from 0.1.3 to 0.1.4 (#5756)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-07 18:26:33 +01:00
Eugenio Romano 1c030d7b48 improve e2e configuration (#5752)
* improve e2e configuration

* fix login

* fix login

* use storage

* fix

* default oauth

* improve share file test and add baseShareUrl init in e2e

* some click script better usage
2020-06-06 20:12:54 +01:00
Mark Steadman 6f2ec24851 fix: addition of persistent label (#5754) 2020-06-05 18:51:59 +01:00
Mark Steadman c3ac45303f fix: updated heading markup for bread crumbs (#5755) 2020-06-05 18:51:28 +01:00
Cristina Jalba 492fba5f4e [ACA-2989]Add doubleClickRow method (#5728)
* Add doubleClickRow method

* Renamed the method to be in sync with the actions made

* Modified the columns parameter from 'any' to 'Column[]'

* no message

* Make Column abstract again

* Add locators snackbar action

* Unblock Travis

* no message
2020-06-05 17:41:08 +01:00
Eugenio RomanoandDenys Vuika a78f24ada1 [ACS-259] refactor login page (#5733)
* refator login page

* refator login page

* remove obsolete classes and move what is needed in the test pck

* fix const

* revert modify

* remove duplicate browser property

* fix build

* fix

* fix

* fix lint

* move drop action in testing
remove not necessary space
js-api centralize content

* first refactor use js-api

* fix protractor

* refactor test config

* simplify properties
fix namings

* ps cloud simplify
remove unused js files

* id fix

* fix search test
simplify environment var step 1

* fix lint

* first user iteration fix

* fix model

* unify use of apiService

* first step automatic user creation Identity

* refactor creation user content-services

* refactor creation user search

* refactor creation user core

* process service refactoring 1

* process service refactoring 1

* process service refactoring 2

* fix process

* appconfig

* fix process util

* fix gallery

* fix "this" reference issues

* fix incorrect import paths

* fix core

* some fixes

* allign

* fix some test
remove structure folder and move in actions

* fixes

* move folders in the right place

* fix

* fix rebase

* solve build issue

* fix e2e

* change init aae

* order api and some fixes

* fix possible not valid password

* fix some ps test

* replace host port also in objects

* Update app-config.service.ts

* fix process

* fix process test

* process service cloud fix

* fiexs

* modify init script

* fix two test

* remove unused property

* host issue

* not use npx

* fix ps cloud test

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-06-04 14:41:30 +01:00
Urse DanielandEugenio Romano f0df6b3a5f [ACA-3266] Improve version upload component (#5750)
* added new component to compare current and new file version of a node.

* update doc

* added more tests

* updated docs

* small fixes

* changed with typography

* Update version-comparison.component.md

* handle hiding the comparison component on demo shell if cancelled/uploaded a new file version

* small fixes

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-04 13:01:11 +01:00
davidcanonieto 13066a9a32 [ADF-5154] Add missing API endpoints to SitesService (#5751) 2020-06-04 12:40:31 +01:00
Maurizio Vitale d667c93ff3 Fix the obj reference (#5749) 2020-06-03 14:32:00 +01:00
Mercy Chrysolite 6890dea819 [ACA-3286] User gets error when removing the attached file (#5735) (#5744) 2020-06-02 18:38:18 +02:00
Baptiste Mahé 439e3c7a7c [ADF-5153] Transclusion exposed from the DataTable to the DocumentList (#5743)
* [ADF-5153] Transclusion exposed from the DataTable to the DocumentList

* [ADF-5153] Add flags to control transclusion

* [ADF-5153] Remove Ngif breaking the transclusion
2020-06-02 15:31:56 +01:00
Cristina Jalba 6b06fd6364 [ACA-3390]Add startProcessWithApplication method on StartProcessPage (#5741)
* Add startProcessWithApplication method on StartProcessPage

* Removed one method

* Fix comments
2020-06-02 10:31:32 +01:00
Popovics András 0a4f792854 [ACA-3074] Fix preselected file loading issue (#5739) 2020-06-02 09:45:39 +01:00
Iulia Burcă 2372710f3d [ACA-3332] Add Context menu click action for process and task list and selectRow for process list (#5730)
* Add click on context menu action

* Export context-menu class through public-api.ts

* Add isContextMenuDisplayed method

* Add select row method for process list

* Typo in context-menu class

* Move Context Menu class in core folder

* Add async and await to select process row method

* Remove return from select process row method

* Rename selectRow method for Process and Task list
2020-06-02 09:39:20 +01:00
arditdomi 3649e9239f [ACA-3368] Update datatable columns when presetColumn schema changes (#5732)
* [ACA-3368] Update datatable columns when presetColumn schema changes

* [ACA-3368] Add presetColumn change detection for task list

* [ACA-3368] Improve unit tests, fix comments

* [ACA-3368] More unit test improvements
2020-05-29 14:34:42 +01:00
Maurizio Vitale d782b5c4d2 Use the translation key (#5737) 2020-05-29 13:33:35 +01:00
Eugenio Romano 084dacde26 Revert "[ACA-3286] User gets error when removing the attached file (#5735)" (#5738)
This reverts commit 1565a49f68.
2020-05-29 11:58:49 +01:00
Mercy Chrysolite 1565a49f68 [ACA-3286] User gets error when removing the attached file (#5735) 2020-05-29 11:43:18 +01:00
siva kumar 84607de277 [ACA-3359]Disable processName/ProcessDefintions drop down if no application selected. (#5736) 2020-05-29 00:14:44 +01:00
Baptiste Mahé a9a801c34d [ADF-5150] Datatable sub-component each in its own folder (#5734) 2020-05-28 22:45:32 +01:00
Silviu PopaandSilviu Popa 75f2165f3f [ACA-2975] fix start process wrong response (#5726)
* [ACA-2975] fix process response object

* add unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-28 00:07:04 +01:00
Silviu PopaandSilviu Popa e715997a2d [ACA-3277] - remove unnecessary style (#5729)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-27 19:14:07 +01:00
Vito 6810f7a7a2 Fixed simple app for DT problem (#5731) 2020-05-27 19:11:33 +01:00
Mercy Chrysolite 66c2b0b125 [ACA-3271] START PROCESS button is inactive first time when process model is loaded (#5700)
* [ACA-3271] START PROCESS button is inactive first time when process model is loaded

* Fixed lint error

* Fixed failing unit tests
2020-05-27 15:00:51 +02:00
Eugenio Romano d8367b2655 Update start-process-cloud.component.md 2020-05-27 12:35:48 +01:00
Eugenio Romano 3a0efea65d Update start-process-cloud.component.md 2020-05-27 12:35:31 +01:00
siva kumar 0f5fd3574b [ACA-3304] FE - Add a drop down to select running application on start process component (#5702)
* [ACA-3304] FE - Add a drop down to select running application on start process component

* * Removed unwanted css

* * Added unit tests and updated docs

* * Fixed comments

* * Added way to test application dropdown in start-process

* * Fixed failing  unit tests

* * Removed all option* Fixed failing e2e
2020-05-27 12:23:36 +01:00
Eugenio Romano 63a9c1a5be fix peerDependencies testing 2020-05-26 22:22:46 +01:00
Eugenio Romano f4ee057193 Update login-sso.page.ts (#5725) 2020-05-26 20:03:30 +01:00
Cristina Jalba 97b8e995be [ACA-2989]Creating data-table-component PO to support all kind of columns, including custom (#5715)
* POC for refactoring data-table-component.page.ts [PO for datatable from adf testing package]. Currently the majority of the methods that we have on this class are working only on 'text' column type. The scope of this PR was to make them work on all types of columns (text, image, date, fileSize, location, json) and also custom columns that may be created on different applications or other pages.

* Set 'text' as default and add rootElement

* Remove comments
2020-05-26 11:56:10 +01:00
Iulia Burcă a8251fa7ef [ACA-3314] Add cancelButton and noFormTemplate form elements (#5723)
* Add method to click on task
2020-05-22 17:09:37 +01:00
Baptiste MahéandEugenio Romano 7a6a86e27e [AAE-2478] Long task title show ellipsis when too long and add tool tip to task title inside form (#5704)
* [AAE-2478] Keep long task title on one line with ellipsis

* [AAE-2478] Add tool tip to task title inside form

* [create preview]

* Update form.component.html

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-22 09:36:31 +01:00
Eugenio Romano 1f0a5ac87c entrypoint exec 2020-05-22 01:48:26 +01:00
Eugenio Romano 467d2b0f17 Update Dockerfile 2020-05-22 01:11:40 +01:00
Eugenio Romano 04114eeac5 Update entrypoint.sh (#5720) 2020-05-22 00:40:04 +01:00
Eugenio Romano 7b2d2677c3 Update Dockerfile 2020-05-22 00:37:31 +01:00
Alexandra Abrudan df6627a658 update simpleapp with different ids and names for messages in pools-processes (#5719) 2020-05-21 17:41:45 +01:00
Denys Vuika ae3ac440bc Ivy compatible test modules (#5718)
* ivy compatible core unit tests

* ivy compatible content tests

* ivy compatible process tests

* ivy compatible process cloud tests

* ivy compatible insights tests

* fix content test

* fix content test
2020-05-21 16:25:28 +01:00
arditdomi 9f2faee027 [ACA-3326] Create the default filters following the new order (#5713)
* [ACA-3326] Change default filters order

* [ACA-3326] Make selectRunningFilter method deprecated

* [ACA-3326] Add filter index as optional
2020-05-21 15:30:56 +01:00
davidcanonieto ac847313e3 [ACA-3317] Make About Github Link Component input properties optional (#5717)
* [ACA-3317] Make About Github Link Component input properties optional

* Update permission-list.component.html
2020-05-21 15:05:05 +01:00
Eugenio Romano 08811c7c60 [AAE-2666] fix dropdown rest (#5714)
* fix dropdown rest

* fix dropdown rest
2020-05-21 10:02:44 +01:00
Denys Vuikaandsivakumar414ram 654be10dd2 Pre-Angular 9 upgrade fixes (#5712)
* remove deprecated angular/http

* upgrade adf libs

* fix production builds

* ivy-compatible translate module usage

* improved module usage

* upgrade content services module

* fix process services tests

* upgrade process cloud tests

* lint fixes

* update core max size

* fix insights test module

* remove insights lazy loading workaround

* fix insights module exports

* * Fixed skipped form-cloud unit test and removed duplicated tests

* cleanup the use of services

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-05-20 16:51:51 +01:00
Urse DanielandEugenio Romano 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
Eugenio Romano 531d1d7345 fix build cli 2020-05-18 19:20:12 +01:00
Eugenio Romano 6f67c43f8c fix build cli 2020-05-18 18:31:18 +01:00
Eugenio Romano a23f000e53 fix build cli 2020-05-18 18:28:34 +01:00
Alexandra Abrudan 7b823834bc updated resources file with the new added processes & form (#5711) 2020-05-18 15:35:20 +01:00
Denys Vuika 347e64fd91 Pre-Angular upgrade fixes (#5709)
* code fixes

* code fixes

* more code fixes

* even more fixes

* add missing typescript for cli

* rollback info drawer test changes

* use npx for cli commands

* restore attach providers
2020-05-18 14:02:15 +01:00
davidcanonieto 1def8000f0 [ACA-3317] Split About component into smaller components (#5708) 2020-05-18 09:39:58 +01:00
davidcanonieto 22acd3f6e6 [ADF-5143] Fix Checkbox widget value parsing (#5706) 2020-05-14 23:52:09 +01:00
Cristina Jalba 5133705469 [ACA-3028]Move breacrumb page to adf testing package (#5705)
* Move breacrumb page to adf testing package

* no message
2020-05-14 23:51:34 +01:00
Maurizio Vitale 1043748765 Ability to chage the route (#5703) 2020-05-14 12:44:20 +01:00
arditdomi 7d4a956833 [ACA-3316] Fix process filters selection should reset if input changes to non ex… (#5698)
* [ACA-3316] Fix process filter should reset if input changes to non existing filter

* [ACA-3316] Add unit tests
2020-05-14 12:22:14 +01:00
78332449a5 [AAE-2200] Upload dialog title should match selected site. (#5648)
* [AAE-2200] content-node-selector-panel pass starting site and emit event onSiteChange

* [AAE-2200] content-node-selector handle siteChange event

* [AAE-2200] content-node-selector has good default title

* [AAE-2200] attach-file-widget-dialog handle siteChange event

* [AAE-2200] Minor fixes on attach-file-widget-dialog

* [AAE-2200] site-dropdown reload site list unfil it find its default site

* [AAE-2200] Fix title translation for attach-file-widget-dialog

* fix missing property description

* Unit test fix

* [AAE-2200] Fix title unit tests

* [AAE-2200] Fix sites-dropdown infinite loading

* [AAE-2200] Add content-node-selector-panel siteChange event unit tests

* [AAE-2200] Refactor sites-dropdown unit tests

* [AAE-2200] Refactor the 'allSitesLoaded' check

* [AAE-2200] Add sites-dorpdown default value unit tests

* [AAE-2200] Move getSiteFromNodePath method to sites service

* [create preview]

* [create preview]

* [AAE-2200] Better hasMoreItems check in sites-dropdown (fix unit test)

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Cano <david.cano.nieto@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-14 10:38:16 +01:00
Eugenio Romano c26b8e046c stabilize some e2e cloud (#5701)
* stabilize some e2e cloud

* Update protractor.conf.ts

* Update protractor.conf.ts

* improve some other test

* fix
2020-05-14 09:42:40 +01:00
Eugenio Romano bf729f60a2 [Impreove e2e] Dev delete sites e2e missing (#5695)
* fix e2e sites delete

* fix lint

* permamenent
2020-05-13 22:35:31 +01:00
Maurizio Vitale 0186d11fe8 Ability to evaluate an object as payload (#5697) 2020-05-13 22:19:07 +01:00
Denys Vuika 5621dbbb05 audit command for adf cli (#5699) 2020-05-13 22:13:16 +01:00
arditdomi a8c252db8b [ACA-3245] Fetch alfresco repo name from an API (#5676)
* [ACA-3245] Fetch alfresco repo name from an API

* [ACA-3245] Take the repo name from the API only when it is not defined in the app config

* [ACA-3245] Remo alfresco-1 as default in app.config service

* [ACA-3245] Remove passing null argument when calling getRepositories function

* [ACA-3245] Revert removing function parameter includeAccounts

* [ACA-3245] Add tenantId as optional

* [ACA-3245] Revert method

* [ACA-3245] Change both parameters to optional

* [ACA-3245] Rename param
2020-05-13 20:56:29 +01:00
Denys Vuika f6801b1997 [ADF-5106] fix stencil registration (#5694)
* customize services on the module level

* improved service registration
2020-05-13 19:31:49 +01:00
siva kumar 2b7943919d [ADF-5103] FE - Process/task filter - Backporting the components styles to ADF (#5614)
* * New Filters style

* * Improved css

* * Fixed wrong css selector

* * Fixed failing unit tests

* * Fixed failing tests
ests

* * FIXED E2E PROCESS-SERVICE TESTS

* * Fixed failing e2e

* * FIxed process-service cloud e2e

* * Removed xpath locator

* * New Filters style

* * Improved css
2020-05-13 14:43:05 +01:00
Eugenio RomanoandCilibiu Bogdan b76bb750dc [ACA-1606] use new api siteservice (#5693)
* use new apu siteservice

* refactor import

* added getSiteMembershipRequests

Co-authored-by: Cilibiu Bogdan <bogdan.cilibiu@ness.com>
2020-05-13 14:08:31 +01:00
siva kumar 6da489a7ff [ACA-3235] FE - Should not include invisible fields in payload on Start/Save adf-form. (#5681)
* [ACA-3235] FE - Should not include invisible fields in payload on Start/Save adf-form.

* * Added unit test to the recent changes
2020-05-13 10:26:12 +01:00
dhrn 78a91f9424 * fixed types (#5692) 2020-05-13 10:05:58 +01:00
Eugenio Romano 63d59f7ffd revert used by app method 2020-05-13 01:32:09 +01:00
Silviu PopaandSilviu Popa f850d7ed38 [AAE-2537] - fix mark as read notification (#5667)
* [AAE-2537] - fix mark as read notification

* lint

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-13 01:20:19 +01:00
Silviu PopaandSilviu Popa 171089d1d6 [ACA-3273] - fix start process empty message (#5689)
* [ACA-3273] - fix start process empty message

* revert licenses changes

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-13 01:17:48 +01:00
Eugenio Romano da82180814 Update update-children.sh 2020-05-12 23:46:59 +01:00
Cristina Jalba 24786b54e3 [ACA-3269]Move notificationPage to adf testing package (#5687)
* Move notificationPage to adf testing package

* Fix lint

* Fix test

* Fix test

* Wait for snackbar to be closed in the tests

* Fix notification tests
2020-05-12 23:09:55 +01:00
f5fe125c9e [AAE-2557] - fixed variable mapping on start process (#5680)
* [AAE-2557] - fixed variable mapping on start process

* [AAE-2557] - fix for randomly failing e2e

* run

* uopdate process

* fix unit

* increase timeout

* Update edit-process-filter-cloud-component.page.ts

* [AAE-2557] - removed trailing whitespaces

* create only if change processes

* [create preview]

* trigger build

* [AAE-2557] - correct all filter on process filter selection

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-12 20:35:45 +01:00
Denys Vuika 6793c5c466 CLI: new licences command (#5690)
* new licences command

* remove old licences command
2020-05-12 19:56:45 +01:00
davidcanonieto b32f3f7f01 Fix resources path for releasing apps (#5691) 2020-05-12 18:15:18 +01:00
Alexandra Abrudan d331e32174 updating simpleapp with new processes with pools (#5688) 2020-05-12 16:16:04 +01:00
Baptiste Mahé 9b42a07de2 [AAE-2478] Add margin to the form title to avoid overlaping the buttons (#5685) 2020-05-12 11:55:25 +01:00
Eugenio Romano f72f82ed4a fix e2e (#5686)
* fix e2e

* Update notifications-component.e2e.ts

* fix e2e

* fix e2e

* try with interval

* Update version-actions.e2e.ts
2020-05-12 10:04:55 +01:00
Eugenio Romano 27fd18c40e Update Dockerfile 2020-05-11 18:21:12 +01:00
arditdomi 8ef91ce98d [ACA-3182] Extensions - Add property to define the parent route of an extension route reference (#5684) 2020-05-11 15:42:54 +01:00
Eugenio Romano c2a95d9394 remove test release task (#5683) 2020-05-11 13:58:01 +01:00
dhrn 85457d60d8 [ADF-5135] Eventual Consistency Helper for e2e tests. (#5668)
* [ADF-5135] Eventual Consistency Helper for e2e tests.

* [ADF-5135] Eventual Consistency Helper for e2e tests.
2020-05-11 11:38:51 +01:00
Baptiste Mahé c5b4888126 [ADF-5131] Radio buttons display below label (#5672) 2020-05-11 11:36:49 +01:00
Eugenio Romano 0fe8f4d11e update travis org com 2020-05-11 10:59:53 +01:00
Eugenio Romano 9e0b28b350 Update README.md 2020-05-11 10:56:53 +01:00
Eugenio Romano f46182a5a5 Update Dockerfile 2020-05-11 10:29:42 +01:00
Eugenio Romano 742c103cc0 Deploy PR on request (#5642)
* deploy PR on request

* [create peview]

* [create peview]

* script fix [create preview]

* [create peview]

* change creation preview

* [create peview]

* Update deploy-pr.sh

* [create peview]

* update node and dist

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create preview]

* subfolder issue

* [create preview]

* [create preview]

* [create preview]

* [create preview]

* [create preview]

* [create preview]
2020-05-10 18:32:47 +01:00
Eugenio Romano 851e41eae2 Update update-children.sh 2020-05-07 17:37:59 +01:00
Eugenio Romano 48b48e7b06 Update trigger-travis-children.sh 2020-05-07 17:37:05 +01:00
Eugenio Romano ef9dfead59 Update README.md 2020-05-06 14:20:44 +01:00
dependabot[bot] 68db414cf8 Bump https-proxy-agent from 2.2.1 to 2.2.4 in /lib/cli (#5677)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-06 12:07:49 +01:00
Eugenio Romano e139b4c218 [AAE-2570] prepare script to change name development to develop (#5675)
* prepare script to change name development to develop

* travis for develop
2020-05-06 11:23:01 +01:00
Denys Vuika 94e2e83e73 ADF CLI fixes (#5674)
* safety checks and better path eval

* do not execute command on help

* rewrite 'update-version' command
2020-05-06 11:18:38 +01:00
Eugenio Romano 2db9fb0aa9 Update compatibility.md 2020-05-05 11:11:25 +01:00
Eugenio Romano 5bc7887cd4 fix update children 2020-05-04 21:18:48 +01:00
1958 changed files with 66166 additions and 46573 deletions
+17
View File
@@ -0,0 +1,17 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major version
last 2 iOS major versions
Firefox ESR
not IE 9-11 # For IE 9-11 support, remove 'not'.
+8
View File
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 5
target-branch: develop
+54
View File
@@ -0,0 +1,54 @@
name: "CodeQL"
on:
push:
branches: [develop, master]
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
schedule:
- cron: '0 5 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+18
View File
@@ -0,0 +1,18 @@
on:
issue_comment:
types: [created]
name: Automatic Rebase
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+4 -1
View File
@@ -8,7 +8,7 @@ workspace.xml
dist/
e2e/.env.cloud
tmp
e2e-output/
e2e-output*/
/e2e/downloads/
*.npmrc
.history
@@ -23,3 +23,6 @@ e2e-output/
coverage/
/desktop.ini
out-tsc
!/.protractor-smartrunner/
/reports/
e2e-result-*
+54 -46
View File
@@ -3,73 +3,69 @@ git:
quiet: true
language: node_js
dist: trusty
dist: bionic
node_js:
- '12.13.1'
- '12.18.4'
before_install: . ./scripts/ci/job_hooks/before_install.sh
install:
echo "no install"
env:
global:
#E2E VARIABLES
- SAVE_SCREENSHOT=true
- REDIRECT_URI=/
- REDIRECT_URI_LOGOUT=/logout/
- BROWSER_RUN=true
- MAXINSTANCES=3
branches:
only:
- master
- development
- develop
- /.*old-env.*/
- /.*next-release.*/
- /.*beta.*/
- /.*greenkeeper.*/
# TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR
stages:
- name: Lint & Build Dist
if: type = pull_request OR type = api
- name: Lint & Build Dist & Release
if: (type = push OR type = cron) AND tag IS blank
- name: Update Rancher
if: (type = push AND tag IS blank) OR type = api
if: tag IS blank
- name: Check bundle
if: type = push AND tag IS blank
- name: Unit test
if: (type != cron AND tag IS blank) OR type = api
- name: e2e Test
if: (type != cron AND tag IS blank) OR type = api
- name: Update Children Projects
if: branch = master AND type = push OR (tag =~ .*beta.*)
- name: Release beta tag
if: type = cron OR branch = master
- name: Trigger ADF child build
if: (branch = development AND type = push) OR type = api
if: (branch = develop AND type = push) OR type = api
- name: Unit test
if: (branch != master AND type != cron AND tag IS blank) OR type = api
- name: e2e Test
if: (branch != master AND type != cron AND tag IS blank) OR type = api
- name: Update Children Projects
if: tag =~ .*beta.*
- name: Release tag
if: type = cron OR branch = master
addons:
chrome: stable
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
- export GIT_HASH=`git rev-parse HEAD`
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
services:
- xvfb
jobs:
include:
# Run Only for any PR
- stage: Lint & Build Dist
name: Lint & Build Dist
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
# Run Only on Development and master
- stage: Lint & Build Dist & Release
name: Lint & Build Dist & Release
name: Build
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
- ./scripts/travis/build/build.sh
- ./scripts/lint.sh
- ./scripts/travis/release/release-npm.sh
- ./scripts/travis/release/release-docker.sh
after_success:
- ./scripts/travis/release/release-docker.sh
- ./scripts/ci/utils/artifact-to-s3.sh -a ./dist/demo-shell -o "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2"
- ./scripts/ci/utils/artifact-to-s3.sh -a ./lib/dist -o "$S3_DBP_FOLDER/alfresco-libs.tar.bz2"
- stage: Unit test
name: Unit test content
@@ -78,44 +74,57 @@ jobs:
name: Unit test core extension demo
script: ./scripts/travis/unit-test/core-extension.sh
- stage: Unit test
name: Unit test process process-cloud insights
name: Unit test process insights
script: ./scripts/travis/unit-test/process.sh
- stage: Unit test
name: Unit test process-cloud
script: ./scripts/travis/unit-test/process-cloud.sh
- stage: Update Children Projects
script: ./scripts/travis/update/update-children.sh
- stage: Release beta tag
- stage: Release tag
script: ./scripts/travis/release/git-tag.sh
- stage: e2e Test
name: core
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/core-e2e.sh
- stage: e2e Test
name: content
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/content-services-e2e.sh
- stage: e2e Test
name: search
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/search-e2e.sh
- stage: e2e Test
name: process
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/process-services-e2e.sh
- stage: e2e Test
name: process Cloud
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/process-services-cloud-e2e.sh
- stage: Update Rancher
name: Update Rancher
script: ./scripts/travis/deploy/deploy.sh
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/npm-check-bundles.sh -v ${ADF_VERSION}
- stage: Trigger ADF child build
name: Trigger ADF child build
script: ./scripts/travis/update/trigger-travis-children.sh --branch $TRAVIS_BRANCH Alfresco $TRAVIS_ACCESS_TOKEN
@@ -135,5 +144,4 @@ notifications:
cache:
directories:
- node_modules
- demo-shell/dist
- tmp
+1 -1
View File
@@ -10,7 +10,7 @@
"name": "e2e",
"program": "${workspaceFolder}/node_modules/protractor/bin/protractor",
"args": [
"`${workspaceFolder}/.vscode/closest-config-finder.sh ${file} protractor.conf.ts`",
"`${workspaceFolder}/.vscode/closest-config-finder.sh ${file} e2e/protractor.conf.js`",
"--specs=${file}"
],
"envFile": "${workspaceFolder}/.env",
+5 -5
View File
@@ -13,10 +13,10 @@ Before you submit a pull request please follow the steps below:
* Search in the [GitHub release history](https://github.com/Alfresco/alfresco-ng2-components/releases) to see if your
issue has already been solved in a new version of ADF.
* Fork our repository (if you don't know how to do this, read [this GitHub document](https://help.github.com/articles/creating-a-pull-request-from-a-fork/)).
* Make your changes in a new git branch starting from development and following our [naming convention](https://github.com/Alfresco/alfresco-ng2-components/wiki/Branching-Strategy)
* Make your changes in a new git branch starting from develop and following our [naming convention](https://github.com/Alfresco/alfresco-ng2-components/wiki/Branching-Strategy)
```shell
git checkout -b dev-{developerName}-{GitIssuedId/JiraIssueId} development
git checkout -b dev-{developerName}-{GitIssuedId/JiraIssueId} develop
```
* Create your PR **including appropriate test cases** following the [code contribution acceptance criteria](https://github.com/Alfresco/alfresco-ng2-components/wiki/Code-contribution-acceptance-criteria)
@@ -28,16 +28,16 @@ Before you submit a pull request please follow the steps below:
git push origin dev-{developerName}-{GitIssuedId/JiraIssueId}
```
* In GitHub, send a pull request to `development`.
* In GitHub, send a pull request to `develop`.
* If we suggest changes then:
* Make the required updates.
* Re-run the tests.
* Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
```shell
git fetch development
git fetch develop
git checkout dev-my-branch
git rebase development -i
git rebase develop -i
git push -f
```
Note: If you need more information about how to sync your fork, see [this page](https://help.github.com/articles/syncing-a-fork/).
+2 -31
View File
@@ -1,41 +1,12 @@
# 1. Generate licenses
FROM node:12.16.2-alpine3.9 AS builder
WORKDIR /usr/src/alfresco
COPY package.json package.json
RUN mkdir -p ./licenses && \
yarn licenses list > ./licenses/licenses.txt && \
yarn licenses generate-disclaimer > ./licenses/disclaimer.txt
# 2. Generate image
FROM nginx:stable-alpine
LABEL version="3.0.0"
ARG GROUPNAME=Alfresco
ARG GROUPID=1000
ARG USERNAME=adf
ARG USERID=33011
ARG BUILD_NUMBER
ARG PROJECT_NAME=demo-shell
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
COPY ./docker/entrypoint.sh /
WORKDIR /usr/share/nginx/html
COPY demo-shell/dist/ .
COPY --from=builder /usr/src/alfresco/licenses ./licenses
COPY dist/$PROJECT_NAME .
RUN addgroup -g ${GROUPID} ${GROUPNAME} && \
adduser -S -u ${USERID} -G ${GROUPNAME} -s "/bin/bash" ${USERNAME} && \
chown -R ${USERNAME}:${GROUPNAME} ./${BUILD_NUMBER}/app.config.json && \
chown -R ${USERNAME}:${GROUPNAME} /var/cache/nginx && \
touch /var/run/nginx.pid && \
chown -R ${USERNAME}:${GROUPNAME} /var/run/nginx.pid && \
chmod +x /entrypoint.sh && \
chown -R ${USERNAME}:${GROUPNAME} /entrypoint.sh
EXPOSE 8080
USER ${USERNAME}
ENTRYPOINT [ "/entrypoint.sh" ]
+1 -1
View File
@@ -1,7 +1,7 @@
# Prerequisites for building and running apps with the Alfresco Application Development Framework
See our tutorial
[Preparing the development environment](docs/tutorials/preparing-environment.md)
[Creating your first ADF Application](docs/tutorials/creating-your-first-adf-application.md)
for full details of what you need to install before using ADF.
If you experience [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing)
+5 -6
View File
@@ -2,8 +2,8 @@
| branch | status |
| --- | --- |
| master | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
| development | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=development)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
| master | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
| develop | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=develop)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d9eb873741da403bb3284778102372e7)](https://www.codacy.com/app/Alfresco/alfresco-ng2-components?utm_source=github.com&utm_medium=referral&utm_content=Alfresco/alfresco-ng2-components&utm_campaign=badger)
[![Join the chat at https://gitter.im/Alfresco/alfresco-ng2-components](https://badges.gitter.im/Alfresco/alfresco-ng2-components.svg)](https://gitter.im/Alfresco/alfresco-ng2-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -23,9 +23,7 @@ See the [Introduction page](INTRODUCTION.md) to get started with the Alfresco Ap
## Prerequisites
Before you start using this development framework, make sure you have installed all required software and done all the necessary configuration. See our tutorial
[Preparing the development environment](docs/tutorials/preparing-environment.md)
for full details.
Before you start using this development framework, make sure you have installed all required software and done all the necessary configuration. see the prerequisites section in [creating your first ADF Application](./creating-your-first-adf-application.md) for full details.
## Components
@@ -65,4 +63,5 @@ All components are supported in the following browsers:
* Due to a [known issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1188880) in Firefox, the Alfresco Upload Component does not currently support folder upload functionality on Firefox.
See the [Browser Support](BROWSER-SUPPORT.md) article for more details.
See the [Browser Support](BROWSER-SUPPORT.md) article for more details.
+72 -304
View File
@@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "lib",
"projects": {
"dist": {
"demoshell": {
"root": "demo-shell",
"sourceRoot": "demo-shell/src",
"projectType": "application",
@@ -11,257 +11,29 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "demo-shell/dist",
"aot": true,
"allowedCommonJsDependencies": [
"minimatch",
"minimatch-browser",
"moment-es6",
"superagent",
"event-emitter",
"brace-expansion",
"d",
"chart.js"
],
"outputPath": "dist/demo-shell",
"index": "demo-shell/src/index.html",
"main": "demo-shell/src/main.ts",
"tsConfig": "demo-shell/src/tsconfig.app.json",
"tsConfig": "tsconfig.dev.json",
"polyfills": "demo-shell/src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": [
"demo-shell/src/node_modules"
]
"includePaths": ["lib"]
},
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
"input": "demo-shell/resources",
"output": "/resources"
},
{
"glob": "**/*",
"input": "demo-shell/src/app/components/lazy-loading/i18n",
"output": "/resources/lazy-loading/i18n"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/prebuilt-themes",
"output": "/assets/prebuilt-themes"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-insights/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services-cloud/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
"output": "/assets"
},
{
"glob": "pdf.worker.min.js",
"input": "node_modules/pdfjs-dist/build",
"output": "/"
},
{
"glob": "**/*",
"input": "node_modules/ngx-monaco-editor/assets/monaco",
"output": "/assets/monaco/"
}
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style.scss"
],
"scripts": [
"node_modules/pdfjs-dist/build/pdf.js",
"node_modules/pdfjs-dist/web/pdf_viewer.js",
"node_modules/raphael/raphael.min.js",
"node_modules/moment/min/moment.min.js"
]
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": true,
"buildOptimizer": true,
"verbose": false,
"budgets": [
{
"type": "bundle",
"name": "vendor",
"baseline": "4.2MB",
"warning": "4.5MB",
"error": "5.0MB"
}
],
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.prod.ts"
}
]
},
"e2e": {
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.e2e.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dist:build",
"host": "0.0.0.0",
"port": 3000,
"proxyConfig": "demo-shell/proxy.conf.js",
"disableHostCheck": true
},
"configurations": {
"production": {
"browserTarget": "dist:build:production"
},
"e2e": {
"browserTarget": "dist:build:e2e"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dist:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "demo-shell/src/test.ts",
"karmaConfig": "./demo-shell/karma.conf.js",
"polyfills": "demo-shell/src/polyfills.ts",
"tsConfig": "demo-shell/src/tsconfig.spec.json",
"scripts": [
"node_modules/pdfjs-dist/build/pdf.js",
"node_modules/pdfjs-dist/web/pdf_viewer.js",
"node_modules/raphael/raphael.min.js",
"node_modules/moment/min/moment.min.js"
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style.scss"
],
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
"input": "demo-shell/resources",
"output": "/resources"
},
{
"glob": "**/*",
"input": "demo-shell/src/app/components/lazy-loading/i18n",
"output": "/resources/lazy-loading/i18n"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/prebuilt-themes",
"output": "/assets/prebuilt-themes"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-insights/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services-cloud/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
"output": "/assets"
},
{
"glob": "pdf.worker.min.js",
"input": "node_modules/pdfjs-dist/build",
"output": "/"
},
{
"glob": "**/*",
"input": ".node_modules/ngx-monaco-editor/assets/monaco",
"output": "/assets/monaco/"
}
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*",
"package.json"
]
}
}
}
},
"dev": {
"root": "demo-shell",
"sourceRoot": "demo-shell/src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "demo-shell/dist",
"index": "demo-shell/src/index.html",
"main": "demo-shell/src/main.ts",
"tsConfig": "demo-shell/src/tsconfig.dev.json",
"polyfills": "demo-shell/src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": [
"lib"
]
},
"assets": [
"demo-shell/src/assets",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
"input": "demo-shell/src/assets",
@@ -358,6 +130,12 @@
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
@@ -376,6 +154,12 @@
]
},
"e2e": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
@@ -388,7 +172,7 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dev:build",
"browserTarget": "demoshell:build",
"host": "0.0.0.0",
"port": 3000,
"proxyConfig": "demo-shell/proxy.conf.js",
@@ -396,19 +180,13 @@
},
"configurations": {
"production": {
"browserTarget": "dev:build:production"
"browserTarget": "demoshell:build:production"
},
"e2e": {
"browserTarget": "dev:build:e2e"
"browserTarget": "demoshell:build:e2e"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dev:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
@@ -430,6 +208,7 @@
],
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
@@ -517,18 +296,13 @@
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*",
"package.json"
]
"tsConfig": ["tsconfig.dev.json"],
"exclude": ["**/node_modules/**/*", "package.json"]
}
}
}
},
"lib-e2e-test": {
"demoshell-e2e": {
"root": "demo-shell",
"sourceRoot": "./demo-shell",
"projectType": "application",
@@ -549,19 +323,15 @@
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.ts",
"protractorConfig": "./e2e/protractor.conf.js",
"devServerTarget": "lib-e2e-test:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**/*"
]
"tsConfig": ["./e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**/*"]
}
}
}
@@ -580,7 +350,8 @@
},
"configurations": {
"production": {
"project": "lib/core/ng-package.json"
"project": "lib/core/ng-package.json",
"tsConfig": "lib/core/tsconfig.lib.prod.json"
}
}
},
@@ -599,11 +370,9 @@
"options": {
"tsConfig": [
"lib/core/tsconfig.lib.json",
"lib/core/tsconfig.lib.json"
"lib/core/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -622,7 +391,8 @@
},
"configurations": {
"production": {
"project": "lib/content-services/ng-package.json"
"project": "lib/content-services/ng-package.json",
"tsConfig": "lib/content-services/tsconfig.lib.prod.json"
}
}
},
@@ -643,9 +413,7 @@
"lib/content-services/tsconfig.lib.json",
"lib/content-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -664,7 +432,8 @@
},
"configurations": {
"production": {
"project": "lib/process-services/ng-package.json"
"project": "lib/process-services/ng-package.json",
"tsConfig": "lib/process-services/tsconfig.lib.prod.json"
}
}
},
@@ -685,9 +454,7 @@
"lib/process-services/tsconfig.lib.json",
"lib/process-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -706,7 +473,8 @@
},
"configurations": {
"production": {
"project": "lib/process-services-cloud/ng-package.json"
"project": "lib/process-services-cloud/ng-package.json",
"tsConfig": "lib/process-services-cloud/tsconfig.lib.prod.json"
}
}
},
@@ -727,9 +495,7 @@
"lib/process-services-cloud/tsconfig.lib.json",
"lib/process-services-cloud/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -748,7 +514,8 @@
},
"configurations": {
"production": {
"project": "lib/insights/ng-package.json"
"project": "lib/insights/ng-package.json",
"tsConfig": "lib/insights/tsconfig.lib.prod.json"
}
}
},
@@ -769,16 +536,14 @@
"lib/insights/tsconfig.lib.json",
"lib/insights/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
},
"extensions": {
"root": "lib/extensions",
"sourceRoot": "lib/extensions/src/lib",
"sourceRoot": "lib/extensions/src",
"projectType": "library",
"prefix": "adf",
"architect": {
@@ -787,6 +552,11 @@
"options": {
"tsConfig": "lib/extensions/tsconfig.lib.json",
"project": "lib/extensions/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "lib/extensions/tsconfig.lib.prod.json"
}
}
},
"test": {
@@ -806,9 +576,7 @@
"lib/extensions/tsconfig.lib.json",
"lib/extensions/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -824,14 +592,11 @@
"options": {
"tsConfig": "lib/testing/tsconfig.lib.json",
"project": "lib/testing/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/testing/src/test.ts",
"tsConfig": "lib/testing/tsconfig.spec.json",
"karmaConfig": "lib/testing/karma.conf.js"
},
"configurations": {
"production": {
"tsConfig": "lib/testing/tsconfig.lib.prod.json"
}
}
},
"lint": {
@@ -841,9 +606,7 @@
"lib/testing/tsconfig.lib.json",
"lib/testing/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -858,10 +621,15 @@
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/cli/tsconfig.json"
},
"configurations": {
"production": {
"tsConfig": "lib/cli/tsconfig.lib.prod.json"
}
}
}
}
}
},
"defaultProject": "dist"
"defaultProject": "demoshell"
}
+5 -13
View File
@@ -6,10 +6,8 @@
"CSRF",
"glyphicon",
"sharedlinks",
"Redistributable",
"fullscreen",
"sidenav",
"injectable",
"truthy",
"cryptodoc",
"mysites",
@@ -33,16 +31,7 @@
"SOLR",
"unshare",
"validators",
"guid",
"polyfill",
"polyfills",
"jsonp",
"hammerjs",
"pdfjs",
"xpath",
"tooltip",
"tooltips",
"unindent",
"exif",
"cardview",
"webm",
@@ -140,13 +129,16 @@
"uploadfileform",
"processwithstarteventform",
"processstring",
"typeahed"
"typeahed",
"minmax",
"jsons"
],
"dictionaries": [
"html",
"en-gb",
"en_US",
"softwareTerms"
"softwareTerms",
"node"
],
"ignorePaths": [
"lib/{content-services,core,extensions,insights,process-services}/**/*.spec.ts",
+95
View File
@@ -0,0 +1,95 @@
/**
* This file decorates the Angular CLI with the Nx CLI to enable features such as computation caching
* and faster execution of tasks.
*
* It does this by:
*
* - Patching the Angular CLI to warn you in case you accidentally use the undecorated ng command.
* - Symlinking the ng to nx command, so all commands run through the Nx CLI
* - Updating the package.json postinstall script to give you control over this script
*
* The Nx CLI decorates the Angular CLI, so the Nx CLI is fully compatible with it.
* Every command you run should work the same when using the Nx CLI, except faster.
*
* Because of symlinking you can still type `ng build/test/lint` in the terminal. The ng command, in this case,
* will point to nx, which will perform optimizations before invoking ng. So the Angular CLI is always invoked.
* The Nx CLI simply does some optimizations before invoking the Angular CLI.
*
* To opt out of this patch:
* - Replace occurrences of nx with ng in your package.json
* - Remove the script from your postinstall script in your package.json
* - Delete and reinstall your node_modules
*/
const fs = require("fs");
const os = require("os");
const cp = require("child_process");
const isWindows = os.platform() === "win32";
const { output } = require("@nrwl/workspace");
/**
* Paths to files being patched
*/
const angularCLIInitPath = "node_modules/@angular/cli/lib/cli/index.js";
/**
* Patch index.js to warn you if you invoke the undecorated Angular CLI.
*/
function patchAngularCLI(initPath) {
const angularCLIInit = fs.readFileSync(initPath, "utf-8").toString();
if (!angularCLIInit.includes("NX_CLI_SET")) {
fs.writeFileSync(
initPath,
`
if (!process.env['NX_CLI_SET']) {
const { output } = require('@nrwl/workspace');
output.warn({ title: 'The Angular CLI was invoked instead of the Nx CLI. Use "npx ng [command]" or "nx [command]" instead.' });
}
${angularCLIInit}
`
);
}
}
/**
* Symlink of ng to nx, so you can keep using `ng build/test/lint` and still
* invoke the Nx CLI and get the benefits of computation caching.
*/
function symlinkNgCLItoNxCLI() {
try {
const ngPath = "./node_modules/.bin/ng";
const nxPath = "./node_modules/.bin/nx";
if (isWindows) {
/**
* This is the most reliable way to create symlink-like behavior on Windows.
* Such that it works in all shells and works with npx.
*/
["", ".cmd", ".ps1"].forEach(ext => {
fs.writeFileSync(ngPath + ext, fs.readFileSync(nxPath + ext));
});
} else {
// If unix-based, symlink
cp.execSync(`ln -sf ./nx ${ngPath}`);
}
} catch (e) {
output.error({
title:
"Unable to create a symlink from the Angular CLI to the Nx CLI:" +
e.message
});
throw e;
}
}
try {
symlinkNgCLItoNxCLI();
patchAngularCLI(angularCLIInitPath);
output.log({
title: "Angular CLI has been decorated to enable computation caching."
});
} catch (e) {
output.error({
title: "Decoration of the Angular CLI did not complete successfully"
});
}
+1 -1
View File
@@ -27,7 +27,7 @@ var server = http.createServer(function (req, res) {
req.on('end', function() {
if (req.url === '/') {
log('Received message: ' + body);
} else if (req.url = '/scheduled') {
} else if (req.url === '/scheduled') {
log('Received task ' + req.headers['x-aws-sqsd-taskname'] + ' scheduled at ' + req.headers['x-aws-sqsd-scheduled-at']);
}
+1
View File
@@ -6,6 +6,7 @@
"target": "es5",
"types":[
"jasmine",
"jasminewd2",
"node"
]
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "3.8.0",
"version": "4.1.0",
"author": "Alfresco Software, Ltd.",
"repository": {
"type": "git",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "إظهار التعليقات على الإصدارات",
"ALLOW_DOWNLOAD": "تمكين تنزيل الإصدار",
"READ_ONLY": "للقراءة فقط",
"COMMENTS": "إظهار التعليقات"
"COMMENTS": "إظهار التعليقات",
"VERSION_COMPARISON": "إظهار مقارنة الإصدار"
},
"PERSONAL-FILES": "الملفات الشخصية",
"WARN-MULTIPLE-UPLOADS": "عرض تحذير للتحميلات المتعددة.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "تطبيق",
"APP_NAME": "تطبيق ADF التوضيحي",
"FILTERED_SEARCH": "عنوان عامل التصفية",
"HOME": "رئيسية",
"NODE-SELECTOR": "محدد العقدة",
"SITES": "المواقع",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "تحديد متعدد (مع خانات اختيارات)",
"THUMBNAILS": "تمكين الصور المصغرة",
"ALLOW_DROP_FILES": "تمكين إسقاط ملفات في مجلد",
"ALLOW_DROP_FILES": "تمكين إسقاط الملفات في مجلد أو ملف",
"MULTIPLE_FILE_UPLOAD": "تحميل ملفات متعددة",
"FOLDER_UPLOAD": "تحميل مجلد",
"CUSTOM_FILTER": "عامل تصفية امتدادات مخصص",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Zobrazit komentáře k verzím",
"ALLOW_DOWNLOAD": "Povolit stažení verze",
"READ_ONLY": "Pouze ke čtení",
"COMMENTS": "Zobrazit komentáře"
"COMMENTS": "Zobrazit komentáře",
"VERSION_COMPARISON": "Zobrazit porovnání verzí"
},
"PERSONAL-FILES": "Osobní soubory",
"WARN-MULTIPLE-UPLOADS": "Zobrazit upozornění v případě hromadného odesílání",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplikace",
"APP_NAME": "Ukázková aplikace ADF",
"FILTERED_SEARCH": "Záhlaví filtru",
"HOME": "Domů",
"NODE-SELECTOR": "Selektor uzlu",
"SITES": "Místa",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Hromadný výběr (pomocí zaškrtávacích polí)",
"THUMBNAILS": "Povolit miniatury",
"ALLOW_DROP_FILES": "Povolit přetažení souborů do složky",
"ALLOW_DROP_FILES": "Povolit přetahování souborů do složky nebo souboru",
"MULTIPLE_FILE_UPLOAD": "Odeslání více souborů",
"FOLDER_UPLOAD": "Odeslat složku",
"CUSTOM_FILTER": "Vlastní filtr rozšíření",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Vis kommentarer til versioner",
"ALLOW_DOWNLOAD": "Aktivér versionsdownload",
"READ_ONLY": "Skrivebeskyttet",
"COMMENTS": "Vis kommentarer"
"COMMENTS": "Vis kommentarer",
"VERSION_COMPARISON": "Vis sammenligningsversion"
},
"PERSONAL-FILES": "Personlige filer",
"WARN-MULTIPLE-UPLOADS": "Vis advarsler for flere uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demoapp",
"FILTERED_SEARCH": "Filter-overskrift",
"HOME": "Hjem",
"NODE-SELECTOR": "Nodevælger",
"SITES": "Websteder",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Vælg flere (med afkrydsningsfelter)",
"THUMBNAILS": "Aktivér miniaturevisninger",
"ALLOW_DROP_FILES": "Aktivér Slip filer i en mappe",
"ALLOW_DROP_FILES": "Aktiver dropfiler i en mappe eller som en fil",
"MULTIPLE_FILE_UPLOAD": "Upload af flere filer",
"FOLDER_UPLOAD": "Upload af mappe",
"CUSTOM_FILTER": "Filter for brugerdefinerede udvidelser",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Anmerkungen zu Versionen einblenden",
"ALLOW_DOWNLOAD": "Herunterladen von Version aktivieren",
"READ_ONLY": "Schreibgeschützt",
"COMMENTS": "Kommentare anzeigen"
"COMMENTS": "Kommentare anzeigen",
"VERSION_COMPARISON": "Versionsvergleich anzeigen"
},
"PERSONAL-FILES": "Persönliche Dateien",
"WARN-MULTIPLE-UPLOADS": "Warnung bei Mehrfach-Uploads anzeigen.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Anwendung",
"APP_NAME": "ADF-Demoanwendung",
"FILTERED_SEARCH": "Filter-Header",
"HOME": "Startseite",
"NODE-SELECTOR": "Node-Auswahl",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Mehrfachauswahl (mit Kontrollkästchen)",
"THUMBNAILS": "Miniaturansichten aktivieren",
"ALLOW_DROP_FILES": "Ablegen von Dateien in Ordner aktivieren",
"ALLOW_DROP_FILES": "Ablegen von Dateien in einem Ordner oder einer Datei aktivieren",
"MULTIPLE_FILE_UPLOAD": "Mehrere Dateien hochladen",
"FOLDER_UPLOAD": "Ordner hochladen",
"CUSTOM_FILTER": "Filter für benutzerdefinierte Erweiterungen",
+6 -3
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Show comments on versions",
"ALLOW_DOWNLOAD": "Enable version download",
"READ_ONLY": "Read-only",
"COMMENTS": "Show comments"
"COMMENTS": "Show comments",
"VERSION_COMPARISON": "Show version comparison"
},
"PERSONAL-FILES": "Personal Files",
"WARN-MULTIPLE-UPLOADS": "Display warning for multiple uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF Demo Application",
"FILTERED_SEARCH": "Filter Header",
"HOME": "Home",
"NODE-SELECTOR": "Node Selector",
"SITES": "Sites",
@@ -103,7 +105,8 @@
"PEOPLE_CLOUD": "People Cloud Component",
"GROUPS_CLOUD": "Groups Cloud Component",
"CONFIRM-DIALOG": "Confirmation Dialog",
"COMMUNITY": "Community"
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Service Task List"
},
"TRASHCAN": {
"ACTIONS": {
@@ -119,7 +122,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Multiselect (with checkboxes)",
"THUMBNAILS": "Enable Thumbnails",
"ALLOW_DROP_FILES": "Enable Drop Files in a folder",
"ALLOW_DROP_FILES": "Enable Drop Files in a folder or a file",
"MULTIPLE_FILE_UPLOAD": "Multiple File Upload",
"FOLDER_UPLOAD": "Folder upload",
"CUSTOM_FILTER": "Custom extensions filter",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Mostrar comentarios en las versiones",
"ALLOW_DOWNLOAD": "Habilitar descarga de versión",
"READ_ONLY": "Solo lectura",
"COMMENTS": "Mostrar comentarios"
"COMMENTS": "Mostrar comentarios",
"VERSION_COMPARISON": "Mostrar versión comparada"
},
"PERSONAL-FILES": "Ficheros personales",
"WARN-MULTIPLE-UPLOADS": "Mostrar advertencia de múltiples cargas.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplicación",
"APP_NAME": "Aplicación ADF Demo",
"FILTERED_SEARCH": "Filtros",
"HOME": "Inicio",
"NODE-SELECTOR": "Selector de nodo",
"SITES": "Sitios",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Selección múltiple (con casillas)",
"THUMBNAILS": "Habilitar miniaturas",
"ALLOW_DROP_FILES": "Habilitar arrastre de ficheros en una carpeta",
"ALLOW_DROP_FILES": "Habilitar arrastre de ficheros a una carpeta o fichero",
"MULTIPLE_FILE_UPLOAD": "Carga de varios ficheros",
"FOLDER_UPLOAD": "Carga de carpetas",
"CUSTOM_FILTER": "Filtro de extensiones personalizado",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Näytä kommentit versioissa",
"ALLOW_DOWNLOAD": "Ota version lataaminen käyttöön",
"READ_ONLY": "Vain luku",
"COMMENTS": "Näytä kommentit"
"COMMENTS": "Näytä kommentit",
"VERSION_COMPARISON": "Näytä versiovertailu"
},
"PERSONAL-FILES": "Omat tiedostot",
"WARN-MULTIPLE-UPLOADS": "Näytä varoitus useille latauksille.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Sovellus",
"APP_NAME": "ADF-demosovellus",
"FILTERED_SEARCH": "Suodattimet",
"HOME": "Aloitussivu",
"NODE-SELECTOR": "Solmuvalitsin",
"SITES": "Sivustot",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Monivalinta (valintaruuduilla)",
"THUMBNAILS": "Ota pikkukuvat käyttöön",
"ALLOW_DROP_FILES": "Ota tiedostojen kansioon pudottaminen käyttöön",
"ALLOW_DROP_FILES": "Ota tiedostojen kansioon tai tiedostoon pudottaminen käyttöön",
"MULTIPLE_FILE_UPLOAD": "Useiden tiedostojen lataaminen",
"FOLDER_UPLOAD": "Kansion lataaminen",
"CUSTOM_FILTER": "Mukautettu tiedostomuotosuodatin",
+8 -6
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Afficher les commentaires sur les versions",
"ALLOW_DOWNLOAD": "Activer le téléchargement de la version",
"READ_ONLY": "Lecture seule",
"COMMENTS": "Afficher les commentaires"
"COMMENTS": "Afficher les commentaires",
"VERSION_COMPARISON": "Afficher la comparaison des versions"
},
"PERSONAL-FILES": "Fichiers personnels",
"WARN-MULTIPLE-UPLOADS": "Avertir en cas de téléchargements multiples.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Application",
"APP_NAME": "Application Démo ADF",
"FILTERED_SEARCH": "En-tête du filtre",
"HOME": "Accueil",
"NODE-SELECTOR": "Sélecteur de nœud",
"SITES": "Sites",
@@ -77,7 +79,7 @@
"FORM_LOADING": "Chargement du formulaire",
"UPLOADER": "Chargeur",
"WEBSCRIPT": "Script Web",
"TAG": "Tag",
"TAG": "Balise",
"PIPES": "Tuyaux",
"TRASHCAN": "Corbeille",
"SOCIAL": "Réseaux sociaux",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Sélection multiple (avec cases à cocher)",
"THUMBNAILS": "Activer les miniatures",
"ALLOW_DROP_FILES": "Activer l'option déposer des fichiers dans un dossier",
"ALLOW_DROP_FILES": "Activer la fonctionnalité Déposer les fichiers dans un dossier ou un fichier",
"MULTIPLE_FILE_UPLOAD": "Importation de fichiers multiples",
"FOLDER_UPLOAD": "Importation de dossier",
"CUSTOM_FILTER": "Filtre d'extensions personnalisées",
@@ -137,7 +139,7 @@
"COLUMNS": {
"DISPLAY_NAME": "Nom affiché",
"IS_LOCKED": "Verrouiller",
"TAG": "Tag",
"TAG": "Balise",
"NODE_ID": "ID du nœud",
"CREATED_BY": "Créé par",
"CREATED_ON": "Créé le",
@@ -253,9 +255,9 @@
"RATING": "Composant d'évaluation"
},
"TAG": {
"LIST": "Liste de tags Content Services",
"LIST": "Liste de balises Content Services",
"INSERT": "Insérer l'ID du nœud",
"NODE_LIST": "Liste de tags par ID de nœud"
"NODE_LIST": "Liste de balises par ID de nœud"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Hériter les droits d'accès",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Mostra commenti sulle versioni",
"ALLOW_DOWNLOAD": "Abilita scaricamento versioni",
"READ_ONLY": "Sola lettura",
"COMMENTS": "Mostra commenti"
"COMMENTS": "Mostra commenti",
"VERSION_COMPARISON": "Mostra confronto versioni"
},
"PERSONAL-FILES": "File personali",
"WARN-MULTIPLE-UPLOADS": "Mostra avviso per caricamenti multipli.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Applicazione",
"APP_NAME": "Applicazione demo ADF",
"FILTERED_SEARCH": "Intestazione filtro",
"HOME": "Home",
"NODE-SELECTOR": "Selezione nodo",
"SITES": "Siti",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Selezione multipla (con caselle di spunta)",
"THUMBNAILS": "Abilita miniature",
"ALLOW_DROP_FILES": "Abilita trascinamento di file in una cartella",
"ALLOW_DROP_FILES": "Abilita Rilascio file in una cartella o file",
"MULTIPLE_FILE_UPLOAD": "Caricamento di file multipli",
"FOLDER_UPLOAD": "Caricamento cartelle",
"CUSTOM_FILTER": "Filtro estensioni personalizzato",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "バージョンに関するコメントを表示",
"ALLOW_DOWNLOAD": "バージョンのダウンロードを許可",
"READ_ONLY": "読取り専用",
"COMMENTS": "コメントを表示する"
"COMMENTS": "コメントを表示する",
"VERSION_COMPARISON": "バージョンの比較を表示"
},
"PERSONAL-FILES": "個人的なファイル",
"WARN-MULTIPLE-UPLOADS": "複数のアップロードの警告を表示します。",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "アプリ",
"APP_NAME": "ADF デモアプリケーション",
"FILTERED_SEARCH": "フィルタヘッダー",
"HOME": "ホーム",
"NODE-SELECTOR": "ノードセレクター",
"SITES": "サイト",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "複数選択 (チェックボックスを使用)",
"THUMBNAILS": "サムネイルを有効にする",
"ALLOW_DROP_FILES": "フォルダへのドラッグ&ドロップを許可",
"ALLOW_DROP_FILES": "ファイルのドロップを許可",
"MULTIPLE_FILE_UPLOAD": "複数ファイルのアップロード",
"FOLDER_UPLOAD": "フォルダのアップロード",
"CUSTOM_FILTER": "カスタム拡張子フィルタ",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Vis kommentarer om versjoner",
"ALLOW_DOWNLOAD": "Aktiver versjonsnedlasting",
"READ_ONLY": "Skrivebeskyttet",
"COMMENTS": "Vis kommentarer"
"COMMENTS": "Vis kommentarer",
"VERSION_COMPARISON": "Vis sammenligning av versjoner"
},
"PERSONAL-FILES": "Personlige filer",
"WARN-MULTIPLE-UPLOADS": "Vis advarsel for flere opplastinger.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demoprogam",
"FILTERED_SEARCH": "Filteroverskrift",
"HOME": "Hjem",
"NODE-SELECTOR": "Nodevelger",
"SITES": "Områder",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Multivalg (med avskrysningsbokser)",
"THUMBNAILS": "Aktiver miniatyrbilder",
"ALLOW_DROP_FILES": "Aktiver Slipp filer i en mappe",
"ALLOW_DROP_FILES": "Aktiver Slipp filer i en mappe eller en fil",
"MULTIPLE_FILE_UPLOAD": "Opplasting av flere filer",
"FOLDER_UPLOAD": "Opplasting av mappe",
"CUSTOM_FILTER": "Tilpasset utvidelsesfilter",
+5 -3
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Opmerkingen over versies tonen",
"ALLOW_DOWNLOAD": "Versiedownload inschakelen",
"READ_ONLY": "Alleen-lezen",
"COMMENTS": "Opmerkingen weergeven"
"COMMENTS": "Opmerkingen weergeven",
"VERSION_COMPARISON": "Versievergelijking tonen"
},
"PERSONAL-FILES": "Persoonlijke bestanden",
"WARN-MULTIPLE-UPLOADS": "Waarschuwing weergeven bij meerdere uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demotoepassing",
"FILTERED_SEARCH": "Filterkop",
"HOME": "Home",
"NODE-SELECTOR": "Selectiefunctie voor node",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Multiselect (met selectievakjes)",
"THUMBNAILS": "Miniaturen inschakelen",
"ALLOW_DROP_FILES": "Bestanden neerzetten in een map inschakelen",
"ALLOW_DROP_FILES": "Bestanden neerzetten in een map of een bestand inschakelen",
"MULTIPLE_FILE_UPLOAD": "Meerdere bestanden uploaden",
"FOLDER_UPLOAD": "Map uploaden",
"CUSTOM_FILTER": "Aangepast extensiefilter",
@@ -334,7 +336,7 @@
"KEY": "Key",
"TITLE": "Titel",
"ICON": "Pictogram",
"TASK_ID": "Taak-ID",
"TASK_ID": "Taak-id",
"PROCESS_ID": "Procesinstantie-ID",
"ACTION_TYPE": "Actietype"
}
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Pokaż komentarze do wersji",
"ALLOW_DOWNLOAD": "Włącz pobieranie wersji",
"READ_ONLY": "Tylko do odczytu",
"COMMENTS": "Pokaż komentarze"
"COMMENTS": "Pokaż komentarze",
"VERSION_COMPARISON": "Pokaż porównanie wersji"
},
"PERSONAL-FILES": "Pliki osobiste",
"WARN-MULTIPLE-UPLOADS": "Wyświetl ostrzeżenie dla wielu operacji przesyłania.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplikacja",
"APP_NAME": "Wersja demonstracyjna aplikacji ADF",
"FILTERED_SEARCH": "Nagłówek filtra",
"HOME": "Strona główna",
"NODE-SELECTOR": "Selektor węzłów",
"SITES": "Witryny",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Wybór wielokrotny (przy użyciu pól wyboru)",
"THUMBNAILS": "Włącz miniatury",
"ALLOW_DROP_FILES": "Włącz upuszczanie plików w folderze",
"ALLOW_DROP_FILES": "Włącz upuszczanie plików w folderze lub pliku",
"MULTIPLE_FILE_UPLOAD": "Przesyłanie wielu plików",
"FOLDER_UPLOAD": "Przesyłanie folderu",
"CUSTOM_FILTER": "Niestandardowy filtr rozszerzeń",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Mostrar comentários em versões",
"ALLOW_DOWNLOAD": "Ativar download da versão",
"READ_ONLY": "Somente leitura",
"COMMENTS": "Mostrar comentários"
"COMMENTS": "Mostrar comentários",
"VERSION_COMPARISON": "Mostrar comparação de versões"
},
"PERSONAL-FILES": "Arquivos pessoais",
"WARN-MULTIPLE-UPLOADS": "Exibir alerta para vários uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplicativo",
"APP_NAME": "Aplicativo Demo ADF",
"FILTERED_SEARCH": "Filtros",
"HOME": "Página Inicial",
"NODE-SELECTOR": "Seletor de nó",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Seleção Múltipla (com caixas de seleção)",
"THUMBNAILS": "Ativar Miniaturas",
"ALLOW_DROP_FILES": "Ativar Soltar Arquivos em uma pasta",
"ALLOW_DROP_FILES": "Ativar soltar arquivos em uma pasta ou um arquivo",
"MULTIPLE_FILE_UPLOAD": "Carregamento de Vários Arquivos",
"FOLDER_UPLOAD": "Carregamento de Pasta",
"CUSTOM_FILTER": "Filtro de extensões personalizado",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Показать комментарии к версиям",
"ALLOW_DOWNLOAD": "Включить загрузку версий",
"READ_ONLY": "Только чтение",
"COMMENTS": "Показать комментарии"
"COMMENTS": "Показать комментарии",
"VERSION_COMPARISON": "Показать сравнение версий"
},
"PERSONAL-FILES": "Личные файлы",
"WARN-MULTIPLE-UPLOADS": "Показывать предупреждение для нескольких загрузок.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Приложение",
"APP_NAME": "Демонстрационное приложение ADF",
"FILTERED_SEARCH": "Заголовок фильтра",
"HOME": "Домашняя",
"NODE-SELECTOR": "Селектор узлов",
"SITES": "Сайты",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Выбор нескольких вариантов (с флажками)",
"THUMBNAILS": "Включить эскизы",
"ALLOW_DROP_FILES": "Включить перетаскивание файлов в папку",
"ALLOW_DROP_FILES": "Включите перетаскивание файлов в папке или файле",
"MULTIPLE_FILE_UPLOAD": "Загрузка нескольких файлов",
"FOLDER_UPLOAD": "Загрузка папки",
"CUSTOM_FILTER": "Пользовательский фильтр расширений",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Visa kommentarer om versioner",
"ALLOW_DOWNLOAD": "Aktivera version nedladdning",
"READ_ONLY": "Skrivskyddad",
"COMMENTS": "Visa kommentarer"
"COMMENTS": "Visa kommentarer",
"VERSION_COMPARISON": "Visa versionsjämförelse"
},
"PERSONAL-FILES": "Personliga filer",
"WARN-MULTIPLE-UPLOADS": "Visa varning för flera uppladdningar",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Program",
"APP_NAME": "ADF-demoprogram",
"FILTERED_SEARCH": "Filter sidhuvud",
"HOME": "Hem",
"NODE-SELECTOR": "Nodväljare",
"SITES": "Webbplatser",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Flerval (med kryssrutor)",
"THUMBNAILS": "Aktivera miniatyrbilder",
"ALLOW_DROP_FILES": "Aktivera släpp filer i en mapp",
"ALLOW_DROP_FILES": "Gör det möjligt att dra in filer i en mapp eller en fil",
"MULTIPLE_FILE_UPLOAD": "Uppladdning av flera filer",
"FOLDER_UPLOAD": "Mappuppladdning",
"CUSTOM_FILTER": "Anpassade tilläggsfilter",
+4 -2
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "显示有关版本的注释",
"ALLOW_DOWNLOAD": "启用版本下载",
"READ_ONLY": "只读",
"COMMENTS": "显示注释"
"COMMENTS": "显示注释",
"VERSION_COMPARISON": "显示版本对比"
},
"PERSONAL-FILES": "个人文件",
"WARN-MULTIPLE-UPLOADS": "针对多个上传显示警告。",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "APP",
"APP_NAME": "ADF 演示应用程序",
"FILTERED_SEARCH": "筛选标题",
"HOME": "主页",
"NODE-SELECTOR": "节点选择器",
"SITES": "站点",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "多选(含复选框)",
"THUMBNAILS": "启用缩略图",
"ALLOW_DROP_FILES": "在文件夹中启用“文件拖放”",
"ALLOW_DROP_FILES": "在文件夹或文件中启用拖动文件",
"MULTIPLE_FILE_UPLOAD": "上传多个文件",
"FOLDER_UPLOAD": "文件夹上传",
"CUSTOM_FILTER": "自定义扩展过滤器",
+238 -4
View File
@@ -2,7 +2,7 @@
"$schema": "../../lib/core/app-config/schema.json",
"ecmHost": "{protocol}//{hostname}{:port}",
"bpmHost": "{protocol}//{hostname}{:port}",
"identityHost": "{protocol}//{hostname}{:port}/auth/realms/alfresco",
"identityHost": "{protocol}//{hostname}{:port}/auth/admin/realms/alfresco",
"loginRoute": "login",
"providers": "ALL",
"contextRootBpm": "activiti-app",
@@ -24,7 +24,8 @@
"redirectUriLogout": "/logout",
"publicUrls": [
"**/preview/s/*",
"**/settings"
"**/settings",
"**/logout"
]
},
"application": {
@@ -104,6 +105,7 @@
}
],
"search": {
"filterWithContains": true,
"app:fields": [
"cm:name",
"cm:title",
@@ -434,6 +436,169 @@
]
}
},
"search-headers": {
"filterWithContains": true,
"app:fields": [
"cm:name",
"cm:title",
"cm:description",
"ia:whatEvent",
"ia:descriptionEvent",
"lnk:title",
"lnk:description",
"TEXT",
"TAG"
],
"categories": [
{
"id": "queryName",
"name": "SEARCH.SEARCH_HEADER.FILTERS.NAME.TITLE",
"columnKey": "name",
"enabled": true,
"component": {
"selector": "text",
"settings": {
"pattern": "cm:name:'(.*?)'",
"field": "cm:name",
"placeholder": "SEARCH.SEARCH_HEADER.FILTERS.NAME.PLACEHOLDER",
"searchSuffix" : "*",
"allowUpdateOnChange" : false
}
}
},
{
"id": "checkList",
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.TITLE",
"columnKey":"$thumbnail",
"enabled": true,
"component": {
"selector": "check-list",
"settings": {
"pageSize": 5,
"allowUpdateOnChange" : false,
"operator": "OR",
"options": [
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.FOLDER",
"value": "TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.DOCUMENT",
"value": "TYPE:'cm:content'"
}
]
}
}
},
{
"id": "contentSize",
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.TITLE",
"columnKey":"content.sizeInBytes",
"enabled": true,
"component": {
"selector": "check-list",
"settings": {
"allowUpdateOnChange" : false,
"options": [
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.SMALL",
"value": "content.size:[0 TO 1048576] OR TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.MEDIUM",
"value": "content.size:[1048576 TO 52428800] OR TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.LARGE",
"value": "content.size:<52428800 TO 524288000] OR TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.HUGE",
"value": "content.size:<524288000 TO MAX] OR TYPE:'cm:folder'"
}
]
}
}
},
{
"id": "createdDateRange",
"name": "SEARCH.SEARCH_HEADER.FILTERS.DATE.TITLE",
"columnKey": "createdAt",
"enabled": true,
"component": {
"selector": "date-range",
"settings": {
"allowUpdateOnChange" : false,
"field": "cm:created",
"dateFormat": "DD-MMM-YY",
"maxDate": "today"
}
}
}
],
"highlight": {
"prefix": " ",
"postfix": " ",
"mergeContiguous": true,
"fields": [
{
"field": "cm:title"
},
{
"field": "description",
"prefix": "(",
"postfix": ")"
}
]
},
"sorting": {
"options": [
{
"key": "name",
"label": "Name",
"type": "FIELD",
"field": "cm:name",
"ascending": true
},
{
"key": "content.sizeInBytes",
"label": "Size",
"type": "FIELD",
"field": "content.size",
"ascending": true
},
{
"key": "createdByUser.displayName",
"label": "Author",
"type": "FIELD",
"field": "cm:creator",
"ascending": true
},
{
"key": "createdAt",
"label": "Created",
"type": "FIELD",
"field": "cm:created",
"ascending": true
},
{
"key": "score",
"label": "Relevance",
"type": "FIELD",
"field": "score",
"ascending": false
}
],
"defaults": [
{
"key": "score",
"type": "FIELD",
"field": "score",
"ascending": false
}
]
}
},
"pagination": {
"size": 20,
"supportedPageSizes": [
@@ -552,7 +717,8 @@
"type": "text",
"title": "ADF-DOCUMENT-LIST.LAYOUT.NAME",
"cssClass": "full-width ellipsis-cell",
"sortable": true
"sortable": true,
"sortingKey": "name"
},
{
"key": "visibility",
@@ -803,6 +969,35 @@
"delete"
]
},
"adf-edit-service-task-filter": {
"filterProperties": [
"appName",
"serviceTaskId",
"activityName",
"activityType",
"completedDate",
"startedDate",
"sort",
"order",
"status",
"elementId",
"serviceName",
"processInstanceId",
"processDefinitionId",
"serviceName"
],
"sortProperties": [
"id",
"activityName",
"completedDate",
"startedDate"
],
"actions": [
"save",
"saveAs",
"delete"
]
},
"adf-edit-process-filter": {
"filterProperties": [
"status",
@@ -847,7 +1042,8 @@
},
"multi-value-pipe-separator": ", ",
"multi-value-chips": true,
"copy-to-clipboard-action": true
"copy-to-clipboard-action": true,
"selectFilterLimit": 5
},
"sideNav": {
"expandedSidenav": true,
@@ -899,6 +1095,44 @@
]
}
},
"adf-cloud-service-task-list": {
"presets": {
"default": [
{
"key": "entry.id",
"type": "text",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.ID",
"sortable": true
},
{
"key": "entry.activityName",
"type": "text",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.ACTIVITY_NAME",
"sortable": true
},
{
"key": "entry.status",
"type": "text",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.STATUS",
"sortable": true
},
{
"key": "entry.startedDate",
"type": "date",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.STARTED_DATE",
"sortable": true,
"format": "timeAgo"
},
{
"key": "entry.completedDate",
"type": "date",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.COMPLETED_DATE",
"sortable": true,
"format": "timeAgo"
}
]
}
},
"adf-cloud-process-list": {
"presets": {
"default": [
+1 -1
View File
@@ -22,7 +22,7 @@ import {
PageTitleService
} from '@alfresco/adf-core';
import { Router } from '@angular/router';
import { MatDialog } from '@angular/material';
import { MatDialog } from '@angular/material/dialog';
@Component({
selector: 'app-root',
+20 -19
View File
@@ -22,7 +22,7 @@ import { FlexLayoutModule } from '@angular/flex-layout';
import { ChartsModule } from 'ng2-charts';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { TranslateModule } from '@ngx-translate/core';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule, CoreAutomationService, AuthBearerInterceptor } from '@alfresco/adf-core';
import { ExtensionsModule } from '@alfresco/adf-extensions';
import { AppComponent } from './app.component';
@@ -47,21 +47,17 @@ import { AppsViewComponent } from './components/process-service/apps-view.compon
import { FilesComponent } from './components/files/files.component';
import { VersionManagerDialogAdapterComponent } from './components/files/version-manager-dialog-adapter.component';
import { MetadataDialogAdapterComponent } from './components/files/metadata-dialog-adapter.component';
import { ThemePickerModule } from './components/theme-picker/theme-picker';
import { routing } from './app.routes';
import { appRoutes } from './app.routes';
import { TaskAttachmentsComponent } from './components/process-service/task-attachments.component';
import { ProcessAttachmentsComponent } from './components/process-service/process-attachments.component';
import { SharedLinkViewComponent } from './components/shared-link-view/shared-link-view.component';
import { DemoPermissionComponent } from './components/permissions/demo-permissions.component';
import { PreviewService } from './services/preview.service';
import { ReportIssueComponent } from './components/report-issue/report-issue.component';
import { MonacoEditorModule } from 'ngx-monaco-editor';
import { ContentModule } from '@alfresco/adf-content-services';
import { InsightsModule } from '@alfresco/adf-insights';
import { ProcessModule } from '@alfresco/adf-process-services';
import { AppExtensionsModule } from './app-extension.module';
import { TreeViewSampleComponent } from './components/tree-view/tree-view-sample.component';
import { CloudLayoutComponent } from './components/cloud/cloud-layout.component';
import { AppsCloudDemoComponent } from './components/cloud/apps-cloud-demo.component';
@@ -69,6 +65,7 @@ import { TasksCloudDemoComponent } from './components/cloud/tasks-cloud-demo.com
import { ProcessesCloudDemoComponent } from './components/cloud/processes-cloud-demo.component';
import { TaskDetailsCloudDemoComponent } from './components/cloud/task-details-cloud-demo.component';
import { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-cloud-demo.component';
import { ServiceTaskListCloudDemoComponent } from './components/cloud/service-task-list-cloud-demo.component';
import { CloudViewerComponent } from './components/cloud/cloud-viewer.component';
import { ProcessDetailsCloudDemoComponent } from './components/cloud/process-details-cloud-demo.component';
import { StartTaskCloudDemoComponent } from './components/cloud/start-task-cloud-demo.component';
@@ -82,9 +79,14 @@ import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/
import { environment } from '../environments/environment';
import { AppCloudSharedModule } from './components/cloud/shared/cloud.shared.module';
import { DemoErrorComponent } from './components/error/demo-error.component';
import { ProcessServicesCloudModule } from '@alfresco/adf-process-services-cloud';
import { FilteredSearchComponent } from './components/files/filtered-search.component';
import { RouterModule } from '@angular/router';
import { ProcessCloudLayoutComponent } from './components/cloud/process-cloud-layout.component';
import {
ProcessServicesCloudModule
} from '@alfresco/adf-process-services-cloud';
CustomEditorComponent,
CustomWidgetComponent
} from './components/cloud/custom-form-components/custom-editor.component';
import { registerLocaleData } from '@angular/common';
import localeFr from '@angular/common/locales/fr';
@@ -126,17 +128,17 @@ registerLocaleData(localeSv);
BrowserModule,
environment.e2e ? NoopAnimationsModule : BrowserAnimationsModule,
ReactiveFormsModule,
routing,
RouterModule.forRoot(appRoutes, { initialNavigation: true }),
FormsModule,
HttpClientModule,
MaterialModule,
AppExtensionsModule,
FlexLayoutModule,
TranslateModule.forRoot(),
CoreModule.forRoot(),
ContentModule.forRoot(),
InsightsModule.forRoot(),
ProcessModule.forRoot(),
ProcessServicesCloudModule,
ProcessServicesCloudModule.forRoot(),
ExtensionsModule.forRoot(),
ThemePickerModule,
ChartsModule,
@@ -158,6 +160,7 @@ registerLocaleData(localeSv);
FormNodeViewerComponent,
AppsViewComponent,
FilesComponent,
FilteredSearchComponent,
FormComponent,
FormListComponent,
VersionManagerDialogAdapterComponent,
@@ -188,7 +191,11 @@ registerLocaleData(localeSv);
PeopleGroupCloudDemoComponent,
ConfirmDialogExampleComponent,
FormCloudDemoComponent,
ConfirmDialogExampleComponent
ConfirmDialogExampleComponent,
CustomEditorComponent,
CustomWidgetComponent,
ProcessCloudLayoutComponent,
ServiceTaskListCloudDemoComponent
],
providers: [
{
@@ -211,13 +218,7 @@ registerLocaleData(localeSv);
name: 'lazy-loading',
source: 'resources/lazy-loading'
}
},
PreviewService,
CoreAutomationService
],
entryComponents: [
VersionManagerDialogAdapterComponent,
MetadataDialogAdapterComponent
}
],
bootstrap: [AppComponent]
})
+73 -40
View File
@@ -15,15 +15,8 @@
* limitations under the License.
*/
import { ModuleWithProviders } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {
AuthGuard,
AuthGuardEcm,
ErrorContentComponent,
AuthGuardBpm,
AuthGuardSsoRoleService
} from '@alfresco/adf-core';
import { Routes } from '@angular/router';
import { AuthGuard, AuthGuardEcm, ErrorContentComponent, AuthGuardBpm, AuthGuardSsoRoleService } from '@alfresco/adf-core';
import { AppLayoutComponent } from './components/app-layout/app-layout.component';
import { HomeComponent } from './components/home/home.component';
import { LogoutComponent } from './components/logout/logout.component';
@@ -59,12 +52,16 @@ import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/
import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component';
import { DemoErrorComponent } from './components/error/demo-error.component';
import { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-cloud-demo.component';
import { FilteredSearchComponent } from './components/files/filtered-search.component';
import { ProcessCloudLayoutComponent } from './components/cloud/process-cloud-layout.component';
import { ServiceTaskListCloudDemoComponent } from './components/cloud/service-task-list-cloud-demo.component';
export const appRoutes: Routes = [
{ path: 'login', loadChildren: 'app/components/login/login.module#AppLoginModule' },
{ path: 'login', loadChildren: () => import('./components/login/login.module').then(m => m.AppLoginModule) },
{ path: 'logout', component: LogoutComponent },
{
path: 'settings',
loadChildren: 'app/components/settings/settings.module#AppSettingsModule'
loadChildren: () => import('./components/settings/settings.module').then(m => m.AppSettingsModule)
},
{
path: 'files/:nodeId/view',
@@ -75,7 +72,20 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/file-view/file-view.module#FileViewModule'
loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule)
}
]
},
{
path: 'files/:nodeId/:versionId/view',
component: AppComponent,
canActivate: [AuthGuardEcm],
canActivateChild: [AuthGuardEcm],
outlet: 'overlay',
children: [
{
path: '',
loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule)
}
]
},
@@ -87,7 +97,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/file-view/file-view.module#FileViewModule'
loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule)
}
]
},
@@ -100,14 +110,14 @@ export const appRoutes: Routes = [
{
path: 'breadcrumb',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/breadcrumb-demo/breadcrumb-demo.module#AppBreadcrumbModule'
loadChildren: () => import('./components/breadcrumb-demo/breadcrumb-demo.module').then(m => m.AppBreadcrumbModule)
},
{
path: 'notifications',
children: [
{
path: '',
loadChildren: 'app/components/notifications/notifications.module#AppNotificationsModule'
loadChildren: () => import('./components/notifications/notifications.module').then(m => m.AppNotificationsModule)
}
]
},
@@ -116,7 +126,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/config-editor/config-editor.module#AppConfigEditorModule'
loadChildren: () => import('./components/config-editor/config-editor.module').then(m => m.AppConfigEditorModule)
}
]
},
@@ -125,7 +135,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/pipes/pipes.module#AppPipesModule'
loadChildren: () => import('./components/pipes/pipes.module').then(m => m.AppPipesModule)
}
]
},
@@ -134,7 +144,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/card-view/card-view.module#AppCardViewModule'
loadChildren: () => import('./components/card-view/card-view.module').then(m => m.AppCardViewModule)
}
]
},
@@ -143,7 +153,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/sites/sites.module#SitesModule'
loadChildren: () => import('./components/sites/sites.module').then(m => m.SitesModule)
}
]
},
@@ -152,7 +162,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/header-data/header-data.module#AppHeaderDataModule'
loadChildren: () => import('./components/header-data/header-data.module').then(m => m.AppHeaderDataModule)
}
]
},
@@ -167,28 +177,38 @@ export const appRoutes: Routes = [
{
path: 'cloud',
canActivate: [AuthGuardSsoRoleService],
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
data: { roles: ['ACTIVITI_ADMIN', 'ACTIVITI_USER'], redirectUrl: '/error/403' },
children: [
{
path: '',
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
component: AppsCloudDemoComponent
},
{
path: 'people-group-cloud',
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
component: PeopleGroupCloudDemoComponent
},
{
path: 'task-header-cloud',
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
component: TaskHeaderCloudDemoComponent
},
{
path: 'service-task-list',
data: { roles: ['ACTIVITI_ADMIN'], redirectUrl: '/error/403' },
component: ServiceTaskListCloudDemoComponent
},
{
path: 'community',
loadChildren: 'app/components/cloud/community/community.module#AppCommunityModule'
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
loadChildren: () => import('./components/cloud/community/community.module').then(m => m.AppCommunityModule)
},
{
path: ':appName',
canActivate: [AuthGuardSsoRoleService],
data: { clientRoles: ['appName'], roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
component: ProcessCloudLayoutComponent,
children: [
{
path: '',
@@ -231,7 +251,7 @@ export const appRoutes: Routes = [
},
{
path: 'node-selector',
loadChildren: 'app/components/content-node-selector/content-node-selector.module#AppContentNodeSelectorModule'
loadChildren: () => import('./components/content-node-selector/content-node-selector.module').then(m => m.AppContentNodeSelectorModule)
},
{
path: 'confirm-dialog',
@@ -239,22 +259,37 @@ export const appRoutes: Routes = [
},
{
path: 'settings-layout',
loadChildren: 'app/components/settings/settings.module#AppSettingsModule'
loadChildren: () => import('./components/settings/settings.module').then(m => m.AppSettingsModule)
},
{
path: 'trashcan',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/trashcan/trashcan.module#AppTrashcanModule'
loadChildren: () => import('./components/trashcan/trashcan.module').then(m => m.AppTrashcanModule)
},
{
path: 'files',
component: FilesComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'filtered-search',
component: FilteredSearchComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'filtered-search/:id',
component: FilteredSearchComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'filtered-search/:id/display/:mode',
component: FilteredSearchComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'extensions/document-list/presets',
canActivate: [AuthGuardEcm],
loadChildren: './components/document-list/extension-presets/extension-presets.module#ExtensionPresetsModule'
loadChildren: () => import('./components/document-list/extension-presets/extension-presets.module').then(m => m.ExtensionPresetsModule)
},
{
path: 'files/:id',
@@ -269,16 +304,16 @@ export const appRoutes: Routes = [
{
path: 'dl-custom-sources',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/files/custom-sources.module#AppCustomSourcesModule'
loadChildren: () => import('./components/files/custom-sources.module').then(m => m.AppCustomSourcesModule)
},
{
path: 'datatable',
loadChildren: 'app/components/datatable/datatable.module#AppDataTableModule'
loadChildren: () => import('./components/datatable/datatable.module').then(m => m.AppDataTableModule)
},
{
path: 'datatable/dnd',
loadChildren: './components/datatable/drag-and-drop/datatable-dnd.module#AppDataTableDndModule'
loadChildren: () => import('./components/datatable/drag-and-drop/datatable-dnd.module').then(m => m.AppDataTableDndModule)
},
{
path: 'search',
@@ -352,17 +387,17 @@ export const appRoutes: Routes = [
{
path: 'webscript',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/webscript/webscript.module#AppWebScriptModule'
loadChildren: () => import('./components/webscript/webscript.module').then(m => m.AppWebScriptModule)
},
{
path: 'tag',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/tag/tag.module#AppTagModule'
loadChildren: () => import('./components/tag/tag.module').then(m => m.AppTagModule)
},
{
path: 'social',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/social/social.module#AppSocialModule'
loadChildren: () => import('./components/social/social.module').then(m => m.AppSocialModule)
},
{
path: 'permissions/:id',
@@ -376,11 +411,11 @@ export const appRoutes: Routes = [
},
{
path: 'about',
loadChildren: 'app/components/about/about.module#AppAboutModule'
loadChildren: () => import('./components/about/about.module').then(m => m.AppAboutModule)
},
{
path: 'icons',
loadChildren: './components/icons/icons.module#AppIconsModule'
loadChildren: () => import('./components/icons/icons.module').then(m => m.AppIconsModule)
},
{ path: 'form-cloud', component: FormCloudDemoComponent },
{ path: 'form', component: FormComponent },
@@ -397,11 +432,11 @@ export const appRoutes: Routes = [
},
{
path: 'datatable-lazy',
loadChildren: 'app/components/lazy-loading/lazy-loading.module#LazyLoadingModule'
loadChildren: () => import('./components/lazy-loading/lazy-loading.module').then(m => m.LazyLoadingModule)
},
{
path: 'copy-content',
loadChildren: 'app/components/datatable/copy-content/datatable.module#AppDataTableCopyModule'
loadChildren: () => import('./components/datatable/copy-content/datatable.module').then(m => m.AppDataTableCopyModule)
},
{
path: 'template-list',
@@ -410,12 +445,12 @@ export const appRoutes: Routes = [
{
path: 'task-list',
canActivate: [AuthGuardBpm],
loadChildren: 'app/components/task-list-demo/task-list.module#AppTaskListModule'
loadChildren: () => import('./components/task-list-demo/task-list.module').then(m => m.AppTaskListModule)
},
{
path: 'process-list',
canActivate: [AuthGuardBpm],
loadChildren: 'app/components/process-list-demo/process-list.module#AppProcessListModule'
loadChildren: () => import('./components/process-list-demo/process-list.module').then(m => m.AppProcessListModule)
},
{
path: 'error/no-authorization',
@@ -443,5 +478,3 @@ export const appRoutes: Routes = [
redirectTo: 'error/404'
}
];
export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes, { initialNavigation: true });
@@ -1,12 +1,11 @@
<adf-about-github-link
[url]="url"
[version]="version">
</adf-about-github-link>
<adf-about-github-link [application]="application" [url]="url" [version]="version"></adf-about-github-link>
<adf-about-product-version>
</adf-about-product-version>
<adf-about-server-settings></adf-about-server-settings>
<adf-about-product-version> </adf-about-product-version>
<adf-about-application-modules
[dependencies]="dependencies"
[showExtensions]="showExtensions">
[showExtensions]="showExtensions"
>
</adf-about-application-modules>
@@ -15,22 +15,32 @@
* limitations under the License.
*/
import { Component } from '@angular/core';
import { name, version, commit, dependencies } from '../../../../../package.json';
import { Component, OnInit } from '@angular/core';
import {
name,
version,
commit,
dependencies
} from '../../../../../package.json';
import { AppConfigService } from '@alfresco/adf-core';
@Component({
selector: 'app-about-page',
templateUrl: './about.component.html',
styleUrls: ['about.component.scss']
})
export class AboutComponent {
export class AboutComponent implements OnInit {
url = `https://github.com/Alfresco/${name}/commits/${commit}`;
version = version;
dependencies = dependencies;
showExtensions = true;
application = '';
constructor() {
constructor(private appConfigService: AppConfigService) {}
ngOnInit() {
this.application = this.appConfigService.get<string>(
'application.name'
);
}
}
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [AboutComponent]
@@ -40,6 +40,7 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
]
},
{ href: '/files', icon: 'folder_open', title: 'APP_LAYOUT.CONTENT_SERVICES' },
{ href: '/filtered-search', icon: 'rowing', title: 'APP_LAYOUT.FILTERED_SEARCH' },
{ href: '/breadcrumb', icon: 'label', title: 'APP_LAYOUT.BREADCRUMB' },
{ href: '/notifications', icon: 'alarm', title: 'APP_LAYOUT.NOTIFICATIONS' },
{ href: '/card-view', icon: 'view_headline', title: 'APP_LAYOUT.CARD_VIEW' },
@@ -54,7 +55,8 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
{ href: '/cloud/community', icon: 'cloud', title: 'APP_LAYOUT.COMMUNITY' },
{ href: '/form-cloud', icon: 'poll', title: 'APP_LAYOUT.FORM' },
{ href: '/cloud/people-group-cloud', icon: 'group', title: 'APP_LAYOUT.PEOPLE_GROUPS_CLOUD' },
{ href: '/cloud/task-header-cloud', icon: 'cloud', title: 'APP_LAYOUT.TASK_HEADER_CLOUD.COMPONENT_NAME' }
{ href: '/cloud/task-header-cloud', icon: 'cloud', title: 'APP_LAYOUT.TASK_HEADER_CLOUD.COMPONENT_NAME' },
{ href: '/cloud/service-task-list', icon: 'cloud', title: 'APP_LAYOUT.SERVICE_TASK_LIST' }
]
},
{ href: '/activiti', icon: 'device_hub', title: 'APP_LAYOUT.PROCESS_SERVICES', children: [
@@ -16,13 +16,29 @@
*/
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormFieldModel, NotificationService, CoreAutomationService, FormModel } from '@alfresco/adf-core';
import { FormCloudService } from '@alfresco/adf-process-services-cloud';
import {
CoreAutomationService,
FormFieldModel,
FormModel,
FormRenderingService,
NotificationService
} from '@alfresco/adf-core';
import {
CloudFormRenderingService,
FormCloudService
} from '@alfresco/adf-process-services-cloud';
import { Subscription } from 'rxjs';
import {
CustomEditorComponent,
CustomWidgetComponent
} from '../../../cloud/custom-form-components/custom-editor.component';
@Component({
templateUrl: 'cloud-form-demo.component.html',
styleUrls: ['cloud-form-demo.component.scss']
styleUrls: ['cloud-form-demo.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
})
export class FormCloudDemoComponent implements OnInit, OnDestroy {
@@ -44,7 +60,20 @@ export class FormCloudDemoComponent implements OnInit, OnDestroy {
constructor(
private notificationService: NotificationService,
private formService: FormCloudService,
private automationService: CoreAutomationService) {
private automationService: CoreAutomationService,
private formRenderingService: FormRenderingService) {
this.formRenderingService.register({
'demo-widget': () => CustomEditorComponent,
'custom-editor': () => CustomEditorComponent,
'custom-string': () => CustomWidgetComponent,
'custom-datetime': () => CustomWidgetComponent,
'custom-file': () => CustomWidgetComponent,
'custom-number': () => CustomWidgetComponent,
'custom-something': () => CustomWidgetComponent,
'custom-boolean': () => CustomWidgetComponent,
'custom-date': () => CustomWidgetComponent,
'custom': () => CustomWidgetComponent
});
}
logErrors(errorFields: FormFieldModel[]) {
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -40,7 +40,7 @@ import { takeUntil } from 'rxjs/operators';
})
export class CardViewComponent implements OnInit, OnDestroy {
@ViewChild('console') console: ElementRef;
@ViewChild('console', { static: true }) console: ElementRef;
isEditable = true;
properties: any;
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [CardViewComponent]
@@ -16,8 +16,7 @@
*/
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Params } from '@angular/router/src/shared';
import { ActivatedRoute, Params } from '@angular/router';
@Component({
selector: 'app-cloud-viewer',
@@ -17,7 +17,7 @@
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[businessKey]="editedFilter['businessKey']"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
@@ -50,7 +50,7 @@ export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
selectedRow: any;
multiselect: boolean;
selectionMode: string;
selectedRows: string[] = [];
selectedRows: any[] = [];
testingMode: boolean;
processFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
@@ -34,7 +34,7 @@ export class CommunityStartProcessCloudDemoComponent implements OnInit {
}
ngOnInit() {
this.processName = this.appConfig.get<string>('adf-start-process.name');
this.processName = this.appConfig.get<string>('adf-start-process-cloud.name');
}
onStartProcessSuccess() {
@@ -73,7 +73,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
ProcessServicesCloudModule,
RouterModule.forChild(routes),
AppCloudSharedModule,
@@ -0,0 +1,71 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, OnInit } from '@angular/core';
import { FormService, WidgetComponent } from '@alfresco/adf-core';
// tslint:disable:component-selector
@Component({
selector: 'custom-editor-widget',
template: `
<div style="color: green">
ADF version of custom form widget
</div>
`
})
export class CustomEditorComponent extends WidgetComponent {
constructor() {
super();
}
}
@Component({
selector: 'app-sample-widget',
template: `
<div style="color: red">
<p *ngIf="field.readOnly || readOnly">
<label class="adf-label" [attr.for]="field.id">{{field.name | translate }}<span *ngIf="isRequired()">*</span></label>
<span>{{field.value}}</span>
</p>
<mat-form-field *ngIf="!(field.readOnly || readOnly)">
<label class="adf-label" [attr.for]="field.id">{{field.name | translate }}<span *ngIf="isRequired()">*</span></label>
<input matInput
class="adf-input"
type="text"
[id]="field.id"
[required]="isRequired()"
[value]="field.value"
[(ngModel)]="field.value"
(ngModelChange)="onFieldChanged(field)">
<mat-hint>{{field.placeholder}}</mat-hint>
</mat-form-field>
<error-widget [error]="field.validationSummary"></error-widget>
<error-widget *ngIf="isInvalidFieldRequired()" required="{{ 'FORM.FIELD.REQUIRED' | translate }}"></error-widget>
</div>
`
})
export class CustomWidgetComponent extends WidgetComponent implements OnInit {
constructor(public formService: FormService) {
super(formService);
}
ngOnInit() {
this.field.value = typeof this.field.value === 'object' ? JSON.stringify(this.field.value) : this.field.value;
}
}
@@ -6,14 +6,14 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangePeopleMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-people-single-mode" value="single">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" data-automation-id="app-people-single-mode" value="single">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-multiple-mode" value="multiple">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="app-people-control-options">
<mat-radio-group (change)="onChangePeopleFilterMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" value="appName">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
@@ -77,14 +77,14 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangeGroupsMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-group-single-mode" value="single">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" data-automation-id="app-group-single-mode" value="single">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-multiple-mode" value="multiple">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="app-groups-control-options">
<mat-radio-group (change)="onChangeGroupsFilterMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" value="appName">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
@@ -17,7 +17,8 @@
import { Component, ViewEncapsulation } from '@angular/core';
import { ComponentSelectionMode } from '@alfresco/adf-process-services-cloud';
import { MatRadioChange, MatCheckboxChange } from '@angular/material';
import { MatCheckboxChange } from '@angular/material/checkbox';
import { MatRadioChange } from '@angular/material/radio';
import { IdentityGroupModel, IdentityUserModel } from '@alfresco/adf-core';
@Component({
@@ -0,0 +1,45 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component } from '@angular/core';
import { FormRenderingService } from '@alfresco/adf-core';
import { CloudFormRenderingService } from '@alfresco/adf-process-services-cloud';
import { CustomEditorComponent, CustomWidgetComponent } from './custom-form-components/custom-editor.component';
@Component({
template: `<router-outlet></router-outlet>`,
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
})
export class ProcessCloudLayoutComponent {
constructor(private formRenderingService: FormRenderingService) {
this.formRenderingService.register({
'custom-editor': () => CustomEditorComponent,
'demo-widget': () => CustomEditorComponent,
'custom-string': () => CustomWidgetComponent,
'custom-datetime': () => CustomWidgetComponent,
'custom-file': () => CustomWidgetComponent,
'custom-number': () => CustomWidgetComponent,
'custom-something': () => CustomWidgetComponent,
'custom-boolean': () => CustomWidgetComponent,
'custom-date': () => CustomWidgetComponent,
'custom': () => CustomWidgetComponent
});
}
}
@@ -15,11 +15,12 @@
[appName]="editedFilter.appName"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionName]="editedFilter.processDefinitionName"
[processDefinitionKey]="editedFilter.processDefinitionKey"
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[businessKey]="editedFilter['businessKey']"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
@@ -54,7 +54,7 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
selectedRow: any;
multiselect: boolean;
selectionMode: string;
selectedRows: string[] = [];
selectedRows: any[] = [];
testingMode: boolean;
actionMenu: boolean;
contextMenu: boolean;
@@ -0,0 +1,41 @@
<div fxLayout
fxFill>
<adf-cloud-service-task-filters [appName]="appName"
[filterParam]="{index: 0}"
(filterClick)="onTaskFilterSelected($event)">
</adf-cloud-service-task-filters>
<div fxLayout="column"
fxFlex>
<adf-cloud-edit-service-task-filter [id]="filterId"
[appName]="appName"
[filterProperties]="taskFilterProperties.filterProperties"
[sortProperties]="taskFilterProperties.sortProperties"
[actions]="taskFilterProperties.actions"
(filterChange)="onFilterChange($event)">
</adf-cloud-edit-service-task-filter>
<div fxLayout="column"
fxFlex
fxFill
fxLayoutAlign="space-between"
*ngIf="editedFilter">
<adf-cloud-service-task-list #taskCloud
fxFlex
[queryParams]="editedFilter"
class="app-cloud-layout-overflow"
[appName]="editedFilter.appName"
[sorting]="sortArray"
[multiselect]="multiselect"
[selectionMode]="selectionMode"
[stickyHeader]="true"
[showActions]="actionMenu"
[showContextMenu]="contextMenu">
</adf-cloud-service-task-list>
<adf-pagination [target]="taskCloud"
(changePageSize)="onChangePageSize($event)"
(nextPage)="resetSelectedRows()"
(prevPage)="resetSelectedRows()">
</adf-pagination>
</div>
</div>
</div>
@@ -0,0 +1,110 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core';
import { TaskListCloudSortingModel, ServiceTaskListCloudComponent, ServiceTaskFilterCloudModel } from '@alfresco/adf-process-services-cloud';
import { UserPreferencesService, AppConfigService, PaginationModel } from '@alfresco/adf-core';
import { CloudLayoutService, CloudServiceSettings } from './services/cloud-layout.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@Component({
templateUrl: 'service-task-list-cloud-demo.component.html'
})
export class ServiceTaskListCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
public static ACTION_DELETE = 'delete';
static TASK_FILTER_PROPERTY_KEYS = 'adf-edit-service-task-filter';
@ViewChild('taskCloud')
taskCloud: ServiceTaskListCloudComponent;
appName = 'simpleapp';
isFilterLoaded = false;
selectedRow: any;
sortArray: TaskListCloudSortingModel[];
editedFilter: ServiceTaskFilterCloudModel;
taskFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
multiselect: boolean;
selectedRows: string[] = [];
actionMenu: boolean;
contextMenu: boolean;
actions: any[] = [];
selectedAction: { id: number, name: string, actionType: string};
selectedContextAction: { id: number, name: string, actionType: string};
selectionMode: string;
filterId: string;
private onDestroy$ = new Subject<boolean>();
constructor(
private cloudLayoutService: CloudLayoutService,
private userPreference: UserPreferencesService,
private appConfig: AppConfigService) {
const properties = this.appConfig.get<Array<any>>(ServiceTaskListCloudDemoComponent.TASK_FILTER_PROPERTY_KEYS);
if (properties === this.taskFilterProperties) {
this.taskFilterProperties = properties;
}
}
ngOnInit() {
this.isFilterLoaded = false;
this.cloudLayoutService.settings$
.pipe(takeUntil(this.onDestroy$))
.subscribe(settings => this.setCurrentSettings(settings));
}
ngOnDestroy() {
this.onDestroy$.next(true);
this.onDestroy$.complete();
}
setCurrentSettings(settings: CloudServiceSettings) {
if (settings) {
this.multiselect = settings.multiselect;
this.selectionMode = settings.selectionMode;
this.actionMenu = settings.actionMenu;
this.contextMenu = settings.contextMenu;
this.actions = settings.actions;
}
}
onTaskFilterSelected(filter: ServiceTaskFilterCloudModel) {
this.filterId = filter.id;
this.editedFilter = filter;
}
onChangePageSize(event: PaginationModel) {
this.userPreference.paginationSize = event.maxItems;
}
resetSelectedRows() {
this.selectedRows = [];
}
onFilterChange(filter: ServiceTaskFilterCloudModel) {
this.appName = filter.appName;
this.editedFilter = Object.assign({}, filter);
this.sortArray = [new TaskListCloudSortingModel({ orderBy: this.editedFilter.sort, direction: this.editedFilter.order })];
}
}
@@ -18,14 +18,17 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CloudSettingsComponent } from './cloud-settings.component';
import { MatDialogModule, MatInputModule, MatSelectModule, MatSlideToggleModule } from '@angular/material';
import { MatDialogModule } from '@angular/material/dialog';
import { MatInputModule } from '@angular/material/input';
import { MatSelectModule } from '@angular/material/select';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { CoreModule } from '@alfresco/adf-core';
import { FlexLayoutModule } from '@angular/flex-layout';
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
MatDialogModule,
MatInputModule,
MatSelectModule,
@@ -17,13 +17,17 @@
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService, AppConfigService } from '@alfresco/adf-core';
import { NotificationService, AppConfigService, FormRenderingService } from '@alfresco/adf-core';
import { CloudLayoutService } from './services/cloud-layout.service';
import { PreviewService } from 'app/services/preview.service';
import { PreviewService } from '../../services/preview.service';
import { CloudFormRenderingService } from '@alfresco/adf-process-services-cloud';
@Component({
templateUrl: './start-process-cloud-demo.component.html',
styleUrls: ['./start-process-cloud-demo.component.scss']
styleUrls: ['./start-process-cloud-demo.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
})
export class StartProcessCloudDemoComponent implements OnInit {
@@ -19,7 +19,7 @@ import { Component, ViewChild } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService } from '@alfresco/adf-core';
import { TaskHeaderCloudComponent } from '@alfresco/adf-process-services-cloud';
import { PreviewService } from 'app/services/preview.service';
import { PreviewService } from '../../services/preview.service';
@Component({
templateUrl: './task-details-cloud-demo.component.html',
@@ -27,7 +27,7 @@ import { PreviewService } from 'app/services/preview.service';
})
export class TaskDetailsCloudDemoComponent {
@ViewChild('taskHeader')
@ViewChild('taskHeader', { static: true })
taskHeader: TaskHeaderCloudComponent;
taskId: string;
@@ -24,7 +24,7 @@ import { FormControl } from '@angular/forms';
styleUrls: ['./task-header-cloud-demo.component.scss']
})
export class TaskHeaderCloudDemoComponent {
@ViewChild('taskHeader')
@ViewChild('taskHeader', { static: true })
taskHeader: TaskHeaderCloudComponent;
appName: string;
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
MonacoEditorModule
],
@@ -16,7 +16,7 @@
*/
import { Component } from '@angular/core';
import { MatDialog } from '@angular/material';
import { MatDialog } from '@angular/material/dialog';
import { ConfirmDialogComponent } from '@alfresco/adf-content-services';
@Component({
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [ContentNodeSelectorComponent]
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [DataTableDnDComponent]
@@ -34,17 +34,14 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild(),
ExtensionsModule.forChild()
ExtensionsModule
],
declarations: [
ExtensionPresetsComponent,
NameColumnComponent
],
entryComponents: [
NameColumnComponent
]
})
export class ExtensionPresetsModule {
@@ -108,7 +108,8 @@
<mat-card>
<mat-card-content>
<adf-version-manager [node]="node"
(uploadError)="uploadError($event)">
(uploadError)="onUploadError($event)"
(viewVersion)="onViewVersion($event)">
</adf-version-manager>
</mat-card-content>
</mat-card>
@@ -318,6 +319,7 @@
<adf-viewer
[blobFile]="content"
[nodeId]="nodeId"
[versionId]="versionId"
[showRightSidebar]="showRightSidebar"
[showLeftSidebar]="showLeftSidebar"
[allowGoBack]="allowGoBack"
@@ -18,7 +18,7 @@
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { ActivatedRoute, Router, PRIMARY_OUTLET } from '@angular/router';
import { ContentService, AllowableOperationsEnum, PermissionsEnum, NodesApiService } from '@alfresco/adf-core';
import { MatSnackBar } from '@angular/material';
import { MatSnackBar } from '@angular/material/snack-bar';
import { PreviewService } from '../../services/preview.service';
@Component({
@@ -30,6 +30,7 @@ import { PreviewService } from '../../services/preview.service';
export class FileViewComponent implements OnInit {
nodeId: string = null;
versionId: string = null;
displayEmptyMetadata = false;
expanded: boolean;
multi = false;
@@ -72,6 +73,7 @@ export class FileViewComponent implements OnInit {
ngOnInit() {
this.route.params.subscribe((params) => {
const id = params.nodeId;
this.versionId = params.versionId;
if (id) {
this.nodeApiService.getNode(id).subscribe(
(node) => {
@@ -92,6 +94,10 @@ export class FileViewComponent implements OnInit {
});
}
onViewVersion(versionId: string) {
this.preview.showResource(this.nodeId, versionId);
}
onViewerVisibilityChanged() {
const primaryUrl = this.router.parseUrl(this.router.url).root.children[PRIMARY_OUTLET].toString();
this.router.navigateByUrl(primaryUrl);
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
InfoDrawerModule,
ContentDirectiveModule,
ContentMetadataModule,
@@ -27,7 +27,7 @@ export class CustomSourcesComponent {
@Input()
selectedSource = '-recent-';
@ViewChild('customSourcesDocumentList')
@ViewChild('customSourcesDocumentList', { static: true })
documentList: DocumentListComponent;
sources = [
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [CustomSourcesComponent]
@@ -13,6 +13,7 @@
[currentFolderId]="'-recent-'"
locationFormat="/files"
[display]="'gallery'"
[preselectNodes]="selectedNodes"
[showHeader]="false"
[maxItems]="5"
(preview)="showFile($event)"
@@ -41,7 +42,8 @@
[versioning]="versioning"
[adf-check-allowable-operation]="'create'"
[adf-nodes]="disableDragArea ? getCurrentDocumentListNode() : []"
(beginUpload)="onBeginUpload($event)">
(beginUpload)="onBeginUpload($event)"
(updateFileVersion)="onUploadNewVersion($event)">
<div *ngIf="errorMessage" class="app-error-message">
<button (click)="resetError()" mat-icon-button>
<mat-icon>highlight_off</mat-icon>
@@ -199,13 +201,6 @@
<mat-icon>create</mat-icon>
<span>{{ 'DOCUMENT_LIST.TOOLBAR.EDIT_FOLDER' | translate }}</span>
</button>
<button mat-menu-item
[disabled]="!hasSelection(documentList.selection)"
title="Download"
(click)="downloadNodes(documentList.selection)">
<mat-icon>get_app</mat-icon>
<span>{{ 'DOCUMENT_LIST.TOOLBAR.DOWNLOAD' | translate }}</span>
</button>
<button mat-menu-item
adf-check-allowable-operation="delete"
[adf-nodes]="documentList.selection"
@@ -236,13 +231,17 @@
[showHeader]="showHeader"
[thumbnails]="thumbnails"
[stickyHeader]="stickyHeader"
[headerFilters]="headerFilters"
[filterValue]="paramValues"
(error)="onNavigationError($event)"
(success)="resetError()"
(ready)="emitReadyEvent($event)"
(preview)="showFile($event)"
(folderChange)="onFolderChange($event)"
(permissionError)="handlePermissionError($event)"
(name-click)="documentList.onNodeDblClick($event.detail?.node)">
(name-click)="documentList.onNodeDblClick($event.detail?.node)"
(filterSelection)="onFilterSelected($event)">
<adf-custom-no-permission-template *ngIf="enableCustomPermissionMessage">
<h1>You don't have permissions</h1>
</adf-custom-no-permission-template>
@@ -262,6 +261,7 @@
<data-column
*ngIf="showNameColumn && hyperlinkNavigation"
key="name"
sortingKey="name"
class="app-ellipsis-cell"
title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}"
[formatTooltip]="getNodeNameTooltip">
@@ -272,6 +272,7 @@
<data-column
*ngIf="showNameColumn && !hyperlinkNavigation"
key="name"
sortingKey="name"
title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}"
[formatTooltip]="getNodeNameTooltip"
class="app-ellipsis-cell adf-expand-cell-5">
@@ -289,6 +290,7 @@
key="content.sizeInBytes"
title="{{'DOCUMENT_LIST.COLUMNS.SIZE' | translate}}"
type="fileSize"
sortingKey="sizeInBytes"
class="app-desktop-only adf-ellipsis-cell">
</data-column>
<data-column
@@ -315,12 +317,15 @@
<data-column
class="app-full-width adf-ellipsis-cell adf-desktop-only"
title="{{'DOCUMENT_LIST.COLUMNS.NODE_ID' | translate}}"
[sortable]="false"
key="id">
</data-column>
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.IS_LOCKED' | translate}}"
key="id"
key="lock"
[focus]="false"
[sortable]="false"
class="app-desktop-only adf-ellipsis-cell">
<ng-template let-entry="$implicit">
<button mat-icon-button [adf-node-lock]="entry.row.node.entry" class="app-lock-button">
@@ -332,11 +337,13 @@
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.CREATED_BY' | translate}}"
key="createdByUser.displayName"
sortingKey="createdByUser"
class="app-desktop-only adf-ellipsis-cell">
</data-column>
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.CREATED' | translate}}"
key="createdAt"
sortingKey="createdAt"
type="date"
[format]="enableMediumTimeFormat ? 'medium' : 'timeAgo'"
class="app-desktop-only adf-ellipsis-cell">
@@ -446,7 +453,7 @@
<adf-infinite-pagination
[hidden]="!infiniteScrolling"
[target]="documentList"
[loading]="documentList.infiniteLoading">
[loading]="documentList.loading">
{{ 'ADF-DOCUMENT-LIST.LAYOUT.LOAD_MORE' | translate }}
</adf-infinite-pagination>
</adf-upload-drag-area>
@@ -528,13 +535,13 @@
</section>
<section>
<mat-slide-toggle [color]="'primary'" [(ngModel)]="multiselect">
<mat-slide-toggle data-automation-id="multiSelectToggle" [color]="'primary'" [(ngModel)]="multiselect">
{{'DOCUMENT_LIST.MULTISELECT_CHECKBOXES' | translate}}
</mat-slide-toggle>
</section>
<section>
<mat-slide-toggle id="adf-multiple-upload-switch" [color]="'primary'" [(ngModel)]="multipleFileUpload">
<mat-slide-toggle id="adf-multiple-upload-switch" [color]="'primary'" (change)="onMultipleFilesUpload()" [(ngModel)]="multipleFileUpload" >
{{'DOCUMENT_LIST.MULTIPLE_FILE_UPLOAD' | translate}}
</mat-slide-toggle>
</section>
@@ -565,8 +572,8 @@
</section>
<section>
<mat-slide-toggle id="adf-document-list-enable-drop-files" [color]="'primary'" [(ngModel)]="allowDropFiles"
(click)="toggleAllowDropFiles()">
<mat-slide-toggle id="adf-document-list-enable-drop-files" [color]="'primary'" [checked]="allowDropFiles"
(change)="toggleAllowDropFiles()">
{{'DOCUMENT_LIST.ALLOW_DROP_FILES' | translate}}
</mat-slide-toggle>
</section>
@@ -627,6 +634,21 @@
</mat-slide-toggle>
</section>
<section>
<mat-slide-toggle
color="primary" [(ngModel)]="preselectNodes" id="preselectNodes">
Preselect Nodes
</mat-slide-toggle>
</section>
<form class="example-form">
<mat-form-field *ngIf="preselectNodes" class="adf-preselect-nodes-input">
<input matInput
(input)="setPreselectNodes($event.target?.value)"
placeholder="NodeEntry[] => [{ entry: { isFile: true, id: 'node-id' }}, { entry: { isFile: true, id: 'node-id' }} ]">
</mat-form-field>
</form>
<h5>Upload</h5>
<section *ngIf="acceptedFilesTypeShow">
<mat-form-field floatPlaceholder="float">
@@ -88,4 +88,8 @@
justify-content: center;
}
}
.adf-preselect-nodes-input {
width: 100%;
}
}
@@ -21,15 +21,16 @@ import {
} from '@angular/core';
import { Location } from '@angular/common';
import { MatDialog } from '@angular/material';
import { MatDialog } from '@angular/material/dialog';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { MinimalNodeEntity, NodePaging, Pagination, MinimalNodeEntryEntity, SiteEntry, SearchEntry } from '@alfresco/js-api';
import { MinimalNodeEntity, NodePaging, Pagination, MinimalNodeEntryEntity, SiteEntry, SearchEntry, NodeEntry } from '@alfresco/js-api';
import {
AlfrescoApiService, AuthenticationService, AppConfigService, AppConfigValues, ContentService, TranslationService,
FileUploadEvent, FolderCreatedEvent, LogService, NotificationService,
AlfrescoApiService, AuthenticationService, AppConfigService, AppConfigValues, ContentService, TranslationService, FolderCreatedEvent, LogService, NotificationService,
UploadService, DataRow, UserPreferencesService,
PaginationComponent, FormValues, DisplayMode, InfinitePaginationComponent, HighlightDirective,
SharedLinksApiService
PaginationComponent, FormValues, DisplayMode, ShowHeaderMode, InfinitePaginationComponent, HighlightDirective,
SharedLinksApiService,
FormRenderingService,
FileUploadEvent
} from '@alfresco/adf-core';
import {
@@ -38,23 +39,27 @@ import {
UploadFilesEvent,
ConfirmDialogComponent,
LibraryDialogComponent,
ContentMetadataService
ContentMetadataService,
FilterSearch
} from '@alfresco/adf-content-services';
import { SelectAppsDialogComponent } from '@alfresco/adf-process-services';
import { SelectAppsDialogComponent, ProcessFormRenderingService } from '@alfresco/adf-process-services';
import { VersionManagerDialogAdapterComponent } from './version-manager-dialog-adapter.component';
import { MetadataDialogAdapterComponent } from './metadata-dialog-adapter.component';
import { Subject } from 'rxjs';
import { PreviewService } from '../../services/preview.service';
import { debounceTime, takeUntil } from 'rxjs/operators';
import { takeUntil, debounceTime, scan } from 'rxjs/operators';
const DEFAULT_FOLDER_TO_SHOW = '-my-';
@Component({
selector: 'app-files-component',
templateUrl: './files.component.html',
styleUrls: ['./files.component.scss']
styleUrls: ['./files.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
]
})
export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@@ -66,7 +71,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
showVersions = false;
allowDropFiles = true;
displayMode = DisplayMode.List;
includeFields = ['isFavorite', 'isLocked', 'aspectNames'];
includeFields = ['isFavorite', 'isLocked', 'aspectNames', 'definition'];
baseShareUrl = (
this.appConfig.get<string>(AppConfigValues.BASESHAREURL) ||
@@ -89,10 +94,10 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
processId;
@Input()
sorting = ['name', 'asc'];
sorting = ['name', 'ASC'];
@Input()
sortingMode = 'client';
sortingMode = 'server';
@Input()
showRecentFiles = true;
@@ -104,7 +109,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
showSettingsPanel = true;
@Input()
showHeader = true;
showHeader: string = ShowHeaderMode.Always;
@Input()
selectionMode = 'multiple';
@@ -157,6 +162,18 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@Input()
searchTerm = '';
@Input()
navigationRoute = '/files';
@Input()
headerFilters = false;
@Input()
paramValues: Map<any, any> = null;
@Input()
filterSorting: string = null;
@Output()
documentListReady: EventEmitter<any> = new EventEmitter();
@@ -178,13 +195,13 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@Output()
deleteElementSuccess: EventEmitter<any> = new EventEmitter();
@ViewChild('documentList')
@ViewChild('documentList', { static: true })
documentList: DocumentListComponent;
@ViewChild('standardPagination')
standardPagination: PaginationComponent;
@ViewChild(InfinitePaginationComponent)
@ViewChild(InfinitePaginationComponent, { static: true })
infinitePaginationComponent: InfinitePaginationComponent;
@ViewChild(HighlightDirective)
@@ -193,13 +210,17 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
permissionsStyle: PermissionStyleModel[] = [];
infiniteScrolling: boolean;
stickyHeader: boolean;
preselectNodes: boolean;
warnOnMultipleUploads = false;
thumbnails = false;
enableCustomPermissionMessage = false;
enableMediumTimeFormat = false;
displayEmptyMetadata = false;
hyperlinkNavigation = false;
selectedNodes = [];
constructor(private notificationService: NotificationService,
private uploadService: UploadService,
private contentService: ContentService,
@@ -237,6 +258,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
toggleAllowDropFiles() {
this.allowDropFiles = !this.allowDropFiles;
this.documentList.reload();
}
@@ -261,15 +283,31 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
this.uploadService.fileUploadComplete
.pipe(
debounceTime(300),
takeUntil(this.onDestroy$)
)
.subscribe(value => this.onFileUploadEvent(value));
.pipe(
debounceTime(300),
scan((files, currentFile) => [...files, currentFile], []),
takeUntil(this.onDestroy$)
)
.subscribe((value: any[]) => {
let selectedNodes: NodeEntry[] = [];
if (this.preselectNodes) {
if (value && value.length > 0 ) {
if (this.selectionMode === 'single') {
selectedNodes = [...[value[value.length - 1]].map((uploadedFile) => uploadedFile.data)];
} else {
selectedNodes = [...value.map((uploadedFile) => uploadedFile.data)];
}
this.selectedNodes = [...selectedNodes];
}
}
this.onFileUploadEvent(value[0]);
});
this.uploadService.fileUploadDeleted
.pipe(takeUntil(this.onDestroy$))
.subscribe(value => this.onFileUploadEvent(value));
.pipe(takeUntil(this.onDestroy$))
.subscribe(value => this.onFileUploadEvent(value));
this.contentService.folderCreated
.pipe(takeUntil(this.onDestroy$))
@@ -296,6 +334,12 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
});
}
onFileUploadEvent(event: FileUploadEvent) {
if (event && event.file.options.parentId === this.documentList.currentFolderId) {
this.documentList.reload();
}
}
ngOnDestroy() {
this.onDestroy$.next(true);
this.onDestroy$.complete();
@@ -338,12 +382,6 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
this.errorMessage = null;
}
onFileUploadEvent(event: FileUploadEvent) {
if (event && event.file.options.parentId === this.documentList.currentFolderId) {
this.documentList.reload();
}
}
onFolderCreated(event: FolderCreatedEvent) {
this.logService.log('FOLDER CREATED');
this.logService.log(event);
@@ -360,7 +398,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
onFolderChange($event) {
this.router.navigate(['/files', $event.value.id, 'display', this.displayMode]);
this.router.navigate([this.navigationRoute, $event.value.id, 'display', this.displayMode]);
}
handlePermissionError(event: any) {
@@ -518,22 +556,32 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
onChangePageSize(event: Pagination): void {
this.preference.paginationSize = event.maxItems;
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.changedPageSize.emit(event);
}
onChangePageNumber(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.changedPageNumber.emit(event);
}
onNextPage(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.turnedNextPage.emit(event);
}
loadNextBatch(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.loadNext.emit(event);
}
onPrevPage(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.turnedPreviousPage.emit(event);
}
@@ -581,16 +629,34 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
isCustomActionDisabled(node: MinimalNodeEntity): boolean {
if (node && node.entry && node.entry.name === 'custom') {
return false;
}
return true;
return !(node && node.entry && node.entry.name === 'custom');
}
runCustomAction(event: any) {
this.logService.log(event);
}
onUploadNewVersion(ev) {
const contentEntry = ev.detail.data.node.entry;
const showComments = this.showVersionComments;
const allowDownload = this.allowVersionDownload;
const newFileVersion = ev.detail.files[0].file;
if (this.contentService.hasAllowableOperations(contentEntry, 'update')) {
this.dialog.open(VersionManagerDialogAdapterComponent, {
data: {
contentEntry: contentEntry, showComments: showComments, allowDownload: allowDownload,
newFileVersion: newFileVersion, showComparison: true
},
panelClass: 'adf-version-manager-dialog',
width: '630px'
});
} else {
const translatedErrorMessage: any = this.translateService.instant('OPERATION.ERROR.PERMISSION');
this.openSnackMessage(translatedErrorMessage);
}
}
getFileFiltering(): string {
return this.acceptedFilesTypeShow ? this.acceptedFilesType : '*';
}
@@ -611,4 +677,64 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
return '';
}
onFilterSelected(activeFilters: FilterSearch[]) {
if (activeFilters.length) {
this.navigateToFilter(activeFilters);
} else {
this.clearFilterNavigation();
}
}
navigateToFilter(activeFilters: FilterSearch[]) {
const objectFromMap = {};
activeFilters.forEach((filter: FilterSearch) => {
let paramValue = null;
if (filter.value && filter.value.from && filter.value.to) {
paramValue = `${filter.value.from}||${filter.value.to}`;
} else {
paramValue = filter.value;
}
objectFromMap[filter.key] = paramValue;
});
this.router.navigate([], { relativeTo: this.route, queryParams: objectFromMap });
}
clearFilterNavigation() {
this.documentList.node = null;
if (this.currentFolderId === '-my-') {
this.router.navigate([this.navigationRoute, '']);
} else {
this.router.navigate([this.navigationRoute, this.currentFolderId, 'display', this.displayMode]);
}
this.documentList.reload();
}
setPreselectNodes(nodes: string) {
this.selectedNodes = this.getArrayFromString(nodes);
this.documentList.reload();
}
isStringArray(str: string): boolean {
try {
const result = JSON.parse(str);
return Array.isArray(result);
} catch (e) {
return false;
}
}
private getArrayFromString<T = any>(value: string): T[] {
if (this.isStringArray(value)) {
return JSON.parse(value);
} else {
return [];
}
}
onMultipleFilesUpload() {
this.selectedNodes = [];
}
}
@@ -0,0 +1,9 @@
<app-files-component [sortingMode]="'server'"
[showRecentFiles]="false"
[showSitePicker]="true"
[showSettingsPanel]="false"
[navigationRoute]="navigationRoute"
[currentFolderId]="currentFolderId"
[headerFilters]="true"
[paramValues]="queryParams">
</app-files-component>
@@ -0,0 +1,46 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, Optional } from '@angular/core';
import { ActivatedRoute, Params } from '@angular/router';
@Component({
selector: 'app-filtered-search-component',
templateUrl: './filtered-search.component.html'
})
export class FilteredSearchComponent {
navigationRoute = '/filtered-search';
currentFolderId = '-my-';
queryParams = null;
constructor(@Optional() private route: ActivatedRoute) {
if (this.route) {
this.route.params.forEach((params: Params) => {
if (params['id'] && this.currentFolderId !== params['id']) {
this.currentFolderId = params['id'];
}
});
this.route.queryParamMap.subscribe((queryMap: Params) => {
this.queryParams = queryMap.params;
});
}
}
}
@@ -16,7 +16,7 @@
*/
import { Component, Inject, ViewEncapsulation } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { MinimalNodeEntryEntity } from '@alfresco/js-api';
@Component({
@@ -7,7 +7,7 @@
</section>
<section>
<mat-slide-toggle id="adf-version-manager-switch-download"color="primary" [(ngModel)]="allowDownload">
<mat-slide-toggle id="adf-version-manager-switch-download" color="primary" [(ngModel)]="allowDownload">
{{'APP.ADF_VERSION_MANAGER.ALLOW_DOWNLOAD' | translate}}
</mat-slide-toggle>
</section>
@@ -18,11 +18,26 @@
</mat-slide-toggle>
</section>
<section *ngIf="newFileVersion">
<mat-slide-toggle id="adf-version-manager-switch-comparison" color="primary" [(ngModel)]="showVersionComparison">
{{'APP.ADF_VERSION_MANAGER.VERSION_COMPARISON' | translate}}
</mat-slide-toggle>
</section>
<section mat-dialog-content *ngIf="!readOnly">
<adf-version-manager [node]="contentEntry" [allowDownload]="allowDownload" [showComments]="showComments" (uploadError)="uploadError($event)"></adf-version-manager>
<adf-version-manager [node]="contentEntry"
(uploadCancel)="hideVersionComparison($event)"
(uploadSuccess)="hideVersionComparison($event)"
[showVersionComparison]="showVersionComparison"
[newFileVersion]="newFileVersion"
[allowDownload]="allowDownload"
[showComments]="showComments"
(uploadError)="uploadError($event)"
(viewVersion)="onViewVersion($event)"
></adf-version-manager>
</section>
<section mat-dialog-content *ngIf="readOnly">
<adf-version-list [node]="contentEntry" [showActions]="false" ></adf-version-list>
<adf-version-list [node]="contentEntry" [showActions]="false"></adf-version-list>
</section>
<footer mat-dialog-actions fxLayout="row" fxLayoutAlign="end center">
@@ -19,6 +19,7 @@ import { Component, Inject, ViewEncapsulation } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { MinimalNodeEntryEntity } from '@alfresco/js-api';
import { MatSnackBar } from '@angular/material/snack-bar';
import { PreviewService } from '../../services/preview.service';
@Component({
templateUrl: './version-manager-dialog-adapter.component.html',
@@ -27,24 +28,40 @@ import { MatSnackBar } from '@angular/material/snack-bar';
export class VersionManagerDialogAdapterComponent {
public contentEntry: MinimalNodeEntryEntity;
public newFileVersion: File;
showComments = true;
allowDownload = true;
readOnly = false;
showVersionComparison = false;
constructor(@Inject(MAT_DIALOG_DATA) data: any,
constructor(private previewService: PreviewService,
@Inject(MAT_DIALOG_DATA) data: any,
private snackBar: MatSnackBar,
private containingDialog?: MatDialogRef<VersionManagerDialogAdapterComponent>) {
this.contentEntry = data.contentEntry;
this.newFileVersion = data.hasOwnProperty('newFileVersion') ? data.newFileVersion : this.newFileVersion;
this.showComments = data.hasOwnProperty('showComments') ? data.showComments : this.showComments;
this.allowDownload = data.hasOwnProperty('allowDownload') ? data.allowDownload : this.allowDownload;
}
uploadError(errorMessage: string) {
this.snackBar.open(errorMessage, '', { duration: 4000 });
this.snackBar.open(errorMessage, '', {duration: 4000});
}
close() {
this.containingDialog.close();
}
onViewVersion(versionId: string) {
this.previewService.showResource(this.contentEntry.id, versionId);
this.close();
}
hideVersionComparison(isCancelled: boolean | Node) {
if (isCancelled) {
this.showVersionComparison = false;
this.newFileVersion = null;
}
}
}
@@ -6,6 +6,7 @@
<adf-form
[showRefreshButton]="false"
[form]="form"
[enableFixedSpacedForm]="keepPrefixedSpace"
(formError)="logErrors($event)">
</adf-form>
</div>
@@ -47,6 +48,11 @@
</div>
</mat-tab>
<mat-tab label="Options">
<mat-slide-toggle [checked]="keepPrefixedSpace" (change)="togglePrefixedSpace()" >
Keep prefixed space for hidden field
</mat-slide-toggle>
</mat-tab>
</mat-tab-group>
</div>
@@ -16,7 +16,8 @@
*/
import { Component, Inject, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
import { FormModel, FormFieldModel, FormService, FormOutcomeEvent, NotificationService, CoreAutomationService } from '@alfresco/adf-core';
import { FormModel, FormFieldModel, FormService, FormOutcomeEvent, NotificationService, CoreAutomationService, FormRenderingService } from '@alfresco/adf-core';
import { ProcessFormRenderingService } from '@alfresco/adf-process-services';
import { InMemoryFormService } from '../../services/in-memory-form.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -26,7 +27,8 @@ import { takeUntil } from 'rxjs/operators';
templateUrl: 'form.component.html',
styleUrls: ['form.component.scss'],
providers: [
{ provide: FormService, useClass: InMemoryFormService }
{ provide: FormService, useClass: InMemoryFormService },
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
],
encapsulation: ViewEncapsulation.None
})
@@ -36,6 +38,7 @@ export class FormComponent implements OnInit, OnDestroy {
errorFields: FormFieldModel[] = [];
formConfig: string;
editor: any;
keepPrefixedSpace = true;
editorOptions = {
theme: 'vs-dark',
@@ -83,7 +86,7 @@ export class FormComponent implements OnInit, OnDestroy {
}
parseForm() {
this.form = this.formService.parseForm(JSON.parse(this.formConfig));
this.form = this.formService.parseForm(JSON.parse(this.formConfig), null, false, this.keepPrefixedSpace);
}
onSaveFormConfig() {
@@ -111,4 +114,8 @@ export class FormComponent implements OnInit, OnDestroy {
$event.target.value = '';
}
togglePrefixedSpace() {
this.keepPrefixedSpace = !this.keepPrefixedSpace;
}
}
@@ -32,7 +32,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild()
CoreModule
],
declarations: [HeaderDataComponent]
})
@@ -20,6 +20,7 @@ import { Injectable, Output, EventEmitter } from '@angular/core';
@Injectable({
providedIn: 'root'
})
// tslint:disable-next-line: directive-class-suffix
export class HeaderDataService {
show = true;
@@ -16,7 +16,7 @@
*/
import { Component, OnInit } from '@angular/core';
import { MatIconRegistry } from '@angular/material';
import { MatIconRegistry } from '@angular/material/icon';
import { DomSanitizer } from '@angular/platform-browser';
@Component({
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [IconsComponent]
@@ -23,7 +23,7 @@ import { LazyLoadingComponent } from './lazy-loading.component';
@NgModule({
imports: [
CoreModule.forChild(),
CoreModule,
LazyLoadingRoutes
],
declarations: [
@@ -4,7 +4,7 @@
<p class="app-toggle">
<mat-slide-toggle
id="switch3"
[color]="'primary'"
color="primary"
(change)="toggleCSRF()"
[checked]="!disableCsrf">
CSRF
@@ -13,7 +13,7 @@
<p class="app-toggle">
<mat-slide-toggle
id="switch4"
[color]="'primary'"
color="primary"
(change)="toggleFooter()"
[checked]="showFooter">
{{ 'LOGIN.LOGIN_FOOTER'| translate }}
@@ -22,7 +22,7 @@
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-show-rememberme"
[color]="'primary'"
color="primary"
(change)="toggleRememberMe()"
[checked]="showRememberMe">
{{ 'LOGIN.SHOW_REMEMBERME'| translate }}
@@ -31,7 +31,7 @@
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-show-successRoute"
[color]="'primary'"
color="primary"
(change)="toggleSuccessRoute()"
[checked]="customSuccessRoute">
{{ 'LOGIN.SHOW_SUCCESS_ROUTE'| translate }}
@@ -51,7 +51,7 @@
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-logo"
[color]="'primary'"
color="primary"
(change)="toggleLogo()"
[checked]="customLogoImage">
{{ 'LOGIN.CUSTOM_LOGO'| translate }}
@@ -77,13 +77,10 @@
</a>
<adf-login
#alfrescoLogin
[successRoute]="customSuccessRouteURI"
[logoImageUrl]="customLogoImageURL"
[fieldsValidation]="customValidation"
[showLoginActions]="showFooter"
[showRememberMe]="showFooter && showRememberMe"
(executeSubmit)="checkForm($event)"
copyrightText="{{ 'application.copyright' | adfAppConfig }}"
(success)="onLogin()"
(error)="onError($event)">
@@ -91,7 +88,7 @@
<p>
<mat-slide-toggle
id="switch3-mobile"
[color]="'primary'"
color="primary"
(change)="toggleCSRF()"
[checked]="!disableCsrf">
CSRF
@@ -100,14 +97,19 @@
<p>
<mat-slide-toggle
id="switch4-mobile"
[color]="'primary'"
color="primary"
(change)="toggleFooter()"
[checked]="showFooter">
{{ 'LOGIN.LOGIN_FOOTER'| translate }}
</mat-slide-toggle>
</p>
<button type="button" mat-raised-button color="accent" class="app-mobile-setting-button" routerLink="/settings"
data-automation-id="settings">{{ 'APP_LAYOUT.SETTINGS'| translate }}
<button
type="button"
mat-raised-button
color="accent"
class="app-mobile-setting-button"
routerLink="/settings"
data-automation-id="settings">{{ 'APP_LAYOUT.SETTINGS'| translate }}
</button>
</div>
@@ -15,8 +15,7 @@
* limitations under the License.
*/
import { Component, OnInit, ViewChild } from '@angular/core';
import { Validators } from '@angular/forms';
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { LogService } from '@alfresco/adf-core';
@@ -25,12 +24,8 @@ import { LogService } from '@alfresco/adf-core';
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss']
})
export class LoginComponent implements OnInit {
export class LoginComponent {
@ViewChild('alfrescoLogin')
alfrescoLogin: any;
customValidation: any;
customSuccessRouteURI = '';
customLogoImageURL = './assets/images/alfresco-logo.svg';
@@ -39,28 +34,17 @@ export class LoginComponent implements OnInit {
showRememberMe = true;
customSuccessRoute = false;
customLogoImage = false;
customMinLength = 2;
constructor(private router: Router,
private logService: LogService) {
this.customValidation = {
username: ['', Validators.compose([Validators.required, Validators.minLength(this.customMinLength)])],
password: ['', Validators.required]
};
}
ngOnInit() {
this.alfrescoLogin.addCustomValidationError('username', 'required', 'LOGIN.MESSAGES.USERNAME-REQUIRED');
this.alfrescoLogin.addCustomValidationError('username', 'minlength', 'LOGIN.MESSAGES.USERNAME-MIN', { minLength: this.customMinLength });
this.alfrescoLogin.addCustomValidationError('password', 'required', 'LOGIN.MESSAGES.PASSWORD-REQUIRED');
}
onLogin() {
this.router.navigate(['/home']);
}
onError($event) {
this.logService.error($event);
onError(err: any) {
this.logService.error(err);
}
toggleCSRF() {
@@ -88,9 +72,4 @@ export class LoginComponent implements OnInit {
this.customLogoImageURL = null;
}
}
checkForm(event: any) {
const values = event.values;
this.logService.log(values);
}
}
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -17,7 +17,7 @@
import { Component, OnInit, OnDestroy } from '@angular/core';
import { NotificationService } from '@alfresco/adf-core';
import { MatSnackBarConfig } from '@angular/material';
import { MatSnackBarConfig } from '@angular/material/snack-bar';
import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
MatButtonModule
],
@@ -28,7 +28,7 @@ import { NodesApiService, NotificationService } from '@alfresco/adf-core';
})
export class DemoPermissionComponent implements OnInit {
@ViewChild('permissionList')
@ViewChild('permissionList', { static: true })
displayPermissionComponent: PermissionListComponent;
nodeId: string;
@@ -51,12 +51,12 @@ export class DemoPermissionComponent implements OnInit {
this.nodeService
.getNode(this.nodeId, {include: ['permissions'] })
.subscribe( (currentNode: MinimalNodeEntryEntity) => {
this.toggleStatus = currentNode.permissions.isInheritanceEnabled;
this.toggleStatus = currentNode.permissions?.isInheritanceEnabled ?? false;
});
}
onUpdatedPermissions(node: MinimalNodeEntryEntity) {
this.toggleStatus = node.permissions.isInheritanceEnabled;
this.toggleStatus = node.permissions?.isInheritanceEnabled ?? false;
this.displayPermissionComponent.reload();
}
@@ -99,7 +99,7 @@
<div>{{ number | adfDecimalNumber : decimalValues }} </div>
<br>
<h3>AdfDecimalNumber Pipe - Custom locale</h3>
<div>{{ number | adfDecimalNumber : {} : locale }} </div>
<div>{{ number | adfDecimalNumber : null : locale }} </div>
<br>
<h3>AdfDecimalNumber Pipe - Custom digits config and locale</h3>
<div>{{ number | adfDecimalNumber : decimalValues : locale }} </div>
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [PipesComponent]
@@ -37,7 +37,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ProcessModule.forChild()
],
declarations: [ProcessListDemoComponent]
@@ -46,8 +46,7 @@ export class CustomStencil01 extends WidgetComponent {
@NgModule({
declarations: [ CustomEditorComponent, CustomStencil01 ],
exports: [ CustomEditorComponent, CustomStencil01 ],
entryComponents: [ CustomEditorComponent, CustomStencil01 ]
exports: [ CustomEditorComponent, CustomStencil01 ]
})
export class CustomEditorsModule {

Some files were not shown because too many files have changed in this diff Show More