10860 Commits

Author SHA1 Message Date
MichalKinas
b1311c6966
[ACS-4124] Display only as much tags as fits container in tag node list (#8247)
* [ACS-4124] Display only as much tags as fits container in tag node list

* [ACS-4124] CR fixes

* [ACS-4124] Add hidden, lint fixes, event propagation stopped
2023-02-14 11:04:07 +01:00
Jatin Chugh
6e99dd663a
[ACS-4322] content overlap issue fixed at 400% zoom and close button which was earlier not visible at 400% zoom is visible now. (#8201)
* content overlap issue fixed at 400% zoom and close button which was earlier not visible at 400% zoom fixed

* adjusting the contents at 400% zoom by reducing the padding of mat-dialog-container

* linting change of zero-no-unit
2023-02-13 16:07:18 +05:30
Denys Vuika
5ce8553901
upgrade js-editor to drop cypress dependency (#8249)
* upgrade js-editor to drop cypress dependency

* upgrade caniuse-lite
2023-02-10 19:09:37 +00:00
Alfresco Build
d2f9523053
[ci:force][auto-commit] Update JS-API to 5.4.0-620 for branch: update-js-api originated from JS-API PR: 620 (#8250) 2023-02-10 16:13:48 +00:00
Eugenio Romano
99015fee87
Update dependabot.yml (#8252) 2023-02-10 15:51:10 +00:00
Vito Albano
e16bed611c
[AAE-12260] - fixing form field mapping (#8243)
* [AAE-12260] - reverting form field mapping to fix wrong behaivour

* [AAE-12260] - fixed readonly radiobutton

* [AAE-12260] - fixed valid check for rest options when multiple choice is made

* [AAE-12260] - fixed name for array elements

* [ci skip]

* start ci
2023-02-10 13:16:08 +00:00
swapnil-verma-gl
5d2dddee28
[ACS-4254] Delete permissions button is now keyboard interact-able (enter key) (#8216) 2023-02-09 21:13:40 +00:00
Alfresco Build
cae2d70637
[ci:force][auto-commit] Update JS-API to 5.4.0-619 for branch: update-js-api originated from JS-API PR: 619 (#8231) 2023-02-09 19:43:07 +00:00
Maurizio Cacace
d873306c7c
AAE-12192 - adding upload artifacts action (#8172)
* fix conflict

* AAE-12192 upload artifact action

* AAE-12192 upload artifact action

* AAE-12192 upload artifact action

* fix conflict

* skip check approved

* testing artifact upload

* testing artifact upload

* put devel flag again
2023-02-09 17:14:57 +01:00
AleksanderSklorz
dd1feeec6e
[ACS-4296] adding mapping in tags service (#8240)
* ACS-4296 Adding mapping in tags service

* ACS-4296 Correct lint issue

* ACS-4296 Excluded failing e2e

* ACS-4296 Trigger build

* ACS-4296 Trigger build

* ACS-4296 Reverted excluded tests
2023-02-08 22:19:16 +01:00
Eugenio Romano
08b4cc7939
Update rebase.yml 2023-02-08 16:55:20 +00:00
Amedeo Lepore
7c6ce0a5fe
[AAE-12558] Fix load content-services translation resources (#8241)
* Fix load content-services tranlsation resources

* [ACS-4595] exclude failed e2es

* Reverted excluded tests
2023-02-08 17:20:44 +01:00
tomasz hanaj
b9c53e586d
AAE-12139 disabled start process btn when clicked and api call in pro… (#8160)
* AAE-12139 disabled start process btn when clicked and api call in progress

* AAE-12139 improved unit tests

* AAE-12139 added return type

* AAE-12139 removed ngOnInit from unit tests
2023-02-08 16:55:15 +01:00
Denys Vuika
cd84be9712
Fix cli compilation (#8244)
* fix cli compilation

* [ci:force] latest libs

* [ci:force] delete old mergify config
2023-02-08 12:54:26 +01:00
Thomas Hunter
1a00249f6a
[ADF-5514] Fix red dot still present after filter being cleared (#8181)
* [ADF-5514] Fix red dot still present after filter being cleared

* Add unit test

* Added statement clearing filter after each test so the ordering doesn't cause the unit test to fail
2023-02-08 09:18:14 +00:00
Amedeo Lepore
4c7e500ea8
Move search-input-text from content-services to core (#8239)
* Move search-input-text from content-services to core

* Move SearchConfigurationInterface into the content-services since is content related

* Rename search-configuration.interface file to search-component.interface

* Update import SearchConfigurationInterface from content-services

* Decouple SearchComponentInterface from js-api

* Decaplre NodeEntry instead using type any

* Remove comment

* Update component import to fix unit test

* Import SearchTextModule into core
2023-02-06 18:40:28 +01:00
Kasia Biernat
c12b4284ef
[AAE-12249] add description field (#8226) 2023-02-06 14:57:45 +01:00
Marco Carrozzo
a0333b1d9c
[AAE-12412] bot & schedule check fix 2023-02-03 16:35:29 +01:00
Marco Carrozzo
857f9bd2b4
[AAE-12532] remove pipelines from travis.yml (#8229) 2023-02-03 12:24:51 +01:00
Raviraj Bahirsheth
e59176d393
[ACS-4274] Add role heading and aria level in header template (#8192)
* [ACS-4274] Add role heading and aria level in header template

* [ACS-4274] add link role

* Added header tag to title
2023-02-03 12:15:06 +05:30
Alfresco Build
49c6cb5ad3
[ci:force][auto-commit] Update JS-API to 5.4.0-566 for branch: update-js-api originated from JS-API PR: 566 (#8215) 2023-02-03 01:41:05 +00:00
Jatin Chugh
65e0c2405a
[ACS-4051] Copy to clipboard button is now accessible through the keyboard (#8225) 2023-02-02 20:53:30 +00:00
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
3f8293b64c
Revert "[ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8165)" (#8224)
This reverts commit 11c3a02acc15901385494c17832e064a9b218d79.
2023-02-02 18:23:25 +05:30
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
Maurizio Cacace
ca49693bd6
AAE-12452 - Version published in NPM should have PR number id in the name not gh-run_id (#8218)
* AAE-11884 change tag sha action (#8118)

* AAE-12452 change npm id
2023-02-01 10:29:07 +01:00
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
1f450c0593
[AAE-11654] Fix default option being selectable when parent dropdown … (#8146)
* [AAE-11654] Fix default option being selectable when parent dropdown has no option selected

* [AAE-11654] Remove comment
2023-01-31 15:44:31 +00:00
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
Jatin Chugh
11c3a02acc
[ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8165)
* Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click

* review comments addressed
2023-01-31 18:28:03 +05:30
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
Bartosz Sekula
89b79c9e45
[AAE-12146] Update getFeature typings (#8167)
* [AAE-11463] Update getFeature typings

* added tests
2023-01-30 19:51:47 +01:00
Marco Carrozzo
71e7fc0bf6
AAE-12412 alfresco-build user whitelisted (#8214) 2023-01-30 17:00:09 +00:00
Marco Carrozzo
d6e8e7a3b3
AAE-12412 - dependabot actor check (#8210)
* AAE-12412

* AAE-12412
2023-01-30 15:34:38 +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
Marco Carrozzo
2d386c5890
AAE-12357: update unit test name (#8197) 2023-01-28 17:17:53 +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
Jatin Chugh
efb2558c3f
Exclue snackbar from screen reader (#8199) 2023-01-27 21:35:26 +05:30
Rafal Szmit
266d3aa9b0
[AAE-11700] add process to simpleapp (#8198)
* [AAE-11700] add process to simpleapp

* trigger ci
2023-01-27 14:44:22 +01:00
Raviraj Bahirsheth
b6cf14c844
[ACS-4263] Add 'aria-pressed' attribute for reset button on content viewer page (#8183) 2023-01-27 16:21:44 +05:30
Pablo Martinez Garcia
4a3bc568ad
[AAE-11708] Fix changelog author filtering programatically (#8178) 2023-01-26 17:23:23 +01:00
Denys Vuika
42dbfe25ac
fix gha warnings for outdated actions (#8194) 2023-01-26 15:58:44 +00:00
Ehsan Rezaei
2c248a611f
[AAE-8306] - Managed to disable complete/claim/release buttons on first click (#8166)
* AAE-8306: Managed to disable complete/save/claim buttons on user click

* AAE-8306: reverted back save button disable

* AAE-8306: Managed to disable unclaim or release button on user click

* AAE-8306: Fixed formatting issues

* AAE-8306: Fixed formatting issues
2023-01-26 10:29:19 +01:00
Ehsan Rezaei
588ffe0fa0
AAE-10979: Added support to display html icon for mht file format (#8133)
* AAE-10979: Added support to display html icon for multipart related mime type

* AAE-10979: excluded failing e2e tests

* AAE-10979: Removed extra comma
2023-01-26 08:44:18 +01: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