866 Commits

Author SHA1 Message Date
davidcanonieto
559dbc7f40 [ADF-3438] Page input fixed in Task List Demo (#3815)
* [ADF-3438] Page input fixed

* [ADF-3438] Improved code on component
2018-09-24 14:11:35 +01:00
Eugenio Romano
897a557afa
[ADF-3332][ADF-3352] Add property e2e test and leftsidebar viewer (#3814)
* new viewer test
left sidebar
fix height width no overlay viewer

* fix lint and failing e2e

* missing semi column

* fix test

* fix template

* documentation
2018-09-21 11:37:40 +01:00
Maurizio Vitale
cfbe3cfd86 [ADF-3570] ADF Migration - Add the interceptor layer (#3813)
* Enable impliciFlow and add new interceptor

* Fix errors

* add excluded path rules

* Add the needed methods to the AuthenticationService core

* Remove unused library and service
2018-09-20 22:17:05 +01:00
davidcanonieto
244d1aae85 [ADF-3438] Bugs in Task List Demo Component fixed (#3809)
* [ADF-3438] Bugs in Task List Demo Component fixed

* [ADF-3438] Added default size value for pagination
2018-09-20 14:02:15 +01:00
Eugenio Romano
219e093d66
[ADF-584] [ADF-3561] Validation error summary for error component (#3795)
* emit Forms error

* add demo

* add documentation
remove old form tag deprecated in 1.x
fix translation outcome

* remove prevent default validation

* fix lint
2018-09-18 17:40:00 +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
bbcodrin
6ac0346039 [ADF-3415] Process filter - icons added (#3705)
* task filters icons added

* test fix

* process filters icons added
2018-09-14 17:59:59 +01:00
bbcodrin
73a5eddebd [ADF-3438] Task List Demo - created date filter and pagination (#3782)
* date filter and pagination

* remove wrong mat-form-field
2018-09-14 16:55:57 +01:00
Denys Vuika
c5c1aa9ecb [ADF-3443] basic printing support (#3777)
* printing service

* code fixes

* update code
2018-09-12 13:04:43 +01:00
Eugenio Romano
609a6c154b remove user admin write file e2e 2018-09-12 12:43:08 +01:00
Eugenio Romano
7ccbeee017
[ADF-2640] remove option configurable (#3772)
* add optional delete button in tag node list

* add demo

* fix lint
2018-09-12 10:05:03 +01:00
Eugenio Romano
cc396e2a11
[ADF-3512] SidenavLayoutComponent option to show the sidebar on the right (#3768)
* add sidebar end start property

* add demo and test

* fix test

* fix failing test
2018-09-12 10:02:24 +01:00
Marouan Bentaleb
55677e2b7b [ADF-3498] Automated tests for Permissions - Search (#3774) 2018-09-11 17:51:22 +01:00
Vito
35e1563fde [ADF-3324] added redirect to 404 page when the shared link is invalid (#3749)
* [ADF-3324] added redirect to 404 page when the shared link is invalid

* [ADF-3324] removed fdescribe

* [ADF-3324] fixed documentation adding the new event
2018-09-10 11:10:44 +01:00
Vito
9ef00e3ddd [ADF-3500] added an event to react when a filter is force selected (#3753)
* [ADF-3500] added an event to react when a filter is force selected

* [ADF-3500] renamed method for clarification
2018-09-07 11:34:26 +01:00
Vito
6c748cc24b [ADF-3513] - removed wrong slide from task-detail component (#3746) 2018-09-06 12:26:26 +01:00
Eugenio Romano
c6f56a2c2a
Improve build stages (#3744)
* travis precache

* rb change

* remove ut

* add cache warm up

* Prepare cache fix

* add test

* use env variabble to tag

* use env to label stages

* move lint step at start

* use dist for e2e

* upload dist in alfresco

* modify permissions

* travis script node

* remove polyfills

* revert some changes

* fix demo shell run test

* solve download

* revert debatable gallery change
2018-09-05 12:40:03 +01:00
davidcanonieto
567d172176 [ADF-3119] Gallery mode layout fixed for document list (#3731) 2018-09-04 11:18:49 +01:00
Eugenio Romano
c839fd516b [Dem0 shell] increase default time to message in order to help the e2e 2018-08-14 15:43:18 +01:00
davidcanonieto
d47a5bfbbf [ADF-3432 ]Added size and page control to task list demo (#3674)
* [ADF-3432] Added size and page control to task listdemo

* [ADF-3432] Removed console log

* [ADF-3432] Errors catched on TaskList component when a bad query is made

* [ADF-3432] It reloads task list content when form is reset

* [ADF-3432] Fixed missing whitespace lint error

* remove unused dependency
2018-08-14 15:43:16 +01:00
Eugenio Romano
dd4c0e37f2 ADF-3474 demo shell process list fix column 2018-08-14 15:43:15 +01:00
Eugenio Romano
83b2857097 [ADF-2629] Fix infinite pagination and e2e parallel task (#3691)
* change infinite pagination logic
make merge in share adapter a real merge

* missing semi column

* type problem

* fix pagination infinite test

* tentative file detector

* add other remote files for webdriver

* parallel execution test

* fix refresh browser e2e

* missing driver remote in util
2018-08-14 15:43:13 +01:00
Eugenio Romano
ab31590b00 fix demo shell permission error message 2018-08-14 15:43:10 +01:00
Denys Vuika
7ceee231bd viewer fixes for demo shell (#3686) 2018-08-14 15:43:06 +01:00
Suzana Dirla
6f313b7c37 [ADF-3435][ADF-3436] fix search chips (#3681)
* fix chip list remove

* fix tests

* better find criteria

* swap to fix e2e test

* set 'expanded' for facetFields from config

* fix e2e test

* remove comments
2018-08-14 15:43:04 +01:00
davidcanonieto
e1d5ef6ee9 [ADF-3103] Added new inputs & columns Task List Demo - Rebase (#3659)
* Added columns, inputs and error message alert

* Add basic documentation

* [ADF-3101] Trailing whitespaces removed
2018-08-14 15:43:02 +01:00
Eugenio Romano
5e57b7f9d4 fix placeholder people 2018-08-14 15:43:01 +01:00
Eugenio Romano
8f407a4f93 reload document list after successfully edit node 2018-08-14 15:43:00 +01:00
Denys Vuika
08e96dfa1f single place to init pdf viewer 2018-08-14 15:42:59 +01:00
Eugenio Romano
6b8bd4685c fix mat datetime picker regression 2018-08-14 15:42:57 +01:00
Denys Vuika
f5e264d0fc fix pdf worker 2018-08-14 15:42:57 +01:00
davidcanonieto
6cf6c9c0e4 [ADF-3335] Task filter e2e tests (#3614)
* [ADF-3335] Automation Tests for Tasks Filter component

* [ADF-3335] Changed " for \'

* [ADF-3335] Solved style issues

* Update task_filters_component.e2e.ts

* [ADF-3335] Added missing parentheses

* [ADF-3335] Added missing bracket

* [ADF-3335] Improved data automation selectors
2018-08-14 15:42:54 +01:00
Eugenio Romano
7172d5b631 E2E test default properties (#3671) 2018-08-14 15:42:54 +01:00
Eugenio Romano
761687869b remove app.component.spec 2018-08-14 15:42:51 +01:00
Denys Vuika
f606149344 [ADF-3380] lazy loading fixes (#3609)
* lazy loading file viewer

* fix issue with CoreModule referencing

* fix issue with app config and lazy loading

* test fixes

* fix import

* lazy loading workaround for content module

* fix providers for lazy loading

* fix tests

* lazy loading for Process Services lib

* lazy loading for Insights, module cleanup

* fix issue with Translate module, optimise imports

* lazy-load blob viewer (demo shell)

* remove duplicate pdf init

* update to more stable pdfjs

* fix license header

* fix lint issues

* fix test import

* fix pdf version
2018-08-14 15:42:50 +01:00
davidcanonieto
409acbcc9e [ADF-3372] Added toggle and global configuration to display metadata (#3636)
* [ADF-3372] Added toggle and global configuration to display metadata

* [ADF-3372] Fixed typo in shcema.json

* [ADF-3372] Removed unnecessary variables and variable name changed

* [ADF-3372] Fixed unit test

* [ADF-3372] Improved logic

* [ADF-3372] Improved Metadata component html logic

* [ADF-3372] Demoshell variable from app.config.json removed

* [ADF-3372] fixed bugs and tests

* [ADF-3372] fixed some error in tests

* [ADF-3372] fixed some wrong compilation in test

* [ADF-3372] fixed wrong locator

* [ADF-3372] fixed randomly failing tests
2018-08-14 15:42:49 +01:00
Denys Vuika
6b24bfb1d4 [ADF-3299] and [ADF-3300] upgrade to Angular and Material 6 (#3579)
* upgrade to HttpClient

* upgrade to Renderer2

* upgrade Document reference

* remove useless test with deprecated ReflectiveInjector

* upgrade to latest typescript

* upgrade libs

* upgrade package scripts

* remove rxjs blacklists and duplicate rules

* add rxjs compat to help with migration

* fix breaking changes

* fix breaking changes in material

* fix breaking changes (material 6)

* upgrade rxjs, ngx-translate and flex layout

* update unit tests

* restore providers

* upgrade deprecated Observable.error

* rebase
fix first configuration problems

* fix style issues commented

* fix core build

* fix lib template errors

* move lib test execution in angular.json

* ignore

* karma conf files

* fix import statement test

* single run option

* update packages reporter

* restore report

* increase timeout

* improve karma conf test configuration

* fix test issues about lint

* fix test analytics

* fix process service test

* content service fix test

* fix logout directive test

* fix core test

* fix build

* update node-sass to latest

* update angular cli dependencies

* improve build script

create directorites and move files only if previous command succeded

* upgrade individual libs to 6.0

* remove old webpack files

* revert sass change

* fix type issues
fix style issues

* fix tslint demo shell issue

* fix peerdependencies

* fix test e2e BC

* package upate

* fix style import issue

* extract-text-webpack-plugin beta

* fix test dist build command

* remove alpha js-api

* fix tslint issue
add banner tslint rule

* upload service fix

* change BC script

* fix test dist script

* increase demo shell timeout test

* verbose copy

* path absolute

* fix script bc

* fix copy part

* fix path warning
fix monaco editor

* remove duplicate header

* remove unused import

* fix align and check ago tests

* add missing import

* fix notification button selector

* [ANGULAR6] fixed core tests

* fix CS test

* fix cs test step 2

* increase travis_wait for dist

* fix attachment PS

* fix checklist test

* use pdf min
2018-08-14 15:42:43 +01:00
Suzana Dirla
c510ec864d [ADF-3358] Header - update demo shell component (#3655)
* [ADF-3358] update demo-shell header component

* [ADF-3358] style demo-shell header component
2018-08-14 15:42:42 +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
Suzana Dirla
8d8ab1e682 [ADF-3358][ADF-3359][ADF-3360] Logo link and tooltip and hex colors (#3648)
* [ADF-3358] link on logo

* [ADF-3358] test link on logo

* [ADF-3360] tooltip on logo

* [ADF-3360] update logo docs

* [ADF-3359] allow hex color codes for the background color

* [ADF-3358] better name for property
2018-08-14 15:42:41 +01:00
Vito
05da97d3b9 [ADF-3336] added more tests for Document list component (#3635)
* [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] 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] fixing process service integration tests

* [ADF-3336] removed comments and skipped two tests

* [ADF-3336] added thumbnails tests

* [ADF-3336] added tooltip documentlist tests

* [ADF-3336] added tooltip tests

* [ADF-3336] added gallery view tests

* [ADF-3336] removed comment

* [ADF-3336] fixed selectors and check for document list test
2018-08-14 15:42:39 +01:00
bbcodrin
ca62616936 [ADF-3284] ProcessFilter - preselect filter param (#3637)
* preselect filter

* tests fix

* process filter refactor

* unit tests fix

* focus tests fix
2018-08-14 15:42:38 +01:00
Deepak Paul
50e5e7a36a [ADF-3308] ProcessList Component - Provide a way to filter the list by fields (#3629)
* [ADF-3308] Removed name input added two inputs

* * [ADF-3308] Modified demo component

* [ADF-3367] Modified docs

* [ADF-3308] Added tests

* [ADF-3308] Deprecated processDefinitionKey property
2018-08-14 15:42:37 +01:00
davidcanonieto
357e09689b [ADF-3388] E2e tests for notification component added (#3630)
* [ADF-3388] E2e tests for notification component added

* [ADF-3388] Added missing function
2018-08-14 15:42:35 +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
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
Denys Vuika
c63184334f [ADF-3365] search filter fixes (#3594)
* preserve ordering of facet fields and queries

* update tests

* rework facet queries

* rework facet management, update unit tests

* remove unused interfaces

* fix test

* remove deprecated interfaces

* expose selection for the chip list
2018-08-14 15:42:23 +01:00