1397 Commits

Author SHA1 Message Date
Denys Vuika
c68b84513b
add support for toolbar title i18n (#6200) 2020-10-01 13:42:51 +01:00
Maurizio Vitale
7c83f2eb18
[AAE-3199] - Add support for searchable content model properties (new search filters panel in the attach file widget) (#6134)
* Create new panel component and search refactoring

* Replace

* First refactoring - Fix global search and service injection issues

* More refactoring

* Fix service injection - create one new instance for content-node-selector component

* Avoid having more services extending BaseQueryBuilderService

* more refactoring, remove injecting the SearchQueryBuilderService from the content node selector service

* Fix build errors to launch unit tests

* Fix existing unit tests

* Fix wrong import and constructor injection comments

* Fix wrong import

* Fix comments

* Fix api compatibility

* Revert demo shell causing e2e fail

Co-authored-by: adomi <ardit.domi@alfresco.com>
2020-10-01 09:11:23 +01:00
Sushmitha V
f0af0c4113
[ACA-3957] Added correct Icon for save-as button in task filter and process filter (#6190) 2020-09-30 17:46:24 +01:00
Gloria Camino
74dfe4ef49
LOC-258_Localised UI files for ADF 4.1 in 16 languages (#6191) 2020-09-30 14:12:11 +01:00
Denys Vuika
649a19fc8f
fix rxjs imports (#6181) 2020-09-28 17:32:41 +01:00
davidcanonieto
e497b31e3e
[AAE-3469] New Service Task Cloud Component (#6161)
* [AAE-3469] New Service Task Lisst Component

* Fix unit tests

* Add documentation

* Add public methods to Data Table Schema

* [AAE-3469] New Service Task Cloud Component

* Fix comments

* Fix comments

* Fix unit tests
2020-09-28 09:47:18 +01:00
davidcanonieto
b0a46f7eac
[ADF-5219] Refactor Document list Filters (#6092)
* First commit

* Second commit

* Commit 4

* Add unit tests

* Fix unit tests

* Add documentation for breaking change

* Fix rebase

* Fix unit test
2020-09-25 10:08:15 +01:00
Vito
ffe04120a8
[MNT-21705] - fixed column display for fields (#6078)
* [MNT-21705] - fixed column display for fields

* [MNT-21705] - fixed unit test

* [MNT-21636] - adding flag for enable-disable column

* [MNT-21705] - fixed broken unit test

* [MNT-21705] - added documentation for extra form input field

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-09-24 10:20:18 +01:00
davidcanonieto
a888689caa
Revert "[AAE-3469] New Service Task List in Task List Cloud Component (#6131)" (#6154)
This reverts commit 472e112b71ab928c454818c706ccc2c6debc91c4.
2020-09-23 10:48:52 +02:00
davidcanonieto
20f6df5a79
[ADF-3499] Make Card View Text Item reactive to user input (#5953)
* [ADF-3499] Make Card View Text Item reactive to user input

* Improve code and fix APS2 tests

* Fix tests

* Improve tests

* Add missing async
2020-09-23 10:12:10 +02:00
Cilibiu Bogdan
3da5196b2d
[ACA-3899] Viewer thumbnails cannot be accessed by keyboard (#6150)
* accessibility

* add thumb focus

* close thumbs list event

* fix eventbus listener

* rename parameter

* track previous focused element

* implement FocusKeyManager

* fix getGlobalEventBus is deprecated

* keyboard navigation

* set tabindex

* setActiveItem on list change

* update  test
2020-09-23 05:57:46 +01:00
davidcanonieto
472e112b71
[AAE-3469] New Service Task List in Task List Cloud Component (#6131)
* [AAE-3469] New Service Task Lisst Component

* Fix unit tests

* Add documentation

* Add public methods to Data Table Schema
2020-09-22 20:41:53 +01: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
davidcanonieto
3b02233481
[ADF-5237] Unexclude C362240 and C362241 (#6137)
* [ADF-5237] Unexclude C362240 and C362241

* Fix initialization bug
2020-09-22 09:52:41 +01:00
dhrn
e765239cbf
[MNT-21789] ADW - Disable ACS Thumbnail Generation cause ADF Upload Service to fail any file upload with 501 error (#6114)
* Disable ACS Thumbnail Generation cause ADF Upload Service to fail any file upload with 501 error

* * fixed config
2020-09-10 18:51:50 +01:00
davidcanonieto
f4ebaec501
[AAE-3296] Add unit tests for Tooltips in Form Widgets (#6094) 2020-09-10 08:39:26 +01:00
davidcanonieto
6977df169a
[ADF-4481] Fix Viewer peview for unsupported new versions (#6101)
* [ADF-4481] Fix Viewer peview for unsupported new versions

* Update img-viewer.component.ts
2020-09-08 17:28:46 +01:00
Vito
14c2408c69
[MNT-21636] - added redirection when SSO is enabled for external link (#6099)
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
2020-09-08 15:51:28 +01:00
Denys Vuika
d051aed476
fix production builds (#6075)
* run builds scripts sequentially

* temporary enable prod builds

* use ng instead of nx for adf-core

* increase mem

* downgrage the ts target

* downgrade main tsconfig

* update config

* downgrade scss-bundle

* raise mem only for prod builds

* restore dev build

* update angular cdk

* try restore build target

* upgrade unit tests after angular upgrade

* fix tests after angular upgrade

* remove old e2e
2020-08-28 17:34:08 +01:00
Denys Vuika
93b51b266c
fix http method regression (#6066) 2020-08-25 11:27:57 +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
Denys Vuika
0f11094b1e
add missing group role APIs (#6057)
* add missing group role apis

* add missing "assign" and "remove" api
2020-08-24 15:37:02 +01:00
Eugenio Romano
c96f57d1c6 bump 4.0.0 2020-08-18 11:41:49 +01:00
Denys Vuika
d355f76499
drag and drop improvements (copy effect) (#6019)
* drag and drop fixes (copy effect)

* fix tests

* update tests

* test fixes
2020-08-18 10:57:09 +01:00
Eugenio Romano
beeb3ad080
selct box can use numbers as value in the card view (#6020) 2020-08-17 21:31:01 +01:00
Eugenio Romano
6384b8148c
fix error in preview (#6009) 2020-08-16 14:46:26 +01:00
Eugenio Romano
bf72fd6c9e
[ACA-3853] fix use of more recent pdf viewer versions (#6007)
* fix use of more recent pdf viewer versions

* fix unit test with thte new promise
2020-08-15 19:05:38 +01:00
Eugenio Romano
8a6358ef44
[AAE-2984] fix save not modified Form with dropdown (#5976)
* fix save not modified Form with dropdown

* Update form-field.model.ts

* Update form-field.model.ts

* fix empty value scenario

* fix unit
2020-08-12 22:34:16 +01:00
davidcanonieto
9b3efb5502
[ADF-5165] Fix Checkbok widget in completed tasks (#5979) 2020-08-12 17:58:09 +01:00
Gloria Broadbent
edd172dc9b
LOC-244 - All localised files in 16 languages for ADF 4.0 release (#5980) 2020-08-12 17:17:55 +01:00
Denys Vuika
4aa936bb9c
use people api and new js api where possible (#5888)
* use people api and new js api where possible

* fix code and tests

* cleanup tests
2020-08-12 13:45:48 +01:00
Eugenio Romano
0a935acf23
[ADF-5159] fix visibility condition for label radio box (#5974)
* fix visibility condition for label radio box

* fix lint
2020-08-11 16:22:50 +01:00
Cilibiu Bogdan
fb24c572fa
update i18n strings (#5966) 2020-08-10 19:01:20 +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
Cilibiu Bogdan
9b0db0a82e
[ADF-5213] Metadata - select list filter (#5961)
* select filter input component

* include theme

* add filter input

* show input conditionally

* convert value to string for d:int type values

* filter list options pipe

* add components to module

* convert int value to string

* i18n

* update tests

* tests

* update config

* remove unneeded decorator

* fix lint

* update schema

* remove filter pipe

* provide a filtered list
2020-08-09 23:35:46 +01:00
Vito
61cac20ab3
Readded column key as key parameter (#5960)
* Readded column key as key parameter

* Fixed failing unit test
2020-08-07 09:37:40 +01:00
Denys Vuika
89b37067ff add missing export 2020-08-06 15:01:46 +01:00
Denys Vuika
486a002023
[AAE-2718] List available roles for a group (#5954)
* oath2 api service, cleanup identity users service

* cleanup groups service

* get awailable role mappings

* cleanup tests and mocks

* fix lint
2020-08-06 11:01:03 +01:00
davidcanonieto
1ade912e64
[AAE-2378] Add tooltip to Form Cloud Widgets (#5947) 2020-08-03 21:32:19 +01:00
Vito
85183ead0d
[ACA-3542] - added sorting for filters (#5932)
* [ACA-3542] - added sorting for filters

* [ACA-3542] - removed wrong parameter

* [ACA-3542] - fixed test with fixed sorting mode parameter

* Update content-node-selector-panel.component.html

* fix e2e

* fix delete site

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-08-03 10:30:14 +01:00
siva kumar
b8a3afce01
[ACA-3551] Show vs View button for attach widget. (#5850) 2020-07-31 10:31:12 +02: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
davidcanonieto
1e692252a5
[AAE-612] Support for Form Outcome Visibility Conditions (#5934) 2020-07-30 17:05:10 +01:00
Urse Daniel
bf7a0902c6
[ADF-5209] When viewing a previous version, the title is not displayed correctly. (#5926)
* set the file title if the versionId is present.

* test if file title is set when changing the versionId.
2020-07-30 10:19:02 +01:00
Cilibiu Bogdan
f1a98cc6d6
[ACA-3745] Folder - update metadata default copies the name in the title field (#5923)
* add title input

* title form control

* i18n

* update tests
2020-07-29 14:02:59 +01:00
Cilibiu Bogdan
54df083311
[ADF-5204] Metadata - Error message still appears after exiting Edit form (#5922)
* show error only in editable mode

* reset errors when reset value

* update tests
2020-07-29 09:27:17 +01:00
Urse Daniel
b331c1422d
[ACA-100] FIX - View a previous version (#5915)
* small fix, forgot to add the line when creating the last branch

* fixing the wrong parameter passing

* small fix, forgot to add the line when creating the last branch

* fixing the wrong parameter passing

* ACA-100: Exclude preview of a previous version e2e tests until ADF starts using ACS 7+

* ACA-100: Change protractor.conf.js path in Jasmine Opts

* fixing the wrong parameter passing

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
2020-07-28 13:33:20 +01:00
Urse Daniel
7c09fb1fb9
added functionality to view a previous version (#5913) 2020-07-27 09:29:29 +01:00
Cilibiu Bogdan
d745308cf3
include definition (#5910) 2020-07-24 16:58:35 +01:00
Cilibiu Bogdan
aa3d890342
[ACA-3742] Metadata - constraints validation (#5908)
* card min max value validator

* card match value validator

* card value length validator

* map validators to constraint type

* add minmax

* update exported validators

* register validators based on constraint type

* translate errors with parameters

* tests
2020-07-24 16:58:07 +01:00