Commit Graph

777 Commits

Author SHA1 Message Date
Bartosz Sekuła
c95ff1a839 Update process variable column type (#7664) 2022-06-07 10:16:18 +02:00
Bartosz Sekuła
c05259e6cf [AAE-7856] Show variables columns for tasks (#7659)
* Exclude flaky tests

* Revert "Exclude flaky tests"

This reverts commit 6ac24cc14a.

* [AAE-7856] Show variable columns in tasks

* revert loadTask to reload method name

* Temporary solution due to incompatible type used for dates
2022-06-06 21:50:32 +02:00
Bartosz Sekuła
f3e4ff5aa3 [AAE-7856] Show process variables in table (#7630)
* [AAE-7856] Show variables in table

* Exclude flaky tests

* Revert "Exclude flaky tests"

This reverts commit 6ac24cc14a.
2022-06-06 15:36:05 +02: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
Pablo Martinez Garcia
243803d4d3 [AAE-8929] Get start event form static inputs (#7652)
* [AAE-8929] Get start event form static inputs

* [AAE-8929] Fix tests
2022-06-02 11:18:56 +02:00
Amedeo Lepore
4457aed5b4 [AAE-6242] upload a new version of a file attached in a form (#7651)
* [AAE-6242] Create upload new version dialog to handle the upload of the new file version

* [AAE-6242] Create version manager service to open version manager dialog

* [AAE-6242] Export service and dialog

* [AAE-6242] add adf-upload button to the show the upload new file button

* [AAE-6242] open upload new version dialog

* [AAE-6242] Removed console log

* [AAE-8798] display update option name to newVersion

* [AAE-8799] Emit version manager data when new file version is uploaded

* [AAE-8799] When a new file version is uploaded open new version dialog and update current file version with the new file version

* [AAE-8799] Rename UploadNewVersionDialogComponent to VersionManagerDialogComponent and UploadNewVersionDialogData to VersionManagerDialogData

* [AAE-8799] Use default root folder id

* [AAE-8799] Add #uploadSingleFile ViewChild in order get the input reference

* [AAE-8799] Trigger adf-upload-button by clicking on the button in order to open the file chooser and upload a new file version

* [AAE-8799] Version manager dialog emits file upload error

* [AAE-8799] Format version manager dialog code

* [AAE-8799] Reject upload and permission errors

* [AAE-8799] Catch upload new version errors

* [AAE-8799] Update allowable operation type

* [AAE-8799] Rename VersionManagerDialogComponent into NewVersionUploaderDialogComponent and VersionManagerService into NewVersionUploaderService, create specific folder for new version uploader component and service

* Restore previous UploadButtonComponent version

* [AAE-8799] Use [adf-upload] directive to upload new file version

* [AAE-8799] Add mock file for new version uploader unit tests

* [AAE-8799] Override mat dialog configuration

* [AAE-8799] Add unit test related to event emitted from Dialog

* [AAE-8799] Create model to handle New Version Uploader data

* [AAE-8799] Return data on dialog close

* [AAE-8799] Add showVersionsOnly property to dialog to show only file version list

* [AAE-8799] Add dialogAction to emit dialog actions

* [AAE-8799] Return observable instead of promise

* [AAE-8799] Update new file version type

* [AAE-8799] Subscribe dialog because return an Observable

* [AAE-8799] Add license header

* [AAE-8799] Add i18n new version uploader translations

* [AAE-8799] If data.title is not provided, add a default title

* [AAE-8799] Change panelClass for manage versions visualizations, add dialog styles

* [AAE-8799] Add upload new version dialog unit test

* [AAE-8799] Add upload new version dialog unit test related to manage versions section

* [AAE-8799] Add onUploadNewFileVersion unit tests

* [AAE-8799] Test new dialog panelClass

* [AAE-8799] Create a method to set dialog title, if title isn't provided from parent component, a default title is set

* [AAE-8799] Add doc to new-version-uploader-dilog component and service

* [AAE-8799] Add new-version-uploader.dialog.service documentation
2022-05-27 09:54:09 +02:00
Rubén Barroso
b13a5cc282 [AAE-8856] Enable left label for form widgets in several widgets (#7640) 2022-05-18 18:43:59 +02:00
Bartosz Sekuła
95fc295688 [AAE-7817] Add columns selector for processes and tasks tasks (#7612)
* [AAE-7817] Add columns selector for processes and tasks tasks

* cr

* Update

* fix unit tests

* preserve order while sorting

* add input toggle to show main actions

* fix test
2022-05-17 08:41:14 +02:00
Rubén Barroso
1762ba5af1 [AAE-8764] Enable left labels in text, number and dropdown cloud widget (#7628) 2022-05-16 10:14:45 +02:00
Maurizio Vitale
9ff1f65841 [AAE-8061] Fix the group restriction for people widget (#7601)
* FIx the restrinction

* Fix unit test about restricted groups

* Add a small sleep to make it green

* Add sleep to other checks

* Remove sleeps, improve assertions

Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-04-26 15:29:06 +01:00
Eugenio Romano
3f7316f393 use all the filter fields to count the elements (#7595) 2022-04-22 18:42:23 +01:00
arditdomi
6fcac9f5f9 [AAE-8554] - Fix linked dropdown values are displayed but not submitted (#7590)
* [AAE-8554] - Fix dropdown values are displayed but not submitted

* Make eslint allow ternary
2022-04-21 17:25:38 +01:00
Tomasz Gnyp
694d71a103 [AAE-8061] Add groups restriction to people widget (#7586)
* [AAE-8061] add groups restriction to people widget

* Trigger travis

* [AAE-8061] fix lint

* [AAE-8061] fix unit tests
2022-04-20 14:51:32 +01:00
Tomasz Gnyp
7141230649 [AAE-7313] User can claim a task only if he is an candidate and relea… (#7558)
* [AAE-7313] User can claim a task only if he is an candidate and release if he is assigned

* [AAE-7313] unit test improvements

* revert change on  angular.json

* [AAE-7313] removed focus from unit test describe

* Trigger travis

* Trigger travis

* [AAE-7313] exclude C593997 e2e
2022-04-19 11:05:24 +02:00
Bartosz Sekuła
2db6d9e506 Provide preference services on for tasks/processes on component module level (#7579) 2022-04-14 12:00:14 +02:00
Pablo Martinez Garcia
a02a8a4ad9 [AAE-8086] Propagate form events (#7572)
* [AAE-8086] Propagate events

* [AAE-8086] Add form rules manager to the form renderer

* [AAE-8086] Extensibility improvements

* [AAE-8086] Fix wrong import

* [AAE-8087] Add form actions

* [AAE-8086] Initialize form rules manager on form renderer component changes

* [AAE-8087] Fix form actions

* [AAE-8087] Fix unit tests for field visibility

* trigger travis
2022-04-14 11:59:12 +02:00
Bartosz Sekuła
48c3fac018 [AAE-7819] Change column order - enable drag and drop for datatable - [1/3] (#7567)
* [AAE-7819] Enable drag and drop for datatable [1/3]

* [AAE-7819] Change column order - load and save columns order preferences for PROCESSES - [2/3] (#7568)

* [AAE-7819] Load and save column order preferences for processes

* [AAE-7819] Load and save column order preferences for tasks [3/3] (#7569)

* fix css

* fix icon module import

* Fix unit tests

* Fix test

* Fix e2e

* Fix C279927
2022-04-11 08:01:02 +02:00
Gloria Camino
18c9e1d28c LOC-359 - Full fix - UI files localized in 16 languages for ADF 4.9 (#7551) 2022-03-14 19:48:02 +00:00
Tomasz Gnyp
9fdefb578d [AAE-7376] Added process instance link in task details (#7544)
* [AAE-7376] Added process instance link in task details

* [AAE-7376] removed redirect logic from ADF

* Trigger travis

* [AAE-7376] added unit test
2022-03-09 14:42:29 +05:30
siva kumar
6ce7bb7769 [AAE-7801] Export TaskListCloudServiceInterface and BaseCloudService (#7546) 2022-03-08 12:17:16 +00:00
Bartosz Sekuła
736ec5d92f [ADF-5472] Missing placeholder for inplace input (#7541) 2022-03-08 10:17:38 +01:00
Tomasz Gnyp
3dc9f7cdfd [AAE-7765] Improved display mandatory form fields (#7531)
* [MNT-22765] Improved display mandatory form fields

* [MNT-22765] added unit tests

* [MNT-22765] fixed test with error icon on rest fail

* Trigger travis

* [MNT-22765] removed underscore from var name

* [AAE-7765] removed underscore from unit test

* [AAE-7765] fixed css lint

* [AAE-7765] fixed e2e error message css class

* [AAE-7765] fixed storybook e2e
2022-03-07 18:29:12 +00:00
Tomasz Gnyp
e877cd822b [AAE-7338] Changed endpoint for process task list (#7522)
* [AAE-7338] Changed approach to use token injection

* [AAE-7338] moved model files up

* [AAE-7338] fixed imports

* [AAE-7338] changed class to interface

* [AAE-7338] fixed model imports

* * Fixed failing unit tests due recent changes

* [AAE-7338] fixed unit test

Co-authored-by: sivakumar414ram <sivakumar414ram@gmail.com>
2022-03-07 16:48:15 +00:00
Bartosz Sekuła
14a777c5d4 [AAE-6345] New start process page APA (#7521)
* [AAE-6345] New start process page APA

* [AAE-6345] Added test

* [AAE-6345] Update

* CR

* Revrite wrapper to component

* Quick fix to e2e

* Show errors as ng-content

* Add Inplace word

* Fix unit tests

* Fix e2e
2022-03-03 20:02:36 +01:00
Eugenio Romano
7c171eaf87 [MNT-22865] fix get all task variables (#7508)
* fix get all task variables

* Update lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts

Co-authored-by: Andrea Ligios <11974750+andrea-ligios@users.noreply.github.com>

* Update lib/process-services-cloud/src/lib/form/services/form-cloud.service.ts

Co-authored-by: Andrea Ligios <11974750+andrea-ligios@users.noreply.github.com>

* Update form-cloud.service.ts

Co-authored-by: Andrea Ligios <11974750+andrea-ligios@users.noreply.github.com>
2022-02-18 10:12:11 +00: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
Bartosz Sekuła
670d2befdc [AAE-6823] Customize font (#7493)
* [AAE-6823] Customize font

* [AAE-6823] Update css variables names

* [AAE-6823] Cleaning

* [AAE-6823] Update css variables names

* [AAE-6823] Fix lint error
2022-02-08 14:15:57 +01:00
Denys Vuika
8dc736e8f0 [AAE-7100] migrate ADF projects to eslint (#7483)
* migrate content services to eslint

* migrate insights to eslint

* migrate extensions to eslint

* migrate testing lib to eslint

* migrate CLI to eslint

* migrate process-services to eslint

* migrate process-services-cloud to eslint

* remove cli analytics [ci:force]
2022-02-03 11:01:54 +00:00
siva kumar
6ef4838688 [AAE-5835] Add unit test to check is selected Process/Task filter highlighting (#7474)
* [AAE-5835] Automate the manual test: Process default filters

* My empty commit to start travis job
2022-02-02 16:02:50 +05:30
Vito
8a9a9a6fdc [AAE-7072] - added utc time for date time widget to avoid changing ti… (#7469)
* [AAE-7072] - added utc time for date time widget to avoid changing time on different timezones

* [AAE-7072] - fixed parsing when override is not added
2022-01-26 15:24:53 +00:00
arditdomi
e98fd2db0c [AAE-7010] - Fix nested linked dropdowns are not reset (#7463)
* [AAE-7010] - Fix nested linked dropdowns are not reset

* Rebase

* Reset rest in case value is not part of the options

* Update failing unit test due to form field changes
2022-01-24 14:57:22 +01:00
Bartosz Sekuła
bf77663d6a [AAE-6310] Fix for attaching files (#7457)
* [AAE-6310] Fix for attaching files

* [AAE-6310] Update

* [AAE-6310] Revert indentions changes

* [AAE-6310] Fix tests
2022-01-24 12:36:35 +01:00
Gloria Camino
4de725e559 LOC-350 - fix All UI files localized in 16 languages for ADF 4.8 release (#7459) 2022-01-24 10:56:24 +00:00
siva kumar
4ffa338585 [AAE-6660] FE - [ADF] Linked dropdown still contains old options when the rest api does not return results (#7454)
* [AAE-6660] FE - [ADF] Linked dropdown still contains old options when the rest api does not return results

* * Added unit tests to the recent changes done on dropdown.

* * Improved error message

* My empty commit to kick start travis

* * Fixed lint errors

* * Fixed css lint error

* * Fixed failing unit test
2022-01-24 14:47:44 +05:30
Andrea Ligios
214cb321e9 AAE-6861 - Add runtimeBundleVersion property to the Model (#7443)
* AAE-6861 - Add runtimeBundleVersion property to the Model

* AAE-6861 - Excluded test C260385 due to regression bug ADF-5467
2022-01-13 11:48:26 +01:00
Eugenio Romano
7c7b1eadf3 remove depend on from the general render (#7442) 2022-01-10 13:58:10 +01:00
Ketevani Kvirikashvili
131963f4ab [AAE-6310] Add a category in process definition model (#7439) 2022-01-07 17:18:41 +01:00
dependabot[bot]
28bdab1146 Bump stylelint from 13.13.1 to 14.2.0 (#7431)
* Bump stylelint from 13.13.1 to 14.2.0

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.1 to 14.2.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.1...14.2.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade to newest stylelint

* fix style issues

* fix color function rules to match old Angular

* rollback modern color func

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-01-05 09:21:09 +00:00
Tomasz Gnyp
ccf16afc76 [AAE-5964] added primary story with mocks (#7401) 2021-12-07 12:00:03 +01:00
Tomasz Gnyp
ee4efeb290 [AAE-5965] added primary story (#7400) 2021-11-30 16:35:23 +00:00
Ketevani Kvirikashvili
dbb7aeff8e [AAE-6307] Setting a default process name (#7389)
* [AAE-6307] Setting a process name on init if process definition name is present

* delete space and adding semicolon

* fixed lint
2021-11-29 10:26:09 +00:00
Tomasz Gnyp
9f31fb8dfa [AAE 5966] Storybook stories for AppListCloud component (#7390)
* [AAE-5966] added sprimary story

* [AAE-5966] improved syntax

* [AAE-5966] fixed module import
2021-11-29 09:41:19 +00:00
Dharan
2d032f50fb [AAE-6417] [FE] [FORM] preselect the logged user (#7377)
* [AAE-6417] [FE] [FORM] preselect the logged user

* [ci:force] force e2e
2021-11-25 10:34:05 +05:30
Dharan
6fdc6c101d [AAE-6572] Search capability for dropdowns (#7387) 2021-11-24 14:27:16 +00:00
tomgny
a40de80658 [AAE-6389] Remove duplicated identity user service mock (#7373)
* [AAE-6389] removed duplicate services and refactored existing

* [AAE-6389] improved and moved mocks to proper files

* [AAE-6389] fixed circular dependency
2021-11-24 10:18:20 +00:00
Eugenio Romano
c8688bf0bf [ACA-4382 ] About Page refactoring to use it across all the platform (#7365)
* about page refactor for global usage

* Development About

* add storybook

* fix build

* fix

* fix

* fix imports

* fix

* fix lint

* fix

* fix

* fix

* fix
2021-11-23 10:30:10 +00:00
tomgny
18d57e4850 [AAE-5958] Storybook stories for ProcessHeaderCloud component (#7374)
* [AAE-5958] added stories and mocks

* [AAE-5958] arefactored mocks

* [AAE-5958] added interface for mock and live process cloud service

* [AAE-5958] added story and mock for header placeholders
2021-11-17 09:40:14 +01:00
tomgny
3e16ae313e [AAE-5962] Storybook stories for FormDefinitionSelectorCloud component (#7332)
* [AAE-5962] added stories and mock

* [AAE-5961] afixed standalone task form mock

* [AAE-5962] added interface for real and mock form definition selector service

* [AAE-5962] renamed mock data
2021-11-16 17:18:35 +00:00
Sushmitha V
6bb60f9e51 [AAE-6357] Resolved - Process filters colour is different than task filters (#7364) 2021-11-12 11:28:33 +05:30
tomgny
0b24e896fa [AAE 6360] Storybook brand with Alfresco (#7363)
* [AAE-6360] added config and logo files to process cloud and stories lib

* [AAE-6360] fixed build by adding unimplemented methods in form cloud mock service

* [AAE-6360] added config files for core and content services

* [AAE-6360] fixed bimport to correct build content-services storybook
2021-11-11 15:56:32 +00:00