62 Commits

Author SHA1 Message Date
Denys Vuika
77cac1faa6
remove unused commonjs libs (#3129) 2023-04-19 05:21:36 -04:00
Denys Vuika
9609393d1e
[ACS-4865] setup and enable code coverage for all projects (#3074) 2023-03-20 09:06:19 -04:00
Denys Vuika
25f9a03110
[ACS-4535] cleanup unused dependencies (#3064)
* cleanup unused dependencies

* more cleanup
2023-03-16 05:52:26 -04:00
MichalKinas
01f7e3c287
[ACA-4652] Run unit tests as one GH job, add e2es as GH job (#2997)
* [ACA-4652] Run unit tests as one GH job, add e2es as GH job

* [ACA-4652] Fix yaml syntax

* [ACA-4652] Fix if syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Each job must contain uses or run

* [ACA-4652] Migrate uploading/downloading build artifacts, migrate before install

* [ACA-4652] Fix bad substitution

* [ACA-4652] Fix string merging in bash

* [ACA-4652] Bash fix

* [ACA-4652] Install aws before downloading/uploading artifacts

* [ACA-4652] Add setup with aws config action

* [ACA-4652] Add aws-region

* [ACA-4652] Use aws default region

* [ACA-4652] Log github event

* [ACA-4652] Log workflow run

* [ACA-4652] Fix commit logging

* [ACA-4652] Use action to get current commit msg

* [ACA-4652] Add correct version of build tools

* [ACA-4652] Get commit msg from env

* [ACA-4652] Get commit msg in the same job

* [ACA-4652] Final commit msg test

* [ACA-4652] Fix logging

* [ACA-4652] Cleanup commit msg, correct s3 bucket

* [link-adf:AAE-12767] Test adf linking

* [link-adf:AAE-12767] Test adf linking finalize

* [link-adf:AAE-12767] Tweak finalize job

* [link-adf:AAE-12767] Get commit msg in before install

* [link-adf:AAE-12767] Add missing adfprod configs

* [ACA-4652] Migrate before and after e2e scripts to GHA

* [ACA-4652] Add before e2e logging

* [ACA-4652] Use new GH secrets

* [ACA-4652] Remove logs, add envsub

* [ACA-4652] Install envsub globally

* [ACA-4652] Log replaced config

* [ACA-4652] Add missing env variable

* [ACA-4652] Add e2e run as GH action

* [ACA-4652] Remove logging, fix download path

* [ACA-4652] Disable protractor smartrunner artifact

* [ACA-4652] Install webdriver-manager

* [ACA-4652] Disable failing download on Travis, npm ci in before e2e

* [ACA-4652] Missing shell

* [ACA-4652] Restore artifact download

* [ACA-4652] Download smartrunner artifact only when present

* [ACA-4652] Check run attempt

* [ACA-4652] Correct attempt check

* [ACA-4652] Stop running e2es in Travis for now

* [ACA-4652] Run Travis e2es again, add test suite id

* [ACA-4652] Add test suite id to after e2e action

* [ACA-4652] Remove additional install

* [ACA-4652] CR fixes, remove some Travis config that is already migrated

* [ACA-4652] Cleanup setup leftover

* [ACA-4652] Propagate aws credentials

* [ACA-4652] Fix aws default region

* [ACA-4652] Misspelled variable fix

* [ACA-4652] Propagate aws region

* [ACA-4652] Rename PR workflow

* [ACA-4652] Download artifact only if bucket exists

* [ACA-4652] Run test even is aws bucket doesn't exist

* [ACA-4652] Fix aws download error

* [ACA-4652] Check if file exists before downloading

* [ACA-4652] Remove uploading/downloading e2e artifact after successful run

* [ACA-4652] Add missing check to finalize stage
2023-03-02 03:35:13 -05:00
Eugenio Romano
472a19b67d
[AAE-12675] upgrade pdfjs accordingly to ADF (#2990)
* [link-adf:dev-eromano-AAE-12675] fix pdfjs version to use last version

* [link-adf:dev-eromano-AAE-12675] fix pdfjs version to use last version
2023-02-20 14:47:57 +01:00
Denys Vuika
5b054f234d
[ACS-4536] deprecate and cleanup aca-settings module (#2978) 2023-02-11 00:28:29 +00:00
Bartosz Sekula
93cc64b9a9
[AAE-11496] Make aca-content buildable (#2859) 2023-01-31 19:32:27 +01:00
Bartosz Sekula
c8e861907d
[AAE-11496] Publish aca-viewer and aca-preview (#2945)
* [AAE-11496] Publish aca-viewer and aca-preview

* fix tests
2023-01-31 15:35:51 +01:00
Bartosz Sekula
7a176eb9a2
[AAE-11496] Build and publish aca-about and aca-settings (#2942)
* [AAE-11496] Build and publish aca-about and aca-content

* added libs to publish
2023-01-30 10:28:39 +01:00
Bartosz Sekula
010821d309
[AAE-11496] Build and publish adf-office-services-ext (#2935) 2023-01-27 17:49:17 +01:00
Bartosz Sekuła
a8268c680a
[AAE-11496] Publish libraries to npm (#2880)
* [AAE-11496] Publish libraries to npm registry

* update

* update

* added md

* deprecate old version
2023-01-26 08:53:53 +01:00
Denys Vuika
073deda1c8
add missing linting for aca-content (#2910)
* add missing linting for aca-content

* improve node options for lint run
2023-01-17 13:46:51 +00:00
Bartosz Sekuła
c5951edccf
[AAE-11496] - Make aca-shared and aca-folder-rules buidlable (#2851)
* [AAE-11496] Fix aca-shared build

* Add build option to aca-folder-rules

* Add small test for aos
2022-12-20 19:21:22 +01:00
Bartosz Sekuła
e570ef8da0
[AAE-11496] Move 'content-plugin' to projects folder as 'aca-content' (#2817)
* [AAE-11496] Move content-plugin to projects

* Fix unit test
2022-12-20 18:15:34 +01:00
MichalKinas
cb84a06e25
[ACA-4625] Add ADF linking to unit tests and e2es (#2853) 2022-12-20 09:40:33 +00:00
MichalKinas
5ac0ff616d
[ACA-4625] ADF linking in ACA (#2841)
* [ACA-4625] ADF linking in ACA

* [ACA-4625] ADF linking docs

* [ACA-4625] Move adf linking to before install script

* [ACA-4625] Move ADF linking to before_install script

* [ACA-4625] Delete unused stage from Travis
2022-12-15 12:55:25 +01:00
SheenaMalhotra182
692952aa31
[ACS-3967] added open sans font to ACA (#2775)
* added open sans font to ADW

* removed unused fonts
2022-11-24 15:13:04 +05:30
Bartosz Sekuła
456454fee1
[AAE-10533] Generic App shell for HxP applications (#2679)
* [AAE-10533] Generic App shell for HxP applications

* refactor

* fix scss mixin path

* remove forRoot in content-plugin

* remove provided routers

* revert router service

* revert template usage

* Added shell markdown

* Move login component to content-plugin

* Moved logic from app.component to app.service

* remove upload-area from shell

* cleaning

* cleaning

* update md

* abstract preferences

* allow to set shell parent route

* fix preferencesService name

* Fix for sidenav

* Fix CR comments

* [ci:force]

* move translation service mock to aca-shared

* fix e2e

* Fix page title

* remove drop area wrapper from whole application

* Fix e2e

* [ci:force]

* Remove blank page from shell

* Add upload files dialog

* [ci:force]

* Remove ExtensionsDataLoaderGuard from shell
2022-11-23 13:45:32 +00:00
Denys Vuika
fdc1dadf26
[ACA-4612] ACA: integrating with the local ADF source code (#2658)
* linked ADF runs

* configure excludes
2022-09-20 16:17:50 +01:00
Denys Vuika
cd8ffe70c8
cleanup unused theming (#2624) 2022-09-15 09:56:13 +01:00
Denys Vuika
69cb107dd9
Angular 14 upgrade (#2598)
* angular 14

* material 14 and ADF 14

* latest ADF 5.x and theme import fixes

* use latest ADF 5.x

* update build command

* update travis command

* upgrade ngrx to v14

* upgrade flex layout lib

* fix after rebase

* fix after rebase

* upgrade to latest ADF
2022-08-25 12:05:00 +01:00
Denys Vuika
fa68c6fcf4
Angular 13 upgrade (#2493)
* upgrade to Angular 13

* upgrade datetime picker libs

* upgrade to eslint 13

* fix eslint issues

* downgrade datetime picker

* fix scss builds

* use proper node version on travis

* fix e2e check

* fix test run

* upgrade ngrx to 13

* use latest ADF 5.x

* add missing ban plugin for eslint

* use latest ADF 5.x branch

* use latest ADF 5.x

* use latest ADF

* sync libs with adf and apps

* Updating to the right version of mat-datetime-picker

* Fix Test Suites: Search - AAE-10222

* Satisfy linter

* upgrade to adf 5.0.0-angular.13

* upgrade adf to 5.0.0-angular.13.1

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-08-09 18:39:25 +01:00
Denys Vuika
8312bf8d84
[ACS-3217] initial project scaffold for the Folder Rules (#2566)
* initial project scaffold

* visibility rules placeholders

* custom scope for rules evaluators

* unit tests and minor improvements

* update e2e

* add write permission check

* update e2e

* update e2e

* enable the env variable

* fix tests

* update e2e

* fix e2e
2022-07-08 10:53:53 +01:00
Vito
23262d0949
[AAE-7101] - Introduced Eslint to ACA and added some fix to avoid errors (#2424)
* Conversion to ESlint

* Fixed ESLINT for ACA

* [AAE-6638] - typo in eslint file

* [AAE-6638] - attempt to fix problem on linting

* Check caching to improve lint speed

* Improved eslint for content-app

* Added new cache

* Remove cache file

* Removed eslintcache

* Attempt to make eslint run on travis

* Slow ng lint on travis

* Fixed eslint error
2022-02-09 08:40:04 +00:00
Maurizio Vitale
3cb6152ad7
[AAE-6455] Rename the structure to be compliant with nx (#2376)
* Rename the structure to be compliant with nx

* Fix typo

* Fix ts path
2021-12-08 16:06:12 +00:00
Maurizio Vitale
4d1dab60b2
[AAE-6555] Rename the app into content-ce (#2375)
* Rename the app into conten-ce

* switch test to singleRun true

* Fix typo

* Use single run false for libs

* run test content-ce
2021-12-07 18:23:20 +00:00
Maurizio Vitale
056ff4b011
[AAE-6455] use tpl format instead of json and replace values (#2374)
* Use the tpl instead of json and replace values for build start and e2e

* Use different license file name to avoid conflicts

* use the travis value

* Use the general ng build and add doc
2021-12-07 15:38:01 +00:00
Maurizio Vitale
c78e338285
Rename the dist folder to content-ce and use env (#2373) 2021-12-07 10:11:56 +00:00
Urse Daniel
422f8bc986
[ADF-5378] Rotate image: auto increment version on submit (#2099)
* add cropperjs dependency

* remove unnecesary dependencies

* misstype

* misstype

* update core package & added testing

* change with latest typos

* update tests & integrate jasmine-marbles
2021-05-06 13:42:00 +01:00
Popovics András
2859b16356
[AAE-4628] Release without the About and Settings modules, but have them baked into the app otherwise (#2022) 2021-02-25 21:52:14 +00:00
Marcello Teodori
446232594e
AAE-4023 fix add slash to url if missing (#1823) 2020-11-26 14:47:08 +00:00
Denys Vuika
aba16339dc
[ACA-3775] add missing plugin configuration (#1820)
* add missing plugin files, update readme

* add missing providers

* about and settings extensions

* leave only about
2020-11-24 12:29:56 +00:00
Denys Vuika
13fc786e2b remove analytics and force npm for ng update 2020-11-05 08:49:58 +00:00
Denys Vuika
88e94a4ec9
[MNT-21386] move settings to a separate project (#1676)
* move settings to a separate project

* rework theming
2020-09-17 09:33:27 +01:00
Denys Vuika
6612a702c0
[MNT-21386] about extension (#1674)
* separate project for about extension

* move components to the about project

* remove about from the app

* update travis

* fix lint
2020-09-16 08:48:17 +01:00
Denys Vuika
87f6977079
fix commonjs warnings for angular cli (#1609) 2020-08-14 19:46:24 +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
aee3afdeb8
Fix smart runner (#1570)
* [ACA-3799] add prefix filter

* add smart runner

* fix resolve

* add some configuration for smartrunner

* simplify

* fix

* we need to pass invertGrep in the devServerTarget because Angular overwrite it if you use the dev server
2020-08-01 00:26:22 +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
Roxana Diacenco
6e17405787
[ACA-3392] Create aca-testing-shared project to be reused in ADW (#1480)
* Move e2e framework to aca-shared/testing

* * Update e2e suites imports from @alfresco/aca-shared/testing
* Remove testing framework from 'e2e' directory

* Move e2e testing framework to `aca-testing-shared` project
2020-06-04 22:40:07 +02: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
Popovics András
9a87564c8a
[ACA-2952] Remove unnecessary build steps for dev-server start, add first bit of .env usage (#1379)
* [ACA-2952] Remove unnecessary build steps for dev-server start, add first bit of .env usage

* Fix doc owner
2020-03-26 17:03:38 +01:00
Denys Vuika
04f4a28a7d setup bundle budgets 2019-07-12 12:00:48 +01:00
Denys Vuika
9bd5689747 [ACA-2411] include application license to output 2019-06-20 16:14:19 +01:00
Denys Vuika
9db1c2989f
shared library (#1080)
* shared project scaffold

* rules package

* move evaluators to shared lib

* add rxjs peer dependency

* use dedicated material namespaces

* create store package, move actions

* move selectors to shared library

* move generic effects to shared lib

* move routing extensions

* minor code reorg

* fix unit tests

* move content-api service

* move permission service

* update tests

* update plint config

* move page layout

* css variables

* use dedicated css property

* move generic error component to shared lib

* fix test
2019-04-25 14:56:54 +01:00
Denys Vuika
0b60514a01
[ACA-2239] initial localisation support for AOS extension (#988)
* setup i18n for aos extension

* translate action names, generic icon

* unit tests and bug fixes

* use AOS testing with CI
2019-03-05 12:50:16 +00:00
Denys Vuika
65e0a1138c Keensoft AOS extension (#920)
* aos extension

* update karma

* lint improvements and fixes

* update script

* update scripts

* update scripts

* reduce about 56.4 kB of polyfills for modern browsers

* deficated aosHost value to have AOS on separate servers

* context menu and toolbar

* visibility evaluator

* code improvements and fixes

* support locking, lock checks
2019-02-08 15:45:39 +02:00
Denys Vuika
26b4b0684f [ACA-805] about screen enhancements (#813)
* upgrade to latest adf-extensions

* switch to ADF RepositoryState

* show extensions on About page, i18n fixes

* update docs

* cleanup about styles

* greatly simplify app dependencies rendering

* fix linting

* fix tests
2018-11-20 21:15:05 +02:00
Denys Vuika
3a8dbcd7a4 upgrade to Angular 7 (#758)
* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* one more try to fix e2e snackbar issues

* yet another try

* only wait in some tests

* diable animations, extra e2e app configuration

* update tomcat e2e script

* fix prod build memory use

* use another type of wait

* disable check

to be investigated separately
2018-10-31 17:53:36 +02:00
Denys Vuika
160d9763a6 reduce external dependencies (#705) 2018-10-11 19:24:11 +03:00