25 Commits

Author SHA1 Message Date
davidcanonieto
01c0f53b18
[ADF-5134] REGRESSION - Fix People and Group Components firing twice (#5666) 2020-05-03 12:53:04 +01: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
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
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
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
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
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
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
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
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
Silviu Popa
b4e3a71bef [ADF-4269] ProcessCloud - fix start task with invalid Asignee or Candidat… (#4727)
* [ADF-4269] - prevent starting a task with invalid Asignee or CandidateUser

* [ADF-4269] - refractor people/group cloud

* [ADF-4269] - change docs
2019-05-15 15:49:46 +01:00
siva kumar
bfc4205522 [ADF-4263][EditProcessFilterCloudComponent] Unit tests are failing (#4453)
* [ADF-4263][EditProcessFilterCloudComponent] Unit tests are failing* Fixed failing unit test.

* * Fixed lint error in the group/people component.

* * Removed any type
2019-03-20 08:03:22 +00:00
gmandakini
fc2132e248 [AD-4222] e2e compilation fixes (#4426)
* Run tsc on the e2e folder and as part of the sh script

* in progress

* in progress

* in progress

* in progress

* in progress

* in progress

* fixing compile errors

* fixing compile errors.

* Fix the apiService and exclude nodemodules

* Add semicolumn

* fix import

* fix configuration test package

* fix

* fix errors

* fix typescript

* restore packages.json

* fix errors after rebase

* fix type prolems and add protracotr path mapping

* remove undefined
2019-03-15 23:11:58 +00:00
Silviu Popa
898d62477e [ADF-4038] People/GroupCloudDemo - add appName filter (#4283)
* [ADF-4038] - People/Group Cloud Component add app name filter

* [ADF-4038] add unit test, modify ngOnChange appName condition

* [ADF-4038] People/GroupCloudDemo - add radio button to filter application name or roles
2019-02-26 09:41:42 +00:00
Eugenio Romano
c55cba5514
license header update 2019 (#4300) 2019-02-12 01:18:43 +00:00
Silviu Popa
b4c6a2252a [ADF-3997] - Add ngOnChange functionality for People/Group Demo Cloud… (#4244)
* [ADF-3997] - Add ngOnChange functionality for People/Group Demo Cloud Component

* [ADF-3997] - change radio label value

* [ADF-3997] - css fix

* rebase branch and fix issues

* [ADF-3997] - change labels and fix  preselected users issues

* [ADF-3997] fix package-lock.json

* [ADF-3997] - change people preselect placeholder
2019-02-06 15:28:35 +00:00
siva kumar
3b455524b9 [ADF-3919] Add roles filtering to adf-cloud-group (#4238)
* [ADF-3919] Split group roles permission service into two

* [ADF-3909] Added roles filtering title input

* [ADF-3909] Added candate users and groups to task models

* [ADF-3909] Used group component in start task

* [ADF-3909] Updated docs

* [ADF-3909] Added disabling for multi selection

* [ADF-3909] Improved task creation logic

* [ADF-3909] Changed assignee selection mechanism

* * Added role filtering  to groups* Updated unit tests to the recent changes* Created getGroupDetailsById and checkGroupHasGivenRole in groupService* Updated unit test to the groupService

* * After rebase

* * Changed method name checkGroupHasGivenRole to  checkGroupHasRole

* * After rebase
2019-02-04 12:29:10 +00:00
Maurizio Vitale
a872c6d8fa
[ADF-3946] Add the GroupCloudComponent to the StartTaskCloudComponent (#4202)
* Add GroupComponent to the start task cloud

* [ADF-3946] Exported unexported componentes in group module

* [ADF-3946] Used group module in start task module

* Fix import

* Fix build name

* Fix build name unit tests

* Fix unit test

* Add space to rebuild travis
2019-01-24 14:18:35 +00:00
Andy Stark
0d8beb195a [ADF-3745] Reviewed new Group cloud component docs (#4160)
* [ADF-3745] Reviewed group cloud docs

* [ADF-3745] Fixed incorrect type link
2019-01-15 12:12:24 +00:00
siva kumar
581f53da59 [ADF-3850] Create new group cloud component (#4104)
* [ADF-3850]  Create New Cloud Groups Component

* Generated groupCloud component by cli

* * Refactored GroupCloud component
* Added unit tests
* Changed service name and refactored

* * Added Documentation to the groupCloud component * Rebased

* * Create GroupSerach param model* Modified group component/service * Added Validation message

* * Fixed comments* Refactored groupCLoud component* Created GroupInirial pipe

* * Fixed selectedGroups bug

* * Removed showHint flag and used formcontrol error instead

* * After rebase* Change group-cloud to group

* * Added data-automation-id
* Improved fetching groups when appName defined
* Added unit tests

* * Rebased and  updated callCustomApi call signature

* Remove the springboot hardcoded name

* Update group-cloud.component.md

* * Fixed comments * Fixed return of js-api * Updated doc

* Unify the doc and remove useless code
2019-01-14 19:24:48 +00:00