4208 Commits

Author SHA1 Message Date
Eugenio Romano
0f63122a27 fix new merged process list selection test 2019-04-24 20:24:55 +01:00
cristinaj
f2c954d911 [ADF-4028][ADF-4047]Add process list cloud selection tests (#4537)
* Add process list cloud selection tests

* Fix lint issues

* Fix lint issues

* Added columns to contentServicesPage

* Fix lint error.

* Add the possibility to test the selection mode for process details.
2019-04-24 18:00:52 +01:00
Eugenio Romano
88048e059b
[ADF-4359] - Add the possibility to chose wich panel to show first in info-drawer (#4638)
* [ADF-4359] - Add the possibility to chose which panel to show first in info-drawer

* * docs added

* * e2e fixed
2019-04-24 13:56:38 +01:00
cristinaj
db4d10137e [ADF-4310]Added sort tests for edit task filter cloud component (#4584)
* Added some tests

* Fix tests

* Add missing tests for sort properties.
2019-04-24 13:50:00 +01:00
dhrn
9866cf4d1d * fixing the existing behavior 2019-04-24 13:00:47 +05:30
dhrn
c6933e169a [ADF-4359] - Add the possibility to chose which panel to show first in info-drawer 2019-04-24 12:02:59 +05:30
arditdomi
a6552dbb17 [ADF-4387] Configuration option to change the dafault viewer zoom (#4645)
* [ADF-4387] Configuration option to change the dafault viewer zoom
2019-04-23 20:34:39 +01:00
Silviu Popa
c9977c58fa [ADF-4198] - fix user info close on esc key (#4644) 2019-04-23 17:56:04 +01:00
arditdomi
b371929170 [ADF-3876] StartTaskCloud - Be able to start a task with a form (#4590)
* [ADF-3876] Added form cloud model

* [ADF-3876] Added service to get forms

* [ADF-3876] Added form selection to start task

* [ADF-3876] Added tests

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] Added form cloud model

* [ADF-3876] Added service to get forms

* [ADF-3876] Added form selection to start task

* [ADF-3876] Added tests

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] StartTaskCloud - changed name to component

* [ADF-3876] StartTaskCloud - Renamed component

* Rename form-selector-cloud.component.md to form-definition-selector-cloud.component.md

* [ADF-3876] Improve and clean code and fix service

* [ADF-3876] Fix unit test

* Update app.module.ts

* fix module

* move components in the right folders

* fix e2e task list
2019-04-23 17:55:24 +01:00
Eugenio Romano
d427e06136
Revert "[ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4623)" (#4642)
This reverts commit 630b1043a96e283403e35826e299b5cd1cd6d11d.
2019-04-23 14:30:08 +01:00
davidcanonieto
630b1043a9 [ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4623)
* [ADF-4405] [ADF-4423] Fix clipboard directive on json cell

* Update clipboard.directive.ts

* fix spell
2019-04-23 11:24:39 +01:00
Silviu Popa
834c32f23f [ADF-4403] ClipboardDirective - add default translation key and fix styling (#4610)
* [ADF-4403] ClipboardDirective - add default translation key and fix style on sticky header

* [ADF-4403] - lint

* [ADF-4403] - revert datatable style

* [ADF-4403] - fix unit tests

* [ADF-4403] - fix e2e tests
2019-04-23 11:00:46 +02:00
Eugenio Romano
df26447701
Revert "[ADF-4359] - Add the possibility to chose wich panel to show first in info-drawer (#4632)" (#4637)
This reverts commit 6e4adfb09a37caaaf98daab4d7c3cf68ade361c5.
2019-04-23 00:58:26 +02:00
dhrn
64391a48fa [ADF-4406] - Confirm Dialog doesn't support a third extra button option to be customised (#4608)
* [ADF-4406] - Confirm Dialog doesn't support a third extra button option to be customised

* * comments fixed

* * docs and test added
2019-04-23 00:43:10 +02:00
cristinaj
b58e040d7e [ADF-4394]Add two more tests on copyContent (#4630)
* Add two more tests

* Update data-table-component.page.ts

* Fix lint issues
2019-04-22 23:43:56 +02:00
dhrn
6e4adfb09a [ADF-4359] - Add the possibility to chose wich panel to show first in info-drawer (#4632)
* [ADF-4359] - Add the possibility to chose which panel to show first in info-drawer

* * docs added
2019-04-22 19:38:35 +02:00
Silviu Popa
32647c8af5 [ADF-4430] Metadata- fix error message (#4635) 2019-04-22 19:19:39 +02:00
Silviu Popa
03c9a1e5be [ADF-4420] TaskHeaderCloud - fix show endDate (#4631) 2019-04-22 02:31:00 +02:00
gmandakini
e85b57876e Added a new LocalStorageUtil and using the setConfigMethod to set the local storage variables (#4575)
* added a new LocalStorageUtil and using the setConfigMethod to set the localstorage variables, instead of using hte settings ui page.

* linting fix

* fixing import paths

* update new path LocalStorageUtil

* fix problems after rebase

* fix async loadin and clear

* local storage fix

* fix lint

* fix cs tests

* fix tag navigation and rename file appNavigation to processTabNavigation

* fix lint

* fix process test

* fix lint

Signed-off-by: Eugenio Romano <eugenio.romano@alfresco.com>

* fix start process cloud

* inc timeout
2019-04-22 00:42:59 +02:00
davidcanonieto
0b09af3ac6 [ADF-4291] Fix lastModifiedTo filter on processes (#4624) 2019-04-18 17:17:10 +02:00
Suzana Dirla
59eee6ebaf [ADF-4401] Fix DL issues because of nested 'adf-datatable-cell' items (#4615)
* [ADF-4401] remove classname from nested items - use 'adf-content-cell' instead

* [ADF-4401] some DL display fixes

- align header cells with content cells
- columns aligned on Trashcan DL
- ellipsis on long folder names inside the content node selector
- more width on highlight cell from search-results

* [ADF-4401] use 'adf-content-cell'

- to allow ellipsis to display when a parent has 'adf-ellipsis-cell' class

* [ADF-4401] remove not used styles

* [ADF-4401] rename scss classname to have 'adf-datatable' prefix

* [ADF-4401] Add documentation for datatable
2019-04-18 17:07:31 +02:00
Cilibiu Bogdan
cc53d96698 [ADF-4410] Upload dialog - remove delete action of version upload (#4618)
* undo remove node version implementation

* clean up style

* version upload row style

* upload version row cells

* update tests

* fix aria label
2019-04-18 15:36:37 +02:00
Eugenio Romano
64be9e3624
[NO-ISSUE] Fix e2e test (#4621)
* fix sso, change timeout, parallel

* cange travis

* move name apps in resources file

* resources fix

* resources fix

* add sleep before search group

* add possibility to extend duration of snack-bar message from configuration

* fix unit test

* fix unit test

* remove timeout

* change timeout

* decrease message time

* add lint main branch travis

* reduce timeout

* add new check application presence

* change permission script
fix search selector

* fix travis conf

* check app environment and upload the app if abbsent

* fix cloud test

* remove duplicate

* restore ps test

* restore resources file

* fix e2e test

* process with variables missing

* test new conf travis

* fix lint

* fix spellcheck

* remove duplicate module

* fix ps module

* fix travis conf

* change check activiti env

* add concept of processes in resources
2019-04-18 13:31:42 +02:00
davidcanonieto
181cee72d6 [ADF-4364] Fix Back button action on Viewer Component (#4613)
* [ADF-3364] Fix Back button action on Viewer Component

* [ADF-4364] Fix Module providers

* [ADF-4364] Add unit tests

* [ADF-4364] Fix unit tests

* [ADF-4364] Fix lazy loading module of Viewer component
2019-04-18 11:34:16 +02:00
davidcanonieto
8395b0baa5 [ADF-4219] Multivalue Metadata Card View (#4600)
* [ADF-4219] Multivalue Metadata  Card View

* [ADF-4219] Add documentation

* [ADF-4219] Improve code, docs and tests

* [ADF-4219] Fix e2e tests
2019-04-17 18:04:27 +02:00
Deepak Paul
21fd0299bd [ADF-4349] Cloud - task-form-component - Create a new component (#4620)
* [ADF-4349] Created task form cloud

* [ADF-4349] Used task-form in demo shell

* [ADF-4349] Used task directives

* [ADF-4349] Added tests

* [ADF-4349] Added documentation

* [ADF-4349] Added translation for buttons
2019-04-17 16:04:59 +01:00
cristinaj
bcdfcee397 [ADF-4390]Added copyContent datatable cell tests (#4614)
* Modified data-table page on demo-shell to make copyClipboard possible to test

* Add a new page in demo-shell.
Add copyContent automated tests.
2019-04-17 12:10:36 +02:00
Silviu Popa
550c0006c9 [ADF-4394] - add suport for copy clipboard on JSON cell type (#4611)
* [ADF-4394] - add suport for copy clipboard  on JSON cell type

* [ADF-4394] - lint

* [ADF-4394] - change translation keys
2019-04-17 10:23:36 +01:00
Marouan Bentaleb
e1a0475dfc [ADF-4396] Automation test for cancelling new version upload (#4607) 2019-04-16 13:19:08 +02:00
Cilibiu Bogdan
36ce9bce0d [ADF-4400] Versioning - restore does not update the document list (#4605)
* emit NodeInfo data on restore

* update row data and cache on node update event

* tests

* fix metadatat e2e
2019-04-16 11:59:37 +02:00
Eugenio Romano
b806556453
[no-issue] improve e2e timeout and names apps (#4604)
* fix sso, change timeout, parallel

* cange travis

* split viewer test

* timeot fix

* move name apps in resources file

* resources fix

* resources fix

* fix search default

* fix sso test

* fix test
2019-04-15 01:01:47 +02:00
Eugenio Romano
9accfcfb6e
Update ADF packages version 3.2.0-beta6 (#4602) 2019-04-14 23:03:16 +02:00
davidcanonieto
4cc449dfbb [ADF-4376] Fix Sticky Header in Datatable Component (#4582)
* [ADF-4376] Fix Sticky Header in Datatable Component

* [ADF-4374] Rebase branch

* remove search from permissions test

* remove search from permissions test
2019-04-12 17:27:51 +01:00
Denys Vuika
4215666a96 allow setting custom data for ProfileState 2019-04-12 16:54:27 +01:00
Denys Vuika
578f00d270 extend ProfileState interface with optional groups 2019-04-12 16:45:04 +01:00
davidcanonieto
68f674c0fd [ADF-3983] Add permission template to app list cloud (#4592)
* [ADF-3983] Add permission template to app list cloud

* [ADF-3983] Fix and add unit tests
2019-04-12 16:25:58 +01:00
Andy Stark
921fdc00df [ADF-4391] Doc review for 3.2 (#4601)
* [ADF-4391] Reviewed new clipboard class docs

* [ADF-4391] Reviewed new proc cloud class docs

* [ADF-4391] Reviewed new datatable doc additions
2019-04-12 16:18:43 +01:00
Silviu Popa
16aaa0f0b3 [ADF-4393] TaskHeaderCloud - remove readOnly property (#4599) 2019-04-12 13:59:14 +01:00
gmandakini
0915343222 [ADF-4311] - ProcessCloud - Incorrect label loaded for unclaim option -> "Resqueue" should be "Release" (#4588)
* C307032 automated

* defined a new TaskDetailsCloudDemoPage under Demo-Shell, as it's not part of a component.
2019-04-12 09:28:32 +01:00
gmandakini
0fe0ee9db7 [ADF-4274] Should be able to reassign the removed user when starting a new task. (#4591)
* C305050 automated

* added the api call to delete the tasks created in afterAll() method and also creating a new user and using that in the Tests and deleting the user in the end rather than using 'Super Admin' and reduce the dependency on env configuration.

* linting fixes
2019-04-12 09:25:29 +01:00
Denys Vuika
790beb2bb9 [ADF-4213] drop events for DataTable component (#4589)
* stub for demo shell

* drop events for datatable

* fix docs

* cleanup template

* remove unused attribute

* disable spellcheck for the demo file
2019-04-10 20:21:14 +01:00
gmandakini
1336fbee0e [ADF-4278][ADF-4277] - Should fetch the preselect users (#4535)
* C305033 Preselect Users automated.

* fix the LastName issue failing.

* C305041 automated

* in progress

* in progress

* in progress

* in progress

* lint fix

* moving the assignee filed to PeopleCloudComponent

* moving the assignee filed to PeopleCloudComponent

* split the tests into smaller chunks for easy understandability.

* added the missing check and renamed the method appropriately.

* fixes for flakiness
2019-04-10 19:48:20 +01:00
cristinaj
7a2a8a1ed3 [ADF-4354]Fix cloud tests one by one (#4550)
* Fix locator

* Fix process-custom-filters.e2e.ts

* Fix start-tasks-cloud, processList-cloud-component, start-task-custom-app-cloud tests

* no message

* no message

* Fix process-header-cloud and task-header-cloud tests

* Fix process-header-cloud tests

* Fix processList-cloud-component
2019-04-10 19:47:21 +01:00
Silviu Popa
3f8ca56405 [ADF-4921] TaskListCloud - fix lastModifiedTo date filter (#4577)
* [ADF-4921] - fix lastModifiedTo date

* [ADF-4291] - fix build

* [ADF-4291] - fix build

* [ADF-4291] - move lastModifiedTo function from task-list-cloud in edit-task-filter-cloud
2019-04-10 19:45:41 +01:00
gmandakini
1bda3c914c [ADF-4059] - Move Copy Folders with Load more- take2 (#4562)
* C260132 automated

* debbugging

* in progress

* done

* review comments.

* in progress

* Update content-node-selector-dialog.page.ts

* fix the locators

* code review comments

* removed the datatablecomponentPage call directly from hte test.
2019-04-10 19:41:16 +01:00
Deepak Paul
558ee4c031 [ADF-3797] Task management view - Task with Form (#4534)
* [ADF-4248] Created form cloud service

* [ADF-4248] Created form cloud model

* [ADF-4248] Created new cloud form

* [ADF-4248] Exported cloud from module

* [ADF-4248] Added form saving feature

* [ADF-4248] Added form to task details

* [ADF-4248] Added services to save form

* [ADF-4248] Added data support

* [ADF-4248] Added outcome support in form model

* [ADF-4248] Modified demo component to show form

* [ADF-4248] Copied tests

* [ADF-4248] Added form parsing service

* [ADF-4248] Added form cloud demo

* [ADF-4248] Added form input to fom-cloud

* [ADF-4248] Added tests for form cloud model

* [ADF-4248] Improved form model json parsing

* [ADF-4248]  Added test for form could

* [ADF-4248] Refactored types in the form model

* [ADF-4248] Improved tests

* [ADF-4248] Added tests for form cloud service

* [ADF-4248] Added tests for form services

* [ADF-4248] Refactored form services

* [ADF-4248] Handled form events in demo shell

* [ADF-4248] Improved form value parsing

* [ADF-4248] Added form-cloud demo to routing

* [ADF-4248] Added field validation without handler

* [ADF-4248] Added task variable model

* [ADF-4248] Added adf-cloud prefix to css classes

* [ADF-4248] Translated name of nameless task

* [ADF-4248] Added docs for cloud form component

* [ADF-4248] Added docs for cloud form service

* create base component

* [ADF-4248] Created formBase and formModelbase

* [ADF-4248] Used base classes in cloud package

* Update form-cloud.component.md

* Update form-cloud.service.md

* [ADF-4248] Created form cloud service

* [ADF-4248] Created form cloud model

* [ADF-4248] Created new cloud form

* [ADF-4248] Exported cloud from module

* [ADF-4248] Added form saving feature

* [ADF-4248] Added form to task details

* [ADF-4248] Added services to save form

* [ADF-4248] Added data support

* [ADF-4248] Added outcome support in form model

* [ADF-4248] Modified demo component to show form

* [ADF-4248] Copied tests

* [ADF-4248] Added form parsing service

* [ADF-4248] Added form cloud demo

* [ADF-4248] Added form input to fom-cloud

* [ADF-4248] Added tests for form cloud model

* [ADF-4248] Improved form model json parsing

* [ADF-4248]  Added test for form could

* [ADF-4248] Refactored types in the form model

* [ADF-4248] Improved tests

* [ADF-4248] Added tests for form cloud service

* [ADF-4248] Added tests for form services

* [ADF-4248] Refactored form services

* [ADF-4248] Handled form events in demo shell

* [ADF-4248] Improved form value parsing

* [ADF-4248] Added form-cloud demo to routing

* [ADF-4248] Added field validation without handler

* [ADF-4248] Added task variable model

* [ADF-4248] Added adf-cloud prefix to css classes

* [ADF-4248] Translated name of nameless task

* [ADF-4248] Added docs for cloud form component

* [ADF-4248] Added docs for cloud form service

* create base component

* [ADF-4248] Created formBase and formModelbase

* [ADF-4248] Used base classes in cloud package

* [ADF-4248] Moved documentation to process services

* [ADF-4248] Removed duplicate import

* [ADF-4248] Fixed wrong imports

* [ADF-4248] Renamed form renderer input

* [ADF-4248] Show translated name for nameless form

* Enable the uploadWidget

* Make the form great again!

* Move the class style on the parent

* Fix the debugMode
2019-04-10 17:10:55 +01:00
Silviu Popa
61ee1f1d53 [ADF-4386] - fix style and remove value from tooltip (#4587) 2019-04-10 17:03:55 +01:00
Cilibiu Bogdan
8975d4b6a6 [ADF-4371] Versioning - revert upload version on delete (#4572)
* revert upload version on delete

* methods return type
2019-04-10 16:30:50 +01:00
Denys Vuika
1f6e868464
[ADF-4384] improve recent files query (#4585)
* improve recent files query

* remove duplicate filter
2019-04-10 13:25:45 +01:00
davidcanonieto
7a2c5762ff [ADF-4321] Add Task Id filter to task cloud filters (#4571) 2019-04-10 10:49:56 +01:00