1358 Commits

Author SHA1 Message Date
Amedeo Lepore
d50aa91922
Fix alfresco-apps upstream build 260285240: export search-text-input.model from content-services (#8227) 2023-02-02 18:39:22 +01:00
AleksanderSklorz
e0dfc9a8e9
[ACS-4296] changes required after removing tags service from apps (#8223)
* ACS-4296 Added getCountersForTags and findTagByName functions to TagService

* ACS-4296 Import correct
2023-02-02 16:09:08 +00:00
Jatin Chugh
e8a3d109d4
Label is not persistent as placeholder is being used as the only visual label for a text field (#8221) 2023-02-02 11:07:48 +05:30
Eugenio Romano
4043d55fc4
[AAE-10778] Refactor Viewer (#7992)
* refactor version 1 many todo

* split render from viewer
move alfresco render in content pack

* refactor part 2

* test fixed

* fix doc

* [AAE-10778] Fix lint issues

* [AAE-10778] Fix lint issue: remove duplicated declaration

* [AAE-10778] Fix lint issue: use flex shorthand rule

* [AAE-10778] Fix FormService and WidgetComponent imports

* [AAE-10778] Fix import FormModel, FormService, FormFieldModel from adf-core

* [AAE-10778] Implement missing oninit, onchanges and ondestroy

* [AAE-10778] Replace adf-viewer with adf-alfresco-viewer, update escape command to close the viewer

* [AAE-10778] Fix unit test: fix the class name to match the 'adf-viewer-render.image-viewer-scaling' get from the appConfigService

* [AAE-10778] Fix image-viewer unit tests: replace ContentService with UrlService

* [AAE-10778] Fix unit test 'should if the extension change extension Change event be fired': emit file extension when the filename extension change

* [AAE-10778] Fix unit test: expect for internalFileName value instead of display-name id because the display name logic has been moved to the alfresco-viewer.component

* [AAE-10778] Fix unit test: remove display name it because the unknown display name value is no longer handled after refactoring

* [AAE-10778] Fix e2e: [C260096] Should the Viewer able to accept a customToolbar

* [AAE-10778] Update selector to fix e2e: '[C362265] Should the Viewer be able to download a previous version of a file'

* [AAE-10778] Update selector to fix e2e: '[C260038] Should display first page, toolbar and pagination when opening a .pdf file'

* fix aftrer rebase

* fix unit test

* [AAE-10778] Add adf viewer component that is node agnostic, show adf-alfresco-viewer or adf-viewer into file-view-component if blob or node are set

* [AAE-10778] Update viewer export path

* [AAE-10778] Update selectors since have been updated in the viewer component

* [AAE-10778] Call adf-viewer from alfresco-viewer, project adf-alfresco-viewer content to adf-viewer

* [AAE-10778] Remove full screen unit tests from alfresco-viewer component becase that logic is handled in the viewer.component

* [AAE-10778] Export toolbar custom actions component

* [AAE-10778] Pass mimeType as input to adf-viewer to update mime icon

* [AAE-10778] Remove e2e because the custom name behaviour has been removed from the file-view.component (9f21b6dc69\#diff-4b438dc59784dce9eb7634cfeca6d8db61362966343bd3d6895a3edafdf4cfd5L129)

* [AAE-10778] Use two-way binding for showViewer change to fix C260100

* [AAE-10778] Update prefix css selectors to adf-viewer because are related to the adf-viewer component

* [AAE-10778] Update prefix css selectors to adf-viewer in the unit tests because are related to the adf-viewer component

* [AAE-10778] Update the output name to showViewerChange to navigate to primary url after closing the viewer

* [AAE-10778] Pass right and left sidebar template context to viewer component (fix C362242)

* [AAE-10778] Add allowFullScreen input to disable/enable full screen behaviour

* [AAE-10778] Handle loading visualization only inside the viewer-render component

* [AAE-10778] PDF viewer: fix mat-progress-bar is not showed during the pdf loading, center progress bar

* [AAE-10778] Remove isLoading from unit tests because no longer exists

* [AAE-10778] Remove viewerType input from adf-viewer, viewerType will be handled by viewer-render

* [AAE-10778] Remove console.log

* [AAE-10778] Remove check full screen button is not displayed on the media file because is not needed anymore, we don't need to check for the fullscreen button in the viewer component

* [AAE-10778] Check for node rendtion before to assign to urlFileContent and mimeType

* [AAE-10778] Process Services Cloud: register file-viewer widget that uses adf-alfresco-viewer component to display content from ACS

* [AAE-10778] Core: rename file-viewer widget into base-viewer, base-viewer no longer accept nodeId, but will accept urlFile and blobFile

* [AAE-10778] Process Services: register file-viewer widget that uses adf-alfresco-viewer component to display content from ACS

* [AAE-10778] Base viewer widget: show viewer only if there's a file input

* [AAE-10778] Viewer component: check for fileName when urlFile is provided as Input

* [AAE-10778] Viewer component documentation

* [AAE-10778] Update upgrade guide with viewer changes

* [AAE-10778] Fix double quote lint issue after rebase

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
Co-authored-by: Amedeo Lepore <amedeo.lepore85@gmail.com>
2023-02-01 17:25:43 +01:00
MichalKinas
52520bb61e
[ACS-4364] Move tree component and categories service to ADF (#8156)
* [ACS-4364] Add tree component and categories service

* [ACS-4364] Add tree component to public api

* [ACS-4364] Refine tree unit tests

* [ACS-4364] Intergrate adding and deleting category

* [ACS-4364] Restyle load more button in tree component

* [ACS-4364] Missing semicolon

* [ACS-4364] Fix code styling

* [ACS-4364] Add docs for tree component and category service

* [ACS-4364] CR fixes

* [ACS-4364] Hide header row when displayName is not provided

* [ACS-4364] Docs fixes

* [ACS-4364] Add helper methods, code cleanup, unit tests for new methods

* [ACS-4364] Add missing semicolon
2023-02-01 15:42:40 +01:00
Jatin Chugh
afb22bbc02
Revert "[ACS-4307] Label is not persistent as placeholder is being used as the only visual label for a text field (#8213)" (#8220)
This reverts commit a720edd2cfda0eb6ecda34e6b41035756131f1af.
2023-02-01 16:16:50 +05:30
Jatin Chugh
a720edd2cf
[ACS-4307] Label is not persistent as placeholder is being used as the only visual label for a text field (#8213)
* Label is not persistent as placeholder is being used as the only visual label for a text field so added title in from and to form fields

* review comments addressed
2023-02-01 14:28:10 +05:30
Diogo Bastos
0ab39e28fd
[AAE-12179] Remove process-services and content-services dependencies… (#8161)
* [AAE-12179] Remove process-services and content-services dependencies from core comment-list component

* [AAE-12179] Remove comment-list injection token

* [AAE-12179] remove token injection in task module and node module
2023-01-31 15:21:01 +00:00
Eugenio Romano
4f25426c25
[AAE-10777] Move in common service the real common services (#8203)
* Move in common service the real common services
remove Pagination js-api dependencies
move search-input component in content

* fix unit

* fix lint

* fix

* fix
2023-01-30 23:42:29 +00:00
Alfresco Build
49237fee2d
[ci:force][auto-commit] Update JS-API to 5.4.0-561 for branch: update-js-api originated from JS-API PR: 561 (#8190) 2023-01-28 17:18:16 +00:00
Denys Vuika
2a45c1e7a3
fix the private access to the service variables (#8202)
* fix the private access to the service variables

* fix issues with unit tests
2023-01-28 17:17:09 +00:00
Nikita Maliarchuk
b503773475
[ACS-4411] updateTag method added to tags service (#8200)
* [ACS-4411] added updateTag method to tags service & tests & docs

* [ACS-4411] docs formatting fix

* [ACS-4411] unit test fix
2023-01-27 18:06:33 +00:00
Kasia Biernat
61a3e30c31
[AAE-12127] Test: The aspect added in config is displayed even if inc… (#8158)
* [AAE-12127] Test: The aspect added in config is displayed even if includeAll is set to false

* [AAE-12128][AAE-12129][AAE-12131] content metadata tests

* [AAE-12132][AAE-12133] content metadata exif tests

* [AAE-12130] Test: The aspects excluded in config are not displayed when includeAll is set to true
2023-01-25 10:11:37 +01:00
swapnil-verma-gl
1746fcf653
[ACS-4253] - Added aria-label to form element (#8170) 2023-01-24 17:07:11 +00:00
Alfresco Build
011f78ac43
[ci:force][auto-commit] Update JS-API to 5.4.0-550 for branch: update-js-api originated from JS-API PR: 550 (#8175) 2023-01-24 17:05:37 +00:00
Denys Vuika
44538015fa
Release 6.0.0-A.2 (#8179)
* bump versions

* sync lib dependency versions

* audit and security reports

* release notes and changelog

* update release notes
2023-01-23 14:54:03 +01:00
AleksanderSklorz
570bfb235c
[ACA-4650] Use NodeCommentsService for ADF_COMMENTS_SERVICE (#8169)
* ACA-4650 Use NodeCommentsService for ADF_COMMENTS_SERVICE

* ACA-4650 Register services at component level
2023-01-19 14:48:55 +00:00
Alfresco Build
491d16f562
[ci:force][auto-commit] Update JS-API to 5.3.0-539 for branch: update-js-api originated from JS-API PR: 539 (#8163) 2023-01-19 10:22:53 +00:00
Alfresco Build
35721b0279
[ci:force][auto-commit] Update JS-API to 5.3.0-537 for branch: update-js-api originated from JS-API PR: 537 (#8148) 2023-01-17 14:13:57 +00:00
AleksanderSklorz
616ae95c23
[ACS-4118] create a tag from tags list (#8143)
* ACS-4118 Update service for tags creation

* ACS-4118 Added unit tests and documentation

* ACS-4118 Added function in tag service for searching tags

* ACS-4118 Moved imported class to new line

* ACS-4118 Use UserPreferencesService for setting maxItems

* ACS-4118 Allow to specify maxItems

* ACS-4118 Added missing type

* ACS-4118 Increased js-api version
2023-01-16 09:50:30 +01:00
Alfresco Build
db38ccda7a
[ci:force][auto-commit] Update JS-API to 5.3.0-528 for branch: update-js-api originated from JS-API PR: 528 (#8142) 2023-01-13 16:32:42 +00:00
Alfresco Build
3ab91806c3
[ci:force][auto-commit] Update JS-API to 5.3.0-527 for branch: update-js-api originated from JS-API PR: 527 (#8129) 2023-01-12 09:42:45 +00:00
Alfresco Build
c4dbda49eb
[ci:force][auto-commit] Update JS-API to 5.3.0-525 for branch: update-js-api originated from JS-API PR: 525 (#8123) 2023-01-11 10:43:08 +00:00
Alfresco Build
029caf9010
[ci:force][auto-commit] Update JS-API to 5.3.0-524 for branch: update-js-api originated from JS-API PR: 524 (#8117) 2023-01-10 15:17:21 +00:00
Alfresco Build
b14d701ca9
[ci:force][auto-commit] Update JS-API to 5.3.0-520 for branch: update-js-api originated from JS-API PR: 520 (#8106) 2023-01-09 14:46:08 +00:00
Alfresco Build
14c6e6fa1f
[ci:force][auto-commit] Update JS-API to 5.3.0-514 for branch: update-js-api originated from JS-API PR: 514 (#8103) 2023-01-05 08:52:29 +00:00
Eugenio Romano
f48cd30756
[AE-11486] move shared link in content and deprecate unused dialog service (#8091)
* move shared link in content and deprecate unused dialog service

* Update public-api.ts

* fix

* fix demoshell
2023-01-04 22:44:05 +01:00
Eugenio Romano
b9e0221ca2
[AE-11486] move lock and favorite (#8089)
* [ci:force] move lock and favorite

* fix
2023-01-04 14:24:42 +00:00
Alfresco Build
8a56a6d1fb
[ci:force][auto-commit] Update JS-API to 5.3.0-511 for branch: update-js-api originated from JS-API PR: 511 (#8095) 2023-01-04 10:31:27 +00:00
Eugenio Romano
4da74f1c07
[AAE-10769] remove alfresco deps from datatable (#8045)
* remove alfresco dep

* [ci:force] move data-column in datatable

* new datatable service

* doc

* required changes

* fix

* fix
2023-01-04 08:08:03 +00:00
Alfresco Build
0560197898
[ci:force][auto-commit] Update JS-API to 5.3.0-509 for branch: update-js-api originated from JS-API PR: 509 (#8078) 2023-01-03 16:01:48 +00:00
Eugenio Romano
df340f2bb2
[AE-11486] move search service in alfresco content (#8086)
* [ci:force] move search service in alfresco content

* fix

* fix md

* fix dep

* fix demo shell

* fix lint
2023-01-03 11:20:59 +00:00
Eugenio Romano
ae126475f7
[AAE-11486] move NodeUdpdate in nodeapiservice (#8077)
* move NodeUdpdate in nodeapiservice

* fix

* build fix

* Update name-column.component.ts

* Update viewer.component.spec.ts
2022-12-29 17:09:02 +00:00
Alfresco Build
b0561a2453
[ci:force][auto-commit] Update JS-API to 5.3.0-492 for branch: update-js-api originated from JS-API PR: 492 (#8069) 2022-12-23 09:16:36 +00:00
Denys Vuika
1855d8899d
[AAE-11889] move sites service to content lib (#8073)
* move sites service to content lib

* update migration guide

* update imports
2022-12-22 15:14:35 +00:00
Denys Vuika
2207156f3f
[AAE-10319] unit test fixes for content-services lib 2022-12-21 15:39:24 +00:00
Alfresco Build
e3a785583c
[ci:force][auto-commit] Update JS-API to 5.3.0-483 for branch: update-js-api originated from JS-API PR: 483 (#8056) 2022-12-20 13:41:30 +00:00
Diogo Bastos
3864aaf9cb
[AAE-10768] Make the comments reusable (#7983)
* [AAE-10768] Refactor core comments

* [AAE-10768] Add models export in core comments refactor

* [AAE-10768] Add comments implementation inside process-services package

* [AAE-10768] Add task comments module to process module

* [AAE-10768] Add node comments module to content services

* [AAE-10768] Add id check to getComments and addComments in adf-core comments component

* [AAE-10768] Remove unused service files in process-comments module

* [AAE-10768] Remove unused service files in process-comments module

* [AAE-10768] Add testing logic to spec files

* [AAE-10768] Add comments components readme

* [AAE-10768] Add a mock service to inject into the comment stories file

* [AAE-10768] Add mock data for comments stories

* [AAE-10768] Add mock service to inject into comments stories

* [AAE-10768] Rename mock service and mock data

* [AAE-10768] change taskId with id into the comments test because taskId is never used

* [AAE-10768] Resolve pr suggestions

* [AAE-10768] Resolve task-comments pr suggestions

* [AAE-10768] Resolve comments pr suggestions

* [AAE-10768] Fix merge error in comments.component.html

* [AAE-10768] Add missing markdown files

* [AAE-10768] Remove events from md files

* [AAE-10768] Update upgrade50-60.md with renamed input property

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2022-12-20 11:51:54 +01:00
Eugenio Romano
9077572199
[AAE-10776] NodeNameTooltipPipe moved in content service pkg (#8048)
* NodeNameTooltipPipe moved in content service pkg

* [ci:force] fix lint and build
2022-12-19 16:17:02 +00:00
tomasz hanaj
d5592b9e01
AAE-11714 changed max-width for cropped image (#8054) 2022-12-16 16:50:21 +00:00
Diogo Bastos
02578dcdc5
[AAE-10767] Separate core card view logic from content-services and add documentation to reflect the changes (#7952) 2022-12-16 16:28:36 +01:00
Alfresco Build
d27a3476f7
[ci:force][auto-commit] Update JS-API to 5.3.0-477 for branch: update-js-api originated from JS-API PR: 477 (#8053) 2022-12-15 09:40:50 +00:00
Alfresco Build
7f24d72ecc
[ci:force][auto-commit] Update JS-API to 5.3.0-476 for branch: update-js-api originated from JS-API PR: 476 (#8049) 2022-12-14 09:34:54 +00:00
AleksanderSklorz
c1cffa9cfb
[ACS-3757] returning focus to element from which they were opened (#8034)
* ACS-3757 Focus first focusable element in modals and allow to autofocus specific element after modal closing

* ACS-3757 Added possibility for autofocus after closing some modals, marking datatable row as source of context menu, fixing tests

* ACS-3757 Run lint

* ACS-3757 Updated documentation

* ACS-3757 Added unit tests

* ACS-3757 Replaced toHaveBeenCalledWith with toHaveBeenCalled and removed testing all falsy
2022-12-13 10:55:46 +00:00
Alfresco Build
0cb1c502c0
[ci:force][auto-commit] Update JS-API to 5.3.0-475 for branch: update-js-api originated from JS-API PR: 475 (#8042) 2022-12-13 08:58:50 +00:00
Kasia Biernat
5edc1186a4
[AAE-11695] move version compatibility directive and service (#8038)
* [AAE-11695] move version compatibility directive

* [AAE-11695] remove spare readme section
2022-12-12 11:19:31 +01:00
Alfresco Build
a84a89e8ec
[ci:force][auto-commit] Update JS-API to 5.3.0-466 for branch: update-js-api originated from JS-API PR: 466 (#8024) 2022-12-09 14:08:05 +00:00
Denys Vuika
95880dd5f8
[AAE-11664] Release 6.0.0-A.1 (#8033)
* bump versions

* cleanup lock files

* release reports

* upgrade the release script
2022-12-06 10:38:58 +00:00
Gloria Camino
f11bf262f8
LOC-402 - Updated localized UI in 16 languages for ADF 6.0 (#8023) 2022-12-01 16:23:01 +00:00
Alfresco Build
e5489363a1
[ci:force][auto-commit] Update JS-API to 5.2.0-446 for branch: update-js-api originated from JS-API PR: 446 (#8022) 2022-12-01 09:03:29 +00:00