Commit Graph

446 Commits

Author SHA1 Message Date
Eugenio Romano
7e485ff63c Update content-node-selector.component.scss (#7673) 2022-06-10 18:01:59 +02:00
Bartosz Sekuła
0d96b4413a [AAE-8740] Fix default ConfirmDialogComponent title (#7665) 2022-06-07 11:50:44 +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 6ac24cc14a.
2022-06-06 15:36:05 +02:00
Amedeo Lepore
4457aed5b4 [AAE-6242] upload a new version of a file attached in a form (#7651)
* [AAE-6242] Create upload new version dialog to handle the upload of the new file version

* [AAE-6242] Create version manager service to open version manager dialog

* [AAE-6242] Export service and dialog

* [AAE-6242] add adf-upload button to the show the upload new file button

* [AAE-6242] open upload new version dialog

* [AAE-6242] Removed console log

* [AAE-8798] display update option name to newVersion

* [AAE-8799] Emit version manager data when new file version is uploaded

* [AAE-8799] When a new file version is uploaded open new version dialog and update current file version with the new file version

* [AAE-8799] Rename UploadNewVersionDialogComponent to VersionManagerDialogComponent and UploadNewVersionDialogData to VersionManagerDialogData

* [AAE-8799] Use default root folder id

* [AAE-8799] Add #uploadSingleFile ViewChild in order get the input reference

* [AAE-8799] Trigger adf-upload-button by clicking on the button in order to open the file chooser and upload a new file version

* [AAE-8799] Version manager dialog emits file upload error

* [AAE-8799] Format version manager dialog code

* [AAE-8799] Reject upload and permission errors

* [AAE-8799] Catch upload new version errors

* [AAE-8799] Update allowable operation type

* [AAE-8799] Rename VersionManagerDialogComponent into NewVersionUploaderDialogComponent and VersionManagerService into NewVersionUploaderService, create specific folder for new version uploader component and service

* Restore previous UploadButtonComponent version

* [AAE-8799] Use [adf-upload] directive to upload new file version

* [AAE-8799] Add mock file for new version uploader unit tests

* [AAE-8799] Override mat dialog configuration

* [AAE-8799] Add unit test related to event emitted from Dialog

* [AAE-8799] Create model to handle New Version Uploader data

* [AAE-8799] Return data on dialog close

* [AAE-8799] Add showVersionsOnly property to dialog to show only file version list

* [AAE-8799] Add dialogAction to emit dialog actions

* [AAE-8799] Return observable instead of promise

* [AAE-8799] Update new file version type

* [AAE-8799] Subscribe dialog because return an Observable

* [AAE-8799] Add license header

* [AAE-8799] Add i18n new version uploader translations

* [AAE-8799] If data.title is not provided, add a default title

* [AAE-8799] Change panelClass for manage versions visualizations, add dialog styles

* [AAE-8799] Add upload new version dialog unit test

* [AAE-8799] Add upload new version dialog unit test related to manage versions section

* [AAE-8799] Add onUploadNewFileVersion unit tests

* [AAE-8799] Test new dialog panelClass

* [AAE-8799] Create a method to set dialog title, if title isn't provided from parent component, a default title is set

* [AAE-8799] Add doc to new-version-uploader-dilog component and service

* [AAE-8799] Add new-version-uploader.dialog.service documentation
2022-05-27 09:54:09 +02:00
Eugenio Romano
95fd3e822a fix small viewport attach file (#7650) 2022-05-25 11:01:32 +01:00
Thomas Hunter
039f167b75 [ADF-5480] Fix partially hidden icon on permissions (#7591) 2022-04-22 09:53:21 +01:00
Bartosz Sekuła
48c3fac018 [AAE-7819] Change column order - enable drag and drop for datatable - [1/3] (#7567)
* [AAE-7819] Enable drag and drop for datatable [1/3]

* [AAE-7819] Change column order - load and save columns order preferences for PROCESSES - [2/3] (#7568)

* [AAE-7819] Load and save column order preferences for processes

* [AAE-7819] Load and save column order preferences for tasks [3/3] (#7569)

* fix css

* fix icon module import

* Fix unit tests

* Fix test

* Fix e2e

* Fix C279927
2022-04-11 08:01:02 +02:00
Denys Vuika
6ccc39d0f4 [ACA-4557] Upload Dialog fixes and refactoring (#7507)
* fix random errors for versioning

* remove node deletion on upload cancel

* fix after rebase

* restore the "complete" button

* simplify e2e

* delete obsolte test
2022-02-18 17:04:37 +00:00
Denys Vuika
9f72e30fbc [AAE-7242] fix eslint warnings for content services project (#7505)
* fix eslint warnings for content services project

* fix typing issues
2022-02-17 15:23:38 +00:00
Denys Vuika
1a6746ff3c [MNT-22649] Support for concurrent uploads and configurable thread count (#7496)
* eslint fixes

* try remove upload restrictions

* disable unit test

* support threading count for upload

* update docs

* remove comment

* fix unit test

* remove fdescribe

* make 1 thread by default

* exclude e2e
2022-02-14 09:38:24 +00:00
Bartosz Sekuła
670d2befdc [AAE-6823] Customize font (#7493)
* [AAE-6823] Customize font

* [AAE-6823] Update css variables names

* [AAE-6823] Cleaning

* [AAE-6823] Update css variables names

* [AAE-6823] Fix lint error
2022-02-08 14:15:57 +01:00
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
3aa629d4be [AAE-7119] Fix circular dependencies (#7472)
* fix language item dependency

* fix public-api export

* dependency fixes

* fix circular deps

* fix circular deps

* fix circular deps

* fix circular deps

* fix circular dependency

* workaround for circular deps

* fix lint
2022-01-28 14:14:42 +00:00
Denys Vuika
a2bef19e24 drag and drop fixes and unit tests (#7458) 2022-01-21 13:51:33 +00:00
Denys Vuika
4058a71e3f correct copy icon for share dialog (#7446) 2022-01-14 12:53:24 +00:00
Denys Vuika
9b9fc31cb8 Revert "correct copy icon for share dialog"
This reverts commit 0ddfb1ca15.
2022-01-13 14:19:06 +00:00
Denys Vuika
0ddfb1ca15 correct copy icon for share dialog 2022-01-13 14:18:40 +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
tomgny
0b24e896fa [AAE 6360] Storybook brand with Alfresco (#7363)
* [AAE-6360] added config and logo files to process cloud and stories lib

* [AAE-6360] fixed build by adding unimplemented methods in form cloud mock service

* [AAE-6360] added config files for core and content services

* [AAE-6360] fixed bimport to correct build content-services storybook
2021-11-11 15:56:32 +00:00
Gloria Camino
9feeca47f5 LOC-342 - PRODDEL-5341 - Updated UI strings in 16 languages (#7349) 2021-11-05 11:09:28 +00:00
Eugenio Romano
eb1183946d documentation 4.7.0 (#7341)
* documentation 4.7.0

* fix
2021-11-01 15:13:46 +00:00
tomgny
27812c618a [AAE-6269] Storybook stories for Like component (#7329)
* [AAE-6269] added stories and mock, refactored tests

* [AAE-6269] added interface for live and mock rating service

* [AAE-6269] hide nodeId property
2021-10-28 14:07:14 +01:00
Pablo Martinez Garcia
9f08d4a3e6 [MNT-22606] Support preset config as input in content-metadata component (#7311) 2021-10-23 20:25:53 +02:00
Denys Vuika
e4949b6cf1 [ACS-437] Content Version Service (#7312)
* content version service

* remove fdescribe
2021-10-20 16:01:18 +01:00
Eugenio Romano
40377e040e fix missing translation permission (#7297)
fix UI regression Datatable full width
2021-10-13 14:50:09 +01:00
Sushmitha V
9bf19256f0 [AAE-3942] Resolved: FE - Document list is being pushed (shrink) when applying a filter (#7242) 2021-10-06 15:58:18 +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
arditdomi
cb79b216ce [ACA-4310] - Show the breadcrumb even for invalid selections in searc… (#7241)
* [ACA-4310] - Show the breadcrumb even for invalid selections in search results

* Empty commit

Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
2021-09-08 12:14:08 +01:00
Gloria Camino
20f1ca1cf9 LOC-323 - Updated UI for ADF 4.6 in 16 languages (#7234) 2021-09-06 11:02:56 +01:00
Dharan
01f0139504 [ACA-3669] Incorrect Version Number Displayed (#7230) 2021-09-02 14:19:17 +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
c01417a08f [ADF-5429] Improve search for testability (#7198)
* improve search for testability

* fix lint
2021-08-06 11:09:51 +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
arditdomi
94d908e51a [AAE-5392] - Make search text input more configurable & add an event … (#7188)
* [AAE-5392] - Make search text input more configurable & add an event emitter to indicate the states of it

* Remove fdescribe

* Emit empty search term when the search gets cleared

* Emit the empty search term when the search gets collapsed by the Search icon

* Same onBlur, emit the empty search term

* Add unit tests for emitters resetting the search term

* Fix comments, use reset event emitter instead of emitting an empty search term

* Update documentation

* Revert reset to boolean

* Fix flaky unit test
2021-07-30 11:30:20 +03:00
Denys Vuika
3c5da169b2 Theme bugfixes (#7186)
* fix core bugs

* use proper pallettes
2021-07-23 12:09:55 +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
Dharan
d17d003f75 [ADF-5439] New bubble filters with expandible list extends too much when there are too many elements (#7156) 2021-07-07 11:37:53 +02:00
Dharan
7e4954bd80 [ADF-5439] New bubble filters with expandible list extends too much when there are too many elements (#7153) 2021-07-06 11:17:31 +02:00
Pablo Martinez Garcia
dab75c51ee [ACA-4503] Fix close all dialogs (#7142)
* [ACA-4503] Fix close all dialogs

* [ci:force] clean unit test file
2021-07-05 15:18:59 +02:00
Gloria Camino
93a31f6306 LOC-314 -Updated UI files in 16 languages for ADF 4.5 release (#7141) 2021-07-05 12:57:30 +02:00
Pablo Martinez Garcia
d93980d1a3 [ACA-4503] Fix closing dialogs behind when closing the content selector dialog (#7138)
* [ACA-4503] Fix closing dialogs behind when closing the content selector dialog

* [ACA-4503] Close the dialogs from the content node selector component
2021-07-01 15:16:26 +02:00
Vito
82a57c9c05 [ACA-4436] - added option for select item to display None (#7113)
* [ACA-4436] - added option for select item to display None

* [ACA-4436] - added unit test and fixed wrong default behaviour

* [ACA-4436] - fixed property check

* [ACA-4436] - fixed unit test

* [ACA-4436] - fixed unit test
2021-06-25 11:19:16 +02:00
Dharan
26d180e661 [ACA-4486] support search widget chips layout (#7122)
* [ACA-4486] support search widget chips layout

* * revert to old config

* * resolved rebase conflicts

* [ci:force] force e2e

* [ci:force] docs update and remove directive added

* [ci:force] config updated

* [ci:force] add missing app config schema to prod build
2021-06-25 10:54:12 +02: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
Thomas Hunter
e2b8557f4b [AAE-5362] Add option to make actions button visible only on hover (#7117)
* [AAE-5362] Add option to make actions button visible only on hover

* [AAE-5362] Refactor

* Unrelated linting fixes
2021-06-22 16:28:38 +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
Dharan
ba03c60adb [ADF-5417] Support multiple search configuration in app config json (#7096)
* [ACS-1642] Support multiple search configuration in app config json

* [ci:force] unit test added

* adf component added

* [ci:force] check compatibility

* [ci:force] * run all e2e

* * revert initvalue

* [ci:force] revert app config

* [ci:force] docs update
2021-06-15 14:52:46 +02: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