1051 Commits

Author SHA1 Message Date
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
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
3cf12fca49
fix readonly attach file scenarios (#5365) 2020-01-14 00:14:11 +01: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
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
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
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
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
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
sivakumar414ram
e3f7e3da09 * Add Edit icon 2019-12-17 16:26:36 +05:30
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
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
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
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
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
arditdomi
b2ca28d3fd [ADF-5032] Add delete process directive (#5295) 2019-11-29 16:03:06 +00:00
Eugenio Romano
8a41da0506
bump 3.6.0 (#5283) 2019-11-25 11:03:35 +00:00
Silviu Popa
31e1fd8875 [AAE-459] ProcessCloud - set process definition pre-filled value for one result only (#5277)
* [AAE-459] ProcessCloud - disable process definition pre-fill

* refactor e2e test
2019-11-25 01:04:02 +00:00
Eugenio Romano
7d52449cad
[LOC-168] Localization file 3.6.0 (#5281)
* Localization file 3.6.0

* remove not usefull test
2019-11-22 20:16:17 +00:00
Denys Vuika
8e6e755ed1
Revert "[ADF-4861] Fix memory leak in Date widgets and Form Cloud Model (#5041)" (#5279)
This reverts commit 2def8d05575709e613dc6ee9c59401346a4c3ae9.
2019-11-22 14:03:49 +00:00
dhrn
e0f00dd7ae [ADF-5013] Dropdown does not display the default value (#5275)
* [ADF-5013] Dropdown does not display the default value

* Revert "[ADF-5013] Dropdown does not display the default value"

This reverts commit a18d2161

* * fixed e2e

* unit test added
2019-11-22 09:59:40 +00:00
siva kumar
5068cbf539 [ADF-5004] [CardViewTextItemComponent] Provide a way to have an icon for the clickable items (#5270)
* [ADF-5004] [CardViewTextItemComponent] Provide a way to have an icon for the clickable items.

* * FIxed failing unit tests* Modified task-details tests and add few more.
2019-11-22 09:37:32 +00:00
arditdomi
b016bf8167 [DW-1563] Complete button is not present for empty forms (#5269)
* [DW-1563] Complete button is not present for empty forms

* [DW-1563] Revert part of the changes

* [DW-1563] Remove unnecessary variable declaration
2019-11-20 15:32:25 +00:00
Eugenio Romano
a6ad7a5ad0
Documentation update 3.6.0 (#5257)
* documentation update 3.6.0

* documentation update 3.6.0

* update missing doc
2019-11-18 12:34:28 +00:00
Denys Vuika
3dd43ce9b5
[ADF-4997] no-duplicate-imports rule (#5256)
* no-duplicate-imports rule

* no-duplicate-imports rule
2019-11-15 13:38:01 +00:00
Denys Vuika
a1169de915 improved form version check 2019-11-15 11:36:19 +00:00
Denys Vuika
3644ba8b7c [DW-1486] form versioning and cloud service enhancements (#5248)
* support form versions retrieval

* rework cloud services, reduce code duplication

* revert app config changes

* fix api spelling error

* support task form versioning

* turn TaskDetailsCloudModel into interface

* remove commented code

* fix test

* update tests

* remove useless provider declarations
2019-11-14 15:04:21 +01:00
siva kumar
ae2caa8b90 * Used standalone prop to query tasks* Fixed typo standAlone to standalone.* Updated docs. (#5241) 2019-11-13 13:39:16 +00:00
Silviu Popa
b41514cad7 [AAE-463] - change dueDate render component (#5200)
* change dueDate render component

* fix tests

* fix lint

* rebase and add test

* split code into 2 declarations
2019-11-12 20:23:45 +01:00
arditdomi
878b49fea1 [ADF-4979] TaskHeaderCloudComponent Add error emit when appName or taskId is not provided (#5236)
* [ADF-4979] Add error emit when appName or taskId are not provided in TaskHeaderCloudComponent

* [ADF-4979] Modify @Output description

* [ADF-4979] Remove unused onObservable complete code
2019-11-12 15:04:01 +00:00
Maurizio Vitale
e458af0284
Fix the subject bug (#5218) 2019-11-06 20:45:53 +00:00
arditdomi
3c1097fb84 [ADF-4979] Add onChanges detection for Task Header Cloud component (#5208)
* [ADF-4979] Add onChanges detection for Task Header Cloud component

* [ADF-4979] Revert licenses.txt changes

* [ADF-4979] Documentation added for the taskError Event
2019-11-06 11:07:48 +00:00
Eugenio Romano
2e046945c7 [AAE-726] Add new return await rule (#5203)
* add new return await rule

* update tslint

* add lint exception
2019-10-30 19:29:43 +00:00
arditdomi
d3b9ae87b7 [AAE-641] Hide Release button when the task is assigned to a single user (#5192)
* [AAE-641] Hide Release button when the task is assigned to a single user

* [AAE-641] Fix unit tests

* [AAE-641] Fix unit tests
2019-10-30 15:55:01 +00:00
siva kumar
9c2bcdee1a [ADF- 4871][TaskHeaderCloudComponent] Add Candidate Users/Groups properties (#5189)
* [ADF-4871] [TaskHeaderCloudComponent] Add Candidate Users/Groups properties

* Added Candidate users/groups properties to the task heade cloud component.

* * Created CardViewArrayItemComponent
* Modified FullName pipe to return username or email incase fullname missing.
* Added candidate Users/Groups properties to the taskcloudheader component.
* Added two service into task-cloudservice
* Updated Demoshell card-view with new widget

* * Fixed failing unit test

* * Fixed comments.

* * Refactored CardViewArrayItem model
* Fixed comments.

* * Changed candidate group icon
2019-10-29 09:26:34 +00:00
siva kumar
1c6eb4d73d [ADF-4968 ] [TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states (#5191)
* [ADF-4968][TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states

* * Added clickable to the parentName and ParentTask Id.

* * Fixed comments
2019-10-28 20:56:35 +00:00
Eugenio Romano
0aed1845a0
[AAE-520] order apps by name when retrieve from the server (#5184)
* order apps bby name when retrieve from the server

* fix order e2e
2019-10-25 02:28:26 +01:00
arditdomi
a0858e3c86 [ADF-4949] Add SUSPENDED state to the edit task filter (#5150)
* [ADF-4949] Add SUSPENDED state to the edit task filter

* [ADF-4949] Add unit test

* [ADF-4949] change order of status filters

* [ADF-4949] Change order of status filters

* [ADF-4949] Remove unnecessary unit test

* [ADF-4949] Add e2e for SUSPENDED filter

* [ADF-4949] fix lint errors
2019-10-17 23:05:28 +01:00
Maurizio Vitale
941df740d5 [ADF-4948] Move the resources config in the process cloud lib - Part 2 (#5143)
* Move the resources in the cloud lib

* Use adf cli

* Add missing process definitions

* Add debug points

* Print new class

* Use the resources under the adf-testing

* Use the resources from testing package

* Fix adf-testing bugs

* remove empty row

* Remove the npm install

* Remove log stuff

* Remove the console log

* Fix typo on process def names
Improve the debug e2e command

* Fix lowercase name

* Check the process cloud env and content env

* Add the new process definitions

* Add missing process definitions

* Use the latest simpleapp

* Rollback the bigFile

* Use relative link

* Trasnpile the adf-testing before using it
2019-10-17 14:31:58 +01:00
Denys Vuika
d7ab0417b8
[AAE-622] No implicit returns (#5157)
* enable noImplicitReturns rule

* type fixes

* fix return types

* fix return value

* fix tests

* fix visibility service

* update tests

* add missing types

* fix test
2019-10-17 09:35:39 +01:00