8833 Commits

Author SHA1 Message Date
Maurizio Vitale
52445b6e3e
[AAE-9370] Add manageruser to default apps (#7698)
* Add manageruser to default apps

* Try to ignore resource file to avoid affected
2022-07-01 14:20:49 +01:00
Maurizio Vitale
ae2c156c0e
[AAE-9382] SSOGuard - Call the acs user only in case of ECM (#7696)
* Call the acs user only

* Fix and add unit test
2022-07-01 14:20:40 +01:00
Sushmitha V
478943eed5
[AAE-9112] Included a output event on change of language (#7697) 2022-07-01 18:33:25 +05:30
Ketevani Kvirikashvili
1b027c3a86
[AAE-9190] - ATTACH FILE: view file content directly by clicking (#7693)
* [AAE-9190] ATTACH FILE: view file content directly by clicking

* unit test added

* fix

* delete comment

* fix CR

* fix

* fix identation

* delete extra spaces

* change import in unit test

* fix

* fix space lint
2022-07-01 09:48:27 +01:00
Ardit Domi
ad9a468b11
[AAE-9365] - Auth guards should return true when no roles to check are passed (#7695) 2022-06-30 09:38:48 +01:00
Maurizio Vitale
e27833d770
[AAE-9019] - People/Group cloud with HxP (#7658)
* Cover the use cases by mocking them

* Replace the mock with real stream and remove useless code

* Provide new service to fetch groups

* Fix group tests

* Use the interface and token injection

* [AAE-8870] add unit test and mock for new service

* Improve roles condifion

* initialize the stream as part of NgOnInit to be sure it relies on the correct FormControl instance(input)

* Rollback tmp change for roles

* [AAE-8641] people abstraction mock

* [AAE-8641] revert angular.json changes

* [AAE-8641] few conditions and code improvements

* [AAE-8641] revert change input controls name

* [AAE-8641] initialize the stream as part of ngOnInit

* [AAE-8641] people abstraction improvements

* [AAE-8870] cherry pick people abstraction

* [AAE-8641] fix people-group e2es

* fix lint

* remove hardcoded identityHost

* Use the identityhost api in case of cloud

* Solve issue with returnType array string

* Rebase and use GroupModel from cloud

* Rebase and use GroupModel from cloud

* Use the bpmHost instead of identityFor

* Add identity ingress for user access service

* Rename test

* Fix linting issues

* Fix playwright storybook e2e for people and group

* Trigger travis

* Fix people group e2e

* improved formatting

* Remove not needed travis var override

* Remove unused import after rebase

* Make roles in filter optional + remove comments

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>
2022-06-28 16:21:59 +01:00
Tomasz Gnyp
93c5619e23
[AAE-9314] Fix preselected user display in completed task (#7688)
* [AAE-9314] Fix preselected user display in completed task

* [AAE-9314] add unit tests

* Trigger travis
2022-06-28 12:48:50 +02:00
Amedeo Lepore
e529d3bd74
[AAE-9298] FE ADF Date widget handle dynamic date values (#7689)
* [AAE-9298] Add dynamic date fields to FormFieldModel

* [AAE-9298] Change dynamic date range types from string to integer

* [AAE-9298] If dynamicDateRangeSelection is true, it will evaluate minDateRangeValue and maxDateRangeValue to set min and max date if are set

* [AAE-9298] Check if date range values are numbers
2022-06-28 09:19:13 +02:00
Shubham Bansal
b14332d271
APPS-1568 ACA should be extended to support visibility rules for Document List columns (#7685)
* APPS-1568 Extended rules functionality for Document List columns
2022-06-27 21:45:54 +05:30
Alfresco Build
a6ed124005
[ci:force][auto-commit] Update JS-API to 4.12.0-191 for branch: update-js-api originated from JS-API PR: 32 (#7676) 2022-06-27 16:03:57 +02:00
Pablo Martinez Garcia
a4d9e94a2f
[AAE-9337] Improve update project script (#7687) 2022-06-27 13:50:41 +02:00
Maurizio Vitale
28a47e83d2
Fetch the userInfo once loggedIn and expose the capability of admin (#7682)
* Fetch the userInfo once loggedIn and expose the cabilibility of admin

* Rollback method

* Return same use if defined

* Use the same pepleContent service for UserInfoCOmpnent

* Remove useless import

* Use interface

* Use angular resolver instead of guard

* Remove fdescribe

* Fix linting

* Regenerate doc

* Improve doc

* Fix optional

* Fix the unit test

* Fix comment

* Fix lint

* Fix unit

* Add fetch user as part of the ssoGuard

* Fix unit test after fetch

* Add additional unit

* Fix await
2022-06-27 12:02:01 +01:00
Bartosz Sekuła
a30de37a02
[AAE-9135] Print simple form (#7683) 2022-06-27 10:20:47 +02:00
Pablo Martinez Garcia
db5392e72a
[AAE-9293] Allow editing and restoring default process cloud filter (#7684)
* [AAE-9293] Allow editing and restoring default process cloud filter

* [AAE-9293] Fix e2e tests

* [AAE-9293] Fix review comments
2022-06-24 23:08:45 +02:00
Maurizio Vitale
851e153080
Fix the nx path to avoid installing it globally (#7681)
* fix nx path

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx
2022-06-22 09:16:22 +01:00
Mikołaj Serwicki
3aa52c8f14
[AAE-8713] feat: create api registry with factories support (#7649)
Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Michal Dobkiewicz <michal.dobkiewicz@hyland.com>
Co-authored-by: Michał Dobkiewicz <ddohcim@users.noreply.github.com>
2022-06-21 10:03:55 +02:00
Maurizio Vitale
d996aadbcc
Transform e2e into unit (#7671) 2022-06-20 09:29:55 +01:00
Denys Vuika
50f62a75bb
[ACS-3108] Release 4.11.0 (#7677)
* bump versions

* generate reports

* release notes
4.11.0
2022-06-16 14:35:27 +01:00
Maurizio Vitale
3e5069434b
[ADF-5494] Remove useless imports (#7678)
* Remove useless imports

* rollback constants

* Remove useless variable
2022-06-16 12:53:40 +01:00
Alfresco Build
92e06ea86a
[ci:force][auto-commit] Update JS-API to 4.11.0 for branch: update-js-api originated from JS-API PR: 173 (#7675) 2022-06-13 17:03:54 +01:00
Ardit Domi
9c134ba100
Convert login fields validation e2e to unit (#7674) 2022-06-13 15:04:54 +01:00
Alfresco Build
6704d68bae
Update branch for JS-API PR#134 (#7638)
* [ci:force][auto-commit] Update JS-API to 4.11.0-134 for branch: update-js-api originated from JS-API PR: 134

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* [ci:force][auto-commit] Update JS-API to 4.11.0-169 for branch: update-js-api originated from JS-API PR: 169
2022-06-13 09:33:02 +02:00
Ardit Domi
81e58ecfb2
[AAE-9094] - Fix app breaking when configured with BASIC auth (#7672) 2022-06-12 22:32:40 +01:00
Tomasz Gnyp
1b20e17ed7
[AAE-8076] Add groupsRestriction input to docs (#7645)
* [AAE-8076] revert storybook changes

* Trigger travis
2022-06-10 23:20:17 +02:00
Tomasz Gnyp
a4202d81b9
[ADF-5479] Disable clam/release button for standalone tasks on APA (#7670)
* [ADF-5479] Disable clam/release button for standalone tasks on APA

* [ADF-5479] remove focus on unit test describe

* Trigger travis
2022-06-10 23:19:45 +02:00
Eugenio Romano
7e485ff63c
Update content-node-selector.component.scss (#7673) 2022-06-10 18:01:59 +02:00
Pablo Martinez Garcia
34e8832bae
[AAE-8155] Fix typo in providers (#7669) 2022-06-09 11:01:42 +02:00
Pablo Martinez Garcia
4d1c729620
[AAE-8155] Check if it is content admin only when content provider is available (#7667) 2022-06-08 15:42:41 +02:00
Amedeo Lepore
55b68373fc
[ADF-5272] fe files upload form width is increasing if we upload file name too long (#7666)
* [ADF-5272] Add tooltip to show the entire filename

* [ADF-5272] Set max-width to div that contains filename to show ellipsis
2022-06-08 11:56:00 +02:00
Bartosz Sekuła
0d96b4413a
[AAE-8740] Fix default ConfirmDialogComponent title (#7665) 2022-06-07 11:50:44 +02:00
Ardit Domi
d8a4b5bcdb
[AAE-8748] - Auth guards call api when access is not in JWT (#7662)
* [AAE-8748] - Auth guards call api when access is not in JWT

* [ci:force] fix unit tests

* Remove fdescribe

* Add documentation and unit tests for the user access service

* Rename mocks, make e2e independent

* Fix login e2e

* Move forbidden access e2e under cloud
2022-06-07 10:21:54 +02:00
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 6ac24cc14a90d7b494fbc4dcc72e073e83a46457.

* [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 6ac24cc14a90d7b494fbc4dcc72e073e83a46457.
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
Rubén Barroso
7c13a99ed7
[AAE-8948] Fix placeholders styles for left labels (#7656) 2022-06-02 13:32:04 +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
Eugenio Romano
95fd3e822a
fix small viewport attach file (#7650) 2022-05-25 11:01:32 +01:00
Mikołaj Serwicki
f11ae24d7a
Revert "[AAE-8713] feat: create api registry with factories support (… (#7647)
* Revert "[AAE-8713] feat: create api registry with factories support (#7634)"

This reverts commit 226a6548a1fbaecad9f340e0ac688ef334ab4049.
2022-05-24 15:18:56 +02:00
Michał Dobkiewicz
dbbfa11f50
test: remove flaky file upload e2e test (#7648)
* test: remove flaky file upload e2e test
2022-05-24 14:03:36 +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
Maurizio Vitale
d4779360d8
use default profile email as scope (#7639) 2022-05-18 12:27:05 +01:00
Mikołaj Serwicki
226a6548a1
[AAE-8713] feat: create api registry with factories support (#7634)
Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Michal Dobkiewicz <michal.dobkiewicz@hyland.com>
Co-authored-by: Michał Dobkiewicz <ddohcim@users.noreply.github.com>
2022-05-17 11:35:52 +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
Denys Vuika
1e3099b99b
[AAE-7077] Reset people content service cache on logout (#7637)
* reset people content state on logout

* unit test

* use property accessor
2022-05-16 20:14:00 +01: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
Maurizio Vitale
cec9297e14
[AAE-8639] Discovery OpenId - Load discovery and pass info to jsapi (#7632)
* Load discovery and pass info to jsapi

* fix the roles empty scenario tests

* Make lint happier

* Rename the initApi method

* Add secret field

Co-authored-by: arditdomi <ardit.domi@hyland.com>
2022-05-13 19:03:06 +01:00
Bartosz Sekuła
6fb1bda6a9
Added missing top-level export for MainMenuDataTableTemplateDirective (#7633) 2022-05-13 10:13:11 +02:00