199 Commits

Author SHA1 Message Date
Eugenio Romano
ababde3760
ix build (#6347)
* create after e2e and before e2e script

* permission test exclude

* flaky exclude

* fix

* chmod permission

* modify check cs

* fix

* execute

* fix

* fix
2020-11-16 00:49:10 +00:00
Maurizio Vitale
fa61639f45
Fix the if condition on namespaces (#6280) 2020-10-26 10:25:32 +00:00
Maurizio Vitale
6de13bb4b7
Fix typo on namespace (#6252) 2020-10-15 18:27:35 +01:00
Eugenio Romano
f1231d3c44 bump 4.1.0 2020-10-13 16:52:48 +01:00
Maurizio Vitale
98742e898e
[ACA-3973] K8s - namespaces - Replace all the occurrences (#6155)
* Replace all the occurrences

* Add more log
2020-09-23 11:59:42 +01:00
Maurizio Vitale
46383602f1
Be able to fetch all the namespaces in case not passed and handle the case of missing container for a label (#6148) 2020-09-22 15:59:15 +01:00
Maurizio Vitale
e98b40c37d
Be able to pass params (#6144) 2020-09-21 19:29:26 +01:00
Eugenio Romano
a630cfb390
Fix e2e (#6087)
* fix protractor conf

* remove update env

* fix cli error script cs

* change screenshot plugin

* remove unused param

* fix

* fix

* fix

* moment comment nvm

* fix

* fix

* fix

* fix

* remove adf redirect

* fix

* fix

* save remote report

* report fix

* improve save result

* fix folder save

* fix folder save

* fix placeholder pointer , they needs refactor later

* fix

* fix lint

* fix

* remove test already covered by unit
fix the test in core needed
exclude the one impossible to make it works without APS basic support

* lint

* fix some logout missing

* fix

* Fix the custom-tasks-filters.e2e

* fix lint

* fix

* fix

* fix

* Fix wait on start process  and on process definition options

* Fix logout before login again

* fix uplaod test

* fix

* Fix infodrawer with check detail and sleep

* lint

* increase list of excluded test

* fix

* fix lint

* change wait method datatable

* fix

* fix

* revert check value

* fix

* fix

* change tag test

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-09-04 13:27:55 +01:00
Denys Vuika
70e9a72aed
publish improvements (#6067)
* publish improvements

* latest angular cli
2020-08-25 21:17:31 +01:00
Denys Vuika
da67b6fa19 improve build and publish scripts 2020-08-25 15:11:03 +01:00
Denys Vuika
b38012d462 fix cli package lock 2020-08-25 14:08:56 +01:00
dependabot[bot]
4943079f9d
Bump commander from 4.0.0 to 6.0.0 (#6054)
* Bump commander from 4.0.0 to 6.0.0

Bumps [commander](https://github.com/tj/commander.js) from 4.0.0 to 6.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v4.0.0...v6.0.0)

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

* fix commander

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-08-25 08:54:42 +01:00
Eugenio Romano
c96f57d1c6 bump 4.0.0 2020-08-18 11:41:49 +01:00
Eugenio Romano
e2958b9988
update documentation 4.0.0 (#5968) 2020-08-10 18:06:51 +01:00
Eugenio Romano
f75151d6c6
move scripts check env in cli (#5889)
* move scripts check env in cli

* rmeove logs dep

* move scripts check env in cli

* build all
2020-07-17 14:56:24 +01:00
dependabot[bot]
1e4e58abe0
Bump npm-registry-fetch from 3.9.1 to 4.0.5 in /lib/cli (#5845)
Bumps [npm-registry-fetch](https://github.com/npm/registry-fetch) from 3.9.1 to 4.0.5.
- [Release notes](https://github.com/npm/registry-fetch/releases)
- [Changelog](https://github.com/npm/npm-registry-fetch/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/registry-fetch/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-08 09:09:47 +01:00
Maurizio Vitale
21b881e655
return the release project (#5838) 2020-07-06 14:44:40 +01:00
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