176 Commits

Author SHA1 Message Date
Denys Vuika
8dc736e8f0
[AAE-7100] migrate ADF projects to eslint (#7483)
* migrate content services to eslint

* migrate insights to eslint

* migrate extensions to eslint

* migrate testing lib to eslint

* migrate CLI to eslint

* migrate process-services to eslint

* migrate process-services-cloud to eslint

* remove cli analytics [ci:force]
2022-02-03 11:01:54 +00:00
Denys Vuika
b8bb234410
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics

* add schematics

* upgrade demoshell to eslint

* fix eslint issues for demoshell

* integrate eslint for ADF core and fix some issues

* turn into warn

* fix code

* workaround for Chrome clipboard issue

* exclude e2e tests

* exclude e2e
2022-02-02 18:01:47 +00:00
dependabot[bot]
28bdab1146
Bump stylelint from 13.13.1 to 14.2.0 (#7431)
* Bump stylelint from 13.13.1 to 14.2.0

Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.1 to 14.2.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.1...14.2.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade to newest stylelint

* fix style issues

* fix color function rules to match old Angular

* rollback modern color func

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-01-05 09:21:09 +00:00
Vito
622383acf8
[ACA-3847] - fixed download for external source file (#7254)
* [AAE-3847] - added test for check login on external upload

* [ACA-3847] - fixed logout/login scenario for external linked file

* [ACA-3847] - fixed lint problems
2021-10-29 17:29:11 +01:00
Denys Vuika
6f968f7e4a
[AAE-5637] Remove SCSS mixins and use CSS variables (#7250)
* remove default-class mixin and use regular import

* cleanup colors

* remove variables file, fix bugs in animations

* proper ordering of imports, core css vars

* cleanup snackbar and material themes

* tags component

* login component styles

* app login

* toolbar component styles

* breadcrumb styles

* dropdown breadcrumb

* app layout component

* demo shell: files component

* aspect list styles

* content metadata styles

* node selector

* name location cell

* node share dialog

* content type dialog

* folder dialog

* document list

* datatable theme

* pagination theme

* viewer theme

* viewer theme

* user-info theme

* container widget

* dynamic table theme

* form widgets

* form theme

* form renderer

* sidebar menu

* header theme

* info drawer theme

* comment list

* commens and layout container

* sidenav layout

* empty content

* error content

* clipboard theme

* search input

* tooltip card and notification history

* card view theme

* remove unused keys

* add permission dialog

* search and permission dialogs

* version comparison and column themes

* upload drag area and cleanup references

* remove the need for content styles

* insight components

* cleanup insights theme

* process components

* process components

* process cloud themes

* cleanup unsed imports

* cleanup mixins

* update build scripts

* test fixes

* remove fdescribe

* css fixes

* update unit tests
2021-09-29 13:17:05 +01:00
Vito
f963c6d15e
[ADF-5173] - improved fix for closing pdfjs worker error (#7225)
* [ACA-3847] - fixed download for external source file

* [ADF-5173] - improved fix for closing pdfjs worker error

* Fixed lint error
2021-09-28 11:47:04 +01:00
Eugenio Romano
a25923d1f2
Improve compatibility (#7214)
* refactor content

* refactor core

* refactor rest

* fix lint

* fix

* lint

* lint

* fix

* fix

* fix
2021-08-16 11:42:29 +02:00
Eugenio Romano
f30b20cc46
[ADF-5426] Remove compatibility layer from Lib (#7110)
* remove compatibility step 1

* remove compatibility step 2

* remove compatibility step 3

* remove compatibility step 4

* remove compatibility step 5
2021-08-04 17:31:35 +02:00
Dharan
29b4190888
[ACS-1767] [ADF] - Convert C329803 and C329800 cases (#7170) 2021-07-28 11:36:07 +01:00
Denys Vuika
81f7e2af33
[ADF-5456] improved theming bundling (#7180)
* theming barrel file for core

* card-view theme

* clipboard theme

* rename core theme files

* content services themes

* process services theme

* process services cloud theme

* insights theming

* try fix flaky test
2021-07-20 15:24:37 +01:00
Denys Vuika
c1860f0c1f
[ADF-5410] code fixes and updates prior to Angular 12 upgrade (#7177)
* package fixes

* upgrade stylelint config

* upgrade configuration and stats

* code fixes based on Angular upgrade

* rework scss-bundle usage

* use node 14 with travis (lts)

* fix production builds

* fix node sass version
2021-07-15 12:48:23 +01:00
Denys Vuika
a4c3f3a95b
[ADF-5415] remove deprecated async method (#7171)
* remove deprecated async method

* fix tests and code

* test fixes

* fix tests
2021-07-12 20:09:47 +01:00
arditdomi
7f7b61bda1
[ACA-4479][ACA-4480] - Enable Save button when the form is invalid (#7131)
* [ACA-4479][ACA-4480] - Enable Save button when the form is invalid

* Add a unit test for form cloud

* Fix e2e
2021-06-29 14:36:19 +01:00
Denys Vuika
829805e201
[ADF-5432] component template and code fixes after testing Angular strict mode (#7118)
* process list fixes

* template error fixes

* template and code fixes

* bug fixes in templates and types

* bugs, bugs are everywhere

* fix test

* test fixes

* enable strict templates for extensions lib

* enable strict mode for insights lib

* enable strict mode for core lib

* enable strict mode for content lib

* strict mode for process lib

* strict mode for process cloud

* fix demo shell template issues

* fix process cloud types
2021-06-22 16:36:06 +01:00
Denys Vuika
3079aa48c3
[ADF-5422] remove deprecated "async()" from unit tests (#7109)
* remove angualar async from content services

* upgrade more tests

* upgrade core tests

* upgrade tests

* fix deprecated constant

* fix tests

* fix after rebase
2021-06-15 16:16:15 +01:00
Denys Vuika
eb71a79d1e
prepare tests for ng-12 upgrade (#7099)
* prepare tests for ng12 upgrade

* fix lint

* fix tests

* test fixes

* fix code and tests

* fix code and tests

* test fixes

* test fixes
2021-06-11 07:36:32 +01:00
Denys Vuika
e94b2f99bd
[ADF-5406] SCSS and HTML template path fixes (#7063)
* remove useless mixin

* fix scss paths

* style fixes

* fix styles

* style fixes

* style fixes

* style fixes

* style fixes

* insights fixes

* css and template path fixes

* bug fixes
2021-06-01 09:21:00 +01:00
Vito
65cbd570fb
[MNT-22418] - disabling action for physical records (#7057) 2021-05-25 09:15:57 +01:00
siva kumar
b77e03764e
[ACA-4389] [APS1] Convert some of process services extension E2E steps to unit-tests (#6959)
* [ACA-4389] [APS1] make sure to move/convert some of E2E steps to unit-tests

* * Added fail test description

* * Fixed comments

* * Fixed lint errors
2021-05-04 15:11:29 +01:00
Denys Vuika
84ce202ad2
[AAE-4966] Extensible app config (#6914)
* merge app config from the extensions

* improved service injection in unit tests

* extra unit test

* fix content tests

* update code as per review

* fix lint

* fix lint

* update code and tests

* update schema
2021-04-13 14:16:29 +01:00
arditdomi
2ed632f9fc
[ADF-5355] - Fix attach button visibility when using external source (#6784) 2021-03-12 09:03:42 +00:00
arditdomi
1ca7ebfeb1
[ADF-5357] - Convert process name manual tests to unit tests (#6792)
* Convert process name manual tests to unit tests

* Add more checks for the name controller
2021-03-08 17:09:00 +00:00
Gloria Camino
099ba21cea
LOC-285 Localised UI for ADF 4.3 in 16 languages plus amends to typo and 2 string changes requested by @Denys Vuika (#6765) 2021-03-03 10:18:57 +00:00
Maurizio Vitale
75f011292e
[ACA-3881] Able to start form with preselected ACS nodes (#6700)
* Move the node to ps before loading

* Add unit test on start process with preseleted nodes

* Fix unit test

* Wrap calls and improve if

* Add type
2021-02-19 13:25:03 +00:00
Maurizio Vitale
66f4dbd5a5
Avoid to recall the method if no change detect is affected (#6688) 2021-02-16 17:29:15 +00:00
Eugenio Romano
f4976a1949
[ADF-4329][ASD-5330] plus Improve e2e (#6580)
Improve e2e
Fix SSO user avatar 
Fix Priority for APS1
2021-02-05 15:18:30 +00:00
siva kumar
a6edfd98c1
[AAE-4127] [process-services] [APS1] Return Create Filters API response instead of the default payload (#6370)
* [AAE-4127] [process-services] [APS1] Return Create Filters API response instead of the default payload

* * Added unit tests
2020-11-23 11:28:32 +00:00
arditdomi
4dfa9b6d53
[ACA-4123] Unify APS and Cloud event emitters for filters (#6331)
* Experimental solution

* Unify event emitters for aps and cloud filters

* Update emitter descriptions

* Fix/Add unit tests

* Unit tests part 2

* Update documentation, put mock objects into separate mock files and remove them from test files

* rename tests

* align demo-shell with the new changes

* fix aps demo shell
2020-11-16 14:37:17 +00:00
dhrn
c6a3da2a74
[ADF-5170] [upload] not able to upload file/folder from external content service specfic path (#6256)
* [ADF-5170] [upload] not able to upload file/folder from external content service specfic path

* * minor changes
2020-10-26 17:45:37 +00:00
arditdomi
072f910452
[AAE-3719][AAE-3720] - Fix content node selector search should align with the filtering (#6214)
* Fix content node selector search should align with the filtering

* Add a flag to disable optionally the search execution in the filters

* Add unit tests

* refactoring - Remove content node selector service and use the main search service instead

* Fix existing unit tests to align with the new changes

* Fix bug when copying a file

* add include properties in demo shell search config

* revert attach-file-cloud widget

* Remove unused import

* More unit tests
2020-10-20 15:48:23 +01:00
Eugenio Romano
d7db9adbf6
Update Doc 4.1.0 (#6215)
* docbuild

* docbuild

* doc license audit

* remove link redirect to testing
2020-10-08 18:33:57 +01:00
Cristina Jalba
8d54ca2cd3
Fix typo for CLAIM button on form - process services 2020-10-06 18:18:57 +03:00
Eugenio Romano
04f5fdffd7
[ADF-5263] Empty page displayed all the time when load content fix (#6209)
* Make test run on API update
Improve create librrary test

* Fix empty page displayed always first

* remvoe console

* fix

* fix

* lint

* fix

* fix

* fix

* fix

* fix
2020-10-05 00:26:56 +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
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
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
Eugenio Romano
c57253ff54
Remove excluded test (#6096)
* remove excluded test part1

* remove fit

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix lint

* fix lint

* fixes

* update protractor due incompatibility with new node versions

* increase timeout pdf when system is busy
2020-09-08 14:39:22 +01:00
Eugenio Romano
a630cfb390
Fix e2e (#6087)
* fix protractor conf

* remove update env

* fix cli error script cs

* change screenshot plugin

* remove unused param

* fix

* fix

* fix

* moment comment nvm

* fix

* fix

* fix

* fix

* remove adf redirect

* fix

* fix

* save remote report

* report fix

* improve save result

* fix folder save

* fix folder save

* fix placeholder pointer , they needs refactor later

* fix

* fix lint

* fix

* remove test already covered by unit
fix the test in core needed
exclude the one impossible to make it works without APS basic support

* lint

* fix some logout missing

* fix

* Fix the custom-tasks-filters.e2e

* fix lint

* fix

* fix

* fix

* Fix wait on start process  and on process definition options

* Fix logout before login again

* fix uplaod test

* fix

* Fix infodrawer with check detail and sleep

* lint

* increase list of excluded test

* fix

* fix lint

* change wait method datatable

* fix

* fix

* revert check value

* fix

* fix

* change tag test

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-09-04 13:27:55 +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
davidcanonieto
5850f4c929
[ADF-5218] Fix custom stencil usage on Start Process Form (#5999)
* [ADF-5218] Fix custom stencil usage on Start Process Form

* Fix e2e test

* Fix task form provider

* Fix people tests

* Add docs

* Update stencil docs

* Remove outdated docs

* Update task details component
2020-08-14 20:45:07 +01:00
dhrn
f5378a61ff
[ADF-5165][Form] Save button is not displayed for Involved task (#6005) 2020-08-14 16:50:02 +01:00
siva kumar
eb5d0da079
[ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget (#5865)
* [ACA-3603] Destination picker is not opening on My Files when clicking on Attach file widget

* *

* * Fixed failing unit tests

* * Used openFileBrowseDialogByFolderId
2020-08-13 12:45:01 +01:00
Vito
9ec04d33d4
[ADF-5165] - added involved user for task (#5985)
Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local>
2020-08-13 09:02:28 +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
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
siva kumar
b8a3afce01
[ACA-3551] Show vs View button for attach widget. (#5850) 2020-07-31 10:31:12 +02:00
siva kumar
76727e954b
* Fixed attach widget menu (#5916) 2020-07-27 15:51:16 +01:00
Baptiste Mahé
18600ab724
[ADF-5063] Add translate pipe to attach file/folder widget titles (#5877) 2020-07-16 11:39:03 +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
Eugenio Romano
1f58c2d64b
Update start-form.component documentation (#5864)
* Update start-form.component.ts

* Update start-form.component.md
2020-07-13 15:33:01 +01:00