1032 Commits

Author SHA1 Message Date
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
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
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
Eugenio Romano
2f7e0e6cb6 [ADF-3329] datatable component e2e (#3589)
* datatable component e2e
minor fix tslint

* fix review
2018-08-14 15:42:21 +01:00
Eugenio Romano
fcaa033a57 [ADF-3330] Create automated tests for Uploader component (#3581)
* Upload button e2e

* improve test organization

* add dev option in test run

* Create desktop.ini

* upload component automation final step

* remove fdescribe

* ignore downloads folder

* exclude pagination
2018-08-14 15:42:20 +01:00
Eugenio Romano
b54ec57033 Update ADF packages version 2.5.0-beta2 (#3569) 2018-08-14 15:42:17 +01:00
Eugenio Romano
e7b2daa1fe Reinsert e2e tag test (#3574)
* solve rendition preview

* reinsert tag e2e

* fix tslint

* fix pack problem

* remove reload

* remove refresh
2018-08-14 15:42:17 +01:00
Eugenio Romano
3d86044594 Add e2e test in ADF main repo (#3534)
* move e2e to ADF main repo

* lint e2e test

* enable first set of tests

* enable test

* firs test js-api integrated

* try change name protractor demo shell file

* remove fdescribe

* Update .travis.yml

* exclude failing test and rewrite analytics component with JS-API

* remove fdescribe

* move first part of tests to js-api

* refactor test alfresco-js-api

* replace js-api step 3

* remove adf prefix

* remove unused code

* remove unused part 2

* add option in e2e test for single test and browser

* exclude temp failing test

* refactoring test step 1

* refactoring test step 2

* refactoring test step 3

* refactoring test step 4

* refactoring test step 5

* run against localhost and proxy options

* fix command

* improve configuration

* improve configuration

* use dev configuratio

* fix defering

* comment out not working remotely test

* fix promise login page e2e

* remove console log

* change test

* revert

* improve utils

* improve task list test
util add also numbers in generation of the email

* remove part of the multi selector

* reinsert trashcan test

* uncomment document list test

* try increase delay in search sorting

* improve document list selector

* execute different util methods

* Upload error screenshot

* make oncomplete async

* add z-finish screenshot workaround

* option save

* remove fit
2018-08-14 15:42:14 +01:00
davidcanonieto
a6a77b8561 [ADF-3286] Snackbar now supports custom configuration (#3549)
* [ADF-3286] Snackbar now supports custom configuration

* [ADF-3286] Trailing whitespace removed

* [ADF-3286] Tests added

* [ADF-3286] Improved tests

* [ADF-3286] Documentation added

* [ADF-3286]  Logic improved

* [ADF-3286] Styling error fixed

* [ADF-3286] Broken tests fixed

* [ADF-3286] Broken tests fixed
2018-08-14 15:42:12 +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
Alex Bolboșenco
65ac1d37c4 CardViewItem in demo-shell (#3562) 2018-08-14 15:42:10 +01:00
davidcanonieto
a3372c3a68 [ADF-2599] Share button disabled after clicking it fixed (#3525)
* [ADF-2599] Share button disabled after clicking it fixed

* [ADF-2599] Share button disabling attribute changed

* [ADF-2599] Trailing whitespace removed
2018-08-14 15:42:09 +01:00
Georgiana Roman
c4d3bf231a [ADF-3177] added general header component (#3537)
* [ADF-3177] added general header component

* [ADF-3177] added documentation and removed user info mobile behaviour

* [ADF-3177] eddited doc file

* [ADF-3177] renamed folder and style changes

* [ADF-3177] style changes

* [ADF-3177] fix tests

* [ADF-3177] fix lint errors and tests

* [APM-3177] css changes

* [ADF-3177] fix pr

* [ADF-3177] updated documentation

* [ADF-3177] expose module with old name

* [ADF-3177] expose module with old name
2018-08-14 15:42:07 +01:00
Vito
21304614e7 [ADF-2671] fixed retrieving of error message (#3553) 2018-08-14 15:42:07 +01:00
Vito
cd4431e547 [ADF-3283] added minimatch options into the configuration to allow cu… (#3542)
* [ADF-3283] added minimatch options into the configuration to allow customisation

* [ADF-3283] added documentation
2018-08-14 15:42:06 +01:00
Eugenio Romano
d4ebfb462e Update ADF packages version 2.5.0-beta1 (#3547) 2018-08-14 15:42:05 +01:00
davidcanonieto
a920c581df [ADF-3149] New Report Issue page created (#3452)
* [ADF-3149] New Report Issue page created

* [ADF-3149] Added missing comma
2018-08-14 15:42:05 +01:00
Vito
0255da80a4 [ADF-2348] added actions on start and cancel start process buttons (#3543) 2018-08-14 15:42:04 +01:00
davidcanonieto
da8ffdfe5e [ADF-2598] Sidenav button only visible when sidenav is enebled (#3526) 2018-08-14 15:42:02 +01:00
Vito
d9c792230f [ADF-2769] Added example page for content node selector (#3498)
* content node selector test page

* [ADF-2769] start adding more examples to node selector page

* [ADF-2769] added more example for node selector page

* [ADF-2769] added examples on node selector page
2018-08-14 15:41:59 +01:00
Eugenio Romano
3063f739e3 bump 2.4.0 version 2018-08-14 15:41:57 +01:00
Eugenio Romano
9ee34e404e remove 404 check in demo shell 2018-06-22 09:56:52 +01:00
Eugenio Romano
3947cc5dc9
check 401 and redirect demo shell (#3516) 2018-06-21 18:00:44 +01:00
Denys Vuika
fa18d4dc3e use i18n key for "Permission" label 2018-06-21 14:11:25 +01:00
Vito
966cbe0d30 [ADF-3242] removed filter for string in example log component (#3511)
* [ADF-3242] removed filter for string in example log component

* [ADF-3242] added try catch for circular dependency objects

* [ADF-3242] added try catch and removed error message
2018-06-20 14:46:31 +01:00
Denys Vuika
491cc3253f update demo shell with metadata demo 2018-06-20 07:47:41 +01:00
Vito
69b47cfd22 [ADF-3233] fixed demo shell filtering for files on drag&drop] (#3504) 2018-06-19 17:21:38 +01:00
Eugenio Romano
ea4c9fe9aa
[ADF-3226] remove Double behaviour setting allow download and comment (#3502)
* fix restore notification

* improve path specification property

* fix lint and document issues

* fix test

* remove unused import

* remove double behavior allowComments and allowDonload can be set only thorough input property
2018-06-19 08:45:11 +01:00
Eugenio Romano
bc23d28ad6
[ADF-3223] Restore message directive files fix (#3499)
* fix restore notification

* improve path specification property

* fix lint and document issues

* fix test

* remove unused import
2018-06-18 22:58:58 +01:00
Eugenio Romano
257e422a1c fix translations (#3497) 2018-06-18 09:46:21 +01:00
Eugenio Romano
fa6a6725cf demo shell host setting component login redirect after setting 2018-06-17 23:10:55 +01:00
Eugenio Romano
4d4a8d2864
Update ADF packages version 2.4.0-beta14 (#3493) 2018-06-15 16:36:47 +01:00
Denys Vuika
acf73fba54 [ADF-3217] reset previous search settings (#3490)
* reset previous search settings

* unit test

* remove fit
2018-06-15 14:51:26 +01:00
Eugenio Romano
8966e22487
[ADF-3191] Fix userprefrence oauth2 (#3488)
* remove user preference setting save

* fix host setting test

* remove userPreferences test

* fix title service test

* remove unused imports

* restore input align

* fix service import in test tag rating
2018-06-15 08:32:16 +01:00
Eugenio Romano
0cf2a35983 [ADF-3200] custom Extension filter - file with different extension is uploaded with drag and drop 2018-06-13 16:21:23 +01:00
Eugenio Romano
afdedf02d1
[ADF-3191] Not able to login only to BPM or ECM (#3478)
* disable random test

* host setting component reset JS-API

* reload api after user prefrence change

* remove replicate reset

* missing semicolon

* deprecate provider property

* remove trailing space

* check new value before to set
2018-06-13 16:05:35 +01:00
Eugenio Romano
c66573939f
Update ADF packages version 2.4.0-beta13 (#3475) 2018-06-13 08:19:10 +01:00