Commit Graph
903 Commits
Author SHA1 Message Date
Denys Vuika f5a7b07370 [ADF-3593] remove rxjs-compat layer (#3886)
* remove rxjs-compat layer

* add rxjs linter

* observable new instead of create

* lint fixes

* disable rxjs-no-subject-value for certain scenarios

* fix auth rxjs
2018-10-16 19:45:00 +01:00
Maurizio Vitale 0ecb6c13ec [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
2018-10-16 18:15:11 +01:00
Eugenio Romano c8aa627a84 Update ADF packages version 2.7.0-beta2 (#3884) 2018-10-13 11:13:00 +01:00
Maurizio Vitale 94df1f6fdd [ADF-3627] Be able to run the Angular cli commands (#3842)
* Change the lib dependencies
change the project folder name to lib

* Rollback the latest adf dependencies

* Push the lock with latest libraries versions
2018-10-08 11:57:43 +01:00
Eugenio Romano e6d38a9790 update node js alfresco-js-api version 2018-10-04 19:06:39 +01:00
Eugenio Romano db6ffa9ddf 2.6.0 version 2018-10-04 18:47:53 +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
Eugenio Romano cf7d72a71b Update ADF packages version 2.6.0-beta7 (#3841) 2018-09-29 10:51:23 +01:00
Eugenio Romano 6c6bb18d1d remove web-animation-js not needed anymore in angular 6 (#3833) 2018-09-27 12:05:33 +01:00
Eugenio Romano 37ee3dbe21 Update ADF packages version 2.6.0-beta6 (#3818) 2018-09-24 14:11:03 +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
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
Eugenio Romano 84da24c02f update flex dependencies (#3797) 2018-09-18 11:33:49 +01:00
cristinaj 2a883fca5f Add HTML Reporter (#3757)
* Add HTML Reporter;
Removed parallel execution;
Removed z-finish.e2e.ts tests;
Copy the screenshots and the report to an environment.

* fix report upload and unify folder
2018-09-10 16:02:29 +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 9eb0833d2f.

* travis

* fix script download
2018-09-08 19:39:49 +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 a53f6b770d change unzip library 2018-09-05 22:30:03 +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
Denys Vuika c0acc53eb9 [ADF-3501] PDF view fixes (#3735)
* PDF view fixes

* updated package.lock

* fix failing tests

* restore test

* use fake web worker for tests

* test fixes

* test fixes

* disable i18n test

* test fixes
2018-09-04 14:55:44 +01:00
Eugenio Romano 1ceb26dd4d 2.5.0 update version 2018-08-14 15:43:22 +01:00
Denys Vuika d39de25fe9 [ADF-3459] fix datepicker validation regression (#3697)
* fix datepicker validation regression

* improved validation message

* update libs
2018-08-14 15:43:21 +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 28209caad2 fix version node sass 2018-08-14 15:43:12 +01:00
Eugenio Romano 6cb1d2be5c remove typo 2018-08-14 15:43:05 +01:00
Eugenio Romano 128c431bf0 validate config in test also 2018-08-14 15:43:05 +01:00
Eugenio Romano 163ff13000 build fix 2018-08-14 15:42:58 +01:00
Eugenio Romano 6b8bd4685c fix mat datetime picker regression 2018-08-14 15:42:57 +01:00
Eugenio Romano 761687869b remove app.component.spec 2018-08-14 15:42:51 +01:00
Eugenio Romano 3c15b0c865 demo shell headless chrome 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
Eugenio Romano 5b0b6e83bc fix broken test after correction i18n 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
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
Andy Stark 69d8ff147e [ADF-3323] Updated doc tools to use DocFX intermediate files (#3601)
* [ADF-3323] Moved source file parsing to main doc tool

* [ADF-3323] Moved source info classes

* [ADF-3323] Added doc YAML generator tool

* [ADF-3323] Added doc YAML/JSON source paths to gitignore

* [ADF-3323] Completed templates and template context code

* [ADF-3323] Added source paths and updated type linker

* [ADF-3323] Final fixes to templates and type linking

* [ADF-3323] Fixed filter for private and protected methods

* [ADF-3323] Content services docs after check and rebuild

* [ADF-3323] Updated docbuild script in package.json
2018-08-14 15:42:25 +01:00
Eugenio Romano b54ec57033 Update ADF packages version 2.5.0-beta2 (#3569) 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
Eugenio Romano d4ebfb462e Update ADF packages version 2.5.0-beta1 (#3547) 2018-08-14 15:42:05 +01:00
Eugenio Romano 637d54dc24 update lock 2018-08-14 15:41:58 +01:00
Eugenio Romano 3063f739e3 bump 2.4.0 version 2018-08-14 15:41:57 +01:00
Andy Stark 5a3ce3d299 [ADF-3230] Changes to stop doc tools from updating files unnecessarily (#3519)
* [ADF-3230] Added basic change detector to doc tools

* [ADF-3230] Updates to type linker to fix before/after inconsistencies

* [ADF-3230] Fixed comparison error caused by adjacent text blocks

* [ADF-3230] Added basic change detector to doc tools

* [ADF-3230] Updates to type linker to fix before/after inconsistencies

* [ADF-3230] Fixed comparison error caused by adjacent text blocks

* [ADF-3230] Modified props tool to remove spaces from union types

* [ADF-3230] Made ToC tool before/after state consistent
2018-06-22 13:24:38 +01:00
Eugenio Romano 4d4a8d2864 Update ADF packages version 2.4.0-beta14 (#3493) 2018-06-15 16:36:47 +01:00
Eugenio Romano c66573939f Update ADF packages version 2.4.0-beta13 (#3475) 2018-06-13 08:19:10 +01:00
Andy Stark d152c367aa [ADF-2824] Doc review and minor changes to review checker tool (#3466) 2018-06-11 09:48:02 +01:00
Eugenio Romano eb0f91c5db fix random test failing part 2 (#3395)
* fix random failing test core search/comment/auth/user

* fix node delete directive

* fix lint issues

* node restore fix

* fix comment test

* remove fdescribe

* fix tests and tslint

* fix upload test

* unsubscribe success event task test

* copy comment object during test

* use the data pipe performance improvement and standard usage

* uncomment random test

* fix comment date random failing test

* disposable unsubscribe

* fix start process

* remove fdescribe

* change start process test and remove commented code

* fix error event check double click

* clone object form test

* refactor date time test

* fix service mock

* fix test dropdown and context

* git hook lint

* fix language test

* unsubscribe documentlist event test

* fix disposable error

* fix console log service error document list

* unusbscribe search test

* clear input field

* remove wrong test
2018-05-29 10:18:17 +01:00
Denys Vuika a204c5ba9e update package settings and lock file (#3389) 2018-05-24 12:40:25 +02:00
Andy Stark 0e64efc4e2 [ADF-3040] Replaced doc template engine to fix whitespace issues (#3356) 2018-05-21 15:54:22 +01:00
Eugenio Romano 4ced4164bf pipeline-update (#3309)
* deploy PR script
2018-05-14 16:05:27 +01:00
Andy Stark 60644d9917 [ADF-2969] Moved doc tools to new tools folder (#3314)
* [ADF-2969] Moved doc tools to new tools folder

* [ADF-2969] Added files missing from schematic

* [ADF-2969] Added missing files to schematic
2018-05-11 14:01:19 +01:00
Eugenio Romano 4fbacf4860 fix rebuild style 2018-05-09 07:57:12 +01:00