96 Commits

Author SHA1 Message Date
AleksanderSklorz
7ae335c3d2
[ACS-5647] rework template of library metadata form component (#3487)
* ACS-5647 Removed template for view mode and used template for edit mode instead

* ACS-5647 Fixed auto focus for name field

* ACS-5647 Reverted data automation id

* ACS-5647 Corrected unit tests

* e2e fix for library details

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-10-24 22:29:59 +02:00
pkunduGL
102b62207f
[APPS-2170] Replace moment.js to date-fns in file-folder-properties.test.ts (#3463) 2023-10-11 12:04:53 -04:00
Denys Vuika
18542ebf8b
migrate to nx 16 (#3465)
* migrate to nx 16

* lock file
2023-10-05 12:12:54 -04:00
Aayush Rohila
c6e54e20d0
[APPS-2170] Replace moment.js to date-fns in file-folder-properties.test.ts (#3417)
* [APPS-2170] replace moment.js to date-fns in file-folder-preoperties.ts

* [APPS-2170] date change

* [APPS-2170] Commit to run e2e

* [APPS-2170] e2e fix
2023-09-20 04:43:11 -04:00
MichalKinas
b086093c2f
Use latest JS-API and ADF (#3423)
* Update JS-API and ADF versions to latest

* Fix missing types

* Fix incorrect types

* Use correct method to get membership requests
2023-09-08 04:10:00 -04:00
AleksanderSklorz
aec6852672
[ACS-5281] Changed editable state of metadata content based on change o… (#3400)
* ACS-5281 Changed editable state of metadata content based on change of file lock state

* ACS-5281 Updated versions

* ACS-5281 Reverted change

* ACS-5281 Upgrade version

* ACS-5281 Small correction

* ACS-5281 Fixed e2e
2023-08-27 10:00:35 +02:00
Denys Vuika
27eddf3596
Code cleanup and optimisations (#3383)
* cleanup unused css

* remove unused store/reducer blocks

* fix typo in toolbar ("tool-bar")

* toolbar action: break dependency on adf-core

* unified toolbar component

* break dependency on adf toolbar module

* update e2e

* update e2e

* update e2e

* update e2e

* update e2e

* fix search results toolbar spacing

* cleanup unused app state

* cleanup unused code

* fix toolbar divider color

* fix missing buttons in the info drawer

* fix css nesting

* fix search results css
2023-08-14 19:43:33 +01:00
Akash Rathod
a1f0f0d38e
[ACS-5786] info drawer comments test cleanup (#3378)
* cleamup changes

* remove cleanup tests
2023-08-09 09:13:31 -04:00
MichalKinas
26cd95ccbd
ADF and JS-API version update (#3371)
* ADF and JS-API version update

* Update Creator and Modifier E2Es

* ACS-5632 Fixed rest e2e

* ACS-5632 Added missing spaces

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-07-28 12:01:05 +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
Mykyta Maliarchuk
a5083816fa
Security fix - insecure randomness (#3293) 2023-06-22 07:21:36 -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
Mykyta Maliarchuk
464ac7f450
[ACS-5455] fixed excluded e2e tests (#3282) 2023-06-19 17:36:38 +02:00
SheenaMalhotra182
39aa789712
[ACS-5293] changed non-unique data automation ids (#3226)
* changed non-unique data automation ids

* trying a fix for multiple search locators

* trying a fix for multiple search locators
2023-05-25 19:09:12 +01:00
Denys Vuika
def6ddeaa7
eliminate dead code in e2e tests (#3220)
* reduce shared testing dependency

* dead code cleanup

* eliminate dead code

* fix export
2023-05-23 09:27:08 +01:00
Denys Vuika
fd495f6e95
code cleanup (#3210)
* code cleanup

* rollback changes

* remove dead code

* remove debug app config

* cleanup unused locales

* no-unused-vars rule

* test fixes and cleanup

* remove unnecessary translate modules
2023-05-22 08:23:35 +01:00
Yasa-Nataliya
adbbc1c152
[ACS-4708] Implemented user initials (#3184)
* added user initials

* modified spec file

* changes for config files

* class name renamed

* implemented the review comments
2023-05-16 14:25:43 +05:30
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
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
MichalKinas
d042b80386
[ACS-4425] Improved share file with expiration date test (#3133) 2023-04-19 09:37:55 -04: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
Denys Vuika
4292f0fbc0
update libs packages (#3044) 2023-03-07 17:06:18 +00:00
Denys Vuika
c10aae6084
Remove duplicated e2e (#3006)
* cleanup download tests

* clean copy test

* clean move tests

* create folder tests

* delete tests

* edit tests

* mark favorite tests

* clean the rest of tests

* move page titles closer to the test

* remove unused steps

* restore upload new version suite
2023-02-28 14:08:12 -05:00
Denys Vuika
748e60f6a4
[ACS-4702] fix license fields for libs (#3009) 2023-02-24 14:36:55 +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
Denys Vuika
567882e864
e2e cleanup (#2951)
* reduce the code

* reduce code

* reduce code

* reduce code

* cleanup tests

* more readable code

* cleanup code

* fix code

* even more cleanup

* remove some deprecated apis

* code fixes

* cleanup files

* more files switching to user actions
2023-02-01 23:22:37 +00:00
Thomas Hunter
28d9475ecd
[ACA-4645] Fix for shareActions e2es (#2890)
* Fixed expiry date

* Remove tests from protractor.excludes.json

* Remove unnecessary coment

* Fixed test case C286329
2023-01-06 16:58:33 +00:00
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
AleksanderSklorz
ae551f03fc
[ACS-3640] Reverting reverted changes for a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2785)
* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments

* ACS-3640 Fix lint issue

* ACS-3640 Added aria label for action icon

* ACS-3640 Fixed one left file

* ACS-3640 Fixed lint issues

* ACS-3640 Correction for e2e

* ACS-3640 Reverting reverted corrections for e2e

* ACS-3640 Use data automation id

* ACS-3640 Update ADF version
2022-11-21 10:48:22 +01:00
Denys Vuika
cc41a575ac
Revert snackbar changes (#2778)
* Revert "[AAE-10766] upgrade to new About component (#2769)"

This reverts commit 5ce4835e4ce413106f5e745f44724893579d2972.

* restore about dialog changes

* latest ADF alpha
2022-11-15 17:01:04 +00:00
Denys Vuika
5ce4835e4c
[AAE-10766] upgrade to new About component (#2769)
* [AAE-10766] upgrade to new About component

* upgrade to latest ADF alpha

* update e2e to reflect snackbar changes

* Revert "update e2e to reflect snackbar changes"

This reverts commit 6164804bab1e59ef2ec85caf13d85014fa19e2f8.

* ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2734)

* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments

* ACS-3640 Fix lint issue

* ACS-3640 Added aria label for action icon

* ACS-3640 Fixed one left file

* ACS-3640 Fixed lint issues

* use latest adf

* ACS-3640 Correction for e2e

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>

* remove the action check from the snackbar

* update e2e

* update e2e

* update e2e

* Update e2e

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2022-11-14 23:55:06 +00:00
AleksanderSklorz
ae57a094b1
ACS-3545 fix e2e tests (#2759)
* [ci:force][auto-commit] Update @alfresco/js-api to 5.2.0-401 for branch: update-alfresco-dependencies originated from @alfresco/js-api PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-core to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-cli to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 36873

* [ci:force][auto-commit] Update @alfresco/adf-testing to 5.2.0-36869 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 36873

* ACS-3545 Fix for e2e tests

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2022-11-04 10:47:28 +00:00
Michał Fidor
49b68f6a87
[AAE-10264] Rework the shareActions spec files (#2584) 2022-08-11 15:53:10 +01:00
Denys Vuika
e237e373eb
remove unused project files (#2583)
* remove unused project files

* restore package for shared testing lib
2022-08-11 13:55:18 +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
Thomas Hunter
866ac19d82
[ACS-3109] Release 2.11.0 (#2549)
* [ACS-3109] Release 2.11.0

* Update git links in changelog
2022-06-16 17:06:17 +01:00
Amedeo Lepore
18270d3368
[AAE-6242] upload a new version of a file attached in a form (#2524)
* [AAE-8822] Use ADF New Version Uploader dialog instead of using node-version dialog, to allow to upload new file version and to manage file versions

* [AAE-8822] Add versionUpdateDialog unit tests

* [AAE-8822] Add openVersionManagerDialog unit tests

* [AAE-8822] Fix lint problem

* [AAE-8797] Update slector with new adf version uploader dialog class

* [AAE-8797] Remove unused node versions dialog, since the ADF NewVersionUploaderService is used
2022-06-07 09:48:24 +02:00
Thomas Hunter
746f31e299
[ACS-2838] Release 2.10.0 (#2515)
* [ACS-2838] Release 2.10.0

* update adf to correct version
2022-04-27 15:38:50 +01:00
Bartosz Sekuła
9689131520
[ACA-4578] Fix for datatable e2e-s (#2511) 2022-04-19 16:56:51 +02:00
Denys Vuika
a17e027ab5
[AAE-8204] Remove tslint and codelizer (#2488)
* upgrade protractor retry lib

* remove tslint
2022-03-29 15:04:21 +01:00
Denys Vuika
6a9a863163
release 2.9.0 (#2476) 2022-03-17 19:14:49 +00:00
rafalszmit
803f59b57c
[AAE-7660] file preview from info drawer (#2463)
* [AAE-7660] file preview from info drawer

* condition update

* wait for node to be searchable
2022-03-01 15:46:42 +01:00
rafalszmit
2f1a908fd5
[AAE-7448] Automate remember sorting (#2460)
* [AAE-7448] Automated C261136

* [AAE-7448] Revert unused changes

* [AAE-7448] Automated C261137

* [AAE-7448] Automate C261138

* [AAE-7448] Automate C261139

* [AAE-7448] Automate C261150

* [AAE-7448] Automate C589205

* [AAAE-7448] Automate C261153 TBC

* [AAE-7448] Automate C261147

* [AAE-7448] refactor

* [AAE-7448] - remove unused method

* remove randomness

* sort wait in case spinner's missing + small fixes

* adding types
2022-02-25 10:49:29 +00:00
Ketevani Kvirikashvili
22d65f006d
[AAE-7154] Automate upload file dialog (#2418)
* [AAE-7154] Automate upload files dialog

* [ACA-71546] Fix for sigout

* update test

* delete comment

* fix lint

* fix

* fix after CR

* CR

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
2022-02-15 22:57:23 +00:00
rafalszmit
3afc4f4859
[AAE-7355] automate manual C599174 (#2451)
* [AAE-7355] automate manual C599174

* C306959 ci flakiness - click insead of Enter
2022-02-14 22:20:14 +00:00
Bartosz Sekuła
60e1d13bb7
[ACA-4546] Flaky ACA Library actions test (#2417)
* [ACA-4546] Flaky ACA Library actions test

* [ACA-4546] Flaky ACA Library actions test

* [ACA-4546] Update

* [ACA-4546] Update

* [ACA-4546] Update
2022-02-02 11:53:28 +01:00
Denys Vuika
047c4bcd72
Release 2.8.0 (#2415)
* release 2.8.0

* update changelog script

* update changelog

* use latest ADF release
2022-01-27 16:10:37 +00:00
Denys Vuika
4e2c968595 Release 2.7.0 (#2351)
* update app config

* update to latest ADF

* update package versions

* generate reports
2021-11-16 13:06:37 +00:00
Popovics András
46a179c75a
[MNT-22574] Conditional AI Search (#2339)
* [MNT-22574] Support rules for search forms

* * fix lints

* Patch version increment

Co-authored-by: dhrn <dharan.g@muraai.com>
2021-11-04 15:09:18 +01:00
Denys Vuika
f89833461c
Release 2.6.0 (#2300)
* use final ADF

* bump versions

* generate reports
2021-09-16 11:37:33 +01:00