218 Commits

Author SHA1 Message Date
Eugenio Romano
ec633f27d6 fix null aspectNames in check for smart folder 2018-09-18 17:09:16 +01:00
Eugenio Romano
be816ec345 fix package warning 2018-09-18 14:27:25 +01:00
jdosti
7788eb7313 [ADF-3560] Create an automated test to cover 'Add group' on permissions (#3798)
* [ADF-3560] Create an automated test to cover 'Add group' on permissions

* fix test

* fix tslint issues
2018-09-18 11:41:25 +01:00
Denys Vuika
155131370c move adf-extensions lib to the ADF repo (#3781)
* adf-extensions lib

* remove console.log calls

* integrate with angular.json

* fix output path

* update scripts

* Add extensions to scripts

* update travis setup

* Travis step II.
2018-09-18 10:52:02 +01:00
Eugenio Romano
3d5da1e622 fix await login unzip build 2018-09-11 22:15:53 +01:00
Eugenio Romano
e99273139a improve retry 2018-09-11 15:59:26 +01:00
Eugenio Romano
aa579d6c1f add unzip retry 2018-09-11 10:38:35 +01:00
Eugenio Romano
94810a4f63
Fix build problems pipeline (#3761)
* tentative number one

* add more log

* write folder

* Revert "change unzip lib"

This reverts commit 9eb0833d2f9973452143124771210969583b9a91.

* travis

* fix script download
2018-09-08 19:39:49 +01:00
Eugenio Romano
0408fc92b8 modify permissions script 2018-09-08 03:18:05 +01:00
Eugenio Romano
38c26cc601 move package step in script 2018-09-08 02:50:37 +01:00
Eugenio Romano
613b747132
Update download-build-lib-in-cs.js 2018-09-07 20:51:15 +01:00
Eugenio Romano
4e844d77a6
Update download-build-in-cs.js 2018-09-07 20:50:33 +01:00
Eugenio Romano
7af5495757 change zip library 2018-09-07 17:28:56 +01:00
Eugenio Romano
9eb0833d2f change unzip lib 2018-09-07 15:25:54 +01:00
Eugenio Romano
7046ec895a improve speed BC check 2018-09-07 13:49:38 +01:00
Eugenio Romano
e4da44fd46 add timeout in download script 2018-09-06 16:46:23 +01:00
Eugenio Romano
f5b69ebb98 fix insight test on travis 2018-09-06 11:40:12 +01:00
Eugenio Romano
0d84d36f01 solve clash name folders 2018-09-06 11:14:19 +01:00
Eugenio Romano
fc852dd1c1 add rename downloaded dist 2018-09-06 10:38:39 +01:00
Eugenio Romano
17824824d0 upload library build in stage env 2018-09-06 09:38:31 +01:00
Eugenio Romano
a53f6b770d change unzip library 2018-09-05 22:30:03 +01:00
Eugenio Romano
e24421b894 improve script download dist 2018-09-05 18:57:45 +01:00
Eugenio Romano
706b76fa04 add log rename folder 2018-09-05 18:45:06 +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
Eugenio Romano
3c7c3316bf [ADF-3473] Show complete button when you can't attach a form (#3695)
* ADF-3473 show complete button

* fix isCompletedTask case

* fix single run test option
2018-08-14 15:43:17 +01:00
Eugenio Romano
7028dc8eec add option to run remote selenium server 2018-08-14 15:43:11 +01:00
Mario Romano
10c2115231 update redame scripts folder (#3689) 2018-08-14 15:43:07 +01:00
Mario Romano
c328d70e43 [ADF-3450] remove css override background color, is already manged by the material component (#3685) 2018-08-14 15:43:03 +01:00
Eugenio Romano
c089c87630 [no-issue-e2e] directive crete folder new e2e (#3677)
* new folder directive e2e

* fix search test

* fix pr-deploy script
2018-08-14 15:42:56 +01:00
Eugenio Romano
eff7c4dfb5 move creation PR Docker at the end before after e2e 2018-08-14 15:42:53 +01:00
Eugenio Romano
5b0b6e83bc fix broken test after correction i18n 2018-08-14 15:42:49 +01:00
Eugenio Romano
43bb42c10b stop script after test execution 2018-08-14 15:42:44 +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
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
Eugenio Romano
f2103b43f2 use local protractor 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
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
Eugenio Romano
22006395c7 move docker push outside login 2018-05-28 12:00:38 +01:00
Eugenio Romano
8277773954 fix publish script 2018-05-28 11:20:13 +01:00
Eugenio Romano
4b25f396b3 add option without login docker publish 2018-05-28 10:33:07 +01:00
Eugenio Romano
2ad5dac77a update project permissions change 2018-05-18 17:04:33 +01:00
Eugenio Romano
4ced4164bf
pipeline-update (#3309)
* deploy PR script
2018-05-14 16:05:27 +01:00
Eugenio Romano
309ac86d3a fix ID show rancher script update 2018-05-10 21:59:59 +01:00
Eugenio Romano
c1a8d60ac1 fix tslint error and add and block if tslint give error in the pipeline 2018-05-10 17:01:27 +01:00
Suzana Dirla
5f004c9972 [ADF-2849] Search Date Range - Set the format of the date from config (#3288)
* format date chosen from the datePicker's calendar

* format date on focusout event

* fix tests & some code refactoring

* more validation messages

* unit tests

* fix typecast error

* move "dateFormat" to be part of the "date range" widget settings block

* fix error on Moment

"...Type 'moment.Moment' is not assignable to type 'moment.Moment'. Two different types with this name exist, but they are unrelated.
          Property 'isLocal' is missing in type 'Moment'..."

* moment - use old version

* change script - use recent version of moment
2018-05-10 14:27:31 +01:00
Eugenio Romano
c035ead545 change js-api always in update-script 2018-05-08 13:41:52 +01:00
Eugenio Romano
87a464907c improve update version script 2018-05-08 13:17:37 +01:00
Eugenio Romano
aff83a66be fix bamboo script publish
restore general tslint file
2018-05-08 13:11:12 +01:00
Eugenio Romano
0a8d1fd6ea fix updater version script 2018-05-08 11:13:20 +01:00
Eugenio Romano
fe0ac0e474
move tslint ADF rules in principal repo (#3247)
* move tslint ADF rules in principal repo

* fix style issues

* change pacakge.json position

* update to angular cli 6.0.0

* reorganization package.json

* remove node modules2 folder

* exclude integration

* rollback alfresco-js-api

* solve types problems

* fix pdf test

* fix errors and exclude two tests

* fix e2e

* fix test

* copy all the new packages in node_modules

* fix test

* fix packaging script

* scss issue fix

* move test export in tools
2018-05-04 17:13:45 +01:00