1051 Commits

Author SHA1 Message Date
davidcanonieto
1ade912e64
[AAE-2378] Add tooltip to Form Cloud Widgets (#5947) 2020-08-03 21:32:19 +01:00
Mercy Chrysolite
76e8a5d52d
[ACA-3728] Remove the filter name from the custom filter header (#5940)
* [ACA-3728] Remove the filter name from the custom filter header

* Updated docs
2020-08-03 11:52:18 +01:00
Silviu Popa
bfbb66ea8e
[ACA-3727] - Process Filters add possibility to hide process filter name (#5938)
* [ACA-3727] - Process Filters add possibility to hide process filter name

* update documentation

* remove unnecesary changes in doc

* update doc

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-08-01 23:40:43 +01:00
arditdomi
3b4ce819f0
[AAE-3208] Remove local file widget param for attach-file-cloud-widget (#5943) 2020-08-01 23:14:48 +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
Denys Vuika
0afbe36787
remove unused ID and fix the duplicate warning (#5933) 2020-07-30 16:51:04 +01:00
Mercy Chrysolite
ff9d29affb
[ACA-3687] Implement Process definition name filter dropdown in Process List (#5935)
* Made processDefinitionName optional
2020-07-30 16:49:55 +01:00
Mercy Chrysolite
46f3f0f1d1
[ACA-3687] Implement Process definition name filter dropdown in Process List (#5870)
* [ACA-3687] Implement Process definition name filtr

* Updated docs

* Updated mock
2020-07-30 09:30:39 +01:00
Maurizio Vitale
c7237486df
[AAE-3113] Node selector - Be able to restrict the breadcrums to a specific root (#5912)
* Be able to restrict the breadcrums to a specific root

* Add unit test for breadcrumbs restriction

* Fix refresh
2020-07-29 12:46:37 +01:00
Silviu Popa
c7a3fdab8e
add missing task list translation key (#5920)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-07-28 11:55:52 +01:00
Silviu Popa
7399704d57
[ACA-3107] add possibility to hide task name from the sidenav (#5883)
* [ACA-3107] add possibility to hide task name from the sidenav

* add unit tesT

* add task header spinner

* update documentation

* fix unit test

* change expect

* add another check

* replace expect condition

* additional expect

* use ToBeTruthy

* simplify expect

* add unit tesT

* add task header spinner

* fix unit test

* change expect

* add another check

* additional expect

* use ToBeTruthy

* simplify expect

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-07-27 12:12:44 +01:00
Eugenio Romano
6fa62fd62d
Remove TaskLIstModule PS dep from PS Cloud 2020-07-27 09:36:25 +01:00
Mercy Chrysolite
8d43155c14
[ACA-3678] Disable save & delete buttons for default process filters (#5896)
* [ACA-3678] Disable save & delete buttons for default process filters

* Added unit test

* Added types for params

* Updated e2e

* Updated test
2020-07-26 22:13:18 +01:00
Mercy Chrysolite
ef73d812c4
[ACA-3751] Disable save & delete buttons for default task filters (#5897)
* [ACA-3751] Disable save & delete buttons for default task filters

* Added unit tests

* Added param types

* Updated e2e

* Updated e2e title
2020-07-26 22:12:45 +01:00
Maurizio Vitale
1dde6bb1c5
[AAE-3115] Content node selector - Ability to select multiple files (#5904)
* Ability to select multiple files

* Fix unit test

* Rename event into NodeSelected

* restrict the typo

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>

Co-authored-by: Denys Vuika <denys.vuika@alfresco.com>
2020-07-24 10:12:51 +01:00
Eugenio Romano
746d9fa696 fix build 2020-07-18 00:04:33 +01:00
Denys Vuika
b69fdb9370
Optimize tests and upgrade Nx workspace (#5884)
* fix issue with async await, use interface over class

* upgrade nx workspace

* remove useless async

* code fixes
2020-07-16 22:34:50 +01:00
Mercy Chrysolite
9f7a73e5cf
[AAE-3073] Fix error due to formatSorting() in APW (#5878) 2020-07-16 11:53:42 +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
a1077756fc fix peer dependencies 2020-07-06 07:46:10 +01:00
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
Popovics András
3106786a9a
[ACA-3522] Fix start process feature (infinite loop, process name gets updated every second) (#5818) 2020-06-26 01:06:15 +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
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
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
Silviu Popa
71205a704c
[ACA-3461] Start Process - show form for preselected process (#5787)
* [ACA-3461] Start Process - show form for preselected process

* fix unit test

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-18 18:00:49 +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
Mercy Chrysolite
0349280d42
[ACA-3109] Change order of default process filters for DW (#5760)
* [ACA-3109] Change order of default process filters

* Updated strings to constants; Fixed failing e2e

* fixed lint

* Fixed failed e2e
2020-06-16 10:44:28 +02:00
arditdomi
3409cca8b8
[ADF-5157] Export default process name pipes (#5768) 2020-06-10 14:49:13 +01:00
siva kumar
ea62b1e3bd
[ACA-3416] Add Claim/Release actions on adf task form (#5753)
* [ACA-3255] FE - Claim a task

* * Added unit tests

* * Added unit tests
* Changed cloud directive names

* * Added/Updated documents

* * Added showReleaseClaim button flag
* Add unit test too

* * Used claim/release directive in task-header component.

* * Fixed unit test

* * Fixed one comment

* * After rebase

* * Fixed comments
2020-06-10 10:43:23 +01:00
Silviu Popa
77bbecea8e
[ACA_3292] - Add queued task as part of default task filter (#5747)
* [ACA_3292] - Add queued task as default task filter

* don't emit event if the filter is undefined

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-10 11:45:02 +03:00
arditdomi
8a36e7fd3f
[ACA-3348] Add default process name pipe (#5745)
* [ACA-3348] Add default process name pipe

* [ACA-3348] Add documentation

* [ACA-3348] Change transform function to recieve a process def parameter, Update documentation

* Change parameter type to fix build

* Fix lint errors

* Move unit test to the correct describe

* Fix lint errors

* Move from one core pipe to different for APS1 and Cloud

* Add Pipe to process cloud providers

* Update documentation

* Revert demo-shell default process name

* Fix pipe version in documentation

* e2e - select process definition and then type name

* Fix process services e2e

* Align process filters e2e

* Align start-task-form cloud e2e

* Use processInstance model instead of processDefinition as a parameter for transform function
2020-06-09 13:35:13 +01:00
Eugenio Romano
a78f24ada1
[ACS-259] refactor login page (#5733)
* refator login page

* refator login page

* remove obsolete classes and move what is needed in the test pck

* fix const

* revert modify

* remove duplicate browser property

* fix build

* fix

* fix

* fix lint

* move drop action in testing
remove not necessary space
js-api centralize content

* first refactor use js-api

* fix protractor

* refactor test config

* simplify properties
fix namings

* ps cloud simplify
remove unused js files

* id fix

* fix search test
simplify environment var step 1

* fix lint

* first user iteration fix

* fix model

* unify use of apiService

* first step automatic user creation Identity

* refactor creation user content-services

* refactor creation user search

* refactor creation user core

* process service refactoring 1

* process service refactoring 1

* process service refactoring 2

* fix process

* appconfig

* fix process util

* fix gallery

* fix "this" reference issues

* fix incorrect import paths

* fix core

* some fixes

* allign

* fix some test
remove structure folder and move in actions

* fixes

* move folders in the right place

* fix

* fix rebase

* solve build issue

* fix e2e

* change init aae

* order api and some fixes

* fix possible not valid password

* fix some ps test

* replace host port also in objects

* Update app-config.service.ts

* fix process

* fix process test

* process service cloud fix

* fiexs

* modify init script

* fix two test

* remove unused property

* host issue

* not use npx

* fix ps cloud test

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-06-04 14:41:30 +01:00
Mercy Chrysolite
6890dea819
[ACA-3286] User gets error when removing the attached file (#5735) (#5744) 2020-06-02 18:38:18 +02:00
Popovics András
0a4f792854
[ACA-3074] Fix preselected file loading issue (#5739) 2020-06-02 09:45:39 +01:00
Eugenio Romano
084dacde26
Revert "[ACA-3286] User gets error when removing the attached file (#5735)" (#5738)
This reverts commit 1565a49f684562a0f90c7f7efca89a52e178a99a.
2020-05-29 11:58:49 +01:00
Mercy Chrysolite
1565a49f68
[ACA-3286] User gets error when removing the attached file (#5735) 2020-05-29 11:43:18 +01:00
Silviu Popa
75f2165f3f
[ACA-2975] fix start process wrong response (#5726)
* [ACA-2975] fix process response object

* add unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-28 00:07:04 +01:00
Mercy Chrysolite
66c2b0b125
[ACA-3271] START PROCESS button is inactive first time when process model is loaded (#5700)
* [ACA-3271] START PROCESS button is inactive first time when process model is loaded

* Fixed lint error

* Fixed failing unit tests
2020-05-27 15:00:51 +02:00
siva kumar
0f5fd3574b
[ACA-3304] FE - Add a drop down to select running application on start process component (#5702)
* [ACA-3304] FE - Add a drop down to select running application on start process component

* * Removed unwanted css

* * Added unit tests and updated docs

* * Fixed comments

* * Added way to test application dropdown in start-process

* * Fixed failing  unit tests

* * Removed all option* Fixed failing e2e
2020-05-27 12:23:36 +01:00
Baptiste Mahé
7a6a86e27e
[AAE-2478] Long task title show ellipsis when too long and add tool tip to task title inside form (#5704)
* [AAE-2478] Keep long task title on one line with ellipsis

* [AAE-2478] Add tool tip to task title inside form

* [create preview]

* Update form.component.html

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-22 09:36:31 +01:00
Denys Vuika
ae3ac440bc
Ivy compatible test modules (#5718)
* ivy compatible core unit tests

* ivy compatible content tests

* ivy compatible process tests

* ivy compatible process cloud tests

* ivy compatible insights tests

* fix content test

* fix content test
2020-05-21 16:25:28 +01:00
Eugenio Romano
08811c7c60
[AAE-2666] fix dropdown rest (#5714)
* fix dropdown rest

* fix dropdown rest
2020-05-21 10:02:44 +01:00
Denys Vuika
654be10dd2
Pre-Angular 9 upgrade fixes (#5712)
* remove deprecated angular/http

* upgrade adf libs

* fix production builds

* ivy-compatible translate module usage

* improved module usage

* upgrade content services module

* fix process services tests

* upgrade process cloud tests

* lint fixes

* update core max size

* fix insights test module

* remove insights lazy loading workaround

* fix insights module exports

* * Fixed skipped form-cloud unit test and removed duplicated tests

* cleanup the use of services

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-05-20 16:51:51 +01:00