4005 Commits

Author SHA1 Message Date
Popovics András
80588782d2
Update js-api to latest version (#7742) 2022-08-03 17:22:00 +02:00
Amedeo Lepore
987d9ec20d
[AAE-9219] replay errored service task part 2 (#7740)
* [AAE-9220] Call replay service-task API

* [AAE-9220] Add replayServiceTaskRequest unit tests
2022-08-03 14:19:44 +02:00
Alfresco Build
00aef0dd57
[ci:force][auto-commit] Update JS-API to 4.12.0-236 for branch: update-js-api originated from JS-API PR: 236 (#7699) 2022-08-03 12:22:26 +02:00
Robert Duda
c8e74699d5
[AAE-10103] language-menu storybook (#7732) 2022-08-02 13:24:02 +02:00
Sushmitha V
16e19ca7c6
[AAE-8561] [Modeling] The 'value' of string var in destinat… (#7722)
* [ci:force][AAE-8561] [Modeling] The 'value' of string var in destinationFolderPath is not always visible in JSON Editor

* UPdated UT
2022-08-01 13:45:57 +01:00
Tomasz Gnyp
2e94f50d31
[AAE-9348] Fix validate for people and group widgets (#7717)
* [AAE-9348] Fix validat for people and group widgets

* [AAE-9348] remove onInit call from unit test

* Trigger travis
2022-08-01 14:14:18 +02:00
Radosław Terelak
8aa52cd3d9
[AAE-10104] Storybook stories for Icon component (#7728)
* [AAE-10104] Storybook stories for Icon component

* Deleted unnecessary name property as it was the same as default

* trigger travis

* Fixed comma-dangle issue for travis
2022-07-28 16:29:34 +02:00
Maurizio Vitale
46420ea0b2
[AAE-9169] adf-cli - Change the doc and add clientId input (#7730)
* Change the doc and add input

* fix mistake
2022-07-28 14:02:43 +02:00
Amedeo Lepore
b96dfc038f
[AAE-10091] Add adf-core missing dependencies (#7727) 2022-07-26 22:07:50 +02:00
Amedeo Lepore
d8f1eda132
[AAE-6919] add a display text form control (#7718)
* [AAE-9373] Create adf-rich-text-editor into core library, install editorjs and import it into the component, add a basic editorjs configuration

* [AAE-9374] create a rich text editor demo page

* [AAE-9376] Install header to provide headings blocks

* [AAE-9376] Install editorjs List plugin to add ordered and unordered list

* [AAE-9376] Install text color plugin to change text color and highlight text

* [AAE-9376] Install paragraph plugin to set text alignment to right, left, center and justify

* [AAE-9376] Install font size plugin to increase/decrease font size

* [AAE-9376] Install @editorjs/underline plugin to underline text

* [AAE-9376] Install @editorjs/inline-code to marking code-fragments

* [AAE-9376] Set shortcut to underline text

* [AAE-9376] Install @editorjs/code to add code examples

* [AAE-9376] Enable custom picker to color text changer, add colors codes

* [AAE-9376] Add input to fill rich text editor data

* [AAE-9376] Demo rich text editor, add sample data to display editor content

* [AAE-9376] Demo rich text editor, add sample data to display editor content

* [AAE-9376] Install @editorjs/marker plugin to highlight the text, because color plugin doesn't save marker style

* [AAE-9373] Send editor text output data onReady and onChange

* [AAE-9374] Update editor demo page to show the output on the right side of the page

* [AAE-9373] Allow to enable editorjs readOnly mode

* [AAE-9373] Return rich text editor save data as promise

* [AAE-9480] Add new display-rich-text widget to allow the user add Rich Text into a form

* [AAE-9371] Add readonly class if readOnly property is true to remove the editor 300px padding bottom in readonly mode, set a dynamic id to editorjs

* [AAE-9371] Destroy editorInstance on component destroy to FIX an error faced when there are multiple editorjs instance in the same page --> Uncaught TypeError: Cannot read property 'updateCurrentInput' of undefined

* [AAE-9480] Install editorjs-html utility to parse editorjs clean data to HTML

* [AAE-9480] parse editorjs data to HTML to avoid to create a new EditorJS instance for every single widget and improve performance

* [AAE-9480] Set pre styles to show show Code block styles correctly

* [AAE-9480] Remove space between rules

* [AAE-9480] Set editorjs and plugins fixed versions

* [AAE-9480] Removed unused editorjs dependency

* [AAE-9371] Set is ready property when editor instance is ready, check if is ready to destroy the instance on component destroy

* [AAE-9480] Add parse editorjs data to html Test

* [AAE-9371] Send rich-text-editor component data only if readOnly mode is false

* [AAE-9480] Test if display-rich-text widget is resolved

* [AAE-9480] Rename DisplayRichTextComponent into DisplayRichTextWidgetComponent to be compliant with other widget component names

* [AAE-9480] update Readme files with DisplayRichTextWidgetComponent

* [AAE-9371] Update header text

* [AAE-9371] Add Rich text editor component usage documentation

* [AAE-9480] Add padding to the widget container

* [AAE-9371] Remove plugin that align pragraph text since editorjs-html parser doesn't handle paragraph alignment

* [AAE-9371] Set editor autofocus to true

* [AAE-9480] Add a display-rich-text widget example to demo cloud form

* [AAE-9371] Fix lint issue

* [AAE-9371] Remove duplicated import to fix import module issue in a lib build job
2022-07-26 12:36:08 +02:00
Amedeo Lepore
4c9a648744
[AAE-9463] Check if minDateRangeValue and maxDateRangeValue are inte… (#7720)
* [AAE-10045] Check if minDateRangeValue and maxDateRangeValue are integer to avoid null or undefined values

* [AAE-9400] Fix date validations if dynamic date range is enabled
2022-07-25 11:42:44 +02:00
Ardit Domi
fa587510bd
[AAE-9200] - Be able to customise task/process list and header date f… (#7711)
* [AAE-9200] - Be able to customise task/process list and header date formats

* Update json schema

* Revert schema changes

* Update task and process name translation values

* move task/process header date formats inside header config

* Add documentation

* Update documentation

* Use a fixed timezone for unit tests of core and cloud

* Fix e2e due to column rename

* More e2e fixes due to column rename, remove test covered by unit test
2022-07-19 15:46:31 +02:00
Rafal Szmit
46926ed818
[AAE-6485] protractor e2e login changes for canary layout (#7714)
* [AAE-6485] header selector

* change header check on login

* e2e login - optional wait for icon

* fix lint error + rebase
2022-07-19 12:30:03 +02:00
Bartosz Sekuła
0eadc86bc9
[AAE-7865] Added second process with displayable variables (#7713) 2022-07-19 10:11:52 +02:00
Tomasz Gnyp
1f82230b0e
[AAE-9311] Use new micro service ingress for people/group (#7708)
* [AAE-9311] Use new micro service ingress for people/group

* [AAE-9311] change ingress for user-access-service

* [AAE-9311] fix unit test

* Trigger travis

* [AAE-9311] fix unit test
2022-07-14 12:55:21 +02:00
Bartosz Sekuła
635e62cbd3
[AAE-9461] Change variable process definition id (#7706) 2022-07-12 16:10:07 +02:00
Bartosz Sekuła
e321ccf479
[AAE-7865] Configuration of columns in Task and Process Lists in ADW e2e (#7701)
* [AAE-7865] Configuration of columns in Task and Process Lists in ADW e2e test

* Update

* Cr

* Added variable task data
2022-07-08 16:07:22 +02:00
Tomasz Gnyp
1a9c79c2a7
[AAE-9310] Add missing initial on task assignment dialog (#7694)
* [AAE-9310] Add missing initial on task assignment dialog

* [AAE-9310] rewrite full-name pipe

* [AAE-9310] improved build username or email

* Trigger travis

* [AAE-9310] improve buildFromUsernameOrEmail
2022-07-04 19:09:26 +02:00
Alfresco Build
fbda085d48
[ci:force][auto-commit] Update JS-API to 4.12.0-197 for branch: update-js-api originated from JS-API PR: 197 (#7692) 2022-07-01 14:21:39 +01:00
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
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
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
2022-06-16 14:35:27 +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