Compare commits

...
422 Commits
Author SHA1 Message Date
Eugenio Romano 71abca0348 4.5.0 bump (#7158) 2021-07-07 19:50:54 +01:00
Eugenio Romano 69527712b6 Improve tslint configuration (#7157) 2021-07-07 17:03:01 +02:00
Dharan d17d003f75 [ADF-5439] New bubble filters with expandible list extends too much when there are too many elements (#7156) 2021-07-07 11:37:53 +02:00
d6499792bd Update branch for JS-API PR#3674 (#7154)
* [ci:force][auto-commit] Update JS-API to 4.5.0-3672 for branch: update-js-api originated from JS-API PR: 3674

* Update search-filters.e2e.ts

Co-authored-by: Travis CI User <travis@example.org>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-07-07 11:36:29 +02:00
Dharan 7e4954bd80 [ADF-5439] New bubble filters with expandible list extends too much when there are too many elements (#7153) 2021-07-06 11:17:31 +02:00
arditdomi 54402f7ba4 [AAE-5458] - Reset filters when the filter input is not defined (rollback code causing regression) (#7151)
* Reset filters when the new filter param is undefined

* Rollback more code, fix unit tests

* Fix spaces after comma
2021-07-05 17:30:57 +01:00
Dharan 8024f828f7 * fix adf lint (#7152) 2021-07-05 16:55:02 +02:00
Dharan cb5c3abd7c [ADF-5440] update ADF e2e for APS 2.0 (#7150)
* [ADF-5440] update PS  e2e for APS 2.0
[ci:force] run all e2e

* [ci:force] run all e2e

* [ci:force] revert old app config value
2021-07-05 16:12:46 +02:00
Pablo Martinez Garcia dab75c51ee [ACA-4503] Fix close all dialogs (#7142)
* [ACA-4503] Fix close all dialogs

* [ci:force] clean unit test file
2021-07-05 15:18:59 +02:00
Dharan cc8a9f3ca0 [ADF-5438] Demoshell fixes (#7148)
[ADF-5438] 'Clear' and 'Apply' are showed for the new 'Content Size' bubble
[ADF-5437] Content size bubble filter shows a clear button

[ADF-5436] Check list filter shows 'Clear All' when there's already the remove button
2021-07-05 17:04:10 +05:30
Alfresco Build UserandTravis CI User 1afe1dd5c2 [ci:force][auto-commit] Update JS-API to 4.5.0-3650 for branch: update-js-api originated from JS-API PR: 3656 (#7145)
Co-authored-by: Travis CI User <travis@example.org>
2021-07-05 12:57:46 +02:00
Gloria Camino 93a31f6306 LOC-314 -Updated UI files in 16 languages for ADF 4.5 release (#7141) 2021-07-05 12:57:30 +02:00
Dharan bbc2701df2 [ACA-4486] docs update (#7146)
* [ACA-4486] docs update

* * [ci:force] rename see also section

* [ci:force] settings and  migrate step added

* settings and  migrate step added

* [ci:force] minor corrections
2021-07-05 11:56:56 +02:00
Pablo Martinez Garcia d93980d1a3 [ACA-4503] Fix closing dialogs behind when closing the content selector dialog (#7138)
* [ACA-4503] Fix closing dialogs behind when closing the content selector dialog

* [ACA-4503] Close the dialogs from the content node selector component
2021-07-01 15:16:26 +02:00
Eugenio Romano 05c3ed01d7 [7094] Fix empty save people groups (#7137)
* fix empty save people groups

* fix
2021-07-01 12:36:13 +02:00
arditdomi 94aa8aec35 [AAE-5432] - Fix no filter should be selected by default (#7136)
* Fix no filter should be selected by default

* Replace not.toBeDefined with toBeUndefined

* Fix comment - Trigger onChanges with filter change instead of appName
2021-07-01 09:58:31 +02:00
Thomas Hunter 0fa677c92a [ACA-4455] Fix horizontal scroller sometimes showing up on datatable (#7135) 2021-06-30 13:24:36 +01:00
Eugenio Romano 91b6dc176b Update protractor.excludes.json (#7132) 2021-06-30 12:30:55 +02:00
Silviu Popa 40e48d2444 fix disable complete button on invalid datetime (#7134) 2021-06-29 18:20:58 +02:00
Thomas Hunter 2ef7596620 [ACA-4455] Fixed row column scrolling on small width screens (#7133) 2021-06-29 17:01:53 +01:00
arditdomi 7f7b61bda1 [ACA-4479][ACA-4480] - Enable Save button when the form is invalid (#7131)
* [ACA-4479][ACA-4480] - Enable Save button when the form is invalid

* Add a unit test for form cloud

* Fix e2e
2021-06-29 14:36:19 +01:00
Alfresco Build UserandTravis CI User 2e377731c9 Update branch for JS-API PR#3648 (#7129)
* [ci:force][auto-commit] Update JS-API to 4.5.0-3646 for branch: update-js-api originated from JS-API PR: 3648

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

Co-authored-by: Travis CI User <travis@example.org>
2021-06-29 14:00:14 +01:00
Eugenio Romano 4aa9f79707 4.5.0 Release note (#7130)
* doc part 1

* doc part 2

* 4.5.0 release note

* Update README.md

* Update README.md
2021-06-28 17:28:59 +02:00
Vito 82a57c9c05 [ACA-4436] - added option for select item to display None (#7113)
* [ACA-4436] - added option for select item to display None

* [ACA-4436] - added unit test and fixed wrong default behaviour

* [ACA-4436] - fixed property check

* [ACA-4436] - fixed unit test

* [ACA-4436] - fixed unit test
2021-06-25 11:19:16 +02:00
Dharan 26d180e661 [ACA-4486] support search widget chips layout (#7122)
* [ACA-4486] support search widget chips layout

* * revert to old config

* * resolved rebase conflicts

* [ci:force] force e2e

* [ci:force] docs update and remove directive added

* [ci:force] config updated

* [ci:force] add missing app config schema to prod build
2021-06-25 10:54:12 +02:00
Alfresco Build UserandTravis CI User 87be0b0b70 Update branch for JS-API PR#3612 (#7111)
* [ci:force][auto-commit] Update JS-API to 4.5.0-3611 for branch: update-js-api originated from JS-API PR: 3612

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

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

Co-authored-by: Travis CI User <travis@example.org>
2021-06-25 10:18:09 +02:00
arditdomi 462f40827e Revert "[AAE-5392] - Add find people api call (#7119)" (#7121)
This reverts commit 1e251ab8aa.
2021-06-24 09:57:27 +01:00
arditdomi 1e251ab8aa [AAE-5392] - Add find people api call (#7119)
* [AAE-5392] - Add find people api call

* Add documentation
2021-06-22 18:08:01 +01:00
Denys Vuika 829805e201 [ADF-5432] component template and code fixes after testing Angular strict mode (#7118)
* process list fixes

* template error fixes

* template and code fixes

* bug fixes in templates and types

* bugs, bugs are everywhere

* fix test

* test fixes

* enable strict templates for extensions lib

* enable strict mode for insights lib

* enable strict mode for core lib

* enable strict mode for content lib

* strict mode for process lib

* strict mode for process cloud

* fix demo shell template issues

* fix process cloud types
2021-06-22 16:36:06 +01:00
Thomas Hunter e2b8557f4b [AAE-5362] Add option to make actions button visible only on hover (#7117)
* [AAE-5362] Add option to make actions button visible only on hover

* [AAE-5362] Refactor

* Unrelated linting fixes
2021-06-22 16:28:38 +01:00
Popovics András b5e4316c08 Expose shared library as subdirectory (#7114)
* Expose shared library as subdirectory

* [ci:force]
2021-06-20 12:29:31 +02:00
Popovics András 1ecc14f184 Refactor e2e's ApiService (#7101)
* Refactor e2e's ApiService

* Fix bits here and there

* [ci:force] Remove unused imports

* [ci:force] Extract shared part from adf-testing

* [ci:force] Extract StringUtils as well

* Make protractor's Logger not have duplicated code

* [ci:force]
2021-06-19 23:03:17 +02:00
Eugenio Romano 2d61a2941c Update extensibility.md 2021-06-17 12:11:28 +02:00
dependabot[bot] d8088cf1cd Bump @apollo/client from 3.3.16 to 3.3.20 (#7104)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.3.16 to 3.3.20.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.3.16...v3.3.20)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 20:57:31 +02:00
dependabot[bot] 6d629b769e Bump cropperjs from 1.5.11 to 1.5.12 (#7105)
Bumps [cropperjs](https://github.com/fengyuanchen/cropperjs) from 1.5.11 to 1.5.12.
- [Release notes](https://github.com/fengyuanchen/cropperjs/releases)
- [Changelog](https://github.com/fengyuanchen/cropperjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fengyuanchen/cropperjs/compare/v1.5.11...v1.5.12)

---
updated-dependencies:
- dependency-name: cropperjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 17:26:05 +02:00
dependabot[bot] c439f88ac1 Bump selenium-webdriver from 4.0.0-alpha.7 to 4.0.0-beta.4 (#7103)
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) from 4.0.0-alpha.7 to 4.0.0-beta.4.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 09:31:10 +02:00
dependabot[bot] 019ffe63df Bump subscriptions-transport-ws from 0.9.18 to 0.9.19 (#7106)
Bumps [subscriptions-transport-ws](https://github.com/apollostack/subscriptions-transport-ws) from 0.9.18 to 0.9.19.
- [Release notes](https://github.com/apollostack/subscriptions-transport-ws/releases)
- [Changelog](https://github.com/apollographql/subscriptions-transport-ws/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollostack/subscriptions-transport-ws/commits)

---
updated-dependencies:
- dependency-name: subscriptions-transport-ws
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 16:16:39 +01:00
Denys Vuika 3079aa48c3 [ADF-5422] remove deprecated "async()" from unit tests (#7109)
* remove angualar async from content services

* upgrade more tests

* upgrade core tests

* upgrade tests

* fix deprecated constant

* fix tests

* fix after rebase
2021-06-15 16:16:15 +01:00
Dharan ba03c60adb [ADF-5417] Support multiple search configuration in app config json (#7096)
* [ACS-1642] Support multiple search configuration in app config json

* [ci:force] unit test added

* adf component added

* [ci:force] check compatibility

* [ci:force] * run all e2e

* * revert initvalue

* [ci:force] revert app config

* [ci:force] docs update
2021-06-15 14:52:46 +02:00
dependabot[bot] 1cffef9421 Bump tslib from 2.0.3 to 2.3.0 (#7107)
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.3 to 2.3.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.3...2.3.0)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 14:49:44 +02:00
Iulia Burcă ad987a8d34 [ACA-3611] Create test folder for E2E precondition files (#7088)
* create test folder

* if folder exists get its details

* rename precondition files
2021-06-14 22:09:57 +03:00
dependabot[bot] 4b6f735dcc Bump ws from 5.2.2 to 5.2.3 (#7108)
Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 15:34:01 +02:00
Alfresco Build UserandTravis CI User 111742ff42 Update branch for JS-API PR#3583 (#7093)
* [ci:force][auto-commit] Update JS-API to 4.5.0-3576 for branch: update-js-api originated from JS-API PR: 3583

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

Co-authored-by: Travis CI User <travis@example.org>
2021-06-14 12:21:24 +02:00
Denys Vuika eb71a79d1e prepare tests for ng-12 upgrade (#7099)
* prepare tests for ng12 upgrade

* fix lint

* fix tests

* test fixes

* fix code and tests

* fix code and tests

* test fixes

* test fixes
2021-06-11 07:36:32 +01:00
Eugenio Romano 558056b05c test if we can remove compatibility (#7064)
remove compatibility
2021-06-10 14:38:12 +02:00
Cristina Jalba 4dc98eb288 [ADF-5421]Include C307988 test back 2021-06-10 12:56:24 +03:00
Sushmitha V 60ff0fc387 [AAE-2617] To get access to datatable component from process-list (#7068) 2021-06-10 13:57:49 +05:30
Cristina Jalba 6400fd6ba8 [ACA-4474]Add isStartProcessButtonEnabled method
* [ACA-4474] Add isStartProcessButtonEnabled method

* Refactor tests

* Fix lint error

* Refactor isStartProcessButtonEnabled method

* Fix startProcessWithProcessDefinition method

* Fix tests

* no message

* Fix isStartProcessButtonDisabled method

* Exclude failing e2e
2021-06-08 18:58:11 +03:00
dependabot[bot] e8824a6579 Bump karma from 6.3.2 to 6.3.3 (#7092)
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.2 to 6.3.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/v6.3.2...v6.3.3)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-08 14:29:01 +02:00
Dharan 9a2a62255f [ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event (#7087)
* [ADF-5369] HTTP 500 response in adf-upload-button is emitted as a success event

* [ci:force] unit test fixed
2021-06-08 09:00:04 +01:00
Cristina Jalba acf4b26d74 [ACA-4474]Add checkWidgetsAreVisible method
* Add checkWidgetsAreVisible method

* Add checkNoFileIsAttachedToWidgets()
2021-06-07 13:18:08 +03:00
Dharan 91d813e6f1 [ACA-4464] Add user/groups - should not be able to select the same user multiple times (#7066) 2021-06-03 14:41:02 +01:00
95d680b143 Update branch for JS-API PR#3558 (#7080)
* [ci:force][auto-commit] Update JS-API to 4.5.0-3557 for branch: update-js-api originated from JS-API PR: 3558

* lock fix remove snyk

* rebase

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

Co-authored-by: Travis CI User <travis@example.org>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2021-06-02 14:54:44 +01:00
Thomas Hunter 40bbeb13f0 [AAE-5208] Add pagination info to listPeople function in PeopleContentService (#7055)
* [AAE-5208] Add pagination info to listPeople function in PeopleContentService

* Change documentation
2021-06-02 11:49:47 +01:00
dependabot[bot] 4bf9433c82 Bump apollo-angular from 2.3.0 to 2.6.0 (#7079)
Bumps [apollo-angular](https://github.com/kamilkisiela/apollo-angular/tree/HEAD/packages/apollo-angular) from 2.3.0 to 2.6.0.
- [Release notes](https://github.com/kamilkisiela/apollo-angular/releases)
- [Changelog](https://github.com/kamilkisiela/apollo-angular/blob/v2.6.0/packages/apollo-angular/CHANGELOG.md)
- [Commits](https://github.com/kamilkisiela/apollo-angular/commits/v2.6.0/packages/apollo-angular)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 15:53:56 +01:00
dependabot[bot] 5eaac38b5a Bump concurrently from 6.0.0 to 6.2.0 (#7083)
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 6.0.0 to 6.2.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v6.0.0...v6.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 15:53:47 +01:00
dependabot[bot] 84d009a0fa Bump css-loader from 5.2.5 to 5.2.6 (#7075)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.5 to 5.2.6.
- [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/v5.2.5...v5.2.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 14:17:45 +01:00
dependabot[bot] c56902acd9 Bump ts-node from 9.0.0 to 10.0.0 (#7073)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 9.0.0 to 10.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.0.0...v10.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 13:10:01 +01:00
Dharan 2637654dba [AAE-5280] Better error handling for user task (#7070)
* [AAE-5280] [ADF] Better error handling for user task

* * fixed comments
2021-06-01 12:03:03 +01:00
dependabot[bot] 37efc8bcd0 Bump snyk from 1.550.0 to 1.618.0 (#7072)
Bumps [snyk](https://github.com/snyk/snyk) from 1.550.0 to 1.618.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.550.0...v1.618.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 11:46:57 +01:00
dependabot[bot] b6b4ae44bb Bump cspell from 5.3.8 to 5.5.1 (#7074)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.3.8 to 5.5.1.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.3.8...v5.5.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 11:46:48 +01:00
dependabot[bot] ff8c0fde0a Bump dns-packet from 1.3.1 to 1.3.4 (#7069)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 10:11:26 +01:00
siva kumar 2a9b406491 [AAE-4974] FE - Remove scroll bar from empty "Upload from your device" list (#7049) 2021-06-01 09:46:33 +01:00
Dharan 1a0f2f5bcc [ADF-5148] ContentService.hasPermissions() should check inhertied permission (#7059)
* [ADF-5148] ContentService.hasPermissions() should check inherited permission

* * fixed permission method
2021-06-01 09:45:59 +01:00
Denys Vuika e94b2f99bd [ADF-5406] SCSS and HTML template path fixes (#7063)
* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
2021-06-01 09:21:00 +01:00
Eugenio Romano 9e0000a307 disable w3c due getValue problem (#7067)
* [ci:force]disable w3c due getValue problem

* unify get Input value

* [ci:force]fix

* [ci:force] remove

* [ci:force]remove all getAttribute

* fix lint

* fix lint

* fix

* fix

* fix

* fix

* different fix try

* rewrite wait for for value

* fix lint

* remove e2e already covered by unit

* fix lint

* fix
2021-05-28 18:08:49 +01:00
Urse Daniel 200cfb8dba fixed overflow issues (#7060) 2021-05-25 17:14:57 +01:00
Eugenio Romano 0fcb15c9c5 Remove e2e already covered by unit test (#7058)
* remove e2e not possible to automate

* remove e2e already covered by unit test

* Update login-component.e2e.ts
2021-05-25 17:14:17 +01:00
dependabot[bot] a45c596045 Bump browserslist from 4.14.0 to 4.16.6 (#7061)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.0...4.16.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 15:34:32 +01:00
Cristina Jalba 12c3fec51a e2e: Improve cloud custom filters
* Improve cloud custom filters
2021-05-25 16:30:54 +03:00
Thomas Hunter bbbdcbdaa5 [AAE-5145] Add enum for content node selector actions (#7039)
* [AAE-5145] Add enum for content node selector actions

* [AAE-5145] Fix lint and unit tests

* Order imports back to original order

* Rename to NodeAction
2021-05-25 13:02:42 +01:00
dependabot[bot] 73ccb3e92c Bump css-loader from 5.2.4 to 5.2.5 (#7053)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.4 to 5.2.5.
- [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/v5.2.4...v5.2.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 13:01:35 +01:00
Dharan 4b3a7f41f0 [ADF-5231] The protected flag for properties should not be editable (#7056) 2021-05-25 13:01:22 +01:00
Vito 65cbd570fb [MNT-22418] - disabling action for physical records (#7057) 2021-05-25 09:15:57 +01:00
Dharan 4c1e462364 [ACA-4454] The create library button should get disabled after being clicked once (#7046) 2021-05-24 09:22:25 +01:00
Sushmitha V a5c8586184 [DW-1608] Added username tag in the ID of the dropdown in deploy application admin access (#7045) 2021-05-24 10:56:06 +05:30
arditdomi bd96dfddde [ADF-5387] - Fix dropdown tests, remove call to external API (#7044)
* [ADF-5387] - Fix dropdown tests, remove call to external API

* Update simpleapp

* Re-include test

* Fix comment

* Fix lint errors
2021-05-21 22:01:02 +02:00
Cilibiu Bogdan 272e2d67e3 outline current page thumbnail (#7042) 2021-05-21 11:43:02 +01:00
Eugenio Romano 5478c88683 Update activiti-alfresco.service.ts (#7041) 2021-05-21 11:42:50 +01:00
Eugenio Romano ac6f616246 Fix some build scripts (#7048)
Make publish run on API
2021-05-20 17:14:42 +01:00
Cristina Jalba a5e85b44f8 [ACA-4458]Add expand cloud custom filter method
* [ACA-4458]Add expand cloud custom filter method

* Fix comment

* Rename method

* Fix comment

* Fix comment
2021-05-20 18:56:08 +03:00
Eugenio Romanoandarditdomi 6e0ad4ce43 4.4.0 (#7030)
* 4.4.0

* Update README.md

* Update upgrade43-44.md

* Update readme

* lock update

Co-authored-by: arditdomi <32884230+arditdomi@users.noreply.github.com>
2021-05-20 09:50:30 +01:00
Vito c533b4ec35 [ACA-4445] - disabled edit aspect button on content card for ACS version below 7 (#7043) 2021-05-19 17:18:57 +01:00
Cilibiu Bogdan f03d133899 prevent children events from bubbling up (#7040) 2021-05-18 14:04:10 +01:00
Gloria Camino 2335143546 LOC-300 Second commit of updated UI files in 16 languages (#7036) 2021-05-17 16:44:16 +01:00
Eugenio Romano 5e3bc08594 Form fix style (#7038) 2021-05-17 16:44:08 +01:00
Dharan 3339a0ddd9 [ACA-4421] [Edit Aspects] Apply button should be disabled by default (#7035) 2021-05-17 15:50:34 +01:00
Sushmitha V 6aac131b0a [ADF-5397] Resolved - selection count should show at the end (#7037) 2021-05-17 15:25:56 +01:00
Nanna Setämaa f7ec24d1bb [AAE-4009] Fix horizontal scroll issue for pdf-viewer (#7023)
* [AAE-4009] Fix horizontal scroll issue for pdf-viewer

* [AAE-4009] Rewrite method with single exit
2021-05-17 11:35:26 +01:00
Sushmitha V f3ada4ef85 [ACA-4409] Resolved - More button is displayed on Destination Picker … (#7018)
* [ACA-4409] Resolved - More button is displayed on Destination Picker on a folder even if its files are not displayed

* [ACA-4409] Updated param names

* [ACA-4409] Refactored the changes

* Removed fit and fdescribe

* Resolved lint error
2021-05-14 17:17:41 +01:00
Sushmitha V 68db27bc91 [ACA-4422] Resolved - Edit Aspects Dialog should close when pressing ESC (#7022)
* [ACA-4422] Resolved - Edit Aspects Dialog should close when pressing ESC

* [ACA-4422] Fixed unit test failure

* [ACA-4422] Resolved unit test errors
2021-05-14 16:32:23 +01:00
Urse Daniel afd3a7c93d [ACA-4423] VIEWER - when closing the upload dialog the filename changes to "Unknown" (#7024)
* fix blob type instead of image

* set new crop

* improve test

* removed onchanges watcher
2021-05-14 15:22:06 +01:00
Vito 2b9535e90c Fixing header style as now it's not aligned anymore (#7028) 2021-05-14 14:52:36 +01:00
Eugenio Romano 77e1a08b23 [ADF-5379] change notification history service storage variable (#7026)
* change notification history service storage variable

* fix mark as read
2021-05-14 14:52:28 +01:00
Dharan 65e3a21c25 [ACA-2864] Site Managers are not able to disable inherit permissions … (#7021)
* [ACA-2864] Site Managers are not able to disable inherit permissions in DW/ACA

* * added test cases

* * fixed lints

* * [force ci] remove mispell
2021-05-14 18:42:57 +05:30
Silviu Popa 81042f1951 [ACA-3700] - fix suspened date start date (#7020)
* fix suspened date start date

* remove unnecesarry parameters
2021-05-14 15:47:35 +03:00
Urse Daniel 11b66338d0 center the container always based on the width&height of the image (#7027) 2021-05-14 15:43:33 +03:00
Denys Vuika 251b64a8f3 update docs on the extension value replace (#7029) 2021-05-14 12:03:48 +01:00
Alfresco Build UserandTravis CI User 9f33fb81d7 [ci:force][auto-commit] Update JS-API to 4.4.0-3493 for branch: update-js-api originated from JS-API PR: 3494 (#7019)
Co-authored-by: Travis CI User <travis@example.org>
2021-05-12 18:04:19 +01:00
Silviu PopaandEugenio Romano dfc636441c [ACA-4325] - disable upload button on upload new file version begin (#7017)
* [ACA-4325] - disable upload button on upload version begin

* Update upload-base.spec.ts

* disable upload button only on version upload component

* PR changes

* change to started

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-05-12 17:17:41 +01:00
Thomas Hunter c96b6ea36f [AAE-5124] Show counter only when attaching files (#7011)
* [AAE-5124] Show counter only when attaching files

* Reset package-lock.json

* Add another unit test

* Fix unit test
2021-05-12 16:42:49 +01:00
Cilibiu Bogdan 3a558d701a as dependency (#7015) 2021-05-11 20:11:57 +01:00
Dharan e603486b00 [AAE-5139] User name style and Discovery service initialization fix (#7010)
* [AAE-5139] User name style fix and Discovery serice fixed

* * fixed unit test

* * fixed test and us latest js-api events

* * tests fixed

* * update js api

* * fixed test and lint
2021-05-12 00:10:21 +05:30
Maurizio Vitale 453198c1e8 Attemp number 2 (#7016) 2021-05-11 16:57:32 +01:00
Gloria Camino e74705d66d LOC-300 Updated UI files in 16 languages (#7014) 2021-05-11 15:28:59 +01:00
siva kumar 7882e0377e [AAE-5128] [APA] Drag and Drop template is broken on Upload from your device tab (#7013) 2021-05-11 15:23:34 +01:00
Eugenio Romano 24d256b2b1 fix login docker 2021-05-11 13:22:28 +01:00
Maurizio Vitale 8dde72dbb8 Use the cloud key (#7005) 2021-05-10 22:41:34 +01:00
Thomas Hunter f1f512018c [ACS-1525] Only run scan environment on cron (#6966)
* [ACS-1525] Only run scan environment on cron

* [ACS-1525] Remove environment scan

* [ACS-1525] Add example of use of the command in README

* Add exit 0
2021-05-10 17:04:17 +02:00
Alfresco Build UserandTravis CI User 4c09d5fd35 [ci:force][auto-commit] Update JS-API to 4.4.0-3475 for branch: update-js-api originated from JS-API PR: 3476 (#6999)
Co-authored-by: Travis CI User <travis@example.org>
2021-05-10 13:16:39 +01:00
Eddie 3e4b2083ff Update content-type-dialog.component.md (#7008)
Just a missing 't' on 'content'
2021-05-10 13:15:36 +01:00
Dharan 87d87a4ce1 [ACA-4407] unit test for data table custom header (#7004)
* [ACA-4407] unit test for data table custom header

* * fix icon size
2021-05-10 13:15:05 +01:00
Adina Parpalita c45808053d add missing event on image viewer (#7007) 2021-05-10 13:07:31 +01:00
Eugenio Romano d6a4f84161 generate documentation (#7006) 2021-05-10 10:47:48 +01:00
Eugenio Romano 2d510776ea [ci:force]audit npm fix (#6993) 2021-05-09 18:32:02 +01:00
davidcanonietoandEugenio Romano bd805cb34b [ADF-5390] [ADF-5391] Add multivalue cardview for Date, Datetime, Integers and Decimal properties. (#6980)
* [ADF-5390] Addd multivalue cardview for Date, Datetime, Integers and Decimal properties

* Fix unit test

* Fix linting

* Fix e2e tests

* fix e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2021-05-09 04:05:26 +01:00
Eugenio Romano 71cad4c287 [ci:force] auto update node version when media management actions are triggered (#6992) 2021-05-08 22:29:51 +01:00
Alfresco Build UserandTravis CI User e86d48b484 [ci:force][auto-commit] Update JS-API to 4.4.0-3449 for branch: update-js-api originated from JS-API PR: 3450 (#6991)
Co-authored-by: Travis CI User <travis@example.org>
2021-05-08 14:06:48 +01:00
dependabot[bot] f54a29191e Bump hosted-git-info from 2.8.8 to 2.8.9 in /lib/cli (#6989)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 14:03:03 +01:00
dependabot[bot] 5bf022d24a Bump ua-parser-js from 0.7.23 to 0.7.28 (#6988)
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.23 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.23...0.7.28)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 12:50:31 +01:00
dependabot[bot] 3dbf917a7a Bump underscore from 1.12.0 to 1.13.1 in /tools/doc (#6985)
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.12.0 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.12.0...1.13.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-08 08:30:39 +01:00
Dharan 5780b46acc [ACA-4361] Fix data column conflict (#6986)
* [ACA-4361] Fix data column conflict

* * revert html
2021-05-07 19:39:39 +02:00
dependabot[bot] 0b272b0de9 Bump lodash from 4.17.20 to 4.17.21 (#6981)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 17:22:20 +01:00
Alfresco Build UserandTravis CI User 1a1a78a5fb [ci:force][auto-commit] Update JS-API to 4.4.0-3443 for branch: update-js-api originated from JS-API PR: 3445 (#6982)
Co-authored-by: Travis CI User <travis@example.org>
2021-05-07 15:33:58 +01:00
Alfresco Build UserandTravis CI User 957bd4130d Update branch for JS-API PR#3405 (#6964)
* [auto-commit] Update JS-API to 4.4.0-3395 for branch: update-js-api originated from JS-API PR: 3405

* [auto-commit] Update JS-API to 4.4.0-3422 for branch: update-js-api originated from JS-API PR: 3423

Co-authored-by: Travis CI User <travis@example.org>
2021-05-07 08:42:20 +01:00
Pablo Martinez Garcia 12652b53b8 AAE-5122 Change mouse event to leave in tooltip card (#6978) 2021-05-06 21:36:20 +02:00
Urse DanielandDenys Vuika f5c29a5ec8 [ADF-5377] Viewer: Image Crop (#6977)
* changed dependency

* Update lib/core/viewer/components/img-viewer.component.ts

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

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2021-05-06 15:21:15 +01:00
Urse Daniel aa5cbea7f5 changed dependency (#6975) 2021-05-05 17:52:42 +01:00
davidcanonieto 550a223164 [ADF-5379] Add a way to disable WS notifications (#6924)
* [ADF-5379] Add a way to disable WS notifications

* Update app-notifications.service.ts

* Update task-filters-cloud.component.spec.ts

* Move flag to upper level in config.json

* Create new notification section in app.config.json

* Update implementation

* Improve naming
2021-05-05 14:14:44 +01:00
Dharan 884d646078 [ACA-4361] Review permission list (#6974)
* [ACA-4361] permission ux review

* * fixed comments and lint

* * remove space
2021-05-05 14:13:34 +01:00
dependabot[bot] d65797763e Bump mini-css-extract-plugin from 1.4.1 to 1.6.0 (#6971)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.4.1 to 1.6.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/v1.4.1...v1.6.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 17:39:29 +01:00
Vito d369265e66 [AAE-4973] - fixed start process button enabling when default process… (#6968)
* [AAE-4973] - fixed start process button enabling when default process is set

* [AAE-4973] - added constants
2021-05-04 17:13:38 +01:00
dependabot[bot] a29594090f Bump stylelint from 13.10.0 to 13.13.1 (#6973)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.10.0 to 13.13.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/13.10.0...13.13.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 15:46:01 +01:00
siva kumar b77e03764e [ACA-4389] [APS1] Convert some of process services extension E2E steps to unit-tests (#6959)
* [ACA-4389] [APS1] make sure to move/convert some of E2E steps to unit-tests

* * Added fail test description

* * Fixed comments

* * Fixed lint errors
2021-05-04 15:11:29 +01:00
Eugenio Romano 184b20364b fix swsdp in breadcrumb (#6967) 2021-05-04 15:11:00 +01:00
dependabot[bot] 143266a656 Bump @apollo/client from 3.3.13 to 3.3.16 (#6970)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.3.13 to 3.3.16.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.3.13...v3.3.16)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 15:10:25 +01:00
dependabot[bot] fb4875fdcf Bump css-loader from 5.2.1 to 5.2.4 (#6969)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.1 to 5.2.4.
- [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/v5.2.1...v5.2.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 13:58:06 +01:00
e8ffe8e35e [ADF-5378] ADF Previewer: Image Rotate + Save (#6958)
* updates including cropperJS

* update on rotation + unit tests

* small fix

* hide toolbar on save

* remove unused & duplicate method

* added readonly & prettier code

* include readOnly mode to hide/show media management actions

* updated dependencies

* fix emit spy

* ADF-5378: Fix failing e2es

* Fix comments for unit tests

* ADF-5378: Removed obsolete buttons from e2e

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-05-01 15:54:37 +01:00
Dharan 8b5e45f4eb [ADF-5366] initialize discovery and version compatibility service for oauth based session (#6864)
* [ADF-5366] initialize discovery and version compatibility service for oauth based session

* better error message

* * fix spaces

* * revert the search service

* * fix build

* * check properties after type update

* * check properties after type update

* * check properties after type update

* * fix infinite loop

* * fix test without title

* * wait for options

* * wait for session

* Update metadata-content-type.e2e.ts

* Update metadata-content-type.e2e.ts

* Update protractor.excludes.json

* Update protractor.excludes.json
2021-04-29 13:40:49 +01:00
Popovics András c0b5935b43 [ACS-1526] Fail on Draft and unapproved PRs (#6963)
* [ACS-1526] Fail on Draft and unapproved PRs

* [ci:force]
2021-04-28 20:38:10 +02:00
Stephen Tweeddale c149f16adf Remove additional double slashes from documentation. (#6960)
For the sake of the ABN markdown parser.
2021-04-28 17:20:16 +01:00
Thomas Hunter 9cbae9abd8 [AAE-5021] Add listPeople method to PeopleContentService (#6947)
* [AAE-5021] Add listPeople method to PeopleContentService

* lint

* Replace Person with EcmUserModel

* Update imports to @alfresco/adf-core

* Change to const + lint
2021-04-28 16:50:53 +01:00
Eugenio Romano 42c81e46bb fix e2e protractor (#6962) 2021-04-28 14:03:30 +01:00
Stephen Tweeddale dd5fc685b8 Abn content fixes (#6957)
* Remove double backslashes from markdown files.

Neither github nor the ABN understands them.

* Make a <br /> tag self-closing, for the purposes of the ABN
2021-04-27 16:56:17 +01:00
Eugenio Romano efe625ea33 Travis Ci only remove e2e on develop merge (#6953)
* Travis Ci only remove e2e on develop merge

* Update .travis.yml

* Update .travis.yml
2021-04-27 14:41:42 +01:00
Adina Parpalita ba1b337433 rename env variable (#6956)
* rename env variable LOG_LEVEL to E2E_LOG_LEVEL in order to be consistent with the rest of the apps

* revert part of the renaming
2021-04-27 14:41:32 +01:00
Eugenio Romano 4e94216d14 log demo shell not starting (#6954) 2021-04-27 17:01:49 +05:30
Vito 431f273b07 [ADF-5362] - enabiling properties refresh on ADW/ACA (#6952) 2021-04-27 16:45:48 +05:30
Eugenio Romano 672891e21b improve travis ci (#6951)
add deprecate build script
2021-04-27 09:26:13 +01:00
arditdomi 9c165b2307 Fix content unit tests executing twice (#6950)
* Run all unit test for cron jobs, fix content unit tests executing twice

* Revert execution of all unit tests on cron

* revert identation
2021-04-26 18:40:46 +01:00
Dharan 534c013754 [ACA-4361] should be able to change permission if search service is down (#6948)
* should be able to change permission if search service is down

* Update node-permission.service.ts

* Update node-permission.service.spec.ts

* Update node-permission.service.spec.ts
2021-04-26 17:44:11 +01:00
arditdomi 504c0b825a Run all e2e for cron jobs (#6949) 2021-04-26 14:54:19 +01:00
arditdomi 574db8d7cc [AAE-4985] - Make SSO Role Service accept a content admin role that is not part of the JWT token (#6942)
* Add ability to check if the user is an ACS_ADMIN - not part of JTW token

* Make get user api call only once

* Add unit tests

* Add documentation

* Fix comments

* Exclude flaky tests, dependent on another test

* Fix unit test

* Fix comments

* Update documentation
2021-04-26 14:27:22 +01:00
Iulia Burcă 585a1b6918 Improve checkFilesAreAttachedToWidget() method (#6943)
* Improve checkFilesAreAttachedToWidget() method

* Add types for the parameters

* exclude test
2021-04-26 12:19:37 +03:00
dependabot[bot] a13f2992ec Bump ssri from 6.0.1 to 6.0.2 in /lib/cli (#6944)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 11:54:15 +01:00
dependabot[bot] 3c9a8cc592 Bump snyk from 1.530.0 to 1.550.0 (#6936)
Bumps [snyk](https://github.com/snyk/snyk) from 1.530.0 to 1.550.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.530.0...v1.550.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-23 08:50:49 +01:00
Dharan 0635b7fd06 [ACA-4361] permission layout modified (#6937)
* * reusable data table column moved

* [ACA-4361] permission layout modified

* * build fixed

* fix build

* * import fixed

* * null safety operation

* * fixed comments

* * fix lint

* * wait for reload list

* * remove sleep

* * add sleep

* * fix comments

* * fix comments

* * floating promises fix

* * remove wait
2021-04-23 08:50:28 +01:00
Silviu Popa 59dc6cb1d1 [ACA-3700] - fix suspended data filter not preserving data (#6940)
* [ACA-3700] - fix suspended data filter not preserving data

* fix lint
2021-04-23 08:49:51 +01:00
Sushmitha V dd56588df8 [AAE-4863] Fixed the async and done warning due to new version of Karma (#6938)
* [AAE-4863] Fixed the async and done warning due to new version of Karma

* Fixed lint error
2021-04-22 11:05:13 +05:30
siva kumar bf70e471ce [AAE-4995] Expand ADF PeopleContentService to create new person (#6931)
* [AAE-4995] Expose create/list content users API in ADF PeopleContentService

* * Updated documentation

* * Removed listPeople api

* * Added unit tests and improved old tests

* * Updated doc with js-api doc link

* *Fixed lint errors

* * Fixed failing unit tests
2021-04-21 19:17:54 +05:30
Eugenio Romano cd349361d0 Update release-docker.sh 2021-04-21 14:08:43 +01:00
Eugenio Romano 7becdd64bc Update release-docker.sh 2021-04-21 13:19:29 +01:00
Eugenio Romano 8c01a541d4 Update build-libs.sh 2021-04-21 13:16:39 +01:00
Eugenio Romano a4bb83ae8c Update release-npm.sh 2021-04-21 10:34:25 +01:00
Eugenio Romano 1a3cf77986 [ADF-5225] smoke test (#6929)
* change smoke test suite

* less

* fix error message undefined

* Update protractor.conf.js
2021-04-21 09:53:22 +01:00
Silviu PopaandSilviu Constantin Popa e376d2f66a [ACA-3700] - add suspended date filter (#6886)
* [ACA-3700] - add suspended date filter

* fix process list filtering

Co-authored-by: Silviu Constantin Popa <silviucpopa@L3700101120.ness.com>
2021-04-20 15:48:45 +03:00
Pablo Martinez Garcia d37608111a AAE-4879 Deatach tooltip card when directive is destroyed (#6939) 2021-04-20 10:21:22 +02:00
Eugenio Romano aed2208205 Update check-cs-env.ts 2021-04-19 11:15:53 +01:00
Eugenio Romano 43633ce6c0 remove codecov 2021-04-16 11:18:56 +01:00
Vito 066a68497d [MNT-22207] - resetting query fragment when clicking Reset all button on search filters (#6928) 2021-04-16 09:39:40 +01:00
Pablo Martinez Garcia 684cdb88ea AAE-4879 Update tooltip card to receive custom HTML (#6930) 2021-04-16 09:39:19 +01:00
Vito e9bf84e13c [ADF-5370] - fixed style for container dimension (#6923) 2021-04-15 16:50:42 +01:00
Eugenio Romano 882a3bd6d8 Run develop only once a day (#6927) 2021-04-15 14:43:07 +01:00
Dharan d18418d033 Revert "move scroll overflow to parent (#6730)" (#6926)
This reverts commit 4653e10872.
2021-04-15 13:57:48 +01:00
Thomas Hunterandadomi 96c94988c1 [AAE-4428] Add selected file counter to attach file widget (#6881)
* [AAE-4428] Add selected file counter to attach file widget

* [AAE-4428] Add getSelectedCount method

* [AAE-4428] Add unit tests

* [AAE-4428] Changed so TranslationService injection is not necessary

* [AAE-4428] Added unit tests to check the element has been injected

* spacing

* [AAE-4428] Remove unnecessary check in unit test

* [AAE-4428] Add node counter directive

* [ci skip] Fix linting issues

* Remove changing the selection to the nabigated node

* Revert removing selection on folder loaded, add unit test

* Added documentation

Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-04-15 13:57:26 +01:00
Eugenio Romano 7b1d32b06b Update update-project.sh 2021-04-15 10:28:16 +01:00
Vito e4288cd1f9 [ADF-5362] - Content type properties should be showed when content type is changed. (#6922)
* [ADF-5362] - Content type properties showed when content type changed

* [ADF-5362] - Added some fix and some unit tests

* [ADF-5370] - fixed e2e

* [ADF-5370] - fixed e2e
2021-04-15 09:56:21 +01:00
Vito 257614bfc0 [ADF-5372] - fixed wrong result pipe (#6925)
* [ADF-5372] - fixed wrong result pipe

* [ADF-5372] - fixed missing radix on parseInt
2021-04-15 09:55:51 +01:00
Eugenio Romano 5a363670a0 Update update-project.sh 2021-04-13 16:24:24 +01:00
Denys Vuika 84ce202ad2 [AAE-4966] Extensible app config (#6914)
* merge app config from the extensions

* improved service injection in unit tests

* extra unit test

* fix content tests

* update code as per review

* fix lint

* fix lint

* update code and tests

* update schema
2021-04-13 14:16:29 +01:00
dependabot[bot] bd8242922b Bump jasmine-spec-reporter from 5.0.2 to 7.0.0 (#6918)
Bumps [jasmine-spec-reporter](https://github.com/bcaudan/jasmine-spec-reporter) from 5.0.2 to 7.0.0.
- [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/v5.0.2...v7.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 14:45:11 +01:00
dependabot[bot] c0e287899e Bump mini-css-extract-plugin from 1.3.9 to 1.4.1 (#6917)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.3.9 to 1.4.1.
- [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/v1.3.9...v1.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 14:44:55 +01:00
Vito 7d01a9315b [ADF-5362] - showing in the confirm dialog only the propery of the cu… (#6909)
* [ADF-5362] - showing in the confirm dialog only the propery of the custom type not the inherited ones

* fxed lint
2021-04-12 11:59:44 +01:00
loictrichaud be355cc6b4 add enableFractions in form values (#6915) 2021-04-12 11:58:51 +01:00
dependabot[bot] ec67b295af Bump snyk from 1.503.0 to 1.530.0 (#6920)
Bumps [snyk](https://github.com/snyk/snyk) from 1.503.0 to 1.530.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.503.0...v1.530.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 11:08:55 +01:00
dependabot[bot] f272c0cc27 Bump css-loader from 5.2.0 to 5.2.1 (#6919)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.0 to 5.2.1.
- [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/v5.2.0...v5.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 11:08:40 +01:00
arditdomi 291e224ad4 [AAE-4483] Add empty list drag and drop template in upload from local tab (#6916) 2021-04-12 10:31:52 +01:00
Eugenio Romano 3aea68b358 Update .travis.yml 2021-04-12 09:58:34 +01:00
Vito 4b13ab7ec4 [ADF-5363] - when aspects has no name we will show the id instead (#6906)
* [ADF-5363] - when aspects has no name we will show the id instead

* added PR review fix
2021-04-09 16:00:55 +01:00
Maurizio Vitale a1ae3ae8c8 docker command: Create 2 different actions publish and link (#6907)
* Create 2 different action publish and link

* use enum

* Use publish as default action

* Check if action is valid

* Add back compatibility
2021-04-09 16:27:27 +02:00
Alfresco Build UserandTravis CI User 833ca30440 Update branch for JS-API PR#3366 (#6910)
* [auto-commit] Update JS-API to 4.4.0-3366 for branch: update-js-api originated from JS-API PR: 3366

* [auto-commit] Update JS-API to 4.4.0-3368 for branch: update-js-api originated from JS-API PR: 3368

* [auto-commit] Update JS-API to 4.4.0-3369 for branch: update-js-api originated from JS-API PR: 3369

* [auto-commit] Update JS-API to 4.4.0-3371 for branch: update-js-api originated from JS-API PR: 3372

Co-authored-by: Travis CI User <travis@example.org>
2021-04-09 14:49:20 +01:00
Vito f9a7836a5a [ACA-4202] - forcing firefox to ignore cache when document version ha… (#6807)
* [ACA-4202] - forcing firefox to ignore cache when document version has changed

* fxed lint
2021-04-09 11:44:14 +01:00
Iulia Burcă 318ce0e346 [ACA-3188] Add methods for ADW+APS1 e2e (#6816)
* Add isRemoveFileOptionDisplayed method

* Add checkStartProcessFormIsDisplayed method

* delete unused class

* add setUserTaskName to e2e-displayValue-process

* delete unused class

* update isRemoveFileOptionDisplayed method

* Create separate PO for start-form component

* Export new PO

* tslint fix

* convert selectors to TestElement

* improve test-element isDisplayed method

* rename method

* Remove methods
2021-04-09 11:41:29 +01:00
Eugenio Romano 8ee091ac54 remove beta [skip-ci] 2021-04-09 11:16:05 +01:00
Eugenio Romano 59ce019345 Update .travis.yml 2021-04-09 11:14:14 +01:00
arditdomi e589071328 [AAE-4841] - Fix content node selector current selection is lost after uploading files (#6862)
* [AAE-4841] - Preserve current selection when preselecting the newly uploaded nodes

* add a method to handle unselection of a preselected row in document list and emit the change

* Fix-refactor unselection

* Fix document list reload

* Partial revert share datatable adapter

* try with overwriting datatable selection

* Sync datatable selection after every page load

* refactor selection/unselection in datatable by using a row id

* Fix/Add some unit tests

* Move preselection from adapter to doc list, fix single selection mode

* Add some unit tests

* Add document list unit tests
2021-04-08 14:55:06 +01:00
Alfresco Build UserandTravis CI User b08e2731bf [auto-commit] Update JS-API to 4.4.0-3364 for branch: update-js-api originated from JS-API PR: 3364 (#6908)
Co-authored-by: Travis CI User <travis@example.org>
2021-04-08 10:17:25 +01:00
Silviu PopaandSilviu Constantin Popa c120526a29 [ACA-3619] - change assignment placeholder (#6891)
* [ACA-3619] - change assignment placeholder

* RP changs

Co-authored-by: Silviu Constantin Popa <silviucpopa@L3700101120.ness.com>
2021-04-07 13:11:20 +01:00
Sushmitha V c60d456332 [AAE-4358][AAE-4359] [APA] Floating label added for the process and task filters (#6872) 2021-04-07 12:00:28 +01:00
Denys Vuika a244200258 Name column fixes (#6904) 2021-04-07 12:00:05 +01:00
Sushmitha V ec2436e73b [ACA-3957] Added correct Icons and left nav, process config layout and consistency in ADW/APA (#6879) 2021-04-07 10:22:06 +01:00
Maurizio Vitale 262ba0f6be Remove the pathProject as mandatory (#6905) 2021-04-07 10:18:03 +01:00
Alfresco Build UserandTravis CI User f874a43c9c Update branch for JS-API PR#3342 (#6876)
* [auto-commit] Update JS-API to 4.4.0-3342 for branch: update-js-api originated from JS-API PR: 3342

* [auto-commit] Update JS-API to 4.4.0-3345 for branch: update-js-api originated from JS-API PR: 3345

* [auto-commit] Update JS-API to 4.4.0-3346 for branch: update-js-api originated from JS-API PR: 3346

* [auto-commit] Update JS-API to 4.4.0-3350 for branch: update-js-api originated from JS-API PR: 3350

* [auto-commit] Update JS-API to 4.4.0-3353 for branch: update-js-api originated from JS-API PR: 3353

* [auto-commit] Update JS-API to 4.4.0-3357 for branch: update-js-api originated from JS-API PR: 3357

* [auto-commit] Update JS-API to 4.4.0-3359 for branch: update-js-api originated from JS-API PR: 3359

* [auto-commit] Update JS-API to 4.4.0-3362 for branch: update-js-api originated from JS-API PR: 3362

Co-authored-by: Travis CI User <travis@example.org>
2021-04-07 10:17:45 +01:00
Eugenio Romano 6eaf89afd0 fix button filter color in high contrast (#6889) 2021-04-06 15:05:35 +01:00
Cristina Jalba cdaad8ebf1 [ADF-5374]Fix flaky filters tests (#6894)
* Check Travis

* Try with sleep

* Add more sleep and logs

* no message

* Fix

* no message

* no message

* Remove sleep
2021-04-06 14:36:31 +01:00
Eugenio Romano a910998246 Update dependabot.yml (#6901) 2021-04-06 12:29:54 +01:00
Denys Vuika 145c05321d improved language picker (#6890)
* improved language picker

* fix import path

* update tests
2021-04-06 10:35:41 +01:00
Roxana Diacenco cf7ffba81a [ACA-3652] Add Assignment custom filter in task filter cloud component page (#6887)
* [ACA-3652] Add Assignment custom filter in task filter cloud component page

* Fix linting error

* Remove unused element locator
2021-04-06 09:40:44 +01:00
Cristina Jalba 39255ab02f [AAE-4924]Add method for createProcess with variables (#6897)
* Add methos for createProcess with variables

* Exclude test due to bug
2021-04-06 09:25:31 +01:00
Popovics András 37b10ecb8f Typo fix (#6885) 2021-03-31 09:47:44 +01:00
Iulia Burcă ed6cc26930 Update wrong methods (#6882)
* Update wrong methods

* tslint fix

* change back to StringUtil
2021-03-31 11:08:59 +03:00
Cristina Jalba e0efec5d85 [ACA-4324]MovAdd details about tasks in resource files
* MovAdd details about tasks in resource files

* Add correlationkey
2021-03-30 16:01:13 +03:00
dependabot[bot] b3b090cce5 Bump karma from 6.3.1 to 6.3.2 (#6884)
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.1 to 6.3.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/v6.3.1...v6.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 13:36:42 +01:00
Eugenio Romano c38993ee68 [skip ci] 2021-03-30 11:16:40 +01:00
dependabot[bot] a8fff74538 Bump y18n from 3.2.1 to 3.2.2 (#6883)
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 11:03:13 +01:00
Silviu PopaandSilviu Constantin Popa 4df448567b [ACA-4220] - preselect initator values by username (#6860)
* [ACA-4220] - preselect initator values by username

* add unit test

* fix demoshell process filters

* revert app.config

* fix build

Co-authored-by: Silviu Constantin Popa <silviucpopa@L3700101120.ness.com>
2021-03-30 12:59:54 +03:00
Denys Vuika 452fc3c278 remove fdescribe 2021-03-30 10:21:08 +01:00
dependabot[bot] e6e077736c Bump husky from 5.2.0 to 6.0.0 (#6877)
Bumps [husky](https://github.com/typicode/husky) from 5.2.0 to 6.0.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v5.2.0...v6.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 10:15:46 +01:00
Denys Vuika ff8e40d425 support replacing values on merge (#6875) 2021-03-30 10:15:32 +01:00
Iulia Burcă ab4ab2fbbe [AAE-4824] Add more widgets to resources and cloud related methods (#6865)
* Add more widgets to resources

* move methods for random process & task name to ADF

* Add some task related methods

* Add checkTaskListAndContentAreLoaded method
2021-03-30 09:31:59 +03:00
Eugenio Romano 1957a8e5ca Update protractor.conf.js 2021-03-29 17:00:17 +01:00
Eugenio Romano 1e22d43a02 Update protractor.conf.js 2021-03-29 16:43:14 +01:00
Eugenio Romano 29c9a6a2c0 smoke test suite (#6874) 2021-03-29 15:31:50 +01:00
davidcanonieto afb58470f5 [ACA-4370] Refresh filter counter on filter click (#6873) 2021-03-29 15:31:39 +01:00
Vito b4fa19358c [MNT-22298] - Added check for ACS version (#6845)
* [MNT-22298] - Added check for ACS version

* [MNT-22298] - fixed lint problem
2021-03-26 18:58:01 +00:00
siva kumar 6c295b9f1c [AAE-4817] Add reusble method in ProcessListCloudComponent page object (#6863) 2021-03-26 14:10:37 +00:00
Eugenio RomanoandTravis CI User 0e673a9d92 update js-api (#6847)
* update js-api

* previous version

* previous js-api

* older

* [auto-commit] Update JS-API to 4.4.0-3332 for branch: update-js-api originated from JS-API PR: 3332

* trace

* older

* [auto-commit] Update JS-API to 4.4.0-3286 for branch: update-js-api originated from JS-API PR: 3286

* [auto-commit] Update JS-API to 4.4.0-3284 for branch: update-js-api originated from JS-API PR: 3284

* [auto-commit] Update JS-API to 4.4.0-3335 for branch: update-js-api originated from JS-API PR: 3335

* [create docker image]

* polyfill

Co-authored-by: Travis CI User <travis@example.org>
2021-03-26 14:10:12 +00:00
Denys Vuika 23264b0068 migrate library directives from ACA (#6861) 2021-03-26 08:03:30 +00:00
siva kumar 7219ff38ac [AAE-4817] Testing - Add process/form ids in the CANDIDATEBASEAPP resources file (#6853) 2021-03-25 15:32:49 +00:00
Rubén Barroso b12c37ee9c [AAE-4017] Change label: attach file retrieve metadata (#6850)
* [AAE-4017] Change label attach file retrieve metadata

* [AAE-4017] Replace "autocomplete" for "autofill" in retrieve metadata label

* [AAE-4017] Capitalise label
2021-03-25 15:26:08 +00:00
dependabot[bot] 50887b2cc6 Bump karma from 5.2.3 to 6.3.1 (#6859)
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.3.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/v5.2.3...v6.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-25 15:21:07 +00:00
Gloria CaminoandSushmitha100796 9301947c63 [MNT-22236] UI strings fully updated in 16 languages (#6856)
* [ACA-4053] Changed the APP_VERSION value

* FIX for MNT-22236 - All updated UI files in 16 languages as per Sushmitha and Denys requests

Co-authored-by: Sushmitha100796 <sushmitha.v@muraai.com>
2021-03-25 15:15:36 +00:00
dependabot[bot] c5fc65bedc Bump css-loader from 5.1.0 to 5.2.0 (#6858)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.0 to 5.2.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/v5.1.0...v5.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-25 09:28:55 +00:00
dependabot[bot] 49f6d8b5da Bump @apollo/client from 3.3.12 to 3.3.13 (#6857)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.3.12 to 3.3.13.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.3.12...v3.3.13)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-25 09:28:48 +00:00
Thomas Hunter 61e14beba8 [AAE-4823] Add resources used in e2e tests in ADW 2021-03-25 11:22:15 +02:00
Cristina Jalba 09834a1a70 [ACA-4337]Move APW tests: claim/release standalone task, json widget
* Move APW tests: claim/release standalone task, json widget

* Modify the form id

* Fix lint

* Fix lint

* Change test rail id

* no message
2021-03-25 10:27:19 +02:00
Denys Vuika 6ec9833b36 [MNT-22236] update e2e to reflect permission i18n support (#6852)
* update e2e to reflect permission i18n support

* use latest js-api SitesApi

* remove use of deprecated sites api in e2e

* fix test

* fix test
2021-03-24 20:51:01 +00:00
siva kumar cd0587dcfd [AAE-4697] Restrict content node selector breadcrumb when destination folder path is wrong (#6738)
* [AAE-4697] Restrict content node selector breadcrumb when destination folder path is wrong

* * Added unit tests

* * Used try/catch block

* * Moved if logic from try black to a method
2021-03-24 11:49:35 +00:00
Eugenio Romano ab6354d39a Fix affect (#6846)
* fix affect

* one name
2021-03-23 17:12:55 +00:00
Denys Vuika b97aa7dfee [MNT-22236] Permission i18n support (#6843)
* localized role pipe

* update tests

* additional tests

* update module

* fix package lock

* update module settings

* try update code

* update import

* test fixes
2021-03-23 16:22:32 +00:00
swethamani c0a3f9d99d Modify Delete method (#6840) 2021-03-23 12:15:06 +01:00
arditdomiandMaurizio Vitale 2d257ea092 [ACA-4306] Testing - Add form widget ids in the SIMPLEAPP resources file (#6806)
* [ACA-4306] Testing - Add form widget ids in the SIMPLEAPP resources file

* downgrade nrwl workspace version

* Use the PR branch name and terminate

* Handle the error

* Revert downgrade nrwl workspace

* Remove the useless check on rebase and raise the exit 1

* Remove the script

* Use the HEAD and create a new variable for commit sha

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2021-03-22 17:44:55 +00:00
Petruta Bogdana Patrichi 4e94176536 Add widgets to inputform for SIMPLE_APP (#6838) 2021-03-22 15:38:43 +00:00
Eugenio Romano d35ba2eedb Validate config improvements (#6837)
* validate config

* fix

* fix
2021-03-22 14:02:05 +00:00
Denys Vuika 5c55c7ed13 api docs for the TestElement (#6834) 2021-03-22 11:13:41 +00:00
dependabot[bot] 4d656625ea Bump snyk from 1.495.0 to 1.503.0 (#6831)
Bumps [snyk](https://github.com/snyk/snyk) from 1.495.0 to 1.503.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.495.0...v1.503.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 10:46:31 +00:00
dependabot[bot] 40b75f8472 Bump husky from 5.1.2 to 5.2.0 (#6832)
Bumps [husky](https://github.com/typicode/husky) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v5.1.2...v5.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 10:46:21 +00:00
arditdomi 2640134401 Add getProcessFilters method in testing - filters util (#6382) 2021-03-22 10:44:49 +00:00
siva kumar 3d46976f83 [ACA-4307] Move Process task JSON mapping e2e process and task names to ADF resource file (#6778)
* [ACA-4307] Move Process task JSON mapping e2e process and task names to ADF resource file

* * Moved display widget methods to ADF testing pack
2021-03-22 09:30:38 +00:00
davidcanonieto a68c39a806 [ADF-5359] Improve response time for filter counters (#6800)
* [ADF-5359] Improve response time for filter counters

* Improve cache

* Update .travis.yml
2021-03-22 09:29:54 +00:00
Dharan 8f8819c395 [ADF-5318] E2E Content Change type (#6799)
* [ADF-5318] E2E Content Change type

* Update metadata-content-type.e2e.ts
2021-03-22 09:25:50 +00:00
Eugenio Romano 76de2c06f5 add some more info on the refresh token timeout (#6823) 2021-03-22 09:22:42 +00:00
dependabot[bot] 0a9e8b81d4 Bump @apollo/client from 3.3.10 to 3.3.12 (#6826)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.3.10 to 3.3.12.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.3.10...v3.3.12)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 14:56:25 +00:00
dependabot[bot] fd318e67f7 Bump cspell from 5.3.7 to 5.3.8 (#6827)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.3.7 to 5.3.8.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.3.7...v5.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 14:56:16 +00:00
Vito b0005c216b [ADF-5358] - fixed duplicated type on reopening viewer (#6815) 2021-03-18 09:28:59 +00:00
dependabot[bot] f90871da57 Bump ajv-cli from 3.2.1 to 4.2.0 (#6809)
Bumps [ajv-cli](https://github.com/ajv-validator/ajv-cli) from 3.2.1 to 4.2.0.
- [Release notes](https://github.com/ajv-validator/ajv-cli/releases)
- [Commits](https://github.com/ajv-validator/ajv-cli/commits/v4.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 09:28:37 +00:00
dependabot[bot] 4447cdd161 Bump snyk from 1.462.0 to 1.495.0 (#6822)
Bumps [snyk](https://github.com/snyk/snyk) from 1.462.0 to 1.495.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.462.0...v1.495.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-18 09:28:27 +00:00
Eugenio Romano e7c0eb4a94 Update .travis.yml 2021-03-17 16:33:41 +00:00
Eugenio Romano cd915b307b Remove demo shell test and make cloud a bit more stable (#6781)
* remove demo shell test and make cloud a bit more stable

* fix lint

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* try fix attach

* Update .travis.yml

* sleep...

* remove about e2e demo shell....

* fix

* lint fix

* configure

* refactor buuild

* names and remove demo shell build from libs

* fix new build approach

* fix

* fix

* .

* uncomment

* .

* .

* fix

* fix

* .

* fix

* lock update

* fix demo shell errors

* use replay subject

* fix some console log error

* suffix problem

* split process e2e

* not need to check everywhere the pagination e2e

* split content

* fix

* fix

* fix

* fix

* reorg

# Conflicts:
#	.travis.yml
2021-03-17 15:17:46 +00:00
Cristina Jalba 90aabe3541 [ACA-4340]Add method for createProcessInstanceAndClaimFirstTask
* Add method for createProcessInstanceAndClaimFirstTask

* Instantiate in constructor

* Change data to be public

* Fix lint
2021-03-12 15:17:03 +02:00
arditdomi 2ed632f9fc [ADF-5355] - Fix attach button visibility when using external source (#6784) 2021-03-12 09:03:42 +00:00
Eugenio Romano b2a531c814 fix multilingualform id 2021-03-11 13:01:53 +00:00
335aa4861e [ACA-4344] - increase debounce time on process filters (#6805)
* [ACA-4344] - increase debounce time on process filters

* Put back S3 for smartrunner cache

* Remove useless npm caching

Co-authored-by: Silviu Constantin Popa <silviucpopa@L3700101120.ness.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2021-03-10 23:06:45 +01:00
Maurizio Vitale c58366d08e Move the upstream to a lower level (#6804) 2021-03-10 18:52:18 +01:00
Silviu PopaandSilviu Constantin Popa 1d847f5635 [ACA-4346] - fix appVersion process filter (#6802)
Co-authored-by: Silviu Constantin Popa <silviucpopa@L3700101120.ness.com>
2021-03-09 20:22:50 +00:00
Maurizio Vitale 6974873288 Revert "[ADF-5354] Content node selector is not working properly for read-only folders (#6777)" (#6801)
This reverts commit e21b777a3c.
2021-03-09 20:13:07 +01:00
dependabot[bot] 2565081cee Bump cspell from 5.3.3 to 5.3.7 (#6790)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.3.3 to 5.3.7.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.3.3...v5.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 17:22:56 +01:00
5919916380 4.3.0 (#6793)
* 4.3.0

* update md

* Fix typos

* Remove ADF testing package from core package.json

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2021-03-09 15:10:37 +01:00
Iulia Burcă d0ca9e1a44 Update ADW+APS1 e2e-Application.zip (#6798) 2021-03-09 10:42:18 +02:00
arditdomi 1ca7ebfeb1 [ADF-5357] - Convert process name manual tests to unit tests (#6792)
* Convert process name manual tests to unit tests

* Add more checks for the name controller
2021-03-08 17:09:00 +00:00
Vito d6def4491d Revert "[MNT-22063] - fix form cloud layout (#6529)" (#6795)
This reverts commit b126c14a07.
2021-03-08 16:47:02 +00:00
Eugenio Romano 06095744eb Run only on production 2021-03-08 11:10:20 +00:00
Alfresco Build UserandTravis CI User f58d8bf834 [auto-commit] Update JS-API to 4.3.0-3278 for branch: update-js-api originated from JS-API PR: 3278 (#6787)
Co-authored-by: Travis CI User <travis@example.org>
2021-03-07 08:23:18 +00:00
Denys Vuika e7e8fe5cb0 [ACA-4198] fix appVersion init for multiple versions (#6785)
* fix appVersion init for multiple versions

* fix test
2021-03-06 14:42:41 +00:00
Cilibiu Bogdan e21b777a3c [ADF-5354] Content node selector is not working properly for read-only folders (#6777)
* disable button when no permission

* test

* breadcrumb fallback when selection is not valid

* test
2021-03-06 09:37:42 +00:00
davidcanonietoandVito Albano 994b4555af [ADF-5353] WS Token refresh (#6774)
* [ADF-5353] WS Toke refresh

* Push UnauthorisedErrorHandler

* Remove Unauthorized error handler

* Remove app.config switch

* Fix unit test test

* Update app.module.ts

* Update task-filters-cloud.component.ts

* Excluded unstable flaky test under review

Co-authored-by: Vito Albano <vito.albano@alfresco.com>
2021-03-06 09:22:57 +00:00
Maurizio Vitale c152df30ab [ACA-4322] Logout - Avoid the redirect in case SSO auth (#6780)
* Avoid the redirect in case of sso

* Move the code into the if
2021-03-05 09:46:21 +00:00
Denys Vuika a5eb5acf5d [AAE-4749] process filter notification fixes (#6773)
* process filter notification fixes

* exclude flaky e2e
2021-03-05 07:44:23 +00:00
Alfresco Build UserandTravis CI User df8a8fb61f Update branch for JS-API PR#3264 (#6775)
* [auto-commit] Update JS-API to 4.3.0-3264 for branch: update-js-api originated from JS-API PR: 3264

* [auto-commit] Update JS-API to 4.3.0-3273 for branch: update-js-api originated from JS-API PR: 3273

* [auto-commit] Update JS-API to 4.3.0-3274 for branch: update-js-api originated from JS-API PR: 3274

* [auto-commit] Update JS-API to 4.3.0-3275 for branch: update-js-api originated from JS-API PR: 3275

Co-authored-by: Travis CI User <travis@example.org>
2021-03-05 06:54:00 +00:00
Vito 76c7825f40 Check if the test will run (#6779) 2021-03-04 14:38:01 +01:00
Francesco CortiandEugenio Romano 909f6119b7 ADF 4.3 Release Note in draft. (#6761)
* ADF 4.3 Release Note in draft.

* Update RelNote430.md

* Update RelNote430.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-03-03 14:09:52 +00:00
Eugenio Romano c3452a4f62 Documentation build (#6762)
* move doc dependency in doctools

* add ignore link

* rebuild doc

* version index

* put it back some deps
2021-03-03 14:08:15 +00:00
Vito e05c80f04f [ADF-5308] - re enabling excluded test (#6771) 2021-03-03 13:15:01 +00:00
Alfresco Build UserandTravis CI User bf223b136a [auto-commit] Update JS-API to 4.3.0-3262 for branch: update-js-api originated from JS-API PR: 3262 (#6766)
Co-authored-by: Travis CI User <travis@example.org>
2021-03-03 13:12:53 +00:00
swethamani cb0e95420e [AAE-4713] Improve Message Events method (#6739) 2021-03-03 12:02:56 +00:00
Pablo Martinez Garcia e52124caa8 ATS-873 Fix css property (#6772) 2021-03-03 11:22:55 +00:00
Gloria Camino 099ba21cea LOC-285 Localised UI for ADF 4.3 in 16 languages plus amends to typo and 2 string changes requested by @Denys Vuika (#6765) 2021-03-03 10:18:57 +00:00
Thomas Hunter 6fafb004d4 Revert "[AAE-4637] Fix varying height of dialog when clicking on the Upload from your device tab (#6690)" (#6764)
This reverts commit e96617a676.
2021-03-03 10:00:33 +01:00
Vito 46edbafb25 [ACA-4202] - refreshing the preview when version has changed (#6763) 2021-03-02 17:21:45 +00:00
Alfresco Build UserandTravis CI User 5b75d84115 [auto-commit] Update JS-API to 4.3.0-3256 for branch: update-js-api originated from JS-API PR: 3256 (#6747)
Co-authored-by: Travis CI User <travis@example.org>
2021-03-02 12:33:01 +00:00
Petruta Bogdana Patrichi cb90dc21a8 [AAE-4547] Add getInputValue() in TestElement class (#6753)
* Add getInputValue() in TestElement class

* Resolve code review comments
2021-03-02 12:32:16 +00:00
dependabot[bot] ea18a2cdd9 Bump cspell from 5.3.1 to 5.3.3 (#6750)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.3.1 to 5.3.3.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.3.1...v5.3.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 15:47:30 +00:00
Alexandra Abrudan 9231f62672 re-include test C299187 (#6752) 2021-03-01 13:58:59 +01:00
Silviu Popa 03af7e5ffd [ADF-5348] - fix user info icons (#6744)
* [ADF-5342] - fix user info icons

* make user info unit tests trusty
2021-03-01 11:22:54 +00:00
dependabot[bot] 29316dad4f Bump husky from 4.3.8 to 5.1.2 (#6749)
Bumps [husky](https://github.com/typicode/husky) from 4.3.8 to 5.1.2.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.8...v5.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 11:19:46 +00:00
dependabot[bot] 4dd72356ea Bump snyk from 1.456.0 to 1.462.0 (#6748)
Bumps [snyk](https://github.com/snyk/snyk) from 1.456.0 to 1.462.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.456.0...v1.462.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:44:37 +00:00
Eugenio Romano 010373e9a1 Update dependabot.yml 2021-03-01 09:10:05 +00:00
davidcanonieto 97dc9b2840 [ADF-5349] WebSocket protocol based on BpmHost (#6745) 2021-03-01 09:14:28 +01:00
Thomas Hunter a47045ab18 [AAE-3543] Attach button enabled only when all files uploaded (#6731)
* [AAE-3543] Attach button enabled only when all files uploaded

* [AAE-3543] Add unit tests

* [AAE-3543] Corrected name of unit test

* [AAE-3543] Merged isQueueFinishedUploading() with isUploading()

* [AAE-3543] Added spacing to unit tests
2021-02-26 19:10:11 +00:00
Pablo Martinez Garcia e3029b12b7 [ATS-873] Fix Subtitles in audio files (#6742)
* ATS-873 Fix Subtitiles in audio files

* ATS-873 Fix unit tests
2021-02-26 17:58:44 +01:00
Vito efdc63bffd [ADF-5345] - fixed border for aspect dialog (#6746) 2021-02-26 16:26:34 +00:00
dependabot[bot] b426905619 Bump cspell from 5.1.3 to 5.3.1 (#6734)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.1.3 to 5.3.1.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.1.3...v5.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 15:14:59 +00:00
dependabot[bot] dd276590af Bump mini-css-extract-plugin from 0.11.2 to 1.3.9 (#6736)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.11.2 to 1.3.9.
- [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.11.2...v1.3.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 15:14:50 +00:00
Cilibiu Bogdan a72fe557b1 [ADF-5347] Viewer - Closing PDF before all pages are loaded causes errors (#6737)
* flatten promises

* Disable pre-fetching of PDF file data

* default options
2021-02-26 14:55:43 +00:00
davidcanonieto 717f928d1c [ACA-4299] Fix C593066 e2e test - task counter (#6741) 2021-02-26 14:44:20 +00:00
arditdomi 3455b7e01c [ACA-4304] - Remove userinfo name on small screens (only profile icon visible) (#6740) 2021-02-26 13:39:50 +00:00
dependabot[bot] 008b8dcd48 Bump css-loader from 4.3.0 to 5.1.0 (#6735)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 4.3.0 to 5.1.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/v4.3.0...v5.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 08:17:29 +00:00
davidcanonieto e96491fe25 [ACA-4299] Add e2e tests for task counters and notifications (#6726)
* [ACA-4299] Add ete tests for task counters and notifications

* Fix unit test

* Fix update for indirect counter changes
2021-02-26 08:57:27 +01:00
Vito f3c4680c2c [ADF-5344] - fixed counter for custom aspects (#6727) 2021-02-25 21:50:31 +00:00
dhrn c932cb0964 [REPO-5552] more filtering capabilities for aspect/type api (#6713)
* [REPO-5552] more filtering capabilities for aspect/type api

* * fix BC
2021-02-25 21:50:14 +00:00
arditdomi 42a5102e66 [ACA-4213] - Fix search datetime range in different timezones (#6732)
* Fix search datetime range in different timezones

* Add unit test checking the conversion from GMT to UTC
2021-02-25 15:41:05 +00:00
Cilibiu Bogdan 4653e10872 move scroll overflow to parent (#6730) 2021-02-25 13:05:42 +00:00
Maurizio Vitale 1b39828b46 Override the pr title in case already exists (#6725) 2021-02-24 14:20:07 +00:00
Maurizio Vitale 3fd2f22fed Remove useless properties (#6462) 2021-02-24 13:38:58 +00:00
Thomas Hunter e8173ebb34 [AAE-4710] Error-proof scan-env (#6724)
* [AAE-4710] Error-proof scan-env

* [AAE-4710] Use ts-lint disable
2021-02-24 10:01:53 +00:00
Eugenio Romano 819921deec Create Image from PR if request (#6705)
* [create docker image]
fix
fix e2e
[MNT-21636] Use URLTree for redirect (#6691)

* use URLTree for redirect

* use always urltree

* fix e2e

* fix

* fix

* Update release-docker.sh

* update js-api

* update lock
2021-02-23 21:52:26 +00:00
Denys Vuika 63969d65e7 [AAE-3992] Process Filter bug fixes and improvements (#6599)
* bug fixes

* bug fixes

* bug fixes

* cleanup tests

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* Revert "travis workaround"

This reverts commit b67efccfb0aab8c7f6b9235d01525487771b8123.

* Revert "travis workaround"

This reverts commit 448f4e6d1211771e914f35183860af6df3452c16.

* Revert "travis workaround"

This reverts commit 542fae649c0501a9150ccac2e5a2cd54ee39a690.

* Revert "travis workaround"

This reverts commit 12f58568fbb0f8d2defb4c21a3ab1683bc8aa312.

* Revert "travis workaround"

This reverts commit b0ffef3bee0f81faf6088be8b5c2b072ad2762e7.

* Revert "travis workaround"

This reverts commit c6d95a2ff3b38b543fea83d3fc53016ac657b3bb.

* service fixes

* remove junk tests

* code fixes

* reduce code complexity

* update e2e

* update e2e

* fix i18n

* e2e fixes

* bug fixes

* rebase and fix

* properly serialize query params

* rework process filters demo

* remove dead code

* code fixes

* code fixes

* e2e improvements

* fix bug and remove e2e testing a bug

* bug fixes for date ranges

* fix e2e

* fix unit test

* reusable code

* fix flaky e2e

* fix angular cli version

* remove useless e2e (already tested by unit tests)

* remove useless e2e (already tested by unit tests)

* demo shell fixes

* remove fit

* disable flaky test

* update code as per review suggestions

* fix after rebase

* fix after rebase
2021-02-23 16:58:31 +00:00
arditdomi 52930dec6d [AAE-4661] Fix not showing results when filtering by content model properties (#6723) 2021-02-23 16:02:57 +00:00
arditdomi c4030684b9 [ADF-5285] Re-include test (#6418)
* [ADF-5285] Re-include test

* Run e2e when protractor excluded json is changed
2021-02-23 14:58:28 +00:00
Silviu Popa d4b3e820bb [AAE-4624] - fix user initials for identity user with bpm (#6717) 2021-02-23 13:39:30 +00:00
arditdomi 20500bb151 [AAE-4203][AAE-4292] - Fix breadcrumb and folder navigation issues wh… (#6719)
* [AAE-4203][AAE-4292] - Fix breadcrumb and folder navigation issues when in search results

* Remove e2e workaround double clicking 2 times
2021-02-23 08:05:29 +00:00
arditdomi 4a54e8523b [AAE-4661] Fix search results are still displayed when search term ge… (#6707)
* [AAE-4661] Fix search results are still displayed when search term gets deleted

* Fix unit tests
2021-02-22 20:16:26 +00:00
dependabot[bot] 88e0d016e3 Bump typedoc from 0.20.14 to 0.20.27 (#6712)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.20.14 to 0.20.27.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.20.14...v0.20.27)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 15:47:06 +00:00
dependabot[bot] 5ef25933ae Bump concurrently from 5.3.0 to 6.0.0 (#6710)
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.3.0 to 6.0.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.3.0...v6.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 14:50:03 +00:00
Silviu Popa c45ea0fb0b [ACA-4208] - Fix date filter for range (#6684) 2021-02-22 14:43:48 +00:00
Maurizio Vitale fc275e82d0 Add the PR number to easly identify the version (#6715) 2021-02-22 13:46:05 +00:00
Maurizio Vitale 3f268bd5ff [AAE-4701] ADF check env - Fail if the env is not reachable (#6714)
* Fail if the env is not reachable

* Remove useless file
2021-02-22 13:11:55 +00:00
Popovics András f84ea5da72 [AAE-4608] Use smartrunner version 2 and add SuperCache (workspaces + S3 combo)! (#6704)
* [AAE-4608] Use smartrunner version 2

* Fix npm installing and do not depend on develop cache

* Add Travis workspaces the simplest way

* Add missing dependencies

* Remove unnecessary npm install on lint

* Fix travis indentation

* Fix e2e missing adf packages

* Trying to fix Travis

* Remove debug information

* Use Travis workspaces for smartrunner and built artefacts caching instead of S3

* Implement nuclear caching for node_modules

* Quiet snyk running, since the log length kills Travis

* Maybe with -q

* Quieting snyk

* Why displaying the added packages??????

* Fix S3 persister/retriever scripts

* Restore back parallel build and lint, to gain 10 minutes
2021-02-22 08:57:08 +00:00
f6308a7f31 Update branch for JS-API PR#3232 (#6706)
* [auto-commit] Update JS-API to 4.3.0-3226 for branch: update-js-api originated from JS-API PR: 3226

* [auto-commit] Update JS-API to 4.3.0-3229 for branch: update-js-api originated from JS-API PR: 3229

* [auto-commit] Update JS-API to 4.3.0-3232 for branch: update-js-api originated from JS-API PR: 3232

* [auto-commit] Update JS-API to 4.3.0-3234 for branch: update-js-api originated from JS-API PR: 3234

Co-authored-by: Travis CI User <travis@example.org>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-02-21 18:11:02 +00:00
Cilibiu Bogdan 588db58b5d [ADF-5339] ESCAPE should close opened dialog not the overlay viewer (#6696)
* don't close viewer if Escape was performed on opened dialog

* subscribe only in overlayMode

* tests

* lint

* move logic to method
2021-02-19 16:59:55 +00:00
Maurizio Vitale 75f011292e [ACA-3881] Able to start form with preselected ACS nodes (#6700)
* Move the node to ps before loading

* Add unit test on start process with preseleted nodes

* Fix unit test

* Wrap calls and improve if

* Add type
2021-02-19 13:25:03 +00:00
Thomas Hunter e96617a676 [AAE-4637] Fix varying height of dialog when clicking on the Upload from your device tab (#6690) 2021-02-19 10:53:39 +00:00
Eugenio Romano 4a381b46a5 [MNT-21636] Use URLTree for redirect (#6691)
* use URLTree for redirect

* use always urltree

* fix e2e

* fix
2021-02-18 17:42:57 +00:00
Cristina Jalba 81f9f482b2 Improve update-project script to update adf-cli and adf-testing packages (#6699) 2021-02-18 14:19:32 +00:00
davidcanonieto 0bdf726121 [ADF-5341] Add Apollo direct dependencies (#6697) 2021-02-18 14:08:10 +00:00
Vito 14ed0f688e Enabling default aspects for card component (#6698) 2021-02-18 14:07:41 +00:00
siva kumar c9a4ab4570 [AAE-4452] FE - [ADF] Fetch destination folder path from mapped variables (#6665)
* [AAE-4452] FE - [ADF] Fetch destination folder path from variables

* * Added unit test on the attach-file-cloud widget
* Created a mock object.
* Created destination and path type model objects

* * Moved destination path logic from form-field-model to upload-cloud widget component

* * Added unit test to the recent changes
* Improved unit tests

* * FIxed comments

* Added one more unit test
2021-02-18 10:53:13 +00:00
dependabot[bot] 8d37819bc3 Bump apollo-angular from 2.2.0 to 2.3.0 (#6694)
Bumps [apollo-angular](https://github.com/kamilkisiela/apollo-angular/tree/HEAD/packages/apollo-angular) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/kamilkisiela/apollo-angular/releases)
- [Changelog](https://github.com/kamilkisiela/apollo-angular/blob/master/packages/apollo-angular/CHANGELOG.md)
- [Commits](https://github.com/kamilkisiela/apollo-angular/commits/v2.3.0/packages/apollo-angular)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 09:37:25 +00:00
Vito 59a991dc66 Aspect List - added spinner and refresh (#6693)
* Adding spinner for loading aspects

* Added metadata update and test
2021-02-18 09:37:15 +00:00
dependabot[bot] f58550216c Bump snyk from 1.452.0 to 1.456.0 (#6695)
Bumps [snyk](https://github.com/snyk/snyk) from 1.452.0 to 1.456.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.452.0...v1.456.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 09:36:46 +00:00
VitoandVito Albano e62c752f1f [ADF-5305] - Added aspect list component (#6549)
* [ADF-5305] - Creation of aspect list and aspect list dialog components

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

* [ADF-5305] - added filtering for aspects

* [ADF-5305] - enabling tests

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

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

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

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

* [ADF-5305] - added documentation

* [ADF-5305] - fixed lint

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

* [ADF-5305] - Removed circle dependency

* [ADF-5305] - Simplified code

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

* [ADF-5305] - removed extra cspell word

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

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

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

* [ADF-5305] - removed unused changes

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

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

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

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

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

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2021-02-17 11:13:35 +00:00
Alfresco Build UserandTravis CI User f7f80bc013 [auto-commit] Update JS-API to 4.3.0-3224 for branch: update-js-api originated from JS-API PR: 3224 (#6689)
Co-authored-by: Travis CI User <travis@example.org>
2021-02-17 09:22:02 +00:00
Maurizio Vitale 66f4dbd5a5 Avoid to recall the method if no change detect is affected (#6688) 2021-02-16 17:29:15 +00:00
Denys Vuika 1a2e680866 configure dependabot excludes (#6685) 2021-02-16 15:32:17 +00:00
arditdomi 76ac996c48 [AAE-3326] Content node selector - sort files by createdAt desc by de… (#6674)
* [AAE-3326] Content node selector - sort files by createdAt desc by default

* Fix process custom filter cloud e2e
2021-02-16 15:16:06 +00:00
davidcanonieto cf0c95b3d1 [ACA-4259] Task filter counter notifications (#6607)
* [ACA-4259] Task Filter Counter Notifications

* Improve Apollo connection for multiple apps

* Improve Notification Cloud Service

* Rebase branch

* Rebase branch

* Add peer dependencies

* Rebase

* Remove apollo-angular-link-http

* Fix linting

* Rebase branch

* Fix package lock

* Push package lock
2021-02-16 14:27:38 +00:00
Alexandra Abrudan 7996f70b26 excluded C260241 (#6673) 2021-02-15 14:07:31 +00:00
Maurizio Vitale 3c5d5dc02d [ADF-5332] Login basic auth - Ability to override the successRoute from app.config.json (#6651)
* ability to override successRoute from app.config

* Add basic doc

* Reset the appconfig

* Rebase and handle login errors

* Remove the  default route /

* remove space
2021-02-12 16:03:10 +00:00
Alfresco Build UserandTravis CI User dc0dc5ef01 [auto-commit] Update JS-API to 4.3.0-3207 for branch: update-js-api originated from JS-API PR: 3207 (#6670)
Co-authored-by: Travis CI User <travis@example.org>
2021-02-12 12:42:23 +00:00
dependabot[bot] 11f8f6f727 Bump socket.io from 2.3.0 to 2.4.0 (#6672)
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.0/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 12:41:55 +00:00
Eugenio Romano c00682213b Update auth-guard-base.ts (#6671) 2021-02-12 12:41:24 +00:00
Thomas Hunter 43ed8d7924 [AAE-4429] Add readOnly breadcrumb to upload from device tab (#6664)
* [AAE-4429] Add readOnly breadcrumb to upload from device tab

* [AAE-4429] Added unit tests

* [AAE-4429] Moved unit tests

* [AAE-4429] Removed breadcrumb title
2021-02-12 11:20:06 +00:00
dependabot[bot] e1fee70cdc Bump snyk from 1.448.0 to 1.452.0 (#6667)
Bumps [snyk](https://github.com/snyk/snyk) from 1.448.0 to 1.452.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.448.0...v1.452.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 09:45:44 +00:00
dependabot[bot] 8af7dedb1d Bump @types/node from 14.14.25 to 14.14.26 (#6666)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.25 to 14.14.26.
- [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>
2021-02-12 09:45:33 +00:00
dependabot[bot] 8154578c19 Bump stylelint from 13.9.0 to 13.10.0 (#6669)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.9.0 to 13.10.0.
- [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.9.0...13.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 09:45:08 +00:00
dependabot[bot] ab4983e2d4 Bump @angular/cli from 11.1.3 to 11.2.0 (#6668)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 11.1.3 to 11.2.0.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v11.1.3...v11.2.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-12 09:44:57 +00:00
VitoandVito Albano eb9e555ba9 [ADF-5316] - Content Type (#6602)
* [ADF-5316] - added content type editing for nodes

* [ADF-5316] - added content type editing for nodes

* [ADF-5316] - fix unit test #1

* [ADF-5316] - fix unit test #2

* [ADF-5316] - fix unit test - final

* Removed failing lint word

* [ADF-5316] - added alfresco api real calls

* Build fixed

* [ADF-5316] - fixed second loop trigger on model

* [ADF-5316] - fixed unit tests

* [ADF-5316] - removed unused stream

* [ADF-5316] - fixed package.json

* [ADF-5316] - added missing unit tests

* [ADF-5316] - fixed wrong import

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2021-02-12 09:33:01 +00:00
Alexandra Abrudan 0b66ee8171 updated simpleapp with outcome visibility (#6663) 2021-02-11 11:46:48 +00:00
Eugenio Romano 205c324f4e [MNT-21636] Refactor redirect URL (#6658)
* refactor redirect URL

* fix unit test
2021-02-10 23:36:22 +00:00
Iulia Burcă ad70837b3d [ADF-5313] Merge both form-fields POs in one because are identical (#6543)
* Merge form-fields similar classes

* change methods where getWidget is used

* revert changes from checkWidgetIsHidden method

* Remove wrong async
2021-02-10 16:47:54 +00:00
dependabot[bot] 3d982fccd7 Bump ini from 1.3.5 to 1.3.7 (#6657)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 16:47:23 +00:00
dependabot[bot] de66870dbf Bump @nrwl/workspace from 11.1.2 to 11.2.11 (#6655)
Bumps [@nrwl/workspace](https://github.com/nrwl/nx) from 11.1.2 to 11.2.11.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/compare/11.1.2...11.2.11)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 13:52:29 +00:00
dependabot[bot] 42dacf4857 Bump typescript from 3.9.7 to 3.9.8 (#6654)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 3.9.8.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v3.9.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 13:52:20 +00:00
siva kumar 5148094ec3 [ACA-4266] Improve governance plugin check logs (#6656) 2021-02-10 11:02:57 +00:00
dependabot[bot] cce4c8f3cf Bump snyk from 1.446.0 to 1.448.0 (#6652)
Bumps [snyk](https://github.com/snyk/snyk) from 1.446.0 to 1.448.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.446.0...v1.448.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 16:03:15 +00:00
Eugenio Romano 4313535ee3 Update children script (#6650)
* Update children script version 2

* save exact
2021-02-09 12:36:00 +00:00
Thomas Hunter 0ba2c7dc45 [AAE-4569] Added readOnly property to breadcrumb components (#6636)
* [AAE-4569] Added readOnly property to breadcrumb components

* [AAE-4569] Add method for testing if an anchor element should be used

* [AAE-4569] Add missing return type

* [AAE-4569] Add unit test
2021-02-09 11:57:42 +00:00
Eugenio Romano 2071596fe6 [ADF-5331] - Alpha ADF/JS-API update has been successfully created. (#6639)
* remove unused script
refactor the alpha build to use the JS-API in the branch all the time

* use alpha build number

* rewire maxretry

* Delete check-js-api-version.js
2021-02-08 16:00:44 +00:00
davidcanonietoandEugenio Romano 94ec7d06a7 [AAE-4529] Refactor Notification History Component (#6620)
* [AAE-4529] Refactor Notification History Component

* Improve code

* Add maxNotifications

* More changes

* Add documentation

* Rebase branch

* Fix build

* Update notification-history.component.md

* Fix e2e tests

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-02-08 15:12:53 +00:00
Cristina Jalba 7c1efe48c4 Update simpleapp to use candidate group on attach-local-file-on-task process definition (#6644) 2021-02-08 11:27:04 +00:00
Alfresco Build UserandTravis CI User b8b9c56969 Update branch for JS-API PR#3205 (#6638)
* [auto-commit] Update JS-API to 4.3.0-3205 for branch: update-js-api originated from JS-API PR: 3205

* [auto-commit] Update JS-API to 4.3.0-3207 for branch: update-js-api originated from JS-API PR: 3207

Co-authored-by: Travis CI User <travis@example.org>
2021-02-08 11:10:07 +00:00
dependabot[bot] 397effa393 Bump stylelint from 13.8.0 to 13.9.0 (#6641)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.8.0 to 13.9.0.
- [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.8.0...13.9.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 11:09:21 +00:00
Francesco Corti 0a263dff2b Tutorial on creating ADF based applications. (#6600) 2021-02-08 09:49:25 +00:00
Pablo Martinez Garcia 5d8d5f56f3 [ATS-854] Add media tracks to player from webvtt rendition (#6626)
* ATS-854 Add media tracks to player from webvtt rendition

* ATS-854 Fix condition

* ATS-854 Fix lint

* ATS-854 Move logic to media player

* ATS-854 Fix angular.json

* ATS-854 Fix error
2021-02-08 09:49:09 +00:00
dependabot[bot] e0462b126a Bump snyk from 1.445.0 to 1.446.0 (#6643)
Bumps [snyk](https://github.com/snyk/snyk) from 1.445.0 to 1.446.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.445.0...v1.446.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 09:47:15 +00:00
dependabot[bot] d62c7a844e Bump ejs from 3.1.5 to 3.1.6 (#6642)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.5...v3.1.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 09:47:04 +00:00
Cristina Jalba 60c1ea9fe6 [ACA-4265]Refactor attachFileFromLocal method
* Refactor attachFileFromLocal method
2021-02-07 11:18:10 +02:00
Eugenio Romano f4976a1949 [ADF-4329][ASD-5330] plus Improve e2e (#6580)
Improve e2e
Fix SSO user avatar 
Fix Priority for APS1
2021-02-05 15:18:30 +00:00
Petruta Bogdana Patrichi e4990f4b0c [AAE-4547] Add new process definition to simpleapp (#6627) 2021-02-05 10:54:42 +00:00
Cristina Jalba 104d0a20c2 Update simpleapp and candidatebaseapp: destinationFolderPath and add attach file widgets (#6629)
* Update simpleapp -> destinationFolderPath and add attach file widgets

* Update candidatebaseapp
2021-02-05 10:01:01 +00:00
dependabot[bot] 77d26f5bea Bump snyk from 1.437.4 to 1.445.0 (#6633)
Bumps [snyk](https://github.com/snyk/snyk) from 1.437.4 to 1.445.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.437.4...v1.445.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-05 09:58:53 +00:00
dependabot[bot] dfdc98fe39 Bump @types/node from 14.14.8 to 14.14.25 (#6634)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.8 to 14.14.25.
- [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>
2021-02-05 09:58:41 +00:00
dependabot[bot] cfa2595f5c Bump @angular/cli from 10.2.0 to 11.1.3 (#6635)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.2.0 to 11.1.3.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.2.0...v11.1.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-05 09:58:26 +00:00
siva kumarandCristina Jalba 301df3dcb8 [AAE-4504] FE - [ADF] Fetch destination Folder Path from a static path (#6557)
* [AAE4504] FE - [ADF] Fetch destination Folder Path from a static path

* * Added condition to check destination folder path

* * Added typescript way to check

* Fix attach file from local e2e

* * Added unit tests to the recent changes

* * Fixed comments

Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
2021-02-05 09:45:04 +00:00
Silviu Popa 3946fc7464 [ADF-5328] - fix error on replacing priority values (#6630) 2021-02-04 17:26:12 +00:00
arditdomi 37a3f25123 [AAE-4430] Upload from local tab visibility with info icon error message (#6592)
* [AAE-4430] Upload from local tab visibility with info icon error message

* Fix restore deleted site e2e
2021-02-04 17:44:33 +01:00
arditdomi d362153e37 [AAE-4427] Embed upload progress dialog inside the upload from your d… (#6575)
* [AAE-4427] Embed upload progress dialog inside the upload from your device tab in attach file widget

* Fix failing unit tesT

* Add unit tests

* Removed not needed condition

* Make upload from your device tab same size as Repository tab

* Revert renaming causing breaking change

* simplify if conditions

* Update js-api version

* Use typescript ?. operator

* Add unit test for non existing datatable entries
2021-02-04 08:39:54 +00:00
Thomas Hunter a13367876b [AAE-4553] Improve error logs in scan-env (#6608) 2021-02-03 10:15:27 +00:00
Petruta Bogdana Patrichi a73aac7f6c [AAE-4547] Add ne process and form to simpleapp (#6616)
* Add formWithSingleInput form and outputVariablesMappin process to resources.ts
2021-02-03 10:11:33 +00:00
Eugenio Romano bf66684662 Update lint.sh (#6614) 2021-02-02 07:45:30 +00:00
Petruta Bogdana Patrichi 5600ef1718 [AAE-4546] Update simpleapp (#6601)
* Add new process - output-variables-mapping
* Add new form - form-with-single-input
* Add new DT - dt-input-output-vars
2021-01-29 20:01:58 +00:00
Maurizio Vitale 0804ff1539 Check if the order matters (#6593) 2021-01-28 17:11:23 +00:00
Maurizio Vitale cfe1eabc2d improve the init by failing in case the app are not running (#6591) 2021-01-28 13:59:39 +00:00
Maurizio Vitale a5e41e8492 handle the logout route based on app config (#6587) 2021-01-28 13:09:37 +00:00
Denys Vuika 3010cfb310 "Empty content" centering fixes (#6586)
* fix empty-content vertical centering

* fix empty-content vertical centering
2021-01-28 13:08:54 +00:00
davidcanonieto 22da6c2c57 [ACA-4258] Add Task Filter Counters (#6556)
* [ACA-4258] Add Task Filter Counters

* Fix unit test
2021-01-26 18:15:30 +00:00
Eugenio Romano 5258a34a5d fix viewer page loading method (#6577) 2021-01-26 17:58:54 +00:00
arditdomi 099bec6f1d [ACA-4262] Content node selector - show 2 tabs only in cloud attach file widget (#6578) 2021-01-26 15:57:17 +00:00
Thomas Hunter 06b041fbf5 [AAE-4384] Add blank page component (#6567) 2021-01-26 15:29:26 +00:00
Francesco CortiandFrancesco Corti 4b99691466 Getting started tutorial on ADF. (#6545)
Co-authored-by: Francesco Corti <fcorti@Francescos-MBP.lan>
2021-01-26 12:38:42 +00:00
dependabot[bot] ac27b0c9df Bump husky from 4.3.0 to 4.3.8 (#6570)
Bumps [husky](https://github.com/typicode/husky) from 4.3.0 to 4.3.8.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.0...v4.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26 12:20:03 +00:00
dependabot[bot] 13957b9acd Bump typedoc from 0.20.14 to 0.20.18 (#6571)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.20.14 to 0.20.18.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.20.14...v0.20.18)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26 11:26:47 +00:00
Pablo Martinez Garcia dcbe91a758 AAE-4521 Remove process UI from test projects (#6576) 2021-01-26 10:15:07 +00:00
dependabot[bot] ad7bad504c Bump stylelint from 13.8.0 to 13.9.0 (#6569)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.8.0 to 13.9.0.
- [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.8.0...13.9.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-26 09:26:53 +00:00
Maurizio Vitale 419fc166c4 Do redirect before implicit button (#6574)
* Do redirect before implicit

* Add unit to implicit and silent

* Keep the value as it was before
2021-01-25 17:06:35 +00:00
Iulia Burcă 27f549d0ff [ACA-3455] [ACA-4250] Create methods needed for candidate tasks (#6544)
* Add task-actions util class

* Add methods for candidate task

* Move methods from form-fields.page to form-fields.ts

* Create task-form PO

* Improve selector

* export new PO

* update selectors and e2e App

* Add negative methods

- this will speed up the running time of the test
2021-01-25 15:38:29 +02:00
Eugenio Romano 8f0633b133 [MNT-21636] Fix redirect URL for viewer (#6564)
* fix redirect URL for viewer

* fix unit
fix login SSO show when user is logged in

* update js-api

* remove protractor change
2021-01-22 17:17:14 +00:00
Silviu Popa b126c14a07 [MNT-22063] - fix form cloud layout (#6529) 2021-01-22 16:59:39 +00:00
Maurizio Vitale b3e88356d3 Revert "[AAE-4384] Add blank page component (#6559)" (#6566)
This reverts commit b11ef04e73.
2021-01-22 15:23:56 +00:00
Thomas Hunter b11ef04e73 [AAE-4384] Add blank page component (#6559) 2021-01-22 11:57:35 +00:00
siva kumar cf1bb700ae [ACA-4229] [ADW-AGS] Move Governance plugin check script to ADF CLI (#6523)
* [ACA-4229] [ADW-AGS] Move Governance plugin check script to ADF CLI

* * Added description
2021-01-22 09:28:18 +00:00
Maurizio Vitale 5712b50d62 [ADF-5324] - Expose a new adf-cli command to initialise acs-env (#6551)
* Expose a new adf-cli command to initialize acs-env

* Use latest js api

* consume the latest js-api

* Use the previous commander version
2021-01-21 14:22:24 +00:00
dependabot[bot] 4e28d5344c Bump typedoc from 0.20.14 to 0.20.16 (#6548)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.20.14 to 0.20.16.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.20.14...v0.20.16)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 11:01:21 +00:00
dependabot[bot] 28679df511 Bump commander from 6.2.1 to 7.0.0 (#6541)
Bumps [commander](https://github.com/tj/commander.js) from 6.2.1 to 7.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/v6.2.1...v7.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 17:51:08 +00:00
Thomas Hunter 169b4c248a [ACA-4252] Update authentication to SSO (#6546)
* [ACA-4252] Update authentication to SSO

* Empty commit to retrigger push
2021-01-19 16:58:45 +00:00
Silviu Popa 65f4bf8a80 [MNT-22051] - Fix form field mapping when value is zero (#6517)
* [MNT-22051] - Fix form field mapping when value is zero

* PR changes

* add validation for null
2021-01-19 15:09:44 +01:00
arditdomi 58f78bca52 [AAE-4426] Add upload from local tab in attach file widget (#6540)
* [AAE-4426] Add upload from local tab in attach file widget

* Align e2e with the new behaviour when uploading a file
2021-01-19 14:08:51 +00:00
Silviu Popa 98705109e1 [MNT-22051] - Fix form field mapping when value is zero (#6517)
* [MNT-22051] - Fix form field mapping when value is zero

* PR changes

* add validation for null
2021-01-19 13:57:20 +00:00
Petruta Bogdana Patrichi 885792ba01 [ACA-4223] Add process definition name filter (#6542)
* Add new method in process-list-cloud-component.page.ts
2021-01-18 15:54:38 +00:00
Maurizio Vitale 31254a73eb Add await in the cli init aps env 2021-01-18 15:40:07 +00:00
Thomas Hunter 8eec3c4c29 [ACA-4247] Improve login error logs in scan-env command in adf-cli (#6539)
* [ACA-4247] Improve login error logs in scan-env command in adf-cli

* [ACA-4247] Changed console.logs and requires to satisfy pre-commit checks
2021-01-18 11:20:43 +00:00
Maurizio Vitale 8dd43ef4af adf-cli init aps env - Upload the APS default app (#6538)
* use only 1 js api

* skip tslint

* Remove the acs content to be moved in a different init script

* Remove useless variable

* Remove useless import
2021-01-18 10:40:35 +00:00
1744 changed files with 82395 additions and 30576 deletions
+11 -1
View File
@@ -3,6 +3,16 @@ updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 5
target-branch: develop
ignore:
- dependency-name: "@alfresco/*"
- dependency-name: "@angular/*"
- dependency-name: "@angular-devkit/*"
- dependency-name: "@ngrx/*"
- dependency-name: "@nrwl/*"
- dependency-name: "pdfjs-dist"
- dependency-name: "@types/*"
- dependency-name: "typescript"
+1
View File
@@ -27,3 +27,4 @@ out-tsc
!/.protractor-smartrunner/
/reports/
e2e-result-*
licenses.txt
+358 -61
View File
@@ -1,3 +1,6 @@
import:
- source: Alfresco/alfresco-build-tools:.travis.docker_hub_login.yml@v1.1.1
git:
depth: 3
quiet: true
@@ -9,17 +12,31 @@ node_js:
- '12.18.4'
before_install: . ./scripts/ci/job_hooks/before_install.sh
install:
echo "no install"
install: ./scripts/ci/job_hooks/install.sh
env:
global:
# REPOSITORY
- REPO_OWNER="Alfresco"
- REPO_NAME="alfresco-ng2-components"
- S3_DBP_PATH="s3://alfresco-travis-builds/adf"
- DEMO_SHELL_DIR="./dist/demo-shell"
- BUILT_LIBS_DIR="./lib/dist"
- NODE_MODULES_DIR="./node_modules"
- SMART_RUNNER_DIRECTORY=".protractor-smartrunner"
#E2E VARIABLES
- SAVE_SCREENSHOT=true
- REDIRECT_URI=/
- REDIRECT_URI_LOGOUT=/logout/
- BROWSER_RUN=true
- MAXINSTANCES=3
- MAXINSTANCES=2
- PROXY_HOST_ADF=$E2E_HOST
- HOST_SSO=$HOST_SSO
- USERNAME_ADF=$E2E_USERNAME
- PASSWORD_ADF=$E2E_PASSWORD
- IDENTITY_ADMIN_EMAIL=$E2E_ADMIN_EMAIL_IDENTITY
- IDENTITY_ADMIN_PASSWORD=$E2E_ADMIN_PASSWORD_IDENTITY
- URL_HOST_ADF="http://localhost:4200"
branches:
only:
@@ -30,20 +47,24 @@ branches:
- /.*beta.*/
stages:
- name: Lint & Build Dist & Release
- name: Prerequisite
- name: Setup
- name: "Build lib"
if: tag IS blank
- name: Check bundle
- name: "Check bundle"
if: type = push AND tag IS blank
- name: Trigger ADF child build
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
- name: "Trigger Alpha ADF child build"
if: branch = develop AND (type = cron || type = api)
- name: "Build Demo shell"
if: tag IS blank
- name: "Unit test Lib"
if: type = pull_request || (type = cron || type = api)
- name: "e2e Test"
if: type = pull_request || (type = cron || type = api)
- name: "Release tag"
if: branch = master
- name: "Deprecate develop builds"
if: branch = master
addons:
chrome: stable
@@ -54,94 +75,370 @@ services:
jobs:
include:
# Big Bang ===================
- stage: Prerequisite
name: "Before anything unnece$$ary happens..."
if: type == pull_request
language: python
python: 3.8
install: echo "no install here"
script: ./scripts/ci/jobs/dbpci-build-guard-check $TRAVIS_PULL_REQUEST || exit 1
# Setup ======================
- stage: Setup
name: "Node modules cache preparation"
script: echo "Only here for setting up the shared node_modules"
workspaces:
create:
name: node_modules_cache
paths:
- "$NODE_MODULES_DIR"
use: node_modules_cache
# Run Only for any PR
- stage: Lint & Build Dist & Release
name: Build
- stage: "Build lib"
name: "Lib::Build"
script:
- ./scripts/travis/build/build.sh
- ./scripts/travis/release/release-npm.sh
- ./scripts/travis/release/release-docker.sh
- ./scripts/travis/build/build-libs.sh || travis_terminate 1
- ./scripts/travis/release/release-npm.sh || travis_terminate 1
workspaces:
create:
name: built_libs_cache
paths:
- "$BUILT_LIBS_DIR"
- "$NODE_MODULES_DIR"
use: node_modules_cache
after_success:
- ./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: "Build lib"
name: "Lint"
script: ./scripts/lint.sh
workspaces:
use: node_modules_cache
- stage: Lint & Build Dist & Release
name: Lint
- stage: "Build Demo shell"
name: "Demo Shell :Build && dockerize"
script:
- ./scripts/lint.sh
# Build Demo shell for production docker"
- NODE_OPTIONS=--max_old_space_size=8192 nx build demoshell --prod
- ./scripts/travis/release/release-docker.sh
workspaces:
create:
name: built_demo_shell_cache
paths:
- "$DEMO_SHELL_DIR"
use:
- built_libs_cache
- stage: Unit test
name: Unit test content
- stage: "Unit test Lib"
name: "content::unit"
script: ./scripts/travis/unit-test/content.sh
- stage: Unit test
name: Unit test core extension demo
workspaces:
use: built_libs_cache
- stage: "Unit test Lib"
name: "core-extension::unit"
script: ./scripts/travis/unit-test/core-extension.sh
- stage: Unit test
name: Unit test process insights
workspaces:
use: built_libs_cache
- stage: "Unit test Lib"
name: "process-insights::unit"
script: ./scripts/travis/unit-test/process.sh
- stage: Unit test
name: Unit test process-cloud
workspaces:
use: built_libs_cache
- stage: "Unit test Lib"
name: "process-cloud::unit"
script: ./scripts/travis/unit-test/process-cloud.sh
workspaces:
use: built_libs_cache
- stage: "Trigger Alpha ADF child build"
name: "Trigger Alpha ADF child build"
script: ./scripts/travis/update/update-project.sh -p $TRAVIS_BUILD_NUMBER -t $GITHUB_TOKEN -v alpha
workspaces:
use: built_libs_cache
- stage: Update Children Projects
script: ./scripts/travis/update/update-children.sh
- stage: Release tag
- stage: "Release tag"
script: ./scripts/travis/release/git-tag.sh
- stage: e2e Test
name: core
- stage: "Deprecate develop builds"
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/travis/release/deprecate-develop-build.sh -v ${ADF_VERSION}
- stage: "e2e Test"
name: "Core"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/core-e2e.sh
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="core"
- PROVIDER='ALL'
- AUTH_TYPE='OAUTH'
- stage: e2e Test
name: content
- stage: "e2e Test"
name: "Content: Components"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/content-services-e2e.sh
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="content-services/components"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: e2e Test
name: search
- stage: "e2e Test"
name: "Content: Directives"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/search-e2e.sh
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="content-services/directives"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: e2e Test
name: process
- stage: "e2e Test"
name: "Content: Document List"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="content-services/document-list"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Content: Metadata"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="content-services/metadata"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Content: Upload and Versioning"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="content-services/upload"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Search"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="search"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Process: Form"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/process-services-e2e.sh
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services/form"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: e2e Test
name: process Cloud
- stage: "e2e Test"
name: "Process: Process"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services/process"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process: Tasks"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services/tasks"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process: Widgets"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services/widgets"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process Cloud : Form"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/process-services-cloud-e2e.sh
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services-cloud/form-field"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process Cloud : People"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services-cloud/people"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process Cloud : Process"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services-cloud/process"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process Cloud : Start Task"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services-cloud/start-task"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process Cloud : Tasks List"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
after_script: ./scripts/ci/job_hooks/after_e2e.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
env:
- FOLDER="process-services-cloud/task-list"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- 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
- ./scripts/travis/build/npm-check-bundles.sh -v ${ADF_VERSION}
workspaces:
use: built_libs_cache
notifications:
slack:
@@ -156,6 +453,6 @@ notifications:
- "Message: %{message}"
cache:
npm: false
directories:
- node_modules
- tmp
-3
View File
@@ -9,9 +9,6 @@
[![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)
<p>
<a href='https://codecov.io/gh/Alfresco/alfresco-ng2-components'>
<img src='http://img.shields.io/codecov/c/github/Alfresco/alfresco-ng2-components/master.svg?maxAge=2592000' alt='Coverage Status' />
</a>
<a href='https://github.com/Alfresco/alfresco-ng2-components/blob/master/LICENSE'>
<img src='https://img.shields.io/hexpm/l/plug.svg' alt='license' />
</a>
+92 -14
View File
@@ -19,6 +19,8 @@
"superagent",
"event-emitter",
"brace-expansion",
"zen-observable",
"subscriptions-transport-ws",
"d",
"chart.js"
],
@@ -28,7 +30,9 @@
"tsConfig": "tsconfig.dev.json",
"polyfills": "demo-shell/src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": ["lib"]
"includePaths": [
"lib"
]
},
"assets": [
"demo-shell/src/assets",
@@ -119,7 +123,8 @@
"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-dev.scss"
"demo-shell/src/custom-style-dev.scss",
"node_modules/cropperjs/dist/cropper.min.css"
],
"scripts": [
"node_modules/pdfjs-dist/build/pdf.js",
@@ -160,6 +165,16 @@
"maximumWarning": "6kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": true,
"buildOptimizer": true,
"verbose": false,
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
@@ -296,8 +311,14 @@
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["tsconfig.dev.json"],
"exclude": ["**/node_modules/**/*", "package.json"]
"tsConfig": [
"tsconfig.dev.json"
],
"exclude": [
"**/node_modules/**/*",
"**/lib/**/*",
"package.json"
]
}
}
}
@@ -330,8 +351,13 @@
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["./e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**/*"]
"tsConfig": [
"./e2e/tsconfig.e2e.json"
],
"exclude": [
"**/lib/**/*",
"**/node_modules/**/*"
]
}
}
}
@@ -372,7 +398,14 @@
"lib/core/tsconfig.lib.json",
"lib/core/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"exclude": [
"**/lib/extensions/**/*",
"**/lib/content-services/**/*",
"**/lib/insights/**/*",
"**/lib/process-services-cloud/**/*",
"**/lib/process-services/**/*",
"**/node_modules/**"
]
}
}
}
@@ -413,7 +446,14 @@
"lib/content-services/tsconfig.lib.json",
"lib/content-services/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"exclude": [
"**/lib/extensions/**/*",
"**/lib/core/**/*",
"**/lib/insights/**/*",
"**/lib/process-services-cloud/**/*",
"**/lib/process-services/**/*",
"**/node_modules/**"
]
}
}
}
@@ -454,7 +494,14 @@
"lib/process-services/tsconfig.lib.json",
"lib/process-services/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"exclude": [
"**/lib/extensions/**/*",
"**/lib/core/**/*",
"**/lib/insights/**/*",
"**/lib/process-services-cloud/**/*",
"**/lib/content-services/**/*",
"**/node_modules/**"
]
}
}
}
@@ -495,7 +542,14 @@
"lib/process-services-cloud/tsconfig.lib.json",
"lib/process-services-cloud/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"exclude": [
"**/lib/extensions/**/*",
"**/lib/core/**/*",
"**/lib/insights/**/*",
"**/lib/process-services/**/*",
"**/lib/content-services/**/*",
"**/node_modules/**"
]
}
}
}
@@ -536,7 +590,14 @@
"lib/insights/tsconfig.lib.json",
"lib/insights/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"exclude": [
"**/lib/extensions/**/*",
"**/lib/core/**/*",
"**/lib/process-services-cloud/**/*",
"**/lib/process-services/**/*",
"**/lib/content-services/**/*",
"**/node_modules/**"
]
}
}
}
@@ -576,7 +637,14 @@
"lib/extensions/tsconfig.lib.json",
"lib/extensions/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"exclude": [
"**/lib/core/**/*",
"**/lib/content-services/**/*",
"**/lib/process-services/**/*",
"**/lib/process-services-cloud/**/*",
"**/lib/insights/**/*",
"**/node_modules/**"
]
}
}
}
@@ -606,7 +674,14 @@
"lib/testing/tsconfig.lib.json",
"lib/testing/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**"]
"exclude": [
"**/lib/core/**/*",
"**/lib/content-services/**/*",
"**/lib/process-services/**/*",
"**/lib/process-services-cloud/**/*",
"**/lib/insight/**/*",
"**/node_modules/**"
]
}
}
}
@@ -631,5 +706,8 @@
}
}
},
"defaultProject": "demoshell"
"defaultProject": "demoshell",
"cli": {
"analytics": "0ce5075f-0835-439a-bebe-7c41750179a6"
}
}
+3 -3
View File
@@ -59,7 +59,7 @@ This script is recommended for development environment and not suited for headle
```sh
npm run build
npm run start:dist
npm run start:prod
```
This command builds project in `production` mode.
@@ -68,8 +68,8 @@ You should need no additional files outside the `dist` folder.
## Development branch build
If you want to run the demo shell with the latest changes from the development branch, use the following command from the /script folder:
If you want to run the demo shell with the latest changes from the development branch, use the following command :
```sh
npm run start:dev
npm run start
```
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "4.2.0",
"version": "4.5.0",
"author": "Alfresco Software, Ltd.",
"repository": {
"type": "git",
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "حدد هذا لتعطيل خاصية الإدخال والتكوين باستخدام الخدمة",
"HEADER_DATA": "بيانات العنوان",
"TREE_VIEW": "طريقة عرض الشجرة",
"EXPAND_LIST": "قائمة العناصر القابلة للتوسيع",
"ICONS": "أيقونات",
"PEOPLE_GROUPS_CLOUD": "سحابة الأشخاص/المجموعة",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "إدارة الإصدارات",
"ASPECTS": "تحديث الجوانب",
"LOCK": "قفل",
"METADATA": "معلومات",
"DOWNLOAD": "تنزيل",
@@ -214,6 +216,12 @@
"STORE": "متجر",
"RESTORE": "استعادة"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "تم تعيين المهمة {{taskName}} إلى {{assignee}}",
"PROCESS_STARTED": "تم بدء عملية {{processName}}",
"TASK_UPDATED": "تم تحديث تفاصيل مهمة {{taskName}}",
"TASK_CREATED": "تم إنشاء المهمة {{TaskName}}"
},
"FORM-LOADING": {
"FORM_DATA": "بيانات النموذج",
"FORM_DATA_MESSAGE": "إدخال قيم لملء النموذج",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "الترجمة الأولى للعنوان المخصص",
"GROUP-TITLE2-TRANSLATION-KEY": "الترجمة الثانية للعنوان المخصص",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "عودة إلى الرئيسية"
},
"507": {
"TITLE": "قرص ACS ممتلئ",
"DESCRIPTION": "يتجاوز المحتوى حد سعة التخزين المكون للشبكة أو النظام",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "عودة إلى الرئيسية"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "معرّف مثيل المعالجة",
"ACTION_TYPE": "نوع الإجراء"
}
}
},
"DEFAULT_SEARCH": "افتراضي"
}
+18 -9
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Označením této možnosti zakážete vstupní vlastnost a ke konfiguraci použijete službu",
"HEADER_DATA": "Data záhlaví",
"TREE_VIEW": "Stromová struktura",
"EXPAND_LIST": "Rozšiřitený seznam položek",
"ICONS": "Ikony",
"PEOPLE_GROUPS_CLOUD": "Cloud osob/skupin",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Spravovat verze",
"ASPECTS": "Aktualizovat aspekty",
"LOCK": "Zamknout",
"METADATA": "Informace",
"DOWNLOAD": "Stáhnout",
@@ -214,6 +216,12 @@
"STORE": "Uložit",
"RESTORE": "Obnovit"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "Úkol {{taskName}} byl přiřazen uživateli {{assignee}}",
"PROCESS_STARTED": "Byl spuštěn proces {{processName}}",
"TASK_UPDATED": "Byly aktualizovány podrobnosti úkolu {{taskName}}",
"TASK_CREATED": "Úkol {{taskName}} byl vytvořen"
},
"FORM-LOADING": {
"FORM_DATA": "Data formuláře",
"FORM_DATA_MESSAGE": "Zadejte hodnoty do formuláře",
@@ -244,11 +252,11 @@
"CREATED_THIS_YEAR": "1.Vytvořeno tento rok",
"MIMETYPE": "2.Typ: HTML",
"XTRASMALL": "3.Velikost: extra malé",
"SMALL": "3.Velikost: malé",
"MEDIUM": "3.Velikost: střední",
"LARGE": "3.Velikost: velké",
"XTRALARGE": "3.Velikost: extra velké",
"XXTRALARGE": "3.Velikost: XX velké"
"SMALL": "4.Velikost: malé",
"MEDIUM": "5.Velikost: střední",
"LARGE": "6.Velikost: velké",
"XTRALARGE": "7.Velikost: extra velké",
"XXTRALARGE": "8.Velikost: XX velké"
}
},
"SOCIAL": {
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Vlastní překlad názvu 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Vlastní překlad názvu 2",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Zpět domů"
},
"507": {
"TITLE": "Disk ACS plný",
"DESCRIPTION": "Obsah přesahuje celkovou kvótu úložiště nastavenou pro síť nebo systém",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Zpět domů"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "ID instance procesu",
"ACTION_TYPE": "Typ akce"
}
}
},
"DEFAULT_SEARCH": "Výchozí"
}
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Vælg dette felt for at deaktivere inputegenskaben og konfigurere ved hjælp af tjenesten",
"HEADER_DATA": "Headerdata",
"TREE_VIEW": "Trævisning",
"EXPAND_LIST": "Udvidelig punktliste",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Person/gruppecloud",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Administrer versioner",
"ASPECTS": "Opdater aspekter",
"LOCK": "Lås",
"METADATA": "Oplysninger",
"DOWNLOAD": "Download",
@@ -214,6 +216,12 @@
"STORE": "Gem",
"RESTORE": "Gendan"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}} opgave er blevet tildelt til {{assignee}}",
"PROCESS_STARTED": "{{processName}} processen er startet",
"TASK_UPDATED": "{{taskName}} opgavedetaljer er blevet opdateret",
"TASK_CREATED": "Opgaven {{taskName}} blev oprettet"
},
"FORM-LOADING": {
"FORM_DATA": "Formulardata",
"FORM_DATA_MESSAGE": "Indtast værdier for at udfylde formularen",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Brugerdefineret titel oversættelse et",
"GROUP-TITLE2-TRANSLATION-KEY": "Brugerdefineret titel oversættelse to",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Tilbage til forsiden"
},
"507": {
"TITLE": "ACS-disken er fuld",
"DESCRIPTION": "Indholdet overskrider den generelle lagerkvotegrænse, der er konfigureret for netværket eller systemet",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Tilbage til forsiden"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Procesforekomst-id",
"ACTION_TYPE": "Handlingstype"
}
}
},
"DEFAULT_SEARCH": "Standard"
}
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Aktivieren Sie diese Option, um die Eingabeeigenschaft zu deaktivieren und die Nutzung des Services zu konfigurieren",
"HEADER_DATA": "Headerdaten",
"TREE_VIEW": "Strukturansicht",
"EXPAND_LIST": "Erweiterbare Elementliste",
"ICONS": "Symbole",
"PEOPLE_GROUPS_CLOUD": "Personen-/Gruppen-Cloud",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Versionen verwalten",
"ASPECTS": "Aspekte aktualisieren",
"LOCK": "Sperren",
"METADATA": "Info",
"DOWNLOAD": "Herunterladen",
@@ -214,6 +216,12 @@
"STORE": "Speichern",
"RESTORE": "Wiederherstellen"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "Aufgabe '{{taskName}}' wurde {{assignee}} zugewiesen",
"PROCESS_STARTED": "Prozess '{{processName}}' wurde gestartet",
"TASK_UPDATED": "Aufgabe '{{taskName}}' wurde aktualisiert",
"TASK_CREATED": "Die Aufgabe {{taskName}} wurde erstellt"
},
"FORM-LOADING": {
"FORM_DATA": "Formulardaten",
"FORM_DATA_MESSAGE": "Geben Sie Werte ein, um das Formular auszufüllen",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 2",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Zurück zur Startseite"
},
"507": {
"TITLE": "ACS-Datenträger voll",
"DESCRIPTION": "Inhalt übersteigt die für das Netzwerk oder System konfigurierte Gesamtspeicherbegrenzung",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Zurück zur Startseite"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Prozessinstanz-ID",
"ACTION_TYPE": "Aktionstyp"
}
}
},
"DEFAULT_SEARCH": "Standard"
}
+10 -1
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Check this to disable the input property and configure using the service",
"HEADER_DATA": "Header Data",
"TREE_VIEW": "Tree View",
"EXPAND_LIST": "Expandable item list",
"ICONS": "Icons",
"PEOPLE_GROUPS_CLOUD": "People/Group Cloud",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Manage versions",
"ASPECTS": "Update Aspects",
"LOCK": "Lock",
"METADATA": "Info",
"DOWNLOAD": "Download",
@@ -214,6 +216,12 @@
"STORE": "Store",
"RESTORE": "Restore"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}} task has been assigned to {{assignee}}",
"PROCESS_STARTED": "{{processName}} process has been started",
"TASK_UPDATED": "{{taskName}} task details have been updated",
"TASK_CREATED": "{{taskName}} task was created"
},
"FORM-LOADING": {
"FORM_DATA": "Form Data",
"FORM_DATA_MESSAGE": "Enter values to populate the form",
@@ -341,5 +349,6 @@
"PROCESS_ID": "Process Instance ID",
"ACTION_TYPE": "Action Type"
}
}
},
"DEFAULT_SEARCH": "Default"
}
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Marque esto para desactivar la propiedad de entrada y configurar el uso del servicio",
"HEADER_DATA": "Datos de encabezado",
"TREE_VIEW": "Vista de árbol",
"EXPAND_LIST": "Lista de elementos expandible",
"ICONS": "Iconos",
"PEOPLE_GROUPS_CLOUD": "Personas/Grupos en la nube",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Gestionar versiones",
"ASPECTS": "Actualizar aspectos",
"LOCK": "Bloquear",
"METADATA": "Información",
"DOWNLOAD": "Descargar",
@@ -214,6 +216,12 @@
"STORE": "Almacenar",
"RESTORE": "Restaurar"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "La tarea {{taskName}} ha sido asignada a {{assignee}}",
"PROCESS_STARTED": "Se ha iniciado el proceso {{processName}}",
"TASK_UPDATED": "Se actualizaron los detalles de la tarea {{taskName}}",
"TASK_CREATED": "Se ha creado la tarea {{taskName}}"
},
"FORM-LOADING": {
"FORM_DATA": "Datos del formulario",
"FORM_DATA_MESSAGE": "Introduzca valores para rellenar el formulario",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Traducción de título personalizado 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Traducción de título personalizado 2",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Volver al inicio"
},
"507": {
"TITLE": "Disco ACS lleno",
"DESCRIPTION": "El contenido supera el límite de la cuota de almacenamiento general configurado para la red o sistema.",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Volver al inicio"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "ID de instancia del proceso",
"ACTION_TYPE": "Tipo de acción"
}
}
},
"DEFAULT_SEARCH": "Predeterminado"
}
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Jos haluat poistaa käytöstä annetun ominaisuuden ja määrittää palvelun avulla, valitse tämä",
"HEADER_DATA": "Otsikkotiedot",
"TREE_VIEW": "Puunäkymä",
"EXPAND_LIST": "Laajennettava kohdelista",
"ICONS": "Kuvakkeet",
"PEOPLE_GROUPS_CLOUD": "Ihmispilvi/Ryhmäpilvi",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Hallitse versioita",
"ASPECTS": "Päivitä ominaisuusjoukot",
"LOCK": "Lukitse",
"METADATA": "Tiedot",
"DOWNLOAD": "Lataa",
@@ -214,6 +216,12 @@
"STORE": "Tallenna",
"RESTORE": "Palauta"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}} -tehtävä on määritetty käyttäjälle {{assignee}}",
"PROCESS_STARTED": "{{processName}} -prosessi on käynnistetty",
"TASK_UPDATED": "{{taskName}} -tehtävän tiedot on päivitetty",
"TASK_CREATED": "{{taskName}} -tehtävä luotiin"
},
"FORM-LOADING": {
"FORM_DATA": "Lomaketiedot",
"FORM_DATA_MESSAGE": "Anna lomakkeeseen lisättävät arvot",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Oma otsikkokäännös yksi",
"GROUP-TITLE2-TRANSLATION-KEY": "Oma otsikkokäännös kaksi",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Takaisin aloitussivulle"
},
"507": {
"TITLE": "ACS-levy täynnä",
"DESCRIPTION": "Sisältö ylittää verkolle tai järjestelmälle määritetyn tallennustilan kokonaisrajoituksen",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Takaisin aloitussivulle"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Prosessiesiintymätunnus",
"ACTION_TYPE": "Toiminnon tyyppi"
}
}
},
"DEFAULT_SEARCH": "Oletus"
}
+14 -5
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Cochez cette option pour désactiver la propriété d'entrée et configurer à partir du service",
"HEADER_DATA": "Données d'en-tête",
"TREE_VIEW": "Arborescence",
"EXPAND_LIST": "Liste déroulante",
"ICONS": "Icônes",
"PEOPLE_GROUPS_CLOUD": "Cloud des personnes/groupes",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Gérer les versions",
"ASPECTS": "Mettre à jour les aspects",
"LOCK": "Verrouiller",
"METADATA": "Informations",
"DOWNLOAD": "Télécharger",
@@ -214,6 +216,12 @@
"STORE": "Stocker",
"RESTORE": "Restaurer"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "La tâche {{taskName}} a été assignée à {{assignee}}",
"PROCESS_STARTED": "Le processus {{processName}} a été démarré",
"TASK_UPDATED": "Les détails de la tâche {{taskName}} ont été mis à jour",
"TASK_CREATED": "{{taskName}} tâche a été créée"
},
"FORM-LOADING": {
"FORM_DATA": "Données du formulaire",
"FORM_DATA_MESSAGE": "Entrez les valeurs pour remplir le formulaire",
@@ -261,7 +269,7 @@
"NODE_LIST": "Liste de balises par ID de nœud"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Hériter les droits d'accès",
"INHERIT_PERMISSION_BUTTON": "Hériter des droits d'accès",
"INHERITED_PERMISSIONS_BUTTON": "Droits d'accès hérités"
},
"TASK_LIST_DEMO": {
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Titre personnalisé traduction un",
"GROUP-TITLE2-TRANSLATION-KEY": "Titre personnalisé traduction deux",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Retour à l'accueil"
},
"507": {
"TITLE": "Disque ACS plein",
"DESCRIPTION": "Le contenu dépasse le quota maximum de stockage configuré pour le réseau ou système",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Retour à l'accueil"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "ID de l'instance de processus",
"ACTION_TYPE": "Type d'action"
}
}
},
"DEFAULT_SEARCH": "Par défaut"
}
+18 -9
View File
@@ -39,8 +39,8 @@
},
"title": "Benvenuto",
"VERSION": {
"NO_PERMISSION": "Non si dispone dei permessi per gestire versioni di questo contenuto",
"NO_PERMISSION_EVENT": "Non si dispone dei permessi ${event.permission} di ${event.action} ${event.type}",
"NO_PERMISSION": "Non si dispone dell'autorizzazione per gestire versioni di questo contenuto",
"NO_PERMISSION_EVENT": "Non si dispone dell'autorizzazione ${event.permission} per ${event.action} ${event.type}",
"CHOOSE_FILE": "Seleziona un file per visualizzarne le versioni",
"DIALOG": {
"CLOSE": "Chiudi",
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Selezionare per disattivare la proprietà di input ed eseguire la configurazione utilizzando il servizio",
"HEADER_DATA": "Dati intestazione",
"TREE_VIEW": "Vista struttura",
"EXPAND_LIST": "Elenco elementi espandibile",
"ICONS": "Icone",
"PEOPLE_GROUPS_CLOUD": "Cloud persone/gruppi",
"TASK_HEADER_CLOUD": {
@@ -166,10 +167,11 @@
},
"ACTIONS": {
"VERSIONS": "Gestione versioni",
"ASPECTS": "Aggiorna aspetti",
"LOCK": "Blocca",
"METADATA": "Informazioni",
"DOWNLOAD": "Scarica",
"PERMISSION": "Permesso",
"PERMISSION": "Autorizzazione",
"FOLDER": {
"COPY": "Copia",
"MOVE": "Sposta",
@@ -214,6 +216,12 @@
"STORE": "Memorizza",
"RESTORE": "Ripristina"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "Il compito {{taskName}} è stato assegnato a {{assignee}}",
"PROCESS_STARTED": "Il processo {{processName}} è stato avviato",
"TASK_UPDATED": "I dettagli del compito {{taskName}} sono stati aggiornati",
"TASK_CREATED": "Il compito {{taskName}} è stato creato"
},
"FORM-LOADING": {
"FORM_DATA": "Dati modulo",
"FORM_DATA_MESSAGE": "Inserire i dati per compilare il modulo",
@@ -261,8 +269,8 @@
"NODE_LIST": "Elenco tag per ID nodo"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Eredita permessi",
"INHERITED_PERMISSIONS_BUTTON": "Permesso ereditato"
"INHERIT_PERMISSION_BUTTON": "Eredita autorizzazione",
"INHERITED_PERMISSIONS_BUTTON": "Autorizzazione ereditata"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Custom Title Translation One",
"GROUP-TITLE2-TRANSLATION-KEY": "Custom Title Translation Two",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Torna alla home"
},
"507": {
"TITLE": "Dico ACS pieno",
"DESCRIPTION": "Il contenuto supera il limite di archiviazione complessivo configurato per la rete o il sistema",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Torna alla home"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "ID istanza di processo",
"ACTION_TYPE": "Tipo di azione"
}
}
},
"DEFAULT_SEARCH": "Predefinito"
}
+16 -7
View File
@@ -19,7 +19,7 @@
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "削除を許可する",
"SHOW_COMMENTS": "バージョンに関するコメントを表示",
"ALLOW_DOWNLOAD": "バージョンのダウンロードを許可",
"ALLOW_DOWNLOAD": "バージョンのダウンロードを許可する",
"READ_ONLY": "読取り専用",
"COMMENTS": "コメントを表示する",
"VERSION_COMPARISON": "バージョンの比較を表示"
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "入力プロパティを無効にし、サービスを使って設定する場合は、このチェックボックスをオンにします",
"HEADER_DATA": "ヘッダーの日付",
"TREE_VIEW": "ツリービュー",
"EXPAND_LIST": "拡張可能なアイテムリスト",
"ICONS": "アイコン",
"PEOPLE_GROUPS_CLOUD": "メンバー/グループのクラウド",
"TASK_HEADER_CLOUD": {
@@ -121,13 +122,13 @@
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "複数選択 (チェックボックスを使用)",
"THUMBNAILS": "サムネイルを有効にする",
"THUMBNAILS": "サムネイルを有効",
"ALLOW_DROP_FILES": "ファイルのドロップを許可",
"MULTIPLE_FILE_UPLOAD": "複数ファイルのアップロード",
"FOLDER_UPLOAD": "フォルダのアップロード",
"CUSTOM_FILTER": "カスタム拡張子フィルタ",
"MAX_SIZE": "最大サイズフィルタ",
"ENABLE_VERSIONING": "バージョン管理を有効にする",
"ENABLE_VERSIONING": "バージョン管理を有効",
"DESCRIPTION_UPLOAD": "アップロードを有効にします",
"ENABLE_INFINITE_SCROLL": "無限スクロールを有効にする",
"MULTISELECT_DESCRIPTION": "複数選択の切り替えを行うには、Cmd (Mac) キーまたは Ctrl (Windows) キーを押します",
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "バージョンの管理",
"ASPECTS": "アスペクトを更新",
"LOCK": "ロック",
"METADATA": "情報",
"DOWNLOAD": "ダウンロード",
@@ -214,6 +216,12 @@
"STORE": "保存",
"RESTORE": "復元"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}}タスクが{{assignee}}に割り当てられました",
"PROCESS_STARTED": "{{processName}}プロセスが開始しました",
"TASK_UPDATED": "{{taskName}}タスクの詳細が更新されました",
"TASK_CREATED": "{{taskName}}タスクが作成されました"
},
"FORM-LOADING": {
"FORM_DATA": "フォーム データ",
"FORM_DATA_MESSAGE": "フォームに入力する値を入力してください",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "カスタムのタイトル翻訳 1",
"GROUP-TITLE2-TRANSLATION-KEY": "カスタムのタイトル翻訳 2",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "ホームへ戻る"
},
"507": {
"TITLE": "ACS のディスクがいっぱいです",
"DESCRIPTION": "コンテンツのサイズが、ネットワークまたはシステムに設定されているストレージクォータの上限を超えています。",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "ホームへ戻る"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "プロセスインスタンス ID",
"ACTION_TYPE": "処理のタイプ"
}
}
},
"DEFAULT_SEARCH": "デフォルト"
}
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Velg dette for å deaktivere inndataegenskapen og konfigurere ved hjelp av tjenesten",
"HEADER_DATA": "Overskriftsdata",
"TREE_VIEW": "Trevisning",
"EXPAND_LIST": "Utvidbar elementliste",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Person-/gruppesky",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Administrer versjoner",
"ASPECTS": "Oppdater aspekter",
"LOCK": "Lås",
"METADATA": "Info",
"DOWNLOAD": "Last ned",
@@ -214,6 +216,12 @@
"STORE": "Lagre",
"RESTORE": "Gjenopprett"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}}-oppgaven er tilordnet til {{assignee}}",
"PROCESS_STARTED": "{{processName}}-prosessen er startet",
"TASK_UPDATED": "{{taskName}}-oppgavedetaljene er oppdatert",
"TASK_CREATED": "Oppgaven {{taskName}} ble opprettet"
},
"FORM-LOADING": {
"FORM_DATA": "Skjemadata",
"FORM_DATA_MESSAGE": "Skriv inn verdier for å fylle ut skjemaet",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Egendefinert tittel, oversettelse én",
"GROUP-TITLE2-TRANSLATION-KEY": "Egendefinert tittel, oversettelse to",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Tilbake til startsiden"
},
"507": {
"TITLE": "ACS-disk er full",
"DESCRIPTION": "Innhold overgår samlet lagringskvotegrense konfigurert for nettverket eller systemet",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Tilbake til startsiden"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Prosesstilfelle-ID",
"ACTION_TYPE": "Handlingstype"
}
}
},
"DEFAULT_SEARCH": "Standard"
}
+16 -7
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Schakel dit in om de invoereigenschap uit te schakelen en om te configureren via de service",
"HEADER_DATA": "Koptekstgegevens",
"TREE_VIEW": "Structuurweergave",
"EXPAND_LIST": "Uitvouwbare itemlijst",
"ICONS": "Pictogrammen",
"PEOPLE_GROUPS_CLOUD": "Personen-/groepencloud",
"TASK_HEADER_CLOUD": {
@@ -166,10 +167,11 @@
},
"ACTIONS": {
"VERSIONS": "Versies beheren",
"ASPECTS": "Aspecten bijwerken",
"LOCK": "Vergrendeling",
"METADATA": "Info",
"DOWNLOAD": "Downloaden",
"PERMISSION": "Machtiging",
"PERMISSION": "Rechten",
"FOLDER": {
"COPY": "Kopiëren",
"MOVE": "Verplaatsen",
@@ -214,6 +216,12 @@
"STORE": "Opslaan",
"RESTORE": "Herstellen"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}}-taak is toegewezen aan {{assignee}}",
"PROCESS_STARTED": "{{processName}}-proces is gestart",
"TASK_UPDATED": "{{taskName}}-taakdetails zijn bijgewerkt",
"TASK_CREATED": "Taak {{taskName}} is gemaakt"
},
"FORM-LOADING": {
"FORM_DATA": "Formuliergegevens",
"FORM_DATA_MESSAGE": "Voer waarden in om het formulier in te vullen",
@@ -261,8 +269,8 @@
"NODE_LIST": "Taglijst per node-id"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Machtiging overnemen",
"INHERITED_PERMISSIONS_BUTTON": "Machtiging overgenomen"
"INHERIT_PERMISSION_BUTTON": "Rechten overnemen",
"INHERITED_PERMISSIONS_BUTTON": "Rechten overgenomen"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Aangepaste titel vertaling één",
"GROUP-TITLE2-TRANSLATION-KEY": "Aangepaste titel vertaling twee",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Terug naar Home"
},
"507": {
"TITLE": "ACS-schijf vol",
"DESCRIPTION": "Content overschrijdt de totale opslaglimiet die is geconfigureerd voor het netwerk of systeem",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Terug naar Home"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Procesinstantie-id",
"ACTION_TYPE": "Actietype"
}
}
},
"DEFAULT_SEARCH": "Standaard"
}
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Kliknij ten element, aby wyłączyć właściwość wejściową i skonfigurować korzystając z usługi",
"HEADER_DATA": "Dane nagłówka",
"TREE_VIEW": "Widok drzewa",
"EXPAND_LIST": "Lista pozycji rozszerzalnych",
"ICONS": "Ikony",
"PEOPLE_GROUPS_CLOUD": "Chmura dla osób/grup",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Zarządzaj wersjami",
"ASPECTS": "Aktualizuj aspekty",
"LOCK": "Blokada",
"METADATA": "Informacje",
"DOWNLOAD": "Pobierz",
@@ -214,6 +216,12 @@
"STORE": "Magazyn",
"RESTORE": "Przywróć"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "Zadanie {{taskName}} zostało przydzielone do {{assignee}}",
"PROCESS_STARTED": "Proces {{processName}} został uruchomiony",
"TASK_UPDATED": "Szczegóły zadania {{taskName}} zostały zaktualizowane",
"TASK_CREATED": "Zadanie {{taskName}} zostało utworzone"
},
"FORM-LOADING": {
"FORM_DATA": "Dane formularza",
"FORM_DATA_MESSAGE": "Wprowadź wartości, aby wypełnić formularz.",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie pierwsze",
"GROUP-TITLE2-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie drugie",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Powrót do strony głównej"
},
"507": {
"TITLE": "Dysk ACS pełny",
"DESCRIPTION": "Zawartość przekracza limit łącznego przydziału miejsca w magazynie skonfigurowany w sieci lub systemie",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Powrót do strony głównej"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Identyfikator wystąpienia procesu",
"ACTION_TYPE": "Typ czynności"
}
}
},
"DEFAULT_SEARCH": "Domyślne"
}
+19 -10
View File
@@ -17,15 +17,15 @@
"HOME": "Página Inicial"
},
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "Permitir apagar",
"ALLOW_DELETE": "Permitir exclusão",
"SHOW_COMMENTS": "Mostrar comentários em versões",
"ALLOW_DOWNLOAD": "Ativar download da versão",
"ALLOW_DOWNLOAD": "Ativar descarregamento da versão",
"READ_ONLY": "Somente leitura",
"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.",
"WARN-MULTIPLE-UPLOADS": "Exibir alerta para vários carregamentos.",
"CUSTOM-PERMISSION-MESSAGE": "Ativar mensagem de permissão personalizada",
"MEDIUM-TIME-FORMAT": "Ativar formato de tempo regular para lista de documento",
"SEARCH": {
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Marque essa opção para desativar a inserção e configurar a utilização do serviço",
"HEADER_DATA": "Dados do cabeçalho",
"TREE_VIEW": "Exibição em árvore",
"EXPAND_LIST": "Lista de itens expansíveis",
"ICONS": "Ícones",
"PEOPLE_GROUPS_CLOUD": "Nuvem de Pessoas/Grupo",
"TASK_HEADER_CLOUD": {
@@ -154,7 +155,7 @@
"SHARE_EDIT": "Editar configurações",
"NEW_FOLDER": "Nova Pasta",
"EDIT_FOLDER": "Editar pasta",
"DOWNLOAD": "Download",
"DOWNLOAD": "Descarregar",
"DELETE": "Excluir",
"FAVORITES": "Adicionar aos favoritos",
"SHARE": "Compartilhar",
@@ -166,9 +167,10 @@
},
"ACTIONS": {
"VERSIONS": "Gerenciar versões",
"ASPECTS": "Atualizar aspectos",
"LOCK": "Bloqueio",
"METADATA": "Informações",
"DOWNLOAD": "Download",
"DOWNLOAD": "Descarregar",
"PERMISSION": "Permissão",
"FOLDER": {
"COPY": "Copiar",
@@ -214,6 +216,12 @@
"STORE": "Armazenar",
"RESTORE": "Restaurar"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "A tarefa {{taskName}} foi atribuída a {{assignee}}",
"PROCESS_STARTED": "O processo {{processName}} foi iniciado",
"TASK_UPDATED": "Os detalhes da tarefa {{taskName}} foram atualizados",
"TASK_CREATED": "A tarefa {{taskName}} foi criada"
},
"FORM-LOADING": {
"FORM_DATA": "Dados do formulário",
"FORM_DATA_MESSAGE": "Insira os valores para preencher o formulário",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Tradução um de título personalizado",
"GROUP-TITLE2-TRANSLATION-KEY": "Tradução dois de título personalizado",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Voltar para a página inicial"
},
"507": {
"TITLE": "Disco ACS cheio",
"DESCRIPTION": "O conteúdo excede o limite de armazenamento geral configurado para a rede ou o sistema",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Voltar para a página inicial"
}
}
},
@@ -323,7 +331,7 @@
"SETTINGS_CLOUD": {
"MULTISELECTION": "Seleção Múltipla",
"TESTING_MODE": "Modo de Teste",
"SELECTION_MODE": "Modo de Seleção",
"SELECTION_MODE": "Modo de seleção",
"SELECTED_ROWS": "Linhas selecionadas",
"TASK_DETAILS_REDIRECTION": "Exibir detalhes da tarefa ao clicar na tarefa",
"PROCESS_DETAILS_REDIRECTION": "Exibir detalhes do processo ao clicar no processo",
@@ -341,5 +349,6 @@
"PROCESS_ID": "ID de instância de processo",
"ACTION_TYPE": "Tipo de ação"
}
}
},
"DEFAULT_SEARCH": "Padrão"
}
+14 -5
View File
@@ -70,7 +70,7 @@
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Войти",
"CUSTOM_SOURCES": "Пользовательские источники",
"DATATABLE": "Datatable",
"DATATABLE": "Таблица данных",
"DATATABLE_LAZY": "Таблица данных (частичная загрузка)",
"DOCUMENT_LIST": "Список документов",
"TEMPLATE": "Шаблон",
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Установите флажок, чтобы отключить свойство ввода и настроить, используя службу.",
"HEADER_DATA": "Данные заголовка",
"TREE_VIEW": "Иерархическое представление",
"EXPAND_LIST": "Расширяемый список элементов",
"ICONS": "Значки",
"PEOPLE_GROUPS_CLOUD": "Облако пользователей/групп",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Управление версиями",
"ASPECTS": "Обновить аспекты",
"LOCK": "Блокировка",
"METADATA": "Информация",
"DOWNLOAD": "Скачать",
@@ -214,6 +216,12 @@
"STORE": "Хранилище",
"RESTORE": "Восстановить"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "Задача {{taskName}} была назначена {{assignee}}",
"PROCESS_STARTED": "Процесс {{processName}} запущен",
"TASK_UPDATED": "Сведения о задаче {{taskName}} обновлены",
"TASK_CREATED": "{{taskName}} задача создана"
},
"FORM-LOADING": {
"FORM_DATA": "Данные формы",
"FORM_DATA_MESSAGE": "Введите значения для заполнения формы",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Перевод пользовательского заголовка один",
"GROUP-TITLE2-TRANSLATION-KEY": "Перевод пользовательского заголовка два",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Назад на главную"
},
"507": {
"TITLE": "Диск ACS заполнен",
"DESCRIPTION": "Объем данных превысил максимально допустимое значение, установленное для сети или системы",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Назад на главную"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Идентификатор экземпляра процесса",
"ACTION_TYPE": "Тип действия"
}
}
},
"DEFAULT_SEARCH": "По умолчанию"
}
+13 -4
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "Kontrollera den här för att avaktivera indataegenskap och konfigurera genom att använda tjänsten",
"HEADER_DATA": "Sidhuvuddata",
"TREE_VIEW": "Trädvy",
"EXPAND_LIST": "Utökbar objektlista",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Personer/grupp moln",
"TASK_HEADER_CLOUD": {
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "Hantera versioner",
"ASPECTS": "Uppdatera aspekter",
"LOCK": "Lås",
"METADATA": "Info",
"DOWNLOAD": "Ladda ner",
@@ -214,6 +216,12 @@
"STORE": "Lagra",
"RESTORE": "Återställ"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}} uppgiften har tilldelats till {{assignee}}",
"PROCESS_STARTED": "{{processName}} processen har startats",
"TASK_UPDATED": "{{taskName}} uppgiftsinformation har uppdaterats",
"TASK_CREATED": "Uppgiften {{taskName}} skapades"
},
"FORM-LOADING": {
"FORM_DATA": "Formulärdata",
"FORM_DATA_MESSAGE": "Ange värden för att fylla formuläret",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "Anpassad titelöversättning ett",
"GROUP-TITLE2-TRANSLATION-KEY": "Anpassad titelöversättning två",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "Tillbaka hem"
},
"507": {
"TITLE": "ACS disk full",
"DESCRIPTION": "Innehållet överskrider övergripande kvotbegränsning som är konfigurerad för nätverket eller systemet",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Tillbaka hem"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "Processinstans-ID",
"ACTION_TYPE": "Åtgärdstyp"
}
}
},
"DEFAULT_SEARCH": "Standard"
}
+15 -6
View File
@@ -94,6 +94,7 @@
"SEARCH_SERVICE_APPROACH": "选中此项以禁用输入属性并使用服务进行配置",
"HEADER_DATA": "标头数据",
"TREE_VIEW": "树视图",
"EXPAND_LIST": "可扩展项目列表",
"ICONS": "图标",
"PEOPLE_GROUPS_CLOUD": "人员/一组云",
"TASK_HEADER_CLOUD": {
@@ -125,8 +126,8 @@
"ALLOW_DROP_FILES": "在文件夹或文件中启用拖动文件",
"MULTIPLE_FILE_UPLOAD": "上传多个文件",
"FOLDER_UPLOAD": "文件夹上传",
"CUSTOM_FILTER": "自定义扩展过滤器",
"MAX_SIZE": "最大大小过滤器",
"CUSTOM_FILTER": "自定义扩展筛选器",
"MAX_SIZE": "最大大小筛选器",
"ENABLE_VERSIONING": "启用版本控制",
"DESCRIPTION_UPLOAD": "启用上传",
"ENABLE_INFINITE_SCROLL": "启用无限滚动",
@@ -166,6 +167,7 @@
},
"ACTIONS": {
"VERSIONS": "管理版本",
"ASPECTS": "更新方面",
"LOCK": "锁定",
"METADATA": "信息",
"DOWNLOAD": "下载",
@@ -214,6 +216,12 @@
"STORE": "存储",
"RESTORE": "恢复"
},
"NOTIFICATIONS": {
"TASK_ASSIGNED": "{{taskName}} 任务已分配给 {{assignee}}",
"PROCESS_STARTED": "{{processName}} 进程已启动",
"TASK_UPDATED": "{{taskName}} 任务详细信息已更新",
"TASK_CREATED": "{{taskName}} 任务已创建"
},
"FORM-LOADING": {
"FORM_DATA": "表单数据",
"FORM_DATA_MESSAGE": "输入值以填充表单",
@@ -287,14 +295,14 @@
"GROUP-TITLE1-TRANSLATION-KEY": "自定义标题翻译 1",
"GROUP-TITLE2-TRANSLATION-KEY": "自定义标题翻译 2",
"ERROR_CONTENT": {
"RETURN_BUTTON": {
"TEXT": "返回到主页"
},
"507": {
"TITLE": "ACS 磁盘已满",
"DESCRIPTION": "内容超出为网络或系统配置的总存储配额限制",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "返回到主页"
}
}
},
@@ -341,5 +349,6 @@
"PROCESS_ID": "流程实例 ID",
"ACTION_TYPE": "操作类型"
}
}
},
"DEFAULT_SEARCH": "默认值"
}
+381 -115
View File
@@ -31,80 +31,10 @@
"application": {
"storagePrefix": "ADF",
"name": "Alfresco ADF Application",
"copyright": "© 2016 - 2018 Alfresco Software, Inc. All Rights Reserved."
"copyright": "© 2016 - 2021 Alfresco Software, Inc. All Rights Reserved."
},
"languages": [
{
"key": "en",
"label": "English"
},
{
"key": "fr",
"label": "Français"
},
{
"key": "de",
"label": "Deutsch"
},
{
"key": "it",
"label": "Italiano"
},
{
"key": "es",
"label": "Español"
},
{
"key": "ja",
"label": "日本語"
},
{
"key": "nl",
"label": "Nederlands"
},
{
"key": "pt-BR",
"label": "Português (Brasil)"
},
{
"key": "nb",
"label": "Bokmål"
},
{
"key": "ru",
"label": "Русский"
},
{
"key": "zh-CN",
"label": "中文简体"
},
{
"key": "ar",
"label": "عربى",
"direction": "rtl"
},
{
"key": "cs",
"label": "Čeština"
},
{
"key": "pl",
"label": "Polski"
},
{
"key": "fi",
"label": "Suomi"
},
{
"key": "da",
"label": "Dansk"
},
{
"key": "sv",
"label": "Svenska"
}
],
"search": {
"notifications": true,
"search": [{
"filterWithContains": true,
"app:fields": [
"cm:name",
@@ -155,7 +85,7 @@
{
"key": "score",
"label": "Relevance",
"type": "FIELD",
"type": "SCORE",
"field": "score",
"ascending": false
}
@@ -435,8 +365,279 @@
"postfix": ")"
}
]
}
},
"name": "DEFAULT_SEARCH",
"default": true
},
{
"filterWithContains": true,
"app:fields": [
"cm:name",
"cm:title",
"cm:description",
"ia:whatEvent",
"ia:descriptionEvent",
"lnk:title",
"lnk:description",
"TEXT",
"TAG"
],
"include": [
"path",
"allowableOperations",
"properties"
],
"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",
"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": "SCORE",
"field": "score",
"ascending": false
}
],
"defaults": [
{
"key": "score",
"type": "FIELD",
"field": "score",
"ascending": false
}
]
},
"resetButton": true,
"filterQueries": [
{
"query": "TYPE:'cm:folder'"
},
{
"query": "NOT cm:creator:System"
}
],
"facetFields": {
"expanded": true,
"fields": [
{
"field": "content.size",
"mincount": 1,
"label": "Folder Size",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"unit": "Bytes"
}
},
{
"field": "creator",
"mincount": 1,
"label": "Folder created",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
},
{
"field": "modifier",
"mincount": 1,
"label": "Folder Modifier",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
},
{
"field": "created",
"mincount": 1,
"label": "Folder Created",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
}
]
},
"facetQueries": {
"label": "SEARCH.FACET_QUERIES.MY_FACET_QUERIES",
"pageSize": 5,
"expanded": true,
"mincount": 1,
"queries": [
{
"query": "created:2019",
"label": "SEARCH.FACET_QUERIES.CREATED_THIS_YEAR"
},
{
"query": "content.mimetype:text/html",
"label": "SEARCH.FACET_QUERIES.MIMETYPE",
"group": "Type facet queries"
},
{
"query": "content.size:[0 TO 10240]",
"label": "SEARCH.FACET_QUERIES.XTRASMALL",
"group": "Size facet queries"
},
{
"query": "content.size:[10240 TO 102400]",
"label": "SEARCH.FACET_QUERIES.SMALL",
"group": "Size facet queries"
},
{
"query": "content.size:[102400 TO 1048576]",
"label": "SEARCH.FACET_QUERIES.MEDIUM",
"group": "Size facet queries"
},
{
"query": "content.size:[1048576 TO 16777216]",
"label": "SEARCH.FACET_QUERIES.LARGE",
"group": "Size facet queries"
},
{
"query": "content.size:[16777216 TO 134217728]",
"label": "SEARCH.FACET_QUERIES.XTRALARGE",
"group": "Size facet queries"
},
{
"query": "content.size:[134217728 TO MAX]",
"label": "SEARCH.FACET_QUERIES.XXTRALARGE",
"group": "Size facet queries"
}
],
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
},
"facetIntervals": {
"expanded": true,
"intervals": [
{
"label": "The Created",
"field": "cm:created",
"sets": [
{
"label": "lastYear",
"start": "2018",
"end": "2019",
"endInclusive": false
},
{
"label": "currentYear",
"start": "NOW/YEAR",
"end": "NOW/YEAR+1YEAR"
},
{
"label": "earlier",
"start": "*",
"end": "2018",
"endInclusive": false
}
],
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
},
{
"label": "The Modified",
"field": "cm:modified",
"sets": [
{
"label": "2017",
"start": "2017",
"end": "2018",
"endInclusive": false
},
{
"label": "2017-2018",
"start": "2017",
"end": "2018",
"endInclusive": true
},
{
"label": "currentYear",
"start": "NOW/YEAR",
"end": "NOW/YEAR+1YEAR"
},
{
"label": "earlierThan2017",
"start": "*",
"end": "2017",
"endInclusive": false
}
],
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true
}
}
]
},
"categories": [
{
"id": "contentSize",
"name": "Content Size",
"enabled": true,
"component": {
"selector": "slider",
"settings": {
"allowUpdateOnChange": false,
"hideDefaultAction": true,
"unit": "Byte",
"field": "cm:content.size",
"min": 0,
"max": 18,
"step": 1,
"thumbLabel": true
}
}
}
],
"highlight": {
"prefix": " ",
"postfix": " ",
"mergeContiguous": true,
"fields": [
{
"field": "cm:title"
},
{
"field": "description",
"prefix": "(",
"postfix": ")"
}
]
},
"name": "Folder"
}],
"search-headers": {
"filterWithContains": true,
"app:fields": [
@@ -462,21 +663,21 @@
"pattern": "cm:name:'(.*?)'",
"field": "cm:name",
"placeholder": "SEARCH.SEARCH_HEADER.FILTERS.NAME.PLACEHOLDER",
"searchSuffix" : "*",
"allowUpdateOnChange" : false
"searchSuffix": "*",
"allowUpdateOnChange": false
}
}
},
{
"id": "checkList",
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.TITLE",
"columnKey":"$thumbnail",
"columnKey": "$thumbnail",
"enabled": true,
"component": {
"selector": "check-list",
"settings": {
"pageSize": 5,
"allowUpdateOnChange" : false,
"allowUpdateOnChange": false,
"operator": "OR",
"options": [
{
@@ -494,12 +695,12 @@
{
"id": "contentSize",
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.TITLE",
"columnKey":"content.sizeInBytes",
"columnKey": "content.sizeInBytes",
"enabled": true,
"component": {
"selector": "check-list",
"settings": {
"allowUpdateOnChange" : false,
"allowUpdateOnChange": false,
"options": [
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.SMALL",
@@ -529,7 +730,7 @@
"component": {
"selector": "date-range",
"settings": {
"allowUpdateOnChange" : false,
"allowUpdateOnChange": false,
"field": "cm:created",
"dateFormat": "DD-MMM-YY",
"maxDate": "today"
@@ -1021,25 +1222,55 @@
"content-metadata": {
"presets": {
"default": {
"exif:exif": "*"
"exif:exif": "*",
"cm:generalclassifiable": "*",
"cm:complianceable": "*",
"cm:dublincore": "*",
"cm:effectivity": "*",
"cm:summarizable": "*",
"cm:versionable": "*",
"cm:templatable": "*",
"cm:emailed": "*",
"emailserver:aliasable": "*",
"cm:taggable": "*",
"app:inlineeditable": "*",
"cm:geographic": "*",
"audio:audio": "*",
"cm:indexControl": "*",
"dp:restrictable": "*",
"smf:customConfigSmartFolder": "*",
"smf:systemConfigSmartFolder": "*",
"ai:products": "*",
"ai:dates": "*",
"ai:places": "*",
"ai:events": "*",
"ai:organizations": "*",
"ai:people": "*",
"ai:things": "*",
"ai:quantities": "*",
"ai:creativeWorks": "*",
"ai:labels": "*",
"ai:textLines": "*"
},
"all-aspects": "*",
"custom-title": [{
"title": "Exif",
"items": [
{
"aspect": "exif:exif",
"editing": false,
"properties": [
"exif:pixelXDimension",
{
"title": "Custom YDimension Name",
"name": "exif:pixelYDimension"
}
]
}
]
}]
"custom-title": [
{
"title": "Exif",
"items": [
{
"aspect": "exif:exif",
"editing": false,
"properties": [
"exif:pixelXDimension",
{
"title": "Custom YDimension Name",
"name": "exif:pixelYDimension"
}
]
}
]
}
]
},
"multi-value-pipe-separator": ", ",
"multi-value-chips": true,
@@ -1054,40 +1285,40 @@
"presets": {
"default": [
{
"key": "entry.id",
"key": "id",
"type": "text",
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.ID",
"cssClass": "adf-expand-cell-4",
"sortable": true
},
{
"key": "entry.name",
"key": "name",
"type": "text",
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.NAME",
"sortable": true,
"cssClass": "name-column adf-ellipsis-cell"
},
{
"key": "entry.status",
"key": "status",
"type": "text",
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.STATUS",
"sortable": true
},
{
"key": "entry.priority",
"key": "priority",
"type": "text",
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.PRIORITY",
"sortable": true
},
{
"key": "entry.createdDate",
"key": "createdDate",
"type": "date",
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.CREATED_DATE",
"sortable": true,
"format": "timeAgo"
},
{
"key": "entry.lastModified",
"key": "lastModified",
"type": "date",
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.LAST_MODIFIED",
"sortable": true,
@@ -1100,32 +1331,32 @@
"presets": {
"default": [
{
"key": "entry.id",
"key": "id",
"type": "text",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.ID",
"sortable": true
},
{
"key": "entry.activityName",
"key": "activityName",
"type": "text",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.ACTIVITY_NAME",
"sortable": true
},
{
"key": "entry.status",
"key": "status",
"type": "text",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.STATUS",
"sortable": true
},
{
"key": "entry.startedDate",
"key": "startedDate",
"type": "date",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.STARTED_DATE",
"sortable": true,
"format": "timeAgo"
},
{
"key": "entry.completedDate",
"key": "completedDate",
"type": "date",
"title": "ADF_CLOUD_SERVICE_TASK_LIST.PROPERTIES.COMPLETED_DATE",
"sortable": true,
@@ -1138,25 +1369,25 @@
"presets": {
"default": [
{
"key": "entry.id",
"key": "id",
"type": "text",
"title": "ADF_CLOUD_PROCESS_LIST.PROPERTIES.ID",
"sortable": true
},
{
"key": "entry.name",
"key": "name",
"type": "text",
"title": "ADF_CLOUD_PROCESS_LIST.PROPERTIES.NAME",
"sortable": true
},
{
"key": "entry.status",
"key": "status",
"type": "text",
"title": "ADF_CLOUD_PROCESS_LIST.PROPERTIES.STATUS",
"sortable": true
},
{
"key": "entry.startDate",
"key": "startDate",
"type": "date",
"title": "ADF_CLOUD_PROCESS_LIST.PROPERTIES.START_DATE",
"sortable": true,
@@ -1197,5 +1428,40 @@
{
"name": "subprocessapp"
}
]
],
"aspect-visible": {
"default": [
"cm:generalclassifiable",
"cm:complianceable",
"cm:dublincore",
"cm:effectivity",
"cm:summarizable",
"cm:versionable",
"cm:templatable",
"cm:emailed",
"emailserver:aliasable",
"cm:taggable",
"app:inlineeditable",
"cm:geographic",
"exif:exif",
"audio:audio",
"cm:indexControl",
"dp:restrictable",
"smf:customConfigSmartFolder",
"smf:systemConfigSmartFolder"
],
"ai": [
"ai:products",
"ai:dates",
"ai:places",
"ai:events",
"ai:organizations",
"ai:people",
"ai:things",
"ai:quantities",
"ai:creativeWorks",
"ai:labels",
"ai:textLines"
]
}
}
+15 -2
View File
@@ -16,7 +16,7 @@
*/
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { APP_INITIALIZER, NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FlexLayoutModule } from '@angular/flex-layout';
import { ChartsModule } from 'ng2-charts';
@@ -93,6 +93,7 @@ import {
CustomEditorComponent,
CustomWidgetComponent
} from './components/cloud/custom-form-components/custom-editor.component';
import { AspectListSampleComponent } from './components/aspect-list-sample/aspect-list-sample.component';
import { registerLocaleData } from '@angular/common';
import localeFr from '@angular/common/locales/fr';
@@ -111,6 +112,9 @@ import localePl from '@angular/common/locales/pl';
import localeFi from '@angular/common/locales/fi';
import localeDa from '@angular/common/locales/da';
import localeSv from '@angular/common/locales/sv';
import { setupAppNotifications } from './services/app-notifications-factory';
import { AppNotificationsService } from './services/app-notifications.service';
import { SearchFilterChipsComponent } from './components/search/search-filter-chips.component';
registerLocaleData(localeFr);
registerLocaleData(localeDe);
@@ -180,6 +184,7 @@ registerLocaleData(localeSv);
DemoErrorComponent,
FormLoadingComponent,
TreeViewSampleComponent,
AspectListSampleComponent,
CloudLayoutComponent,
AppsCloudDemoComponent,
TasksCloudDemoComponent,
@@ -200,7 +205,8 @@ registerLocaleData(localeSv);
CustomEditorComponent,
CustomWidgetComponent,
ProcessCloudLayoutComponent,
ServiceTaskListCloudDemoComponent
ServiceTaskListCloudDemoComponent,
SearchFilterChipsComponent
],
providers: [
{
@@ -223,6 +229,13 @@ registerLocaleData(localeSv);
name: 'lazy-loading',
source: 'resources/lazy-loading'
}
},
AppNotificationsService,
{
provide: APP_INITIALIZER,
useFactory: setupAppNotifications,
deps: [AppNotificationsService],
multi: true
}
],
bootstrap: [AppComponent]
+17
View File
@@ -54,6 +54,8 @@ import { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-clo
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';
import { AspectListSampleComponent } from './components/aspect-list-sample/aspect-list-sample.component';
import { SearchFilterChipsComponent } from './components/search/search-filter-chips.component';
export const appRoutes: Routes = [
{ path: 'login', loadChildren: () => import('./components/login/login.module').then(m => m.AppLoginModule) },
@@ -106,6 +108,11 @@ export const appRoutes: Routes = [
component: AppLayoutComponent,
canActivate: [AuthGuard],
children: [
{
path: '',
redirectTo: `/home`,
pathMatch: 'full'
},
{
path: 'breadcrumb',
canActivate: [AuthGuardEcm],
@@ -319,6 +326,11 @@ export const appRoutes: Routes = [
component: SearchResultComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'search-filter-chips',
component: SearchFilterChipsComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'extendedSearch',
component: SearchExtendedComponent,
@@ -408,6 +420,11 @@ export const appRoutes: Routes = [
component: TreeViewSampleComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'expandable-list',
component: AspectListSampleComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'about',
loadChildren: () => import('./components/about/about.module').then(m => m.AppAboutModule)
@@ -27,7 +27,7 @@ import { AppConfigService } from '@alfresco/adf-core';
@Component({
selector: 'app-about-page',
templateUrl: './about.component.html',
styleUrls: ['about.component.scss']
styleUrls: ['./about.component.scss']
})
export class AboutComponent implements OnInit {
url = `https://github.com/Alfresco/${name}/commits/${commit}`;
@@ -87,3 +87,5 @@
</button>
</ng-template>
</mat-menu>
<adf-file-uploading-dialog #fileDialog position="left"></adf-file-uploading-dialog>
@@ -2,7 +2,7 @@
$primary: map-get($theme, primary);
$minimumAppWidth: 320px;
@media screen and ($mat-xsmall) {
@media screen and (max-width: 599px) {
app-search-bar {
width: 150px;
}
@@ -14,6 +14,10 @@
}
}
adf-file-uploading-dialog {
z-index: 1100;
}
.app-layout {
display: flex;
flex: 1;
@@ -42,17 +46,13 @@
}
}
@media screen and ($mat-small) {
.adf-userinfo-name {
display: none;
}
@media screen and (max-width: 959px) {
.app-menu {
padding-top: 0;
}
}
@media screen and ($mat-xsmall) {}
@media screen and (max-width: 599px) {}
mat-sidenav-content > div {
display: flex;
@@ -20,10 +20,10 @@ import { UserPreferencesService, AppConfigService, AlfrescoApiService, UserPrefe
import { HeaderDataService } from '../header-data/header-data.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { ThemePalette } from '@angular/material/core';
@Component({
templateUrl: 'app-layout.component.html',
styleUrls: ['app-layout.component.scss'],
templateUrl: './app-layout.component.html',
host: {
'class': 'app-layout'
},
@@ -86,20 +86,21 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
/* cspell:disable-next-line */
{ href: '/overlay-viewer', icon: 'pageview', title: 'APP_LAYOUT.OVERLAY_VIEWER' },
{ href: '/treeview', icon: 'nature', title: 'APP_LAYOUT.TREE_VIEW' },
{ href: '/expandable-list', icon: 'hot_tub', title: 'APP_LAYOUT.EXPAND_LIST' },
{ href: '/icons', icon: 'tag_faces', title: 'APP_LAYOUT.ICONS' },
{ href: '/about', icon: 'info_outline', title: 'APP_LAYOUT.ABOUT' }
];
expandedSidenav = false;
position = 'start';
position: 'start' | 'end' = 'start';
direction = 'ltr';
hideSidenav = false;
showMenu = true;
enableRedirect = true;
color = 'primary';
color: ThemePalette = 'primary';
title = 'APP_LAYOUT.APP_NAME';
logo: string;
redirectUrl: string | any[] = ['/home'];
@@ -34,8 +34,8 @@ import {
} from '../../../cloud/custom-form-components/custom-editor.component';
@Component({
templateUrl: 'cloud-form-demo.component.html',
styleUrls: ['cloud-form-demo.component.scss'],
templateUrl: './cloud-form-demo.component.html',
styleUrls: ['./cloud-form-demo.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
@@ -0,0 +1,18 @@
<div class="example-button-container">
<p> ASPECT CHOSEN :</p>
<p>{{currentResult}}</p>
<br>
<mat-form-field class="example-almost-full-width">
<mat-label>Node Id For Aspects</mat-label>
<input matInput placeholder="Node Id" [(ngModel)]="currentNodeId">
</mat-form-field>
<button mat-raised-button color="primary" aria-label="Click to show the list" (click)="showAspectForNode()">
Show/Hide List
</button>
<adf-aspect-list [nodeId]="currentNodeId" *ngIf="isShowed" (valueChanged)="onValueChanged($event)"></adf-aspect-list>
</div>
<div>
<button mat-fab color="primary" aria-label="Open dialog" (click)="openAspectDialog()">
Dialog
</button>
</div>
@@ -0,0 +1,7 @@
.example-button-container {
width: 90%;
}
.example-almost-full-width {
width: 70%;
}
@@ -0,0 +1,47 @@
/*!
* @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 { AspectListService } from '@alfresco/adf-content-services';
import { Component } from '@angular/core';
@Component({
selector: 'app-expandable-menu',
templateUrl: './aspect-list-sample.component.html',
styleUrls: ['./aspect-list-sample.component.scss']
})
export class AspectListSampleComponent {
currentNodeId: string = '';
isShowed: boolean = false;
currentResult: string[] = [];
constructor(private aspectListService: AspectListService) { }
showAspectForNode() {
this.isShowed = !this.isShowed;
}
openAspectDialog() {
this.aspectListService.openAspectListDialog(this.currentNodeId).subscribe((result) => this.currentResult = Array.from(result));
}
onValueChanged(aspects) {
this.currentResult = Array.from(aspects);
}
}
@@ -125,6 +125,15 @@ export class CardViewComponent implements OnInit, OnDestroy {
format: 'shortDate',
editable: this.isEditable
}),
new CardViewDateItemModel({
label: 'CardView Date Item - Multivalue (chips)',
value: [new Date(1983, 11, 24, 10, 0, 30)],
key: 'date',
default: new Date(1983, 11, 24, 10, 0, 30),
format: 'shortDate',
editable: this.isEditable,
multivalued: true
}),
new CardViewDatetimeItemModel({
label: 'CardView Datetime Item',
value: new Date(1983, 11, 24, 10, 0, 0),
@@ -133,6 +142,15 @@ export class CardViewComponent implements OnInit, OnDestroy {
format: 'short',
editable: this.isEditable
}),
new CardViewDatetimeItemModel({
label: 'CardView Datetime Item - Multivalue (chips)',
value: [new Date(1983, 11, 24, 10, 0, 0)],
key: 'datetime',
default: new Date(1983, 11, 24, 10, 0, 0),
format: 'short',
editable: this.isEditable,
multivalued: true
}),
new CardViewBoolItemModel({
label: 'CardView Boolean Item',
value: true,
@@ -162,6 +180,15 @@ export class CardViewComponent implements OnInit, OnDestroy {
editable: this.isEditable,
pipes: [{ pipe: this.decimalNumberPipe }]
}),
new CardViewFloatItemModel({
label: 'CardView Float Item - Multivalue (chips)',
value: [9.9],
key: 'float',
default: 0.0,
editable: this.isEditable,
multivalued: true,
pipes: [{ pipe: this.decimalNumberPipe }]
}),
new CardViewKeyValuePairsItemModel({
label: 'CardView Key-Value Pairs Item',
value: [{ name: 'hey', value: 'you' }, { name: 'hey', value: 'you' }],
@@ -21,7 +21,7 @@ import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-cloud-breadcrumbs',
templateUrl: './cloud-breadcrumb-component.html',
styleUrls: ['cloud-breadcrumb-component.scss']
styleUrls: ['./cloud-breadcrumb-component.scss']
})
export class CloudBreadcrumbsComponent implements OnInit {
appName: string;
@@ -19,10 +19,12 @@ import { Component, ViewEncapsulation, Input, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { CloudLayoutService } from './services/cloud-layout.service';
import { Router, ActivatedRoute } from '@angular/router';
import { CloudProcessFiltersService } from './services/cloud-process-filters.service';
import { ProcessFilterCloudModel } from '@alfresco/adf-process-services-cloud';
@Component({
selector: 'app-cloud-filters-demo',
templateUrl: './cloud-filters-demo.component.html',
styleUrls: ['cloud-filters-demo.component.scss'],
styleUrls: ['./cloud-filters-demo.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class CloudFiltersDemoComponent implements OnInit {
@@ -42,7 +44,8 @@ export class CloudFiltersDemoComponent implements OnInit {
constructor(
private cloudLayoutService: CloudLayoutService,
private router: Router,
private route: ActivatedRoute
private route: ActivatedRoute,
private cloudProcessFiltersService: CloudProcessFiltersService
) {}
ngOnInit() {
@@ -63,11 +66,19 @@ export class CloudFiltersDemoComponent implements OnInit {
}
onTaskFilterSelected(filter) {
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: filter });
if (filter) {
this.router.navigate([`/cloud/${this.appName}/tasks/`], {queryParams: filter});
}
}
onProcessFilterSelected(filter) {
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: filter });
onProcessFilterSelected(filter: ProcessFilterCloudModel) {
if (filter) {
const {appName} = this;
const {id} = filter;
const queryParams = this.cloudProcessFiltersService.writeQueryParams(filter, appName, id);
this.router.navigate([`/cloud/${appName}/processes/`], {queryParams});
}
}
onTaskFilterOpen(): boolean {
@@ -145,6 +145,6 @@ export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
onRowsSelected(nodes) {
this.resetSelectedRows();
this.selectedRows = nodes.map((node) => node.obj.entry);
this.selectedRows = nodes.map((node) => node.obj);
}
}
@@ -48,7 +48,7 @@ export class CommunityTasksCloudDemoComponent implements OnInit, OnDestroy {
filterId;
multiselect: boolean;
selectedRows: string[] = [];
selectedRows: any[] = [];
testingMode: boolean;
selectionMode: string;
taskDetailsRedirection: boolean;
@@ -127,7 +127,7 @@ export class CommunityTasksCloudDemoComponent implements OnInit, OnDestroy {
onRowsSelected(nodes) {
this.resetSelectedRows();
this.selectedRows = nodes.map((node) => node.obj.entry);
this.selectedRows = nodes.map((node) => node.obj);
}
onFilterChange(filter: any) {
@@ -9,7 +9,8 @@
(taskClaimed)="onClaimTask()"
(taskCompleted)="onTaskCompleted()"
(taskUnclaimed)="onUnclaimTask()"
(formSaved)="onFormSaved()">
(formSaved)="onFormSaved()"
(error)="onError($event)">
</adf-cloud-task-form>
</div>
<adf-cloud-task-header fxFlex
@@ -64,4 +64,13 @@ export class CommunityTaskDetailsCloudDemoComponent {
onFormSaved() {
this.notificationService.openSnackMessage('Task has been saved successfully');
}
onError({ message: error }: Error) {
let errorMessage;
try {
errorMessage = JSON.parse(error).message || JSON.parse(error).entry?.message;
errorMessage = JSON.parse(errorMessage).message;
} catch {}
this.notificationService.showError(errorMessage || error);
}
}
@@ -20,15 +20,15 @@
</mat-radio-group>
<mat-form-field *ngIf="!isPeopleAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"]</mat-label>
<input matInput (input)="setPeopleRoles($event.target?.value)" data-automation-id="app-people-roles-input" />
<input matInput (input)="setPeopleRoles($any($event).target?.value)" data-automation-id="app-people-roles-input" />
</mat-form-field>
<mat-form-field *ngIf="isPeopleAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setPeopleAppName($event.target?.value)" data-automation-id="app-people-app-input" />
<input matInput (input)="setPeopleAppName($any($event).target?.value)" data-automation-id="app-people-app-input" />
</mat-form-field>
<mat-form-field class="app-preselect-value-full">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.PRESELECTED_VALUE' | translate }} {{ DEFAULT_PEOPLE_PLACEHOLDER }}</mat-label>
<input matInput (input)="setPeoplePreselectValue($event.target?.value)" data-automation-id="app-people-preselect-input" />
<input matInput (input)="setPeoplePreselectValue($any($event).target?.value)" data-automation-id="app-people-preselect-input" />
</mat-form-field>
<mat-checkbox class="app-preselect-value" (change)="onChangePeopleValidation($event)">{{
'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }}</mat-checkbox>
@@ -92,19 +92,19 @@
<mat-form-field *ngIf="!isGroupAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"]</mat-label>
<input matInput
(input)="setGroupRoles($event.target?.value)"
(input)="setGroupRoles($any($event).target?.value)"
data-automation-id="app-group-roles-input"/>
</mat-form-field>
<mat-form-field *ngIf="isGroupAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput
(input)="setGroupAppName($event.target?.value)"
(input)="setGroupAppName($any($event).target?.value)"
data-automation-id="app-group-app-input"/>
</mat-form-field>
<mat-form-field class="app-preselect-value-full">
<mat-label>Preselect: {{ DEFAULT_GROUP_PLACEHOLDER }}</mat-label>
<input matInput
(input)="setGroupsPreselectValue($event.target?.value)"
(input)="setGroupsPreselectValue($any($event).target?.value)"
data-automation-id="app-group-preselect-input" />
</mat-form-field>
<mat-checkbox class="app-preselect-value" (change)="onChangeGroupValidation($event)">
@@ -2,9 +2,10 @@
<adf-cloud-edit-process-filter
[appName]="appName"
[id]="filterId"
[filterProperties]="processFilterProperties.filterProperties"
[sortProperties]="processFilterProperties.sortProperties"
[actions]="processFilterProperties.actions"
[filterProperties]="filterProperties"
[sortProperties]="filterSortProperties"
[actions]="filterActions"
[processFilter]="editedFilter"
(filterChange)="onFilterChange($event)"
(action)="onProcessFilterAction($event)">
</adf-cloud-edit-process-filter>
@@ -14,7 +15,7 @@
class="app-cloud-layout-overflow"
[appName]="editedFilter.appName"
[appVersion]="editedFilter.appVersion"
[initiator]="getInitiatorValue()"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionName]="editedFilter.processDefinitionName"
[processDefinitionKey]="editedFilter.processDefinitionKey"
@@ -24,7 +25,7 @@
[businessKey]="editedFilter['businessKey']"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
[sorting]="[{orderBy: editedFilter.sort, direction: editedFilter.order}]"
[selectionMode]="selectionMode"
[stickyHeader]="true"
[showActions]="actionMenu"
@@ -15,42 +15,24 @@
* limitations under the License.
*/
import { Component, ViewChild, OnInit, OnDestroy } from '@angular/core';
import {
ProcessListCloudComponent,
ProcessFilterCloudModel,
ProcessListCloudSortingModel,
ProcessFiltersCloudComponent
} from '@alfresco/adf-process-services-cloud';
import { Component, OnInit, OnDestroy } from '@angular/core';
import { EditProcessFilterCloudComponent, ProcessFilterAction, ProcessFilterCloudModel } from '@alfresco/adf-process-services-cloud';
import { ActivatedRoute, Router } from '@angular/router';
import { UserPreferencesService, AppConfigService, DataCellEvent } from '@alfresco/adf-core';
import { UserPreferencesService, DataCellEvent } from '@alfresco/adf-core';
import { CloudLayoutService, CloudServiceSettings } from './services/cloud-layout.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { Pagination } from '@alfresco/js-api';
import { CloudProcessFiltersService } from './services/cloud-process-filters.service';
@Component({
templateUrl: './processes-cloud-demo.component.html',
styleUrls: ['./processes-cloud-demo.component.scss']
templateUrl: './processes-cloud-demo.component.html'
})
export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
public static ACTION_DELETE = 'delete';
static PROCESS_FILTER_PROPERTY_KEYS = 'adf-edit-process-filter';
@ViewChild('processCloud')
processCloud: ProcessListCloudComponent;
@ViewChild('processFiltersCloud')
processFiltersCloud: ProcessFiltersCloudComponent;
appName: string = '';
isFilterLoaded: boolean;
isFilterLoaded = false;
filterId: string = '';
sortArray: any = [];
selectedRow: any;
multiselect: boolean;
selectionMode: string;
@@ -61,7 +43,11 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
actions: any[] = [];
selectedAction: { id: number, name: string, actionType: string};
selectedContextAction: { id: number, name: string, actionType: string};
processFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
filterProperties: string[];
filterSortProperties: string[];
filterActions: string[];
processDetailsRedirection: boolean;
editedFilter: ProcessFilterCloudModel;
@@ -73,24 +59,23 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
private route: ActivatedRoute,
private router: Router,
private cloudLayoutService: CloudLayoutService,
private userPreference: UserPreferencesService,
private appConfig: AppConfigService) {
const properties = this.appConfig.get<Array<any>>(ProcessesCloudDemoComponent.PROCESS_FILTER_PROPERTY_KEYS);
if (properties) {
this.processFilterProperties = properties;
}
private cloudProcessFiltersService: CloudProcessFiltersService,
private userPreference: UserPreferencesService) {
}
ngOnInit() {
this.isFilterLoaded = false;
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
this.filterProperties = this.cloudProcessFiltersService.filterProperties;
this.filterSortProperties = this.cloudProcessFiltersService.sortProperties;
this.filterActions = this.cloudProcessFiltersService.actions;
this.route.queryParams.subscribe((params) => {
this.isFilterLoaded = true;
this.onFilterChange(params);
this.appName = params.appName;
this.filterId = params.id;
const model = this.cloudProcessFiltersService.readQueryParams(params);
this.loadFilter(model);
});
this.cloudLayoutService.settings$
@@ -116,10 +101,6 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
}
}
getInitiatorValue(): string {
return this.editedFilter.initiator?.map(initiator => initiator.username).join(',');
}
onChangePageSize(event: Pagination) {
this.userPreference.paginationSize = event.maxItems;
}
@@ -134,31 +115,26 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
}
}
onFilterChange(query: any) {
this.editedFilter = Object.assign({}, query);
this.sortArray = [
new ProcessListCloudSortingModel({
orderBy: this.editedFilter.sort,
direction: this.editedFilter.order
})
];
onFilterChange(filter: ProcessFilterCloudModel) {
const queryParams = this.cloudProcessFiltersService.writeQueryParams(filter, this.appName, this.filterId);
this.router.navigate([`/cloud/${this.appName}/processes/`], {queryParams});
}
onProcessFilterAction(filterAction: any) {
if (filterAction.actionType === ProcessesCloudDemoComponent.ACTION_DELETE) {
onProcessFilterAction(filterAction: ProcessFilterAction) {
if (filterAction.actionType === EditProcessFilterCloudComponent.ACTION_DELETE) {
this.cloudLayoutService.setCurrentProcessFilterParam({ index: 0 });
} else {
this.cloudLayoutService.setCurrentProcessFilterParam({ id: filterAction.filter.id });
}
if (filterAction.actionType === ProcessesCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: filterAction.filter });
if ([EditProcessFilterCloudComponent.ACTION_SAVE, EditProcessFilterCloudComponent.ACTION_SAVE_AS].includes(filterAction.actionType)) {
this.onFilterChange(filterAction.filter);
}
}
onRowsSelected(nodes) {
this.resetSelectedRows();
this.selectedRows = nodes.map((node) => node.obj.entry);
this.selectedRows = nodes.map((node) => node.obj);
}
onShowRowActionsMenu(event: DataCellEvent) {
@@ -197,4 +173,10 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
const action = contextAction.model;
this.selectedContextAction = {id: value.id, name: value.name, actionType: action.title};
}
private loadFilter(model: ProcessFilterCloudModel) {
if (model && model.appName && model.id) {
this.editedFilter = model;
}
}
}
@@ -23,7 +23,7 @@ import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@Component({
templateUrl: 'service-task-list-cloud-demo.component.html'
templateUrl: './service-task-list-cloud-demo.component.html'
})
export class ServiceTaskListCloudDemoComponent implements OnInit, OnDestroy {
@@ -0,0 +1,55 @@
/*!
* @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 { Injectable } from '@angular/core';
import { ProcessFilterCloudModel, ProcessFilterCloudService } from '@alfresco/adf-process-services-cloud';
import { AppConfigService } from '@alfresco/adf-core';
@Injectable({ providedIn: 'root' })
export class CloudProcessFiltersService {
constructor(private appConfigService: AppConfigService, private processFilterCloudService: ProcessFilterCloudService) {
}
get filterProperties(): string[] {
return this.appConfigService.get(
'adf-edit-process-filter.filterProperties',
['status', 'sort', 'order', 'processName']
);
}
get sortProperties(): string[] {
return this.appConfigService.get(
'adf-edit-process-filter.sortProperties',
['id', 'name', 'status', 'startDate']
);
}
get actions(): string[] {
return this.appConfigService.get(
'adf-edit-process-filter.actions',
['save', 'saveAs', 'delete']
);
}
readQueryParams(obj: Object): ProcessFilterCloudModel {
return this.processFilterCloudService.readQueryParams(obj);
}
writeQueryParams(value: Object, appName?: string, id?: string): Object {
return this.processFilterCloudService.writeQueryParams(value, this.filterProperties, appName, id);
}
}
@@ -24,7 +24,6 @@ import { CloudFormRenderingService } from '@alfresco/adf-process-services-cloud'
@Component({
templateUrl: './start-process-cloud-demo.component.html',
styleUrls: ['./start-process-cloud-demo.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
@@ -33,7 +32,7 @@ export class StartProcessCloudDemoComponent implements OnInit {
appName;
processName: string;
formValues: string;
formValues: any;
variables: any;
constructor(private appConfig: AppConfigService,
@@ -21,8 +21,7 @@ import { NotificationService } from '@alfresco/adf-core';
import { CloudLayoutService } from './services/cloud-layout.service';
@Component({
templateUrl: './start-task-cloud-demo.component.html',
styleUrls: ['./start-task-cloud-demo.component.scss']
templateUrl: './start-task-cloud-demo.component.html'
})
export class StartTaskCloudDemoComponent implements OnInit {
@@ -9,7 +9,8 @@
(cancelClick)="goBack()"
(taskCompleted)="onTaskCompleted()"
(formContentClicked)="onFormContentClicked($event)"
(formSaved)="onFormSaved()">
(formSaved)="onFormSaved()"
(error)="onError($event)">
</adf-cloud-task-form>
</div>
<adf-cloud-task-header #taskHeader fxFlex
@@ -67,4 +67,13 @@ export class TaskDetailsCloudDemoComponent {
onFormSaved() {
this.notificationService.openSnackMessage('Task has been saved successfully');
}
onError({ message: error }: Error) {
let errorMessage;
try {
errorMessage = JSON.parse(error).message || JSON.parse(error).entry?.message;
errorMessage = JSON.parse(errorMessage).message;
} catch {}
this.notificationService.showError(errorMessage || error);
}
}
@@ -37,8 +37,7 @@
(showRowContextMenu)="onShowRowContextMenu($event)"
(executeRowAction)="onExecuteRowAction($event)"
(rowClick)="onRowClick($event)"
(rowsSelected)="onRowsSelected($event)"
#taskCloud>
(rowsSelected)="onRowsSelected($event)">
</adf-cloud-task-list>
<adf-pagination
[target]="taskCloud"
@@ -24,8 +24,7 @@ import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@Component({
templateUrl: 'tasks-cloud-demo.component.html',
styleUrls: ['tasks-cloud-demo.component.scss']
templateUrl: './tasks-cloud-demo.component.html'
})
export class TasksCloudDemoComponent implements OnInit, OnDestroy {
@@ -48,7 +47,7 @@ export class TasksCloudDemoComponent implements OnInit, OnDestroy {
filterId;
multiselect: boolean;
selectedRows: string[] = [];
selectedRows: any[] = [];
actionMenu: boolean;
contextMenu: boolean;
actions: any[] = [];
@@ -125,7 +124,7 @@ export class TasksCloudDemoComponent implements OnInit, OnDestroy {
onRowsSelected(nodes) {
this.resetSelectedRows();
this.selectedRows = nodes.map((node) => node.obj.entry);
this.selectedRows = nodes.map((node) => node.obj);
}
onFilterChange(filter: any) {
@@ -27,7 +27,7 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'app-config-editor',
templateUrl: 'config-editor.component.html',
templateUrl: './config-editor.component.html',
styleUrls: ['./config-editor.component.scss']
})
export class ConfigEditorComponent implements OnDestroy {
@@ -21,8 +21,7 @@ import { ConfirmDialogComponent } from '@alfresco/adf-content-services';
@Component({
selector: 'app-confirm-dialog-example',
templateUrl: 'confirm-dialog-example.component.html',
styleUrls: ['confirm-dialog-example.component.scss']
templateUrl: './confirm-dialog-example.component.html'
})
export class ConfirmDialogExampleComponent {
@@ -16,7 +16,7 @@
*/
import { Component, ViewEncapsulation } from '@angular/core';
import { SitePaging, SiteEntry, MinimalNodeEntryEntity } from '@alfresco/js-api';
import { SitePaging, SiteEntry, MinimalNodeEntryEntity, Node } from '@alfresco/js-api';
import { ContentNodeDialogService, ShareDataRow, RowFilter } from '@alfresco/adf-content-services';
import { ThumbnailService } from '@alfresco/adf-core';
@@ -99,8 +99,8 @@ export class ContentNodeSelectorComponent {
return this.thumbnailService.getMimeTypeIcon('video/quicktime');
}
onNodeSelect(node: MinimalNodeEntryEntity) {
this.validSelection = !!node;
onNodeSelect(selection: Node[]) {
this.validSelection = !!selection;
}
customIsValidFunction(entry: MinimalNodeEntryEntity): boolean {
@@ -33,6 +33,9 @@
<data-column type="text" key="users" title="Users"></data-column>
<data-column key="status" title="Status">
<ng-template let-value="value">{{value | json }}</ng-template>
<adf-data-column-header>
<ng-template>STATUS</ng-template>
</adf-data-column-header>
</data-column>
</data-columns>
-->
@@ -1,8 +1,8 @@
<h1>DataTable Drag and Drop Demo</h1>
<div data-automation-id="datatable"
(header-dragover)="onDragOver($event)"
(header-drop)="onDrop($event)"
(header-drop)="onDrop($any($event))"
(cell-dragover)="onDragOver($event)"
(cell-drop)="onDrop($event)">
(cell-drop)="onDrop($any($event))">
<adf-datatable [data]="data"></adf-datatable>
</div>
@@ -88,7 +88,7 @@ export class DataTableDnDComponent implements OnInit {
this.data.setSorting(new DataSorting('id', 'asc'));
}
onDragOver(event: CustomEvent) {
onDragOver(event: Event) {
event.preventDefault();
}
@@ -44,6 +44,9 @@ export class NameColumnComponent implements OnInit, OnDestroy {
@Input()
context: any;
@Input()
key = 'name';
displayText$ = new BehaviorSubject<string>('');
node: NodeEntry;
@@ -73,7 +76,8 @@ export class NameColumnComponent implements OnInit, OnDestroy {
this.node = this.context.row.node;
if (this.node && this.node.entry) {
this.displayText$.next(this.node.entry.name || this.node.entry.id);
const displayText = this.context.row.getValue(this.key);
this.displayText$.next(displayText || this.node.entry.id);
}
}
@@ -17,14 +17,14 @@
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 { ContentService, AllowableOperationsEnum, PermissionsEnum, NodesApiService, FileUploadErrorEvent } from '@alfresco/adf-core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { PreviewService } from '../../services/preview.service';
@Component({
selector: 'app-file-view',
templateUrl: 'file-view.component.html',
styleUrls: ['file-view.component.scss'],
templateUrl: './file-view.component.html',
styleUrls: ['./file-view.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class FileViewComponent implements OnInit {
@@ -103,7 +103,8 @@ export class FileViewComponent implements OnInit {
this.router.navigateByUrl(primaryUrl);
}
onUploadError(errorMessage: string) {
onUploadError(event: FileUploadErrorEvent) {
const errorMessage = event.error;
this.snackBar.open(errorMessage, '', { duration: 4000 });
}
@@ -20,7 +20,7 @@ import { DocumentListComponent } from '@alfresco/adf-content-services';
@Component({
selector: 'app-custom-sources',
templateUrl: 'custom-sources.component.html'
templateUrl: './custom-sources.component.html'
})
export class CustomSourcesComponent {
@@ -14,7 +14,7 @@
locationFormat="/files"
[display]="'gallery'"
[preselectNodes]="selectedNodes"
[showHeader]="false"
[showHeader]="noHeaderMode"
[maxItems]="5"
(preview)="showFile($event)"
selectionMode="null">
@@ -117,7 +117,7 @@
<button mat-icon-button
data-automation-id="delete-toolbar-button"
adf-check-allowable-operation="delete"
permanent=true
[permanent]="true"
[adf-nodes]="documentList.selection"
title="{{ 'DOCUMENT_LIST.TOOLBAR.DELETE' | translate }}"
(delete)="onDeleteActionSuccess($event)"
@@ -156,7 +156,7 @@
</button>
<mat-menu #themePicker="matMenu">
<button mat-menu-item (click)="toolbarColor = 'default'">Default</button>
<button mat-menu-item (click)="toolbarColor = null">Default</button>
<button mat-menu-item (click)="toolbarColor = 'primary'">Primary</button>
<button mat-menu-item (click)="toolbarColor = 'accent'">Accent</button>
<button mat-menu-item (click)="toolbarColor = 'warn'">Warn</button>
@@ -239,7 +239,7 @@
(preview)="showFile($event)"
(folderChange)="onFolderChange($event)"
(permissionError)="handlePermissionError($event)"
(name-click)="documentList.onNodeDblClick($event.detail?.node)"
(name-click)="documentList.onNodeDblClick($any($event).detail?.node)"
(filterSelection)="onFilterSelected($event)">
<adf-custom-no-permission-template *ngIf="enableCustomPermissionMessage">
@@ -266,7 +266,7 @@
title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}"
[formatTooltip]="getNodeNameTooltip">
<ng-template let-context>
<adf-name-column [context]="context"></adf-name-column>
<adf-name-column key="name" [context]="context"></adf-name-column>
</ng-template>
</data-column>
<data-column
@@ -410,7 +410,7 @@
(execute)="onManageMetadata($event)">
</content-action>
<content-action
icon="settings_input_component"
icon="supervisor_account"
title="DOCUMENT_LIST.ACTIONS.PERMISSION"
permission="copy"
(error)="onContentActionError($event)"
@@ -437,6 +437,12 @@
handler="lock"
title="DOCUMENT_LIST.ACTIONS.LOCK">
</content-action>
<content-action
icon="beach_access"
target="document"
title="DOCUMENT_LIST.ACTIONS.ASPECTS"
(execute)="onAspectUpdate($event)">
</content-action>
</content-actions>
</adf-document-list>
</div>
@@ -642,7 +648,7 @@
<form class="example-form">
<mat-form-field *ngIf="preselectNodes" class="adf-preselect-nodes-input">
<input matInput
(input)="setPreselectNodes($event.target?.value)"
(input)="setPreselectNodes($any($event).target?.value)"
placeholder="NodeEntry[] => [{ entry: { isFile: true, id: 'node-id' }}, { entry: { isFile: true, id: 'node-id' }} ]">
</mat-form-field>
</form>
@@ -715,5 +721,3 @@
</mat-form-field>
</div>
</div>
<adf-file-uploading-dialog #fileDialog (error)="openSnackMessageError($event)"></adf-file-uploading-dialog>
@@ -3,7 +3,7 @@
margin: 10px !important;
}
@media screen and ($mat-xsmall) {
@media screen and (max-width: 599px) {
.app-container {
margin: 0;
}
@@ -26,7 +26,8 @@ import {
PaginationComponent, FormValues, DisplayMode, ShowHeaderMode, InfinitePaginationComponent,
SharedLinksApiService,
FormRenderingService,
FileUploadEvent
FileUploadEvent,
NodesApiService
} from '@alfresco/adf-core';
import {
@@ -36,7 +37,8 @@ import {
ConfirmDialogComponent,
LibraryDialogComponent,
ContentMetadataService,
FilterSearch
FilterSearch,
AspectListService
} from '@alfresco/adf-content-services';
import { SelectAppsDialogComponent, ProcessFormRenderingService } from '@alfresco/adf-process-services';
@@ -46,13 +48,13 @@ import { MetadataDialogAdapterComponent } from './metadata-dialog-adapter.compon
import { Subject } from 'rxjs';
import { PreviewService } from '../../services/preview.service';
import { takeUntil, debounceTime, scan } from 'rxjs/operators';
import { ThemePalette } from '@angular/material/core';
const DEFAULT_FOLDER_TO_SHOW = '-my-';
@Component({
selector: 'app-files-component',
templateUrl: './files.component.html',
styleUrls: ['./files.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
]
@@ -73,7 +75,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
this.appConfig.get<string>(AppConfigValues.BASESHAREURL) ||
this.appConfig.get<string>(AppConfigValues.ECMHOST)) + '/preview/s/';
toolbarColor = 'default';
toolbarColor: ThemePalette;
selectionModes = [
{ value: 'none', viewValue: 'None' },
@@ -93,7 +95,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
sorting = ['name', 'ASC'];
@Input()
sortingMode = 'server';
sortingMode: 'server' | 'client' = 'server';
@Input()
showRecentFiles = true;
@@ -105,7 +107,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
showSettingsPanel = true;
@Input()
showHeader: string = ShowHeaderMode.Always;
showHeader = ShowHeaderMode.Always;
@Input()
selectionMode = 'multiple';
@@ -206,7 +208,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
preselectNodes: boolean;
warnOnMultipleUploads = false;
thumbnails = false;
noHeaderMode = ShowHeaderMode.Never;
enableCustomPermissionMessage = false;
enableMediumTimeFormat = false;
displayEmptyMetadata = false;
@@ -228,7 +230,9 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
public authenticationService: AuthenticationService,
public alfrescoApiService: AlfrescoApiService,
private contentMetadataService: ContentMetadataService,
private sharedLinksApiService: SharedLinksApiService) {
private sharedLinksApiService: SharedLinksApiService,
private aspectListService: AspectListService,
private nodeService: NodesApiService) {
}
showFile(event) {
@@ -401,8 +405,8 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
});
}
openSnackMessageError(message: string) {
this.notificationService.showError(message);
openSnackMessageError(error: any) {
this.notificationService.showError(error.value || error);
}
openSnackMessageInfo(message: string) {
@@ -467,6 +471,14 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
}
onAspectUpdate(event: any) {
this.aspectListService.openAspectListDialog(event.value.entry.id).subscribe((aspectList) => {
this.nodeService.updateNode(event.value.entry.id, {aspectNames : [...aspectList]}).subscribe(() => {
this.openSnackMessageInfo('Node Aspects Updated');
});
});
}
onManageMetadata(event: any) {
const contentEntry = event.value.entry;
const displayEmptyMetadata = this.displayEmptyMetadata;
@@ -20,6 +20,7 @@ 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';
import { FileUploadErrorEvent } from '@alfresco/adf-core';
@Component({
templateUrl: './version-manager-dialog-adapter.component.html',
@@ -45,8 +46,9 @@ export class VersionManagerDialogAdapterComponent {
this.allowDownload = data.hasOwnProperty('allowDownload') ? data.allowDownload : this.allowDownload;
}
uploadError(errorMessage: string) {
this.snackBar.open(errorMessage, '', {duration: 4000});
uploadError(event: FileUploadErrorEvent) {
const errorMessage = event.error;
this.snackBar.open(errorMessage, '', { duration: 4000 });
}
close() {
@@ -58,7 +60,7 @@ export class VersionManagerDialogAdapterComponent {
this.close();
}
hideVersionComparison(isCancelled: boolean | Node) {
hideVersionComparison(isCancelled: any) {
if (isCancelled) {
this.showVersionComparison = false;
this.newFileVersion = null;
@@ -1,4 +1,4 @@
<adf-form-list [forms]="formList" (row-dblclick)="onRowDblClick($event)">
<adf-form-list [forms]="formList" (row-dblclick)="onRowDblClick($any($event))">
</adf-form-list>
<div class="app-form-container" *ngIf="!isEmptyForm()">
<adf-form #adfForm [form]="form" [data]="restoredData" [showValidationIcon]="showValidationIcon">
@@ -23,8 +23,8 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'app-form-list',
templateUrl: 'form-list.component.html',
styleUrls: ['form-list.component.scss']
templateUrl: './form-list.component.html',
styleUrls: ['./form-list.component.scss']
})
export class FormListComponent implements OnInit, OnDestroy {
@@ -60,7 +60,7 @@ export class FormListComponent implements OnInit, OnDestroy {
this.onDestroy$.complete();
}
onRowDblClick(event: CustomEvent) {
onRowDblClick(event: CustomEvent<any>) {
const rowForm = event.detail.value.obj;
this.formService.getFormDefinitionById(rowForm.id).subscribe((formModel) => {
@@ -29,8 +29,8 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'app-form-loading',
templateUrl: 'form-loading.component.html',
styleUrls: ['form-loading.component.scss'],
templateUrl: './form-loading.component.html',
styleUrls: ['./form-loading.component.scss'],
providers: [{ provide: FormService, useClass: FakeFormService }]
})
export class FormLoadingComponent implements OnInit, OnDestroy {
@@ -24,8 +24,8 @@ import { takeUntil } from 'rxjs/operators';
@Component({
selector: 'app-form',
templateUrl: 'form.component.html',
styleUrls: ['form.component.scss'],
templateUrl: './form.component.html',
styleUrls: ['./form.component.scss'],
providers: [
{ provide: FormService, useClass: InMemoryFormService },
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
@@ -7,13 +7,13 @@
<div>
<label>Choose header color</label>
<select (change)="changeColor($event.target.value)">
<select (change)="changeColor($any($event).target.value)">
<option value="primary">Primary</option>
<option value="accent">Accent</option>
<option value="warn">Warn</option>
</select>
OR
<input type="text" name="color" (keyup.enter)="changeColor($event.target.value)"
<input type="text" name="color" (keyup.enter)="changeColor($any($event).target.value)"
placeholder="hex color code">
<p>*Choose only one value at a time: either hex code or theme color.</p>
<p>*press enter for submitting new hex color</p>
@@ -21,27 +21,27 @@
<div>
<label>Change title</label>
<input type="text" name="title" (keyup.enter)="submitTitle($event.target.value)"
<input type="text" name="title" (keyup.enter)="submitTitle($any($event).target.value)"
placeholder="{{ 'APP_LAYOUT.APP_NAME' | translate}}">
<p>*press enter for submitting new title</p>
</div>
<div>
<label>Change logo</label>
<input type="text" placeholder="URL path" (keyup.enter)="submitLogo($event.target.value)">
<input type="text" placeholder="URL path" (keyup.enter)="submitLogo($any($event).target.value)">
<p>*press enter for submitting new logo</p>
</div>
<div>
<label>Change logo link</label>
<input type="url" placeholder="Redirect URL" (keyup.enter)="submitRedirectUrl($event.target.value)">
<input type="url" placeholder="Redirect URL" (keyup.enter)="submitRedirectUrl($any($event).target.value)">
<p>*Input JSON friendly array or explicit string. E.g. ["/test", 33, "user", 11] or "/test"</p>
<p>*press enter for submitting new link on logo</p>
</div>
<div>
<label>Change logo tooltip</label>
<input type="text" placeholder="Tooltip text" (keyup.enter)="submitTooltip($event.target.value)">
<input type="text" placeholder="Tooltip text" (keyup.enter)="submitTooltip($any($event).target.value)">
<p>*press enter for submitting new tooltip</p>
</div>
@@ -16,6 +16,7 @@
*/
import { Component } from '@angular/core';
import { ThemePalette } from '@angular/material/core';
import { HeaderDataService } from './header-data.service';
@Component({
@@ -24,7 +25,7 @@ import { HeaderDataService } from './header-data.service';
})
export class HeaderDataComponent {
checkbox = true;
position = 'start';
position: 'start' | 'end' = 'start';
hideSidenavToggle = false;
constructor(private headerService: HeaderDataService) {
@@ -34,7 +35,7 @@ export class HeaderDataComponent {
this.headerService.hideMenuButton();
}
changeColor(color: string) {
changeColor(color: ThemePalette) {
this.headerService.changeColor(color);
}
@@ -16,6 +16,7 @@
*/
import { Injectable, Output, EventEmitter } from '@angular/core';
import { ThemePalette } from '@angular/material/core';
@Injectable({
providedIn: 'root'
@@ -26,12 +27,12 @@ export class HeaderDataService {
show = true;
@Output() hideMenu = new EventEmitter<boolean>();
@Output() color = new EventEmitter<string>();
@Output() color = new EventEmitter<ThemePalette>();
@Output() title = new EventEmitter<string>();
@Output() logo = new EventEmitter<string>();
@Output() redirectUrl = new EventEmitter<string | any[]>();
@Output() tooltip = new EventEmitter<string>();
@Output() position = new EventEmitter<string>();
@Output() position = new EventEmitter<'start' | 'end'>();
@Output() hideSidenav = new EventEmitter<boolean>();
hideMenuButton() {
@@ -39,7 +40,7 @@ export class HeaderDataService {
this.hideMenu.emit(this.show);
}
changeColor(color: string) {
changeColor(color: ThemePalette) {
this.color.emit(color);
}
@@ -60,7 +61,7 @@ export class HeaderDataService {
this.tooltip.emit(tooltip);
}
changePosition(position: string) {
changePosition(position: 'start' | 'end') {
this.position.emit(position);
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Text ze zdrojů s opožděnými součástmi"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Tekst fra dovne komponentressourcer"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Text aus Lazy-Komponentenressourcen"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Teksti lazy-komponenttiresursseista"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Texte de ressources composant lazy"
"TEXT": "Texte des ressources du composant lazy"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Testo risorse componenti lazy"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Lazy コンポーネントリソースのテキスト"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Tekst van vertraagde componentresources"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Tekst dotyczący elementów zasobów z opóźnieniem"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Texto de recursos de componente lento"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Текст из ресурсов отложенного компонента"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "Text från lata komponentresurser"
}
}
@@ -1,5 +1,5 @@
{
"LAZY": {
"TEXT": "Text from lazy component resources"
"TEXT": "来自惰性组件资源的文本"
}
}
@@ -26,7 +26,7 @@
display: none;
}
@media screen and ($mat-small) {
@media screen and (max-width: 959px) {
.app-settings, .app-setting-button.mat-fab.mat-accent {
display: none;
}
@@ -21,8 +21,7 @@ import { LogService } from '@alfresco/adf-core';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.scss']
templateUrl: './login.component.html'
})
export class LoginComponent {
@@ -18,7 +18,7 @@
import { Component, Input } from '@angular/core';
@Component({
templateUrl: 'overlay-viewer.component.html'
templateUrl: './overlay-viewer.component.html'
})
export class OverlayViewerComponent {
@@ -1,18 +1,3 @@
<div class="app-inherit_permission_button">
<button mat-raised-button
[color]="toggleStatus?'accent':'primary'"
adf-inherit-permission [nodeId]="nodeId"
(error)="showErrorMessage($event)"
(updated)="onUpdatedPermissions($event)">
{{ (toggleStatus?'DEMO_PERMISSION.INHERITED_PERMISSIONS_BUTTON':'DEMO_PERMISSION.INHERIT_PERMISSION_BUTTON') | translate}}</button>
<button mat-button color="primary" (click)="openAddPermissionDialog()" data-automation-id="adf-add-permission-button">Add User or Group</button>
<div class="app-permission-section">
<adf-permission-list [nodeId]="nodeId"></adf-permission-list>
</div>
<div>
<adf-permission-list #permissionList
[nodeId]="nodeId"
(update)="reloadList()"
(error)="showErrorMessage($event)">
</adf-permission-list>
</div>
@@ -1,6 +1,4 @@
.app-inherit_permission_button {
padding-top: 20px;
display: flex;
justify-content: center;
padding-bottom: 20px;
.app-permission-section {
box-sizing: border-box;
height: 100%;
}
@@ -15,11 +15,8 @@
* limitations under the License.
*/
import { Component, Optional, OnInit, ViewChild } from '@angular/core';
import { Component, OnInit, Optional } from '@angular/core';
import { ActivatedRoute, Params } from '@angular/router';
import { PermissionListComponent, NodePermissionDialogService } from '@alfresco/adf-content-services';
import { MinimalNodeEntryEntity } from '@alfresco/js-api';
import { NodesApiService, NotificationService } from '@alfresco/adf-core';
@Component({
selector: 'app-permissions',
@@ -28,16 +25,9 @@ import { NodesApiService, NotificationService } from '@alfresco/adf-core';
})
export class DemoPermissionComponent implements OnInit {
@ViewChild('permissionList', { static: true })
displayPermissionComponent: PermissionListComponent;
nodeId: string;
toggleStatus = false;
constructor(@Optional() private route: ActivatedRoute,
private nodeService: NodesApiService,
private nodePermissionDialogService: NodePermissionDialogService,
private notificationService: NotificationService) {
constructor(@Optional() private route: ActivatedRoute) {
}
ngOnInit() {
@@ -48,34 +38,5 @@ export class DemoPermissionComponent implements OnInit {
}
});
}
this.nodeService
.getNode(this.nodeId, {include: ['permissions'] })
.subscribe( (currentNode: MinimalNodeEntryEntity) => {
this.toggleStatus = currentNode.permissions?.isInheritanceEnabled ?? false;
});
}
onUpdatedPermissions(node: MinimalNodeEntryEntity) {
this.toggleStatus = node.permissions?.isInheritanceEnabled ?? false;
this.displayPermissionComponent.reload();
}
reloadList() {
this.displayPermissionComponent.reload();
}
openAddPermissionDialog() {
this.nodePermissionDialogService
.updateNodePermissionByDialog(this.nodeId)
.subscribe(
() => this.displayPermissionComponent.reload(),
(error) => this.showErrorMessage(error)
);
}
showErrorMessage(error) {
const message = error.message ? error.message : error;
this.notificationService.openSnackMessage(message);
}
}
@@ -21,7 +21,7 @@ import { AppConfigService } from '@alfresco/adf-core';
@Component({
selector: 'app-pipes-page',
templateUrl: './pipes.component.html',
styleUrls: ['pipes.component.scss']
styleUrls: ['./pipes.component.scss']
})
export class PipesComponent {
@@ -148,31 +148,35 @@ export class ProcessListDemoComponent implements OnInit, OnDestroy {
return ended ? 'Completed' : 'Active';
}
get processAppId(): AbstractControl {
return this.processListForm.get('processAppId');
private getControl<T extends AbstractControl>(key: string): T {
return this.processListForm.get(key) as T;
}
get processDefinitionId(): AbstractControl {
return this.processListForm.get('processDefinitionId');
get processAppId(): FormControl {
return this.getControl<FormControl>('processAppId');
}
get processInstanceId(): AbstractControl {
return this.processListForm.get('processInstanceId');
get processDefinitionId(): FormControl {
return this.getControl<FormControl>('processDefinitionId');
}
get processState(): AbstractControl {
return this.processListForm.get('processState');
get processInstanceId(): FormControl {
return this.getControl<FormControl>('processInstanceId');
}
get processSort(): AbstractControl {
return this.processListForm.get('processSort');
get processState(): FormControl {
return this.getControl<FormControl>('processState');
}
get processSize(): AbstractControl {
return this.processListForm.get('processSize');
get processSort(): FormControl {
return this.getControl<FormControl>('processSort');
}
get processPage(): AbstractControl {
return this.processListForm.get('processPage');
get processSize(): FormControl {
return this.getControl<FormControl>('processSize');
}
get processPage(): FormControl {
return this.getControl<FormControl>('processPage');
}
}
@@ -53,7 +53,7 @@
(rowClick)="onTaskRowClick($event)"
(success)="onSuccessTaskList()"
(row-click)="onRowClick($event)"
(row-dblclick)="onTaskRowDblClick($event)"
(row-dblclick)="onTaskRowDblClick($any($event))"
[multiselect]="multiSelectTask"
#taskList>
<!-- Custom column definition demo -->
@@ -168,7 +168,7 @@
[showContextMenu]="processContextMenu"
(showRowContextMenu)="onShowProcessRowContextMenu($event)"
(rowClick)="onProcessRowClick($event)"
(row-dblclick)="onProcessRowDblClick($event)"
(row-dblclick)="onProcessRowDblClick($any($event))"
[multiselect]="multiSelectProcess"
(success)="onSuccessProcessList()">
<!-- Custom column definition demo -->

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