345 Commits

Author SHA1 Message Date
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
Denys Vuika
b1d0c50e88 [ADF-4926] fix attachments downloading (#5134)
* fix attachments downloading

* update code and tests
2019-10-10 12:06:36 +01:00
davidcanonieto
2def8d0557 [ADF-4861] Fix memory leak in Date widgets and Form Cloud Model (#5041)
* [ADF-4836] Fix memory leak in Date widgets and Form Cloud Model

* Remove unit tests based on old logic
2019-10-10 11:01:06 +01:00
Denys Vuika
f731988ca6 [ADF-4911] migrate identity role service (#5096)
* migrate IdentityRoleService implementation

* update unit tests

* move interfaces to the origin

* move models to proper places

* migrate model to interface

* fix test

* update docs
2019-10-10 10:25:57 +01:00
Silviu Popa
e0b1a3fe03 fix task header priority unit test (#5131) 2019-10-09 17:10:03 +01:00
davidcanonieto
720e2035d8 [ADF-4925] Fix Process Variable mapping in ADF forms (#5116) 2019-09-30 16:08:48 +01:00
Silviu Popa
c49e2dca7e [ADF-4905] StartProcessCloud - fix starting different process than se… (#5091)
* [ADF-4905] StartProcessCloud - fix starting different process than selected in dropdown

* fix process e2e test

* revert e2e changes
2019-09-30 13:31:22 +01:00
Denys Vuika
fc325be1e9 Revert "[ADF-4925] Fix process variable mapping in Form Cloud component (#5110)"
This reverts commit 7c692137e38d9b71543f16679c2ae33205814011.
2019-09-30 11:44:44 +01:00
davidcanonieto
7c692137e3 [ADF-4925] Fix process variable mapping in Form Cloud component (#5110) 2019-09-29 13:48:55 +01:00
Denys Vuika
178740bbde [ADF-4921] upload widget fixes (#5109)
* upload widget fixes

* fix mocks
2019-09-29 13:48:01 +01:00
Eugenio Romano
3dc92beeb9
Review documentation plus some tools fix (#5100)
* review 3.5.0 doc

* fix documentation

* fix documentation

* fix documentation
2019-09-26 10:27:04 +01:00
siva kumar
53471eae84 [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu. (#5018)
* * Demo on list com

* [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu.

* Exposed action and context menu.
* Provided a way to in the demo shell to test action menu.
* Added required transaltion on demo shell.

* * Added doc

* [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu.

* Exposed action and contect menu on tasklist page.

* * Added documentation.

* * Fixed typo

* * After rebase

* * Fixed failing e2e test on cloud demo tasklist

* * Added providedIn in Task/process cloud service.
2019-09-16 12:26:27 +01:00
Silviu Popa
4d7c07ef93 [ADF-4041] - fix People/Group preselected issues (#4866)
* [ADF-4041] - fix People/Group preselected issues

* [ADF-4041] - remove duplicated groups

* [ADF-4041] - fix lint

* [ADF-4041] - fix label overlay

* [ADF-4041] - lint

* [ADF-4041] - PR changes

* clear timeout

* remove unused property

* clear timeout

* fix default preselect user
2019-09-05 18:47:41 +01:00
mcchrys
0d7795aa6d [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks (#4995)
* [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks

* Initialized loader flag to true

* Updated unit tests

* fixed lint errors
2019-09-05 14:40:23 +01:00
Denys Vuika
2360ccc6d5 [ACTIVITI-3720] cloud form support for form variable mapping (#5044)
* universal form model

* parse variables correctly

* turn group model into interface

* remove console.log

* interface instead of class

* update form id type

* improved form variable parsing

* improved variable conversion

* fix cloud tests

* fix typings and code bugs
2019-09-04 20:14:21 +01:00
Vito
19a17ca6e6 [ADF-4823] added download and show preview for attach cloud widget (#4996)
* [ADF-4823] fixed download and start fixing show preview

* [ADF-4823] fixed preview files

* [ADF-4823] - added unit test

* [ADF-4823] - fixed lint problem

* [ADF-4823] - rebased and fixed lint problem

* added a new method in BrowserActions to check that the action menu is visible, and using that in the tests.

* linting fixes
2019-09-03 11:10:40 +01:00
Denys Vuika
9e1a90adc8 [ADF-4854] sticky header for task list (#5036)
* sticky header for task list

* fix html

* add docs

* update code docs
2019-08-30 16:31:10 +01:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
siva kumar
8c00919db0 [ADF-4828] [ProcessListCloudComponent] Add action and context menu. (#5009)
* * Demo on list com

* [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu.

* Exposed action and context menu.
* Provided a way to in the demo shell to test action menu.
* Added required transaltion on demo shell.

* * Added doc

* * Fixed comments.
2019-08-23 14:51:39 +01:00
siva kumar
eb2811fdd0 [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core (#4928)
* [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core lib.

* * Changed GroupModel to IdentityGroupModel
* Updated unit tests the recent changes.

* * Added documentation to the identityGroupService
* Updated GroupInitial and GroupCoudcomponent doc.

* * Created groupCount model. * Updated unit test to the recent changes

* * After rebase updated doc

* * Fixed comments.
2019-08-12 16:27:30 +01:00
davidcanonieto
8adb9b2a25 [ADF-4775] Make date widget compatible with APS1 and APS2 (#4966)
* [ADF-4775] Make date widget compatible with APS1 and APS2

* Refactor and create new cloud widget
2019-08-07 00:40:19 +02:00
siva kumar
0bca6607a9 [ADF-4793] The filters don't work on community-edition [ Use local storage for community version ] (#4973)
* * Use local storage for community version.

* * Created a communityModule.

* * Updated unit tests the recent changes

* * Updated documents.

* * Modified process/task filters doc.
2019-08-07 00:37:32 +02:00
davidcanonieto
964e89f6ef [ADF-4788] Fix parsing of process variables from APS2 BE (#4972) 2019-08-07 00:34:04 +02:00
Vito
bb80d2b6d9 [ADF-4753] - fixed calling for standalone task (#4952)
* [ADF-4753] - fixed calling for standalone task

* [ADF-4753] added unit test

* [ADF-4753] added unit test

* [ADF-4753] improved unit tests

* [ADF-4753] - removed extra parameter not needed
2019-07-26 12:23:27 +01:00
siva kumar
05e73a8aa1 [ADF-4755][CardViewDate&SelectItemComponent] Provide a way to reset date and none option as default. (#4955)
* [ADF-4755] [CardViewDateItemComponent] Provide a way to reset date.

* Added clear icon to reset date to empty.
* Added Translation key to the new icon.

* * Added displayClearAction flag to toggle clear action.* Added None as default for the selectItem components.* Added displayNoneOption flag to toggle the default none option.

* * Fixed comments.

* * Added translation key for 'none'  option.

* * Updated dateItem css to the match recent changes.

* * Fixed failing unit tests* Updated TaskHeader components with the displayClearAction.

* * Updated demo shell card-view component to test the latest changes
2019-07-26 12:22:45 +01:00
Denys Vuika
1abb9bfc89 [ADF-4745] memory leak fixes (#4931)
* fix app-layout component

* fix card-view component

* fix cloud-layout service

* code fixes

* code fixes

* even more fixes

* even more fixes

* lint fixes

* test fixes

* fix code

* remove useless pipes

* fix code owners

* enable spellcheck for cloud components

* update test

* update test
2019-07-16 15:56:00 +01:00
Silviu Popa
601f975485 [ADF-4590] - Mark StartTaskCloudService as deprecated (#4936)
* [ADF-4590] - Make StartTaskCloud deprecated

* [ADF-4590] - lint

* fix build errors

* remove unnecesarry file
2019-07-16 11:52:00 +01:00
siva kumar
8d2229cf99 [ADF-4731] [Process - Cloud] - Improve IdentityUserService (#4924)
* [ADF-4731][Process - Cloud] - Improve IdentityUserService.

* * Updated unit tests.

* * Updated IdentityUserService document
* Fixed comments on the pr.

* * Added missing 'createdTimestamp' property to the IdentityUserModel.

* * Created IdentityJoinGroupRequestModel. * Updated doc. * Updated unit tests.
2019-07-15 19:28:07 +01:00