843 Commits

Author SHA1 Message Date
Maurizio Vitale
28a47e83d2
Fetch the userInfo once loggedIn and expose the capability of admin (#7682)
* Fetch the userInfo once loggedIn and expose the cabilibility of admin

* Rollback method

* Return same use if defined

* Use the same pepleContent service for UserInfoCOmpnent

* Remove useless import

* Use interface

* Use angular resolver instead of guard

* Remove fdescribe

* Fix linting

* Regenerate doc

* Improve doc

* Fix optional

* Fix the unit test

* Fix comment

* Fix lint

* Fix unit

* Add fetch user as part of the ssoGuard

* Fix unit test after fetch

* Add additional unit

* Fix await
2022-06-27 12:02:01 +01:00
Denys Vuika
50f62a75bb
[ACS-3108] Release 4.11.0 (#7677)
* bump versions

* generate reports

* release notes
2022-06-16 14:35:27 +01:00
Tomasz Gnyp
1b20e17ed7
[AAE-8076] Add groupsRestriction input to docs (#7645)
* [AAE-8076] revert storybook changes

* Trigger travis
2022-06-10 23:20:17 +02:00
Ardit Domi
d8a4b5bcdb
[AAE-8748] - Auth guards call api when access is not in JWT (#7662)
* [AAE-8748] - Auth guards call api when access is not in JWT

* [ci:force] fix unit tests

* Remove fdescribe

* Add documentation and unit tests for the user access service

* Rename mocks, make e2e independent

* Fix login e2e

* Move forbidden access e2e under cloud
2022-06-07 10:21:54 +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 6ac24cc14a90d7b494fbc4dcc72e073e83a46457.
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
Bartosz Sekuła
7629797408
[AAE-7817] Show hide columns on datatable (#7580)
* [AAE-7817]  Show hide columns for data-table

* Update

* update tests and uses material harness

* added pipes test

* update

* update

* added tests for datatable

* update

* Added documentation

* Fix for drop column header

* lint fix

* fix lint
2022-05-10 19:09:26 +02:00
Denys Vuika
90009d7516
Release 4.10.0 (#7602)
* bump library versions

* update package lock

* generate reports

* release notes for 4.10.0
2022-04-26 18:00:09 +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
Eugenio Romano
e89cea79be
Update header.component.md 2022-04-05 16:08:27 +01:00
Denys Vuika
3f7cc8ed5d
Release 4.9.0 (#7552)
* bump versions

* generate reports

* release notes

* update release link
2022-03-15 09:40:28 +00:00
Tomasz Gnyp
3dc9f7cdfd
[AAE-7765] Improved display mandatory form fields (#7531)
* [MNT-22765] Improved display mandatory form fields

* [MNT-22765] added unit tests

* [MNT-22765] fixed test with error icon on rest fail

* Trigger travis

* [MNT-22765] removed underscore from var name

* [AAE-7765] removed underscore from unit test

* [AAE-7765] fixed css lint

* [AAE-7765] fixed e2e error message css class

* [AAE-7765] fixed storybook e2e
2022-03-07 18:29:12 +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
Eugenio Romano
ab188e9611
Bump 4.8.0 (#7471)
* bump and doc
2022-01-27 14:17:08 +01:00
Maxvanvugt
f9c2bf6092
<adf-context-menu-holder> removed from adf document list (#7404)
<adf-context-menu-holder> seems to be deprecated. The proposed solution seems to work.
2021-12-07 11:59:36 +01:00
Eugenio Romano
ce43d0a766
Clean style creations ADF (#7385) 2021-11-29 16:14:26 +00:00
Eugenio Romano
4d58b3c4d0
Update upgrade46-47.md 2021-11-18 11:12:34 +00:00
Eugenio Romano
016f89b0a5
Update upgrade46-47.md 2021-11-18 11:11:30 +00:00
Eugenio Romano
eb1183946d
documentation 4.7.0 (#7341)
* documentation 4.7.0

* fix
2021-11-01 15:13:46 +00: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
tomgny
d3f99a74b0
[AAE-5960] Storybook stories for PeopleCloud component (#7313)
* [AAE-5953] solved rebase conflict

:wq

* [AAE-5953] solved rebase conflict

* [AAE-5953] added form cloud service interface

* [AAE-5953] fixed lint errors

* [AAE-5953] migrated stories and mocks

* [AAE-5953] migrated task cloud service mock

* [AAE-5953] migrated task cloud service mock

* [AAE-5953] removed redundant mock

* [AAE-5953] refactored and moved  mocks

* [AAE-5953] refactor modules import

* [AAE-5960] added stories file and service mock

* [AAE-5960] fixed validation mock

* [AAE-5960] added story for user role

* [AAE-5960] removed uunused properties from primary story

* [AAE-5960] added interface to mock and live identity user service

* [AAE-5960] added mandatory preselected users story

* [AAE-5960] syntax improvements

* [AAE-5960] fixed default value for roles control

* [AAE-5960] refactored imports

* [AAE-5960] improve syntax

* [AAE-5960] refactored services name

* [AAE-5960] removed deprecated argTypes defaultValue

* [AAE-5960] exported new interface from core

* [AAE-5960] fixed import issue with identity user mock service in core

* [AAE-5960] fixed issue with viewer component test
2021-10-22 15:54:56 +01:00
Denys Vuika
941028999e
[MNT-22641] Upload versioning improvements (#7300)
* support "versioningEnabled" for uploads

* documentation updates

* remove app config and extend the api docs
2021-10-14 15:06:01 +01:00
Denys Vuika
254a6cd9d3
[MNT-22613] Viewer extensibility fixes (#7294)
* viewer fixes and unit tests

* update docs

* fix unit test
2021-10-12 13:57:13 +01:00
Pablo Martinez Garcia
5a2d27393d
[MNT-22606] Add properties viewer as form widget (#7278)
* [MNT-22606] Add properties viewer as form widget

* [MNT-22606] Add documentation and fix the params accessor

* [MNT-22606] Fix unit tests

* [MNT-22606] Fix lint

* [MNT-22606] Fix lint

* [MNT-22606] Fix lint
2021-10-06 18:12:14 +02:00
Denys Vuika
2bb7586f93
[MNT-22613] Viewer wildcard extension (#7280)
* support viewer wildcard extensions

* update docs

* fix lint

* fix template
2021-10-05 17:01:07 +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
Eugenio Romano
12ef9656aa
4.6.0 bump and doc update (#7253)
* update doc 4.6.0

* 4.6.0 bump

* fix

* fix lock
2021-09-15 16:08:17 +01:00
Eugenio Romano
3f44e2e649
update-doc-viewer (#7246) 2021-09-13 10:10:01 +01:00
Michał Dunat
eb95e84ea7
[AAE-5718] change ngOnInit to ngAfterViewInit in Login component docs in Customizing validation rules section (#7223) 2021-08-24 16:11:47 +02:00
arditdomi
aac821a1fe
[AAE-5414] - SSO Auth Guard - Add the concept of excluded roles (#7222)
Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
2021-08-24 09:25:36 +01:00
Thomas Hunter
6dae24d424
[ADF-5460] Add placeholder to SearchTextInputComponent (#7208) 2021-08-16 12:34:44 +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
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
Dharan
bbc2701df2
[ACA-4486] docs update (#7146)
* [ACA-4486] docs update

* * [ci:force] rename see also section

* [ci:force] settings and  migrate step added

* settings and  migrate step added

* [ci:force] minor corrections
2021-07-05 11:56:56 +02:00
Eugenio Romano
4aa9f79707
4.5.0 Release note (#7130)
* doc part 1

* doc part 2

* 4.5.0 release note

* Update README.md

* Update README.md
2021-06-28 17:28:59 +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
arditdomi
462f40827e
Revert "[AAE-5392] - Add find people api call (#7119)" (#7121)
This reverts commit 1e251ab8aa4efcccdb7d72a94a34f30c7b040673.
2021-06-24 09:57:27 +01:00
arditdomi
1e251ab8aa
[AAE-5392] - Add find people api call (#7119)
* [AAE-5392] - Add find people api call

* Add documentation
2021-06-22 18:08:01 +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
Eugenio Romano
2d61a2941c
Update extensibility.md 2021-06-17 12:11:28 +02: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
Thomas Hunter
40bbeb13f0
[AAE-5208] Add pagination info to listPeople function in PeopleContentService (#7055)
* [AAE-5208] Add pagination info to listPeople function in PeopleContentService

* Change documentation
2021-06-02 11:49:47 +01:00
Eugenio Romano
6e0ad4ce43
4.4.0 (#7030)
* 4.4.0

* Update README.md

* Update upgrade43-44.md

* Update readme

* lock update

Co-authored-by: arditdomi <32884230+arditdomi@users.noreply.github.com>
2021-05-20 09:50:30 +01:00
Denys Vuika
251b64a8f3
update docs on the extension value replace (#7029) 2021-05-14 12:03:48 +01:00
Thomas Hunter
c96b6ea36f
[AAE-5124] Show counter only when attaching files (#7011)
* [AAE-5124] Show counter only when attaching files

* Reset package-lock.json

* Add another unit test

* Fix unit test
2021-05-12 16:42:49 +01:00
Eddie
3e4b2083ff
Update content-type-dialog.component.md (#7008)
Just a missing 't' on 'content'
2021-05-10 13:15:36 +01:00
Eugenio Romano
d6a4f84161
generate documentation (#7006) 2021-05-10 10:47:48 +01:00
Eugenio Romano
71cad4c287
[ci:force] auto update node version when media management actions are triggered (#6992) 2021-05-08 22:29:51 +01:00
davidcanonieto
550a223164
[ADF-5379] Add a way to disable WS notifications (#6924)
* [ADF-5379] Add a way to disable WS notifications

* Update app-notifications.service.ts

* Update task-filters-cloud.component.spec.ts

* Move flag to upper level in config.json

* Create new notification section in app.config.json

* Update implementation

* Improve naming
2021-05-05 14:14:44 +01:00
Urse Daniel
e8ffe8e35e
[ADF-5378] ADF Previewer: Image Rotate + Save (#6958)
* updates including cropperJS

* update on rotation + unit tests

* small fix

* hide toolbar on save

* remove unused & duplicate method

* added readonly & prettier code

* include readOnly mode to hide/show media management actions

* updated dependencies

* fix emit spy

* ADF-5378: Fix failing e2es

* Fix comments for unit tests

* ADF-5378: Removed obsolete buttons from e2e

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-05-01 15:54:37 +01:00