Compare commits

...
Author SHA1 Message Date
Ardit Domi 9c33ed68aa [AAE-13093] - Set node version of dockerfile to 16.20 (#8465) 2023-04-12 15:21:23 +01: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
Ardit Domi 662dfd9c3a [AAE-13093] - Use node v16 for publish docker (#8464) 2023-04-12 08:24:27 -04:00
Ardit Domi 452c96f0eb [AAE-13093] - Fix yml file indentation, use npm cache (#8463) 2023-04-12 07:34:21 -04:00
Ardit Domi 8c48927738 [AAE-13093] - Fix invalid node version workflow (#8462) 2023-04-12 07:23:57 -04:00
Ardit Domi 729ca7a61c [AAE-13093] - Fix demoshell and storybook publishing not working (#8460) 2023-04-12 11:37:17 +01:00
Vito Albanoandalfresco-build 05d6b041d4 Add connector regression app (#8461)
* Adding connector-regression free app

* Adding connector-regression free app

* Removed wrong file

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-04-12 10:41:05 +01:00
dependabot[bot] b60e09532f Bump ng-mocks from 14.7.2 to 14.8.0 (#8458)
Bumps [ng-mocks](https://github.com/help-me-mom/ng-mocks) from 14.7.2 to 14.8.0.
- [Release notes](https://github.com/help-me-mom/ng-mocks/releases)
- [Changelog](https://github.com/help-me-mom/ng-mocks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/help-me-mom/ng-mocks/compare/v14.7.2...v14.8.0)

---
updated-dependencies:
- dependency-name: ng-mocks
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 12:23:51 +02:00
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
Ardit Domi 5ddd039832 [AAE-13200] - Fix GH workflow e2e not affected when testing lib is modified (#8448)
* [AAE-13200] - Fix e2e not affected when testing lib is modified

* Fix workflow

* Fix workflow output vars
2023-04-06 13:43:04 +01: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
Maurizio Vitale b37de3842f Remove the ability to run upstream from adf (#8431) 2023-04-04 10:28:25 +01: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
dependabot[bot] ba90131e61 Bump @typescript-eslint/eslint-plugin from 5.47.0 to 5.57.0 (#8442)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.47.0 to 5.57.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.57.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 11:53:56 +02:00
dependabot[bot] 27b5224cb8 Bump apollo-angular from 4.2.0 to 4.2.1 (#8439)
Bumps [apollo-angular](https://github.com/kamilkisiela/apollo-angular/tree/HEAD/packages/apollo-angular) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/kamilkisiela/apollo-angular/releases)
- [Changelog](https://github.com/kamilkisiela/apollo-angular/blob/master/packages/apollo-angular/CHANGELOG.md)
- [Commits](https://github.com/kamilkisiela/apollo-angular/commits/apollo-angular@4.2.1/packages/apollo-angular)

---
updated-dependencies:
- dependency-name: apollo-angular
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 11:53:46 +02:00
dependabot[bot] aa42c732e2 Bump rimraf from 4.4.0 to 4.4.1 (#8440)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 10:27:06 +02:00
dependabot[bot] edd53519f1 Bump @angular-eslint/eslint-plugin from 14.0.4 to 15.2.1 (#8438)
Bumps [@angular-eslint/eslint-plugin](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin) from 14.0.4 to 15.2.1.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v15.2.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@angular-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 10:25:59 +02:00
dependabot[bot] d144225320 Bump eslint-plugin-rxjs from 5.0.2 to 5.0.3 (#8441)
Bumps [eslint-plugin-rxjs](https://github.com/cartant/eslint-plugin-rxjs) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/cartant/eslint-plugin-rxjs/releases)
- [Changelog](https://github.com/cartant/eslint-plugin-rxjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cartant/eslint-plugin-rxjs/commits)

---
updated-dependencies:
- dependency-name: eslint-plugin-rxjs
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-03 10:25:44 +02:00
Dawid L Jablonski 69b7bc852d [ci:force] (#8436) 2023-03-31 16:24:47 +02:00
Dawid L Jablonski 657db27790 HXOR-99 [ci:force] commits on adf is not working properly (#8427)
* Corrected conditions on ng2'

* Corrected one line

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]
2023-03-31 11:27:52 +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 Albanoandalfresco-build 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
tomasz hanaj bf5352cbe9 [AAE-13060] documented css global variables (#8418)
* [AAE-13060] documented css global variables

* [AAE-13060] moved documentation into proper file
2023-03-29 15:48:08 +02:00
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
dependabot[bot] 712e62d76f Bump @apollo/client from 3.7.5 to 3.7.10 (#8398)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.7.5 to 3.7.10.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.7.5...v3.7.10)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 16:51:01 -04: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
Maurizio Cacace 4d817e5762 HXOR-196 - get pr number change (#8411)
* check new action

* check new action

* check new action

* check new action

* check new action

* check new action

* check new action

* check new action

* get PR number

* get PR number

* get PR number

* get PR number

* get PR number

* get PR number

* get PR number

* final check

* final check

* use external action from build tool

* check new action

* use sha commit instead of ref number

* [ci:force]

* [ci:force]

* [ci:force]

* fix
2023-03-28 08:54:54 +02:00
dependabot[bot] a61658eadf Bump angular-oauth2-oidc-jwks from 13.0.1 to 15.0.1 (#8399)
Bumps [angular-oauth2-oidc-jwks](https://github.com/manfredsteyer/angular-oauth2-oidc) from 13.0.1 to 15.0.1.
- [Release notes](https://github.com/manfredsteyer/angular-oauth2-oidc/releases)
- [Changelog](https://github.com/manfredsteyer/angular-oauth2-oidc/blob/master/docs/changelog.html)
- [Commits](https://github.com/manfredsteyer/angular-oauth2-oidc/commits)

---
updated-dependencies:
- dependency-name: angular-oauth2-oidc-jwks
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 07:14:51 +02:00
dependabot[bot] 2e333f0674 Bump @storybook/angular from 6.5.10 to 6.5.16 (#8400)
Bumps [@storybook/angular](https://github.com/storybookjs/storybook/tree/HEAD/app/angular) from 6.5.10 to 6.5.16.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.16/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.16/app/angular)

---
updated-dependencies:
- dependency-name: "@storybook/angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 07:14:31 +02:00
dependabot[bot] 08d5cc392e Bump nconf from 0.11.4 to 0.12.0 (#8415)
Bumps [nconf](https://github.com/flatiron/nconf) from 0.11.4 to 0.12.0.
- [Release notes](https://github.com/flatiron/nconf/releases)
- [Changelog](https://github.com/indexzero/nconf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flatiron/nconf/compare/v0.11.4...v0.12.0)

---
updated-dependencies:
- dependency-name: nconf
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 18:38:22 +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
dependabot[bot] 1dcdc99c2e Bump ng-mocks from 14.6.0 to 14.7.2 (#8416)
Bumps [ng-mocks](https://github.com/help-me-mom/ng-mocks) from 14.6.0 to 14.7.2.
- [Release notes](https://github.com/help-me-mom/ng-mocks/releases)
- [Changelog](https://github.com/help-me-mom/ng-mocks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/help-me-mom/ng-mocks/compare/v14.6.0...v14.7.2)

---
updated-dependencies:
- dependency-name: ng-mocks
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-27 12:56:15 +02:00
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 CostaandAdriano 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 CostaandAdriano 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
Maurizio Cacace 3f36dc7e76 HXOR-241 - finalize job needs to be improved by adding a setup check (#8409) 2023-03-23 09:22:44 +01:00
tomasz hanaj 739273b459 [AAE-12784] elements get typography from theme (#8407) 2023-03-22 17:19:13 +01:00
dependabot[bot] fd8f9c20e7 Bump rimraf from 3.0.2 to 4.4.0 (#8397)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 4.4.0.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v3.0.2...v4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 11:02:02 +01:00
dependabot[bot] 17c70cebd6 Bump eslint-plugin-jsdoc from 40.0.2 to 40.1.0 (#8401)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 40.0.2 to 40.1.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v40.0.2...v40.1.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 10:50:11 +01: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 CostaandAdriano 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
Dawid L Jablonski c884b0625b HXOR-193 in the pull-request flow, branch name in the flag parser should be managed better (#8405)
* Changed a structure

* Added $

* Added missing )

* [ci:force]
2023-03-21 12:04:38 +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
dependabot[bot] cf52683771 Bump decode-uri-component from 0.2.0 to 0.2.2 in /tools/doc (#8394)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  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-17 16:38:29 +01:00
dependabot[bot] 329cff2ba1 Bump cookiejar from 2.1.3 to 2.1.4 in /tools/doc (#8395)
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases)
- [Commits](https://github.com/bmeck/node-cookiejar/commits)

---
updated-dependencies:
- dependency-name: cookiejar
  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-17 16:38:13 +01:00
Eugenio Romano 96a04588b3 update doc (#8386) 2023-03-17 15:21:38 +00:00
Thomas HunterandAleksander Sklorz 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
Maurizio Cacace 4180d9f69a Revert "HXOR-209 - The release workflow should run also when pushing on develop (#8384)" (#8392)
This reverts commit 29ed53bc47.
2023-03-17 10:12:59 +01: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
Maurizio Vitale 23002d0fb8 use the dot to make nx happy (#8388) 2023-03-16 15:55:31 +00:00
Dawid L Jablonski 29ed53bc47 HXOR-209 - The release workflow should run also when pushing on develop (#8384)
* Edited if values

* “Changed”

* “Changed2”
2023-03-16 16:35:30 +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
Maurizio Vitale d44ba08229 use PAT (#8385) 2023-03-16 10:56:05 +00:00
Raviraj Bahirsheth 6e835893ca [ACS-4106] changed place of mat-error tag & style change (#8368) 2023-03-16 05:46:38 -04:00
Maurizio Vitale ebabcf2c2b attempt with rest (#8381) 2023-03-15 19:22:45 +00:00
Maurizio Vitale 5ebab419f5 attempt with await (#8380) 2023-03-15 17:07:51 +00:00
Maurizio Vitale 803e1f7f5b use v6 (#8378) 2023-03-15 16:40:23 +00:00
Maurizio Vitale 1854aff099 Use escape to read var (#8377) 2023-03-15 16:06:34 +00:00
Maurizio Vitale 8aa9ce9556 fix the payload with comma (#8376) 2023-03-15 15:43:38 +00:00
Maurizio Vitale 5b20ba973b remove await (#8375) 2023-03-15 14:01:54 +00:00
Maurizio Vitale 25b3d38d0a change context (#8374) 2023-03-15 13:46:09 +00:00
mauriziovitale 003c1f2a24 use version 2 of action 2023-03-15 13:44:08 +00:00
Maurizio Vitale b3c07c9789 use github as pre-authenticated (#8373) 2023-03-15 13:06:52 +00:00
Maurizio Vitale 2bd1ae578a change payload values (#8372) 2023-03-15 12:16:05 +00:00
Maurizio Vitale 2fdcedb711 change payload (#8371) 2023-03-15 11:22:58 +00:00
Maurizio Vitale 9245ebd6fa change event name (#8370) 2023-03-15 11:05:09 +00:00
Maurizio Vitale 757c0edc52 repository-dispatch custom event to monorepo (#8369)
* repository-dispatch custom event to monorepo

* repo owner
2023-03-15 11:00:22 +00:00
Marco Carrozzo 185e4bc55a [HXOR-158] release wont start if pr closed but not approved (#8335) 2023-03-15 10:16:27 +01:00
dependabot[bot] 5e05f379fa Bump eslint-plugin-unicorn from 43.0.2 to 46.0.0 (#8356)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 43.0.2 to 46.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.2...v46.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 10:04:27 +01:00
dependabot[bot] ec3d5ee0e4 Bump lint-staged from 13.1.2 to 13.2.0 (#8355)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.1.2 to 13.2.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.1.2...v13.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 10:04:18 +01:00
dependabot[bot] 8338564af8 Bump @typescript-eslint/typescript-estree from 5.47.1 to 5.55.0 (#8363)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 5.47.1 to 5.55.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.55.0/packages/typescript-estree)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/typescript-estree"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 10:04:10 +01:00
dependabot[bot] 91ce356f86 Bump eslint-plugin-jsdoc from 40.0.0 to 40.0.2 (#8366)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 40.0.0 to 40.0.2.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v40.0.0...v40.0.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 10:03:59 +01:00
dependabot[bot] ad235c0936 Bump webpack from 5.75.0 to 5.76.0 (#8364)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 10:03:49 +01:00
Maurizio Cacace a60a1683c1 chmod change permission (#8367) 2023-03-14 18:04:44 +01:00
dependabot[bot] 80691af66b Bump eslint from 8.35.0 to 8.36.0 (#8353)
Bumps [eslint](https://github.com/eslint/eslint) from 8.35.0 to 8.36.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.35.0...v8.36.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 17:41:51 +01:00
Maurizio Cacace 01b6a52446 add scripts bump and update (#8365) 2023-03-14 17:22:20 +01:00
Maurizio Vitale 00b61e409c Use PAT to publish pkgs (#8361) 2023-03-14 15:45:05 +00:00
Maurizio Cacace 5dc18703c5 Fix ci force for dependabot check (#8362)
* [ci:force]

* [ci:force]

* [ci:force]

* final fix

* final fix

* final fix
2023-03-14 15:55:17 +01:00
Maurizio Cacace a4d57e62f8 AAE-11622 - remove unused scripts from pipeline (#8329)
* AAE-11622 remove unused scripts

* AAE-11622 remove unused scripts

* AAE-11622 remove unused scripts

* AAE-11622 remove unused scripts
2023-03-14 14:18:43 +01:00
Maurizio Cacace 78a7e5d1df AAE-12589 fix cron e2e schedule avoiding ci:force flag checker (#8358)
* AAE-12589 fix cron e2e schedule

* AAE-12589 fix cron e2e schedule
2023-03-14 14:07:20 +01: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
Vito Albanoandalfresco-build 4db6c88f78 Fix for ADF -> APPS upstream (#8348)
* Checking if the upstream is fixed

* Checking if the upstream is fixed

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-03-10 11:17:29 +00: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
maurizio-cacace 241b7c6361 fix affected flag 2023-03-09 15:52:07 +01:00
Maurizio Cacace 94ae980039 AAE-12589 - fixing ci:force flag (#8338)
* AAE-12589 fixing ci:force flag

* [ci:force]

* check ci:force var

* check ci:force var

* [ci:force]

* [ci:force]

* [ci:force]

* ci force fix

* ci force fix

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]
2023-03-09 15:41:22 +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
Amedeo Lepore 41f9974919 [AAE-13016] Fix errors: can't resolve 'angular-oauth2-oidc' and 'angular-oauth2-oidc-jwks' (#8345) 2023-03-08 12:12:00 +01:00
dependabot[bot] 997fa81c59 Bump eslint from 8.30.0 to 8.35.0 (#8341)
Bumps [eslint](https://github.com/eslint/eslint) from 8.30.0 to 8.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.30.0...v8.35.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 10:46:17 +01:00
Eugenio Romano 8db863219c [AAE-12723] Move rich text editor in Process cloud (#8283)
* move rich text editor in Process cloud

* fix import

* fix

* fix
2023-03-07 14:12:36 +01:00
Denys Vuika 29132ec5c8 Revert "cleanup"
This reverts commit 3711eecca4.
2023-03-07 11:00:04 +00:00
Denys Vuika 3711eecca4 cleanup 2023-03-07 10:58:57 +00:00
f4a8084f0c [AAE-12511] implement OIDC authentication capabilities in ADF (#7856)
* feat: add custom AlfrescoApiHttpClient [ci:force]

* feat: update configs

* feat: move api to follow second entry point structure

* feat: add auth module [ci:force]

* Fix rebasing issues

* Isolate oidc package as subfolder

* Canary mode

* [AAE-12498] Fix unit test should load external settings: resolve reponse data instead returning default config

* [AAE-12498] Set @nrwl/eslint-plugin-nx@14.5.4 version to fix lint job that failed because of the 14.8.6 version (https://github.com/Alfresco/alfresco-ng2-components/actions/runs/4165060892/jobs/7207651856\#step:5:3379)

* [AAE-12498] Fix stories:build-storybook:ci issues

* [AAE-7991] cherry-pick e935f7b0b1 from repo https://github.com/Alfresco/alfresco-ng2-components/pull/7818: send onLogin to initialize acs version to fix [C362242] on canary configuration

* [AAE-12498] Fix security hotspot: fix unsafe pseudorandom number generator

* test: add missing tests for oidc-auth.guard

* test: fix lint issues

* chore: remove assignment in return

* [AAE-12498] Remove warning comment because we already know we're doing breaking changes

* [AAE-12498] Add auth-config.service unit tests

* [AAE-12498] Remove getUserProfile from auth service

---------

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2023-03-07 09:53:11 +01:00
Ehsan Rezaei dd91f2eeb6 AAE-12245: Migrated from event cancelBubble to stopPropagation (#8311) 2023-03-06 21:57:51 +01:00
dependabot[bot] cb69f34aa7 Bump eslint-plugin-import from 2.26.0 to 2.27.5 (#8322)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.26.0 to 2.27.5.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.5)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 17:24:01 +01:00
Maurizio Vitale 63886d5262 Use the right path for testing (#8343) 2023-03-06 16:18:27 +00:00
Maurizio Vitale 8567b147be Use as default prod (#8342)
* Use as default prod

* remove restricted
2023-03-06 15:54:49 +00:00
Maurizio Vitale 52a733d2a2 [AAE-12870] use gh action to publish (#8317)
* use gh action to publish

* revert and rely on action

* Use token as part of workflow

* Use token as part of workflow

* remove useless file
2023-03-06 15:12:44 +00:00
Gloria Camino ad150bf610 LOC-411 - Also related to PRODDEL-6965 - updated strings for ADF 6.0 in 16 languages (#8339) 2023-03-06 10:21:52 +00:00
Ehsan Rezaei 77fde1ab65 [AAE-12840] - Fix saving preference when columns width or order changes (#8331)
* AAE-12840: Fixed saving preference when column widths change in tasks and processes list

* AAE-12840: Fixed saving preference when columns order change in tasks and processes list

* AAE-12840: Fixed lint issue

* AAE-12840: fixed lint issue
2023-03-03 18:05:29 +01:00
Ehsan Rezaei 005b26c54f AAE-12839: Improved column resize handle clickable area (#8325)
* AAE-12839: Improved column resize handle clickable area

* AAE-12839: Fixed lint issue
2023-03-03 17:44:02 +01:00
Marco Carrozzo 97253bba85 [HXOR-164] pr check job (#8337)
* HXOR-164 pr check job
2023-03-02 15:58:44 +01:00
Maurizio Cacace 1049de9825 fix release npm (#8334) 2023-03-01 15:00:35 +00:00
Maurizio Cacace 5d92a08f1e fix release npm (#8333) 2023-03-01 14:19:02 +00:00
Ardit Domi 8ab4e15daf Release of 6.0.0-A.3 (#8330) 2023-03-01 13:29:00 +00:00
Ardit Domi 99db02b9db Fix typo in ADF cli changelog command (#8328) 2023-02-28 15:52:13 +00:00
maurizio-cacace b156e866b2 quick fix username adf 2023-02-28 16:13:27 +01:00
maurizio-cacace aa6b5089bb quick fix branch 2023-02-28 15:58:04 +01:00
Maurizio Cacace fc224713f2 AAE-11918A - remove travis env var (#8312)
* AAE-11918 - travis_branch env removal

* AAE-11918 - travis_branch env removal

* event_type and travis_pull_request_branch  env removal

* e travis_build_dir, travis_build_number, travis_commit  env removal

* rename scripts path

* remove .travis file

* remove .travis file

* remove .travis file

* just a commit

* trying to fix e2e test

* fix e2e issue

* remove action load travis env

* with action travis env var load

* remove action travis load env vars

* remove action travis load env vars

* remove action travis load env vars

* last check

* test release flow in dry-run

* final check for review

* fix env variables

* fix env variables

* fix env variables

* remove devel flag

* revert renaming action facade

* git mv commit

* git mv commit
2023-02-28 15:36:22 +01:00
Ardit Domi 2bc74f012d Regenerate package lock with lock file version 1 (#8326) 2023-02-28 13:36:18 +00:00
Marco Carrozzo c890999c80 AAE-12860-build errors on cron
skip nxcache exchange between jobs, changed node modules cache key
2023-02-27 12:52:43 +01:00
Jatin Chugh 713320b01d [ACS-4270] Content overlaps other content at 400% zoom width equivalent issue fixed (#8264) 2023-02-23 21:19:12 +00:00
Aayush Rohila 2f3c9f1658 [ACS-4290] Changed filter icon to generic filter icon instead of the custom icon that was being used so far (#8237) 2023-02-23 21:18:02 +00:00
Aayush Rohila b5310f6b89 [ACS-4294] Added title to clear button and changed its icon type to clear from close (#8270)
* Added label to clear button and changed icon from close to clear

* Added the label to icon

* changed from property binding to attribute binding
2023-02-23 21:16:24 +00:00
AleksanderSklorz 7028910616 [ACS-4670] Removed View 0 More tags button when chip takes more than on… (#8307)
* ACS-4670 Removed View 0 More tags button when chip takes more than one line

* ACS-4670 Removed async and import reduction
2023-02-23 21:15:36 +00:00
Nikita Maliarchuk d26593e4d8 [ACS-4571] Move SecurityControlsService to ADF Content Lib (#8286)
* [ACS-4571] move SecurityControlsService to ADF content lib

* [ACS-4571] build fix

* [ACS-4571] build fix

* [ACS-4571] build fix

* [ACS-4571] resolved ts-ignore in unit-tests

* [ACS-4571] renamed AdminCcSecurityControlsServicesModule to SecurityControlsServiceModule

* [ACS-4571] return types added

* [ACS-4571] added docs for SecurityControlsService

* [ACS-4571] docs typo fix

* [ACS-4571] docs typo fix

* [ACS-4571] linting

* [ACS-4571] fixed failing test

* [ACS-4571] added missing unit tests

* [ACS-4571] linting

* [ACS-4571] set the default maxItems to UserPreferencesService.paginationSize

* [ACS-4571] changed createSecurityMarks() return type

* [ACS-4571] moved import line up

* [ACS-4571] finish loading status in some functions
2023-02-23 17:44:32 +00:00
Nikita Maliarchuk 25d85c7890 [ACS-4331] Add deleteTag method to tag service (#8126)
* ACS-4331 - added deleteTag method to tag service

* ACS-4331 - docs + unit test

* ACS-4331 - docs correction

* ACS-4331 - docs alignment fix

* ACS-4331 - applied small fixes

* ACS-4331 - updated docs

* [ACS-4331] removed extra spaces
2023-02-23 17:38:57 +00:00
Maurizio Vitale 2dccde9e6b publish on gh first (#8314) 2023-02-23 17:06:17 +00:00
Maurizio Vitale 7d02ea61a2 Publish the adf pkgs on gh pkg registry (#8313) 2023-02-23 16:33:48 +00:00
Alfresco BuildandVito Albano 33d7fca2cf Update branch for JS-API PR#657 (#8310)
* [ci:force][auto-commit] Update JS-API to 5.4.0-657 for branch: update-js-api originated from JS-API PR: 262

* Fixed package-lock

---------

Co-authored-by: Vito Albano <vito.albano@alfresco.com>
2023-02-23 15:20:33 +00:00
Ehsan Rezaei e7bb097be6 Updated datatable component docs (#8309) 2023-02-23 09:35:41 +01:00
Maurizio Vitaleandalfresco-build 90c8cb3add Cron - Separate cron e2e from upstream and for different repo (#8300)
* separate cron e2e from upstream and for different repo

* remove useless env

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-02-22 14:30:29 +00:00
Aayush Rohila 8625a49df7 [ACS-4281] removed heading role from breadcrumbs. (#8278) 2023-02-22 14:20:09 +00:00
Maurizio Cacace d412579836 fix concurrency: only on PR workflow (#8306) 2023-02-22 15:05:16 +01:00
Vito Albano fbccbb5a98 Fixed error on custom style and added doc for BC (#8297) 2023-02-22 14:37:07 +01:00
dependabot[bot] bac4d786bc Bump eslint-plugin-jsdoc from 39.3.6 to 40.0.0 (#8293)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.6 to 40.0.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.6...v40.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 14:36:07 +01:00
dependabot[bot] 0d4049b333 Bump @editorjs/underline from 1.0.0 to 1.1.0 (#8292)
Bumps [@editorjs/underline](https://github.com/editor-js/underline) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/editor-js/underline/releases)
- [Commits](https://github.com/editor-js/underline/commits)

---
updated-dependencies:
- dependency-name: "@editorjs/underline"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 12:05:10 +01:00
Maurizio Cacace 69689876af HXOR-109 - add json checker in PR workflow (#8304)
* HXOR-109-json-checker version:2 test

* HXOR-109-json-checker version:2 test

* HXOR-109-json-checker version:2 test

* HXOR-109-json-checker version:1 test

* HXOR-109-json-checker version:1 test

* remove personal branch
2023-02-22 10:17:33 +01:00
Eugenio Romanoanddependabot[bot] 55ec15e174 Bump lint-staged from 13.1.0 to 13.1.2 (#8302)
* Bump lint-staged from 13.1.0 to 13.1.2

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.1.0 to 13.1.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.1.0...v13.1.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 10:14:59 +01:00
Marco Carrozzo c89714be83 AAE-12767 (#8299) 2023-02-22 10:00:08 +01:00
Alfresco Build 6e7b1808cc [ci:force][auto-commit] Update JS-API to 5.4.0-655 for branch: update-js-api originated from JS-API PR: 260 (#8276) 2023-02-21 15:49:01 +01:00
Jatin Chugh 8e3d5a9b9f [ACS-4326] Content was overlapping with other contents and some elements were missing when we zoom at 400% or 320px equivalent which is fixed (#8191)
* content was overlapping earlier and some of the elements were lost at 400% or 320px equivalent which is fixed now

* extra space removal

* content overlapping verified upto 400% zoom including all other zooms i.e 200% 300% etc

* length-zero-no-unit issue fixed - stylelint
2023-02-20 15:59:25 +00:00
AleksanderSklorz 02dcd4fb48 [ACS-4565] add search for categories tree in admin cc (#8279)
* ACS-4565 Added possibility to search categories

* ACS-4565 Fixed unit test

* ACS-4565 Fixed lint issue

* ACS-4565 Removed extra empty line

* ACS-4565 Replaced tags label with categories label in unit tests

* ACS-4565 Replaced tags label with categories label in doc
2023-02-20 15:53:22 +00:00
tomasz hanajandEhsan Rezaei 477d49eaee AAE-12578 added fn to save col width with preferences (#8296)
* AAE-12578 added fn to save col width with preferences Resolved Conflict

* AAE-12578 fixed formatting issues

* Empty-Commit

* AAE-12578 added resizing column feature to process list

* AAE-12578: Removed duplicate component entry

---------

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
2023-02-20 16:11:16 +01:00
Maurizio Vitaleandalfresco-build b876102098 trigger upstream daily for hxp monorepo (#8298)
* trigger upstream daily for hxp monorepo

* add a develop test

* add a trigger

* Fix inputs

* [trigger adf]

* check value

* remove develop and merge

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-02-20 14:36:04 +00:00
Ehsan Rezaei f76e10ff09 AAE-12274: Added support for column resizing to process and task lists (#8275)
* AAE-12274: Added support for column resizing to process and task lists

* AAE-12274: trigger travis
2023-02-20 14:42:25 +01:00
Ehsan Rezaei 4aa2e0eb87 AAE-12273: Implemented column resizing directive (#8272)
* AAE-12273: Implemented column resizing directive

* AAE-12273: Updated datatable component docs with column resizing feature

* AAE-12273: Fixed lint errors

* AAE-12273: Fixed spell check and lint errors

* AAE-12273: Fixing lint issues

* AAE-12273: Excluded failing e2e

* AAE-12273: Excluded more failing E2Es

* AAE-12273: Excluded more failing e2e

* AAE-12273: Code Improvement

* AAE-12273: Fixed datatable column flex item shrink

* AAE-12273: Fixed unit tests of column header resizing flex item shrink
2023-02-20 10:45:03 +01:00
Nikita Maliarchuk 058cd9e01c [AAE-10594] Run unit tests in headless mode (#8141)
* AAE-10594 - changed karma configs to run unit tests in headless mode

* AAE-10594 - removed commets

* [AAE-10594] fixed failing test
2023-02-17 11:08:16 +00:00
Eugenio Romano 2062d4744c add content-app option in update ADF workflow 2023-02-17 10:10:55 +00:00
alfresco-build 6cd6eefc92 export empty var 2023-02-16 15:10:16 +00:00
alfresco-build 561f8c38d4 being able to update only apps 2023-02-16 15:02:51 +00:00
Maurizio Cacace f8f6d145f3 AAE-12721-PR-closed-check (#8282) 2023-02-16 15:03:59 +01:00
tomasz hanaj c00c7643b1 AAE-12716 updated the typography documentation (#8277)
* AAE-12716 updated the typography documentation

* tests trigger
2023-02-16 13:38:34 +00:00
Eugenio Romano 05e2033633 [AAE-12675] update pdfjs version to fix sign problem (#8266)
* update pdfjs version to fix sign problem
2023-02-16 13:37:13 +00:00
Maurizio Vitaleandalfresco-build 384628197e Being able to upstream alfresco-apps or alfresco-applications (#8280)
* Being able to upstream alfresco-apps or alfresco-applications

* Use alpha as default

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-02-16 13:18:47 +00:00
tomasz hanaj f18fd94085 [AAE-12668] refactored typography for themes (#8268)
* AAE-12668 refactored typography for themes

* AAE-12668 added missing spaces

* AAE-12668 removed parenthesis causing lint error
2023-02-16 00:46:41 +00:00
MichalKinas 41f135df0f [ACS-4634] Add ADF and JS API upstream to applications repo (#8274)
* [ACS-4634] Add ADF and JS API upstream to applications repo
2023-02-15 17:14:21 +01:00
Artur Cichoń 9014a85eda [AAE-12662] Get rid of multiplicity of "more than one element found for locator" warnings in tests caused by redundant click (#8273)
* [AAE-12662] Get rid of multiplicity of 'more than one element found for locator' warnings

* trigger travis
2023-02-15 16:11:06 +01:00
Diogo Bastos 96075ae456 [AAE-10779] User info component refactor (#8187)
* [AAE-10779] Update documentation

* [AAE-10779] Update demo-shell user-info component call

* [AAE-10779] Ecm user info component

* [AAE-10779] Identity user info component

* [AAE-10779] Bpm user info component

* [AAE-10779] Remove ecm-panel id references

* [AAE-10779] add stories and remove old component

* [AAE-10779] Update doc version and remove leftover html tag

* trigger travis

* [AAE-10779] rename ecm-user-info to content-user-info and bpm-user-info to process-user-info

* [AAE-10779] update docs

* [AAE-10779] fix demo-shell user-info

* [AAE-10779] add docs
2023-02-15 14:47:43 +00:00
Kasia Biernat c5710c0e61 [AAE-12134] unit test: Should be able to set number of columns for Header widget (#8267) 2023-02-15 11:35:15 +01:00
Alfresco Build 54bb8e24e5 [ci:force][auto-commit] Update JS-API to 5.4.0-643 for branch: update-js-api originated from JS-API PR: 643 (#8269) 2023-02-15 09:41:28 +00:00
swapnil-verma-glandsuneet-gupta 275d30b043 [ACS-4257] - Resolved a11y issue around jumping focus (#8168)
* ACS-4257 - Clicking on filter buttons on search results no longer switches focus from button to first element

* [ACS-4257] Added key listeners to open and close the menus to improve keyboard only usability

* ACS-4257 - Clicking on filter buttons on search results no longer switches focus from button to first element

* [ACS-4257] Added key listeners to open and close the menus to improve keyboard only usability

---------

Co-authored-by: suneet-gupta <suneet.gupta@hyland.com>
2023-02-14 22:01:12 +05:30
Eugenio Romano a1ec61f857 use one bucket variable to avoid: (#8263)
Can be miss configured with different buckets
We need to maintain two variables:
They seems to be used in different ways because one contain s3:// the other not
2023-02-14 15:26:26 +00:00
Alfresco Build 3b7ac02098 [ci:force][auto-commit] Update JS-API to 5.4.0-639 for branch: update-js-api originated from JS-API PR: 639 (#8255) 2023-02-14 14:48:58 +00:00
Denys Vuika 0ba076722f [ACS-3742] extra cfg support for shell navbar (#8256) 2023-02-14 14:22:56 +00:00
swapnil-verma-gl bcfa488940 [ACS-4252] Resolved accessibility issues around inherited permissions popover (#8222)
* [ACS-4252] Inherited permissions popover can now be opened and closed by enter key press. Added configurableFocusTrap to popover when it is opened.

* [ACS-4252] Removed console.log statement
2023-02-14 14:16:10 +00:00
MichalKinas b1311c6966 [ACS-4124] Display only as much tags as fits container in tag node list (#8247)
* [ACS-4124] Display only as much tags as fits container in tag node list

* [ACS-4124] CR fixes

* [ACS-4124] Add hidden, lint fixes, event propagation stopped
2023-02-14 11:04:07 +01:00
Jatin Chugh 6e99dd663a [ACS-4322] content overlap issue fixed at 400% zoom and close button which was earlier not visible at 400% zoom is visible now. (#8201)
* content overlap issue fixed at 400% zoom and close button which was earlier not visible at 400% zoom fixed

* adjusting the contents at 400% zoom by reducing the padding of mat-dialog-container

* linting change of zero-no-unit
2023-02-13 16:07:18 +05:30
Denys Vuika 5ce8553901 upgrade js-editor to drop cypress dependency (#8249)
* upgrade js-editor to drop cypress dependency

* upgrade caniuse-lite
2023-02-10 19:09:37 +00:00
Alfresco Build d2f9523053 [ci:force][auto-commit] Update JS-API to 5.4.0-620 for branch: update-js-api originated from JS-API PR: 620 (#8250) 2023-02-10 16:13:48 +00:00
Eugenio Romano 99015fee87 Update dependabot.yml (#8252) 2023-02-10 15:51:10 +00:00
Vito Albano e16bed611c [AAE-12260] - fixing form field mapping (#8243)
* [AAE-12260] - reverting form field mapping to fix wrong behaivour

* [AAE-12260] - fixed readonly radiobutton

* [AAE-12260] - fixed valid check for rest options when multiple choice is made

* [AAE-12260] - fixed name for array elements

* [ci skip]

* start ci
2023-02-10 13:16:08 +00:00
swapnil-verma-gl 5d2dddee28 [ACS-4254] Delete permissions button is now keyboard interact-able (enter key) (#8216) 2023-02-09 21:13:40 +00:00
Alfresco Build cae2d70637 [ci:force][auto-commit] Update JS-API to 5.4.0-619 for branch: update-js-api originated from JS-API PR: 619 (#8231) 2023-02-09 19:43:07 +00:00
Maurizio Cacace d873306c7c AAE-12192 - adding upload artifacts action (#8172)
* fix conflict

* AAE-12192 upload artifact action

* AAE-12192 upload artifact action

* AAE-12192 upload artifact action

* fix conflict

* skip check approved

* testing artifact upload

* testing artifact upload

* put devel flag again
2023-02-09 17:14:57 +01:00
AleksanderSklorz dd1feeec6e [ACS-4296] adding mapping in tags service (#8240)
* ACS-4296 Adding mapping in tags service

* ACS-4296 Correct lint issue

* ACS-4296 Excluded failing e2e

* ACS-4296 Trigger build

* ACS-4296 Trigger build

* ACS-4296 Reverted excluded tests
2023-02-08 22:19:16 +01:00
Eugenio Romano 08b4cc7939 Update rebase.yml 2023-02-08 16:55:20 +00:00
Amedeo Lepore 7c6ce0a5fe [AAE-12558] Fix load content-services translation resources (#8241)
* Fix load content-services tranlsation resources

* [ACS-4595] exclude failed e2es

* Reverted excluded tests
2023-02-08 17:20:44 +01:00
tomasz hanaj b9c53e586d AAE-12139 disabled start process btn when clicked and api call in pro… (#8160)
* AAE-12139 disabled start process btn when clicked and api call in progress

* AAE-12139 improved unit tests

* AAE-12139 added return type

* AAE-12139 removed ngOnInit from unit tests
2023-02-08 16:55:15 +01:00
Denys Vuika cd84be9712 Fix cli compilation (#8244)
* fix cli compilation

* [ci:force] latest libs

* [ci:force] delete old mergify config
2023-02-08 12:54:26 +01:00
Thomas Hunter 1a00249f6a [ADF-5514] Fix red dot still present after filter being cleared (#8181)
* [ADF-5514] Fix red dot still present after filter being cleared

* Add unit test

* Added statement clearing filter after each test so the ordering doesn't cause the unit test to fail
2023-02-08 09:18:14 +00:00
Amedeo Lepore 4c7e500ea8 Move search-input-text from content-services to core (#8239)
* Move search-input-text from content-services to core

* Move SearchConfigurationInterface into the content-services since is content related

* Rename search-configuration.interface file to search-component.interface

* Update import SearchConfigurationInterface from content-services

* Decouple SearchComponentInterface from js-api

* Decaplre NodeEntry instead using type any

* Remove comment

* Update component import to fix unit test

* Import SearchTextModule into core
2023-02-06 18:40:28 +01:00
Kasia Biernat c12b4284ef [AAE-12249] add description field (#8226) 2023-02-06 14:57:45 +01:00
Marco Carrozzo a0333b1d9c [AAE-12412] bot & schedule check fix 2023-02-03 16:35:29 +01:00
Marco Carrozzo 857f9bd2b4 [AAE-12532] remove pipelines from travis.yml (#8229) 2023-02-03 12:24:51 +01:00
Raviraj Bahirsheth e59176d393 [ACS-4274] Add role heading and aria level in header template (#8192)
* [ACS-4274] Add role heading and aria level in header template

* [ACS-4274] add link role

* Added header tag to title
2023-02-03 12:15:06 +05:30
Alfresco Build 49c6cb5ad3 [ci:force][auto-commit] Update JS-API to 5.4.0-566 for branch: update-js-api originated from JS-API PR: 566 (#8215) 2023-02-03 01:41:05 +00:00
Jatin Chugh 65e0c2405a [ACS-4051] Copy to clipboard button is now accessible through the keyboard (#8225) 2023-02-02 20:53:30 +00:00
Amedeo Lepore d50aa91922 Fix alfresco-apps upstream build 260285240: export search-text-input.model from content-services (#8227) 2023-02-02 18:39:22 +01:00
AleksanderSklorz e0dfc9a8e9 [ACS-4296] changes required after removing tags service from apps (#8223)
* ACS-4296 Added getCountersForTags and findTagByName functions to TagService

* ACS-4296 Import correct
2023-02-02 16:09:08 +00:00
Jatin Chugh 3f8293b64c Revert "[ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8165)" (#8224)
This reverts commit 11c3a02acc.
2023-02-02 18:23:25 +05:30
Jatin Chugh e8a3d109d4 Label is not persistent as placeholder is being used as the only visual label for a text field (#8221) 2023-02-02 11:07:48 +05:30
4043d55fc4 [AAE-10778] Refactor Viewer (#7992)
* refactor version 1 many todo

* split render from viewer
move alfresco render in content pack

* refactor part 2

* test fixed

* fix doc

* [AAE-10778] Fix lint issues

* [AAE-10778] Fix lint issue: remove duplicated declaration

* [AAE-10778] Fix lint issue: use flex shorthand rule

* [AAE-10778] Fix FormService and WidgetComponent imports

* [AAE-10778] Fix import FormModel, FormService, FormFieldModel from adf-core

* [AAE-10778] Implement missing oninit, onchanges and ondestroy

* [AAE-10778] Replace adf-viewer with adf-alfresco-viewer, update escape command to close the viewer

* [AAE-10778] Fix unit test: fix the class name to match the 'adf-viewer-render.image-viewer-scaling' get from the appConfigService

* [AAE-10778] Fix image-viewer unit tests: replace ContentService with UrlService

* [AAE-10778] Fix unit test 'should if the extension change extension Change event be fired': emit file extension when the filename extension change

* [AAE-10778] Fix unit test: expect for internalFileName value instead of display-name id because the display name logic has been moved to the alfresco-viewer.component

* [AAE-10778] Fix unit test: remove display name it because the unknown display name value is no longer handled after refactoring

* [AAE-10778] Fix e2e: [C260096] Should the Viewer able to accept a customToolbar

* [AAE-10778] Update selector to fix e2e: '[C362265] Should the Viewer be able to download a previous version of a file'

* [AAE-10778] Update selector to fix e2e: '[C260038] Should display first page, toolbar and pagination when opening a .pdf file'

* fix aftrer rebase

* fix unit test

* [AAE-10778] Add adf viewer component that is node agnostic, show adf-alfresco-viewer or adf-viewer into file-view-component if blob or node are set

* [AAE-10778] Update viewer export path

* [AAE-10778] Update selectors since have been updated in the viewer component

* [AAE-10778] Call adf-viewer from alfresco-viewer, project adf-alfresco-viewer content to adf-viewer

* [AAE-10778] Remove full screen unit tests from alfresco-viewer component becase that logic is handled in the viewer.component

* [AAE-10778] Export toolbar custom actions component

* [AAE-10778] Pass mimeType as input to adf-viewer to update mime icon

* [AAE-10778] Remove e2e because the custom name behaviour has been removed from the file-view.component (https://github.com/Alfresco/alfresco-ng2-components/pull/7992/commits/9f21b6dc69e0cd044344b28c9e6c47d7a2d34f0c\#diff-4b438dc59784dce9eb7634cfeca6d8db61362966343bd3d6895a3edafdf4cfd5L129)

* [AAE-10778] Use two-way binding for showViewer change to fix C260100

* [AAE-10778] Update prefix css selectors to adf-viewer because are related to the adf-viewer component

* [AAE-10778] Update prefix css selectors to adf-viewer in the unit tests because are related to the adf-viewer component

* [AAE-10778] Update the output name to showViewerChange to navigate to primary url after closing the viewer

* [AAE-10778] Pass right and left sidebar template context to viewer component (fix C362242)

* [AAE-10778] Add allowFullScreen input to disable/enable full screen behaviour

* [AAE-10778] Handle loading visualization only inside the viewer-render component

* [AAE-10778] PDF viewer: fix mat-progress-bar is not showed during the pdf loading, center progress bar

* [AAE-10778] Remove isLoading from unit tests because no longer exists

* [AAE-10778] Remove viewerType input from adf-viewer, viewerType will be handled by viewer-render

* [AAE-10778] Remove console.log

* [AAE-10778] Remove check full screen button is not displayed on the media file because is not needed anymore, we don't need to check for the fullscreen button in the viewer component

* [AAE-10778] Check for node rendtion before to assign to urlFileContent and mimeType

* [AAE-10778] Process Services Cloud: register file-viewer widget that uses adf-alfresco-viewer component to display content from ACS

* [AAE-10778] Core: rename file-viewer widget into base-viewer, base-viewer no longer accept nodeId, but will accept urlFile and blobFile

* [AAE-10778] Process Services: register file-viewer widget that uses adf-alfresco-viewer component to display content from ACS

* [AAE-10778] Base viewer widget: show viewer only if there's a file input

* [AAE-10778] Viewer component: check for fileName when urlFile is provided as Input

* [AAE-10778] Viewer component documentation

* [AAE-10778] Update upgrade guide with viewer changes

* [AAE-10778] Fix double quote lint issue after rebase

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
Co-authored-by: Amedeo Lepore <amedeo.lepore85@gmail.com>
2023-02-01 17:25:43 +01:00
MichalKinas 52520bb61e [ACS-4364] Move tree component and categories service to ADF (#8156)
* [ACS-4364] Add tree component and categories service

* [ACS-4364] Add tree component to public api

* [ACS-4364] Refine tree unit tests

* [ACS-4364] Intergrate adding and deleting category

* [ACS-4364] Restyle load more button in tree component

* [ACS-4364] Missing semicolon

* [ACS-4364] Fix code styling

* [ACS-4364] Add docs for tree component and category service

* [ACS-4364] CR fixes

* [ACS-4364] Hide header row when displayName is not provided

* [ACS-4364] Docs fixes

* [ACS-4364] Add helper methods, code cleanup, unit tests for new methods

* [ACS-4364] Add missing semicolon
2023-02-01 15:42:40 +01:00
Jatin Chugh afb22bbc02 Revert "[ACS-4307] Label is not persistent as placeholder is being used as the only visual label for a text field (#8213)" (#8220)
This reverts commit a720edd2cf.
2023-02-01 16:16:50 +05:30
Maurizio Cacace ca49693bd6 AAE-12452 - Version published in NPM should have PR number id in the name not gh-run_id (#8218)
* AAE-11884 change tag sha action (#8118)

* AAE-12452 change npm id
2023-02-01 10:29:07 +01:00
Jatin Chugh a720edd2cf [ACS-4307] Label is not persistent as placeholder is being used as the only visual label for a text field (#8213)
* Label is not persistent as placeholder is being used as the only visual label for a text field so added title in from and to form fields

* review comments addressed
2023-02-01 14:28:10 +05:30
Diogo Bastos 1f450c0593 [AAE-11654] Fix default option being selectable when parent dropdown … (#8146)
* [AAE-11654] Fix default option being selectable when parent dropdown has no option selected

* [AAE-11654] Remove comment
2023-01-31 15:44:31 +00:00
Diogo Bastos 0ab39e28fd [AAE-12179] Remove process-services and content-services dependencies… (#8161)
* [AAE-12179] Remove process-services and content-services dependencies from core comment-list component

* [AAE-12179] Remove comment-list injection token

* [AAE-12179] remove token injection in task module and node module
2023-01-31 15:21:01 +00:00
Jatin Chugh 11c3a02acc [ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8165)
* Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click

* review comments addressed
2023-01-31 18:28:03 +05:30
Eugenio Romano 4f25426c25 [AAE-10777] Move in common service the real common services (#8203)
* Move in common service the real common services
remove Pagination js-api dependencies
move search-input component in content

* fix unit

* fix lint

* fix

* fix
2023-01-30 23:42:29 +00:00
Bartosz Sekula 89b79c9e45 [AAE-12146] Update getFeature typings (#8167)
* [AAE-11463] Update getFeature typings

* added tests
2023-01-30 19:51:47 +01:00
Marco Carrozzo 71e7fc0bf6 AAE-12412 alfresco-build user whitelisted (#8214) 2023-01-30 17:00:09 +00:00
Marco Carrozzo d6e8e7a3b3 AAE-12412 - dependabot actor check (#8210)
* AAE-12412

* AAE-12412
2023-01-30 15:34:38 +00:00
Alfresco Build 49237fee2d [ci:force][auto-commit] Update JS-API to 5.4.0-561 for branch: update-js-api originated from JS-API PR: 561 (#8190) 2023-01-28 17:18:16 +00:00
Marco Carrozzo 2d386c5890 AAE-12357: update unit test name (#8197) 2023-01-28 17:17:53 +00:00
Denys Vuika 2a45c1e7a3 fix the private access to the service variables (#8202)
* fix the private access to the service variables

* fix issues with unit tests
2023-01-28 17:17:09 +00:00
Nikita Maliarchuk b503773475 [ACS-4411] updateTag method added to tags service (#8200)
* [ACS-4411] added updateTag method to tags service & tests & docs

* [ACS-4411] docs formatting fix

* [ACS-4411] unit test fix
2023-01-27 18:06:33 +00:00
Jatin Chugh efb2558c3f Exclue snackbar from screen reader (#8199) 2023-01-27 21:35:26 +05:30
Rafal Szmit 266d3aa9b0 [AAE-11700] add process to simpleapp (#8198)
* [AAE-11700] add process to simpleapp

* trigger ci
2023-01-27 14:44:22 +01:00
Raviraj Bahirsheth b6cf14c844 [ACS-4263] Add 'aria-pressed' attribute for reset button on content viewer page (#8183) 2023-01-27 16:21:44 +05:30
Pablo Martinez Garcia 4a3bc568ad [AAE-11708] Fix changelog author filtering programatically (#8178) 2023-01-26 17:23:23 +01:00
Denys Vuika 42dbfe25ac fix gha warnings for outdated actions (#8194) 2023-01-26 15:58:44 +00:00
Ehsan Rezaei 2c248a611f [AAE-8306] - Managed to disable complete/claim/release buttons on first click (#8166)
* AAE-8306: Managed to disable complete/save/claim buttons on user click

* AAE-8306: reverted back save button disable

* AAE-8306: Managed to disable unclaim or release button on user click

* AAE-8306: Fixed formatting issues

* AAE-8306: Fixed formatting issues
2023-01-26 10:29:19 +01:00
Ehsan Rezaei 588ffe0fa0 AAE-10979: Added support to display html icon for mht file format (#8133)
* AAE-10979: Added support to display html icon for multipart related mime type

* AAE-10979: excluded failing e2e tests

* AAE-10979: Removed extra comma
2023-01-26 08:44:18 +01:00
Kasia Biernat 61a3e30c31 [AAE-12127] Test: The aspect added in config is displayed even if inc… (#8158)
* [AAE-12127] Test: The aspect added in config is displayed even if includeAll is set to false

* [AAE-12128][AAE-12129][AAE-12131] content metadata tests

* [AAE-12132][AAE-12133] content metadata exif tests

* [AAE-12130] Test: The aspects excluded in config are not displayed when includeAll is set to true
2023-01-25 10:11:37 +01:00
kritagya09 facc4f6b03 visible label are associated (#8176) 2023-01-25 09:04:04 +05:30
tomasz hanaj 3df6bcea26 AAE-12063 removed startCreatedProcess with relevant unit tests (#8131)
* AAE-12063 removed startCreatedProcess with relevant unit tests

* AAE-12063 removed createProcess with relevant unit tests
2023-01-24 17:26:04 +00:00
Ehsan Rezaei f02272ac68 AAE-12239: Managed to populate processInstanceId in service tasks filters when navigating from process instances view (#8174) 2023-01-24 17:25:34 +00:00
swapnil-verma-gl 1746fcf653 [ACS-4253] - Added aria-label to form element (#8170) 2023-01-24 17:07:11 +00:00
Alfresco Build 011f78ac43 [ci:force][auto-commit] Update JS-API to 5.4.0-550 for branch: update-js-api originated from JS-API PR: 550 (#8175) 2023-01-24 17:05:37 +00:00
Nikita Maliarchuk 46717cdd4b [ACS-4413] Upgrade CodeQL analysis to v2 (#8184) 2023-01-24 17:04:58 +00:00
Marco Carrozzo d71eb6291a AAE-12304 (#8186) 2023-01-23 15:48:10 +00:00
Marco Carrozzo ad9ffeb17d AAE-12304 (#8185) 2023-01-23 15:39:08 +00:00
Denys Vuika 44538015fa Release 6.0.0-A.2 (#8179)
* bump versions

* sync lib dependency versions

* audit and security reports

* release notes and changelog

* update release notes
2023-01-23 14:54:03 +01:00
Gloria Camino 4f7f5b0afb LOC-405 - Updated string in process-services-cloud in 16 languages for ADF 6.0 (#8177) 2023-01-21 15:37:34 +00:00
Artur Cichoń a5a9a1e45b [AAE-12135] Added process ui to subprocess app (#8173) 2023-01-19 17:19:47 +01:00
AleksanderSklorz 570bfb235c [ACA-4650] Use NodeCommentsService for ADF_COMMENTS_SERVICE (#8169)
* ACA-4650 Use NodeCommentsService for ADF_COMMENTS_SERVICE

* ACA-4650 Register services at component level
2023-01-19 14:48:55 +00:00
Alfresco Build 491d16f562 [ci:force][auto-commit] Update JS-API to 5.3.0-539 for branch: update-js-api originated from JS-API PR: 539 (#8163) 2023-01-19 10:22:53 +00:00
Maurizio Vitale eb8bad1f96 [AAE-12124] Use a function to remove js files (#8157)
* Use a function to remove js files

* try to check the asset
2023-01-17 14:47:50 +00:00
Alfresco Build 35721b0279 [ci:force][auto-commit] Update JS-API to 5.3.0-537 for branch: update-js-api originated from JS-API PR: 537 (#8148) 2023-01-17 14:13:57 +00:00
Rafal SzmitandMaurizio Cacace 59df5c661d enable e2e: C260040 (#8155)
* AAE-11884 change tag sha action (#8118)

* test execution

* test execution

* test execution

* test execution

* test execution

* fix buildLibs

* enable e2e: C260040

* fix C280007 to not depend on C280006

* trigger travis

Co-authored-by: Maurizio Cacace <Maurizio.Cacace@hyland.com>
2023-01-17 14:18:14 +01:00
Maurizio Cacace bd9127d960 AAE-11884 change tag sha action (#8118) 2023-01-16 17:17:22 +01:00
Denys Vuika 32e4564e14 Revert "[ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8119)" (#8159)
This reverts commit 067d4e9369.
2023-01-16 15:57:47 +00:00
maurizio-cacace cc33c5dec1 adjust cron condition 2023-01-16 14:50:52 +01:00
Marco Carrozzo 6138c16f42 AAE-12123 TAG_NPM fix 2023-01-16 14:08:25 +01:00
Marco Carrozzo a412b45300 [AAE-12057] add description to unit tests 2023-01-16 14:07:37 +01:00
Maurizio Cacace b99a574f94 AAE-12046 - add pre-condition on approval (#8145)
* add pre-condition on approval

* adjustment

* add approval check

* devel check false

* devel check true

* restyling

* check with PR approved
2023-01-16 12:41:58 +01:00
AleksanderSklorz 616ae95c23 [ACS-4118] create a tag from tags list (#8143)
* ACS-4118 Update service for tags creation

* ACS-4118 Added unit tests and documentation

* ACS-4118 Added function in tag service for searching tags

* ACS-4118 Moved imported class to new line

* ACS-4118 Use UserPreferencesService for setting maxItems

* ACS-4118 Allow to specify maxItems

* ACS-4118 Added missing type

* ACS-4118 Increased js-api version
2023-01-16 09:50:30 +01:00
Marco Carrozzo bbee01a809 [AAE-12123] env var interpolation bugfix 2023-01-16 09:48:32 +01:00
jatin2008 067d4e9369 [ACS-4051] Copy to clipboard button is now accessible through the keyboard enter earlier which was only accessible through mouse click (#8119)
* 880196 CSV issue addressed

* unit test cases for clipboard directive
2023-01-13 17:18:01 +00:00
Alfresco Build db38ccda7a [ci:force][auto-commit] Update JS-API to 5.3.0-528 for branch: update-js-api originated from JS-API PR: 528 (#8142) 2023-01-13 16:32:42 +00:00
maurizio-cacace 8a2f73ec2f correct run 2023-01-13 14:53:04 +01:00
maurizio-cacace 55b146044e add pre-condition on approved PR 2023-01-13 14:49:46 +01:00
Tomasz Gnyp 73e1953418 [AAE-11989] Automate C586839 - Should be able to see the tooltip for form widget (#8138) 2023-01-12 16:44:19 +00:00
Marco Carrozzo 0b9fb82de2 force e2e only after build-libs, lint, unit-tests (#8136) 2023-01-12 16:22:55 +00:00
Maurizio Vitale f654fdf008 [AAE-1274] CI opt - Build only core/content/process storybook (#8139)
* Build only core/content/process storybook

* Use a target and run only if affected

* Do not run any storybook e2e
2023-01-12 16:18:38 +00:00
Amedeo Lepore 34e5508076 [AAE-11992] pass only the processInstanceId as Input instead of the entire taskFilter object (#8140) 2023-01-12 17:16:15 +01:00
Marco Carrozzoandalfresco-build 9d143cf945 AAE-12037 git-tag stage (#8124)
* tag release from master branch

* dry run message

Co-authored-by: alfresco-build <build@alfresco.com>
2023-01-12 11:31:08 +00:00
Maurizio Cacace fe65f7c201 AAE-11940 - fix upstream flow - update-project script and upstream trigger (#8125)
* fix conflict

* fix conflict

* fix conflict

* change pipe name

* change PR name env variable

* update PR title

* fix pr condition

* fix pr condition

* final check
2023-01-12 12:04:19 +01:00
Marco Carrozzo f6fd813a29 [AAE-12057] unit tests fix (#8130)
* [AAE-12057] unit tests & storybook rename
2023-01-12 11:23:22 +01:00
Amedeo Lepore 93edda2263 [AAE-11992] fix processInstanceId filter empty: set taskFilter as input to check for the processInstanceId changes to set the filter (#8128) 2023-01-12 09:54:10 +00:00
Alfresco Build 3ab91806c3 [ci:force][auto-commit] Update JS-API to 5.3.0-527 for branch: update-js-api originated from JS-API PR: 527 (#8129) 2023-01-12 09:42:45 +00:00
Maurizio Cacace 2bf1832fec AAE-11940 - npm err fix in trigger-adf workflow (#8122)
* fix npm err

* fix npm err

* fix conflict

* fix conflict

* check e2e execution

* fix conflict

* remove personal branch

* remove dry-run
2023-01-11 16:25:33 +00:00
Marco Carrozzo 9f77d4187b removed test tag (#8127) 2023-01-11 15:42:06 +00:00
maurizio-cacace e7624f031a enabling dry run 2023-01-11 12:19:29 +01:00
Alfresco Build c4dbda49eb [ci:force][auto-commit] Update JS-API to 5.3.0-525 for branch: update-js-api originated from JS-API PR: 525 (#8123) 2023-01-11 10:43:08 +00:00
AleksanderSklorzandtomek.hanaj 1791534ec6 [ACA-4647] Fix for e2e (#8104)
* [ci:force] ACA-4647 Fix for e2e

* ACA-4647 added missing parameters to unit test

* ACA-4647 added unit test to cover changes in startProcess

* ACA-4647 changed property name to fix build error

* ACA-4647 changed json to object to avoid lint errors

* ACA-4647 added missing semicolon

Co-authored-by: tomek.hanaj <tomek.hanaj@hyland.com>
2023-01-10 19:05:35 +00:00
Marco Carrozzo fd6f881eab [AAE-11817] release fix eval condition 2023-01-10 17:42:08 +01:00
dependabot[bot] 28b20afc16 build(deps-dev): bump dotenv from 10.0.0 to 16.0.3 (#8111)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 10.0.0 to 16.0.3.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v10.0.0...v16.0.3)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:34:43 +00:00
dependabot[bot] 01678a4fc7 build(deps-dev): bump @editorjs/inline-code from 1.3.1 to 1.4.0 (#8112)
Bumps [@editorjs/inline-code](https://github.com/editor-js/inline-code) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/editor-js/inline-code/releases)
- [Commits](https://github.com/editor-js/inline-code/commits)

---
updated-dependencies:
- dependency-name: "@editorjs/inline-code"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 16:31:59 +00:00
Maurizio Cacace a564176cb7 AAE-11940 - fix alpha adf test in cron workflow (#8113)
* AAE-11940 add env variable to alpha test

* fix adf test output

* fix adf test output

* fix module dependency

* fix update-project script output

* fix update-project script output

* fix update-project script output

* fix update-project script output

* fix update-project script output

* fix update-project script output

* fix update-project script output

* adding a dry-run mode for adf alpha test script

* add dry-run and set cron at 12:00

* change tag sha action

* change tag sha action

* change tag sha action

* remove check bundle from cron workflow

* adjust cron
2023-01-10 16:51:11 +01:00
Marco Carrozzo c2ff725f0c [AAE-11817]-release-fix (#8120)
* add correct release break
2023-01-10 16:30:18 +01:00
Alfresco Build 029caf9010 [ci:force][auto-commit] Update JS-API to 5.3.0-524 for branch: update-js-api originated from JS-API PR: 524 (#8117) 2023-01-10 15:17:21 +00:00
dependabot[bot] a6e35deb71 build(deps-dev): bump @editorjs/code from 2.7.0 to 2.8.0 (#8110)
Bumps [@editorjs/code](https://github.com/editor-js/code) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/editor-js/code/releases)
- [Commits](https://github.com/editor-js/code/commits)

---
updated-dependencies:
- dependency-name: "@editorjs/code"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 14:57:55 +00:00
dependabot[bot] a772c0a319 build(deps-dev): bump @playwright/test from 1.27.1 to 1.29.2 (#8109)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.27.1 to 1.29.2.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.27.1...v1.29.2)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 14:57:35 +00:00
Marco Carrozzo 48cadfaa27 [AAE-11817] fix release pipeline
fix release pipeline
2023-01-10 15:40:08 +01:00
dependabot[bot] 8392e7cf7d build(deps-dev): bump karma from 6.4.0 to 6.4.1 (#8108)
Bumps [karma](https://github.com/karma-runner/karma) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.4.0...v6.4.1)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 14:34:22 +00:00
Pablo Martinez Garcia 0d294ce720 [AAE-11708] Use perl regexp instead of reverse grep in changelog (#8114) 2023-01-10 13:45:49 +01:00
Alfresco Build b14d701ca9 [ci:force][auto-commit] Update JS-API to 5.3.0-520 for branch: update-js-api originated from JS-API PR: 520 (#8106) 2023-01-09 14:46:08 +00:00
tomasz hanaj 10d49f4582 AAE-11810 added conditional class to indicate validation error (#8090) 2023-01-09 12:57:53 +01:00
maurizio-cacace 198c230086 change cron schedule for cron workflow 2023-01-05 17:29:54 +01:00
maurizio-cacace f5b78bd573 change cron schedule for cron workflow 2023-01-05 16:51:38 +01:00
Maurizio Cacace 5e11eaf609 AAE-11910 - cron schedule fix (#8105)
* fix cron workflow

* fix cron workflow

* fix cron workflow
2023-01-05 16:08:26 +01:00
Maurizio Cacace 80e4434f8a AAE-11910 - setup cron pipe to trigger alpha_adf and add a workflow_dispatch to execute manually adf tests (#8100)
* AAE-11910 - add cron and workflow dispatch

* AAE-11910 - add cron and workflow dispatch

* AAE-11910 - add cron and workflow dispatch

* AAE-11910 - add cron and workflow dispatch

* AAE-11910 - add cron and workflow dispatch

* AAE-11910 - add cron and workflow dispatch

* AAE-11910 - add cron and workflow dispatch
2023-01-05 11:36:11 +01:00
Eugenio RomanoandHiroshi Shirosaki ec2f349465 [#7902] Fix to enable cmaps with pdfjs (#8101)
pdfjs works fine with Japanese characters with this options.

Co-authored-by: Hiroshi Shirosaki <h.shirosaki@gmail.com>
2023-01-05 08:52:40 +00:00
Alfresco Build 14c6e6fa1f [ci:force][auto-commit] Update JS-API to 5.3.0-514 for branch: update-js-api originated from JS-API PR: 514 (#8103) 2023-01-05 08:52:29 +00:00
Eugenio Romano f48cd30756 [AE-11486] move shared link in content and deprecate unused dialog service (#8091)
* move shared link in content and deprecate unused dialog service

* Update public-api.ts

* fix

* fix demoshell
2023-01-04 22:44:05 +01:00
Eugenio Romano a0aab47090 export identity-group.service (#8099) 2023-01-04 16:04:57 +00:00
Eugenio Romano 6f6af8cd4e [AE-11486] remove unused comment services and improve doc (#8092)
* remove unused comment services and improve doc

* fix after review

* fix unit test

* fix stories
2023-01-04 14:52:32 +00:00
Maurizio Cacace aa37cad995 AAE-11910 - add a workflow_dispatch to execute manually adf tests from gha GUI (#8098)
* add workflow_dispatch on adf workflow

* add workflow_dispatch on adf workflow
2023-01-04 15:51:31 +01:00
Eugenio Romano b9e0221ca2 [AE-11486] move lock and favorite (#8089)
* [ci:force] move lock and favorite

* fix
2023-01-04 14:24:42 +00:00
Marco Carrozzo f7fdc5c92a [AAE-11916] gh secrets fix 2023-01-04 14:25:18 +01:00
Alfresco Build 8a56a6d1fb [ci:force][auto-commit] Update JS-API to 5.3.0-511 for branch: update-js-api originated from JS-API PR: 511 (#8095) 2023-01-04 10:31:27 +00:00
dependabot[bot] 71c4e718b0 Bump @typescript-eslint/typescript-estree from 5.42.1 to 5.47.1 (#8084)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 5.42.1 to 5.47.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.1/packages/typescript-estree)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/typescript-estree"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 09:06:43 +00:00
dependabot[bot] f932337b8c build(deps): bump json5 from 1.0.1 to 1.0.2 (#8094)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 09:06:13 +00:00
dependabot[bot] 46d7721aaf Bump @editorjs/list from 1.7.0 to 1.8.0 (#8080)
Bumps [@editorjs/list](https://github.com/editor-js/list) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/editor-js/list/releases)
- [Commits](https://github.com/editor-js/list/commits)

---
updated-dependencies:
- dependency-name: "@editorjs/list"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 09:06:00 +00:00
Artur Cichoń 0d82ebccfa [AAE-11913] Fix name of simpleapp (#8096) 2023-01-04 09:57:56 +01:00
dependabot[bot] e534763475 Bump jasmine-reporters from 2.5.0 to 2.5.2 (#8079)
Bumps [jasmine-reporters](https://github.com/larrymyers/jasmine-reporters) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/larrymyers/jasmine-reporters/releases)
- [Commits](https://github.com/larrymyers/jasmine-reporters/commits)

---
updated-dependencies:
- dependency-name: jasmine-reporters
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 08:40:14 +00:00
Artur Cichoń 91d511dee5 [AAE-10994] Added task-executor forms and process to simpleapp (#8066)
* [AAE-10994] Added task-executor forms and process to simpleapp

* [AAE-10994] Added picker user task
2023-01-04 09:09:33 +01:00
Eugenio Romano 4da74f1c07 [AAE-10769] remove alfresco deps from datatable (#8045)
* remove alfresco dep

* [ci:force] move data-column in datatable

* new datatable service

* doc

* required changes

* fix

* fix
2023-01-04 08:08:03 +00:00
Marco Carrozzo 85429b4cf1 [AAE-11882] demoshell fix; pipeline bugfix (#8093)
* demoshell regr fix; s3 cache on s3; setup chrome; e2e headless fix
2023-01-03 17:07:39 +01:00
Alfresco Build 0560197898 [ci:force][auto-commit] Update JS-API to 5.3.0-509 for branch: update-js-api originated from JS-API PR: 509 (#8078) 2023-01-03 16:01:48 +00:00
dependabot[bot] eeda06131b Bump @typescript-eslint/eslint-plugin from 5.43.0 to 5.47.0 (#8081)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.43.0 to 5.47.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.47.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 13:35:29 +00:00
Eugenio Romano df340f2bb2 [AE-11486] move search service in alfresco content (#8086)
* [ci:force] move search service in alfresco content

* fix

* fix md

* fix dep

* fix demo shell

* fix lint
2023-01-03 11:20:59 +00:00
Eugenio Romano b48248fae7 move app process service in process-service (#8087) 2023-01-02 23:36:38 +01:00
Eugenio Romano 00dfd7c5d9 Update doc (#8085) 2023-01-02 14:00:01 +00:00
Eugenio Romano 093b1e8a67 [AAE-11891] move auth in auth folder (#8076)
move auth and common in a separate folder
2023-01-02 13:40:28 +00:00
Eugenio Romano ae126475f7 [AAE-11486] move NodeUdpdate in nodeapiservice (#8077)
* move NodeUdpdate in nodeapiservice

* fix

* build fix

* Update name-column.component.ts

* Update viewer.component.spec.ts
2022-12-29 17:09:02 +00:00
Alfresco Build b0561a2453 [ci:force][auto-commit] Update JS-API to 5.3.0-492 for branch: update-js-api originated from JS-API PR: 492 (#8069) 2022-12-23 09:16:36 +00:00
Denys Vuika 1855d8899d [AAE-11889] move sites service to content lib (#8073)
* move sites service to content lib

* update migration guide

* update imports
2022-12-22 15:14:35 +00:00
Rafal Szmit 0cb21d61a8 [AAE-11274] remove unnecessary var export (#8074)
* [AAE-11274] remove unnecessary var export

* trigger travis

* trigger travis [affected:*]
2022-12-22 16:00:00 +01:00
Denys Vuika 310b04919e [AAE-10315] fix karma 404 for images and certain errors in the Core unit tests (#8072)
* fix user info image warnings

* fix login errors in unit tests

* fix tooltip card warnings
2022-12-22 12:56:43 +00:00
tomasz hanaj bc7c052059 [AAE-11740] replaced api for starting process (#8052)
* AAE-11740 replaced api for starting process

* AAE-11740 adjusted tests due to replaced start process api

* AAE-11740 merged similar tests for starting process

* AAE-11740 added condition for disabled start process button
2022-12-22 09:07:54 +01:00
Denys Vuika 2207156f3f [AAE-10319] unit test fixes for content-services lib 2022-12-21 15:39:24 +00:00
Eugenio RomanoandKasia Biernat a535af667b [AAE-10773] Make Form core process agonostic (#8032)
* move form list in a component

* move things in the right place

* move last pice in the right place

* move things in the right place

* move people and group in the right place

* move radio and typehead
form service start remove responsibilities

* remove model service and editor service from formService

* move dropdwon in process-service
finish remove service from form service

* fix some wrong import

* move activiti

* fix double quote imports

* move dynamic table

* fix shell

* move unit test

* [ci:force] fix lint issues

* fix build and some unit test

* fix process spec type spy problems [ci:foce]

* fix

* fix broken tests

* fix lint issues

* fix cloud dropdown test

* cleanup process-service-cloud tests

* fix people process

* improve e2e test

Co-authored-by: Kasia Biernat <kasia.biernat@hyland.com>
2022-12-21 15:12:38 +00:00
Diogo Bastos eb27d38eba [AAE-11588] Send Process Variables as a post body in admin process instances (#8067)
* [AAE-11588] Send variable keys as a post body in admin process instances

* [AAE-11588] Add tests

* [AAE-11588] Add async/await functionality to test suite

* [AEE-11588] Improve logic in service and added test cases
2022-12-21 09:39:58 +00:00
dependabot[bot] 0c4d48e2e9 Bump webpack-cli from 4.10.0 to 5.0.1 (#8060)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.10.0 to 5.0.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.10.0...webpack-cli@5.0.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 19:25:34 +00:00
dependabot[bot] 5af3eb821f Bump @apollo/client from 3.6.9 to 3.7.2 (#8061)
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.6.9 to 3.7.2.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.6.9...v3.7.2)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 17:45:41 +00:00
Marco Carrozzo d29ec85b19 [AAE-11822] fix demoshell and gh act. release
* fixed release

* remove demoshell build from job:build
2022-12-20 17:03:47 +01:00
dependabot[bot] d6e97a672c Bump tslib from 2.4.0 to 2.4.1 (#8062)
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: tslib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 16:00:52 +00:00
dependabot[bot] 169e59e4ce Bump eslint from 8.20.0 to 8.30.0 (#8063)
Bumps [eslint](https://github.com/eslint/eslint) from 8.20.0 to 8.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.20.0...v8.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 15:14:28 +00:00
Alfresco Build e3a785583c [ci:force][auto-commit] Update JS-API to 5.3.0-483 for branch: update-js-api originated from JS-API PR: 483 (#8056) 2022-12-20 13:41:30 +00:00
dependabot[bot] 57ea636d3a Bump @editorjs/editorjs from 2.25.0 to 2.26.4 (#8064)
Bumps [@editorjs/editorjs](https://github.com/codex-team/editor.js) from 2.25.0 to 2.26.4.
- [Release notes](https://github.com/codex-team/editor.js/releases)
- [Changelog](https://github.com/codex-team/editor.js/blob/next/docs/CHANGELOG.md)
- [Commits](https://github.com/codex-team/editor.js/compare/v2.25.0...v2.26.4)

---
updated-dependencies:
- dependency-name: "@editorjs/editorjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 13:40:36 +00:00
Kasia Biernat 266d30041a [AAE-11727] add suggested karma test explorer plugin (#8068) 2022-12-20 14:32:53 +01:00
Diogo BastosandAmedeo Lepore 3864aaf9cb [AAE-10768] Make the comments reusable (#7983)
* [AAE-10768] Refactor core comments

* [AAE-10768] Add models export in core comments refactor

* [AAE-10768] Add comments implementation inside process-services package

* [AAE-10768] Add task comments module to process module

* [AAE-10768] Add node comments module to content services

* [AAE-10768] Add id check to getComments and addComments in adf-core comments component

* [AAE-10768] Remove unused service files in process-comments module

* [AAE-10768] Remove unused service files in process-comments module

* [AAE-10768] Add testing logic to spec files

* [AAE-10768] Add comments components readme

* [AAE-10768] Add a mock service to inject into the comment stories file

* [AAE-10768] Add mock data for comments stories

* [AAE-10768] Add mock service to inject into comments stories

* [AAE-10768] Rename mock service and mock data

* [AAE-10768] change taskId with id into the comments test because taskId is never used

* [AAE-10768] Resolve pr suggestions

* [AAE-10768] Resolve task-comments pr suggestions

* [AAE-10768] Resolve comments pr suggestions

* [AAE-10768] Fix merge error in comments.component.html

* [AAE-10768] Add missing markdown files

* [AAE-10768] Remove events from md files

* [AAE-10768] Update upgrade50-60.md with renamed input property

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2022-12-20 11:51:54 +01:00
Eugenio Romano 9077572199 [AAE-10776] NodeNameTooltipPipe moved in content service pkg (#8048)
* NodeNameTooltipPipe moved in content service pkg

* [ci:force] fix lint and build
2022-12-19 16:17:02 +00:00
Marco Carrozzo 7fa5c0faa6 [AAE-11843]-fix-before_install_script (#8059)
* [AAE-11843]-fix-before_script

* [ci:force]
2022-12-19 15:10:00 +01:00
Marco Carrozzo bbf5174b1d [ci:force] 2022-12-19 14:51:13 +01:00
tomasz hanaj d5592b9e01 AAE-11714 changed max-width for cropped image (#8054) 2022-12-16 16:50:21 +00:00
Diogo Bastos 02578dcdc5 [AAE-10767] Separate core card view logic from content-services and add documentation to reflect the changes (#7952) 2022-12-16 16:28:36 +01:00
Marco Carrozzo 8d074e8b33 [AAE-11822] fix demoshell (#8057)
* fix: build demoshell

* increased timeout on release

* fix release pipe
2022-12-16 11:47:37 +01:00
Marco Carrozzo a73526ef8a [AAE-11822] fix/build-demoshell (#8055)
* [AAE-11822] fix: build demoshell
2022-12-16 09:46:52 +01:00
Denys Vuika 280684c3ab [AAE-10774] move host settings to demo shell (#8051)
* move host settings to demo shell

* [ci:force] empty commit
2022-12-16 08:46:23 +00:00
Alfresco Build d27a3476f7 [ci:force][auto-commit] Update JS-API to 5.3.0-477 for branch: update-js-api originated from JS-API PR: 477 (#8053) 2022-12-15 09:40:50 +00:00
Marco Carrozzo 70e6d642f3 [AAE-7986] Migrate ADF from Travis to Github actions (#8050)
* rebased

* [ci:force]
2022-12-15 09:27:04 +00:00
dependabot[bot] 812352ecdc Bump lint-staged from 12.5.0 to 13.1.0 (#8047)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 12.5.0 to 13.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v12.5.0...v13.1.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-14 11:07:03 +00:00
Alfresco Build 7f24d72ecc [ci:force][auto-commit] Update JS-API to 5.3.0-476 for branch: update-js-api originated from JS-API PR: 476 (#8049) 2022-12-14 09:34:54 +00:00
Eugenio Romano 8efbd70679 [AAE-10775] remove js-api dependency for pagination (#8046)
* remove js-api dependency for pagination

* fix lint
2022-12-13 16:24:14 +00:00
Denys Vuika d476f16a0d [AAE-11763] cleanup ADF root package config (#8044)
* cleanup ADF root package config

* remove unused scripts

* remove markdownlint from the root
2022-12-13 14:48:48 +00:00
dependabot[bot] d42f332d33 Bump tsconfig-paths from 4.1.0 to 4.1.1 (#8030)
Bumps [tsconfig-paths](https://github.com/dividab/tsconfig-paths) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/dividab/tsconfig-paths/releases)
- [Changelog](https://github.com/dividab/tsconfig-paths/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dividab/tsconfig-paths/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: tsconfig-paths
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 13:51:57 +00:00
Thomas Hunter 69f0419ffd [ADF-5508] Fix half hidden checkmark icon (#8039)
* [ADF-5508] Fix half hidden checkmark in demoshell

* Restricted the css scope a little more to avoid any potential breaking changes

* Added missing semi-colon
2022-12-13 13:13:12 +00:00
dependabot[bot] 17f469bef0 Bump concurrently from 7.3.0 to 7.6.0 (#8029)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 7.3.0 to 7.6.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v7.3.0...v7.6.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 13:00:11 +00:00
dependabot[bot] 38520c9e2b Bump @editorjs/header from 2.6.2 to 2.7.0 (#8026)
Bumps [@editorjs/header](https://github.com/editor-js/header) from 2.6.2 to 2.7.0.
- [Release notes](https://github.com/editor-js/header/releases)
- [Commits](https://github.com/editor-js/header/commits)

---
updated-dependencies:
- dependency-name: "@editorjs/header"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 11:53:43 +00:00
Kasia Biernat f094ace1c7 [AAE-11695] add breaking changes notes (#8043) 2022-12-13 12:03:46 +01:00
AleksanderSklorz c1cffa9cfb [ACS-3757] returning focus to element from which they were opened (#8034)
* ACS-3757 Focus first focusable element in modals and allow to autofocus specific element after modal closing

* ACS-3757 Added possibility for autofocus after closing some modals, marking datatable row as source of context menu, fixing tests

* ACS-3757 Run lint

* ACS-3757 Updated documentation

* ACS-3757 Added unit tests

* ACS-3757 Replaced toHaveBeenCalledWith with toHaveBeenCalled and removed testing all falsy
2022-12-13 10:55:46 +00:00
tomasz hanaj ef278bde79 AAE-11739 removed unnecessary api call when cancelling not started pr… (#8041)
* AAE-11739 removed unnecessary api call when cancelling not started process

* AAE-11739 added unit tests for cancelling process

* AAE-11739 fixed erroneous test

* AAE-11739 fix for test related error thrown in afterAll

* AAE-11739 added proper way to test wheter button exist
2022-12-13 11:39:31 +01:00
Alfresco Build 0cb1c502c0 [ci:force][auto-commit] Update JS-API to 5.3.0-475 for branch: update-js-api originated from JS-API PR: 475 (#8042) 2022-12-13 08:58:50 +00:00
Kasia Biernat 5edc1186a4 [AAE-11695] move version compatibility directive and service (#8038)
* [AAE-11695] move version compatibility directive

* [AAE-11695] remove spare readme section
2022-12-12 11:19:31 +01:00
dependabot[bot] 8425831c5d Bump decode-uri-component from 0.2.0 to 0.2.2 (#8031)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-11 11:27:31 +00:00
dependabot[bot] 914fc66c5a Bump cropperjs from 1.5.12 to 1.5.13 (#8028)
Bumps [cropperjs](https://github.com/fengyuanchen/cropperjs) from 1.5.12 to 1.5.13.
- [Release notes](https://github.com/fengyuanchen/cropperjs/releases)
- [Changelog](https://github.com/fengyuanchen/cropperjs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fengyuanchen/cropperjs/compare/v1.5.12...v1.5.13)

---
updated-dependencies:
- dependency-name: cropperjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-11 11:27:22 +00:00
Tomasz Gnyp d89e3c8065 [AAE-11653] Automate part of ADF Form Widgets (#8035)
* [AAE-11653] Automate part of ADF Form Widgets

* [AAE-11653] visibility condition unit test for readonly text widget
2022-12-10 03:39:30 +01:00
Alfresco Build a84a89e8ec [ci:force][auto-commit] Update JS-API to 5.3.0-466 for branch: update-js-api originated from JS-API PR: 466 (#8024) 2022-12-09 14:08:05 +00:00
Bartosz Sekuła c567054ce5 [AAE-11418] add missing rules prop to NavBar interfaces (#8040) 2022-12-08 12:43:28 +00:00
rbahirsheth 5a557f999a [ACS-3553] Fix process page accessibility from csv(880320,880281) (#8037) 2022-12-08 11:35:20 +05:30
Denys Vuika 95880dd5f8 [AAE-11664] Release 6.0.0-A.1 (#8033)
* bump versions

* cleanup lock files

* release reports

* upgrade the release script
2022-12-06 10:38:58 +00:00
Gloria Camino f11bf262f8 LOC-402 - Updated localized UI in 16 languages for ADF 6.0 (#8023) 2022-12-01 16:23:01 +00:00
Ardit Domi e343de5c13 [AAE-11480] - Fix required error is displayed for a non required drop… (#8021)
* [AAE-11480] - Fix required error is displayed for a non required dropdown

* Use alias for async pipe instead of subscribing 2 times
2022-12-01 14:11:20 +00:00
Alfresco Build e5489363a1 [ci:force][auto-commit] Update JS-API to 5.2.0-446 for branch: update-js-api originated from JS-API PR: 446 (#8022) 2022-12-01 09:03:29 +00:00
Alfresco Build 6e9234af4f [ci:force][auto-commit] Update JS-API to 5.2.0-445 for branch: update-js-api originated from JS-API PR: 445 (#8020) 2022-11-30 09:35:25 +00:00
Pablo Martinez Garcia 70c6a1095a [AAE-11501] Fix simpleapp dropdown option ids after changing validation (#8019) 2022-11-29 17:19:42 +01:00
97e6129b6e Update branch for JS-API PR#438 (#8010)
* [ci:force][auto-commit] Update JS-API to 5.2.0-443 for branch: update-js-api originated from JS-API PR: 443

* [ADF-5507] Fix failing unit tests for auth service

* remove unnecessary method

Co-authored-by: Michal Kinas <michal.kinas@hyland.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
2022-11-29 12:39:50 +00:00
Denys Vuika 740e3cef9b Revert "[ACS-3553] Fix process page accessibility from csv(880320,880281) (#8017)" (#8018)
This reverts commit d7ad1f9ad9.
2022-11-29 11:27:07 +00:00
rbahirsheth d7ad1f9ad9 [ACS-3553] Fix process page accessibility from csv(880320,880281) (#8017)
* [ACS-3553] Fix process page accessibility from csv(880320,880281)

* [ACS-3553] Addressed comment
2022-11-29 10:38:19 +00:00
arohilaGL dea5f21894 [ACS-4050]critical issues from csv 880282, 880449, 880280 (#8005)
* title for adfSelectProcessDropdown button, issue 880282

* 880449, 880280 fix

* review comments fix

* review comments
2022-11-29 09:34:54 +00:00
MichalKinas ec6ede4fc5 [ACS-4087] Restore missing close button for manage version dialog (#8016) 2022-11-29 09:49:57 +01:00
jatin2008 97d6d7d532 [ACS-3731] content reflow issue fixed to fit the viewport at 400% zoom sub task ACS-3889 (#7979)
* content reflow issue fixed to fit the viewport at 400% zoom

* review comments fixed for class and adf-full-width

* addressed review comments

* addressed review comments

* linting changes
2022-11-28 18:12:59 +05:30
jatin2008 97b39dd1c5 CSV issues 880196 Function cannot be performed by keyboard alone addressed (#8007) 2022-11-28 16:17:38 +05:30
AleksanderSklorz 63a0ecac34 [ACS-3791] Renaming labels for uploader screen (#8011)
* ACS-3791 Renaming labels for uploader screen

* ACS-3791 Renaming labels for uploader screen
2022-11-25 14:24:34 +01:00
arohilaGL b41eb3ff03 [ACS-3731]a11y zoom issues resolution (#7978)
* [ACS-3731]Content overlaps other at 320px or 200% zoom

* ACS-3731 Word wrapping changes to All libraries description column data cell in ADW

* linting issue
2022-11-25 14:22:49 +01:00
dependabot[bot] 78c2bee63e Bump jasmine-core from 4.1.1 to 4.5.0 (#7970)
Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 4.1.1 to 4.5.0.
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v4.1.1...v4.5.0)

---
updated-dependencies:
- dependency-name: jasmine-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 13:17:15 +01:00
dependabot[bot] 043ae24c4b Bump @angular-eslint/eslint-plugin-template from 14.1.2 to 14.3.0 (#7994)
Bumps [@angular-eslint/eslint-plugin-template](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin-template) from 14.1.2 to 14.3.0.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v14.3.0/packages/eslint-plugin-template)

---
updated-dependencies:
- dependency-name: "@angular-eslint/eslint-plugin-template"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 13:17:07 +01:00
dependabot[bot] 92f54e2381 Bump loader-utils and @nrwl/angular (#7963)
Bumps [loader-utils](https://github.com/webpack/loader-utils) to 3.2.0 and updates ancestor dependencies [loader-utils](https://github.com/webpack/loader-utils), [loader-utils](https://github.com/webpack/loader-utils) and [@nrwl/angular](https://github.com/nrwl/nx/tree/HEAD/packages/angular). These dependencies need to be updated together.


Updates `loader-utils` from 2.0.2 to 3.2.0
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v3.2.0)

Updates `loader-utils` from 1.4.0 to 3.2.0
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v3.2.0)

Updates `@nrwl/angular` from 14.5.4 to 14.8.6
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/14.8.6/packages/angular)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
- dependency-name: loader-utils
  dependency-type: indirect
- dependency-name: "@nrwl/angular"
  dependency-type: direct:development
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 13:16:56 +01:00
dependabot[bot] d8c316224e Bump @xmldom/xmldom from 0.7.5 to 0.7.8 (#7938)
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.7.5 to 0.7.8.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.7.5...0.7.8)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 10:00:18 +01:00
dependabot[bot] f5ad70cf1c Bump @typescript-eslint/eslint-plugin from 5.30.7 to 5.43.0 (#7996)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.30.7 to 5.43.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.43.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 10:00:07 +01:00
AleksanderSklorz 5d360081ef ACS-3758 Focus modal first focusable element after opening (#8006) 2022-11-24 14:59:29 +01:00
dependabot[bot] cf29e9e7c2 Bump engine.io from 6.2.0 to 6.2.1 (#8000)
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.0...6.2.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 14:17:05 +01:00
dependabot[bot] 78a6a2fcca Bump stylelint from 14.14.1 to 14.15.0 (#7995)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.14.1 to 14.15.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/14.14.1...14.15.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 14:14:47 +01:00
Bartosz Sekuła 426cafff5e [AAE-10533] Generic App shell for HxP applications (#8002)
* [AAE-10533] Generic App shell for HxP applications

* Clean code and add public_api for shell
2022-11-24 13:58:21 +01:00
Rafal Szmit 7667c98196 [AAE-11437] Remove snackbar duplications (#8003)
* [AAE-11437] Remove snackbar duplications

* trigger travis

* extend timeout
2022-11-24 10:28:45 +01:00
Alfresco Build 792906087c [ci:force][auto-commit] Update JS-API to 5.2.0-435 for branch: update-js-api originated from JS-API PR: 435 (#7993) 2022-11-24 10:27:44 +01:00
jatin2008 14ba15a072 [ACS-4051] 880283, 880284, 880285 Critical CSV issues buttons must have discernible text fixed (#8001)
* 880283, 880284, 880285 buttons must have discernible text issue fixed

* addressed review comments
2022-11-23 14:30:34 +01:00
Artur Cichoń 665d7c32df [AAE-11385] Switched ids for attach-file-variables form (#7989)
* [AAE-11385] Replace simpleapp to fix attach-folder-variables form ids

* [AAE-11385] Switched ids for attach-file-variables form
2022-11-22 12:33:26 +01:00
AleksanderSklorz 06b6527613 ACS-3640 Fix e2e (#7999) 2022-11-21 15:20:03 +00:00
MichalKinas 9b7fab0737 [ACS-3658] Fix duplicated ids (#7987)
* [ACS-3658] Fix duplicated ids

* [ACS-3658] Missing automation id changes
2022-11-21 16:07:05 +01:00
MichalKinas f41f39369b [ACS-4036] Revert folder color change (#7997) 2022-11-21 15:25:32 +01:00
AleksanderSklorz eff4680081 [ACS-3640] Reverting reverted changes for a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#7988)
* ACS-3640 Increasing time of autoclosing snackbar and adding possibility to add icon to snackbar content

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments and adding possibility to display icon together with label

* ACS-3640 Fix lint issues

* ACS-3640 Added possibility to change showAction for different types of notifications

* ACS-3640 Addressed PR comments

* ACS-3640 Corrected title for snackbar content md file and remove redundant test for snackbar content

* ACS-3640 Fixed lint issues

* ACS-3640 Fixed unit tests

* ACS-3640 Fixed e2e tests

* ACS-3640 Correction after rebasing

* ACS-3640 Use data automation id

* ACS-3640 Corrected one more selector

* ACS-3640 Added spaces

* ACS-3640 Added spaces

* ACS-3640 Added spaces

* ACS-3640 Added spaces
2022-11-21 09:37:18 +01:00
Eugenio Romano a241fc804c Update README.md 2022-11-18 11:00:58 +01:00
Eugenio Romano 6a28061c94 Create upgrade50-60.md 2022-11-18 11:00:28 +01:00
Alfresco Build 73b34a0758 [ci:force][auto-commit] Update JS-API to 5.2.0-423 for branch: update-js-api originated from JS-API PR: 423 (#7991) 2022-11-18 09:22:02 +00:00
Amedeo LeporeandDiogo Bastos 933b59c54e [AAE-10772] Move content services directives from core to content-services package (#7942)
* [AAE-10772] move CheckAllowableOperationDirective to content services

* [AAE-10772] move LibraryFavoriteDirective to content services

* [AAE-10772] move LibraryMembershipDirective to content services

* [AAE-10772] move NodeDeleteDirective to content services

* [AAE-10772] move NodeFavoriteDirective to content services

* [AAE-10772] update imports on LibraryMembershipDirective

* [AAE-10772] move NodeRestoreDirective to content services

* [AAE-10772] move UserInfoModule to content services

* Revert "[AAE-10772] move UserInfoModule to content services"

This reverts commit ede1d5db3923859586d88646ca7826abd3d30cf1.

* [AAE-10772] Remove barrel imports and move library membership interfaces into LibraryMembershipDirective because are only used in that directive

* [AAE-10772] Remove barrel imports from spec files

* [AAE-10772] Move directive md files from core to content-services

* [AAE-10772] Fix files path into the docs files

* [AAE-10772] Export library membership interfaces because are imported by the ACA ToggleJoinLibraryButtonComponent

Co-authored-by: Diogo Bastos <diogo.bastos@hyland.com>
2022-11-18 09:49:17 +01:00
AleksanderSklorz f9c71bc953 [ACS-3781] 878751 function cannot be performed by keyboard alone hiding the user groups (#7980)
* ACS-3781 Focusing overlay and set off overlay on esc key

* ACS-3781 Remove listener for keydown on destroy

* ACS-3781 Added unit tests and use square brackets for property in html
2022-11-18 09:09:27 +01:00
jatin2008 c4446f0bf9 [ACS-3731] move/copy dialog and content overlaps other than 320px issue fixed (#7981)
* move copy dialog and content overlaps other than 320px issue fixed

* linting issus fixed for test cases
2022-11-18 11:35:47 +05:30
jatin2008 44f54b2a61 [ACS-3548] Accessibility issues (#7939)
* Accessibility issues

* requested changes

* breadcrumb changes

* review comments resolved of mattooltip

* e2e test cases fixed
2022-11-18 11:35:28 +05:30
dependabot[bot] 5be9558ef2 Bump deep-object-diff from 1.1.7 to 1.1.9 (#7984)
Bumps [deep-object-diff](https://github.com/mattphillips/deep-object-diff) from 1.1.7 to 1.1.9.
- [Release notes](https://github.com/mattphillips/deep-object-diff/releases)
- [Commits](https://github.com/mattphillips/deep-object-diff/commits)

---
updated-dependencies:
- dependency-name: deep-object-diff
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 12:50:18 +00:00
Alfresco Build 51384079cf [ci:force][auto-commit] Update JS-API to 5.2.0-420 for branch: update-js-api originated from JS-API PR: 420 (#7985) 2022-11-17 11:58:19 +00:00
AleksanderSklorz d3d917d010 [ACS-3550] a 11 y aca move copy dialog small correction (#7986)
* ACS-3550 Removed redundant attributes

* ACS-3550 Removed redundant code
2022-11-17 11:28:21 +00:00
rbahirsheth afc6e19152 [ACS-3863] Edit aspect dialog accessibility issues (#7949)
* [ACS-3863] Edit aspect dialog accessibility issues

* [ACS-3863] Fix: main landmark, allowed aria attribute accessibility issues

* [ACS-3863] Addressed review comment
2022-11-17 12:00:13 +05:30
Ardit Domi fa96a15be4 init aps script change call to fetch more users than default 100 (#7982) 2022-11-16 13:23:24 +00:00
dependabot[bot] 54357cad02 Bump minimatch and mdast in /tools/doc (#7973)
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.0.8 and updates ancestor dependency [mdast](https://github.com/wooorm/mdast). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.0.8
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8)

Updates `mdast` from 2.1.0 to 2.3.2
- [Release notes](https://github.com/wooorm/mdast/releases)
- [Commits](https://github.com/wooorm/mdast/commits)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: mdast
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 11:44:39 +00:00
Alfresco Build ee5bcb3d6a [ci:force][auto-commit] Update JS-API to 5.2.0-419 for branch: update-js-api originated from JS-API PR: 419 (#7974) 2022-11-16 09:15:38 +00:00
Denys Vuika 2683383881 Revert "ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#7916)" (#7977)
This reverts commit 4d76ebe1ab.
2022-11-15 16:30:31 +00:00
MichalKinas 54c1dbeca5 [ACS-3770] Stop select event propagation to restore keyboard functionality (#7967) 2022-11-15 10:43:43 +01:00
MichalKinas 39e458abb0 [ACS-3888] Correct role for new version dialog (#7965)
* [ACS-3888] Correct role for new version dialog

* [ACS-3888] Correct role for move/copy dialog

* [ACS-3888] Unit test fix
2022-11-15 10:03:23 +01:00
Robert Duda a83e837a96 [AAE-11319] start process loading spinner (#7968) 2022-11-15 09:57:38 +01:00
Artur Cichoń 8d4549e01d [AAE-10912] Added destinationFolderPath to simpleapp (#7962)
* [AAE-10912] Swapped simpleapp for newer version

* trigger travis

* trigger travis

* [AAE-10912] Replaced Simpleapp to improve ids and cover more cases

* trigger travis
2022-11-14 09:43:59 +00:00
dependabot[bot] 71c7d89bce Bump @playwright/test from 1.25.2 to 1.27.1 (#7917)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.25.2 to 1.27.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.25.2...v1.27.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 09:27:25 +00:00
Alfresco Build 18a4702f8e [ci:force][auto-commit] Update JS-API to 5.2.0-417 for branch: update-js-api originated from JS-API PR: 417 (#7966) 2022-11-14 09:14:11 +00:00
dependabot[bot] 485c9ec2ed Bump @typescript-eslint/typescript-estree from 5.30.7 to 5.42.1 (#7971)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 5.30.7 to 5.42.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.42.1/packages/typescript-estree)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/typescript-estree"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-13 16:32:54 +00:00
AleksanderSklorz 4d76ebe1ab ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#7916)
* ACS-3640 Increasing time of autoclosing snackbar and adding possibility to add icon to snackbar content

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments and adding possibility to display icon together with label

* ACS-3640 Fix lint issues

* ACS-3640 Added possibility to change showAction for different types of notifications

* ACS-3640 Addressed PR comments

* ACS-3640 Corrected title for snackbar content md file and remove redundant test for snackbar content

* ACS-3640 Fixed lint issues

* ACS-3640 Fixed unit tests

* ACS-3640 Fixed e2e tests

* ACS-3640 Correction after rebasing
2022-11-12 20:49:03 +01:00
AleksanderSklorz ba05d3a1df ACS-3550 Fixed accessibility issues related with move and copy dialogs (#7961)
* ACS-3550 Fixed accessibility issues related with move and copy dialogs

* ACS-3550 Revert changes for button role for cells

* ACS-3550 Shorter css rule

* ACS-3550 Fixed lint issues

* ACS-3550 Changed selector to fix e2e tests
2022-11-11 21:20:05 +01:00
Denys Vuika 1109a73a19 [AAE-10766] presentational and reusable About (#7969) 2022-11-11 16:01:02 +00:00
dependabot[bot] 5abe22b9c8 Bump stylelint from 14.9.1 to 14.14.1 (#7958)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.9.1 to 14.14.1.
- [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/14.9.1...14.14.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 10:50:18 +00:00
Alfresco Build a82147cf13 [ci:force][auto-commit] Update JS-API to 5.2.0-409 for branch: update-js-api originated from JS-API PR: 409 (#7964) 2022-11-09 09:19:58 +00:00
Alfresco Build a2205850ce [ci:force][auto-commit] Update JS-API to 5.2.0-408 for branch: update-js-api originated from JS-API PR: 408 (#7954) 2022-11-08 17:57:39 +00:00
e67b2aaed4 [AAE-10766] Remove js-api imports from core about module (#7947)
* [AAE-10766] Remove js-api imports from core about module

* [AAE-10766] Nest RepositoryInfo interface in about component

* Add inline ModuleInfo in RepositoryInfo interface

Co-authored-by: Popovics András <popovicsandras@users.noreply.github.com>

* [AAE-10766] Fixed github auto commit suggestion

* try fix the testing lib issues

Co-authored-by: Popovics András <popovicsandras@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-11-08 17:57:04 +00:00
MichalKinas d571943274 [ACS-3908] Add node version manager support (#7960)
* [ACS-3908] Add node version manager support

* [ACS-3908] Correct node version
2022-11-08 11:19:48 +01:00
Denys Vuika 558d16006a [ACS-3751] make About layout collapsible (#7959)
* make About layout collapsible

* fix export

* remove empty css
2022-11-08 09:07:19 +00:00
Maurizio Vitale 2dd0d19d03 Run release only on merge and upstrem on cron (#7951) 2022-11-04 16:34:58 +00:00
dependabot[bot] 1299cea79d Bump tsconfig-paths from 3.14.1 to 4.1.0 (#7837)
Bumps [tsconfig-paths](https://github.com/dividab/tsconfig-paths) from 3.14.1 to 4.1.0.
- [Release notes](https://github.com/dividab/tsconfig-paths/releases)
- [Changelog](https://github.com/dividab/tsconfig-paths/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dividab/tsconfig-paths/compare/v3.14.1...v4.1.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 16:32:18 +00:00
dependabot[bot] d892277851 Bump @angular-eslint/eslint-plugin-template from 14.0.2 to 14.1.2 (#7861)
Bumps [@angular-eslint/eslint-plugin-template](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin-template) from 14.0.2 to 14.1.2.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin-template/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v14.1.2/packages/eslint-plugin-template)

---
updated-dependencies:
- dependency-name: "@angular-eslint/eslint-plugin-template"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 14:57:57 +00:00
dependabot[bot] d7408396d5 Bump eslint-plugin-jsdoc from 39.3.3 to 39.3.6 (#7884)
Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 39.3.3 to 39.3.6.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v39.3.3...v39.3.6)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-04 14:56:30 +00:00
Alfresco Build 551da23f78 [ci:force][auto-commit] Update JS-API to 5.2.0-402 for branch: update-js-api originated from JS-API PR: 402 (#7948) 2022-11-04 14:53:48 +00:00
Maurizio Vitale 1ced5e8705 Use npm bin/nx (#7950) 2022-11-04 14:32:55 +00:00
Maurizio Vitale 7c04b59ddb Remove unused scripts. Yeahgit add . (#7946) 2022-11-04 14:23:38 +00:00
Alfresco Build 033307f2b9 [ci:force][auto-commit] Update JS-API to 5.2.0-401 for branch: update-js-api originated from JS-API PR: 401 (#7920) 2022-11-03 13:42:40 +00:00
Rafal Szmit 26c1431815 [AAE-11275] - e2e protractor - remove sleep step (#7944)
* [AAE-11275] - remove sleep step

* trigger travis
2022-11-03 13:08:57 +00:00
Maurizio Vitale d1c82edb9d [AAE-11279] Pipeline - Build libs and apps in the same stage and avoid install (#7943)
* Build libs and apps in the same stage and avoid install

* Reduce install and affect all
2022-11-03 12:16:11 +00:00
Maurizio Vitale 0459e4eb0c Exclude build apps from merge 2022-11-03 11:11:48 +00:00
Maurizio Vitale 45159544a1 Split the build from release (#7945) 2022-11-03 10:42:49 +00:00
AleksanderSklorz 13fe6fb07a ACS-3545 a 11 y aca metadata sidebar (#7923)
* ACS-3545 Fixed accessibility issues for metadata sidebar
2022-11-02 21:40:14 +01:00
Maurizio Vitale 3dde18fbd2 Build core as usual and pretheme after build 2022-11-02 18:25:19 +00:00
Maurizio Vitale 84332cbe56 Bump version before building 2022-11-02 15:49:48 +00:00
Maurizio Vitale b6f1ea528c Remove useless echo 2022-11-02 15:09:15 +00:00
MichalKinas e45c6891e4 [ACS-3701] Add auto focus directive (#7921)
* [ACS-3701] Add auto focus directive

* [ACS-3701] Linter fix

* [ACS-3701] Another lint fixes
2022-11-02 15:28:04 +01:00
Maurizio Vitale 711eaa34a4 Use npx to run nx 2022-11-02 14:01:39 +00:00
Maurizio Vitale 8ca604e250 Bump lib version after build (#7941) 2022-11-02 13:41:51 +00:00
Tomasz Gnyp 0b0174ced4 [AAE-7666] Add error message when REST API fails for radio buttons (#7926)
* [AAE-7666] Add error message when REST API fails for radio buttons

* [AAE-7666] remove not needed checks from unit test

* Remove redundant code

* move logic from html to component
2022-11-02 14:00:41 +01:00
MichalKinas b572e16b67 [ACA-4622] Remove additional close button, unify buttons style (#7931) 2022-11-02 12:49:41 +01:00
Maurizio Vitale 4c92545d80 Move check bundle after release npm (#7940) 2022-11-02 11:40:03 +00:00
Maurizio Vitale 1c46bb83a0 [AAE-11259] Pipeline - Decoupling the build from release (#7935)
* Decoupling the build from release

* test if we are still able to release on npm and docker

* Split docker tag from deploy

* Fix storybook

* Decouple build lib/apps from releasing

* Remove useless or
2022-11-02 11:31:54 +00:00
Ehsan Rezaei b48784a04e AAE-10842: Modified properties viewer widget to handle file input (#7900)
* AAE-10842: Modified properties viewer widget to handle file input

* AAE-10842: Fixed linting issue

* trigger Codacy
2022-11-02 11:48:00 +01:00
Maurizio Vitale 68d6d15142 Deprecate commit sha (#7936) 2022-11-01 16:36:13 +00:00
Maurizio Vitale c2cdd90d99 Move the cli bundle under dist/libs/cli (#7937) 2022-11-01 16:23:51 +00:00
Ardit Domi d946376361 [AAE-11217] - Make init-aps script not rely on email domain (#7934)
* [AAE-11217] - Make init-aps script not rely on email domain

* use single quotes for strings
2022-11-01 12:31:34 +00:00
Maurizio Vitale 8b94caafef [AAE-11255] adf-cli - Get rid of the build-testing and call copydist when needed (#7933)
* Get rid of the build-testing and call copydist when needed

* Use the relative path instead of node_modules and avoid to build cli/testing in the before e2e

* Try to build cli and testing as part of install

* Build cli and testing before e2e

* Copy cli bundle under dist

* Copy cli bundle under dist

* Copy testing into node_modules to fix protractor.js

* Created a bundle target to handle build and move of cli/testing

* Change from build target to something custom to avoid to exclude the packages

* Remove the build-testing.sh script
2022-11-01 11:28:44 +00:00
Maurizio Vitale cebe2501fa [AAE-11253] adf-cli - Get rid of build cli (#7932)
* Get rid of build cli

* Remove duplication

* Remove build-cli.sh script
2022-10-31 13:55:52 +00:00
Maurizio Vitale 65e0961a18 [AAE-10835] adf-cli Being able to pass params as input to handle custom cases (#7880)
* Being able to pass params as input to handle hxp

* Fix default

* Fix lint

* Use a default value for tokenEndpoint for compatibility

* Fix the lint
2022-10-31 13:20:15 +00:00
Tomasz Gnyp 864bc33598 [AAE-11238] Fix position of loading spinner on task loading (#7928)
* [AAE-11238] Fix position of loading spinner on task loading

* trigger travis
2022-10-31 13:15:34 +01:00
Tomasz Gnyp 2f6d196411 [AAE-10644] Fix tests that have no expectations - core lib part 1 (#7891)
* [AAE-10644] Fix tests that have no expectations - core lib part 1

* [AAE-10644] fix app config tests

* replace subscription with spy

* use done instead of await in subject related unit test
2022-10-30 21:07:10 +01:00
Marco Carrozzo bc57305e1e AAE-11221 - TRAVIS_EVENT_TYPE parse action 2022-10-28 12:59:11 +02:00
Giovanni Toraldo c3bc1b4eff Fix git author when updating multiple projects (#7927) 2022-10-28 11:40:35 +01:00
Vítor Moreira 4410557d8d MNT-23233: get users according to providers configuration (#7924) 2022-10-28 11:32:30 +01:00
Sushmitha V 32a3f9c9ef [AAE-3563] getTaskById API is called multiple times when a task from … (#7877)
* [AAE-3563] getTaskById API is called multiple times when a task from cloud is opened

* Changes done as oer comments

* Added unit test

* Fixed eslint

* Resolved UT
2022-10-27 16:52:43 +05:30
Tomasz Gnyp c28e23b1cb [AAE-10991] Fix task counter decrease (T15330758) (#7922)
* [AAE-10991] Fix task counter decrease

* improve unit tests

* trigger travis
2022-10-27 12:33:12 +02:00
Tomasz Gnyp 499725659b [AAE-10644] Fix tests that have no expectations - core lib part 2 (#7893)
* [AAE-10644] Fix tests that have no expectations - core lib part 2

* implement improvements
2022-10-27 10:47:53 +02:00
Denys Vuika 03a888fb5e [ACS-3685] Release 5.1.0 (#7919)
* bump versions

* reports
2022-10-24 18:53:48 +01:00
Alfresco Build 388ca411a3 [ci:force][auto-commit] Update JS-API to 5.1.0 for branch: update-js-api originated from JS-API PR: 387 (#7918) 2022-10-24 14:37:22 +01:00
Mikołaj Serwicki 18a5197b5a [ACS-3551] feat: add context to outgoing requests for auth intgerceptors (#7913) 2022-10-24 10:28:06 +02:00
Alfresco Build 2d57ca31ca [ci:force][auto-commit] Update JS-API to 5.1.0-378 for branch: update-js-api originated from JS-API PR: 378 (#7905) 2022-10-24 09:02:08 +01:00
Denys Vuika 9ac5055276 [ADF-5502] fix recent files query (#7915) 2022-10-21 16:06:38 +01:00
Valerio Provaggi f6294f76cc fix tables not showing correctly on doc site (#7868) 2022-10-21 14:41:49 +01:00
Ardit Domi c0611e4642 Be able to provide the email domain for test users from an env var (#7914)
* Be able to provide the email domain for test users from an env var

* Change default domain to example.com
2022-10-21 14:32:23 +01:00
arohilaGL c84792a6e9 [ACS-3551] a11y fix for search results view (#7881)
* [ACS-3551] a11y fix for search results view

* PR Comments fix
2022-10-21 11:34:44 +02:00
Robert DudaandBartosz Sekula 47d95fc7c3 [AAE-10450] Stories for components in login module (#7909)
Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
2022-10-20 13:14:30 +02:00
Ardit Domi b64d1583e2 Change email domain for users created by e2e to example.com (#7911) 2022-10-20 11:58:28 +01:00
Ardit Domi 1a76776e65 Change email domain for users created by e2e (#7910)
* Change email domain for users created by e2e

* Fix typo

* Use example.net as default
2022-10-20 08:59:08 +01:00
Robert Duda 2c80214999 [AAE-10451] Stories for notification-history component (#7908)
* [AAE-10451] Stories for notification-history component

* minor refactorization and styling of other stories

* added sample component for notification generation
2022-10-20 08:29:32 +02:00
MichalKinas d788866cea [ACS-3546] Add missing labels to folder dialog (#7907) 2022-10-19 14:43:04 +02:00
MichalKinas b12d1b4a44 [ACS-3600] Add missing label translations (#7890) 2022-10-19 11:52:02 +02:00
rbahirsheth 3abf138088 [acs-3548] fixed csv file issue(880240) (#7904) 2022-10-19 07:28:24 +02:00
Ehsan Rezaei 9772d0492c AAE-10803: Modified file viewer widget to handle file input (#7898)
* AAE-10803: Modified file viewer widget to handle file input

* AAE-10803: Fixed linting errors
2022-10-18 16:29:37 +02:00
MichalKinas e225573035 [ACS-3701] Change initial focus for aspect dialog (#7892) 2022-10-18 16:07:43 +02:00
MichalKinas 031f00be31 [ACS-3552] Fix accessibility issues from CSV file (#7887) 2022-10-18 15:00:49 +02:00
Alfresco Build 122aa805a2 [ci:force][auto-commit] Update JS-API to 5.1.0-369 for branch: update-js-api originated from JS-API PR: 369 (#7897) 2022-10-18 11:34:17 +01:00
rbahirsheth b94ec9fd16 [acs-3549] fix accessibility issues from csv file (#7899) 2022-10-18 10:26:53 +01:00
arohilaGL 6fca55d43a [ACA-4608] Fix for User can't upload a file whose upload was previously canceled (#7869) 2022-10-14 16:10:03 +01:00
Alfresco Build 405ad3d81d [ci:force][auto-commit] Update JS-API to 5.1.0-364 for branch: update-js-api originated from JS-API PR: 98 (#7879) 2022-10-14 15:08:43 +01:00
Bartosz Sekuła 6559cd2564 [AAE-10556] Admin with HxP - In case the roles API call fails the app crashes (#7895)
* [AAE-10556] Admin with HxP - In case the roles API call fails the app crashes

* Added tests for API error
2022-10-14 14:01:45 +02:00
Tomasz Gnyp 508ea87621 [AAE-10911] Fix Cardview Int validator for only spaces (#7889)
* [AAE-10911] Fix Cardview Int validator for only spaces

* [AAE-10911] added unit tests
2022-10-12 13:42:55 +02:00
Ardit Domi d1805226fc [AAE-10896] - Fix attach file widget destinationFolderPath is broken … (#7888)
* [AAE-10896] - Fix attach file widget destinationFolderPath is broken when using string variables

* Fix unit tests

* Add unit test

* Fix linting problems
2022-10-12 09:43:41 +02:00
Shubham Bansal 588c327cc6 ACA-4615 Adding edit profile functionality for SSO users (#7883) 2022-10-10 13:39:26 +01:00
Mikołaj Serwicki 0e5f6372da [AAE-10499] feat: create angular based custom http client for alfresco js api (#7800) 2022-10-10 11:44:04 +02:00
Shubham Bansal f19c21fd24 ACA-4615 Reverting the view profile change (#7882) 2022-10-06 12:52:19 +01:00
rbahirsheth af2881f3a3 [ACS-3549] Manage Versions Dialog (#7858)
* Fix: Button have descernible text, banner landmark, contentinfo landmar issue

* change title in version list component
2022-10-06 13:48:13 +05:30
dependabot[bot] 746d8031cd Bump @typescript-eslint/parser from 5.30.0 to 5.38.1 (#7875)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.30.0 to 5.38.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.38.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 16:03:31 +01:00
dependabot[bot] 1b48ce6d6c Bump ng-mocks from 10.5.4 to 14.2.3 (#7876)
Bumps [ng-mocks](https://github.com/help-me-mom/ng-mocks) from 10.5.4 to 14.2.3.
- [Release notes](https://github.com/help-me-mom/ng-mocks/releases)
- [Changelog](https://github.com/help-me-mom/ng-mocks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/help-me-mom/ng-mocks/compare/v10.5.4...v14.2.3)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 14:38:26 +01:00
MichalKinas 9f25494296 [ACS-3590] Fix contrast issues in ACA (#7867)
* [ACS-3590] Fix contrast issues in ACA

* [ACS-3590] Apply CR fixes
2022-10-04 13:38:43 +01:00
Alfresco Build ba8b3c7d8f [ci:force][auto-commit] Update JS-API to 5.1.0-350 for branch: update-js-api originated from JS-API PR: 350 (#7878) 2022-10-04 11:44:47 +01:00
Alfresco Build 865b864982 [ci:force][auto-commit] Update JS-API to 5.1.0-349 for branch: update-js-api originated from JS-API PR: 349 (#7874) 2022-10-03 12:00:39 +02:00
Rafal Szmit 797a425f7f [AAE-10729] form empty string regex validation unit test (#7870)
* [AAE-10729] empty string regex validation

* trigger travis
2022-10-03 11:57:21 +02:00
Tomasz Gnyp 39a178f653 [AAE-10320] Fix Content Service unit tests - 'has no expectations' (#7840)
* fix node action services unit tests

* fix add permission panel units

* fix some upload unit tests

* fix some search unit tests

* remove duplicated unit tests

* [AAE-10320] fix content and document list unit tests

* remove duplicated content node selector  unit test

* fix upload unit test
2022-09-30 22:16:07 +02:00
Ehsan Rezaei 4d8195fa82 AAE-2824: Managed to trigger executeOutcome when clicking on custom outcome buttons (#7873) 2022-09-30 18:19:51 +01:00
Rafal Szmit 287299bf8e test CI e2e browser run [ci:force] (#7864)
* test CI e2e browser run [ci:force]

* hardcoded browser run test [ci:force]

* run only 1 job in browser mode [ci:force]

* reset browser run global

* trigger travis [ci:force]

* restore false/true assign [ci:force]
2022-09-30 16:35:32 +01:00
Alfresco Build 46da01fe18 [ci:force][auto-commit] Update JS-API to 5.1.0-343 for branch: update-js-api originated from JS-API PR: 343 (#7834) 2022-09-30 15:00:50 +01:00
Maurizio Vitale 5dac8cbe2e Return exit 0 in case of cron (#7871) 2022-09-30 14:58:46 +01:00
Diogo BastosandDiogo Bastos 1156a9f9b8 [AAE-10668] - Fix [object Object] for License entitlements in Admin App's About page (#7862)
* [AAE-10668] Fixed [object object] issue for the entitlements field of the license section in the about page

* Added string manipulation functionality

* Removed lock file from commit

* [AAE-10668] resolved changes requested

* [AAE-10668] changes to ObjectUtils booleanPrettify method

* [AAE-10668] Fixed import statements

* [AAE-10668] fixed lint problems

Co-authored-by: Diogo Bastos <Diogo.Bastos@apl-y6rr6vv7yk.home>
2022-09-28 10:33:03 +01:00
Eugenio Romano cff311897d Update creating-javascript-app-using-alfresco-js-api.md 2022-09-27 15:57:04 +02:00
Marcin Krueger a3447836b1 [AAE-6153] Enable correct sorting while data are numbers (#7859)
* [AAE-6153] Enable correct sorting while data are numbers

* [AAE-6153] Add unit tests for bugfix

* Trigger travis
2022-09-27 14:29:13 +02:00
Marcin KruegerandRafal Szmit caec4a208d [AAE-10102] Storybook stories for Buttons Menu component (#7731)
* Storybook stories for Buttons Menu component

* Storybook change button icons

* Storybook add isMobile property

* [AAE-10102] Storybook reduce module imports

* [10102] Fix wrong buttons styling

* [10102] Storybook change story name

* [10102] Storybook add component documentation table

* [AAE-10102] change name of story

* [AAE-10102] fix invalid licence header

* enable browser protractor run

* exclude 2 failing tests + defaultValue: true

Co-authored-by: Rafal Szmit <rafal.szmit@hyland.com>
2022-09-27 12:54:33 +02:00
Rafal Szmit ec284d176c [AAE-10707] - test e2e.sh fix (#7854)
* [AAE-10707] - test e2e.sh fix

* trigger travis[ci:force][affected:*]

* remove script exit 1

* trigger travis

* trigger travis [ci:force]

* trigger travis

* trigger travis
2022-09-23 13:54:32 +02:00
Marcin Krueger 9995db3a56 [AAE-10457] Storybook User Info module (#7814)
* [AAE-10457] Storybook add User Info stories

* [AAE-10457] Storybook delete unnecessary code from authentication service mock

* [AAE-10457] Storybook base all of the stories on template

* [AAE-10457] Storybook add missed licence in service mock file

* [AAE-10457] Storybook add component stories decorator for proper User Info alignment

* [AAE-10457] Storybook add documentation table for stories

* [AAE-10457] Storybook fix bug in browser console

* [AAE-10457] Storybook delete unnecessary code from authentication mock service

* [AAE-10457] Storybook change stories names

* [AAE-10457] Storybook change module imports

* [AAE-10457] Change mock services names

* [AAE-10457] Change models path to relative

* [AAE-10457] Change user avatar and delete unnecessary images

* [AAE-10457] Insert missing semicolon
2022-09-23 12:11:55 +02:00
Sushmitha V ab2a616c61 [AAE-10643] Form validation for dropdown required field (#7844) 2022-09-22 23:07:55 +05:30
Shubham Bansal 0d24a29a4e ACA-4615 Restrict Edit Profile functionality to ECM users only (#7853) 2022-09-22 17:37:48 +01:00
Ardit Domi b33b188807 [AAE-10317] - Fix APS unit tests warning "Test has no expectations" (#7850)
* [AAE-10317] - Fix process and task attachment list has no expectations

* [AAE-10317] - More APS unit test fixes

* Fix test excluded by mistake

* Fix lint errors
2022-09-22 16:28:49 +01:00
Marcin Krueger 3fdedae769 [AAE-10446] Storybook CardView module (#7822)
* [AAE-10446] Storybook add CardView component stories

* [AAE-10446] Storybook add stories for Array Item Card View component

* [AAE-10446] Storybook add stories for Date Item Card View component

* [AAE-10446] Storybook add stories for Map Item Card View component

* [AAE-10446] Storybook add stories for Text Item Card View component

* [AAE-10446] Storybook change selector in Key Value Pairs Item

* [AAE-10446] Storybook delete unused code

* [AAE-10446] Storybook finish CardViewArrayItem component stories

* [AAE-10446] Storybook finish CardViewBoolItem component stories

* [AAE-10446] Storybook finish CardViewDateItem component stories

* [AAE-10446] Storybook create CardView KeyValuePairs Item component stories

* [AAE-10446] Storybook finish CardViewMapItem component stories

* [AAE-10446] Storybook create CardViewSelectItem component stories

* [AAE-10446] Storybook finish Card View Text Item component stories

* [AAE-10446] Storybook fix typo in CardViewTextItem component file

* [AAE-10446] Fix imports and lint file properly

* [AAE-10446] Lint all the files

* [AAE-10446] Storybook change import paths to be more readable

* [AAE-10446] Storybook move all objects from card-view story into separate mock file

* [AAE-10446] Storybook move mock file
2022-09-22 16:13:22 +02:00
Rafal Szmit 6420b3546c [AAE-10706] Selector login fix (#7852)
* [AAE-10706] Selector login fix

* trigger travis
2022-09-22 13:06:26 +02:00
Valerio Provaggi 0e95b02b0b Update README.md (#7849) 2022-09-22 12:25:34 +02:00
Robert Duda 5bd1a21f3a [AAE-10453] Stories for rich-text-editor component (#7846) 2022-09-22 09:47:56 +02:00
Radosław Terelak a1d19ee4c8 [AAE-10281] Stories for components in Layout module in ADF Core (#7847)
* [AAE-10281] Stories for components in Layout module in ADF Core

* trigger travis

* Lorem ipsum updates for Travis
2022-09-22 07:56:27 +02:00
MichalKinas 1a06c2866a ACS-3544 Fix accessibility issues in ACA trashcan (#7845) 2022-09-22 07:55:28 +02:00
Robert Duda 21fd1a0dbf [AAE-10452] Stories for pagination component (#7848)
* [AAE-10452] Stories for components in Pagination Module
2022-09-21 16:26:32 +02:00
MichalKinas c5ee606cb4 [ACS-3497] - Fix accessibility issues in ACA personal files (#7833) 2022-09-21 16:08:57 +02:00
Robert Duda 3180ad3fe0 [AAE-10454] Stories for search-text-input component (#7842) 2022-09-20 10:09:45 +02:00
Marcin KruegerandTomasz 548133e6be [AAE-10282] Storybook DataColumn Component (#7775)
* [AAE-10282] Storybook add stories for data-column component"

* [AAE-10282] Storybook adjust mock data for stories

* [AAE-10282] Storybook add proper controls and create custom CSS and tooltip stories

* [AAE-10282] Storybook create new stories with template pattern

* [AAE-10282] Storybook finish all stories

* [AAE-10282] Storybook clean stories code

* [AAE-10282] Storybook add documentation table for stories

* [AAE-10282] Storybook add types for arguments and change stories titles

* [AAE-10282] Storybook remove empty arrays

* [AAE-10282] Storybook Rebase

* [AAE-10282] Storybook fix linting problems

* fix circular dep

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
2022-09-19 15:42:45 +02:00
Amedeo Lepore 48b92389ea [AAE-10474] review why xit and console log is allowed to be committed (#7829)
* [AAE-10474] Add husky pre-commit script to run lint-staged

* [AAE-10474] Enable lint rules for console log

* [AAE-10474] Run affected:lint command on pre-commit, remoive old scripts that use tslint

* [AAE-10474] Remove console.log

* [AAE-10474] Disable no-console lint rule for 'testing' and 'cli' projects
2022-09-16 11:25:11 +02:00
Tomasz Gnyp a1d8b9e96e Fix update-project github user (#7827)
* Fix update-project github user

* trigger travis
2022-09-16 09:48:06 +01:00
Alfresco Build 0b12cbca52 [ci:force][auto-commit] Update JS-API to 5.1.0-322 for branch: update-js-api originated from JS-API PR: 322 (#7828) 2022-09-16 09:02:55 +01:00
Robert Duda 22ac215cb5 [AAE-6991] Stories for datatable component (#7830) 2022-09-16 07:14:08 +02:00
Ardit Domi f8498d7574 [AAE-10316] - Fix moment js deprecation warnings in core (#7831) 2022-09-15 19:18:40 +01:00
dependabot[bot] 356a6dc6d1 Bump karma-jasmine-html-reporter from 1.7.0 to 2.0.0 (#7809)
Bumps [karma-jasmine-html-reporter](https://github.com/dfederm/karma-jasmine-html-reporter) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/dfederm/karma-jasmine-html-reporter/releases)
- [Commits](https://github.com/dfederm/karma-jasmine-html-reporter/compare/v1.7.0...v2.0.0)

---
updated-dependencies:
- dependency-name: karma-jasmine-html-reporter
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-14 09:47:00 +02:00
Alfresco Build ed002577e6 [ci:force][auto-commit] Update JS-API to 5.1.0-317 for branch: update-js-api originated from JS-API PR: 317 (#7826) 2022-09-14 09:46:39 +02:00
Marcin Krueger dc1278c390 [AAE-10390] Storybook Dialog Module (#7778)
* [AAE-10390] Storybook add Edit JSON story

* [AAE-10390] Storybook add documentation table for story

* [AAE-10390] Storybook add Download ZIP component story

* [AAE-10390] Storybook create new component for storybook purposes only

* [AAE-10390] Storybook change file and story names

* [AAE-10390] Storybook create story for DownloadZipDialog component

* [AAE-10390] Storybook add story-component interaction using controls

* [AAE-10390] Storybook delete unnecessary asset file

* [AAE-10390] Storybook move mock files to proper directory

* [AAE-10390] Storybook change mock services names

* [AAE-10390] Storybook add documentation table for DownloadZip component stories

* [AAE-10390] Storybook create methods for updating proper values in storybook component classes

* [AAE-10390] Storybook update licence

* [AAE-10390] Storybook change button appearance

* [AAE-10390] Storybook update module imports

* [AAE-10390] Storybook change modules structure

* [AAE-10390] Storybook rearrange Dialog modules

* [AAE-10390] Storybook remove unnecessary imports

* [AAE-10390] Storybook move Input directives

* [AAE-10390] Storybook add missed code

* [AAE-10390] Storybook delete dialog module

* [AAE-10390] Storybook add Download Zip module export in public-api file

* Trigger travis
2022-09-14 09:05:37 +02:00
Alfresco Build 4468288334 [ci:force][auto-commit] Update JS-API to 5.1.0-316 for branch: update-js-api originated from JS-API PR: 316 (#7825) 2022-09-13 09:39:31 +02:00
Ardit Domi c845843591 [AAE-10311] - Fix deprecation warning about dates in cloud unit tests (#7787)
* [AAE-10311] - Fix deprecation warning about dates in cloud unit tests

* Fix comments
2022-09-13 09:33:17 +02:00
dependabot[bot] 79b5cd49b8 Bump css-loader from 5.2.7 to 6.7.1 (#7806)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.7 to 6.7.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.7...v6.7.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 20:35:38 +02:00
dependabot[bot] 4db08e3d38 Bump graphql-request from 3.7.0 to 5.0.0 (#7810)
Bumps [graphql-request](https://github.com/prisma/graphql-request) from 3.7.0 to 5.0.0.
- [Release notes](https://github.com/prisma/graphql-request/releases)
- [Commits](https://github.com/prisma/graphql-request/compare/3.7.0...5.0.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 20:35:28 +02:00
dependabot[bot] 7a797d3ae0 Bump @angular-eslint/eslint-plugin from 14.0.2 to 14.0.4 (#7820)
Bumps [@angular-eslint/eslint-plugin](https://github.com/angular-eslint/angular-eslint/tree/HEAD/packages/eslint-plugin) from 14.0.2 to 14.0.4.
- [Release notes](https://github.com/angular-eslint/angular-eslint/releases)
- [Changelog](https://github.com/angular-eslint/angular-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/angular-eslint/angular-eslint/commits/v14.0.4/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@angular-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 20:35:05 +02:00
dependabot[bot] 541737d8e4 Bump @playwright/test from 1.25.0 to 1.25.2 (#7821)
Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.25.0 to 1.25.2.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.25.0...v1.25.2)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 20:34:55 +02:00
Tomasz Gnyp b7e8abc529 [AAE-10461] Fix license header checker (#7823)
* [AAE-10461] Fix license header checker

* trigger travis

* fix license headers for cli lib

* rebase
2022-09-12 19:07:27 +02:00
Alfresco Build 88beaf3535 [ci:force][auto-commit] Update JS-API to 5.1.0-313 for branch: update-js-api originated from JS-API PR: 313 (#7743) 2022-09-12 17:02:05 +02:00
Gloria Camino fff475e592 LOC-386 - Updated UI in 16 languages for ADF 5.0 release (#7804) 2022-09-12 17:01:22 +02:00
Valerio Provaggi 0c7be3e61a Release notes for ADF 5 (#7819)
* Release notes for A14

Added content to describe content, features and upgrade.

* minor format changes
2022-09-12 17:00:28 +02:00
Radosław Terelak d9ddd12e49 [AAE-10280] Storybook stories for Sorting Picker component (#7773)
* Added Output types to descriptions

* [AAE-10280] Storybook stories for Sorting Picker component
2022-09-12 15:51:49 +02:00
Rafal Szmit 48d71c5397 [AAE-10468] e2es Task List fixes (#7797)
* [AAE-10468][ci:force] update selector

* [ci:force] force first selector

* [ci:force] try headless protractor

* [ci:force] trigger travis

* [ci:force] ci headless test
2022-09-12 11:01:20 +02:00
Robert Duda 9ba86e1ff1 [AAE-10252] Storybook Update existing Stories to adhere to conventions (#7780)
* [AAE-10252] Storybook Update existing Stories to adhere to conventions

* Added expaned controls globally

* About Module, Comments Module

* Icon Module, Language Menu Module

* Social Module

* Naming of single stories

* process-services-cloud Modules

* Added descriptions and categories for actions

* Fixed and cleaned error-content stories

* Updated playwright tests to navigate properly

* Template Module

* Toolbar Module

* fixed Like component controls

* content projection showcase
2022-09-12 09:03:24 +02:00
Denys Vuika c11650a666 Release 5.0.0 (#7817)
* bump versions

* release reports

* update lock file
2022-09-07 18:05:26 +01:00
Amedeo Lepore 2fd10b2fe4 [ADF-5500] Set mat-checkbox display to block in order to takes up the whole width and shows checkboxes one below the other (#7815) 2022-09-06 18:38:07 +02:00
Thomas Hunter 47e62c1133 [ACA-4609] Fix regression checkbox list shown horizontally (#7813)
* [ACA-4609] Fix regression checkbox list shown horizontally

* Change class name to element name
2022-09-06 11:33:19 +01:00
Maurizio Vitale 8e9cb07cde rename the schame appconfig (#7805) 2022-09-02 15:06:43 +01:00
Amedeo Lepore 76bbe582f8 [AAE-10377] Changed from namespace to default import (#7803) 2022-09-02 10:11:50 +02:00
Denys Vuika 9352daf799 [AAE-10472] upgrade apollo libraries to Angular 14 compatible versions (#7799)
* upgrade apollo libraries

* fix unit tests

* Empty-Commit
2022-09-01 15:14:00 +01:00
Maurizio Vitale b2ac4b4169 Not anymore used (#7802) 2022-08-31 13:28:23 +01:00
Maurizio Vitale 109e99786b Short circuit e2e in case lib not affected (#7801)
* Short circuit e2e in case lib not affected

* Use base and head

* Remove useless schema

* Run everything on cron
2022-08-30 16:07:55 +01:00
Tomasz Gnyp b90b129527 Fix assignment type translations (#7793)
* Fix assignment type translations

* trigger travis
2022-08-30 09:19:39 +01:00
Eugenio Romano 9547e78f00 Update datatable.component.md (#7796) 2022-08-30 10:10:07 +02:00
Ardit Domi 147fb56724 [AAE-9464] - Fetch image from ACS only in case of ECM (#7779) 2022-08-30 09:40:17 +02:00
Denys Vuika 6f209726e9 [AAE-10472] Upgrade and deprecate libs (#7788)
* upgrade and deprecate libs

* upgrade flex layout

* cleanup tslint libs

* diable the test

* exclude flaky e2e
2022-08-26 16:56:51 +01:00
Maurizio Vitale 4a39161ad3 Run everyting in case of CRON 2022-08-26 15:28:06 +01:00
Maurizio Vitale 38e9cc9f41 Run e2e only when lib affected (#7791) 2022-08-26 15:24:19 +01:00
Tomasz GnypandMaurizio Vitale c7d769510d [AAE-9186] Filter tasks by assignee (#7784)
* [AAE-9186] Filter tasks by assignee

* add status filter enum

* remove useless case

* remove useless unit test

* improve task assignment filter unit tests

* remove useless imports

* rebase

* fix lint

* run the copydist only for affected

* Build always cli and testing to use local

* Add back test and cli

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2022-08-26 12:53:06 +01:00
2ef40b150f [AAE-10219] Add css to align according to alignment property in RadioField (#7750)
* [AAE-10219] Add css to align according to alignment property in RadioField

* [AAE-10219] Add css to align according to alignment property in RadioField

* trigger travis

* Fix nx build core

* reduce dependsOn config

* update demoshell cspell path

* [AAE-10460] fix storybook config (#7785)

* [AAE-10460] fix storybook config

* trigger travis

* trigger travis

Co-authored-by: Rafal Szmit <rafal.szmit@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
Co-authored-by: Tomasz Gnyp <49343696+tomgny@users.noreply.github.com>
2022-08-26 00:39:01 +02:00
Tomasz Gnyp 76c98c53ed [AAE-10460] fix storybook config (#7785)
* [AAE-10460] fix storybook config

* trigger travis
2022-08-25 16:25:13 +01:00
1fa81962a0 👽 Angular 14 rebase 👽 (#7769)
* fix after rebase

* new release strategy for ng next

Signed-off-by: eromano <eugenioromano16@gmail.com>

* peer dep

Signed-off-by: eromano <eugenioromano16@gmail.com>

* Angular 14

fix unit test and storybook

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix after rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

update pkg.json

Signed-off-by: eromano <eugenioromano16@gmail.com>

missing dep

Signed-off-by: eromano <eugenioromano16@gmail.com>

Fix mistake and missing code

Dream....build only affected libs

Add utility run commands

* Use nx command to run affected tests

* Fix nx test core

fix content tests

Run unit with watch false

core test fixes

reduce test warnings

Fix process cloud unit

Fix adf unit test

Fix lint process cloud

Disable lint next line

Use right core path

Fix insights unit

fix linting insights

Fix process-services unit

fix the extensions test report

fix test warnings

Fix content unit

Fix bunch of content unit

* Produce an adf alpha of 14

* hopefully fixing the content

* Push back the npm publish

* Remove flaky unit

* Fix linting

* Make the branch as root

* Get rid of angualar13

* Remove the travis depth

* Fixing version for npm

* Enabling cache for unit and build

* Fix scss for core and paths

Copy i18 and asset by using ng-packager

Export the theming alias and fix path

Use ng-package to copy assets process-services-cloud

Use ng-package to copy assets process-services

Use ng-package to copy assets content-services

Use ng-package to copy assets insights

* feat: fix api secondary entry point

* fix storybook rebase

* Move dist under dist/libs from lib/dist

* Fix the webstyle

* Use only necessary nrwl deps and improve lint

* Fix unit for libs

* Convert lint.sh to targets - improve performance

* Use latest of angular

* Align alfresco-js-api

Signed-off-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
2022-08-25 10:50:30 +01:00
Robert Duda 53bc5aab2c change wrong licence header dates (#7781)
* change wrong licence header dates

* trigger travis
2022-08-24 12:43:43 +02:00
Tomasz Gnyp 0d3db534f0 Fix incorrect import in card view array (#7774)
* fix incorrect import

* Trigger travis
2022-08-18 15:04:55 +01:00
Marcin Krueger 2a522579c0 [AAE-10214] Storybook ErrorContent Component (#7761)
* [AAE-10214] Storybook add stories for ErrorContent component

* [AAE-10214] Storybook change title and stories names

* [AAE-10214] Storybook add documentation table for stories

* [AAE-10214] Storybook add argument types and optimize modules import

* Trigger travis
2022-08-17 18:14:33 +02:00
Radosław Terelak 972aa256ee [AAE-10220] Storybook stories for Info Drawer component (#7757)
* [AAE-10220] Storybook stories for Info Drawer component

* Enchanced Docs, added IF statements & categories for the controls, created mock content

* Readded IF statements after the Storybook update, simplified args, adjusted naming convention in comments component

* Changed location of mocked content

* trigger travis
2022-08-17 16:18:20 +02:00
Marcin Krueger d3129e2ad5 [AAE-10202] Storybook EmptyContent component (#7745)
* [AAE-10202] Storybook add EmptyContent component stories

* [AAE-10202] Storybook add documentation table for stories

* [AAE-10202] Storybook change stories title path

* [AAE-10202] Storybook add type for template args

* Trigger travis

* [AAE-10202] Storybook fix error with updated version
2022-08-17 15:29:42 +02:00
Rafal Szmit 104a936026 [AAE-10347] Remove playwright travis job duplication (#7772)
* [AAE-10347] Remove playwright job duplication

* trigger travis
2022-08-17 14:56:41 +02:00
Shubham Bansal 07762308f5 ACA-4600 Added edit profile link (#7739)
* ACA-4600 Added edit profile link
2022-08-17 12:31:05 +00:00
Rafal Szmit 11e793257f [AAE-10261] SmartRunner fix (#7760)
* [AAE-1026] s3 store + fake test

* [ci:force] test run 1

* [ci:force] test run 2

* [ci:force] test run 3 - one job

* [ci:force] path fix

* [ci:force] install awscli

* add after script for all jobs

* [ci:force] trigger travis

* remove fake test

* trigger travis
2022-08-17 11:39:28 +02:00
Tomasz Gnyp d2a246ac2f [AAE-10292] Fix opening two dialogs for card view array items (#7770)
* [AAE-10292] Fix opening two dialogs for card view array items

* Trigger travis
2022-08-16 19:24:48 +02:00
Tomasz GnypandMichalFidor be0545801d [AAE-10105] Update Storybook to 6.5.10v (#7765)
* [AAE-10266] storybook 6.4.19 fix

* [AAE-10266] test storybook config

* [AAE-10266] Fix storybook config

* downgrade nrwl workspace to previous version

* remove duplicated logo

* downgrade nrwl version

* downgrade nrwl packages

* Trigger travis

* fix playwright config

* Fix storybook execute command

* Fix Playwright config v2

* Remove useless command

Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-08-16 13:14:02 +01:00
Ketevani Kvirikashvili 26c46cfb9d [AAE-10089] Process variables values are not shown for old tasks and … (#7744)
* [AAE-10089] Process variables values are not shown for old tasks and processes

* fix unit test and variable names

* change variableId
2022-08-11 11:33:32 +01:00
Popovics András fd0110e5c7 Release of 5.0.0-angular.13.2 (#7762)
* Release of 5.0.0-angular.13.2

* [ci:force]
2022-08-10 19:42:30 +02:00
Rafal Szmit e6e48e00c0 [AAE-10278] restore correct simpleapp (#7759) 2022-08-10 11:23:48 +01:00
Maurizio Vitale 7e7e026b81 Add the missing options (#7758) 2022-08-10 10:05:31 +01:00
2405 changed files with 85589 additions and 42170 deletions
-1
View File
@@ -17,7 +17,6 @@ demo-shell/resources/
/angular.json
/desktop.ini
/cspell.json
/.travis.yml
/CODE_OF_CONDUCT.md
/.stylelintignore
/ALFRESCOCORS.md
+8
View File
@@ -13,6 +13,14 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[*.yaml]
indent_style = space
indent_size = 2
[*.yml]
indent_style = space
indent_size = 2
[*.md]
max_line_length = off
trim_trailing_whitespace = false
+54 -4
View File
@@ -1,7 +1,14 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
"projects/**/*",
"**/node_modules/**/*",
"lib/cli/node_modules/**/*",
"**/node_modules",
"**/docker",
"**/assets",
"**/scripts",
"**/docs"
],
"overrides": [
{
@@ -23,7 +30,8 @@
"plugins": [
"eslint-plugin-unicorn",
"eslint-plugin-rxjs",
"ban"
"ban",
"license-header"
],
"rules": {
"ban/ban": [
@@ -74,7 +82,23 @@
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": [
"classProperty",
"objectLiteralProperty",
"typeProperty",
"classMethod",
"objectLiteralMethod",
"typeMethod",
"accessor",
"enumMember"
],
"format": null,
"modifiers": ["requiresQuotes"]
}
],
"@typescript-eslint/member-ordering": "off",
"prefer-arrow/prefer-arrow-functions": "off",
@@ -92,6 +116,31 @@
}
],
"no-bitwise": "off",
"no-console": [
"error",
{
"allow": [
"warn",
"dir",
"timeLog",
"assert",
"clear",
"count",
"countReset",
"group",
"groupEnd",
"table",
"dirxml",
"error",
"groupCollapsed",
"Console",
"profile",
"profileEnd",
"timeStamp",
"context"
]
}
],
"no-duplicate-imports": "error",
"no-multiple-empty-lines": "error",
"no-redeclare": "error",
@@ -107,7 +156,8 @@
"allowShortCircuit": true,
"allowTernary": true
}
]
],
"license-header/header": ["error", "./license-community.txt"]
}
},
{
+75
View File
@@ -0,0 +1,75 @@
name: "before-install"
description: "launch before_install.sh and then parse env vars"
inputs:
act:
description: 'enable act debug'
required: false
type: boolean
default: 'false'
runs:
using: "composite"
steps:
- name: Before install
if: ${{ ! env.ACT }}
shell: bash
run: |
pip install --user --quiet awscli
- name: base vars
shell: bash
run: |
{
echo "GIT_HASH=$(git rev-parse HEAD)";
echo "BASE_HASH=$(git merge-base origin/${GITHUB_BASE_REF} HEAD)";
echo "HEAD_HASH=HEAD";
echo "HEAD_COMMIT_HASH=${GH_COMMIT}";
echo "NX_CALCULATION_FLAGS=--all";
echo "BUILD_OPTS=--configuration production";
echo CI_FORCE_RUN=false;
echo NODE_VERSION=$(node -v);
} >> $GITHUB_ENV
- name: affected:* flag parser
shell: bash
if: ${{ contains(github.event.head_commit.message , '[affected:*]') }}
run: |
echo "Setting up CI to run with commit flag [affected:*] flag."
echo "BREAK_ACTION=true" >> $GITHUB_ENV
- name: PULL_REQUEST event
if: ${{ env.BREAK_ACTION == false && github.event_name == 'pull_request' && !github.event.pull_request.merged }}
shell: bash
run: |
echo "Setting up CI flags for Pull Request event"
NX_CALCULATION_FLAGS="--base=origin/${GITHUB_BASE_REF} --head=$HEAD_HASH"
{
echo "NX_CALCULATION_FLAGS=$NX_CALCULATION_FLAGS";
echo "BASE_HASH=origin/${GITHUB_BASE_REF}";
echo "BREAK_ACTION=true";
} >> $GITHUB_ENV
- name: RELEASE on master/develop patch branch
if: ${{ env.BREAK_ACTION == false && github.event.pull_request.merged }}
shell: bash
run: |
if [[ "${{ github.ref_name }}" =~ ^master(-patch.*)?$ ]]; then
# into master(-patch*)
echo "Setting up CI flags for Push on master patch"
elif [[ "${{ github.ref_name }}" =~ ^develop-patch.*$ ]]; then
# into develop-patch*
echo "Setting up CI flags for Push develop patch"
else
echo "Setting up CI flags for Push on develop branch"
base=$(git describe --tags $(git rev-list --tags --max-count=1))
echo "NX_CALCULATION_FLAGS=--base=$base --head=$HEAD_HASH" >> $GITHUB_ENV
fi
echo "BREAK_ACTION=true" >> $GITHUB_ENV
- name: SCHEDULE event
if: ${{ github.event_name == 'schedule' }}
shell: bash
env:
EV_NAME: ${{ github.event_name }}
run: |
echo "Setting up CI to run on SCHEDULE"
echo "NX_CALCULATION_FLAGS=--all" >> $GITHUB_ENV
@@ -0,0 +1,27 @@
name: "Download build artifacts"
description: "Download build artifacts"
runs:
using: "composite"
steps:
- name: download and extract artifacts from s3
shell: bash
env:
REMOTE_PATH: "alfresco-ng2-components/build-cache/${{ github.run_id }}"
run: |
packages=( dist nxcache node_modules )
for i in "${packages[@]}"; do
time aws s3 cp --no-progress s3://${S3_BUILD_BUCKET_SHORT_NAME}/${REMOTE_PATH}/$i.tar.gz $i.tar.gz
du -h $i.tar.gz
time tar xzf $i.tar.gz
done
- name: show files
shell: bash
run: |
pwd
ls -lha
echo "====DIST===="
find dist -maxdepth 1 -type d
echo "====NXCACHE===="
find nxcache -maxdepth 1 -type d
echo "====ADF===="
find node_modules/@alfresco/ -maxdepth 1 -type d
+178
View File
@@ -0,0 +1,178 @@
name: "e2e"
description: "e2e"
inputs:
e2e-test-id:
description: "Test id"
required: true
e2e-test-folder:
description: "Test folder"
required: true
e2e-test-provider:
description: "Test provider"
required: true
e2e-test-auth:
description: "Test auth"
required: true
output:
description: "Output path"
required: true
check-cs-env:
required: true
description: check cs env
default: "false"
check-ps-env:
required: true
description: check ps env
default: "false"
check-external-cs-env:
required: true
description: check external cs env
default: "false"
check-ps-cloud-env:
required: true
description: check ps cloud env
default: "false"
e2e-tar-name: #
required: false
default: e2e.tar.gz
apa-proxy: #
description: "proxy host"
required: true
deps:
description: "Library dependencies"
required: false
default: ""
runs:
using: "composite"
steps:
- name: use APA as PROXY host if apa-proxy is set
shell: bash
run: |
if [[ -n "${{ inputs.apa-proxy }}" ]]; then
echo "APA proxy set."
echo "PROXY_HOST_BPM=${E2E_HOST_APA}" >> $GITHUB_ENV
fi
- name: install aws cli
shell: bash
run: pip install awscli
- name: download smartrunner test results from s3 bucket if they exist
shell: bash
env:
REMOTE_PATH: smart-runner/${{ github.run_id}}/${{ inputs.e2e-test-folder }}-${{ inputs.e2e-test-id}}/e2e.tar.gz
run: |
set -u;
mkdir -p "${SMART_RUNNER_PATH}"
if [[ $(aws s3 ls "s3://${S3_BUILD_BUCKET_SHORT_NAME}/adf/${REMOTE_PATH}" > /dev/null; echo $?) -eq 0 ]]; then
echo "downloading test files"
aws s3 cp "s3://${S3_BUILD_BUCKET_SHORT_NAME}/adf/${REMOTE_PATH}" .;
tar xzf ${{ inputs.e2e-tar-name }};
else
echo "nothing to download";
fi
- name: check EXTERNAL-CS is UP
shell: bash
if: ${{ inputs.check-external-cs-env == 'true' }}
run: |
set -u;
./node_modules/@alfresco/adf-cli/bin/adf-cli \
check-cs-env \
--host "$EXTERNAL_ACS_HOST" \
-u "$E2E_USERNAME" \
-p "$E2E_PASSWORD" || exit 1
- name: Check CS is UP
shell: bash
if: ${{ inputs.check-cs-env == 'true' }}
run: |
set -u;
./node_modules/@alfresco/adf-cli/bin/adf-cli \
check-cs-env \
--host "$E2E_HOST" \
-u "$E2E_USERNAME" \
-p "$E2E_PASSWORD" || exit 1
- name: check PS is UP
shell: bash
if: ${{ inputs.check-ps-env == 'true' }}
run: |
set -u;
./node_modules/@alfresco/adf-cli/bin/adf-cli init-aps-env \
--host "$E2E_HOST" \
-u "$E2E_USERNAME" \
-p "$E2E_PASSWORD" \
--license "$AWS_S3_BUCKET_ACTIVITI_LICENSE" || exit 1
- name: check PS-CLOUD is UP
shell: bash
if: ${{ inputs.check-ps-cloud-env == 'true' }}
run: |
set -u;
./node_modules/@alfresco/adf-cli/bin/adf-cli init-aae-env \
--oauth "$E2E_HOST" \
--host "$E2E_HOST_APA" \
--modelerUsername "$E2E_MODELER_USERNAME" \
--modelerPassword "$E2E_MODELER_PASSWORD" \
--devopsUsername "$E2E_DEVOPS_USERNAME" \
--devopsPassword "$E2E_DEVOPS_PASSWORD" \
--clientId 'alfresco' || exit 1
- name: variables sanification
env:
FOLDER: "${{ inputs.e2e-test-folder }}"
PROVIDER: "${{ inputs.e2e-test-provider }}"
AUTH_TYPE: "${{ inputs.e2e-test-auth }}"
E2E_TEST_ID: "${{ inputs.e2e-test-id }}"
DEPS: "${{ inputs.deps }}"
shell: bash
run: |
set -u;
echo $PROXY_HOST_BPM
echo "GIT_HASH=$GIT_HASH" >> $GITHUB_ENV
- name: run test with retries
id: retry_run
env:
FOLDER: "${{ inputs.e2e-test-folder }}"
PROVIDER: "${{ inputs.e2e-test-provider }}"
AUTH_TYPE: "${{ inputs.e2e-test-auth }}"
E2E_TEST_ID: "${{ inputs.e2e-test-id }}"
DEPS: "${{ inputs.deps }}"
uses: nick-fields/retry@v2.8.2
with:
timeout_minutes: 40
max_attempts: 2
retry_wait_seconds: 30
shell: bash
command: |
set -u;
export GH_ACTION_RETRY_COUNT=$(cat ${GITHUB_OUTPUT} | grep -E '^[0-9]{1,2}$' | tail -n1)
echo "RETRY GH_ACTION_RETRY_COUNT = <$GH_ACTION_RETRY_COUNT>"
if [[ ${{ inputs.e2e-test-folder }} == 'content-services/upload' ]]; then
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
bash ./scripts/github/e2e/e2e.sh "$E2E_TEST_ID" "$DEPS" "browser" || exit 1
else
bash ./scripts/github/e2e/e2e.sh "$E2E_TEST_ID" "$DEPS" || exit 1
fi
- name: upload artifacts on gh
id: upload_gh
uses: actions/upload-artifact@v3
with:
name: e2e-artifact-output
path: /home/runner/work/alfresco-ng2-components/alfresco-ng2-components/e2e-output-*
- name: upload smart-runner tests results on s3 to cache tests
shell: bash
if: always()
env:
REMOTE_PATH: "smart-runner/${{ github.run_id}}/${{ inputs.e2e-test-folder }}-${{ inputs.e2e-test-id}}/e2e.tar.gz"
# description: always upload newer results
run: |
tar czf "${{ inputs.e2e-tar-name }}" "${SMART_RUNNER_PATH}"
aws s3 cp "${{ inputs.e2e-tar-name }}" "s3://${S3_BUILD_BUCKET_SHORT_NAME}/adf/${REMOTE_PATH}"
+30
View File
@@ -0,0 +1,30 @@
name: 'enable dryrun'
description: 'check if must run pipeline in dryrun mode'
inputs:
dry-run-flag:
description: 'enable dryrun'
required: false
type: boolean
default: true
outputs:
dryrun:
description: "long sha of the tag"
value: ${{ steps.dryrun.outputs.dryrun }}
runs:
using: "composite"
steps:
- name: set dryrun flag to TRUE
shell: bash
id: dryrun
run: |
if [[ '${{ inputs.dry-run-flag }}' == 'true' ]]; then
echo "dryrun=--dryrun" >> $GITHUB_OUTPUT;
echo "enabling dryrun"
else
echo "dryrun=" >> $GITHUB_OUTPUT;
echo "dryrun NOT enabled"
fi
@@ -0,0 +1,19 @@
name: 'Get tag sha'
description: 'get the sha of the latest or a specific tag'
outputs:
tag_sha:
description: "long sha of the tag"
value: ${{ steps.sha_out.outputs.tag_sha }}
runs:
using: "composite"
steps:
- name: get tag short sha
shell: bash
id: sha_out
run: |
tag_sha=$(git rev-list -n 1 $(git tag --sort=-creatordate | head -n 1))
echo "tag_sha=$tag_sha" >> $GITHUB_OUTPUT
echo $tag_sha
@@ -0,0 +1,28 @@
name: 'Check NPM bundle'
description: 'check npm bundle'
inputs:
branch_name:
description: "override GITHUB_REF_NAME"
required: false
default: $GITHUB_REF_NAME
runs:
using: "composite"
steps:
- name: load "NPM TAG"
uses: ./.github/actions/set-npm-tag
with:
branch_name: ${{ inputs.branch_name }}
- name: check npm bundle
shell: bash
id: sha_out
run: |
if [[ -z $TAG_NPM ]]; then
echo "TAG_NPM not set, aborting"
exit 1
fi
ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
echo "check bundle on TAG_NPM='${TAG_NPM}' and ADF_VERSION='${ADF_VERSION}'"
./scripts/github/build/npm-check-bundles.sh -v ${ADF_VERSION}
+37
View File
@@ -0,0 +1,37 @@
name: "set npm tag"
description: "se NPM tag"
inputs:
event_name:
description: "override github.event_name"
required: false
default: ${{ github.event_name }}
branch_name:
description: "override GITHUB_REF_NAME"
required: false
default: $GITHUB_REF_NAME
runs:
using: "composite"
steps:
- name: set TAG_NPM
shell: bash
run: |
TAG_NPM="alpha"
VERSION_IN_PACKAGE_JSON=$(node -p "require('./package.json')".version)
echo "version in package.json=${VERSION_IN_PACKAGE_JSON}"
if [[ ${{ inputs.branch_name }} =~ ^master(-patch.*)?$ ]]; then
# Pre-release versions
if [[ $VERSION_IN_PACKAGE_JSON =~ ^[0-9]*\.[0-9]*\.[0-9]*-A\.[0-9]*$ ]];
then
TAG_NPM=next
# Stable major versions
else
TAG_NPM=latest
fi
fi
if [[ ${{ inputs.branch_name }} =~ ^develop(-patch.*)?$ ]]; then
TAG_NPM=alpha
fi
echo "TAG_NPM=${TAG_NPM}" >> $GITHUB_ENV
+13
View File
@@ -0,0 +1,13 @@
name: 'Install Google Chrome'
description: 'Install Google Chrome'
runs:
using: "composite"
steps:
- name: Install google chrome
shell: bash
run: |
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
sudo ln -s /usr/bin/google-chrome /usr/bin/chrome
chrome --version
+61
View File
@@ -0,0 +1,61 @@
name: 'Setup'
description: 'Initialize cache, env var load'
inputs:
enable-cache:
description: 'enable caching'
required: false
type: boolean
default: 'true'
enable-node-modules-cache:
description: 'enable caching for node modules'
required: false
type: boolean
default: 'true'
act:
description: 'enable act debug'
required: false
type: boolean
default: 'false'
runs:
using: "composite"
steps:
- name: install NPM
uses: actions/setup-node@v3
with:
node-version: 14
cache-dependency-path: package-lock.json
- name: get latest tag sha
id: tag-sha
uses: Alfresco/alfresco-build-tools/.github/actions/git-latest-tag@v1.29.0
# CACHE
- name: Node Modules cache
id: node-modules-cache
if: ${{ inputs.enable-node-modules-cache == 'true' }}
uses: actions/cache@v3
env:
cache-name: node-modules-cache
with:
path: |
node_modules
key: .npm-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
node_modules-${{ runner.os }}-build-${{ env.cache-name }}-
node_modules-${{ runner.os }}-build-
node_modules-${{ runner.os }}-
- name: pip cache
uses: actions/cache@v3
if: ${{ inputs.enable-cache == 'true' }}
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-
restore-keys: |
${{ runner.os }}
- name: load "NPM TAG"
uses: ./.github/actions/set-npm-tag
- name: before install script
uses: ./.github/actions/before-install
with:
act: ${{ inputs.act }}
- name: link nx executable
run: sudo ln -s $(npm bin)/nx /usr/bin/nx
shell: bash
@@ -0,0 +1,19 @@
name: "Upload build artifacts"
description: "Upload build artifacts"
runs:
using: "composite"
steps:
- name: tar and upload artifacts
shell: bash
env:
REMOTE_PATH: "alfresco-ng2-components/build-cache/${{ github.run_id }}"
run: |
packages=( dist nxcache node_modules )
for i in "${packages[@]}"; do
time tar czf $i.tar.gz $i
du -h $i.tar.gz
time aws s3 cp --no-progress $i.tar.gz "s3://${S3_BUILD_BUCKET_SHORT_NAME}/${REMOTE_PATH}/$i.tar.gz"
done
+1
View File
@@ -5,6 +5,7 @@ updates:
schedule:
interval: "weekly"
day: "sunday"
time: "07:00"
open-pull-requests-limit: 5
target-branch: develop
ignore:
+98
View File
@@ -0,0 +1,98 @@
name: "upstream adf"
on:
workflow_call:
inputs:
repo_to_update:
description: Repository to update
type: string
required: false
default: alfresco-applications
workflow_dispatch:
inputs:
cluster_operation:
description: trigger adf test
type: choice
required: true
options:
- TRIGGER_ALPHA_ADF
default: TRIGGER_ALPHA_ADF
repo_to_update:
description: Repository to update
type: choice
required: true
options:
- all
- alfresco-content-app
- alfresco-applications
- alfresco-apps
default: all
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_BRANCH: ${{ github.ref_name }}
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
GH_BUILD_DIR: ${{ github.workspace }}
GH_COMMIT: ${{ github.sha }}
BUILD_ID: ${{ github.run_id }}
GH_RUN_NUMBER: ${{ github.run_attempt }}
GH_BUILD_NUMBER: ${{ github.run_id }}
JOB_ID: ${{ github.run_id }}
PROXY_HOST_BPM: ${{ secrets.E2E_HOST }}
E2E_HOST_APA: ${{ secrets.E2E_HOST_APA }}
E2E_HOST: ${{ secrets.E2E_HOST }}
E2E_USERNAME: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_PASSWORD: ${{ secrets.E2E_PASSWORD }}
E2E_ADMIN_EMAIL_IDENTITY: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_ADMIN_PASSWORD_IDENTITY: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
USERNAME_ADF: ${{ secrets.E2E_USERNAME }}
PASSWORD_ADF: ${{ secrets.E2E_PASSWORD }}
URL_HOST_ADF: ${{ secrets.URL_HOST_ADF }}
IDENTITY_ADMIN_EMAIL: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
IDENTITY_ADMIN_PASSWORD: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
AWS_S3_BUCKET_ACTIVITI_LICENSE: ${{ secrets.AWS_S3_BUCKET_ACTIVITI_LICENSE }}
HOST_SSO: ${{ secrets.HOST_SSO }}
LOG_LEVEL: "ERROR"
E2E_LOG_LEVEL: "ERROR"
E2E_MODELER_USERNAME: ${{ secrets.E2E_MODELER_USERNAME }}
E2E_MODELER_PASSWORD: ${{ secrets.E2E_MODELER_PASSWORD }}
EXTERNAL_ACS_HOST: ${{ secrets.EXTERNAL_ACS_HOST }}
E2E_DEVOPS_USERNAME: ${{ secrets.E2E_DEVOPS_USERNAME }}
E2E_DEVOPS_PASSWORD: ${{ secrets.E2E_DEVOPS_PASSWORD }}
USERNAME_SUPER_ADMIN_ADF: ${{ secrets.USERNAME_SUPER_ADMIN_ADF }}
PASSWORD_SUPER_ADMIN_ADF: ${{ secrets.PASSWORD_SUPER_ADMIN_ADF }}
HR_USER: ${{ secrets.HR_USER }}
HR_USER_PASSWORD: ${{ secrets.HR_USER_PASSWORD }}
NPM_REGISTRY_ADDRESS: ${{ secrets.NPM_REGISTRY_ADDRESS }}
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
DOCKER_REPOSITORY_USER: ${{ secrets.DOCKER_REPOSITORY_USER }}
DOCKER_REPOSITORY_PASSWORD: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
DOCKER_REPOSITORY_DOMAIN: ${{ secrets.DOCKER_REPOSITORY_DOMAIN }}
DOCKER_REPOSITORY_STORYBOOK: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/storybook"
DOCKER_REPOSITORY: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/demo-shell"
NODE_OPTIONS: "--max-old-space-size=5120"
GH_PACKAGES_READ_ONLY_TOKEN: "${{ secrets.HYLAND_GH_PACKAGES_READ_ONLY_TOKEN }}"
jobs:
trigger_adf:
name: trigger adf
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: install NPM
uses: actions/setup-node@v3
with:
node-version: 14
cache-dependency-path: package-lock.json
- name: Trigger Alpha ADF child build
shell: bash
if: ${{ contains(github.event.head_commit.message, '[trigger adf]') || inputs.cluster_operation == 'TRIGGER_ALPHA_ADF' || github.event.schedule == '0 12 * * *' }}
run: |
npm install github-api
./scripts/github/update/update-project.sh -p $GH_BUILD_NUMBER -t $GH_TOKEN -v alpha -c $GH_COMMIT -r ${{ inputs.repo_to_update }}
exit $?
+4 -9
View File
@@ -16,20 +16,15 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
with:
languages: javascript
@@ -37,7 +32,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -51,4 +46,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
+73
View File
@@ -0,0 +1,73 @@
name: "cron e2e daily"
on:
schedule:
- cron: '0 12 * * *'
env:
BASE_REF: ${{ github.base_ref }}
HEAD_REF: ${{ github.head_ref }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_BRANCH: ${{ github.ref_name }}
GH_BUILD_DIR: ${{ github.workspace }}
GH_COMMIT: ${{ github.sha }}
BUILD_ID: ${{ github.run_id }}
GH_RUN_NUMBER: ${{ github.run_attempt }}
GH_BUILD_NUMBER: ${{ github.run_id }}
JOB_ID: ${{ github.run_id }}
PROXY_HOST_BPM: ${{ secrets.E2E_HOST }}
E2E_HOST_APA: ${{ secrets.E2E_HOST_APA }}
E2E_HOST: ${{ secrets.E2E_HOST }}
E2E_USERNAME: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_PASSWORD: ${{ secrets.E2E_PASSWORD }}
E2E_ADMIN_EMAIL_IDENTITY: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_ADMIN_PASSWORD_IDENTITY: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
USERNAME_ADF: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
PASSWORD_ADF: ${{ secrets.E2E_PASSWORD }}
URL_HOST_ADF: "http://localhost:4200"
IDENTITY_ADMIN_EMAIL: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
IDENTITY_ADMIN_PASSWORD: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
AWS_S3_BUCKET_ACTIVITI_LICENSE: ${{ secrets.AWS_S3_BUCKET_ACTIVITI_LICENSE }}
HOST_SSO: ${{ secrets.HOST_SSO }}
LOG_LEVEL: "ERROR"
E2E_LOG_LEVEL: "ERROR"
E2E_MODELER_USERNAME: ${{ secrets.E2E_MODELER_USERNAME }}
E2E_MODELER_PASSWORD: ${{ secrets.E2E_MODELER_PASSWORD }}
EXTERNAL_ACS_HOST: ${{ secrets.EXTERNAL_ACS_HOST }}
E2E_DEVOPS_USERNAME: ${{ secrets.E2E_DEVOPS_USERNAME }}
E2E_DEVOPS_PASSWORD: ${{ secrets.E2E_DEVOPS_PASSWORD }}
USERNAME_SUPER_ADMIN_ADF: ${{ secrets.USERNAME_SUPER_ADMIN_ADF }}
PASSWORD_SUPER_ADMIN_ADF: ${{ secrets.PASSWORD_SUPER_ADMIN_ADF }}
HR_USER: ${{ secrets.HR_USER }}
HR_USER_PASSWORD: ${{ secrets.HR_USER_PASSWORD }}
SMART_RUNNER_PATH: ".protractor-smartrunner"
S3_DBP_PATH: ${{ secrets.S3_DBP_PATH }}
S3_BUILD_BUCKET_SHORT_NAME: ${{ secrets.S3_BUILD_BUCKET_SHORT_NAME }}
NODE_OPTIONS: "--max-old-space-size=5120"
DOCKER_REPOSITORY_DOMAIN: ${{ secrets.DOCKER_REPOSITORY_DOMAIN }}
DOCKER_REPOSITORY_USER: ${{ secrets.DOCKER_REPOSITORY_USER }}
DOCKER_REPOSITORY_PASSWORD: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
DOCKER_REPOSITORY_STORYBOOK: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/storybook"
DOCKER_REPOSITORY: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/demo-shell"
REPO_OWNER: "Alfresco"
REPO_NAME: "alfresco-ng2-components"
DEMO_SHELL_DIR: "./dist/demo-shell"
STORYBOOK_DIR: "./dist/storybook/stories"
BUILT_LIBS_DIR: "./dist/libs"
NODE_MODULES_DIR: "./node_modules"
SMART_RUNNER_DIRECTORY: ".protractor-smartrunner"
SAVE_SCREENSHOT: true
REDIRECT_URI: /
BROWSER_RUN: false
MAXINSTANCES: 2
PLAYWRIGHT_WORKERS: 2
PLAYWRIGHT_STORYBOOK_E2E_HOST: http://localhost
PLAYWRIGHT_STORYBOOK_E2E_PORT: 4400
PROXY_HOST_ECM: ${{ secrets.E2E_HOST }}
jobs:
run-e2e:
name: run e2e
uses: ./.github/workflows/pull-request.yml
secrets: inherit
+20
View File
@@ -0,0 +1,20 @@
name: "cron upstream daily"
on:
schedule:
- cron: '0 12 * * *'
jobs:
adf-upstream-alpha-alfresco-aca:
name: trigger upstream alpha for alfresco-content-app
uses: ./.github/workflows/adf_alpha.yml
secrets: inherit
with:
repo_to_update: alfresco-content-app
adf-upstream-alpha-alfresco-apps:
name: trigger upstream alpha for alfresco-applications
uses: ./.github/workflows/adf_alpha.yml
secrets: inherit
with:
repo_to_update: alfresco-applications
+111
View File
@@ -0,0 +1,111 @@
name: "git-tag"
on:
workflow_call:
inputs:
dry-run-release:
description: 'enable dry-run on artifact push'
required: false
type: boolean
default: true
push:
branches:
- master
- master-patch-*
env:
BASE_REF: ${{ github.base_ref }}
HEAD_REF: ${{ github.head_ref }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_BRANCH: ${{ github.ref_name }}
GH_BUILD_DIR: ${{ github.workspace }}
GH_COMMIT: ${{ github.sha }}
BUILD_ID: ${{ github.run_id }}
GH_RUN_NUMBER: ${{ github.run_attempt }}
GH_BUILD_NUMBER: ${{ github.run_id }}
JOB_ID: ${{ github.run_id }}
PROXY_HOST_BPM: ${{ secrets.E2E_HOST }}
E2E_HOST_APA: ${{ secrets.E2E_HOST_APA }}
E2E_HOST: ${{ secrets.E2E_HOST }}
E2E_USERNAME: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_PASSWORD: ${{ secrets.E2E_PASSWORD }}
E2E_ADMIN_EMAIL_IDENTITY: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_ADMIN_PASSWORD_IDENTITY: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
USERNAME_ADF: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
PASSWORD_ADF: ${{ secrets.E2E_PASSWORD }}
URL_HOST_ADF: "http://localhost:4200"
IDENTITY_ADMIN_EMAIL: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
IDENTITY_ADMIN_PASSWORD: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
AWS_S3_BUCKET_ACTIVITI_LICENSE: ${{ secrets.AWS_S3_BUCKET_ACTIVITI_LICENSE }}
HOST_SSO: ${{ secrets.HOST_SSO }}
LOG_LEVEL: "ERROR"
E2E_LOG_LEVEL: "ERROR"
E2E_MODELER_USERNAME: ${{ secrets.E2E_MODELER_USERNAME }}
E2E_MODELER_PASSWORD: ${{ secrets.E2E_MODELER_PASSWORD }}
EXTERNAL_ACS_HOST: ${{ secrets.EXTERNAL_ACS_HOST }}
E2E_DEVOPS_USERNAME: ${{ secrets.E2E_DEVOPS_USERNAME }}
E2E_DEVOPS_PASSWORD: ${{ secrets.E2E_DEVOPS_PASSWORD }}
USERNAME_SUPER_ADMIN_ADF: ${{ secrets.USERNAME_SUPER_ADMIN_ADF }}
PASSWORD_SUPER_ADMIN_ADF: ${{ secrets.PASSWORD_SUPER_ADMIN_ADF }}
HR_USER: ${{ secrets.HR_USER }}
HR_USER_PASSWORD: ${{ secrets.HR_USER_PASSWORD }}
SMART_RUNNER_PATH: ".protractor-smartrunner"
S3_DBP_PATH: ${{ secrets.S3_DBP_PATH }}
S3_BUILD_BUCKET_SHORT_NAME: ${{ secrets.S3_BUILD_BUCKET_SHORT_NAME }}
NODE_OPTIONS: "--max-old-space-size=5120"
DOCKER_REPOSITORY_DOMAIN: ${{ secrets.DOCKER_REPOSITORY_DOMAIN }}
DOCKER_REPOSITORY_USER: ${{ secrets.DOCKER_REPOSITORY_USER }}
DOCKER_REPOSITORY_PASSWORD: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
DOCKER_REPOSITORY_STORYBOOK: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/storybook"
DOCKER_REPOSITORY: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/demo-shell"
NPM_REGISTRY_ADDRESS: ${{ secrets.NPM_REGISTRY_ADDRESS }}
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
REPO_OWNER: "Alfresco"
REPO_NAME: "alfresco-ng2-components"
DEMO_SHELL_DIR: "./dist/demo-shell"
STORYBOOK_DIR: "./dist/storybook/stories"
BUILT_LIBS_DIR: "./dist/libs"
NODE_MODULES_DIR: "./node_modules"
SMART_RUNNER_DIRECTORY: ".protractor-smartrunner"
SAVE_SCREENSHOT: true
REDIRECT_URI: /
BROWSER_RUN: false
MAXINSTANCES: 2
PLAYWRIGHT_WORKERS: 2
PLAYWRIGHT_STORYBOOK_E2E_HOST: http://localhost
PLAYWRIGHT_STORYBOOK_E2E_PORT: 4400
PROXY_HOST_ECM: ${{ secrets.E2E_HOST }}
jobs:
release:
uses: ./.github/workflows/release.yml
secrets: inherit
with:
dry-run-release: false
setup:
needs: release
timeout-minutes: 20
name: "Release tag"
runs-on: ubuntu-22.04
env:
GITHUB_TOKEN: $GH_TOKEN
steps:
- name: Checkout repository
uses: actions/checkout@v3
- id: set-dryrun
uses: ./.github/actions/enable-dryrun
with:
dry-run-flag: ${{ inputs.dry-run-release }}
- name: install NPM
uses: actions/setup-node@v3
with:
node-version: 14
- name: "Release tag"
run: |
git fetch --all --quiet
BRANCH=${GITHUB_REF##*/} ./scripts/github/release/git-tag.sh ${{ steps.set-dryrun.outputs.dryrun }}
+28
View File
@@ -0,0 +1,28 @@
name: Package published
on:
registry_package:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
if: github.event.registry_package.package_type == 'npm' && github.event.registry_package.name == 'adf-core'
steps:
- name: Dispatch event to monorepo
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT_WRITE_PKG }}
script: |
const payload = {
package_name: "${{ github.event.registry_package.name }}",
package_version: "${{ github.event.registry_package.package_version.name }}"
};
await github.rest.repos.createDispatchEvent({
owner: context.repo.owner,
repo: "alfresco-apps",
event_type: "package-published",
client_payload: payload
});
console.log(`Trigger a dispatch event for the monorepo`);
+466
View File
@@ -0,0 +1,466 @@
name: "pull-request"
on:
workflow_call:
inputs:
dry-run-release:
description: 'enable dry-run on artifact push'
required: false
type: boolean
default: true
devel:
description: 'devel'
required: false
type: string
default: false
pull_request:
types: [opened, synchronize, reopened]
branches:
- develop
- master
- develop-patch*
- master-patch*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
BASE_REF: ${{ github.base_ref }}
HEAD_REF: ${{ github.head_ref }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_BRANCH: ${{ github.ref_name }}
GH_BUILD_DIR: ${{ github.workspace }}
GH_COMMIT: ${{ github.sha }}
BUILD_ID: ${{ github.run_id }}
GH_RUN_NUMBER: ${{ github.run_attempt }}
GH_BUILD_NUMBER: ${{ github.run_id }}
JOB_ID: ${{ github.run_id }}
PROXY_HOST_BPM: ${{ secrets.E2E_HOST }}
E2E_HOST_APA: ${{ secrets.E2E_HOST_APA }}
E2E_HOST: ${{ secrets.E2E_HOST }}
E2E_USERNAME: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_PASSWORD: ${{ secrets.E2E_PASSWORD }}
E2E_ADMIN_EMAIL_IDENTITY: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_ADMIN_PASSWORD_IDENTITY: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
USERNAME_ADF: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
PASSWORD_ADF: ${{ secrets.E2E_PASSWORD }}
URL_HOST_ADF: "http://localhost:4200"
IDENTITY_ADMIN_EMAIL: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
IDENTITY_ADMIN_PASSWORD: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
AWS_S3_BUCKET_ACTIVITI_LICENSE: ${{ secrets.AWS_S3_BUCKET_ACTIVITI_LICENSE }}
HOST_SSO: ${{ secrets.HOST_SSO }}
LOG_LEVEL: "ERROR"
E2E_LOG_LEVEL: "ERROR"
E2E_MODELER_USERNAME: ${{ secrets.E2E_MODELER_USERNAME }}
E2E_MODELER_PASSWORD: ${{ secrets.E2E_MODELER_PASSWORD }}
EXTERNAL_ACS_HOST: ${{ secrets.EXTERNAL_ACS_HOST }}
E2E_DEVOPS_USERNAME: ${{ secrets.E2E_DEVOPS_USERNAME }}
E2E_DEVOPS_PASSWORD: ${{ secrets.E2E_DEVOPS_PASSWORD }}
USERNAME_SUPER_ADMIN_ADF: ${{ secrets.USERNAME_SUPER_ADMIN_ADF }}
PASSWORD_SUPER_ADMIN_ADF: ${{ secrets.PASSWORD_SUPER_ADMIN_ADF }}
HR_USER: ${{ secrets.HR_USER }}
HR_USER_PASSWORD: ${{ secrets.HR_USER_PASSWORD }}
SMART_RUNNER_PATH: ".protractor-smartrunner"
S3_DBP_PATH: ${{ secrets.S3_DBP_PATH }}
S3_BUILD_BUCKET_SHORT_NAME: ${{ secrets.S3_BUILD_BUCKET_SHORT_NAME }}
NODE_OPTIONS: "--max-old-space-size=5120"
DOCKER_REPOSITORY_DOMAIN: ${{ secrets.DOCKER_REPOSITORY_DOMAIN }}
DOCKER_REPOSITORY_USER: ${{ secrets.DOCKER_REPOSITORY_USER }}
DOCKER_REPOSITORY_PASSWORD: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
DOCKER_REPOSITORY_STORYBOOK: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/storybook"
DOCKER_REPOSITORY: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/demo-shell"
REPO_OWNER: "Alfresco"
REPO_NAME: "alfresco-ng2-components"
DEMO_SHELL_DIR: "./dist/demo-shell"
STORYBOOK_DIR: "./dist/storybook/stories"
BUILT_LIBS_DIR: "./dist/libs"
NODE_MODULES_DIR: "./node_modules"
SMART_RUNNER_DIRECTORY: ".protractor-smartrunner"
SAVE_SCREENSHOT: true
REDIRECT_URI: /
BROWSER_RUN: false
MAXINSTANCES: 2
PLAYWRIGHT_WORKERS: 2
PLAYWRIGHT_STORYBOOK_E2E_HOST: http://localhost
PLAYWRIGHT_STORYBOOK_E2E_PORT: 4400
PROXY_HOST_ECM: ${{ secrets.E2E_HOST }}
jobs:
check-package-lock:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Check package-lock.json version
run: |
if [[ $(jq '.lockfileVersion == 2' package-lock.json) == "true" ]] ; then
echo -e "\033[31mpackage-lock must be version 1\033[0m"
exit 1
else
echo -e "\033[32mpackage-lock.json has a correct version\033[0m"
fi
check-if-pr-is-approved:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get branch name
uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v1.36.0
- name: Save commit message
uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.36.0
- name: ci:force flag parser
shell: bash
run: |
if [ "${{ github.event_name }}" == "schedule" ] || [ "${{ github.actor }}" == "dependabot[bot]" ]; then
echo -e "\033[32mci:force check can be skipped\033[0m"
skip_check="true"
elif [[ "$COMMIT_MESSAGE" == *"[ci:force]"* ]]; then
echo -e "\033[32m[ci:force] flag detected. No need for approval.\033[0m"
skip_check="true"
fi
- name: Get PR number
if: ${{ github.event_name != 'schedule' }}
uses: kamatama41/get-pr-number-action@5c77b38a1b4974ebf8a9521a689f38a5898eadd6
id: action
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: show pr number
shell: bash
run: |
echo "PR: ${{ steps.action.outputs.number }}"
- name: check if pr is approved
env:
DEVEL_FLAG: ${{ inputs.devel }}
GH_TOKEN: ${{ github.token }}
skip_check: "false"
run: |
if [ "${{ github.event_name }}" == "schedule" ] || [ "${{ github.actor }}" == "dependabot[bot]" ]; then
echo -e "\033[32mci:force check can be skipped\033[0m"
skip_check="true"
elif [[ "$COMMIT_MESSAGE" == *"[ci:force]"* ]]; then
echo -e "\033[32m[ci:force] flag detected. No need for approval.\033[0m"
skip_check="true"
fi
if [ "${{ github.actor }}" == "dependabot[bot]" ] || [ "${{ github.actor }}" == "alfresco-build" ]; then
echo -e "\033[32mCommit by ${{ github.actor }}. No need for approval.\033[0m"
skip_check="true"
fi
if [ "${{ github.event_name }}" == "schedule" ]; then
echo -e "\033[32mSchedule event\033[0m"
skip_check="true"
fi
if [[ "$DEVEL_FLAG" == "true" ]]; then
echo -e "\033[32mDevel flag\033[0m"
skip_check="true"
fi
if [ "$skip_check" == "false" ]; then
echo "Checking PR approval"
prNumber=${{ steps.action.outputs.number }}
echo "PR: $prNumber"
checkApproval=$(gh api /repos/$GITHUB_REPOSITORY/pulls/$prNumber/reviews | jq '.[] | select(.state == "APPROVED") | .user.login')
if [[ $checkApproval ]]; then
echo -e "\033[32mPR approved\033[0m"
else
echo -e "\033[31mPR NOT approved\033[0m"
exit 1
fi
fi
setup:
# long timeout required when cache has to be recreated
timeout-minutes: 30
name: "Setup"
runs-on: ubuntu-22.04
needs: [check-if-pr-is-approved, check-package-lock]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
- name: install
run: |
npm ci
nx run cli:bundle
nx run testing:bundle
- run: nx print-affected $NX_CALCULATION_FLAGS
- uses: ./.github/actions/upload-node-modules-and-artifacts
unit-tests:
timeout-minutes: 30
name: "Unit tests: ${{ matrix.unit-tests.name }}"
runs-on: ubuntu-22.04
needs: [setup]
strategy:
fail-fast: false
# max-parallel: 4
matrix:
unit-tests:
- name: content-services
exclude: "insights,core,extensions,process-services,process-services-cloud"
- name: core
exclude: "insights,content-services,process-services,process-services-cloud"
- name: insights
exclude: "core,extensions,content-services,process-services-cloud,process-services"
- name: process-services
exclude: "core,extensions,content-services,process-services-cloud,insights"
- name: process-cloud
exclude: "insights,core,extensions,content-services,process-services"
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: Run unit tests
run: |
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}
lint:
# long timeout required when cache has to be recreated
timeout-minutes: 30
name: "Lint"
runs-on: ubuntu-22.04
needs: [setup]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
- uses: ./.github/actions/download-node-modules-and-artifacts
- run: nx affected --target=lint $NX_CALCULATION_FLAGS
build-libs:
# long timeout required when cache has to be recreated
timeout-minutes: 30
name: "Build libs"
runs-on: ubuntu-22.04
needs: [setup]
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- uses: ./.github/actions/setup
- uses: ./.github/actions/download-node-modules-and-artifacts
- run: nx affected:build $NX_CALCULATION_FLAGS --prod
- run: nx build demoshell --configuration production
- run: nx affected --target=build-storybook $NX_CALCULATION_FLAGS --configuration ci
- uses: ./.github/actions/upload-node-modules-and-artifacts
e2e-storybook:
timeout-minutes: 20
name: "e2e: storybook"
needs: [build-libs, lint, unit-tests]
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all
- uses: ./.github/actions/setup
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: Process Cloud Storybook Playwright
run: |
npx playwright install chromium
sudo sysctl -w fs.inotify.max_user_watches=524288
npx nx affected --target=e2e-playwright $NX_CALCULATION_FLAGS || exit 1
- uses: ./.github/actions/upload-node-modules-and-artifacts
e2e:
timeout-minutes: 90
name: "e2e: ${{ matrix.e2e-test.description }}"
needs: [build-libs, lint, unit-tests]
runs-on: ubuntu-22.04
strategy:
fail-fast: false
# max-parallel: 4
matrix:
e2e-test:
- description: "Core"
test-id: "core"
folder: "core"
provider: "ALL"
auth: "OAUTH"
check-cs-env: "true"
check-ps-env: "true"
deps: "testing"
- description: "Content: Components"
test-id: "content-services"
folder: "content-services/components"
provider: "ECM"
auth: "BASIC"
check-cs-env: "true"
deps: "testing"
- description: "Content: Directives"
test-id: "content-services"
folder: "content-services/directives"
provider: "ECM"
auth: "BASIC"
check-cs-env: "true"
deps: "testing"
- description: "Content: Document List"
test-id: "content-services"
folder: "content-services/document-list"
provider: "ECM"
auth: "BASIC"
check-cs-env: "true"
deps: "testing"
- description: "Content: Metadata"
test-id: "content-services"
folder: "content-services/metadata"
provider: "ECM"
auth: "BASIC"
check-cs-env: "true"
deps: "testing"
- description: "Content: Upload and Versioning"
test-id: "content-services"
folder: "content-services/upload"
provider: "ECM"
auth: "BASIC"
check-cs-env: "true"
deps: "testing"
- description: "Search"
test-id: "content-services"
folder: "search"
provider: "ECM"
auth: "BASIC"
check-cs-env: "true"
deps: "testing"
- description: "Process: Form"
test-id: "process-services"
folder: "process-services/form"
provider: "BPM"
auth: "OAUTH"
check-ps-env: "true"
check-external-cs-env: "true"
deps: "testing"
- description: "Process: Process"
test-id: "process-services"
folder: "process-services/process"
provider: "BPM"
auth: "OAUTH"
check-ps-env: "true"
check-external-cs-env: "true"
deps: "testing"
- description: "Process: Tasks"
test-id: "process-services"
folder: "process-services/tasks"
provider: "BPM"
auth: "OAUTH"
check-ps-env: "true"
check-external-cs-env: "true"
deps: "testing"
- description: "Process: Widget"
test-id: "process-services"
folder: "process-services/widgets"
provider: "BPM"
auth: "OAUTH"
check-ps-env: "true"
check-external-cs-env: "true"
deps: "testing"
- description: "Process Cloud: Form"
test-id: "process-services-cloud"
folder: "process-services-cloud/form-field"
provider: "ALL"
auth: "OAUTH"
apa-proxy: true
check-cs-env: "true"
check-ps-cloud-env: "true"
deps: "testing"
- description: "Process Cloud: People"
test-id: "process-services-cloud"
folder: "process-services-cloud/people"
provider: "ALL"
auth: "OAUTH"
apa-proxy: true
check-cs-env: "true"
check-ps-cloud-env: "true"
deps: "testing"
- description: "Process Cloud: Process"
test-id: "process-services-cloud"
folder: "process-services-cloud/process"
provider: "ALL"
auth: "OAUTH"
apa-proxy: true
check-cs-env: "true"
check-ps-cloud-env: "true"
deps: "testing"
- description: "Process Cloud: Start Task"
test-id: "process-services-cloud"
folder: "process-services-cloud/start-task"
provider: "ALL"
auth: "OAUTH"
apa-proxy: true
check-cs-env: "true"
check-ps-cloud-env: "true"
deps: "testing"
- description: "Process Cloud: Tasks List"
test-id: "process-services-cloud"
folder: "process-services-cloud/task-list"
provider: "ALL"
auth: "OAUTH"
apa-proxy: true
check-cs-env: "true"
check-ps-cloud-env: "true"
deps: "testing"
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all
- uses: ./.github/actions/setup
with:
enable-cache: "true"
enable-node-modules-cache: "true"
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: setup chrome
uses: ./.github/actions/setup-chrome
- name: e2e
uses: ./.github/actions/e2e
with:
e2e-test-id: ${{ matrix.e2e-test.test-id }}
e2e-test-folder: ${{ matrix.e2e-test.folder }}
e2e-test-provider: ${{ matrix.e2e-test.provider }}
e2e-test-auth: ${{ matrix.e2e-test.auth }}
check-cs-env: ${{ matrix.e2e-test.check-cs-env }}
check-ps-env: ${{ matrix.e2e-test.check-ps-env }}
check-ps-cloud-env: ${{ matrix.e2e-test.check-ps-cloud-env }}
check-external-cs-env: ${{ matrix.e2e-test.check-external-cs-env }}
apa-proxy: ${{ matrix.e2e-test.apa-proxy }}
deps: ${{ matrix.e2e-test.deps }}
finalize:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Final Results
needs: [check-if-pr-is-approved, check-package-lock, setup, unit-tests, lint, build-libs, e2e, e2e-storybook]
steps:
- name: workflow failure
run: exit 1
if: ${{ contains(needs.*.result, 'failure') }}
- name: workflow canceled
run: exit 1
if: ${{ contains(needs.*.result, 'cancelled') }}
- name: workflow success
run: exit 0
if: ${{ contains(needs.*.result, 'success') }}
+3 -3
View File
@@ -1,4 +1,4 @@
on:
on:
issue_comment:
types: [created]
name: Automatic Rebase
@@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.3.1
uses: cirrus-actions/rebase@1.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+223
View File
@@ -0,0 +1,223 @@
name: "release"
on:
workflow_call:
inputs:
dry-run-release:
description: 'enable dry-run on artifact push'
required: false
type: boolean
default: true
pull_request:
types: [closed]
branches:
- develop
- master
- develop-patch*
- master-patch*
env:
BASE_REF: ${{ github.base_ref }}
HEAD_REF: ${{ github.head_ref }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GITHUB_BRANCH: ${{ github.ref_name }}
GH_BUILD_DIR: ${{ github.workspace }}
GH_COMMIT: ${{ github.sha }}
BUILD_ID: ${{ github.run_id }}
GH_RUN_NUMBER: ${{ github.run_attempt }}
GH_BUILD_NUMBER: ${{ github.run_id }}
JOB_ID: ${{ github.run_id }}
PROXY_HOST_BPM: ${{ secrets.E2E_HOST }}
E2E_HOST_APA: ${{ secrets.E2E_HOST_APA }}
E2E_HOST: ${{ secrets.E2E_HOST }}
E2E_USERNAME: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_PASSWORD: ${{ secrets.E2E_PASSWORD }}
E2E_ADMIN_EMAIL_IDENTITY: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
E2E_ADMIN_PASSWORD_IDENTITY: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
#USERNAME_ADF: ${{ secrets.E2E_USERNAME }}
USERNAME_ADF: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
PASSWORD_ADF: ${{ secrets.E2E_PASSWORD }}
URL_HOST_ADF: "http://localhost:4200"
IDENTITY_ADMIN_EMAIL: ${{ secrets.E2E_ADMIN_EMAIL_IDENTITY }}
IDENTITY_ADMIN_PASSWORD: ${{ secrets.E2E_ADMIN_PASSWORD_IDENTITY }}
AWS_S3_BUCKET_ACTIVITI_LICENSE: ${{ secrets.AWS_S3_BUCKET_ACTIVITI_LICENSE }}
HOST_SSO: ${{ secrets.HOST_SSO }}
LOG_LEVEL: "ERROR"
E2E_LOG_LEVEL: "ERROR"
E2E_MODELER_USERNAME: ${{ secrets.E2E_MODELER_USERNAME }}
E2E_MODELER_PASSWORD: ${{ secrets.E2E_MODELER_PASSWORD }}
EXTERNAL_ACS_HOST: ${{ secrets.EXTERNAL_ACS_HOST }}
E2E_DEVOPS_USERNAME: ${{ secrets.E2E_DEVOPS_USERNAME }}
E2E_DEVOPS_PASSWORD: ${{ secrets.E2E_DEVOPS_PASSWORD }}
USERNAME_SUPER_ADMIN_ADF: ${{ secrets.USERNAME_SUPER_ADMIN_ADF }}
PASSWORD_SUPER_ADMIN_ADF: ${{ secrets.PASSWORD_SUPER_ADMIN_ADF }}
HR_USER: ${{ secrets.HR_USER }}
HR_USER_PASSWORD: ${{ secrets.HR_USER_PASSWORD }}
SMART_RUNNER_PATH: ".protractor-smartrunner"
S3_DBP_PATH: ${{ secrets.S3_DBP_PATH }}
S3_BUILD_BUCKET_SHORT_NAME: ${{ secrets.S3_BUILD_BUCKET_SHORT_NAME }}
NODE_OPTIONS: "--max-old-space-size=5120"
DOCKER_REPOSITORY_DOMAIN: ${{ secrets.DOCKER_REPOSITORY_DOMAIN }}
DOCKER_REPOSITORY_USER: ${{ secrets.DOCKER_REPOSITORY_USER }}
DOCKER_REPOSITORY_PASSWORD: ${{ secrets.DOCKER_REPOSITORY_PASSWORD }}
DOCKER_REPOSITORY_STORYBOOK: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/storybook"
DOCKER_REPOSITORY: "${{ secrets.DOCKER_REPOSITORY_DOMAIN }}/alfresco/demo-shell"
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
REPO_OWNER: "Alfresco"
REPO_NAME: "alfresco-ng2-components"
DEMO_SHELL_DIR: "./dist/demo-shell"
STORYBOOK_DIR: "./dist/storybook/stories"
BUILT_LIBS_DIR: "./dist/libs"
NODE_MODULES_DIR: "./node_modules"
SMART_RUNNER_DIRECTORY: ".protractor-smartrunner"
SAVE_SCREENSHOT: true
REDIRECT_URI: /
BROWSER_RUN: false
MAXINSTANCES: 2
PLAYWRIGHT_WORKERS: 2
PLAYWRIGHT_STORYBOOK_E2E_HOST: http://localhost
PLAYWRIGHT_STORYBOOK_E2E_PORT: 4400
jobs:
setup:
timeout-minutes: 20
if: github.event.pull_request.merged == true
name: "Setup"
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/setup
with:
enable-cache: false
enable-node-modules-cache: false
- name: install
run: |
npm ci
nx run cli:bundle
nx run testing:bundle
- uses: ./.github/actions/upload-node-modules-and-artifacts
release-demoshell:
needs: [setup]
timeout-minutes: 15
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- run: git fetch --all
- id: set-dryrun
uses: ./.github/actions/enable-dryrun
with:
dry-run-flag: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/setup
with:
enable-cache: false
enable-node-modules-cache: false
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: release Demoshell docker
run: |
nx build demoshell --configuration production
. ./scripts/github/release/docker-tag.sh
./scripts/github/release/release-demoshell-docker.sh ${{ steps.set-dryrun.outputs.dryrun }}
release-storybook:
needs: [setup]
timeout-minutes: 15
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
- run: git fetch --all
- id: set-dryrun
uses: ./.github/actions/enable-dryrun
with:
dry-run-flag: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/setup
with:
enable-cache: false
enable-node-modules-cache: false
act: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: release Storybook docker
run: |
nx run stories:build-storybook --configuration ci
. ./scripts/github/release/docker-tag.sh
./scripts/github/release/release-storybook-docker.sh ${{ steps.set-dryrun.outputs.dryrun }}
release-npm:
needs: [setup]
timeout-minutes: 15
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/setup
with:
enable-cache: false
enable-node-modules-cache: false
- id: set-dryrun
uses: ./.github/actions/enable-dryrun
with:
dry-run-flag: ${{ inputs.dry-run-release }}
- uses: ./.github/actions/download-node-modules-and-artifacts
- name: check PR number
id: action
uses: kamatama41/get-pr-number-action@5c77b38a1b4974ebf8a9521a689f38a5898eadd6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: save PR number
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: |
echo "PR_NUMBER=${{ steps.action.outputs.number }}" >> $GITHUB_ENV
- name: build libraries
run: |
set -u;
./scripts/github/build/bumpversion.sh
nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell" --skip-nx-cache
nx affected $NX_CALCULATION_FLAGS --target=pretheme
- uses: actions/setup-node@v3
name: release libraries GH registry
with:
node-version: 14
registry-url: 'https://npm.pkg.github.com'
scope: '@alfresco'
- run: nx affected --target=npm-publish $NX_CALCULATION_FLAGS --tag=$TAG_NPM || exit 1
env:
NODE_AUTH_TOKEN: ${{ secrets.PAT_WRITE_PKG }}
- uses: actions/setup-node@v3
name: release libraries Npm registry
with:
node-version: 14
registry-url: 'https://${{ vars.NPM_REGISTRY_ADDRESS }}'
scope: '@alfresco'
- run: nx affected --target=npm-publish $NX_CALCULATION_FLAGS --tag=$TAG_NPM || exit 1
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }}
npm-check-bundle:
needs: [release-npm]
timeout-minutes: 15
if: github.event.pull_request.merged == true
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: ./.github/actions/npm-check-bundle
+1
View File
@@ -11,6 +11,7 @@ dist/
e2e/.env.cloud
tmp
temp
/nxcache
e2e-output*/
/e2e/downloads/
*.npmrc
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run affected:lint
-20
View File
@@ -1,20 +0,0 @@
pull_request_rules:
- name: automatic merge for Dependabot pull requests
conditions:
- author=dependabot-preview[bot]
- status-success=continuous-integration/travis-ci/pr
- status-success=security/snyk - package.json (eromano (GitHub marketplace))
actions:
merge:
method: merge
- name: merge when all requested reviews are valid
conditions:
- status-success=continuous-integration/travis-ci/pr
- status-success=security/snyk - package.json (eromano (GitHub marketplace))
- '#approved-reviews-by>=1'
- '#changes-requested-reviews-by=0'
- '#commented-reviews-by=0'
- label!="do not merge"
actions:
merge:
method: merge
+1
View File
@@ -0,0 +1 @@
14
+2 -1
View File
@@ -1,8 +1,9 @@
import { create } from '@storybook/theming';
import alfrescoLogo from '../lib/core/src/lib/assets/images/alfresco-logo.svg';
export default create({
base: 'light',
brandTitle: 'Hyland | Alfresco Storybook App',
brandUrl: 'https://www.alfresco.com/',
brandImage: '/assets/storybook-logo.png',
brandImage: alfrescoLogo,
});
+3 -7
View File
@@ -1,11 +1,7 @@
module.exports = {
stories: [],
addons: ['@storybook/addon-essentials'],
// uncomment the property below if you want to apply some webpack config globally
// webpackFinal: async (config, { configType }) => {
// // Make whatever fine-grained changes you need that should apply to all storybook configs
// // Return the altered config
// return config;
// },
framework: '@storybook/angular',
staticDirs: [ { from: '../../../demo-shell/src/app.config.json', to: 'app.config.json' } ],
core: { builder: 'webpack5' }
};
+4
View File
@@ -0,0 +1,4 @@
export const parameters = {
docs: { inlineStories: true },
controls: { expanded: true }
};
+1 -2
View File
@@ -1,3 +1,2 @@
_theming.scss
lib/core/viewer/components/pdf-viewer-host.component.scss
lib/dist
lib/core/src/lib/viewer/components/pdf-viewer-host.component.scss
-562
View File
@@ -1,562 +0,0 @@
import:
- source: Alfresco/alfresco-build-tools:.travis.docker_hub_login.yml@v1.1.1
git:
depth: 3
quiet: true
language: node_js
arch: arm64-graviton2
dist: bionic
node_js:
- '14'
before_install: . ./scripts/ci/job_hooks/before_install.sh
install: ./scripts/ci/job_hooks/install.sh
env:
global:
# REPOSITORY
- REPO_OWNER="Alfresco"
- REPO_NAME="alfresco-ng2-components"
- S3_DBP_PATH="s3://alfresco-travis-builds/adf"
- DEMO_SHELL_DIR="./dist/demo-shell"
- BUILT_LIBS_DIR="./lib/dist"
- NODE_MODULES_DIR="./node_modules"
- SMART_RUNNER_DIRECTORY=".protractor-smartrunner"
#E2E VARIABLES
- SAVE_SCREENSHOT=true
- REDIRECT_URI=/
- BROWSER_RUN=true
- MAXINSTANCES=2
- PROXY_HOST_ECM=$E2E_HOST
- PROXY_HOST_BPM=$E2E_HOST
- HOST_SSO=$HOST_SSO
- USERNAME_ADF=$E2E_USERNAME
- PASSWORD_ADF=$E2E_PASSWORD
- IDENTITY_ADMIN_EMAIL=$E2E_ADMIN_EMAIL_IDENTITY
- IDENTITY_ADMIN_PASSWORD=$E2E_ADMIN_PASSWORD_IDENTITY
- URL_HOST_ADF="http://localhost:4200"
#PLAYWRIGHT VARIABLES
- PLAYWRIGHT_WORKERS=2
- PLAYWRIGHT_STORYBOOK_E2E_HOST=http://localhost
- PLAYWRIGHT_STORYBOOK_E2E_PORT=4400
branches:
only:
- /^master(-patch.*)?$/
- /^develop(-patch.*)?$/
- master
- develop
#remove after upgrade
- angular-upgrade-v13
- angular-upgrade-v14
- /.*old-env.*/
- /.*next-release.*/
- /.*beta.*/
stages:
- name: Prerequisite
- name: Setup
- name: "Build lib"
if: tag IS blank
- name: "Check bundle"
if: type = push AND tag IS blank OR (type = cron || type = api)
- name: "Trigger Alpha ADF child build"
if: (branch = develop AND (type = cron || type = api)) OR commit_message =~ /\[trigger adf\]/
- name: "Build Demo shell"
if: tag IS blank
- name: "Unit test Lib"
if: type = pull_request || (type = cron || type = api) || branch = "angular-upgrade-v13"
- name: "e2e Test"
if: type = pull_request || (type = cron || type = api) || branch = "angular-upgrade-v13"
- name: "Release tag"
if: branch =~ /^master(-patch.*)?$/
- name: "Deprecate develop builds"
if: branch =~ /^master(-patch.*)?$/
addons:
chrome: stable
before_script:
- export GIT_HASH=`git rev-parse HEAD`
services:
- xvfb
jobs:
include:
# Big Bang ===================
- stage: Prerequisite
name: "Before anything unnece$$ary happens..."
if: type == pull_request
language: python
python: 3.8
install: echo "no install here"
script: ./scripts/ci/jobs/dbpci-build-guard-check $TRAVIS_PULL_REQUEST || exit 1
# Setup ======================
- stage: Setup
name: "Node modules cache preparation"
script: echo "Only here for setting up the shared node_modules"
workspaces:
create:
name: node_modules_cache
paths:
- "$NODE_MODULES_DIR"
use: node_modules_cache
# Run Only for any PR
- stage: "Build lib"
name: "Lib::Build"
script:
- ./scripts/travis/build/build-libs.sh || travis_terminate 1
- ./scripts/travis/release/release-npm.sh || travis_terminate 1
workspaces:
create:
name: built_libs_cache
paths:
- "$BUILT_LIBS_DIR"
- "$NODE_MODULES_DIR"
use: node_modules_cache
- stage: "Build lib"
name: "Lint"
script: ./scripts/lint.sh
workspaces:
use: node_modules_cache
- stage: "Build Demo shell"
name: "Demo Shell & Storybook :Build && dockerize"
before_script:
- NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx run cli:build --prod
- ./scripts/build/build-cli.sh
script:
# Build Demo shell & Storybook for production docker"
- NODE_OPTIONS=--max_old_space_size=8192 nx build demoshell --configuration production
- NODE_OPTIONS=--max_old_space_size=8192 nx run stories:build-storybook --configuration ci --projectBuildConfig=stories:build-storybook
- ./scripts/travis/release/release-docker.sh
workspaces:
create:
name: built_demo_shell_cache
paths:
- "$DEMO_SHELL_DIR"
use:
- built_libs_cache
- stage: "Unit test Lib"
name: "content::unit"
script: ./scripts/travis/unit-test/content.sh
workspaces:
use: built_libs_cache
- stage: "Unit test Lib"
name: "core-extension::unit"
script: ./scripts/travis/unit-test/core-extension.sh
workspaces:
use: built_libs_cache
- stage: "Unit test Lib"
name: "process-insights::unit"
script: ./scripts/travis/unit-test/process.sh
workspaces:
use: built_libs_cache
- stage: "Unit test Lib"
name: "process-cloud::unit"
script: ./scripts/travis/unit-test/process-cloud.sh
workspaces:
use: built_libs_cache
- stage: "Trigger Alpha ADF child build"
name: "Trigger Alpha ADF child build"
script: ./scripts/travis/update/update-project.sh -p $TRAVIS_BUILD_NUMBER -t $GITHUB_TOKEN -v alpha -c $TRAVIS_COMMIT
workspaces:
use: built_libs_cache
- stage: "Release tag"
script: ./scripts/travis/release/git-tag.sh
- stage: "Deprecate develop builds"
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/travis/release/deprecate-develop-build.sh -v ${ADF_VERSION}
- stage: "e2e Test"
name: "Process Cloud:playwright"
before_script: ./scripts/ci/jobs/dbpci-before-playwright
script: ./scripts/travis/storybook-testing/storybook-test.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
- stage: "e2e Test"
name: "Core"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="core"
- PROVIDER='ALL'
- AUTH_TYPE='OAUTH'
- stage: "e2e Test"
name: "Content: Components"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="content-services/components"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Content: Directives"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="content-services/directives"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Content: Document List"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="content-services/document-list"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Content: Metadata"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="content-services/metadata"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Content: Upload and Versioning"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="content-services/upload"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Search"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="search"
- PROVIDER="ECM"
- AUTH_TYPE="BASIC"
- stage: "e2e Test"
name: "Process: Form"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services/form"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process: Process"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services/process"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process: Tasks"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services/tasks"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process: Widgets"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-ps-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-external-cs-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services/widgets"
- PROVIDER="BPM"
- AUTH_TYPE="OAUTH"
- stage: "e2e Test"
name: "Process Cloud:playwright"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/jobs/dbpci-before-playwright || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/storybook-testing/storybook-test.sh
workspaces:
use:
- built_libs_cache
- built_demo_shell_cache
- stage: "e2e Test"
name: "Process Cloud : Form"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services-cloud/form-field"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- PROXY_HOST_BPM=$E2E_HOST_APA
- stage: "e2e Test"
name: "Process Cloud : People"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services-cloud/people"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- PROXY_HOST_BPM=$E2E_HOST_APA
- stage: "e2e Test"
name: "Process Cloud : Process"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services-cloud/process"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- PROXY_HOST_BPM=$E2E_HOST_APA
- stage: "e2e Test"
name: "Process Cloud : Start Task"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services-cloud/start-task"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- PROXY_HOST_BPM=$E2E_HOST_APA
- stage: "e2e Test"
name: "Process Cloud : Tasks List"
before_script:
- ./scripts/ci/job_hooks/before_e2e.sh
- ./scripts/ci/check-env/check-cs-env.sh || travis_terminate 1
- ./scripts/ci/check-env/check-ps-cloud-env.sh || travis_terminate 1
script: ./scripts/travis/e2e/e2e.sh
workspaces:
create:
name: e2e_cache
paths:
- "$SMART_RUNNER_DIRECTORY"
use:
- built_libs_cache
- built_demo_shell_cache
- e2e_cache
env:
- FOLDER="process-services-cloud/task-list"
- PROVIDER="ALL"
- AUTH_TYPE="OAUTH"
- PROXY_HOST_BPM=$E2E_HOST_APA
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/travis/build/npm-check-bundles.sh -v ${ADF_VERSION}
workspaces:
use: built_libs_cache
notifications:
slack:
on_pull_requests: false
rooms:
secure: "qcTP/+rhVweMSZZAQMPz4sW7boS8XC0RX1SPYgg7hIfxBr9747WpRLkJ1sirkVaXI/6XfYAyl42CTfPmTuJxIC+co/NSnEDknwVsnKZd0O/ykTpo+mxIN4BTZX8dm+gELR5IEYQPs+Yki3ZnD9b+0mCK1yD8JallKCQeE2U9BhzZhP/Fn0ce35EulybNp3QQDaox0XC+7gadMdxlvK8mzP1scw76wRLtx25QLxxV+OwEw0bzyh8y3onfjHfnoDcUQWRTNdnjapzmgf1LNdC202A5kwp5sJggfSDr+ActRqaMvv4BbMsFpdan34B6zPQJfyZL1r8IB8O8BEKcAaOUVcTjnZAOom8kHS8F07/mo5xnNYmV8oNX2/egr1CiG4U0EAGF2XGqM+vetYnF88LTEzy84kVxmSwKGVfzlGOyTplMXJ1iCENndtfWm1AXhAFj5RSsSAZg6IStTM+mcpnC75moEwQtj8bTenwehHz1HQAjQX7xeTQo27SxDc7oqp1ReyXCllMjKxckjVGmp2j6yxn1Jl55kivBj57vluLtEtziOGluVELP5E2fV0VAuErNhnjLm4LJARVN76PQaTOXYwATVVJJDhb/77TesvxQsr3VfiROEKm7QB7IDFjghjLLisSX67JQ5+7K/qMlqf9+9hNw4n0v1eMylVjt+gyxspc="
on_failure: always
on_success: change
template:
- "Repo `%{repository_slug}` *%{result}* build (<%{build_url}|#%{build_number}>) for commit (<%{compare_url}|%{commit}>) on branch `%{branch}`."
- "Author: %{author} Execution time: *%{duration}*"
- "Message: %{message}"
cache:
npm: false
directories:
- tmp
+1
View File
@@ -1,4 +1,5 @@
{
"recommendations": [
"lucono.karma-test-explorer"
]
}
View File
+1 -1
View File
@@ -1,6 +1,6 @@
# 1. Generate licenses
FROM node:16.13-alpine3.14 AS builder
FROM node:16.20-alpine3.17 AS builder
WORKDIR /usr/src/alfresco
COPY package.json package.json
+6 -6
View File
@@ -2,8 +2,8 @@
| branch | status |
| --- | --- |
| master | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
| develop | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=develop)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
| master | [![git-tag](https://github.com/Alfresco/alfresco-ng2-components/actions/workflows/git-tag.yml/badge.svg)](https://github.com/Alfresco/alfresco-ng2-components/actions/workflows/git-tag.yml) |
| develop | [![cron schedule](https://github.com/Alfresco/alfresco-ng2-components/actions/workflows/cron.yml/badge.svg)](https://github.com/Alfresco/alfresco-ng2-components/actions/workflows/cron.yml)|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d9eb873741da403bb3284778102372e7)](https://www.codacy.com/app/Alfresco/alfresco-ng2-components?utm_source=github.com&utm_medium=referral&utm_content=Alfresco/alfresco-ng2-components&utm_campaign=badger)
[![Join the chat at https://gitter.im/Alfresco/alfresco-ng2-components](https://badges.gitter.im/Alfresco/alfresco-ng2-components.svg)](https://gitter.im/Alfresco/alfresco-ng2-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
@@ -39,8 +39,8 @@ ADF Libraries list:
- [Insights](https://github.com/Alfresco/alfresco-ng2-components/tree/develop/lib/insights)
- [Process Service Cloud](https://github.com/Alfresco/alfresco-ng2-components/tree/develop/lib/process-services-cloud)
- [Process service](https://github.com/Alfresco/alfresco-ng2-components/tree/develop/lib/process-services)
- [Stories](https://github.com/Alfresco/alfresco-ng2-components/tree/develop/lib/stories)
- [Stories](https://github.com/Alfresco/alfresco-ng2-components/tree/develop/lib/stories)
## Demo Application
A separate application showcasing integration of components can be found
@@ -49,7 +49,7 @@ The app has examples of basic interaction for both APS and ACS components.
## Yeoman generators
To speed up the development of your ADF application, use the
To speed up the development of your ADF application, use the
[Yeoman Generator](https://github.com/Alfresco/generator-ng2-alfresco-app).
This will create a full working project with all the right libraries and tools.
@@ -69,6 +69,6 @@ All components are supported in the following browsers:
|Edge |13, 14 |
|Internet Explorer |11 |
* Due to a [known issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1188880) in Firefox, the Alfresco Upload Component does not currently support folder upload functionality on Firefox.
* Due to a [known issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1188880) in Firefox, the Alfresco Upload Component does not currently support folder upload functionality on Firefox.
See the [Browser Support](BROWSER-SUPPORT.md) article for more details.
+511 -202
View File
File diff suppressed because it is too large Load Diff
+8 -3
View File
@@ -27,6 +27,7 @@
"CSRF",
"datacolumn",
"datarow",
"Datasource",
"datatable",
"dateitem",
"datepicker",
@@ -62,9 +63,11 @@
"highlightable",
"hotfix",
"imgpreview",
"Inplace",
"intitem",
"jira",
"jsons",
"jwks",
"keycodes",
"keyvaluepairs",
"keyvaluepairsitem",
@@ -76,15 +79,15 @@
"mincount",
"minlength",
"minmax",
"jsons",
"Inplace",
"MLTEXT",
"mousedrag",
"mouseenter",
"multiselect",
"mysites",
"nginx",
"numbervisibilityprocess",
"OAUTHCONFIG",
"oidc",
"pdfjs",
"penta",
"printf",
@@ -121,6 +124,7 @@
"uncheck",
"Unclaim",
"unfavorite",
"unlisten",
"unshare",
"UPDATEPERMISSIONS",
"uploader",
@@ -132,7 +136,8 @@
"webm",
"webscript",
"Whitespaces",
"xdescribe"
"xdescribe",
"xsrf"
],
"dictionaries": [
"html",
+1 -1
View File
@@ -50,7 +50,7 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
browsers: ['ChromeHeadless'],
singleRun: false
});
};
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "5.0.0-angular.13.1",
"version": "6.0.0-A.3",
"author": "Alfresco Software, Ltd.",
"repository": {
"type": "git",
+11
View File
@@ -61,5 +61,16 @@ module.exports = {
changeOrigin: true,
},
}
},
getIdentityAdapterServiceProxy: function(host) {
console.log('Target for /identity-adapter-service', host);
return {
'/identity-adapter-service': {
target: host,
secure: false,
logLevel: 'debug',
changeOrigin: true,
},
}
}
};
+3 -2
View File
@@ -1,6 +1,6 @@
require('dotenv').config();
const { getDeployedAppsProxy, getShareProxy, getApsProxy } = require('./proxy-helpers');
const { getDeployedAppsProxy, getShareProxy, getApsProxy, getIdentityAdapterServiceProxy } = require('./proxy-helpers');
const legacyHost = process.env.PROXY_HOST_ADF;
const cloudHost = process.env.CLOUD_PROXY_HOST_ADF || process.env.PROXY_HOST_ADF;
@@ -10,5 +10,6 @@ const apsHost = process.env.PROXY_HOST_ADF;
module.exports = {
...getShareProxy(legacyHost),
...getApsProxy(apsHost),
...getDeployedAppsProxy(cloudHost, cloudApps)
...getDeployedAppsProxy(cloudHost, cloudApps),
...getIdentityAdapterServiceProxy(cloudHost)
};
+45 -11
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "نوع المصادقة",
"BASIC": "مصادقة أساسية",
"SSO": "SSO",
"IMPLICIT-FLOW": "تدفق ضمني",
"PROVIDER": "موفر",
"REQUIRED": "هذا الحقل مطلوب",
"CS_URL_ERROR": "لا يتطابق عنوان Content Services مع تنسيق URL",
"PS_URL_ERROR": "لا يتطابق عنوان Process Services مع تنسيق URL",
"TITLE": "الإعدادات",
"CS-HOST": "عنوان URL لـ Content Services",
"BP-HOST": "عنوان URL لـ Process Services",
"BACK": "عودة",
"APPLY": "تطبيق",
"NOT_VALID": "لم يتم التعرف على http(s)://host|ip:port(/path)، جرّب عنوان URL مختلفًا.",
"REDIRECT": "إعادة توجيه URI",
"REDIRECT_LOGOUT": "إعادة توجيه خروج URI",
"SILENT": "دخول صامت",
"SCOPE": "نطاق",
"CLIENT": "معرف العميل",
"PUBLIC_URLS": "عناوين url العامة لتسجيل الدخول الصامت",
"SECRET": "سر"
},
"ABOUT": {
"DEVELOPMENT": "وضع التطوير"
},
@@ -44,7 +67,7 @@
"VERSION": {
"NO_PERMISSION": "ليس لديك إذن لإدارة إصدارات هذا المحتوى",
"NO_PERMISSION_EVENT": "ليس لديك إذن ${event.permission} ل${event.action} ${event.type}",
"CHOOSE_FILE": "تحديد ملف لرؤية إصداراته",
"CHOOSE_FILE": "حدد ملف لرؤية إصداراته",
"DIALOG": {
"CLOSE": "إغلاق",
"TITLE": "إدارة الإصدارات"
@@ -58,9 +81,9 @@
},
"APP_LAYOUT": {
"APP": "تطبيق",
"HEADER_TEXT_COLOR": "لون نص العنوان",
"HEADER_TEXT_COLOR": "لون نص الرأس",
"APP_NAME": "تطبيق ADF التوضيحي",
"FILTERED_SEARCH": "عنوان عامل التصفية",
"FILTERED_SEARCH": "رأس عامل التصفية",
"HOME": "رئيسية",
"NODE-SELECTOR": "محدد العقدة",
"SITES": "المواقع",
@@ -96,13 +119,13 @@
"WORD_TO_SEARCH": "بحث عن كلمة",
"SEARCH_CREATED_BY": "تم الإنشاء بواسطة",
"SEARCH_SERVICE_APPROACH": "حدد هذا لتعطيل خاصية الإدخال والتكوين باستخدام الخدمة",
"HEADER_DATA": "بيانات العنوان",
"HEADER_DATA": "بيانات الرأس",
"TREE_VIEW": "طريقة عرض الشجرة",
"EXPAND_LIST": "قائمة العناصر القابلة للتوسيع",
"ICONS": "أيقونات",
"PEOPLE_GROUPS_CLOUD": "سحابة الأشخاص/المجموعة",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "عنوان مهمة السحابة",
"COMPONENT_NAME": "رأس مهمة السحابة",
"APP_NAME_INPUT": "اسم التطبيق",
"TASK_ID_INPUT": "معرف المهمة",
"FIND_TASK_BUTTON": "بحث عن المهمة"
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "مكون سحابة المجموعة",
"CONFIRM-DIALOG": "مربع حوار التأكيد",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "قائمة مهام الخدمات"
"SERVICE_TASK_LIST": "قائمة مهام الخدمات",
"RICH_TEXT_EDITOR": "محرر نص منسق"
},
"TRASHCAN": {
"ACTIONS": {
@@ -163,7 +187,7 @@
"DELETE": "حذف",
"FAVORITES": "إضافة إلى المفضلات",
"SHARE": "مشاركة",
"THEME": "تحديد نسق",
"THEME": "حدد نسق",
"SHOW_VERSION": "إظهار الإصدار",
"HIDE_VERSION": "إخفاء الإصدار",
"LISTVIEW": "وضع عرض القائمة",
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "استبدال أعمدة",
"LOAD_NODE": "تحميل عقدة",
"MULTISELECT": "تحديد متعدد",
"MULTISELECT_DESCRIPTION": "استخدام Cmd (Mac) أو Ctrl (Windows) لتبديل تحديد العناصر المتعددة"
"MULTISELECT_DESCRIPTION": "استخدام Cmd (Mac) أو Ctrl (Windows) لتبديل تحديد العناصر المتعددة",
"USE_CUSTOM_COLUMN_HEADER": "استخدم نموذج مخصص للرأس 'المستخدم'",
"CUSTOM_COLUMN_HEADER": "قالب رأس المستخدم المخصص"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "لم يتم تحديد تقرير. اختر تقريرًا من القائمة"
@@ -210,7 +236,7 @@
"START-PROCESS": "بدء العملية",
"PROCESS-AUDIT-LOG": "سجل تدقيق العملية",
"TASK-AUDIT-LOG": "سجل تدقيق المهمة",
"TASK-SHOW-HEADER": "إظهار تفاصيل العنوان"
"TASK-SHOW-HEADER": "إظهار تفاصيل الرأس"
},
"PS_CLOUD_TAB": {
"APPS_TAB": "تطبيق",
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "كل المجموعات المحددة مسبقًا",
"INVALID_USERS": "المستخدمون غير الصالحين",
"INVALID_GROUPS": "مجموعات غير صالحة",
"READONLY_MODE": "وضع القراءة فقط"
"READONLY_MODE": "وضع القراءة فقط",
"GROUPS_RESTRICTION": "قيود المجموعات"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "تحديد متعدد",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "نوع الإجراء"
}
},
"DEFAULT_SEARCH": "افتراضي"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "تم إنشاء زر مجلد جديد",
"EDIT_NODE_LABEL": "زر تحرير العقدة",
"DELETE_NODE_LABEL": "زر حذف أيقونة العقدة"
},
"DEFAULT_SEARCH": "افتراضي",
"OPEN_DIALOG": "فتح الحوار",
"SHOW_LIST_LABEL": "انقر لعرض القائمة"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Typ ověřování",
"BASIC": "Základní ověřování",
"SSO": "Jednotné přihlášení",
"IMPLICIT-FLOW": "Implicitní tok",
"PROVIDER": "Poskytovatel",
"REQUIRED": "Toto pole je povinné",
"CS_URL_ERROR": "Adresa Content Services neodpovídá formátu adresy URL",
"PS_URL_ERROR": "Adresa Process Services neodpovídá formátu adresy URL",
"TITLE": "Nastavení",
"CS-HOST": "Adresa URL pro Content Services",
"BP-HOST": "Adresa URL pro Process Services",
"BACK": "Zpět",
"APPLY": "Použít",
"NOT_VALID": "http(s)://host|ip:port(/path) nelze rozeznat. Použijte jinou adresu URL.",
"REDIRECT": "URI pro přesměrování",
"REDIRECT_LOGOUT": "URI pro přesměrování (odhlášení)",
"SILENT": "Přihlášení na pozadí",
"SCOPE": "Rozsah",
"CLIENT": "ID klienta",
"PUBLIC_URLS": "Veřejné adresy URL pro přihlášení na pozadí",
"SECRET": "Tajné"
},
"ABOUT": {
"DEVELOPMENT": "Režim pro vývojáře"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Součást cloudu skupin",
"CONFIRM-DIALOG": "Dialogové okno s potvrzením",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Seznam úloh služby"
"SERVICE_TASK_LIST": "Seznam úloh služby",
"RICH_TEXT_EDITOR": "Rich Text Editor"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Nahradit sloupce",
"LOAD_NODE": "Načíst uzel",
"MULTISELECT": "Hromadný výběr",
"MULTISELECT_DESCRIPTION": "Pomocí klávesy Ctrl (Windows) nebo Cmd (Mac) můžete přepínat výběr více položek"
"MULTISELECT_DESCRIPTION": "Pomocí klávesy Ctrl (Windows) nebo Cmd (Mac) můžete přepínat výběr více položek",
"USE_CUSTOM_COLUMN_HEADER": "Použít vlastní šablonu pro záhlaví ,Uživatel",
"CUSTOM_COLUMN_HEADER": "Vlastní šablona záhlaví Uživatel"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Nebyly zvoleny žádné zprávy. Vyberte zprávu ze seznamu"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Všechny předvolené skupiny",
"INVALID_USERS": "Neplatní uživatelé",
"INVALID_GROUPS": "Neplatné skupiny",
"READONLY_MODE": "Režim jen pro čtení"
"READONLY_MODE": "Režim jen pro čtení",
"GROUPS_RESTRICTION": "Omezení skupin"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Hromadný výběr",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Typ akce"
}
},
"DEFAULT_SEARCH": "Výchozí"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Vytvořit tlačítko pro novou složku",
"EDIT_NODE_LABEL": "Upravit tlačítko uzlu",
"DELETE_NODE_LABEL": "Odebrat tlačítko ikony uzlu"
},
"DEFAULT_SEARCH": "Výchozí",
"OPEN_DIALOG": "Otevřít dialogové okno",
"SHOW_LIST_LABEL": "Na seznam pro zobrazení klikněte"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Godkendelsestype",
"BASIC": "Grundlæggende godkendelse",
"SSO": "SSO",
"IMPLICIT-FLOW": "Implicit flow",
"PROVIDER": "Udbyder",
"REQUIRED": "Dette felt er påkrævet",
"CS_URL_ERROR": "Content Services-adressen matcher ikke URL-formatet",
"PS_URL_ERROR": "Process Services-adressen matcher ikke URL-adresseformatet",
"TITLE": "Indstillinger",
"CS-HOST": "Content Services-URL",
"BP-HOST": "Process Services-URL",
"BACK": "Tilbage",
"APPLY": "Anvend",
"NOT_VALID": "http(s)://vært|ip-adresse:port(/sti) blev ikke genkendt. Prøv en anden URL-adresse.",
"REDIRECT": "URI til omdirigering",
"REDIRECT_LOGOUT": "Omdiriger URI til aflogning",
"SILENT": "Uovervåget login",
"SCOPE": "Omfang",
"CLIENT": "Klient-id",
"PUBLIC_URLS": "Uovervåget login til offentlige URL-adresser",
"SECRET": "Hemmelig"
},
"ABOUT": {
"DEVELOPMENT": "Udv. model"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Gruppecloudkomponent",
"CONFIRM-DIALOG": "Bekræftelsesdialogboks",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Opgaveliste for tjeneste"
"SERVICE_TASK_LIST": "Opgaveliste for tjeneste",
"RICH_TEXT_EDITOR": "Rich Text Editor"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Erstat kolonner",
"LOAD_NODE": "Indlæs node",
"MULTISELECT": "Vælg flere",
"MULTISELECT_DESCRIPTION": "Brug Kommando (Mac) eller Ctrl (Windows) for at vælge flere elementer"
"MULTISELECT_DESCRIPTION": "Brug Kommando (Mac) eller Ctrl (Windows) for at vælge flere elementer",
"USE_CUSTOM_COLUMN_HEADER": "Brug tilpasset skabelon til overskrift 'Bruger'",
"CUSTOM_COLUMN_HEADER": "Tilpasset brugeroverskriftskabelon"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Du skal vælge en rapport på listen til venstre"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Alle forudvalgte grupper",
"INVALID_USERS": "Ugyldige brugere",
"INVALID_GROUPS": "Ugyldige grupper",
"READONLY_MODE": "Skrivebeskyttet tilstand"
"READONLY_MODE": "Skrivebeskyttet tilstand",
"GROUPS_RESTRICTION": "Gruppebegrænsning"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multivalg",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Handlingstype"
}
},
"DEFAULT_SEARCH": "Standard"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Knap Opret en ny mappe",
"EDIT_NODE_LABEL": "Knap Redigér knude",
"DELETE_NODE_LABEL": "Knap Slet knudeikon"
},
"DEFAULT_SEARCH": "Standard",
"OPEN_DIALOG": "Åbn dialog",
"SHOW_LIST_LABEL": "Klik for at vise listen"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Authentifizierungstyp",
"BASIC": "Basisauthentifizierung",
"SSO": "SSO",
"IMPLICIT-FLOW": "Impliziter Fluss",
"PROVIDER": "Provider",
"REQUIRED": "Dieses Feld ist erforderlich",
"CS_URL_ERROR": "Content Services-Adresse nicht im richtigen URL-Format",
"PS_URL_ERROR": "Process Services-Adresse nicht im richtigen URL-Format",
"TITLE": "Einstellungen",
"CS-HOST": "URL für Content Services",
"BP-HOST": "URL für Process Services",
"BACK": "Zurück",
"APPLY": "Anwenden",
"NOT_VALID": "http(s)://host|ip:port(/path) nicht erkannt. Probieren Sie es mit einer anderen URL.",
"REDIRECT": "Umleitungs-URI",
"REDIRECT_LOGOUT": "Umleitungs-URI zum Abmelden",
"SILENT": "Automatische Anmeldung",
"SCOPE": "Bereich",
"CLIENT": "Client-ID",
"PUBLIC_URLS": "Öffentliche URLs für automatische Anmeldung",
"SECRET": "Geheimnis"
},
"ABOUT": {
"DEVELOPMENT": "Entwicklermodus"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Gruppen-Cloud-Komponente",
"CONFIRM-DIALOG": "Bestätigungsdialog",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Service-Aufgabenliste"
"SERVICE_TASK_LIST": "Service-Aufgabenliste",
"RICH_TEXT_EDITOR": "Rich-Text-Editor"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Spalten ersetzen",
"LOAD_NODE": "Node laden",
"MULTISELECT": "Mehrfachauswahl",
"MULTISELECT_DESCRIPTION": "Mit der Befehls- (Mac) oder der Steuerungstaste (Windows) können Sie die Auswahl mehrerer Elemente umschalten"
"MULTISELECT_DESCRIPTION": "Mit der Befehls- (Mac) oder der Steuerungstaste (Windows) können Sie die Auswahl mehrerer Elemente umschalten",
"USE_CUSTOM_COLUMN_HEADER": "Benutzerdefinierte Vorlage für 'Benutzer'-Kopfzeile verwenden",
"CUSTOM_COLUMN_HEADER": "Benutzerdefinierte Vorlage für Benutzer-Kopfzeile"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Kein Bericht ausgewählt. Wählen Sie einen Bericht aus der Liste"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Alle vorausgewählten Gruppen",
"INVALID_USERS": "Unzulässige Benutzer",
"INVALID_GROUPS": "Unzulässige Gruppen",
"READONLY_MODE": "Schreibgeschützter Modus"
"READONLY_MODE": "Schreibgeschützter Modus",
"GROUPS_RESTRICTION": "Gruppenbeschränkung"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Mehrfachauswahl",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Aktionstyp"
}
},
"DEFAULT_SEARCH": "Standard"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Schaltfläche für einen neuen Ordner erstellen",
"EDIT_NODE_LABEL": "Schaltfläche Node bearbeiten",
"DELETE_NODE_LABEL": "Schaltfläche für Node-Symbol löschen"
},
"DEFAULT_SEARCH": "Standard",
"OPEN_DIALOG": "Dialog öffnen",
"SHOW_LIST_LABEL": "Klicken Sie, um die Liste anzuzeigen"
}
+31 -1
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Authentication type",
"BASIC": "Basic Authentication",
"SSO": "SSO",
"IMPLICIT-FLOW": "Implicit Flow",
"PROVIDER": "Provider",
"REQUIRED": "This field is required",
"CS_URL_ERROR": "Content Services address doesn't match the URL format",
"PS_URL_ERROR": "Process Services address doesn't match the URL format",
"TITLE": "Settings",
"CS-HOST": "Content Services URL",
"BP-HOST": "Process Services URL",
"BACK": "Back",
"APPLY": "APPLY",
"NOT_VALID": "http(s)://host|ip:port(/path) not recognized, try a different URL.",
"REDIRECT": "Redirect URI",
"REDIRECT_LOGOUT": "Redirect URI Logout",
"SILENT": "Silent Login",
"SCOPE": "Scope",
"CLIENT": "Client ID",
"PUBLIC_URLS": "Public urls silent Login",
"SECRET": "Secret"
},
"ABOUT": {
"DEVELOPMENT":"Dev Mode"
},
@@ -358,5 +381,12 @@
"ACTION_TYPE": "Action Type"
}
},
"DEFAULT_SEARCH": "Default"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Create a new folder button",
"EDIT_NODE_LABEL": "Edit node button",
"DELETE_NODE_LABEL": "Delete node icon button"
},
"DEFAULT_SEARCH": "Default",
"OPEN_DIALOG": "Open dialog",
"SHOW_LIST_LABEL": "Click to show the list"
}
+15 -4
View File
@@ -111,7 +111,8 @@
"GROUPS_CLOUD": "Componente en la nube de grupos",
"CONFIRM-DIALOG": "Cuadro de diálogo de confirmación",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Lista de tareas de servicio"
"SERVICE_TASK_LIST": "Lista de tareas de servicio",
"RICH_TEXT_EDITOR": "Editor de texto enriquecido"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +197,9 @@
"REPLACE_COLUMNS": "Sustituir columnas",
"LOAD_NODE": "Cargar nodo",
"MULTISELECT": "Selección múltiple",
"MULTISELECT_DESCRIPTION": "Utilice Cmd (Mac) o Ctrl (Windows) para cambiar la selección de varios elementos"
"MULTISELECT_DESCRIPTION": "Utilice Cmd (Mac) o Ctrl (Windows) para cambiar la selección de varios elementos",
"USE_CUSTOM_COLUMN_HEADER": "Utilizar una plantilla personalizada para el encabezado 'Usuario'",
"CUSTOM_COLUMN_HEADER": "Plantilla de encabezado de usuario personalizado"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "No se ha seleccionado ningún informe. Elija un informe de la lista."
@@ -330,7 +333,8 @@
"ALL_PRESELECTED_GROUPS": "Todos los grupos preseleccionados",
"INVALID_USERS": "Usuarios no válidos",
"INVALID_GROUPS": "Grupos no válidos",
"READONLY_MODE": "Modo de solo lectura"
"READONLY_MODE": "Modo de solo lectura",
"GROUPS_RESTRICTION": "Restricción de grupos"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selección múltiple",
@@ -354,5 +358,12 @@
"ACTION_TYPE": "Tipo de acción"
}
},
"DEFAULT_SEARCH": "Predeterminado"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Crear un nuevo botón de carpeta",
"EDIT_NODE_LABEL": "Editar botón de nodo",
"DELETE_NODE_LABEL": "Eliminar el botón del icono del nodo"
},
"DEFAULT_SEARCH": "Predeterminado",
"OPEN_DIALOG": "Abrir cuadro de diálogo",
"SHOW_LIST_LABEL": "Hacer clic para mostrar la lista"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Todennustyyppi",
"BASIC": "Perustodennus",
"SSO": "Kertakirjautuminen",
"IMPLICIT-FLOW": "Epäsuora kulku",
"PROVIDER": "Palvelu",
"REQUIRED": "Tämä kenttä on pakollinen",
"CS_URL_ERROR": "Content Services -osoite ei täsmää URL-muodon kanssa",
"PS_URL_ERROR": "Process Services -osoite ei täsmää URL-muodon kanssa",
"TITLE": "Asetukset",
"CS-HOST": "Content Servicesin URL-osoite",
"BP-HOST": "Process Servicesin URL-osoite",
"BACK": "Takaisin",
"APPLY": "Käytä",
"NOT_VALID": "Osoitetta http(s)://host|ip:port(/path) ei tunnisteta. Kokeile toista URL-osoitetta.",
"REDIRECT": "Uudelleenohjauksen URI-osoite",
"REDIRECT_LOGOUT": "Uudelleenohjauksen URI-osoite uloskirjautuminen",
"SILENT": "Hiljainen kirjautuminen",
"SCOPE": "Laajuus",
"CLIENT": "Asiakastunnus",
"PUBLIC_URLS": "Yleisten url-osoitteiden hiljainen sisäänkirjaus",
"SECRET": "Salainen"
},
"ABOUT": {
"DEVELOPMENT": "Kehitystapa"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Ryhmäpilvi-komponentti",
"CONFIRM-DIALOG": "Vahvistusvalintaikkuna",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Palvelutehtäväluettelo"
"SERVICE_TASK_LIST": "Palvelutehtäväluettelo",
"RICH_TEXT_EDITOR": "RTF-editori"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Korvaa sarakkeita",
"LOAD_NODE": "Lataa solmu",
"MULTISELECT": "Monivalinta",
"MULTISELECT_DESCRIPTION": "Voit valita useita kohteita Cmd- (Mac) tai Ctrl-näppäimen (Windows) avulla"
"MULTISELECT_DESCRIPTION": "Voit valita useita kohteita Cmd- (Mac) tai Ctrl-näppäimen (Windows) avulla",
"USE_CUSTOM_COLUMN_HEADER": "Käytä mukautettua mallia \"Käyttäjä\"-otsikolle",
"CUSTOM_COLUMN_HEADER": "Mukautettu käyttäjäotsikon malli"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Yhtään raporttia ei ole valittuna. Valitse raportti luettelosta."
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Kaikki esivalitut ryhmät",
"INVALID_USERS": "Kelpaamattomat käyttäjät",
"INVALID_GROUPS": "Kelpaamattomat ryhmät",
"READONLY_MODE": "Vain luku -tila"
"READONLY_MODE": "Vain luku -tila",
"GROUPS_RESTRICTION": "Ryhmärajoitus"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Monivalinta",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Toiminnon tyyppi"
}
},
"DEFAULT_SEARCH": "Oletus"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Luo uusi kansio -painike",
"EDIT_NODE_LABEL": "Muokkaa solmua -painike",
"DELETE_NODE_LABEL": "Poista solmukuvake -painike"
},
"DEFAULT_SEARCH": "Oletus",
"OPEN_DIALOG": "Avaa valintaikkuna",
"SHOW_LIST_LABEL": "Näytä luettelo napsauttamalla"
}
+42 -8
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Type d'authentification",
"BASIC": "Authentification de base",
"SSO": "SSO",
"IMPLICIT-FLOW": "Flux implicite",
"PROVIDER": "Fournisseur",
"REQUIRED": "Ce champ est obligatoire",
"CS_URL_ERROR": "L'adresse Content Services ne correspond pas au format d'URL",
"PS_URL_ERROR": "L'adresse Process Services ne correspond pas au format d'URL",
"TITLE": "Paramètres",
"CS-HOST": "URL de Content Services",
"BP-HOST": "URL de Process Services",
"BACK": "Retour",
"APPLY": "Appliquer",
"NOT_VALID": "Adresse http(s)://host|ip:port(/path) non reconnue, essayez une autre URL.",
"REDIRECT": "URI de redirection",
"REDIRECT_LOGOUT": "Déconnexion URI de redirection",
"SILENT": "Connexion en mode silencieux",
"SCOPE": "Etendue",
"CLIENT": "ID client",
"PUBLIC_URLS": "URL publiques pour connexion en mode silencieux",
"SECRET": "Secret"
},
"ABOUT": {
"DEVELOPMENT": "Mode développement"
},
@@ -83,7 +106,7 @@
"FORM_LOADING": "Chargement du formulaire",
"UPLOADER": "Chargeur",
"WEBSCRIPT": "Script Web",
"TAG": "Balise",
"TAG": "Tag",
"PIPES": "Tuyaux",
"TRASHCAN": "Corbeille",
"SOCIAL": "Réseaux sociaux",
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Composant cloud des groupes",
"CONFIRM-DIALOG": "Boîte de dialogue de confirmation",
"COMMUNITY": "Communauté",
"SERVICE_TASK_LIST": "Liste des tâches de service"
"SERVICE_TASK_LIST": "Liste des tâches de service",
"RICH_TEXT_EDITOR": "Editeur de texte enrichi"
},
"TRASHCAN": {
"ACTIONS": {
@@ -145,7 +169,7 @@
"COLUMNS": {
"DISPLAY_NAME": "Nom affiché",
"IS_LOCKED": "Verrouiller",
"TAG": "Balise",
"TAG": "Tag",
"NODE_ID": "ID du nœud",
"CREATED_BY": "Créé par",
"CREATED_ON": "Créé le",
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Remplacer les colonnes",
"LOAD_NODE": "Charger le nœud",
"MULTISELECT": "Sélection multiple",
"MULTISELECT_DESCRIPTION": "Utiliser Cmd (Mac) ou Ctrl (Windows) pour activer/désactiver la sélection d'éléments multiples"
"MULTISELECT_DESCRIPTION": "Utiliser Cmd (Mac) ou Ctrl (Windows) pour activer/désactiver la sélection d'éléments multiples",
"USE_CUSTOM_COLUMN_HEADER": "Utiliser un modèle personnalisé pour l'en-tête 'Utilisateur'",
"CUSTOM_COLUMN_HEADER": "Modèle d'en-tête Utilisateur personnalisé"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Aucun rapport sélectionné. Choisissez un rapport dans la liste"
@@ -268,9 +294,9 @@
"RATING": "Composant d'évaluation"
},
"TAG": {
"LIST": "Liste de balises Content Services",
"LIST": "Liste des tags Content Services",
"INSERT": "Insérer l'ID du nœud",
"NODE_LIST": "Liste de balises par ID de nœud"
"NODE_LIST": "Liste des tags par ID de nœud"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Hériter des droits d'accès",
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Tous les groupes présélectionnés",
"INVALID_USERS": "Utilisateurs non valides",
"INVALID_GROUPS": "Groupes non valides",
"READONLY_MODE": "Mode lecture seule"
"READONLY_MODE": "Mode lecture seule",
"GROUPS_RESTRICTION": "Restriction de groupes"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multisélection",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Type d'action"
}
},
"DEFAULT_SEARCH": "Par défaut"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Bouton Créer un nouveau dossier",
"EDIT_NODE_LABEL": "Bouton Modifier le nœud",
"DELETE_NODE_LABEL": "Bouton Supprimer l'icône du nœud"
},
"DEFAULT_SEARCH": "Par défaut",
"OPEN_DIALOG": "Boîte de dialogue Ouvrir",
"SHOW_LIST_LABEL": "Cliquer pour afficher la liste"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Tipo di autenticazione",
"BASIC": "Autenticazione di base",
"SSO": "SSO",
"IMPLICIT-FLOW": "Flusso implicito",
"PROVIDER": "Fornitore",
"REQUIRED": "Questo campo è obbligatorio",
"CS_URL_ERROR": "L'indirizzo Content Services non corrisponde al formato dell'URL",
"PS_URL_ERROR": "L'indirizzo Process Services non corrisponde al formato dell'URL",
"TITLE": "Impostazioni",
"CS-HOST": "URL Content Services",
"BP-HOST": "URL Process Services",
"BACK": "Indietro",
"APPLY": "Applica",
"NOT_VALID": "http(s)://host|ip:port(/path) non riconosciuto, provare un URL diverso.",
"REDIRECT": "Reindirizza URI",
"REDIRECT_LOGOUT": "Reindirizza logout URI",
"SILENT": "Login invisibile",
"SCOPE": "Ambito",
"CLIENT": "ID client",
"PUBLIC_URLS": "URL pubblici per login invisibile",
"SECRET": "Segreto"
},
"ABOUT": {
"DEVELOPMENT": "Modalità sviluppo"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Componente Cloud gruppi",
"CONFIRM-DIALOG": "Finestra di conferma",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Elenco compiti servizio"
"SERVICE_TASK_LIST": "Elenco compiti servizio",
"RICH_TEXT_EDITOR": "Editor di testo RTF"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Sostituisci colonne",
"LOAD_NODE": "Carica nodo",
"MULTISELECT": "Selezione multipla",
"MULTISELECT_DESCRIPTION": "Usa Cmd (Mac) o Ctrl (Windows) per attivare/disattivare la selezione di più elementi"
"MULTISELECT_DESCRIPTION": "Usa Cmd (Mac) o Ctrl (Windows) per attivare/disattivare la selezione di più elementi",
"USE_CUSTOM_COLUMN_HEADER": "Usa il modello personalizzato per l'intestazione \"Utente\"",
"CUSTOM_COLUMN_HEADER": "Modello personalizzato per intestazione Utente"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Nessun rapporto selezionato. Scegliere un rapporto dall'elenco"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Tutti i gruppi preselezionati",
"INVALID_USERS": "Utenti non validi",
"INVALID_GROUPS": "Gruppi non validi",
"READONLY_MODE": "Modalità sola lettura"
"READONLY_MODE": "Modalità sola lettura",
"GROUPS_RESTRICTION": "Limitazione gruppi"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selezione multipla",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Tipo di azione"
}
},
"DEFAULT_SEARCH": "Predefinito"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Crea pulsante nuova cartella",
"EDIT_NODE_LABEL": "Modifica pulsante nodo",
"DELETE_NODE_LABEL": "Elimina icona nodo"
},
"DEFAULT_SEARCH": "Predefinito",
"OPEN_DIALOG": "Apri finestra di dialogo",
"SHOW_LIST_LABEL": "Fai clic per mostrare l'elenco"
}
+41 -7
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "認証タイプ",
"BASIC": "基本認証",
"SSO": "SSO",
"IMPLICIT-FLOW": "暗黙的フロー",
"PROVIDER": "プロバイダ",
"REQUIRED": "このフィールドは必須です",
"CS_URL_ERROR": "Content Services のアドレスが URL 形式と一致しません",
"PS_URL_ERROR": "Process Services のアドレスが URL 形式と一致しません",
"TITLE": "設定",
"CS-HOST": "Content Services の URL",
"BP-HOST": "Process Services の URL",
"BACK": "戻る",
"APPLY": "適用",
"NOT_VALID": "http(s)://host|ip:port(/path) が認識されません。別の URL を指定してください。",
"REDIRECT": "リダイレクト URI",
"REDIRECT_LOGOUT": "リダイレクト URI のログアウト",
"SILENT": "サイレントログイン",
"SCOPE": "範囲",
"CLIENT": "クライアント ID",
"PUBLIC_URLS": "サイレントログインのパブリック URL",
"SECRET": "シークレット"
},
"ABOUT": {
"DEVELOPMENT": "開発モード"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "グループのクラウドコンポーネント",
"CONFIRM-DIALOG": "確認ダイアログ",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "サービスタスクリスト"
"SERVICE_TASK_LIST": "サービスタスクリスト",
"RICH_TEXT_EDITOR": "リッチテキストエディタ"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "列の置換",
"LOAD_NODE": "ノードの読み込み",
"MULTISELECT": "複数選択",
"MULTISELECT_DESCRIPTION": "複数選択の切り替えを行うには、Cmd (Mac) キーまたは Ctrl (Windows) キーを押します"
"MULTISELECT_DESCRIPTION": "複数選択の切り替えを行うには、Cmd (Mac) キーまたは Ctrl (Windows) キーを押します",
"USE_CUSTOM_COLUMN_HEADER": "「ユーザー」ヘッダーにカスタムテンプレートを使用",
"CUSTOM_COLUMN_HEADER": "カスタムユーザーヘッダーテンプレート"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "レポートが選択されていません。リストからレポートを選択してください。"
@@ -245,7 +271,7 @@
"RESULTS": "検索結果",
"NO_RESULT": "一致するアイテムはありません",
"FACET_FIELDS": {
"TYPE": "1:種類",
"TYPE": "1:タイプ",
"SIZE": "2:サイズ",
"CREATOR": "3:作成者",
"MODIFIER": "4:変更者",
@@ -254,7 +280,7 @@
"FACET_QUERIES": {
"MY_FACET_QUERIES": "あなたのファセットクエリ",
"CREATED_THIS_YEAR": "1.今年作成",
"MIMETYPE": "2.種類: HTML",
"MIMETYPE": "2.タイプ: HTML",
"XTRASMALL": "3.サイズ: 極小",
"SMALL": "4.サイズ: 小",
"MEDIUM": "5.サイズ: 中",
@@ -290,7 +316,7 @@
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "アプリケーション ID を挿入してください",
"APP_ID_REQUIRED_ERROR": "アプリケーション ID を挿入する",
"APP_ID_TYPE_ERROR": "アプリケーション ID は数字でなければなりません",
"NUMBER_GREATER_THAN": "値は {{ value }} 以上でなければなりません"
},
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "選択されている全グループ",
"INVALID_USERS": "無効なユーザー",
"INVALID_GROUPS": "無効なグループ",
"READONLY_MODE": "読み取り専用モード"
"READONLY_MODE": "読み取り専用モード",
"GROUPS_RESTRICTION": "グループ制限"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "複数選択",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "処理のタイプ"
}
},
"DEFAULT_SEARCH": "デフォルト"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "新しいフォルダボタンの作成",
"EDIT_NODE_LABEL": "ノードボタンの編集",
"DELETE_NODE_LABEL": "ノードアイコンボタンの削除"
},
"DEFAULT_SEARCH": "デフォルト",
"OPEN_DIALOG": "ダイアログを開く",
"SHOW_LIST_LABEL": "クリックしてリストを表示"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Godkjenningstype",
"BASIC": "Grunnleggende godkjenning",
"SSO": "SSO",
"IMPLICIT-FLOW": "Implisitt flyt",
"PROVIDER": "Leverandør",
"REQUIRED": "Dette feltet er påkrevd",
"CS_URL_ERROR": "Adressen til innholdstjenesten stemmer ikke med URL-formatet",
"PS_URL_ERROR": "Adressen til prosesstjenestene stemmer ikke med URL-formatet",
"TITLE": "Innstillinger",
"CS-HOST": "URL tinnholdstjenester",
"BP-HOST": "URL prosesstjenester",
"BACK": "Tilbake",
"APPLY": "Bruk",
"NOT_VALID": "http(s)://host|ip:port(/path) ikke gjenkjent, prøv en annen URL.",
"REDIRECT": "Omdirigerings-URI",
"REDIRECT_LOGOUT": "Omdirigerings-URI avlogging",
"SILENT": "Stille pålogging",
"SCOPE": "Område",
"CLIENT": "Klient-ID",
"PUBLIC_URLS": "Offentlige URL-er for stille pålogging",
"SECRET": "Hemmelig"
},
"ABOUT": {
"DEVELOPMENT": "Utvikl.modus"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Gruppesky-kompontent",
"CONFIRM-DIALOG": "Bekreftelsesdialog",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Serviceoppgaveliste"
"SERVICE_TASK_LIST": "Serviceoppgaveliste",
"RICH_TEXT_EDITOR": "Åpne rik teksteditor"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "erstatt kolonner",
"LOAD_NODE": "Last node",
"MULTISELECT": "Multivalg",
"MULTISELECT_DESCRIPTION": "Bruk Cmd (Mac) eller Ctrl (Windows) for å veksle mellom valg av flere elementer"
"MULTISELECT_DESCRIPTION": "Bruk Cmd (Mac) eller Ctrl (Windows) for å veksle mellom valg av flere elementer",
"USE_CUSTOM_COLUMN_HEADER": "Bruk egendefinert mal for toppteksten 'bruker'",
"CUSTOM_COLUMN_HEADER": "Egendefinert topptekst for bruker"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Ingen rapport valgt. Velg en rapport fra listen"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Alle forhåndsvalgte grupper",
"INVALID_USERS": "Ugyldige brukere",
"INVALID_GROUPS": "Ugyldige grupper",
"READONLY_MODE": "Skrivebeskyttet modus"
"READONLY_MODE": "Skrivebeskyttet modus",
"GROUPS_RESTRICTION": "Gruppebegrensning"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Flervalg",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Handlingstype"
}
},
"DEFAULT_SEARCH": "Standard"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Opprett en ny mappe-knapp",
"EDIT_NODE_LABEL": "Rediger node-knapp",
"DELETE_NODE_LABEL": "Slett nodeikon-knapp"
},
"DEFAULT_SEARCH": "Standard",
"OPEN_DIALOG": "Åpne dialog",
"SHOW_LIST_LABEL": "Klikk for å vise listen"
}
+39 -5
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Verificatietype",
"BASIC": "Basisverificatie",
"SSO": "SSO",
"IMPLICIT-FLOW": "Impliciete stroom",
"PROVIDER": "Provider",
"REQUIRED": "Dit veld is vereist",
"CS_URL_ERROR": "Content Services-adres komt niet overeen met de URL-indeling",
"PS_URL_ERROR": "Process Services-adres komt niet overeen met de URL-indeling",
"TITLE": "Instellingen",
"CS-HOST": "Content Services-URL",
"BP-HOST": "Process Services-URL",
"BACK": "Terug",
"APPLY": "Toepassen",
"NOT_VALID": "http(s)://host|ip:port(/path) niet herkend, probeer een andere URL.",
"REDIRECT": "Omleidings-URI",
"REDIRECT_LOGOUT": "Omleidings-URI afmelden",
"SILENT": "Stille aanmelding",
"SCOPE": "Bereik",
"CLIENT": "Client-id",
"PUBLIC_URLS": "Openbare URL's voor stille aanmelding",
"SECRET": "Geheim"
},
"ABOUT": {
"DEVELOPMENT": "Ontwikkelaarsmodus"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Component Groepencloud",
"CONFIRM-DIALOG": "Bevestigingsdialoogvenster",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Lijst met servicetaken"
"SERVICE_TASK_LIST": "Lijst met servicetaken",
"RICH_TEXT_EDITOR": "RTF-editor"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Kolommen vervangen",
"LOAD_NODE": "Node laden",
"MULTISELECT": "Multiselect",
"MULTISELECT_DESCRIPTION": "Cmd (Mac) of Ctrl (Windows) gebruiken om de selectie van meerdere items in of uit te schakelen"
"MULTISELECT_DESCRIPTION": "Cmd (Mac) of Ctrl (Windows) gebruiken om de selectie van meerdere items in of uit te schakelen",
"USE_CUSTOM_COLUMN_HEADER": "Aangepaste sjabloon voor 'User'-koptekst gebruiken",
"CUSTOM_COLUMN_HEADER": "Aangepaste sjabloon voor User-koptekst"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Geen rapport geselecteerd. Kies een rapport uit de lijst"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Alle voorgeselecteerde groepen",
"INVALID_USERS": "Ongeldige gebruikers",
"INVALID_GROUPS": "Ongeldige groepen",
"READONLY_MODE": "Alleen-lezenmodus"
"READONLY_MODE": "Alleen-lezenmodus",
"GROUPS_RESTRICTION": "Groepenbeperking"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multiselectie",
@@ -350,9 +377,16 @@
"TITLE": "Titel",
"ICON": "Pictogram",
"TASK_ID": "Taak-id",
"PROCESS_ID": "Procesinstantie-id",
"PROCESS_ID": "Procesinstance-id",
"ACTION_TYPE": "Actietype"
}
},
"DEFAULT_SEARCH": "Standaard"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Knop Nieuwe map maken",
"EDIT_NODE_LABEL": "Knop Node bewerken",
"DELETE_NODE_LABEL": "Pictogramknop Node verwijderen"
},
"DEFAULT_SEARCH": "Standaard",
"OPEN_DIALOG": "Dialoogvenster Openen",
"SHOW_LIST_LABEL": "Klik om de lijst weer te geven"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Typ uwierzytelnienia",
"BASIC": "Uwierzytelnienie podstawowe",
"SSO": "Logowanie jednokrotne",
"IMPLICIT-FLOW": "Niejawny przepływ",
"PROVIDER": "Dostawca",
"REQUIRED": "To pole jest wymagane.",
"CS_URL_ERROR": "Adres usług Content Services jest niezgodny z formatem adresu URL.",
"PS_URL_ERROR": "Adres usług Process Services jest niezgodny z formatem adresu URL.",
"TITLE": "Ustawienia",
"CS-HOST": "Adres URL usług Content Services",
"BP-HOST": "Adres URL usług Process Services",
"BACK": "Wstecz",
"APPLY": "Zastosuj",
"NOT_VALID": "Nie rozpoznano adresu http(s)://host|ip:port(/path). Spróbuj użyć innego adresu URL.",
"REDIRECT": "Identyfikator URI przekierowania",
"REDIRECT_LOGOUT": "Identyfikator URI przekierowania — wylogowanie",
"SILENT": "Ciche logowanie",
"SCOPE": "Zakres",
"CLIENT": "Identyfikator klienta",
"PUBLIC_URLS": "Publiczne URL do cichego logowania",
"SECRET": "Klucz tajny"
},
"ABOUT": {
"DEVELOPMENT": "Tryb progr."
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Składnik Chmura dla grup",
"CONFIRM-DIALOG": "Okno dialogowe potwierdzenia",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Lista zadań serwisowych"
"SERVICE_TASK_LIST": "Lista zadań serwisowych",
"RICH_TEXT_EDITOR": "Edytor tekstu sformatowanego"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Zastąp kolumny",
"LOAD_NODE": "Wczytaj węzeł",
"MULTISELECT": "Wybór wielokrotny",
"MULTISELECT_DESCRIPTION": "Używaj klawiszy Cmd (system Mac) lub Ctrl (system Windows), aby przełączać wybieranie wielu elementów."
"MULTISELECT_DESCRIPTION": "Używaj klawiszy Cmd (system Mac) lub Ctrl (system Windows), aby przełączać wybieranie wielu elementów.",
"USE_CUSTOM_COLUMN_HEADER": "Użyj szablonu niestandardowego dla nagłówka 'Użytkownik'",
"CUSTOM_COLUMN_HEADER": "Szablon niestandardowy nagłówka Użytkownik"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Nie wybrano raportu. Wybierz raport z listy."
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Wszystkie wstępnie wybrane grupy",
"INVALID_USERS": "Nieprawidłowi użytkownicy",
"INVALID_GROUPS": "Nieprawidłowe grupy",
"READONLY_MODE": "Tryb tylko do odczytu"
"READONLY_MODE": "Tryb tylko do odczytu",
"GROUPS_RESTRICTION": "Ograniczenie grup"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Wybór wielokrotny",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Typ czynności"
}
},
"DEFAULT_SEARCH": "Domyślne"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Przycisk Utwórz nowy folder",
"EDIT_NODE_LABEL": "Przycisk Edytuj węzeł",
"DELETE_NODE_LABEL": "Przycisk Usuń ikonę węzła"
},
"DEFAULT_SEARCH": "Domyślne",
"OPEN_DIALOG": "Otwórz okno dialogowe",
"SHOW_LIST_LABEL": "Kliknij, aby wyświetlić listę"
}
+41 -7
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Tipo de autenticação",
"BASIC": "Autenticação básica",
"SSO": "SSO",
"IMPLICIT-FLOW": "Fluxo implícito",
"PROVIDER": "Provedor",
"REQUIRED": "Este campo é obrigatório",
"CS_URL_ERROR": "O endereço do Content Services não corresponde ao formato de URL",
"PS_URL_ERROR": "O endereço do Process Services não corresponde ao formato de URL",
"TITLE": "Configurações",
"CS-HOST": "URL do Content Services",
"BP-HOST": "URL do Process Services",
"BACK": "Voltar",
"APPLY": "Aplicar",
"NOT_VALID": "http(s)://host|ip:port(/path) não reconhecida, tente uma URL diferente.",
"REDIRECT": "Redirecionar URI",
"REDIRECT_LOGOUT": "Redirecionar logout de URI",
"SILENT": "Login silencioso",
"SCOPE": "Escopo",
"CLIENT": "ID de cliente",
"PUBLIC_URLS": "Login silencioso de URLs públicas",
"SECRET": "Segredo"
},
"ABOUT": {
"DEVELOPMENT": "Modo de desenvolvimento"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Componente da Nuvem de Grupos",
"CONFIRM-DIALOG": "Caixa de diálogo de confirmação",
"COMMUNITY": "Comunidade",
"SERVICE_TASK_LIST": "Lista de tarefas de serviços"
"SERVICE_TASK_LIST": "Lista de tarefas de serviços",
"RICH_TEXT_EDITOR": "Editor de RTF"
},
"TRASHCAN": {
"ACTIONS": {
@@ -157,9 +181,9 @@
"TOOLBAR": {
"CARDVIEW": "Modo de visualização de cartão",
"SHARE_EDIT": "Editar configurações",
"NEW_FOLDER": "Nova Pasta",
"NEW_FOLDER": "Nova pasta",
"EDIT_FOLDER": "Editar pasta",
"DOWNLOAD": "Descarregar",
"DOWNLOAD": "Baixar",
"DELETE": "Excluir",
"FAVORITES": "Adicionar aos favoritos",
"SHARE": "Compartilhar",
@@ -174,7 +198,7 @@
"ASPECTS": "Atualizar aspectos",
"LOCK": "Bloqueio",
"METADATA": "Informações",
"DOWNLOAD": "Descarregar",
"DOWNLOAD": "Baixar",
"PERMISSION": "Permissão",
"FOLDER": {
"COPY": "Copiar",
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Substituir colunas",
"LOAD_NODE": "Carregar Nó",
"MULTISELECT": "Seleção Múltipla",
"MULTISELECT_DESCRIPTION": "Use Cmd (Mac) ou Ctrl (Windows) para alternar a seleção de vários itens"
"MULTISELECT_DESCRIPTION": "Use Cmd (Mac) ou Ctrl (Windows) para alternar a seleção de vários itens",
"USE_CUSTOM_COLUMN_HEADER": "Usar modelo personalizado para o cabeçalho 'Usuário'",
"CUSTOM_COLUMN_HEADER": "Modelo personalizado do cabeçalho Usuário"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Nenhum relatório selecionado. Escolha um relatório na lista"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Todos os grupos pré-selecionados",
"INVALID_USERS": "Usuários inválidos",
"INVALID_GROUPS": "Grupos inválidos",
"READONLY_MODE": "Modo somente leitura"
"READONLY_MODE": "Modo somente leitura",
"GROUPS_RESTRICTION": "Restrição de grupos"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Seleção Múltipla",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Tipo de ação"
}
},
"DEFAULT_SEARCH": "Padrão"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Criar um novo botão de pasta",
"EDIT_NODE_LABEL": "Editar botão de nó",
"DELETE_NODE_LABEL": "Excluir botão de ícone de nó"
},
"DEFAULT_SEARCH": "Padrão",
"OPEN_DIALOG": "Abrir caixa de diálogo",
"SHOW_LIST_LABEL": "Clique para mostrar a lista"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Тип авторизации",
"BASIC": "Базовая авторизация",
"SSO": "SSO",
"IMPLICIT-FLOW": "Неявный поток",
"PROVIDER": "Поставщик",
"REQUIRED": "Поле обязательно для заполнения",
"CS_URL_ERROR": "Адрес Content Services не соответствует формату URL",
"PS_URL_ERROR": "Адрес Process Services не соответствует формату URL",
"TITLE": "Параметры",
"CS-HOST": "URL-адрес Content Services",
"BP-HOST": "URL-адрес Process Services",
"BACK": "Назад",
"APPLY": "Применить",
"NOT_VALID": "http(s)://host|ip:port(/path) не распознан, используйте другой URL-адрес.",
"REDIRECT": "URI перенаправления",
"REDIRECT_LOGOUT": "Выход URI перенаправления",
"SILENT": "Автоматический вход",
"SCOPE": "Область применения",
"CLIENT": "Идентификатор клиента",
"PUBLIC_URLS": "Общедоступные URL-адреса с автоматическим входом",
"SECRET": "Секретный"
},
"ABOUT": {
"DEVELOPMENT": "Режим разработки"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Компонент облака «Группы»",
"CONFIRM-DIALOG": "Диалоговое окно подтверждения",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Список сервисных задач"
"SERVICE_TASK_LIST": "Список сервисных задач",
"RICH_TEXT_EDITOR": "Редактор форматированного текста"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Заменить столбцы",
"LOAD_NODE": "Загрузить узел",
"MULTISELECT": "Выбор нескольких вариантов",
"MULTISELECT_DESCRIPTION": "Использовать кнопку Cmd (Mac) или Ctrl (Windows) для переключения выбора нескольких элементов"
"MULTISELECT_DESCRIPTION": "Использовать кнопку Cmd (Mac) или Ctrl (Windows) для переключения выбора нескольких элементов",
"USE_CUSTOM_COLUMN_HEADER": "Использовать пользовательский шаблон для заголовка «Пользователь»",
"CUSTOM_COLUMN_HEADER": "Пользовательский шаблон заголовка пользователя"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Отчет не выбран. Выберите отчет из списка"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Все заранее заданные группы",
"INVALID_USERS": "Недействительные пользователи",
"INVALID_GROUPS": "Недействительные группы",
"READONLY_MODE": "Режим только для чтения"
"READONLY_MODE": "Режим только для чтения",
"GROUPS_RESTRICTION": "Ограничение для групп"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Выбор нескольких",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Тип действия"
}
},
"DEFAULT_SEARCH": "По умолчанию"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Кнопка \"Создать новую папку\"",
"EDIT_NODE_LABEL": "Кнопка \"Редактировать узел\"",
"DELETE_NODE_LABEL": "Кнопка \"Удалить значок узла\""
},
"DEFAULT_SEARCH": "По умолчанию",
"OPEN_DIALOG": "Открыть диалог",
"SHOW_LIST_LABEL": "Нажмите для отображения списка"
}
+38 -4
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "Autentiseringstyp",
"BASIC": "Grundläggande autentisering",
"SSO": "SSO",
"IMPLICIT-FLOW": "Implicit flöde",
"PROVIDER": "Leverantör",
"REQUIRED": "Detta fält krävs",
"CS_URL_ERROR": "Content Services-adressen matchar inte URL-formatet",
"PS_URL_ERROR": "Process Services-adressen matchar inte URL-formatet",
"TITLE": "Inställningar",
"CS-HOST": "Content Services-URL",
"BP-HOST": "Process Services-URL",
"BACK": "Tillbaka",
"APPLY": "Tillämpa",
"NOT_VALID": "http(s)://host|ip:port(/path) kändes inte igen, testa annan URL.",
"REDIRECT": "Omdirigera URI",
"REDIRECT_LOGOUT": "Omdirigera URI-utloggning",
"SILENT": "Tyst inloggning",
"SCOPE": "Definitionsområde",
"CLIENT": "Klient-ID",
"PUBLIC_URLS": "Offentliga url:er för tyst inloggning",
"SECRET": "Hemlig"
},
"ABOUT": {
"DEVELOPMENT": "Utvecklarläge"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "Grupper moln-komponent",
"CONFIRM-DIALOG": "Dialogruta för bekräftelse",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "Serviceuppgiftslista"
"SERVICE_TASK_LIST": "Serviceuppgiftslista",
"RICH_TEXT_EDITOR": "RT-redigerare"
},
"TRASHCAN": {
"ACTIONS": {
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "Ersätt kolumner",
"LOAD_NODE": "Läs in nod",
"MULTISELECT": "Flerval",
"MULTISELECT_DESCRIPTION": "Använd Cmd (Mac) eller Ctrl (Windows) för att växla val av flera objekt"
"MULTISELECT_DESCRIPTION": "Använd Cmd (Mac) eller Ctrl (Windows) för att växla val av flera objekt",
"USE_CUSTOM_COLUMN_HEADER": "Använd anpassad mall för \"Användare\"-rubrik",
"CUSTOM_COLUMN_HEADER": "Anpassad användarhuvudmall"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Ingen rapport vald. Välj en rapport från listan"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "Alla förvalda grupper",
"INVALID_USERS": "Ogiltiga användare",
"INVALID_GROUPS": "Ogiltiga grupper",
"READONLY_MODE": "Skrivskyddat läge"
"READONLY_MODE": "Skrivskyddat läge",
"GROUPS_RESTRICTION": "Gruppbegränsning"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Flerval",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "Åtgärdstyp"
}
},
"DEFAULT_SEARCH": "Standard"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "Knappen Skapa en ny mapp",
"EDIT_NODE_LABEL": "Knappen Redigera nod",
"DELETE_NODE_LABEL": "Knappen Radera nodikon"
},
"DEFAULT_SEARCH": "Standard",
"OPEN_DIALOG": "Öppna dialogruta",
"SHOW_LIST_LABEL": "Klicka för att visa listan"
}
+45 -11
View File
@@ -1,5 +1,28 @@
{
"APP": {
"HOST_SETTINGS": {
"TYPE-AUTH": "身份验证类型",
"BASIC": "基本身份验证",
"SSO": "SSO",
"IMPLICIT-FLOW": "隐式流",
"PROVIDER": "提供程序",
"REQUIRED": "此字段为必填字段",
"CS_URL_ERROR": "Content Services 地址与 URL 格式不匹配",
"PS_URL_ERROR": "Process Services 地址与 URL 格式不匹配",
"TITLE": "设置",
"CS-HOST": "Content Services URL",
"BP-HOST": "Process Services URL",
"BACK": "返回",
"APPLY": "应用",
"NOT_VALID": "http(s)://host|ip:port(/path) 无法识别,请使用其他 URL。",
"REDIRECT": "重定向 URI",
"REDIRECT_LOGOUT": "重定向 URI 注销",
"SILENT": "静默登录",
"SCOPE": "范围",
"CLIENT": "客户端 ID",
"PUBLIC_URLS": "用于静默登录的公共 URL",
"SECRET": "机密"
},
"ABOUT": {
"DEVELOPMENT": "Dev 模式"
},
@@ -83,7 +106,7 @@
"FORM_LOADING": "表单加载",
"UPLOADER": "上传程序",
"WEBSCRIPT": "Webscript",
"TAG": "标",
"TAG": "标",
"PIPES": "管道",
"TRASHCAN": "垃圾桶",
"SOCIAL": "社交",
@@ -103,7 +126,7 @@
"PEOPLE_GROUPS_CLOUD": "人员/一组云",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "云的任务标题",
"APP_NAME_INPUT": "应用程序名称",
"APP_NAME_INPUT": "App 名称",
"TASK_ID_INPUT": "任务 id",
"FIND_TASK_BUTTON": "查找任务"
},
@@ -111,7 +134,8 @@
"GROUPS_CLOUD": "组云组件",
"CONFIRM-DIALOG": "确认对话",
"COMMUNITY": "Community",
"SERVICE_TASK_LIST": "服务任务列表"
"SERVICE_TASK_LIST": "服务任务列表",
"RICH_TEXT_EDITOR": "RTF 编辑器"
},
"TRASHCAN": {
"ACTIONS": {
@@ -150,7 +174,7 @@
"CREATED_BY": "创建者",
"CREATED_ON": "创建日期",
"CREATED": "已创建",
"SIZE": "字号(&S)",
"SIZE": "尺寸",
"DELETED_ON": "已删除",
"DELETED_BY": "删除人"
},
@@ -196,7 +220,9 @@
"REPLACE_COLUMNS": "替换列",
"LOAD_NODE": "加载节点",
"MULTISELECT": "多选",
"MULTISELECT_DESCRIPTION": "使用 Cmd (Mac) 或 Ctrl (Windows) 切换多个项目的选择"
"MULTISELECT_DESCRIPTION": "使用 Cmd (Mac) 或 Ctrl (Windows) 切换多个项目的选择",
"USE_CUSTOM_COLUMN_HEADER": "为“用户”标题使用自定义模板",
"CUSTOM_COLUMN_HEADER": "自定义用户标题模板"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "未选择报告,请从列表中选择报告"
@@ -278,8 +304,8 @@
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "插入应用程序 ID",
"APP_ID_TYPE_ERROR": "应用程序 ID 必须为数字",
"APP_ID_REQUIRED_ERROR": "插入 App ID",
"APP_ID_TYPE_ERROR": "App ID 必须为数字",
"NUMBER_TYPE_ERROR": "值必须是数字",
"NUMBER_GREATER_THAN": "值必须大于或等于 {{ value }}"
},
@@ -290,8 +316,8 @@
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "插入应用程序 ID",
"APP_ID_TYPE_ERROR": "应用程序 ID 必须为数字",
"APP_ID_REQUIRED_ERROR": "插入 App ID",
"APP_ID_TYPE_ERROR": "App ID 必须为数字",
"NUMBER_GREATER_THAN": "值必须大于或等于 {{ value }}"
},
"PROCESS_CONTEXT_MENU": "流程列表上下文菜单"
@@ -330,7 +356,8 @@
"ALL_PRESELECTED_GROUPS": "所有预选组",
"INVALID_USERS": "无效用户",
"INVALID_GROUPS": "无效组",
"READONLY_MODE": "只读模式"
"READONLY_MODE": "只读模式",
"GROUPS_RESTRICTION": "组限制"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "多重选择",
@@ -354,5 +381,12 @@
"ACTION_TYPE": "操作类型"
}
},
"DEFAULT_SEARCH": "默认值"
"BREADCRUMB_DEMO": {
"NEW_FOLDER_LABEL": "创建一个新文件夹按钮",
"EDIT_NODE_LABEL": "编辑节点按钮",
"DELETE_NODE_LABEL": "删除节点图标按钮"
},
"DEFAULT_SEARCH": "默认值",
"OPEN_DIALOG": "打开对话框",
"SHOW_LIST_LABEL": "单击以显示列表"
}
+18 -1
View File
@@ -1,5 +1,5 @@
{
"$schema": "../../lib/core/app-config/schema.json",
"$schema": "../../lib/core/src/lib/app-config/schema.json",
"ecmHost": "{protocol}//{hostname}{:port}",
"bpmHost": "{protocol}//{hostname}{:port}",
"identityHost": "{protocol}//{hostname}{:port}/auth/admin/realms/alfresco",
@@ -1327,6 +1327,15 @@
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.LAST_MODIFIED",
"sortable": true,
"format": "timeAgo"
},
{
"id": "description",
"key": "description",
"type": "text",
"title": "ADF_CLOUD_TASK_LIST.PROPERTIES.DESCRIPTION",
"sortable": false,
"draggable": false,
"isHidden": true
}
]
}
@@ -1467,5 +1476,13 @@
"ai:labels",
"ai:textLines"
]
},
"viewer": {
"enableDownloadPrompt": false,
"enableDownloadPromptReminder": false,
"downloadPromptDelay": 50,
"downloadPromptReminderDelay": 30,
"enableFileAutoDownload": true,
"fileAutoDownloadSizeThresholdInMB": 15
}
}
+5 -6
View File
@@ -20,7 +20,7 @@ import { APP_INITIALIZER, NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FlexLayoutModule } from '@angular/flex-layout';
import { ChartsModule } from 'ng2-charts';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { HttpClientModule } from '@angular/common/http';
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { TranslateModule } from '@ngx-translate/core';
import {
@@ -29,7 +29,7 @@ import {
DebugAppConfigService,
CoreModule,
CoreAutomationService,
AuthBearerInterceptor
AuthModule
} from '@alfresco/adf-core';
import { ExtensionsModule } from '@alfresco/adf-extensions';
import { AppComponent } from './app.component';
@@ -115,6 +115,7 @@ import localeSv from '@angular/common/locales/sv';
import { setupAppNotifications } from './services/app-notifications-factory';
import { AppNotificationsService } from './services/app-notifications.service';
import { SearchFilterChipsComponent } from './components/search/search-filter-chips.component';
import { UserInfoComponent } from './components/app-layout/user-info/user-info.component';
registerLocaleData(localeFr);
registerLocaleData(localeDe);
@@ -139,6 +140,7 @@ registerLocaleData(localeSv);
environment.e2e ? NoopAnimationsModule : BrowserAnimationsModule,
ReactiveFormsModule,
RouterModule.forRoot(appRoutes, { useHash: true, relativeLinkResolution: 'legacy' }),
...(environment.oidc ? [AuthModule.forRoot({ useHash: true })] : []),
FormsModule,
HttpClientModule,
MaterialModule,
@@ -159,6 +161,7 @@ registerLocaleData(localeSv);
AppComponent,
LogoutComponent,
AppLayoutComponent,
UserInfoComponent,
HomeComponent,
SearchBarComponent,
SearchResultComponent,
@@ -209,10 +212,6 @@ registerLocaleData(localeSv);
SearchFilterChipsComponent
],
providers: [
{
provide: HTTP_INTERCEPTORS, useClass:
AuthBearerInterceptor, multi: true
},
{ provide: AppConfigService, useClass: DebugAppConfigService }, // not use this service in production
{
provide: TRANSLATION_PROVIDER,
@@ -1,4 +1,34 @@
<mat-slide-toggle [(ngModel)]="dev">{{'APP.ABOUT.DEVELOPMENT' | translate }}</mat-slide-toggle>
<adf-about [dev]="dev" [pkg]="pkg"> </adf-about>
<adf-about>
<adf-about-panel *ngIf="dev" [label]="'ABOUT.SERVER_SETTINGS.TITLE' | translate">
<ng-template>
<adf-about-server-settings></adf-about-server-settings>
</ng-template>
</adf-about-panel>
<adf-about-panel *ngIf="dev" [label]="'ABOUT.PACKAGES.TITLE' | translate">
<ng-template>
<adf-about-package-list [dependencies]="pkg?.dependencies"></adf-about-package-list>
</ng-template>
</adf-about-panel>
<adf-about-panel [label]="'ABOUT.REPOSITORY' | translate" *ngIf="repository">
<ng-template>
<adf-about-repository-info [data]="repository"></adf-about-repository-info>
</ng-template>
</adf-about-panel>
<adf-about-panel [label]="'ABOUT.VERSIONS.TITLE' | translate">
<ng-template>
<adf-about-platform-version [repository]="repository" [process]="bpmVersion"></adf-about-platform-version>
</ng-template>
</adf-about-panel>
<adf-about-panel *ngIf="extensions$ | async as extensions" [label]="'ABOUT.PLUGINS.TITLE' | translate">
<ng-template>
<adf-about-extension-list [data]="extensions"></adf-about-extension-list>
</ng-template>
</adf-about-panel>
</adf-about>
@@ -1,3 +0,0 @@
.adf-extension-details-container {
padding: 4px;
}
@@ -15,20 +15,53 @@
* limitations under the License.
*/
import { Component } from '@angular/core';
import { Component, OnInit } from '@angular/core';
import { AppExtensionService, ExtensionRef } from '@alfresco/adf-extensions';
import { AuthenticationService, BpmProductVersionModel, RepositoryInfo } from '@alfresco/adf-core';
import { DiscoveryApiService } from '@alfresco/adf-content-services';
import pkg from '../../../../../package.json';
import { Observable } from 'rxjs';
@Component({
selector: 'app-about-page',
templateUrl: './about.component.html',
styleUrls: ['./about.component.scss']
templateUrl: './about.component.html'
})
export class AboutComponent {
export class AboutComponent implements OnInit {
pkg: any;
dev: true;
constructor() {
extensions$: Observable<ExtensionRef[]>;
repository: RepositoryInfo = null;
bpmVersion: BpmProductVersionModel = null;
constructor(
private authenticationService: AuthenticationService,
private appExtensionService: AppExtensionService,
private discoveryApiService: DiscoveryApiService
) {
this.pkg = pkg;
this.extensions$ = this.appExtensionService.references$;
}
ngOnInit(): void {
if (this.authenticationService.isEcmLoggedIn()) {
this.setECMInfo();
}
if (this.authenticationService.isBpmLoggedIn()) {
this.setBPMInfo();
}
}
setECMInfo() {
this.discoveryApiService.getEcmProductInfo().subscribe((repository) => {
this.repository = repository as RepositoryInfo;
});
}
setBPMInfo() {
this.discoveryApiService.getBpmProductInfo().subscribe((bpmVersion) => {
this.bpmVersion = bpmVersion;
});
}
}
@@ -22,8 +22,7 @@
<div class="app-header-delimiexpandedSidenavter"></div>
<adf-userinfo [menuPositionX]="'before'" [menuPositionY]="'above'">
</adf-userinfo>
<app-shell-user-info [menuPositionX]="'before'" [menuPositionY]="'above'"></app-shell-user-info>
<app-theme-picker></app-theme-picker>
<button data-automation-id="language-menu-button" mat-icon-button [matMenuTriggerFor]="langMenu">
@@ -127,7 +127,7 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
this.color = color;
} else {
this.color = undefined;
document.documentElement.style.setProperty('--adf-header-background-color', color);
document.documentElement.style.setProperty('--theme-primary-color', color);
}
});
@@ -138,7 +138,7 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
this.headerService.headerTextColor
.pipe(takeUntil(this.onDestroy$))
.subscribe(headerTextColor => {
document.documentElement.style.setProperty('--adf-header-text-color', headerTextColor);
document.documentElement.style.setProperty('--theme-primary-color-default-contrast', headerTextColor);
});
this.headerService.logo
@@ -0,0 +1,21 @@
<ng-container>
<adf-content-user-info
*ngIf="mode === userInfoMode.CONTENT || mode === userInfoMode.CONTENT_SSO"
[ecmUser]="ecmUser$ | async"
[identityUser]="identityUser$ | async"
[isLoggedIn]="isLoggedIn"
[mode]="mode"
></adf-content-user-info>
<adf-identity-user-info
*ngIf="mode === userInfoMode.SSO"
[identityUser]="identityUser$ | async"
[isLoggedIn]="isLoggedIn"
></adf-identity-user-info>
<adf-process-user-info
*ngIf="mode === userInfoMode.PROCESS || mode === userInfoMode.ALL"
[bpmUser]="bpmUser$ | async"
[ecmUser]="ecmUser$ | async"
[isLoggedIn]="isLoggedIn"
[mode]="mode"
></adf-process-user-info>
</ng-container>
@@ -15,34 +15,18 @@
* limitations under the License.
*/
import { Component, Input, OnInit, ViewEncapsulation, ViewChild, OnDestroy } from '@angular/core';
import { AuthenticationService } from '../../services/authentication.service';
import { BpmUserModel } from '../../models/bpm-user.model';
import { EcmUserModel } from '../../models/ecm-user.model';
import { IdentityUserModel } from '../../models/identity-user.model';
import { BpmUserService } from '../../services/bpm-user.service';
import { IdentityUserService } from '../../services/identity-user.service';
import { of, Observable, Subject } from 'rxjs';
import { MatMenuTrigger, MenuPositionX, MenuPositionY } from '@angular/material/menu';
import { PeopleContentService } from '../../services/people-content.service';
import { EcmUserModel, PeopleContentService } from '@alfresco/adf-content-services';
import { BpmUserModel, PeopleProcessService } from '@alfresco/adf-process-services';
import { AuthenticationService, IdentityUserModel, IdentityUserService, UserInfoMode } from '@alfresco/adf-core';
import { Component, OnInit, Input } from '@angular/core';
import { MenuPositionX, MenuPositionY } from '@angular/material/menu';
import { Observable, of } from 'rxjs';
@Component({
selector: 'adf-userinfo',
templateUrl: './user-info.component.html',
styleUrls: ['./user-info.component.scss'],
encapsulation: ViewEncapsulation.None
selector: 'app-shell-user-info',
templateUrl: './user-info.component.html'
})
export class UserInfoComponent implements OnInit, OnDestroy {
@ViewChild(MatMenuTrigger) trigger: MatMenuTrigger;
/** Custom path for the background banner image for ACS users. */
@Input()
ecmBackgroundImage: string = './assets/images/ecm-background.png';
/** Custom path for the background banner image for APS users. */
@Input()
bpmBackgroundImage: string = './assets/images/bpm-background.png';
export class UserInfoComponent implements OnInit {
/** Custom choice for opening the menu at the bottom. Can be `before` or `after`. */
@Input()
@@ -52,26 +36,15 @@ export class UserInfoComponent implements OnInit, OnDestroy {
@Input()
menuPositionY: MenuPositionY = 'below';
/** Shows/hides the username next to the user info button. */
@Input()
showName: boolean = true;
/** When the username is shown, this defines its position relative to the user info button.
* Can be `right` or `left`.
*/
@Input()
namePosition: string = 'right';
mode: string;
mode: UserInfoMode;
ecmUser$: Observable<EcmUserModel>;
bpmUser$: Observable<BpmUserModel>;
identityUser$: Observable<IdentityUserModel>;
selectedIndex: number;
private destroy$ = new Subject();
userInfoMode = UserInfoMode;
constructor(private peopleContentService: PeopleContentService,
private bpmUserService: BpmUserService,
private peopleProcessService: PeopleProcessService,
private identityUserService: IdentityUserService,
private authService: AuthenticationService) {
}
@@ -80,40 +53,26 @@ export class UserInfoComponent implements OnInit, OnDestroy {
this.getUserInfo();
}
ngOnDestroy(): void {
this.destroy$.next(true);
this.destroy$.complete();
}
getUserInfo() {
if (this.authService.isOauth()) {
this.loadIdentityUserInfo();
this.mode = 'SSO';
this.mode = UserInfoMode.SSO;
if (this.authService.isEcmLoggedIn()) {
if (this.authService.isECMProvider() && this.authService.isEcmLoggedIn()) {
this.mode = UserInfoMode.CONTENT_SSO;
this.loadEcmUserInfo();
}
} else if (this.isAllLoggedIn()) {
this.loadEcmUserInfo();
this.loadBpmUserInfo();
this.mode = 'ALL';
this.mode = UserInfoMode.ALL;
} else if (this.isEcmLoggedIn()) {
this.loadEcmUserInfo();
this.mode = 'CONTENT';
this.mode = UserInfoMode.CONTENT;
} else if (this.isBpmLoggedIn()) {
this.loadBpmUserInfo();
this.mode = 'PROCESS';
}
}
onKeyPress(event: KeyboardEvent) {
this.closeUserModal(event);
}
private closeUserModal($event: KeyboardEvent) {
if ($event.keyCode === 27) {
this.trigger.closeMenu();
this.mode = UserInfoMode.PROCESS;
}
}
@@ -129,7 +88,7 @@ export class UserInfoComponent implements OnInit, OnDestroy {
}
private loadBpmUserInfo() {
this.bpmUser$ = this.bpmUserService.getCurrentUserInfo();
this.bpmUser$ = this.peopleProcessService.getCurrentUserInfo();
}
private loadIdentityUserInfo() {
@@ -147,20 +106,5 @@ export class UserInfoComponent implements OnInit, OnDestroy {
private isEcmLoggedIn() {
return this.authService.isEcmLoggedIn() || (this.authService.isECMProvider() && this.authService.isKerberosEnabled());
}
stopClosing(event: Event) {
event.stopPropagation();
}
getEcmAvatar(avatarId: any): string {
return this.peopleContentService.getUserProfileImage(avatarId);
}
getBpmUserImage(): string {
return this.bpmUserService.getCurrentUserProfileImage();
}
get showOnRight(): boolean {
return this.namePosition === 'right';
}
}
@@ -6,13 +6,13 @@
<mat-label>Node Id For Aspects</mat-label>
<input matInput placeholder="Node Id" [(ngModel)]="currentNodeId">
</mat-form-field>
<button mat-raised-button color="primary" aria-label="Click to show the list" (click)="showAspectForNode()">
<button mat-raised-button color="primary" [attr.aria-label]="'SHOW_LIST_LABEL' | translate" (click)="showAspectForNode()">
Show/Hide List
</button>
<adf-aspect-list [nodeId]="currentNodeId" *ngIf="isShowed" (valueChanged)="onValueChanged($event)"></adf-aspect-list>
</div>
<div>
<button mat-fab color="primary" aria-label="Open dialog" (click)="openAspectDialog()">
<button mat-fab color="primary" [attr.aria-label]="'OPEN_DIALOG' | translate" (click)="openAspectDialog()">
Dialog
</button>
</div>
@@ -64,13 +64,13 @@
</adf-toolbar-title>
<adf-toolbar-divider fxFlex="0 0 auto"></adf-toolbar-divider>
<div fxFlex="0 0 auto">
<button mat-icon-button aria-label="Create a new folder button">
<button mat-icon-button [attr.aria-label]="'BREADCRUMB_DEMO.NEW_FOLDER_LABEL' | translate">
<mat-icon>create_new_folder</mat-icon>
</button>
<button mat-icon-button aria-label="Edit node button">
<button mat-icon-button [attr.aria-label]="'BREADCRUMB_DEMO.EDIT_NODE_LABEL' | translate">
<mat-icon>create</mat-icon>
</button>
<button mat-icon-button aria-label="Delete node icon button">
<button mat-icon-button [attr.aria-label]="'BREADCRUMB_DEMO.DELETE_NODE_LABEL' | translate">
<mat-icon>delete</mat-icon>
</button>
</div>
@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { CloudLayoutService } from './services/cloud-layout.service';
@@ -1,4 +1,3 @@
<adf-viewer
[overlayMode]="true"
<adf-alfresco-viewer
[nodeId]="nodeId">
</adf-viewer>
</adf-alfresco-viewer>
@@ -49,8 +49,7 @@ export class CommunityStartProcessCloudDemoComponent implements OnInit {
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(
event.response.body.message,
4000
event.response.body.message
);
}
}
@@ -42,8 +42,7 @@ export class CommunityStartTaskCloudDemoComponent {
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(
event.response.body.message,
4000
event.response.body.message
);
}
}
@@ -19,7 +19,7 @@ import { Component, OnInit, OnDestroy } from '@angular/core';
import { CloudLayoutService, ActionMenuModel } from '../services/cloud-layout.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { FormGroup, FormControl } from '@angular/forms';
import { UntypedFormGroup, UntypedFormControl } from '@angular/forms';
@Component({
selector: 'app-cloud-settings',
@@ -44,12 +44,12 @@ export class CloudSettingsComponent implements OnInit, OnDestroy {
{ value: 'multiple', title: 'Multiple' }
];
actionMenuForm = new FormGroup({
key: new FormControl(''),
title: new FormControl(''),
icon: new FormControl(''),
visible: new FormControl(true),
disabled: new FormControl(false)
actionMenuForm = new UntypedFormGroup({
key: new UntypedFormControl(''),
title: new UntypedFormControl(''),
icon: new UntypedFormControl(''),
visible: new UntypedFormControl(true),
disabled: new UntypedFormControl(false)
});
constructor(private cloudLayoutService: CloudLayoutService) { }
@@ -17,7 +17,7 @@
import { Component, ViewChild } from '@angular/core';
import { TaskHeaderCloudComponent } from '@alfresco/adf-process-services-cloud';
import { FormControl } from '@angular/forms';
import { UntypedFormControl } from '@angular/forms';
@Component({
templateUrl: './task-header-cloud-demo.component.html',
@@ -32,8 +32,8 @@ export class TaskHeaderCloudDemoComponent {
errorMessage;
appNameFormControl = new FormControl('');
taskIdFormControl = new FormControl('');
appNameFormControl = new UntypedFormControl('');
taskIdFormControl = new UntypedFormControl('');
constructor() {}
@@ -8,6 +8,6 @@
}
&-custom-user-header {
color: red;
color: var(--theme-warn-color);
}
}
@@ -26,7 +26,7 @@ import {
} from '@angular/core';
import { NodeEntry, Node } from '@alfresco/js-api';
import { BehaviorSubject, Subject } from 'rxjs';
import { AlfrescoApiService } from '@alfresco/adf-core';
import { NodesApiService } from '@alfresco/adf-content-services';
import { takeUntil } from 'rxjs/operators';
@Component({
@@ -52,12 +52,12 @@ export class NameColumnComponent implements OnInit, OnDestroy {
private onDestroy$ = new Subject<boolean>();
constructor(private element: ElementRef, private alfrescoApiService: AlfrescoApiService) {}
constructor(private element: ElementRef, private nodesApiService: NodesApiService) {}
ngOnInit() {
this.updateValue();
this.alfrescoApiService.nodeUpdated
this.nodesApiService.nodeUpdated
.pipe(takeUntil(this.onDestroy$))
.subscribe((node: Node) => {
const row = this.context.row;
@@ -1,336 +1,382 @@
<ng-container *ngIf="nodeId || content">
<ng-container *ngIf="nodeId">
<ng-template let-node="node" #sidebarRightTemplate>
<adf-info-drawer [title]="'APP.INFO_DRAWER.TITLE' | translate">
<adf-info-drawer-tab label="APP.INFO_DRAWER.COMMENTS">
<adf-comments [nodeId]="nodeId" [readOnly]="!isCommentEnabled"></adf-comments>
</adf-info-drawer-tab>
<adf-info-drawer-tab label="APP.INFO_DRAWER.PROPERTIES">
<adf-content-metadata-card *ngIf="isPreset" [node]="node"
[multi]="multi"
[preset]="customPreset"
[readOnly]="isReadOnly"
[displayAspect]="showAspect"
[displayDefaultProperties]="displayDefaultProperties"
[displayEmpty]="displayEmptyMetadata"></adf-content-metadata-card>
<adf-content-metadata-card *ngIf="!isPreset" [node]="node"
[multi]="multi"
[readOnly]="isReadOnly"
[displayAspect]="showAspect"
[displayDefaultProperties]="displayDefaultProperties"
[displayEmpty]="displayEmptyMetadata"></adf-content-metadata-card>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-default-properties"
[color]="'primary'"
(change)="toggleDisplayProperties()"
[checked]="displayDefaultProperties">
Display Default Properties
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-empty"
[color]="'primary'"
(change)="toggleEmptyMetadata()"
[checked]="displayEmptyMetadata">
Display Empty Metadata
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-multi"
[color]="'primary'"
(change)="toggleMulti()"
[checked]="multi">
Multi accordion
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-readonly"
[color]="'primary'"
(change)="toggleReadOnly()"
[checked]="isReadOnly">
Read Only
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-toggle-custom-preset"
[color]="'primary'"
(change)="togglePreset()"
[checked]="isPreset">
Custom preset
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-form-field floatPlaceholder="float">
<input matInput
placeholder="Display Aspect"
[(ngModel)]="desiredAspect">
</mat-form-field>
<button mat-raised-button (click)="applyAspect()" color="primary">
Apply Aspect
</button>
</p>
<p class="toggle">
<ng-container *ngIf="isPreset">
<mat-form-field floatPlaceholder="float">
<input matInput
placeholder="Custom Preset"
[(ngModel)]="customPreset"
data-automation-id="adf-text-custom-preset">
</mat-form-field>
<button mat-raised-button id="adf-metadata-aplly" (click)="applyCustomPreset()" color="primary">
Apply
</button>
</ng-container>
</p>
</adf-info-drawer-tab>
<adf-info-drawer-tab label="APP.INFO_DRAWER.VERSIONS">
<mat-card>
<mat-card-content>
<adf-version-manager [node]="node"
(uploadError)="onUploadError($event)"
(viewVersion)="onViewVersion($event)">
</adf-version-manager>
</mat-card-content>
</mat-card>
</adf-info-drawer-tab>
</adf-info-drawer>
</ng-template>
<ng-template let-node="node" #sidebarLeftTemplate>
<adf-info-drawer [title]="'Viewer Options'">
<adf-info-drawer-tab label="Settings">
<p class="toggle">
<mat-slide-toggle
id="adf-switch-custoname"
[color]="'primary'"
(change)="toggleCustomName()"
[checked]="customName">
Custom Name
</mat-slide-toggle>
</p>
<p class="toggle">
<ng-container *ngIf="customName">
<mat-form-field floatLabel="never">
<input matInput
placeholder="Custom Name"
[(ngModel)]="displayName"
data-automation-id="adf-text-custom-name">
</mat-form-field>
</ng-container>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-fileurl"
[color]="'primary'"
(change)="toggleFileUrl()"
[checked]="fileUrlSwitch">
Url File
</mat-slide-toggle>
</p>
<p class="toggle">
<ng-container *ngIf="fileUrlSwitch">
<mat-form-field floatPlaceholder="float">
<input matInput
placeholder="Url File"
[(ngModel)]="urlFile"
data-automation-id="adf-text-file-url">
</mat-form-field>
</ng-container>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-toolbar"
[color]="'primary'"
(change)="toggleShowToolbar()"
[checked]="showToolbar">
Show Toolbar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-goback"
[color]="'primary'"
(change)="toggleAllowGoBack()"
[checked]="allowGoBack">
Allow GoBack
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-openwith"
[color]="'primary'"
(change)="toggleOpenWith()"
[checked]="openWith">
Open With
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-moreactions"
[color]="'primary'"
(change)="toggleOpenMoreActions()"
[checked]="moreActions">
More Actions
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-moreactionsmenu"
[color]="'primary'"
(change)="toggleMoreActionsMenu()"
[checked]="moreActionsMenu">
More Actions Menu
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-download"
[color]="'primary'"
(change)="toggleAllowDownload()"
[checked]="allowDownload">
Allow Download
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-print"
[color]="'primary'"
(change)="toggleAllowPrint()"
[checked]="allowPrint">
Allow Print
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-allowsidebar"
[color]="'primary'"
(change)="toggleAllowRightSidebar()"
[checked]="allowRightSidebar">
Allow Right Sidebar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-allowLeftSidebar"
[color]="'primary'"
(change)="toggleAllowLeftSidebar()"
[checked]="allowLeftSidebar">
Allow Left Sidebar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-toggle-custom-toolbar"
[color]="'primary'"
(change)="toggleToolbar()"
[checked]="customToolbar">
Custom Toolbar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-tab-with-icon"
[color]="'primary'"
(change)="toggleShowTabWithIcon()"
[checked]="showTabWithIcon">
Show tab with icon
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-icon-and-label-tab"
[color]="'primary'"
(change)="toggleShowTabWithIconAndLabel()"
[checked]="showTabWithIconAndLabel">
Show tab with icon and label
</mat-slide-toggle>
</p>
<p class="toggle">
<button mat-raised-button id="adf-switch-showrightsidebar" (click)="toggleShowRightSidebar()"
color="primary">
Toggle Right Sidebar
</button>
</p>
<p class="toggle">
<button mat-raised-button id="adf-switch-showleftsidebar" (click)="hideLeftSidebar()"
color="primary">
Hide Left Sidebar
</button>
</p>
</adf-info-drawer-tab>
<adf-info-drawer-tab
*ngIf="showTabWithIcon"
[label]=""
[icon]="'face'"
data-automation-id="adf-settings-tab">
</adf-info-drawer-tab>
<adf-info-drawer-tab
*ngIf="showTabWithIconAndLabel"
[label]="'Comments'"
[icon]="'comment'"
data-automation-id="adf-settings-tab">
</adf-info-drawer-tab>
</adf-info-drawer>
</ng-template>
<adf-viewer
[blobFile]="content"
<adf-alfresco-viewer
(showViewerChange)="onViewerClosed()"
[nodeId]="nodeId"
[versionId]="versionId"
[showRightSidebar]="showRightSidebar"
[showLeftSidebar]="showLeftSidebar"
[allowGoBack]="allowGoBack"
[displayName]="displayName"
[showToolbar]="showToolbar"
[allowPrint]="allowPrint"
[allowDownload]="allowDownload"
[allowRightSidebar]="allowRightSidebar"
[allowLeftSidebar]="allowLeftSidebar"
[urlFile]="urlFile"
(showViewerChange)="onViewerVisibilityChanged()"
[sidebarLeftTemplate]="sidebarLeftTemplate"
[sidebarRightTemplate]="sidebarRightTemplate">
<adf-viewer-toolbar *ngIf="customToolbar" data-automation-id="adf-viewer-custom-toolbar">
<h1>My custom toolbar</h1>
</adf-viewer-toolbar>
<adf-viewer-toolbar-actions *ngIf="moreActions">
<button mat-icon-button id="adf-viewer-time">
<mat-icon>alarm</mat-icon>
</button>
<button mat-icon-button id="adf-viewer-upload">
<mat-icon>backup</mat-icon>
</button>
<button mat-icon-button id="adf-viewer-bug">
<mat-icon>bug_report</mat-icon>
</button>
</adf-viewer-toolbar-actions>
<adf-viewer-more-actions *ngIf="moreActionsMenu">
<button mat-menu-item id="adf-viewer-more-menu-alarm">
<mat-icon>alarm</mat-icon>
<span>Alarm</span>
</button>
<button mat-menu-item id="adf-viewer-more-menu-backup">
<mat-icon>backup</mat-icon>
<span>Backup</span>
</button>
<button mat-menu-item id="adf-viewer-more-menu-bug">
<mat-icon>bug_report</mat-icon>
<span>Bug report</span>
</button>
</adf-viewer-more-actions>
<ng-container *ngIf="openWith">
<adf-viewer-open-with>
<button mat-menu-item>
<mat-icon>dialpad</mat-icon>
<span>Option 1</span>
</button>
<button mat-menu-item disabled>
<mat-icon>voicemail</mat-icon>
<span>Option 2</span>
</button>
<button mat-menu-item>
<mat-icon>notifications_off</mat-icon>
<span>Option 3</span>
</button>
</adf-viewer-open-with>
</ng-container>
</adf-alfresco-viewer>
</ng-container>
<ng-template let-node="node" #sidebarRightTemplate>
<adf-info-drawer [title]="'APP.INFO_DRAWER.TITLE' | translate">
<adf-info-drawer-tab label="APP.INFO_DRAWER.COMMENTS">
<adf-node-comments
[nodeId]="nodeId"
[readOnly]="!isCommentEnabled"
>
</adf-node-comments>
</adf-info-drawer-tab>
<adf-info-drawer-tab label="APP.INFO_DRAWER.PROPERTIES">
<adf-content-metadata-card *ngIf="isPreset" [node]="node"
[multi]="multi"
[preset]="customPreset"
[readOnly]="isReadOnly"
[displayAspect]="showAspect"
[displayDefaultProperties]="displayDefaultProperties"
[displayEmpty]="displayEmptyMetadata"></adf-content-metadata-card>
<adf-content-metadata-card *ngIf="!isPreset" [node]="node"
[multi]="multi"
[readOnly]="isReadOnly"
[displayAspect]="showAspect"
[displayDefaultProperties]="displayDefaultProperties"
[displayEmpty]="displayEmptyMetadata"></adf-content-metadata-card>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-default-properties"
[color]="'primary'"
(change)="toggleDisplayProperties()"
[checked]="displayDefaultProperties">
Display Default Properties
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-empty"
[color]="'primary'"
(change)="toggleEmptyMetadata()"
[checked]="displayEmptyMetadata">
Display Empty Metadata
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-multi"
[color]="'primary'"
(change)="toggleMulti()"
[checked]="multi">
Multi accordion
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-metadata-readonly"
[color]="'primary'"
(change)="toggleReadOnly()"
[checked]="isReadOnly">
Read Only
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-toggle-custom-preset"
[color]="'primary'"
(change)="togglePreset()"
[checked]="isPreset">
Custom preset
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-form-field floatPlaceholder="float">
<input matInput
placeholder="Display Aspect"
[(ngModel)]="desiredAspect">
</mat-form-field>
<button mat-raised-button (click)="applyAspect()" color="primary">
Apply Aspect
</button>
</p>
<p class="toggle">
<ng-container *ngIf="isPreset">
<mat-form-field floatPlaceholder="float">
<input matInput
placeholder="Custom Preset"
[(ngModel)]="customPreset"
data-automation-id="adf-text-custom-preset">
</mat-form-field>
<button mat-raised-button id="adf-metadata-aplly" (click)="applyCustomPreset()" color="primary">
Apply
</button>
</ng-container>
</p>
</adf-info-drawer-tab>
<adf-info-drawer-tab label="APP.INFO_DRAWER.VERSIONS">
<mat-card>
<mat-card-content>
<adf-version-manager [node]="node"
(uploadError)="onUploadError($event)"
(viewVersion)="onViewVersion($event)">
</adf-version-manager>
</mat-card-content>
</mat-card>
</adf-info-drawer-tab>
</adf-info-drawer>
</ng-template>
<ng-template #sidebarLeftTemplate>
<adf-info-drawer [title]="'Viewer Options'">
<adf-info-drawer-tab label="Settings">
<p class="toggle">
<mat-slide-toggle
id="adf-switch-fileurl"
[color]="'primary'"
(change)="toggleFileUrl()"
[checked]="fileUrlSwitch">
Url File
</mat-slide-toggle>
</p>
<p class="toggle">
<ng-container *ngIf="fileUrlSwitch">
<mat-form-field floatPlaceholder="float">
<input matInput
placeholder="Url File"
[(ngModel)]="urlFile"
data-automation-id="adf-text-file-url">
</mat-form-field>
</ng-container>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-toolbar"
[color]="'primary'"
(change)="toggleShowToolbar()"
[checked]="showToolbar">
Show Toolbar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-goback"
[color]="'primary'"
(change)="toggleAllowGoBack()"
[checked]="allowGoBack">
Allow GoBack
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-openwith"
[color]="'primary'"
(change)="toggleOpenWith()"
[checked]="openWith">
Open With
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-moreactions"
[color]="'primary'"
(change)="toggleOpenMoreActions()"
[checked]="moreActions">
More Actions
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-moreactionsmenu"
[color]="'primary'"
(change)="toggleMoreActionsMenu()"
[checked]="moreActionsMenu">
More Actions Menu
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-download"
[color]="'primary'"
(change)="toggleAllowDownload()"
[checked]="allowDownload">
Allow Download
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-print"
[color]="'primary'"
(change)="toggleAllowPrint()"
[checked]="allowPrint">
Allow Print
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-allowsidebar"
[color]="'primary'"
(change)="toggleAllowRightSidebar()"
[checked]="allowRightSidebar">
Allow Right Sidebar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-switch-allowLeftSidebar"
[color]="'primary'"
(change)="toggleAllowLeftSidebar()"
[checked]="allowLeftSidebar">
Allow Left Sidebar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-toggle-custom-toolbar"
[color]="'primary'"
(change)="toggleToolbar()"
[checked]="customToolbar">
Custom Toolbar
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-tab-with-icon"
[color]="'primary'"
(change)="toggleShowTabWithIcon()"
[checked]="showTabWithIcon">
Show tab with icon
</mat-slide-toggle>
</p>
<p class="toggle">
<mat-slide-toggle
id="adf-icon-and-label-tab"
[color]="'primary'"
(change)="toggleShowTabWithIconAndLabel()"
[checked]="showTabWithIconAndLabel">
Show tab with icon and label
</mat-slide-toggle>
</p>
<p class="toggle">
<button mat-raised-button id="adf-switch-showrightsidebar" (click)="toggleShowRightSidebar()"
color="primary">
Toggle Right Sidebar
</button>
</p>
<p class="toggle">
<button mat-raised-button id="adf-switch-showleftsidebar" (click)="hideLeftSidebar()"
color="primary">
Hide Left Sidebar
</button>
</p>
</adf-info-drawer-tab>
<adf-info-drawer-tab
*ngIf="showTabWithIcon"
[label]=""
[icon]="'face'"
data-automation-id="adf-settings-tab">
</adf-info-drawer-tab>
<adf-info-drawer-tab
*ngIf="showTabWithIconAndLabel"
[label]="'Comments'"
[icon]="'comment'"
data-automation-id="adf-settings-tab">
</adf-info-drawer-tab>
</adf-info-drawer>
</ng-template>
<ng-container *ngIf="blobFile">
<adf-viewer
[blobFile]="blobFile"
[fileName]="fileName"
[showRightSidebar]="showRightSidebar"
[showLeftSidebar]="showLeftSidebar"
[allowGoBack]="allowGoBack"
[showToolbar]="showToolbar"
[allowRightSidebar]="allowRightSidebar"
[allowLeftSidebar]="allowLeftSidebar"
(showViewerChange)="onViewerClosed()"
[sidebarLeftTemplate]="sidebarLeftTemplate"
[sidebarRightTemplate]="sidebarRightTemplate">
@@ -382,36 +428,5 @@
</adf-viewer-open-with>
</ng-container>
<!--
<adf-viewer-extension [supportedExtensions]="['json']">
<ng-template let-urlFileContent="urlFileContent" let-extension="extension">
<h1>JSON VIEWER</h1>
</ng-template>
</adf-viewer-extension>
-->
<!--
<adf-viewer-extension [supportedExtensions]="['png']">
<ng-template>
<h1>PNG Viewer</h1>
</ng-template>
</adf-viewer-extension>
-->
<!--
<adf-viewer-extension [supportedExtensions]="['pdf']">
<ng-template>
<h1>PDF Viewer</h1>
</ng-template>
</adf-viewer-extension>
-->
<!--
<extension-viewer [supportedExtensions]="['obj','3DS']" #extension>
<ng-template let-urlFileContent="urlFileContent" let-extension="extension" >
<threed-viewer [urlFile]="urlFileContent" [extension]="extension" ></threed-viewer>
</ng-template>
</extension-viewer>
-->
</adf-viewer>
</ng-container>
@@ -17,8 +17,16 @@
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { ActivatedRoute, Router, PRIMARY_OUTLET } from '@angular/router';
import { ContentService, AllowableOperationsEnum, PermissionsEnum, NodesApiService, FileUploadErrorEvent } from '@alfresco/adf-core';
import { MatSnackBar } from '@angular/material/snack-bar';
import {
NotificationService
} from '@alfresco/adf-core';
import {
ContentService,
AllowableOperationsEnum,
PermissionsEnum,
NodesApiService,
FileUploadErrorEvent
} from '@alfresco/adf-content-services';
import { PreviewService } from '../../services/preview.service';
@Component({
@@ -39,7 +47,6 @@ export class FileViewComponent implements OnInit {
customPreset: string = null;
displayDefaultProperties = true;
showToolbar = true;
displayName = null;
urlFile = null;
allowGoBack = true;
openWith = false;
@@ -49,7 +56,6 @@ export class FileViewComponent implements OnInit {
allowLeftSidebar = true;
moreActions = true;
moreActionsMenu = false;
customName = false;
fileUrlSwitch = false;
showLeftSidebar = null;
showRightSidebar = false;
@@ -59,15 +65,16 @@ export class FileViewComponent implements OnInit {
showTabWithIconAndLabel = false;
desiredAspect: string = null;
showAspect: string = null;
content: Blob;
name: string;
fileName: string;
blobFile: Blob;
constructor(private router: Router,
private route: ActivatedRoute,
private snackBar: MatSnackBar,
private nodeApiService: NodesApiService,
private contentServices: ContentService,
private preview: PreviewService) {
private preview: PreviewService,
private notificationService: NotificationService) {
}
ngOnInit() {
@@ -87,9 +94,9 @@ export class FileViewComponent implements OnInit {
},
() => this.router.navigate(['/files', id])
);
} else if (this.preview.content) {
this.content = this.preview.content;
this.displayName = this.preview.name;
} else if (this.preview?.content) {
this.blobFile = this.preview.content;
this.fileName = this.preview.name;
}
});
}
@@ -98,14 +105,14 @@ export class FileViewComponent implements OnInit {
this.preview.showResource(this.nodeId, versionId);
}
onViewerVisibilityChanged() {
onViewerClosed() {
const primaryUrl = this.router.parseUrl(this.router.url).root.children[PRIMARY_OUTLET].toString();
this.router.navigateByUrl(primaryUrl);
}
onUploadError(event: FileUploadErrorEvent) {
const errorMessage = event.error;
this.snackBar.open(errorMessage, '', { duration: 4000 });
this.notificationService.showError(errorMessage);
}
toggleEmptyMetadata() {
@@ -176,14 +183,6 @@ export class FileViewComponent implements OnInit {
this.showTabWithIconAndLabel = !this.showTabWithIconAndLabel;
}
toggleCustomName() {
this.customName = !this.customName;
if (!this.customName) {
this.displayName = null;
}
}
toggleFileUrl() {
this.fileUrlSwitch = !this.fileUrlSwitch;
@@ -19,7 +19,7 @@ import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule } from '@angular/router';
import { CoreModule, InfoDrawerModule } from '@alfresco/adf-core';
import { ContentDirectiveModule, VersionManagerModule, ContentMetadataModule } from '@alfresco/adf-content-services';
import { ContentModule, ContentDirectiveModule, VersionManagerModule, ContentMetadataModule } from '@alfresco/adf-content-services';
import { FileViewComponent } from './file-view.component';
const routes: Routes = [
@@ -34,7 +34,9 @@ const routes: Routes = [
CommonModule,
RouterModule.forChild(routes),
CoreModule,
ContentModule,
InfoDrawerModule,
ContentModule,
ContentDirectiveModule,
ContentMetadataModule,
VersionManagerModule
@@ -653,6 +653,42 @@
</mat-form-field>
</form>
<section>
<mat-slide-toggle
color="primary" [(ngModel)]="enableDownloadPrompt" id="enableDownloadPrompt" (change)="onEnableDownloadPrompt()">
Enable Download Prompt
</mat-slide-toggle>
</section>
<section *ngIf="enableDownloadPrompt">
<mat-form-field>
<input matInput type="number" [(ngModel)]="downloadPromptDelay" (change)="onDownloadPromptDelayChange()">
</mat-form-field>
</section>
<section *ngIf="enableDownloadPrompt">
<mat-slide-toggle
color="primary" [(ngModel)]="enableDownloadPromptReminder" id="enableDownloadPromptReminders" (change)="onEnableDownloadPromptReminderChange()">
Enable Download Prompt Reminders
</mat-slide-toggle>
</section>
<section *ngIf="enableDownloadPrompt && enableDownloadPromptReminder">
<mat-form-field>
<input matInput type="number" [(ngModel)]="downloadPromptReminderDelay" (change)="onDownloadPromptReminderChange()">
</mat-form-field>
</section>
<section>
<mat-slide-toggle
color="primary" [(ngModel)]="enableFileAutoDownload" id="enableFileAutoDownload" (change)="onEnableFileAutoDownloadChange()">
Enable FileAutoDownload
</mat-slide-toggle>
</section>
<section *ngIf="enableFileAutoDownload">
<mat-form-field>
<input matInput type="number" [(ngModel)]="fileAutoDownloadSizeThresholdInMB" (change)="onFileAutoDownloadSizeThresholdChange()">
</mat-form-field>
</section>
<h5>Upload</h5>
<section *ngIf="acceptedFilesTypeShow">
<mat-form-field floatPlaceholder="float">
@@ -17,7 +17,7 @@
}
.app-error-message--text {
color: #d50000;
color: var(--theme-warn-color);
}
.app-document-list-container {
@@ -15,22 +15,52 @@
* limitations under the License.
*/
import { Component, Input, OnInit, OnChanges, OnDestroy, Optional, EventEmitter, ViewChild, SimpleChanges, Output, ViewEncapsulation } from '@angular/core';
import {
Component,
Input,
OnInit,
OnChanges,
OnDestroy,
Optional,
EventEmitter,
ViewChild,
SimpleChanges,
Output,
ViewEncapsulation
} from '@angular/core';
import { Location } from '@angular/common';
import { MatDialog } from '@angular/material/dialog';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { MinimalNodeEntity, NodePaging, Pagination, MinimalNodeEntryEntity, SiteEntry, SearchEntry, NodeEntry } from '@alfresco/js-api';
import {
AlfrescoApiService, AuthenticationService, AppConfigService, AppConfigValues, ContentService, FolderCreatedEvent, LogService, NotificationService,
UploadService, DataRow, UserPreferencesService,
PaginationComponent, FormValues, DisplayMode, ShowHeaderMode, InfinitePaginationComponent,
SharedLinksApiService,
FormRenderingService,
FileUploadEvent,
NodesApiService
MinimalNodeEntity,
NodePaging,
Pagination,
MinimalNodeEntryEntity,
SiteEntry,
SearchEntry,
NodeEntry
} from '@alfresco/js-api';
import {
AlfrescoApiService,
AuthenticationService,
AppConfigService,
AppConfigValues,
LogService,
NotificationService,
DataRow,
UserPreferencesService,
PaginationComponent,
FormValues,
DisplayMode,
ShowHeaderMode,
InfinitePaginationComponent,
FormRenderingService
} from '@alfresco/adf-core';
import {
ContentService,
FolderCreatedEvent,
UploadService,
DocumentListComponent,
PermissionStyleModel,
UploadFilesEvent,
@@ -38,7 +68,10 @@ import {
LibraryDialogComponent,
ContentMetadataService,
FilterSearch,
DialogAspectListService
DialogAspectListService,
FileUploadEvent,
NodesApiService,
SharedLinksApiService
} from '@alfresco/adf-content-services';
import { SelectAppsDialogComponent, ProcessFormRenderingService } from '@alfresco/adf-process-services';
@@ -58,7 +91,7 @@ const DEFAULT_FOLDER_TO_SHOW = '-my-';
styleUrls: ['./files.component.scss'],
encapsulation: ViewEncapsulation.None,
providers: [
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
{provide: FormRenderingService, useClass: ProcessFormRenderingService}
]
})
export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@@ -80,9 +113,9 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
toolbarColor: ThemePalette;
selectionModes = [
{ value: 'none', viewValue: 'None' },
{ value: 'single', viewValue: 'Single' },
{ value: 'multiple', viewValue: 'Multiple' }
{value: 'none', viewValue: 'None'},
{value: 'single', viewValue: 'Single'},
{value: 'multiple', viewValue: 'Multiple'}
];
// The identifier of a node. You can also use one of these well-known aliases: -my- | -shared- | -root-
@@ -195,13 +228,13 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
@Output()
deleteElementSuccess: EventEmitter<any> = new EventEmitter();
@ViewChild('documentList', { static: true })
@ViewChild('documentList', {static: true})
documentList: DocumentListComponent;
@ViewChild('standardPagination')
standardPagination: PaginationComponent;
@ViewChild(InfinitePaginationComponent, { static: true })
@ViewChild(InfinitePaginationComponent, {static: true})
infinitePaginationComponent: InfinitePaginationComponent;
permissionsStyle: PermissionStyleModel[] = [];
@@ -218,6 +251,13 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
selectedNodes = [];
enableDownloadPrompt: boolean = this.appConfig.get('viewer.enableDownloadPrompt', false);
enableDownloadPromptReminder: boolean = this.appConfig.get('viewer.enableDownloadPromptReminders', false);
downloadPromptDelay = this.appConfig.get('viewer.downloadPromptDelay', 50);
downloadPromptReminderDelay = this.appConfig.get('viewer.downloadPromptReminderDelay', 30);
enableFileAutoDownload: boolean = this.appConfig.get('viewer.enableFileAutoDownload', true);
fileAutoDownloadSizeThresholdInMB: number = this.appConfig.get('viewer.fileAutoDownloadSizeThresholdInMB', 15);
constructor(private notificationService: NotificationService,
private uploadService: UploadService,
private contentService: ContentService,
@@ -281,31 +321,31 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
this.uploadService.fileUploadComplete
.pipe(
debounceTime(300),
scan((files, currentFile) => [...files, currentFile], []),
takeUntil(this.onDestroy$)
)
.subscribe((value: any[]) => {
let selectedNodes: NodeEntry[] = [];
.pipe(
debounceTime(300),
scan((files, currentFile) => [...files, currentFile], []),
takeUntil(this.onDestroy$)
)
.subscribe((value: any[]) => {
let selectedNodes: NodeEntry[] = [];
if (this.preselectNodes) {
if (value && value.length > 0 ) {
if (this.selectionMode === 'single') {
selectedNodes = [...[value[value.length - 1]].map((uploadedFile) => uploadedFile.data)];
} else {
selectedNodes = [...value.map((uploadedFile) => uploadedFile.data)];
if (this.preselectNodes) {
if (value && value.length > 0) {
if (this.selectionMode === 'single') {
selectedNodes = [...[value[value.length - 1]].map((uploadedFile) => uploadedFile.data)];
} else {
selectedNodes = [...value.map((uploadedFile) => uploadedFile.data)];
}
this.selectedNodes = [...selectedNodes];
}
this.selectedNodes = [...selectedNodes];
}
}
this.onFileUploadEvent(value[0]);
});
this.onFileUploadEvent(value[0]);
});
this.uploadService.fileUploadDeleted
.pipe(takeUntil(this.onDestroy$))
.subscribe(value => this.onFileUploadEvent(value));
.pipe(takeUntil(this.onDestroy$))
.subscribe(value => this.onFileUploadEvent(value));
this.contentService.folderCreated
.pipe(takeUntil(this.onDestroy$))
@@ -364,7 +404,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
getCurrentDocumentListNode(): MinimalNodeEntity[] {
if (this.documentList.folderNode) {
return [{ entry: this.documentList.folderNode }];
return [{entry: this.documentList.folderNode}];
} else {
return [];
}
@@ -464,7 +504,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
if (this.contentService.hasAllowableOperations(contentEntry, 'update')) {
this.dialog.open(VersionManagerDialogAdapterComponent, {
data: { contentEntry, showComments, allowDownload },
data: {contentEntry, showComments, allowDownload},
panelClass: 'adf-version-manager-dialog',
width: '630px'
});
@@ -475,7 +515,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
onAspectUpdate(event: any) {
this.dialogAspectListService.openAspectListDialog(event.value.entry.id).subscribe((aspectList) => {
this.nodeService.updateNode(event.value.entry.id, {aspectNames : [...aspectList]}).subscribe(() => {
this.nodeService.updateNode(event.value.entry.id, {aspectNames: [...aspectList]}).subscribe(() => {
this.openSnackMessageInfo('Node Aspects Updated');
});
});
@@ -687,9 +727,9 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
onFilterSelected(activeFilters: FilterSearch[]) {
if (activeFilters.length) {
this.navigateToFilter(activeFilters);
this.navigateToFilter(activeFilters);
} else {
this.clearFilterNavigation();
this.clearFilterNavigation();
}
}
@@ -705,7 +745,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
objectFromMap[filter.key] = paramValue;
});
this.router.navigate([], { relativeTo: this.route, queryParams: objectFromMap });
this.router.navigate([], {relativeTo: this.route, queryParams: objectFromMap});
}
clearFilterNavigation() {
@@ -744,4 +784,34 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
this.selectedNodes = [];
}
onEnableDownloadPrompt() {
const previewConfig = this.appConfig?.config['viewer'];
previewConfig['enableDownloadPrompt'] = this.enableDownloadPrompt;
}
onDownloadPromptDelayChange() {
const previewConfig = this.appConfig?.config['viewer'];
previewConfig['downloadPromptDelay'] = this.downloadPromptDelay;
}
onEnableDownloadPromptReminderChange() {
const previewConfig = this.appConfig?.config['viewer'];
previewConfig['enableDownloadPromptReminder'] = this.enableDownloadPromptReminder;
}
onDownloadPromptReminderChange() {
const previewConfig = this.appConfig?.config['viewer'];
previewConfig['downloadPromptReminderDelay'] = this.downloadPromptReminderDelay;
}
onEnableFileAutoDownloadChange() {
const previewConfig = this.appConfig?.config['viewer'];
previewConfig['enableFileAutoDownload'] = this.enableFileAutoDownload;
}
onFileAutoDownloadSizeThresholdChange() {
const previewConfig = this.appConfig?.config['viewer'];
previewConfig['fileAutoDownloadSizeThresholdInMB'] = this.fileAutoDownloadSizeThresholdInMB;
}
}
@@ -18,9 +18,9 @@
import { Component, Inject, ViewEncapsulation } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { MinimalNodeEntryEntity } from '@alfresco/js-api';
import { MatSnackBar } from '@angular/material/snack-bar';
import { PreviewService } from '../../services/preview.service';
import { FileUploadErrorEvent } from '@alfresco/adf-core';
import { NotificationService } from '@alfresco/adf-core';
import { FileUploadErrorEvent } from '@alfresco/adf-content-services';
@Component({
templateUrl: './version-manager-dialog-adapter.component.html',
@@ -37,8 +37,8 @@ export class VersionManagerDialogAdapterComponent {
showVersionComparison = false;
constructor(private previewService: PreviewService,
private notificationService: NotificationService,
@Inject(MAT_DIALOG_DATA) data: any,
private snackBar: MatSnackBar,
private containingDialog?: MatDialogRef<VersionManagerDialogAdapterComponent>) {
this.contentEntry = data.contentEntry;
this.newFileVersion = data.hasOwnProperty('newFileVersion') ? data.newFileVersion : this.newFileVersion;
@@ -48,7 +48,7 @@ export class VersionManagerDialogAdapterComponent {
uploadError(event: FileUploadErrorEvent) {
const errorMessage = event.error;
this.snackBar.open(errorMessage, '', { duration: 4000 });
this.notificationService.showError(errorMessage);
}
close() {
@@ -15,26 +15,19 @@
* limitations under the License.
*/
import { Observable, of, Subject } from 'rxjs';
import { Observable, of } from 'rxjs';
import { Injectable } from '@angular/core';
import {
AlfrescoApiService,
EcmModelService,
LogService,
FormService,
FormOutcomeEvent
} from '@alfresco/adf-core';
TaskFormService
} from '@alfresco/adf-process-services';
import { AlfrescoApiService, LogService } from '@alfresco/adf-core';
@Injectable()
export class FakeFormService extends FormService {
executeOutcome = new Subject<FormOutcomeEvent>();
export class FakeTaskFormService extends TaskFormService {
constructor(
ecmModelService: EcmModelService,
apiService: AlfrescoApiService,
protected logService: LogService
) {
super(ecmModelService, apiService, logService);
constructor(apiService: AlfrescoApiService, logService: LogService) {
super(apiService, logService);
}
public getRestFieldValues(
@@ -17,7 +17,7 @@
import { Component, ViewChild, OnDestroy, OnInit } from '@angular/core';
import { FormModel, FormService, LogService, FormOutcomeEvent } from '@alfresco/adf-core';
import { FormComponent } from '@alfresco/adf-process-services';
import { FormComponent, EditorService } from '@alfresco/adf-process-services';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -42,7 +42,7 @@ export class FormListComponent implements OnInit, OnDestroy {
showValidationIcon = false;
private onDestroy$ = new Subject<boolean>();
constructor(private formService: FormService, private logService: LogService) {
constructor(private formService: FormService, private editorService: EditorService, private logService: LogService) {
}
ngOnInit() {
@@ -63,7 +63,7 @@ export class FormListComponent implements OnInit, OnDestroy {
onRowDblClick(event: CustomEvent<any>) {
const rowForm = event.detail.value.obj;
this.formService.getFormDefinitionById(rowForm.id).subscribe((formModel) => {
this.editorService.getFormDefinitionById(rowForm.id).subscribe((formModel) => {
const form = this.formService.parseForm(formModel.formDefinition);
this.form = form;
});
@@ -22,8 +22,11 @@ import {
FormOutcomeEvent,
CoreAutomationService
} from '@alfresco/adf-core';
import {
TaskFormService
} from '@alfresco/adf-process-services';
import { InMemoryFormService } from '../../services/in-memory-form.service';
import { FakeFormService } from './fake-form.service';
import { FakeTaskFormService } from './fake-tak-form.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -31,7 +34,7 @@ import { takeUntil } from 'rxjs/operators';
selector: 'app-form-loading',
templateUrl: './form-loading.component.html',
styleUrls: ['./form-loading.component.scss'],
providers: [{ provide: FormService, useClass: FakeFormService }]
providers: [{ provide: FakeTaskFormService, useClass: TaskFormService }]
})
export class FormLoadingComponent implements OnInit, OnDestroy {
form: FormModel;
@@ -19,9 +19,9 @@
}
.log-ERROR {
color: red;
color: var(--theme-warn-color);
}
.log-WARN {
color: yellow;
color: var(--theme-accent-color);
}
@@ -1,8 +1,8 @@
<header class="app-logout-background">
<div class="app-logout-section" data-automation-id="adf-logout-section">
<div class="app-logout-headline">
<h1>{{ 'APP.LOGOUT.TITLE' | translate}}</h1>
<h2>{{ 'APP.LOGOUT.SUB_TITLE' | translate}}</h2>
<h1 class="mat-h1">{{ 'APP.LOGOUT.TITLE' | translate}}</h1>
<h2 class="mat-h2">{{ 'APP.LOGOUT.SUB_TITLE' | translate}}</h2>
</div>
<div class="app-logout-login">
@@ -15,16 +15,10 @@
.app-logout-headline {
h1 {
font-size: 56px;
font-weight: 300;
line-height: 56px;
margin: 15px 5px;
}
h2 {
font-size: 18px;
font-weight: 300;
line-height: 28px;
margin: 15px 0 25px;
}
}
@@ -4,17 +4,32 @@
<ul>
<li>Try setting custom message with unicode characters, for example: <strong>I ♥️ ADF</strong></li>
<li>Try setting custom i18n resource key, for example: <strong>APP_LAYOUT.NOTIFICATIONS</strong></li>
<li>Try setting a decorative icon, for example <strong>info</strong> or <strong>folder</strong></li>
<li>Try toggling the action button. Clicking the action within SnackBar should update the label under the toggle button.</li>
<li>All elements support <em>data-automation-id</em> attributes and can be automated.</li>
</ul>
<mat-form-field>
<input
matInput
placeholder="Message"
[(ngModel)]="message"
data-automation-id="notification-message">
</mat-form-field>
<div>
<mat-label class="adf-label">Message:</mat-label>
<mat-form-field>
<input
matInput
placeholder="Message"
[(ngModel)]="message"
data-automation-id="notification-message">
</mat-form-field>
</div>
<div>
<mat-label class="adf-label">Decorative icon:</mat-label>
<mat-form-field>
<input
matInput
placeholder="Decorative Icon"
[(ngModel)]="decorativeIcon"
data-automation-id="notification-icon">
</mat-form-field>
</div>
<div>
<mat-slide-toggle
@@ -1,3 +1,7 @@
.app-main-content {
padding: 10px;
.adf-label {
margin-right: 12px;
}
}
@@ -18,7 +18,7 @@
import { Component, OnInit, OnDestroy } from '@angular/core';
import { NotificationService } from '@alfresco/adf-core';
import { MatSnackBarConfig } from '@angular/material/snack-bar';
import { FormBuilder, FormGroup, FormControl } from '@angular/forms';
import { UntypedFormBuilder, UntypedFormGroup, UntypedFormControl } from '@angular/forms';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -29,11 +29,12 @@ import { takeUntil } from 'rxjs/operators';
export class NotificationsComponent implements OnInit, OnDestroy {
message = 'I ♥️ ADF';
decorativeIcon = '';
withAction = false;
actionOutput = '';
snackBarConfigObject = '';
configForm: FormGroup;
configForm: UntypedFormGroup;
snackBarConfig: MatSnackBarConfig = new MatSnackBarConfig();
@@ -60,16 +61,16 @@ export class NotificationsComponent implements OnInit, OnDestroy {
private onDestroy$ = new Subject<boolean>();
constructor(private notificationService: NotificationService,
private formBuilder: FormBuilder) {
private formBuilder: UntypedFormBuilder) {
this.snackBarConfig.duration = this.defaultDuration;
}
ngOnInit() {
this.configForm = this.formBuilder.group({
direction: new FormControl(''),
horizontalPosition: new FormControl(''),
verticalPosition: new FormControl(''),
duration: new FormControl('')
direction: new UntypedFormControl(''),
horizontalPosition: new UntypedFormControl(''),
verticalPosition: new UntypedFormControl(''),
duration: new UntypedFormControl('')
});
this.configForm.valueChanges
@@ -111,6 +112,9 @@ export class NotificationsComponent implements OnInit, OnDestroy {
"duration": "${this.snackBarConfig.duration}",
"horizontalPosition": "${ this.snackBarConfig.horizontalPosition}",
"verticalPosition": "${ this.snackBarConfig.verticalPosition}"}`;
this.snackBarConfig.data = { decorativeIcon: this.decorativeIcon };
if (this.message) {
if (this.withAction) {
this.notificationService
@@ -15,8 +15,8 @@
(preview)="showPreview($event)">
</adf-document-list>
<adf-viewer
<adf-alfresco-viewer
[(showViewer)]="showViewer"
[overlayMode]="isOverlay"
[nodeId]="nodeId">
</adf-viewer>
</adf-alfresco-viewer>
@@ -15,6 +15,6 @@
}
.app-process-list-error-message {
color: red;
color: var(--theme-warn-color);
text-align: center;
}
@@ -16,7 +16,7 @@
*/
import { Component, OnInit, OnDestroy } from '@angular/core';
import { FormGroup, FormBuilder, Validators, FormControl, AbstractControl } from '@angular/forms';
import { UntypedFormGroup, UntypedFormBuilder, Validators, UntypedFormControl, AbstractControl } from '@angular/forms';
import { ActivatedRoute, Params } from '@angular/router';
import { debounceTime, takeUntil } from 'rxjs/operators';
import { Subject } from 'rxjs';
@@ -30,7 +30,7 @@ const DEFAULT_SIZE = 20;
export class ProcessListDemoComponent implements OnInit, OnDestroy {
minValue = 0;
processListForm: FormGroup;
processListForm: UntypedFormGroup;
appId: number;
processDefId: string;
processInsId: string;
@@ -55,7 +55,7 @@ export class ProcessListDemoComponent implements OnInit, OnDestroy {
private onDestroy$ = new Subject<boolean>();
constructor(private route: ActivatedRoute,
private formBuilder: FormBuilder) {
private formBuilder: UntypedFormBuilder) {
}
ngOnInit() {
@@ -79,13 +79,13 @@ export class ProcessListDemoComponent implements OnInit, OnDestroy {
buildForm() {
this.processListForm = this.formBuilder.group({
processAppId: new FormControl(this.appId, [Validators.pattern('^[0-9]*$'), Validators.min(this.minValue)]),
processDefinitionId: new FormControl(''),
processInstanceId: new FormControl(''),
processState: new FormControl(''),
processSort: new FormControl(''),
processSize: new FormControl('', [Validators.pattern('^[0-9]*$'), Validators.min(this.minValue)]),
processPage: new FormControl('', [Validators.pattern('^[0-9]*$'), Validators.min(this.minValue)])
processAppId: new UntypedFormControl(this.appId, [Validators.pattern('^[0-9]*$'), Validators.min(this.minValue)]),
processDefinitionId: new UntypedFormControl(''),
processInstanceId: new UntypedFormControl(''),
processState: new UntypedFormControl(''),
processSort: new UntypedFormControl(''),
processSize: new UntypedFormControl('', [Validators.pattern('^[0-9]*$'), Validators.min(this.minValue)]),
processPage: new UntypedFormControl('', [Validators.pattern('^[0-9]*$'), Validators.min(this.minValue)])
});
this.processListForm.valueChanges
@@ -149,31 +149,31 @@ export class ProcessListDemoComponent implements OnInit, OnDestroy {
return this.processListForm.get(key) as T;
}
get processAppId(): FormControl {
return this.getControl<FormControl>('processAppId');
get processAppId(): UntypedFormControl {
return this.getControl<UntypedFormControl>('processAppId');
}
get processDefinitionId(): FormControl {
return this.getControl<FormControl>('processDefinitionId');
get processDefinitionId(): UntypedFormControl {
return this.getControl<UntypedFormControl>('processDefinitionId');
}
get processInstanceId(): FormControl {
return this.getControl<FormControl>('processInstanceId');
get processInstanceId(): UntypedFormControl {
return this.getControl<UntypedFormControl>('processInstanceId');
}
get processState(): FormControl {
return this.getControl<FormControl>('processState');
get processState(): UntypedFormControl {
return this.getControl<UntypedFormControl>('processState');
}
get processSort(): FormControl {
return this.getControl<FormControl>('processSort');
get processSort(): UntypedFormControl {
return this.getControl<UntypedFormControl>('processSort');
}
get processSize(): FormControl {
return this.getControl<FormControl>('processSize');
get processSize(): UntypedFormControl {
return this.getControl<UntypedFormControl>('processSize');
}
get processPage(): FormControl {
return this.getControl<FormControl>('processPage');
get processPage(): UntypedFormControl {
return this.getControl<UntypedFormControl>('processPage');
}
}
@@ -18,7 +18,8 @@
import { Component, Input, OnChanges, OnInit, ViewChild, OnDestroy } from '@angular/core';
import { ProcessInstance, ProcessService ,
ProcessAttachmentListComponent, ProcessUploadService } from '@alfresco/adf-process-services';
import { UploadService, AlfrescoApiService, AppConfigService, DiscoveryApiService } from '@alfresco/adf-core';
import { AlfrescoApiService, AppConfigService } from '@alfresco/adf-core';
import { UploadService, DiscoveryApiService } from '@alfresco/adf-content-services';
import { PreviewService } from '../../services/preview.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -21,10 +21,12 @@
<mat-expansion-panel-header>
<mat-panel-title>
<mat-icon>assignment</mat-icon>
<div class="app-accordion-title-padding">Tasks</div>
<div id="tasks-accordion-title" class="app-accordion-title-padding">Tasks</div>
</mat-panel-title>
</mat-expansion-panel-header>
<adf-task-filters [filterParam]="filterSelected"
role="group"
aria-labelledby="tasks-accordion-title"
[appId]="appId"
[showIcon]="showTaskFilterIcon"
(filterClicked)="onTaskFilterClick($event)"
@@ -138,11 +140,13 @@
<mat-expansion-panel-header>
<mat-panel-title>
<mat-icon>assessment</mat-icon>
<div class="app-accordion-title-padding">Processes</div>
<div id="process-accordion-title" class="app-accordion-title-padding">Processes</div>
</mat-panel-title>
</mat-expansion-panel-header>
<adf-process-instance-filters
#activitiProcessFilter
role="group"
aria-labelledby="process-accordion-title"
[appId]="appId"
[filterParam]="filterSelected"
[showIcon]="showProcessFilterIcon"
@@ -35,8 +35,7 @@ import {
ScriptFilesApi
} from '@alfresco/js-api';
import {
FORM_FIELD_VALIDATORS, FormRenderingService, FormService,
DynamicTableRow, ValidateDynamicTableRowEvent, AppConfigService, PaginationComponent, UserPreferenceValues,
FORM_FIELD_VALIDATORS, FormRenderingService, FormService, AppConfigService, PaginationComponent, UserPreferenceValues,
AlfrescoApiService, UserPreferencesService, LogService, DataCellEvent, NotificationService
} from '@alfresco/adf-core';
@@ -54,10 +53,12 @@ import {
TaskFiltersComponent,
TaskListComponent,
ProcessFormRenderingService,
APP_LIST_LAYOUT_LIST
APP_LIST_LAYOUT_LIST,
ValidateDynamicTableRowEvent,
DynamicTableRow
} from '@alfresco/adf-process-services';
import { Subject } from 'rxjs';
import { /*CustomEditorComponent*/ CustomStencil01 } from './custom-editor/custom-editor.component';
import { CustomStencil01 } from './custom-editor/custom-editor.component';
import { DemoFieldValidator } from './demo-field-validator';
import { PreviewService } from '../../services/preview.service';
import { Location } from '@angular/common';

Some files were not shown because too many files have changed in this diff Show More