Commit Graph

483 Commits

Author SHA1 Message Date
Mykyta Maliarchuk
38d68193bd [ACS-5564] Bugfix: Expand navigation menu icon is visible even when navigation menu is expanded (#3370)
* [ACS-5564] bug fixed

* [ACS-5564] fixed test

* [ACS-5564] simplify provider
2023-07-27 11:12:14 +02:00
AleksanderSklorz
5508ff1362 [ACA-4712] disallow using important for styles (#3368)
* ACA-4712 Added rule to prevent using important for styles

* ACA-4712 Removed important from some global styles and from manage rule component

* ACA-4712 Removed important from rest global and theme styles

* ACA-4712 Removed usages of important from styles for components
2023-07-26 09:43:14 +02:00
Grzegorz Jaśkowski
4019508f0f [ACS-5638] hide checkboxes in file lists (#3357)
* ACS-5638 hide checkboxes in file lists

* ACS-5838 change C279270 test not to use multiselect related function
2023-07-26 09:15:06 +02:00
MichalKinas
15048b4015 [ACS-5179] Search facet tabbed component styles (#3362) 2023-07-24 19:14:45 +01:00
Adam Zakrzewski
6d7287d668 refactoring for create folder tests (#3360)
* refactoring for create folder tests

* adding spinnerWaitForReload

* update optional
2023-07-24 14:19:17 +02:00
Denys Vuika
9204194e53 [ACS-5675] replace breadcrumbs with H1 tags (#3358)
* rename tabs css class to match the ACA app

* fix incorrect tooltip for close button

* fix close button layout and a11y

* lazy loading for details component

* replace breadcrumbs with H1 tag

* replace breadcrumbs with H1 tag

* cleanup unused playwright pages

* remove breadcrumbs from e2e

* remove line height
2023-07-21 10:42:23 +01:00
Mykyta Maliarchuk
e2257bad23 [ACS-5266] Enabled new component for Categories filter (#3344)
* [ACS-5266] enabled new component for categories filter

* [ACS-5266] linting
2023-07-21 09:24:58 +02:00
AleksanderSklorz
d3be553fd6 [ACS-5183] properties facet file size and file type (#3347)
* ACS-5183 Started updating configuration for file type and size

* ACS-5183 Corrected file extensions

* ACS-5183 Added more file extensions

* ACS-5183 Corrected configuration

* ACS-5183 Fix e2e

* ACS-5183 Added translation key

* ACS-5183 Changed jira for excluded e2es

* ACS-5183 Corrected import

* ACS-5183 Added license header
2023-07-20 08:38:34 +02:00
Akash Rathod
9a585c1642 [ACS-5604] viewer protected file test playwright (#3354)
* re-enable protracotr test

* viewer protected file tests

* remove navigate though pages
2023-07-19 16:56:03 -04:00
Denys Vuika
f9f5834fb7 [ACS-5634] remove unused i18n resources (#3348)
* remove unused "settings" section

* remove unused "avatar" section

* remove unused "toolbar" section

* remove unused i18n section

* remove unused i18n section
2023-07-19 11:03:39 +01:00
Denys Vuika
96cc0111d6 [ACS-5646] fix metadata layout for larger areas (#3352) 2023-07-19 05:03:00 -04:00
Denys Vuika
a6ab4a34b1 [ACS-5631] Improved page layout and provide documentation (#3346)
* page layout supports CSS selectors

* migrate to using CSS selectors for page layout

* add docs
2023-07-18 14:13:33 +01:00
Adam Zakrzewski
4ded3b200d [ACS-5511] create library playwright tests (#3318)
* [ACS-511]-adding-library-tests

* updating tests and adding before and after all

* spinner timeouts update

* updating import statement

* update error locator

* adding random method in general utils

* [ACA-4715] break dependency on envsubst (#3325)

* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json

* [ACS-511]-adding-library-tests

* adding lost MyLibrariesPage import

* rebase page initialization merge

* [ACS-511]-adding-library-tests

* comma deleted

* fix readability and indentation

* adding id to info drawer

* adding index and updating import

* updating after wrong rebase

* after rebase

* updating tests and adding before and after all

* updating import statement

* update error locator

* adding random method in general utils

* [ACS-511]-adding-library-tests

* comma deleted

* fix readability and indentation

* adding id to info drawer

* adding index and updating import

* next after rebase

* update delete in folder tests

* providing string as parameter

* after rebase

* updating tests and adding before and after all

* adding random method in general utils

* [ACS-511]-adding-library-tests

* comma deleted

* [ACS-511]-adding-library-tests

* adding index and updating import

* providing string as parameter

* delete protractor create-library tests

* update for calls in expect method

* bump to 4.2.0 (#3334)

* adding random method in general utils

* adding index and updating import

* providing string as parameter

* after rebase

* providing string as parameter

* update for tests C280026 and C280027

* raising time for visibility check

* quotes change in error strings

* adding waitFor method

* raising timeout in isErrorMessageDisplayed method

* updating mat-error locator

* adding press tab after fill

* update general-utils to utils for random

* updating label typo

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-07-18 09:28:54 +02:00
Denys Vuika
9cf317dfbc [ACS-5627] migrate to standalone components (#3339)
* standalone preview component

* remove deprecated routes

* remove preview routes

* standalone viewer

* toggle favorite

* edit offline

* fix tests

* toggle info drawer

* toggle join library

* toggle favorite library

* view node

* convert app toolbar module to standalone directives

* convert sidenav module to standalone

* convert search module to standalone

* shared link view

* shared files

* reduce module files

* files component

* files component cleanup

* cleanup directives module

* favorite libraries

* favorites component

* recent files component

* libraries component

* cleanup

* remove material module barrel

* open in app component

* cleanup modules

* migrate toolbar module to standalone

* split page layout module

* remove incorrect import

* remove incorrect import

* rule list

* folder rules module

* folder rules module

* backwards compatibility for ADW

* reduce core module usage
2023-07-17 09:52:29 +01:00
Denys Vuika
48a502b805 [ACA-4688] fix about plugins section (#3337) 2023-07-14 13:43:27 +01:00
Denys Vuika
6422c32df3 restore sidenav functionality 2023-07-12 11:24:04 +01:00
Denys Vuika
1963747590 [ACS-5279] improved plugin handling (#3332) 2023-07-12 08:27:28 +01:00
Akash Rathod
5abbda78a3 [ACS-5519] viewer-general tests Playwright (#3327)
* [ACS-5519] view general tests Playwright

* [ACS-5519] remove same function call
2023-07-11 18:54:58 +01:00
Denys Vuika
7ab4cc5e53 [ACA-4715] break dependency on envsubst (#3325)
* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json
2023-07-11 08:39:17 +01:00
Adam Zakrzewski
f54ba92f77 [ACS-5585] add direct api-client-factory call in tests (#3323) 2023-07-10 10:12:51 -04:00
MichalKinas
4ab3196e68 JS-API version fix in ACA libs (#3314) 2023-07-06 10:05:35 +02:00
Alfresco Build
8cc4f08f87 GH Auto: Upstream dependencies ADF:6.3.0-5468717985 JS-API:6.3.0-1025 using Tag:6.3.0-5468717985 (#3313)
* [ci:force][auto-commit] Update dependencies ADF:6.3.0-5468717985  JS:6.3.0-1025

* ADF version update

---------

Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2023-07-06 07:28:20 +02:00
Denys Vuika
cb0e9c9258 update lib dependencies 2023-07-05 20:14:09 +01:00
Denys Vuika
6b003eff1f [ACA-4715] upgrade to latest ADF alphas and cleanup env vars (#3312)
* use latest ADF alphas

* use latest ADF alphas

* use ECM provider by default

* use BASIC auth by default

* defaults for oauth host

* remove unused vars
2023-07-05 19:46:50 +01:00
Denys Vuika
46ed7a8360 [ACA-4715] reduce env variables and provide defaults (#3311)
* use default "sessionTimeForOpenAppDialogDisplay"

* improve iPhone prefix url api

* improve android prefix url api

* session timeout

* app store url defaults

* enable mobile redirect by default

* enable AOS by default

* enable content plugins by default

* enable folder rules by default

* remove obsolete AI flag

* remove obsolete APA flag

* auto download defaults

* cleanup auth vars
2023-07-05 15:21:45 +01:00
Aayush Rohila
4aee82c867 [ACS-5521] Create to primary and upload to secondary button color change in ACA (#3302) 2023-06-28 11:01:09 +01:00
Denys Vuika
caff4a3800 [ACS-5523] move viewer and preview to aca-content (#3303)
* move aca-viewer to secondary entry

* move aca-preview to aca-content
2023-06-28 09:01:21 +01:00
Denys Vuika
29c0083e36 Release-4.1.0 (#3301)
* update app config

* update adf libs

* bump app version

* bump lib versions

* release reports

* update readme files
2023-06-26 20:29:25 +01:00
AleksanderSklorz
907529d0a8 ACS-5374 Fixed lost styles for library details after refreshing page (#3296) 2023-06-23 05:32:20 -04:00
Mykyta Maliarchuk
a5083816fa Security fix - insecure randomness (#3293) 2023-06-22 07:21:36 -04:00
Denys Vuika
733ca86c0a fix toolbar button styles 2023-06-20 21:56:02 +01:00
Denys Vuika
d54f97995b use latest ADF (#3292)
* use latest ADF

* exclude failing test
2023-06-20 21:05:25 +01:00
Gloria Camino
68c2a23eae LOC-449 Updates to UI files in 16 languages as per EN file dated 2023-06-20 (#3290) 2023-06-20 10:55:55 -04:00
Jatin Chugh
4b549f159d e2e tests fix for new google calendar implemented (#3289)
* e2e fix for mat-datepicker component added instead of old mat-datetimepicker component present in ADF

* unused code removed

* excluded test enabled
2023-06-20 14:25:43 +01:00
Denys Vuika
05906b878d [ACS-5166] UI fixes (#3287)
* fix menu positioning

* fix update version script

* change the menu icon

* clean implementation for toolbar buttons
2023-06-20 11:59:49 +01:00
Adam Zakrzewski
6046ee3098 [ACS-5328] initial-create-folder-test (#3243)
* [ACS-5328] initial-create-folder-test

* ACS-5328-adding-more-tests-to-create-folder

* try to increase e2e instances

* try to make protractor vars global

* removing playwright if statement

* Revert "removing playwright if statement"

This reverts commit 651070040b.

* delete unused file playwright old

* remove browser run

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-06-19 18:45:01 +01:00
Mykyta Maliarchuk
464ac7f450 [ACS-5455] fixed excluded e2e tests (#3282) 2023-06-19 17:36:38 +02:00
Michał Fidor
c843a8dbaa [ACS-5343] refactor Playwright framework in ACA (#3261)
* [ACS-5343] refactor Playwright framework in ACA

* Add the tests for Actions, from the Adam PR [ACS-5328]

* Small fixes

* Improve logs

* [ACS-5343] adding-goThroughPages-and-delete

* [ACS-5343] added git changes

* [ACS-5343] added git changes for playwright

* [ACS-5343] fix for e2e

* [ACS-5343] e2e protractor path fix

* remove import

* [ACS-5343] e2e playwright user fix

* [ACS-5343] e2e playwright user ids fix

* [ACS-5343] e2e playwright users ids fix

* changes for git

* fix playwright test run

* tsconfig path fix

* playwright action yml added

* retrigger checks

* add test id from testrail

* merge conflits

* fix gha

* fix credentials

---------

Co-authored-by: adam.zakrzewski <adam.zakrzewski@hyland.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-06-16 13:07:09 -04:00
MichalKinas
e0a74d7fb9 [ACS-4538] Make folder-rules secondary entry point of aca-content (#3181)
* [ACS-4538] Make folder-rules secondary entry point of aca-content

* [ACA-4538] Fix folder rules imports

* [ACS-4538] Fix folder-rules unit tests

* [ACS-4538] Fix package.json after folder rules transition

* [ACS-4538] Remove duplicated peerDependency

* [ACS-4538] Import fix
2023-06-16 14:55:04 +02:00
MichalKinas
9fd306d5b3 [ACS-5347] New styles for filter states (#3274)
* [ACS-5347] New styles for filter states

* [ACS-5347] Add disabled chips colors
2023-06-14 10:51:27 +01:00
AleksanderSklorz
cc13551d2f [ACA-4709] ensure all components have encapsulation set to none (#3271)
* ACA-4709 Added use-none-component-view-encapsulation eslint rule and correct part of components

* ACA-4709 More changes for encapsulation

* ACA-4709 Installed eslint-plugin-eslint-angular dependency

* ACA-4709 Corrected rest places with did not use none encapsulation

* ACA-4709 Exclude process inline templates plugin from spec files
2023-06-13 12:38:41 +02:00
Mykyta Maliarchuk
22444744f1 [ACS-4986] Advanced Search - enable new component for Tags and Location filters (#3270)
* [ACS-4986] set up new component for Tags and Location filters

* [ACS-4986] removed old filter
2023-06-13 04:36:26 -04:00
Jatin Chugh
99d8f84a4b fix pop up disappear issue in ADW (#3260) 2023-06-07 19:51:14 +05:30
MichalKinas
3b8c9afe78 [ACS-5170] Change some facets to filters (#3256)
* [ACS-5170] Change some facets to filters

* [ACS-5170] Remove unused translations

* [ACS-5170] Exclude e2es that will be fixed along with advanced search changes
2023-06-07 14:04:31 +02:00
Denys Vuika
7794129521 [ACS-5372] remove old internal plugins (#3257)
* [ACS-5372] remove old internal plugins

* remove unused i18n keys
2023-06-06 10:22:12 -04:00
Gloria Camino
e110a34493 LOC-441 - Updated UI in all 16 languages with new Mobile app strings (#3255) 2023-06-06 09:30:20 -04:00
swapnil-verma-gl
d125fe5ff9 [ACS-5088] Replaced function calls in templates with variable references (#3227)
* [ACS-5088] Replaced method calls in templates with variables

* [ACS-5088] Replaced method calls in templates with variables

* [ACS-5088] Replaced method calls for *ngIf and *ngFor with variables - Batch 1 (WIP)

* [ACS-5088] Replaced method calls for *ngIf and *ngFor with variables - Batch 2 (WIP)

* [ACS-5088] Replaced instances of $any with cast pipe. Replaced other instances of method calls in templates with variables

* [ACS-5088] Resolved test cases

* [ACS-5088] Resolved test cases in aca-content library

* [ACS-5088] Resolved test cases in aca-shared library

* [ACS-5088] Resolved test cases in aca-folder-rules library

* [ACS-5088] Reverted usage of cast pipe to $any()

* [ACS-5088] Fixed incorrect revert

* [ACS-5088] Resolved code review findings - shortened expressions and made onDestroy subjects use void instead of boolean

* [ACS-5088] Resolved code review findings - changed parameter name in sort function

* [ACS-5088] Resolved code review findings - added 'void' type to onDestroy subjects

* [ACS-5088] Upgraded eslint version to 8.41.0. Added "@angular-eslint/template/no-call-expression" rule to prevent function calls in templates unless needed (reports warnings)

* [ACS-5088] Resolved typo in ToggleFavoriteComponent
2023-06-06 04:32:19 -04:00
Mykyta Maliarchuk
e9dce5f65a [ACS-4795] Remove all custom CSS/CSS variables that already have defaults in ADF (#3242)
* [ACS-4795] removed redundant css variables

* [ACS-4795] - removed pointless adf customisations
2023-06-05 15:57:28 +02:00
MichalKinas
919767ef8a [ACS-5181] Introduce logical search filter (#3245)
* [ACS-5181] Introduce logical search filter

* [ACS-5181] Correct filters order
2023-06-05 10:58:30 +01:00
Denys Vuika
f4600b588a [ACS-5308] reduce various modules by switching to standalone (#3248)
* crate-form-template dialog

* remove unused module

* viewer profile component

* trashcan component

* remove test dependency on global material module

* remove unused test imports

* break CoreModule dependency

* login component

* remove app material module

* remove languages from the config as not needed
2023-06-05 09:10:03 +01:00