795 Commits

Author SHA1 Message Date
tomasz hanaj
a39480bc48
[AAE-12872] custom css variables replaced with theme related variables (#8332)
* AAE-12872 replaced global variables related to foreground text

* AAE-12872 replaced global css variables related to foreground

* AAE-12872 replaced global css variables related to background,palette colors
2023-03-08 23:40:48 +00:00
Eugenio Romano
8db863219c
[AAE-12723] Move rich text editor in Process cloud (#8283)
* move rich text editor in Process cloud

* fix import

* fix

* fix
2023-03-07 14:12:36 +01:00
Ehsan Rezaei
dd91f2eeb6
AAE-12245: Migrated from event cancelBubble to stopPropagation (#8311) 2023-03-06 21:57:51 +01:00
Gloria Camino
ad150bf610
LOC-411 - Also related to PRODDEL-6965 - updated strings for ADF 6.0 in 16 languages (#8339) 2023-03-06 10:21:52 +00:00
Ehsan Rezaei
77fde1ab65
[AAE-12840] - Fix saving preference when columns width or order changes (#8331)
* AAE-12840: Fixed saving preference when column widths change in tasks and processes list

* AAE-12840: Fixed saving preference when columns order change in tasks and processes list

* AAE-12840: Fixed lint issue

* AAE-12840: fixed lint issue
2023-03-03 18:05:29 +01:00
tomasz hanaj
477d49eaee
AAE-12578 added fn to save col width with preferences (#8296)
* AAE-12578 added fn to save col width with preferences Resolved Conflict

* AAE-12578 fixed formatting issues

* Empty-Commit

* AAE-12578 added resizing column feature to process list

* AAE-12578: Removed duplicate component entry

---------

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
2023-02-20 16:11:16 +01:00
Ehsan Rezaei
f76e10ff09
AAE-12274: Added support for column resizing to process and task lists (#8275)
* AAE-12274: Added support for column resizing to process and task lists

* AAE-12274: trigger travis
2023-02-20 14:42:25 +01:00
Kasia Biernat
c5710c0e61
[AAE-12134] unit test: Should be able to set number of columns for Header widget (#8267) 2023-02-15 11:35:15 +01: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
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
Kasia Biernat
c12b4284ef
[AAE-12249] add description field (#8226) 2023-02-06 14:57:45 +01:00
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
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
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
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
tomasz hanaj
3df6bcea26
AAE-12063 removed startCreatedProcess with relevant unit tests (#8131)
* AAE-12063 removed startCreatedProcess with relevant unit tests

* AAE-12063 removed createProcess with relevant unit tests
2023-01-24 17:26:04 +00:00
Ehsan Rezaei
f02272ac68
AAE-12239: Managed to populate processInstanceId in service tasks filters when navigating from process instances view (#8174) 2023-01-24 17:25:34 +00:00
Gloria Camino
4f7f5b0afb
LOC-405 - Updated string in process-services-cloud in 16 languages for ADF 6.0 (#8177) 2023-01-21 15:37:34 +00:00
Tomasz Gnyp
73e1953418
[AAE-11989] Automate C586839 - Should be able to see the tooltip for form widget (#8138) 2023-01-12 16:44:19 +00:00
Amedeo Lepore
34e5508076
[AAE-11992] pass only the processInstanceId as Input instead of the entire taskFilter object (#8140) 2023-01-12 17:16:15 +01:00
Amedeo Lepore
93edda2263
[AAE-11992] fix processInstanceId filter empty: set taskFilter as input to check for the processInstanceId changes to set the filter (#8128) 2023-01-12 09:54:10 +00:00
AleksanderSklorz
1791534ec6
[ACA-4647] Fix for e2e (#8104)
* [ci:force] ACA-4647 Fix for e2e

* ACA-4647 added missing parameters to unit test

* ACA-4647 added unit test to cover changes in startProcess

* ACA-4647 changed property name to fix build error

* ACA-4647 changed json to object to avoid lint errors

* ACA-4647 added missing semicolon

Co-authored-by: tomek.hanaj <tomek.hanaj@hyland.com>
2023-01-10 19:05:35 +00:00
Eugenio Romano
a0aab47090
export identity-group.service (#8099) 2023-01-04 16:04:57 +00:00
tomasz hanaj
bc7c052059
[AAE-11740] replaced api for starting process (#8052)
* AAE-11740 replaced api for starting process

* AAE-11740 adjusted tests due to replaced start process api

* AAE-11740 merged similar tests for starting process

* AAE-11740 added condition for disabled start process button
2022-12-22 09:07:54 +01: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
Diogo Bastos
eb27d38eba
[AAE-11588] Send Process Variables as a post body in admin process instances (#8067)
* [AAE-11588] Send variable keys as a post body in admin process instances

* [AAE-11588] Add tests

* [AAE-11588] Add async/await functionality to test suite

* [AEE-11588] Improve logic in service and added test cases
2022-12-21 09:39:58 +00:00
tomasz hanaj
ef278bde79
AAE-11739 removed unnecessary api call when cancelling not started pr… (#8041)
* AAE-11739 removed unnecessary api call when cancelling not started process

* AAE-11739 added unit tests for cancelling process

* AAE-11739 fixed erroneous test

* AAE-11739 fix for test related error thrown in afterAll

* AAE-11739 added proper way to test wheter button exist
2022-12-13 11:39:31 +01: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
Gloria Camino
f11bf262f8
LOC-402 - Updated localized UI in 16 languages for ADF 6.0 (#8023) 2022-12-01 16:23:01 +00:00
Ardit Domi
e343de5c13
[AAE-11480] - Fix required error is displayed for a non required drop… (#8021)
* [AAE-11480] - Fix required error is displayed for a non required dropdown

* Use alias for async pipe instead of subscribing 2 times
2022-12-01 14:11:20 +00:00
arohilaGL
dea5f21894
[ACS-4050]critical issues from csv 880282, 880449, 880280 (#8005)
* title for adfSelectProcessDropdown button, issue 880282

* 880449, 880280 fix

* review comments fix

* review comments
2022-11-29 09:34:54 +00:00
jatin2008
14ba15a072
[ACS-4051] 880283, 880284, 880285 Critical CSV issues buttons must have discernible text fixed (#8001)
* 880283, 880284, 880285 buttons must have discernible text issue fixed

* addressed review comments
2022-11-23 14:30:34 +01: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
Robert Duda
a83e837a96
[AAE-11319] start process loading spinner (#7968) 2022-11-15 09:57:38 +01:00
Tomasz Gnyp
0b0174ced4
[AAE-7666] Add error message when REST API fails for radio buttons (#7926)
* [AAE-7666] Add error message when REST API fails for radio buttons

* [AAE-7666] remove not needed checks from unit test

* Remove redundant code

* move logic from html to component
2022-11-02 14:00:41 +01:00
Ehsan Rezaei
b48784a04e
AAE-10842: Modified properties viewer widget to handle file input (#7900)
* AAE-10842: Modified properties viewer widget to handle file input

* AAE-10842: Fixed linting issue

* trigger Codacy
2022-11-02 11:48:00 +01:00
Tomasz Gnyp
864bc33598
[AAE-11238] Fix position of loading spinner on task loading (#7928)
* [AAE-11238] Fix position of loading spinner on task loading

* trigger travis
2022-10-31 13:15:34 +01:00
Sushmitha V
32a3f9c9ef
[AAE-3563] getTaskById API is called multiple times when a task from … (#7877)
* [AAE-3563] getTaskById API is called multiple times when a task from cloud is opened

* Changes done as oer comments

* Added unit test

* Fixed eslint

* Resolved UT
2022-10-27 16:52:43 +05:30
Tomasz Gnyp
c28e23b1cb
[AAE-10991] Fix task counter decrease (T15330758) (#7922)
* [AAE-10991] Fix task counter decrease

* improve unit tests

* trigger travis
2022-10-27 12:33:12 +02:00
Ardit Domi
d1805226fc
[AAE-10896] - Fix attach file widget destinationFolderPath is broken … (#7888)
* [AAE-10896] - Fix attach file widget destinationFolderPath is broken when using string variables

* Fix unit tests

* Add unit test

* Fix linting problems
2022-10-12 09:43:41 +02:00
Ehsan Rezaei
4d8195fa82
AAE-2824: Managed to trigger executeOutcome when clicking on custom outcome buttons (#7873) 2022-09-30 18:19:51 +01:00
Ardit Domi
c845843591
[AAE-10311] - Fix deprecation warning about dates in cloud unit tests (#7787)
* [AAE-10311] - Fix deprecation warning about dates in cloud unit tests

* Fix comments
2022-09-13 09:33:17 +02:00
Tomasz Gnyp
b7e8abc529
[AAE-10461] Fix license header checker (#7823)
* [AAE-10461] Fix license header checker

* trigger travis

* fix license headers for cli lib

* rebase
2022-09-12 19:07:27 +02:00
Gloria Camino
fff475e592
LOC-386 - Updated UI in 16 languages for ADF 5.0 release (#7804) 2022-09-12 17:01:22 +02:00
Robert Duda
9ba86e1ff1
[AAE-10252] Storybook Update existing Stories to adhere to conventions (#7780)
* [AAE-10252] Storybook Update existing Stories to adhere to conventions

* Added expaned controls globally

* About Module, Comments Module

* Icon Module, Language Menu Module

* Social Module

* Naming of single stories

* process-services-cloud Modules

* Added descriptions and categories for actions

* Fixed and cleaned error-content stories

* Updated playwright tests to navigate properly

* Template Module

* Toolbar Module

* fixed Like component controls

* content projection showcase
2022-09-12 09:03:24 +02:00
Denys Vuika
9352daf799
[AAE-10472] upgrade apollo libraries to Angular 14 compatible versions (#7799)
* upgrade apollo libraries

* fix unit tests

* Empty-Commit
2022-09-01 15:14:00 +01:00
Tomasz Gnyp
b90b129527
Fix assignment type translations (#7793)
* Fix assignment type translations

* trigger travis
2022-08-30 09:19:39 +01:00
Tomasz Gnyp
c7d769510d
[AAE-9186] Filter tasks by assignee (#7784)
* [AAE-9186] Filter tasks by assignee

* add status filter enum

* remove useless case

* remove useless unit test

* improve task assignment filter unit tests

* remove useless imports

* rebase

* fix lint

* run the copydist only for affected

* Build always cli and testing to use local

* Add back test and cli

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2022-08-26 12:53:06 +01:00
Sushmitha V
2ef40b150f
[AAE-10219] Add css to align according to alignment property in RadioField (#7750)
* [AAE-10219] Add css to align according to alignment property in RadioField

* [AAE-10219] Add css to align according to alignment property in RadioField

* trigger travis

* Fix nx build core

* reduce dependsOn config

* update demoshell cspell path

* [AAE-10460] fix storybook config (#7785)

* [AAE-10460] fix storybook config

* trigger travis

* trigger travis

Co-authored-by: Rafal Szmit <rafal.szmit@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
Co-authored-by: Tomasz Gnyp <49343696+tomgny@users.noreply.github.com>
2022-08-26 00:39:01 +02:00