Compare commits

..
751 Commits
Author SHA1 Message Date
Eugenio Romano c96f57d1c6 bump 4.0.0 2020-08-18 11:41:49 +01:00
Eugenio Romano 16998924f5 bump dependencies 4.0.0 2020-08-18 11:12:28 +01:00
Denys Vuika d355f76499 drag and drop improvements (copy effect) (#6019)
* drag and drop fixes (copy effect)

* fix tests

* update tests

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

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

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

* Update protractor.excludes.json

* Update nx.json

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-15 02:18:55 +01:00
davidcanonieto 5850f4c929 [ADF-5218] Fix custom stencil usage on Start Process Form (#5999)
* [ADF-5218] Fix custom stencil usage on Start Process Form

* Fix e2e test

* Fix task form provider

* Fix people tests

* Add docs

* Update stencil docs

* Remove outdated docs

* Update task details component
2020-08-14 20:45:07 +01:00
dhrn f5378a61ff [ADF-5165][Form] Save button is not displayed for Involved task (#6005) 2020-08-14 16:50:02 +01:00
Francesco CortiandEugenio Romano 466b309cd8 Draft of the release note for ADF 4.0.0. (#5992)
* Release note for 4.0.0.

* Added items to the release note for 4.0.0.

* Added items to the release note for 4.0.0.

* Updated the compatibikity matrix for 4.0.0.

* Update RelNote400.md

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

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

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

* Update search-widget-container.component.ts

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

* update tests

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

* *

* * Fixed failing unit tests

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

* Remove not needed if-else statement

* Fix comments

* Fix type definition error while bulding

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

* Update form-field.model.ts

* Update form-field.model.ts

* fix empty value scenario

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

* * Removed snackBar
* Removed unwanted Unit test

* * Added unit tests to the recent changes

* Remove unused import

* Exclude a test that will be fixed on different PR

* * Removed breadcrumb restriction on content source type

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

* Revert exclude  e2e  test

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

* fix code and tests

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

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

* Fix import

* Fix import

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

* AAE-3084 Fix rebasing issues

* AAE-3084 Fix behaviour on empty dropdown

* Update en.json

* AAE-3084 Fix en.json

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

* include theme

* add filter input

* show input conditionally

* convert value to string for d:int type values

* filter list options pipe

* add components to module

* convert int value to string

* i18n

* update tests

* tests

* update config

* remove unneeded decorator

* fix lint

* update schema

* remove filter pipe

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

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

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

* cleanup groups service

* get awailable role mappings

* cleanup tests and mocks

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

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

* Exclude this test until the simpleapp zip is merged

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

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

* Exclude test

* no message

* Change hruser to new user

* Use hruser

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

* Added unit tests

* Updated unit tests

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

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

* Updated docs
2020-08-03 11:52:18 +01:00
85183ead0d [ACA-3542] - added sorting for filters (#5932)
* [ACA-3542] - added sorting for filters

* [ACA-3542] - removed wrong parameter

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

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

* fix e2e

* fix delete site

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-08-03 10:30:14 +01:00
Silviu PopaandSilviu Popa bfbb66ea8e [ACA-3727] - Process Filters add possibility to hide process filter name (#5938)
* [ACA-3727] - Process Filters add possibility to hide process filter name

* update documentation

* remove unnecesary changes in doc

* update doc

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

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

* no message

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

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

Co-authored-by: Petruta Bogdana Patrichi <petrutabogdana@gmail.com>
2020-07-31 09:34:30 +01:00
siva kumar b8a3afce01 [ACA-3551] Show vs View button for attach widget. (#5850) 2020-07-31 10:31:12 +02:00
d553c71b1e [AAE-3110] Move upload button inside the node selector dialog (#5901)
* Open select dialog on all types, fetch destination folder from a relative path

* Dialog UI refactor, multiple upload from local

* Fix document list should automatically reload after upload

* Remove not used ViewChild

* Fix imports, read destination folder from form field

* support different alias

* Remove not needed property, reuse selection mode

* Remove unused methods

* Fix unit tests

* * Added unit tests
* Fixed failing unit tests

* * Added unit for upload button
* Skipped failing e2e

* * Removed process-storage related code

* * Removed unncessory model and code
*

* * Removed contentHost from formCloud model

* * Skiped content-services e2e

* Skip failing process e2e related to attachment

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-07-31 06:38:58 +01:00
davidcanonieto 1e692252a5 [AAE-612] Support for Form Outcome Visibility Conditions (#5934) 2020-07-30 17:05:10 +01:00
Denys Vuika 0afbe36787 remove unused ID and fix the duplicate warning (#5933) 2020-07-30 16:51:04 +01:00
Mercy Chrysolite ff9d29affb [ACA-3687] Implement Process definition name filter dropdown in Process List (#5935)
* Made processDefinitionName optional
2020-07-30 16:49:55 +01:00
Petruta Bogdana PatrichiandPetruta Bogdana Patrichi e987fba5af [ACA-3731] E2E test to validate Save, Save as and Delete buttons availability on custom filters (#5929)
* [ACA-3731] E2E test to validate Save, Save as and Delete buttons availability on custom filters
* Add createNewCustomFilter() method in edit-task-filters-component.e2e.ts

* * Added the return type promise

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

* remove old comment

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

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

* Updated docs

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

* title form control

* i18n

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

* Add unit test for breadcrumbs restriction

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

* Refactor ADF tests to use ProcessInstanceHeaderPage

* Fix lint

* Fix card-view-date-item PO

* Add task-header PO

* no message

* Add set and get for due date property

* Changed how it was previously

* Exclude attach folder and attach file tests

* Bugs already fixed, remove excludes

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

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

* reset errors when reset value

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

* fixing the wrong parameter passing

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

* fixing the wrong parameter passing

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

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

* fixing the wrong parameter passing

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

* add unit tesT

* add task header spinner

* update documentation

* fix unit test

* change expect

* add another check

* replace expect condition

* additional expect

* use ToBeTruthy

* simplify expect

* add unit tesT

* add task header spinner

* fix unit test

* change expect

* add another check

* additional expect

* use ToBeTruthy

* simplify expect

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

* Added unit test

* Added types for params

* Updated e2e

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

* Added unit tests

* Added param types

* Updated e2e

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

* card match value validator

* card value length validator

* map validators to constraint type

* add minmax

* update exported validators

* register validators based on constraint type

* translate errors with parameters

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

* Fix unit test

* Rename event into NodeSelected

* restrict the typo

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

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2020-07-24 10:12:51 +01:00
dhrn 5a820cbecd [ACA-3765] [ADF] move reusable versioning logic (#5906) 2020-07-24 09:27:02 +01:00
dhrn a2a2f8c93c Update package.json (#5905) 2020-07-23 15:08:50 +01:00
VitoandVito Albano 30c5c58d40 [ACA-3672] - added server order for document -list (#5899)
* [ACA-3672] - added sorting server side for document-list

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

* [ACA-3672] - fixed failing test

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

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-07-23 14:04:05 +01:00
a5972e753a [ACA-3492] ADF - Expose new Groups Endpoints (#5893)
* [ACA-3492] ADF - Expose new Groups Endpoints

* * docs added

* * fix ut

* unit test split cloud

* Update data-table-component.page.ts

* unit test split cloud

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-22 11:20:07 +01:00
Eugenio Romano 7b1da04f77 Update login.page.ts
remove duplicate log [skip ci]
2020-07-22 09:27:57 +01:00
Cilibiu Bogdan 5257917258 [ADF-3484] - Metadata drop-down list option for properties constrained by a list of values (#5892)
* update js-api

* include definition field

* process LIST constraint

* update tests

* dropdown visibility

* optional chaining
2020-07-21 22:46:46 +01:00
Maurizio Vitale 826bd32e60 [AAE-3114] Ability to restrict search to a root folder (#5890)
* Ability to restrict the search to a specific root in case there is no site concept

* Add unit test

* Initialize the siteId with root

* Fix unit test

* Reuse existing property and add boolean

* add new line before extect

* Rename to restrictSearchToCurrentFolderId

* Typo

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

* Add log and some fixes for scripts

* fix scripts e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-07-21 01:59:32 +01:00
3b7f3a5762 [ACA-3506] - Filter are kept when reloaded (#5885)
* [ADF] - saving in the url the filter values

* Fixed filter status on refresh

* Fixed filter status on refresh

* [ACA-3506] - added url filtering save

* [ACA-3506] - fixed spellcheck

* improve log

* more log

* fix scripts

* Added documentation for allowUpdateOnChange setting

* Added default value in description for docs

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-07-20 11:39:51 +01:00
Eugenio Romano 44c5472fa2 fix build testing 2020-07-18 22:54:19 +01:00
Eugenio Romano 6358f4b318 fix build 2020-07-18 22:08:09 +01:00
Eugenio Romano c31efa85af fix build 2020-07-18 00:45:42 +01:00
Eugenio Romano 746d9fa696 fix build 2020-07-18 00:04:33 +01:00
Eugenio Romano 59c2cb7df6 use nx 2020-07-17 15:59:03 +01:00
Eugenio Romano f75151d6c6 move scripts check env in cli (#5889)
* move scripts check env in cli

* rmeove logs dep

* move scripts check env in cli

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

* upgrade nx workspace

* remove useless async

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

* Change pages structure

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

* move more pages

* change testing pkg

* better JSON import

* update script

* move CLOUD in the right place

* some logs and not used methods

* retrycout

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-16 22:22:22 +01:00
Denys Vuika 33965d0a41 fix pagination issues (#5881)
* fix pagination issues

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

* Export Task Util class

* Update Task Util

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

* upgrade angular

* upgrade libs

* disable old polyfills

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

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

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

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

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

* Update app.config.json

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

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

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

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

* * tenant added

* * improved logic

* fix circular deps error and warns

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

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

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

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

* Added unit tests

* Fixed lint

* Updated constant prefix

* Added retention of sorting when ItemsPerPage changes

* Removed unwanted changes check; Renamed sortInput

* Updated unit tests

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

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

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

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

* [ADF-5175] - removed wrong attempt

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

* fix lib versions

* remove unused lib

* upgrade rxjs
2020-07-03 18:08:37 +01:00
Denys Vuika 93d5dcbc30 restore commented out scripts 2020-07-03 16:28:44 +01:00
Denys Vuika 3f49a96c2c update the release command 2020-07-03 15:26:12 +01:00
maurizio vitale b8418e6e07 Print the output in dev null and add logs 2020-07-03 14:43:16 +01:00
cd2b489100 [ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

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

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
Eugenio Romano 2f0a585273 fix children project 2020-07-03 11:53:03 +01:00
siva kumar 14ce05c799 [ACA-3548] Convert Start Process manual cases to unit tests (#5832) 2020-07-02 11:38:27 +01:00
Pablo Martinez Garcia 90133b3bef [AAE-2972] Add password visibility to login sso page (#5830)
* AAE-2972 Add password visibility to login sso page

* AAE-2972 Remove unuseful checks

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

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

* fix unit test

* fix unit test

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

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

* fix

* provide

* fix

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

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

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

* Release note for 3.9.0.

* release notes and documentation

* fix

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

* reverting wrong auto indent

* fix case name of the unit test

* fix auto indent

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

* Remove update form loop causing overwriting of the form values

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

* missing var

* remove delete because there is already delete site

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

* Update version-compatibility.directive.ts

* Update version-compatibility.directive.ts

* Change name from ecm to acs

* Fix unit tests

* Update docs for Version directive

* Fix unit tests

* Fix unit tests

* Linting

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

* Fix Ecm Service initialization

* Fix unit test

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

* [ACA-3426] Get tooltip translation from member

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

* * Added unit test to the recent changes

* * Updated unit test
* Fixed comment

* * Updated doc

* * Revered claim changes

* * Fixed comments

* * Added unit tests to the recent changes

* * Removed errorModel
2020-06-22 11:59:07 +01:00
29d953e2d1 ACA-3426 - Search Headers for Document List (#5800)
* [ACA-3426] Move filter-menu inside search and renamed as search-header

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

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

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

* [ACA-3409] NodePaging ouputed to the DL

* [ACA-3426] - fixed injection for service

* Dev baptiste aca 3430 (#5773)

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

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

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

* [ACA-3426] - added parent for service

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

* [ACA-3426] Revert update EventEmitter inside DL

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

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

* [ACA-3426] Remove useless update exposition

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

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

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

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

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

* [ACA-3426] - added simplified config version

* [ACA-3426] - enabling created by filter

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

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

* [ACA-3426] Changed showHedaer default to always

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

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

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

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

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

* [ACA-3426] - fixed search fitler behavour

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

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

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

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

* Update search-header.component.md

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-22 09:24:57 +01:00
dhrn 5a0ba6666d [ACA-3474] [Info Drawer] Error on save (#5791) 2020-06-20 14:56:41 +01:00
davidcanonieto 2baae61cc5 [ADF-5161] Add query token injection for search query builder (#5799)
* [ADF-5161] Add query token injection for search query builder

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

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

* remove exclude and add more log power

* fix

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

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

* fix unit test

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-18 18:00:49 +01:00
Denys Vuika e9350bd297 various code quality fixes (#5792)
* various code quality fixes

* reduce duplicated code

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

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

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

* Add visibility wait in isCompleteFormButtonEnabled method

* Refactor isProcessListDisplayed method

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

* Fix isCompleteFormButtonEnabled and isCancelButtonEnabled methods

* Fix isCompleteFormButtonEnabled method

* Create separate method to check for Complete button visibility

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

* Updated strings to constants; Fixed failing e2e

* fixed lint

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

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

* update doc

* added more tests

* updated docs

* small fixes

* changed with typography

* Update version-comparison.component.md

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

* small fixes

* added export the new component version-comparison

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

* * Added unit tests

* * Added unit tests
* Changed cloud directive names

* * Added/Updated documents

* * Added showReleaseClaim button flag
* Add unit test too

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

* * Fixed unit test

* * Fixed one comment

* * After rebase

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

* don't emit event if the filter is undefined

* fix unit test

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

* [ACA-3348] Add documentation

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

* Change parameter type to fix build

* Fix lint errors

* Move unit test to the correct describe

* Fix lint errors

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

* Add Pipe to process cloud providers

* Update documentation

* Revert demo-shell default process name

* Fix pipe version in documentation

* e2e - select process definition and then type name

* Fix process services e2e

* Align process filters e2e

* Align start-task-form cloud e2e

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

* * Removed errorMessageId

* * Added unit tests to recent changes

* * Added doc

* * fixed comments

* * Used showError notification

* * After rebase

* * Fixed failing e2e

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

* [ACA-3407] Refactor click method

* [ACA-3407] Update Filter Icon style

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

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

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

* fix login

* fix login

* use storage

* fix

* default oauth

* improve share file test and add baseShareUrl init in e2e

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

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

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

* no message

* Make Column abstract again

* Add locators snackbar action

* Unblock Travis

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

* refator login page

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

* fix const

* revert modify

* remove duplicate browser property

* fix build

* fix

* fix

* fix lint

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

* first refactor use js-api

* fix protractor

* refactor test config

* simplify properties
fix namings

* ps cloud simplify
remove unused js files

* id fix

* fix search test
simplify environment var step 1

* fix lint

* first user iteration fix

* fix model

* unify use of apiService

* first step automatic user creation Identity

* refactor creation user content-services

* refactor creation user search

* refactor creation user core

* process service refactoring 1

* process service refactoring 1

* process service refactoring 2

* fix process

* appconfig

* fix process util

* fix gallery

* fix "this" reference issues

* fix incorrect import paths

* fix core

* some fixes

* allign

* fix some test
remove structure folder and move in actions

* fixes

* move folders in the right place

* fix

* fix rebase

* solve build issue

* fix e2e

* change init aae

* order api and some fixes

* fix possible not valid password

* fix some ps test

* replace host port also in objects

* Update app-config.service.ts

* fix process

* fix process test

* process service cloud fix

* fiexs

* modify init script

* fix two test

* remove unused property

* host issue

* not use npx

* fix ps cloud test

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

* update doc

* added more tests

* updated docs

* small fixes

* changed with typography

* Update version-comparison.component.md

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

* small fixes

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

* [ADF-5153] Add flags to control transclusion

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

* Removed one method

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

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

* Add isContextMenuDisplayed method

* Add select row method for process list

* Typo in context-menu class

* Move Context Menu class in core folder

* Add async and await to select process row method

* Remove return from select process row method

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

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

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

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

* add unit test

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

* Fixed lint error

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

* * Removed unwanted css

* * Added unit tests and updated docs

* * Fixed comments

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

* * Fixed failing  unit tests

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

* Set 'text' as default and add rootElement

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

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

* [create preview]

* Update form.component.html

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

* ivy compatible content tests

* ivy compatible process tests

* ivy compatible process cloud tests

* ivy compatible insights tests

* fix content test

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

* [ACA-3326] Make selectRunningFilter method deprecated

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

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

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

* upgrade adf libs

* fix production builds

* ivy-compatible translate module usage

* improved module usage

* upgrade content services module

* fix process services tests

* upgrade process cloud tests

* lint fixes

* update core max size

* fix insights test module

* remove insights lazy loading workaround

* fix insights module exports

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

* cleanup the use of services

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-05-20 16:51:51 +01:00
Urse DanielandEugenio Romano 4cb3a876d9 [ACA-45] Drag and Drop a New Version (#5710)
* added a new input: file

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

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

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

* unit tests for handling dropping a file over another

* added a new input (file type)

* passing a file to adf-version-upload component

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

* added new input as file for new version

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

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

* pass a new dropped file to the dialog

* new message

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

* new emitter for updating a file's version

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

* refactor allowDropFiles

* update docs for drag&drop file into another file

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

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

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-20 11:57:17 +01:00
Eugenio Romano 531d1d7345 fix build cli 2020-05-18 19:20:12 +01:00
Eugenio Romano 6f67c43f8c fix build cli 2020-05-18 18:31:18 +01:00
Eugenio Romano a23f000e53 fix build cli 2020-05-18 18:28:34 +01:00
Alexandra Abrudan 7b823834bc updated resources file with the new added processes & form (#5711) 2020-05-18 15:35:20 +01:00
Denys Vuika 347e64fd91 Pre-Angular upgrade fixes (#5709)
* code fixes

* code fixes

* more code fixes

* even more fixes

* add missing typescript for cli

* rollback info drawer test changes

* use npx for cli commands

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

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

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

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

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

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

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

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

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

* fix missing property description

* Unit test fix

* [AAE-2200] Fix title unit tests

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

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

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

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

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

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

* [create preview]

* [create preview]

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

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

* Update protractor.conf.ts

* Update protractor.conf.ts

* improve some other test

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

* fix lint

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

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

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

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

* [ACA-3245] Revert removing function parameter includeAccounts

* [ACA-3245] Add tenantId as optional

* [ACA-3245] Revert method

* [ACA-3245] Change both parameters to optional

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

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

* * Improved css

* * Fixed wrong css selector

* * Fixed failing unit tests

* * Fixed failing tests
ests

* * FIXED E2E PROCESS-SERVICE TESTS

* * Fixed failing e2e

* * FIxed process-service cloud e2e

* * Removed xpath locator

* * New Filters style

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

* refactor import

* added getSiteMembershipRequests

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

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

* lint

* fix unit test

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

* revert licenses changes

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

* Fix lint

* Fix test

* Fix test

* Wait for snackbar to be closed in the tests

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

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

* run

* uopdate process

* fix unit

* increase timeout

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

* [AAE-2557] - removed trailing whitespaces

* create only if change processes

* [create preview]

* trigger build

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

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

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

* Update notifications-component.e2e.ts

* fix e2e

* fix e2e

* try with interval

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

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

* [create peview]

* [create peview]

* script fix [create preview]

* [create peview]

* change creation preview

* [create peview]

* Update deploy-pr.sh

* [create peview]

* update node and dist

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create preview]

* subfolder issue

* [create preview]

* [create preview]

* [create preview]

* [create preview]

* [create preview]

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

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

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

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

* do not execute command on help

* rewrite 'update-version' command
2020-05-06 11:18:38 +01:00
Eugenio Romano 2db9fb0aa9 Update compatibility.md 2020-05-05 11:11:25 +01:00
Eugenio Romano 5bc7887cd4 fix update children 2020-05-04 21:18:48 +01:00
Eugenio Romano 672ef3d45d fix pre-publish.sh 2020-05-04 17:46:22 +01:00
Alfresco Build UserandEugenio Romano fa1e691bd2 Update JS-API packages version 3.8.0 (#5670)
* Update JS-API packages version 3.8.0-beta10

* bump 3.8.0

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-04 17:01:54 +01:00
Cilibiu Bogdan 373025c3b4 disable floating labels (#5669) 2020-05-04 16:42:33 +01:00
Cano 1a9259d00f Add content metadata to Release Note 2020-05-04 15:46:01 +01:00
Eugenio Romano 03f0a77e64 improve release note 2020-05-04 15:20:09 +01:00
Eugenio Romano 8346395175 better commit message 2020-05-04 11:34:45 +01:00
davidcanonieto 01c0f53b18 [ADF-5134] REGRESSION - Fix People and Group Components firing twice (#5666) 2020-05-03 12:53:04 +01:00
Eugenio Romano 7734e6dba9 Update start-task-group-cloud.e2e.ts 2020-05-01 19:34:37 +01:00
Eugenio Romano dae4c9b32e remove excluded test C260249 (#5664) 2020-05-01 13:02:31 +01:00
Eugenio Romano fb3ec899ef Update protractor.excludes.json 2020-05-01 12:00:46 +01:00
Eugenio Romano 3d9976ce52 add release reports (#5663) 2020-05-01 11:33:43 +01:00
Gloria Broadbent db7fedcf5e ALL 16 LANGUAGES - fix for LOC-212 - updated localised files for ADF 3.8 (#5662) 2020-05-01 11:23:08 +01:00
dhrnandEugenio Romano 7cc1ba6042 [ADF-5123] C315268 not working correctly (#5643)
* [ADF-5123] C315268 not working correctly

* * improved code

* * fixed process list error

* * fixed process list error

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-01 10:38:45 +01:00
Snyk bot 608abde10e [Snyk] Fix for 1 vulnerabilities (#5661)
* fix: package.json, package-lock.json & .snyk to reduce vulnerabilities


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746

* fix: package.json, package-lock.json & .snyk to reduce vulnerabilities


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746

* fix: package.json, package-lock.json & .snyk to reduce vulnerabilities


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-05-01 09:53:50 +01:00
dhrn 7d2af84a58 [AAE-2505] [PS cloud] Should not allow to start the process if is not created (#5659)
* * fixed bug

* * cherry pick
2020-05-01 09:40:40 +01:00
VitoandEugenio Romano 1430314815 [ACA-3229] - fixed error on start process cloud when all the value a… (#5660)
* [ACA-3229] - fixed error on start process cloud when all the value are selected by default

* Update start-process-cloud.component.ts

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-04-30 22:55:24 +01:00
dependabot[bot] 1b530e3236 Bump jquery from 3.4.1 to 3.5.0 (#5658)
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-30 22:28:01 +01:00
davidcanonieto b77384331f [ADF-5122] Unexclude C309674 test (#5655)
* [ADF-5122] Unexclude C309674 test

* Improve affected libs script to run tests if tests exclussion changed
2020-04-30 14:47:18 +01:00
Eugenio Romano 6fb27aeb32 fix trigger script 2020-04-30 14:43:19 +01:00
davidcanonieto 7627b01bb1 [AAE-2487] Fix Checkbox Widget bug (#5657) 2020-04-30 13:19:33 +01:00
Eugenio Romano 5da20c10cb Update trigger-travis-children.sh 2020-04-30 11:41:27 +01:00
arditdomi f6f41de46f [ACA-3232] Fix console error expression has changed after it has… (#5656)
* [ACA-3232] Fix console error expression has been changed after it has been checked, remove unused method

* [ACA-3232] Remove not needed (this.)
2020-04-30 10:14:38 +01:00
Eugenio Romano 04a29ebc05 APS11 (#5654)
modify e2e for 1.11 APS
2020-04-29 18:20:14 +01:00
Francesco CortiandFrancesco Corti a67db94b25 PRODDEL-3086 - Release note in draft for 3.8.0. (#5652)
Co-authored-by: Francesco Corti <fcorti@MacBook-Pro.local>
2020-04-29 15:32:10 +01:00
dhrn 30dd6168d5 * start process error (#5653) 2020-04-29 15:27:16 +01:00
Vito f76e6a3516 [DW-1530] - created extra method for process definition key set on filters (#5651) 2020-04-29 11:35:03 +01:00
Cristina Jalba 7c0096eaa6 [ACA-3040]Modify some methods of start-process PO (#5650)
* Modify some methods of start-process PO

* Fix tests

* Fix test
2020-04-29 09:18:21 +01:00
Eugenio Romano c0664341a0 fix search string 2020-04-28 22:36:59 +01:00
Eugenio Romano bb17876ac8 fix e2e test after string changes 2020-04-28 19:12:35 +01:00
Eugenio Romano 47d0daaf24 documentation update (#5644)
* documentation update

* fix update children projects
2020-04-28 16:53:07 +01:00
Mark Hulbert d5b18cf4ff [ADF-5132] Review UI strings (#5649) 2020-04-28 16:52:33 +01:00
Eugenio Romano 831979a3f0 update children script 2020-04-28 13:42:11 +01:00
Eugenio Romano 438832d627 update dockerfile generation first step with more recent image 2020-04-28 12:51:43 +01:00
davidcanonieto b6072f806a [ADF-5129][ADF-5130] Fix Lock in Gallery view and Lock Dialog (#5646) 2020-04-28 08:50:06 +01:00
Vito 13e17f8673 [AAE-2456] - added lowercase random string generator for e2e tests (#5645) 2020-04-27 17:18:24 +01:00
Mercy Chrysolite f03592f230 [AAE-2020] Add release version filter for process instances (#5581)
* [AAE-2020] Add release version filter for process instances

* Updated unit tests

* Updated unit test case

* Added translation key
2020-04-27 00:10:48 +01:00
davidcanonietoandEugenio Romano 8f68899ce0 [ADF-4900] Card View and Metadata Components refactoring (#5592)
* [ADF-4900] Card View and Metadata Components refactoring

* CSS linting

* Unit test excluded

* Rebase branch

* Fix unit tests

* Fix linting

* Fix e2e tests

* Fix 2e2 tests

* Fix process-services e2e tests

* More fixes

* Fix more e2e tests

* Fix unit test

* Improve flaky unit test

* Fix process services e2e tests

* Update Process Header Cloud Page

* Fix linting

* Fix timing issue

* Lintintg

* Fix selectors

* Fix e2e tests

* Fix timing issue

* Fix C260328

* Fix spellcheck

* save screenshot

* performance issue

* Fix unit tests and e2e tests

* fix e2e

* refactoring

* fix lint

* fix e2e

* Fix C309698

* fix other e2e

* fix lint

* increase timeout

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-04-27 00:09:52 +01:00
Urse Daniel ebfeb053ce [AAE-2321] Should not be able to start a process with space(s) in the beginning/end of process name (Process Services Cloud) (#5639)
* Changed the validator for process name - added a new regex that restricts having space(s) in the beginning/end of the name.

* Added new error message for whitespace regex.

* 1 new error message for whitespace

* Unit test for whitespace restriction (process name)
2020-04-26 11:14:36 +01:00
Vito 444ebcdfd8 [ACA-1894] - fixed missing behaviour for drag&drop (#5641) 2020-04-24 22:39:44 +01:00
Cilibiu Bogdan 697ce6e365 [MNT-21469] TreeView component has events on icon only (#5637)
* change mat-icon-button with mat-button

* align icon and label

* fix aria-label undefined value

* fix translation

* simplify html structure

* test
2020-04-24 15:08:19 +01:00
Vito d0f58600bc [DW-1669] [ADF-5107]- Added new api call for creating and starting a process in… (#5602)
* [DW-1669] - Added new api call for creating and starting a process instance

* [DW-1669] - fixed linting

* [DW-1669] - fixed process default issue

* [DW-1669] - fixed problem on start process cloud

* [DW-1669] - removed check on valid form as it might interact with the correct behaviour

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast

* [DW-1669] - removed wrong fdescribe

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast
2020-04-24 14:27:31 +01:00
VitoandEugenio Romano 6fea3b8cdd [ACA-1894] - added the possibility to filter whenever is possible by … (#5633)
* [ACA-1894] - added the possibility to filter whenever is possible by file path

* [ACA-1894] - fixed linting

* [ACA-1894] - reverted dynamic app config service refresh

* [ACA-1894] - added extra example in upload docs

* Update upload.service.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-04-24 14:25:49 +01:00
Eugenio Romano b9842ba12b add slower type method for user picker (#5632)
* add slower type method for user picker

* add slower type method for user picker

* slower

* other fixes

* remove slow digit

* fix some more test

* slow down

* fix some more test

* exclude test

* exclude C315268
2020-04-23 23:23:32 +01:00
davidcanonieto 86d6ecb49e [ADF-5120] Fix initialization error of PS cloud Services (#5634) 2020-04-23 17:59:44 +01:00
Baptiste Mahé 1f5215cd38 [ACA-2523] Fix text color of comment user icon (#5635) 2020-04-23 17:52:46 +01:00
Cristina Jalba 098b9881eb [ACA-3023]Refactor APS1 PO and ACS API calls of ADF testing package (#5629)
* Change the uploadFile method from ADF testing package

* Fix lint

* no message

* Fix a part of the tests

* Fix last tests

* Fix test

* Fix tests

* Fix test
2020-04-23 09:49:41 +01:00
dhrnandEugenio Romano 7fa9b59082 [ADF-5118] Enable E2E (#5628)
* Enable E2E

1. C305010
2. C311290
3. C317658

* * improved e2e

* * minor changes

* * upload fixed

* improve e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-04-22 13:59:44 +01:00
arditdomi b3c004eb46 [ACA-3174] Add custom icons for processes and tasks (#5631) 2020-04-22 13:39:45 +01:00
Maurizio Vitale 6485ad71b4 [ACA-3170]Task/Process Add the sticky header feature (#5630)
* Add the sticky header feature

* Add html
2020-04-22 13:34:51 +01:00
siva kumar ea1454dde0 [ACA-30333]FE - [Process-services] Create ADF task form. (#5611)
* [ACA-3033] FE - [Process-services] Create ADF task form.

* * Modifed task-from-template

* * Refactored details component with the task-form

* * Updated unit tests to the recent changes

* * Modified task-details component

* * Fixed failing tests

* * Fixed failing tests* Added doc

* * Fixed task-details-form e2e

* Fixed failing test on tas-details e2e

* * Fixed flaky process-services e2e

* * Fixed flaky e2e tests
2020-04-22 08:28:03 +01:00
dhrn fde037498f [AAE-1936] Attach File E2E APS1 (#5623)
* [AAE-1936] Attach File E2E APS1

* * minor changes

* * fix title
2020-04-21 21:31:26 +01:00
Baptiste Mahé f5c08f041e [ACA-2523] Update comment text colors (#5627) 2020-04-21 21:27:10 +01:00
Denys Vuika 122bd9face [ADF-5106] allow to redefine form widgets (APS 1.x and cloud) (#5601)
* create failing test

* fix form and start form widget registration

* update cloud form
2020-04-21 15:47:09 +01:00
arditdomi af7eb53251 [ACA-3080] Remove selecting first filter by default when no defaults … (#5619)
* [ACA-3080] Remove selecting first filter by default when no defaults are provided

* [ACA-3080] Fix demo shell, emit when filter is selected

* [ACA-3080] Align demo shell

* [ACA-3080] Align task filters demo shell, emit when task filter selected
2020-04-21 15:46:44 +01:00
Eugenio Romano 53b01ae594 better retry strategy for query service e2e (#5626)
* better retry API startegy

* better retry API startegy
2020-04-21 12:56:14 +01:00
Cristina Jalba 6462bbf35a [ACA-3040]Refactor/and move to testing package POs and API calls (#5607)
* Refactor/and move to testing package POs and API calls

* Remove method

* Add task list PO

* Use adf testing package APS1 calls

* Fix some tests

* Update new test

* Fix some process-services tests

* no message

* Fix 2 tests

* Create StartProcess page in ADF testing package; refactor process-services tests

* no message
2020-04-21 10:15:39 +01:00
Urse Daniel 7b37bb8a90 [ACA-3020] Start process on process cloud updated the labels (always floating) (#5603)
* unit tests for always floating labels. updated the styling to match the UX. created a new theme.

* update travis
2020-04-20 23:28:23 +01:00
Eugenio Romano f36cbd57ef Fix E2E run (#5624)
* Fix E2E run
remove not used report
Fix USERNAME AND PAS upload PS cloud e2e screenshot

* save report

* multiple 4 cs

* change test fix screenshot and others

* exclude other test
2020-04-20 17:54:03 +01:00
Urse Daniel bc2d7f16fd [AAE-2321] Should not be able to start a process with space as name (Process Services) (#5616)
* New regex validator for process name for checking if there is a space character as the first or the las one in the name.

* Added 2 new error messages for process name: Required and Pattern(no space in the beginning or the end). Changed the disabled start process button validation function.

* Unit test to disable the start button if the pattern validator for process name is raised.

* Added 2 new error messages for process start
2020-04-17 23:37:49 +01:00
Baptiste Mahé 3f69a6d3a9 [ACA-2556] Change checking and welcome colors in login button (#5618) 2020-04-17 17:06:23 +01:00
Baptiste Mahé 968235dff6 [ACA-2577] Change color of dropdown-breadcrumb current folder (#5621) 2020-04-17 17:05:35 +01:00
siva kumar 71ba89cbe7 [AAE-1948] Form Attach File cloud widget E2E (#5543)
* [AAE-1948] Form Attach File widget E2E AAE.

* * Modified attach content file e2e

* * Fixed comments.

* * Taking task and process name from resource file

* * Fixed comments

* * Used API to create process

* * Fixed comments

* * FIxed comments

* * Fixed comment
2020-04-17 17:03:32 +01:00
davidcanonieto a5a82eb649 [ADF-5116] Make ADF's pipeline GREEN again (#5620)
* [ADF-5116] Make ADF's pipeline GREEN again

* Fix more e2e tests

* Exclude test

* Fix last e2e test

* Fix C305008
2020-04-17 16:27:07 +01:00
Maurizio Vitale e53c46464b [ACA-2734] Fix API - Return an error in case the response isn't a json (#5622)
* Return an error in case the response isn't a json

* fix comma
2020-04-17 13:57:39 +01:00
Maurizio Vitale e56331fecb [ACA-2948] Add API to fetch the bpm properties (#5610)
* Add the api to fetch the bpm properties

* remove useless map

* Use latest api

* Use the BehaviorSubject

* filter the status true
2020-04-16 17:23:00 +01:00
Baptiste Mahé 55a5cc073b [ACA-2520] Opacity of tab label of info drawer set to 1 (#5615) 2020-04-16 14:42:24 +01:00
Baptiste Mahé b4399059dc [ACA-2523] Change comment colors (#5617) 2020-04-16 14:40:52 +01:00
Baptiste Mahé 0a9fb69498 [ADF-5114] Change dialog action button color (#5613) 2020-04-16 10:46:48 +01:00
Cristina Jalba 45b2857e1e Fix people-group-cloud-filter-component.e2e.ts (#5612)
* Fix people-group-cloud-filter-component.e2e.ts

* Fix lint
2020-04-16 10:18:54 +01:00
dhrn 4cdaced7bc [AAE-1929] Attach Folder APS1 E2E (#5606)
* [AAE-1929] Attach Folder APS1 E2E

* * updated selector

* * wait for spinner

* * wait for spinner
2020-04-15 16:02:41 +01:00
Baptiste Mahé bb74dbf9a0 [ACA-2476] Fix color contrast in mat-calendar (#5609) 2020-04-15 15:58:50 +01:00
Eugenio Romano 049cedfb26 fix aca update 2020-04-14 15:15:58 +01:00
Baptiste Mahé 25426dd044 [ACA-2493] Fix disabled create folder button color (#5605) 2020-04-14 14:18:10 +01:00
Arik Sidney Guggenheim d089283aa4 [#5561] Translate notification action value (#5604)
* [#5561] Translate action value

* Fix lint issues
2020-04-14 12:34:38 +01:00
siva kumar 63063699fd [ACA-3000][ACA-2999] FE - Provide way to show ContextMenu on Task/Process list (#5596)
* [ACA-3000] FE - Provide way to show ContextMenu on Task list

* * Updated docs

* * Added unit tests to the recent changes
2020-04-14 09:52:57 +01:00
Eugenio RomanoandMark Hulbert ecca9220f1 Review Documentation and tools doc (#5600)
* add exclude files property

* remove Unknown

* fix reviewer

* Update reviewChecker.js

* Update docs/README.md

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

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>
2020-04-09 11:55:33 +01:00
Urse Daniel 8962ce0419 [ACA-2983] Changed the labels from the inputs name and type to always floating (#5593)
* changed the label from the label name and type to always floating and switched the position of them.

* fix the double space issue

* added unit tests & created and used custom theme for scss

* added custom theme for start-process component

* removed the styleurl

* changet mat_get to mat-color

* update for travis
2020-04-09 10:56:42 +01:00
Baptiste Mahé d8869e3118 [AAE-2200] Add dynamic title to attach-file-widget-dialog (#5594)
* [AAE-2200] Refactor content node component action

* [AAE-2200] Add dynamique title to attach-file-widget-dialog

* [AAE-2200] Add unit test
2020-04-09 10:43:00 +01:00
Maurizio Vitale 83e362d31a Ability to check if loggedIn based on provider (#5598)
* Provide a way to check if loggedIn based on provider

* Fix the comments

* Add schema validation for provider
2020-04-08 16:43:36 +01:00
Baptiste Mahé e55d3e53bb [ADF-5105] Force color of header button of upload dialog (#5597) 2020-04-08 11:57:58 +01:00
Baptiste Mahé 263ed658db [ADF-5104] Change color of location text (#5595) 2020-04-08 11:56:42 +01:00
Eugenio Romano 5b04fed29f Improve owners file 2020-04-08 10:55:55 +01:00
dhrn 79cb328205 [ADF-1881] Consolidate NodeService and NodesApiService (#5591)
* [ADF-1881] Consolidate NodeService and NodesApiService

* * docs added
2020-04-06 15:21:54 +01:00
Eugenio Romano cbb7555175 change title and description 2020-04-06 14:10:40 +01:00
Eugenio Romano 5baba9bf0a modify logo ACA-2934 2020-04-06 14:09:19 +01:00
Urse Daniel 4f8aa8d4be added indeterminate state for the 'select all' checkbox + unit test. (#5590) 2020-04-06 13:01:03 +01:00
Urse Daniel 6d406d8a7d [ADF-4264] Fixed the breadcrumb when changing to custom site in node selector (#5589)
* unit test for veryfing if changing to a custom site the current breadcrumb folder is the title of the site.

* fixed the problem when changing to a custom site the breadcrumb current folder title is not changing. fixed the issue when navigating inside a node after changing to a custom site the path to the root in the breadcrumb was not the correct path.

* updated the styling for the data rows to match the styling of the breadcrumb

* if there is an error the loader should stop not only if there is a message. updated to fix the node-selector site problem when adding a non existing site, the loader would previously keep spinning even though in console was thrown an error but the clients never had an UI update about the issue.
2020-04-03 10:55:51 +01:00
Cristina Jalba 03a93e45d9 [ACA-2951]Add APS1 calls to adf testing package (#5566)
* Add APS1 calls to adf testing package

* no message

* Change to use AlfrescoApi instead of ApiService

* Refactor process-services tests to use API calls implementation from testing package

* Fix resource file

* no message

* Fix widget tests

* Fix tests

* no message

* Unblocking travis
2020-04-03 09:15:06 +01:00
Denys Vuika 179bdb2790 share link: add time debouncing (#5587)
* add time debouncing

* fix tests
2020-04-02 13:01:18 +01:00
Eugenio Romano e2d58e7a44 Update kerberos.md 2020-04-01 18:02:40 +01:00
Baptiste Mahé ec49a42ebc [ADF-5101] Change empty folder text display colors (#5586) 2020-04-01 16:29:16 +01:00
Baptiste Mahé 1e018b9476 [AAE-2200] Fix upload dialog title (#5583)
* [AAE-2200] Fix dialog title

* [AAE-2200] Title from translation ressources and refactor

* [AAE-2200] Add unit test for title

* [AAE-2200] Fix lint in test
2020-04-01 14:56:21 +01:00
Denys Vuika 53bddad833 fix shared link dialog regressions (#5585)
* code fixes

* fix typo
2020-04-01 14:54:38 +01:00
Eugenio Romano 7135951535 Update preparing-environment.md 2020-03-31 22:50:19 +01:00
Eugenio Romano 3c0bc247c1 Update preparing-environment.md 2020-03-31 22:49:50 +01:00
Eugenio Romano d466d5f55f Update preparing-environment.md 2020-03-31 22:49:20 +01:00
davidcanonieto c1bf8e4db9 [ADF-3726] Enable/disable Copy to clipboard in Metadata from config (#5578)
* [ADF-3726] Enable/disable Copy to clipboard in Metadata from config

* Update app.config.json

* Fix e2e tests
2020-03-31 14:10:52 +01:00
Baptiste Mahé 50f19c99f2 [ADF-5091] Fix undefined accent variable (#5584) 2020-03-31 13:52:25 +01:00
dhrn e06f871d73 [AAE-2202] Not able to search for files (#5569)
* [AAE-2202] Not able to search for files

* * fixd test

* * fixed panel test

* * fixed files search options

* * added docs
2020-03-31 11:36:35 +01:00
arditdomi 6564ef256e [ACA-2956] Add event emitter when processDefinition selection changes (for both APS and CLOUD) (#5579) 2020-03-31 09:50:51 +01:00
Maurizio Vitale f4f46d0c60 Start process: Make the title optional (#5580)
* Make the title optional

* Add the title on demoshell

* Remove the mat card and css

* Fix scss
2020-03-31 09:38:55 +01:00
Denys Vuika 01d0f777c0 share link: fix regression with expiration toggle (#5577)
* share link: fix regression with expiration toggle

* remove old method
2020-03-31 07:34:25 +01:00
Baptiste Mahé b26991014c [ADF-5095] Update text color of share dialog (#5575) 2020-03-30 19:18:04 +01:00
Baptiste Mahé 19ad789436 [ADF-5091] Change info drawer labels color (#5571) 2020-03-30 18:20:06 +01:00
Baptiste Mahé 53f2361658 [ADF-5093] Change datepicker color (#5573) 2020-03-30 18:19:44 +01:00
Baptiste Mahé e48bb60083 [ADF-5090] Change color of input button (#5570) 2020-03-30 18:18:12 +01:00
Baptiste Mahé cfc62abb2b [ADF-5094] Changed focused chip color (#5574) 2020-03-30 18:17:39 +01:00
Baptiste Mahé 56970d012c [ADF-5096] Icon on move dialog darker (#5576) 2020-03-30 18:16:59 +01:00
Baptiste Mahé 04b6a3e399 [ADF-5092] Change card view label color (#5572) 2020-03-30 18:16:22 +01:00
dhrn 7195a384e8 [AAE-2041] [APS-1] [ADF] download process audit log not working (#5568)
* [AAE-2041] [APS-1] [ADF] download process audit log not working

* * updates JS API

* * clean up
2020-03-30 09:36:21 +01:00
Urse Daniel 8f3f5b3879 [ADF-4933] Adding keydown event on data row to simulate double click when pressing 'enter' key (#5564)
* changing the event on row from keyup to keydown to fix the issue of reopening the file after closing ussing only keyboard (opening and closing the file by enter)

* Reverting the 'onRowKeyDown' to not make a breaking change and added a new method to handle the opening file using 'enter' key

* Added unit test - it should emit double click if keydown "enter key" on row

* Small changes for clean coding
2020-03-27 16:33:44 +00:00
Eugenio Romano d3ff9eda3f Update trigger-travis-children.sh 2020-03-27 13:00:20 +00:00
Eugenio Romano fc295e3dc3 Update trigger-travis-children.sh 2020-03-27 12:59:56 +00:00
siva kumar 779ea83b8e [AAE-2198] Error thrown on start process with pre-selected multiple files on start form. (#5567)
* [AAE-2198] Error thrown on start process with pre-selected multiple files on start form.

* * Removed unwanted method
2020-03-27 09:59:43 +00:00
davidcanonieto 6806504a65 [ADF-3726] Add copy to clipbouard support to card view properties (#5565) 2020-03-25 13:42:35 +00:00
dhrn 3f45e7b35d [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091 (#5562)
* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* tslint fxed

* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* * revert commits

* Revert "* revert commits"

This reverts commit fd0e86084cc4ac14870d9008400528f63a681c59.

* * unit test added
2020-03-25 11:06:40 +00:00
dhrn c684d5f50c [ADF-4341] Customise the property title into the InfoDrawer from configuration (#5556)
* [ADF-4341] Customise the property title into the InfoDrawer from configuration

* * docs added

* * removed unnecessary logic and docs updated
2020-03-25 11:05:11 +00:00
Denys Vuika 772188c13d calendar card item a11y fixes (#5563) 2020-03-24 11:02:33 +00:00
davidcanonieto 144da83d0e [ADF-4559] Add chips to multivalue metadata properties (#5552)
* [ADF-4559] Add chips to multivalue metadata properties

* Fix app config schema

* Restore app config

* Fix checkListIsSorted method

* Fix e2e datatable sorting

* Fix e2e tests

* Improve chips input
2020-03-23 13:02:01 +00:00
siva kumar 666dd45fa2 [AAE-1725] ADF Task filters - default filters should be recreated when they all get deleted. (#5551) 2020-03-23 10:59:30 +00:00
davidcanonieto 3fcf965eca [ADF-4673] Add editable property to metadata config (#5557)
* [ADF-4673] Add editable property to metadata config

* Add readonly mode for aspect oriented config

* Fix linting
2020-03-20 22:16:35 +00:00
Eugenio Romano 94f4b69b76 enforce types for forms cloud (#5371)
* enforce right type form cloud

* remove missing import

* fix selector
2020-03-20 21:33:43 +00:00
78c3db5db7 [ACA-2789] - edit button a11y fixes (#5399)
* fix: remove title property from button

* use tooltip instead of aria label

* fix aria label

Co-authored-by: Taylor Richards <taylor.richards@deque.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-03-20 21:31:30 +00:00
Denys Vuika fc6a80c45a [ACA-2566][ACA-2567] permissions a11y fixes (#5560)
* fix layout and a11y, cleanup html

* fix sorting announcer

* fix i18n issue for Actions column
2020-03-19 16:47:24 +00:00
Denys Vuika a04abd0041 fix share link dialog header a11y (#5559) 2020-03-19 11:11:13 +00:00
Baptiste Mahé 3fa95d6bd8 [AAE-1579] Fixing the style of the prefix of amount widget (#5546)
* [AAE-1579] Fix amount widget prefix

* top of prefix fixed in modeler

* [AAE-1579] prefix color get from theming

* [AAE-1579] fix color and removed useless include

* [AAE-1579] remove useless import and prefix red when input empty and required
2020-03-19 09:53:58 +00:00
Cilibiu Bogdan 983e01f70c [ADF-5087] Document List - custom sources 'where' clause not passed (#5558)
* pass document list where clause to custom sources

* update docs
2020-03-19 09:38:58 +00:00
5bcd326891 [ACA-2619][ACA-2616] a11y fixes for Share Link dialog (#5454)
* chore: proper disabling of fields for a11y

* component fixes

* update tests

* update tests

* fix aria labels

* aria-label fixes

* update layout

* update e2e tests

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: Cilibiu Bogdan <bogdan.cilibiu@ness.com>
2020-03-19 08:13:42 +00:00
Cristina Jalba 57c15a7542 [AAE-1772]Add CardSelectItemPage PO (#5555)
* Add CardSelectItemPage PO

* no message
2020-03-18 11:41:51 +00:00
Eugenio Romano 7c90c9b372 Improve css prebuilt creation and minimize (#5553)
* improve CSS creation strategy and minimize

* remove multiple select slow down test
2020-03-17 18:59:52 +00:00
Vito ec689cad3f AAE-1841 - added delete directive test (#5547)
* AAE-1841 - start adding e2e for delete directive

* AAE-1841 - added delete directive test

* AAE-1841 - fixed PR review
2020-03-17 18:57:04 +00:00
dhrn d720d36670 [ADF-4522] Metadata value is not rolled back upon error (#5550)
* * initial commit

* * removed breaking change

* * fixed ts

* * fixed minor changes

* * fixed changes

* * minor changes

* * fixed unit test

* * docs added

* * fixed date clear problem

* * fixed unit test
2020-03-17 10:47:08 +00:00
Eugenio Romano becf45d150 Update update-children.sh 2020-03-16 14:52:11 +00:00
dhrn c64396b2fe [AAE-1923] Form APS E2E (#5540)
* [AAE-1923] Form APS E2E

* * minor changes

* * fixed e2e
2020-03-16 11:49:11 +00:00
Mark SteadmanandEugenio Romano 8e5e5c90ac ACA 2618 - 2619 - Share Dialog - Physical Labels (#5439)
* chore: addition of physical labels to share dialog

* chore: addition of translated text

* chore: addition of expiration label

* Update content-node-share.dialog.scss

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-03-16 11:10:29 +00:00
dhrn acd9a33550 [AAE-1923] Multilingual form unit test (#5542)
* ps cloud translation fixed

* included only for form cloud
2020-03-16 11:05:52 +00:00
Cristina Jalba ea6ab300c4 [ADF-1895]Refactor date-time-picker and date-picker (#5544)
* Refactor date-time-picker and date-picker

* no message
2020-03-16 10:44:39 +00:00
dependabot[bot] 3c35c45406 Bump acorn from 6.2.0 to 6.4.1 (#5548)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.2.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.2.0...6.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 09:27:14 +00:00
dhrn 41597e271a [ADF-4522] Metadata value is not rolled back upon error (#5545) 2020-03-13 15:42:38 +00:00
Cristina Jalba 22d2a52f68 Retrieve href attribute of hyperlink (#5541) 2020-03-12 12:41:27 +00:00
Alexandra Abrudan c91458df79 [AAE-1846] [AAE-1857] automated e2e tests uploading folders (#5483)
* [AAE-1846] automated e2e tests - uploading a folder

* [AAE-1857] added automated e2e test upload folder with excluded file

* changed the script for cancel an uploading folder, added -b condition for the running tests for the uploadFolder method
2020-03-09 19:18:41 +00:00
arditdomi 8fcdc55595 [AAE-2126] Fix checkbox click testing method in datatable page (#5539) 2020-03-09 09:37:24 +00:00
dhrn 9599d834b0 [AAE-1953] Claim Reclaim Task AAE E2E (#5529)
* [AAE-1953] Claim Reclaim Task AAE E2E

* * fixed linting and fixed changes
2020-03-06 13:44:50 +00:00
Cristina Jalba 226b139d7a Create card-view-boolean-item page (#5537) 2020-03-06 10:21:39 +00:00
Eugenio Romano 2e976d013b remove duplicated test (#5536) 2020-03-06 00:18:56 +00:00
Eugenio Romano 6db04f1887 AAE-1951 - added extra test cases for start task and assignee (#5534)
* AAE-1951 - added extra test cases for start task and assignee

* AAE-1951 - fixed license
2020-03-05 17:37:34 +00:00
Eugenio Romano a70883378a [AAE-2107] Move e2e to Unit test (#5535)
* [AAE-2107] Move e2e to Unit test

* * fixed namings

* * more unit test added

* * minor changes
2020-03-05 16:47:59 +00:00
Eugenio Romano 0217f0c788 * Updated SimpleApp with new process (#5533) 2020-03-04 21:56:17 +00:00
Baptiste Mahé b3d8fb9609 [ADF-5085] Adding possibility to search for future dates search-date-range component (#5525)
* [ADF-5085] Remove maxDate and set the max of the from date to the to date

* [ADF-5085] Add maxDate optional setting

* [ADF-5085] Add unit test for maxDate

* [ADF-5085] Add documentation for maxDate setting

* [ADF-5085] Unit tests for default and today value

* [ADF-5085] Refactor
2020-03-04 11:29:29 +00:00
Alexandra Abrudan 24c728a8f5 [AAE-1880] e2e document-list selection mode (#5518)
* [AAE-1880] e2e document-list selection mode, open file/folder

* resolved comments: backtick, refactoring names, using dropdownPage, removing comments, wrapping the API

* added a new try-catch for beforeAll, fixed the error message

* changed the name of a method from clickDropdownWithOption to selectDropdownOption

* changed the method name from clickDropdown... to selectDropdownOption

* added the variable type for some methods, delete the let list and refactor accordingly
2020-03-03 18:50:36 +00:00
davidcanonieto 2b1a321baf [AAE-1977] Fix file uploaded after cancelling upload (#5532)
* [AAE-1977] Fix file uploaded after cancelling upload

* Add constants
2020-03-03 18:47:29 +00:00
Vito 45f023c93a AAE-1945 - Added extra form unit test (#5524)
* AAE-1945 - start adding test form rendering for task-details

* Added last unit test for AAE-1945

* AAE-1945 - removed wrong fdescribe

* AAE-1945 - fixed whitespace

* AAE-1945 - fixed wrong promise errored

* AAE-1945 - fixed failing unit test
2020-03-03 18:45:41 +00:00
Vito 359022de65 [AAE-2009] - Added visibility unit test for form (#5526)
* AAE-2009 - added visibility unit test for form widgets

* AAE-2009 - added visibility unit test for form widgets

* AAE-2009 - fixed id of mock form

* AAE-2009 - fixed linting
2020-03-03 16:59:01 +00:00
Cristina Jalba e96b89c821 [AAE-1746]Added 3 new processed to candidatebaseapp: errorStartEventProcess, er… (#5531)
* Added 3 new processed to candidatebaseapp: errorStartEventProcess, errorBoundaryEventProcess and errorExclusiveGateProcess, all with error events

* no message
2020-03-03 15:02:28 +00:00
siva kumar 351aadd518 * Updated process-display-json variable to http (#5530) 2020-03-03 12:15:31 +00:00
dhrn 5d408025b0 [AAE-1949] Form Attach File Widget AAE unit test (#5527)
* [AAE-1949] Form Attach File Widget AAE unit test

* [AAE-1949] Form Attach File Widget AAE unit test

* * fixed type

* * fixed second upload

* * fixed second upload
2020-03-02 17:57:17 +00:00
Alexandra Abrudan 133140d69b [AAE-1926] automated e2e tests - interacting with an attached file in an active & completed form (#5528) 2020-03-02 14:52:41 +00:00
Eugenio Romano 7a2af38699 [AAE-1884] e2e shared file and refactor custom sources (#5506)
* fix lint
e2e shared file and refactor custom sources
additional tests for search chip list (#5523)

* modify wait startegy

* fix metadata problem

* improve method retry

* login before to execute call

* login before to execute call
2020-03-02 10:28:38 +00:00
Vito 7c849d87f4 AAE-1941 - Added unit test for Number Widget (#5498)
* AAE-1938 - added first stack of visibility tests for form

* AAE-1941 - added number widget unit test

* fixed wrong import

* AAE-1941 - fixed unit test for form rendering
2020-02-28 16:10:07 +00:00
Denys Vuika 1e226d967e additional tests for search chip list (#5523) 2020-02-28 15:08:35 +00:00
Alexandra Abrudan e5efe74e5e [AAE-1797] added e2e automated tests (#5509)
* added e2e automation - [C260064] Should download only the last selection when changing pages in Single mode

* [AAE-1797] added e2e automated test- start a process within ACS

* refactoring with dropdownPage

* spellcheck refactoring
2020-02-28 15:06:24 +00:00
Vito 6bf8c17771 [AAE-1944] - Amount Widget Unit test (#5504)
* AAE-1944 - added unit test for amount widget

* AAE-1944 - fixed wrong header and lint problem
2020-02-28 14:04:26 +00:00
Baptiste Mahé 7a79d5bebf [AAE-1943] Dropdown widget unit test (#5513)
* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* [AAE-1943] C309672 and C309675 into unit tests

* [AAE-1943] C309680 automated

* [AAE-1943] C309682 automated
2020-02-28 14:03:13 +00:00
Denys Vuika a9b49a1eb7 [AAE-1883] document list preset unit tests (#5519)
* document list preset unit tests

* remove useless tests

* remove useless tests

* remove even more garbage

* remove junk
2020-02-28 13:26:01 +00:00
dhrn b5d443f2a8 [AAE-1950] and [AAE-1882] more unit test (#5521)
* [AAE-1882] Custom action unit test

* [AAE-1950] Filter E2E Community Unit test
2020-02-28 10:54:31 +00:00
dhrn 9d8479c259 [AAE-1921] Start Process e2e APS1 and removed [C280015] (#5522)
* [AAE-1921] Start Process e2e APS1

* removed C280015. unit test is there
2020-02-28 10:46:48 +00:00
Eugenio Romano a79313c773 fix cancel (#5520) 2020-02-27 21:13:36 +00:00
Vito 03fb9c32ec AAE-2073 - reverted partially the changes on the parsing form of form… (#5517)
* AAE-2073 - reverted partially the changes on the parsing form of form service

* AAE-2073 - reverted changes on form service
2020-02-27 20:40:53 +01:00
arditdomi 14529da097 [AAE-1729] Move task-process filters methods into adf-testing, refactor dropdowns to use dropdown material testing page (#5467)
* [AAE-1729] Move task-process filters methods into adf-testing

* [AAE-1729] Add default filters methods in testing package

* [AAE-1729] Refactor testing package and e2e to use Dropdown testing page

* [AAE-1729] Rename function

* [AAE-1729] Fix failing e2e, add click and select dropdown method

* [AAE-1729] Fix e2e

* [AAE-1729] fix e2e

* [AAE-1729] Add default filters methods in testing package

* [AAE-1729] Slow down upload speed, fix cancel upload e2e

* [AAE-1729] Undo slow down upload speed, fix cancel upload e2e
2020-02-27 13:51:36 +00:00
dhrn d2ec8ccee7 [ADF-000] fixed PS pipeline (#5516) 2020-02-26 23:49:54 +00:00
davidcanonieto 159f0f94f3 [AAE-1881] Add E2E tests for document list actions (#5514)
* [AAE-1881] Add E2E tests for document list actions

* Improve code

* Fixing my stupidity
2020-02-26 17:12:36 +00:00
Eugenio Romano e74e1e4ade Fix cancel E2E (#5501)
* fix

* fix upload and remove unused fikes

* fix upload and remove unused fikes

* clean more

* fix cancel test

* unify names

* fix size

* fix cancel

* different timeout
2020-02-26 15:33:45 +00:00
dhrn ae38f3f4ac [AAE-1955] [ADF-5082] [AAE-1969] and [AAE-1970] Search Unit test (#5508)
* initial commit

* [AAE-1955] Search Categories Unit test

* more unit added

* check box test added

* [AAE-1970] Search Search Filters Facet Container Uni Test

* * naming improvements
2020-02-26 15:05:27 +00:00
Denys Vuika 999e513087 add missing DataColumn module to DataTable (#5512)
* add missing DataColumn module to DataTable

* fix import path
2020-02-26 14:58:26 +00:00
Vito 1e67f50346 AAE-1938 - added first stack of visibility tests for form (#5489)
* AAE-1938 - added first stack of visibility tests for form

* AAE-1938 - fixed unit test after form service changes

* AAE-1938 - rebased with last development

* AAE-1938 - fixed failing e2e

* AAE-1938 - fixed mock definition to match updated service behaviour

* Fixed failing e2e

* AAE-1938 - try to fix cancel uploads
2020-02-26 14:46:01 +00:00
Maurizio Vitale 6ef07fe73f Ability to clean app using the like and interval time (#5515) 2020-02-26 13:09:53 +00:00
siva kumar 5fb7879900 [AAE-2021] Automate About component (#5499)
* * Added unit tests to the about-github-link component.
* Removed unused css

* * Added unit tests to the about module and prodcut-version components

* * Automated about page

* * Fixed comments

* * FIxed failing unit tests on attach-file-widget component.

* * After rebase
2020-02-26 12:35:50 +00:00
davidcanonieto 2cf36c2862 [AAE-1842] Automate C277196 Version manager permissions (#5510) 2020-02-25 14:16:10 +00:00
maurizio vitale 4f17698cd4 Remove exit 0 mystake 2020-02-25 12:09:16 +00:00
Maurizio Vitale 81efb07283 adf-cli Provide a way to pass buildArgs to the docker build (#5507)
* Provide a way to pass buildArgs to the docker build

* Create folder in case does not exist
2020-02-24 17:10:40 +00:00
davidcanonieto fcda1e3c7e [AAE-1940] Add unit tests for Radio Buttons Widget (#5505)
* [AAE-1940] Add unit tests for Radio Buttons Component

* Update tests
2020-02-24 15:45:35 +00:00
arditdomi 56474bc96e [AAE-1975] Add no results template when searching in People/Group clo… (#5479)
* [AAE-1975] Add no results template when searching in People/Group cloud component

* [AAE-1975] Add timeout for check no results e2e method

* [AAE-1975] Adapt unit tests, add no results checks

* [AAE-1975] Fix styling, remove error icon and red colour

* [AAE-1975] Remove timeout
2020-02-24 15:37:55 +00:00
dhrn 536e2587ea [AAE-1954] Search Unit test (#5503)
* [AAE-1954] Search Unit test

* * fixed comments
2020-02-24 11:21:42 +00:00
Baptiste Mahé 53e1940ee7 [AAE-2034] Display disabled radio button in read-only mode (#5500)
* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* Test disbled property
2020-02-24 11:19:56 +00:00
siva kumar 9219fa249c * Updated allwidgets form field ids* Used jsonplaceholder api to check service call. (#5502) 2020-02-24 10:11:43 +00:00
Eugenio Romano 2d0b571875 remove not needed spaces (#5495)
* remove not usefull spaces

* increase timeout

* increase timeout

* fix
2020-02-23 17:00:16 +00:00
arditdomi 9e0e2bdfa6 [AAE-1933] Add dropdown testing page (#5491)
* [AAE-1933] Add process and task filters testing methods - check option is visible in dropdown

* [AAE-1933] Add dropdown page

* [AAE-1933] Remove methods replaced by dropdown page

* [AAE-1933] Fix dropdown methods not working

* [AAE-1933] Fix e2e

* [AAE-1933] Fix task-form-cloud e2e
2020-02-23 14:02:15 +00:00
davidcanonieto 9898ad4401 [AAE-1939] Add unit tests to Text Widget (#5488)
* [AAE-1939] Add unit tests to Text Widget

* Improve code

* Improve toBeFalsy/toBeTruthy

* Configure TestBed only with needed modules
2020-02-23 12:38:46 +00:00
Eugenio RomanoandArik Sidney Guggenheim feebaebd6c [#5352] Fix broken pagination if totalItems is missing (#5473)
* [#5352] Fix broken pagination if totalItems is missing. This happens when a search query is executed against Solr and not the DB

* fix lint issues

Co-authored-by: Arik Sidney Guggenheim <ariksidney@outlook.com>
2020-02-21 12:12:28 +00:00
Baptiste Mahé b7de48c821 [ADF-5074] Scrollable card-view-textitem when value too long for display (#5480)
* ADF-5074 Scrollable non-multiline and full display for multiline

* ADF-5074 Refactor template

* ADF-5074 Scrollbar displayed only on overflow

* ADF-5074 adf-textitem-ellipsis is now replaced by adf-textitem-scroll

* ADF-5074 Scrollable non-multiline and full display for multiline

* ADF-5074 Refactor template

* ADF-5074 Scrollbar displayed only on overflow

* ADF-5074 adf-textitem-ellipsis is now replaced by adf-textitem-scroll
2020-02-21 11:02:45 +00:00
arditdomi 2283af2384 [AAE-2001] Remove APS_USER APS_ADMIN roles from app permissions (#5487)
* [AAE-2001] Remove APS_USER APS_ADMIN roles from app permissions

* [AAE-2001] Add processadminuser to simpleapp and candidatebaseapp
2020-02-21 10:58:06 +00:00
dhrn 73ba7a209d [ADF-5079] Claim task E2E (#5490)
* unified claim and requeue task

* * highlight filter added

* * removed unused method

* * improved test

* fixed conflicts
2020-02-21 10:49:08 +00:00
siva kumar bf11cd65ec [AAE-2021] Unit tests for about components (#5496)
* * Added unit tests to the about-github-link component.
* Removed unused css

* * Added unit tests to the about module and prodcut-version components

* * After rebase
2020-02-21 10:12:42 +00:00
davidcanonieto 2874e6469b [AAE-1925] Add unit tests for Task List Component (#5484) 2020-02-20 22:07:14 +00:00
Eugenio Romano 1847768b56 [AAE-1848] fix kebab case files and add tlsint rule (#5481)
* fix kebab case files and add tlsint rule

* headless

* m 2 in e2e

* download file in headless chrome

* fix budget

* fix import

* fix import
2020-02-20 21:08:42 +00:00
Baptiste Mahé 918d27bc8a C310322 to C310324 made in unit tests (#5493) 2020-02-20 15:29:04 +00:00
Gloria Broadbent de237d8481 DW-1321: Fix for Incomplete List of Languages - 5 languages were listed in English. They are correctly translated now. (#5494) 2020-02-20 15:18:12 +00:00
dhrn a256a6b7d5 [AAE-1952] Task › Edit task filters › Actions E2E Unit test (#5492)
* [AAE-1952] Task › Edit task filters › Actions E2E Unit test

* fixed error
2020-02-20 12:32:35 +00:00
dhrn 8fc69b89ec [AAE-1937] Process Filters E2E APS1 (#5478) 2020-02-19 10:49:14 +00:00
dhrn c12eee1f59 [ADF-5078] Start Task e2e (#5485)
* [ADF-5078] Start Task e2e

* * improved test

* * fixed import
2020-02-19 10:43:43 +00:00
maurizio vitale 2f89787b7a Use the build dist without stats and move the docker step on top 2020-02-18 13:32:51 +00:00
maurizio vitale 70829dc203 Fix unused of 2020-02-17 19:49:59 +00:00
Maurizio Vitale 72a942dec8 Core - Add the http interceptor (#5486)
* Add the interceptor

* Remove index
2020-02-17 16:22:10 +00:00
dhrn ffc17157a4 [AAE-1831] DataTable Unit test (#5475) 2020-02-14 14:32:40 +00:00
Vito d9ade815dd AAE-1794 - added extra unit test (#5477) 2020-02-14 13:20:25 +00:00
davidcanonieto d9cf24a4cb [AAE-1803] Add Unit tests for custom templates (#5474)
* [AAE-1803] Add Unit tests for custom templates

* Fix linting
2020-02-13 11:47:47 +00:00
dhrn 9435205653 [ADF-5080] Process List e2e (#5476) 2020-02-13 11:28:08 +00:00
dhrn 281b75b6bf [AAE-1839] Card View E2E (#5472) 2020-02-12 15:33:15 +00:00
Vito 498bc6032a ADF-5074 - reenabled test on upload (#5470) 2020-02-12 13:49:09 +00:00
dhrn 72d1fbbc1a [AAE-1838] Sidenav Unit test (#5468)
* [AAE-1838] Sidenav Unit test

* fixed linter
2020-02-12 09:08:28 +00:00
siva kumar c8c85891df * Updated simple app with the upload and json process (#5469) 2020-02-12 09:07:45 +00:00
Maurizio Vitale f882f0a6d8 fix the candidate base app 2020-02-11 14:59:17 +00:00
Alexandra Abrudan 2115d5bbfc corrected the name in json file for candidatebaseapp (#5466) 2020-02-11 14:30:19 +00:00
Alexandra Abrudan 12481c4238 update simple app wrong name (#5465) 2020-02-11 12:42:48 +00:00
arditdomi b49645316a [AAE-1764] Fix testing methods checking visibility of widgets (#5457)
* [AAE-1764] Fix testing methods checking visibility of widgets

* [AAE-1764] Fix e2e failing because of method refactoring

* [AAE-1764] Fix widget visibility e2e
2020-02-11 12:20:42 +00:00
Baptiste Mahé a3bf224173 5419 Permission panel shows first and last name of users (#5448) 2020-02-11 10:45:53 +00:00
dhrn 6d4ba891f5 [ADF-5068] APS › TaskList component › StartTask Component › Info Drawer test need to be automated (#5456)
* [ADF-5068] APS › TaskList component › StartTask Component › Info Drawer test need to be automated

* moved config file
2020-02-11 10:17:15 +00:00
Alexandra Abrudan 3a50dcb9d7 updated the simpleapp and candidatebase with the assignees that were … (#5458)
* updated the simpleapp and candidatebase with the assignees that were lost

* update task cloud visibility boolean form
2020-02-10 14:49:58 +00:00
davidcanonieto 1c016634b1 [AAE-1179] Fix Start Task with Groups E2E tests (#5464) 2020-02-10 14:49:39 +00:00
dhrn e46466a885 [ADF-5076] Automate tastrail case (#5463) 2020-02-10 14:02:57 +00:00
Eugenio Romano c84bb250fb Fix build scripts (#5461)
* improve check env script

* fix update script children
2020-02-10 00:33:14 +00:00
Denys Vuika a0926a38d8 Minor code and style fixes (#5398)
* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
2020-02-09 22:03:32 +00:00
Mark Steadman 3459c98bd0 [ACA-2602]- Datatable - Selected state properly announced (#5459)
* chore: selected row now announces state

* chore: removal of tabindex on icon button
2020-02-09 21:22:56 +00:00
Denys Vuika f54bc24317 [AAE-1695] reduce manual tests (#5455)
* tests cleanup

* cleanup search control tests

* EmptyContentComponent tests

* fix names

* search filter category test

* task list test and code polish

* process list tests and cleanup

* extra task-list tests

* extra start-task tests

* code cleanup
2020-02-08 01:08:34 +00:00
Baptiste Mahé a3cbf9bcd3 [ADF-4920] Fixed checkbox dropdown style when invalid (#5444)
* ADF-4920 Fixed checkbox dropdown style when invalid

* ADF-4920 Corrected misspelling
2020-02-07 17:19:27 +00:00
Chris Rodriguez 707b7fe6b3 chore: added always visible label to sort, i18n (#5438) 2020-02-07 17:16:48 +00:00
Eugenio Romano c663514538 fix propagate script 2020-02-07 17:15:08 +00:00
Eugenio Romano 1275fa6606 Update update-project.sh 2020-02-06 16:43:30 +00:00
VitoandEugenio Romano 88e961d12a [ADF-1653] [ADF-1651] - disabled download for external source and added download for same login content (#5450)
* ADF-1653 - disabled download for external content

* ADF-1653 - ADF-1651 - disabled download for external source and added download for same login content

* ADF-1653 - using downloadService instead of contentService

* improve solution

* improve solution

* fix unit

* add more unti test

* fix lint

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-02-06 15:07:59 +00:00
Adina Parpalita 7d04297e6e [ADF-5073] Sorted column header is incorrectly read by a screen reader (#5449)
* translate column title

* remove forgotten empty lines

* enable screenshots for investigating weirdly failing tests

* reenable the stages
2020-02-06 13:54:58 +00:00
Eugenio Romano 3896ce2472 bump 3.7.0 2020-02-06 13:36:24 +00:00
Mark Hulbert 5989671670 [ADF-5075] Update compatibility matrix for 3.7.0 (#5453) 2020-02-06 12:45:43 +00:00
Eugenio Romano 64254d988f Update .travis.yml 2020-02-06 11:32:25 +00:00
Geeta Mandakini Ayyalasomayajula 446e4bb37e AAE-1666 - updated simpleapp to test the multi-instance result collection (#5451)
* added 2 new forms 'mealform' and 'resultcollectionform' to simpleapp and updated the multiinstance-usertask process definition to have another task to display the output of the result collection.

* added the 2 new form names to the resources file.
2020-02-06 01:20:47 +00:00
Alexandra Abrudan 9276333352 [AAE-1453] added e2e tests for checking different configurations for people/group cloud widgets (#5446) 2020-02-06 01:18:30 +00:00
dhrn 4b1471d9c3 [ADF-5066] APS2 › Process List test need to be automated (#5441)
* [ADF-5066] APS2 › Process List test need to be automated

* fixed spell check error

* fixed errors

* taskname from resource

* fixed e2e

* fixed comments

* fixed declartions
2020-02-05 16:49:30 +00:00
Eugenio Romano a98249e07f update e2e test 2020-02-05 15:33:14 +00:00
Eugenio Romano 9f113ecd15 Update update-children.sh 2020-02-05 15:08:57 +00:00
Eugenio Romano 3cb525d060 Update RelNote370.md 2020-02-05 14:05:01 +00:00
Eugenio Romano 83c4e1d382 trigger build 2020-02-05 12:54:21 +00:00
ioan-sabau 2c9c564f3a #1256 Fix Icon alignment mismatch and the rows to have the same height. (#5447) 2020-02-05 12:04:18 +00:00
Maurizio Vitale bab4906632 [AAE-1539] People/Group - Add a formControl for the chip field (#5445)
* Add a formControl for the chip component

* on search reset the error and trim later on
2020-02-04 16:53:37 +00:00
Denys Vuika bd3957dcee [ADF-5065] people and group picker tests, clean code (#5442)
* cleanup component types

* more readable tests

* clean code

* C291998: render preselected people

* clean code

* extra tests and clean code

* fix test after rebase
2020-02-03 15:10:17 +00:00
arditdomi d9e0847b18 [AAE-1594][AAE-1631] Fix not able to search for specific users, valid… (#5429)
* [AAE-1594][AAE-1631] Fix not able to search for specific users, validation not working for partial username

* [AAE-1594][AAE-1631] Fix unit tests

* [AAE-1594] Refactor comparing preselcted user with keycloak user, add unit tests for search

* [AAE-1594] Add missing undefined check

* [AAE-1594] Ignore blank space user/groups search
2020-02-03 10:15:18 +00:00
Maurizio Vitale 0a25254691 Revert "allow admins to view cloud demos (#5436)" (#5437)
This reverts commit d37393b695.
2020-01-31 23:39:22 +00:00
Eugenio Romano cac31e372c Update .travis.yml 2020-01-31 16:18:23 +00:00
Denys Vuika d37393b695 allow admins to view cloud demos (#5436) 2020-01-31 11:47:18 +00:00
Denys Vuika 0256a16ea4 extra unit tests for breadcrumb (#5431) 2020-01-30 22:43:35 +00:00
Eugenio Romano a183ed8884 trigger child build after merge like JS-API (#5427) 2020-01-30 11:58:23 +00:00
Gloria Broadbent 80ae09d06a ALL LANGUAGES: Fully localised updated files for ADF 3.7 to fix LOC-187 (#5428) 2020-01-30 11:57:36 +00:00
Eugenio Romano c9d16dc9ca [AAE-1360] Remove DELETED status from process instances filter dropdown (#5423)
* remove not needed status

* fix unit

* Update app.config.json
2020-01-29 20:52:48 +00:00
Eugenio Romano 5d28a162c2 fix preselect user check (#5420) 2020-01-29 19:59:29 +00:00
Eugenio Romano 2434d9a09c fix image asset 2020-01-29 18:05:03 +00:00
Eugenio Romano abd3b0f1fe change user for cloud test (#5422) 2020-01-29 15:40:54 +00:00
davidcanonieto f551ad52a6 [AAE-1558] Update apps to use new structure (#5421) 2020-01-29 12:35:06 +00:00
arditdomi 95c7074d65 [AAE-1594] Fix partial group name of a valid group should not be valid, fix form-cloud able to search when people/group widget is readonly (#5417) 2020-01-29 09:23:03 +00:00
arditdomi 2e71bc6e27 [AAE-1532] Fix typing fast in search with roles gives wrong results in people/group cloud (#5418) 2020-01-29 09:17:51 +00:00
Eugenio Romano 46c54b7083 fix destroy worker and internalize css pdfjs (#5415) 2020-01-29 07:47:57 +00:00
Eugenio Romano e70b977a71 review documentation (#5407) 2020-01-28 18:06:25 +00:00
Francesco Corti 25e76facd6 Draft of ADF 3.7 release note (#5412)
Draft of ADF 3.7 release note
2020-01-28 18:06:16 +00:00
Eugenio Romano 64ba19a9ce vulnerability and license doc (#5409)
* vulnerability and license doc

* Update license-info-3.7.0.md
2020-01-28 18:05:33 +00:00
arditdomi 80f805801f [AAE-1562] Fix should not be able to search already selected user (#5414) 2020-01-28 17:54:01 +00:00
arditdomi 0ae55ba590 [AAE-1602][AAE-1594] Fix duplicated users issue when validation enabl… (#5413)
* [AAE-1602][AAE-1594] Fix duplicated users issue when validation enabled, fix partial username should not return a valid user

* [AAE-1602][AAE-1594] Fix removing incorrect invalid user/group when name or id matches
2020-01-28 15:05:26 +00:00
Denys Vuika d09373501f [AAE-1564][DW-1654] improved datatable schema (#5408)
* improved datatable schema

* collect all runtime columns
2020-01-28 14:08:18 +00:00
Eugenio Romano 1754baa111 fix release project cli and dependency (#5404) 2020-01-27 13:15:25 +01:00
Mark Hulbert 1bfead2cd3 [ADF-5048] Review UI strings (#5406) 2020-01-27 13:12:55 +01:00
Cilibiu Bogdan f8d3b29ff5 [ADF-5064] Info Drawer - More and Less Information buttons are reversed (#5405)
* display correct button for state

* update tests

* update tests
2020-01-27 13:07:44 +01:00
Eugenio RomanoandMark Steadman 3767ecb91c chore: hiding icon in table from SR users (#5403)
Co-authored-by: Mark Steadman <47225088+Steady5063@users.noreply.github.com>
2020-01-25 16:56:56 +01:00
Eugenio RomanoandMark Steadman 142e142ccb [ACA-2567] - sortable (#5402)
* chore: aca-2567 accessibility for sortable columns

* chore: sortable table accessibility update

* fix: refactor sortable table headers into function

* chore: updated sort by text

Co-authored-by: Mark Steadman <47225088+Steady5063@users.noreply.github.com>
2020-01-25 16:13:30 +01:00
Chris Rodriguez f27b94017a [ACA-2474] adding instructions to the calendar for use (#5387)
* chore: adding instructions to the calendar for use

* chore: updating lockfile

* chore: fixing package

* chore: updated html for test

* chore: adding instructions to the calendar for use

* chore: updating lockfile

* chore: fixing package

* Wchore: updated html for test

* chore: removed unnused random string gen

* chore: synced lockfile; removed unnused prop
2020-01-25 15:04:23 +01:00
Taylor 7d14e3fe86 [ACA-2605] - fix: add aria-label to toggle button (#5397)
* fix: add aria-label to toggle button

* fix: swap label to use translation key and pipe
2020-01-25 14:49:48 +01:00
Martin Muller f0189efd5a [ACA-2755] [SSO] Unable to access a private url after a public url was loaded in the same browser tab (#5363)
* If silentlogin do implicitLogin

* If silentlogin do implicitLogin

* Unit tests

* Unit tests Trigger new run

* Authguard should return true for canActive

* adjust unit test and allow AuthGuard CanActive for the SSO case

* adjust unit test and allow AuthGuard CanActive for the SSO case

* adjust unit test and allow AuthGuard CanActive for the SSO case

* adjust unit test and allow AuthGuard CanActive for the SSO case

* Add isPublicUrl logic to authguard

* adjust unit test and allow AuthGuard CanActive for the SSO case

* Allow canActive true for public urls like /settings

* fix redirect login for SSO

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* move sso silentlogin fix to ecm authguard

* Try only todo the implicitLogin if not logged in

* Try only todo the implicitLogin if not logged in

* Try only todo the implicitLogin if not logged in

* Try only todo the implicitLogin if not logged in

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* remove implicit flow parameter and pray that those process cloud tests are passing

* remove implicit flow parameter and pray that those process cloud tests are passing

* remove implicit flow parameter and pray that those process cloud tests are passing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* move authService stuff in the login component from ngOnInit to constructor

* move authService stuff in the login component from ngOnInit to constructor

* move authService stuff in the login component from ngOnInit to constructor

* move authService stuff in the login component from ngOnInit to constructor

* not use login component for silent login anymore!

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* reuse is PublicUrl from js-api

* reuse is PublicUrl from js-api

* revert travis changes

* revert travis changes

* Check if oauth is enabled

* Check if oauth is enabled

* Check if oauth is enabled

* Check if oauth is enabled
2020-01-25 10:15:24 +01:00
Eugenio Romano 469a806894 fix share test and search condition (#5401) 2020-01-25 10:05:54 +01:00
Eugenio Romano 5e284d487c make the pipeline great again (#5400) 2020-01-24 21:48:12 +01:00
Eugenio Romano a01d838d65 remove flaky test (#5395) 2020-01-24 12:58:20 +00:00
Chris Rodriguez 4b102c1e7f [ACA-2475] keyboard trap (#5386)
* chore: added cdk keyboard trap to mat-datpicker

* chore: keyboard trap in datetimepicker
2020-01-24 11:08:02 +00:00
Cristina Jalba ea8353639c Adding process variables to an existent process definition (#5394) 2020-01-24 09:04:37 +00:00
Gloria Broadbent b0f0abe9f7 GERMAN: Fix for https://github.com/Alfresco/alfresco-ng2-components/issues/5379 as reported by georg-un (#5392) 2020-01-23 18:28:13 +00:00
Popovics András 3c95425322 Fix wrong import (#5393) 2020-01-23 17:50:06 +00:00
Eugenio Romano 05c1b72b1a remove update PR env (#5383) 2020-01-23 12:08:59 +00:00
Denys Vuika c7c1d76510 [AAE-936] injecting external settings for amount widget (#5389)
* injecting external settings for amount widget

* undo form changes
2020-01-23 11:59:40 +00:00
Chris Rodriguez deb2a0082f chore: removes calendar popup on focus (#5388) 2020-01-22 18:50:28 +00:00
Alexandra Abrudan 7b3b9b2515 [AAE-1152] fixed tests using single mode displayed as a tag too (#5385) 2020-01-22 14:57:09 +00:00
Maurizio Vitale a0caed0f99 [AAE-1501] EditProcessCloud/EditTaskCloud - Ability to fetch applications by role (#5380)
* ProcessFilter - Be able to fetch applications based on the role

* TaskFilter - be able to fetch the applications by role
2020-01-21 18:51:38 +00:00
Alexandra Abrudan f20e158eaf [AAE-1152] added e2e tests for People and Group of people - CloudWidgets (#5372)
* [AAE-1152] added e2e tests for People and Group of people - CloudWidgets

* [AAE-1152] made code more readable

* [AAE-1152] added public-api file

* Fixing import in index.ts

* refactoring and creating public-api file
2020-01-21 17:38:34 +00:00
arditdomi 3c3aa7599a [AAE-1372] Refactor People/Group cloud component (#5355)
* [AAE-1372] Fix read-only preselected users can be deleted

* [AAE-1372] Fix people/group cloud component readonly mode

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Clear invalid user in single mode after replacing with a valid user

* [AAE-1372] Add progress bar while validation loading. When user gets removed remove from validation

* [AAE-1372] Fix lint errors

* [AAE-1372] Fix single selection e2e

* [AAE-1372] Fix unit tests - people/group cloud components

* [AAE-1372] Fix e2e, set People/Group formControls invalid when has preselect errors

* [AAE-1372] Fix invalid form control bug
2020-01-21 13:37:57 +00:00
Eugenio Romano 91abe87ccc fix JWT error (#5376) 2020-01-20 17:24:11 +00:00
Silviu Popa e0bc43d933 [AAE-1235] - fix task completion with datetime form widget (#5340) 2020-01-17 14:38:56 +00:00
Marouan Bentaleb dac0f72b96 Adding amount row editor for dynamic table (#5366)
* Adding amount row editor for dynamic table

* Adding amount row editor for dynamic table
2020-01-15 15:26:30 +01:00
cristinaj fd74811639 [AAE-838]Add a method to wait until datatable contains less then a specific nr… (#5370)
* Add a method to wait until datatable contains less then a specific nr of rows. This could be useful for waiting for datatable to load when searching or filtering it

* Moved the method to pagination page

* Renamed the method
2020-01-15 14:44:40 +01:00
Cilibiu Bogdan b931c4a85c [ADF-5062] Content Node Selector - show inputs based on configuration (#5368)
* toggle search and dropdown list by configuration

* update docs

* tests

* fix inputs setter

* rename
2020-01-15 10:51:57 +01:00
Eugenio Romano 3cf12fca49 fix readonly attach file scenarios (#5365) 2020-01-14 00:14:11 +01:00
Eugenio Romano fd53531be7 unify rancher update strategy (#5367)
* unify rancher update strategy

* fix script

* fix script
2020-01-13 16:06:59 +01:00
Eugenio Romano a8c2a0b1e2 [AAE-1174] select first user info when open the first time (#5345)
* select first info user when open

* add early check to build the tabs

* fix lint

* try different solution
2020-01-13 11:24:03 +01:00
Maurizio Vitale 26677c6789 adf-cli command init-aae use the user based on the role (#5364)
* Reuse the common deployment and modeling api

* Add files to testing

* Pass parameters

* Travis initaae with correct parameters

* Travis initaae with correct parameters

* Add cli to the smart build
2020-01-10 17:02:16 +00:00
cristinaj 94e02c0552 [AAE-1361]Add complete task of a process method (#5359)
* Add complete task of a process method

* Removed completeTaskOfAProcess method. We will add this along with a proper refactoring

* Remove unnecessary check
2020-01-08 16:46:16 +00:00
Alex Bolboșenco 3ecf6a3663 [AAE-1336] add version on completeTaskForm (#5354)
* add version on completeTaskForm

* fix test
2020-01-08 14:52:33 +01:00
Eugenio Romano bea8c61d91 new js-api should be deployed if build is ok (#5362) 2020-01-08 14:52:05 +01:00
Eugenio Romano 2d7a566cc5 close dialog in the redirect (#5361) 2020-01-08 14:33:06 +01:00
Eugenio Romano ad9aaf2b40 add mp3 support mediatype viewer/thumbnail blob (#5357) 2020-01-07 16:13:49 +01:00
Gloria Broadbent 755c84c7a0 Fix for LOC-186 - mistranslation in French (#5358) 2020-01-07 13:41:41 +01:00
Alfresco Build User 124c198f15 Update ADF packages version 3.7.0-beta6 (#5356) 2020-01-07 11:18:45 +01:00
siva kumar 68df1ad440 [AAE-1351] [GroupCloudComponent] Validate pre-selected groups (#5353)
* * Added an input flag to validate preselected groups.
* Modified demo shell groups page.

* * Added unit tests to the recent changes.

* * Fixed comments
2020-01-03 10:29:29 +00:00
siva kumar 12d068c228 [AAE-1344] [FE] - Removed all pre-selected users on removing of single pre-selected user. (#5350)
* [AAE-1344] [FE] - Removed all preselected users on removing of single pre-selected user.

* * Fixed Search problem on admin manage permision dialog

* * Fixed failing unit test.

* * Fixed failing unit test on group component
2020-01-02 13:09:27 +00:00
Eugenio Romano 9c83c35e61 [ADF-5009] close all the dialogs after false canActivate event (#5312)
* close all the dialogs after false canActivate event

* Update auth-guard-bpm.service.spec.ts

* sso fix

* fix lint
2020-01-02 10:21:10 +00:00
Eugenio Romano d7e56b641e Update package.json (#5346) 2020-01-02 10:19:14 +00:00
arditdomi 133a5c3df6 [AAE-1137] Refactor delete process directive (#5317)
* [AAE-1137] Refactor delete process directive

* [AAE-1137] Fix unit tests

* [AAE-1137] Add can show directive output

* [AAE-1137] Remove from demo-shell, update documentation

* [AAE-1137] Refactor cancel process directive

* [AAE-1137] documentation typo

* [AAE-1137] Add unsubscription

* [AAE-1137] Fix build errors

* [AAE-1137] Remove unused declaration
2019-12-31 15:41:54 +00:00
dhrn aa12be15d4 [ADF-5043] Default adf-cloud-task-list and adf-cloud-process-list doesn't work (#5347) 2019-12-23 17:17:03 +01:00
Eugenio Romano d8c35c9af0 [ADF-5055] update pdfjs (#5344)
* update pdfjs

* fix

* fix test
2019-12-22 17:52:38 +01:00
mergify[bot] 50f8e58314 Merge pull request #5338 from Alfresco/dev-eromano-ADF-4980
[ADF-4980] Fix app prefix
2019-12-20 15:46:27 +00:00
arditdomi f97cf0f446 [AAE-1260] Add changes detection for ProcessHeaderCloud when a process gets cancelled (#5341)
* [AAE-1260] Add changes detection for ProcessHeaderCloud when a process is cancelled

* [AAE-1260] Add service documentation

* [AAE-1260] fix typo

* [AAE-1260] Fix unit tests

* [AAE-1260] delete process header cloud service
2019-12-20 12:17:44 +00:00
Eugenio Romano e4fbd2c3d6 update e2e 2019-12-20 11:56:12 +00:00
Eugenio Romano 9ea5bad807 fix test 2019-12-19 13:25:51 +00:00
Eugenio Romano 02ea026b6b enanche doc 2019-12-19 13:25:51 +00:00
Eugenio Romano aba7095d3d remove other PR code 2019-12-19 13:25:50 +00:00
Eugenio Romano 0c9726049a fix usage of prefix and remove localstorage use in favour of our internal service 2019-12-19 13:25:50 +00:00
Eugenio Romano ffef29fd77 Update auth-guard-bpm.service.spec.ts 2019-12-19 13:25:49 +00:00
Eugenio Romano 26be911753 close all the dialogs after false canActivate event 2019-12-19 13:25:49 +00:00
Eugenio Romano af51977db4 fix userinfo e2e (#5343) 2019-12-19 12:42:35 +00:00
mergify[bot] 2013e5a6b0 Merge pull request #5342 from Alfresco/dev-dhrn-ADF-5001
[ADF-5001] Process Audit File Log APS1 section wrong instruction for complete processes
2019-12-19 10:03:29 +00:00
cristinaj 5c1f02a1fd [AAE-865]Create card view text item PO (#5320)
* Create card view text item PO

* Changed back the puppeteer version

* Fix the rootElement locator

* no message

* Fix wrong rebase

* * Added unique data-automation-id on cardViewTextComponent.

* Changed data-automation-id for float
2019-12-19 08:50:34 +00:00
dhrn a097926a5d [ADF-5001] Process Audit File Log APS1 section wrong instruction for complete processes 2019-12-19 11:25:07 +05:30
davidcanonieto dead0087f4 [AAE-1022] Fix components to work on Community environments (#5296)
* [AAE-1022] Fix components to work on Community environments

* Remove appName input
2019-12-18 17:33:50 +00:00
mergify[bot] 0897d372a6 Merge pull request #5339 from Alfresco/dev-abolbosenco-AAE-1238
[AAE-1238] Re-enable appVersion check
2019-12-18 15:17:02 +00:00
Eugenio Romano 16b300d871 [AAE-1237] remove excluded test (#5336)
* remove excluded test

* move exclude list in e2e folder
2019-12-18 14:54:29 +00:00
Alex Bolboșenco f4005102db [AAE-1238] Re-enable appVersion check 2019-12-18 15:56:56 +02:00
Alex Bolboșenco ba9f14f90a [AAE-1238] Re-enable appVersion check 2019-12-18 15:54:24 +02:00
Eugenio Romano f5b6676bcd Update working-with-nodes-api-service.md (#5337) 2019-12-18 12:13:17 +00:00
mergify[bot] da3a51dbed Merge pull request #5332 from Alfresco/dev-siva-AAE-1200-add-edit-icon
[AAE-1200] AAE - FE - Provide a way to define icon on CardViewArrayItemComponent
2019-12-17 12:52:19 +00:00
cristinaj 46d976e318 [AAE-641]Add tests for assignee not able to release process task (#5233)
* Add tests for assignee not able to release process task

* Changed the assignee of assigneeprocess process definition from admin.adf to hruser

* Changed the process used and changed random user to hruser
2019-12-17 12:42:07 +00:00
sivakumar414ram 1ea7efab8e * Updated doc 2019-12-17 16:26:37 +05:30
sivakumar414ram 86bd37b159 * Updated unit tests 2019-12-17 16:26:37 +05:30
sivakumar414ram e3f7e3da09 * Add Edit icon 2019-12-17 16:26:36 +05:30
Alexandra Abrudan 2cc7fe7efe [AAE-1178] ADF - deleted un-necessary steps (#5335)
* [AAE-1178] e2e/pages/adf - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys()

* [AAE-1178] lib & cloud - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys()
2019-12-17 09:32:50 +00:00
Eugenio Romano 5c7cd57368 fix tag script 2019-12-17 09:26:11 +00:00
Eugenio Romano 3f4c5c94b4 Update README.md 2019-12-16 14:57:59 +00:00
cristinaj 9778ca67e7 [AAE-1180]Fix datatable tests (#5334)
* Fix datatable tests

* excluded some of the tests that depend on fixing the rendition service issue we have with ACS 6.2 => AAE-1237
2019-12-16 10:20:08 +00:00
maurizio vitale 89de7393d2 fix version error 2019-12-12 20:11:44 +00:00
Eugenio Romano 5bd75a8295 fix 2019-12-12 18:04:15 +00:00
Maurizio Vitale ac40353e77 temporary comment code (#5330) 2019-12-12 17:39:56 +00:00
Maurizio Vitale e1ff2909bd Fix the attach content from alfresco and local (#5328) 2019-12-12 13:41:40 +00:00
Snyk bot 4699f407e9 fix: package.json, package-lock.json & .snyk to reduce vulnerabilities (#5326)
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-TREEKILL-536781
2019-12-12 12:13:35 +00:00
Geeta Mandakini Ayyalasomayajula 90c5e41d67 updated simpleapp - calledprocess - usertask with a due date from the datetime process variable (#5327) 2019-12-12 10:16:18 +00:00
Maurizio Vitale a8361b52cf Making sure the people does not change the original obj reference (#5325) 2019-12-11 20:57:58 +00:00
Maurizio Vitale 7519554ded Fix readonly Fix add remove (#5324)
* Fix readonly Fix add remove

* Remove useless unit test

* Remove useless code
2019-12-11 17:51:14 +00:00
Maurizio Vitale 88d89b4ca8 [AAE-1152] Making sure the people and group widget is working fine as part of form (#5322)
* Making sure the people and group widget is working fine as part of the form

* Be able to save a form with people and group

* Fix tslint

* Fix html error

* Fix unit test
2019-12-11 11:22:50 +00:00
cristinaj d8b703b6ef Fixed the process definition name (#5321) 2019-12-10 16:17:10 +00:00
Eugenio Romano 58ca03b077 missing asset 2019-12-10 14:09:15 +00:00
Eugenio Romano 703b96c9b0 [AAE-1152] Add People and Group component in the AAE Forms (#5314)
* firt version groupo component widget

* fix group

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix problem update script

* multiple browser ps cloud

* add field assignment

* add field in form model

* no need subobject we need an issue to refactor the field model

* no need subobject we need an issue to refactor the field model

* fix unit test

* remove title modify

* revert

* fix lint

* exclude AAE-1179

* exclude tooltip e2e
2019-12-10 11:24:24 +00:00
Maurizio Vitale a63e487637 Use ecmHost in case of startFormEvent (#5318) 2019-12-10 11:11:05 +00:00
mergify[bot] acd5d78662 Merge pull request #5315 from Alfresco/dev-crisj-ADF-840
[AAE-840]Add method to start a process knowing the name and the processDefinition
2019-12-09 12:25:21 +00:00
siva kumar 84dac48d9b [ADF-5031][PeopleCloudComponent] [PeopleCloudComponent] Provide a way to make selected items read-only (not remove) (#5289)
* [DW-1618] Admin App -Application Instances - Able to delete all the admin users in Manage app permissions.

* [ADF-5031] [PeopleCloudComponent] Do not delete selected users completely.

* Added flag for not to remove last chip
* Added unit tests to the changes.

* * Added doc

* * Changed removeLastChip to remove

* * Added readonly strategy
* Removed remove input
* Updated unit tests

* * Added  tooltip
* Hiding remove icon.

* * Fixed unit tests
2019-12-09 10:40:33 +00:00
Cristina Jalba c2f7cdb516 Add method to start a process knowing the name and the processDefinition 2019-12-09 08:02:34 +02:00
mergify[bot] 57df944bbf Merge pull request #5313 from Alfresco/eromano-patch-2
Fix angular configuration demo shell
2019-12-07 19:01:43 +00:00
Eugenio Romano 57c5d7fc1a Fix angular configuration demo shell 2019-12-05 21:43:04 +00:00
mergify[bot] f3dedbf42c Merge pull request #5311 from Alfresco/mvitale-AAE-1121-kubectl-clean-app
Ability to clean the env passing apps name
2019-12-05 11:13:23 +00:00
Maurizio Vitale 43995e3795 fix lint 2019-12-05 10:29:58 +00:00
maurizio vitale b423eb8c51 Ability to clean the env passing apps name 2019-12-04 18:22:34 +00:00
maurizio vitale 9a91aa28a2 Pass to the deploy the infrastructure 2019-12-04 18:21:35 +00:00
cristinaj fcb83b8990 Add methods for form outcome buttons and info for simpleapp process and form (#5310) 2019-12-04 14:07:49 +00:00
siva kumar cc4c9bc567 [ADF-5034] [GroupCloudComponent] Provide a way to make pre-selected groups read-only. (#5306)
* Added readonly property to the IdentityGroupModel.
* Updated unit tests.
* Changed class to interface.
* Updated doc
2019-12-04 13:26:56 +00:00
mergify[bot] c01f2744b6 Merge pull request #5301 from Alfresco/dev-gmandakini-add-editjson-dialog
Add editjson dialog
2019-12-04 12:42:10 +00:00
gmandakini 4c9da11092 added a thrid optional partameter for clickField method in the FormFields to accomodate cssContainingText locators. 2019-12-04 11:17:45 +00:00
gmandakini 1260e779ad added edit-json-dialog definition to be used in process workspace. 2019-12-04 11:17:45 +00:00
Eugenio Romano 5c1aff4187 [AAE-991] ADF - Add CI build failure notification #801 (#5308)
* Update .travis.yml

* Update .travis.yml
2019-12-03 16:40:08 +00:00
Cilibiu Bogdan 79eb9365c8 [ADF-5007] Comments - textarea Escape event cannot be canceled (#5266)
* use keydown event

* cancel event propagation

* update tests
2019-12-03 14:11:21 +00:00
Geeta Mandakini Ayyalasomayajula f2cbd0cd9a update the resources file to have the connectors (#5307) 2019-12-03 12:18:50 +00:00
mergify[bot] ca36618464 Merge pull request #5264 from Alfresco/dev-pionnegru-ADF-5006
[ADF-5006] Datatable - custom cell template focus not working
2019-12-03 10:51:17 +00:00
AleAb25 f090fb51cb [ADF-5022] added automation for Display Value Widget (#5302)
* [ADF-5022] added automation for Display Value Widget

* [ADF-5022] fixed licences

* [ADF-5022] fixed test name format

* [ADF-5022] fixed import-BrowserVisibility and adding type for fieldId & re-write methods with try-catch for DisplayValue
2019-12-03 10:48:03 +00:00
cristinaj e949b8444c Remove datatable tests related to demo-shell only. (#5305) 2019-12-03 06:53:07 +00:00
Eugenio Romano 5d11aedbc3 Update .travis.yml (#5304) 2019-12-02 20:13:18 +00:00
Geeta Mandakini Ayyalasomayajula 0f6e420cdc Updated the rest url being used in the miltiinstance-servicetask, added the correlationkeys to the interrupting Start event and noninterrupting start event with in the Event Subprocess and added Throw event in the UI and the process variable as part of the message name in the Intermediate Massage Event. (#5303) 2019-12-02 18:08:15 +00:00
pionnegru 10b024e53a tests 2019-12-02 19:17:33 +02:00
pionnegru f06670f318 update docs 2019-12-02 19:17:33 +02:00
pionnegru 21d2d18d2e update column models 2019-12-02 19:17:32 +02:00
pionnegru 1784106e6b add focus parameter 2019-12-02 19:17:32 +02:00
pionnegru 7772f4a5e7 disable cell focus for actions template 2019-12-02 19:17:31 +02:00
pionnegru e4ae7b2466 enable focus from column definititon 2019-12-02 19:17:31 +02:00
Eugenio Romano 162e43fe3b Update protractor.conf.ts 2019-12-02 16:20:44 +00:00
Eugenio Romano fe802f29c0 Implement smart runner in ADF (#5300) 2019-12-02 14:59:16 +00:00
arditdomi b2ca28d3fd [ADF-5032] Add delete process directive (#5295) 2019-11-29 16:03:06 +00:00
Eugenio Romano 43f2c0bc65 Update .mergify.yml 2019-11-29 16:02:52 +00:00
Eugenio Romano e8477840b5 fix script 2019-11-29 15:55:41 +00:00
Geeta Mandakini Ayyalasomayajula 3d27323f5f updated the candidatebaseapp (#5298)
* updated the candidatebaseapp

* updated the resources file
2019-11-29 15:38:23 +00:00
Eugenio Romano cf83630573 [ADF-5033] Improve publish script (#5297)
* check if npm package is already present before to publish

* fix lint and remove duplicate password

* fix script
2019-11-29 14:51:46 +00:00
Eugenio Romano 8541591816 [ADF-5027] Fix APS rendition (#5285)
* fix APS rendition

* fix unit

* fix unit
2019-11-27 15:48:04 +00:00
Geeta Mandakini Ayyalasomayajula 094cf4ac0f updated multiinstance-completion process definition (#5290) 2019-11-27 12:07:52 +00:00
Eugenio Romano f95989809d Improve scripts after release (#5288)
* update scripts problems

* improve script

* fix alignment
2019-11-26 19:37:58 +00:00
dhrn 809b38aa2b [ADF-4823] [e2e] Displaying a file in a form does not work (#5069)
* [ADF-4823] [e2e] Displaying a file in a form does not work

* * delete removed

* * comments fixed

* * e2e fixed

* * await removed

* * form name fixed

* * rebase conflicts

* * fixed e2e
2019-11-26 11:11:04 +00:00
Cilibiu Bogdan 90402ac43d [ADF-5015] DocumentList - favorites properties (#5278)
* merge entry properties to target

* fix default properties undefined value

* tests
2019-11-26 09:53:35 +00:00
2216 changed files with 85716 additions and 53263 deletions
+17
View File
@@ -0,0 +1,17 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major version
last 2 iOS major versions
Firefox ESR
not IE 9-11 # For IE 9-11 support, remove 'not'.
+2 -21
View File
@@ -10,28 +10,9 @@
# precedence. When someone opens a pull request that only
# modifies JS files, only @js-owner and not the global
# owner(s) will be requested for a review.
e2e/* @eromano @cristinaj @gmandakini @marouanbentaleb
# You can also use email addresses if you prefer. They'll be
# used to look up users just like we do for commit author
# emails.
#*.go docs@example.com
docs/* @m-hulbert @eromano
# In this example, @doctocat owns any files in the build/logs
# directory at the root of the repository and any of its
# subdirectories.
#/build/logs/ @doctocat
/e2e/ @eromano @cristinaj
# The `docs/*` pattern will match files like
# `docs/getting-started.md` but not further nested files like
# `docs/build-app/troubleshooting.md`.
#docs/* docs@example.com
# In this example, @octocat owns any file in an apps directory
# anywhere in your repository.
#apps/ @octocat
# In this example, @doctocat owns any file in the `/docs`
# directory in the root of your repository.
#/docs/ @doctocat
/docs/ @m-hulbert @eromano
+8
View File
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: develop
+54
View File
@@ -0,0 +1,54 @@
name: "CodeQL"
on:
push:
branches: [develop, master]
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
schedule:
- cron: '0 5 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
+18
View File
@@ -0,0 +1,18 @@
on:
issue_comment:
types: [created]
name: Automatic Rebase
jobs:
rebase:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1
View File
@@ -23,3 +23,4 @@ e2e-output/
coverage/
/desktop.ini
out-tsc
!/.protractor-smartrunner/
+1 -1
View File
@@ -11,7 +11,7 @@ pull_request_rules:
conditions:
- status-success=continuous-integration/travis-ci/pr
- status-success=security/snyk - package.json (eromano (GitHub marketplace))
- '#approved-reviews-by>=2'
- '#approved-reviews-by>=1'
- '#changes-requested-reviews-by=0'
- '#commented-reviews-by=0'
- label!="do not merge"
+37 -1
View File
@@ -1,5 +1,5 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.13.5
version: v1.14.1
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
@@ -8,3 +8,39 @@ patch:
patched: '2019-11-20T10:48:59.194Z'
- '@alfresco/js-api > @alfresco/adf-cli > npm-registry-fetch > make-fetch-happen > https-proxy-agent':
patched: '2019-11-20T10:48:59.194Z'
SNYK-JS-TREEKILL-536781:
- snyk > snyk-sbt-plugin > tree-kill:
patched: '2019-12-12T00:35:06.820Z'
SNYK-JS-LODASH-567746:
- snyk > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/dep-graph > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > inquirer > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-config > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-mvn-plugin > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nodejs-lockfile-parser > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nuget-plugin > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-go-plugin > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nodejs-lockfile-parser > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nuget-plugin > dotnet-deps-parser > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-php-plugin > @snyk/composer-lockfile-parser > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/ruby-semver > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
+1
View File
@@ -1 +1,2 @@
_theming.scss
lib/core/viewer/components/pdf-viewer-host.component.scss
+70 -52
View File
@@ -3,131 +3,149 @@ git:
quiet: true
language: node_js
dist: trusty
dist: bionic
node_js:
# Use the explicit NodeJS LTS version 8.9.4 to avoid any automatic upgrade of the version.
- '10.16.0'
- '12.16.3'
before_install: . ./scripts/ci/job_hooks/before_install.sh
install:
echo "no install"
branches:
only:
- master
- development
- develop
- /.*old-env.*/
- /.*next-release.*/
- /.*beta.*/
- /.*greenkeeper.*/
# TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR
stages:
- name: Lint & Build Dist
if: type = pull_request OR type = api
- name: Lint & Build Dist & Release
if: (type = push OR type = cron) AND tag IS blank
- name: Update Rancher
if: (type = push AND tag IS blank) OR type = api
- name: Deploy PR
if: type = pull_request && commit_message =~ /\[create preview\]/
- 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: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher
if: (type = push AND tag IS blank)
if: (branch != master AND type != cron AND tag IS blank) OR type = api
- name: e2e Test
if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher PR
if: type = pull_request
if: (branch != master AND type != cron AND tag IS blank) OR type = api
- name: Update Children Projects
if: branch = master AND type = push OR (tag =~ .*beta.*)
- name: Release beta tag
if: type = cron
if: tag =~ .*beta.*
- name: Release tag
if: type = cron OR branch = master
addons:
chrome: stable
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
- export GIT_HASH=`git rev-parse HEAD`
services:
- xvfb
jobs:
include:
# Run Only for any PR
- stage: Lint & Build Dist
name: Lint & Build Dist
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
# Run Only on Development and master
- stage: Lint & Build Dist & Release
name: Lint & Build Dist & Release
name: Build
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
- ./scripts/travis/release/release.sh
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
- echo "Running the docker with tag" $TAG_VERSION
- ./node_modules/@alfresco/adf-cli/bin/adf-cli docker-publish --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION,$TAGS" --pathProject "$(pwd)"
- ./scripts/travis/build/build.sh
- ./scripts/lint.sh
- ./scripts/travis/release/release-npm.sh
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: Unit test
name: Unit test content
script: ./scripts/travis/unit-test/content.sh
- stage: Unit test
name: Unit test core extension demo
script: ./scripts/travis/unit-test/core-extension-demo.sh
script: ./scripts/travis/unit-test/core-extension.sh
- stage: Unit test
name: Unit test process process-cloud insights
name: Unit test process insights
script: ./scripts/travis/unit-test/process.sh
- stage: Unit test
name: Unit test process-cloud
script: ./scripts/travis/unit-test/process-cloud.sh
- stage: Update Children Projects
script: ./scripts/travis/update/update-children.sh
- stage: Release beta tag
- stage: Release tag
script: ./scripts/travis/release/git-tag.sh
- stage: e2e Test
name: core
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/core-e2e.sh
- stage: e2e Test
name: content
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/content-services-e2e.sh
- stage: e2e Test
name: search
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/search-e2e.sh
- stage: e2e Test
name: process
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/process-services-e2e.sh
- stage: e2e Test
name: process Cloud
before_script:
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
- ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-libs.tar.bz2" -o "./lib/dist"
script: ./scripts/travis/e2e/process-services-cloud-e2e.sh
- stage: Update Rancher
name: Update Rancher
before_script: ./scripts/ci/utils/artifact-from-s3.sh -a "$S3_DBP_FOLDER/alfresco-demoshell.tar.bz2" -o "./dist/demo-shell"
script: ./scripts/travis/deploy/deploy.sh
- stage: Deploy PR
name: Deploy PR
script: ./scripts/travis/deploy/deploy-pr.sh
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/npm-check-bundles.sh -v ${ADF_VERSION}
- stage: Update Rancher
script:
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
- echo "Update rancher with docker tag" $TAG_VERSION --url $REPO_RANCHER --environment_name $REPO_RANCHER_ADF_NAME
- ./scripts/rancher-update.sh --access_key $RANCHER_TOKEN --secret_key $RANCHER_SECRET --url $REPO_RANCHER --environment_name $REPO_RANCHER_ADF_NAME --image docker:$DOCKER_REPOSITORY:$TAG_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
- stage: Update Rancher PR
name: Update Rancher PR
script: ./scripts/travis/deploy/deploy.sh
notifications:
slack:
on_pull_requests: false
rooms:
secure: "qcTP/+rhVweMSZZAQMPz4sW7boS8XC0RX1SPYgg7hIfxBr9747WpRLkJ1sirkVaXI/6XfYAyl42CTfPmTuJxIC+co/NSnEDknwVsnKZd0O/ykTpo+mxIN4BTZX8dm+gELR5IEYQPs+Yki3ZnD9b+0mCK1yD8JallKCQeE2U9BhzZhP/Fn0ce35EulybNp3QQDaox0XC+7gadMdxlvK8mzP1scw76wRLtx25QLxxV+OwEw0bzyh8y3onfjHfnoDcUQWRTNdnjapzmgf1LNdC202A5kwp5sJggfSDr+ActRqaMvv4BbMsFpdan34B6zPQJfyZL1r8IB8O8BEKcAaOUVcTjnZAOom8kHS8F07/mo5xnNYmV8oNX2/egr1CiG4U0EAGF2XGqM+vetYnF88LTEzy84kVxmSwKGVfzlGOyTplMXJ1iCENndtfWm1AXhAFj5RSsSAZg6IStTM+mcpnC75moEwQtj8bTenwehHz1HQAjQX7xeTQo27SxDc7oqp1ReyXCllMjKxckjVGmp2j6yxn1Jl55kivBj57vluLtEtziOGluVELP5E2fV0VAuErNhnjLm4LJARVN76PQaTOXYwATVVJJDhb/77TesvxQsr3VfiROEKm7QB7IDFjghjLLisSX67JQ5+7K/qMlqf9+9hNw4n0v1eMylVjt+gyxspc="
on_failure: always
on_success: change
template:
- "Repo `%{repository_slug}` *%{result}* build (<%{build_url}|#%{build_number}>) for commit (<%{compare_url}|%{commit}>) on branch `%{branch}`."
- "Author: %{author} Execution time: *%{duration}*"
- "Message: %{message}"
cache:
directories:
- node_modules
- demo-shell/dist
- tmp
+17
View File
@@ -0,0 +1,17 @@
specFile=$1;
configFile=$2;
findconfig() {
if [ -f "$1" ]; then
printf '%s\n' "${PWD%/}/$1"
elif [ "$PWD" = / ]; then
false
else
(cd .. && findconfig $1)
fi
}
DIR=$(dirname "$specFile")
cd $DIR
configFile=`findconfig "$configFile"`;
echo "$configFile";
+27
View File
@@ -0,0 +1,27 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "e2e",
"program": "${workspaceFolder}/node_modules/protractor/bin/protractor",
"args": [
"`${workspaceFolder}/.vscode/closest-config-finder.sh ${file} e2e/protractor.conf.js`",
"--specs=${file}"
],
"envFile": "${workspaceFolder}/.env",
"console": "integratedTerminal",
"sourceMaps": true,
"smartStep": true,
"skipFiles": [
"${workspaceFolder}/node_modules/**/*.js",
"<node_internals>/**/*.js"
],
"internalConsoleOptions": "neverOpen"
}
]
}
+5 -5
View File
@@ -13,10 +13,10 @@ Before you submit a pull request please follow the steps below:
* Search in the [GitHub release history](https://github.com/Alfresco/alfresco-ng2-components/releases) to see if your
issue has already been solved in a new version of ADF.
* Fork our repository (if you don't know how to do this, read [this GitHub document](https://help.github.com/articles/creating-a-pull-request-from-a-fork/)).
* Make your changes in a new git branch starting from development and following our [naming convention](https://github.com/Alfresco/alfresco-ng2-components/wiki/Branching-Strategy)
* Make your changes in a new git branch starting from develop and following our [naming convention](https://github.com/Alfresco/alfresco-ng2-components/wiki/Branching-Strategy)
```shell
git checkout -b dev-{developerName}-{GitIssuedId/JiraIssueId} development
git checkout -b dev-{developerName}-{GitIssuedId/JiraIssueId} develop
```
* Create your PR **including appropriate test cases** following the [code contribution acceptance criteria](https://github.com/Alfresco/alfresco-ng2-components/wiki/Code-contribution-acceptance-criteria)
@@ -28,16 +28,16 @@ Before you submit a pull request please follow the steps below:
git push origin dev-{developerName}-{GitIssuedId/JiraIssueId}
```
* In GitHub, send a pull request to `development`.
* In GitHub, send a pull request to `develop`.
* If we suggest changes then:
* Make the required updates.
* Re-run the tests.
* Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
```shell
git fetch development
git fetch develop
git checkout dev-my-branch
git rebase development -i
git rebase develop -i
git push -f
```
Note: If you need more information about how to sync your fork, see [this page](https://help.github.com/articles/syncing-a-fork/).
+2 -31
View File
@@ -1,41 +1,12 @@
# 1. Generate licenses
FROM node:11.9-alpine AS builder
WORKDIR /usr/src/alfresco
COPY package.json package.json
RUN mkdir -p ./licenses && \
yarn licenses list > ./licenses/licenses.txt && \
yarn licenses generate-disclaimer > ./licenses/disclaimer.txt
# 2. Generate image
FROM nginx:stable-alpine
LABEL version="3.0.0"
ARG GROUPNAME=Alfresco
ARG GROUPID=1000
ARG USERNAME=adf
ARG USERID=33011
ARG BUILD_NUMBER
ARG PROJECT_NAME=demo-shell
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
COPY ./docker/entrypoint.sh /
WORKDIR /usr/share/nginx/html
COPY demo-shell/dist/ .
COPY --from=builder /usr/src/alfresco/licenses ./licenses
COPY dist/$PROJECT_NAME .
RUN addgroup -g ${GROUPID} ${GROUPNAME} && \
adduser -S -u ${USERID} -G ${GROUPNAME} -s "/bin/bash" ${USERNAME} && \
chown -R ${USERNAME}:${GROUPNAME} ./${BUILD_NUMBER}/app.config.json && \
chown -R ${USERNAME}:${GROUPNAME} /var/cache/nginx && \
touch /var/run/nginx.pid && \
chown -R ${USERNAME}:${GROUPNAME} /var/run/nginx.pid && \
chmod +x /entrypoint.sh && \
chown -R ${USERNAME}:${GROUPNAME} /entrypoint.sh
EXPOSE 8080
USER ${USERNAME}
ENTRYPOINT [ "/entrypoint.sh" ]
+3 -3
View File
@@ -2,8 +2,8 @@
| branch | status |
| --- | --- |
| master | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
| development | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=development)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
| master | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
| develop | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=develop)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d9eb873741da403bb3284778102372e7)](https://www.codacy.com/app/Alfresco/alfresco-ng2-components?utm_source=github.com&utm_medium=referral&utm_content=Alfresco/alfresco-ng2-components&utm_campaign=badger)
[![Join the chat at https://gitter.im/Alfresco/alfresco-ng2-components](https://badges.gitter.im/Alfresco/alfresco-ng2-components.svg)](https://gitter.im/Alfresco/alfresco-ng2-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -65,5 +65,5 @@ All components are supported in the following browsers:
* Due to a [known issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1188880) in Firefox, the Alfresco Upload Component does not currently support folder upload functionality on Firefox.
See the [Browser Support](BROWSER-SUPPORT.md) article for more details.
See the [Browser Support](BROWSER-SUPPORT.md) article for more details.
+94 -303
View File
@@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "lib",
"projects": {
"dist": {
"demoshell": {
"root": "demo-shell",
"sourceRoot": "demo-shell/src",
"projectType": "application",
@@ -11,248 +11,29 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "demo-shell/dist",
"aot": true,
"allowedCommonJsDependencies": [
"minimatch",
"minimatch-browser",
"moment-es6",
"superagent",
"event-emitter",
"brace-expansion",
"d",
"chart.js"
],
"outputPath": "dist/demo-shell",
"index": "demo-shell/src/index.html",
"main": "demo-shell/src/main.ts",
"tsConfig": "demo-shell/src/tsconfig.app.json",
"tsConfig": "tsconfig.dev.json",
"polyfills": "demo-shell/src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": [
"demo-shell/src/node_modules"
]
"includePaths": ["lib"]
},
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
"input": "demo-shell/resources",
"output": "/resources"
},
{
"glob": "**/*",
"input": "demo-shell/src/app/components/lazy-loading/i18n",
"output": "/resources/lazy-loading/i18n"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/prebuilt-themes",
"output": "/assets/prebuilt-themes"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-insights/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services-cloud/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
"output": "/assets"
},
{
"glob": "pdf.worker.min.js",
"input": "node_modules/pdfjs-dist/build",
"output": "/"
},
{
"glob": "**/*",
"input": "node_modules/ngx-monaco-editor/assets/monaco",
"output": "/assets/monaco/"
}
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style.scss"
],
"scripts": [
"node_modules/pdfjs-dist/build/pdf.js",
"node_modules/pdfjs-dist/web/pdf_viewer.js",
"node_modules/raphael/raphael.min.js",
"node_modules/moment/min/moment.min.js"
]
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": true,
"buildOptimizer": true,
"verbose": false,
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.prod.ts"
}
]
},
"e2e": {
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.e2e.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dist:build",
"host": "0.0.0.0",
"port": 3000,
"proxyConfig": "demo-shell/proxy.conf.js",
"disableHostCheck": true
},
"configurations": {
"production": {
"browserTarget": "dist:build:production"
},
"e2e": {
"browserTarget": "dist:build:e2e"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dist:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "demo-shell/src/test.ts",
"karmaConfig": "./demo-shell/karma.conf.js",
"polyfills": "demo-shell/src/polyfills.ts",
"tsConfig": "demo-shell/src/tsconfig.spec.json",
"scripts": [
"node_modules/pdfjs-dist/build/pdf.js",
"node_modules/pdfjs-dist/web/pdf_viewer.js",
"node_modules/raphael/raphael.min.js",
"node_modules/moment/min/moment.min.js"
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style.scss"
],
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
"input": "demo-shell/resources",
"output": "/resources"
},
{
"glob": "**/*",
"input": "demo-shell/src/app/components/lazy-loading/i18n",
"output": "/resources/lazy-loading/i18n"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/prebuilt-themes",
"output": "/assets/prebuilt-themes"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-core/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-insights/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-process-services-cloud/bundles/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "node_modules/@alfresco/adf-content-services/bundles/assets",
"output": "/assets"
},
{
"glob": "pdf.worker.min.js",
"input": "node_modules/pdfjs-dist/build",
"output": "/"
},
{
"glob": "**/*",
"input": ".node_modules/ngx-monaco-editor/assets/monaco",
"output": "/assets/monaco/"
}
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*",
"package.json"
]
}
}
}
},
"dev": {
"root": "demo-shell",
"sourceRoot": "demo-shell/src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "demo-shell/dist",
"index": "demo-shell/src/index.html",
"main": "demo-shell/src/main.ts",
"tsConfig": "demo-shell/src/tsconfig.dev.json",
"polyfills": "demo-shell/src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": [
"lib"
]
},
"assets": [
"demo-shell/src/assets",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
"input": "demo-shell/src/assets",
@@ -285,17 +66,17 @@
},
{
"glob": "**/*",
"input": "lib/process-services/assets",
"input": "lib/process-services/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/process-services-cloud/assets",
"input": "lib/process-services-cloud/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/content-services/assets",
"input": "lib/content-services/src/lib/assets",
"output": "/assets"
},
{
@@ -305,7 +86,7 @@
},
{
"glob": "**/*",
"input": "lib/content-services/i18n",
"input": "lib/content-services/src/lib/i18n",
"output": "/assets/adf-content-services/i18n"
},
{
@@ -349,6 +130,12 @@
},
"configurations": {
"production": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
@@ -367,6 +154,12 @@
]
},
"e2e": {
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
],
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
@@ -379,7 +172,7 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dev:build",
"browserTarget": "demoshell:build",
"host": "0.0.0.0",
"port": 3000,
"proxyConfig": "demo-shell/proxy.conf.js",
@@ -387,19 +180,13 @@
},
"configurations": {
"production": {
"browserTarget": "dev:build:production"
"browserTarget": "demoshell:build:production"
},
"e2e": {
"browserTarget": "dev:build:e2e"
"browserTarget": "demoshell:build:e2e"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dev:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
@@ -421,6 +208,7 @@
],
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
@@ -454,17 +242,17 @@
},
{
"glob": "**/*",
"input": "lib/process-services/assets",
"input": "lib/process-services/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/process-services-cloud/assets",
"input": "lib/process-services-cloud/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/content-services/assets",
"input": "lib/content-services/src/lib/assets",
"output": "/assets"
},
{
@@ -474,7 +262,7 @@
},
{
"glob": "**/*",
"input": "lib/content-services/i18n",
"input": "lib/content-services/src/lib/i18n",
"output": "/assets/adf-content-services/i18n"
},
{
@@ -508,18 +296,13 @@
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*",
"package.json"
]
"tsConfig": ["tsconfig.dev.json"],
"exclude": ["**/node_modules/**/*", "package.json"]
}
}
}
},
"lib-e2e-test": {
"demoshell-e2e": {
"root": "demo-shell",
"sourceRoot": "./demo-shell",
"projectType": "application",
@@ -540,19 +323,15 @@
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.ts",
"protractorConfig": "./e2e/protractor.conf.js",
"devServerTarget": "lib-e2e-test:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"./e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**/*"
]
"tsConfig": ["./e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**/*"]
}
}
}
@@ -571,7 +350,8 @@
},
"configurations": {
"production": {
"project": "lib/core/ng-package.json"
"project": "lib/core/ng-package.json",
"tsConfig": "lib/core/tsconfig.lib.prod.json"
}
}
},
@@ -590,11 +370,9 @@
"options": {
"tsConfig": [
"lib/core/tsconfig.lib.json",
"lib/core/tsconfig.lib.json"
"lib/core/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -613,7 +391,8 @@
},
"configurations": {
"production": {
"project": "lib/content-services/ng-package.json"
"project": "lib/content-services/ng-package.json",
"tsConfig": "lib/content-services/tsconfig.lib.prod.json"
}
}
},
@@ -634,9 +413,7 @@
"lib/content-services/tsconfig.lib.json",
"lib/content-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -655,7 +432,8 @@
},
"configurations": {
"production": {
"project": "lib/process-services/ng-package.json"
"project": "lib/process-services/ng-package.json",
"tsConfig": "lib/process-services/tsconfig.lib.prod.json"
}
}
},
@@ -676,9 +454,7 @@
"lib/process-services/tsconfig.lib.json",
"lib/process-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -697,7 +473,8 @@
},
"configurations": {
"production": {
"project": "lib/process-services-cloud/ng-package.json"
"project": "lib/process-services-cloud/ng-package.json",
"tsConfig": "lib/process-services-cloud/tsconfig.lib.prod.json"
}
}
},
@@ -718,9 +495,7 @@
"lib/process-services-cloud/tsconfig.lib.json",
"lib/process-services-cloud/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -739,7 +514,8 @@
},
"configurations": {
"production": {
"project": "lib/insights/ng-package.json"
"project": "lib/insights/ng-package.json",
"tsConfig": "lib/insights/tsconfig.lib.prod.json"
}
}
},
@@ -760,16 +536,14 @@
"lib/insights/tsconfig.lib.json",
"lib/insights/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
},
"extensions": {
"root": "lib/extensions",
"sourceRoot": "lib/extensions/src/lib",
"sourceRoot": "lib/extensions/src",
"projectType": "library",
"prefix": "adf",
"architect": {
@@ -778,6 +552,11 @@
"options": {
"tsConfig": "lib/extensions/tsconfig.lib.json",
"project": "lib/extensions/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "lib/extensions/tsconfig.lib.prod.json"
}
}
},
"test": {
@@ -797,9 +576,7 @@
"lib/extensions/tsconfig.lib.json",
"lib/extensions/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
@@ -815,14 +592,11 @@
"options": {
"tsConfig": "lib/testing/tsconfig.lib.json",
"project": "lib/testing/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/testing/src/test.ts",
"tsConfig": "lib/testing/tsconfig.spec.json",
"karmaConfig": "lib/testing/karma.conf.js"
},
"configurations": {
"production": {
"tsConfig": "lib/testing/tsconfig.lib.prod.json"
}
}
},
"lint": {
@@ -832,13 +606,30 @@
"lib/testing/tsconfig.lib.json",
"lib/testing/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
"exclude": ["**/node_modules/**"]
}
}
}
},
"cli": {
"root": "lib/cli",
"sourceRoot": "lib/cli",
"projectType": "library",
"prefix": "adf",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/cli/tsconfig.json"
},
"configurations": {
"production": {
"tsConfig": "lib/cli/tsconfig.lib.prod.json"
}
}
}
}
}
},
"defaultProject": "dist"
"defaultProject": "demoshell"
}
+6 -13
View File
@@ -6,10 +6,8 @@
"CSRF",
"glyphicon",
"sharedlinks",
"Redistributable",
"fullscreen",
"sidenav",
"injectable",
"truthy",
"cryptodoc",
"mysites",
@@ -33,16 +31,7 @@
"SOLR",
"unshare",
"validators",
"guid",
"polyfill",
"polyfills",
"jsonp",
"hammerjs",
"pdfjs",
"xpath",
"tooltip",
"tooltips",
"unindent",
"exif",
"cardview",
"webm",
@@ -138,13 +127,17 @@
"booleanvisibility",
"processparent",
"uploadfileform",
"processwithstarteventform"
"processwithstarteventform",
"processstring",
"typeahed",
"minmax"
],
"dictionaries": [
"html",
"en-gb",
"en_US",
"softwareTerms"
"softwareTerms",
"node"
],
"ignorePaths": [
"lib/{content-services,core,extensions,insights,process-services}/**/*.spec.ts",
+95
View File
@@ -0,0 +1,95 @@
/**
* This file decorates the Angular CLI with the Nx CLI to enable features such as computation caching
* and faster execution of tasks.
*
* It does this by:
*
* - Patching the Angular CLI to warn you in case you accidentally use the undecorated ng command.
* - Symlinking the ng to nx command, so all commands run through the Nx CLI
* - Updating the package.json postinstall script to give you control over this script
*
* The Nx CLI decorates the Angular CLI, so the Nx CLI is fully compatible with it.
* Every command you run should work the same when using the Nx CLI, except faster.
*
* Because of symlinking you can still type `ng build/test/lint` in the terminal. The ng command, in this case,
* will point to nx, which will perform optimizations before invoking ng. So the Angular CLI is always invoked.
* The Nx CLI simply does some optimizations before invoking the Angular CLI.
*
* To opt out of this patch:
* - Replace occurrences of nx with ng in your package.json
* - Remove the script from your postinstall script in your package.json
* - Delete and reinstall your node_modules
*/
const fs = require("fs");
const os = require("os");
const cp = require("child_process");
const isWindows = os.platform() === "win32";
const { output } = require("@nrwl/workspace");
/**
* Paths to files being patched
*/
const angularCLIInitPath = "node_modules/@angular/cli/lib/cli/index.js";
/**
* Patch index.js to warn you if you invoke the undecorated Angular CLI.
*/
function patchAngularCLI(initPath) {
const angularCLIInit = fs.readFileSync(initPath, "utf-8").toString();
if (!angularCLIInit.includes("NX_CLI_SET")) {
fs.writeFileSync(
initPath,
`
if (!process.env['NX_CLI_SET']) {
const { output } = require('@nrwl/workspace');
output.warn({ title: 'The Angular CLI was invoked instead of the Nx CLI. Use "npx ng [command]" or "nx [command]" instead.' });
}
${angularCLIInit}
`
);
}
}
/**
* Symlink of ng to nx, so you can keep using `ng build/test/lint` and still
* invoke the Nx CLI and get the benefits of computation caching.
*/
function symlinkNgCLItoNxCLI() {
try {
const ngPath = "./node_modules/.bin/ng";
const nxPath = "./node_modules/.bin/nx";
if (isWindows) {
/**
* This is the most reliable way to create symlink-like behavior on Windows.
* Such that it works in all shells and works with npx.
*/
["", ".cmd", ".ps1"].forEach(ext => {
fs.writeFileSync(ngPath + ext, fs.readFileSync(nxPath + ext));
});
} else {
// If unix-based, symlink
cp.execSync(`ln -sf ./nx ${ngPath}`);
}
} catch (e) {
output.error({
title:
"Unable to create a symlink from the Angular CLI to the Nx CLI:" +
e.message
});
throw e;
}
}
try {
symlinkNgCLItoNxCLI();
patchAngularCLI(angularCLIInitPath);
output.log({
title: "Angular CLI has been decorated to enable computation caching."
});
} catch (e) {
output.error({
title: "Decoration of the Angular CLI did not complete successfully"
});
}
+1 -1
View File
@@ -27,7 +27,7 @@ var server = http.createServer(function (req, res) {
req.on('end', function() {
if (req.url === '/') {
log('Received message: ' + body);
} else if (req.url = '/scheduled') {
} else if (req.url === '/scheduled') {
log('Received task ' + req.headers['x-aws-sqsd-taskname'] + ' scheduled at ' + req.headers['x-aws-sqsd-scheduled-at']);
}
+1
View File
@@ -6,6 +6,7 @@
"target": "es5",
"types":[
"jasmine",
"jasminewd2",
"node"
]
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "3.6.0",
"version": "4.0.0",
"author": "Alfresco Software, Ltd.",
"repository": {
"type": "git",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "إظهار التعليقات على الإصدارات",
"ALLOW_DOWNLOAD": "تمكين تنزيل الإصدار",
"READ_ONLY": "للقراءة فقط",
"COMMENTS": "إظهار التعليقات"
"COMMENTS": "إظهار التعليقات",
"VERSION_COMPARISON": "إظهار مقارنة الإصدار"
},
"PERSONAL-FILES": "الملفات الشخصية",
"WARN-MULTIPLE-UPLOADS": "عرض تحذير للتحميلات المتعددة.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "تطبيق",
"APP_NAME": "تطبيق ADF التوضيحي",
"FILTERED_SEARCH": "رأس عامل التصفية",
"HOME": "رئيسية",
"NODE-SELECTOR": "محدد العقدة",
"SITES": "المواقع",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "تحديد متعدد (مع خانات اختيارات)",
"THUMBNAILS": "تمكين الصور المصغرة",
"ALLOW_DROP_FILES": "تمكين إسقاط ملفات في مجلد",
"ALLOW_DROP_FILES": "تمكين إسقاط الملفات في مجلد أو ملف",
"MULTIPLE_FILE_UPLOAD": "تحميل ملفات متعددة",
"FOLDER_UPLOAD": "تحميل مجلد",
"CUSTOM_FILTER": "عامل تصفية امتدادات مخصص",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "صفحة البدء"
}
},
"TASK_CONTEXT_MENU": "قائمة سياق قائمة المهام"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "إدراج معرف التطبيق",
"APP_ID_TYPE_ERROR": "يجب أن يكون معرف التطبيق رقمًا",
"NUMBER_GREATER_THAN": "يجب أن تكون القيمة أكبر من {{ value }} أو تساويها"
}
},
"PROCESS_CONTEXT_MENU": "قائمة سياق قائمة العمليات"
},
"GROUP-TITLE1-TRANSLATION-KEY": "الترجمة الأولى للعنوان المخصص",
"GROUP-TITLE2-TRANSLATION-KEY": "الترجمة الثانية للعنوان المخصص",
@@ -308,7 +312,12 @@
"APP_NAME": "اسم التطبيق",
"APP_FILTER_MODE": "التصفية حسب اسم التطبيق",
"ROLE_FILTER_MODE": "التصفية حسب الدور",
"PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة"
"PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة",
"ALL_PRESELECTED_USERS": "كل المستخدمين المحددين مسبقًا",
"ALL_PRESELECTED_GROUPS": "كل المجموعات المحددة مسبقًا",
"INVALID_USERS": "المستخدمون غير الصالحين",
"INVALID_GROUPS": "مجموعات غير صالحة",
"READONLY_MODE": "وضع القراءة فقط"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "تحديد متعدد",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Zobrazit komentáře k verzím",
"ALLOW_DOWNLOAD": "Povolit stažení verze",
"READ_ONLY": "Pouze ke čtení",
"COMMENTS": "Zobrazit komentáře"
"COMMENTS": "Zobrazit komentáře",
"VERSION_COMPARISON": "Zobrazit porovnání verzí"
},
"PERSONAL-FILES": "Osobní soubory",
"WARN-MULTIPLE-UPLOADS": "Zobrazit upozornění v případě hromadného odesílání",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplikace",
"APP_NAME": "Ukázková aplikace ADF",
"FILTERED_SEARCH": "Záhlaví filtrů",
"HOME": "Domů",
"NODE-SELECTOR": "Selektor uzlu",
"SITES": "Místa",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Hromadný výběr (pomocí zaškrtávacích polí)",
"THUMBNAILS": "Povolit miniatury",
"ALLOW_DROP_FILES": "Povolit přetažení souborů do složky",
"ALLOW_DROP_FILES": "Povolit přetahování souborů do složky nebo souboru",
"MULTIPLE_FILE_UPLOAD": "Odeslání více souborů",
"FOLDER_UPLOAD": "Odeslat složku",
"CUSTOM_FILTER": "Vlastní filtr rozšíření",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Počáteční strana"
}
},
"TASK_CONTEXT_MENU": "Místní nabídka Seznam úkolů"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Vložit ID aplikace",
"APP_ID_TYPE_ERROR": "ID aplikace musí být číslo",
"NUMBER_GREATER_THAN": "Hodnota musí být rovna nebo větší než {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Místní nabídka Seznam procesů"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Vlastní překlad názvu 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Vlastní překlad názvu 2",
@@ -308,7 +312,12 @@
"APP_NAME": "Název aplikace",
"APP_FILTER_MODE": "Filtrovat podle názvu aplikace",
"ROLE_FILTER_MODE": "Filtrovat podle role",
"PRESELECT_VALIDATION": "Ověření předvolené hodnoty"
"PRESELECT_VALIDATION": "Ověření předvolené hodnoty",
"ALL_PRESELECTED_USERS": "Všichni předvolení uživatelé",
"ALL_PRESELECTED_GROUPS": "Všechny předvolené skupiny",
"INVALID_USERS": "Neplatní uživatelé",
"INVALID_GROUPS": "Neplatné skupiny",
"READONLY_MODE": "Režim jen pro čtení"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Hromadný výběr",
+15 -6
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Vis kommentarer til versioner",
"ALLOW_DOWNLOAD": "Aktivér versionsdownload",
"READ_ONLY": "Skrivebeskyttet",
"COMMENTS": "Vis kommentarer"
"COMMENTS": "Vis kommentarer",
"VERSION_COMPARISON": "Vis sammenligningsversion"
},
"PERSONAL-FILES": "Personlige filer",
"WARN-MULTIPLE-UPLOADS": "Vis advarsler for flere uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demoapp",
"FILTERED_SEARCH": "Filtre",
"HOME": "Hjem",
"NODE-SELECTOR": "Nodevælger",
"SITES": "Websteder",
@@ -63,7 +65,7 @@
"NOTIFICATIONS": "Meddelelser",
"TASK_LIST": "Opgaveliste",
"PROCESS_LIST": "Procesliste",
"PROCESS_CLOUD": "Activiti Cloud",
"PROCESS_CLOUD": "Proces Cloud",
"CARD_VIEW": "Kortvisning",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Log ind",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Vælg flere (med afkrydsningsfelter)",
"THUMBNAILS": "Aktivér miniaturevisninger",
"ALLOW_DROP_FILES": "Aktivér Slip filer i en mappe",
"ALLOW_DROP_FILES": "Aktiver dropfiler i en mappe eller som en fil",
"MULTIPLE_FILE_UPLOAD": "Upload af flere filer",
"FOLDER_UPLOAD": "Upload af mappe",
"CUSTOM_FILTER": "Filter for brugerdefinerede udvidelser",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startside"
}
},
"TASK_CONTEXT_MENU": "Opgave Liste Kontekst Menu"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Indsæt app-id",
"APP_ID_TYPE_ERROR": "App-id'et skal være et tal",
"NUMBER_GREATER_THAN": "Værdien skal være større end eller lig med {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Proces Liste Kontekst Menu"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Brugerdefineret titel oversættelse et",
"GROUP-TITLE2-TRANSLATION-KEY": "Brugerdefineret titel oversættelse to",
@@ -308,7 +312,12 @@
"APP_NAME": "Appnavn",
"APP_FILTER_MODE": "Filtrer efter appnavn",
"ROLE_FILTER_MODE": "Filtrer efter rolle",
"PRESELECT_VALIDATION": "Forudvælg validering"
"PRESELECT_VALIDATION": "Forudvælg validering",
"ALL_PRESELECTED_USERS": "Alle forudvalgte brugere",
"ALL_PRESELECTED_GROUPS": "Alle forudvalgte grupper",
"INVALID_USERS": "Ugyldige brugere",
"INVALID_GROUPS": "Ugyldige grupper",
"READONLY_MODE": "Skrivebeskyttet tilstand"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multivalg",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Anmerkungen zu Versionen einblenden",
"ALLOW_DOWNLOAD": "Herunterladen von Version aktivieren",
"READ_ONLY": "Schreibgeschützt",
"COMMENTS": "Kommentare anzeigen"
"COMMENTS": "Kommentare anzeigen",
"VERSION_COMPARISON": "Versionsvergleich anzeigen"
},
"PERSONAL-FILES": "Persönliche Dateien",
"WARN-MULTIPLE-UPLOADS": "Warnung bei Mehrfach-Uploads anzeigen.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Anwendung",
"APP_NAME": "ADF-Demoanwendung",
"FILTERED_SEARCH": "Filterzeile",
"HOME": "Startseite",
"NODE-SELECTOR": "Node-Auswahl",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Mehrfachauswahl (mit Kontrollkästchen)",
"THUMBNAILS": "Miniaturansichten aktivieren",
"ALLOW_DROP_FILES": "Ablegen von Dateien in Ordner aktivieren",
"ALLOW_DROP_FILES": "Ablegen von Dateien in einem Ordner oder einer Datei aktivieren",
"MULTIPLE_FILE_UPLOAD": "Mehrere Dateien hochladen",
"FOLDER_UPLOAD": "Ordner hochladen",
"CUSTOM_FILTER": "Filter für benutzerdefinierte Erweiterungen",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startseite"
}
},
"TASK_CONTEXT_MENU": "Aufgabenlisten-Kontextmenü"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "App-ID einfügen",
"APP_ID_TYPE_ERROR": "App-ID muss eine Zahl sein",
"NUMBER_GREATER_THAN": "Wert muss größer oder gleich {{ value }} sein"
}
},
"PROCESS_CONTEXT_MENU": "Prozesslisten-Kontextmenü"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 2",
@@ -308,7 +312,12 @@
"APP_NAME": "Anwendungsname",
"APP_FILTER_MODE": "Nach Anwendungsname filtern",
"ROLE_FILTER_MODE": "Nach Rolle filtern",
"PRESELECT_VALIDATION": "Vorauswahl-Prüfung"
"PRESELECT_VALIDATION": "Vorauswahl-Prüfung",
"ALL_PRESELECTED_USERS": "Alle vorausgewählten Benutzer",
"ALL_PRESELECTED_GROUPS": "Alle vorausgewählten Gruppen",
"INVALID_USERS": "Unzulässige Benutzer",
"INVALID_GROUPS": "Unzulässige Gruppen",
"READONLY_MODE": "Schreibgeschützter Modus"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Mehrfachauswahl",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Show comments on versions",
"ALLOW_DOWNLOAD": "Enable version download",
"READ_ONLY": "Read-only",
"COMMENTS": "Show comments"
"COMMENTS": "Show comments",
"VERSION_COMPARISON": "Show version comparison"
},
"PERSONAL-FILES": "Personal Files",
"WARN-MULTIPLE-UPLOADS": "Display warning for multiple uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF Demo Application",
"FILTERED_SEARCH": "Filter Header",
"HOME": "Home",
"NODE-SELECTOR": "Node Selector",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Multiselect (with checkboxes)",
"THUMBNAILS": "Enable Thumbnails",
"ALLOW_DROP_FILES": "Enable Drop Files in a folder",
"ALLOW_DROP_FILES": "Enable Drop Files in a folder or a file",
"MULTIPLE_FILE_UPLOAD": "Multiple File Upload",
"FOLDER_UPLOAD": "Folder upload",
"CUSTOM_FILTER": "Custom extensions filter",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Starting page"
}
},
"TASK_CONTEXT_MENU": "Task List Context Menu"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Insert App ID",
"APP_ID_TYPE_ERROR": "App ID must be a number",
"NUMBER_GREATER_THAN": "Value must be greater than or equal to {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Process List Context Menu"
},
"GROUP-TITLE1-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION ONE",
"GROUP-TITLE2-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION TWO",
@@ -308,7 +312,12 @@
"APP_NAME": "Application Name",
"APP_FILTER_MODE": "Filter by application name",
"ROLE_FILTER_MODE": "Filter by role",
"PRESELECT_VALIDATION": "Preselect validation"
"PRESELECT_VALIDATION": "Preselect validation",
"ALL_PRESELECTED_USERS": "All Preselected Users",
"ALL_PRESELECTED_GROUPS": "All Preselected Groups",
"INVALID_USERS": "Invalid Users",
"INVALID_GROUPS": "Invalid Groups",
"READONLY_MODE": "Read-only Mode"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multiselection",
+16 -7
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Mostrar comentarios en las versiones",
"ALLOW_DOWNLOAD": "Habilitar descarga de versión",
"READ_ONLY": "Solo lectura",
"COMMENTS": "Mostrar comentarios"
"COMMENTS": "Mostrar comentarios",
"VERSION_COMPARISON": "Mostrar versión comparada"
},
"PERSONAL-FILES": "Ficheros personales",
"WARN-MULTIPLE-UPLOADS": "Mostrar advertencia de múltiples cargas.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplicación",
"APP_NAME": "Aplicación ADF Demo",
"FILTERED_SEARCH": "Filtros",
"HOME": "Inicio",
"NODE-SELECTOR": "Selector de nodo",
"SITES": "Sitios",
@@ -112,14 +114,14 @@
},
"EMPTY_STATE": {
"TITLE": "La papelera está vacía",
"FIRST_TEXT": "Los elementos que elimine se trasladan a la papelera.",
"FIRST_TEXT": "Los elementos que elimine se moverán a la papelera.",
"SECOND_TEXT": "Vacíe la papelera para eliminar los elementos permanentemente."
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Selección múltiple (con casillas)",
"THUMBNAILS": "Habilitar miniaturas",
"ALLOW_DROP_FILES": "Habilitar arrastre de ficheros en una carpeta",
"ALLOW_DROP_FILES": "Habilitar arrastre de ficheros a una carpeta o fichero",
"MULTIPLE_FILE_UPLOAD": "Carga de varios ficheros",
"FOLDER_UPLOAD": "Carga de carpetas",
"CUSTOM_FILTER": "Filtro de extensiones personalizado",
@@ -223,7 +225,7 @@
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "Pie del inicio de sesión",
"SHOW_REMEMBERME": "Mostrar opción para recordarme",
"SHOW_SUCCESS_ROUTE": "Permitir ruta correcta",
"SHOW_SUCCESS_ROUTE": "Mostrar ruta correcta",
"CUSTOM_LOGO": "Logotipo personalizado"
},
"SEARCH": {
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Inicio de página"
}
},
"TASK_CONTEXT_MENU": "Menú de contexto Lista de tareas"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Insertar ID de aplicación",
"APP_ID_TYPE_ERROR": "El ID de aplicación debe ser un número",
"NUMBER_GREATER_THAN": "El valor debe ser igual o superior a {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menú de contexto Lista de procesos"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Traducción de título personalizado 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Traducción de título personalizado 2",
@@ -308,7 +312,12 @@
"APP_NAME": "Nombre de la aplicación",
"APP_FILTER_MODE": "Filtrar por nombre de la aplicación",
"ROLE_FILTER_MODE": "Filtrar por función",
"PRESELECT_VALIDATION": "Preseleccionar validación"
"PRESELECT_VALIDATION": "Preseleccionar validación",
"ALL_PRESELECTED_USERS": "Todos los usuarios preseleccionados",
"ALL_PRESELECTED_GROUPS": "Todos los grupos preseleccionados",
"INVALID_USERS": "Usuarios no válidos",
"INVALID_GROUPS": "Grupos no válidos",
"READONLY_MODE": "Modo de solo lectura"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selección múltiple",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Näytä kommentit versioissa",
"ALLOW_DOWNLOAD": "Ota version lataaminen käyttöön",
"READ_ONLY": "Vain luku",
"COMMENTS": "Näytä kommentit"
"COMMENTS": "Näytä kommentit",
"VERSION_COMPARISON": "Näytä versiovertailu"
},
"PERSONAL-FILES": "Omat tiedostot",
"WARN-MULTIPLE-UPLOADS": "Näytä varoitus useille latauksille.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Sovellus",
"APP_NAME": "ADF-demosovellus",
"FILTERED_SEARCH": "Suodattimet",
"HOME": "Aloitussivu",
"NODE-SELECTOR": "Solmuvalitsin",
"SITES": "Sivustot",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Monivalinta (valintaruuduilla)",
"THUMBNAILS": "Ota pikkukuvat käyttöön",
"ALLOW_DROP_FILES": "Ota tiedostojen kansioon pudottaminen käyttöön",
"ALLOW_DROP_FILES": "Ota tiedostojen kansioon tai tiedostoon pudottaminen käyttöön",
"MULTIPLE_FILE_UPLOAD": "Useiden tiedostojen lataaminen",
"FOLDER_UPLOAD": "Kansion lataaminen",
"CUSTOM_FILTER": "Mukautettu tiedostomuotosuodatin",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Aloitussivu"
}
},
"TASK_CONTEXT_MENU": "Tehtäväluettelon pikavalikko"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Lisää sovellustunnus",
"APP_ID_TYPE_ERROR": "Sovellustunnuksen täytyy olla numero",
"NUMBER_GREATER_THAN": "Arvon täytyy olla yhtä suuri tai suurempi kuin {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Prosessiluettelon pikavalikko"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Oma otsikkokäännös yksi",
"GROUP-TITLE2-TRANSLATION-KEY": "Oma otsikkokäännös kaksi",
@@ -308,7 +312,12 @@
"APP_NAME": "Sovelluksen nimi",
"APP_FILTER_MODE": "Suodata sovelluksen nimen perusteella",
"ROLE_FILTER_MODE": "Suodata roolin perusteella",
"PRESELECT_VALIDATION": "Vahvistus esivalittu"
"PRESELECT_VALIDATION": "Vahvistus esivalittu",
"ALL_PRESELECTED_USERS": "Kaikki esivalitut käyttäjät",
"ALL_PRESELECTED_GROUPS": "Kaikki esivalitut ryhmät",
"INVALID_USERS": "Kelpaamattomat käyttäjät",
"INVALID_GROUPS": "Kelpaamattomat ryhmät",
"READONLY_MODE": "Vain luku -tila"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Monivalinta",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Afficher les commentaires sur les versions",
"ALLOW_DOWNLOAD": "Activer le téléchargement de la version",
"READ_ONLY": "Lecture seule",
"COMMENTS": "Afficher les commentaires"
"COMMENTS": "Afficher les commentaires",
"VERSION_COMPARISON": "Afficher la comparaison des versions"
},
"PERSONAL-FILES": "Fichiers personnels",
"WARN-MULTIPLE-UPLOADS": "Avertir en cas de téléchargements multiples.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Application",
"APP_NAME": "Application Démo ADF",
"FILTERED_SEARCH": "Filtres",
"HOME": "Accueil",
"NODE-SELECTOR": "Sélecteur de nœud",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Sélection multiple (avec cases à cocher)",
"THUMBNAILS": "Activer les miniatures",
"ALLOW_DROP_FILES": "Activer l'option déposer des fichiers dans un dossier",
"ALLOW_DROP_FILES": "Activer la fonctionnalité Déposer les fichiers dans un dossier ou un fichier",
"MULTIPLE_FILE_UPLOAD": "Importation de fichiers multiples",
"FOLDER_UPLOAD": "Importation de dossier",
"CUSTOM_FILTER": "Filtre d'extensions personnalisées",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Démarrage de la page"
}
},
"TASK_CONTEXT_MENU": "Menu contextuel Liste des tâches"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Insérer l'ID d'application",
"APP_ID_TYPE_ERROR": "L'ID d'application doit être un numéro",
"NUMBER_GREATER_THAN": "La valeur doit être égale ou supérieure à {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu contextuel Liste des processus"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Titre personnalisé traduction un",
"GROUP-TITLE2-TRANSLATION-KEY": "Titre personnalisé traduction deux",
@@ -308,7 +312,12 @@
"APP_NAME": "Nom de l'application",
"APP_FILTER_MODE": "Filtrer par nom d'application",
"ROLE_FILTER_MODE": "Filtrer par rôle",
"PRESELECT_VALIDATION": "Validation présélectionnée"
"PRESELECT_VALIDATION": "Validation présélectionnée",
"ALL_PRESELECTED_USERS": "Tous les utilisateurs présélectionnés",
"ALL_PRESELECTED_GROUPS": "Tous les groupes présélectionnés",
"INVALID_USERS": "Utilisateurs non valides",
"INVALID_GROUPS": "Groupes non valides",
"READONLY_MODE": "Mode lecture seule"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multisélection",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Mostra commenti sulle versioni",
"ALLOW_DOWNLOAD": "Abilita scaricamento versioni",
"READ_ONLY": "Sola lettura",
"COMMENTS": "Mostra commenti"
"COMMENTS": "Mostra commenti",
"VERSION_COMPARISON": "Mostra confronto versioni"
},
"PERSONAL-FILES": "File personali",
"WARN-MULTIPLE-UPLOADS": "Mostra avviso per caricamenti multipli.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Applicazione",
"APP_NAME": "Applicazione demo ADF",
"FILTERED_SEARCH": "Intestazione filtri",
"HOME": "Home",
"NODE-SELECTOR": "Selezione nodo",
"SITES": "Siti",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Selezione multipla (con caselle di spunta)",
"THUMBNAILS": "Abilita miniature",
"ALLOW_DROP_FILES": "Abilita trascinamento di file in una cartella",
"ALLOW_DROP_FILES": "Abilita Rilascio file in una cartella o file",
"MULTIPLE_FILE_UPLOAD": "Caricamento di file multipli",
"FOLDER_UPLOAD": "Caricamento cartelle",
"CUSTOM_FILTER": "Filtro estensioni personalizzato",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Inizia da pagina"
}
},
"TASK_CONTEXT_MENU": "Menu di scelta rapida Elenco compiti"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Inserisci ID applicazione",
"APP_ID_TYPE_ERROR": "L'ID applicazione deve essere un numero",
"NUMBER_GREATER_THAN": "Il valore deve essere maggiore o uguale a {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu di scelta rapida Elenco processi"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Custom Title Translation One",
"GROUP-TITLE2-TRANSLATION-KEY": "Custom Title Translation Two",
@@ -308,7 +312,12 @@
"APP_NAME": "Nome applicazione",
"APP_FILTER_MODE": "Filtra per nome applicazione",
"ROLE_FILTER_MODE": "Filtra per ruolo",
"PRESELECT_VALIDATION": "Convalida preselezione"
"PRESELECT_VALIDATION": "Convalida preselezione",
"ALL_PRESELECTED_USERS": "Tutti gli utenti preselezionati",
"ALL_PRESELECTED_GROUPS": "Tutti i gruppi preselezionati",
"INVALID_USERS": "Utenti non validi",
"INVALID_GROUPS": "Gruppi non validi",
"READONLY_MODE": "Modalità sola lettura"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selezione multipla",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "バージョンに関するコメントを表示",
"ALLOW_DOWNLOAD": "バージョンのダウンロードを許可",
"READ_ONLY": "読取り専用",
"COMMENTS": "コメントを表示する"
"COMMENTS": "コメントを表示する",
"VERSION_COMPARISON": "バージョンの比較を表示"
},
"PERSONAL-FILES": "個人的なファイル",
"WARN-MULTIPLE-UPLOADS": "複数のアップロードの警告を表示します。",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "アプリ",
"APP_NAME": "ADF デモアプリケーション",
"FILTERED_SEARCH": "フィルタ",
"HOME": "ホーム",
"NODE-SELECTOR": "ノードセレクター",
"SITES": "サイト",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "複数選択 (チェックボックスを使用)",
"THUMBNAILS": "サムネイルを有効にする",
"ALLOW_DROP_FILES": "フォルダへのドラッグ&ドロップを許可",
"ALLOW_DROP_FILES": "ファイルのドロップを許可",
"MULTIPLE_FILE_UPLOAD": "複数ファイルのアップロード",
"FOLDER_UPLOAD": "フォルダのアップロード",
"CUSTOM_FILTER": "カスタム拡張子フィルタ",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "開始ページ"
}
},
"TASK_CONTEXT_MENU": "タスクリストのコンテキストメニュー"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "アプリケーション ID を挿入してください",
"APP_ID_TYPE_ERROR": "アプリケーション ID は数字でなければなりません",
"NUMBER_GREATER_THAN": "値は {{ value }} 以上でなければなりません"
}
},
"PROCESS_CONTEXT_MENU": "プロセスリストのコンテキストメニュー"
},
"GROUP-TITLE1-TRANSLATION-KEY": "カスタムのタイトル翻訳 1",
"GROUP-TITLE2-TRANSLATION-KEY": "カスタムのタイトル翻訳 2",
@@ -308,7 +312,12 @@
"APP_NAME": "アプリケーション名",
"APP_FILTER_MODE": "アプリケーション名でフィルタ",
"ROLE_FILTER_MODE": "役割でフィルタ",
"PRESELECT_VALIDATION": "事前選択の検証"
"PRESELECT_VALIDATION": "事前選択の検証",
"ALL_PRESELECTED_USERS": "選択されている全ユーザー",
"ALL_PRESELECTED_GROUPS": "選択されている全グループ",
"INVALID_USERS": "無効なユーザー",
"INVALID_GROUPS": "無効なグループ",
"READONLY_MODE": "読み取り専用モード"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "複数選択",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Vis kommentarer om versjoner",
"ALLOW_DOWNLOAD": "Aktiver versjonsnedlasting",
"READ_ONLY": "Skrivebeskyttet",
"COMMENTS": "Vis kommentarer"
"COMMENTS": "Vis kommentarer",
"VERSION_COMPARISON": "Vis sammenligning av versjoner"
},
"PERSONAL-FILES": "Personlige filer",
"WARN-MULTIPLE-UPLOADS": "Vis advarsel for flere opplastinger.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demoprogam",
"FILTERED_SEARCH": "Filtertittel",
"HOME": "Hjem",
"NODE-SELECTOR": "Nodevelger",
"SITES": "Områder",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Multivalg (med avskrysningsbokser)",
"THUMBNAILS": "Aktiver miniatyrbilder",
"ALLOW_DROP_FILES": "Aktiver Slipp filer i en mappe",
"ALLOW_DROP_FILES": "Aktiver Slipp filer i en mappe eller en fil",
"MULTIPLE_FILE_UPLOAD": "Opplasting av flere filer",
"FOLDER_UPLOAD": "Opplasting av mappe",
"CUSTOM_FILTER": "Tilpasset utvidelsesfilter",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Starter side"
}
},
"TASK_CONTEXT_MENU": "Kontekstmeny for oppgaveliste"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Sett inn app-ID",
"APP_ID_TYPE_ERROR": "App-ID må være et tall",
"NUMBER_GREATER_THAN": "Verdien må være høyere enn eller lik {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Kontekstmeny for prosessliste"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Egendefinert tittel, oversettelse én",
"GROUP-TITLE2-TRANSLATION-KEY": "Egendefinert tittel, oversettelse to",
@@ -308,7 +312,12 @@
"APP_NAME": "Programnavn",
"APP_FILTER_MODE": "Filtrer etter programnavn",
"ROLE_FILTER_MODE": "Filtrer etter rolle",
"PRESELECT_VALIDATION": "Forhåndsvelg validering"
"PRESELECT_VALIDATION": "Forhåndsvelg validering",
"ALL_PRESELECTED_USERS": "Alle forhåndsvalgte brukere",
"ALL_PRESELECTED_GROUPS": "Alle forhåndsvalgte grupper",
"INVALID_USERS": "Ugyldige brukere",
"INVALID_GROUPS": "Ugyldige grupper",
"READONLY_MODE": "Skrivebeskyttet modus"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Flervalg",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Opmerkingen over versies tonen",
"ALLOW_DOWNLOAD": "Versiedownload inschakelen",
"READ_ONLY": "Alleen-lezen",
"COMMENTS": "Opmerkingen weergeven"
"COMMENTS": "Opmerkingen weergeven",
"VERSION_COMPARISON": "Versievergelijking tonen"
},
"PERSONAL-FILES": "Persoonlijke bestanden",
"WARN-MULTIPLE-UPLOADS": "Waarschuwing weergeven bij meerdere uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demotoepassing",
"FILTERED_SEARCH": "Filterkoptekst",
"HOME": "Home",
"NODE-SELECTOR": "Selectiefunctie voor node",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Multiselect (met selectievakjes)",
"THUMBNAILS": "Miniaturen inschakelen",
"ALLOW_DROP_FILES": "Bestanden neerzetten in een map inschakelen",
"ALLOW_DROP_FILES": "Bestanden neerzetten in een map of een bestand inschakelen",
"MULTIPLE_FILE_UPLOAD": "Meerdere bestanden uploaden",
"FOLDER_UPLOAD": "Map uploaden",
"CUSTOM_FILTER": "Aangepast extensiefilter",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Beginpagina"
}
},
"TASK_CONTEXT_MENU": "Contextmenu lijst met taken"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "App-id invoegen",
"APP_ID_TYPE_ERROR": "App-id moet een getal zijn",
"NUMBER_GREATER_THAN": "Waarde moet groter zijn dan of gelijk zijn aan {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Contextmenu lijst met processen"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Aangepaste titel vertaling één",
"GROUP-TITLE2-TRANSLATION-KEY": "Aangepaste titel vertaling twee",
@@ -308,7 +312,12 @@
"APP_NAME": "Toepassingsnaam",
"APP_FILTER_MODE": "Filteren op toepassingsnaam",
"ROLE_FILTER_MODE": "Filteren op rol",
"PRESELECT_VALIDATION": "Validatie voorselecteren"
"PRESELECT_VALIDATION": "Validatie voorselecteren",
"ALL_PRESELECTED_USERS": "Alle voorgeselecteerde gebruikers",
"ALL_PRESELECTED_GROUPS": "Alle voorgeselecteerde groepen",
"INVALID_USERS": "Ongeldige gebruikers",
"INVALID_GROUPS": "Ongeldige groepen",
"READONLY_MODE": "Alleen-lezenmodus"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multiselectie",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Pokaż komentarze do wersji",
"ALLOW_DOWNLOAD": "Włącz pobieranie wersji",
"READ_ONLY": "Tylko do odczytu",
"COMMENTS": "Pokaż komentarze"
"COMMENTS": "Pokaż komentarze",
"VERSION_COMPARISON": "Pokaż porównanie wersji"
},
"PERSONAL-FILES": "Pliki osobiste",
"WARN-MULTIPLE-UPLOADS": "Wyświetl ostrzeżenie dla wielu operacji przesyłania.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplikacja",
"APP_NAME": "Wersja demonstracyjna aplikacji ADF",
"FILTERED_SEARCH": "Tytuły filtra",
"HOME": "Strona główna",
"NODE-SELECTOR": "Selektor węzłów",
"SITES": "Witryny",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Wybór wielokrotny (przy użyciu pól wyboru)",
"THUMBNAILS": "Włącz miniatury",
"ALLOW_DROP_FILES": "Włącz upuszczanie plików w folderze",
"ALLOW_DROP_FILES": "Włącz upuszczanie plików w folderze lub pliku",
"MULTIPLE_FILE_UPLOAD": "Przesyłanie wielu plików",
"FOLDER_UPLOAD": "Przesyłanie folderu",
"CUSTOM_FILTER": "Niestandardowy filtr rozszerzeń",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Strona początkowa"
}
},
"TASK_CONTEXT_MENU": "Menu kontekstowe listy zadań"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Wstaw identyfikator aplikacji",
"APP_ID_TYPE_ERROR": "Identyfikator aplikacji musi być liczbą.",
"NUMBER_GREATER_THAN": "Wartość musi być większa od lub równa wartości {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu kontekstowe listy procesów"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie pierwsze",
"GROUP-TITLE2-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie drugie",
@@ -308,7 +312,12 @@
"APP_NAME": "Nazwa aplikacji",
"APP_FILTER_MODE": "Filtruj według nazwy aplikacji",
"ROLE_FILTER_MODE": "Filtruj według roli",
"PRESELECT_VALIDATION": "Sprawdzanie poprawności wstępnego wyboru"
"PRESELECT_VALIDATION": "Sprawdzanie poprawności wstępnego wyboru",
"ALL_PRESELECTED_USERS": "Wszyscy wstępnie wybrani użytkownicy",
"ALL_PRESELECTED_GROUPS": "Wszystkie wstępnie wybrane grupy",
"INVALID_USERS": "Nieprawidłowi użytkownicy",
"INVALID_GROUPS": "Nieprawidłowe grupy",
"READONLY_MODE": "Tryb tylko do odczytu"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Wybór wielokrotny",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Mostrar comentários em versões",
"ALLOW_DOWNLOAD": "Ativar download da versão",
"READ_ONLY": "Somente leitura",
"COMMENTS": "Mostrar comentários"
"COMMENTS": "Mostrar comentários",
"VERSION_COMPARISON": "Mostrar comparação de versões"
},
"PERSONAL-FILES": "Arquivos pessoais",
"WARN-MULTIPLE-UPLOADS": "Exibir alerta para vários uploads.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Aplicativo",
"APP_NAME": "Aplicativo Demo ADF",
"FILTERED_SEARCH": "Filtros",
"HOME": "Página Inicial",
"NODE-SELECTOR": "Seletor de nó",
"SITES": "Sites",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Seleção Múltipla (com caixas de seleção)",
"THUMBNAILS": "Ativar Miniaturas",
"ALLOW_DROP_FILES": "Ativar Soltar Arquivos em uma pasta",
"ALLOW_DROP_FILES": "Ativar soltar arquivos em uma pasta ou um arquivo",
"MULTIPLE_FILE_UPLOAD": "Carregamento de Vários Arquivos",
"FOLDER_UPLOAD": "Carregamento de Pasta",
"CUSTOM_FILTER": "Filtro de extensões personalizado",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Iniciando a página"
}
},
"TASK_CONTEXT_MENU": "Menu de contexto da lista de tarefas"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Inserir ID do aplicativo",
"APP_ID_TYPE_ERROR": "O ID do aplicativo deve ser um número",
"NUMBER_GREATER_THAN": "O valor deve ser maior ou igual a {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu de contexto da lista de processamento"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Tradução um de título personalizado",
"GROUP-TITLE2-TRANSLATION-KEY": "Tradução dois de título personalizado",
@@ -308,7 +312,12 @@
"APP_NAME": "Nome do aplicativo",
"APP_FILTER_MODE": "Filtrar por nome do aplicativo",
"ROLE_FILTER_MODE": "Filtrar por função",
"PRESELECT_VALIDATION": "Validação de pré-seleção"
"PRESELECT_VALIDATION": "Validação de pré-seleção",
"ALL_PRESELECTED_USERS": "Todos os usuários pré-selecionados",
"ALL_PRESELECTED_GROUPS": "Todos os grupos pré-selecionados",
"INVALID_USERS": "Usuários inválidos",
"INVALID_GROUPS": "Grupos inválidos",
"READONLY_MODE": "Modo somente leitura"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Seleção Múltipla",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Показать комментарии к версиям",
"ALLOW_DOWNLOAD": "Включить загрузку версий",
"READ_ONLY": "Только чтение",
"COMMENTS": "Показать комментарии"
"COMMENTS": "Показать комментарии",
"VERSION_COMPARISON": "Показать сравнение версий"
},
"PERSONAL-FILES": "Личные файлы",
"WARN-MULTIPLE-UPLOADS": "Показывать предупреждение для нескольких загрузок.",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Приложение",
"APP_NAME": "Демонстрационное приложение ADF",
"FILTERED_SEARCH": "Заголовок фильтра",
"HOME": "Домашняя",
"NODE-SELECTOR": "Селектор узлов",
"SITES": "Сайты",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Выбор нескольких вариантов (с флажками)",
"THUMBNAILS": "Включить эскизы",
"ALLOW_DROP_FILES": "Включить перетаскивание файлов в папку",
"ALLOW_DROP_FILES": "Включите перетаскивание файлов в папке или файле",
"MULTIPLE_FILE_UPLOAD": "Загрузка нескольких файлов",
"FOLDER_UPLOAD": "Загрузка папки",
"CUSTOM_FILTER": "Пользовательский фильтр расширений",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Начальная страница"
}
},
"TASK_CONTEXT_MENU": "Контекстное меню списка задач"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Вставить идентификатор приложения",
"APP_ID_TYPE_ERROR": "Идентификатор приложения должен быть числом",
"NUMBER_GREATER_THAN": "Значение должно быть больше или равно {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Контекстное меню списка процессов"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Перевод пользовательского заголовка один",
"GROUP-TITLE2-TRANSLATION-KEY": "Перевод пользовательского заголовка два",
@@ -308,7 +312,12 @@
"APP_NAME": "Имя приложения",
"APP_FILTER_MODE": "Фильтровать по имени приложения",
"ROLE_FILTER_MODE": "Фильтровать по роли",
"PRESELECT_VALIDATION": "Проверка предварительного выбора"
"PRESELECT_VALIDATION": "Проверка предварительного выбора",
"ALL_PRESELECTED_USERS": "Все заранее заданные пользователи",
"ALL_PRESELECTED_GROUPS": "Все заранее заданные группы",
"INVALID_USERS": "Недействительные пользователи",
"INVALID_GROUPS": "Недействительные группы",
"READONLY_MODE": "Режим только для чтения"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Выбор нескольких",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Visa kommentarer om versioner",
"ALLOW_DOWNLOAD": "Aktivera version nedladdning",
"READ_ONLY": "Skrivskyddad",
"COMMENTS": "Visa kommentarer"
"COMMENTS": "Visa kommentarer",
"VERSION_COMPARISON": "Visa versionsjämförelse"
},
"PERSONAL-FILES": "Personliga filer",
"WARN-MULTIPLE-UPLOADS": "Visa varning för flera uppladdningar",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "Program",
"APP_NAME": "ADF-demoprogram",
"FILTERED_SEARCH": "Filter",
"HOME": "Hem",
"NODE-SELECTOR": "Nodväljare",
"SITES": "Webbplatser",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Flerval (med kryssrutor)",
"THUMBNAILS": "Aktivera miniatyrbilder",
"ALLOW_DROP_FILES": "Aktivera släpp filer i en mapp",
"ALLOW_DROP_FILES": "Gör det möjligt att dra in filer i en mapp eller en fil",
"MULTIPLE_FILE_UPLOAD": "Uppladdning av flera filer",
"FOLDER_UPLOAD": "Mappuppladdning",
"CUSTOM_FILTER": "Anpassade tilläggsfilter",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startsida"
}
},
"TASK_CONTEXT_MENU": "Innehållsmeny till uppgiftslista"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Infoga program-ID",
"APP_ID_TYPE_ERROR": "Program-ID måste vara ett nummer",
"NUMBER_GREATER_THAN": "Värdet måste vara större än eller lika med {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Innehållsmeny för processlista"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Anpassad titelöversättning ett",
"GROUP-TITLE2-TRANSLATION-KEY": "Anpassad titelöversättning två",
@@ -308,7 +312,12 @@
"APP_NAME": "Programnamn",
"APP_FILTER_MODE": "Filterera på programnamn",
"ROLE_FILTER_MODE": "Filtrera på roll",
"PRESELECT_VALIDATION": "Förval validering"
"PRESELECT_VALIDATION": "Förval validering",
"ALL_PRESELECTED_USERS": "Alla förvalda användare",
"ALL_PRESELECTED_GROUPS": "Alla förvalda grupper",
"INVALID_USERS": "Ogiltiga användare",
"INVALID_GROUPS": "Ogiltiga grupper",
"READONLY_MODE": "Skrivskyddat läge"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Flerval",
+14 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "显示有关版本的注释",
"ALLOW_DOWNLOAD": "启用版本下载",
"READ_ONLY": "只读",
"COMMENTS": "显示注释"
"COMMENTS": "显示注释",
"VERSION_COMPARISON": "显示版本对比"
},
"PERSONAL-FILES": "个人文件",
"WARN-MULTIPLE-UPLOADS": "针对多个上传显示警告。",
@@ -55,6 +56,7 @@
"APP_LAYOUT": {
"APP": "APP",
"APP_NAME": "ADF 演示应用程序",
"FILTERED_SEARCH": "筛选标头",
"HOME": "主页",
"NODE-SELECTOR": "节点选择器",
"SITES": "站点",
@@ -119,7 +121,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "多选(含复选框)",
"THUMBNAILS": "启用缩略图",
"ALLOW_DROP_FILES": "在文件夹中启用“文件拖放”",
"ALLOW_DROP_FILES": "在文件夹或文件中启用拖动文件",
"MULTIPLE_FILE_UPLOAD": "上传多个文件",
"FOLDER_UPLOAD": "文件夹上传",
"CUSTOM_FILTER": "自定义扩展过滤器",
@@ -270,14 +272,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "开始页面"
}
},
"TASK_CONTEXT_MENU": "任务列表上下文菜单"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "插入应用程序 ID",
"APP_ID_TYPE_ERROR": "应用程序 ID 必须为数字",
"NUMBER_GREATER_THAN": "值必须大于或等于 {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "流程列表上下文菜单"
},
"GROUP-TITLE1-TRANSLATION-KEY": "自定义标题翻译 1",
"GROUP-TITLE2-TRANSLATION-KEY": "自定义标题翻译 2",
@@ -308,7 +312,12 @@
"APP_NAME": "应用程序名称",
"APP_FILTER_MODE": "按应用程序名称筛选",
"ROLE_FILTER_MODE": "按角色筛选",
"PRESELECT_VALIDATION": "预先选择验证"
"PRESELECT_VALIDATION": "预先选择验证",
"ALL_PRESELECTED_USERS": "所有预选用户",
"ALL_PRESELECTED_GROUPS": "所有预选组",
"INVALID_USERS": "无效用户",
"INVALID_GROUPS": "无效组",
"READONLY_MODE": "Read-only(只读)模式"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "多重选择",
+209 -12
View File
@@ -2,7 +2,7 @@
"$schema": "../../lib/core/app-config/schema.json",
"ecmHost": "{protocol}//{hostname}{:port}",
"bpmHost": "{protocol}//{hostname}{:port}",
"identityHost": "{protocol}//{hostname}{:port}/auth/realms/alfresco",
"identityHost": "{protocol}//{hostname}{:port}/auth/admin/realms/alfresco",
"loginRoute": "login",
"providers": "ALL",
"contextRootBpm": "activiti-app",
@@ -22,7 +22,10 @@
"redirectSilentIframeUri": "{protocol}//{hostname}{:port}/assets/silent-refresh.html",
"redirectUri": "/",
"redirectUriLogout": "/logout",
"publicUrls": ["**/preview/s/*", "**/settings"]
"publicUrls": [
"**/preview/s/*",
"**/settings"
]
},
"application": {
"storagePrefix": "ADF",
@@ -81,26 +84,27 @@
},
{
"key": "cs",
"label": "Czech"
"label": "Čeština"
},
{
"key": "pl",
"label": "Polish"
"label": "Polski"
},
{
"key": "fi",
"label": "Finnish"
"label": "Suomi"
},
{
"key": "da",
"label": "Danish"
"label": "Dansk"
},
{
"key": "sv",
"label": "Swedish"
"label": "Svenska"
}
],
"search": {
"filterWithContains": true,
"app:fields": [
"cm:name",
"cm:title",
@@ -378,7 +382,8 @@
"selector": "date-range",
"settings": {
"field": "cm:created",
"dateFormat": "DD-MMM-YY"
"dateFormat": "DD-MMM-YY",
"maxDate": "today"
}
}
},
@@ -430,6 +435,169 @@
]
}
},
"search-headers": {
"filterWithContains": true,
"app:fields": [
"cm:name",
"cm:title",
"cm:description",
"ia:whatEvent",
"ia:descriptionEvent",
"lnk:title",
"lnk:description",
"TEXT",
"TAG"
],
"categories": [
{
"id": "queryName",
"name": "SEARCH.SEARCH_HEADER.FILTERS.NAME.TITLE",
"columnKey": "name",
"enabled": true,
"component": {
"selector": "text",
"settings": {
"pattern": "cm:name:'(.*?)'",
"field": "cm:name",
"placeholder": "SEARCH.SEARCH_HEADER.FILTERS.NAME.PLACEHOLDER",
"searchSuffix" : "*",
"allowUpdateOnChange" : false
}
}
},
{
"id": "checkList",
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.TITLE",
"columnKey":"$thumbnail",
"enabled": true,
"component": {
"selector": "check-list",
"settings": {
"pageSize": 5,
"allowUpdateOnChange" : false,
"operator": "OR",
"options": [
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.FOLDER",
"value": "TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.DOCUMENT",
"value": "TYPE:'cm:content'"
}
]
}
}
},
{
"id": "contentSize",
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.TITLE",
"columnKey":"content.sizeInBytes",
"enabled": true,
"component": {
"selector": "check-list",
"settings": {
"allowUpdateOnChange" : false,
"options": [
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.SMALL",
"value": "content.size:[0 TO 1048576] OR TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.MEDIUM",
"value": "content.size:[1048576 TO 52428800] OR TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.LARGE",
"value": "content.size:<52428800 TO 524288000] OR TYPE:'cm:folder'"
},
{
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.HUGE",
"value": "content.size:<524288000 TO MAX] OR TYPE:'cm:folder'"
}
]
}
}
},
{
"id": "createdDateRange",
"name": "SEARCH.SEARCH_HEADER.FILTERS.DATE.TITLE",
"columnKey": "createdAt",
"enabled": true,
"component": {
"selector": "date-range",
"settings": {
"allowUpdateOnChange" : false,
"field": "cm:created",
"dateFormat": "DD-MMM-YY",
"maxDate": "today"
}
}
}
],
"highlight": {
"prefix": " ",
"postfix": " ",
"mergeContiguous": true,
"fields": [
{
"field": "cm:title"
},
{
"field": "description",
"prefix": "(",
"postfix": ")"
}
]
},
"sorting": {
"options": [
{
"key": "name",
"label": "Name",
"type": "FIELD",
"field": "cm:name",
"ascending": true
},
{
"key": "content.sizeInBytes",
"label": "Size",
"type": "FIELD",
"field": "content.size",
"ascending": true
},
{
"key": "createdByUser.displayName",
"label": "Author",
"type": "FIELD",
"field": "cm:creator",
"ascending": true
},
{
"key": "createdAt",
"label": "Created",
"type": "FIELD",
"field": "cm:created",
"ascending": true
},
{
"key": "score",
"label": "Relevance",
"type": "FIELD",
"field": "score",
"ascending": false
}
],
"defaults": [
{
"key": "score",
"type": "FIELD",
"field": "score",
"ascending": false
}
]
}
},
"pagination": {
"size": 20,
"supportedPageSizes": [
@@ -459,6 +627,14 @@
"nocase": true
}
},
"folders": {
"excluded": [
".git"
],
"match-options": {
"nocase": true
}
},
"logLevel": "trace",
"activiti": {
"rest": {
@@ -540,7 +716,8 @@
"type": "text",
"title": "ADF-DOCUMENT-LIST.LAYOUT.NAME",
"cssClass": "full-width ellipsis-cell",
"sortable": true
"sortable": true,
"sortingKey": "name"
},
{
"key": "visibility",
@@ -752,7 +929,7 @@
},
"adf-cloud-start-process": {
"name": "My Default Cloud Name"
},
},
"adf-process-list": {
"presets": {
"default": [
@@ -814,9 +991,29 @@
"presets": {
"default": {
"exif:exif": "*"
}
},
"all-aspects": "*",
"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-pipe-separator": ", ",
"multi-value-chips": true,
"copy-to-clipboard-action": true,
"selectFilterLimit": 5
},
"sideNav": {
"expandedSidenav": true,
+1 -1
View File
@@ -22,7 +22,7 @@ import {
PageTitleService
} from '@alfresco/adf-core';
import { Router } from '@angular/router';
import { MatDialog } from '@angular/material';
import { MatDialog } from '@angular/material/dialog';
@Component({
selector: 'app-root',
+11 -26
View File
@@ -22,8 +22,8 @@ import { FlexLayoutModule } from '@angular/flex-layout';
import { ChartsModule } from 'ng2-charts';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule, CoreAutomationService } from '@alfresco/adf-core';
import { TranslateModule } from '@ngx-translate/core';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule, CoreAutomationService, AuthBearerInterceptor } from '@alfresco/adf-core';
import { ExtensionsModule } from '@alfresco/adf-extensions';
import { AppComponent } from './app.component';
import { MaterialModule } from './material.module';
@@ -47,22 +47,17 @@ import { AppsViewComponent } from './components/process-service/apps-view.compon
import { FilesComponent } from './components/files/files.component';
import { VersionManagerDialogAdapterComponent } from './components/files/version-manager-dialog-adapter.component';
import { MetadataDialogAdapterComponent } from './components/files/metadata-dialog-adapter.component';
import { ThemePickerModule } from './components/theme-picker/theme-picker';
import { routing } from './app.routes';
import { appRoutes } from './app.routes';
import { TaskAttachmentsComponent } from './components/process-service/task-attachments.component';
import { ProcessAttachmentsComponent } from './components/process-service/process-attachments.component';
import { SharedLinkViewComponent } from './components/shared-link-view/shared-link-view.component';
import { DemoPermissionComponent } from './components/permissions/demo-permissions.component';
import { PreviewService } from './services/preview.service';
import { ReportIssueComponent } from './components/report-issue/report-issue.component';
import { MonacoEditorModule } from 'ngx-monaco-editor';
import { ContentModule } from '@alfresco/adf-content-services';
import { InsightsModule } from '@alfresco/adf-insights';
import { ProcessModule } from '@alfresco/adf-process-services';
import { AuthBearerInterceptor } from './services';
import { AppExtensionsModule } from './app-extension.module';
import { TreeViewSampleComponent } from './components/tree-view/tree-view-sample.component';
import { CloudLayoutComponent } from './components/cloud/cloud-layout.component';
import { AppsCloudDemoComponent } from './components/cloud/apps-cloud-demo.component';
@@ -83,12 +78,9 @@ import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/
import { environment } from '../environments/environment';
import { AppCloudSharedModule } from './components/cloud/shared/cloud.shared.module';
import { DemoErrorComponent } from './components/error/demo-error.component';
import {
ProcessServicesCloudModule,
UserPreferenceCloudService,
PROCESS_FILTERS_SERVICE_TOKEN,
TASK_FILTERS_SERVICE_TOKEN
} from '@alfresco/adf-process-services-cloud';
import { ProcessServicesCloudModule } from '@alfresco/adf-process-services-cloud';
import { FilteredSearchComponent } from './components/files/filtered-search.component';
import { RouterModule } from '@angular/router';
import { registerLocaleData } from '@angular/common';
import localeFr from '@angular/common/locales/fr';
@@ -130,17 +122,17 @@ registerLocaleData(localeSv);
BrowserModule,
environment.e2e ? NoopAnimationsModule : BrowserAnimationsModule,
ReactiveFormsModule,
routing,
RouterModule.forRoot(appRoutes, { initialNavigation: true }),
FormsModule,
HttpClientModule,
MaterialModule,
AppExtensionsModule,
FlexLayoutModule,
TranslateModule.forRoot(),
CoreModule.forRoot(),
ContentModule.forRoot(),
InsightsModule.forRoot(),
ProcessModule.forRoot(),
ProcessServicesCloudModule,
ProcessServicesCloudModule.forRoot(),
ExtensionsModule.forRoot(),
ThemePickerModule,
ChartsModule,
@@ -162,6 +154,7 @@ registerLocaleData(localeSv);
FormNodeViewerComponent,
AppsViewComponent,
FilesComponent,
FilteredSearchComponent,
FormComponent,
FormListComponent,
VersionManagerDialogAdapterComponent,
@@ -199,8 +192,6 @@ registerLocaleData(localeSv);
provide: HTTP_INTERCEPTORS, useClass:
AuthBearerInterceptor, multi: true
},
{ provide: PROCESS_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService },
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService },
{ provide: AppConfigService, useClass: DebugAppConfigService }, // not use this service in production
{
provide: TRANSLATION_PROVIDER,
@@ -217,13 +208,7 @@ registerLocaleData(localeSv);
name: 'lazy-loading',
source: 'resources/lazy-loading'
}
},
PreviewService,
CoreAutomationService
],
entryComponents: [
VersionManagerDialogAdapterComponent,
MetadataDialogAdapterComponent
}
],
bootstrap: [AppComponent]
})
+60 -40
View File
@@ -15,15 +15,8 @@
* limitations under the License.
*/
import { ModuleWithProviders } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {
AuthGuard,
AuthGuardEcm,
ErrorContentComponent,
AuthGuardBpm,
AuthGuardSsoRoleService
} from '@alfresco/adf-core';
import { Routes } from '@angular/router';
import { AuthGuard, AuthGuardEcm, ErrorContentComponent, AuthGuardBpm, AuthGuardSsoRoleService } from '@alfresco/adf-core';
import { AppLayoutComponent } from './components/app-layout/app-layout.component';
import { HomeComponent } from './components/home/home.component';
import { LogoutComponent } from './components/logout/logout.component';
@@ -59,12 +52,14 @@ import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/
import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component';
import { DemoErrorComponent } from './components/error/demo-error.component';
import { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-cloud-demo.component';
import { FilteredSearchComponent } from './components/files/filtered-search.component';
export const appRoutes: Routes = [
{ path: 'login', loadChildren: 'app/components/login/login.module#AppLoginModule' },
{ path: 'login', loadChildren: () => import('./components/login/login.module').then(m => m.AppLoginModule) },
{ path: 'logout', component: LogoutComponent },
{
path: 'settings',
loadChildren: 'app/components/settings/settings.module#AppSettingsModule'
loadChildren: () => import('./components/settings/settings.module').then(m => m.AppSettingsModule)
},
{
path: 'files/:nodeId/view',
@@ -75,7 +70,20 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/file-view/file-view.module#FileViewModule'
loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule)
}
]
},
{
path: 'files/:nodeId/:versionId/view',
component: AppComponent,
canActivate: [AuthGuardEcm],
canActivateChild: [AuthGuardEcm],
outlet: 'overlay',
children: [
{
path: '',
loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule)
}
]
},
@@ -87,7 +95,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/file-view/file-view.module#FileViewModule'
loadChildren: () => import('./components/file-view/file-view.module').then(m => m.FileViewModule)
}
]
},
@@ -100,14 +108,14 @@ export const appRoutes: Routes = [
{
path: 'breadcrumb',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/breadcrumb-demo/breadcrumb-demo.module#AppBreadcrumbModule'
loadChildren: () => import('./components/breadcrumb-demo/breadcrumb-demo.module').then(m => m.AppBreadcrumbModule)
},
{
path: 'notifications',
children: [
{
path: '',
loadChildren: 'app/components/notifications/notifications.module#AppNotificationsModule'
loadChildren: () => import('./components/notifications/notifications.module').then(m => m.AppNotificationsModule)
}
]
},
@@ -116,7 +124,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/config-editor/config-editor.module#AppConfigEditorModule'
loadChildren: () => import('./components/config-editor/config-editor.module').then(m => m.AppConfigEditorModule)
}
]
},
@@ -125,7 +133,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/pipes/pipes.module#AppPipesModule'
loadChildren: () => import('./components/pipes/pipes.module').then(m => m.AppPipesModule)
}
]
},
@@ -134,7 +142,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/card-view/card-view.module#AppCardViewModule'
loadChildren: () => import('./components/card-view/card-view.module').then(m => m.AppCardViewModule)
}
]
},
@@ -143,7 +151,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/sites/sites.module#SitesModule'
loadChildren: () => import('./components/sites/sites.module').then(m => m.SitesModule)
}
]
},
@@ -152,7 +160,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/header-data/header-data.module#AppHeaderDataModule'
loadChildren: () => import('./components/header-data/header-data.module').then(m => m.AppHeaderDataModule)
}
]
},
@@ -168,7 +176,6 @@ export const appRoutes: Routes = [
path: 'cloud',
canActivate: [AuthGuardSsoRoleService],
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
children: [
{
path: '',
@@ -184,7 +191,7 @@ export const appRoutes: Routes = [
},
{
path: 'community',
loadChildren: 'app/components/cloud/community/community.module#AppCommunityModule'
loadChildren: () => import('./components/cloud/community/community.module').then(m => m.AppCommunityModule)
},
{
path: ':appName',
@@ -232,7 +239,7 @@ export const appRoutes: Routes = [
},
{
path: 'node-selector',
loadChildren: 'app/components/content-node-selector/content-node-selector.module#AppContentNodeSelectorModule'
loadChildren: () => import('./components/content-node-selector/content-node-selector.module').then(m => m.AppContentNodeSelectorModule)
},
{
path: 'confirm-dialog',
@@ -240,22 +247,37 @@ export const appRoutes: Routes = [
},
{
path: 'settings-layout',
loadChildren: 'app/components/settings/settings.module#AppSettingsModule'
loadChildren: () => import('./components/settings/settings.module').then(m => m.AppSettingsModule)
},
{
path: 'trashcan',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/trashcan/trashcan.module#AppTrashcanModule'
loadChildren: () => import('./components/trashcan/trashcan.module').then(m => m.AppTrashcanModule)
},
{
path: 'files',
component: FilesComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'filtered-search',
component: FilteredSearchComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'filtered-search/:id',
component: FilteredSearchComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'filtered-search/:id/display/:mode',
component: FilteredSearchComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'extensions/document-list/presets',
canActivate: [AuthGuardEcm],
loadChildren: './components/document-list/extension-presets/extension-presets.module#ExtensionPresetsModule'
loadChildren: () => import('./components/document-list/extension-presets/extension-presets.module').then(m => m.ExtensionPresetsModule)
},
{
path: 'files/:id',
@@ -270,16 +292,16 @@ export const appRoutes: Routes = [
{
path: 'dl-custom-sources',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/files/custom-sources.module#AppCustomSourcesModule'
loadChildren: () => import('./components/files/custom-sources.module').then(m => m.AppCustomSourcesModule)
},
{
path: 'datatable',
loadChildren: 'app/components/datatable/datatable.module#AppDataTableModule'
loadChildren: () => import('./components/datatable/datatable.module').then(m => m.AppDataTableModule)
},
{
path: 'datatable/dnd',
loadChildren: './components/datatable/drag-and-drop/datatable-dnd.module#AppDataTableDndModule'
loadChildren: () => import('./components/datatable/drag-and-drop/datatable-dnd.module').then(m => m.AppDataTableDndModule)
},
{
path: 'search',
@@ -353,17 +375,17 @@ export const appRoutes: Routes = [
{
path: 'webscript',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/webscript/webscript.module#AppWebScriptModule'
loadChildren: () => import('./components/webscript/webscript.module').then(m => m.AppWebScriptModule)
},
{
path: 'tag',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/tag/tag.module#AppTagModule'
loadChildren: () => import('./components/tag/tag.module').then(m => m.AppTagModule)
},
{
path: 'social',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/social/social.module#AppSocialModule'
loadChildren: () => import('./components/social/social.module').then(m => m.AppSocialModule)
},
{
path: 'permissions/:id',
@@ -377,11 +399,11 @@ export const appRoutes: Routes = [
},
{
path: 'about',
loadChildren: 'app/components/about/about.module#AppAboutModule'
loadChildren: () => import('./components/about/about.module').then(m => m.AppAboutModule)
},
{
path: 'icons',
loadChildren: './components/icons/icons.module#AppIconsModule'
loadChildren: () => import('./components/icons/icons.module').then(m => m.AppIconsModule)
},
{ path: 'form-cloud', component: FormCloudDemoComponent },
{ path: 'form', component: FormComponent },
@@ -398,11 +420,11 @@ export const appRoutes: Routes = [
},
{
path: 'datatable-lazy',
loadChildren: 'app/components/lazy-loading/lazy-loading.module#LazyLoadingModule'
loadChildren: () => import('./components/lazy-loading/lazy-loading.module').then(m => m.LazyLoadingModule)
},
{
path: 'copy-content',
loadChildren: 'app/components/datatable/copy-content/datatable.module#AppDataTableCopyModule'
loadChildren: () => import('./components/datatable/copy-content/datatable.module').then(m => m.AppDataTableCopyModule)
},
{
path: 'template-list',
@@ -411,12 +433,12 @@ export const appRoutes: Routes = [
{
path: 'task-list',
canActivate: [AuthGuardBpm],
loadChildren: 'app/components/task-list-demo/task-list.module#AppTaskListModule'
loadChildren: () => import('./components/task-list-demo/task-list.module').then(m => m.AppTaskListModule)
},
{
path: 'process-list',
canActivate: [AuthGuardBpm],
loadChildren: 'app/components/process-list-demo/process-list.module#AppProcessListModule'
loadChildren: () => import('./components/process-list-demo/process-list.module').then(m => m.AppProcessListModule)
},
{
path: 'error/no-authorization',
@@ -444,5 +466,3 @@ export const appRoutes: Routes = [
redirectTo: 'error/404'
}
];
export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes, { initialNavigation: true });
@@ -1,12 +1,11 @@
<adf-about-github-link
[url]="url"
[version]="version">
</adf-about-github-link>
<adf-about-github-link [application]="application" [url]="url" [version]="version"></adf-about-github-link>
<adf-about-product-version>
</adf-about-product-version>
<adf-about-server-settings></adf-about-server-settings>
<adf-about-product-version> </adf-about-product-version>
<adf-about-application-modules
[dependencies]="dependencies"
[showExtensions]="showExtensions">
[showExtensions]="showExtensions"
>
</adf-about-application-modules>
@@ -15,22 +15,32 @@
* limitations under the License.
*/
import { Component } from '@angular/core';
import { name, version, commit, dependencies } from '../../../../../package.json';
import { Component, OnInit } from '@angular/core';
import {
name,
version,
commit,
dependencies
} from '../../../../../package.json';
import { AppConfigService } from '@alfresco/adf-core';
@Component({
selector: 'app-about-page',
templateUrl: './about.component.html',
styleUrls: ['about.component.scss']
})
export class AboutComponent {
export class AboutComponent implements OnInit {
url = `https://github.com/Alfresco/${name}/commits/${commit}`;
version = version;
dependencies = dependencies;
showExtensions = true;
application = '';
constructor() {
constructor(private appConfigService: AppConfigService) {}
ngOnInit() {
this.application = this.appConfigService.get<string>(
'application.name'
);
}
}
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [AboutComponent]
@@ -40,6 +40,7 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
]
},
{ href: '/files', icon: 'folder_open', title: 'APP_LAYOUT.CONTENT_SERVICES' },
{ href: '/filtered-search', icon: 'rowing', title: 'APP_LAYOUT.FILTERED_SEARCH' },
{ href: '/breadcrumb', icon: 'label', title: 'APP_LAYOUT.BREADCRUMB' },
{ href: '/notifications', icon: 'alarm', title: 'APP_LAYOUT.NOTIFICATIONS' },
{ href: '/card-view', icon: 'view_headline', title: 'APP_LAYOUT.CARD_VIEW' },
@@ -16,13 +16,16 @@
*/
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormFieldModel, NotificationService, FormRenderingService, CoreAutomationService, FormModel } from '@alfresco/adf-core';
import { FormCloudService, UploadCloudWidgetComponent } from '@alfresco/adf-process-services-cloud';
import { FormFieldModel, NotificationService, CoreAutomationService, FormModel, FormRenderingService } from '@alfresco/adf-core';
import { FormCloudService, CloudFormRenderingService } from '@alfresco/adf-process-services-cloud';
import { Subscription } from 'rxjs';
@Component({
templateUrl: 'cloud-form-demo.component.html',
styleUrls: ['cloud-form-demo.component.scss']
styleUrls: ['cloud-form-demo.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
})
export class FormCloudDemoComponent implements OnInit, OnDestroy {
@@ -43,10 +46,8 @@ export class FormCloudDemoComponent implements OnInit, OnDestroy {
constructor(
private notificationService: NotificationService,
private formRenderingService: FormRenderingService,
private formService: FormCloudService,
private automationService: CoreAutomationService) {
this.formRenderingService.setComponentTypeResolver('upload', () => UploadCloudWidgetComponent, true);
}
logErrors(errorFields: FormFieldModel[]) {
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -4,7 +4,7 @@
<mat-card class="app-card-view">
<adf-card-view
[properties]="properties"
[editable]="true"
[editable]="isEditable"
[displayClearAction]="showClearDateAction"
[displayNoneOption]="showNoneOption">
</adf-card-view>
@@ -40,7 +40,7 @@ import { takeUntil } from 'rxjs/operators';
})
export class CardViewComponent implements OnInit, OnDestroy {
@ViewChild('console') console: ElementRef;
@ViewChild('console', { static: true }) console: ElementRef;
isEditable = true;
properties: any;
@@ -78,8 +78,43 @@ export class CardViewComponent implements OnInit, OnDestroy {
value: 'Spock',
key: 'name',
default: 'default bar',
editable: this.isEditable
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Protected value',
value: 'Spock',
key: 'name',
default: 'default bar',
multiline: false,
icon: 'icon',
editable: false
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Multiline',
value: 'Spock',
key: 'name',
default: 'default bar',
multiline: true,
icon: 'icon',
editable: this.isEditable
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Default Value',
value: '',
key: 'name',
default: 'default bar',
multiline: false,
icon: 'icon',
editable: this.isEditable
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Multivalue (chips)',
value: [1, 2, 3],
key: 'name',
default: 'default bar',
multiline: true,
multivalued: true,
icon: 'icon',
editable: this.isEditable
}),
new CardViewDateItemModel({
@@ -105,6 +140,13 @@ export class CardViewComponent implements OnInit, OnDestroy {
default: false,
editable: this.isEditable
}),
new CardViewBoolItemModel({
label: 'Agree to all terms and conditions',
value: true,
key: 'boolean',
default: false,
editable: this.isEditable
}),
new CardViewIntItemModel({
label: 'CardView Int Item',
value: 213,
@@ -118,14 +160,20 @@ export class CardViewComponent implements OnInit, OnDestroy {
key: 'float',
default: 0.0,
editable: this.isEditable,
pipes: [{ pipe: this.decimalNumberPipe}]
pipes: [{ pipe: this.decimalNumberPipe }]
}),
new CardViewKeyValuePairsItemModel({
label: 'CardView Key-Value Pairs Item',
value: [],
value: [{ name: 'hey', value: 'you' }, { name: 'hey', value: 'you' }],
key: 'key-value-pairs',
editable: this.isEditable
}),
new CardViewKeyValuePairsItemModel({
label: 'CardView Key-Value Pairs Item',
value: [{ name: 'hey', value: 'you' }, { name: 'hey', value: 'you' }],
key: 'key-value-pairs',
editable: false
}),
new CardViewSelectItemModel({
label: 'CardView Select Item',
value: 'one',
@@ -146,17 +194,24 @@ export class CardViewComponent implements OnInit, OnDestroy {
default: 'click here',
editable: this.isEditable,
clickable: true,
icon: 'close',
clickCallBack: () => {
this.respondToCardClick();
}
}),
new CardViewArrayItemModel({
label: 'CardView Array of items',
value: of(['Zlatan', 'Lionel Messi', 'Mohamed', 'Ronaldo']),
value: of([
{ icon: 'directions_bike', value: 'Zlatan' },
{ icon: 'directions_bike', value: 'Lionel Messi' },
{ value: 'Mohamed', directions_bike: 'save' },
{ value: 'Ronaldo' }
]),
key: 'array',
icon: 'directions_bike',
icon: 'edit',
default: 'Empty',
noOfItemsToDisplay: 2
noOfItemsToDisplay: 2,
editable: this.isEditable
})
];
}
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [CardViewComponent]
@@ -63,15 +63,11 @@ export class CloudFiltersDemoComponent implements OnInit {
}
onTaskFilterSelected(filter) {
this.cloudLayoutService.setCurrentTaskFilterParam({id: filter && filter.id ? filter.id : ''});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: currentFilter });
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: filter });
}
onProcessFilterSelected(filter) {
this.cloudLayoutService.setCurrentProcessFilterParam({id: filter && filter.id ? filter.id : ''});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: currentFilter });
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: filter });
}
onTaskFilterOpen(): boolean {
@@ -16,8 +16,7 @@
*/
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Params } from '@angular/router/src/shared';
import { ActivatedRoute, Params } from '@angular/router';
@Component({
selector: 'app-cloud-viewer',
@@ -33,8 +33,6 @@ import { CloudLayoutService } from '../services/cloud-layout.service';
})
export class CommunityCloudComponent {
appName: string = '';
constructor(
private router: Router,
private route: ActivatedRoute,
@@ -7,7 +7,6 @@
</mat-expansion-panel-header>
<adf-cloud-task-filters
*ngIf="expandTaskFilter"
[appName]="appName"
[showIcons]="true"
[filterParam]="currentTaskFilter$ | async"
(filterClick)="onTaskFilterSelected($event)">
@@ -22,7 +21,6 @@
</mat-expansion-panel-header>
<adf-cloud-process-filters
*ngIf="expandProcessFilter"
[appName]="appName"
[showIcons]="true"
[filterParam]="currentProcessFilter$ | async"
(filterClick)="onProcessFilterSelected($event)">
@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, ViewEncapsulation, Input, OnInit } from '@angular/core';
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Router, ActivatedRoute } from '@angular/router';
import { CloudLayoutService } from '../services/cloud-layout.service';
@@ -26,9 +26,6 @@ import { CloudLayoutService } from '../services/cloud-layout.service';
})
export class CommunityCloudFiltersDemoComponent implements OnInit {
@Input()
appName: string = 'community';
currentTaskFilter$: Observable<any>;
currentProcessFilter$: Observable<any>;
@@ -3,14 +3,13 @@
<mat-icon>arrow_back</mat-icon> Go Back
</button>
<h4 data-automation-id="process-details-header">Simple page to show the process instance: {{ processInstanceId }} of the app: {{ appName }}</h4>
<h4 data-automation-id="process-details-header">Simple page to show the process instance: {{ processInstanceId }}</h4>
<div class="app-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="app-cloud-layout-overflow"
[appName]="''"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
#taskCloud>
@@ -18,7 +17,6 @@
<adf-cloud-process-header
class="app-process-cloud-header"
[appName]="''"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -25,16 +25,11 @@ import { ActivatedRoute, Router } from '@angular/router';
export class CommunityProcessDetailsCloudDemoComponent {
processInstanceId: string;
appName: string;
constructor(private route: ActivatedRoute, private router: Router) {
this.route.params.subscribe((params) => {
this.processInstanceId = params.processInstanceId;
});
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
}
onGoBack() {
@@ -1,7 +1,6 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-process-filter
[id]="filterId"
[appName]="'community'"
[filterProperties]="processFilterProperties.filterProperties"
[sortProperties]="processFilterProperties.sortProperties"
[actions]="processFilterProperties.actions"
@@ -11,7 +10,6 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list #processCloud
fxFlex
[appName]="''"
class="app-cloud-layout-overflow"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
@@ -19,7 +17,7 @@
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[businessKey]="editedFilter['businessKey']"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
@@ -44,15 +44,13 @@ export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
@ViewChild('processFiltersCloud')
processFiltersCloud: ProcessFiltersCloudComponent;
appName: string = '';
isFilterLoaded: boolean;
filterId: string = '';
sortArray: any = [];
selectedRow: any;
multiselect: boolean;
selectionMode: string;
selectedRows: string[] = [];
selectedRows: any[] = [];
testingMode: boolean;
processFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
@@ -79,10 +77,6 @@ export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
ngOnInit() {
this.isFilterLoaded = false;
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
this.route.queryParams.subscribe((params) => {
if (Object.keys(params).length > 0) {
this.isFilterLoaded = true;
@@ -1,6 +1,5 @@
<adf-cloud-start-process
[name]="processName"
[appName]="''"
(error)="openSnackMessage($event)"
(success)="onStartProcessSuccess()"
(cancel)="onCancelStartProcess()">
@@ -34,7 +34,7 @@ export class CommunityStartProcessCloudDemoComponent implements OnInit {
}
ngOnInit() {
this.processName = this.appConfig.get<string>('adf-start-process.name');
this.processName = this.appConfig.get<string>('adf-start-process-cloud.name');
}
onStartProcessSuccess() {
@@ -1,5 +1,4 @@
<adf-cloud-start-task
[appName]="''"
(error)="openSnackMessage($event)"
(success)="onStartTaskSuccess()"
(cancel)="onCancelStartTask()">
@@ -1,7 +1,6 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-task-filter
[id]="filterId"
[appName]="'community'"
[filterProperties]="taskFilterProperties.filterProperties"
[sortProperties]="taskFilterProperties.sortProperties"
[actions]="taskFilterProperties.actions"
@@ -11,7 +10,6 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-task-list #taskCloud
fxFlex
[appName]="''"
class="app-cloud-layout-overflow"
[processDefinitionId]="editedFilter.processDefinitionId"
[processInstanceId]="editedFilter.processInstanceId"
@@ -1,10 +1,9 @@
<h4 data-automation-id="task-details-header">Simple page to show the taskId: {{ taskId }} of the app: {{ appName }}</h4>
<h4 data-automation-id="task-details-header">Simple page to show the taskId: {{ taskId }}</h4>
<div fxLayout="column" fxFill fxLayoutGap="2px">
<div fxLayout="row" fxFill>
<div fxLayout="column" fxFlex="80%">
<adf-cloud-task-form
[appName]="''"
[taskId]="taskId"
(cancelClick)="goBack()"
(taskClaimed)="onClaimTask()"
@@ -14,7 +13,6 @@
</adf-cloud-task-form>
</div>
<adf-cloud-task-header fxFlex
[appName]="''"
[taskId]="taskId">
</adf-cloud-task-header>
</div>
@@ -26,7 +26,6 @@ import { NotificationService } from '@alfresco/adf-core';
export class CommunityTaskDetailsCloudDemoComponent {
taskId: string;
appName: string;
constructor(
private route: ActivatedRoute,
@@ -36,13 +35,10 @@ export class CommunityTaskDetailsCloudDemoComponent {
this.route.params.subscribe((params) => {
this.taskId = params.taskId;
});
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
}
isTaskValid(): boolean {
return this.appName !== undefined && this.taskId !== undefined;
return this.taskId !== undefined;
}
goBack() {
@@ -73,7 +73,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
ProcessServicesCloudModule,
RouterModule.forChild(routes),
AppCloudSharedModule,
@@ -6,51 +6,65 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangePeopleMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-people-single-mode" value="{{ peopleSingleMode }}">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" data-automation-id="app-people-single-mode" value="single">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-multiple-mode" value="{{ peopleMultipleMode }}">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-multiple-mode" value="multiple">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="app-people-control-options">
<mat-radio-group (change)="onChangePeopleFilterMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" value="appName">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
</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)" data-automation-id="app-people-roles-input" />
<input matInput (input)="setPeopleRoles($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)" data-automation-id="app-people-app-input" />
<input matInput (input)="setPeopleAppName($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)" data-automation-id="app-people-preselect-input" />
<input matInput (input)="setPeoplePreselectValue($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>
<mat-checkbox data-automation-id="app-people-readonly" value="{{ peopleReadonly }}" (change)="onChangePeopleReadonly($event)">{{
'PEOPLE_GROUPS_CLOUD.READONLY_MODE' | translate }}</mat-checkbox>
</div>
<div>
<adf-cloud-people
[preSelectUsers]="preSelectUsers"
[readOnly]="peopleReadonly"
[validate]="peoplePreselectValidation"
[appName]="peopleAppName"
[roles]="peopleRoles"
[appName]="peopleAppName"
[title]="'ADF_TASK_LIST.START_TASK.FORM.LABEL.ASSIGNEE'"
[mode]="peopleMode"></adf-cloud-people>
[mode]="peopleMode"
(warning)="onUsersWarning($event)"></adf-cloud-people>
</div>
<div class="app-people-list" *ngIf="canShowPeopleList()">
<div class="app-people-list" *ngIf="peopleMode === 'multiple'">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.ALL_PRESELECTED_USERS' | translate }}</h4>
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectUsers" role="listitem">
<mat-icon mat-list-icon>person</mat-icon>
{{ item?.firstName }} {{ item?.lastName }}
{{item | fullName}}
</mat-list-item>
</mat-list>
<div *ngIf="invalidUsers.length > 0">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.INVALID_USERS' | translate }} <mat-icon>warning</mat-icon> </h4>
<mat-list role="list">
<mat-list-item *ngFor="let invalidUser of invalidUsers" role="listitem">
<mat-icon mat-list-icon>person</mat-icon>
{{invalidUser | fullName}}
</mat-list-item>
</mat-list>
</div>
</div>
</mat-card-content>
</mat-card>
@@ -63,43 +77,75 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangeGroupsMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-group-single-mode" value="{{ groupSingleMode }}">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" data-automation-id="app-group-single-mode" value="single">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-multiple-mode" value="{{ groupMultipleMode }}">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-multiple-mode" value="multiple">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="app-groups-control-options">
<mat-radio-group (change)="onChangeGroupsFilterMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" value="appName">{{
<mat-radio-button [checked]="true" class="app-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
</mat-radio-group>
<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)" data-automation-id="app-group-roles-input"/>
<input matInput
(input)="setGroupRoles($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)" data-automation-id="app-group-app-input"/>
<input matInput
(input)="setGroupAppName($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)" data-automation-id="app-group-preselect-input" />
<input matInput
(input)="setGroupsPreselectValue($event.target?.value)"
data-automation-id="app-group-preselect-input" />
</mat-form-field>
<mat-checkbox class="app-preselect-value" (change)="onChangeGroupValidation($event)">
{{ 'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }}
</mat-checkbox>
<mat-checkbox
data-automation-id="app-group-readonly"
value="{{ groupReadonly }}"
(change)="onChangeGroupReadonly($event)">
{{ 'PEOPLE_GROUPS_CLOUD.READONLY_MODE' | translate }}
</mat-checkbox>
</div>
<div>
<adf-cloud-group [mode]="groupMode" [roles]="groupRoles" [appName]="groupAppName" [preSelectGroups]="preSelectGroup"
(selectGroup)="onSelectGroup($event)" (removeGroup)="onRemoveGroup($event)"></adf-cloud-group>
<adf-cloud-group
[mode]="groupMode"
[readOnly]="groupReadonly"
[validate]="groupPreselectValidation"
[roles]="groupRoles"
[appName]="groupAppName"
[preSelectGroups]="preSelectGroup"
(warning)="onGroupsWarning($event)"></adf-cloud-group>
</div>
<div class="app-group-list" *ngIf="canShowGroupList()">
<div class="app-group-list" *ngIf="groupMode === 'multiple'">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.ALL_PRESELECTED_GROUPS' | translate }}</h4>
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectGroup" role="listitem">
<mat-icon mat-list-icon>group</mat-icon>
{{ item.name }}
</mat-list-item>
</mat-list>
<div *ngIf="invalidGroups.length > 0">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.INVALID_GROUPS' | translate }} <mat-icon>warning</mat-icon> </h4>
<mat-list role="list">
<mat-list-item *ngFor="let invalidGroup of invalidGroups" role="listitem">
<mat-icon mat-list-icon>group</mat-icon>
{{invalidGroup?.name}}
</mat-list-item>
</mat-list>
</div>
</div>
</mat-card-content>
</mat-card>
@@ -16,9 +16,10 @@
*/
import { Component, ViewEncapsulation } from '@angular/core';
import { PeopleCloudComponent, GroupCloudComponent } from '@alfresco/adf-process-services-cloud';
import { MatRadioChange, MatCheckboxChange } from '@angular/material';
import { IdentityGroupModel } from '@alfresco/adf-core';
import { ComponentSelectionMode } from '@alfresco/adf-process-services-cloud';
import { MatCheckboxChange } from '@angular/material/checkbox';
import { MatRadioChange } from '@angular/material/radio';
import { IdentityGroupModel, IdentityUserModel } from '@alfresco/adf-core';
@Component({
selector: 'app-people-groups-cloud',
@@ -32,73 +33,83 @@ export class PeopleGroupCloudDemoComponent {
DEFAULT_GROUP_PLACEHOLDER: string = `[{"id": "1", "name":"activitiUserGroup"}]`;
DEFAULT_PEOPLE_PLACEHOLDER: string = `[{"id": "1", email": "user@user.com", "firstName":"user", "lastName": "lastName", "username": "user"}]`;
peopleMode: string = PeopleCloudComponent.MODE_SINGLE;
preSelectUsers: string[] = [];
peopleMode: ComponentSelectionMode = 'single';
preSelectUsers: IdentityUserModel[] = [];
invalidUsers: IdentityUserModel[] = [];
peopleRoles: string[] = [];
peopleAppName: string;
peopleFilterMode: string = this.DEFAULT_FILTER_MODE;
peoplePreselectValidation: Boolean = false;
peoplePreselectValidation = false;
groupPreselectValidation = false;
peopleReadonly = false;
groupReadonly = false;
groupMode: string = GroupCloudComponent.MODE_SINGLE;
groupMode: ComponentSelectionMode = 'single';
preSelectGroup: IdentityGroupModel[] = [];
selectedGroupList: IdentityGroupModel[] = [];
invalidGroups: IdentityGroupModel[] = [];
groupRoles: string[];
groupAppName: string;
groupFilterMode: string = this.DEFAULT_FILTER_MODE;
setPeoplePreselectValue(event: any) {
this.preSelectUsers = this.getArrayFromString(event.target.value);
setPeoplePreselectValue(value: string): void {
this.preSelectUsers = this.getArrayFromString(value);
}
setGroupsPreselectValue(event: any) {
this.preSelectGroup = this.getArrayFromString(event.target.value);
setGroupsPreselectValue(value: string): void {
this.preSelectGroup = this.getArrayFromString(value);
}
setPeopleRoles(event: any) {
this.peopleRoles = this.getArrayFromString(event.target.value);
setPeopleRoles(value: string): void {
this.peopleRoles = this.getArrayFromString(value);
}
setGroupRoles(event: any) {
this.groupRoles = this.getArrayFromString(event.target.value);
setGroupRoles(value: string): void {
this.groupRoles = this.getArrayFromString(value);
}
setPeopleAppName(event: any) {
this.peopleAppName = event.target.value;
setPeopleAppName(value: string): void {
this.peopleAppName = value;
}
setGroupAppName(event: any) {
this.groupAppName = event.target.value;
setGroupAppName(value: string): void {
this.groupAppName = value;
}
onChangePeopleMode(event: MatRadioChange) {
onChangePeopleMode(event: MatRadioChange): void {
this.peopleMode = event.value;
this.preSelectUsers = [...this.preSelectUsers];
}
onChangeGroupsMode(event: MatRadioChange) {
onChangePeopleReadonly(event: MatCheckboxChange): void {
this.peopleReadonly = event.checked;
}
onChangeGroupReadonly(event: MatCheckboxChange): void {
this.groupReadonly = event.checked;
}
onChangeGroupsMode(event: MatRadioChange): void {
this.groupMode = event.value;
this.preSelectGroup = [...this.preSelectGroup];
}
onChangePeopleFilterMode(event: MatRadioChange) {
onChangePeopleFilterMode(event: MatRadioChange): void {
this.peopleFilterMode = event.value;
this.resetPeopleFilter();
}
onChangeGroupsFilterMode(event: MatRadioChange) {
onChangeGroupsFilterMode(event: MatRadioChange): void {
this.groupFilterMode = event.value;
this.restGroupFilter();
}
isPeopleAppNameSelected() {
isPeopleAppNameSelected(): boolean {
return this.peopleFilterMode === 'appName';
}
isGroupAppNameSelected() {
isGroupAppNameSelected(): boolean {
return this.groupFilterMode === 'appName';
}
resetPeopleFilter() {
resetPeopleFilter(): void {
if (this.isPeopleAppNameSelected()) {
this.peopleRoles = [];
} else {
@@ -106,7 +117,7 @@ export class PeopleGroupCloudDemoComponent {
}
}
restGroupFilter() {
restGroupFilter(): void {
if (this.isGroupAppNameSelected()) {
this.groupRoles = [];
} else {
@@ -114,12 +125,23 @@ export class PeopleGroupCloudDemoComponent {
}
}
onChangePeopleValidation(event: MatCheckboxChange) {
onChangePeopleValidation(event: MatCheckboxChange): void {
this.peoplePreselectValidation = event.checked;
this.preSelectUsers = [...this.preSelectUsers];
}
isStringArray(str: string) {
onChangeGroupValidation(event: MatCheckboxChange): void {
this.groupPreselectValidation = event.checked;
}
onGroupsWarning(warning: any): void {
this.invalidGroups = warning.groups;
}
onUsersWarning(warning: any): void {
this.invalidUsers = warning.users;
}
isStringArray(str: string): boolean {
try {
const result = JSON.parse(str);
return Array.isArray(result);
@@ -128,46 +150,11 @@ export class PeopleGroupCloudDemoComponent {
}
}
private getArrayFromString(value: string) {
private getArrayFromString<T = any>(value: string): T[] {
if (this.isStringArray(value)) {
return JSON.parse(value);
} else {
return [];
}
}
canShowPeopleList() {
return this.peopleMode === GroupCloudComponent.MODE_MULTIPLE;
}
canShowGroupList() {
return this.groupMode === GroupCloudComponent.MODE_MULTIPLE;
}
onRemoveGroup(group: IdentityGroupModel) {
this.preSelectGroup = this.preSelectGroup.filter((value: any) => value.id !== group.id);
}
onSelectGroup(group: IdentityGroupModel) {
if (this.groupMode === GroupCloudComponent.MODE_MULTIPLE) {
this.preSelectGroup.push(group);
}
}
get peopleSingleMode() {
return PeopleCloudComponent.MODE_SINGLE;
}
get peopleMultipleMode() {
return PeopleCloudComponent.MODE_MULTIPLE;
}
get groupSingleMode() {
return GroupCloudComponent.MODE_SINGLE;
}
get groupMultipleMode() {
return GroupCloudComponent.MODE_MULTIPLE;
}
}
@@ -1,4 +1,3 @@
<button data-automation-id="go-back" mat-icon-button (click)="onGoBack()">
<mat-icon>arrow_back</mat-icon> Go Back
</button>
@@ -22,4 +21,3 @@
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -11,4 +11,5 @@
margin-left: 10px;
width: 25%;
}
}
@@ -15,11 +15,12 @@
[appName]="editedFilter.appName"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionName]="editedFilter.processDefinitionName"
[processDefinitionKey]="editedFilter.processDefinitionKey"
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[businessKey]="editedFilter['businessKey']"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
@@ -37,6 +37,7 @@ import { Pagination } from '@alfresco/js-api';
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')
@@ -53,7 +54,7 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
selectedRow: any;
multiselect: boolean;
selectionMode: string;
selectedRows: string[] = [];
selectedRows: any[] = [];
testingMode: boolean;
actionMenu: boolean;
contextMenu: boolean;
@@ -140,7 +141,12 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
}
onProcessFilterAction(filterAction: any) {
this.cloudLayoutService.setCurrentProcessFilterParam({ id: filterAction.filter.id });
if (filterAction.actionType === ProcessesCloudDemoComponent.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 });
}
@@ -18,14 +18,17 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CloudSettingsComponent } from './cloud-settings.component';
import { MatDialogModule, MatInputModule, MatSelectModule, MatSlideToggleModule } from '@angular/material';
import { MatDialogModule } from '@angular/material/dialog';
import { MatInputModule } from '@angular/material/input';
import { MatSelectModule } from '@angular/material/select';
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
import { CoreModule } from '@alfresco/adf-core';
import { FlexLayoutModule } from '@angular/flex-layout';
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
MatDialogModule,
MatInputModule,
MatSelectModule,
@@ -5,5 +5,6 @@
[variables]="variables"
(error)="openSnackMessage($event)"
(success)="onStartProcessSuccess()"
(formContentClicked)="onFormContentClicked($event)"
(cancel)="onCancelStartProcess()">
</adf-cloud-start-process>
@@ -17,12 +17,17 @@
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService, AppConfigService } from '@alfresco/adf-core';
import { NotificationService, AppConfigService, FormRenderingService } from '@alfresco/adf-core';
import { CloudLayoutService } from './services/cloud-layout.service';
import { PreviewService } from '../../services/preview.service';
import { CloudFormRenderingService } from '@alfresco/adf-process-services-cloud';
@Component({
templateUrl: './start-process-cloud-demo.component.html',
styleUrls: ['./start-process-cloud-demo.component.scss']
styleUrls: ['./start-process-cloud-demo.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
})
export class StartProcessCloudDemoComponent implements OnInit {
@@ -34,6 +39,7 @@ export class StartProcessCloudDemoComponent implements OnInit {
constructor(private appConfig: AppConfigService,
private cloudLayoutService: CloudLayoutService,
private route: ActivatedRoute,
private previewService: PreviewService,
private notificationService: NotificationService,
private router: Router) {
}
@@ -61,4 +67,8 @@ export class StartProcessCloudDemoComponent implements OnInit {
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(event.response.body.entry.message);
}
onFormContentClicked(resourceClicked: any) {
this.previewService.showResource(resourceClicked.nodeId);
}
}
@@ -19,7 +19,7 @@ import { Component, ViewChild } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService } from '@alfresco/adf-core';
import { TaskHeaderCloudComponent } from '@alfresco/adf-process-services-cloud';
import { PreviewService } from 'app/services/preview.service';
import { PreviewService } from '../../services/preview.service';
@Component({
templateUrl: './task-details-cloud-demo.component.html',
@@ -27,7 +27,7 @@ import { PreviewService } from 'app/services/preview.service';
})
export class TaskDetailsCloudDemoComponent {
@ViewChild('taskHeader')
@ViewChild('taskHeader', { static: true })
taskHeader: TaskHeaderCloudComponent;
taskId: string;
@@ -24,7 +24,7 @@ import { FormControl } from '@angular/forms';
styleUrls: ['./task-header-cloud-demo.component.scss']
})
export class TaskHeaderCloudDemoComponent {
@ViewChild('taskHeader')
@ViewChild('taskHeader', { static: true })
taskHeader: TaskHeaderCloudComponent;
appName: string;
@@ -30,6 +30,7 @@ import { takeUntil } from 'rxjs/operators';
export class TasksCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
public static ACTION_DELETE = 'delete';
static TASK_FILTER_PROPERTY_KEYS = 'adf-edit-task-filter';
@ViewChild('taskCloud')
@@ -133,7 +134,13 @@ export class TasksCloudDemoComponent implements OnInit, OnDestroy {
}
onTaskFilterAction(filterAction: any) {
this.cloudLayoutService.setCurrentTaskFilterParam({ id: filterAction.filter.id });
if (filterAction.actionType === TasksCloudDemoComponent.ACTION_DELETE) {
this.cloudLayoutService.setCurrentTaskFilterParam({ index: 0 });
} else {
this.cloudLayoutService.setCurrentTaskFilterParam({ id: filterAction.filter.id });
}
if (filterAction.actionType === TasksCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: filterAction.filter });
}
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
MonacoEditorModule
],
@@ -16,7 +16,7 @@
*/
import { Component } from '@angular/core';
import { MatDialog } from '@angular/material';
import { MatDialog } from '@angular/material/dialog';
import { ConfirmDialogComponent } from '@alfresco/adf-content-services';
@Component({
@@ -227,5 +227,24 @@
</adf-content-node-selector-panel>
</div>
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>
<h2>shows files</h2>
</mat-panel-title>
<mat-panel-description>
<label class="app-content-node-selector-demo-basic-label">
Shows files in search result
</label>
</mat-panel-description>
</mat-expansion-panel-header>
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[currentFolderId]="'-root-'"
[showFilesInResult]="true">
</adf-content-node-selector-panel>
</div>
</mat-expansion-panel>
</mat-accordion>
</main>
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [ContentNodeSelectorComponent]
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -49,7 +49,7 @@
<div>
<p>{{ 'DATATABLE.MULTISELECT_DESCRIPTION'| translate }}</p>
<mat-form-field>
<mat-select placeholder="Selection Mode" [(ngModel)]="selectionMode" name="food">
<mat-select placeholder="Selection Mode" [(ngModel)]="selectionMode" name="food" data-automation-id="datatable-selection-mode">
<mat-option *ngFor="let mode of selectionModes" [value]="mode.value">
{{mode.viewValue}}
</mat-option>
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [DataTableDnDComponent]
@@ -34,17 +34,14 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild(),
ExtensionsModule.forChild()
ExtensionsModule
],
declarations: [
ExtensionPresetsComponent,
NameColumnComponent
],
entryComponents: [
NameColumnComponent
]
})
export class ExtensionPresetsModule {
@@ -49,7 +49,7 @@
[color]="'primary'"
(change)="toggleMulti()"
[checked]="multi">
multi accordion
Multi accordion
</mat-slide-toggle>
</p>
@@ -59,7 +59,7 @@
[color]="'primary'"
(change)="toggleReadOnly()"
[checked]="isReadOnly">
Editable
Read Only
</mat-slide-toggle>
</p>
@@ -108,7 +108,8 @@
<mat-card>
<mat-card-content>
<adf-version-manager [node]="node"
(uploadError)="uploadError($event)">
(uploadError)="onUploadError($event)"
(viewVersion)="onViewVersion($event)">
</adf-version-manager>
</mat-card-content>
</mat-card>
@@ -318,6 +319,7 @@
<adf-viewer
[blobFile]="content"
[nodeId]="nodeId"
[versionId]="versionId"
[showRightSidebar]="showRightSidebar"
[showLeftSidebar]="showLeftSidebar"
[allowGoBack]="allowGoBack"
@@ -328,7 +330,7 @@
[allowRightSidebar]="allowRightSidebar"
[allowLeftSidebar]="allowLeftSidebar"
[urlFile]="urlFile"
(showViewerChange)="onViewerVisibilityChanged($event)"
(showViewerChange)="onViewerVisibilityChanged()"
[sidebarLeftTemplate]="sidebarLeftTemplate"
[sidebarRightTemplate]="sidebarRightTemplate">
@@ -18,7 +18,7 @@
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { ActivatedRoute, Router, PRIMARY_OUTLET } from '@angular/router';
import { ContentService, AllowableOperationsEnum, PermissionsEnum, NodesApiService } from '@alfresco/adf-core';
import { MatSnackBar } from '@angular/material';
import { MatSnackBar } from '@angular/material/snack-bar';
import { PreviewService } from '../../services/preview.service';
@Component({
@@ -30,6 +30,7 @@ import { PreviewService } from '../../services/preview.service';
export class FileViewComponent implements OnInit {
nodeId: string = null;
versionId: string = null;
displayEmptyMetadata = false;
expanded: boolean;
multi = false;
@@ -72,6 +73,7 @@ export class FileViewComponent implements OnInit {
ngOnInit() {
this.route.params.subscribe((params) => {
const id = params.nodeId;
this.versionId = params.versionId;
if (id) {
this.nodeApiService.getNode(id).subscribe(
(node) => {
@@ -92,6 +94,10 @@ export class FileViewComponent implements OnInit {
});
}
onViewVersion(versionId: string) {
this.preview.showResource(this.nodeId, versionId);
}
onViewerVisibilityChanged() {
const primaryUrl = this.router.parseUrl(this.router.url).root.children[PRIMARY_OUTLET].toString();
this.router.navigateByUrl(primaryUrl);
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
InfoDrawerModule,
ContentDirectiveModule,
ContentMetadataModule,
@@ -1,7 +1,7 @@
<adf-toolbar>
<adf-toolbar-title>
<mat-form-field>
<mat-select [(ngModel)]="selectedSource">
<mat-select [(ngModel)]="selectedSource" data-automation-id="custom-sources-select">
<mat-option *ngFor="let source of sources" [value]="source.value">
{{ source.title }}
</mat-option>
@@ -27,7 +27,7 @@ export class CustomSourcesComponent {
@Input()
selectedSource = '-recent-';
@ViewChild('customSourcesDocumentList')
@ViewChild('customSourcesDocumentList', { static: true })
documentList: DocumentListComponent;
sources = [
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [CustomSourcesComponent]
@@ -41,7 +41,8 @@
[versioning]="versioning"
[adf-check-allowable-operation]="'create'"
[adf-nodes]="disableDragArea ? getCurrentDocumentListNode() : []"
(beginUpload)="onBeginUpload($event)">
(beginUpload)="onBeginUpload($event)"
(updateFileVersion)="onUploadNewVersion($event)">
<div *ngIf="errorMessage" class="app-error-message">
<button (click)="resetError()" mat-icon-button>
<mat-icon>highlight_off</mat-icon>
@@ -113,7 +114,9 @@
<mat-icon>get_app</mat-icon>
</button>
<button mat-icon-button
data-automation-id="delete-toolbar-button"
adf-check-allowable-operation="delete"
permanent=true
[adf-nodes]="documentList.selection"
title="{{ 'DOCUMENT_LIST.TOOLBAR.DELETE' | translate }}"
(delete)="onDeleteActionSuccess($event)"
@@ -197,13 +200,6 @@
<mat-icon>create</mat-icon>
<span>{{ 'DOCUMENT_LIST.TOOLBAR.EDIT_FOLDER' | translate }}</span>
</button>
<button mat-menu-item
[disabled]="!hasSelection(documentList.selection)"
title="Download"
(click)="downloadNodes(documentList.selection)">
<mat-icon>get_app</mat-icon>
<span>{{ 'DOCUMENT_LIST.TOOLBAR.DOWNLOAD' | translate }}</span>
</button>
<button mat-menu-item
adf-check-allowable-operation="delete"
[adf-nodes]="documentList.selection"
@@ -241,6 +237,20 @@
(folderChange)="onFolderChange($event)"
(permissionError)="handlePermissionError($event)"
(name-click)="documentList.onNodeDblClick($event.detail?.node)">
<adf-custom-header-filter-template *ngIf="enableCustomHeaderFilter">
<ng-template let-col>
<adf-search-header [col]="col"
[value]="paramValues? paramValues[col.key] : null"
[currentFolderNodeId]="currentFolderId"
[sorting]="filterSorting"
[maxItems]="pagination?.maxItems"
[skipCount]="pagination?.skipCount"
(update)="onFilterUpdate($event)"
(clear)="onAllFilterCleared()"
(selection)="onFilterSelected($event)">
</adf-search-header>
</ng-template>
</adf-custom-header-filter-template>
<adf-custom-no-permission-template *ngIf="enableCustomPermissionMessage">
<h1>You don't have permissions</h1>
</adf-custom-no-permission-template>
@@ -260,6 +270,7 @@
<data-column
*ngIf="showNameColumn && hyperlinkNavigation"
key="name"
sortingKey="name"
class="app-ellipsis-cell"
title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}"
[formatTooltip]="getNodeNameTooltip">
@@ -270,6 +281,7 @@
<data-column
*ngIf="showNameColumn && !hyperlinkNavigation"
key="name"
sortingKey="name"
title="{{'DOCUMENT_LIST.COLUMNS.DISPLAY_NAME' | translate}}"
[formatTooltip]="getNodeNameTooltip"
class="app-ellipsis-cell adf-expand-cell-5">
@@ -287,6 +299,7 @@
key="content.sizeInBytes"
title="{{'DOCUMENT_LIST.COLUMNS.SIZE' | translate}}"
type="fileSize"
sortingKey="sizeInBytes"
class="app-desktop-only adf-ellipsis-cell">
</data-column>
<data-column
@@ -313,11 +326,15 @@
<data-column
class="app-full-width adf-ellipsis-cell adf-desktop-only"
title="{{'DOCUMENT_LIST.COLUMNS.NODE_ID' | translate}}"
[sortable]="false"
key="id">
</data-column>
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.IS_LOCKED' | translate}}"
key="id"
key="lock"
[focus]="false"
[sortable]="false"
class="app-desktop-only adf-ellipsis-cell">
<ng-template let-entry="$implicit">
<button mat-icon-button [adf-node-lock]="entry.row.node.entry" class="app-lock-button">
@@ -329,11 +346,13 @@
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.CREATED_BY' | translate}}"
key="createdByUser.displayName"
sortingKey="createdByUser"
class="app-desktop-only adf-ellipsis-cell">
</data-column>
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.CREATED' | translate}}"
key="createdAt"
sortingKey="createdAt"
type="date"
[format]="enableMediumTimeFormat ? 'medium' : 'timeAgo'"
class="app-desktop-only adf-ellipsis-cell">
@@ -443,7 +462,7 @@
<adf-infinite-pagination
[hidden]="!infiniteScrolling"
[target]="documentList"
[loading]="documentList.infiniteLoading">
[loading]="documentList.loading">
{{ 'ADF-DOCUMENT-LIST.LAYOUT.LOAD_MORE' | translate }}
</adf-infinite-pagination>
</adf-upload-drag-area>
@@ -525,7 +544,7 @@
</section>
<section>
<mat-slide-toggle [color]="'primary'" [(ngModel)]="multiselect">
<mat-slide-toggle data-automation-id="multiSelectToggle" [color]="'primary'" [(ngModel)]="multiselect">
{{'DOCUMENT_LIST.MULTISELECT_CHECKBOXES' | translate}}
</mat-slide-toggle>
</section>
@@ -562,8 +581,8 @@
</section>
<section>
<mat-slide-toggle id="adf-document-list-enable-drop-files" [color]="'primary'" [(ngModel)]="allowDropFiles"
(click)="toggleAllowDropFiles()">
<mat-slide-toggle id="adf-document-list-enable-drop-files" [color]="'primary'" [checked]="allowDropFiles"
(change)="toggleAllowDropFiles()">
{{'DOCUMENT_LIST.ALLOW_DROP_FILES' | translate}}
</mat-slide-toggle>
</section>
@@ -29,8 +29,9 @@
}
}
.app-datatable-card .app-lock-button {
.adf-datatable-card .app-lock-button {
top: -10px;
position: absolute;
}
.app-site-container-style {
@@ -21,15 +21,15 @@ import {
} from '@angular/core';
import { Location } from '@angular/common';
import { MatDialog } from '@angular/material';
import { MatDialog } from '@angular/material/dialog';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { MinimalNodeEntity, NodePaging, Pagination, MinimalNodeEntryEntity, SiteEntry, SearchEntry } from '@alfresco/js-api';
import {
AlfrescoApiService, AuthenticationService, AppConfigService, AppConfigValues, ContentService, TranslationService,
FileUploadEvent, FolderCreatedEvent, LogService, NotificationService,
AlfrescoApiService, AuthenticationService, AppConfigService, AppConfigValues, ContentService, TranslationService, FolderCreatedEvent, LogService, NotificationService,
UploadService, DataRow, UserPreferencesService,
PaginationComponent, FormValues, DisplayMode, InfinitePaginationComponent, HighlightDirective,
SharedLinksApiService
PaginationComponent, FormValues, DisplayMode, ShowHeaderMode, InfinitePaginationComponent, HighlightDirective,
SharedLinksApiService,
FormRenderingService
} from '@alfresco/adf-core';
import {
@@ -41,20 +41,23 @@ import {
ContentMetadataService
} from '@alfresco/adf-content-services';
import { SelectAppsDialogComponent } from '@alfresco/adf-process-services';
import { SelectAppsDialogComponent, ProcessFormRenderingService } from '@alfresco/adf-process-services';
import { VersionManagerDialogAdapterComponent } from './version-manager-dialog-adapter.component';
import { MetadataDialogAdapterComponent } from './metadata-dialog-adapter.component';
import { Subject } from 'rxjs';
import { PreviewService } from '../../services/preview.service';
import { debounceTime, takeUntil } from 'rxjs/operators';
import { takeUntil } from 'rxjs/operators';
const DEFAULT_FOLDER_TO_SHOW = '-my-';
@Component({
selector: 'app-files-component',
templateUrl: './files.component.html',
styleUrls: ['./files.component.scss']
styleUrls: ['./files.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
]
})
export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@@ -66,7 +69,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
showVersions = false;
allowDropFiles = true;
displayMode = DisplayMode.List;
includeFields = ['isFavorite', 'isLocked', 'aspectNames'];
includeFields = ['isFavorite', 'isLocked', 'aspectNames', 'definition'];
baseShareUrl = (
this.appConfig.get<string>(AppConfigValues.BASESHAREURL) ||
@@ -75,9 +78,9 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
toolbarColor = 'default';
selectionModes = [
{ value: 'none', viewValue: 'None' },
{ value: 'single', viewValue: 'Single' },
{ value: 'multiple', viewValue: 'Multiple' }
{value: 'none', viewValue: 'None'},
{value: 'single', viewValue: 'Single'},
{value: 'multiple', viewValue: 'Multiple'}
];
// The identifier of a node. You can also use one of these well-known aliases: -my- | -shared- | -root-
@@ -89,10 +92,10 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
processId;
@Input()
sorting = ['name', 'asc'];
sorting = ['name', 'ASC'];
@Input()
sortingMode = 'client';
sortingMode = 'server';
@Input()
showRecentFiles = true;
@@ -104,7 +107,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
showSettingsPanel = true;
@Input()
showHeader = true;
showHeader: string = ShowHeaderMode.Always;
@Input()
selectionMode = 'multiple';
@@ -157,6 +160,18 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@Input()
searchTerm = '';
@Input()
navigationRoute = '/files';
@Input()
enableCustomHeaderFilter = false;
@Input()
paramValues: Map<any, any> = null;
@Input()
filterSorting: string = null;
@Output()
documentListReady: EventEmitter<any> = new EventEmitter();
@@ -178,13 +193,13 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@Output()
deleteElementSuccess: EventEmitter<any> = new EventEmitter();
@ViewChild('documentList')
@ViewChild('documentList', { static: true })
documentList: DocumentListComponent;
@ViewChild('standardPagination')
standardPagination: PaginationComponent;
@ViewChild(InfinitePaginationComponent)
@ViewChild(InfinitePaginationComponent, { static: true })
infinitePaginationComponent: InfinitePaginationComponent;
@ViewChild(HighlightDirective)
@@ -195,6 +210,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
stickyHeader: boolean;
warnOnMultipleUploads = false;
thumbnails = false;
enableCustomPermissionMessage = false;
enableMediumTimeFormat = false;
displayEmptyMetadata = false;
@@ -237,6 +253,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
toggleAllowDropFiles() {
this.allowDropFiles = !this.allowDropFiles;
this.documentList.reload();
}
@@ -260,17 +277,6 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
});
}
this.uploadService.fileUploadComplete
.pipe(
debounceTime(300),
takeUntil(this.onDestroy$)
)
.subscribe(value => this.onFileUploadEvent(value));
this.uploadService.fileUploadDeleted
.pipe(takeUntil(this.onDestroy$))
.subscribe(value => this.onFileUploadEvent(value));
this.contentService.folderCreated
.pipe(takeUntil(this.onDestroy$))
.subscribe(value => this.onFolderCreated(value));
@@ -322,7 +328,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
getCurrentDocumentListNode(): MinimalNodeEntity[] {
if (this.documentList.folderNode) {
return [{ entry: this.documentList.folderNode }];
return [{entry: this.documentList.folderNode}];
} else {
return [];
}
@@ -338,12 +344,6 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
this.errorMessage = null;
}
onFileUploadEvent(event: FileUploadEvent) {
if (event && event.file.options.parentId === this.documentList.currentFolderId) {
this.documentList.reload();
}
}
onFolderCreated(event: FolderCreatedEvent) {
this.logService.log('FOLDER CREATED');
this.logService.log(event);
@@ -360,7 +360,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
onFolderChange($event) {
this.router.navigate(['/files', $event.value.id, 'display', this.displayMode]);
this.router.navigate([this.navigationRoute, $event.value.id, 'display', this.displayMode]);
}
handlePermissionError(event: any) {
@@ -427,7 +427,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
if (this.contentService.hasAllowableOperations(contentEntry, 'update')) {
this.dialog.open(VersionManagerDialogAdapterComponent, {
data: { contentEntry: contentEntry, showComments: showComments, allowDownload: allowDownload },
data: {contentEntry: contentEntry, showComments: showComments, allowDownload: allowDownload},
panelClass: 'adf-version-manager-dialog',
width: '630px'
});
@@ -518,22 +518,32 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
onChangePageSize(event: Pagination): void {
this.preference.paginationSize = event.maxItems;
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.changedPageSize.emit(event);
}
onChangePageNumber(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.changedPageNumber.emit(event);
}
onNextPage(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.turnedNextPage.emit(event);
}
loadNextBatch(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.loadNext.emit(event);
}
onPrevPage(event: Pagination): void {
this.pagination.maxItems = event.maxItems;
this.pagination.skipCount = event.skipCount;
this.turnedPreviousPage.emit(event);
}
@@ -581,16 +591,34 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
isCustomActionDisabled(node: MinimalNodeEntity): boolean {
if (node && node.entry && node.entry.name === 'custom') {
return false;
}
return true;
return !(node && node.entry && node.entry.name === 'custom');
}
runCustomAction(event: any) {
this.logService.log(event);
}
onUploadNewVersion(ev) {
const contentEntry = ev.detail.data.node.entry;
const showComments = this.showVersionComments;
const allowDownload = this.allowVersionDownload;
const newFileVersion = ev.detail.files[0].file;
if (this.contentService.hasAllowableOperations(contentEntry, 'update')) {
this.dialog.open(VersionManagerDialogAdapterComponent, {
data: {
contentEntry: contentEntry, showComments: showComments, allowDownload: allowDownload,
newFileVersion: newFileVersion, showComparison: true
},
panelClass: 'adf-version-manager-dialog',
width: '630px'
});
} else {
const translatedErrorMessage: any = this.translateService.instant('OPERATION.ERROR.PERMISSION');
this.openSnackMessage(translatedErrorMessage);
}
}
getFileFiltering(): string {
return this.acceptedFilesTypeShow ? this.acceptedFilesType : '*';
}
@@ -611,4 +639,34 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
return '';
}
onFilterUpdate(newNodePaging: NodePaging) {
this.nodeResult = newNodePaging;
}
onAllFilterCleared() {
this.documentList.node = null;
if (this.currentFolderId === '-my-') {
this.router.navigate([this.navigationRoute, '']);
} else {
this.router.navigate([this.navigationRoute, this.currentFolderId, 'display', this.displayMode]);
}
this.documentList.reload();
}
onFilterSelected(currentActiveFilters: Map<string, string>) {
const objectFromMap = {};
currentActiveFilters.forEach((value: any, key) => {
let paramValue = null;
if (value && value.from && value.to) {
paramValue = `${value.from}||${value.to}`;
} else {
paramValue = value;
}
objectFromMap[key] = paramValue;
});
this.router.navigate([], { relativeTo: this.route, queryParams: objectFromMap });
}
}
@@ -0,0 +1,11 @@
<app-files-component [sortingMode]="'server'"
[showRecentFiles]="false"
[showSitePicker]="true"
[showSettingsPanel]="false"
[navigationRoute]="navigationRoute"
[currentFolderId]="currentFolderId"
[filterSorting]="filterSorting"
[enableCustomHeaderFilter]="true"
[paramValues]="queryParams"
(sorting-changed)="onSortingChanged($event)">
</app-files-component>
@@ -0,0 +1,54 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, Optional } from '@angular/core';
import { SEARCH_QUERY_SERVICE_TOKEN, SearchHeaderQueryBuilderService } from '@alfresco/adf-content-services';
import { ActivatedRoute, Params } from '@angular/router';
@Component({
selector: 'app-filtered-search-component',
templateUrl: './filtered-search.component.html',
providers: [{ provide: SEARCH_QUERY_SERVICE_TOKEN, useClass: SearchHeaderQueryBuilderService}]
})
export class FilteredSearchComponent {
navigationRoute = '/filtered-search';
currentFolderId = '-my-';
queryParams = null;
filterSorting: string = 'name-asc';
constructor(@Optional() private route: ActivatedRoute) {
if (this.route) {
this.route.params.forEach((params: Params) => {
if (params['id'] && this.currentFolderId !== params['id']) {
this.currentFolderId = params['id'];
}
});
this.route.queryParamMap.subscribe((queryMap: Params) => {
this.queryParams = queryMap.params;
});
}
}
onSortingChanged(event) {
this.filterSorting = event.detail.key + '-' + event.detail.direction;
}
}
@@ -16,7 +16,7 @@
*/
import { Component, Inject, ViewEncapsulation } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { MinimalNodeEntryEntity } from '@alfresco/js-api';
@Component({

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