673 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Eugenio Romano
a535af667b
[AAE-10773] Make Form core process agonostic (#8032)
* move form list in a component

* move things in the right place

* move last pice in the right place

* move things in the right place

* move people and group in the right place

* move radio and typehead
form service start remove responsibilities

* remove model service and editor service from formService

* move dropdwon in process-service
finish remove service from form service

* fix some wrong import

* move activiti

* fix double quote imports

* move dynamic table

* fix shell

* move unit test

* [ci:force] fix lint issues

* fix build and some unit test

* fix process spec type spy problems [ci:foce]

* fix

* fix broken tests

* fix lint issues

* fix cloud dropdown test

* cleanup process-service-cloud tests

* fix people process

* improve e2e test

Co-authored-by: Kasia Biernat <kasia.biernat@hyland.com>
2022-12-21 15:12:38 +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
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
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
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
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
Alfresco Build
6e9234af4f
[ci:force][auto-commit] Update JS-API to 5.2.0-445 for branch: update-js-api originated from JS-API PR: 445 (#8020) 2022-11-30 09:35:25 +00:00
Alfresco Build
97e6129b6e
Update branch for JS-API PR#438 (#8010)
* [ci:force][auto-commit] Update JS-API to 5.2.0-443 for branch: update-js-api originated from JS-API PR: 443

* [ADF-5507] Fix failing unit tests for auth service

* remove unnecessary method

Co-authored-by: Michal Kinas <michal.kinas@hyland.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
2022-11-29 12:39:50 +00:00
Rafal Szmit
7667c98196
[AAE-11437] Remove snackbar duplications (#8003)
* [AAE-11437] Remove snackbar duplications

* trigger travis

* extend timeout
2022-11-24 10:28:45 +01:00
Alfresco Build
792906087c
[ci:force][auto-commit] Update JS-API to 5.2.0-435 for branch: update-js-api originated from JS-API PR: 435 (#7993) 2022-11-24 10:27:44 +01:00
AleksanderSklorz
06b6527613
ACS-3640 Fix e2e (#7999) 2022-11-21 15:20:03 +00:00
MichalKinas
9b7fab0737
[ACS-3658] Fix duplicated ids (#7987)
* [ACS-3658] Fix duplicated ids

* [ACS-3658] Missing automation id changes
2022-11-21 16:07:05 +01:00
AleksanderSklorz
eff4680081
[ACS-3640] Reverting reverted changes for a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#7988)
* ACS-3640 Increasing time of autoclosing snackbar and adding possibility to add icon to snackbar content

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments and adding possibility to display icon together with label

* ACS-3640 Fix lint issues

* ACS-3640 Added possibility to change showAction for different types of notifications

* ACS-3640 Addressed PR comments

* ACS-3640 Corrected title for snackbar content md file and remove redundant test for snackbar content

* ACS-3640 Fixed lint issues

* ACS-3640 Fixed unit tests

* ACS-3640 Fixed e2e tests

* ACS-3640 Correction after rebasing

* ACS-3640 Use data automation id

* ACS-3640 Corrected one more selector

* ACS-3640 Added spaces

* ACS-3640 Added spaces

* ACS-3640 Added spaces

* ACS-3640 Added spaces
2022-11-21 09:37:18 +01:00
Alfresco Build
73b34a0758
[ci:force][auto-commit] Update JS-API to 5.2.0-423 for branch: update-js-api originated from JS-API PR: 423 (#7991) 2022-11-18 09:22:02 +00:00
Alfresco Build
51384079cf
[ci:force][auto-commit] Update JS-API to 5.2.0-420 for branch: update-js-api originated from JS-API PR: 420 (#7985) 2022-11-17 11:58:19 +00:00
Alfresco Build
ee5bcb3d6a
[ci:force][auto-commit] Update JS-API to 5.2.0-419 for branch: update-js-api originated from JS-API PR: 419 (#7974) 2022-11-16 09:15:38 +00:00
Denys Vuika
2683383881
Revert "ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#7916)" (#7977)
This reverts commit 4d76ebe1ab6e82e5f72bbc1497b634c45b4e5fae.
2022-11-15 16:30:31 +00:00
Alfresco Build
18a4702f8e
[ci:force][auto-commit] Update JS-API to 5.2.0-417 for branch: update-js-api originated from JS-API PR: 417 (#7966) 2022-11-14 09:14:11 +00:00
AleksanderSklorz
4d76ebe1ab
ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#7916)
* ACS-3640 Increasing time of autoclosing snackbar and adding possibility to add icon to snackbar content

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments and adding possibility to display icon together with label

* ACS-3640 Fix lint issues

* ACS-3640 Added possibility to change showAction for different types of notifications

* ACS-3640 Addressed PR comments

* ACS-3640 Corrected title for snackbar content md file and remove redundant test for snackbar content

* ACS-3640 Fixed lint issues

* ACS-3640 Fixed unit tests

* ACS-3640 Fixed e2e tests

* ACS-3640 Correction after rebasing
2022-11-12 20:49:03 +01:00
AleksanderSklorz
ba05d3a1df
ACS-3550 Fixed accessibility issues related with move and copy dialogs (#7961)
* ACS-3550 Fixed accessibility issues related with move and copy dialogs

* ACS-3550 Revert changes for button role for cells

* ACS-3550 Shorter css rule

* ACS-3550 Fixed lint issues

* ACS-3550 Changed selector to fix e2e tests
2022-11-11 21:20:05 +01:00
Alfresco Build
a82147cf13
[ci:force][auto-commit] Update JS-API to 5.2.0-409 for branch: update-js-api originated from JS-API PR: 409 (#7964) 2022-11-09 09:19:58 +00:00
Alfresco Build
a2205850ce
[ci:force][auto-commit] Update JS-API to 5.2.0-408 for branch: update-js-api originated from JS-API PR: 408 (#7954) 2022-11-08 17:57:39 +00:00
Denys Vuika
558d16006a
[ACS-3751] make About layout collapsible (#7959)
* make About layout collapsible

* fix export

* remove empty css
2022-11-08 09:07:19 +00:00
Alfresco Build
551da23f78
[ci:force][auto-commit] Update JS-API to 5.2.0-402 for branch: update-js-api originated from JS-API PR: 402 (#7948) 2022-11-04 14:53:48 +00:00
Alfresco Build
033307f2b9
[ci:force][auto-commit] Update JS-API to 5.2.0-401 for branch: update-js-api originated from JS-API PR: 401 (#7920) 2022-11-03 13:42:40 +00:00
Rafal Szmit
26c1431815
[AAE-11275] - e2e protractor - remove sleep step (#7944)
* [AAE-11275] - remove sleep step

* trigger travis
2022-11-03 13:08:57 +00:00
AleksanderSklorz
13fe6fb07a
ACS-3545 a 11 y aca metadata sidebar (#7923)
* ACS-3545 Fixed accessibility issues for metadata sidebar
2022-11-02 21:40:14 +01:00
Denys Vuika
03a888fb5e
[ACS-3685] Release 5.1.0 (#7919)
* bump versions

* reports
2022-10-24 18:53:48 +01:00
Alfresco Build
388ca411a3
[ci:force][auto-commit] Update JS-API to 5.1.0 for branch: update-js-api originated from JS-API PR: 387 (#7918) 2022-10-24 14:37:22 +01:00
Alfresco Build
2d57ca31ca
[ci:force][auto-commit] Update JS-API to 5.1.0-378 for branch: update-js-api originated from JS-API PR: 378 (#7905) 2022-10-24 09:02:08 +01:00
Ardit Domi
b64d1583e2
Change email domain for users created by e2e to example.com (#7911) 2022-10-20 11:58:28 +01:00
Ardit Domi
1a76776e65
Change email domain for users created by e2e (#7910)
* Change email domain for users created by e2e

* Fix typo

* Use example.net as default
2022-10-20 08:59:08 +01:00
Alfresco Build
122aa805a2
[ci:force][auto-commit] Update JS-API to 5.1.0-369 for branch: update-js-api originated from JS-API PR: 369 (#7897) 2022-10-18 11:34:17 +01:00