1020 Commits

Author SHA1 Message Date
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
Alfresco Build
2107538c51
Update branch for JS-API PR#126 (#7629)
* [ci:force][auto-commit] Update JS-API to 4.11.0-126 for branch: update-js-api originated from JS-API PR: 126

* [ci:force][auto-commit] Update JS-API to 4.11.0-127 for branch: update-js-api originated from JS-API PR: 127

* [ci:force][auto-commit] Update JS-API to 4.11.0-131 for branch: update-js-api originated from JS-API PR: 131

* [ci:force][auto-commit] Update JS-API to 4.11.0-132 for branch: update-js-api originated from JS-API PR: 132

* [ci:force][auto-commit] Update JS-API to 4.11.0-133 for branch: update-js-api originated from JS-API PR: 133
2022-05-16 10:41:01 +01: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
Alfresco Build
106441873a
Update branch for JS-API PR#9 (#7625)
* [ci:force][auto-commit] Update JS-API to 4.11.0-124 for branch: update-js-api originated from JS-API PR: 9

* [ci:force][auto-commit] Update JS-API to 4.11.0-125 for branch: update-js-api originated from JS-API PR: 125
2022-05-11 09:00:34 +02:00
Alfresco Build
3a5daf960c
Update branch for JS-API PR#5 (#7615)
* [ci:force][auto-commit] Update JS-API to 4.11.0-121 for branch: update-js-api originated from JS-API PR: 5

* [ci:force][auto-commit] Update JS-API to 4.11.0-122 for branch: update-js-api originated from JS-API PR: 122
2022-05-10 17:22:54 +01:00
Denys Vuika
90009d7516
Release 4.10.0 (#7602)
* bump library versions

* update package lock

* generate reports

* release notes for 4.10.0
2022-04-26 18:00:09 +01: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
Alfresco Build
23d3ca6f75
[ci:force][auto-commit] Update JS-API to 4.10.0-78 for branch: update-js-api originated from JS-API PR: 78 (#7589) 2022-04-21 09:11:54 +01:00
Alfresco Build
b205ab1ffd
Update branch for JS-API PR#63 (#7581)
* [ci:force][auto-commit] Update JS-API to 4.10.0-63 for branch: update-js-api originated from JS-API PR: 63

* [ci:force][auto-commit] Update JS-API to 4.10.0-64 for branch: update-js-api originated from JS-API PR: 64

* [ci:force][auto-commit] Update JS-API to 4.10.0-65 for branch: update-js-api originated from JS-API PR: 65

* [ci:force][auto-commit] Update JS-API to 4.10.0-66 for branch: update-js-api originated from JS-API PR: 66

* [ci:force][auto-commit] Update JS-API to 4.10.0-69 for branch: update-js-api originated from JS-API PR: 69

* [ci:force][auto-commit] Update JS-API to 4.10.0-70 for branch: update-js-api originated from JS-API PR: 70

* [ci:force][auto-commit] Update JS-API to 4.10.0-77 for branch: update-js-api originated from JS-API PR: 77

* generate package lock

* fix eslint plugin versions

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-04-20 16:41:33 +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
Popovics András
5740273216
[ci:force] Manually upgrade to latest js-api (#7560) 2022-03-24 11:53:39 +01:00
Denys Vuika
3f7cc8ed5d
Release 4.9.0 (#7552)
* bump versions

* generate reports

* release notes

* update release link
2022-03-15 09:40:28 +00: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
Alfresco Build
62f189d9df
Update branch for JS-API PR#4215 (#7523)
* [ci:force][auto-commit] Update JS-API to 4.9.0-4202 for branch: update-js-api originated from JS-API PR: 4215

* [ci:force][auto-commit] Update JS-API to 4.9.0-4221 for branch: update-js-api originated from JS-API PR: 4224

Signed-off-by: eromano <eugenioromano16@gmail.com>

* [ci:force][auto-commit] Update JS-API to 4.9.0-4239 for branch: update-js-api originated from JS-API PR: 4238

Signed-off-by: eromano <eugenioromano16@gmail.com>

* Use js api 4245

* Use js api 4253

Co-authored-by: Travis CI User <travis@example.org>
Co-authored-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2022-03-01 18:07:20 +00: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
Denys Vuika
b8bb234410
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics

* add schematics

* upgrade demoshell to eslint

* fix eslint issues for demoshell

* integrate eslint for ADF core and fix some issues

* turn into warn

* fix code

* workaround for Chrome clipboard issue

* exclude e2e tests

* exclude e2e
2022-02-02 18:01:47 +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
Eugenio Romano
ab188e9611
Bump 4.8.0 (#7471)
* bump and doc
2022-01-27 14:17:08 +01:00
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
Alfresco Build
c206bc22cd
Update branch for JS-API PR#4064 (#7438)
* [ci:force][auto-commit] Update JS-API to 4.8.0-4062 for branch: update-js-api originated from JS-API PR: 4064

* [ci:force][auto-commit] Update JS-API to 4.8.0-4074 for branch: update-js-api originated from JS-API PR: 4075

* [ci:force][auto-commit] Update JS-API to 4.8.0-4074 for branch: update-js-api originated from JS-API PR: 4076

Co-authored-by: Travis CI User <travis@example.org>
2022-01-12 16:19:18 +00: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
Alfresco Build
f35465e404
[ci:force][auto-commit] Update JS-API to 4.8.0-4045 for branch: update-js-api originated from JS-API PR: 4046 (#7423)
Co-authored-by: Travis CI User <travis@example.org>
2021-12-14 14:05:55 +01:00
Alfresco Build
e16e1c9764
Update branch for JS-API PR#4024 (#7402)
* [ci:force][auto-commit] Update JS-API to 4.8.0-4021 for branch: update-js-api originated from JS-API PR: 4024

* [ci:force][auto-commit] Update JS-API to 4.8.0-4030 for branch: update-js-api originated from JS-API PR: 4031

Co-authored-by: Travis CI User <travis@example.org>
2021-12-07 12:27:54 +01:00
Tomasz Gnyp
ccf16afc76
[AAE-5964] added primary story with mocks (#7401) 2021-12-07 12:00:03 +01:00
Alfresco Build
577be72c6e
Update branch for JS-API PR#4011 (#7383)
* [ci:force][auto-commit] Update JS-API to 4.8.0-4010 for branch: update-js-api originated from JS-API PR: 4011

* [ci:force][auto-commit] Update JS-API to 4.8.0-4010 for branch: update-js-api originated from JS-API PR: 4017

* [ci:force][auto-commit] Update JS-API to 4.8.0-4021 for branch: update-js-api originated from JS-API PR: 4022

Co-authored-by: Travis CI User <travis@example.org>
2021-12-01 08:42:48 +00:00
Tomasz Gnyp
ee4efeb290
[AAE-5965] added primary story (#7400) 2021-11-30 16:35:23 +00:00