1350 Commits

Author SHA1 Message Date
Alfresco Build
7951eba089
GH Auto: Upstream dependencies JS-API:6.3.0-1031 (#8741)
* [ci:force][auto-commit] Update dependencies JS:6.3.0-1031

* Trigger CI

---------

Co-authored-by: mauriziovitale <mauriziovitale@users.noreply.github.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>
2023-07-10 18:08:07 +02:00
Alfresco Build
11155e3882
[ci:force][auto-commit] Update dependencies JS:6.3.0-1025 (#8740)
Co-authored-by: MichalKinas <MichalKinas@users.noreply.github.com>
2023-07-05 22:37:43 +02:00
Mykyta Maliarchuk
fceb7ecb9e
make resetNewFolderPagination method public again (#8739) 2023-07-05 16:32:45 +01:00
Mykyta Maliarchuk
8fba7449e4
[ACS-5401] Fix unsafe HTML constructed from library input (#8725)
* [ACS-5401] sucurity fix

* [ACS-5401] fix tests

* [ACS-5401] security fix
2023-07-04 14:30:44 +01:00
Denys Vuika
4452007471
Hide document list private api (#8735)
* hide private document list api

* hide private datatable api
2023-07-04 14:29:43 +01:00
MichalKinas
ee588df85b
[ACS-5436] Logical search final version (#8709)
* [ACS-5436] Logical search final version

* [ACS-5436] CR fixes

* [ACS-5436] Remove unnecessary escape characters
2023-06-28 06:55:47 +02:00
Amedeo Lepore
7abebf0652
[AAE-12501] Align JS API (#8344)
* [AAE-12501] Provide an AlfrescoApiService implementation that disable the AlfrescoApi oauth initialization when we use new oidc implementation

* [AAE-12501] Replace oauth2Auth with authentication service, define get username as abstract

* [AAE-12501] Replace sitesService with authentication service since sitesService get the username from oauth2Auth

* [AAE-12501] Call implicitLogin by authentication service

* [AAE-12501] Replace Oauth2Auth with AlfrescoApi and call the custom api without using authentication

* [AAE-12501] Replace oauth2Auth with authentication service to get the token

* [AAE-12501] Replace oauth2Auth with alfrescoApi

* remove unneeded JS-API dep
move auth in the right place

* [AAE-10501] Rename alfresco-api.http-client to adf-http-client

* [AAE-10501] Remove config from a CoreModule, a different service is provided in AuthModule to use angular http client instead of super agent

* [AAE-10501] Disable AlfrescoApi oauth initialization while using new adf oidc authentication

* [AAE-12501] Replace alfresco api client with AdfHttpClient

* [AAE-12501] Restore get username methods

* [AAE-12501] Get username with authentication service

* [AAE-12501] removee unused method

* [AAE-12501] Trigger on login when token is received

* [AAE-12501] Fix content-services unit test

* [AAE-12501] Fix import

* [AAE-12501] Fix core unit tests

* [AAE-12501] Fix process-services-cloud unit tests

* [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request

* [AAE-12501] Fix process-services-cloud unit tests without Expectation

* [AAE-12501] Fix Core secondary entrypoints unit tests are not executed: move test.ts one level up in order to find all the spec files into the secondary entrypoints folders and update path

* [AAE-12501] Fix Core unit tests that weren't executed because of the previous test.ts wrong location

* [AAE-12501] Fix authentication token_issued subscription

* add emitters

* [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues

* [AAE-12501] Install event-emitter dependency

* [AAE-12501] Comment temporary setCsrfToken because is not possible to import app config service from core due to circular dependencies

* [AAE-12501] Get disableCsrf from app config serviice when app configuration is loaded

* [AAE-12501] Fix license-header lint issue

* [AAE-14221] Regenerate lock file

* [AAE-14221] Fix sonarcloud issues

* [AAE-12501] Remove wrong character

* [AAE-12501] Regenerate lock file

* [AAE-12501] Fix BC: update alfresco api response error

---------

Co-authored-by: eromano <eugenioromano16@gmail.com>
2023-06-27 17:22:30 +02:00
Mykyta Maliarchuk
b16777cce0
[ACS-5364] bug fix (#8686) 2023-06-27 04:39:28 -04:00
Denys Vuika
1940d3e81b
Release-6.2.0 (#8705)
* bump versions to 6.2.0

* release reports

* changelog

* update lock file
2023-06-26 12:24:30 -04:00
Denys Vuika
66f060a018
use latest JS-API library (#8684) 2023-06-20 13:02:57 -04:00
Gloria Camino
58ef531c6b
LOC-447 - Updated UI files in 16 languages for ADF 6.2 release based on EN file of 2023-06-20 (#8685) 2023-06-20 12:06:40 -04:00
Mykyta Maliarchuk
eda42a69ef
[ACS-5341] accessibility fix (#8668) 2023-06-15 04:18:31 -04:00
MichalKinas
afbf87788f
[ACS-5347] New styles for facets and filters states (#8661)
* [ACS-5347] New styles for facets and filters states

* [ACS-5347] Move ACA specific colors to ACA

* [ACS-5347] CR fixes
2023-06-14 13:37:43 +02:00
Mykyta Maliarchuk
61d5aa965b
[ACS-4986] Advanced Search - New component for Tags and Location filters (#8655)
* [ACS-4986] SearchChipsAutocompleteComponent - minimal state

* [ACS-4986] refactored components

* [ACS-4986] documentation

* [ACS-4986] i18n

* [ACS-4986] versionIndex.md

* [ACS-4986] unit tests

* [ACS-4986] replaced function calls on pipe

* [ACS-4986] linting

* [ACS-4986] slight correction

* [ACS-4986] missing types

* [ACS-4986] space

* [ACS-4986] moved pipe + docs & tests

* [ACS-4986] changed pipe type

* [ACS-4986] versionIndex.md

* [ACS-4986] removed 'important' in styles

* [ACS-4986] fixed code smell

* [ACS-4986] linting
2023-06-14 06:29:43 -04:00
Jatin Chugh
479c96eabb
[PRODSEC-6575] Shared link not accessible now after the expiry date which was earlier accessible even after that expiration date (#8540)
* Shared link expiry date code implementation

* test case updated

* removed unsed code

* design changes as per the new design of Share dialog

* test cases modification as per new design changes

* placeholder modified for expiration date

* look and feel changes for share dialog as per Shane comments

* boolean name changed as per naming convention

* review comments addressed

* review comments addressed

* type specified for node object

* linting corrections

* resolved nested ternary date operation into an independent statement

* review comments addressed

* used date-fns instead of moment.js in code as well as in test cases

* review comments for date-fns addressed

* removed extra line

* removed extra empty lines in template

* import changes and indentation correction

* error in console resolved which was occuring after selecting date and time

* used mat-datepicker instead of mat-datetimepicker

* package-lock.json file updated for date-fns implementation

* made type  'date' as default and removed the settings coming from the ACA

* unit test case modifications as per calender changes

* e2e modifications as per new calendar component
2023-06-14 15:30:08 +05:30
MichalKinas
b39ff6bab9
[ACS-5197] Disable empty facets (#8650)
* [ACS-5197] Disable empty facets

* [ACS-5197] CR fixes
2023-06-13 18:01:39 +02:00
Gloria Camino
a762c19a5c
LOC-440 - UI updated as per https://alfresco.atlassian.net/browse/AAE-14405 All strings updated as per source of 2023-06-09 (#8641) 2023-06-12 09:54:41 -04:00
MichalKinas
66b5ca90dc
[ACS-5342] Accessibility fixes for filters and facets (#8626) 2023-06-06 21:29:22 +02:00
Denys Vuika
f5abce8baa
Optimise imports using inject function (#8557)
* optimise AuthGuard

* optimise UploadBase

* optimise BaseAuthenticationService

* optimise FormComponent

* optimise BaseCloudService

* optimise card view
2023-06-05 17:31:44 +01:00
MichalKinas
85fd98874a
[ACS-5181] Logical search components (#8616)
* [ACS-5181] Add logical search component

* [ACS-5181] Add unit tests to logical search components

* [ACS-5181] Logical filter components docs

* [ACS-5181] CR fixes

* [ACS-5181] CR and accessibility fixes
2023-06-05 16:23:41 +01:00
Bartosz Sekula
3afe323840
[AAE-14430] Release 6.1.0 (#8614) 2023-06-01 17:18:27 +02:00
MichalKinas
65dfd446fd
[ADF-5542] Update JS-API and ADF libs versions to use caret (#8570)
* [ADF-5542] Update JS-API and ADF libs versions to use caret

* [ADF-5542] Corrected versions
2023-05-18 12:01:11 -04:00
Nikita Maliarchuk
c431d0c6f5
[ACS-5171] Facets section - UI changes (#8563) 2023-05-18 09:18:42 +01:00
AleksanderSklorz
3b1842f038
[ADF-5505] deprecate angular flex layout library (#8562)
* ADF-5505 Removed some angular flex usages

* ADF-5505 Deprecated usage of angular flex layout in demo shell

* ADF-5505 Deprecated usage of angular flex layout in core files

* ADF-5505 Removed usage of angular flex layout from files from process services

* ADF-5505 Removed usage of angular flex layout from files from process services cloud

* ADF-5505 Removed usage of fxflex and fxlayout from left files

* ADF-5505 Removed usage of fxhide from left files

* ADF-5505 Fixed issue with incorrect colors

* ADF-5505 Fixed some lint issues

* ADF-5505 Removed imports of FlexLayoutModule

* ADF-5505 Uninstalled angular flex layout dependency

* ADF-5505 Removed usage of ngClass with gt-md

* ADF-5505 Removed duplicated selector

* ADF-5505 Removed empty line

* ADF-5505 Changed encapsulation
2023-05-17 08:44:59 -04:00
Denys Vuika
d5e1ca45f7
fix JS-API peer dependencies for libs (#8551)
* fix JS-API peer dependencies for libs

* Trigger Build
2023-05-12 13:34:55 +01:00
AleksanderSklorz
3dc1f1149f
[ACS-5155] tags message about required field displayed after discarding changes (#8550)
* ACS-5155 Hide required error after discarding changes

* ACS-5155 Removed redundant variables
2023-05-11 09:05:51 +02:00
Tomasz Gnyp
5d5fb299e7
[AAE-12763] Unit test - C588832 Should not be able to upload a file … (#8512)
* [AAE-12763] Unit test -  C588832 Should not be able to upload a file whilst a search is still running

* [AAE-12763] Remove test rail case ID
2023-05-08 11:49:46 +02:00
AleksanderSklorz
9cf166c3a2
[ACS-5148] Corrected first tag position and removed extra scrollbar when spinner is visible (#8535) 2023-05-05 11:12:30 +02:00
MichalKinas
5d6a1ea6a4
[ACS-5143] Tree component expand/collapse fix (#8528)
* [ACS-5143] Tree component expand/collapse fix

* [ACS-5143] Remove extra empty space
2023-05-04 13:10:02 +02:00
AleksanderSklorz
74a33e9d89
ACS-5147 Fixed typo (#8522) 2023-05-03 07:15:36 -04:00
MichalKinas
bcd0b66c96
[ACS-5135] Tree component emit pagination only when top level entries change (#8519) 2023-04-28 16:39:47 +02:00
Denys Vuika
81fea0fe40
[ACS-5065] Release 6.0.0 (#8520)
* bump versions to 6.0.0

* move editorjs to proper place

* release reports

* release notes
2023-04-28 06:09:48 -04:00
Gloria Camino
8ccd8ea56c
LOC-436 - Additional UI strings to be updated after last committ. Also fixes to issues in PL and ES (#8510) 2023-04-25 06:09:10 -04:00
MichalKinas
1ae178a436
[ACS-4523] Fix translation and label (#8505) 2023-04-24 11:26:51 +02:00
Nikita Maliarchuk
c68dd82279
[ACS-4662] Allow to see category children after search (#8494)
* [ACS-4662] intermediate progress

* [ACS-4662] Allow to see children of category after searching

* [ACS-4662] added unit test

* [ACS-4662] linting
2023-04-21 09:08:13 +02:00
Nikita Maliarchuk
9b2d433f2b
[ACS-5093] Optimise Categories facet names load (#8498)
* [ACS-5093] removed redundant API call

* [ACS-5093] added error handling
2023-04-21 09:07:35 +02:00
MichalKinas
a563dc2f54
[ACS-4523] Assigning content to categories (#8451)
* [ACS-4523] Add categories management mode component, manage mode completed

* [ACS-4523] Add categories management fixes and unit tests

* [ACS-4523] Add unit tests to content metadata

* ACS-4523] CR fixes

* [ACS-4523] Tag and category name controls decoupled

* [ACS-4523] CR fixes

* [ACS-4523] CR fixes

* [ACS-4523] CR fixes

* [ACS-4523] Display path for already linked categories

* [ACS-4523] Add new license header

* [ACS-4523] Fix category service import
2023-04-20 18:49:45 +02:00
Nikita Maliarchuk
4fd1e3093f
[ACS-4788] Add support for the Categories facet (#8470)
* [ACS-4525] load category paths

* [ACS-4525] fix for buckets to update properly

* [ACS-4525] getCategory docs

* [ACS-4525] unit tests

* [ACS-4525] small fixes

* [ACS-4525] bug fix

* [ACS-4525] code improvements

* [ACS-4525] alignment

* [ACS-4525] linting
2023-04-20 07:28:16 -04:00
swapnil-verma-gl
760798338f
[ACA-4677] Added download functionality on DownloadPromptDialog (#8467)
* [ACA-4677] Added download functionality on DownloadPromptDialog

* [ACA-4677] Added downloadFile event emitter documentation to ViewerComponent README. Updated reference of NonResponsiveDialog to DownloadPromptDialog

* [ACA-4677] Corrected typo in documentation for downloadFile event

* [ACA-4677] Updated test case to check for method call via actual event handling instead of calling the method manually
2023-04-20 04:23:45 -04:00
AleksanderSklorz
0ebdecbe74
[ACS-5021] Fixed displaying label above existing tags list (#8453)
* ACS-5021 Fixed displaying label above existing tags list

* ACS-5021 Fixed lint issues
2023-04-20 09:43:43 +02:00
AleksanderSklorz
98c0a3c7be
[ACS-5041] update license headers to reflect hyland copyright guidelines (#8472)
* ACS-5041 Changed json to js

* ACS-5041 Corrected paths

* ACS-5041 Changed json to js

* ACS-5041 Updated eslintrc

* ACS-5041 Small correction

* ACS-5041 Small correction

* ACS-5041 Updated license headers

* ACS-5041 Updated license headers

* ACS-5041 Replaced references to alfresco

* ACS-5041 Added Hyland to known words

* ACS-5041 Fixed coverage issue

* ACS-5041 Fixed duplication issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed test

* ACS-5041 Fixed test

* ACS-5041 Reverted one change

* ACS-5041 Added missing license to files after rebase
2023-04-20 09:34:03 +02:00
Amedeo Lepore
ec2db6a638
Release 6.0.0-A.4 (#8495)
* Move release.sh under script folder

* Release 6.0.0-A.4

* Update release-notes README with last version
2023-04-19 17:21:26 +02:00
Gloria Camino
419453da78
LOC-411 - PRODDEL-6965 - Updated UI files in 16 languages for ADF 6.0 release (#8490) 2023-04-19 11:58:40 +02:00
Thomas Hunter
210f21bbb2
[ACA-4589] Remove requirement for update permission on node to open manage versions dialog (#8483) 2023-04-19 10:01:24 +01:00
Ardit Domi
657e5ef7fd
Generate docs (#8481)
* Generate docs

* Fix duplicated Optional and restore code block ticks

* Fix docbuild command errors, improve documentations

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore85@gmail.com>
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2023-04-18 15:28:07 +02:00
Alfresco Build
e5bb2e4fa4
[ci:force][auto-commit] Update JS-API to 5.5.0-780 for branch: update-js-api originated from JS-API PR: 347 (#8468) 2023-04-13 17:02:34 +01:00
MichalKinas
ea90cb17a0
[ACS-4523] Add string to translate (#8444) 2023-04-04 06:45:26 -04:00
swapnil-verma-gl
fc3ad78004
[ACA-4681] Added file auto download feature to DocumentList component (#8423)
* [ACA-4681] Added feature in DocumentListComponent to auto download a file if it exceeds a pre defined file size threshold

* [ACA-4681] Added test cases for file auto download feature in document list (NOT WORKING)

* [ACA-4681] Fixed unit tests for file auto download feature of document list

* [ACA-4681] Removed unused variables from app.config.json

* [ACA-4681] Resolved code review findings. Local constants are no longer upper case only (used camelCase instead). FileAutoDownload component template now uses mat-dialog provided directives and components. Removed file-auto-download.component.scss. Removed unused methods from file-auto-download.component.ts

* [ACA-4681] Added licence info to file-auto-download-actions.enum.ts

* [ACA-4681] Added license info to file-auto-download.component.ts

* [ACA-4681] Removed empty constructor

* [ACA-4681] Updated appConfig property name from "preview-config" to "viewer".

* [ACA-4681] Added JSDoc for FileAutoDownloadActionsEnum

* [ACA-4681] Updated ADF demo shell application to use "viewer" appConfig object instead of "preview-config"

* [ACA-4681] Resolved lint issues

* [ACA-4681] Removed dependency from NodeActionsService inside DocumentListComponent. FileAutoDownload component now directly triggers the file download, instead of emitting FileAutoDownloadActionsEnum.Download.

* [ACA-4681] Removed unused async. Updated import statement

* [ACA-4681] Added FileAutoDownloadComponent to public-api.ts
2023-04-04 13:01:23 +05:30
AleksanderSklorz
431b3db08a
[ACS-4721] tags are not displayed properly when resizing browser (#8424)
* ACS-4721 Partial fix issue with resizing window

* ACS-4721 Fixed issue for overlapping view more button with tags, skip calculation if anyone clicked on view more button

* ACS-4721 Unit tests

* ACS-4721 Fixed lint issues

* ACS-4721 Small correction in tests

* ACS-4721 Fixed unit tests

* ACS-4721 Fixed unit tests

* ACS-4721 Resolved issues after opening viewer

* ACS-4721 Formatting

* ACS-4721 Fixed lint issue
2023-03-30 14:16:04 +02:00
AleksanderSklorz
3e2683e06b
[ACS-4126] viewer allow assigning tags to content basic (#8417)
* ACS-4126 Moved component for tags creation from applications to ADF, putting that component into Viewer

* ACS-4126 Assigning tags to node and removed reference to modal from component for tags creating

* ACS-4126 Started working on assigning existing tags to node

* ACS-4126 Added newest changes for tags creation component

* ACS-4126 Usage of MatSelectionList, possibility for selecting existing tag

* ACS-4126 Allow to pass already assigned tags to tags creator as default top list

* ACS-4126 Fixed some css issues like aligning of icons, hiden add input icon when input is already visible

* ACS-4126 Allow to unlink tags from content

* ACS-4126 Allow for discard changes and fixed some validation issues

* ACS-4126 Integrate with changes for removing pagination

* ACS-4126 Autoscroll to input, remove scrollbar from search list

* ACS-4126 Code formatting

* ACS-4126 Renamed prefix for tags and style classes

* ACS-4126 Refreshing assigned tags after linking them, disable some operations during saving

* ACS-4126 Remove scrollbar from create label for long text, corrected some validations, use p tag instead of card view for displaying already assigned tags

* ACS-4126 Removed redundant code from tags creator component

* ACS-4126 Corrected translations

* ACS-4126 Hide input during saving

* ACS-4126 Unit tests for ContentMetadataComponent

* ACS-4126 Unit tests for TagService

* ACS-4126 Fixed unit tests for TagsCreator

* ACS-4126 Added documentation

* ACS-4126 Added additional unit tests

* ACS-4126 Fixed lint issues

* ACS-4126 Remove tags from files and folders list when taggable is unchecked

* ACS-4126 Small correction in styles

* ACS-4126 Corrected type for assigning single tag

* ACS-4126 Updated docs

* ACS-4126 Updated docs

* ACS-4126 Fixed some unit tests

* ACS-4126 Fixed lint issues

* ACS-4126 Updated jsdoc

* ACS-4126 Reverted one unwanted line

* ACS-4126 Removed space which caused lint issue

* ACS-4126 Fixed unit tests

* ACS-4126 Restored change

* ACS-4126 Fixed unit tests

* ACS-4126 Small correction
2023-03-30 08:47:09 +02:00