51 Commits

Author SHA1 Message Date
Denys Vuika
7a5350a06d
reduce duplication and code improvements (#1707)
* reduce code duplication

* reduce duplication, fix license headers

* simplify code

* typings fixes

* update tests

* minor fixes

* markdown fixes

* revert changes
2020-12-11 15:47:17 +00:00
Denys Vuika
6049711a5c
Release 2.2.0 (#1870)
* update package versions script

* update package versions script

* generate reports script

* bump versions to 2.2.0

* audits

* upgrade to final ADF

* update docs

* update app config
2020-12-09 16:55:39 +00:00
arditdomi
2491e9c421
Fix typo for replacing identity host (#1828) 2020-11-27 11:00:20 +00:00
MaurizioVitale
00ed65e1c0 fix the command with adf-cli 2020-11-27 10:34:51 +00:00
Maurizio Vitale
e88141ccdf
Fix the build path for docker (#1825)
Co-authored-by: MaurizioVitale <mauriziovitale@XXXX-MBP-1818.local>
2020-11-26 17:32:50 +00:00
Eugenio Romano
8308573f3c
Unexclude due the timeout (#1805)
* change base method to wait

* fix import

* reduce log

* fix

* data placeholder

* fix

* fix

* fix

* fix style

* change visibility with common method

* fix

* use common get value method

* remove unused import

* fix a few incorrect api calls

* - use separate variables

* correctly wait for items after they have been created

* use browseraction click

* Exclude failing tests

* increase timeout and some fix

* check env before execute test

* simplify conf

* exclude

* rerun

* logs

* refactor pagination tests to use only 51 items
take out pagination tests into a separate stage

* fix check

* remove hardcoded total items. other shared files might already exist

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
Co-authored-by: iuliaib <iulia.burca@ness.com>
2020-11-19 16:07:57 +00:00
Maurizio Vitale
bfe6fb2bc9
Replace values instead of override (#1742) 2020-11-10 17:02:27 +00:00
Eugenio Romano
e5866dc3c2
remove rancher update (#1772) 2020-11-05 08:42:13 +00:00
Denys Vuika
b1f5bebe3f
deprecate NPM publishing (#1747)
* deprecate NPM publishing

* remove gitmodules
2020-10-16 09:46:06 +01:00
Denys Vuika
72254a4bce
improve update version script (#1741) 2020-10-14 10:38:38 +01:00
Eugenio Romano
877b889dfe
Update update-version.sh
[skip ci]
2020-10-09 18:47:01 +01:00
Denys Vuika
9c7ac17161
Various code fixes (#1704)
* fix typings and missing lib

* fix i18n typo, add typings

* code improvements

* fix missing awaits

* more fixes

* fix bug in the evaluators, simplify code

* more fixes
2020-10-04 18:09:27 +01:00
Maurizio Vitale
9b0c31073a
ACA Run the test against the remote env (#1669)
* Run the test against the remote env

* Use remote user

* exclude e2e and raise issue

* Exlude more

* small change to trigger travis

* add api method to get totalItems of various endpoints

* lint fix

* remove tests from excluded to see what fails

* - fix some issues with the screenshot plugin
- add methods to get total items for some endpoints
- fix some waitForApi calls to consider initial total items number
- sortByModified descending in order to find the item needed by the test when having items on multiple pages

* Try to fix screenshots

* a few more fixes

* Upload screenshots

* a few more fixes

* Delete e2e-output-${retry} at the end

* delete unused variable

* some changes

* lint

* try one more fix

* Try to fix retry

* a few more fixes

* Try to fix retry

* some more fixes

* Fix "on Recent Files" suite

* Move "on Search Results" at the beginning of the class in order to avoid waitForApi:catch

* Empty commit

* Empty commit

* Empty commit

* Run e2e with lite-server

* Exclude protractor report folder

* Remove useless config

* change browser size

* no message

* one more try

* Empty commit

* try to maximize

* fix upload Recent files tests

* revert maximizing the browser

* don't "Run e2e with lite-server"

* fix mark-favorite tests

* few more fixes

* fix viewer and share tests

* test the lite server with retry

* Verify suites with lite server

* some final fixes

* Try to use httpserver

* Print the file and use http server

* Use http-server to fix protractor retry

* more fixes

* forgot a space :|

* remove extra job not needed anymore
rename test data into more specific

* play with the screenshots

* try new run

* trigger one more run

* a few more little fixes

* Fix comments

* Remove comment

* Fix lint error

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
Co-authored-by: iuliaib <iulia.burca@ness.com>
2020-09-18 12:01:55 +01:00
Popovics András
3edf48f050
[AAE-3278] Temporary fix for some flakyness: C297638 and C297638 (#1602) 2020-08-13 23:20:05 +02:00
Denys Vuika
b86db21e93
[ACA-3593] fix library builds (#1593)
* upgrade to solution style tsconfig

* remove missing path

* add e2e config to the solution

* fix config path
2020-08-11 17:13:22 +01:00
Popovics András
32502e60b9
[ACA-3821] Add lite-serve with VSCode launcher (#1584)
* Add lite-serve with VSCode launcher

* Make lite-serve smarter to work with Basic authtype as well

* Change and unify app-config-replace script
2020-08-08 13:12:47 +02:00
Eugenio Romano
805654a65d
update chrom to travis version (#1558) 2020-07-24 18:37:44 +01:00
Eugenio Romano
84dfdbdb7c
Update before_install.sh 2020-07-13 22:28:56 +01:00
Denys Vuika
2854c17cd9
[ADF-5183] Upgrade to Angular 10 (#1506)
* upgrade preparation fixes

* remove fdescribe

* update browserlist config

* ng8

* ngrx 8

* ng9

* ngrx 9

* remove entryComponents

* unit tests

* ng 10

* latest ADF

* fix unit tests

* fix lint

* update deps and travis

* code fixes

* upgrade webdriver

* cleanup libs

* fix test

* update test

* Use browserTarget as target for lite-serve

* Use the update webdriver with CI condition

* Use version console.log('load', path

* Fix path sh

* Try to use remote env

* Add the . to export variabled

* Use hardcoded chrome version

* Remove the run remote

* Avoid to use the escape

* Skip flaky e2e and raise issue ACA-3615

* SKip failing e2e

* Skip flaky e2e and raise issue ACA-3615

* Fix close app toolbar menu and preconditions + tests of  mark-favorite.test.ts  Personal Files section

* Fix mark-favorite tests

* Fix ext-header test

* Fix new-menu tests

* Fix lint

* no message

* Fix viewer tests

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
2020-07-09 09:37:06 +01:00
Denys Vuika
b3a1d10c05
remove bash scripts from postinstall (#1504) 2020-07-02 10:05:49 +03:00
Eugenio Romano
9acaef3066
fix update script version, remove -- not needed 2020-06-29 22:21:21 +01:00
Eugenio Romano
6ab940a5f2
Run update API develop cron 2020-06-29 21:50:29 +01:00
Maurizio Vitale
e9f33c554d
[ACA-3342] Rename API_HOST to API_CONTENT_HOST (#1475)
* Rename API_HOST to API_CONTENT_HOST

* Use the right property called API_CONTENT_HOST

* Replace missing keys
2020-05-22 09:17:55 +01:00
davidcanonieto
cb1b3fa236
[ACA-3346] Fix build script (#1476)
* [ACA-3317] Improve build script

* Improve code

* Remove update-commit-sha.sh
2020-05-22 00:45:55 +01:00
davidcanonieto
7ffecc546c
[ACA-3317] Show app current deployed commit in About Page (#1472)
* [ACA-3317] Show app current deployed commit in About Page

* Fix script

* Fix script param

* Remove commit

* Update proxy.conf.js
2020-05-20 13:15:31 +01:00
Popovics András
0e7eed3cd5
Add missing documentation for extension loader callbacks (#1457)
* Add missing documentation for extension loader callbacks

* Fix messed up pipeline, how it could work until now???

* Travis yml fix

* Travis yml fix
2020-05-07 23:23:11 +02:00
maurizio vitale
794d6a6c83 Rename branch to develop 2020-05-07 12:44:20 +01:00
Denys Vuika
9c3f3b5987 update publish script 2020-05-05 11:01:43 +01:00
Denys Vuika
ff6738685e fix release script 2020-05-05 10:26:16 +01:00
Eugenio Romano
202a235d36
add tag end release (#1442) 2020-05-04 15:26:34 +01:00
Denys Vuika
0b9df2e2c9
remove submodules (#1440) 2020-05-02 18:18:53 +01:00
Denys Vuika
ab137d3145
automatically publish libraries on release (#1439) 2020-05-01 17:21:31 +01:00
Eugenio Romano
73afd46197 build before docker image 2020-04-24 16:11:40 +01:00
Eugenio Romano
cce1b4bdca fix package 2020-04-24 15:18:59 +01:00
Eugenio Romano
fb128c2626
[ACA-3190] Update env from travis (#1430)
* Update env from travis

* update permissions

* install script fix
2020-04-24 14:33:07 +01:00
Denys Vuika
ea6c654e63
unified puppeteer setup (#1412)
* unified puppeteer setup

* try latest chromium and puppeteer
2020-04-15 11:28:58 +01:00
Maurizio Vitale
b240909868
Use the e2e lite-serve (#1390)
* Enable liteserve Fix ecmHost Enable browser open

* Be able to pass a different admin credentials

* use the e2e liteserve

* sync package-lock

* Update webdriver

* Replace the app.conf values before running e2e. Be able to run e2e on external env

* Remove dist mystake

* Remove the baseUrl from the contains

* Use the docker image

* stop postgresql before install

* Try the new strategy

* regenerate the package lock

* Wait for the content to go up

* Change travis with start.sh

* do not override the baseUrl

* Create a different docker compose for e2e

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-04-02 09:21:44 +01:00
Eugenio Romano
77316b77bf
trigger DW build after merge in development or master (#1384)
* trigger DW build after merge in development or master

* Update .travis.yml
2020-03-27 14:32:06 +00:00
Maurizio Vitale
762c7f8974
Fix the scss import and save the build on S3 (#1382)
* Fix the scss import and save the build on S3

* Run unit test without builing again

* Move success after build

* Build with config e2e
2020-03-27 11:55:04 +00:00
Martin Muller
b09c93b103
Git Submodules improvements (#1300)
* fix local adf script + attach _LOCAL to the local created libraries

* fix redirect login for SSO

* optimise package.json
2020-01-17 17:51:40 +01:00
Martin Muller
fd970c1ef1
ACA-2755 sso simplified ADF integrating (#1295)
* Simplify ADF changing
2020-01-10 12:36:10 +01:00
Martin Muller
9007d40a8e
[ACA-2755] SSO: Simplify changing alfresco-js-api (#1290)
* include alfresco-js-api

* provide update submodules as reset for the submodules
2020-01-06 13:33:39 +01:00
Denys Vuika
900d002a08 cleanup update-version script 2019-06-20 10:28:41 +01:00
Denys Vuika
f0a3f6f630
upgrade to latest JS-API and ADF (#896)
* improved update script and latest ADF libs

* upgrade to latest js-api and ADF

* upgrade tests

* update viewer code

* use @alfresco/js-api

* update to latest adf

* fix deprecation issues

* update viewer

* fix copy/move dialog

* change expect

* fix remove site from favorites

* fix unit test

* update adf version

* use ADF upload dialog
2019-01-22 14:10:48 +00:00
Denys Vuika
93b738cf31
update to latest ADF libs (#639)
* update to latest ADF libs

* restore previous Core/Content libs
2018-09-18 15:08:26 +01:00
Denys Vuika
0584d08871 update rancher script permissions 2018-04-20 13:05:05 +01:00
Denys Vuika
fb1806ed64 maintenance scripts 2018-04-20 12:56:17 +01:00
Denys Vuika
cbc0039887 upgrade script and dockerfile polishing (#315)
* fix upgrade script

* fix dockerfile lint issues
2018-04-18 12:06:55 +03:00
Denys Vuika
d7be8cf844
evaluate versions and update with package lock (#249) 2018-03-22 18:07:28 +00:00
Eugenio Romano
43215db84b fix update script (#235)
* update version script

* fix js-api update
2018-03-14 15:10:10 +00:00