141 Commits

Author SHA1 Message Date
Silviu Popa
3a7376af9f [ADF-4159] DemoShell - add nested menu on ProcessCloud (#4385)
* [ADF-4159] DemoShell - add nested menu on ProcessCloud

* [ADF-4159] DemoShell - fix e2e tests

* [ADF-4159] DemoShell fix typo

* [ADF-4159] - fix e2e lint

* [ADF-4159] - change app nested menu for process list

* [ADF-4159] - lint
2019-03-13 11:37:00 +00:00
Eugenio Romano
3136580bba
[ADF-4225] Viewer extension accept multiple file type (#4427)
* viewer extension can target multiple types.

* fix lint
2019-03-12 21:18:09 +00:00
Silviu Popa
f7a399c3e8 [ADF-4048] PeopleCloudComponent - improve preselect input functionality (#4286)
* fix conflicts

* [ADF-4048] - fix add same user on multiple selection

* [ADF-4048] PeopleCloudComponent change validation users functionality

* [ADF-4048] PeopleCloudComponent - focus input when preselected user exists

* [ADF-4048] PeopleCloudComponent - pull request changes

* [ADF-4048] - lint

* [ADF-4048] PeopleCloud - PR changes

* [ADF-4048] - fix conflicts

* [ADF-4048] fx lint
2019-03-06 13:26:51 +00:00
Eugenio Romano
aba5674e80
[ADF-3735] SSO Role guard and Login error improvement (#4377)
* fix lint and doc

* Update auth-guard-sso-role.service.md

* Update auth-guard-sso-role.service.md

* fix json en

* restore en.json file
2019-03-06 09:53:43 +00:00
Eugenio Romano
0802ff7e7d
arabic support (#4397) 2019-03-05 17:33:29 +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
davidcanonieto
777a15f92d [ADF-4147] Add task details redirection toggle in cloud settings page (#4350) 2019-02-25 15:50:43 +00:00
davidcanonieto
ca3579b875 [ADF-3972] Update i18n localization files (#4270)
* [ADF-3972] Update i18n localization files

* [ADF-3972] Remove unused localizators in Process Services Cloud

* [ADF-3972] Add final localization files for 3.0.0 release
2019-02-12 10:23:55 +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
Silviu Popa
fc642bcb6a [ADF-4009] - People/GroupComponentDemoPage - add role input filter (#4260)
* [ADF-4009] - add roles input for GroupCloudComponent

* [ADF-4009] - fix lint

* [ADF-4009] - change role variable name

* [ADF-4009] - fix PR changes and add people input filter

* [ADF-4009] - fix lint
2019-02-05 16:25:42 +00:00
Suzana Dirla
bf718d905f [ADF-3496] Grouped facet queries (#4209)
* [ADF-3496] search query format v2 response parser

- replacer for the parseFacetFields

* [ADF-3496] format v2 search facetQueries parser

* [ADF-3496] cleanup

* [ADF-3496] Grouped facet queries

- selection working
- needs code cleanup

* [ADF-3496] code cleanup

* [ADF-3496] code refactoring - renaming

* [ADF-3496] update tests

* [ADF-3496] update tests part2

* [ADF-3496] preserve order

* [ADF-3496] fix facet queries expand

* [ADF-3496] code cleanup & fixes

* [ADF-3496] reorder methods

* [ADF-3496] update test

* fix unrelated failing test

* [ADF-3496] fix config snippet

* [ADF-3496] facet queries mincount

* [ADF-3496] documentation updated

* [ADF-3496] small fix

* [ADF-3496] e2e testing

* [ADF-3496] added TestRail ids

* [ADF-3496] import from right api
2019-02-04 21:38:21 +00:00
Eugenio Romano
bb770a5df9
fix no permission template (#4256)
rename correctly template demo
2019-02-04 21:05:07 +00:00
davidcanonieto
f00fd1ad01 [ADF-3829] Add multiple select checkbox to tasks and process cloud APS2 (#4210)
* [ADF-3829] Add multiple select checkbox to tasks and process cloud components in Demo-Shell

* [ADF-3829] A settings tab has been added to Process Cloud

* [ADF-3829] Remove unused imports

* [ADF-3829] Improve streamer of settings

* [ADF-3829] Create new cloud settings component with all its attributes for better structure and understanding

* [ADF-3829] Add localization for cloud settings component
2019-02-04 14:34:55 +00:00
Silviu Popa
2458e30204 [ADF-3968] - Create page to test Demo Shell People/Group components (#4229)
* [ADF-3962] - Create page to test Demo Shell components

* [ADF-3968] - fix ling

* [ADF-3968] - Remove unused properties

* [ADF-3968] - remove app name

* [ADF-3968] - fix PR changes requested

* [ADF-3968] - change style for preselect input value
2019-01-31 16:38:16 +00:00
davidcanonieto
6fffeef5c6 [ADF-3943] Remove non-working filters from Edit Task Filter Cloud (#4194)
* [ADF-3943] Remove non-working filters from Edit Task Filter Cloud and add live configuration for Task List Cloud Component

* [ADF-3943] Fix unit test
2019-01-27 02:17:42 +00:00
davidcanonieto
1c25b50b1a [ADF-1344] New Custom Loading Content Directive for Datatable Component (#4156)
* [ADF-1344] New Custom Loading Content Directive for Datatable Component

* [ADF-1344] Add unit tests for directives on Document List

* [ADF-1344] Add directive prefix to context-menu directive

* [ADF-1344] Old directive selectors have been put back

* [ADF-1344] Add old selector for empty-content directive
2019-01-25 12:15:28 +00:00
davidcanonieto
1aafd79b70 [ADF-3935] Remove Task List Cloud demo page (#4188) 2019-01-22 12:26:42 +00:00
davidcanonieto
46150a65f2 [ADF-3855] Add minimum length to library title (#4139)
* [ADF-3855] Add minimum length to library title

* update name test
2019-01-14 19:23:27 +00:00
davidcanonieto
6be1cf56e3 [ADF-3783] Create Task List Cloud Demo page (#4138) 2019-01-14 19:21:24 +00:00
Denys Vuika
7dde329d81 [ADF-3874] icon component (#4112)
* adf-icon component

* demo shell example page

* add docs

* integration with thumbnail service
2019-01-08 16:31:55 +00:00
davidcanonieto
21710cfcff [ADF-3822] Add Create Library button on mobile view (#4106) 2019-01-02 21:39:06 +01:00
davidcanonieto
06e45bb29e [ADF-3777] Add localization to About Page on Demo Shell (#4094) 2018-12-21 18:07:30 +00:00
Deepak Paul
ced1901c89 [ADF-3775] APS 2 Process and Task view in the ADF Demo Application (#4035)
* [ADF-3775] Created breadcrumb component for layout demo

* [ADF-3775] Created filter demo component

* [ADF-3775] Created apps demo component

* [ADF-3775] Created tasks list cloud demo component

* [ADF-3775] Created tasks process cloud demo component

* [ADF-3775] Created new cloud layout component

* [ADF-3775] Improved translation

* [ADF-3775] Fixed translation

* [ADF-3775] Improved layout

* Use the EditTaskFilters
TaskFilterCloud should have a stream of filter
Fix integration issues

* Remove useless route
Enable start task cloud button

* Remove useless pages and handle start task error event

* Fix wrong unit test

* Use the Process Cloud menu name
2018-12-11 10:34:18 +00:00
Denys Vuika
058d23d57f [ADF-3442] create library dialog (#4018)
* library dialog

* integrate with demo shell

* update resources

* fix license

* auto focus for the first input

* update e2e tests

* try close the dialog between tests

* fix afterEach

* Revert "try close the dialog between tests"

This reverts commit 63464f2b03c226c606d09b18c7d2782e3bb52c0a.

* update code due to css lint issues

* csslint settings for vs code

* missing import
lint fix
remove not used import
convert errorPage js to ts
convert tasklistpage js to ts
fix redirection creation folder in root
fix lint issue
fix e2e

* e2e fix

* fix PS tests

* navigation import

* fix tests tooltip
convert paginapage to ts

* fix lint

* fix lock files e2e
filterspage to ts

* fix lint

* fix cs cre
git dept 3 and not 50 as default in travis

* quiet log git download

* add some delay and change the delete lock

* fix node entry

* convert searchDialog to typescript
parallel protractor

* disable browser execute

* restote test

* change search tests

* move search in a separate e2e folder

* experiment fix e2e

* change util presence
change protractor conf

* fix unshare test

* improve query viewerPage using css over xpath

* waitForAngularEnabled before browser redirect

* convert util to ts and more

* convert other files to ts

* convert to ts other files

* trigger build

* function fixes use arrow function

* process service fixes

* lint fix
review timeout default

* fix failing tests

* restore timeout

* share dialog fix

* remove

* use configuration admin

* fix APS 2 login sso
2018-12-05 13:05:39 +00:00
Deepak Paul
1387aff0f4 [ADF-3749] Process Filter Component - APS2 (#3998)
* [ADF-3749] Created new process filter component

* [ADF-3749] Improved process filters

* [ADF-3749] Improved process filters

* [ADF-3749] Added tests

* [ADF-3749] Included filter in process list cloud demo

* [ADF-3749] Added documentation

* [ADF-3749] Improved documentation

* [ADF-3749] Added new query model and improved model names

* [][ADF-3749] Added extra documentation

* [ADF-3749] Added new key in the filter models

* [ADF-3749] Added translation support for filters

* [ADF-3749] Added new tests

* [ADF-3749] Added new translation keys
2018-11-27 21:14:48 +00:00
Eugenio Romano
7d47ede2a5
add clear error in test when disk quota is reached (#3978) 2018-11-16 16:33:46 +00:00
Vito
6ead388e55 [ADF-3723] Tree view component (#3939)
* [ADF-3723] added first step to adf tree view component

* [ADF-3723] start adding tests for the new component

* [ADF-3723] fixed style and start adding tests

* [ADF-3723] working on unit test

* [ADF-3723] added test for the new tree view component

* [ADF-3723] added event when clicked on a tree node

* [ADF-3723] refactored code

* [ADF-3723 added peer review changes

* [ADF-3723] fixed extra space

* [ADF-3723] fixed unit test

* [ADF-3723] fixed failing unit test
2018-11-07 19:32:55 +00:00
Maurizio Vitale
38f4916e06 [ADF-3538] [ADF-3547] Migration - Task Filters - Task List - New Process cloud page on demoshell (#3914)
* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* change index

* fix package

* Fix module structure with Cli

* add basic structure

* Create a library with angular cli

* Add a cloud component as example

* Skip the scss style

* add the import scss

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* add the app-list-cloud-component
add the app-details-cloud-component

* Expose and use the new component

* Consume the new package and component from the demoshell

* Fix process service cloud path

* [ADF-3538] Alfresco Process Service Cloud - new package with CLI (#3872)

* [ADF-3538] start creating new folder for cloud components

* [ADF-3538] added new package to the script and the builds

* [ADF-3538] added some more changes to scripts

* [ADF-3538] - starting the new package

* change index

* fix package

* Fix module structure with Cli

* add basic structure

* Create a library with angular cli

* Add a cloud component as example

* Skip the scss style

* add the import scss

* remove useless codes

* Add i18n example

* remove useless code

* Simplify the hello component
Fix the wrong path

* Fix process service cloud path

* Download process-service-cloud from the CS

* [ADF-3538] generated task-list cloud by cli

* [ADF-3550] Added Task Filter Cloud component

* [ADF-3550] Task Filter Cloud component relocated

* [ADF-3538] rebased task list cloud 2.0

* [ADF-3538] fixed ng-package.json

* [ADF-3538] reverted worng changes

* [ADF-3538] removed wrong rebased files

* [ADF-3538] forcing update of app-list file

* [ADF-3538] wrong file after rebase removed

* [ADF-3538] wrong file after rebase fixe

* Merge the applist component with task list

* [ADF-3550] Added Task Filter Cloud component

* emit the event

* Add the route process cloud and fix the page issues

* fixed wrong pagination initialisation

* improved initialisation of page size

* removed unused import

* fixed tsconfig with double definition

* Use standard name for scss

* fix sorting issue and remove useless models

* Fix tslint

* Use 1 single testing module file

* [ADF-3538] [ADF-3547] Fix selected task filter and unit tests

* Fix unit tests and remove useless imports

* Uncomment unit tests

* Remove useless component

* Use main module instead of submodules

* Remove useless jsdoc and improve doc

* Remove useless jsdoc

* Remove useless interface

* remove AfterViewInit import

* remove js doc params
2018-10-26 14:39:06 +01:00
Suzana Dirla
63fb4fc857 [ADF-3668] Search filter buckets are set to 0 after any search filtering (#3891)
* [ADF-3668] Fix facet fields 0 buckets

* [ADF-3668] add test for case when labels are i18n keys

* [ADF-3668] add translations on demo-shell - for manual testing

* [ADF-3668] allow translations for the bucket labels

* [ADF-3668] Fix facet queries buckets for translated labels

* [ADF-3668] Fix e2e tests

* [ADF-3668] Fix facet queries filtering when having translated labels

* [ADF-3668] add translations on demo-shell - for manual testing

* [ADF-3668] case covered by translationMock custom instant

* [ADF-3668] move test translations to demo-shell resources

* [ADF-3668] code review changes
2018-10-18 10:42:01 +01:00
davidcanonieto
a9245b5ef9 [ADF-3586] Refactor Process List page and fix query bugs (#3868) 2018-10-11 22:31:27 +01:00
davidcanonieto
b89fefcc9f Add translation to minValue error on Task List Demo Page (#3866)
[ADF-3585] Add translation to minValue error on Task List Demo Page
2018-10-11 22:30:36 +01:00
Denys Vuika
07d0290633 lazy loading support for demo shell (#3871)
* breadcrumb demo

* datatable demo

* about module

* notifications module

* card view module

* config editor module

* trashcan module

* header data module

* node selector module

* custom sources module

* webscript module

* tag module

* social module

* settings module

* task list module

* process list module

* fix translation minor issue
2018-10-11 17:06:23 +01:00
Denys Vuika
5467e92966 [ADF-3654] translation fixes (#3861)
* fix incorrect translation

* improved resource loading and error handling
2018-10-04 15:37:29 +01:00
Eugenio Romano
d19631b0b7 fix e2e test 2018-10-02 21:49:03 +01:00
Eugenio Romano
fb7931d342
[LOC-83] Translation files 2.6.0 (#3844)
* translation files 2.6.0

* update i18n 2.6.0
2018-10-02 12:54:18 +01:00
Eugenio Romano
6a546289b7
[no-issue] fix e2e uploader (#3840)
* fix e2e upload
move viewer subbfolder

* fix CS services e2e test

* add log for error in upload delete

* aysnc get node

* new tentative

* attempt 2

* attempt 3

* new demo shell test
travis change for test

* excluded file tslint fix

* remove desktop only class

* renable tests

* decrease time notification

* add process service multiselect demo test
fix e2e

* remove log

* add custom toolbar example
2018-10-02 12:26:13 +01:00
Cilibiu Bogdan
42f4bee2b4 [ADF-3530, ADF-3598] Sharing files (#3828)
* share node

* lint fix

* createSharedLinks parameter

* remove es6 async

* use fakeAsync

* removed trailing comma

* e2e update dialog title locator

* Expires label localization

* docs update
2018-10-01 14:10:40 +01:00
davidcanonieto
ab4f964f7f [ADF-3573] Task list pagination on Task List Demo page fix (#3823)
* [ADF-3573] Task list pagination on Task List Demo page fix

* [ADF-3573] Added minimum values for size per page and page inputs
2018-09-25 21:32:24 +01:00
bbcodrin
a801f656a7 [ADF-3422] Process Services - Create settings tab (#3702)
* settings tab added

* fix icon

* fix e2e
2018-09-18 16:09:09 +01:00
Cilibiu Bogdan
2deafbbdd7 default add comment button translation (#3696) 2018-08-14 15:43:16 +01:00
Vito
5f86ac52bf [ADF-3418] added new languages strings for translation (#3663)
* [ADF-3418] added new languages strings for translation

* [ADF-3418] fixed some missing translation key
2018-08-14 15:42:46 +01:00
Eugenio Romano
a12662e7e2 [ADF-3384] Create automated tests for Version Component (#3631)
* fix version component restore and delete event

* version manager actions

* fix test

* fix unit test

* remove fdescribe

* fix tslint

* fix screenshot rewrite problem

* remove fdescribe

* multi instance try

* remove fdescribe

* try uncomment some test

* error page

* fix user preferences pagiantion

* search page test include

* fix type tslint e2e

* restore code

* default lang momentadapter

* fix test

* [ADF-3384] removed console log from test

* [ADF-3384] adding some fixes for tests and code

* [ADF-3384] fixed some test and code
2018-08-14 15:42:42 +01:00
Maurizio Vitale
547c56aeef [ADF-3103] Added new inputs, columns and overall improvement to Task List Demo (#3653)
* Added columns, inputs and error message alert

* [ADF-3103] Fixed variable name typo

* Add basic documentation
2018-08-14 15:42:41 +01:00
Cilibiu Bogdan
f36f9fa862 [ADF-3374] Comments - add/view multiline comments (#3607)
* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event

* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event
2018-08-14 15:42:34 +01:00
Vito
4b79160162 [ADF-3336] - added documentlist tests (#3586)
* [ADF-3336] start adding test for documentlist

* [ADF-3336] fixed test for permission message

* [ADF-3336] start adding test custom column type

* [ADF-3336] - added documentlist tests - PART I

* [ADF-3336] removed fdescribe

* [ADF-3336] fixed error on files component

* [ADF-3336] - unified all the diverging tests into one file

* [ADF-3336] fixed label for test

* [ADF-3336] removed fdescribe

* [ADF-3336] added sorting tests and some fix

* [ADF-3336] added other automations

* [ADF-3336] fixed processButton get

* [ADF-3336] stabilising some flaky tests

* [ADF-3336] added line height check

* [ADF-3336] Test that needs to be fixed

* [ADF-3336] commented failing search tests

* [ADF-3336] removed locator from test and added to page object

* ]
[ADF-3336] rebased after last changes on development

* [ADF - 3336] added more test and actions for the test

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabling disabled tests

* [ADF-3336] stabilized core tests

* [ADF-3336] fixing process service integration tests

* [ADF-3336] removed comments and skipped two tests
2018-08-14 15:42:31 +01:00
Eugenio Romano
b2cb93468d [ADF-3259] [ADF-3363] e2e login and card metadata (#3612)
* remember me

* add login component e2e test

* add success route test

* add change logo check

* redirect url after logout e2e

* move redirection test in a separate file

* login component tslint

* cardview e2e

* fix login test

* add test case number

* move version test in a separate file

* clean unused elements

* metadata part 1

* tslint fix

* fix metadata test

* remove fit

* fix formatting file viewerPage

* multi propety test

* metadata and login improvements

* fix data automation fix

* metadata permission e2e

* fix tslint problems

* improve selector

* stabilize search component test

* stabilize test step 1

* fix tag test
add config timeout

* tentative

* delay after download

* change meatdata test

* stabilize metadata

* use smaller file for not extension related test

* stabilize test step 2

* exclude failing test

* timeout fix

* split in multiple task e2e

* trick travis

* trigger build

* fix command issue

* fix save screenshot

* fix run subfolder

* test timeout increase
2018-08-14 15:42:28 +01:00
bbcodrin
855fdd8f48 [ADF-3308] Process list filter by fields (#3588)
* process list component created

* process list renamed

* routing fix
2018-08-14 15:42:27 +01:00
cristinaj
b015594de6 [ADF-3369] Add toggle for showHeaderContent property (#3603)
* Add toggle for showHeaderContent property

* Add tests for showHeaderContent property
2018-08-14 15:42:26 +01:00
Georgiana Roman
9901295e25 [ADF-3339] added test component for header (#3576)
* [ADF-3339] added test component for header

* [APM-3339] remove lint errors

* [ADF-3339] solved lint error

* [ADF-3339] removed numbers from tests
2018-08-14 15:42:23 +01:00
davidcanonieto
495f9937fe [ADF-3103] Task List Demo Component (#3486)
* [ADF-3103] Added Process Definition Id to task list component

* [ADF-3103] Added @input variable

* [ADF-3103] Added search inputs

* [ADF-2753] Fixed select inputs

* [ADF-3103] Improved logic and funcionality overall

* [ADF-3103] FormControl implementation

* [ADF-3103] Added AppId input

* [ADF-3103] Fixed Link errors

* [ADF-3103] Task list table hides when invalid app is selected

* [ADF-3103] Lint error

* [ADF-3103] Improved user experience

* [ADF-3103] changed formControlNames to [FormControl]

* [ADF-3103] Improved logic and added localization

* [ADF-3103] Removed whitespace

* [ADF-3103] Improved logic of task list form

* [ADF-3103] fixed trailing whitespaces

* [ADF-3103] trailing whitespace fix

* [ADF-3103] Added documentation and tests

* [ADF-3103] Added tests and documentation

* [ADF-3103] Tests fixed
2018-08-14 15:42:12 +01:00