Commit Graph

226 Commits

Author SHA1 Message Date
Kritagya Jaiswal
d0f9aac359 [ACS-6126] Fixed accessibility issue (#3486) 2023-11-07 07:32:45 -05:00
MichalKinas
69c00fc403 Sonarcloud issues fixes (#3499)
* Sonarcloud issues fixes

* Code smell fixes

* Refactoring to remove new code duplications

* Sonarcloud code smell fixes part I

* Sonarcloud code smell fixes part II

* Missing code smell fix

* Add new ESLint rules to cover fixed SonarCloud issues

* Add missing command

* Add missing is existing check
2023-11-03 06:43:06 -04:00
MichalKinas
b23bd3e25b Release 4.3.0 (#3503)
* Release 4.3.0

* Correct typing for unit test
2023-10-31 15:05:18 +01:00
MichalKinas
b25a3ad9d8 Use latest JS-API and ADF (#3494)
* Use latest JS-API and ADF

* Unit test fix
2023-10-25 14:48:12 +02:00
MichalKinas
928c6b5731 [ACS-5611] Add custom metadata side panels as new extension feature (#3466)
* [ACS-5611] Add custom metadata panels as new extensions feature

* [ACS-5611] Add custom metadata panels unit tests

* [ACS-5611] Minor fixes

* [ACS-5611] Text ellipsis for name column to always display badges

* [ACS-5611] Use latest ADF and JS-API

* [ACS-5611] Unit test fix

* [ACS-5611] Click action only if exists
2023-10-16 10:43:04 +02:00
Eugenio Romano
c7e2912759 [AAE-14484] fix peerdepend (#3471)
* fix peerdepend

* Update package.json
2023-10-10 09:30:58 +02:00
Denys Vuika
18542ebf8b migrate to nx 16 (#3465)
* migrate to nx 16

* lock file
2023-10-05 12:12:54 -04:00
MichalKinas
6edbb57dc4 [ACS-5601] Add badges to custom name column (#3450)
* [ACS-5601] Add badges to name column component

* [ACS-5601] Add on click handler to column badges

* [ACS-5601] Fix badge hover color

* [ACS-5601] Restore modal configuration, prettier fixes

* [ACS-5601] Add missing tooltip translation

* [ACS-5601] Add process content services to extension service

* [ACS-5601] Add adf dynamic component to custom name column

* [ACS-5601]  Add missing dosc and unit tests

* [ACS-5601] Post rebase package lock update

* [ACS-5601] CR fixes

* [ACS-5601] Unit test fix

* [ACS-5601] CR fix

* [ACS-5601] Fix unit test, add contrast gray to badges

* [ACS-5601] fix fail test and exclude one test

* [ACS-5601] fix fail test and exclude one test

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-10-04 09:12:52 +02:00
Alfresco Build
0774281244 GH Auto: Upstream dependencies ADF:6.4.0-6341205853 JS-API: using Tag:6.4.0-6341205853 (#3452)
* [ci:force][auto-commit] Update dependencies ADF:6.4.0-6341205853  JS:

* Corrected versions

---------

Co-authored-by: DenysVuika <DenysVuika@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-09-29 00:08:39 +02:00
Alfresco Build
f28bb3fe40 GH Auto: Upstream dependencies ADF:6.4.0-6336818839 JS-API:7.1.0-1349 using Tag:6.4.0-6336818839 (#3441)
* [ci:force][auto-commit] Update dependencies ADF:6.4.0-6336818839  JS:7.1.0-1349

* Use latest JS-API and ADF

---------

Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
Co-authored-by: MichalKinas <michal.kinas@hyland.com>
2023-09-28 13:07:24 +02:00
DominikIwanek
2157e8e031 [ACS-5988] - Details tab not opening in custom file preview (#3429) 2023-09-21 09:16:34 +01:00
Denys Vuika
b1b4dd05b6 Release 4.2.0 (#3440)
* bump app.config

* bump ADF versions

* release reports

* update compatibility matrices
2023-09-18 19:28:06 +01: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
Denys Vuika
9106608398 ESLint fixes and unified lint targets (#3424)
* optimise lint targets

* fix eslint config files

* fix app coverage settings

* tune eslint to warn about optional chains
2023-09-08 09:00:00 +01:00
DominikIwanek
46ea85436b [ACS-5932] - Sidenav not able to expand when search page is closed (#3412) 2023-09-05 16:45:49 +02:00
Mykyta Maliarchuk
deba28c8e0 [ACS-5563] Fixed incorrect initial loading of security marks (#3405)
* [ACS-5563] fixed incorrect initial loading of security marks

* [ACS-5563] added DoneFn
2023-09-01 15:44:24 +01: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
Mykyta Maliarchuk
ff8a9844d8 [ACS-5849] [ACS-5848] Incomplete string escaping fix (#3390)
* [ACS-5849] Incomplete string escaping fix

* [ACS-5849] Incomplete string escaping fix

* [ACS-5848] Incomplete string escaping fix
2023-08-18 09:07:14 -04:00
Grzegorz Jaśkowski
c73ffd8901 [ADF-5557] delete i18n resources moved to ADF (#3376)
* ADF-5557 delete i18n resources moved to ADF

* ADF-5557 update ADF versioning from ADF counterpart PR

* ADF-5557 fix remaining problem after rebase
2023-08-14 19:44:30 +01: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
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
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
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
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
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
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
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
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
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
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
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
Jatin Chugh
99d8f84a4b fix pop up disappear issue in ADW (#3260) 2023-06-07 19:51:14 +05:30
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
Denys Vuika
4a00cbbfd7 remove flex-layout dependency (#3235) 2023-05-29 10:28:48 +01:00
Denys Vuika
251b6a0ec7 [ACS-5308] cleanup content common module and move to standalone components (#3234)
* language picker

* location link

* logout component

* logout: fix tests

* toggle shared component

* user info component

* cleanup common module

* migrate generic error to standalone

* thumbnail column component

* name column component

* tags column component

* locked by component

* cleanup module dependencies

* comments tab component

* info drawer and details

* cleanup infodrawer module

* remove useless test

* reduce useless imports

* info drawer module

* context menu component
2023-05-29 10:28:26 +01:00
Jatin Chugh
44ea08891e [MOBILEAPPS-1707] Open in App Dialog design changes as per new design and visibility of dialog enabled after the login and is shown in case of private files as well (#3225)
* implementation of download Ios app as per new design shared in case IOS

* design changes as per new design shared my mobile application team

* implementation of dialog after login and visibility enabled for private files

* single click on cross dialog to close popup which was occuring earlier on double click

* test cases added for open in app component, shared link view component and  name changes

* ipad changes to open in Safari browser, open in app button clickable width increased and focus unset on open in app button click

* open in app button style changes

* theme button color changes

* review comments addressed

* review comments addressed

* review comments addressed

* download app text changes

* improved open-in-app.scss file and removed mat and cdk classed
2023-05-26 22:25:18 +05:30
Aayush Rohila
bf1fa75041 [ACA-4698] Refactor the parent of aca-info-drawer to style sidebar wherever present. (#3192)
* [ACA-4698] Refactor the parent of aca-info-drawer to style sidebar wherever it is present

* declared sidebar class once
2023-05-26 06:28:33 -04: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
71d97a17bf [ACS-5304] remove unused create menu component (#3233)
* remove unused create menu component

* remove unused i18n keys

* raise coverage

* fix missing a11y import, fix css var bug
2023-05-25 18:50:46 +01:00
Yasa-Nataliya
0328ea09da [ACS-5288]Changes to improve user experience by changing navigation (#3219)
* Implemented changes as per requirement

* changes for view profile component

* added unit test cases
2023-05-24 20:00:37 +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
MichalKinas
5d4a999ca1 [ACA-4710] Use caret for js-api and adf versions (#3204) 2023-05-19 10:58:10 +02:00
MichalKinas
38a6d8698b [ACS-5186] Use update version script for ADF upstream (#3197)
* [ACS-5186] Use update version script for ADF upstream

* [ACS-5186] Bump ADF and JS-API version

* [ACS-5186] Correct version

* [ACS-5186] Correct migration logic
2023-05-17 15:02:22 +02:00
Amedeo Lepore
ec37bf0ec2 Update adf dependencies version to 6.1.0-4944969415 (#3183)
* [ci:force][auto-commit] Update @alfresco/js-api to 6.1.0-912 for branch: update-alfresco-dependencies originated from @alfresco/js-api PR: 4945048596

* Update adf deps versions, update js-api version to solve dependency conflict

* Exclude e2e [C290020]

* Update adf peerDependencies version

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-05-12 16:56:02 +02: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