53 Commits

Author SHA1 Message Date
MichalKinas
3ca4a91389
[ACS-4539] Make ms-office as secondary point of aca-content (#3180)
* [ACS-4539] Make ms-office as secondary point of aca-content

* [ACA-4539] Fix tsconfig path

* [ACS-4539] Run ms-office unit tests as part of aca-content
2023-05-10 09:43:51 +01:00
MichalKinas
6794ea58ac
[ACS-4537] Make aca-about secondary entry of aca-content (#3179)
* break dependency on core module

* convert about to secondary entry

* Fixes after rebase

* [ACS-4537] - Copy about assets

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-05-09 14:32:06 +01:00
Denys Vuika
23814e1e76
Optmise injections and imports (#3174)
* cleanup base page injections

* optimise breakpoint observer

* cleanup subscriptions

* optimise upload service injections

* optimise router imports

* fix test setup

* fix tests
2023-05-09 14:30:33 +01:00
Denys Vuika
df33a411f4
Revert "[ACS-4537] Make aca-about secondary entry of aca-content (#3170)" (#3172)
This reverts commit 222f487e70842b0ba83209c6b8dd47c0da9b0e80.
2023-05-05 21:24:50 +01:00
MichalKinas
222f487e70
[ACS-4537] Make aca-about secondary entry of aca-content (#3170)
* break dependency on core module

* convert about to secondary entry

* Fixes after rebase

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-05-05 17:00:19 +02:00
vijayanssettu
c2a1dd9ae5
[ACS-3742] Bug Fixes for new Layout (#3149)
* Bug Fixes

* Bug Fixes

* Bug Fixes

* Bug Fixes

* implemented review comments

* ACS-3742 Renamed title

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-04-28 09:41:12 -04:00
MichalKinas
5fa5ac4117
[ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
Yasa-Nataliya
42479d92cc
[ACS-3742] Added styles for new layout design (#3137)
* added styling changes

* styling changes

* fixed the button text alignment

* style changes

* renamed the theme variable
2023-04-25 10:49:08 -04:00
AleksanderSklorz
e9bc42df10
[ACS-4534] nx workspace support for aca (#3143)
* ACS-4534 Added nx workspace support

* ACS-4534 Updated package-lock.json file

* ACS-4534 Configured cache directory and affected command

* ACS-4534 Updated README

* ACS-4534 Updated more README files

* ACS-4534 Fixed lint

* ACS-4534 Address comment for readme

* ACS-4534 Removed redundant build-libs script

* ACS-4534 Fixed start script

* ACS-4534 Updated some left documentation

* ACS-4534 Added more helper scripts, addressed PR comments

* ACS-4534 Updated package-lock.json after rebasing

* ACS-4534 Fix stylelint issue
2023-04-25 15:34:34 +02:00
SheenaMalhotra182
ef5cbb07d0
[ACA-4692] fixed focus for create and upload modals (#3146)
* fixed focus for modals

* implemented review comments
2023-04-25 08:04:06 -04:00
Gloria Camino
c335a148b9
LOC-434 - further updates to ACA 3.0 - localized files in 16 languages (#3145)
* LOC-434 - further updates to ACA 3.0 - localized files in 16 languages

* LOC-434 - small correction made to a PL file. please USE THIS FILE
2023-04-24 18:11:38 -04:00
swapnil-verma-gl
9148ccc6a9
[ACA-4679] Added code changes and env variables to enable DownloadPrompt and FileAutoDownload features on ACA (#3127)
* [ACA-4679] Added docker variables, app.config.json.tpl config and additional code for enabling non-responsive file preview download and file auto download features in ACA

* [ACA-4679] Added defaults for downloadPrompt for viewer and fileAutoDownload features. Updated variable names from 'nonResponsiveDialog' to 'downloadPrompt'

* [ACA-4679] Added unit test cases for FileAutoDownloadService

* [ACA-4679] Updated env variable references from NonResponsiveDialog to DownloadPrompt

* [ACA-4679] Added missing licence header on new files

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Removed unneeded env variable configuration for GithubActions jobs

* [ACA-4679] Updated .env file configuration in README.md
2023-04-20 18:14:13 -04:00
Yasa-Nataliya
6fac964d94
[ACS-3742] Layout changes for workspace (#2980)
* Layout changes for workspace sidemenu

* added header and search layout changes

* implemented review comments and removed process related code

* Added expand and collapse functionality

* Modified the paths

* linting fixes

* use standard material settings icon

* use only specific modules needed for page layout

* use standard "menu" icon for now

* use standard avatar icon for now

* cleanup user profile menu item

* cleanup About component layout

* remove hardcoded settings route

* deprecate "headerImagePath"

* deprecate "headerTextColor" customisation

* deprecate "headerColor" customisation

* proper toggle of the side menu

* proper sidebar header implementation

* user profile basic cleanup

* minor fixes

* cleanup buttons

* remove old app layout and use ADF one

* remove old header component

* cleanup old layout module

* fix unit tests

* cleanup unit tests

* cleanup header actions module

* deprecate unused main-action component

* cleanup styles

* restore removed method

* cleanup search results toolbar

* restore expand menu functionality

* cleanup code, back buttons for about and profile

* restore original code

* proper collapse button

* remove unused i18n key

* styles cleanup

* cleanup sidebar

* cleanup user profile

* add safety checks for focus after close

* layout fixes

* update view profile unit tests

* code cleanup after reviews

* cleanup header actions

* fix menu population, user info

* improved upload and create actions

* remove useless tests

* fix folder rules tests

* search button workaround

* e2e: remove wait

* add create/upload tooltips

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* try fix e2e

* update e2e extension configs

* try fix e2e

* try fix e2e

* fix eslint config

* try fix e2e

* move search button to extensions

* move upload and create to extensions

* remove header actions as no longer needed

* cleanup

* e2e fixes and cleanup for unwanted files

* linting fixes

* linting fixes

* added button type to support text buttons

* linting fixes

* added more unit tests to achieve code coverage requirement

* fixing code covergae for aca-content

* fixed code coverage for aca-shared

* linting fixes

* linting fixes

* cleanup

* version fix

---------

Co-authored-by: SheenaMalhotra182 <sheena.malhotra@globallogic.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: SheenaMalhotra182 <sheena.malhotra@contractors.onbase.com>
2023-04-20 07:18:24 -04:00
Gloria Camino
c9163038ab
LOC-416 - Updated UI files for ACA in 16 languages (#3131) 2023-04-19 08:20:17 -04:00
Bartosz Sekula
4956655a80
[AAE-13780] Use theme variables for about page (#3130) 2023-04-19 11:41:40 +02:00
Bartosz Sekula
f3f2b18e52
[AAE-13780] Fix custom theme components colors (#3128) 2023-04-18 16:07:03 +02:00
Bartosz Sekula
9f3ce1b608
[AAE-13780] Fix custom theme colors (#3124) 2023-04-17 17:21:13 +02:00
Nikita Maliarchuk
9717dfb07e
[ACS-4788] Add support for the Categories facet (#3120)
* [ACS-4788] added categories facet

* [ACS-4788] changed order of a chip
2023-04-17 08:25:28 -04:00
Bartosz Sekula
2b2ce642ae
[AAE-13640] Custom theme fix (#3122) 2023-04-14 17:21:43 +02:00
Nikita Maliarchuk
7245e994c5
[ACS-4959] Update license headers to reflect Hyland Copyright Guidelines (#3115)
* [ACS-4959] install eslint-plugin-license-header plugin

* [ACS-4959] configure new license

* [ACS-4959] aca-folder-rules license update

* [ACS-4959] content-ce license update

* [ACS-4959] app-e2e license update

* [ACS-4959] adf-office-services-ext license update

* [ACS-4959] aca-shared update license

* [ACS-4959] aca-about license update

* [ACS-4959] aca-content license update

* [ACS-4959] aca-viewer & aca-preview license update

* [ACS-4959] other files license update

* [ACS-4959] patern fix

* [ACS-4959] vendors updated

* [ACS-4959] path fix

* [ACS-4959] some more vendors update

* [ACS-4959] license update
2023-04-13 04:32:30 -04:00
Yasa-Nataliya
5ae99da59d
fixed the primary text color (#3105) 2023-04-06 09:37:59 +00:00
Nikita Maliarchuk
af4d1ab2bd
added i18n string for categories facet (#3106) 2023-04-04 11:44:52 +02:00
Thomas Hunter
cfdae7efdb
[ACS-4968] Sort tags by usage in search facet (#3100) 2023-03-30 15:35:26 +01:00
AleksanderSklorz
1553142364
[ACS-4126] Removed tags from libraries (#3093)
* ACS-4126 Removed tags from libraries

* ACS-4126 Fixed e2e
2023-03-28 13:34:23 -04:00
Thomas Hunter
2067ad814c
[ACS-4125] Add support for the tags search facet (#3070)
* ACS-4125 Display tags facets in search

* Added new config options

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-03-24 11:14:01 +00: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
86c0bbb998
[ACS-4837] eslint spellcheck support (#3072)
* eslint spellcheck support

* restore node memory settings for linting
2023-03-17 05:31:23 -04:00
Denys Vuika
b939d1c582
[ACS-4792] provide support for style linting (#3055)
* [ACS-4792] provide support for style linting

* style fixes

* style fixes

* style fixes

* disable yarn licenses until the issue is fixed

* fix package lock

* fix after rebase
2023-03-14 04:16:36 -04:00
Denys Vuika
8efd832a10
[AAE-10777] upgrade to latest ADF with common content services (#2970)
* upgrade to latest ADF with common content services

* update fix [link-adf:dev-eromano-AAE-10777]

* use latest ADF

* fix unit tests

* fix unit tests

* fix tests

* use latest ADF

* fix theming

* remove unused variables

* fix user info

---------

Co-authored-by: eromano <eugenioromano16@gmail.com>
2023-03-11 10:21:13 -05:00
Denys Vuika
4292f0fbc0
update libs packages (#3044) 2023-03-07 17:06:18 +00:00
Tomasz Gnyp
3294606fc0
[AAE-12877] Fix - The left sidebar menu is not expanding after clicki… (#3023)
* [AAE-12877] Fix - The left sidebar menu is not expanding after clicking on hamburger menu

* unit test improvement
2023-03-03 13:49:31 +01:00
Gloria Camino
bd025f500d
LOC-409 Updated string for Mobile in 16 languages plus some fixes. (#3026) 2023-03-02 11:06:59 -05: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
Jatin Chugh
cf4e5fe97b
[MOBILEAPPS-1707] Custom URL schema new issues from Frontend - dark squared shade for Open in App button, Banner is disappearing for the PDF files in ios and android (#3018)
* Custom URL schema issues after rigorous testing

* review comments addressed

* [MOBILEAPPS-1707] removed added space between classes

* [MOBILEAPPS-1707] removed important and added mat-button for higher priority
2023-02-28 22:19:38 +05:30
Bartosz Sekula
d0817a2504
[AAE-12876] Custom UI cannot be fetched and returns error 404 (#3020) 2023-02-28 13:30:45 +01:00
Bartosz Sekula
c15fe16898
[AAE-12833] There are console errors after opening file view. (#3011) 2023-02-24 17:09:21 +01:00
Denys Vuika
748e60f6a4
[ACS-4702] fix license fields for libs (#3009) 2023-02-24 14:36:55 +00:00
swapnil-verma-gl
ce29b36605
[ACS-4259] Updated CSS rules for DateTimePicker (#2986)
* Updated CSS rules for DateTimePicker to show which date is currently focused on when navigating using the keyboard.

* [ACS-4259] Added variables for CSS colors

* [ACS-4259] Updated CSS color variable names to be more generic and not include the colors themselves.

* [ACS-4259] Added CSS variables for white background used in datetimepicker cell background

* [ACS-4259] Resolved typo

* [ACS-4259] Added CSS variables for datetimepicker cell selected background color and cell focus background color
2023-02-17 12:10:35 -05:00
Vito Albano
910a6c27cb
fixed style template generation (#2996) 2023-02-17 09:10:20 +00:00
Alfresco Build
197ef8f0e3
Update branch for ADF 6.0.0-A.2-8282 and JS-API 5.4.0-639 [ci:force] (#2994)
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.2-8282 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 4195361652

* [ci:force][auto-commit] Update @alfresco/adf-core to 6.0.0-A.2-8282 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 4195361652

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 6.0.0-A.2-8282 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 4195361652

* [ci:force][auto-commit] Update @alfresco/adf-cli to 6.0.0-A.2-8282 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 4195361652

* [ci:force][auto-commit] Update @alfresco/adf-testing to 6.0.0-A.2-8282 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 4195361652

* Fixed theming on update

---------

Co-authored-by: Vito Albano <vito.albano@alfresco.com>
2023-02-16 16:33:35 +00:00
Alfresco Build
4065d39ca7
Update branch for ADF 6.0.0-A.2-8187 and JS-API 5.4.0-639 [ci:force] (#2991)
* [ci:force][auto-commit] Update @alfresco/js-api to 5.4.0-639 for branch: update-alfresco-dependencies originated from @alfresco/js-api PR: 4185259640

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.2-8187 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 4185259640

* [ci:force][auto-commit] Update @alfresco/adf-core to 6.0.0-A.2-8187 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 4185259640

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 6.0.0-A.2-8187 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 4185259640

* [ci:force][auto-commit] Update @alfresco/adf-cli to 6.0.0-A.2-8187 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 4185259640

* [ci:force][auto-commit] Update @alfresco/adf-testing to 6.0.0-A.2-8187 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 4185259640

* [AAE-10779] fix user-info refactor bc

---------

Co-authored-by: Diogo Bastos <diogo.bastos@hyland.com>
2023-02-16 09:23:50 +00:00
MichalKinas
a6e6f08df0
[ACS-4124] Display tags applied to file in files list (#2974)
* [ACS-4124] Display tags applied to file in files list

* [ACS-4124] CR fixes

* [ACS-4124] Hide tags for smaller displays

* [ACS-4124] E2e fixes

* [ACS-4124] E2e fixes
2023-02-15 17:29:25 +01:00
Jatin Chugh
c10a1370a4
[MOBILEAPPS-1654] Open in App pop-up implementation in android and iphone (#2889)
* Open in App pop up implementation

* review comments addressed

* unit test cases added for open-in-app component and aca-mobile-app-switcher-service and review comments addressed

* cspell changes

* test case build failing issue resolved

* review comments addressed of using specific type and void in functions that do not return anything

* remaining review comments fixed for type cases

* added check for ipad and ipod

* checkForIOSDevice function removed and checked for ios device in same line

* spacing issues addressed

* missing unit tests added and some review comments addressed

* app.config.json file updated

* removed configuration variables from default Readme file

* used only boolean instead of string conversion in app service file

* session storage name change

* review comments addressed
2023-02-10 13:43:24 +05:30
Jatin Chugh
6b72ef5b52
[ACS-4276] Header section content does not reflow to fit horizontally within the viewpoint when the page is adjusted to an equivalent width of 320px or 400% zoom (#2976) 2023-02-09 18:52:26 +00:00
Alfresco Build
704f0a8b65
Update branch for ADF 6.0.0-A.2-7992 and JS-API 5.4.0-561 [ci:force] (#2952)
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-core to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-cli to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-testing to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 37793

* [AAE-10778] Fix viewer BC: replace adf-viewer with adf-alfresco-viewer

* Update @alfresco/adf-extensions and @alfresco/adf-content-services to 6.0.0-A.2-7992

* [AAE-10778] Fix viewer BC: fix Unit node effects unit tests, replace ViewUtilService with RenditionViewerService since method 'printFileGeneric' has been moved from ViewUtilService to RenditionViewerService

* Fix comments-tab unit test: provide a mock onLogout value

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2023-02-02 11:07:02 +01: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
dependabot[bot]
5a11cc7cc8
Build(deps-dev): Bump prettier from 2.5.1 to 2.8.3 (#2907)
* Build(deps-dev): Bump prettier from 2.5.1 to 2.8.3

Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.8.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* fix linting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-01-30 14:52:42 +00:00
Bartosz Sekuła
87c1c2b5df
[AAE-11496] Make aca-shared buildable (#2916) 2023-01-24 19:36:26 +00: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