415 Commits

Author SHA1 Message Date
Maurizio Vitale
31254a73eb Add await in the cli init aps env 2021-01-18 15:40:07 +00:00
Thomas Hunter
8eec3c4c29
[ACA-4247] Improve login error logs in scan-env command in adf-cli (#6539)
* [ACA-4247] Improve login error logs in scan-env command in adf-cli

* [ACA-4247] Changed console.logs and requires to satisfy pre-commit checks
2021-01-18 11:20:43 +00:00
Maurizio Vitale
8dd43ef4af
adf-cli init aps env - Upload the APS default app (#6538)
* use only 1 js api

* skip tslint

* Remove the acs content to be moved in a different init script

* Remove useless variable

* Remove useless import
2021-01-18 10:40:35 +00:00
Maurizio Vitale
08fec7f1a6
adf-cli init-aae-env - Add request as dependency (#6518)
* Add request as dep

* Rigenerate the lock
2021-01-11 15:11:48 +00:00
Eugenio Romano
8e12e51fb3
Fix loop scenario when the login page is not present in silent login (#6512)
* fix loop scenario when the login page is not present in silent login

* fix build

* fix

* remove isECM

* fix unit

* fix
2021-01-11 09:31:11 +00:00
Maurizio Vitale
b54f1480bf
Push the image with tag (#6504) 2021-01-07 14:13:35 +00:00
Maurizio Vitale
7e24aba3c6
Add all-tags as additional option (#6502) 2021-01-07 11:48:24 +00:00
Maurizio Vitale
8d4408f2d6
Build the docker image only once and create tag link (#6496) 2021-01-07 10:42:33 +00:00
siva kumar
09b4df5af7
[ACA-4227] [APS] Create a script to check Process Services Management plugin status before running e2e tests (#6486)
* [ACA-4227] Create a generic script to check plugin status before running e2e tests by plugin name

* * Added governace env check

* * Added AAE plugin check

* * Updated script

* small improvements, add uiName parameter for the command

* * Fixed comments

* * Moved check-plugin script in the common place

* * Added table format to show plugin status

Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-01-06 11:56:24 +00:00
Thomas Hunter
1f8082d8e1
[ACA-4231] Added a table format to the scan-env command (#6490) 2021-01-06 09:09:21 +00:00
Thomas Hunter
044b6a8d0f
ACA-4176 & ACA-4177 Show number of groups, sites and files during environment scan (#6461)
* ACA-4176 & ACA-4177 Show number of groups, sites and files during environment scan

* ACA-4176 & ACA-4177 Removed unnecessary call to main()
2020-12-17 09:57:10 +00:00
Thomas Hunter
b405da8312
ACA-4175 Show number of user's home folders during environment scan (#6446)
* ACA-4175 Show number of user's home folders during environment scan

* ACA-4175 Simplified the retrieval of the number of user's home folders

* ACA-4175 Added a constant for the User's home folders path
2020-12-11 15:32:56 +00:00
Eugenio Romano
a978e97e8c bump 4.2.0 2020-12-08 16:31:26 +00:00
Thomas Hunter
595bd6cd6e
ACA-4171 to ACA-4174 Display the number of activated and deactivated users (#6400)
* ACA-4171 to ACA-4174 Display the number of activated and deactivated users

* ACA-4171 to ACA-4174 Added scan-env command to README

Co-authored-by: Thomas Hunter <thomas.hunter@alfresco.com>
2020-12-01 23:58:50 +00:00
Eugenio Romano
f965477e20
Update docker-publish.ts 2020-12-01 12:15:56 +00:00
Eugenio Romano
3f77c2d851
Add upload license script (#6386)
* add upload license script

* remvove

* Remove the siteFolder property when create a new repo because not compatible with activiti 1.11.1.1

Co-authored-by: MaurizioVitale <mauriziovitale@XXXX-MBP-1818.local>
2020-11-27 16:19:39 +00:00
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