Commit Graph

59 Commits

Author SHA1 Message Date
Vito Albano
3e3794ac6c migration for material' 2024-07-05 11:50:57 +01:00
Vito Albano
533157ba16 Changed ng version before material migration 2024-07-05 11:50:57 +01:00
Pablo Martinez
9e7312719c AAE-22037 Set static value for form variables in start event form (#9676) 2024-05-14 10:25:19 +02:00
Bartosz Sekula
d59fbdd825 AAE-21566 Handling new form event - show spinner (#9656)
* [AAE-21566] Add spinner event in process form

* CR

* CR

* added test for spinner service

* fix unit test

* fix lint
2024-05-09 10:46:36 +02:00
Darya Blavanovich
3819aecb70 [MNT-24354] update license header to 2024 (#9633)
* MNT-24354 update license header [ci:force]

* MNT-24354 fix lint [ci:force]

* MNT-24354 [ci:force]

* MNT-24354 update license header in process-services [ci:force]

---------

Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
2024-05-08 08:34:51 +02:00
Bartosz Sekula
5bfef4e3aa AAE-21755 Error when form is assigned to process start event (#9509)
* AAE-21755 Error when form is assigned to process start event

* fix unit

* Fix unit v2

* update
2024-04-04 14:38:59 +01:00
Pablo Martinez
dc88ef8ce7 AAE-20480 Full Screen User Task Forms (#9341)
* AAE-20480 Full Screen User Task Forms

* AAE-20480 Attend review comments

* AAE-20480 Remove leftovers

* AAE-20480 Enable changing the display mode from task-form-cloud

* AAE-20480 Fix fullscreen mode header

* AAE-20480 Fix review comments

* AAE-20480 Allow hiding the full screen toolbar by configuration

* AAE-20480 Add review comments

* AAE-20480 Create display mode service
2024-03-05 15:10:50 +01:00
Denys Vuika
d78dcd2156 [ACS-6071] fix docs for process cloud (#8947)
* fix docs for process cloud

* fix typo
2023-09-28 16:44:57 +01:00
Denys Vuika
a1dd270c5d [ACS-5991] ESLint fixes and code quality improvements (#8893)
* prefer-optional-chain: core

* prefer-optional-chain: content, fix typings

* prefer-optional-chain: process, fix typings

* prefer-optional-chain: process-cloud, fix typings, fix ts configs and eslint

* [ci: force] sonar errors fixes, insights lib

* [ci:force] fix security issues

* [ci:force] fix metadata e2e bug, js assignment bugs

* [ci:force] fix lint issue

* [ci:force] fix tests
2023-09-18 09:42:16 +01:00
Tomasz Gnyp
0ffbf9fbe2 [AAE-15522] Fix - Dropdown variable error messages are displayed at modeling part 2 (#8734)
* Revert preview flag changes

* add get preview state method to form cloud service
2023-07-04 14:39:02 +02:00
Tomasz Gnyp
a933070fc3 [AAE-15522] Fix - Dropdown variable error messages are displayed at modeling level (#8730) 2023-07-04 09:37:08 +02:00
Ehsan Rezaei
2d55bbf58a AAE-12240: Form save button enable/disable management (#8502)
* AAE-12240: Form save button enable/disable management

* AAE-12240: Code improvement
2023-05-03 13:03:08 +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
Robert Duda
2bd72f71d5 [AAE-12318] Adjustments for HxP Attach-File widget (#8425) 2023-04-03 13:57:49 +02:00
Ehsan Rezaei
dd91f2eeb6 AAE-12245: Migrated from event cancelBubble to stopPropagation (#8311) 2023-03-06 21:57:51 +01:00
Ketevani Kvirikashvili
aeb5bff264 [AAE-8740 Add a confirmation message in ADW (#7660)
* [AAE-8740 Add a confirmation message in ADW

* update tests

* use MatDialogHarness for tests

* Cleaning tests

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
2022-06-06 14:08:56 +02:00
Denys Vuika
5b7f255eec [AAE-7244] fix process services cloud eslint warnings (#7503)
* fix process services cloud eslint warnings

* fix export of private consts

* improve constant export

* fix unit tests
2022-02-17 14:08:41 +00:00
arditdomi
3eb74384ae [AAE-5872] - Viewer responds as we type in the form fields. Apply the… (#7298)
* [AAE-5872] - Viewer responds as we type in the form fields. Apply the fix on start process also

* Remove comments

Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
2021-10-13 14:38:26 +01:00
Vito
9c1b6dbc69 [MNT-22003] - fixed check on variable for visibility service (#6306)
* [MNT-22003] - fixed check on variable for visibility service

* [MNT-22003] - update variable for test

* [MNT-22003] - added extra unit test for checking the process variable passed

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-11-04 15:52:12 +00:00
Pablo Martinez Garcia
3a464a7bed [AAE-3514] Create file viewer widget (#6142)
* AAE-3514 Create File viewer widget

* AAE-3514 Fix complex fields behaviour

* AAE-3514 Modify attach widget selection indicator

* AAE-3514 Add unit tests to attach-file-cloud widget

* AAE-3514 Add unit tests

* AAE-3514 Increase coverage

* AAE-3514 Fix review comments

* AAE-3514 Fix review comments
2020-09-22 17:01:03 +01:00
Pablo Martinez Garcia
c1435c53e0 [AAE-3273] Manage empty option in retrieve content metadata dropdowns (#6024)
* AAE-3273 Manage empty option in retrieve content metadata dropdowns

* AAE-3273 Add unit tests

* AAE-3273 Refactor add not present fields

* AAE-3273 Add unit test in core
2020-08-25 00:36:22 +01:00
Pablo Martinez Garcia
aeff60a1b5 [AAE-3084] Add retrieve metadata option in upload widget (#5903)
* AAE-3084 Add retrieve metadata option to upload widget file menu

* AAE-3084 Fix rebasing issues

* AAE-3084 Fix behaviour on empty dropdown

* Update en.json

* AAE-3084 Fix en.json

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-08-10 11:57:30 +01:00
arditdomi
d553c71b1e [AAE-3110] Move upload button inside the node selector dialog (#5901)
* Open select dialog on all types, fetch destination folder from a relative path

* Dialog UI refactor, multiple upload from local

* Fix document list should automatically reload after upload

* Remove not used ViewChild

* Fix imports, read destination folder from form field

* support different alias

* Remove not needed property, reuse selection mode

* Remove unused methods

* Fix unit tests

* * Added unit tests
* Fixed failing unit tests

* * Added unit for upload button
* Skipped failing e2e

* * Removed process-storage related code

* * Removed unncessory model and code
*

* * Removed contentHost from formCloud model

* * Skiped content-services e2e

* Skip failing process e2e related to attachment

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-07-31 06:38:58 +01:00
Denys Vuika
e9350bd297 various code quality fixes (#5792)
* various code quality fixes

* reduce duplicated code

* add safety check
2020-06-18 17:57:46 +01:00
Popovics András
0a4f792854 [ACA-3074] Fix preselected file loading issue (#5739) 2020-06-02 09:45:39 +01:00
Denys Vuika
f6801b1997 [ADF-5106] fix stencil registration (#5694)
* customize services on the module level

* improved service registration
2020-05-13 19:31:49 +01:00
Denys Vuika
122bd9face [ADF-5106] allow to redefine form widgets (APS 1.x and cloud) (#5601)
* create failing test

* fix form and start form widget registration

* update cloud form
2020-04-21 15:47:09 +01:00
Denys Vuika
a0926a38d8 Minor code and style fixes (#5398)
* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
2020-02-09 22:03:32 +00:00
Alex Bolboșenco
3ecf6a3663 [AAE-1336] add version on completeTaskForm (#5354)
* add version on completeTaskForm

* fix test
2020-01-08 14:52:33 +01:00
davidcanonieto
dead0087f4 [AAE-1022] Fix components to work on Community environments (#5296)
* [AAE-1022] Fix components to work on Community environments

* Remove appName input
2019-12-18 17:33:50 +00:00
Maurizio Vitale
e1ff2909bd Fix the attach content from alfresco and local (#5328) 2019-12-12 13:41:40 +00:00
Maurizio Vitale
88d89b4ca8 [AAE-1152] Making sure the people and group widget is working fine as part of form (#5322)
* Making sure the people and group widget is working fine as part of the form

* Be able to save a form with people and group

* Fix tslint

* Fix html error

* Fix unit test
2019-12-11 11:22:50 +00:00
Eugenio Romano
703b96c9b0 [AAE-1152] Add People and Group component in the AAE Forms (#5314)
* firt version groupo component widget

* fix group

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix problem update script

* multiple browser ps cloud

* add field assignment

* add field in form model

* no need subobject we need an issue to refactor the field model

* no need subobject we need an issue to refactor the field model

* fix unit test

* remove title modify

* revert

* fix lint

* exclude AAE-1179

* exclude tooltip e2e
2019-12-10 11:24:24 +00:00
Maurizio Vitale
a63e487637 Use ecmHost in case of startFormEvent (#5318) 2019-12-10 11:11:05 +00:00
arditdomi
b016bf8167 [DW-1563] Complete button is not present for empty forms (#5269)
* [DW-1563] Complete button is not present for empty forms

* [DW-1563] Revert part of the changes

* [DW-1563] Remove unnecessary variable declaration
2019-11-20 15:32:25 +00:00
Eugenio Romano
a6ad7a5ad0 Documentation update 3.6.0 (#5257)
* documentation update 3.6.0

* documentation update 3.6.0

* update missing doc
2019-11-18 12:34:28 +00:00
Denys Vuika
3dd43ce9b5 [ADF-4997] no-duplicate-imports rule (#5256)
* no-duplicate-imports rule

* no-duplicate-imports rule
2019-11-15 13:38:01 +00:00
Denys Vuika
3644ba8b7c [DW-1486] form versioning and cloud service enhancements (#5248)
* support form versions retrieval

* rework cloud services, reduce code duplication

* revert app config changes

* fix api spelling error

* support task form versioning

* turn TaskDetailsCloudModel into interface

* remove commented code

* fix test

* update tests

* remove useless provider declarations
2019-11-14 15:04:21 +01:00
davidcanonieto
720e2035d8 [ADF-4925] Fix Process Variable mapping in ADF forms (#5116) 2019-09-30 16:08:48 +01:00
Denys Vuika
fc325be1e9 Revert "[ADF-4925] Fix process variable mapping in Form Cloud component (#5110)"
This reverts commit 7c692137e3.
2019-09-30 11:44:44 +01:00
davidcanonieto
7c692137e3 [ADF-4925] Fix process variable mapping in Form Cloud component (#5110) 2019-09-29 13:48:55 +01:00
Eugenio Romano
3dc92beeb9 Review documentation plus some tools fix (#5100)
* review 3.5.0 doc

* fix documentation

* fix documentation

* fix documentation
2019-09-26 10:27:04 +01:00
Denys Vuika
2360ccc6d5 [ACTIVITI-3720] cloud form support for form variable mapping (#5044)
* universal form model

* parse variables correctly

* turn group model into interface

* remove console.log

* interface instead of class

* update form id type

* improved form variable parsing

* improved variable conversion

* fix cloud tests

* fix typings and code bugs
2019-09-04 20:14:21 +01:00
Vito
19a17ca6e6 [ADF-4823] added download and show preview for attach cloud widget (#4996)
* [ADF-4823] fixed download and start fixing show preview

* [ADF-4823] fixed preview files

* [ADF-4823] - added unit test

* [ADF-4823] - fixed lint problem

* [ADF-4823] - rebased and fixed lint problem

* added a new method in BrowserActions to check that the action menu is visible, and using that in the tests.

* linting fixes
2019-09-03 11:10:40 +01:00
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
davidcanonieto
8adb9b2a25 [ADF-4775] Make date widget compatible with APS1 and APS2 (#4966)
* [ADF-4775] Make date widget compatible with APS1 and APS2

* Refactor and create new cloud widget
2019-08-07 00:40:19 +02:00
Vito
bb80d2b6d9 [ADF-4753] - fixed calling for standalone task (#4952)
* [ADF-4753] - fixed calling for standalone task

* [ADF-4753] added unit test

* [ADF-4753] added unit test

* [ADF-4753] improved unit tests

* [ADF-4753] - removed extra parameter not needed
2019-07-26 12:23:27 +01:00
siva kumar
957a76b1b5 [ADF-4519] Attach an ACS content to a form (#4842)
* * Process-storage

* * Used jsapiServcie

* Be able to upload a file on the content with the createNode api

* Refactor

* [ADF-4519] Attach an ACS content to a form.

* * Created attachfile-cloud-widget component

* * Created a component to attach an acs content to a form.

* * Added unit tests

* * Removed unused methods* FIxed tslint errors.

* * Reverted demo shell changes.

* * Removed unnecessary methods

* * Fixed at able to remove attached file

* * After rebase.

* * Removed tempFile and currentFile properties.* Refactored attach-file-cloud-widget.

* Update upload-cloud.widget.html

* fix

* Fixed readonly form
2019-06-18 18:54:33 +01:00
Maurizio Vitale
819ed9ae6a Fix start process form (#4847) 2019-06-13 18:21:33 +01:00
Eugenio Romano
b04b717296 [ADF-4651] fix task form cloud (#4843)
* fix task form cloud

* fix form
2019-06-12 20:16:04 +01:00