1115 Commits

Author SHA1 Message Date
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
dhrn
5a820cbecd
[ACA-3765] [ADF] move reusable versioning logic (#5906) 2020-07-24 09:27:02 +01:00
Vito
30c5c58d40
[ACA-3672] - added server order for document -list (#5899)
* [ACA-3672] - added sorting server side for document-list

* [ACA-3672] - added and fixed unit tests for backend order

* [ACA-3672] - fixed failing test

* [ACA-3672] - regenerated doc and renamed variable

Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-07-23 14:04:05 +01:00
dhrn
a5972e753a
[ACA-3492] ADF - Expose new Groups Endpoints (#5893)
* [ACA-3492] ADF - Expose new Groups Endpoints

* * docs added

* * fix ut

* unit test split cloud

* Update data-table-component.page.ts

* unit test split cloud

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-22 11:20:07 +01:00
Cilibiu Bogdan
5257917258
[ADF-3484] - Metadata drop-down list option for properties constrained by a list of values (#5892)
* update js-api

* include definition field

* process LIST constraint

* update tests

* dropdown visibility

* optional chaining
2020-07-21 22:46:46 +01:00
Eugenio Romano
90820a08df
Revert "[ACA-3499] Cardview textitem update on change (#5882)" (#5886)
This reverts commit 389a65860c0b7745cdadb14bc372dd351702b0a5.
2020-07-17 09:28:34 +01:00
Denys Vuika
33965d0a41
fix pagination issues (#5881)
* fix pagination issues

* angular workarounds
2020-07-16 17:52:49 +01:00
Baptiste Mahé
389a65860c
[ACA-3499] Cardview textitem update on change (#5882) 2020-07-16 15:56:32 +01:00
arditdomi
50daa0ef7b
[ACA-3596] process-header change assignee property key to createdBy (#5854)
* [ACA-3596] process-header change assignee property key to createdBy

* Fix unit test
2020-07-13 15:34:01 +01:00
Maurizio Vitale
42d88fdaa9
[MNT-21595] Content - Expose a group service for content (#5833)
* Expose a group service for content

* Use nx command and remove smart-build
2020-07-13 12:22:54 +01:00
arditdomi
05a478e317
[ACA-3614] Add a way to not show info drawer header (#5848) 2020-07-09 10:51:16 +01:00
Mercy Chrysolite
ed12b13c87
[ACA-3529] Custom filter doesn't work properly when Direction is set to ASC (#5829)
* [ACA-3479] Sort Order arrow not displayed in task and process list

* Added unit tests

* Fixed lint

* Updated constant prefix

* Added retention of sorting when ItemsPerPage changes

* Removed unwanted changes check; Renamed sortInput

* Updated unit tests

* [ACA-3529] Custom filter doesn't work properly when Direction is set to "ASC"

* Added server side sorting, when sort on column is changed

* Added unit tests
2020-07-07 17:39:27 +05:30
Denys Vuika
298fec08c1 production builds for CI runs 2020-07-03 18:25:49 +01:00
Denys Vuika
f691dc90dc
cleanup dependencies and fix versions (#5835)
* remove core-js

* fix lib versions

* remove unused lib

* upgrade rxjs
2020-07-03 18:08:37 +01:00
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

* Add dependencies among libs and run only affected unit test and build

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
Eugenio Romano
af47361f15 bump 3.9.0 2020-06-29 18:09:23 +01:00
Francesco Corti
663d7fefc6
Release note for ADF 3.9.0 (#5808)
* Release note in draft for 3.9.0.

* Release note for 3.9.0.

* release notes and documentation

* fix

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-06-24 19:14:09 +01:00
Urse Daniel
de975d22b8
[ACA-3447] Cancel upload of new version removes existing version (#5815)
* instead of deleting the whole node when we upload and then cancel a new version, we delete the version in case

* reverting wrong auto indent

* fix case name of the unit test

* fix auto indent

* fix auto indent
2020-06-24 18:14:18 +01:00
davidcanonieto
ed68ebb751
[ADF-5163] Fix placeholder on Form widgets (#5812) 2020-06-24 15:18:33 +01:00
Gloria Broadbent
c0d1ef2216
ALL 16 LANGUAGES: Fix for LOC-231 - updated localised UI files for ADF 3.9 (#5811) 2020-06-24 14:06:15 +01:00
arditdomi
f76e0cd0bb
[AAE-2840] Not able to complete a task with attach file widget with mappings (#5809)
* [AAE-2840] Check pipeline with possible fix

* Remove update form loop causing overwriting of the form values

* Revert ACA-3235 causing form values regression
2020-06-24 13:35:47 +01:00
Eugenio Romano
094f247889
Fix unknown style (#5810)
* fix unknown style

* missing var

* remove delete because there is already delete site

* fix test
2020-06-24 11:22:09 +01:00
davidcanonieto
46e4daeef3
[ADF-5158] ECM Version Directive (#5779)
* [ADF-5158] ECM Version Directive

* Update version-compatibility.directive.ts

* Update version-compatibility.directive.ts

* Change name from ecm to acs

* Fix unit tests

* Update docs for Version directive

* Fix unit tests

* Fix unit tests

* Linting

* Update apps-process-cloud.service.spec.ts

* Fix Ecm Service initialization

* Fix unit test

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-23 08:46:17 +01:00
Vito
29d953e2d1
ACA-3426 - Search Headers for Document List (#5800)
* [ACA-3426] Move filter-menu inside search and renamed as search-header

* [ACA-3426] adf-search-header removed from document-list and implemented in app-files

* [ACA-3426] Allow custom header filters inside document-list

* [ACA-3426] Decouple search from the document-list

* [ACA-3409] NodePaging ouputed to the DL

* [ACA-3426] - fixed injection for service

* Dev baptiste aca 3430 (#5773)

* [ACA-3430] Add style to filter and hide action buttons from facet widgets

* [ACA-3430] Update eventEmitter created in the DL and create  unit tests for the search-header

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>

* [ACA-3426] - added parent for service

* [ACA-3426] - added parent for service - fixed method

* [ACA-3426] Revert update EventEmitter inside DL

* [ACA-3436] Use of the node input instead of nodeUpdate mehtod

* [ACA-3426] Add clear behaviour to search-header

* [ACA-3426] Remove useless update exposition

* [ACA-3426] Update filter button styles and padding inside the filter menu

* [ACA-3443] Propagate filters states through DL and datatable to avoid hiding the header

* [ACA-3426] Refactor showHeader logic and use it for the filters

* [ACA-3426] - fixed pagination for filter result

* [ACA-3426] - fixed messed files after rebase

* [ACA-3426] - added simplified config version

* [ACA-3426] - enabling created by filter

* [ACA-3426] Fix search-date-range apply method

* [ACA-3426] Fix loading style and default showHeaderMode

* [ACA-3426] Changed showHedaer default to always

* [ACA-3426] - stabilised the feature and added injection token

* [ACA-3426] Add unit test for showHeader new behaviour

* [ACA-3426] Add documentation to search-header

* [ACA-3426] - added parent filtering for special folders

* [ACA-3426] - added unit test for search header

* [ACA-3426] - fixed search fitler behavour

* [ACA-3426] - fixed search result inject service

* [ACA-3426] - fixed search result inject service for search sorting

* [ACA-3426] - fixed title for matching selector

* [ACA-3426] - fixed app config with missing search widget

* Update search-header.component.md

Co-authored-by: BaptisteMahe <mahe.baptiste.19@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-22 09:24:57 +01:00
dhrn
5a0ba6666d
[ACA-3474] [Info Drawer] Error on save (#5791) 2020-06-20 14:56:41 +01:00
Denys Vuika
8ba36ea21c
remove old unmaintained sub-projects (#5798)
* remove old unmaintained sub-projects

* add missing dependency
2020-06-20 10:59:31 +01:00
arditdomi
01244b1250
[ACA-3218] Fix attach file widget - wrong payload when link is true (#5777)
* [ACA-3218] Fix attach file widget link is always false

* Add unit tests
2020-06-18 18:18:34 +01:00
Denys Vuika
e9350bd297
various code quality fixes (#5792)
* various code quality fixes

* reduce duplicated code

* add safety check
2020-06-18 17:57:46 +01:00
davidcanonieto
fe95673e0a
[ADF-5160] Fix CardView Key-Value Pairs Item overflowing (#5790) 2020-06-17 16:52:23 +01:00
Silviu Popa
61d52bd8cd
[ACA-3454] disable floating label for ammount (#5782)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-17 16:28:18 +01:00
Eugenio Romano
904c7eff7c
fix start process testing (#5778) 2020-06-16 09:08:04 +01:00
arditdomi
d56bca3765
[ACA-3201] Fix datatable non-sortable with sortable columns are not aligned (#5771) 2020-06-11 18:13:01 +01:00
siva kumar
295cb21043
* Fixed opacity error (#5764) 2020-06-09 15:07:43 +01:00