382 Commits

Author SHA1 Message Date
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

* Add dependencies among libs and run only affected unit test and build

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
maurizio vitale
19840b3def Remove line 2020-07-01 13:30:43 +01:00
Maurizio Vitale
270efc8bb1
add more logs and default interval (#5826) 2020-07-01 13:02:25 +01:00
Maurizio Vitale
bd21c5ca7b
Be able to delete based on time (#5823) 2020-06-30 11:37:57 +01:00
Eugenio Romano
af47361f15 bump 3.9.0 2020-06-29 18:09:23 +01:00
Maurizio Vitale
0183f9e7f7
Fix the js-api instance and remove access to the database (#5822)
* Fix the js-api instance and remove access to the database

* Remove useless parameters
2020-06-29 15:08:38 +01:00
Francesco Corti
663d7fefc6
Release note for ADF 3.9.0 (#5808)
* Release note in draft for 3.9.0.

* Release note for 3.9.0.

* release notes and documentation

* fix

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-06-24 19:14:09 +01:00
Denys Vuika
e9350bd297
various code quality fixes (#5792)
* various code quality fixes

* reduce duplicated code

* add safety check
2020-06-18 17:57:46 +01:00
Eugenio Romano
c5d71c09e7 minor fix init script 2020-06-18 09:45:28 +01:00
Maurizio Vitale
b92aa7dfd8
adf-cli k8s image - Be able to override image by label and namespace (#5786)
* Ability to set the image of pods based on label

* Use the namespaces as filter
2020-06-16 17:24:59 +01:00
Maurizio Vitale
baab211790
Revert "Ability to set the image of pods based on label (#5781)" (#5783)
This reverts commit 5dc3e4c46b649fe2de3e6970abb77a8330073991.
2020-06-16 14:42:46 +01:00
Maurizio Vitale
5dc3e4c46b
Ability to set the image of pods based on label (#5781) 2020-06-16 14:28:35 +01:00
Eugenio Romano
fec1b813e6 fix cli 2020-06-12 13:57:44 +01:00
Eugenio Romano
6e732ee9a4 fix parameter oauth cli 2020-06-11 23:56:35 +01:00
Eugenio Romano
a78f24ada1
[ACS-259] refactor login page (#5733)
* refator login page

* refator login page

* remove obsolete classes and move what is needed in the test pck

* fix const

* revert modify

* remove duplicate browser property

* fix build

* fix

* fix

* fix lint

* move drop action in testing
remove not necessary space
js-api centralize content

* first refactor use js-api

* fix protractor

* refactor test config

* simplify properties
fix namings

* ps cloud simplify
remove unused js files

* id fix

* fix search test
simplify environment var step 1

* fix lint

* first user iteration fix

* fix model

* unify use of apiService

* first step automatic user creation Identity

* refactor creation user content-services

* refactor creation user search

* refactor creation user core

* process service refactoring 1

* process service refactoring 1

* process service refactoring 2

* fix process

* appconfig

* fix process util

* fix gallery

* fix "this" reference issues

* fix incorrect import paths

* fix core

* some fixes

* allign

* fix some test
remove structure folder and move in actions

* fixes

* move folders in the right place

* fix

* fix rebase

* solve build issue

* fix e2e

* change init aae

* order api and some fixes

* fix possible not valid password

* fix some ps test

* replace host port also in objects

* Update app-config.service.ts

* fix process

* fix process test

* process service cloud fix

* fiexs

* modify init script

* fix two test

* remove unused property

* host issue

* not use npx

* fix ps cloud test

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-06-04 14:41:30 +01:00
Eugenio Romano
531d1d7345 fix build cli 2020-05-18 19:20:12 +01:00
Eugenio Romano
6f67c43f8c fix build cli 2020-05-18 18:31:18 +01:00
Eugenio Romano
a23f000e53 fix build cli 2020-05-18 18:28:34 +01:00
Denys Vuika
347e64fd91
Pre-Angular upgrade fixes (#5709)
* code fixes

* code fixes

* more code fixes

* even more fixes

* add missing typescript for cli

* rollback info drawer test changes

* use npx for cli commands

* restore attach providers
2020-05-18 14:02:15 +01:00
Denys Vuika
5621dbbb05
audit command for adf cli (#5699) 2020-05-13 22:13:16 +01:00
Denys Vuika
6793c5c466
CLI: new licences command (#5690)
* new licences command

* remove old licences command
2020-05-12 19:56:45 +01:00
dependabot[bot]
68db414cf8
Bump https-proxy-agent from 2.2.1 to 2.2.4 in /lib/cli (#5677)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-06 12:07:49 +01:00
Denys Vuika
94e2e83e73
ADF CLI fixes (#5674)
* safety checks and better path eval

* do not execute command on help

* rewrite 'update-version' command
2020-05-06 11:18:38 +01:00
Alfresco Build User
fa1e691bd2
Update JS-API packages version 3.8.0 (#5670)
* Update JS-API packages version 3.8.0-beta10

* bump 3.8.0

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-04 17:01:54 +01:00
Maurizio Vitale
6ef07fe73f
Ability to clean app using the like and interval time (#5515) 2020-02-26 13:09:53 +00:00
Maurizio Vitale
81efb07283
adf-cli Provide a way to pass buildArgs to the docker build (#5507)
* Provide a way to pass buildArgs to the docker build

* Create folder in case does not exist
2020-02-24 17:10:40 +00:00
Denys Vuika
a0926a38d8
Minor code and style fixes (#5398)
* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
2020-02-09 22:03:32 +00:00
Eugenio Romano
3896ce2472 bump 3.7.0 2020-02-06 13:36:24 +00:00
Eugenio Romano
1754baa111
fix release project cli and dependency (#5404) 2020-01-27 13:15:25 +01:00
Maurizio Vitale
26677c6789
adf-cli command init-aae use the user based on the role (#5364)
* Reuse the common deployment and modeling api

* Add files to testing

* Pass parameters

* Travis initaae with correct parameters

* Travis initaae with correct parameters

* Add cli to the smart build
2020-01-10 17:02:16 +00:00
Eugenio Romano
703b96c9b0
[AAE-1152] Add People and Group component in the AAE Forms (#5314)
* firt version groupo component widget

* fix group

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix problem update script

* multiple browser ps cloud

* add field assignment

* add field in form model

* no need subobject we need an issue to refactor the field model

* no need subobject we need an issue to refactor the field model

* fix unit test

* remove title modify

* revert

* fix lint

* exclude AAE-1179

* exclude tooltip e2e
2019-12-10 11:24:24 +00:00
Maurizio Vitale
43995e3795
fix lint 2019-12-05 10:29:58 +00:00
maurizio vitale
b423eb8c51 Ability to clean the env passing apps name 2019-12-04 18:22:34 +00:00
maurizio vitale
9a91aa28a2 Pass to the deploy the infrastructure 2019-12-04 18:21:35 +00:00
Eugenio Romano
e8477840b5 fix script 2019-11-29 15:55:41 +00:00
Eugenio Romano
cf83630573
[ADF-5033] Improve publish script (#5297)
* check if npm package is already present before to publish

* fix lint and remove duplicate password

* fix script
2019-11-29 14:51:46 +00:00
Eugenio Romano
f95989809d
Improve scripts after release (#5288)
* update scripts problems

* improve script

* fix alignment
2019-11-26 19:37:58 +00:00
Eugenio Romano
8a41da0506
bump 3.6.0 (#5283) 2019-11-25 11:03:35 +00:00
Popovics András
d87c9ec401 [AAE-880] Fix updater script in the cli (#5273) 2019-11-20 15:28:17 +00:00
Maurizio Vitale
037aab7ae1 [ADF-5008] Add an health checks on the services: (#5267)
* Add an health checks on the services:
deployment-service
modeling-service
dmn-service

* Refactoring
2019-11-20 14:54:53 +00:00
Eugenio Romano
4f0cebe98b
refactor cli and add new s3 (#5211) 2019-11-11 15:48:55 +01:00
maurizio vitale
76df885932 Fix adf-cli 2019-10-18 12:55:19 +01:00
Maurizio Vitale
941df740d5 [ADF-4948] Move the resources config in the process cloud lib - Part 2 (#5143)
* Move the resources in the cloud lib

* Use adf cli

* Add missing process definitions

* Add debug points

* Print new class

* Use the resources under the adf-testing

* Use the resources from testing package

* Fix adf-testing bugs

* remove empty row

* Remove the npm install

* Remove log stuff

* Remove the console log

* Fix typo on process def names
Improve the debug e2e command

* Fix lowercase name

* Check the process cloud env and content env

* Add the new process definitions

* Add missing process definitions

* Use the latest simpleapp

* Rollback the bigFile

* Use relative link

* Trasnpile the adf-testing before using it
2019-10-17 14:31:58 +01:00
Maurizio Vitale
93419ffa7b [ADF-4916] Create the adf-cli init-aae-env command (#5099)
* Create the adf-cli command init-aae-env

* Remove the test app

* Add basic doc for the init-aae-env command
2019-10-09 21:27:03 +01:00
Eugenio Romano
2d58d2f458 bump 3.5.0 2019-09-30 17:34:25 +01:00
maurizio vitale
77f159d62f Update the js api with the vjs version 2019-09-04 10:38:03 +01:00
maurizio vitale
8d095974a4 Fix the adf-cli with version option 2019-09-03 15:15:54 +01:00
Eugenio Romano
6590b59de0 fix scripts npm 2019-08-29 20:15:10 +01:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Eugenio Romano
43df299096 release update commands pipeline 2019-08-29 12:01:49 +01:00