4005 Commits

Author SHA1 Message Date
AleksanderSklorz
98c0a3c7be
[ACS-5041] update license headers to reflect hyland copyright guidelines (#8472)
* ACS-5041 Changed json to js

* ACS-5041 Corrected paths

* ACS-5041 Changed json to js

* ACS-5041 Updated eslintrc

* ACS-5041 Small correction

* ACS-5041 Small correction

* ACS-5041 Updated license headers

* ACS-5041 Updated license headers

* ACS-5041 Replaced references to alfresco

* ACS-5041 Added Hyland to known words

* ACS-5041 Fixed coverage issue

* ACS-5041 Fixed duplication issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed duplications issue

* ACS-5041 Fixed test

* ACS-5041 Fixed test

* ACS-5041 Reverted one change

* ACS-5041 Added missing license to files after rebase
2023-04-20 09:34:03 +02:00
Amedeo Lepore
ec2db6a638
Release 6.0.0-A.4 (#8495)
* Move release.sh under script folder

* Release 6.0.0-A.4

* Update release-notes README with last version
2023-04-19 17:21:26 +02:00
Gloria Camino
419453da78
LOC-411 - PRODDEL-6965 - Updated UI files in 16 languages for ADF 6.0 release (#8490) 2023-04-19 11:58:40 +02:00
Thomas Hunter
210f21bbb2
[ACA-4589] Remove requirement for update permission on node to open manage versions dialog (#8483) 2023-04-19 10:01:24 +01:00
Ardit Domi
657e5ef7fd
Generate docs (#8481)
* Generate docs

* Fix duplicated Optional and restore code block ticks

* Fix docbuild command errors, improve documentations

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore85@gmail.com>
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2023-04-18 15:28:07 +02:00
Ehsan Rezaei
f0934382b3
AAE-13282: Fixing save preferences on service tasks (#8476)
* AAE-13282: Fixing save preferences on service tasks

* AAE-13282: Removing comments
2023-04-14 22:54:13 +02:00
Mikołaj Serwicki
4556546bdd
[AAE-13141] fix: remove faulty interceptor with caused CORS issues (#8474) 2023-04-14 19:54:06 +02:00
Alfresco Build
e5bb2e4fa4
[ci:force][auto-commit] Update JS-API to 5.5.0-780 for branch: update-js-api originated from JS-API PR: 347 (#8468) 2023-04-13 17:02:34 +01:00
Bartosz Sekula
4d50da91c0
[AAE-12782] Custom theme - add custom color for app-bar (#8452) 2023-04-13 11:25:13 +02:00
swapnil-verma-gl
0eb0ff167b
[ACA-4676][ACA-4678] Added Non Responsive Preview Dialog to viewer component (#8428)
* [ACA-4676] Added NonResponsivePreview dialog to download file incase file preview takes longer than a set period of time.

* [ACA-4676] Updated button positioning for non responsive preview dialog

* [ACA-4676] Added documentation for NonResponsivePreviewDialog functionality for viewer.component.ts

* [ACA-4676] Added unit tests for NonResponsivePreviewDialog

* [ACA-4676] Updated template of NonResponsivePreviewDialog to use components and directives from mat-dialog. Removed non-responsive-dialog.component.scss. Removed unused methods from non-responsive-dialog.component.ts

* [ACA-4676] Corrected typo in NonResponsivePreviewDialog unit tests

* [ACA-4676] Added test cases for NonResponsivePreviewDialog in viewer.component.ts. NOT WORKING

* [ACA-4676] Fixed test cases for non-responsive preview dialog. Moved NonResponsivePreview dialog tests to separate describe block. Updated component code to make properties and methods visible to testing environment

* [ACA-4676] Migrated viewer component test env setup from setupTestBed() to TestBed.configureTestingModule(). Moved NonResponsivePreviewDialog unit tests to inside parent Viewer component describe block

* [ACA-4676] Removed unused async tag. Added license info to non-responsive-dialog.component.ts and non-responsive-preview-actions.enum.ts

* [ACA-4676] Updated code to use "viewer" appConfig object instead of "preview-config". Added non-responsive-preview-actions.enum.ts to public-api.ts

* [ACA-4676] Resolved potential lint issues

* [ACA-4676] Updated non responsive preview to look for viewer config object inside app.config instead of preview-config

* [ACA-4676] Removed duplicate import for @adf/core. Added NonResponsiveDialogComponent to adf/core exports

* [ACA-4676] Renamed properties/config/documentation from nonResponsivePreview to downloadPrompt. Renamed NonResponsivePreviewActionsEnum to DownloadPromptActions.

* [ACA-4676] Resolved linting and unit test failures

* [ACA-4676] Changed dataType for timers to number. Updated code to use window.setTimeout(), instead of just setTimeout(). Added missing whitespace. Updated method names in demo shell to use 'downloadPrompt' naming scheme.

* [ACA-4676] Fixed incorrect import statement in viewer.module.ts for download-prompt-dialog

* [ACA-4676] Testing disabled by default behaviour of downloadPrompt feature

* [ACA-4676] Changed default value for enableDownloadPrompt and enableDownloadPromptReminders to false in app.config.json

* [ACA-4676] Removed un-needed AppConfig configurations from unit tests
2023-04-12 19:32:34 +05:30
Bartosz Sekula
94dcbda322
[AAE-12782] Custom theme creation (#8450)
* [AAE-12782] Create custom theme

* copied ui from ACA

* fix some lints

* Added theme

* Added theme

* lint part 1

* lint part 2

* lint part 3 backg color

* lint part 4

* lint part 5

* lint part 6

* lint part 7

* update

* fix map_merge
2023-04-06 18:53:00 +02:00
Diogo Bastos
913a117723
[AAE-12288] Fix bc (#8447) 2023-04-05 15:55:00 +01:00
Diogo Bastos
6a9129c931
[AAE-12288] Enable Environment Id filtering support (#8360)
* [AAE-12288] Add environment context to process-instances, user-tasks and service-tasks

* [AAE-12288] Add environment type

* [AAE-12288] add unit tests for environment aware logic

* [AAE-12288] remove mock barrel import and remove code duplication

* [AAE-12288] Update docs
2023-04-04 16:12:19 +01:00
MichalKinas
ea90cb17a0
[ACS-4523] Add string to translate (#8444) 2023-04-04 06:45:26 -04:00
Kasia Biernat
3a5483d1cc
[AAE-11885] adjust task list and process list to make it stylable for hxp (#8437)
* [AAE-11885] adjust task list html and css to use material components

* [AAE-11885] adjust process list and tests

* [ci:force]

* [AAE-11885] add variable for spacing

* [ci:force]
2023-04-04 12:07:00 +02:00
swapnil-verma-gl
fc3ad78004
[ACA-4681] Added file auto download feature to DocumentList component (#8423)
* [ACA-4681] Added feature in DocumentListComponent to auto download a file if it exceeds a pre defined file size threshold

* [ACA-4681] Added test cases for file auto download feature in document list (NOT WORKING)

* [ACA-4681] Fixed unit tests for file auto download feature of document list

* [ACA-4681] Removed unused variables from app.config.json

* [ACA-4681] Resolved code review findings. Local constants are no longer upper case only (used camelCase instead). FileAutoDownload component template now uses mat-dialog provided directives and components. Removed file-auto-download.component.scss. Removed unused methods from file-auto-download.component.ts

* [ACA-4681] Added licence info to file-auto-download-actions.enum.ts

* [ACA-4681] Added license info to file-auto-download.component.ts

* [ACA-4681] Removed empty constructor

* [ACA-4681] Updated appConfig property name from "preview-config" to "viewer".

* [ACA-4681] Added JSDoc for FileAutoDownloadActionsEnum

* [ACA-4681] Updated ADF demo shell application to use "viewer" appConfig object instead of "preview-config"

* [ACA-4681] Resolved lint issues

* [ACA-4681] Removed dependency from NodeActionsService inside DocumentListComponent. FileAutoDownload component now directly triggers the file download, instead of emitting FileAutoDownloadActionsEnum.Download.

* [ACA-4681] Removed unused async. Updated import statement

* [ACA-4681] Added FileAutoDownloadComponent to public-api.ts
2023-04-04 13:01:23 +05:30
Robert Duda
2bd72f71d5
[AAE-12318] Adjustments for HxP Attach-File widget (#8425) 2023-04-03 13:57:49 +02:00
Nikita Maliarchuk
fc3bd7eb42
[ACA-4654] style fix (#8430) 2023-03-31 08:45:28 +02:00
AleksanderSklorz
431b3db08a
[ACS-4721] tags are not displayed properly when resizing browser (#8424)
* ACS-4721 Partial fix issue with resizing window

* ACS-4721 Fixed issue for overlapping view more button with tags, skip calculation if anyone clicked on view more button

* ACS-4721 Unit tests

* ACS-4721 Fixed lint issues

* ACS-4721 Small correction in tests

* ACS-4721 Fixed unit tests

* ACS-4721 Fixed unit tests

* ACS-4721 Resolved issues after opening viewer

* ACS-4721 Formatting

* ACS-4721 Fixed lint issue
2023-03-30 14:16:04 +02:00
AleksanderSklorz
3e2683e06b
[ACS-4126] viewer allow assigning tags to content basic (#8417)
* ACS-4126 Moved component for tags creation from applications to ADF, putting that component into Viewer

* ACS-4126 Assigning tags to node and removed reference to modal from component for tags creating

* ACS-4126 Started working on assigning existing tags to node

* ACS-4126 Added newest changes for tags creation component

* ACS-4126 Usage of MatSelectionList, possibility for selecting existing tag

* ACS-4126 Allow to pass already assigned tags to tags creator as default top list

* ACS-4126 Fixed some css issues like aligning of icons, hiden add input icon when input is already visible

* ACS-4126 Allow to unlink tags from content

* ACS-4126 Allow for discard changes and fixed some validation issues

* ACS-4126 Integrate with changes for removing pagination

* ACS-4126 Autoscroll to input, remove scrollbar from search list

* ACS-4126 Code formatting

* ACS-4126 Renamed prefix for tags and style classes

* ACS-4126 Refreshing assigned tags after linking them, disable some operations during saving

* ACS-4126 Remove scrollbar from create label for long text, corrected some validations, use p tag instead of card view for displaying already assigned tags

* ACS-4126 Removed redundant code from tags creator component

* ACS-4126 Corrected translations

* ACS-4126 Hide input during saving

* ACS-4126 Unit tests for ContentMetadataComponent

* ACS-4126 Unit tests for TagService

* ACS-4126 Fixed unit tests for TagsCreator

* ACS-4126 Added documentation

* ACS-4126 Added additional unit tests

* ACS-4126 Fixed lint issues

* ACS-4126 Remove tags from files and folders list when taggable is unchecked

* ACS-4126 Small correction in styles

* ACS-4126 Corrected type for assigning single tag

* ACS-4126 Updated docs

* ACS-4126 Updated docs

* ACS-4126 Fixed some unit tests

* ACS-4126 Fixed lint issues

* ACS-4126 Updated jsdoc

* ACS-4126 Reverted one unwanted line

* ACS-4126 Removed space which caused lint issue

* ACS-4126 Fixed unit tests

* ACS-4126 Restored change

* ACS-4126 Fixed unit tests

* ACS-4126 Small correction
2023-03-30 08:47:09 +02:00
Vito Albano
d761966a59
[AAE-10309] - Joy to the world the unit tests are fixed! (#8422)
* [AAE-10309] - fixing unit tes - what a wondeful world

* [AAE-10309] - i think i m gonna cry

* [AAE-10309] - obivously a comment leftover, nice

* [AAE-10309] - removed wrongly added config

* [AAE-10309] - Promise resolve fixed

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-03-30 01:34:09 +01:00
Jatin Chugh
2f80607520
[ACS-4295] Label is not persistent as placeholder is being used as the only visual label for a text field (#8211)
* Label is not persistent as placeholder is being used as the only visual label for a text field, so now added title too

* review comments addressed

* changes for placeholder and mat-label after discussion with shane

* failing unit tests correction
2023-03-29 19:21:16 +05:30
Alfresco Build
64537a33c8
[ci:force][auto-commit] Update JS-API to 5.5.0-767 for branch: update-js-api originated from JS-API PR: 341 (#8414) 2023-03-29 14:59:15 +02:00
tomasz hanaj
867af029ec
[AAE-13211] fixed datetime icon width (#8420) 2023-03-28 16:00:33 +01:00
dependabot[bot]
d5d4f14d46
Bump json-schema and jsprim in /lib/cli (#8396)
Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together.

Updates `json-schema` from 0.2.3 to 0.4.0
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.3...v0.4.0)

Updates `jsprim` from 1.4.1 to 1.4.2
- [Release notes](https://github.com/joyent/node-jsprim/releases)
- [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md)
- [Commits](https://github.com/joyent/node-jsprim/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: json-schema
  dependency-type: indirect
- dependency-name: jsprim
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 11:21:13 +02:00
Jatin Chugh
735e581932
[ACS-4128] Undo functionality added for input in Perform Actions after selecting an action and it works after destnation folder change in Create/Edit a rule in Manage Rules (#8402)
* undo functionality added for input after selecting destination folder for Create and Edit a rule

* review comments addressed and added 3 more test cases

* used built in type KeyboardEvent instead of interface and combining 2 if conditions - shorten the code

* removed duplicate line of code

* removed duplicate code from test cases

* redundant code removed for render chips for multivalue properties test cases using resuable function

* code smell reduction
2023-03-27 17:41:29 +05:30
Nikita Maliarchuk
0089f188a4
[ACS-4117] Added possibility to create multiple categories (#8382)
* [ACS-4117] added possibility to create multiple subcategories

* [ACS-4117] renamed api function to follow updated code

* [ACS-4117] js-api update

* [ACS-4117] package-lock

* [ACS-4117] rebase

* [ACS-4117] empty commit
2023-03-24 10:38:06 +01:00
Ehsan Rezaei
7c988fe4d3
AAE-13073: Removed unused styles and vars (#8406) 2023-03-24 10:21:05 +01:00
Adriano Costa
1b3275d064
[HXCS-1322] fix e2e NotificaionComponent demo (#8413)
* [HXCS-1322] fix e2e NotificaionComponent demo

* [HXCS-1173] revert to  one line

* [HXCS-1173] move new test after breaking tests

---------

Co-authored-by: Adriano Costa <Adriano.Costa@hyland.comgit>
2023-03-23 21:14:23 +01:00
Adriano Costa
fb01ab7619
[HXCS-1310] fix e2e notification (#8412)
Co-authored-by: Adriano Costa <Adriano.Costa@hyland.comgit>
2023-03-23 11:32:01 +01:00
tomasz hanaj
b239066223
[AAE-13063] replaced custom color with theme related (#8408) 2023-03-23 09:21:17 +00:00
Aayush Rohila
66bb385a39
[ACS-4746] Returning focus to trigger element after restore option is… (#8359)
* [ACS-4746] Returning focus to trigger element after restore option is selected and manage version modal is closed

* [ACS-4746] Returning focus to trigger element after restore in manage versions PR

* [ACS-4746] Returning focus to trigger element after restore option is selected in manage version and test cases for the change.
2023-03-22 14:38:27 +05:30
Adriano Costa
cfe158839b
[HXCS-1166] extend SnackBar to customize content appearance (#8379)
* [HXCS-1166] add templateRef to SnackBarData interface

* [HXCS-1166] update SnackBarContentComponent

to be able to manage data.templateRef

* [HXCS-1166] add tests to NotificationService

* [HXCS-1166] fix lint

* [HXCS-1166] add documentation

* [HXCS-1166] follow PR advices

* [HXCS-1166] typos

* [HXCS-1166] update testrail id

---------

Co-authored-by: Adriano Costa <Adriano.Costa@hyland.comgit>
2023-03-21 16:54:29 +01:00
Eugenio Romano
0c4cc37dd2
[AAE-12242] Fix code coverage (#8404)
* fix code coverage
2023-03-21 14:57:40 +01:00
Michał Fidor
ad67e0cc37
[AAE-12635] Improve tests for using the default app - always deployed for BE UAT in Playwright (#8393)
* [AAE-12635] Improve tests for using the default app - always deployed for BE UAT in Playwright
2023-03-21 10:18:38 +01:00
Ehsan Rezaei
5ab6dc2e9d
[AAE-13069]- Input fields label improvements (#8387)
* AAE-13069: Removing extra div inside mat label

* AAE-13069: Removing font size css rule and applying right class to the mat label

* AAE-13069: Refactoring text item component based on Angular Material

* AAE-13069: Updated unit test

* AAE-13069: Fixed lint issues

* AAE-13069: Fixed styles

* AAE-13069: Updated e2e tests

* AAE-13069: Updated e2e tests
2023-03-20 20:25:13 +01:00
Eugenio Romano
96a04588b3
update doc (#8386) 2023-03-17 15:21:38 +00:00
Thomas Hunter
1b2575b2db
[ACS-4125] Add support for the tags search facet (#8390)
* ACS-4125 Added changes needed to display facets for tags

* ACS-4125 Removed logs

* Add reordering of buckets and facets through configuration + unit tests

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-03-17 09:17:17 +00:00
Alfresco Build
7e7762927f
[ci:force][auto-commit] Update JS-API to 5.5.0-741 for branch: update-js-api originated from JS-API PR: 326 (#8389) 2023-03-16 19:41:13 +01:00
AleksanderSklorz
db777130bd
[ACS-4753] list of tags is not rendered because of missing count field in backend response (#8346)
* ACS-4753 Use TagsAPI instead of SearchAPI to get counters

* ACS-4753 Combined fetching tags and counters in single http call

* ACS-4753 Added unit tests

* ACS-4753 Added documentation
2023-03-16 15:52:29 +01:00
Alfresco Build
b472114edf
[ci:force][auto-commit] Update JS-API to 5.5.0-740 for branch: update-js-api originated from JS-API PR: 324 (#8315) 2023-03-16 15:44:45 +01:00
Raviraj Bahirsheth
6e835893ca
[ACS-4106] changed place of mat-error tag & style change (#8368) 2023-03-16 05:46:38 -04:00
Ehsan Rezaei
ccbf76a75e
AAE-12844: Column Resizing Improvements (#8340)
* AAE-12844: Column Resizing Improvements

* AAE-12844: Added extra check on column header query selector

* AAE-12844: Fixed lint issue

* AAE-12844: Fixed unit tests

* AAE-122844: Code improvement

* AAE-12844: Added missing if condition
2023-03-10 22:26:15 +01:00
Amedeo Lepore
d1fa1a3cd7
Dev alepore 12511 fix bc wrong auth url (#8352)
* [AAE-12511] Wait for the app configuration to be set with the right idp configuration

* [AAE-12511] Wait for the api service to be loaded to fix AlfrescoApi instance undefined
2023-03-10 17:48:29 +01:00
tomasz hanaj
8907a7ffa2
[AAE-13042] css variables names changed to avoid name collisions in other apps (#8351) 2023-03-10 15:35:39 +00:00
Pablo Martinez Garcia
ce998f61fd
[AAE-11707] Fix wrong paths in adf-core (#8350) 2023-03-10 13:22:35 +01:00
Eugenio Romano
2590e7d0a9
[AAE-10777] Move services from Core in Content the right place (#8242)
Clean core services and directive
2023-03-10 09:28:24 +01:00
tomasz hanaj
112e272ce7
[AAE-1288] moved label inside field for easier styling (#8347) 2023-03-10 08:42:07 +01:00
tomasz hanaj
a39480bc48
[AAE-12872] custom css variables replaced with theme related variables (#8332)
* AAE-12872 replaced global variables related to foreground text

* AAE-12872 replaced global css variables related to foreground

* AAE-12872 replaced global css variables related to background,palette colors
2023-03-08 23:40:48 +00:00
AleksanderSklorz
9863149a28
[ACS-4592] missing right click menu on row and left click is only allow on indicator rotate (#8327)
* ACS-4592 Displaying context menu for tree list row and allow to expand row by clicking at label

* ACS-4592 Added clicking on label for load more button

* ACS-4592 Unit tests

* ACS-4592 Added documentation for context menu for tree component and fixed lint issues

* ACS-4592 Trigger stuck check
2023-03-08 08:11:48 -05:00