Compare commits

...
744 Commits
Author SHA1 Message Date
Eugenio Romano 5b1748d8df 3.5.0 (#5117)
* [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core (#4928)

* [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core lib.

* * Changed GroupModel to IdentityGroupModel
* Updated unit tests the recent changes.

* * Added documentation to the identityGroupService
* Updated GroupInitial and GroupCoudcomponent doc.

* * Created groupCount model. * Updated unit test to the recent changes

* * After rebase updated doc

* * Fixed comments.

* [ADF-4497] ARIA role must be appropriate for the Breadcrumb element (#4986)

* breadcrumb accessibility

* translation

* [ADF-4802] Login accessibility	 (#4988)

* login button aria label

* password toggle accessibility

* translation

* fix test

* fix automation if

* add missing export

* [ADF-4811] - added extra method to open snackbar with interpolate arg… (#4989)

* [ADF-4811] - added extra method to open snackbar with interpolate args for translated messages

* [ADF-4811] - added extra parameter to show info

* [ADF-4811] - added extra parameter to show info

* [ADF-4811] added review changes

* CI/CD Improvement - Create a release with tag when we merge master (#4991)

* Create a release with tag when we merge master

* Add release name with version

* Documentation fix for Card View component (#4990)

* Disable control flow e2e ADF (#4954)

* update project script possible different JS-API

* first commit no controll flow

* second commit no controll flow

* third commit no controll flow

* 4 commit no controll flow

* 5 commit no controll flow

* 6 commit no controll flow

* 7 commit no controll flow

* 8 commit no controll flow

* 9 commit no controll flow

* 10 commit no controll flow

* 11 commit no controll flow

* 12 commit no controll flow

* 13 commit no controll flow

* 14 commit no controll flow

* 15 commit no controll flow

* 16 commit no controll flow

* 17 commit no controll flow

* 18 commit no controll flow

* 19 commit no controll flow

* 20 commit no controll flow

* remove wdpromise, protractor promise and deferred promises

* - fixed some incorrect “expect” calls
- fixed some matchers
- removed “return this;” when not needed
- added a few more await-s

* forgot a file

* fix some failing tests

* replaced driver calls with browser calls and enabled back waitForAngular

* fix rightClick methods and hopefully some tests

* fix settings-component

* some more fixes for core and content tests

* try to fix some more issues

* linting

* revert some changes, allowing download on headless chrome won’t work with multiple browser instances

* fixes for Search tests

* try to remove some wait calls

* fix build

* increase allScriptsTimeout and try another protractor and web driver version

* improve navigation methods

* some fixes for notification history and login sso

* forgot a space

* fix packages and enable some screenshots

* navigation bar fixes

* fix some test

* some fixes for notification history and navigation bar
use correct visibility method in attachFileWidget test

* fix searching and another fix for navigation

* try solve sso login

* some more fixes

* refactor async forEach into for..of

* try fix for search tests

* resolve rebabse problems

* remove install

* fix lint

* fix core e2e

* fix core e2e

* fix core e2e

* fix ps tests

* fix some tests

* fix core e2e

* fix core e2e

* fix core

* fix some issues PS

* fix core

* fix core

* fix some ps test

* fix rebase issues

* remove save

* fix url regressed after rebase

* fix url regressed after rebase

* fix ps and core

* fix lint

* more parallel e2e ps

* fix some ps cloud test

* some cloud fix

* fix lint

* fix some test

* remove files to be ignored

* out-tsc

* improve one cs test

* fix candidate base app

* fix ps test

* remove click function

* clean methods alrady present in browser action

* try ugly wait

* move wait

* remove duplicate call

* remove underscore

* fix after review

* fix imports

* minor cosmetic fixes

* fix comments test

* add aria-sort (#4997)

* [ADF-4816] Refactor About component (#5000)

* [ADF-4816] Refactor About component

* Update package.json

* Add the npm publish as part of adf-cli (#5002)

* Add a travis step to publish on npm (#5004)

* [ADF-4799][ADF-4801] Automation tests for CardView clear date field and selectbox None option (#4993)

* [ADF-4799] Automation for clear date button

* [ADF-4801] Automate test for selectbox None option

* add aria label and selected (#4999)

* [ADF-4809] Automation for non-editable task details when completed (#5001)

* [ADF-4976] Fix variable being referenced before initialization (#4977)

* remove obsolete  option from test-e2e

* Enable the npm install on push branch

* Npm publish the dist folder

* Rebuild the libs after the next alpha

* Change the version before building

* Add the npmrc file in the correct folder and remove after publish

* Remove the build all in the release job

* Use the local npm publish command

* cache the lib/dist

* Change cli dist

* Rollback mistake on update-version.sh

* Clean the lib/dit

* Clean the lib/dist

* Revert change on update version

* Rollback the 3.4 version

* Run the clean before building

* Run the deploy Pr only for PR

* added a new version of candidatebaseapp with process ui workspace defined. (#5006)

* rename subbprocess without capital letters

* [ADF-4837] - Automation checkbox visibility e2e tests (#5010)

* [ADF-4828] [ProcessListCloudComponent] Add action and context menu.	 (#5009)

* * Demo on list com

* [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu.

* Exposed action and context menu.
* Provided a way to in the demo shell to test action menu.
* Added required transaltion on demo shell.

* * Added doc

* * Fixed comments.

* fix clean script

* [ADF-4846] Move to ADF the style overrides from ACA (#5016)

* [ADF-4846] add $data-table-cell-link-color variable

- move style fix needed on ACA to ADF

* [ADF-4846] add $adf-permission-list-width variable

- moved style fix for adf-permission-lists from ACA to ADF

* [ADF-4850] Travis add check bundle size and docker publish (#5023)

* Add a check bundle job after the release

* Add a docker push step and update rancher

* Split update rancher in a different job

* Split update rancher in a different job

* Install the adf-cli

* Run docker publish and rancher update only on push

* Use the adf-cli local code

* Run the docker push before

* [ADF-4825] Use ADF-CLI in ADF for versions and latest commit (#4994)

* [ADF-4825] Use ADF-CLI in ADF for versions and latest commit

* Add documentation

* Update update-version.ts

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update README.md

* Rebase branch

* Update package.json

* Update build.sh

* Update package.json

* Improve the docker log

* Improve the docker log

* Npm install latest adf-cli

* Propose a correction to what appears to be a minor typo (#5026)

* Propose a correction to what appears to be a minor typo

removed the word 'a'.

* Update extensibility.md

* Use docker commands

* Use the correct docker repo domain

* echo rancher job

* Check remote env if is full before to start the e2e CS (#5024)

* add check remote env full

* Update check-cs-env.js

* revert change on dockerfile

* Get the latest alpha before the install

* fix content service document list action test (#5027)

* fix content service document list action test

* restore build.sh

* perform twice movement mosue for right click for avoid bug in non headless chrome

* change sso ref element present

* change sso ref element present

* fix release apha

* fix permissions

* [ADF-4847] Not able to find any user in Assignee field when creating a task (#5029)

* [ADF-4847] Not able to find any user in Assignee field when creating a task

Updated url to fetch composite user roles

* [ADF-4847] Fixing failing E2E tests

* release update commands pipeline

* Run the update children project if is push or beta

* Change the condition for master

* [ADF-4816] Move localization keys for About component from demo-shell to core (#5007)

* [ADF-4852] Make use of ADF-CLI command to update sha (#5032)

* [ADF-4852] Make use of ADF-CLI command to update sha

* Update build.sh

* [ADF-4839] Document List - column name link accessibility (#5011)

* accessibility

* rename translation key

* translation key name

* link name component accessibility

* generic translation

* move codecov inside unit test to avoid the aftes success execution in any script stage

* CI/CD allow a Travis cron job to create beta and update children proj… (#5033)

* CI/CD allow a Travis cron job to create beta and update children projects

* Update build.sh

* Add condition for default jobs

* [ADF-4544] Automation for form button refresh after action (#4835)

* fix "ng lint" command (#5012)

* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code

* [ADF-4845] Uploader - Expanded/collapsed state not exposed (#5015)

* state accessibility

* remove aria-disabled

* fix scripts npm

* add typscritp compiler in cli build

* fix cli command use

* Use the git token

* lint missin install

* move install in travis and out from lint.sh

* [ADF-4843] - Automate more manual test cases for visibility chaining … (#5014)

* [ADF-4843] - Automate more manual test cases for visibility chaining in ADF

* fix lint

* Cache the lib/dist for npm publish purpose

* Try to create tag with token

* [ADF-3723]Add visibility conditions on tabs - form rendering component tests (#5022)

* Add visibility conditions on tabs - form rendering component tests

* no message

* Moved the suite to process-services-cloud folder

* no message

* accumulate common lib task in first job to avoid cache problems

* change order check bundle

* remove lib/dist from cache

* [ADF-4854] sticky header for task list (#5036)

* sticky header for task list

* fix html

* add docs

* update code docs

* [ADF-4840] Fixing failing tests on process-services-cloud (#5013)

* [ADF-4840] Fixing dropdown-widget.e2e.ts-beforeEach and start-task-group-cloud.e2e.ts-afterAll

* [ADF-4840] Testing with apps deployed with different permissions

* [ADF-4840] Fixing edit-process-filters-component.e2e.ts

* [ADF-4840] Add space to lib/process-services-cloud

* [ADF-4840] Fixing people-group-cloud-filter-component and reverting changes to the appNames

* [ADF-4840] Fixing start-task-custom-app-cloud

* repair doc tools and polish the docs code (#5038)

* set private access modifier

* repair doc build tools

* fix lit issues

* re-generate version index

* [ADF-4848] Form - fix tab visibility (#5021)

* [ADF-4848] - fix tab visibility

* add unit test

* [ADF-4764] Hide placeholder in Amount Widget in readOnly mode (#5035)

* [ADF-4764] Hide placeholder in Amount Widget in readOnly mode

* add missing return type

* Update .travis.yml

* [ACTIVITI-3720] form variables enhancements (#5028)

* support form variables on the model level

* take 'variables.name' convention into account

* move API to a proper place

* unit tests and code fixes

* unit tests for form field model

* process variable interface

* [ADF-4860] Travis add tag beta on cron job (#5042)

* add the name and email values and push with the token

* add the name and email values and push with the token

* Release the beta in case the cron job runs

* Create TAG_NPM based on the branch

* [ADF-4855] Upload dialog - Buttons must have discernible text (#5040)

* aria labels translation keys

* actions aria label

* announce confirmation content

* Trigger alpha

* Move the tag on the release sh

* Run only the update children in case the tag is beta

* Use enterprise token and npx to avoid install

*  [ADF-4823] added download and show preview for attach cloud widget (#4996)

* [ADF-4823] fixed download and start fixing show preview

* [ADF-4823] fixed preview files

* [ADF-4823] - added unit test

* [ADF-4823] - fixed lint problem

* [ADF-4823] - rebased and fixed lint problem

* added a new method in BrowserActions to check that the action menu is visible, and using that in the tests.

* linting fixes

* [ADF-4862] Upload dialog - reading order (#5045)

* dialog container accessibility

* upload container aria label translation key

* focus on active upload dialog

* test

* add back removed aria-label

* Use the correct adf-cli

* [ACTIVITI-3739] make display show json types (#5046)

* Fix the adf-cli with version option

* Update the js api with the vjs version

* [ADF-4828] Should display the custom action menu for Process Cloud List (#5030)

* C315236 automated

* updated the Title

* changed the method name

* Fixing Process Cloud tests (#5055)

* Trigger alpha

* Fixing people-group-cloud-component.e2e.ts

* [DW-1328] added the create and delete role api for test preconditions (#5052)

* added the create and delete role api for test preconditions

* added the required visibility conditions, for the method to work consistently across apps

* removed the visibility conditions that are not necessary

* [ACTIVITI-3720] cloud form support for form variable mapping (#5044)

* universal form model

* parse variables correctly

* turn group model into interface

* remove console.log

* interface instead of class

* update form id type

* improved form variable parsing

* improved variable conversion

* fix cloud tests

* fix typings and code bugs

* [ADF-4865] Upload Dialog - row actions not accessible by keyboard alone (#5051)

* access upload dialog information by keyboard

* upload files actions keyboard accessibility

* aria labels translation keys

* refractor styling

* toggle action icons

* update docs

* e2e

* e2e update action reference

* [ADF-4831] DocumentList - filetype alternative text is not meaningful (#4998)

* filetype alternative text

* icons text translation key

* icon text accessibility translation

* fix e2e

* add miscellaneous file type

* [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks (#4995)

* [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks

* Initialized loader flag to true

* Updated unit tests

* fixed lint errors

* [ADF-4794] Not able to attach a second file to a form after one has already been attached (#5058)

* [ADF-4041] - fix People/Group preselected issues (#4866)

* [ADF-4041] - fix People/Group preselected issues

* [ADF-4041] - remove duplicated groups

* [ADF-4041] - fix lint

* [ADF-4041] - fix label overlay

* [ADF-4041] - lint

* [ADF-4041] - PR changes

* clear timeout

* remove unused property

* clear timeout

* fix default preselect user

* [ADF-4867] adf-error-component refactor (#5056)

* Refactor the adf-error-component
Move the custom buttons on demoshell
Fix unit test
Remove usefull e2e

* Add basic example

* [ADF-4838] Upload Dialog - canceling a pending file cancels the file in progress (#5063)

* add automation id

* call cancel upload api only if file is not pending

* tests

* e2e

* Use npx instead of absolute adf-cli path (#5053)

*  [DW-1478] E2e - Move 'filter' component from Admin Application (#5061)

* [DW-1478] E2e - Move 'filter' component from Admin Application

* Replace admin e2e framework methods with ADF reusable ones

* Add return type for filter component method

* Fix browser-actions errors

* Remove clear() method from browser-actions

* Add and rename edit filter components methods

* Remove unused methods from browser-actions
Add method to retrieve the application selected in Edit Process Filter

* Fix called method in edit task filter component

* [ADF-4798] - [adf-content-node-selector] File icons are not showing properly (#5054)

* Log class in e2e plus check PS cloud CS works before run test (#5057)

* check cs work on ps cloud add log class

* fix env config

* Use npx instead of absolute adf-cli path (#5053)
 (reverted from commit 140f60b8dc)

* Update package.json

* fix FormRepresentationModel interface

* [ADF-4878] Refactor, Split ADF About component (#5064)

* Refactor, Split ADF About component

* [ADF-4878] Add documentation

* [ADF-4878] Rename Component

* [ADF-4878] Implement comments

* [ADF-4878] Update documentation for about components

* [ADF-4888] DocumentList - cell header title is announced over cell value (#5068)

* fix focus outline

* focus on cell values

* focus on size value if defined

* row actions menu aria-label

* temporary switch off the FormModel json typing

* use custom chrome version with puppeteer (#5070)

* use custom chrome version with puppeteer

* pin to Chromium 76

* update code to trigger travis

* update protractor

* try remove extra env setting

* try chrome 62

* upgrade to chrome 76, exclude 3 tests

* add safety check for the focus

* toggle tests

* disable tests

* disable flaky test

* update names

* disable flaky test

* disable flaky test

* disable test

* disable test

* fix name simpleapp

* rename simpleApp to simpleapp project change

* [ACTIVITI-3746] - fix form completion with tab fields (#5059)

* [ACTIVITI-3746] - fix form completion with tab fields

* fix lint

* fix unit test

* refractoring and PR changes

* fix unit tests

* [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu. (#5018)

* * Demo on list com

* [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu.

* Exposed action and context menu.
* Provided a way to in the demo shell to test action menu.
* Added required transaltion on demo shell.

* * Added doc

* [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu.

* Exposed action and contect menu on tasklist page.

* * Added documentation.

* * Fixed typo

* * After rebase

* * Fixed failing e2e test on cloud demo tasklist

* * Added providedIn in Task/process cloud service.

* [ADF-4807] Automation tests for date min/max validation (#5008)

* Trigger alpha

* [ADF-4807] Automation tests for date min/max validation

* Removing identityUser changes

* Add as group suffix the travis build number (#5072)

* * Fixed failing unit tests on process-services. (#5080)

* [ADF-4892] DocumentList - set appropriate column aria-sort state (#5079)

* set specific aria-sort state

* return false when table has no sorting

* move logic to component

* aria sort method

* tests

* [ADF-3724]Create tests for visibility conditions on tabs on APS1 (#5065)

* Create tests for visibility conditions on tabs on APS1

* Fix comments

* Fix linting

* Remove the final /

* [ADF-3725]Add visibility conditions on tabs tests when completing a task (#5034)

* Add visibility conditions on tabs tests when completing a task

* Fix comments

* Removing unused import.

* Changed simpleapp

* Rebase

* Removed comment

* Revert "Rebase"

This reverts commit 417b59f541.

* Remove unused method

* Updated the simpleapp and added superadminuser when deploying the apps (#5075)

* updated the simpleapp with the process-variables required and added superadminuser when deploying the apps.

* simpleapp updated with more process variables

* simpleapp added with process variables (#5085)

* [ADF-4868] [APS-1] adf-content-node-selector seems broken when we upload from External Alfresco content service (#5078)

* [ADF-4829] - Add e2e tests for custom action menu in TaskList and ProcessList (#5081)

* in progress custom action menu on tasklist

* C315723 - automated

* split into 2 methods, addAction, addDisabledAction

* added superadminuser as aps_admin user when deploying the apps (#5087)

* [ADF-4894] Json editor dialog (#5082)

* move download-zip to its own folder

* json dialog

* update docs

* update test

* disable e2e test

* json widget for the Form

* remove deprecated test

* fix tests, update display text name

* [ADF-4858] Make sure process-services works with ng commands (#5067)

* Process-services:
Making sure you can run
ng build process-services
ng test process-services

* Fix the path of the styles

* move the file in the right place

* Add the travis TAGS value to docker

* Fix the process-service export

* fix readonly attribute

* remove old versions.json (#5089)

* [ADF-4906] [ADF] Not able upload file from ACS when start process with form (#5094)

* [ADF-4909] Hide about-plugins and about-product-versions sections whe… (#5095)

* [ADF-4909] Hide about-plugins and about-product-versions sections when they are empty

* [ADF-4909] Add missing unsubsciption

* release docs

* [ADF-4914] Fix update versions script on Generator and AMA (#5098)

* [ADF-4913] Fix Gallery View in datatable Component (#5101)

* Use the latest candidatebaseapp

* Review documentation plus some tools fix (#5100)

* review 3.5.0 doc

* fix documentation

* fix documentation

* fix documentation

* [ADF-4922] Fix update project script for Generator and Modeler (#5103)

* [ADF-4810] sso public urls configuration (#5102)

* update OAUTH schema and model

* update demoshell config for public urls

* update sso docs (#5104)

* [ADF-4810][ADF-4824] get the latest @alfresco/js-api with SSO fixes (#5106)

* generic text (#5105)

* [APM-1412] Fix Json dialog on Form json widget (#5107)

* [ADF-4921] upload widget fixes (#5109)

* upload widget fixes

* fix mocks

* [ADF-4925] Fix process variable mapping in Form Cloud component (#5110)

* [ADF-4873] Release note in draft. (#5093)

* [ADF-4873] Release note in draft.

* [ADF-4873] Compantibility matrix.

* Update release notes

* [ADF-4873] Added the authorization topic to release note.

* Update RelNote350.md

* Revert "[ADF-4925] Fix process variable mapping in Form Cloud component (#5110)"

This reverts commit 7c692137e3.

* localization 3.5.0 (#5112)

* [ADF-4905] StartProcessCloud - fix starting different process than se… (#5091)

* [ADF-4905] StartProcessCloud - fix starting different process than selected in dropdown

* fix process e2e test

* revert e2e changes

* [ADF-4810] fix sso settings (#5108)

* fix sso settings

* fix test

* update-js-api

* update-js-api

* invert test order for some reason

* fix focus outline (#5115)

* sso settigs fix (#5114)

* fix test

* update-js-api

* update-js-api

* invert test order for some reason

* split before save publicUrls

* split before save publicUrls

* [ADF-4810] split if publicUrls is not Array

* [ADF-4810]better check for string

* [ADF-4925] Fix Process Variable mapping in ADF forms (#5116)

* bump 3.5.0
2019-09-30 18:06:00 +01:00
Eugenio Romano 39a626de25 Merge pull request #4984 from Alfresco/development
Release ADF version 3.4.0
2019-08-09 16:00:05 +01:00
Eugenio Romano 4ead51d2a6 Merge branch 'master' into development 2019-08-09 15:48:08 +01:00
Eugenio Romano af318771f0 restore next version in package.json 2019-08-09 15:26:23 +01:00
Eugenio Romano 4d5ab95c15 fix pipeline day release 2019-08-09 15:06:33 +01:00
Silviu Popa f9a8d3a4bf [ADF-4797] - fix null value for display text when the field it's not visible (#4987)
* fix reset display text value when it's not visible

* change invalid unit test

* change unit test

* use alpha to test
2019-08-09 14:45:26 +01:00
Eugenio Romano a8ef686cdd update package-lock 2019-08-09 11:26:09 +01:00
Eugenio Romano e551aa417b console log error in sorting 2019-08-09 07:53:25 +01:00
Eugenio Romano dfbefa2ce5 split protractor configuration file (#4983) 2019-08-09 07:51:04 +01:00
Eugenio Romano ab2fc2fb15 Release 3.4.0 2019-08-09 00:38:19 +01:00
Eugenio Romano fd4e74d124 add license and audit info 2019-08-09 00:31:57 +01:00
Francesco Corti 446ca523d4 [ADF-4776] Release note in draft (#4963)
* [ADF-4776] Release note in draft

* Refuse on the title of the release note

Refuse on the title of the release note

* [ADF-4776] Release note in draft.

* [ADF-4776] Release note updates

* Update RelNote340.md

* remove ds file
2019-08-09 00:21:23 +01:00
Eugenio Romano 4aa0f49c58 fix date issue +1 time zone in date widget (#4982) 2019-08-08 22:52:22 +01:00
Silviu Popa cb988b0145 [ADF-4790] [ADF-4791] - fix visibility condition for text/checkbox and variable/value (#4978)
* [ADF-4790] [ADF-4791] - fix visibility condition for empty string and checkbox - value/variable

* reset package-lock

* reset package-lock.json

* fix lint and change return type
2019-08-08 22:51:09 +01:00
Eugenio Romano f04c135377 Fix e2e test (#4981)
* fix core viewer

* increase rendition retry

* sso refresh before test

* general fix test

* try use last proxy

* avoid use proxy

* remove proxy

* fix setting tests

* fix share and sso test

* fix lint exclude

* fix sso

* fix some process services cloud e2e

* fix sso download

* exclude sso test

* fix cloud

* add logout content service test

* add logout core

* add logout search

* redefine global before all

* separate protracotr method

* try

* try multiple attempt before all

* add prefix group and users

* add prefix group and users

* add prefix group and users

* rexecute sso test

* fix process service visibility e2e

* split SSO login test

* fix SSO download

* fix SSO download

* fix some cloud issues

* fix some cloud issues

* fix some cloud issues

* share file fix cs

* fix cloud test
2019-08-08 17:52:45 +02:00
Eugenio Romano b7b251fe72 Update CODEOWNERS 2019-08-08 12:26:54 +01:00
siva kumar d51e22f9f4 * Fixed theaming issue on the filters* Fixed fixed clear action default value. (#4980) 2019-08-07 20:48:06 +02:00
Denys Vuika e4426e61a0 Revert "allow "npm link" of the tool (#4974)"
This reverts commit e8f179e84d.
2019-08-07 16:00:38 +01:00
Denys Vuika 4c73b8266d Revert "update build cli script"
This reverts commit 08c96b3ff8.
2019-08-07 16:00:32 +01:00
Denys Vuika 08c96b3ff8 update build cli script 2019-08-07 15:28:04 +01:00
davidcanonieto deca68e5b2 [ADF-4795] The form is editable after completing the task in APS (#4979)
* [ADF-4795] Form should not be editable when a task is completed

* add unit test
2019-08-07 16:08:57 +02:00
Denys Vuika e8f179e84d allow "npm link" of the tool (#4974) 2019-08-07 12:05:29 +02:00
davidcanonieto 8adb9b2a25 [ADF-4775] Make date widget compatible with APS1 and APS2 (#4966)
* [ADF-4775] Make date widget compatible with APS1 and APS2

* Refactor and create new cloud widget
2019-08-07 00:40:19 +02:00
Silviu Popa bf828b6389 [ADF-4782] VisibilityConditions - fix chaining conditions (#4971)
* [ADF-4782] VisibilityConditions - fix chaining conditions

* add return types
2019-08-07 00:39:45 +02:00
siva kumar 0bca6607a9 [ADF-4793] The filters don't work on community-edition [ Use local storage for community version ] (#4973)
* * Use local storage for community version.

* * Created a communityModule.

* * Updated unit tests the recent changes

* * Updated documents.

* * Modified process/task filters doc.
2019-08-07 00:37:32 +02:00
davidcanonieto 964e89f6ef [ADF-4788] Fix parsing of process variables from APS2 BE (#4972) 2019-08-07 00:34:04 +02:00
Maurizio Vitale 623b484673 Fix the vulnerabilities (#4975) 2019-08-06 13:03:41 +02:00
Eugenio Romano 3767c5d8de Docs review 3.4.0 2019-08-05 16:59:34 +01:00
Silviu Popa 78e60a4da4 [ADF-4774] - fix visibility condition between checkbox fields (#4964)
* [ADF-4774] - fix visibility condition between checkbox fields

* [ADF-4774] - PR changes
2019-08-02 16:35:09 +02:00
Eugenio Romano 8a96ed2fbe Update ADF packages version 3.4.0-beta15 (#4970) 2019-08-02 16:33:47 +02:00
Silviu Popa 5772c1482e [ADF-4758] - reset form value when field is not visible (#4958)
* [ADF-4758] - reset form value when field is not visible

* [ADF-4758] - fix unit test

* [ADF-4758] - fix unit tests
2019-08-02 16:33:14 +02:00
Eugenio Romano 6ca04ee929 fix script update 2019-08-02 11:52:47 +01:00
m-hulbertandEugenio Romano 3800311197 [ADF-4734] Update docs for preference service in filters (#4969)
* [ADF-4734] Update docs for preference service in filters

* Update docs/process-services-cloud/components/edit-process-filter-cloud.component.md

Co-Authored-By: Eugenio Romano <eromano@users.noreply.github.com>

* Update docs/process-services-cloud/components/edit-task-filter-cloud.component.md

Co-Authored-By: Eugenio Romano <eromano@users.noreply.github.com>
2019-08-01 17:58:34 +02:00
Silviu Popa ba11019e11 [ADF-4760] - fix task form completion with a header field (#4965)
* [ADF-4760] - fix task completion form with header

* [ADF-4760] - PR changes
2019-08-01 15:36:47 +02:00
Eugenio Romano e334a5a179 use valid js-api version 2019-08-01 14:36:17 +01:00
Maurizio Vitale cd6eea02d0 Translate the 3.4 keys (#4967) 2019-07-31 15:35:37 +01:00
Maurizio Vitale b09f4b378f Expose a kubectl command to delete pods (#4968) 2019-07-31 15:21:47 +01:00
mcchrys 795bdda4e4 [ADF-4572] Display value widget display issue when it has no value (#4943)
* [ADF-4572] Display value widget display issue  when it has no value
* Added readonly type to form-render

* Added unit test case

* * Fixed ee test

* * Updating tests to return textWidget for display value

* * Making changes to displayValueWidget css selector

* * Updated case to check display value from api
2019-07-26 14:27:03 +01:00
davidcanonieto 479416861f [ADF-4650] Fix and refactor amount, date and date-time widgets (#4957)
* [ADF-4650] Fix and refactor amount, date and date-time widgets

* fix e2e tests

* Fix people cloud test

* Fix e2e date test

* fix lint
2019-07-26 14:01:00 +02:00
Maurizio Vitale 624ca9f0ae Improve the regexp to cover corner cases (#4960) 2019-07-26 13:58:37 +02:00
Vito bb80d2b6d9 [ADF-4753] - fixed calling for standalone task (#4952)
* [ADF-4753] - fixed calling for standalone task

* [ADF-4753] added unit test

* [ADF-4753] added unit test

* [ADF-4753] improved unit tests

* [ADF-4753] - removed extra parameter not needed
2019-07-26 12:23:27 +01:00
siva kumar 05e73a8aa1 [ADF-4755][CardViewDate&SelectItemComponent] Provide a way to reset date and none option as default. (#4955)
* [ADF-4755] [CardViewDateItemComponent] Provide a way to reset date.

* Added clear icon to reset date to empty.
* Added Translation key to the new icon.

* * Added displayClearAction flag to toggle clear action.* Added None as default for the selectItem components.* Added displayNoneOption flag to toggle the default none option.

* * Fixed comments.

* * Added translation key for 'none'  option.

* * Updated dateItem css to the match recent changes.

* * Fixed failing unit tests* Updated TaskHeader components with the displayClearAction.

* * Updated demo shell card-view component to test the latest changes
2019-07-26 12:22:45 +01:00
maurizio vitale 525f0a06db Use the adf-extensions as reference for latest alpha 2019-07-23 15:31:20 +01:00
Maurizio Vitale 233d388c07 adf-cli - New command update-commit-sha (#4951)
* Add a new command update-commit-sha that update the package.json with the latest commit. This is useful for the UI apps to track the latest commit sha of the released version

* fix typo
2019-07-23 15:13:08 +01:00
Maurizio Vitale fddd519116 Add the update version command to the adf-cli (#4956) 2019-07-23 11:46:24 +01:00
Geeta Mandakini Ayyalasomayajula 994cd791a3 added back the missing candidatebaseapp (#4953) 2019-07-22 18:45:57 +02:00
Maurizio Vitale b82d73602e k8s use a variable as serviceName (#4950) 2019-07-22 12:33:01 +02:00
Eugenio Romano c9cf51a1f6 update project script possible different JS-API (#4949) 2019-07-20 20:47:16 +02:00
mcchrys 1064b71308 [ADF-4684] Content Metadata Card dates should be localised (#4944)
* [ADF-4684] Content Metadata Card dates should be localised

* Passed locale param in datePipe
* Set default locale value in card-view-dateitem model
* Updated property locale in card-view-dateitem component on change in language

* * Added test case

* * Added unit test case

* * Removing locale arg from datepipe
2019-07-19 18:50:53 +02:00
Geeta Mandakini Ayyalasomayajula fc58f1a483 added the rightclick method to DataTableComponentPage (#4948) 2019-07-19 18:29:49 +02:00
davidcanonieto c98687d6f0 [ADF-4754] Fix Date Widget display value (#4945) 2019-07-19 13:51:10 +02:00
Eugenio Romano 1108e2e77a fix regression pagiantion document list 2019-07-18 13:02:45 +01:00
davidcanonieto a0d4160c11 [ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers (#4926)
* [ADF-4713] Add new DecimalNumber Pipe to transform and localize numbers

* Unsubscribe from userPreference service

* Make Pipe impure

* Add documentation in localization page
2019-07-18 12:09:50 +02:00
Geeta Mandakini Ayyalasomayajula 8ee5cd1908 Add rightclick method to browseractions (#4942)
* added right click method to browseractions

* added rightclickrowbyindex method to DataTableComponentPage

* updated row locator

* removed the rightclick from here
2019-07-18 11:54:15 +02:00
Geeta Mandakini Ayyalasomayajula 715d3b13cc [ADF-4716][ADF-3247] Tests for checking saved date format (#4935)
* e2e tests for saving the date format fine and checking that still able to save the dynamic table with non-required DateTime field.

* remove empty line spaces.
2019-07-16 17:20:35 +01:00
Geeta Mandakini Ayyalasomayajula 677de028a2 [ADF-4682]The Date is not saved correctly on Process-services form (#4940)
* test added to check the date saved in the process form in APS1

* C261039 e2e test added.
2019-07-16 16:57:59 +01:00
Denys Vuika 1abb9bfc89 [ADF-4745] memory leak fixes (#4931)
* fix app-layout component

* fix card-view component

* fix cloud-layout service

* code fixes

* code fixes

* even more fixes

* even more fixes

* lint fixes

* test fixes

* fix code

* remove useless pipes

* fix code owners

* enable spellcheck for cloud components

* update test

* update test
2019-07-16 15:56:00 +01:00
Eugenio Romano e2311ab045 fix simpleapp and check-activiti script 2019-07-16 15:47:57 +01:00
Maurizio Vitale 7791205077 [ADF-4733] AdfCli - Kubectl-image add option to install the kubectl (#4941)
* add the npm install kubectl option

* fix tslint

* add docs
2019-07-16 12:49:01 +01:00
Silviu Popa 601f975485 [ADF-4590] - Mark StartTaskCloudService as deprecated (#4936)
* [ADF-4590] - Make StartTaskCloud deprecated

* [ADF-4590] - lint

* fix build errors

* remove unnecesarry file
2019-07-16 11:52:00 +01:00
siva kumar 8d2229cf99 [ADF-4731] [Process - Cloud] - Improve IdentityUserService (#4924)
* [ADF-4731][Process - Cloud] - Improve IdentityUserService.

* * Updated unit tests.

* * Updated IdentityUserService document
* Fixed comments on the pr.

* * Added missing 'createdTimestamp' property to the IdentityUserModel.

* * Created IdentityJoinGroupRequestModel. * Updated doc. * Updated unit tests.
2019-07-15 19:28:07 +01:00
cristinaj 0226a7a3bd Change the old VisibilityCondition format with the new one (#4934) 2019-07-15 19:24:57 +01:00
Geeta Mandakini Ayyalasomayajula 76c938800f [ADF-4480] Viewer shows endless spinner for unsupported files (#4937)
* added asserting for the unsupported format file message.

* removing return statement

* removing return statement
2019-07-15 19:18:06 +01:00
Eugenio Romano 6b0fe7b6b9 fix cs document list unit test spy (#4933) 2019-07-15 13:10:33 +01:00
Maurizio Vitale 34aafa918c AdfCli - Add the kubectl-image to the adf-cli (#4932)
* Add the kubectl-image to the adf-cli

* fix ts lint

* remove the " from the image name
2019-07-15 11:16:35 +01:00
Marouan Bentaleb 6b84ecf47c [ADF-3993] Automation for Start Task - Group Cloud (#4879) 2019-07-14 13:26:09 +01:00
Geeta Mandakini Ayyalasomayajula db0a7842a8 [ADF-4699] Forms to be used or not used in Standalone tasks (#4886)
* e2e test for ADF-4699 - Allow a form to be used (or not used) in standalone tasks

* e2e test for ADF-4699 - Allow a form to be used (or not used) in standalone tasks

* test enhancements

* replacing the app with forms with standAlone flag in the json.
2019-07-14 13:11:18 +01:00
cristinaj 48097c4d2a [ADF-4471]Reload task header after claim/unclaim (#4875)
* Reload task header
2019-07-13 16:29:51 +01:00
Silviu Popa 6cedc59fdf [ADF-4590] TaskCloud - refractor StartTask (#4761)
* [ADF-4590] - refractor task-cloud service

* [ADF-4590] - change unit tests

* [ADF-4590] - fix unit tests

* [ADF-4590] - add return type, remove unnecesary unit test

* [ADF-4590] - fix lint

* [ADF-4590] - PR changes
2019-07-13 16:24:16 +01:00
Eugenio Romano 5703c45ad8 [ADF-4259] ClientId shouldn't be in the config file (#4930)
* add delete users missing in ps cloud e2e

* clientId use config param

* Update test.config.js
2019-07-13 16:16:40 +01:00
Silviu Popa 098577f6e5 [ADF-4735] - Automation for visiblity condition on APS1 (#4920)
* [ADF-4735] - Automation for visiblity condition on APS1

* [ADF-4735] - remove unused class and change click actions method

* [ADF-4735] - PR changes

* [ADF-4735] - PR changes

* ceck undefined smart build
2019-07-13 16:16:15 +01:00
Eugenio Romano 123e9b2c77 fix smart build script 2019-07-13 11:49:16 +01:00
arditdomi dc450a3af2 [ADF-4480] Change Viewer behaviour when opening unsupported files (#4922)
* [ADF-4480] Change Viewer behaviour when opening unsuported files

* [ADF-4480] Fix identations

* [ADF-4480] Make timeout of rendition retry constant
2019-07-13 11:35:21 +01:00
Eugenio Romano 18ed4e3c1d add delete users missing in ps cloud e2e 2019-07-12 16:21:47 +01:00
Eugenio Romano b28a53afe7 Ban xit and xdescribe use in the future (#4923)
* remove xit test and ban xit and xdescribe use in the future

* remove xit test and ban xit and xdescribe use in the future

* remove test excluded

* remove consecutive blank line
2019-07-12 15:04:53 +01:00
davidcanonieto 07213fac3a [ADF-4650] Fix RTL view for form validation icon (#4927) 2019-07-12 14:00:04 +01:00
Denys Vuika a37f935c05 [ADF-4647] download service (#4836)
* split download api into separate service

* move tests and fix code

* break dependency for thumbnail service

* update tests

* test fixes

* fix code

* fix unit tests
2019-07-12 13:58:47 +01:00
Eugenio Romano d0d1154f84 add workspace in automatic update 2019-07-12 12:55:56 +01:00
Eugenio Romano b894599cf9 Update ADF packages version 3.4.0-beta8 (#4925) 2019-07-12 12:30:22 +01:00
Eugenio Romano 3f14b5ac42 add sleep process-service cloud dropdown e2e for eventual consistency 2019-07-12 10:55:17 +01:00
Eugenio Romano 5ce06d80cb remove wrong use of get in translation service 2019-07-11 19:50:03 +01:00
Cilibiu Bogdan ccdcba8778 [ADF-4424] Pdf Viewer - password dialog does not close when pressing Escape (#4622)
* return to previous page on close

* update e2e

* [ADF-4424] Improve PreviousRouteService to use it in pdfViewer

* change previous Url logic

* remove navigation logic

* remove test

* Update pdfViewer.component.spec.ts

* back button logic for viewer outlet

* unit tests

* remove fdescribe

* remove unused service

* e2e

* return to location

* remove click filter step

* remove unnecessary test steps

* remove un existen export

* unify preview between PS and CS in demo shell

* fix dispalyname property
2019-07-11 17:33:15 +01:00
Silviu Popa 72b3a75a85 [ADF-4710] - adapt visibility condition to the new schema (#4884)
* [ADF-4710] - adapt new visibility condition schema

* [ADF-4710] - fix unit tests

* [ADF-4710] - support visibility for APS1 and APS2
2019-07-11 17:07:26 +01:00
Geeta Mandakini Ayyalasomayajula ffd4413335 restore content directive e2e tests (#4915)
* e2e tests for restore content directive

* e2e tests for restore content directive

* e2e tests for restore content directive

* changed the method for restore icon to check for display rather than enabled.

* test enhancements

* removed empty folder test as irrelevant.

* added test for restore of Site or Library

* test enhancements

* test enhancements
2019-07-11 16:33:02 +01:00
Denys Vuika 4185bf8083 [ADF-4737] local fonts and favicon fix (#4921)
* offline fonts

* fix missing favicon
2019-07-11 16:26:38 +01:00
Eugenio Romano 10587dd842 Refactor e2e PS-Cloud and add sleep before query (#4919)
* add sleep before query process service and refactor resources process name

* fix spell problem and increase size build check core
2019-07-11 16:25:26 +01:00
Eugenio Romano 79a95ecd5d use instant pipe translate in demo shell error message 2019-07-11 16:24:18 +01:00
Eugenio Romano 0c2f9aefbd Update package.json 2019-07-11 12:20:37 +01:00
Eugenio Romano 7a70e88ae3 Clean pdf viewer unit (#4916)
* fix unit test pdf viewer

* add more clean unit test core

* add more clean unit test core

* Delete license-info-3.3.0.md
2019-07-10 20:03:05 +01:00
Eugenio Romano 3d336bf9bd Update layout-container.component.scss 2019-07-10 20:01:18 +01:00
Eugenio Romano d3021a1cc8 Update layout-container.component.scss 2019-07-10 19:36:50 +01:00
Maurizio Vitale d1a48a015d Fix typo on docker -f command (#4918) 2019-07-10 18:44:23 +01:00
Maurizio Vitale 05baabb8f5 Add basic readme to run the docker publish with or without login (#4917)
add the tag to the docker image
publish the docker image
clean the docker image
2019-07-10 18:07:22 +01:00
Maurizio Vitale a6e18e6c1b [ADF-4733] Create an adf-cli dispatcher to run the docker-publish (#4914)
* Create an adf-cli dispatcher to run the docker-publish

* not needed

* fix typo comma

* Create the adf-cli dist folder that contains
-bin
-script
-package.json

Build the dist folder during the ADF CI/CI pipeline
2019-07-10 15:06:35 +01:00
Geeta Mandakini Ayyalasomayajula fadcc19eba e2e tests for favourite directive (#4912)
* in progress - favourite directive e2e tests

* in progress - favourite directive e2e tests

* favourite directive e2e tests

* update testcase name

* updated test case names

* remove unnecessary line spaces

* refactored favourites to favorites
2019-07-10 09:56:28 +01:00
Suzana Dirla bbe22fd2a7 [ADF-4732] ellipsis fix (#4913)
allow folder names from breadcrumb to shrink when path is too long to fit the screen
2019-07-10 09:49:13 +01:00
Geeta Mandakini Ayyalasomayajula 65dc1a5c31 Test cases for Edit Folder Directive (#4910)
* added tests for Edit Folder Directive

* added tests for Copy and Move actions on no permission folder.

* moved the checkDisabled function to BrowserActions to make it reusable.

* updated method name
2019-07-09 15:30:37 +01:00
davidcanonieto c151d4535c [ADF-4682] Fix displayed date in date time and date widget (#4911) 2019-07-09 15:29:38 +01:00
dhrn cdc39759ca [ADF-4716] Dynamic Table not working properly (regression) (#4896)
* [ADF-4716] Dynamic Table not working properly (regression)
[ADF-4722] Wrong date is displayed when updating row of dynamic table
* removing dynamic table date added

* * fix e2e
2019-07-09 11:40:27 +01:00
Marouan Bentaleb 080eef891b Changes required to adf-testing (#4904) 2019-07-09 11:38:48 +01:00
Eugenio Romano d9a251a0c8 Clean unit test in login component and site (#4908)
* sanatize login style

* remove unusefull test in site api
2019-07-08 16:54:34 +01:00
mcchrys abc376ff33 [ADF-4711] User Preferences in Task Filter (#4891)
* [ADF-4711] User Preferences in Task Filter
2019-07-08 16:29:47 +01:00
Maurizio Vitale 3af702f58e Read the versions.json from the relative path (#4909) 2019-07-08 16:27:42 +01:00
Silviu Popa bd24105036 [ADF-4720] FormFieldModel fix error when has no variables (#4892)
* [ADF-4720] - prevent FormFieldModel crash

* [ADF-4720] - add unit test
2019-07-08 11:07:08 +01:00
Geeta Mandakini Ayyalasomayajula cae73e3c02 [C310199][C310142]- empty form , required data and invalid form data validations (#4900)
* C310199, C310142, empty form validations, Form validations with required field and invalid data.Added a new form to candidatebaseapp, 'FormToTestValidations'

* using BrowserActions
2019-07-08 11:03:22 +01:00
Geeta Mandakini Ayyalasomayajula 939277366f Dev gmandakini automate actionmenu for rows (#4905)
* removing hte test as iti s duplicated. The same tests exist under e2e/content-services/document-list/document-list-actions.e2e.ts

* C260127 - Move - Destination picker search, test for content highlighted

* C260128 - Move same name file test added

* test name updated

* C260134 - Move Folder with subfolder and file within it, test added

* formatting

* C260135 - Move same name folder - test added

* C260131 - Copy - Destination picker search, search text highlighted in the results in the Copy dialog.

* C260129, C260136 - Tests for Copy same name file and same name folder added

* added tests for Copy and Move actions on no permission folder.

* added tests for Copy and Move actions on no permission folder.
2019-07-08 10:26:03 +01:00
Eugenio Romano cf761ba0b2 Cleaning test IMG viewer component (#4906)
* promote use setupTestbed

* fix sanatize transform img

* fix sanatize transform img
2019-07-08 10:21:48 +01:00
Suzana Dirla a4fc53a742 [ADF-4708] fileSize header is now left aligned with bottom cells (#4902) 2019-07-05 14:52:39 +01:00
siva kumar b88888b5e4 [ADF-4614] User preferences in process filters (#4889)
* * Created UserPreferenceCloudService.

* * Refactored processfiltercloud service.
* Refactored user-preferncecloud service.
* Added unit tests to the services.

* * Updated unit tests
* FIxed Synx problem.

* * Fixed edit-filter error.

* * Fixed failing edit-process-filter unit test.

* * Added comments in processfilter/prefernces services.

* * Fixed memory leak* Added a spinner in the edit-process-filter component

* * Fixed comments.

* * Removed unnecessary filter property
2019-07-05 11:52:36 +01:00
Geeta Mandakini Ayyalasomayajula 10673ef6f6 [C297472] Should be able to see selected tasks (#4899)
* update

* automated => C297472 see selected rows list and task names when multiselect and testing mode toggle are on.

* automated => C297472 see selected rows list and task names when multiselect and testing mode toggle are on.

* Delete package-lock.json

* updates
2019-07-05 11:47:35 +01:00
Marouan Bentaleb 5ed570b36f Changes required to adf-testing (#4901) 2019-07-05 11:46:46 +01:00
Marouan Bentaleb a580b6eb15 Changes required to adf-testing (#4898) 2019-07-04 13:21:51 +01:00
Eugenio Romano 085e1a9dfa clean unit tests core part 2 (#4897)
* promote use setupTestbed

* fix context menu unit test

* fix sidebar warning unit test

* fix spy people widget

* fix ISO warning date time widget

* fix sidebar spy 404 url

* minor karma fix import pdf.js map

* restore md

* revert extension change
2019-07-03 22:42:00 +01:00
Denys Vuika c9b7722bd0 fix css class name typo (#4895)
* fix css class name typo

* fix more typos
2019-07-03 12:08:12 +01:00
Suzana Dirla a13196a836 [ADF-4715][ADF-4717] fix process-filter-results random failing tests (#4888)
* [ADF-4715] a process never has CREATED status

* [ADF-4717] clean up in afterAll

* check mediumDate format

* check mediumDate format

* show more log data

* Revert "show more log data"

This reverts commit a19c629
2019-07-03 09:48:14 +01:00
davidcanonieto e03799e038 [ADF-4721] Fix Material Datetime Picker date format (#4893) 2019-07-02 22:05:11 +01:00
Geeta Mandakini Ayyalasomayajula 4d0c98d753 [ADF-4697] attach content to processcloudtaskform using upload widget (#4882)
* automated upload local and content file from task from upload widget.

* automated upload local and content file from task from upload widget.

* reverting the git ignore change

* updated the app with the new process definition using the form with upload widgets

* Save error screenshot

* creating the processes through api call rather than through ui. and added -log to watch the travis build on process-cloud

* creating the processes through api call rather than through ui. and added -log to watch the travis build on process-cloud

* removed the wait till clickable, as not relevant here.

* Update process-services-cloud-e2e.sh
2019-07-02 22:00:14 +01:00
Eugenio Romano 0d6140be77 clean unit test (#4890)
* promote use setupTestbed

* fix comment using right spy and remove deprecated moment method usage

* restore md icon file

* remove error translation log

* restore extension test
2019-07-02 16:00:58 +01:00
Suzana Dirla 87b80235a7 [ADF-4701] Upgrade angular libs (#4877)
* [ADF-4701] Upgrade angular material to 7.3.7 version

* [ADF-4701] upgrade angular libs

* [ADF-4701] upgrade angular libs

* [ADF-4530] temporary disable test

- will be fixed in a separate PR for https://issues.alfresco.com/jira/browse/ADF-4704
- the 'expected behavior' of the ADF-4530 corresponding bug is that should display 'all the available Process Definitions defined in the app'

* e2e test does not need bpm user

* e2e FIX waitUntilElementIsClickable

* Revert "e2e test does not need bpm user"

This reverts commit 9a5c4d4 - Travis seems to need initial code

* e2e fix button selector

- caused TimeoutError: Element is not Clickable

* e2e scroll into view fix

* e2e fixes scroll into view & selectors

* e2e fixed close action menu

- close menu with all disabled items fix - opened related issue https://issues.alfresco.com/jira/browse/ADF-4712
- checkContextActionIsVisible should check only visibility - all items might be disabled, so un-clickable
- close menu changed bcs. overlay backdrop caused TimeoutError: Element is not Clickable

* e2e disabled button is not supposed to be clickable

- fixed TimeoutError: Element is not Clickable

* e2e update messages

* e2e check invisibilityOf item

* e2e extra filter

* e2e wait waitTillContentLoaded

- created related issue https://issues.alfresco.com/jira/browse/ADF-4715

* [ADF-4715] a process never has CREATED status

* [ADF-4717] wait for filtered content to be loaded

- initiator filter must have 'username' value
2019-07-02 12:07:15 +01:00
Eugenio Romano 028916e386 Fix user info unit test (#4887)
* fix unit test user info component

* fix unit test user info component

* replace download call with spy

* fix karma conf
2019-07-01 11:35:27 +01:00
Silviu Popa 43f08441cd [ADF-4705] - Automate forms checkbox widget (#4881)
* [ADF-4705] - Automate forms checkox widget

* Move methods to a demo-shell page

* Adding 3 new tests
2019-07-01 11:33:34 +01:00
Eugenio Romano 4dccc2a49a fix login unit test to nit emit error in the network (#4885)
* fix login unit test to nit emit error in the network

* fix lint
2019-06-29 10:34:13 +01:00
Geeta Mandakini Ayyalasomayajula 2a2dfbcc42 automated C311280 should pick up default date format from the app configuration (#4883) 2019-06-28 14:44:15 +01:00
cristinaj 5c5bb7f9b7 [ADF-4576]Add new tests for application cloud component (#4873)
* Add a new test

* Revert file

* Fix lint errors

* Add a wait

* fix roles constant uppercase

* fix lint
2019-06-26 19:47:09 +01:00
davidcanonieto 069e4297ea [ADF-4499] Form definition selector should only display standAlone co… (#4880)
* [ADF-4499] Form definition selector should only display standAlone compatible forms

* Improve service method

* fix typo
2019-06-26 13:07:51 +01:00
Eugenio Romano 24714b8a87 codeowners 2019-06-26 10:28:05 +01:00
Eugenio Romano d401018519 codeowners 2019-06-26 10:02:17 +01:00
Denys Vuika f99b943bcb [ADF-4594] e2e configuration to disable animations (#4760)
* e2e environment

* configuration fixes

* update dist configuration

* use e2e configuration on travis
2019-06-26 09:50:50 +01:00
davidcanonieto 5c07d5b3e6 [ADF-4457] StorageService should be independent of AppConfigService (#4712)
* [ADF-4457] StorageService should be independent of AppConfigService

* [ADF-4457] Fix e2e tests

* [ADF-4457] Fix e2e tests

* [ADF-4457] Improve storage service workflow

* Fix linting

* Fix unit tests

* Fix e2e test

* Add missing class to constructor

* Fix e2e test

* Rebase branch

* Improve unit test

* fix test
2019-06-25 16:21:13 +01:00
Eugenio Romano 90c403ae9e [ADF-4707] add properties in node selector search (#4878)
* add properties in node selector search

* fix test
2019-06-25 15:37:24 +01:00
Geeta Mandakini Ayyalasomayajula d531a022d0 [ADF-4026] - automate process filter results check (#4874)
* process-filter-results test automated

* updated the test case numbers

* fix test

* fix test

* added wait for the datatable to load

* fixes

* created another process instance in simpleApp by anotherUser, to test the negative scenario's in filtering.

* created another process instance in simpleApp by anotherUser, to test the negative scenario's in filtering.

* delete both the users created.
2019-06-25 14:44:30 +01:00
Eugenio Romano 72eab9e84d fix script 2019-06-25 13:00:05 +01:00
Marouan Bentaleb 31d98fc368 [ADF-4515] Removing duplicated test and moving other test to the right spec (#4872) 2019-06-24 17:43:33 +01:00
Suzana Dirla 317ae3db68 [ADF-4696] Display name on metadata card (#4870)
* [ADF-4696] Display names on content metadata

* [ADF-4696] unit test
2019-06-24 17:39:06 +01:00
Geeta Mandakini Ayyalasomayajula be234f227f [ADF-4448] Automate Start and Save a task with a form. (#4876)
* automated Start and save a task with a form.

* crc's

* test title updated

* test title updated

* start process with start event form automated

* moved the expect statements to the tests.

* fix circular dependency

* deleting the standalonetask in afterAll

* split the tests for better readability

* split the tests for better readability
2019-06-24 17:36:02 +01:00
Geeta Mandakini Ayyalasomayajula 938286671d test enabled (#4871) 2019-06-20 14:25:46 +01:00
davidcanonieto 685404432a Add typeahead unit test for start process cloud component (#4869) 2019-06-20 14:06:01 +01:00
Marouan Bentaleb 82d6ebd763 [ADF-4593] Fixing skipped tests in Start Task Cloud (#4868) 2019-06-20 12:33:46 +01:00
Eugenio Romano f861b94de4 [Staging-branch] 3.4.0 (#4839)
* next 3.4.0

* next 3.4.0

* [ADF-4426] Move CSS overrides from ACA to ADF - 2nd round (#4837)

* [ADF-4426] align toolbar icon color with design

* [ADF-4426] clean-up style - it is never applied

* [ADF-4426] display title for name location cell - useful for long names

* [ADF-4426] move content-node-selector cell fix from ACA

- fixes https://github.com/Alfresco/alfresco-ng2-components/issues/4686

* [ADF-4426] move content-node-selector cell fix from ACA

- fixes https://github.com/Alfresco/alfresco-ng2-components/issues/4686

* [ADF-4426] move image width fix from ACA

* [ADF-4426] allow more customization of data-table borders

* [ADF-4426] move fix from ACA

[ACA-2363] fixes issue with text being visible underneath the info drawer

* [ADF-4426] get adf-datatable-link style from ACA

* [ADF-4426] allow set of DL selected row icon color

* [ADF-4426] allow more document list customization

- code moved from ACA
- more css variables
- removed non used and duplicated outline styles
- some code clean-up...

* [ADF-4635] The Status drop-down is looking different for Processes than for Tasks (#4822)
2019-06-20 12:32:41 +01:00
Eugenio Romano 5e0f715bac 3.3.0 update (#4867)
* * Added content-services as peer dependency into process-cloud-services (#4863)

* updated translation files 3.3.0

* fix form variables

* fix test
2019-06-19 14:19:21 +01:00
Eugenio Romano f063d94316 fix test 2019-06-19 13:16:50 +01:00
Eugenio Romano bb322bb5ed fix form variables 2019-06-19 12:23:31 +01:00
Eugenio Romano c5739ff435 updated translation files 3.3.0 2019-06-19 11:01:50 +01:00
siva kumar 55581d2e09 * Added content-services as peer dependency into process-cloud-services (#4865) 2019-06-19 10:27:05 +01:00
siva kumar 45af7ca88d * Added content-services as peer dependency into process-cloud-services (#4863) 2019-06-19 10:26:56 +01:00
Eugenio Romano 09c62d5046 Release 3.3.0 2019-06-18 21:35:58 +01:00
siva kumar 957a76b1b5 [ADF-4519] Attach an ACS content to a form (#4842)
* * Process-storage

* * Used jsapiServcie

* Be able to upload a file on the content with the createNode api

* Refactor

* [ADF-4519] Attach an ACS content to a form.

* * Created attachfile-cloud-widget component

* * Created a component to attach an acs content to a form.

* * Added unit tests

* * Removed unused methods* FIxed tslint errors.

* * Reverted demo shell changes.

* * Removed unnecessary methods

* * Fixed at able to remove attached file

* * After rebase.

* * Removed tempFile and currentFile properties.* Refactored attach-file-cloud-widget.

* Update upload-cloud.widget.html

* fix

* Fixed readonly form
2019-06-18 18:54:33 +01:00
m-hulbert 3d4ea197ee [ADF-4656] Release note for 3.3.0 (#4861) 2019-06-18 18:53:33 +01:00
Eugenio Romano fac04a9707 add logs 2019-06-18 18:35:20 +01:00
Eugenio Romano f934aa306b restore install 2019-06-18 16:26:34 +01:00
davidcanonieto 25446b5ba3 [ADF-4680] Add documentation for dateValues in app.config.json (#4859)
* [ADF-4680] Add documentation for dateValues in app.config.json

* Improve English

* Create new localization file

* Update localized-date.pipe.md

* Update card-view-datetimeitem.model.ts

* Update localized-date.pipe.md
2019-06-18 15:17:48 +01:00
Francesco Corti e64eee90af [ADF-4656] Release note for ADF 3.3 in draft. (#4857)
* [ADF-4658] Release note for ADF 3.3.

* License info update.

* Version index issue.

* release note
2019-06-18 10:01:52 +01:00
Eugenio Romano d6c3373298 fix names config e2e cloud 2019-06-17 21:17:47 +01:00
Alexa Fabian 725cf22956 'Testing' Moved Upload Actions to shared testing package (#4616)
* 'Testing' Moved Upload Actions to shared testing package

* Updated Upload Actionswith suggested changes

* Failing tests updated

* Resolving merge conflicts

* updating latest merge conflicts

* resolved merge conflicts

* update to fix previous issues with this.

* testing changes

* fix for failed travis test

* updates to fix failing travis test

* fixes file path error

* latest fix for failing travis test

* latest fix for failing travis test

* Fixing undefined rootPath

* fixes timing issues in content-services travis test

* resolves requested changes
2019-06-17 15:07:25 +01:00
davidcanonieto 5f1caca5da [ADF-4677] Make time ago use Angular Date formats (#4856) 2019-06-17 14:16:48 +01:00
Eugenio Romano 73b871a233 fix deploy pr script 2019-06-17 14:15:55 +01:00
Eugenio Romano f8fcb6395d update script correct directory 2019-06-17 11:53:53 +01:00
Eugenio Romano 5589120ed7 [ADF-4657] Upgrade Guide (#4855)
* fix documentation missing params

* fix index

* fix aftere release

* fix aftere review

* upgrade guide from 3.2.0 to 3.3.0

* upgrade guide from 3.2.0 to 3.3.0
2019-06-17 11:46:28 +01:00
Eugenio Romano 64a5a98dc6 [ADF-4658] Compatibility matrix 3.3.0 (#4854)
* fix documentation missing params

* fix index

* fix aftere release

* fix aftere review

* compatibility matric 3.3.0
2019-06-17 10:22:43 +01:00
Maurizio Vitale f84db2216b Add the default validation array (#4852) 2019-06-14 18:07:21 +01:00
davidcanonieto 334ebd1256 [ADF-4338] Add locale to CardViewDateItemModel and improve logic of LocalizedDat… (#4845)
* Add locale to CardViewDateItemModel and improve logic of LocalizedDatePipe

* Fix e2e tests

* Fix e2e tests

* Fix C305010 test
2019-06-14 17:26:08 +01:00
Eugenio Romano e03290d26c Review doc 3.3.0 (#4851)
* fix documentation missing params

* fix index

* fix aftere release

* fix aftere review
2019-06-14 17:06:52 +01:00
arditdomi 33089a452f Change incorrect e2e test id (#4853) 2019-06-14 17:06:05 +01:00
Eugenio Romano f47cebc0a4 [ADF-4665] [ADF] - Application is refreshed when you have two instances of application opened (#4849)
* refactoring getValueFromToken and fix user token refresh

* refactoring getValueFromToken and fix user token refresh

* refactoring getValueFromToken and fix user token refres

* fix unit test
2019-06-14 16:02:12 +01:00
Eugenio Romano 4733bc7d3b add Vulnerability info 2019-06-14 15:57:53 +01:00
Eugenio Romano c0d1f74d57 license info 3.3.0 2019-06-14 15:43:54 +01:00
Eugenio Romano bd568008f8 fix pagination RTL 2019-06-14 14:39:36 +01:00
Eugenio Romano e578e5dc14 minor fix style demo shell process file list 2019-06-14 13:30:05 +01:00
Eugenio Romano b1e7a594b8 fix flaky test 2019-06-14 13:19:26 +01:00
arditdomi 5f8976004e About component, Add missing Content Services URL label (#4850) 2019-06-14 11:43:52 +01:00
Eugenio Romano c34205d863 Update package.json 2019-06-14 10:09:28 +01:00
Cilibiu Bogdan 4603cef19e [ADF-4667] Document list - sorting icon RTL fix (#4848)
* sorting icon RTL fix

* single quotes over double quotes

* overspecify position
2019-06-14 10:04:59 +01:00
Maurizio Vitale 819ed9ae6a Fix start process form (#4847) 2019-06-13 18:21:33 +01:00
davidcanonieto c44c2eae77 Fix Start Process Cloud Layout (#4846) 2019-06-13 16:41:37 +01:00
Maurizio Vitale 88c04ad7b8 Fix issue (#4844) 2019-06-13 13:50:27 +01:00
Eugenio Romano d43274f891 remove unused general dependency 2019-06-13 13:46:18 +01:00
Eugenio Romano 6d2f2030fe fix license script old licenses array 2019-06-13 11:24:40 +01:00
Geeta Mandakini Ayyalasomayajula ab3bb9002f [ADF-4288] -Sort Process Custom filters (#4826)
* Update data-table-component.page.ts

* new pr

* fix error - sortOrder.toLowerCase is not a function

* new pr

* new process definition added

* taking the development branch changes
2019-06-13 11:04:46 +01:00
Geeta Mandakini Ayyalasomayajula 626bb01bf7 [ADF-4488] - FormCloud - Should be able to render a dropdown with a RestService bind (#4834)
* new test file

* fix failures, passing string instead of boolean flag.

* ADF-4488 - FormCloud - Not able to render a dropdown with a RestService bind

* ADF-4488 - FormCloud - Not able to render a dropdown with a RestService bind

* added await for entry of undefined error

* added missing async for the tests.

* changed location

* changed locatioremoved unnecessary async

* moved the locators to task-form-cloud-component page

* removed the taskDetailsCloudPage as is unnecessary and getting the assertions from taskHeaderCloudPage.

* fiv circular dependency

* fix circular dependency
2019-06-12 20:21:03 +01:00
Eugenio Romano b04b717296 [ADF-4651] fix task form cloud (#4843)
* fix task form cloud

* fix form
2019-06-12 20:16:04 +01:00
Eugenio Romano ecb8410d1b fix pr deploy script 2019-06-12 18:01:13 +01:00
Denys Vuika f64cd9cffd [ADF-4640] share dialog fixes (#4830)
* unshare fixes and error notifications

* fix disabled toggles issue

* code fixes and separate interface

* remove 'isFavorite' include

* safety checks for properties

* update e2e

* refactor test after functionality change

* fix issue with the missing properties

* safety checks
2019-06-12 17:21:23 +01:00
Eugenio Romano 3a2cfb3626 fix date localization (#4841) 2019-06-12 16:16:00 +01:00
Maurizio Vitale 63f00e21cf [ADF-4468] FormCloud - Be able to display the value of a form variables (#4676)
* Fix the value passed as processDefinition
Be sure we fetch the form variables

* * Rename formId to formKey.

* * Reverted form Changes

* * Fixed failing unit test

* Fix the value passed as processDefinition
Be sure we fetch the form variables

* * Fixed failing unit test

* * Rename formId to formKey.

* * Reverted form Changes

* * Fixed failing unit test

* Fix form representation structure

* Refactor form models

* Change tslint config

* Fix lint

* Refactor form models

* Remove duplicated export

* improve variable names

* Update form mock
2019-06-12 12:50:09 +01:00
Eugenio Romano 051e8df091 fix refresh token sso logout 2019-06-12 12:36:05 +01:00
Eugenio Romano 492aa1e850 fix flaky test upload service 2019-06-12 10:15:33 +01:00
davidcanonieto f42e1a4ada [ADF-4041] Fix preselected user selection on People Cloud Component (#4648)
* [ADF-4041] Fix preselected user selection on People Cloud Component

* [ADF-4041] Fix unit test and add new one

* [ADF-4041] Fix validation of users

* Improve code

* Fix C309677 test
2019-06-11 22:47:06 +01:00
Eugenio Romano 9838d1e5d8 [ADF-4524] Checkbox widget is not displayed on a form on APS1 when having some visibility conditions on it (#4838)
* fix visibbility conditions form

* fix visibbility conditions form
2019-06-11 19:44:29 +01:00
Eugenio Romano 1c412ab15f new translation files (#4840) 2019-06-11 19:44:17 +01:00
Eugenio Romano 924c20d410 remove duplicated column and fix null in checkbox 2019-06-11 17:28:12 +01:00
Mario Romano fb082cdfdc [ACTIVITI-3234] add processInstanceId to save/submit event, change get folder… (#4833)
* [ACTIVITI-3234] add processId to save/submit event, change get folder rest call api

* Update form-cloud.component.md

* lint fix

* [ACTIVITI-3234] fix tests

* [ACTIVITI-3234] fix tests

* Fix rename processId in processInstanceId
2019-06-11 14:30:43 +01:00
Maurizio Vitale 7b191d37eb [ADF-4631] Start Process Cloud - Add the start form as part of a process (#4820)
* Add the start form as part of a process
Ability to pre-fill a form with values
Ability to send variables

* Fix unit test

* remove empty before each
2019-06-11 12:02:26 +01:00
davidcanonieto 7497822a46 [ADF-4342] Create localized pipe and centralize date format (#4813)
* [ADF-4342] Date Format defined in app config

* [ADF-4342] Create localized pipe and centralize date format

* Add unit test for new date pipe

* Add info internationalization docs

* Fix lining

* Fix linting

* Fix date pipe unit test

* [ADF-4342] Add supported language files

* Fix e2e tests
2019-06-11 09:35:35 +01:00
Eugenio Romano 990fa4625b fix ordering e2e failing test (#4825)
* ordering fix use common method in datatable

* ordering fix use common method in datatable

* fix sorting ps e2e

* fix ordering

* move search page in testing and fix sorting boolean flag

* fix import

* fix moment

* use common sort method in document list test

* use common sort method in document list test

* remove unnecesary sort control

* remove duplicate test

* remove e2e suspended removed status

* documentation
2019-06-11 07:34:16 +01:00
davidcanonieto c85df84a01 [ADF-4636][ADF-4137][ADF-4596] Datatable and Assignee bugs (#4832) 2019-06-11 00:35:02 +01:00
mcchrys be35267df3 [ADF-4634] Different statuses should load for Tasks than for Processes (#4819)
* Removed 'Suspended' option from Task Status dropdown
2019-06-11 00:13:52 +01:00
Eugenio Romano cb37254cae [ADF-4637] logout cross tabs event (#4823)
* logout cross tabs event

* fix remove listner

* fix remove listner

* Update auth-guard.service.ts
2019-06-10 19:37:28 +01:00
arditdomi 105a1a2b28 [ADF-4435] Added documentation about task-form buttons (#4831)
* [ADF-4435] Added documentation about task-form buttons

* [ADF-4435] Images of the documentation added don't have the correct dimensions

* [ADF-4435] Resize images

* [ADF-4435] Resize images
2019-06-10 19:31:07 +01:00
Geeta Mandakini Ayyalasomayajula 238fbf3d88 [ADF-4600] Should be able to filter groups based on composite roles (#4775)
* ADF-4600 Should be able to filter groups based on composite roles - automated

* minor fixes

* removed the template literals
2019-06-10 14:59:21 +01:00
loictrichaud 6c08231f33 fix adf-delete directive NodeResult (#4827) 2019-06-10 14:26:49 +01:00
arditdomi 117050decf [ADF-4421] Fix excluded tests (#4829) 2019-06-10 12:47:46 +01:00
arditdomi 4ea656e537 [ADF-4441] Save button should be disabled when form fields are invalid (#4817)
* [ADF-4441] Save button should be disabled when form inputs are invalid, Refactored disable custom outcome buttons unit tests

* [ADF-4441] add missing space

* [ADF-4441] Refactor failing unit tests

* [ADF-4441] Added documentation for disableSaveButton property
2019-06-10 12:01:58 +01:00
Eugenio Romano 3e1092d7bf Update process-custom-filters.e2e.ts 2019-06-10 10:27:50 +01:00
Eugenio Romano da5258edcd Revert "[ADF-4421] Fix excluded tests in task filters (#4721)" (#4824)
This reverts commit 51f0a2da47.
2019-06-07 18:48:41 +01:00
arditdomi 51f0a2da47 [ADF-4421] Fix excluded tests in task filters (#4721) 2019-06-07 16:27:48 +01:00
Eugenio Romano 8a2a71d60b fix build cli 2019-06-07 10:46:27 +01:00
Geeta Mandakini Ayyalasomayajula 7a3e2932bb [ADF-4462] - Should be possible to restore an old version of your file and the document list updated (#4708)
* ADF-4462 automated
2019-06-06 18:20:15 +01:00
Eugenio Romano 5e54cd4d43 Increase timeout and modify login async (#4795)
* increase timeout and modify login async

* run e2e if testing is changed

* improve cdk fix

* fix travis update projects

* disable ghostMode lite server

* lint fix

* fix timeout

* multiple try

* Update content-services-e2e.sh

* Update search-e2e.sh

* Update process-services-e2e.sh

* Update core-e2e.sh

* Update protractor.conf.ts

* fix unit

* remove async

* increqase notification time

* 3 parallel

* dix path issue in save

* small refactor protractor ts

* fix save

* create license check first script adf cli

* modify regex check

* refactor notification history component

* decrease notification

* fix notification message problem

* fix test

* update packages wit high risk

* revert cahnge login sso e2e

* fix dep

* fix documentation duplication and issue

* fix after review

* fix after review

* try 6 parallel test

* back to 3 parallel test no real time improve with 6
2019-06-06 16:47:50 +01:00
Denys Vuika 99f4b07878 [ADF-4496] Share dialog enhancements (#4705)
* raise snackbars on unshare errors

* remove time from datepicker

* update tests

* Update en.json

* code updates as per review

* update docs

* bind datetimepicker type attribute

* set datetimepicker type by configuration or default

* tests

* e2e test

* update docs

* e2e set sharedLinkDateTimePickerType config
2019-06-06 16:32:36 +01:00
cristinaj c3b1300d86 Add test for delete standalone task and cancelled process. (#4809) 2019-06-06 11:26:08 +01:00
Cilibiu Bogdan f18d534f9e update documentation (#4814) 2019-06-06 11:17:22 +01:00
Cilibiu Bogdan cb25979a00 mirror mat icon when direction is rtl (#4815) 2019-06-06 11:13:07 +01:00
Geeta Mandakini Ayyalasomayajula e65e32e0cf Enable tests and add a newly created user to run the tests. (#4796)
* enabled tests and added the new user to run the tests.

* lint fix

* adding a new user and add the user to hr group which will be used when deploying the apps.

* Test commit

* adding a new user and add the user to hr group which will be used when deploying the apps.

* linting fixes

* crc's moved the roles constants to identityService.

* crc's moved the roles constants to identityService.

* wrapped the createIdentityUser and assign Role calls into 1 method and used in the tests.

* wrapped the createIdentityUser and assign Role calls into 1 method and used in the tests.

* Added a method in identityService to pass the required roles to be added in a string array.

* linting fixes

* added the command line arguments to run the e2e tests -identity_admin_email and -identity_admin_password

* added the command line arguments to run the e2e tests -identity_admin_email and -identity_admin_password

* crc's, removed the step to add user to the hr group, as not needed in this test.

* renamed the E2E travis variable to end with identity.

* replaced the candidateuserapp with candidatebaseapp

* replaced candidateuserapp with candidatebaseapp

* replaced candidateuserapp with candidatebaseapp

* replaced candidateuserapp with candidatebaseapp

* timeout wait for the test to pass.

* crc's
2019-06-06 11:12:05 +01:00
Suzana Dirla 3d73e94b5d [ADF-4402] Move component related styles from demo-shell to ADF components (#4808)
* [ADF-4402] remove styling of non-existent items

* [ADF-4402] remove not needed style - bcs overwritten by style from core

* [ADF-4559] remove demo-shell only class from core styling

- use class name from core component for styling

* [ADF-4402] remove not used styling code

- .adf-app-layout-toolbar no longer exists, so no need keep its style

* [ADF-4402] move style from demo-shell to core

- same style was needed in ACA, so probably should be best in core ADF

* [ADF-4402] remove not used styling code

* [ADF-4402] move adf-toolbar-title style from demo-shell to core

* [ADF-4402] remove not used styling code

* [ADF-4402] use existing css class

* [ADF-4402] remove style already set from pagination component

* [ADF-4402] remove not used styling code

* [ADF-4402] viewer toolbar width
2019-06-05 16:01:38 +01:00
Maurizio Vitale 67485daece [ADF-4550] Form Cloud - Be able to upload a file on the content taken from the process-storage (#4807)
* * Process-storage

* * Used jsapiServcie

* Be able to upload a file on the content with the createNode api

* Fix lint

* Refactor

* * Removed needless method.

* Remove useless method

* Add properties type
2019-06-05 15:46:28 +01:00
Cilibiu Bogdan 0684098f60 [ADF-4626] Breadcrumb - directionality styling (#4810)
* direction styling

* remove text align
2019-06-05 15:01:05 +01:00
Cilibiu Bogdan 0cfc5bc1b7 [ADF-4625] Search Input does not respect RTL mode (#4806)
* configurable animation

* bind state attribute to value

* configure animation state based on direction

* update tests

* lint

* direction style
2019-06-04 09:15:44 +01:00
mcchrys 656eeaf017 [ADF-4034] Task list cloud - The Deleted task is changing the Status from "Deleted" in "Canceled" (#4803)
Removed DELETED status
Modified unit test to check recent changes
2019-06-04 09:08:39 +01:00
Geeta Mandakini Ayyalasomayajula 2b05f72a2f [ADF-4577] - Should display the processId when Process Definition has process name missing (#4802)
* updated the Test case in TestRail, basically if there is no process name in the process definition, then in the dropdown the processId is displayed and allows the user to start a process using that.

* updated the simpleapp to have a few more processes definitions which will enable to add new e2e tests.

* linting fixes
2019-06-03 17:19:54 +01:00
Cilibiu Bogdan 148f9830aa fix textOrientation value (#4805) 2019-06-03 17:15:37 +01:00
arditdomi 5392f3d229 [ADF-4527] Fix buttons duplication error in taskFormCloudComponent (#4804) 2019-06-03 17:01:05 +01:00
arditdomi 3d67d9dc75 [ADF-4552][ADF-4482] Social component refactoring, add ability to unRate, added e2e automation (#4749)
* [ADF-4552] Rating component refactoring, add ability to unRate

* [ADF-4552] RTL support added

* [ADF-4552] Improve behaviour and styling structure in RTL languages

* [ADF-4552] Improve behaviour and styling structure in RTL languages

* [ADF-4552] Added refresh rating when the node Id input changes

* [ADF-4552][ADF-4482] Refactor social component, add ability to unrate, add e2e automation

* [ADF-4552][ADF-4482] Added unsibscribe from Observables, added css variables, removed unused class id's

* [ADF-4552][ADF-4482] Improve structure and behaviour of e2e automation tests

* [ADF-4552][ADF-4482] Improve structure and behaviour of e2e automation tests

* [ADF-4552][ADF-4482] fix expected single space

* [ADF-4552][ADF-4482] fix lint check failure

* Fix circular dependency error
2019-06-03 14:27:13 +01:00
davidcanonieto b19646d201 [ADF-4232] Fix filePreviewPage methods to reach expectations (#4668)
* [ADF-4232] Fix filePreviewPage methods to reach expectations

* [ADF-4232] Implement new methods

* Fix word spelling

* [ADF-4232] Fix e2e test and rebase

* Rebase branch

* [ADF-4232] add test for reset zoom check

- remove un-reached expects from filePreviewPage

* [ADF-4232] better naming - review changes

* [ADF-4232] no sleep(s), more timeout

* [ADF-4232] some code clean up

* [ADF-4232] some code clean up

* [ADF-4232] refactoring - renaming

* [ADF-4232] refactoring

* [ADF-4232] refactoring move expects to test - code review changes

* [ADF-4232] remove unused methods

- these already exist on viewerPage.ts

* [ADF-4232] remove duplicated code

- use viewerPage instead of filePreviewPage

* [ADF-4232] reset to original timeout in afterAll
2019-06-03 14:24:53 +01:00
Marouan Bentaleb 7611268bd9 [ADF-4613] Fixing tag-component.e2e.ts (#4793)
* [ADF-4613] Enabling tests

* [ADF-4613] Make tag-component tests more stable
2019-05-31 15:40:06 +01:00
Deepak Paul 7eb9ffe688 [ADF-4546] Visibility conditions for Form variables don't work on Multiline Widget. (#4786)
* * Finding variable values by id & used date format

* * Tests to validate visibility by using id

* * [ADF-4529] Refactor conditions

* [ADF-4529] Fixed cloud form editor script error
2019-05-31 13:58:45 +01:00
Silviu Popa 30c42d17d0 [ADF-4530] StartTaskCloud - fix process definition list for empty names (#4790)
* [ADF-4530] - reset filtered process when value it's empty or invalid

* [ADF-4530] - lint

* [ADF-4530] - fix unit test

* [ADF-4530] StartTaskCloud - fix process definition list for empty names

* [ADF-4530] - lint

* [ADF-4530] - add unit test

* [ADF4530] StartProcess - revert changes

* [ADF-4530] - revert changes
2019-05-31 11:48:19 +01:00
Silviu Popa 6040f59391 [ADF-4461] FormCloud - fix date validations (#4776)
* [ADF-4443] FormCloud - fix date validations

* [ADF-4443] - add save validation

* [ADF-4443] - PR changes

* [ADF-4443] FormCloud - fix date validations

* fix unit tests

* [ADF-4443] - add save validation

* [ADF-4443] - PR changes

* Revert changes on save form

* Revert check form valid on save
2019-05-31 11:44:33 +01:00
Eugenio Romano 8b5038218e Update shareDialog.ts
use the right moment format for share dialog pointer
2019-05-31 10:40:17 +01:00
Deepak Paul f27846ec5b [ADF-4544] Cloud Task From - Refresh the buttons and form after an action is complete (#4726)
* [ADF-4544] Reloaded task on action

* [ADF-4544] Changed routing in demo component

* [ADF-4544] Added tests
2019-05-31 10:07:08 +01:00
Silviu Popa 892172150e [ADF-4586] - fix preselecting value for DropdownCloud (#4747)
* [ADF-4586] - fix preselecting value for DropdownCloud

* ADF-4586] - fix form complete for dropdown and tests

* [ADF-4586] - add FormRenderingService as provider

* [ADF-4586] - fix memory leaks

* [ADF-4586] - add type information

* [ADF-4586] - fix memory leak on dropdown

* [ADF-4589] - PR changes

* [ADF-4586] - fix unit tests

* [ADF-4586] - lint
2019-05-30 18:13:41 +01:00
Eugenio Romano ce60915fd9 Reorg script moving in folders (#4791)
* organize script in folder part 1

* improve test e2e

* fix smart build script

* fix relative path
2019-05-30 17:59:22 +01:00
davidcanonieto cccd95562c Fix pre-commit hook (#4792)
* Fix pre-commit hook

* Remove excluded files from tslint lib config
2019-05-30 17:47:58 +01:00
Eugenio Romano b91a942aa1 Multiple option env file (#4788)
* multi configuration file enabling

* improve ignore

* update i18n tool dep

* update webbpack bundle analyzer version

* fix ps cloud test wait setting

* fix script content

* remove use of testconfig for browser options

* convert protractor to ts

* download browser util fix
2019-05-30 11:15:15 +01:00
Cilibiu Bogdan 9aafb80483 [ADF-4601] DemoShell - Side navigation RTL support (#4768)
* rtl support

* fix lint

* Run e2e in case demoshell has been changed

* Skip file

* Skip file

* remove demoshell directive

* refactor side navigation

* remove env.cloud file

* class name selectors

* side navigation selectors

* fix clickMenuButton selector

* nested menu element context

* fix notification navigation selector
2019-05-29 20:02:15 +01:00
Cilibiu Bogdan 9cf6f5519c [ADF-4579] Layout - RTL support (#4741)
* single contentAnimation state

* fine tune contentAnimation state based on direction and position

* tets

* fix mock component inputs

* use native direction attribute

* update docs

* pass direction to calculate sidenav layout

* update test

* fix unit test

* remove dialogs directionality workaround

* set document directionality service

* remove context menu direction workaround

* remove unneeded dependencies

* remove direction style workaround

* remove permission icon direction

* remove sidenav layout direction attribute

* update docs

* update sidenav layout direction

* test

* remove document type

* update test dependencies

* clear storage before test

* test

* fix dl gap

* try to fix Uncaught QuotaExceededError

* fix QuotaExceededError

* fix tests

* fix tests
2019-05-29 16:17:13 +01:00
Francesco Corti f3e90298e6 Update of upgrade paths. (#4789) 2019-05-29 14:28:41 +01:00
Deepak Paul d571480ddd [ADF-4576] Remove duplicate getDeployedApplicationsByStatus service (#4740)
* * Remove overriding & added appconfig apps support

* * Added tests

* * Updated docs

* [ADF-4576] Made one service private

* * Fixed tests

* * [ADF-4576] Improved tests
2019-05-28 18:08:38 +01:00
cristinaj 90617ee3fd [ADF-4477]Add a new check related to endDate (#4694)
* Add a new check related to endDate

* Update task-header-cloud.e2e.ts

* Split the variables.

* no message
2019-05-28 17:40:34 +01:00
Silviu Popa f62236b916 [ADF-4598] StartTask - revert start task assignee and candidateGroups validations (#4785)
* [NO_ISSUE] - revert start task assignee and candidateGroups validations

* [ADF-4598] - fix unit tests
2019-05-28 17:37:36 +01:00
davidcanonieto f2f08a5bf8 [ADF-4529] Enable form configuration from e2e tests (#4738)
* [ADF-4529] Enable form configuration from e2e tests

* Improve linting

* Move form methods to new  file
2019-05-28 15:27:26 +01:00
cristinaj 36faed0fab [ADF-4609]Logging the response in case of error. (#4784)
* Logging the response in case of error.

* Enable all cloud tests

* no message

* no message

* Comment failing tests
2019-05-28 11:09:19 +01:00
Maurizio Vitale f6d8bd4130 CI - Ability to run only e2e cloud in case is the only affected folder (#4783)
* Remove skiplint option in favour of lint
Refactor protractor config

* Move rebase check

* Remove the skiplint and run only e2e cloud

* Remove the skip lint

* Change e2e cloud and check the CI runs only that one

* Enable the smart e2e on content

* Delegate the e2e run on the specific project

* Fix typo on specs option

* Add basic readme and fix process service name problem

* Fix bash else if
2019-05-28 11:04:40 +01:00
arditdomi 6897f20954 [ADF-4466] Fix alignment issues - IE11 (#4772)
* [ADF-4466] Fix alignment issues - IE11

* [ADF-4466] Fix implementation from demo shell specific to generic

* [ADF-4466] Remove unused query for IE11
2019-05-24 16:41:19 +01:00
Marouan Bentaleb 5cd0bc9899 Disable tag-component test (#4782) 2019-05-24 15:32:38 +01:00
davidcanonieto 894a9599a9 Fix e2e tests dist issue (#4779)
* Fix e2e tests dist issue

* Fix linting

* Add await to asyncronous function

* fix lintint
2019-05-24 15:32:09 +01:00
Denys Vuika 7f4e301ec0 run lint after npm install 2019-05-24 13:00:58 +01:00
Suzana Dirla 215f8106ca [ADF-4612] fix linting on npm-build-all script (#4778) 2019-05-24 12:39:03 +01:00
Marouan Bentaleb 65ceaee910 Skip failing tests (#4770) 2019-05-23 14:57:11 +01:00
Maurizio Vitale abb76d956b e2e cloud (#4767)
* Change strategy with process cloud e2e and fixes

* Change strategy with process cloud e2e and fixes

* Fix path and host

* improve the config and run the replace for cloud

* Use the same name of other scripts

* Fix lint

* Run the replace in case of cloud

* typo

* Export variables if needed
Fix the check env passing the oauth
2019-05-23 10:24:32 +01:00
Marouan Bentaleb 446efe4297 [ADF-4514] Move widgets pages to Testing package (#4703) 2019-05-22 18:32:46 +01:00
Silviu Popa 7a3b3583f8 [ADF-4530] StartProcessCloud - fix show process definition dropdown (#4723)
* [ADF-4530] - reset filtered process when value it's empty or invalid

* [ADF-4530] - lint

* [ADF-4530] - fix unit test

* [ADF-4530] - PR changes

* [ADF-4530] - PR changes
2019-05-22 15:57:39 +01:00
Marouan Bentaleb 5e7aabfaea [ADF-4547] Fixing flaky tests in Content Services and Core (#4743) 2019-05-22 14:57:20 +01:00
Cilibiu Bogdan 58cf10be5f [ADF-4582] User preference - set layout orientation based on locale (#4744)
* set textOrientation based on locale

* remove manually setting textOrientation

* tests

* revert to getBrowserCultureLang

* match languages keys

* update tests

* fix types
2019-05-22 14:02:51 +01:00
Silviu Popa 26a495c95d [ADF-4588] Datatable - fix copy content tooltip for ellipsis cell (#4751)
* [ADF-4588] - remove overflow from ellipsis class

* [ADF-4588] - fix css
2019-05-22 10:34:39 +01:00
Marouan Bentaleb 22dc800e13 Making C260107 more stable (#4754) 2019-05-22 10:15:34 +01:00
cristinaj 339a6e7a18 [ADF-4587] Fix e2e tests (#4757)
* Fix user_info test

* Removing duplication and hardcoded protocol

* Fix linting and update script

* Removing hardcoded protocol

* Add protocol to scripts

* Fix C260117

* Enable screenshots for cloud tests

* Update process-services-cloud-e2e.sh
2019-05-22 10:15:12 +01:00
Denys Vuika 57a162fcf0 typed interface for test configuration (#4758) 2019-05-22 10:13:57 +01:00
Marouan Bentaleb 0bba08539e Adding debug option to test script (#4753) 2019-05-21 11:50:51 +01:00
Maurizio Vitale 1141511a07 Remove the dependency with TestConfig (#4752)
* Remove the dependency with TestConfig

* Change protocol to https

* Trigger the cloud change

* Trigger the cloud change
2019-05-20 18:11:01 +01:00
Cilibiu Bogdan cff9bf0930 [ADF-4584] Header RTL styling (#4746) 2019-05-20 16:33:47 +01:00
Cilibiu Bogdan bb0bdbfc1d [ADF-4583] Upload dialog - RTL support (#4745)
* overwrite mat-drawer-content position

* set attributes based on direction and position

* add direction support

* update tests

* update doc

* fix direction description

* use native direction attribute

* bind to dir input

* update docs

* remove direction attribute

* listen to user preference textOrientation changes

* update tests

* remove unused import
2019-05-20 15:45:10 +01:00
davidcanonieto 2f44c45903 Fix concurrently command use (#4748)
* Fix concurrently command use

* Command missing parameter

* Remove parallel linting

* fix script

* Fix build

* Run lint concurrently
2019-05-20 12:25:42 +01:00
Marouan Bentaleb 0af9e45cff [ADF-4535] Fix people-group-cloud-component.e2e.ts (#4725) 2019-05-20 10:58:15 +01:00
davidcanonieto 514b31d975 Improve Rebase branch script (#4742)
* Improve Rebase branch script

* Improve Rebase branch script

* add comment
2019-05-17 16:46:29 +01:00
davidcanonieto 80da3e9932 [ADF-4569] Fix affected-libs.sh script (#4734)
* [ADF-4569] Fix affected-libs.sh script

* [ADF-4569] Create new script to check if branch is updated
2019-05-17 15:03:22 +01:00
Cilibiu Bogdan 52c5ec03bc [ADF-4578] remove duplicate language entry (#4739) 2019-05-17 10:56:37 +01:00
Denys Vuika 6cdae78cf2 extension loader accepts dynamic configurations 2019-05-16 12:43:22 +01:00
Marouan Bentaleb 39fe06ea1a [ADF-4541] Fix task-form-cloud-component.e2e.ts (#4731) 2019-05-16 11:49:45 +01:00
Denys Vuika 3aca244059 extensions: add missing service export 2019-05-16 10:46:11 +01:00
Marouan Bentaleb d8caf3b98c [ADF-4540] Fix task-list-properties.e2e.ts (#4730) 2019-05-16 10:27:37 +01:00
Silviu Popa cf68f656cf [NO_ISSUE] - fix unit test on process-services (#4732)
* [NO_ISSUE] - fix unit test on process-services

* [NO_ISSUE] - lint

* remove unused code
2019-05-16 10:09:26 +01:00
Marouan Bentaleb c9bc63bc3c [ADF-4538] Fix start-task-custom-app-cloud.e2e.ts (#4729) 2019-05-16 09:40:45 +01:00
Silviu Popa 55f920fbb4 [ADF-4521] Form - Multilingual support (#4715)
Maurizio says : YES
2019-05-15 15:59:50 +01:00
Silviu Popa b4e3a71bef [ADF-4269] ProcessCloud - fix start task with invalid Asignee or Candidat… (#4727)
* [ADF-4269] - prevent starting a task with invalid Asignee or CandidateUser

* [ADF-4269] - refractor people/group cloud

* [ADF-4269] - change docs
2019-05-15 15:49:46 +01:00
Silviu Popa 4a363c731b [ADF-4471] TaskCloud - disable editable fields when the task is unclaimed (#4680)
* [ADF-4471] TaskCloud - task header disabled when the task is unclaimed

* [ADF-4471] - fix unit test

* [ADF-4471] - pr changes

* [ADF-4471] - add return type
2019-05-14 15:30:35 +01:00
Silviu Popa d1bc5a608a [ADF-4389] StartProcessCloud - add validation for processName (#4707)
* [ADF-4389] StartProcessCloud - add validation for processName

* [ADF-4389] - change function definition name

* [ADF-4389] - add return type
2019-05-14 15:19:43 +01:00
Cilibiu Bogdan 164d398abc [ADF-4227] Material Dialog - change direction option based on textOrientation (#4716)
* change matDialog direction based on textOrientation

* move dialog providers to material.module

* extend initial options

* move UserPreferencesService from factory

* update module

* update test

* material dialog correct reference

* extend default global options

* tests
2019-05-14 12:52:03 +01:00
Cilibiu Bogdan de0f906163 [ADF-4543] Language Menu - set layout orientation (#4719)
* language entry interface

* pass language object

* set textOrientation

* tests

* update doc

* add rtl language
2019-05-14 12:45:05 +01:00
Cilibiu Bogdan 4f13dcc3e2 [ADF-4545] Context Menu - RTL support (#4722)
* set overlay direction

* test
2019-05-14 12:43:52 +01:00
Denys Vuika 1e4d024c08 Update site-permissions.e2e.ts 2019-05-14 12:26:56 +01:00
Denys Vuika ac224a0b82 [ADF-4489] metadata errors demoshell (#4720)
* raise errors in demo shell for metadata

* remove commented out code
2019-05-14 11:45:07 +01:00
Denys Vuika 60a122f844 disable flaky test 2019-05-14 11:02:09 +01:00
Denys Vuika 238a317f89 disable flaky test 2019-05-14 09:38:19 +01:00
Silviu Popa 96111f588a [ADF-4488] Form - Add dropdown-cloud widget (#4695)
* [ADF-4488] Form - Add dropdown cloud widget

* [ADF-4488] - add form style

* [ADF-4488] - revert formFieldOption change

* [ADF-4488] - PR changes

* [ADF-4488] - move dropdown widget into cloud module

* [ADF-4488] - PR changes and remove unused unit test

* [ADF-4488] - PR changes

* [ADF-4488] - PR changes

* [ADF-4488] - add multilingual support

* [ADF-4488] - PR changes
2019-05-14 09:15:15 +01:00
Denys Vuika 8985319f15 disable flaky e2e test 2019-05-13 15:43:08 +01:00
Denys Vuika cecc13093d disable flaky tests 2019-05-13 13:48:34 +01:00
Eugenio Romano 4d0b646717 Update protractor.conf.js 2019-05-13 08:06:22 +01:00
Eugenio Romano 00aac824c3 Update protractor.conf.js 2019-05-13 08:00:55 +01:00
Denys Vuika bbea17fe37 [ADF-4268] Info drawer fixes (#4709)
* show error popups

* proper error handling

* update tests

* update code as per review

* remove old implementation

* remove old code
2019-05-13 07:24:49 +01:00
davidcanonieto fc9f04c6c6 [ADF-4498] Disable Sticky header on Datatable if header is not visible (#4701)
* [ADF-4498] Disable Sticky header on Datatable if header is not visible

* [ADF-4498] Improve flag check
2019-05-13 07:02:36 +01:00
Eugenio Romano 898e3b5a80 [no-issue] Parallel run e2e and e2e common action refactoring (#4702) 2019-05-13 04:44:35 +02:00
Francesco Corti a48bfc3714 ADF 3.2.1 minor changes to documentation. (#4717) 2019-05-10 12:17:15 +01:00
Francesco Corti 9ebebbb860 Better descriptions into the release notes (#4718)
Better descriptions into the release notes about languages availability
2019-05-10 12:16:38 +01:00
Silviu Popa ead22d9e3c [ADF-4473] TaskCloud - add priority numeric validation (#4684)
* [ADF-4473] TaskCloud - add priority numeric validation

* [ADF-4473] - change validation conditiion

* [ADF-4473] - add return type

* [ADF-4473] - fix unit test
2019-05-09 17:48:23 +01:00
Eugenio Romano 028e2eb981 release note 3.2.1 2019-05-09 15:05:08 +01:00
Eugenio Romano 56982a02b8 Release 3.2.1 2019-05-09 14:34:00 +01:00
davidcanonieto 77109ae59a [ADF-4476] Unify layout for start process/task components (#4699) 2019-05-08 23:07:08 +01:00
Maurizio Vitale 32135e3cbc Fix the context name (#4710) 2019-05-08 19:57:20 +01:00
Maurizio Vitale c0e2429de3 Cloud script - Add users to the deploy phase (#4704)
* Add user and admin to the deploy phase

* Add user and admin to the deploy phase
E
2019-05-07 19:11:38 +01:00
davidcanonieto 7bc99d492a [ADF-4442] Show whole app config in config editor (#4700) 2019-05-07 17:34:59 +01:00
Silviu Popa 5bb8912651 [ADF-3192] Form - fix dropdown field alignment (#4685)
* [ADF-3192] Form - fix dropdown field alignment

* [ADF-3192] - reove unused style
2019-05-07 17:34:08 +01:00
davidcanonieto 9d0e9ec219 [ADF-4467] Fix Upload File Widget layout (#4675)
* [ADF-4467] Fix Upload File Widget layout

* [ADF-4467] Refactor content services upload button
2019-05-07 17:32:35 +01:00
Denys Vuika 0e2e5e35a0 [ADF-3126] i18n support for info drawer tabs (#4698)
* [ADF-3126] i18n support for info drawer tabs

* fix tests

* code fixes
2019-05-07 17:31:22 +01:00
Denys Vuika 58f7a2d0ee update docs 2019-05-07 16:59:48 +01:00
Eugenio Romano bc71efaab3 Merge pull request #4697 from Alfresco/dev-dcano-ADF-4495
[ADF-4495] Fix Remove dependencies script
2019-05-07 16:50:11 +01:00
Denys Vuika 8db915bd2a [ADF-4484] Quick notifications (#4688)
* quick notifications (info, error, warning)

* update code docs
2019-05-07 13:25:12 +01:00
davidcanonieto b7e50dd9eb [ADF-4495] Fix Remove dependencies script 2019-05-07 11:13:15 +01:00
Eugenio Romano 5d49b494fa bump 3.2.0 (#4690) 2019-05-03 17:07:05 +01:00
Maurizio Vitale 4cfc54ad60 Improve the release note with activiti features (#4692) 2019-05-03 15:24:47 +01:00
Eugenio Romano 42d02146fd [ADF-3.2.0] review link doc (#4689)
* review link doc
2019-05-03 14:30:35 +01:00
Eugenio Romano f40eb2560b Update RelNote320.md 2019-05-03 14:02:25 +01:00
Eugenio Romano 2e439bf076 Update RelNote320.md 2019-05-03 13:56:49 +01:00
Eugenio Romano 676efbf2fb Update RelNote320.md 2019-05-03 10:55:53 +01:00
Eugenio Romano f43789b7a7 Update RelNote320.md 2019-05-03 10:53:21 +01:00
Denys Vuika 2f126fe7fd minor a11y fix for header 2019-05-02 15:47:02 +01:00
davidcanonieto d6719c0b57 [ADF-4478] Fix layout container and empty template (#4683) 2019-05-02 15:00:09 +01:00
Eugenio Romano 6b1c60a5ae Update .travis.yml 2019-05-02 13:54:24 +01:00
Maurizio Vitale e88e0d9b45 [ADF-4409] ADF for Activiti Community - Be able to claim/release/complete task (#4677)
* Be able to claim/release/complete task for community
Be able to start a task/process
Fix unsubscribe on destroy

* Fix the construnctor
2019-05-02 14:30:38 +02:00
Eugenio Romano 9298e6762f Update package.json 2019-05-02 10:16:31 +01:00
Francesco Corti bbb28c9d68 Activiti 7 and ADF tutorial review. (#4681) 2019-05-02 10:15:06 +01:00
Francesco Corti 07da98e1bc Release Note for ADF 3.2 (initial version) (#4617)
* Release note for ADF 3.2.

* Release note for ADF 3.2.
2019-05-02 10:14:41 +01:00
Francesco Corti ad2fac15d8 Compatibility matrix for ADF 3.2. (#4679) 2019-05-02 10:14:03 +01:00
Francesco Corti 6eec485891 [ADF-4429] Process List Cloud - Remove the pagination parameters. (#4682) 2019-05-02 10:13:28 +01:00
Eugenio Romano 3afd2b24fc Update README.md 2019-05-02 10:12:41 +01:00
Eugenio Romano 0fa9b2fd6b Create license-info-v3.2.0.md 2019-05-02 10:11:47 +01:00
Eugenio Romano 1afcfa1d5a [LOC-119] i18n 3.2.0 (#4678)
* i18n 3.2.0

* i18n 3.2.0

* i18n 3.2.0
2019-05-01 15:52:06 +01:00
davidcanonieto a172543b8f [ADF-4455] Fix whitespaces trim in multivalue metadata field (#4663) 2019-05-01 14:12:09 +01:00
Deepak Paul 7016dabb6c [ADF-4454] Map upload field to UploadCloudWidget in task cloud form (#4672)
* [ADF-4454] Moved upload widget maping to task form

* Update community-task-details-cloud.component.ts
2019-05-01 13:02:16 +01:00
davidcanonieto 0c7581acba [ADF-4422] Fix unit/e2e tests (#4673)
* [ADF-4422] Unexclude C291783 e2e test

* [ADF-4422] Fix Edit process cloud unit test

* [ADF-4422] Fix spy not been called

* Fix unit test
2019-05-01 10:28:41 +01:00
Denys Vuika 55113f37b6 [ADF-4444] drag and drop fixes (#4674)
* more granular control over drag and drop

* fix performance, internal drop-zone directive
2019-04-30 14:53:36 +01:00
gmandakini 2edee23bdd automated ADF-4198 - Escape key doesn't work to close the user profile dialog. (#4671) 2019-04-30 14:51:29 +01:00
davidcanonieto a3487cd3b3 [ADF-4460] Fix for empty value upload widget on a form (#4670) 2019-04-30 11:05:25 +01:00
siva kumar 3291ecaccb [ADF-4432] TaskFormCloudComponent - should be read only if the task is unclaimed. (#4654)
* [ADF-4432] FormCloud - should be read only if the task is unclaimed.* Modifed formCloud component related claim/unclaim custom buttons.* Added unit tests to the recent changes* Created an component to project custom form outcomes.

* * Added documentation to the formcloudcustomoutcome component.
2019-04-30 10:21:37 +01:00
Silviu Popa 860529058c [ADF-4409] DemoShell - ADF compatibility with Activiti 7 (#4646)
* [ADF-4409] PorcessServicesCloud - add community page

* [ADF-4409] - add process and task details page

* [ADF-4409] fix lint and reset package-lock

* [ADF-4409] - PR changes

* [ADF-4409] -  PR changes

* [ADF-4409] - fix start task/process redirection

* [ADF-4409] - fix unit tests
2019-04-30 10:13:10 +01:00
Eugenio Romano 5f3d665ab5 improve check activiti log 2019-04-29 17:58:30 +01:00
davidcanonieto 2bc2f09525 [ADF-4445] Add showRefreshButton to TaskFormCloud component doc (#4666) 2019-04-29 14:55:45 +01:00
arditdomi 1658eb97e3 [ADF-4434] Remove unnecessary icon in custom empty content template (#4665)
* [ADF-4339] Fix documentList and ContentServices UI for IE11

* [ADF-4339] Fixed syntax mistake

* [ADF-4434] Remove unnecessary icon in custom empty content template
2019-04-29 14:54:17 +01:00
arditdomi 54a2b14285 [ADF-4339] Fix documentList and ContentServices UI for IE11 (#4660)
* [ADF-4339] Fix documentList and ContentServices UI for IE11

* [ADF-4339] Fixed syntax mistake
2019-04-29 11:20:09 +01:00
Eugenio Romano 8231a5a37e Improve recovery strategy Activiti 7 2019-04-26 18:15:31 +01:00
gmandakini f24245aa23 C307984 automated (#4657) 2019-04-26 17:22:22 +01:00
Eugenio Romano 934386fb16 fix update script travis configuration 2019-04-26 14:33:44 +01:00
davidcanonieto 669c64fb46 [ADF-4411] Keep js-api dependecy in remove script (#4661) 2019-04-26 13:37:30 +01:00
Marouan Bentaleb 9297c63a21 [ADF-4407] Automate test for user without permission redirection (#4612) 2019-04-26 02:37:14 +01:00
gmandakini 2ef34e2d89 C307975 automated (#4655) 2019-04-25 22:24:48 +01:00
davidcanonieto 2ae5452fe2 [ADF-4437][ADF-4445] Fix docs about Task Form Cloud component (#4656) 2019-04-25 22:23:42 +01:00
Eugenio Romano 7caf50b2a6 fix typeahead validation (#4653) 2019-04-25 19:57:58 +01:00
Eugenio Romano f94eb5872a [ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4643)
* [ADF-4405] [ADF-4423] Fix clipboard directive on json cell

* [ADF-4405] Fix unit tests

* [ADF-4405] Fix e2e test
2019-04-25 19:49:38 +01:00
davidcanonieto 37f52a139e [ADF-4411] Create script to remove Alfresco Dependencies from package (#4651)
* [ADF-4411] Create script to remove Alfresco Dependencies from package.json
2019-04-25 16:17:44 +01:00
Maurizio Vitale be49e72208 [ADF-4340] FormCloud - Be able to upload a file from the local source (#4647)
* Add a shiny upload button

* Fix tslint

* Enable the viewer on the content click

* Call the process storage in case the form has an upload

* Fix the lint

* Fix unit tests

* Fix tslint on unit tests

* Fix the lint

* Fix the lint
2019-04-25 15:23:07 +01:00
cristinaj b87c18bc13 [ADF-4388]Added edit task filter cloud component - taskId filter tests (#4596)
* Added edit task filter cloud component - taskId filter tests

* Update edit-task-filter-cloud-component.page.ts

* Fix tests

* Fix property test

* Fix lint issues
2019-04-25 10:41:59 +01:00
Cilibiu Bogdan 3b83539b13 [ADF-4227] Sidenav Layout - support direction (#4583)
* basic ui direction service

* direction property

* demo shell integration

* move the direction in up sidenav layout to allow also the header to reorganize
use the configuration editor to change rtl ltr
add documenation

* Update app.component.html

* fix unit tests

* fix overlay viewer e2e

* fix e2e
2019-04-25 00:48:41 +01:00
cristinaj 83cb98f435 Add complete task tests (#4639) 2019-04-25 00:27:45 +01:00
Eugenio Romano 0f63122a27 fix new merged process list selection test 2019-04-24 20:24:55 +01:00
cristinaj f2c954d911 [ADF-4028][ADF-4047]Add process list cloud selection tests (#4537)
* Add process list cloud selection tests

* Fix lint issues

* Fix lint issues

* Added columns to contentServicesPage

* Fix lint error.

* Add the possibility to test the selection mode for process details.
2019-04-24 18:00:52 +01:00
Eugenio Romano 453415d73b fix lint 2019-04-24 17:08:05 +01:00
Eugenio Romano 51e63d8f1c remove invalid test case 2019-04-24 15:34:27 +01:00
Eugenio Romano 90276dd498 improve recovery script 2019-04-24 14:13:08 +01:00
Eugenio Romano 88048e059b [ADF-4359] - Add the possibility to chose wich panel to show first in info-drawer (#4638)
* [ADF-4359] - Add the possibility to chose which panel to show first in info-drawer

* * docs added

* * e2e fixed
2019-04-24 13:56:38 +01:00
cristinaj db4d10137e [ADF-4310]Added sort tests for edit task filter cloud component (#4584)
* Added some tests

* Fix tests

* Add missing tests for sort properties.
2019-04-24 13:50:00 +01:00
dhrn 9866cf4d1d * fixing the existing behavior 2019-04-24 13:00:47 +05:30
dhrn 374da200d2 * e2e fixed 2019-04-24 12:02:59 +05:30
dhrn 262a038746 * docs added 2019-04-24 12:02:59 +05:30
dhrn c6933e169a [ADF-4359] - Add the possibility to chose which panel to show first in info-drawer 2019-04-24 12:02:59 +05:30
Eugenio Romano 32ba281b70 simpleapp upload 2019-04-23 23:41:44 +01:00
Eugenio Romano d4e7981b1d simpleapp rename 2019-04-23 23:41:19 +01:00
arditdomi a6552dbb17 [ADF-4387] Configuration option to change the dafault viewer zoom (#4645)
* [ADF-4387] Configuration option to change the dafault viewer zoom
2019-04-23 20:34:39 +01:00
Eugenio Romano d52671823e fix lint 2019-04-23 18:03:36 +01:00
Silviu Popa c9977c58fa [ADF-4198] - fix user info close on esc key (#4644) 2019-04-23 17:56:04 +01:00
arditdomi b371929170 [ADF-3876] StartTaskCloud - Be able to start a task with a form (#4590)
* [ADF-3876] Added form cloud model

* [ADF-3876] Added service to get forms

* [ADF-3876] Added form selection to start task

* [ADF-3876] Added tests

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] Added form cloud model

* [ADF-3876] Added service to get forms

* [ADF-3876] Added form selection to start task

* [ADF-3876] Added tests

* [ADF-3876] StartTaskCloud - Be able to start a task with a form

* [ADF-3876] StartTaskCloud - changed name to component

* [ADF-3876] StartTaskCloud - Renamed component

* Rename form-selector-cloud.component.md to form-definition-selector-cloud.component.md

* [ADF-3876] Improve and clean code and fix service

* [ADF-3876] Fix unit test

* Update app.module.ts

* fix module

* move components in the right folders

* fix e2e task list
2019-04-23 17:55:24 +01:00
Eugenio Romano 11688f5778 add 1 minute retry 2019-04-23 17:37:10 +01:00
Eugenio Romano d427e06136 Revert "[ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4623)" (#4642)
This reverts commit 630b1043a9.
2019-04-23 14:30:08 +01:00
Eugenio Romano 0dc28ad987 [NO-ISSUE] add check env is up also for CS ans PS (#4640)
* add check env is up also for CS ans PS

* remove logs
2019-04-23 14:27:45 +01:00
Andy Stark 2676fe6637 [ADF-4416] Added upgrade guide 3.1 -> 3.2 (#4641) 2019-04-23 14:27:01 +01:00
davidcanonieto 630b1043a9 [ADF-4405] [ADF-4423] Fix clipboard directive on json cell (#4623)
* [ADF-4405] [ADF-4423] Fix clipboard directive on json cell

* Update clipboard.directive.ts

* fix spell
2019-04-23 11:24:39 +01:00
Silviu Popa 834c32f23f [ADF-4403] ClipboardDirective - add default translation key and fix styling (#4610)
* [ADF-4403] ClipboardDirective - add default translation key and fix style on sticky header

* [ADF-4403] - lint

* [ADF-4403] - revert datatable style

* [ADF-4403] - fix unit tests

* [ADF-4403] - fix e2e tests
2019-04-23 11:00:46 +02:00
Eugenio Romano fafe80c021 less common priority value 2019-04-23 00:14:08 +01:00
Eugenio Romano 5c67547fd6 move metadata test in content service where they has to be 2019-04-23 00:01:30 +01:00
Eugenio Romano df26447701 Revert "[ADF-4359] - Add the possibility to chose wich panel to show first in info-drawer (#4632)" (#4637)
This reverts commit 6e4adfb09a.
2019-04-23 00:58:26 +02:00
dhrn 64391a48fa [ADF-4406] - Confirm Dialog doesn't support a third extra button option to be customised (#4608)
* [ADF-4406] - Confirm Dialog doesn't support a third extra button option to be customised

* * comments fixed

* * docs and test added
2019-04-23 00:43:10 +02:00
cristinaj b58e040d7e [ADF-4394]Add two more tests on copyContent (#4630)
* Add two more tests

* Update data-table-component.page.ts

* Fix lint issues
2019-04-22 23:43:56 +02:00
dhrn 6e4adfb09a [ADF-4359] - Add the possibility to chose wich panel to show first in info-drawer (#4632)
* [ADF-4359] - Add the possibility to chose which panel to show first in info-drawer

* * docs added
2019-04-22 19:38:35 +02:00
Silviu Popa 32647c8af5 [ADF-4430] Metadata- fix error message (#4635) 2019-04-22 19:19:39 +02:00
Eugenio Romano 54adfaa56f fail fast (#4633) 2019-04-22 02:49:28 +02:00
Eugenio Romano 46f7e98eca remove -bbinsights 2019-04-22 01:31:38 +01:00
Silviu Popa 03c9a1e5be [ADF-4420] TaskHeaderCloud - fix show endDate (#4631) 2019-04-22 02:31:00 +02:00
gmandakini e85b57876e Added a new LocalStorageUtil and using the setConfigMethod to set the local storage variables (#4575)
* added a new LocalStorageUtil and using the setConfigMethod to set the localstorage variables, instead of using hte settings ui page.

* linting fix

* fixing import paths

* update new path LocalStorageUtil

* fix problems after rebase

* fix async loadin and clear

* local storage fix

* fix lint

* fix cs tests

* fix tag navigation and rename file appNavigation to processTabNavigation

* fix lint

* fix process test

* fix lint

Signed-off-by: Eugenio Romano <eugenio.romano@alfresco.com>

* fix start process cloud

* inc timeout
2019-04-22 00:42:59 +02:00
Eugenio Romano 97ad54a4f8 [no-issue] fix test plus fix update script (#4629)
* fix test plus

* fix test lint

* increase timeout

* increase timeout
2019-04-19 19:53:45 +02:00
Eugenio Romano 01e4cf2871 speed up search test (#4626) 2019-04-18 18:12:49 +02:00
davidcanonieto 0b09af3ac6 [ADF-4291] Fix lastModifiedTo filter on processes (#4624) 2019-04-18 17:17:10 +02:00
Suzana Dirla 59eee6ebaf [ADF-4401] Fix DL issues because of nested 'adf-datatable-cell' items (#4615)
* [ADF-4401] remove classname from nested items - use 'adf-content-cell' instead

* [ADF-4401] some DL display fixes

- align header cells with content cells
- columns aligned on Trashcan DL
- ellipsis on long folder names inside the content node selector
- more width on highlight cell from search-results

* [ADF-4401] use 'adf-content-cell'

- to allow ellipsis to display when a parent has 'adf-ellipsis-cell' class

* [ADF-4401] remove not used styles

* [ADF-4401] rename scss classname to have 'adf-datatable' prefix

* [ADF-4401] Add documentation for datatable
2019-04-18 17:07:31 +02:00
Cilibiu Bogdan cc53d96698 [ADF-4410] Upload dialog - remove delete action of version upload (#4618)
* undo remove node version implementation

* clean up style

* version upload row style

* upload version row cells

* update tests

* fix aria label
2019-04-18 15:36:37 +02:00
Eugenio Romano 7826eea946 fix spell 2019-04-18 14:30:17 +01:00
Eugenio Romano 159e6a5c70 fix lint 2019-04-18 14:17:52 +01:00
Eugenio Romano 64be9e3624 [NO-ISSUE] Fix e2e test (#4621)
* fix sso, change timeout, parallel

* cange travis

* move name apps in resources file

* resources fix

* resources fix

* add sleep before search group

* add possibility to extend duration of snack-bar message from configuration

* fix unit test

* fix unit test

* remove timeout

* change timeout

* decrease message time

* add lint main branch travis

* reduce timeout

* add new check application presence

* change permission script
fix search selector

* fix travis conf

* check app environment and upload the app if abbsent

* fix cloud test

* remove duplicate

* restore ps test

* restore resources file

* fix e2e test

* process with variables missing

* test new conf travis

* fix lint

* fix spellcheck

* remove duplicate module

* fix ps module

* fix travis conf

* change check activiti env

* add concept of processes in resources
2019-04-18 13:31:42 +02:00
davidcanonieto 181cee72d6 [ADF-4364] Fix Back button action on Viewer Component (#4613)
* [ADF-3364] Fix Back button action on Viewer Component

* [ADF-4364] Fix Module providers

* [ADF-4364] Add unit tests

* [ADF-4364] Fix unit tests

* [ADF-4364] Fix lazy loading module of Viewer component
2019-04-18 11:34:16 +02:00
davidcanonieto 8395b0baa5 [ADF-4219] Multivalue Metadata Card View (#4600)
* [ADF-4219] Multivalue Metadata  Card View

* [ADF-4219] Add documentation

* [ADF-4219] Improve code, docs and tests

* [ADF-4219] Fix e2e tests
2019-04-17 18:04:27 +02:00
Deepak Paul 21fd0299bd [ADF-4349] Cloud - task-form-component - Create a new component (#4620)
* [ADF-4349] Created task form cloud

* [ADF-4349] Used task-form in demo shell

* [ADF-4349] Used task directives

* [ADF-4349] Added tests

* [ADF-4349] Added documentation

* [ADF-4349] Added translation for buttons
2019-04-17 16:04:59 +01:00
cristinaj bcdfcee397 [ADF-4390]Added copyContent datatable cell tests (#4614)
* Modified data-table page on demo-shell to make copyClipboard possible to test

* Add a new page in demo-shell.
Add copyContent automated tests.
2019-04-17 12:10:36 +02:00
Silviu Popa 550c0006c9 [ADF-4394] - add suport for copy clipboard on JSON cell type (#4611)
* [ADF-4394] - add suport for copy clipboard  on JSON cell type

* [ADF-4394] - lint

* [ADF-4394] - change translation keys
2019-04-17 10:23:36 +01:00
Marouan Bentaleb e1a0475dfc [ADF-4396] Automation test for cancelling new version upload (#4607) 2019-04-16 13:19:08 +02:00
Cilibiu Bogdan 36ce9bce0d [ADF-4400] Versioning - restore does not update the document list (#4605)
* emit NodeInfo data on restore

* update row data and cache on node update event

* tests

* fix metadatat e2e
2019-04-16 11:59:37 +02:00
arditdomi 74e918d916 [ADF-4043] Demo Shell- Fix roles display (#4606) 2019-04-16 03:59:21 +02:00
Eugenio Romano 5e9cbe5690 fix clean script 2019-04-15 09:12:13 +01:00
Eugenio Romano b806556453 [no-issue] improve e2e timeout and names apps (#4604)
* fix sso, change timeout, parallel

* cange travis

* split viewer test

* timeot fix

* move name apps in resources file

* resources fix

* resources fix

* fix search default

* fix sso test

* fix test
2019-04-15 01:01:47 +02:00
Eugenio Romano 9accfcfb6e Update ADF packages version 3.2.0-beta6 (#4602) 2019-04-14 23:03:16 +02:00
davidcanonieto 4cc449dfbb [ADF-4376] Fix Sticky Header in Datatable Component (#4582)
* [ADF-4376] Fix Sticky Header in Datatable Component

* [ADF-4374] Rebase branch

* remove search from permissions test

* remove search from permissions test
2019-04-12 17:27:51 +01:00
Denys Vuika 4215666a96 allow setting custom data for ProfileState 2019-04-12 16:54:27 +01:00
Denys Vuika 578f00d270 extend ProfileState interface with optional groups 2019-04-12 16:45:04 +01:00
davidcanonieto 68f674c0fd [ADF-3983] Add permission template to app list cloud (#4592)
* [ADF-3983] Add permission template to app list cloud

* [ADF-3983] Fix and add unit tests
2019-04-12 16:25:58 +01:00
Andy Stark 921fdc00df [ADF-4391] Doc review for 3.2 (#4601)
* [ADF-4391] Reviewed new clipboard class docs

* [ADF-4391] Reviewed new proc cloud class docs

* [ADF-4391] Reviewed new datatable doc additions
2019-04-12 16:18:43 +01:00
Silviu Popa 16aaa0f0b3 [ADF-4393] TaskHeaderCloud - remove readOnly property (#4599) 2019-04-12 13:59:14 +01:00
Eugenio Romano 338b208a73 fix dearch test 2019-04-12 12:49:12 +01:00
Eugenio Romano dac3bed09f protractor option disable controlflow (#4598) 2019-04-12 12:47:14 +01:00
Andy Stark 6ad63055b3 [ADF-4260] Re-adding upgrade guide 3.0 -> 3.1 (#4597) 2019-04-12 12:03:45 +01:00
Eugenio Romano 5c345c56bc [no-issue] ban env (#4595)
* ban env

* ban env

* Update protractor.conf.js

* Update test-e2e-lib.sh
2019-04-12 10:16:28 +01:00
gmandakini 0915343222 [ADF-4311] - ProcessCloud - Incorrect label loaded for unclaim option -> "Resqueue" should be "Release" (#4588)
* C307032 automated

* defined a new TaskDetailsCloudDemoPage under Demo-Shell, as it's not part of a component.
2019-04-12 09:28:32 +01:00
gmandakini 0fe0ee9db7 [ADF-4274] Should be able to reassign the removed user when starting a new task. (#4591)
* C305050 automated

* added the api call to delete the tasks created in afterAll() method and also creating a new user and using that in the Tests and deleting the user in the end rather than using 'Super Admin' and reduce the dependency on env configuration.

* linting fixes
2019-04-12 09:25:29 +01:00
Andy Stark f258c79f7a [ADF-4391] Removed duplicate title in Form Cloud service docs (#4594) 2019-04-11 14:06:52 +01:00
Eugenio Romano 4f76c4e45c [build-issue] Run always all when is not a PR (#4593)
* run always all when is not a PR

* run always all when is not a PR

* run always all when is not a PR

* run always all when is not a PR

* run always all when is not a PR
2019-04-11 12:07:18 +01:00
Denys Vuika 790beb2bb9 [ADF-4213] drop events for DataTable component (#4589)
* stub for demo shell

* drop events for datatable

* fix docs

* cleanup template

* remove unused attribute

* disable spellcheck for the demo file
2019-04-10 20:21:14 +01:00
gmandakini 1336fbee0e [ADF-4278][ADF-4277] - Should fetch the preselect users (#4535)
* C305033 Preselect Users automated.

* fix the LastName issue failing.

* C305041 automated

* in progress

* in progress

* in progress

* in progress

* lint fix

* moving the assignee filed to PeopleCloudComponent

* moving the assignee filed to PeopleCloudComponent

* split the tests into smaller chunks for easy understandability.

* added the missing check and renamed the method appropriately.

* fixes for flakiness
2019-04-10 19:48:20 +01:00
cristinaj 7a2a8a1ed3 [ADF-4354]Fix cloud tests one by one (#4550)
* Fix locator

* Fix process-custom-filters.e2e.ts

* Fix start-tasks-cloud, processList-cloud-component, start-task-custom-app-cloud tests

* no message

* no message

* Fix process-header-cloud and task-header-cloud tests

* Fix process-header-cloud tests

* Fix processList-cloud-component
2019-04-10 19:47:21 +01:00
Silviu Popa 3f8ca56405 [ADF-4921] TaskListCloud - fix lastModifiedTo date filter (#4577)
* [ADF-4921] - fix lastModifiedTo date

* [ADF-4291] - fix build

* [ADF-4291] - fix build

* [ADF-4291] - move lastModifiedTo function from task-list-cloud in edit-task-filter-cloud
2019-04-10 19:45:41 +01:00
gmandakini 1bda3c914c [ADF-4059] - Move Copy Folders with Load more- take2 (#4562)
* C260132 automated

* debbugging

* in progress

* done

* review comments.

* in progress

* Update content-node-selector-dialog.page.ts

* fix the locators

* code review comments

* removed the datatablecomponentPage call directly from hte test.
2019-04-10 19:41:16 +01:00
Deepak Paul 558ee4c031 [ADF-3797] Task management view - Task with Form (#4534)
* [ADF-4248] Created form cloud service

* [ADF-4248] Created form cloud model

* [ADF-4248] Created new cloud form

* [ADF-4248] Exported cloud from module

* [ADF-4248] Added form saving feature

* [ADF-4248] Added form to task details

* [ADF-4248] Added services to save form

* [ADF-4248] Added data support

* [ADF-4248] Added outcome support in form model

* [ADF-4248] Modified demo component to show form

* [ADF-4248] Copied tests

* [ADF-4248] Added form parsing service

* [ADF-4248] Added form cloud demo

* [ADF-4248] Added form input to fom-cloud

* [ADF-4248] Added tests for form cloud model

* [ADF-4248] Improved form model json parsing

* [ADF-4248]  Added test for form could

* [ADF-4248] Refactored types in the form model

* [ADF-4248] Improved tests

* [ADF-4248] Added tests for form cloud service

* [ADF-4248] Added tests for form services

* [ADF-4248] Refactored form services

* [ADF-4248] Handled form events in demo shell

* [ADF-4248] Improved form value parsing

* [ADF-4248] Added form-cloud demo to routing

* [ADF-4248] Added field validation without handler

* [ADF-4248] Added task variable model

* [ADF-4248] Added adf-cloud prefix to css classes

* [ADF-4248] Translated name of nameless task

* [ADF-4248] Added docs for cloud form component

* [ADF-4248] Added docs for cloud form service

* create base component

* [ADF-4248] Created formBase and formModelbase

* [ADF-4248] Used base classes in cloud package

* Update form-cloud.component.md

* Update form-cloud.service.md

* [ADF-4248] Created form cloud service

* [ADF-4248] Created form cloud model

* [ADF-4248] Created new cloud form

* [ADF-4248] Exported cloud from module

* [ADF-4248] Added form saving feature

* [ADF-4248] Added form to task details

* [ADF-4248] Added services to save form

* [ADF-4248] Added data support

* [ADF-4248] Added outcome support in form model

* [ADF-4248] Modified demo component to show form

* [ADF-4248] Copied tests

* [ADF-4248] Added form parsing service

* [ADF-4248] Added form cloud demo

* [ADF-4248] Added form input to fom-cloud

* [ADF-4248] Added tests for form cloud model

* [ADF-4248] Improved form model json parsing

* [ADF-4248]  Added test for form could

* [ADF-4248] Refactored types in the form model

* [ADF-4248] Improved tests

* [ADF-4248] Added tests for form cloud service

* [ADF-4248] Added tests for form services

* [ADF-4248] Refactored form services

* [ADF-4248] Handled form events in demo shell

* [ADF-4248] Improved form value parsing

* [ADF-4248] Added form-cloud demo to routing

* [ADF-4248] Added field validation without handler

* [ADF-4248] Added task variable model

* [ADF-4248] Added adf-cloud prefix to css classes

* [ADF-4248] Translated name of nameless task

* [ADF-4248] Added docs for cloud form component

* [ADF-4248] Added docs for cloud form service

* create base component

* [ADF-4248] Created formBase and formModelbase

* [ADF-4248] Used base classes in cloud package

* [ADF-4248] Moved documentation to process services

* [ADF-4248] Removed duplicate import

* [ADF-4248] Fixed wrong imports

* [ADF-4248] Renamed form renderer input

* [ADF-4248] Show translated name for nameless form

* Enable the uploadWidget

* Make the form great again!

* Move the class style on the parent

* Fix the debugMode
2019-04-10 17:10:55 +01:00
Silviu Popa 61ee1f1d53 [ADF-4386] - fix style and remove value from tooltip (#4587) 2019-04-10 17:03:55 +01:00
Marouan Bentaleb 1eea972d6c [ADF-4373] Automation test for accurate error messages (#4581) 2019-04-10 16:50:46 +01:00
Eugenio Romano ed32cf421e fix next beta script 2019-04-10 16:41:29 +01:00
Cilibiu Bogdan 8975d4b6a6 [ADF-4371] Versioning - revert upload version on delete (#4572)
* revert upload version on delete

* methods return type
2019-04-10 16:30:50 +01:00
Denys Vuika 1f6e868464 [ADF-4384] improve recent files query (#4585)
* improve recent files query

* remove duplicate filter
2019-04-10 13:25:45 +01:00
Andy Stark 0d38321182 [ADF-4383] Updated filter props details in Edit proc cloud docs (#4586) 2019-04-10 12:20:14 +01:00
davidcanonieto 7a2c5762ff [ADF-4321] Add Task Id filter to task cloud filters (#4571) 2019-04-10 10:49:56 +01:00
Marouan Bentaleb fb9308ddbf [ADF-4367] Automation for process date format (#4580) 2019-04-10 10:48:42 +01:00
Silviu Popa 312d8432df [ADF-4357] TaskListCloud - change complete task condition (#4554)
* [ADF-4357] TaskListCloud - change complete task condition

* [ADF-4357] - PR changes

* [ADF-4357] - add unit test and change owner user

* [ADF-4357] - lint

* [ADF-4357] - change complete task condition
2019-04-10 01:30:57 +01:00
Silviu Popa 3df30f05f3 [ADF-3934] PeoplCloudComponent - add dynamic placeholder (#4548)
* [ADF-3934]  PeoplCloudComponent - add dynamic placeholder

* [ADF-3934] - fix tests

* [AF-3934] - PR changes

* [ADF-3934] - remove unnecesary test

* [ADF-3934] - lint
2019-04-10 01:21:12 +01:00
gmandakini 4bfae518fb [ADF-4216] Recently uploaded files are missing 'ago' in the Created column (#4578)
* replaced the assertion for 'ago' to 'ago | few'

* replaced the assertion for 'ago' to 'ago | few'
2019-04-10 01:11:35 +01:00
davidcanonieto 70cf1da78e [ADF-4368] Add JSON cell to datatable in Demo-Shell for testing purposes (#4579) 2019-04-09 16:53:47 +01:00
LucaBiondo 3a64f4aaab Fromo mySuccessMethod to myExecuteSubmitMethod (#4573)
In the tutorial, when working with events, it says that we want to show an allert when submitting the login form but in the code just below it binds the allert to the "success" event and not to the "executeSubmit" event. Also calls the method mySuccessMethod and not myExecuteSubmitMethod as it does at the very and of the Tutorial.

So i made the appropriate changes to adjust the code and the tutorial to show how to properly bind an allert to the "eventSubmit" event.

Regards
Luca Biondo
2019-04-09 16:50:21 +01:00
davidcanonieto 2753771d29 [ADF-4273] Remove description property from Process Instance Cloud Model (#4568)
* [ADF-4273] Remove description property from Process Instance Cloud Model

* [ADF-4273] Remove from e2e tests
2019-04-09 16:49:44 +01:00
Eugenio Romano ce0775c525 [ADF-4191] fix viewer test and move error and pagination page (#4569)
* split viewer test

* move pagination in testing share pkg
move error in testing share pkg

* fix import
2019-04-09 12:26:10 +01:00
Eugenio Romano 98f18abee0 [ADF-4365] Add start-process-cloud-component.page.ts page in @adf-testing (#4570)
* add start-process-cloud-component.page.ts page in @adf-testing

* remove invalid test
2019-04-09 12:22:58 +01:00
davidcanonieto 62c71dbec9 [ADF-4372] Fix json type Data Column styles (#4576) 2019-04-09 12:18:36 +01:00
davidcanonieto deff3965b0 [ADF-4361] Fix Tab navigation on Login page (#4574) 2019-04-09 12:17:51 +01:00
Roxana Gherghelas 1b774c4218 remove noprocessapp constant 2019-04-09 09:49:11 +03:00
Roxana Gherghelas d7de8d0065 remove invalid test 2019-04-09 09:49:10 +03:00
Roxana Gherghelas b538dbaa60 add start-process-cloud-component.page.ts page in @adf-testing 2019-04-09 09:49:10 +03:00
Silviu Popa a87d1ef002 [ADF-4272] TaskListCloud - improvements on CopyClipboardDirective (#4547)
* [ADF-4272] DocumentList -  add Copy content tooltip directive

* [ADF-4272] - fix build issue

* [ADF-4272] - change directive name and add requested changes

* [ADF-4272] - reset task-list-cloud html content

* [ADF-4272] - fix build

* [AFG-4272] - change name to CopyClipboard

* [ADF-4272] - PR changes

* [ADF-4272] - fix tests

* [ADF-4272[] - lint

* [ADF-4272] - merge clipboard directive with copy-content directive

* [ADF-4272] - PR changes

* [ADF-4272] - change docs
2019-04-08 16:37:37 +01:00
davidcanonieto dee63e3f3b [ADF-3887] Different local storages for different ADF apps (#4539)
* [ADF-3887] Different local storages for different ADF apps

* [ADF-3887] Add documentation

* [ADF-3887] Add unit tests and improve code

* [ADF-3887] Add unit tests

* [ADF-3887] Fix e2e tests

* fix test

* fix test

* Update storage.service.md
2019-04-08 15:23:46 +01:00
Denys Vuika f89bf507f5 [ADF-4193] search error notifications and empty results (#4567)
* search error notifications and empty results

* update docs
2019-04-08 14:25:47 +01:00
Silviu Popa 2c9fdf0d4d [ADF-4275] - Fix preselect user validation for User Id (#4474)
* [ADF-4274] - Fix preselect user validation for User Id

* [ADF-4275] - change search user response format

* [ADF-4275] - add unit test to search user by id on single mode

* [ADF-4275] - fix PeopleCloud unit tests and refractor validate User funcitonality

* [ADF-4275] - fix unit tests

* [ADF-4272] - reset spec file

* [ADF-4275] - rebase and fix unit tests

* Update people-cloud.component.ts
2019-04-08 14:25:16 +01:00
siva kumar 78daf68777 [ADF-4351] Change APS2 services url pattern form -service/ to /service/ (#4563)
* [ADF-4351] Change APS2 services url pattern form ` -service/` to  `/service/`

* Changed all query and runtimebundle app name convention.

* Use the correct name of the class

* Skip latest unit test that is failing

* Change the karma

* Fix failing unit test on editTaskCloud
2019-04-08 14:03:53 +01:00
davidcanonieto a42d58af49 [ADF-4250] Improve Error Content component (#4555)
* [ADF-4250] Improve Error Content component

* [ADF-4250] Fix unit test
2019-04-06 11:09:36 +01:00
Andy Stark 4339af9f42 [ADF-4285] Removed incorrect example from content metadata docs (#4564) 2019-04-05 17:24:06 +01:00
davidcanonieto d817f3aaa3 [ADF-4363] Fix sidenav layout (#4566) 2019-04-05 17:23:24 +01:00
Suzana Dirla e656cc6977 [ADF-4323] Add style fixes from ACA (#4546)
* [ADF-4323] add style fix for adf-search-sorting-picker

- moved from ACA

* [ADF-4323] use Flex Layout's media query mixin

* [ADF-4323] add style fix for adf-pagination

- moved from ACA

* [ADF-4323] add style fix for adf-version-manager

- which fixed issue [ACA-1750]

* [ADF-4323] remove not used property

* [ADF-4323] remove extra bottom-border

* [ADF-4323] upload-drag-area refactor to scss

* [ADF-4323] add style fix for adf file upload

- from ACA

* [ADF-4323] add style fix for adf-info-drawer

- from ACA

* [ADF-4323] add style fix for adf-toolbar

- from ACA

* [ADF-4323] add style fix for adf-sidenav-layout

- from ACA

* [ADF-4323] add style fix for adf-search-filter

- from ACA

* [ADF-4323] add style fix for adf-upload-drag-area

- from ACA

* [ADF-4323] add style fix for adf-info-drawer

- from ACA

* [ADF-4323] move style fix for adf-manage-versions from demo-shell

* [ADF-4323] use Flex Layout's media query mixin

* [ADF-4323] small fix to remove scrolling

* [ADF-4323] add adf-sidenav-layout host element class

* [ADF-4323] change 'inline' class name to 'adf-toolbar--inline'

- css lint was failing because of old naming

* [ADF-4323] set pagination empty state styling

* [ADF-4323] set pagination border to none
2019-04-05 14:05:21 +01:00
davidcanonieto ec9d2785fa [ADF-4360] No growing cells for Datatable compoennt (#4561) 2019-04-05 12:47:31 +01:00
Silviu Popa 506ca306da [ADF-4308] DatatableComponent - add Json cell type (#4518)
* [ADF-4308] DatatableComponent - add Json cell type

* [ADF-4308] - PR changes

* [ADF-4306] - remove unnecesary code and properties

* [ADF-4308] - PR changes
2019-04-05 12:46:15 +01:00
davidcanonieto 9217ebd999 [ADF-4360] Fix Ellipsis on Date Cell Template (#4556) 2019-04-05 10:44:34 +01:00
arditdomi 7bb3c00a75 [ADF-4270] Fix empty name cell in process header cloud (#4557) 2019-04-05 10:38:56 +01:00
Francesco Corti 58e0e44693 Update after some new tests. (#4559) 2019-04-05 08:18:50 +01:00
Eugenio Romano 37db604937 fix lint organizations (#4558) 2019-04-04 19:50:54 +01:00
Andy Stark 33c4460831 [ADF-4356] Added Activiti 7 tutorial after review (#4553) 2019-04-04 13:21:54 +01:00
Vito c5ac798c5b [ADF-4327] added templating for content dialog (#4549)
* [ADF-4327] added templating for content dialog

* [ADF-4327] added unit test and documentation
2019-04-04 12:44:47 +01:00
davidcanonieto 4ebc8e2527 [ADF-4142] Remove processDefinitionKey property from EditTaskCloud component docs (#4552) 2019-04-04 12:13:35 +01:00
Vito 0800c406cd [ADF-4328] added expandedSideNav as new user preference value (#4545)
* [ADF-4328] added expandedSideNav as new user preference value

* [ADF-4328] update demo shell with the new User preference value

* [ADF-4328] added documentation update
2019-04-03 17:56:37 +01:00
cristinaj f152a24dc2 [ADF-4350]Fix cloud tests (#4544)
* Fix version-permissions tests

* Fix the cloud tests

* Fix process-services tests
2019-04-03 11:47:05 +01:00
Eugenio Romano a37a44cb6f increase size bundle check testing pkg 2019-04-03 00:51:05 +01:00
Denys Vuika 12f098417c add protractor utils class (#4531) 2019-04-02 23:50:51 +01:00
Vito 3f2af4cc03 Exporting base login page (#4483)
* Exporting base login page for e2e tests

* fixed exporting and renamed pages as per standards

* Added base login page to testing package

* Fixed wrong import for the setting page

* Removed old pages and using the one in the adf-testing package

* fix after merge conflict

* fix base url param
2019-04-02 23:44:36 +01:00
Eugenio Romano 1b65555e18 fix identity service creation 2019-04-02 23:42:46 +01:00
cristinaj 83c1e8a657 [ADF-4344]Fix e2e cloud tests. (#4542)
* Fix e2e cloud tests.

* no message
2019-04-02 21:30:47 +01:00
cristinaj 38da39d8a5 Refactored document-list-actions tests. (#4538)
Added a new test for move file.
2019-04-02 19:06:43 +01:00
davidcanonieto a4fcedb44f [ADF-4343] Fix bug closing dialog on Host Settings Component (#4541)
* [ADF-4343] Fix bug closing dialog on Host Settings Component

* [ADF-4343] Improve code
2019-04-02 19:04:11 +01:00
davidcanonieto 6213839289 [ADF-4279] Demo-shell - Fix home component layout (#4543) 2019-04-02 19:03:10 +01:00
Eugenio Romano f46c848308 Move process cloud page int @alfresco/adf-testing (#4540)
Move datatable @alfresco/adf-testing
2019-04-02 15:36:58 +01:00
siva kumar 24779498a3 [ADF-PeopleCloudComponent] Fixed failing unit tests (#4526)
* * Failing people cloud unit tests.

* * Updated people cloud component unit tests.

* * Removed timeout from karma config

* * Removed any and use custom type.

* [ADF -  People-cloud component]
* Fixed  People-cloud component conflicts.

* * New Tslint errors fixed.

* * Fixed TaskHeaderCloud failing unit test.
2019-04-02 14:52:03 +01:00
davidcanonieto b60e9a7c6e [ADF-4298] Improve Info drawer e2e tests (#4532)
* [ADF-4298] Improve Info drawer e2e tests

* [ADF-4298] Add new tab with single icon and update e2e tests
2019-04-02 12:00:27 +01:00
Eugenio Romano 2b4d748a66 fix about component 2019-04-02 00:32:58 +01:00
Eugenio Romano ad15cdf028 fix unit test 2019-04-02 00:24:31 +01:00
Vito e6d3869891 Fixed condition for TestConfig file (#4536) 2019-04-01 21:39:59 +01:00
gmandakini 5afe695be7 fix the failing test (#4533) 2019-04-01 14:28:41 +01:00
cristinaj 3305819da4 Update webdriver-manager (#4530) 2019-04-01 10:15:46 +01:00
Eugenio Romano 75295fdb84 fix lint issue after merge 3.2.0 2019-03-30 11:18:56 +00:00
Silviu Popa d8321b977a [ADF-4274] - Fix users filtering on single selection mode (#4476)
* [ADF-4274] - fix  users filtering on single selection mode

* [ADF-4274] - add unit test
2019-03-30 11:12:10 +00:00
Silviu Popa f422fa30d2 [ADF-4302] - move cloud folder from app-layout to component (#4525) 2019-03-30 11:08:14 +00:00
Eugenio Romano 17efd33f44 fix lint issue after merge 3.2.0 2019-03-30 11:05:19 +00:00
Silviu Popa 7271e85f94 [ADF-4311] i18n - change unclaim label (#4512)
* [ADF-4311] i18n - change Reque label into Release

* [ADF-4311] - revert task-list i18n label

* [ADF-4311] - change unclaim label key
2019-03-30 10:50:28 +00:00
Eugenio Romano e870f24133 Merge pull request #4501 from Alfresco/next-release-3.2.0
3.2.0 new branch in development
2019-03-30 10:49:14 +00:00
Eugenio Romano 81eb2d5230 Merge branch 'development' into next-release-3.2.0 2019-03-30 10:48:29 +00:00
Eugenio Romano b0587da7b7 Update RelNote310.md 2019-03-29 17:29:50 +00:00
Eugenio Romano 3a79bdbb91 3.1.0 version package.json (#4521) 2019-03-29 16:49:19 +00:00
Eugenio Romano eb18af8945 fix doc small issue 2019-03-29 16:24:03 +00:00
Denys Vuika e225afef1a fix package lock 2019-03-29 16:18:44 +00:00
Denys Vuika f0e993512b update versions 2019-03-29 16:18:43 +00:00
Denys Vuika b51fc8a7d2 document list extensions (demo shell) (#4511)
* doclist extensibility test page

* desktopOnly support

* extensions category, custom column

* update code

* Fix styling for column templates

* update package lock
2019-03-29 16:18:43 +00:00
Eugenio Romano 49847bf809 fix lint 2019-03-29 16:18:42 +00:00
Eugenio Romano 7f5bcdf407 fix lint 2019-03-29 16:18:18 +00:00
Eugenio Romano 3943eeb8b2 fix lint 2019-03-29 16:17:47 +00:00
Eugenio Romano e9d2be808e fix utility viewer page 2019-03-29 16:17:46 +00:00
Denys Vuika cb9614bb38 add missing document list host class 2019-03-29 16:17:45 +00:00
davidcanonieto 31280baeef [ADF-4298] Add e2e tests for info drawer (#4506)
* [ADF-4298] Add e2e tests for info drawer

* Update info-drawer.component.e2e.ts

* Update info-drawer.component.e2e.ts
2019-03-29 16:17:44 +00:00
Eugenio Romano b35fb4df93 Merge branch 'development' into next-release-3.2.0 2019-03-29 16:17:03 +00:00
Denys Vuika 3b53184598 info drawer fixes (#4529) 2019-03-29 16:09:54 +00:00
davidcanonieto be904dbe9b [ADF-4264] Fix content node selector breadcrumb and styling (#4527) 2019-03-29 15:16:28 +00:00
Suzana Dirla 888113fdc2 [ADF-4280] fix initial display for search-sorting-picker (#4522)
* [ADF-4280] fix initial display for search-sorting-picker

* [ADF-4280] fix unrelated error TS6133: 'renderingQueueServices' is declared but its value is never read

* [ADF-4280] update e2e test
2019-03-29 11:54:47 +00:00
Andy Stark 95ee2bca71 [ADF-4249] Doc review updates (#4524)
* [ADF-4249] Edit latest changes to release notes

* [ADF-4249] Fixed links
2019-03-29 11:54:07 +00:00
Eugenio Romano 3f05bdc009 fix lint 2019-03-29 02:51:39 +00:00
Eugenio Romano a8999b77e5 fix lint 2019-03-29 02:49:39 +00:00
Eugenio Romano ed333089cf fix lint pdf test 2019-03-29 02:26:39 +00:00
Eugenio Romano 2e151ed412 minor fix e2e and styles 2019-03-29 02:09:07 +00:00
Eugenio Romano 24dfd33544 Merge branch 'master' into development 2019-03-28 19:19:04 +00:00
Eugenio Romano dd5e0e81a4 remove unused folder 2019-03-28 19:07:55 +00:00
Eugenio Romano 944ca8e5d8 add click callback and remove icon if is not editable (#4516) 2019-03-28 18:52:43 +00:00
Francesco Corti 71fc1fd039 Release note and compatibility matrix for ADF 3.1 (#4505)
* Initial draft of the release note and compatiobility matrix.

* Release note review.

* Update RelNote310.md

* Update RelNote310.md

* Release notes review (#4519)

* Reviewed text

* Fixed Markdown and anchors

* tech part release
2019-03-28 18:40:04 +00:00
arditdomi b3c0c8380b [ADF-4324] Fix Role label in Content Services permissions (#4517) 2019-03-28 16:55:47 +00:00
arditdomi f98ea79d26 [ADF-4287] Fix tasks UI in Process Cloud (#4514)
* [ADF-4287] Fix tasks UI in Process Cloud

* [ADF-4287] Remove uneeded code
2019-03-28 16:54:33 +00:00
davidcanonieto 4a49c086a4 [ADF-4316] Regression - Fix People component layout (#4515) 2019-03-28 16:37:44 +00:00
davidcanonieto 2b4f42e042 [ADF-4325] Demo-Shell - Fix alignment in document-list (#4513) 2019-03-28 16:15:53 +00:00
davidcanonieto 55a9782960 [ADF-4301] Regression - Fix accesibility issue (#4510) 2019-03-28 12:05:08 +00:00
davidcanonieto f00ee43b60 [ADF-4305] Fix document list component styling (#4509) 2019-03-28 10:54:39 +00:00
Eugenio Romano 18bf2c58c2 add logout sso redirect e2e 2019-03-27 20:08:51 +00:00
Andy Stark ded6c4736c [ADF-4300] Updated sort properties lists with the non-filter properties (#4508) 2019-03-27 17:40:03 +00:00
Eugenio Romano df9db7981c fix tes process-filter 2019-03-27 17:38:21 +00:00
Eugenio Romano 0513548d4d fix PS filter tests 2019-03-27 16:57:38 +00:00
Andy Stark 49dab5d030 [ADF-4294] Added licence info page for 3.1 (#4507)
* [ADF-4300] Clarified info about sort properties for Edit task/proc cloud docs

* [ADF-4294] Generated new licence info page for 3.1
2019-03-27 15:04:20 +00:00
Eugenio Romano 1ecbf25030 fix test pck 2019-03-27 13:26:47 +00:00
Vito a2823eeb99 [ADF-3912] Improved folder retrieving for DL (#4423)
* [ADF-3912] added abstract class for document-list component to be provided

* [ADF-3912] - created abstract class for document-list service

* [ADF-3912] - fixing and removing the custom resource from document-list

* [ADF-3912] added interface for document list service

* [ADF-3912] added interface for loadFolderById for DL component

* [ADF-3912] fixed missing return type

* [ADF-3912] removed comment

* [ADF-3912] fixed PR comments

* [ADF-3912] fixed wrong import

* [ADF-3912] fixed unit test failing

* [ADF-3912] removed unused method

* [ADF-3912] fixed lint problems
2019-03-27 13:10:59 +00:00
Eugenio Romano 6e4bf23d06 fix people cloud navigation e2e 2019-03-27 12:18:25 +00:00
Denys Vuika 3b1c4923b2 fix AOT 2019-03-27 12:18:10 +00:00
Eugenio Romano 9cd9969584 beta2 2019-03-27 12:02:17 +00:00
Eugenio Romano b55203cec7 fix const 2019-03-27 11:53:53 +00:00
Vito 070bf020a7 [ADF-3228] Added lock check for context actions (#4163)
* [ADF-3228] Added lock check in content service

* [ADF-3228] added unit test for lock check

* [ADF-3228] fixed wrong line on rebase

* [ADF-3228] fixed e2e related to new lock behaviour

* [ADF-3228] externalised lock service and added more unit tests

* [ADF-3228] added lock service to disable context actions

* [ADF-3228] fixed e2e rebased to the latest
2019-03-27 11:42:09 +00:00
Denys Vuika e75335a06d [ADF-3794] Update individual rows without reloading DocumentList (#4213)
* reload table cells on node updates

* update unit tests

* update dynamic columns

* fix value type

* fix tests

* update code as per review

* update variable name

* test fixes, core automation service

* fix test
2019-03-27 11:38:37 +00:00
Eugenio Romano e85e634685 update monaco 2019-03-27 11:19:57 +00:00
Eugenio Romano b95d1b9eb3 fix timeout configuration 2019-03-27 10:42:40 +00:00
gmandakini 4376d357ac [ADF-3962] sso download directive automated (#4452)
* sso download directive automated

* temp changes

* temp changes

* moving of services under lib testing and ADF-3962 automated

* removed the browser sleep

* cspell and linting fixes.

* codacy improvements

* export public-api update

* remove circular dep

* remove circular dep

* fixes

* fix user info test

* fix datatable

* random commit

* move other string

* fix lint

* fix lint

* fix prolem type

* fix failing test

* fix tag test

* fix problems after rebase

* fix lint

* remove space

* remove visibility method duplicated
2019-03-27 09:57:26 +00:00
Eugenio Romano 89f612bbb0 update codelyzer last version wit accessibility check 2019-03-27 09:55:35 +00:00
Eugenio Romano fbb6ab6cb8 update version 2019-03-27 09:55:35 +00:00
davidcanonieto c9dbcdfc8c [ADF-4242] Make Date format uniform across components (#4496) 2019-03-27 09:55:34 +00:00
Eugenio Romano 046d3f2e33 fix new lint 2019-03-27 09:55:34 +00:00
Maurizio Vitale 391094e467 [ADF-4295] AuthGuardSsoRoleService - Provide a way to check the resorces_access of the jwt token (#4488)
* Provide a way to check the resorces_access of a jwt token

* Add unit test in case the client role is missing or contains a different one

* Improve the documentation related to the AuthGuardSSO
2019-03-27 09:55:33 +00:00
Silviu Popa c3bbbe6dab [ADF-4096] ProcessCloud/TaskList - undefined filename attribute (#4333)
* [ADF-4127] ProcessServicesCloud - add claim/unclaim directive (#4464)

* [ADF-4127] ProessServicesCloud - claim task directive

* [ADF-4127] - fix doc

* [ADF-4127] - revert docs changes

* [ADF-4127] - revert doc changes

* [ADF-4127] - fix doc and reset sourceLinker.js

* [ADF-4127] - refractor task-cloud.service. add validation for claim/unclaim and fix unit tests

* [ADF-4127] - fix docs files

* [ADF-4127[ - add aditional complete task validation

* [ADF-4127] - PR changes

* [ADF-4127] - complete docs file

* [ADF-4127] - more PR changes

* [ADF-4127] - change Unclaim task name and wait for task to be claimed and unclaimed before emit the success event

* [ADF-4127] - fix unit tests

* [ADF-4095] ProcessCloud - change api response format

* Revert "[ADF-4095] ProcessCloud - change api response format"

This reverts commit 8ddd3477ad3de047911f0538941c65d2bf7e60e2.

* [ADF-4096] DatatableComponent - revert changes and remove filename attribute

* [ADF-4096] - change filename attribute and fix unit tests

* [ADF-4096] - fix core e2e test
2019-03-27 09:55:33 +00:00
cristinaj e415bd8cd5 [ADF-4241]Added tests for process header cloud component (#4463)
* Added tests for process header cloud component

* Move the process-header-cloud-component page to testing folder

* Changed the test rail ids

* Fix lint issues.
2019-03-27 09:55:32 +00:00
Marouan Bentaleb f9e39aaebd [ADF-NO-ISSUE] Removing wrong dependencies (#4458) 2019-03-27 09:55:31 +00:00
Denys Vuika a7a48e8b2b enable prefer-const rule for tslint, fix issues (#4409)
* enable prefer-const rule for tslint, fix issues

* Update content-node-selector.component.spec.ts

* Update content-node-selector.component.spec.ts

* fix const

* fix lint issues

* update tests

* update tests

* update tests

* fix code

* fix page class
2019-03-27 09:55:30 +00:00
Denys Vuika 26c5982a1a extensibility improvements (#4484)
* add missing interfaces to extensions library

* separate rule service

* api enhancements

* fix test

* improve APIs
2019-03-27 09:54:50 +00:00
Eugenio Romano 80aaaef65d fix part PS Cloud e2e 2019-03-26 18:05:06 +00:00
arditdomi 4a640d962d [ADF-4287] Fix tasks UI in Process Cloud (#4504) 2019-03-26 17:06:51 +00:00
Andy Stark c2d639ff66 [ADF-4300] Clarified info about sort properties for Edit task/proc cloud docs (#4503) 2019-03-26 17:01:55 +00:00
Maurizio Vitale 3897bafe0c Fix typo on startprocesscloud spec and remove useless method (#4500) 2019-03-26 14:33:16 +00:00
cristinaj 57f6532c7c Moved aps2 apps to repository (#4502) 2019-03-26 14:32:45 +00:00
Eugenio Romano 47139e6804 Update test.config.js 2019-03-26 13:36:53 +00:00
maurizio vitale 0c73851759 Enable travis on branche that contains next-release 2019-03-26 12:40:46 +00:00
Eugenio Romano 5f4fef63f1 search should not be always show 2019-03-26 12:19:32 +00:00
siva kumar 31eb1d8ee7 * Provided way to config applications from config (#4498)
editor.
2019-03-26 12:13:05 +00:00
arditdomi 0a3c4367a0 [ADF-4282] Fix document list UI when on small screen devices (#4497)
* [ADF-4282] Fix document list content UI in small resolution devices

* [ADF-4282] Fix document list content UI in small resolution devices
2019-03-26 11:41:00 +00:00
Andy Stark cec08f50d7 [ADF-4249] Updates for doc review (#4494)
* [ADF-4249] Doc review updates

* [ADF-4249] Updated doc index pages

* [ADF-4249] Minor corrections to un/claim task docs
2019-03-26 10:18:44 +00:00
siva kumar 04c6436ed2 [EditProcessFilterCloudComponent] Unit tests are failing* Fixed failing unit tests. (#4495) 2019-03-26 10:15:55 +00:00
davidcanonieto f7a07967af [ADF-4179] Fix styles of facet-buttons (#4491) 2019-03-25 18:00:38 +00:00
Andy Stark 8a86981da7 [ADF-4249] Fixed issues with ToC and auto-linking tools (#4492)
* [ADF-4249] Fixed issues with anchors in contents sections

* [ADF-4249] Removed redundant copy of edit proc filter cloud docs

* [ADF-4249] Fixed YAML template generation for accessor props

* [ADF-4249] Fixed ToC link generation

* [ADF-4249] Fixed type alias links in component docs
2019-03-25 17:56:25 +00:00
davidcanonieto dac4f1bcef Fix app layout (#4493) 2019-03-25 17:55:53 +00:00
Andy Stark fe016f2580 [ADF-4146] Added 2.6 -> 3.0 upgrade guide (#4481)
* [ADF-4146] Started upgrade guide for 2.6->3.0

* [ADF-4146] Finished upgrade guide and updated indexes

* [ADF-4146] Added lib/Yeoman update instructions

* [ADF-4146] Fixed broken links to scss files
2019-03-25 17:08:16 +00:00
Eugenio Romano 3945df4ef3 Update search-component.e2e.ts 2019-03-25 16:46:22 +00:00
Marouan Bentaleb ae1e2f6fff [ADF-4265] Automation test for search highlight (#4466) 2019-03-25 16:43:46 +00:00
davidcanonieto c1138ec08e [ADF-4281] Fix process filter cloud selection (#4490) 2019-03-25 16:42:07 +00:00
Eugenio Romano dc36082e11 [LOC-112] 3.1.0 Localization files (#4489)
* 3.1.0 Localization files

* Update ar.json
2019-03-25 16:39:20 +00:00
Eugenio Romano 967091defd add sites and supported page size configuration 2019-03-25 15:58:03 +00:00
spark66rc d215eac204 fix export tree-view component into content-services module (#4487) 2019-03-25 15:33:53 +00:00
Silviu Popa 31658c0974 [ADF-4127] ProcessServicesCloud - add claim/unclaim directive (#4464)
* [ADF-4127] ProessServicesCloud - claim task directive

* [ADF-4127] - fix doc

* [ADF-4127] - revert docs changes

* [ADF-4127] - revert doc changes

* [ADF-4127] - fix doc and reset sourceLinker.js

* [ADF-4127] - refractor task-cloud.service. add validation for claim/unclaim and fix unit tests

* [ADF-4127] - fix docs files

* [ADF-4127[ - add aditional complete task validation

* [ADF-4127] - PR changes

* [ADF-4127] - complete docs file

* [ADF-4127] - more PR changes

* [ADF-4127] - change Unclaim task name and wait for task to be claimed and unclaimed before emit the success event

* [ADF-4127] - fix unit tests
2019-03-25 12:24:26 +00:00
Silviu Popa 0b1e5d31d8 [ADF-4155] ProcessServiceCloud - show AppList when service is missing (#4462)
* [ADF-4155] ProcessServiceCloud - show AppList when service is missing

* [ADF-4155] - lint

* [ADF-4155] - move docs content

* [ADF-4155]  - reset unnecesary doc file changes

* [ADF-4155] - fix unit tests

* [ADF-4155]  AppListCloudComponent -  Fix unit test

* [ADF-4155] - remove calls reset

* [ADF-4155] - skip app list test

* [ADF-4155] - fix unit test

* [ADF-4155] -  app- list unit test
2019-03-25 11:01:43 +00:00
cristinaj 77bad96d0d [ADF-4226]Adding tests for infinite pagination. (#4428)
* Adding tests for infinite pagination.

* sustitute function

* remove wrong file

* Remove a check

* Fix after rebase
2019-03-24 23:20:18 +00:00
Eugenio Romano e3804e0e70 restore -b insight test 2019-03-24 11:19:25 +00:00
Eugenio Romano 18e276df41 remove -b process cloud test 2019-03-24 00:04:06 +00:00
Eugenio Romano 6059690e79 exclude upload folder test as far we don't find a solution in chrome 73 (#4473)
* exclude upload folder test as far we don't find a solution in chrome 73

* exclude folder drag and drop test chrome 73

* fix test search

* Update .travis.yml

* xit C279918 C279916

* fix process-service cloud application list
2019-03-23 20:32:03 +00:00
Eugenio Romano 4a32fb920f travis change 2019-03-23 20:28:03 +00:00
Eugenio Romano 6a7a9666ad rtl configuraation (#4482) 2019-03-22 15:39:27 +00:00
Eugenio Romano f9e798a18c remove duplicate import 2019-03-22 11:02:07 +00:00
Marouan Bentaleb 4235d3ca29 [ADF-3976] Update doc (#4475) 2019-03-22 10:58:15 +00:00
mhalczuk 20c8291bd8 [ADF-4478] Add missing WidgetVisibilityService export (#4479) 2019-03-22 10:58:00 +00:00
Denys Vuika 726398838a add missing service export, refs #4478 2019-03-22 09:28:47 +00:00
Denys Vuika 505aad4cb5 css fixes for datatable (#4471) 2019-03-20 21:33:06 +00:00
arditdomi b8d3a5b878 [ADF-4230] Fix pagination arrows direction when ADF set to RTL (#4469)
* [ADF-4230] Fix pagination arrows direction when ADF set to RTL

* Update pagination.component.scss
2019-03-20 18:14:04 +00:00
Andy Stark e5c7ffb314 [ADF-4249] Updates for doc review (#4470)
* [ADF-4249] Updated review checker tool to work with new doc subfolders

* [ADF-4249] Updates for doc review
2019-03-20 18:12:22 +00:00
arditdomi 10e91bed2a [ADF-4229] Fix big space issue when ADF set to RTL (#4467)
* [ADF-4229] Fix big space issue when ADF Application set to RTL

* [ADF-4229] Fix big space issue when ADF Application set to RTL

* Update layout-container.component.scss
2019-03-20 15:55:16 +00:00
siva kumar c4bd7a93ab [ADF-3986] ProcessListCloudComponent - Be able to filter process with all possible params (#4233)
* [ADF-3986][ProcessListCloudComponent] Be able to filter process with all possible params* Added missing parameters* Added unit test the recent changes* Updated docs

* * Removed unwanted appVersion from process list

* * Removed unwanted properties

* * Reverted changes related status

* Update edit-task-filter-cloud.component.ts

* Fix the task and process filters value

* Rollback the process instance id

* * Added more process list properties in the demo

* * After rebase
* Used application query api.

* * Fixed failing unit test

* * After rebase

* * Fixed message

* * Fixed conflicts.

* * Fixed Lint error

* * Documentation conflicts fixed.
2019-03-20 15:53:28 +00:00
siva kumar dccc6b8127 [ADF-3976] EditTaskComponent - Be able to customise the sorting and actions (#4251)
* [ADF-3841] Improve edit-task-filter-cloud by adding inputs to control filters, sort and actions* Provided an input to pass  sort properties* Provided an input to pass filter actions

* * Provided way to configure sort and action properties from app.config
* Updated unit tests the recent changes

* * Added missing properties* Removed unwanted properties* Provided a way to to show range when the lastModified is passed* Fixed order should be visible if sort as been passed

* * Provided way to show checkbox

* * Changed to state, assignment to status and assignee* Updated Document* Updated unit tests

* * Removed unnecessary mock object

* * Removed FilterActionType * Updated documentation

* * Modified editTaskFilterCLoud component e2e tests to the recent changes

* * Fixed e2e tests

* * Fixed failing e2e test

* * Removed unwanted comment

* * After rebase

* * After rebase

* * After rebase

* * Fixed e2e conflict
2019-03-20 15:49:54 +00:00
Maurizio Vitale 355e97ef39 Cloud people component - Fix the unit test related to the subject initialization (#4456)
* Fix the unit test related to the cloud people component

* Fix init subject and add unit test
2019-03-20 15:32:59 +00:00
Silviu Popa 997c53b47b [ADF-4233] - fixed nested menu layout for minimized sidebar menu (#4459)
* [ADF-4233] - fix layout when side menu is minimized

* [ADF-4233] - lint

* [ADF-4233] - fixed nested menu layout for minimized sidebar menu
2019-03-20 10:31:07 +00:00
siva kumar bfc4205522 [ADF-4263][EditProcessFilterCloudComponent] Unit tests are failing (#4453)
* [ADF-4263][EditProcessFilterCloudComponent] Unit tests are failing* Fixed failing unit test.

* * Fixed lint error in the group/people component.

* * Removed any type
2019-03-20 08:03:22 +00:00
Eugenio Romano 814bd46d5b fix aspect test 2019-03-20 02:10:24 +00:00
arditdomi 203dc488f8 [ADF-4199] Fix permission manager UI (#4460)
* [ADF-4199] Fix permission manager UI

* Update permission-list.component.scss
2019-03-20 01:13:43 +00:00
Eugenio Romano 561dd15b04 improve gnu scripts 2019-03-20 00:35:15 +00:00
Eugenio Romano e392d3e602 slow down clean env 2019-03-20 00:34:34 +00:00
Andy Stark 5c63b7c0f8 [ADF-4252] Added doc link fixing tool (#4461)
* [ADF-4252] Added basic fixer for link and image URLs

* [ADF-4252] Added full check to link fixing tool

* [ADF-4252] Manually replaced http Github doc URLs

* [ADF-4252] Fixed rel note doc links with tool
2019-03-19 22:17:30 +00:00
Eugenio Romano 5dd1d25371 clean env root add 2019-03-19 17:29:23 +00:00
Eugenio Romano 85f84e38ec store errors 2019-03-19 17:04:49 +00:00
Eugenio Romano 5a7fe6f499 [ADF-4267] expose stiky heder in document list (#4455)
* expose stiky heder in document list

* lint fix
2019-03-19 16:41:28 +00:00
Andy Stark 7fe066b068 [ADF-4249] Updates for doc review (#4454)
* [ADF-4249] Updates for doc review

* [ADF-4249] Clarified text slightly
2019-03-19 15:35:59 +00:00
cristinaj 34b5c5a1b3 [ADF-4099]Implement tests for The metadata group is always showed even though the properties are not there (#4421)
* Create a custom empty aspect.

* Implement empty aspect

* Add ' The aspect with empty properties is displayed' test.

* Fix lint errors

* Enabling screenshots

* no message

* Fix upload tests

* no message

* Trying to fix upload tests

* no message

* remove save

* lint

* Fix lint
2019-03-19 15:12:35 +00:00
Marouan Bentaleb 355971e0ad [ADF-4195] Automation tests for SSO login with implicitFlow false (#4410)
* [ADF-4195] Automation tests for SSO login with implicitFlow false

* rebase

* fix test sso implicit flow false

* lint fix

* fix test
2019-03-19 15:00:26 +00:00
cristinaj a04077679c [ADF-4045]Add Delete folder when infinite scrolling is enabled test. (#4400)
* Add Delete folder when infinite scrolling is enabled test.

* Changed the number of files.

* Fix lint errors

* no message

* no message

* Fix infinite-scrolling test
2019-03-19 10:22:17 +00:00
Eugenio Romano cee34922ca fix submenu 2019-03-19 01:21:14 +00:00
Eugenio Romano 2f4da55e67 [ADF-3978] execute docker step only in PR branch (#4451)
* execute docker step only in PR branch

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml
2019-03-18 18:53:40 +00:00
Eugenio Romano 43764824a2 fix test 2019-03-18 17:36:36 +00:00
Georgiana Roman aa3464a7d9 ADF-4201 About Component - added input params (#4435)
* ADF-4201 about-component added imput params

* ADF-4201 updated docs
2019-03-18 14:34:42 +00:00
davidcanonieto 3e29c7cd9d [ADF-4162] Add includeAll/exclude capabilities to metadata config (#4436)
* [ADF-4162] Add includeAll/exclude capabilities to metadata config

* Revert app config

* Update documentation

* fix schema change
2019-03-18 12:45:08 +00:00
Silviu Popa 791051edee [ADF-4128] ProcessCloud - add complete task directive (#4364)
* [ADF-4128] ProcessCloud - add complete task directive

* [ADF-4128]  ProcessCloud - fix completion functionality and add documentation

* [ADF-4128] ProcessCloud - PR changes

* [ADF-4128] ProcessCloud - lint

* [ADF-4148] ProcessServicesCloud - change layout

* [ADF-4128] fix PR changes

* [ADF-4128] - refractor complete task directive

* [ADF-4128] - fix lint

* [ADF-4128] - PR changes

* [ADF-4128] - replace isCompleted method  from service with model method

* [ADF-4128] fix unit tests

* [ADF-4128] - change travis yml

* [ADF-4128] - fix travis.yml

* [ADF-4128] - travis lint
2019-03-18 12:34:08 +00:00
Denys Vuika e586ee17d5 fix package lock 2019-03-18 12:22:21 +00:00
Silviu Popa 2adfe67e83 [ADF-4124] DemoShell - Show task-list inside process-cloud-details (#4420)
* [ADF-4124] DemoShell - Show task list inside process-cloud details

* [ADF-4124] ProcessServiceCloud - remove process header files

* Revert changes

* [ADF-4124] - add missing files

* [ADF-4124] - add process-cloud header in process details

* [ADF-4124] - change process details layout

* [ADF-4124] - lint
2019-03-18 12:10:57 +00:00
Silviu Popa 0d611030a1 [ADF-4233] DemoShell - change nested menu layout (#4438) 2019-03-18 12:08:53 +00:00
rgherghelas 5f17ee0b01 [ADF-4149] - Moved the StartTasksCloudComponent/TaskDetailsCloudComponent pages (#4407)
* moved the taskDetailsCloudComponent page and startTaskCloudComponent page

* update the import and fix tests

* update import and tests

* update exports

* update imports

* remove comment and index.ts

* update imports and class name

* remove comment

* Modify task-details-cloud-component page name in task-header-cloud-component

* update method

* remove user-info-dialog

* remove task details page

* revert task details changes

* revert changes
2019-03-18 11:58:39 +00:00
Eugenio Romano 2e9c57cf45 Update .travis.yml 2019-03-18 02:22:58 +00:00
Eugenio Romano 7cced3f55a Update .travis.yml 2019-03-18 02:13:16 +00:00
Eugenio Romano 51feafff1e Update .travis.yml 2019-03-18 01:42:08 +00:00
Eugenio Romano 9d98f3196e [NO-ISSUE] Fix Core E2E tes (#4450)
* fix Identity service in core using internal identity service in test env

* fix lint

* fix lint

* fix login

* fix travis yml

* remove log script
2019-03-18 00:18:56 +00:00
davidcanonieto 8dc9eba4c7 [ADF-3677] Add highlight configuration to SearchQueryBuilder (#4358)
* [ADF-3677] Add highlight configuration to SearchQueryBuilder

* highlight property in search

* Update files.component.ts

* remove comma

* highlight missspell

* fix schhema json highilight

* fix test

* fix lint

* fix lint

* fix lint

* fix search sorting tests

* fix search sorting

* fix lint

* remove useless test

* check for null nodes

* remove duplicated test

* lint

* fix sorting tests

* remove test not search component related
2019-03-17 17:23:07 +00:00
gmandakini d6f391c40e [ADF-4106] Permissions Component automated (#4449)
* Permissions Component automated

* linting fixes

* making tests stable

* making tests stable

* making tests stable
2019-03-17 01:15:37 +00:00
Denys Vuika 94cd14bf71 fix responsiveness issues for empty screen (#4389)
* fix responsiveness issues for empty screen

* fix test

* fix test
2019-03-16 15:23:39 +00:00
gmandakini fc2132e248 [AD-4222] e2e compilation fixes (#4426)
* Run tsc on the e2e folder and as part of the sh script

* in progress

* in progress

* in progress

* in progress

* in progress

* in progress

* fixing compile errors

* fixing compile errors.

* Fix the apiService and exclude nodemodules

* Add semicolumn

* fix import

* fix configuration test package

* fix

* fix errors

* fix typescript

* restore packages.json

* fix errors after rebase

* fix type prolems and add protracotr path mapping

* remove undefined
2019-03-15 23:11:58 +00:00
davidcanonieto f891ea3df5 Fix redirection to tasks tab on process task click (#4446)
* [ADF-4076] Fix redirection to tasks tab on process task click

* [ADF-4076] Remove unneeded code
2019-03-15 17:49:18 +00:00
Andy Stark dafda33740 [ADF-588] Explicitly added task/process list model classes to docs (#4447)
* [ADF-588] Added short clarifications of where task/proc list props are defined

* [ADF-588] Added short clarifications of where task/proc list props are defined

* [ADF-588] Fixed links and merge glitches
2019-03-15 17:48:44 +00:00
Andy Stark 74738f1f8b [ADF-4249] Started doc review for 3.1 (#4448)
* [ADF-4249] Reviewed new proc cloud component docs

* [ADF-4249] Reviewed Preview extension component docs
2019-03-15 17:48:20 +00:00
Andy Stark 48b685fe25 [ADF-4160] Fixed default props description for cont metadata card docs (#4445) 2019-03-15 17:47:37 +00:00
arditdomi e7197b9bd2 [ADF-1954] Fix breadcrumb on IE 11 (#4442) 2019-03-15 12:06:39 +00:00
davidcanonieto 60ed8655e6 [ADF-4205] Fix permission error snackbar (#4444) 2019-03-15 11:47:40 +00:00
Eugenio Romano cd24875e5d add clean env script 2019-03-15 11:41:20 +00:00
Eugenio Romano 9a49fc3dbc new dialog import js-api 2019-03-15 00:08:30 +00:00
Eugenio Romano 88870cd4da [ADF-NO-ISSUE] update e2e js-api 3 (#4124)
* update e2e js-api node

* fix protractor import

* use new client

* fix protractor conf comaptibility

* processClient fix

* new js-api

* fix new import

* fix identity call

* fix identity call

* remove aut param

* fix model

* fix model

* increase timeout CS bigFile

* Refactor task details e2e tests

* Fix e2e test

* Rebase branch
2019-03-15 00:06:55 +00:00
Eugenio Romano 8126dfc6cb restore two step docker deploy 2019-03-14 23:54:36 +00:00
davidcanonieto ebf6610cd0 [ADF-4076] Fix redirection to tasks tab on process task click (#4437) 2019-03-14 22:04:35 +00:00
Andy Stark 31479cfaa4 [ADF-4152] Restructured remaining doc folders and fixed links (#4441)
* [ADF-4152] Moved proc services cloud docs to subfolders

* [ADF-4152] Fixed links in PS cloud docs

* [ADF-4152] Added subfolders and checked links for extensions and insights docs

* [ADF-4152] Moved proc services cloud docs to subfolders

* [ADF-4152] Fixed links in PS cloud docs

* [ADF-4152] Added subfolders and checked links for extensions and insights docs

* [ADF-4152] Fixed links in Proc cloud, Insights and Extensions docs

* [ADF-4152] Updated links in user guide

* [ADF-4152] Fixed broken links in tutorials

* [ADF-4152] Fixed remaining links in core docs

* [ADF-4152] Fixed remaining links in proc services docs

* [ADF-4152] Fixed remaining links in content services docs

* [ADF-4152] Fixed links in breaking changes docs

* [ADF-4152] Updated main README index page

* [ADF-4152] Fixed glitches with preview ext component docs
2019-03-14 22:01:55 +00:00
davidcanonieto 8edf92f325 [ADF-4205] Fix console error when adding user or group in Permissions Page (#4440) 2019-03-14 22:01:29 +00:00
Andy Stark e49ba58d65 [ADF-4239] Updated and moved ADF introduction page (#4434)
* [ADF-4239] Updated introduction text and moved to docs folder

* [ADF-4239] Fixed bad link
2019-03-14 11:43:07 +00:00
Andy Stark ae12e3f019 [ADF-4228] Started basic doc for RTL support (#4432) 2019-03-14 11:36:24 +00:00
gmandakini ced2e05d10 ADF-3735 automated (#4433) 2019-03-14 11:22:45 +00:00
Eugenio Romano f1014706cf squash task pipeline 2019-03-14 03:20:19 +00:00
Eugenio Romano 7bc2fafcca fix metadata test 2019-03-14 02:30:24 +00:00
Eugenio Romano 4c8bd831f0 fix pr deploy script 2019-03-13 21:04:17 +00:00
Andy Stark dfea5c2f04 [ADF-4152] Restructured Content Services docs (#4429)
* [ADF-4152] Moved content services docs to subfolders

* [ADF-4152] Manual URL fixes for cont services docs

* [ADF-4152] Moved content services docs to subfolders

* [ADF-4152] Manual URL fixes for cont services docs

* [ADF-4152] Updated doc index pages for content services
2019-03-13 18:44:37 +00:00
siva kumar bc5208b767 [ADF-3977] EditProcessComponent - Be able to change the sort and actions (#4250)
* [ADF-3883] Improve edit-process-filter-cloud by adding inputs to control filters, sort and actions

* Provided an input to pass sort properties
* Provided an input to pass filter actions
* Provided a way to configure sort properties and actions

* * Updated unit tests to the recent changes
* Fixed order should be visible if sort as been added to the config
* Fixed if lastModified if defined the component should show the range lastModifiedTo lastModifiedFrom
* Updated doc

* * Removed ProcessFilterActionType* Renamed state to status* Refactored edit-process-filter * Updated doc

* * After rebase

* * Fixed editProcessFilter e2e tests.

* * Removed unwanted comment

* * After rebase

* * After rebase

* * After rebase
2019-03-13 17:10:19 +00:00
Eugenio Romano 2b5b915d55 not store locale if not present in app.config.json or changed by the language picker (#4431) 2019-03-13 16:50:34 +00:00
Marouan Bentaleb 5193a42983 [ADF-4197] Automation test for redirection after page reload (#4412)
* [ADF-4197] Automation test for redirection after page reload

* Removing browser sleep
2019-03-13 14:54:04 +00:00
davidcanonieto 250e5e52c4 [ADF-4196] Improve Datatable component row click selection (#4411) 2019-03-13 12:12:33 +00:00
Silviu Popa 9c33eeeb81 [ADF-4068] ProcessServices/TaskDetails - disable save button on validation errors (#4414)
* [ADF-4068] StartTaskComponent - fix name and description empty space validation

* [ADF-4068] StartTakComponent - add unit test

* [ADF-4068] ProcessServices - add description validaton on edit task form

* [ADF-4068] ProcessServies - fix build issue

* [ADF-4068] ProcessServices - disable save button on validation errors

* [ADF-4068] - lint

* [ADf-4068] - fix e2e
2019-03-13 11:56:31 +00:00
Silviu Popa 3a7376af9f [ADF-4159] DemoShell - add nested menu on ProcessCloud (#4385)
* [ADF-4159] DemoShell - add nested menu on ProcessCloud

* [ADF-4159] DemoShell - fix e2e tests

* [ADF-4159] DemoShell fix typo

* [ADF-4159] - fix e2e lint

* [ADF-4159] - change app nested menu for process list

* [ADF-4159] - lint
2019-03-13 11:37:00 +00:00
Deepak Paul 574cc9c1a6 [ADF-4123] Process Cloud Instance Details Header component (#4418)
* [ADF-4123] Added service to get process instance details

* [ADF-4123] Added process header component

* [ADF-4123] Added more properties to model

* [ADF-4123] Exported process sidebar

* [ADF-4123] Added new process instance details demo component

* [ADF-4123] Added tests for module

* [ADF-4123] Added tests for process-header

* [ADF-4123] Added documentation
2019-03-13 11:33:40 +00:00
Vito 0b218f0978 [ADF-4223] Exporting folder-name validators to allow reuse (#4424) 2019-03-13 10:48:25 +00:00
gmandakini fca9e51c16 [ADF-3401] Filter facets are not reseted when updating the search query (#4425)
* C299200 automated

* Test package version

* Save the head of development into a tmp file (this will avoid error in case of rebase meanwhile the pipeline is running)
Remove the -gnu in the wrong position

* Update test-e2e-lib.sh

* Print adf version on each step

* Print adf version on each step

* Add console log and skip install on the unit test demo shell

* Remove the print dependendy
2019-03-13 10:39:55 +00:00
Eugenio Romano 3136580bba [ADF-4225] Viewer extension accept multiple file type (#4427)
* viewer extension can target multiple types.

* fix lint
2019-03-12 21:18:09 +00:00
Andy Stark 5fc05da7aa [ADF-4152] Updated folder structure of core docs (#4415)
* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Moved core library docs into subfolders

* [ADF-4152] Manual fixes to core doc file links

* [ADF-4152] Further automatic + manual link tidying
2019-03-12 14:20:20 +00:00
gmandakini 285e56e9fb [ADF-4166] move app-list-cloud.page to adf-testing (#4404)
* in progress

* moved UserInfoDialogPage, AppListCloudPage, LoginSSOPage and TabsPage. ADF-4166

* moved UserInfoDialogPage, AppListCloudPage, LoginSSOPage and TabsPage. ADF-4166

* linting fixes

* crc's

* crc's

* added adf-testing to package.json file

* fix for failing unit tests

* fixes

* test failure fixes

* test failure fixes

* reverted ot old location pages/adf/navigationBarPage

* added the testing variable to affected-libs file and changed the version to 3.1.0-beta5 and added the missing adf-content-services dependency.

* Fix the material export

* Remove the reference to the tse2econfig not allowed

* fix failing test

* Update user-info.page.ts
2019-03-12 10:00:09 +00:00
Marouan Bentaleb 4feb8c3f95 [ADF-4208] Make the pipeline green again (#4419)
* [ADF-4209] Fix Core tests

* [ADF-4209] Fix Core tests

* [ADF-4218] Fix Insight tests

* Fix process-services-cloud tests
2019-03-12 09:55:50 +00:00
gmandakini 117170a433 [ADF-4083] Parse 'escaped' empty spaced labels inside facetFields (#4390)
* C299124 - automated

* C299124 - automated
2019-03-08 15:38:12 +00:00
cristinaj 88b49b8c66 Remove wait for spinner from editTaskFilterCloudComponent test (#4408) 2019-03-08 14:30:46 +00:00
gmandakini 10699cb7b0 [ADF-3989] appname duplicated after switching between saved filters (#4395)
* C297646 - automated

* linting fixes
2019-03-08 13:30:50 +00:00
Andy Stark 8b8f1e147f [ADF-4190] Fixed bad auto-generated URLs (#4413)
* [ADF-4190] Tool + config updates to fix Typedoc issues

* [ADF-4190] Added missing AppDefinitionRepresentation link
2019-03-08 13:29:06 +00:00
cristinaj ec13d88e61 [ADF-4061]Automate test for navigating to a non empty folder on last page (#4392)
* Create folders

* Add navigation to a non-empty folder test
2019-03-08 13:27:46 +00:00
Marouan Bentaleb 27c6e18a10 [ADF-4089] Refactoring ContentListPage (#4162)
* [ADF-NO-ISSUE] Refactoring ContentListPage

* Applying changes

* [ADF-4089] contentListPage refactoring

* Fixing missing dependencies

* Fixing core and search failing tests

* Fix tooltip document-list tests

* no message
2019-03-08 10:49:23 +00:00
davidcanonieto 88ef01011e [ADF-3945] Add Infinite Pagination to configuration editor (#4388)
* [ADF-3945] Add Infinite Pagination to configuration editor

* [ADF-3945] Switch to user preference instead of app config

* Update content-node-selector-panel.component.scss
2019-03-08 00:15:26 +00:00
Eugenio Romano 9344dbe969 Update cspell.json 2019-03-06 20:36:01 +00:00
Andy Stark e74f545aa8 [ADF-4152] Updated doc folder structure and index tool (#4403)
* [ADF-4152] Initial GraphQL implementation

* [ADF-4152] Schema updates

* [ADF-4152] Rounded out basic fields

* [ADF-4152] Added basic template functionality

* [ADF-4152] Added full template generation

* [ADF-4152] Moved proc services doc files to new folders

* [ADF-4152] Updated README.md with section from new template

* [ADF-4152] Fixed another problem with relative URLs

* [ADF-4152] Fixed links and some more bugs

* [ADF-4152] Removed proc services folder README file
2019-03-06 20:23:31 +00:00
Andy Stark 75b90c5e08 [ADF-4189] Improved document list prop description (#4405) 2019-03-06 17:12:22 +00:00
Silviu Popa f7a399c3e8 [ADF-4048] PeopleCloudComponent - improve preselect input functionality (#4286)
* fix conflicts

* [ADF-4048] - fix add same user on multiple selection

* [ADF-4048] PeopleCloudComponent change validation users functionality

* [ADF-4048] PeopleCloudComponent - focus input when preselected user exists

* [ADF-4048] PeopleCloudComponent - pull request changes

* [ADF-4048] - lint

* [ADF-4048] PeopleCloud - PR changes

* [ADF-4048] - fix conflicts

* [ADF-4048] fx lint
2019-03-06 13:26:51 +00:00
davidcanonieto 5d3f47eacf [ADF-4122] Improve Datatable and fix broken e2e tests (#4398)
* [ADF-4122] Improve Datatable and fix broken e2e tests

* [ADF-4122] Fix e2e element selector
2019-03-06 13:19:55 +00:00
Denys Vuika f6341e31a0 [ADF-4183] improved auth redirection (#4399)
* base auth guard implementation

* remove code duplication

* unit test fixes
2019-03-06 13:14:23 +00:00
Eugenio Romano bf331f1145 enable arabic in the menu 2019-03-06 11:23:27 +00:00
Eugenio Romano aba5674e80 [ADF-3735] SSO Role guard and Login error improvement (#4377)
* fix lint and doc

* Update auth-guard-sso-role.service.md

* Update auth-guard-sso-role.service.md

* fix json en

* restore en.json file
2019-03-06 09:53:43 +00:00
Eugenio Romano 0802ff7e7d arabic support (#4397) 2019-03-05 17:33:29 +00:00
davidcanonieto a0007d82b2 [ADF-4156] Regression - Return ISO format for date properties on Task List Component (#4393) 2019-03-05 14:51:48 +00:00
Suzana Dirla fb11cc879d [ADF-3401] Search filters - fix facet update (#4249)
* [ADF-3401] refactoring - different way to call the facet parsers

* [ADF-3401] fix duplicate search call

* [ADF-3401] add new fields and buckets from the response

- If a facet is already displayed, just update the bucket count, else add the new facet to the responseFields
- this way any existing filters are preserved, the collapsed state is preserved, facet selection is preserved

* [ADF-3401] reset & clear all selections buttons

* [ADF-3401] delete facets that are not in the response

- for better UX, prevent deletion of items from the category where there is a selected item
- clean-up reset buttons

* [ADF-3401] apply filters to the newly created items

* [ADF-3401] update tests

* [ADF-3401] fix after rebase

* [ADF-3401] Code refactoring

* [ADF-3401] show count value inside tooltip

* [ADF-3401] translatable strings

* [ADF-3401] move 'Clear all selections' button to search-chip-list

* [ADF-3401] option to configure having a reset button for filters

* [ADF-3401] code cleanup and improvements after review

* Update lib/content-services/search/components/search-filter/search-filter.component.ts

Co-Authored-By: suzanadirla <dirla.silvia.suzana@gmail.com>

* [ADF-3401] Better namings

* fix failing e2e tests on search radio

* [ADF-3401] add documentation for search resetButton
2019-03-05 14:08:38 +00:00
Silviu Popa 933a7256a3 [ADF-4068] ProcessServices - add description validation on Edit Task Form (#4366)
* [ADF-4068] StartTaskComponent - fix name and description empty space validation

* [ADF-4068] StartTakComponent - add unit test

* [ADF-4068] ProcessServices - add description validaton on edit task form

* [ADF-4068] ProcessServies - fix build issue
2019-03-05 12:37:18 +00:00
Eugenio Romano 1fef1e14ff split upload files to optimize re-execute in case of failing 2019-03-05 00:05:50 +00:00
Eugenio Romano dc785ab445 reverted [ADF-4122] Improve ellipsis class in Datatable component (#4386) 2019-03-04 22:48:07 +00:00
Eugenio Romano bf09b6b25b fix spellcheck 2019-03-04 19:48:02 +00:00
gmandakini cc1accff28 Automate ADF-3497 - Facet intervals on search filter (#4379) 2019-03-04 17:40:31 +00:00
davidcanonieto f8d183b606 [ADF-4122] Improve ellipsis class in Datatable component (#4386) 2019-03-04 17:37:33 +00:00
Eugenio Romano bce7c0993e change cancel big file upload e2e strategy 2019-03-04 17:09:57 +00:00
cristinaj 64cd91d66d [ADF-3873] Implement automated tests for edit process filter cloud (#4118)
* Implement edit process filter tests

* Added tests to edit-process-filters-component.e2e.ts

* Fix lint error

* Rebase

* Fixing a part of the existent tests for edit-process

* no message

* Fixing the tests.

* Fixing edit process filter tests

* Fixing lint errors.

* Remove some waits

* Removed some more waits

* Delete a file that is not used.

* Fix edit process filter tests

* Update editProcessFilterCloudComponent.ts

* Remove checkSpinnerIsDisplayed() check from tests

* Moved clickCustomiseFilterHeader() to beforeEach()
2019-03-04 16:47:58 +00:00
Eugenio Romano b5631b9a7f pre publish script to fix the needs of removing packcage 2019-03-04 15:10:23 +00:00
Denys Vuika d6f856f1c5 [ADF-4158] improved Docker image security (#4371)
* improved Docker image security

* remove layer duplication

* update scripts
2019-03-04 11:18:32 +00:00
Eugenio Romano bbf1f20439 Update ADF packages version 3.1.0-beta4 (#4378) 2019-03-04 11:16:30 +00:00
maurizio vitale 5d697d69e3 Move the readme of testing 2019-03-03 22:30:50 +00:00
Maurizio Vitale 8ea4e164ff Add basic Readme and exclude bundle checks (#4384) 2019-03-03 21:49:23 +00:00
Maurizio Vitale cd069fbc58 Change name of testing project and bundle size (#4383) 2019-03-03 19:02:56 +00:00
Maurizio Vitale 414e4656cc Add build testing to ng packager (#4382) 2019-03-03 16:48:23 +00:00
Maurizio Vitale ce2ced97e5 Add build testing to ng packager (#4381) 2019-03-03 15:24:16 +00:00
Maurizio Vitale 0afc5e95b4 add adf-testing to the pipeline and publish (#4380) 2019-03-03 12:56:20 +00:00
gmandakini 3ac0018160 [ADF-4126] add roles filtering to people cloud component (#4338)
* in progress

* in progress testcase C297674

* linting fixes

* modularised clear field method

* made the appearance of select user dropdown work.

* in progress

* final version

* linting fixes

* linting fixes

* in progress

* in progress testcase C297674

* linting fixes

* modularised clear field method

* made the appearance of select user dropdown work.

* in progress

* final version

* linting fixes

* linting fixes

* ADF-4103 automated

* in progress

* Roles Filter automated

* async updates

* removed the identity User details

* roleId extraction done.

* linting fixes

* using constants instead of hardcoding the typing values.

* crc's

* crc's

* linting

* removed hte indexes, as api returns only 1 user record.

* fixed errors

* in progress

* redoing the tests as the PeopleGroupCloudPage has been updated.

* redoing the tests as the PeopleGroupCloudPage has been updated.
2019-03-01 23:10:00 +00:00
davidcanonieto 222b42d5b4 [ADF-3861] Make datatable 508 compliance according (#4375)
* [ADF-3861] Make datatable 508 compliance according

* [ADF-3861] Rebase branch
2019-03-01 17:57:25 +00:00
davidcanonieto 7da9bd89cb [ADF-4122] Add sticky header feature to datatable and refactor styles (#4370)
* [ADF-4122] Add sticky header config to datatable and refactor styles

* [ADF-4122] Fix core unit tests

* [ADF-4122] Commit requested changes

* [ADF-4122] Fix e2e tests

* Update docs/core/datatable.component.md

Co-Authored-By: davidcanonieto <david.cano@alfresco.com>
2019-03-01 16:23:31 +00:00
Maurizio Vitale a7d058fd2e Process Service Cloud - Add the identity user service (#4374)
* Add the identity service to cloud

* Expose the service
2019-03-01 16:19:41 +00:00
Maurizio Vitale 249d688820 adf-testing - Cloud - Move user info e2e to adf-testing (#4369)
* Move user info e2e to adf-testing

* Create testing wrapper for the api sevice
2019-03-01 16:18:53 +00:00
cristinaj 3adc569b0a [ADF-4015] Implementing edit task filter automated tests (#4337)
* Added a few test cases to cover task list and edit task filters cloud components properties.

* Add tests for task name property.

* Add processInstanceId tests

* Added lastModifiedTo and lastModifiedFrom tests.

* Added tests for all the properties

* Add selectionMode tests.

* Add selectionMode tests

* Update task-list-selection.e2e.ts

* [ADF-4015] Fix lint issues

* Using clearField

* Modified selection tests

* Fixing selection tests

* no message

* Fix spelling

* Removed a sleep from the test

* Fix siteListDropDown locator
2019-03-01 09:53:50 +00:00
davidcanonieto e08bb1ebed [ADF-4023] Demo-shell - Fix pagination in tasks list (#4372) 2019-02-28 14:39:34 +00:00
gmandakini 00ba61cdea [ADF-4105] Role Site Dropdown is Displayed (#4356)
* in progress

* C277002 - Role Site Dropdown automated.

* C277002 - Role Site Dropdown automated.

* async updates

* async updates

* in progress

* fixed errors

* Fixing tests

* fixed errors
2019-02-28 09:38:09 +00:00
Eugenio Romano 596e801283 [ADF-3444] Site list displays only a certain number of sites. (#4368)
* add infinite scrolling to sites loading

* add infinite scrolling to sites loading

* add infinite scrolling to sites loading
2019-02-27 22:25:25 +00:00
Eugenio Romano fb12da4ae0 [ADF-NO-ISSUE] remove unused pacakges (#4352)
* remove unused pacakge

* Update package.json

tsickle reintroduce
2019-02-27 11:56:22 +00:00
Marouan Bentaleb cd5870790d [ADF-4151] Automation test for code viewer (#4355) 2019-02-27 09:12:47 +00:00
cristinaj bfe046637a [ADF-3995]Implemented test cases for preserved value for process filter (#4353)
* Implemented test cases for preserved value for process filter

* Update process-custom-filters.e2e.ts
2019-02-27 09:11:14 +00:00
Silviu Popa 49edeb7468 [ADF-4153] TaskListCloud - fix details page redirect issue (#4360) 2019-02-26 23:54:42 +00:00
Suzana Dirla 9530cc3dcb [ADF-4154] add FileTypePipe to module's providers (#4362) 2019-02-26 23:53:25 +00:00
Eugenio Romano 30c5965dc4 whitelist greenkeeper 2019-02-26 12:14:40 +00:00
Eugenio Romano 3d771aef3e name update pkg stages 2019-02-26 12:10:43 +00:00
Francesco Corti 69b3591e95 uodated roadmap. (#4359) 2019-02-26 10:56:20 +00:00
Silviu Popa 898d62477e [ADF-4038] People/GroupCloudDemo - add appName filter (#4283)
* [ADF-4038] - People/Group Cloud Component add app name filter

* [ADF-4038] add unit test, modify ngOnChange appName condition

* [ADF-4038] People/GroupCloudDemo - add radio button to filter application name or roles
2019-02-26 09:41:42 +00:00
Denys Vuika 8901261ec9 Update login.component.md 2019-02-26 09:18:32 +00:00
Silviu Popa 0aaa6bea16 [ADF-4068] StartTaskComponent - fix name and description empty space … (#4351)
* [ADF-4068] StartTaskComponent - fix name and description empty space validation

* [ADF-4068] StartTakComponent - add unit test
2019-02-25 19:53:20 +00:00
Suzana Dirla 71dca95749 [ADF-4083] search facetIntervals - empty spaced labels support (#4327)
* [ADF-4083] fix space-label issue for intervals

* [ADF-4083] remove mention to [SEARCH-1487] issue

- for future reference, also check https://issues.alfresco.com/jira/browse/ADF-4144

* [ADF-4083] add missing types

* [ADF-4083] refactor method

* [ADF-4083] fix test

* [ADF-4083] small refactoring

* [ADF-4083] better param naming

* [ADF-4083] changes after rebase - keep better param naming

* [ADF-4083] fix space-label issue for the sets of intervals

* [ADF-4083] update test
2019-02-25 19:49:36 +00:00
davidcanonieto 777a15f92d [ADF-4147] Add task details redirection toggle in cloud settings page (#4350) 2019-02-25 15:50:43 +00:00
Andy Stark 5a4a2bd9fe [ADF-4008] Added column keys to en.json for proc list cloud (#4354) 2019-02-25 15:38:51 +00:00
Eugenio Romano dcc5095326 remove duplicate branches only travis conf 2019-02-25 15:29:24 +00:00
Venu 475a2211fc 4345- Text File Viewer withCredentials (#4349)
* 4345-Text File Viewer not passing withCredentials

* added new line
2019-02-25 12:37:13 +00:00
gmandakini aca5fd10aa ADF-4103 automated (#4348) 2019-02-25 11:37:54 +00:00
gmandakini 70c523546a [ADF-4066] Start task form with no assignee is saved as unassigned task (#4347)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix

* test automated - C268974

* test automated - C268974

* crc's

* crc's

* crc's

* crc's

* linting fix

* added automation for C276980 - Duplicate User or Group

* merged the overlapping testcases

* Changed  checkUserHasRoleSelected to use datatable methods

* changed hte usernames to something more relevant and readable.

* [ADF-4066] Should create a task unassigned when assignee field is empty … (#4334)

* C297675 Should create a task unassigned when assignee field is empty in Start Task form automated

* linting fixes and updated some locators which are returning more than 1 result back when running this test, as part of best practices.

* using hte new method added as it's more efficient, getIdCellValue

* linting fixes

* updates

* updated the taskname variables to more meaningful ones.

* added data-automation-id for better test locators.
2019-02-25 11:35:55 +00:00
Silviu Popa 687257e45e [ADF-4143] EditTaskFilterComponent - change date format (#4342)
* [ADF-4143] EditTaskFilterComponent - change date format

* [ADF-4143] EditTaskFilter - fix date filtering

* [ADF-4143] - lint

* [ADF-4143] - refractor

* [ADF-4143] - fix failing unit test

* [ADF-4143] EditTaskFilter - replace datepicker form-control with ngModel
2019-02-25 10:27:32 +00:00
Eugenio Romano ae1fbd523a fix aspect orient config e2e core 2019-02-24 22:43:42 +00:00
Silviu Popa 5d024cf22a [ADF-3995] - EditProcessFilterCloud - fix processInstanceId filter property (#4339) 2019-02-22 14:30:38 +00:00
gmandakini c066a2f36b [ADF-4100] Automate Permission Role dropdown for User (#4331)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix

* test automated - C268974

* test automated - C268974

* crc's

* crc's

* crc's

* crc's

* linting fix

* added automation for C276980 - Duplicate User or Group

* merged the overlapping testcases

* Changed  checkUserHasRoleSelected to use datatable methods

* changed hte usernames to something more relevant and readable.
2019-02-22 14:28:56 +00:00
Eugenio Romano bda7e07b52 [ADF-4125] simplify extension load in extension module (#4214)
* add extension load in extension module

* add viewer extensions

* fix license header

* fix node passed in the viewer extension

* fix node passed in the viewer extension

* startup factory extension

* startup factory extension

* fix script

* fix beta tag build

* fix build

* fix build

* refactoring configuration files

* extension using map

* fix build

* fix config

* fix test

* fix test
2019-02-22 14:19:41 +00:00
cristinaj bf4d1a2806 [ADF-4121] Fix tasks-custom-filters test (#4329)
* Fix tasks-custom-filters test

* Changed the locators for edit task cloud component to be unique.
2019-02-22 10:50:37 +00:00
Silviu Popa b967b77946 [ADF-4068] StartTaskComponent - add description empty space validator (#4341)
* [ADF-4068] StartTaskComponent - add description empty space validator

* [ADF-4068] StartTaskCloudComponent - add unit tests

* [ADF-4068] - lint
2019-02-22 01:48:22 +00:00
Suzana Dirla bfec78aec9 [ADF-4083] search facetFields - empty spaced labels support (#4322)
* [ADF-4083] ignore wrapping quotes for facet labels

- bucket selection needs fixing

* [ADF-4083] fix bucket selection

- generate missing filterQuery values

* [ADF-4083] fix label display

* [ADF-4083] renaming

* [ADF-4083] support also single quotes label wrappings

- update documentation
- tests

* [ADF-4083] automatically escape facet field labels having spaces - better fix

* [ADF-4083] remove unneeded mentions from documentation

* [ADF-4083] clean-up code

* [ADF-4083] better naming param

* [ADF-4083] small refactoring
2019-02-21 12:49:47 +00:00
Silviu Popa 877c57b356 [ADF-4067] Process Service Cloud change applicationName input (#4299)
* [ADF-4047] Process Service Cloud change applicationName input

* [ADF-4067] Change applicationName properties and route param name
2019-02-20 18:02:53 +00:00
Popovics András 3a93e07366 Fix wrong types which prevents other apps to build upon local copies of it (#4335) 2019-02-19 20:14:40 +00:00
dhrn 2cbc5914b0 [ADF-4099] The metadata group is always showed even though the properties are not there (#4328)
* [ADF-4099] The metadata group is always showed even though the properties are not there

* [ADF-4099] * unit test fixed
2019-02-19 16:00:16 +00:00
Silviu Popa 3739424953 [ADF-3863] - DocumentList add accesibility tags for file type and for… (#4186)
* [ADF-3863] - DocumentList add accesibility tags for file type and for rows template

* [ADF-3863] - DocumentList add pipe for file type accesibility tags

* [ADF-3863] - DocumentList add pipe for file type accesibility tags

* [ADF-3863] DocumentList - change FiletType pipe to pure
2019-02-19 15:54:54 +00:00
Maurizio Vitale 08231bbf33 adf-testing package (#4152)
* add new lib adf-testing

* fix the prefix

* Improve package

* Add testing project

* remove useless stuff

* Remove useless code
2019-02-19 15:08:41 +00:00
gmandakini 81ec4ed441 [ADF-4012] Should be able to set default columns in adf-process-list-cloud (#4323)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix
2019-02-19 13:12:54 +00:00
davidcanonieto 8594ecdd2e [ADF-4023] Fix pagination layout issue in Process Cloud page (#4306) 2019-02-19 12:01:42 +00:00
davidcanonieto 4072b0a8f6 [ADF-4097] Revert changes in Add comment button (#4332) 2019-02-19 11:59:43 +00:00
Suzana Dirla e34f80aff7 [ADF-3497] Facet intervals on search filter (#4255)
* [ADF-3497] allow facetIntervals on search

* [ADF-3497] update schema json

* [ADF-3497] update json

* [ADF-3497] documentation update

* [ADF-3497] specify that sets are not supported

* [ADF-3497] no spaces on labels - mention

* [ADF-3497] documentation update

* [ADF-3497] update examples & document label key

* [ADF-3497] tests added

* [ADF-3497] testRail id

* [ADF-3497] allow config of custom pageSize values

* [ADF-3497] support mincount filtering also for intervals

* [ADF-3497] support expanded property also for facetIntervals

* remove no longer needed info

- bcs. of PR #4322 fix
2019-02-18 18:51:15 +00:00
Marouan Bentaleb f20a71438c [ADF-NO-ISSUE] Changing locators using arial-label (#4180) 2019-02-18 18:44:17 +00:00
gmandakini 2a2708e5d6 [ADF-4095] Test Inherit Permission (#4325)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix

* test automated - C268974

* test automated - C268974

* crc's

* crc's

* crc's
2019-02-18 18:36:42 +00:00
gmandakini cdcff5b4e8 [ADF-3981] - Should be possible to login with valid credentials (#4231)
* in progress

* updated the hardcoded url to TestConfig one.
2019-02-18 15:18:45 +00:00
Denys Vuika f8549d43aa make search config optional (#4303) 2019-02-18 14:54:57 +00:00
Suzana Dirla 9e5a5ae0a3 Merge pull request #4326 from Alfresco/dev-dcano-ADF-4097
[ADF-4097] Fix add comment section
2019-02-18 14:52:38 +02:00
davidcanonieto 84403a3f3f [ADF-4097] Fix add comment section 2019-02-18 09:37:39 +00:00
Denys Vuika f3e6bde092 update test 2019-02-15 10:07:54 +00:00
Andy Stark 9792fd2390 [ADF-3745] Reviewed breaking changes page (#4320)
* [ADF-3745] Reviewed breaking changes page

* [ADF-3745] Added link to breaking changes in doc index page
2019-02-14 16:26:22 +00:00
Eugenio Romano 1142f510c0 Update RelNote300.md 2019-02-13 21:14:46 +00:00
Eugenio Romano a5348ddeaa Update RelNote300.md 2019-02-13 21:13:41 +00:00
Eugenio Romano 20f60d45e9 restore packages after release 2019-02-13 19:16:05 +00:00
Eugenio Romano d2b6bcf942 remove for release 2019-02-13 17:55:12 +00:00
Eugenio Romano 44c7669e8a update version to 3.0.0 2019-02-13 16:49:40 +00:00
2455 changed files with 138876 additions and 107879 deletions
+37
View File
@@ -0,0 +1,37 @@
# Each line is a file pattern followed by one or more owners.
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# these users will be requested for
# review when someone opens a pull request.
* @eromano @popovicsandras @DenysVuika
# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
# modifies JS files, only @js-owner and not the global
# owner(s) will be requested for a review.
e2e/* @eromano @cristinaj @gmandakini @marouanbentaleb
# You can also use email addresses if you prefer. They'll be
# used to look up users just like we do for commit author
# emails.
#*.go docs@example.com
docs/* @m-hulbert @eromano
# In this example, @doctocat owns any files in the build/logs
# directory at the root of the repository and any of its
# subdirectories.
#/build/logs/ @doctocat
# The `docs/*` pattern will match files like
# `docs/getting-started.md` but not further nested files like
# `docs/build-app/troubleshooting.md`.
#docs/* docs@example.com
# In this example, @octocat owns any file in an apps directory
# anywhere in your repository.
#apps/ @octocat
# In this example, @doctocat owns any file in the `/docs`
# directory in the root of your repository.
#/docs/ @doctocat
+4 -14
View File
@@ -3,32 +3,22 @@ node_modules
bundles
workspace.xml
.idea/
.env.*
dist/
e2e/.env.cloud
tmp
e2e-output/
e2e/downloads/
ng2-components/coverage/
!systemjs.config.js
demo-shell-ng2/app/components/router/
ng2-components/ng2-alfresco-userinfo-old/demo/src/app/
ng2-components/ng2-alfresco-userinfo-old/src/services/bpm-user.service.spec.ts
ng2-components/ng2-alfresco-userinfo-old/src/services/ecm-user.service.spec.ts
src/environments/
/ng2-components/ng2-example-webpack/
/ng2-components/config/coverage/
/e2e/downloads/
*.npmrc
/demo-shell-ng2/ng2-components/
.happypack/
.history
/ng2-components/ng2-alfresco-core/prebuilt-themes/
.ng_pkg_build/
/demo-shell/dist-dev-temp/
/lib/export-new.json
/lib/config/exportCheck.js
/lib/config/export-check/export-new.json
/lib/config/export-check/exportCheck.js
/docs/sourceinfo
/docs/docs.json
/protractorFailuresReport
coverage/
/desktop.ini
out-tsc
+106 -155
View File
@@ -1,12 +1,13 @@
git:
depth: 3
quiet: true
language: node_js
dist: trusty
sudo: required
node_js:
# Use the explicit NodeJS LTS version 8.9.4 to avoid any automatic upgrade of the version.
- '8.9.4'
- '10.16.0'
install:
echo "no install"
@@ -15,17 +16,31 @@ branches:
only:
- master
- development
- /.*old-env.*/
- /.*next-release.*/
- /.*beta.*/
- /.*greenkeeper.*/
# TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR
stages:
- name: Warm Up Cache
if: branch = master
- name: Warm Up Cache & Lint & Build Dist
if: branch != master
- name: Lint & Build Dist
if: type = pull_request
- name: Lint & Build Dist & Release
if: (type = push OR type = cron) AND tag IS blank
- name: Check bundle
if: type = push AND tag IS blank
- name: Unit test
if: type != cron AND tag IS blank
- name: Update Rancher
if: type = push AND tag IS blank
- name: e2e Test
- name: Create Docker PR
- name: Deploy Docker PR
if: type != cron AND tag IS blank
- name: Update Rancher PR
if: type = pull_request
- name: Update Children Projects
if: branch = master AND type = push OR (tag =~ .*beta.*)
- name: Release beta tag
if: type = cron
addons:
chrome: stable
@@ -39,160 +54,96 @@ before_install:
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
branches:
only:
- master
- development
jobs:
include:
- stage: Warm Up Cache
# Run Only for any PR
- stage: Lint & Build Dist
name: Lint & Build Dist
script:
- ./scripts/npm-build-all.sh || exit 1
- stage: Warm Up Cache & Lint & Build Dist
script:
- ./scripts/update-version.sh -gnu -alpha || exit 1
- npm install
- ./scripts/lint.sh || exit 1
- npm run spellcheck || exit 1
- npm run stylelint || exit 1
- rm -rf tmp && (./scripts/smart-build.sh -b $TRAVIS_BRANCH || exit 1;);
- npm run build:dist || exit 1
- ./scripts/license-list-generator.sh
- stage: Unit test
name: core
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "core$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test core --watch=false || exit 1;
fi
- stage: Unit test
name: extensions
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "extensions$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test extensions --watch=false || exit 1;
fi
- stage: Unit test
name: process-services
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test process-services --watch=false || exit 1;
fi
- stage: Unit test
name: insights
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "insights$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test insights --watch=false || exit 1;
fi
- stage: Unit test
name: content-services
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "content-services$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test content-services --watch=false || exit 1;
fi
- stage: Unit test
name: process-services-cloud
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test process-services-cloud --watch=false || exit 1;
fi
- stage: Unit test
name: demo-shell
script: if ([ "$TRAVIS_BRANCH" = "master" ]); then
(./scripts/start.sh -t -ss || exit 1;);
else
(./scripts/start.sh -dev -t -ss -vjsapi alpha || exit 1;);
fi
- stage: Update children projects dependency #Update generator-ng2-alfresco-app
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n generator-ng2-alfresco-app
- stage: Update children projects dependency # Test Update alfresco-content-app
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n alfresco-content-app
- stage: Update children projects dependency # Test Update adf-app-manager-ui
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n adf-app-manager-ui
- stage: Update children projects dependency # Test Update aalfresco-ng2-components
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n alfresco-ng2-components
- stage: Update children projects dependency # Test Update alfresco-modeler-app
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n alfresco-modeler-app
- stage: e2e Test # Test core
name: core
script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "core$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
(./scripts/test-e2e-lib.sh -host localhost:4200 --host_sso "$E2E_HOST_SSO" --host_bpm "$E2E_HOST_BPM" --host_identity "$E2E_HOST_IDENTITY" -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder core --skip-lint --use-dist || exit 1;);
fi
- stage: e2e Test # Test process-services
name: process-services
script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder process-services --skip-lint --use-dist || exit 1;);
fi
- stage: e2e Test # Test content-services
name: content-services
script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder content-services --skip-lint --use-dist || exit 1;);
fi
- stage: e2e Test # Test search
name: search
script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder search --skip-lint --use-dist || exit 1;);
fi
- stage: e2e Test # Test process-services-cloud
name: process-services-cloud
script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
(./scripts/test-e2e-lib.sh -host localhost:4200 --host_sso "$E2E_HOST_SSO" --host_bpm "$E2E_HOST_BPM" --host_identity "$E2E_HOST_IDENTITY" -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder process-services-cloud --skip-lint --use-dist || exit 1;);
fi
- stage: e2e Test # Test insights
name: insights
script:
AFFECTED_E2E="$(./scripts/affected-folder.sh -b $TRAVIS_BRANCH -f "e2e")";
AFFECTED_LIBS="$(./scripts/affected-libs.sh -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
(./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e $E2E_EMAIL -b --folder insights --skip-lint --use-dist || exit 1;);
fi
- stage: Create Docker PR
script: node ./scripts/move-dist-folder.js --base-href $TRAVIS_BUILD_NUMBER && (./scripts/pr-publish.sh -n $TRAVIS_BUILD_NUMBER -r $REPO_DOCKER -u $USERNAME_DOCKER -p $PASSWORD_DOCKER || exit 1)
- stage: Deploy Docker PR
script: node --no-deprecation ./scripts/pr-deploy.js -n $TRAVIS_BUILD_NUMBER -u $RANCHER_TOKEN -p $RANCHER_SECRET -s $REPO_RANCHER --image "docker:$REPO_DOCKER/adf/demo-shell:$TRAVIS_BUILD_NUMBER" --env $ENVIRONMENT_NAME -r $ENVIRONMENT_URL || exit 1
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
# Send coverage data to codecov
after_success:
bash <(curl -s https://codecov.io/bash) -X gcov
# Run Only on Development and master
- stage: Lint & Build Dist & Release
name: Lint & Build Dist & Release
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
- ./scripts/travis/release/release.sh
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
- echo "Running the docker with tag" $TAG_VERSION
- ./node_modules/@alfresco/adf-cli/bin/adf-cli docker-publish --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION,$TAGS" --pathProject "$(pwd)"
- stage: Unit test
name: Unit test content
script: ./scripts/travis/unit-test/content.sh
- stage: Unit test
name: Unit test core extension demo
script: ./scripts/travis/unit-test/core-extension-demo.sh
- stage: Unit test
name: Unit test process process-cloud insights
script: ./scripts/travis/unit-test/process.sh
- stage: Update Children Projects
script: ./scripts/travis/update/update-children.sh
- stage: Release beta tag
script: ./scripts/travis/release/git-tag-beta.sh
- stage: e2e Test
name: core
script: ./scripts/travis/e2e/core-e2e.sh
- stage: e2e Test
name: content
script: ./scripts/travis/e2e/content-services-e2e.sh
- stage: e2e Test
name: search
script: ./scripts/travis/e2e/search-e2e.sh
- stage: e2e Test
name: process
script: ./scripts/travis/e2e/process-services-e2e.sh
- stage: e2e Test
name: process Cloud
script: ./scripts/travis/e2e/process-services-cloud-e2e.sh
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/npm-check-bundles.sh -v ${ADF_VERSION}
- stage: Update Rancher
script:
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
- echo "Update rancher with docker tag" $TAG_VERSION --url $REPO_RANCHER --environment_name $REPO_RANCHER_ADF_NAME
- ./scripts/rancher-update.sh --access_key $RANCHER_TOKEN --secret_key $RANCHER_SECRET --url $REPO_RANCHER --environment_name $REPO_RANCHER_ADF_NAME --image docker:$DOCKER_REPOSITORY:$TAG_VERSION
- stage: Update Rancher PR
name: Update Rancher PR
script: ./scripts/travis/deploy/deploy.sh
before_deploy:
# Set up git user name and tag this commit
- git config --local user.name "Alfresco"
- export TRAVIS_TAG=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
- echo "Create tag:" $TRAVIS_TAG
- git tag $TRAVIS_TAG
deploy:
provider: releases
api_key: $GITHUB_TOKEN
name: $TRAVIS_TAG
body: "Add the release note"
skip_cleanup: true
on:
branch: master
cache:
directories:
- node_modules
+37 -2
View File
@@ -1,6 +1,41 @@
FROM nginx:alpine
# 1. Generate licenses
COPY demo-shell/nginx.conf /etc/nginx/nginx.conf
FROM node:11.9-alpine AS builder
WORKDIR /usr/src/alfresco
COPY package.json package.json
RUN mkdir -p ./licenses && \
yarn licenses list > ./licenses/licenses.txt && \
yarn licenses generate-disclaimer > ./licenses/disclaimer.txt
# 2. Generate image
FROM nginx:stable-alpine
LABEL version="3.0.0"
ARG GROUPNAME=Alfresco
ARG GROUPID=1000
ARG USERNAME=adf
ARG USERID=33011
ARG BUILD_NUMBER
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
COPY ./docker/entrypoint.sh /
WORKDIR /usr/share/nginx/html
COPY demo-shell/dist/ .
COPY --from=builder /usr/src/alfresco/licenses ./licenses
RUN addgroup -g ${GROUPID} ${GROUPNAME} && \
adduser -S -u ${USERID} -G ${GROUPNAME} -s "/bin/bash" ${USERNAME} && \
chown -R ${USERNAME}:${GROUPNAME} ./${BUILD_NUMBER}/app.config.json && \
chown -R ${USERNAME}:${GROUPNAME} /var/cache/nginx && \
touch /var/run/nginx.pid && \
chown -R ${USERNAME}:${GROUPNAME} /var/run/nginx.pid && \
chmod +x /entrypoint.sh && \
chown -R ${USERNAME}:${GROUPNAME} /entrypoint.sh
EXPOSE 8080
USER ${USERNAME}
ENTRYPOINT [ "/entrypoint.sh" ]
+4 -38
View File
@@ -1,39 +1,5 @@
# Introduction to the Alfresco Application Development Framework
The Alfresco Application Development Framework (ADF) is based on the [Angular framework](https://angular.io/).
ADF is provided by Alfresco to make it easy to build custom web applications to manage and view content in the [Alfresco Platform Repository](https://docs.alfresco.com/5.2/concepts/content-repo-about.html).
As you probably know, there is a general user interface called [Alfresco Share](https://docs.alfresco.com/5.2/concepts/gs-intro.html) available out-of-the-box.
Share is usually used as a quick way of getting started with content management in Alfresco. It gives you access to pretty much all
the features provided by the ACS system and a lot of customers customize it for their specific domain.
However, there are use cases that Share does not fit very well, such as:
- Feature-based clients, exposing functionality to perform a specific task(s)
- Role-based clients, exposing functionality based on role
- Clients where the UI layout and style differs significantly from the Share layout and styling
- [Mashup clients](http://whatis.techtarget.com/definition/mash-up)
This is where ADF comes into play. You can use it to create exactly the user interface
(i.e. web client) that you require.
The framework consists of several libraries that can be used to form a customized content management application. The available libraries are:
- [Core](lib/core/README.md)
- [Content Services](lib/content-services/README.md)
- [Process Services](lib/process-services/README.md)
- [Insights](lib/insights/README.md)
You can browse documentation for all the components at the
[ADF Component Catalog](https://alfresco.github.io/adf-component-catalog/).
An overview of the architecture is shown below:
<p align="center">
<img title="alfresco-angular-components-architecture" alt='alfresco' src='assets/alfresco-app-dev-framework-architecture.png'></img>
</p>
Here we can also see that there is an Alfresco JavaScript framework in use that wraps the Alfresco REST API, to make things easier for the client developer.
# Introduction
See the [introduction page](docs/user-guide/adf-introduction.md) in our
[documentation](docs/README.md) for an overview of ADF along with links
to useful starting points.
+1 -1
View File
@@ -14,7 +14,7 @@
<a href='https://github.com/Alfresco/alfresco-ng2-components/blob/master/LICENSE'>
<img src='https://img.shields.io/hexpm/l/plug.svg' alt='license' />
</a>
</p>
</p
## Introduction
+102 -41
View File
@@ -23,9 +23,8 @@
},
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon.ico",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
"demo-shell/src/versions.json",
{
"glob": "**/*",
"input": "demo-shell/resources",
@@ -78,6 +77,8 @@
}
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style.scss"
],
@@ -106,6 +107,14 @@
"with": "demo-shell/src/environments/environment.prod.ts"
}
]
},
"e2e": {
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.e2e.ts"
}
]
}
}
},
@@ -113,11 +122,17 @@
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dist:build",
"port": 3000
"host": "0.0.0.0",
"port": 3000,
"proxyConfig": "demo-shell/proxy.conf.js",
"disableHostCheck": true
},
"configurations": {
"production": {
"browserTarget": "dist:build:production"
},
"e2e": {
"browserTarget": "dist:build:e2e"
}
}
},
@@ -141,14 +156,15 @@
"node_modules/moment/min/moment.min.js"
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style.scss"
],
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon.ico",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
"demo-shell/src/versions.json",
{
"glob": "**/*",
"input": "demo-shell/resources",
@@ -209,7 +225,8 @@
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*"
"**/node_modules/**/*",
"package.json"
]
}
}
@@ -236,7 +253,6 @@
"assets": [
"demo-shell/src/assets",
"demo-shell/src/app.config.json",
"demo-shell/src/versions.json",
{
"glob": "**/*",
"input": "demo-shell/src/assets",
@@ -247,11 +263,6 @@
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "versions.json",
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "**/*",
"input": "demo-shell/resources",
@@ -299,7 +310,7 @@
},
{
"glob": "**/*",
"input": "lib/process-services/i18n",
"input": "lib/process-services/src/lib/i18n",
"output": "/assets/adf-process-services/i18n"
},
{
@@ -324,6 +335,8 @@
}
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style-dev.scss"
],
@@ -352,6 +365,14 @@
"with": "demo-shell/src/environments/environment.prod.ts"
}
]
},
"e2e": {
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"with": "demo-shell/src/environments/environment.e2e.ts"
}
]
}
}
},
@@ -359,11 +380,17 @@
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dev:build",
"port": 3000
"host": "0.0.0.0",
"port": 3000,
"proxyConfig": "demo-shell/proxy.conf.js",
"disableHostCheck": true
},
"configurations": {
"production": {
"browserTarget": "dev:build:production"
},
"e2e": {
"browserTarget": "dev:build:e2e"
}
}
},
@@ -387,13 +414,14 @@
"node_modules/moment/min/moment.min.js"
],
"styles": [
"demo-shell/src/assets/fonts/material-icons/material-icons.css",
"demo-shell/src/assets/fonts/muli/muli.css",
"demo-shell/src/styles.scss",
"demo-shell/src/custom-style-dev.scss"
],
"assets": [
"demo-shell/src/assets",
"demo-shell/src/app.config.json",
"demo-shell/src/versions.json",
{
"glob": "**/*",
"input": "demo-shell/src/assets",
@@ -404,11 +432,6 @@
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "versions.json",
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "**/*",
"input": "demo-shell/resources",
@@ -456,7 +479,7 @@
},
{
"glob": "**/*",
"input": "lib/process-services/i18n",
"input": "lib/process-services/src/lib/i18n",
"output": "/assets/adf-process-services/i18n"
},
{
@@ -489,7 +512,8 @@
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*"
"**/node_modules/**/*",
"package.json"
]
}
}
@@ -516,14 +540,16 @@
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "./protractor.conf.js",
"protractorConfig": "./protractor.conf.ts",
"devServerTarget": "lib-e2e-test:serve"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [],
"tsConfig": [
"./e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**/*"
]
@@ -540,7 +566,7 @@
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/core/tsconfig.json",
"tsConfig": "lib/core/tsconfig.lib.json",
"project": "lib/core/ng-package.json"
},
"configurations": {
@@ -553,7 +579,7 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/core/test.ts",
"tsConfig": "lib/core/tsconfig.json",
"tsConfig": "lib/core/tsconfig.spec.json",
"karmaConfig": "lib/core/karma.conf.js",
"codeCoverage": true,
"sourceMap": true
@@ -563,8 +589,8 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"lib/core/tsconfig.json",
"lib/core/tsconfig.json"
"lib/core/tsconfig.lib.json",
"lib/core/tsconfig.lib.json"
],
"exclude": [
"**/node_modules/**"
@@ -582,7 +608,7 @@
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/content-services/tsconfig.json",
"tsConfig": "lib/content-services/tsconfig.lib.json",
"project": "lib/content-services/ng-package.json"
},
"configurations": {
@@ -595,7 +621,7 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/content-services/test.ts",
"tsConfig": "lib/content-services/tsconfig.json",
"tsConfig": "lib/content-services/tsconfig.spec.json",
"karmaConfig": "lib/content-services/karma.conf.js",
"codeCoverage": true,
"sourceMap": true
@@ -605,8 +631,8 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"lib/content-services/tsconfig.json",
"lib/content-services/tsconfig.json"
"lib/content-services/tsconfig.lib.json",
"lib/content-services/tsconfig.lib.json"
],
"exclude": [
"**/node_modules/**"
@@ -624,7 +650,7 @@
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/process-services/tsconfig.json",
"tsConfig": "lib/process-services/tsconfig.lib.json",
"project": "lib/process-services/ng-package.json"
},
"configurations": {
@@ -636,8 +662,8 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/process-services/test.ts",
"tsConfig": "lib/process-services/tsconfig.json",
"main": "lib/process-services/src/test.ts",
"tsConfig": "lib/process-services/tsconfig.spec.json",
"karmaConfig": "lib/process-services/karma.conf.js",
"codeCoverage": true,
"sourceMap": true
@@ -647,8 +673,8 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"lib/process-services/tsconfig.json",
"lib/process-services/tsconfig.json"
"lib/process-services/tsconfig.lib.json",
"lib/process-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
@@ -708,7 +734,7 @@
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/insights/tsconfig.json",
"tsConfig": "lib/extensions/tsconfig.lib.json",
"project": "lib/insights/ng-package.json"
},
"configurations": {
@@ -721,7 +747,7 @@
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/insights/test.ts",
"tsConfig": "lib/insights/tsconfig.json",
"tsConfig": "lib/extensions/tsconfig.spec.json",
"karmaConfig": "lib/insights/karma.conf.js",
"codeCoverage": true,
"sourceMap": true
@@ -731,8 +757,8 @@
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"lib/insights/tsconfig.json",
"lib/insights/tsconfig.json"
"lib/insights/tsconfig.lib.json",
"lib/insights/tsconfig.lib.json"
],
"exclude": [
"**/node_modules/**"
@@ -777,6 +803,41 @@
}
}
}
},
"testing": {
"root": "lib/testing",
"sourceRoot": "lib/testing/src",
"projectType": "library",
"prefix": "adf",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/testing/tsconfig.lib.json",
"project": "lib/testing/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/testing/src/test.ts",
"tsConfig": "lib/testing/tsconfig.spec.json",
"karmaConfig": "lib/testing/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"lib/testing/tsconfig.lib.json",
"lib/testing/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "dist"
-63
View File
@@ -1,63 +0,0 @@
# Test against this version of Node.js
branches:
only:
- master
- development
- dev-build-test
environment:
nodejs_version: "8"
matrix:
- COMPONENT_NAME: process-service
- COMPONENT_NAME: content-service
- COMPONENT_NAME: core
- COMPONENT_NAME: insights
# - COMPONENT_NAME: ng2-demo-shell
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install module
- if %COMPONENT_NAME% EQU process-service (
if %APPVEYOR_REPO_BRANCH EQU master
(cd scripts && sh npm-build-all.sh -t "process-services" || exit 1)
else
(cd scripts && sh npm-build-all.sh -t "process-services" -vjsapi alpha|| exit 1)
)
- if %COMPONENT_NAME% EQU content-service (
if %APPVEYOR_REPO_BRANCH EQU master
(cd scripts && sh npm-build-all.sh -t "content-services" || exit 1)
else
(cd scripts && sh npm-build-all.sh -t "content-services" -vjsapi alpha|| exit 1)
)
- if %COMPONENT_NAME% EQU insights (
if %APPVEYOR_REPO_BRANCH EQU master
(cd scripts && sh npm-build-all.sh -t "insights" || exit 1)
else
(cd scripts && sh npm-build-all.sh -t "insights" -vjsapi alpha|| exit 1)
)
- if %COMPONENT_NAME% EQU core (
if %APPVEYOR_REPO_BRANCH EQU master
(cd scripts && sh npm-build-all.sh -t "core" || exit 1)
else
(cd scripts && sh npm-build-all.sh -t "core" -vjsapi alpha|| exit 1)
)
- if %COMPONENT_NAME% EQU process-service-cloud (
if %APPVEYOR_REPO_BRANCH EQU master
(cd scripts && sh npm-build-all.sh -t "process-services-cloud" || exit 1)
else
(cd scripts && sh npm-build-all.sh -t "process-services-cloud" -vjsapi alpha|| exit 1)
)
# - if %COMPONENT_NAME% EQU ng2-demo-shell (
# if %APPVEYOR_REPO_BRANCH EQU master
# (cd scripts && sh start.sh -t -ss || exit 1)
# else
# (cd scripts && sh start.sh -dev -t -ss -vjsapi alpha || exit 1)
# )
# Don't actually build.
build: off
matrix:
fast_finish: true
+7 -1
View File
@@ -123,7 +123,13 @@
"BASESHAREURL",
"hardend",
"filedata",
"uncheck"
"uncheck",
"subfolders",
"ECMBPM",
"processwithvariables",
"dropdownrestprocess",
"devops",
"mouseenter"
],
"dictionaries": [
"html",
-1
View File
@@ -52,7 +52,6 @@ app/**/*.d.ts
!app/js/Polyline.js
.idea
**/versions.json
dist/
+1
View File
@@ -1,5 +1,6 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/0.13/config/configuration-file.html
process.env.CHROME_BIN = require('puppeteer').executablePath();
module.exports = function (config) {
config.set({
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "3.0.0",
"version": "3.5.0",
"author": "Alfresco Software, Ltd.",
"repository": {
"type": "git",
+4 -2
View File
@@ -1,6 +1,8 @@
var PROXY_HOST_ADF = process.env.PROXY_HOST_ADF;
module.exports = {
"/alfresco": {
"target": "http://localhost:8080",
"target": (PROXY_HOST_ADF || "http://localhost:8080"),
"secure": false,
"pathRewrite": {
"^/alfresco/alfresco": ""
@@ -15,7 +17,7 @@ module.exports = {
}
},
"/activiti-app": {
"target": "http://localhost:8080",
"target": (PROXY_HOST_ADF || "http://localhost:8080"),
"secure": false,
"pathRewrite": {
"^/activiti-app/activiti-app": ""
+329
View File
@@ -0,0 +1,329 @@
{
"APP": {
"INFO_DRAWER": {
"TITLE": "التفاصيل",
"COMMENTS": "تعليقات",
"PROPERTIES": "الخصائص",
"VERSIONS": "الإصدارات"
},
"HOME": {
"TITLE": "المكونات الزاوّية لـ Alfresco",
"DOCUMENTATION": "الوثائق"
},
"LOGOUT": {
"TITLE": "صفحة الخروج",
"SUB_TITLE": "تم خروجك الآن",
"LOGIN": "دخول",
"HOME": "رئيسية"
},
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "السماح بالحذف",
"SHOW_COMMENTS": "إظهار التعليقات على الإصدارات",
"ALLOW_DOWNLOAD": "تمكين تنزيل الإصدار",
"READ_ONLY": "للقراءة فقط",
"COMMENTS": "إظهار التعليقات"
},
"PERSONAL-FILES": "الملفات الشخصية",
"WARN-MULTIPLE-UPLOADS": "عرض تحذير للتحميلات المتعددة.",
"CUSTOM-PERMISSION-MESSAGE": "تمكين رسالة إذن مخصصة",
"MEDIUM-TIME-FORMAT": "تمكين تنسيق وقت متوسط لقائمة المستندات",
"SEARCH": {
"RADIO": {
"NONE": "بلا",
"ALL": "الكل",
"FOLDER": "مجلد",
"DOCUMENT": "مستند"
}
}
},
"title": "مرحبًا",
"VERSION": {
"NO_PERMISSION": "ليس لديك إذن لإدارة إصدارات هذا المحتوى",
"NO_PERMISSION_EVENT": "ليس لديك إذن ${event.permission} ل${event.action} ${event.type}",
"CHOOSE_FILE": "تحديد ملف لرؤية إصداراته",
"DIALOG": {
"CLOSE": "إغلاق",
"TITLE": "إدارة الإصدارات"
}
},
"METADATA": {
"DIALOG": {
"CLOSE": "إغلاق",
"TITLE": "بيانات تعريف"
}
},
"APP_LAYOUT": {
"APP": "تطبيق",
"APP_NAME": "تطبيق ADF التوضيحي",
"HOME": "رئيسية",
"NODE-SELECTOR": "محدد العقدة",
"SITES": "المواقع",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "مسار التنقل",
"NOTIFICATIONS": "إعلامات",
"TASK_LIST": "قائمة المهام",
"PROCESS_LIST": "مهام عملية",
"PROCESS_CLOUD": "سحابة العملية",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "دخول",
"CUSTOM_SOURCES": "مصادر مخصصة",
"DATATABLE": "جدول بيانات",
"DATATABLE_LAZY": "جدول بيانات (بطيء)",
"DOCUMENT_LIST": "قائمة المستندات",
"TEMPLATE": "قالب",
"FORM": "نموذج",
"FORM_LIST": "قائمة النماذج",
"FORM_LOADING": "تحميل النموذج",
"UPLOADER": "مُحمِّل",
"WEBSCRIPT": "برنامج الويب النصي",
"TAG": "علامة",
"PIPES": "أنابيب",
"TRASHCAN": "سلة المحذوفات",
"SOCIAL": "اجتماعي",
"SETTINGS": "إعدادات",
"CONFIG-EDITOR": "محرر التكوين",
"OVERLAY_VIEWER": "عارض مركّب",
"ABOUT": "حول",
"SEARCH": "بحث ممتد",
"EXTENDED_SEARCH_QUERY_BODY": "بحث ممتد بنص الاستعلام",
"WORD_TO_SEARCH": "بحث عن كلمة",
"SEARCH_CREATED_BY": "تم الإنشاء بواسطة",
"SEARCH_SERVICE_APPROACH": "حدد هذا لتعطيل خاصية الإدخال والتكوين باستخدام الخدمة",
"HEADER_DATA": "بيانات العنوان",
"TREE_VIEW": "طريقة عرض الشجرة",
"ICONS": "أيقونات",
"PEOPLE_GROUPS_CLOUD": "سحابة الأشخاص/المجموعة",
"PEOPLE_CLOUD": "مكون سحابة الأشخاص",
"GROUPS_CLOUD": "مكون سحابة المجموعة",
"CONFIRM-DIALOG": "مربع حوار التأكيد",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
"DELETE_PERMANENT": "حذف بشكل دائم",
"RESTORE": "استعادة"
},
"EMPTY_STATE": {
"TITLE": "المهملات فارغة",
"FIRST_TEXT": "تم نقل العناصر المحذوفة إلى المهملات.",
"SECOND_TEXT": "أفرغ المهملات لحذف العناصر بشكل دائم."
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "تحديد متعدد (مع خانات اختيارات)",
"THUMBNAILS": "تمكين الصور المصغرة",
"ALLOW_DROP_FILES": "تمكين إسقاط ملفات في مجلد",
"MULTIPLE_FILE_UPLOAD": "تحميل ملفات متعددة",
"FOLDER_UPLOAD": "تحميل مجلد",
"CUSTOM_FILTER": "عامل تصفية امتدادات مخصص",
"MAX_SIZE": "عامل تصفية الحد الأقصى للحجم",
"ENABLE_VERSIONING": "تمكين تعيين الإصدار",
"DESCRIPTION_UPLOAD": "تمكين التحميل",
"ENABLE_INFINITE_SCROLL": "تمكين التمرير اللانهائي",
"MULTISELECT_DESCRIPTION": "استخدام Cmd (Mac) أو Ctrl (Windows) لتبديل تحديد العناصر المتعددة",
"RECENT": {
"EMPTY_STATE": {
"TITLE": "قائمة أحدث الملفات فارغة"
},
"TITLE": "أحدث الملفات"
},
"COLUMNS": {
"DISPLAY_NAME": "اسم العرض",
"IS_LOCKED": "قفل",
"TAG": "علامة",
"NODE_ID": "معرف العقدة",
"CREATED_BY": "تم الإنشاء بواسطة",
"CREATED_ON": "تم الإنشاء في",
"CREATED": "تم الإنشاء",
"SIZE": "الحجم",
"DELETED_ON": "تم الحذف",
"DELETED_BY": "تم الحذف بواسطة"
},
"TOOLBAR": {
"CARDVIEW": "وضع عرض البطاقة",
"SHARE_EDIT": "إعدادات التحرير",
"NEW_FOLDER": "مجلد جديد",
"EDIT_FOLDER": "تحرير مجلد",
"DOWNLOAD": "تنزيل",
"DELETE": "حذف",
"FAVORITES": "إضافة إلى المفضلات",
"SHARE": "مشاركة",
"THEME": "تحديد نسق",
"SHOW_VERSION": "إظهار الإصدار",
"HIDE_VERSION": "إخفاء الإصدار",
"LISTVIEW": "وضع عرض القائمة",
"CREATE_LIBRARY": "إنشاء مكتبة"
},
"ACTIONS": {
"VERSIONS": "إدارة الإصدارات",
"LOCK": "قفل",
"METADATA": "معلومات",
"DOWNLOAD": "تنزيل",
"PERMISSION": "إذن",
"FOLDER": {
"COPY": "نسخ",
"MOVE": "نقل",
"DELETE": "حذف"
},
"DOCUMENT": {
"COPY": "نسخ",
"MOVE": "نقل",
"DELETE": "حذف",
"PROCESS_ACTION": "بدء العملية"
}
}
},
"DATATABLE": {
"RESET_DEFAULT": "إعادة تعيين إلى افتراضي",
"ADD_ROW": "إضافة صف",
"REPLACE_ROWS": "استبدال صفوف",
"REPLACE_COLUMNS": "استبدال أعمدة",
"LOAD_NODE": "تحميل عقدة",
"MULTISELECT": "تحديد متعدد",
"MULTISELECT_DESCRIPTION": "استخدام Cmd (Mac) أو Ctrl (Windows) لتبديل تحديد العناصر المتعددة"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "لم يتم تحديد تقرير. اختر تقريرًا من القائمة"
},
"PS-TAB": {
"TASKS-TAB": "المهام",
"PROCESSES-TAB": "العملية",
"REPORTS-TAB": "تقارير",
"SETTINGS-TAB": "إعدادات",
"START-TASK": "بدء مهمة",
"START-PROCESS": "بدء العملية",
"PROCESS-AUDIT-LOG": "سجل تدقيق العملية",
"TASK-AUDIT-LOG": "سجل تدقيق المهمة",
"TASK-SHOW-HEADER": "إظهار تفاصيل العنوان"
},
"PS_CLOUD_TAB": {
"APPS_TAB": "تطبيق",
"SETTINGS_TAB": "إعدادات"
},
"FORM-LIST": {
"STORE": "متجر",
"RESTORE": "استعادة"
},
"FORM-LOADING": {
"FORM_DATA": "بيانات النموذج",
"FORM_DATA_MESSAGE": "إدخال قيم لملء النموذج",
"TYPEAHEAD_PLACEHOLDER": "التنبؤ بالحروف",
"RADIO_PLACEHOLDER": "زر الراديو",
"SELECT_PLACEHOLDER": "القائمة المنسدلة"
},
"LOGIN": {
"CONTENT_SERVICES": "Content Services",
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "تذييل الدخول",
"SHOW_REMEMBERME": "إظهار تذكرني",
"SHOW_SUCCESS_ROUTE": "إظهار طريق النجاح",
"CUSTOM_LOGO": "شعار مخصص"
},
"SEARCH": {
"RESULTS": "نتائج البحث",
"NO_RESULT": "لم يتم العثور على نتائج",
"FACET_FIELDS": {
"TYPE": "1:النوع",
"SIZE": "2:الحجم",
"CREATOR": "3:المُنشئ",
"MODIFIER": "4:المُعدل",
"CREATED": "5:تم الإنشاء"
},
"FACET_QUERIES": {
"MY_FACET_QUERIES": "استعلامات واجهتي",
"CREATED_THIS_YEAR": "1.تم الإنشاء هذا العام",
"MIMETYPE": "2.النوع: HTML",
"XTRASMALL": "3.الحجم: فائق الصغر",
"SMALL": "4.الحجم: صغير",
"MEDIUM": "5.الحجم: متوسط",
"LARGE": "6.الحجم: كبير",
"XTRALARGE": "7.الحجم: فائق الكبر",
"XXTRALARGE": "8.الحجم: كبير XX"
}
},
"SOCIAL": {
"LIKE": "مكون الإعجاب",
"RATING": "مكون التقييم"
},
"TAG": {
"LIST": "Content Services علامات القائمة",
"INSERT": "إدراج معرف العقدة",
"NODE_LIST": "قائمة العلامات حسب معرف العقدة"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "إذن التوريث",
"INHERITED_PERMISSIONS_BUTTON": "تم توريث الإذن"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "إدراج معرف التطبيق",
"APP_ID_TYPE_ERROR": "يجب أن يكون معرف التطبيق رقمًا",
"NUMBER_TYPE_ERROR": "يجب أن تكون القيمة رقمًا",
"NUMBER_GREATER_THAN": "يجب أن تكون القيمة أكبر من {{ value }} أو تساويها"
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "صفحة البدء"
}
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "إدراج معرف التطبيق",
"APP_ID_TYPE_ERROR": "يجب أن يكون معرف التطبيق رقمًا",
"NUMBER_GREATER_THAN": "يجب أن تكون القيمة أكبر من {{ value }} أو تساويها"
}
},
"GROUP-TITLE1-TRANSLATION-KEY": "الترجمة الأولى للعنوان المخصص",
"GROUP-TITLE2-TRANSLATION-KEY": "الترجمة الثانية للعنوان المخصص",
"ERROR_CONTENT": {
"507": {
"TITLE": "قرص ACS ممتلئ",
"DESCRIPTION": "يتجاوز المحتوى حد سعة التخزين المكون للشبكة أو النظام",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "عودة إلى الرئيسية"
}
}
},
"PROCESS_LIST_CLOUD_DEMO": {
"TITLE": "العرض التوضيحي لسحابة قائمة العملية",
"CUSTOMIZE_FILTERS": "تخصيص عامل التصفية"
},
"TASK_LIST_CLOUD_DEMO": {
"CUSTOMIZE_FILTERS": "تخصيص عامل التصفية"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "تحديد واحد",
"MULTI": "تحديد متعدد",
"PRESELECTED_VALUE": "تحديد مسبق: ",
"ROLE": "الأدوار: ",
"APP_NAME": "اسم التطبيق",
"APP_FILTER_MODE": "التصفية حسب اسم التطبيق",
"ROLE_FILTER_MODE": "التصفية حسب الدور",
"PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "تحديد متعدد",
"TESTING_MODE": "وضع الاختبار",
"SELECTION_MODE": "وضع التحديد",
"SELECTED_ROWS": "الصفوف المحدّدة",
"TASK_DETAILS_REDIRECTION": "عرض تفاصيل المهمة عند النقر فوق المهمة",
"PROCESS_DETAILS_REDIRECTION": "عرض تفاصيل العملية عند النقر على العملية",
"ACTION": {
"ACTION_TITLE": "إضافة إجراء",
"ACTION_MENU": "قائمة الإجراءات",
"CONTEX_MENU": "قائمة السياق",
"ACTION_VISIBLE": "مرئي",
"ACTION_DISABLE": "معطّل",
"ADD_BUTTON": "إضافة",
"KEY": "المفتاح",
"TITLE": "العنوان",
"ICON": "أيقونة",
"TASK_ID": "معرف المهمة",
"PROCESS_ID": "معرّف مثيل المعالجة",
"ACTION_TYPE": "نوع الإجراء"
}
}
}
+329
View File
@@ -0,0 +1,329 @@
{
"APP": {
"INFO_DRAWER": {
"TITLE": "Podrobnosti",
"COMMENTS": "Poznámky",
"PROPERTIES": "Vlastnosti",
"VERSIONS": "Verze"
},
"HOME": {
"TITLE": "Součásti Angular pro produkty Alfresco",
"DOCUMENTATION": "Dokumentace"
},
"LOGOUT": {
"TITLE": "Stránka pro odhlášení",
"SUB_TITLE": "Byli jste odhlášeni",
"LOGIN": "Přihlášení",
"HOME": "Domů"
},
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "Povolit odstranění",
"SHOW_COMMENTS": "Zobrazit komentáře k verzím",
"ALLOW_DOWNLOAD": "Povolit stažení verze",
"READ_ONLY": "Pouze ke čtení",
"COMMENTS": "Zobrazit komentáře"
},
"PERSONAL-FILES": "Osobní soubory",
"WARN-MULTIPLE-UPLOADS": "Zobrazit upozornění v případě hromadného odesílání",
"CUSTOM-PERMISSION-MESSAGE": "Povolit přizpůsobené oznámení o oprávnění",
"MEDIUM-TIME-FORMAT": "Povolit střední formát času v seznamu dokumentů",
"SEARCH": {
"RADIO": {
"NONE": "Žádné",
"ALL": "Vše",
"FOLDER": "Složka",
"DOCUMENT": "Dokument"
}
}
},
"title": "Vítejte",
"VERSION": {
"NO_PERMISSION": "Nemáte potřebná oprávnění pro správu verzí tohoto obsahu",
"NO_PERMISSION_EVENT": "Nemáte oprávnění „${event.permission}“ potřebná k použití akce „${event.action}“ pro „${event.type}“",
"CHOOSE_FILE": "Vyberte soubor, jehož verze si chcete prohlédnout",
"DIALOG": {
"CLOSE": "Zavřít",
"TITLE": "Spravovat verze"
}
},
"METADATA": {
"DIALOG": {
"CLOSE": "Zavřít",
"TITLE": "Metadata"
}
},
"APP_LAYOUT": {
"APP": "Aplikace",
"APP_NAME": "Ukázková aplikace ADF",
"HOME": "Domů",
"NODE-SELECTOR": "Selektor uzlu",
"SITES": "Místa",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Popis cesty",
"NOTIFICATIONS": "Upozornění",
"TASK_LIST": "Seznam úkolů",
"PROCESS_LIST": "Seznam procesů",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "Zobrazení karty",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Přihlášení",
"CUSTOM_SOURCES": "Vlastní zdroje",
"DATATABLE": "Datová tabulka",
"DATATABLE_LAZY": "Datová tabulka (jednoduchá)",
"DOCUMENT_LIST": "Seznam dokumentů",
"TEMPLATE": "Šablona",
"FORM": "Formulář",
"FORM_LIST": "Seznam formulářů",
"FORM_LOADING": "Načítání formuláře",
"UPLOADER": "Nástroj pro odesílání",
"WEBSCRIPT": "Webový skript",
"TAG": "Tag",
"PIPES": "Potrubí",
"TRASHCAN": "Koš",
"SOCIAL": "Sociální",
"SETTINGS": "Nastavení",
"CONFIG-EDITOR": "Editor konfigurace",
"OVERLAY_VIEWER": "Zobrazení překrytí",
"ABOUT": "O aplikaci",
"SEARCH": "Rozšířené hledání",
"EXTENDED_SEARCH_QUERY_BODY": "Rozšířené hledání s textem dotazu",
"WORD_TO_SEARCH": "Hledat slovo",
"SEARCH_CREATED_BY": "Vytvořil(a)",
"SEARCH_SERVICE_APPROACH": "Označením této možnosti zakážete vstupní vlastnost a ke konfiguraci použijete službu",
"HEADER_DATA": "Data záhlaví",
"TREE_VIEW": "Stromová struktura",
"ICONS": "Ikony",
"PEOPLE_GROUPS_CLOUD": "Cloud osob/skupin",
"PEOPLE_CLOUD": "Součást cloudu osob",
"GROUPS_CLOUD": "Součást cloudu skupin",
"CONFIRM-DIALOG": "Dialogové okno s potvrzením",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
"DELETE_PERMANENT": "Trvale odstranit",
"RESTORE": "Obnovit"
},
"EMPTY_STATE": {
"TITLE": "Koš je prázdný",
"FIRST_TEXT": "Odstraněné položky se přesunou do koše.",
"SECOND_TEXT": "Vysypáním koše můžete položky trvale odstranit."
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Hromadný výběr (pomocí zaškrtávacích polí)",
"THUMBNAILS": "Povolit miniatury",
"ALLOW_DROP_FILES": "Povolit přetažení souborů do složky",
"MULTIPLE_FILE_UPLOAD": "Odeslání více souborů",
"FOLDER_UPLOAD": "Odeslat složku",
"CUSTOM_FILTER": "Vlastní filtr rozšíření",
"MAX_SIZE": "Filtr max. velikosti",
"ENABLE_VERSIONING": "Povolit více verzí",
"DESCRIPTION_UPLOAD": "Povolit odeslání",
"ENABLE_INFINITE_SCROLL": "Povolit nekonečné procházení",
"MULTISELECT_DESCRIPTION": "Pomocí klávesy Ctrl (Windows) nebo Cmd (Mac) můžete přepínat výběr více položek",
"RECENT": {
"EMPTY_STATE": {
"TITLE": "Seznam nedávných souborů je prázdný"
},
"TITLE": "Nedávné soubory"
},
"COLUMNS": {
"DISPLAY_NAME": "Zobrazované jméno",
"IS_LOCKED": "Zamknout",
"TAG": "Tag",
"NODE_ID": "ID uzlu",
"CREATED_BY": "Vytvořil(a)",
"CREATED_ON": "Vytvořeno",
"CREATED": "Vytvořeno",
"SIZE": "Velikost",
"DELETED_ON": "Odstraněno",
"DELETED_BY": "Odstranil(a)"
},
"TOOLBAR": {
"CARDVIEW": "Režim zobrazení karet",
"SHARE_EDIT": "Upravit nastavení",
"NEW_FOLDER": "Nová složka",
"EDIT_FOLDER": "Upravit složku",
"DOWNLOAD": "Stáhnout",
"DELETE": "Odstranit",
"FAVORITES": "Přidat mezi oblíbené",
"SHARE": "Sdílet",
"THEME": "Vybrat motiv",
"SHOW_VERSION": "Zobrazit verzi",
"HIDE_VERSION": "Skrýt verzi",
"LISTVIEW": "Režim zobrazení seznamu",
"CREATE_LIBRARY": "Vytvořit knihovnu"
},
"ACTIONS": {
"VERSIONS": "Spravovat verze",
"LOCK": "Zamknout",
"METADATA": "Informace",
"DOWNLOAD": "Stáhnout",
"PERMISSION": "Oprávnění",
"FOLDER": {
"COPY": "Kopírovat",
"MOVE": "Přesunout",
"DELETE": "Odstranit"
},
"DOCUMENT": {
"COPY": "Kopírovat",
"MOVE": "Přesunout",
"DELETE": "Odstranit",
"PROCESS_ACTION": "Zahájit proces"
}
}
},
"DATATABLE": {
"RESET_DEFAULT": "Obnovit výchozí",
"ADD_ROW": "Přidat řádek",
"REPLACE_ROWS": "Nahradit řádky",
"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"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Nebyly zvoleny žádné zprávy. Vyberte zprávu ze seznamu"
},
"PS-TAB": {
"TASKS-TAB": "Úkoly",
"PROCESSES-TAB": "Proces",
"REPORTS-TAB": "Protokoly",
"SETTINGS-TAB": "Nastavení",
"START-TASK": "Zahájit úkol",
"START-PROCESS": "Zahájit proces",
"PROCESS-AUDIT-LOG": "Protokol auditu pro proces",
"TASK-AUDIT-LOG": "Protokol auditu pro úkol",
"TASK-SHOW-HEADER": "Zobrazit záhlaví podrobností"
},
"PS_CLOUD_TAB": {
"APPS_TAB": "Aplikace",
"SETTINGS_TAB": "Nastavení"
},
"FORM-LIST": {
"STORE": "Uložit",
"RESTORE": "Obnovit"
},
"FORM-LOADING": {
"FORM_DATA": "Data formuláře",
"FORM_DATA_MESSAGE": "Zadejte hodnoty do formuláře",
"TYPEAHEAD_PLACEHOLDER": "Začněte psát",
"RADIO_PLACEHOLDER": "Přepínač",
"SELECT_PLACEHOLDER": "Rozevírací seznam"
},
"LOGIN": {
"CONTENT_SERVICES": "Content Services",
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "Zápatí přihlašování",
"SHOW_REMEMBERME": "Zobrazit tlačítko „Zapamatovat přihlášení“",
"SHOW_SUCCESS_ROUTE": "Zobrazit okna pro úspěšné přihlášení",
"CUSTOM_LOGO": "Vlastní logo"
},
"SEARCH": {
"RESULTS": "Výsledky hledání",
"NO_RESULT": "Nebyly nalezeny žádné výsledky",
"FACET_FIELDS": {
"TYPE": "1:Typ",
"SIZE": "2:Velikost",
"CREATOR": "3:Autor",
"MODIFIER": "4:Upravil(a)",
"CREATED": "5:Vytvořeno"
},
"FACET_QUERIES": {
"MY_FACET_QUERIES": "Moje dotazy na aspekty",
"CREATED_THIS_YEAR": "1.Vytvořeno tento rok",
"MIMETYPE": "2.Typ: HTML",
"XTRASMALL": "3.Velikost: extra malé",
"SMALL": "3.Velikost: malé",
"MEDIUM": "3.Velikost: střední",
"LARGE": "3.Velikost: velké",
"XTRALARGE": "3.Velikost: extra velké",
"XXTRALARGE": "3.Velikost: XX velké"
}
},
"SOCIAL": {
"LIKE": "Komponenta pro Líbí se mi",
"RATING": "Komponenta pro Hodnocení"
},
"TAG": {
"LIST": "Uvádět tagy Content Services",
"INSERT": "Vložit ID uzlu",
"NODE_LIST": "Řadit tagy dle ID uzlu"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Dědění oprávnění",
"INHERITED_PERMISSIONS_BUTTON": "Oprávnění bylo zděděno"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Vložit ID aplikace",
"APP_ID_TYPE_ERROR": "ID aplikace musí být číslo",
"NUMBER_TYPE_ERROR": "Hodnota musí být číslo",
"NUMBER_GREATER_THAN": "Hodnota musí být rovna nebo větší než {{ value }}"
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Počáteční strana"
}
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Vložit ID aplikace",
"APP_ID_TYPE_ERROR": "ID aplikace musí být číslo",
"NUMBER_GREATER_THAN": "Hodnota musí být rovna nebo větší než {{ value }}"
}
},
"GROUP-TITLE1-TRANSLATION-KEY": "Vlastní překlad názvu 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Vlastní překlad názvu 2",
"ERROR_CONTENT": {
"507": {
"TITLE": "Disk ACS plný",
"DESCRIPTION": "Obsah přesahuje celkovou kvótu úložiště nastavenou pro síť nebo systém",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Zpět domů"
}
}
},
"PROCESS_LIST_CLOUD_DEMO": {
"TITLE": "Cloudová ukázka seznamu procesů",
"CUSTOMIZE_FILTERS": "Přizpůsobit filtr"
},
"TASK_LIST_CLOUD_DEMO": {
"CUSTOMIZE_FILTERS": "Přizpůsobit filtr"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Volba jedné položky",
"MULTI": "Volba více položek",
"PRESELECTED_VALUE": "Předvolená hodnota: ",
"ROLE": "Role: ",
"APP_NAME": "Název aplikace",
"APP_FILTER_MODE": "Filtrovat podle názvu aplikace",
"ROLE_FILTER_MODE": "Filtrovat podle role",
"PRESELECT_VALIDATION": "Ověření předvolené hodnoty"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Hromadný výběr",
"TESTING_MODE": "Testovací režim",
"SELECTION_MODE": "Režim výběru",
"SELECTED_ROWS": "Vybrané řádky",
"TASK_DETAILS_REDIRECTION": "Zobrazit podrobnosti o úkolu při kliknutí na úkol",
"PROCESS_DETAILS_REDIRECTION": "Zobrazit podrobnosti o průběhu při kliknutí na proces",
"ACTION": {
"ACTION_TITLE": "Přidat akci",
"ACTION_MENU": "Nabídka akcí",
"CONTEX_MENU": "Místní nabídka",
"ACTION_VISIBLE": "Viditelné",
"ACTION_DISABLE": "Zakázat",
"ADD_BUTTON": "Přidat",
"KEY": "Klíč",
"TITLE": "Označení",
"ICON": "Ikona",
"TASK_ID": "ID úkolu",
"PROCESS_ID": "ID instance procesu",
"ACTION_TYPE": "Typ akce"
}
}
}
+329
View File
@@ -0,0 +1,329 @@
{
"APP": {
"INFO_DRAWER": {
"TITLE": "Detaljer",
"COMMENTS": "Kommentarer",
"PROPERTIES": "Egenskaber",
"VERSIONS": "Versioner"
},
"HOME": {
"TITLE": "Angular-komponenter til Alfresco",
"DOCUMENTATION": "Dokumentation"
},
"LOGOUT": {
"TITLE": "Side til at logge af",
"SUB_TITLE": "Du er nu logget af",
"LOGIN": "Log ind",
"HOME": "Hjem"
},
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "Tillad sletning",
"SHOW_COMMENTS": "Vis kommentarer til versioner",
"ALLOW_DOWNLOAD": "Aktivér versionsdownload",
"READ_ONLY": "Skrivebeskyttet",
"COMMENTS": "Vis kommentarer"
},
"PERSONAL-FILES": "Personlige filer",
"WARN-MULTIPLE-UPLOADS": "Vis advarsler for flere uploads.",
"CUSTOM-PERMISSION-MESSAGE": "Tillad meddelelse om brugerdefineret tilladelse",
"MEDIUM-TIME-FORMAT": "Tillad mellemlangt tidsformat for dokumentliste",
"SEARCH": {
"RADIO": {
"NONE": "Ingen",
"ALL": "Alle",
"FOLDER": "Mappe",
"DOCUMENT": "Dokument"
}
}
},
"title": "Velkommen",
"VERSION": {
"NO_PERMISSION": "Du har ikke tilladelse til at administrere versioner af dette indhold",
"NO_PERMISSION_EVENT": "Du har ikke tilladelsen ${event.permission} til at ${event.action} ${event.type}",
"CHOOSE_FILE": "Vælg en fil for at få vist dens versioner",
"DIALOG": {
"CLOSE": "Luk",
"TITLE": "Administrer versioner"
}
},
"METADATA": {
"DIALOG": {
"CLOSE": "Luk",
"TITLE": "Metadata"
}
},
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demoapp",
"HOME": "Hjem",
"NODE-SELECTOR": "Nodevælger",
"SITES": "Websteder",
"CONTENT_SERVICES": "Indholdstjenester",
"BREADCRUMB": "Brødkrumme",
"NOTIFICATIONS": "Meddelelser",
"TASK_LIST": "Opgaveliste",
"PROCESS_LIST": "Procesliste",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "Kortvisning",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Log ind",
"CUSTOM_SOURCES": "Brugerdefinerede kilder",
"DATATABLE": "Datatabel",
"DATATABLE_LAZY": "Datatabel (Lazy)",
"DOCUMENT_LIST": "Dokumentliste",
"TEMPLATE": "Skabelon",
"FORM": "Formular",
"FORM_LIST": "Formularliste",
"FORM_LOADING": "Formular indlæses",
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Rør",
"TRASHCAN": "Papirkurv",
"SOCIAL": "Social",
"SETTINGS": "Indstillinger",
"CONFIG-EDITOR": "Konfigurationseditor",
"OVERLAY_VIEWER": "Overlejringsfremviser",
"ABOUT": "Om",
"SEARCH": "Udvidet søgning",
"EXTENDED_SEARCH_QUERY_BODY": "Udvidet søgning med forespørgselstekst",
"WORD_TO_SEARCH": "Søg efter ord",
"SEARCH_CREATED_BY": "Oprettet af",
"SEARCH_SERVICE_APPROACH": "Vælg dette felt for at deaktivere inputegenskaben og konfigurere ved hjælp af tjenesten",
"HEADER_DATA": "Headerdata",
"TREE_VIEW": "Trævisning",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Person/gruppecloud",
"PEOPLE_CLOUD": "Personcloudkomponent",
"GROUPS_CLOUD": "Gruppecloudkomponent",
"CONFIRM-DIALOG": "Bekræftelsesdialogboks",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
"DELETE_PERMANENT": "Slet permanent",
"RESTORE": "Gendan"
},
"EMPTY_STATE": {
"TITLE": "Papirkurven er tom",
"FIRST_TEXT": "De elementer, du sletter, flyttes til papirkurven.",
"SECOND_TEXT": "Tøm papirkurven for at slette elementerne permanent."
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Vælg flere (med afkrydsningsfelter)",
"THUMBNAILS": "Aktivér miniaturevisninger",
"ALLOW_DROP_FILES": "Aktivér Slip filer i en mappe",
"MULTIPLE_FILE_UPLOAD": "Upload af flere filer",
"FOLDER_UPLOAD": "Upload af mappe",
"CUSTOM_FILTER": "Filter for brugerdefinerede udvidelser",
"MAX_SIZE": "Filtrer efter maksimal størrelse",
"ENABLE_VERSIONING": "Aktivér versionering",
"DESCRIPTION_UPLOAD": "Tillad upload",
"ENABLE_INFINITE_SCROLL": "Aktivér uendelig rulning",
"MULTISELECT_DESCRIPTION": "Brug Kommando (Mac) eller Ctrl (Windows) for at vælge flere elementer",
"RECENT": {
"EMPTY_STATE": {
"TITLE": "Listen over de seneste filer er tom"
},
"TITLE": "Seneste filer"
},
"COLUMNS": {
"DISPLAY_NAME": "Visningsnavn",
"IS_LOCKED": "Lås",
"TAG": "Tag",
"NODE_ID": "Node-id",
"CREATED_BY": "Oprettet af",
"CREATED_ON": "Oprettet den",
"CREATED": "Oprettet",
"SIZE": "Størrelse",
"DELETED_ON": "Slettet",
"DELETED_BY": "Slettet af"
},
"TOOLBAR": {
"CARDVIEW": "Kortvisning",
"SHARE_EDIT": "Rediger indstillinger",
"NEW_FOLDER": "Ny mappe",
"EDIT_FOLDER": "Rediger mappe",
"DOWNLOAD": "Download",
"DELETE": "Slet",
"FAVORITES": "Angiv som favorit",
"SHARE": "Del",
"THEME": "Vælg et tema",
"SHOW_VERSION": "Vis version",
"HIDE_VERSION": "Skjul version",
"LISTVIEW": "Listevisning",
"CREATE_LIBRARY": "Opret bibliotek"
},
"ACTIONS": {
"VERSIONS": "Administrer versioner",
"LOCK": "Lås",
"METADATA": "Oplysninger",
"DOWNLOAD": "Download",
"PERMISSION": "Tilladelse",
"FOLDER": {
"COPY": "Kopiér",
"MOVE": "Flyt",
"DELETE": "Slet"
},
"DOCUMENT": {
"COPY": "Kopiér",
"MOVE": "Flyt",
"DELETE": "Slet",
"PROCESS_ACTION": "Start proces"
}
}
},
"DATATABLE": {
"RESET_DEFAULT": "Nulstil til standard",
"ADD_ROW": "Tilføj række",
"REPLACE_ROWS": "Erstat rækker",
"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"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Du skal vælge en rapport på listen til venstre"
},
"PS-TAB": {
"TASKS-TAB": "Opgaver",
"PROCESSES-TAB": "Proces",
"REPORTS-TAB": "Rapporter",
"SETTINGS-TAB": "Indstillinger",
"START-TASK": "Start opgave",
"START-PROCESS": "Start proces",
"PROCESS-AUDIT-LOG": "Procesovervågningslog",
"TASK-AUDIT-LOG": "Opgaveovervågningslog",
"TASK-SHOW-HEADER": "Vis detaljer for header"
},
"PS_CLOUD_TAB": {
"APPS_TAB": "App",
"SETTINGS_TAB": "Indstillinger"
},
"FORM-LIST": {
"STORE": "Gem",
"RESTORE": "Gendan"
},
"FORM-LOADING": {
"FORM_DATA": "Formulardata",
"FORM_DATA_MESSAGE": "Indtast værdier for at udfylde formularen",
"TYPEAHEAD_PLACEHOLDER": "Automatisk fuldførelse",
"RADIO_PLACEHOLDER": "Alternativknap",
"SELECT_PLACEHOLDER": "Rulleliste"
},
"LOGIN": {
"CONTENT_SERVICES": "Indholdstjenester",
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "Sidefod til login",
"SHOW_REMEMBERME": "Vis Husk mig",
"SHOW_SUCCESS_ROUTE": "Vis succesrute",
"CUSTOM_LOGO": "Brugerdefineret logo"
},
"SEARCH": {
"RESULTS": "Søgeresultater",
"NO_RESULT": "Der blev ikke fundet nogen resultater",
"FACET_FIELDS": {
"TYPE": "1: Type",
"SIZE": "2: Størrelse",
"CREATOR": "3: Opretter",
"MODIFIER": "4: Modifikator",
"CREATED": "5: Oprettet"
},
"FACET_QUERIES": {
"MY_FACET_QUERIES": "Mine facetforespørgsler",
"CREATED_THIS_YEAR": "1. Oprettet i år",
"MIMETYPE": "2. Type: HTML",
"XTRASMALL": "3. Størrelse: xtra small",
"SMALL": "4. Størrelse: small",
"MEDIUM": "5. Størrelse: medium",
"LARGE": "6. Størrelse: large",
"XTRALARGE": "7. Størrelse: xtra large",
"XXTRALARGE": "8. Størrelse: XX large"
}
},
"SOCIAL": {
"LIKE": "Synes om-komponent",
"RATING": "Bedømmelse-komponent"
},
"TAG": {
"LIST": "Vis indholdstjenester for tags",
"INSERT": "Indsæt node-id",
"NODE_LIST": "Tagliste efter node-id"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Nedarv tilladelse",
"INHERITED_PERMISSIONS_BUTTON": "Tilladelsen er nedarvet"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Indsæt app-id",
"APP_ID_TYPE_ERROR": "App-id'et skal være et tal",
"NUMBER_TYPE_ERROR": "Værdien skal være et tal",
"NUMBER_GREATER_THAN": "Værdien skal være større end eller lig med {{ value }}"
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startside"
}
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Indsæt app-id",
"APP_ID_TYPE_ERROR": "App-id'et skal være et tal",
"NUMBER_GREATER_THAN": "Værdien skal være større end eller lig med {{ value }}"
}
},
"GROUP-TITLE1-TRANSLATION-KEY": "Brugerdefineret titel oversættelse et",
"GROUP-TITLE2-TRANSLATION-KEY": "Brugerdefineret titel oversættelse to",
"ERROR_CONTENT": {
"507": {
"TITLE": "ACS-disken er fuld",
"DESCRIPTION": "Indholdet overskrider den generelle lagerkvotegrænse, der er konfigureret for netværket eller systemet",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Tilbage til forsiden"
}
}
},
"PROCESS_LIST_CLOUD_DEMO": {
"TITLE": "CLOUDDEMO AF PROCESLISTE",
"CUSTOMIZE_FILTERS": "Tilpas dit filter"
},
"TASK_LIST_CLOUD_DEMO": {
"CUSTOMIZE_FILTERS": "Tilpas dit filter"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Enkeltvalg",
"MULTI": "Multivalg",
"PRESELECTED_VALUE": "Forudvælg: ",
"ROLE": "Roller: ",
"APP_NAME": "Appnavn",
"APP_FILTER_MODE": "Filtrer efter appnavn",
"ROLE_FILTER_MODE": "Filtrer efter rolle",
"PRESELECT_VALIDATION": "Forudvælg validering"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multivalg",
"TESTING_MODE": "Testtilstand",
"SELECTION_MODE": "Valgtilstand",
"SELECTED_ROWS": "Valgte rækker",
"TASK_DETAILS_REDIRECTION": "Vis opgavedetaljer på opgave ved at klikke",
"PROCESS_DETAILS_REDIRECTION": "Vis behandlingsdetaljer for processen ved at klikke",
"ACTION": {
"ACTION_TITLE": "Tilføj handling",
"ACTION_MENU": "Menuen Handling",
"CONTEX_MENU": "Genvejsmenu",
"ACTION_VISIBLE": "Synlig",
"ACTION_DISABLE": "Deaktiver",
"ADD_BUTTON": "Tilføj",
"KEY": "Nøgle",
"TITLE": "Titel",
"ICON": "Ikon",
"TASK_ID": "Opgave-id",
"PROCESS_ID": "Procesforekomst-id",
"ACTION_TYPE": "Handlingstype"
}
}
}
+33 -18
View File
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "Anwendung",
"APP_NAME": "ADF-Demoanwendung",
"HOME": "Startseite",
"NODE-SELECTOR": "Node-Auswahl",
"SITES": "Sites",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Breadcrumb",
"NOTIFICATIONS": "Benachrichtigungen",
"TASK_LIST": "Aufgabenliste",
"PROCESS_LIST": "Prozessliste",
"PROCESS_CLOUD": "Prozess-Cloud",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Anmelden",
@@ -76,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Pipes",
"TRASHCAN": "Papierkorb",
"SOCIAL": "Soziale Funktionen",
"SETTINGS": "Einstellungen",
@@ -92,7 +95,9 @@
"ICONS": "Symbole",
"PEOPLE_GROUPS_CLOUD": "Personen-/Gruppen-Cloud",
"PEOPLE_CLOUD": "Personen-Cloud-Komponente",
"GROUPS_CLOUD": "Gruppen-Cloud-Komponente"
"GROUPS_CLOUD": "Gruppen-Cloud-Komponente",
"CONFIRM-DIALOG": "Bestätigungsdialog",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Ihren Filter anpassen"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Einzeln",
"MULTI": "Mehrfach",
"PRESELECTED_VALUE": "Vorausgewählter Wert"
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Name",
"VERSION": "Version",
"VENDOR": "Hersteller",
"LICENSE": "Lizenz",
"RUNTIME": "Laufzeit",
"DESCRIPTION": "Beschreibung"
}
"SINGLE": "Einzelauswahl",
"MULTI": "Mehrfachauswahl",
"PRESELECTED_VALUE": "Vorauswahl: ",
"ROLE": "Rollen: ",
"APP_NAME": "Anwendungsname",
"APP_FILTER_MODE": "Nach Anwendungsname filtern",
"ROLE_FILTER_MODE": "Nach Rolle filtern",
"PRESELECT_VALIDATION": "Vorauswahl-Prüfung"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Mehrfachauswahl",
"TESTING_MODE": "Testmodus",
"SELECTION_MODE": "Auswahlmodus"
"SELECTION_MODE": "Auswahlmodus",
"SELECTED_ROWS": "Ausgewählte Zeilen",
"TASK_DETAILS_REDIRECTION": "Bei Klicken auf Aufgabe Aufgabendetails einblenden",
"PROCESS_DETAILS_REDIRECTION": "Bei Klicken auf Prozess Prozessdetails anzeigen",
"ACTION": {
"ACTION_TITLE": "Aktion hinzufügen",
"ACTION_MENU": "Aktionsmenü",
"CONTEX_MENU": "Kontextmenü",
"ACTION_VISIBLE": "Sichtbar",
"ACTION_DISABLE": "Deaktivieren",
"ADD_BUTTON": "Hinzufügen",
"KEY": "Schlüssel",
"TITLE": "Titel",
"ICON": "Symbol",
"TASK_ID": "Aufgaben-ID",
"PROCESS_ID": "Prozessinstanz-ID",
"ACTION_TYPE": "Aktionstyp"
}
}
}
+31 -17
View File
@@ -53,9 +53,11 @@
}
},
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF Demo Application",
"HOME": "Home",
"NODE-SELECTOR": "Node Selector",
"SITES": "Sites",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Breadcrumb",
"NOTIFICATIONS": "Notifications",
@@ -76,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Pipes",
"TRASHCAN": "Trashcan",
"SOCIAL": "Social",
"SETTINGS": "Settings",
@@ -92,7 +95,9 @@
"ICONS": "Icons",
"PEOPLE_GROUPS_CLOUD": "People/Group Cloud",
"PEOPLE_CLOUD": "People Cloud Component",
"GROUPS_CLOUD": "Groups Cloud Component"
"GROUPS_CLOUD": "Groups Cloud Component",
"CONFIRM-DIALOG": "Confirmation Dialog",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -293,23 +298,32 @@
"SINGLE": "Single Selection",
"MULTI": "Multiple Selection",
"PRESELECTED_VALUE": "Preselect: ",
"ROLE": "Roles: "
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Name",
"VERSION": "Version",
"VENDOR": "Vendor",
"LICENSE": "License",
"RUNTIME": "Runtime",
"DESCRIPTION": "Description"
}
"ROLE": "Roles: ",
"APP_NAME": "Application Name",
"APP_FILTER_MODE": "Filter by application name",
"ROLE_FILTER_MODE": "Filter by role",
"PRESELECT_VALIDATION": "Preselect validation"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multiselection",
"TESTING_MODE": "Testing Mode",
"SELECTION_MODE": "Selection Mode"
"MULTISELECTION": "Multiselection",
"TESTING_MODE": "Testing Mode",
"SELECTION_MODE": "Selection Mode",
"SELECTED_ROWS": "Selected Rows",
"TASK_DETAILS_REDIRECTION": "Display task details on task click",
"PROCESS_DETAILS_REDIRECTION": "Display process details on process click",
"ACTION": {
"ACTION_TITLE": "Add Action",
"ACTION_MENU": "Action Menu",
"CONTEX_MENU": "Context Menu",
"ACTION_VISIBLE": "Visible",
"ACTION_DISABLE": "Disable",
"ADD_BUTTON": "Add",
"KEY": "Key",
"TITLE": "Title",
"ICON": "Icon",
"TASK_ID": "Task ID",
"PROCESS_ID": "Process Instance ID",
"ACTION_TYPE": "Action Type"
}
}
}
+33 -18
View File
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "Aplicación",
"APP_NAME": "Aplicación ADF Demo",
"HOME": "Inicio",
"NODE-SELECTOR": "Selector de nodo",
"SITES": "Sitios",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Ruta de navegación",
"NOTIFICATIONS": "Notificaciones",
"TASK_LIST": "Lista de tareas",
"PROCESS_LIST": "Lista de procesos",
"PROCESS_CLOUD": "Procesos en la nube",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Iniciar sesión",
@@ -76,6 +78,7 @@
"UPLOADER": "Cargador",
"WEBSCRIPT": "Webscript",
"TAG": "Etiqueta",
"PIPES": "Tubos",
"TRASHCAN": "Papelera",
"SOCIAL": "Social",
"SETTINGS": "Configuración",
@@ -92,7 +95,9 @@
"ICONS": "Iconos",
"PEOPLE_GROUPS_CLOUD": "Personas/Grupos en la nube",
"PEOPLE_CLOUD": "Componente en la nube de personas",
"GROUPS_CLOUD": "Componente en la nube de grupos"
"GROUPS_CLOUD": "Componente en la nube de grupos",
"CONFIRM-DIALOG": "Cuadro de diálogo de confirmación",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Personalice su filtro"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Individual",
"MULTI": "Múltiple",
"PRESELECTED_VALUE": "Valor preseleccionado"
},
"ABOUT": {
"TITLE": "Complementos",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Nombre",
"VERSION": "Versión",
"VENDOR": "Proveedor",
"LICENSE": "Licencia",
"RUNTIME": "Tiempo de ejecución",
"DESCRIPTION": "Descripción"
}
"SINGLE": "Selección individual",
"MULTI": "Selección múltiple",
"PRESELECTED_VALUE": "Preseleccionar: ",
"ROLE": "Funciones: ",
"APP_NAME": "Nombre de la aplicación",
"APP_FILTER_MODE": "Filtrar por nombre de la aplicación",
"ROLE_FILTER_MODE": "Filtrar por función",
"PRESELECT_VALIDATION": "Preseleccionar validación"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selección múltiple",
"TESTING_MODE": "Modo de prueba",
"SELECTION_MODE": "Modo de selección"
"SELECTION_MODE": "Modo de selección",
"SELECTED_ROWS": "Filas seleccionadas",
"TASK_DETAILS_REDIRECTION": "Mostrar detalles de la tarea haciendo clic en la tarea",
"PROCESS_DETAILS_REDIRECTION": "Mostrar detalles del proceso al hacer clic en el proceso",
"ACTION": {
"ACTION_TITLE": "Añadir acción",
"ACTION_MENU": "Menú de acción",
"CONTEX_MENU": "Menú de contexto",
"ACTION_VISIBLE": "Visible",
"ACTION_DISABLE": "Desactivar",
"ADD_BUTTON": "Añadir",
"KEY": "Clave",
"TITLE": "Título",
"ICON": "Icono",
"TASK_ID": "ID de tarea",
"PROCESS_ID": "ID de instancia del proceso",
"ACTION_TYPE": "Tipo de acción"
}
}
}
+329
View File
@@ -0,0 +1,329 @@
{
"APP": {
"INFO_DRAWER": {
"TITLE": "Tiedot",
"COMMENTS": "Kommentit",
"PROPERTIES": "Ominaisuudet",
"VERSIONS": "Versiot"
},
"HOME": {
"TITLE": "Angular-komponentit Alfrescolle",
"DOCUMENTATION": "Dokumentaatio"
},
"LOGOUT": {
"TITLE": "Uloskirjautumissivu",
"SUB_TITLE": "Olet nyt kirjautunut ulos",
"LOGIN": "Kirjaudu sisään",
"HOME": "Aloitussivu"
},
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "Salli poistaminen",
"SHOW_COMMENTS": "Näytä kommentit versioissa",
"ALLOW_DOWNLOAD": "Ota version lataaminen käyttöön",
"READ_ONLY": "Vain luku",
"COMMENTS": "Näytä kommentit"
},
"PERSONAL-FILES": "Omat tiedostot",
"WARN-MULTIPLE-UPLOADS": "Näytä varoitus useille latauksille.",
"CUSTOM-PERMISSION-MESSAGE": "Muokkaa omaa oikeusilmoitusta",
"MEDIUM-TIME-FORMAT": "Ota Medium-aikamuoto käyttöön asiakirjaluettelossa",
"SEARCH": {
"RADIO": {
"NONE": "Ei mitään",
"ALL": "Kaikki",
"FOLDER": "Kansio",
"DOCUMENT": "Asiakirja"
}
}
},
"title": "Tervetuloa",
"VERSION": {
"NO_PERMISSION": "Sinulla ei ole oikeutta hallita tämän sisällön versioita",
"NO_PERMISSION_EVENT": "Sinulla ei ole oikeutta ${event.permission} tapahtumalle ${event.action} tapahtumatyypissä ${event.type}",
"CHOOSE_FILE": "Jos haluat nähdä tiedoston versiot, valitse haluamasi tiedosto",
"DIALOG": {
"CLOSE": "Sulje",
"TITLE": "Hallitse versioita"
}
},
"METADATA": {
"DIALOG": {
"CLOSE": "Sulje",
"TITLE": "Metatiedot"
}
},
"APP_LAYOUT": {
"APP": "Sovellus",
"APP_NAME": "ADF-demosovellus",
"HOME": "Aloitussivu",
"NODE-SELECTOR": "Solmuvalitsin",
"SITES": "Sivustot",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Siirtymispolku",
"NOTIFICATIONS": "Ilmoitukset",
"TASK_LIST": "Tehtäväluettelo",
"PROCESS_LIST": "Prosessiluettelo",
"PROCESS_CLOUD": "Prosessipilvi",
"CARD_VIEW": "Korttinäkymä",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Kirjaudu sisään",
"CUSTOM_SOURCES": "Omat lähteet",
"DATATABLE": "Tietotaulukko",
"DATATABLE_LAZY": "Tietotaulukko (Lazy)",
"DOCUMENT_LIST": "Asiakirjaluettelo",
"TEMPLATE": "Malli",
"FORM": "Lomake",
"FORM_LIST": "Lomakeluettelo",
"FORM_LOADING": "Lomakelataus",
"UPLOADER": "Lataustoiminto",
"WEBSCRIPT": "Verkkokomentosarja",
"TAG": "Tunniste",
"PIPES": "Putket",
"TRASHCAN": "Roskakori",
"SOCIAL": "Sosiaalinen",
"SETTINGS": "Asetukset",
"CONFIG-EDITOR": "Määrityseditori",
"OVERLAY_VIEWER": "Peittokatselutoiminto",
"ABOUT": "Tietoja",
"SEARCH": "Laajennettu haku",
"EXTENDED_SEARCH_QUERY_BODY": "Laajennettu haku kyselyn rungon avulla",
"WORD_TO_SEARCH": "Hakusana",
"SEARCH_CREATED_BY": "Tekijä:",
"SEARCH_SERVICE_APPROACH": "Jos haluat poistaa käytöstä annetun ominaisuuden ja määrittää palvelun avulla, valitse tämä",
"HEADER_DATA": "Otsikkotiedot",
"TREE_VIEW": "Puunäkymä",
"ICONS": "Kuvakkeet",
"PEOPLE_GROUPS_CLOUD": "Ihmispilvi/Ryhmäpilvi",
"PEOPLE_CLOUD": "Ihmispilvi-komponentti",
"GROUPS_CLOUD": "Ryhmäpilvi-komponentti",
"CONFIRM-DIALOG": "Vahvistusvalintaikkuna",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
"DELETE_PERMANENT": "Poista pysyvästi",
"RESTORE": "Palauta"
},
"EMPTY_STATE": {
"TITLE": "Roskakori on tyhjä",
"FIRST_TEXT": "Poistamasi kohteet siirretään roskakoriin.",
"SECOND_TEXT": "Jos haluat poistaa kohteet pysyvästi, tyhjennä roskakori."
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Monivalinta (valintaruuduilla)",
"THUMBNAILS": "Ota pikkukuvat käyttöön",
"ALLOW_DROP_FILES": "Ota tiedostojen kansioon pudottaminen käyttöön",
"MULTIPLE_FILE_UPLOAD": "Useiden tiedostojen lataaminen",
"FOLDER_UPLOAD": "Kansion lataaminen",
"CUSTOM_FILTER": "Mukautettu tiedostomuotosuodatin",
"MAX_SIZE": "Enimmäiskoon suodatin",
"ENABLE_VERSIONING": "Ota versionhallinta käyttöön",
"DESCRIPTION_UPLOAD": "Ota lataus käyttöön",
"ENABLE_INFINITE_SCROLL": "Ota rajaton vieritys käyttöön",
"MULTISELECT_DESCRIPTION": "Voit valita useita kohteita Cmd- (Mac) tai Ctrl-näppäimen (Windows) avulla",
"RECENT": {
"EMPTY_STATE": {
"TITLE": "Viimeisimpien tiedostojen luettelo on tyhjä"
},
"TITLE": "Viimeisimmät tiedostot"
},
"COLUMNS": {
"DISPLAY_NAME": "Näyttönimi",
"IS_LOCKED": "Lukitse",
"TAG": "Tunniste",
"NODE_ID": "Solmutunnus",
"CREATED_BY": "Tekijä:",
"CREATED_ON": "Luotu",
"CREATED": "Luotu",
"SIZE": "Koko",
"DELETED_ON": "Poistettu",
"DELETED_BY": "Poistaja:"
},
"TOOLBAR": {
"CARDVIEW": "Korttinäkymätila",
"SHARE_EDIT": "Muokkaa asetuksia",
"NEW_FOLDER": "Uusi kansio",
"EDIT_FOLDER": "Muokkaa kansiota",
"DOWNLOAD": "Lataa",
"DELETE": "Poista",
"FAVORITES": "Lisää suosikkeihin",
"SHARE": "Jaa",
"THEME": "Valitse teema",
"SHOW_VERSION": "Näytä versio",
"HIDE_VERSION": "Piilota versio",
"LISTVIEW": "Luettelonäkymätila",
"CREATE_LIBRARY": "Luo kirjasto"
},
"ACTIONS": {
"VERSIONS": "Hallitse versioita",
"LOCK": "Lukitse",
"METADATA": "Tiedot",
"DOWNLOAD": "Lataa",
"PERMISSION": "Oikeus",
"FOLDER": {
"COPY": "Kopioi",
"MOVE": "Siirrä",
"DELETE": "Poista"
},
"DOCUMENT": {
"COPY": "Kopioi",
"MOVE": "Siirrä",
"DELETE": "Poista",
"PROCESS_ACTION": "Käynnistä prosessi"
}
}
},
"DATATABLE": {
"RESET_DEFAULT": "Palauta oletukseen",
"ADD_ROW": "Lisää rivi",
"REPLACE_ROWS": "Korvaa rivejä",
"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"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Yhtään raporttia ei ole valittuna. Valitse raportti luettelosta."
},
"PS-TAB": {
"TASKS-TAB": "Tehtävät",
"PROCESSES-TAB": "Prosessi",
"REPORTS-TAB": "Raportit",
"SETTINGS-TAB": "Asetukset",
"START-TASK": "Aloita tehtävä",
"START-PROCESS": "Käynnistä prosessi",
"PROCESS-AUDIT-LOG": "Prosessitarkastusloki",
"TASK-AUDIT-LOG": "Tehtävätarkastusloki",
"TASK-SHOW-HEADER": "Näytä tieto-otsikko"
},
"PS_CLOUD_TAB": {
"APPS_TAB": "Sovellus",
"SETTINGS_TAB": "Asetukset"
},
"FORM-LIST": {
"STORE": "Tallenna",
"RESTORE": "Palauta"
},
"FORM-LOADING": {
"FORM_DATA": "Lomaketiedot",
"FORM_DATA_MESSAGE": "Anna lomakkeeseen lisättävät arvot",
"TYPEAHEAD_PLACEHOLDER": "Typeahead",
"RADIO_PLACEHOLDER": "Valintanappi",
"SELECT_PLACEHOLDER": "Avattava valikko"
},
"LOGIN": {
"CONTENT_SERVICES": "Content Services",
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "Kirjautumisalatunniste",
"SHOW_REMEMBERME": "Näytä Muista minut -toiminto",
"SHOW_SUCCESS_ROUTE": "Näytä onnistumispolku",
"CUSTOM_LOGO": "Oma logo"
},
"SEARCH": {
"RESULTS": "Hakutulokset",
"NO_RESULT": "Tuloksia ei löydy",
"FACET_FIELDS": {
"TYPE": "1: tyyppi",
"SIZE": "2: koko",
"CREATOR": "3: tekijä",
"MODIFIER": "4: muokkaaja",
"CREATED": "5: luotu"
},
"FACET_QUERIES": {
"MY_FACET_QUERIES": "Omat kyselyt",
"CREATED_THIS_YEAR": "1. Luotu tänä vuonna",
"MIMETYPE": "2. Tyyppi: HTML",
"XTRASMALL": "3. Koko: XS",
"SMALL": "4. Koko: S",
"MEDIUM": "5. Koko: M",
"LARGE": "6. Koko: L",
"XTRALARGE": "7. Koko: XL",
"XXTRALARGE": "8. Koko: XXL"
}
},
"SOCIAL": {
"LIKE": "Tykkäyskomponentti",
"RATING": "Arviokomponentti"
},
"TAG": {
"LIST": "Luettelotunnisteet Content Services",
"INSERT": "Lisää solmutunnus",
"NODE_LIST": "Tunnisteluettelo solmutunnuksen mukaan"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Peri oikeus",
"INHERITED_PERMISSIONS_BUTTON": "Oikeus peritty"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Lisää sovellustunnus",
"APP_ID_TYPE_ERROR": "Sovellustunnuksen täytyy olla numero",
"NUMBER_TYPE_ERROR": "Arvon täytyy olla numero",
"NUMBER_GREATER_THAN": "Arvon täytyy olla yhtä suuri tai suurempi kuin {{ value }}"
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Aloitussivu"
}
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Lisää sovellustunnus",
"APP_ID_TYPE_ERROR": "Sovellustunnuksen täytyy olla numero",
"NUMBER_GREATER_THAN": "Arvon täytyy olla yhtä suuri tai suurempi kuin {{ value }}"
}
},
"GROUP-TITLE1-TRANSLATION-KEY": "Oma otsikkokäännös yksi",
"GROUP-TITLE2-TRANSLATION-KEY": "Oma otsikkokäännös kaksi",
"ERROR_CONTENT": {
"507": {
"TITLE": "ACS-levy täynnä",
"DESCRIPTION": "Sisältö ylittää verkolle tai järjestelmälle määritetyn tallennustilan kokonaisrajoituksen",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Takaisin aloitussivulle"
}
}
},
"PROCESS_LIST_CLOUD_DEMO": {
"TITLE": "PROCESS LIST CLOUD DEMO",
"CUSTOMIZE_FILTERS": "Muokkaa suodatinta"
},
"TASK_LIST_CLOUD_DEMO": {
"CUSTOMIZE_FILTERS": "Muokkaa suodatinta"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Yksittäinen valinta",
"MULTI": "Monivalinta",
"PRESELECTED_VALUE": "Esivalittu: ",
"ROLE": "Roolit: ",
"APP_NAME": "Sovelluksen nimi",
"APP_FILTER_MODE": "Suodata sovelluksen nimen perusteella",
"ROLE_FILTER_MODE": "Suodata roolin perusteella",
"PRESELECT_VALIDATION": "Vahvistus esivalittu"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Monivalinta",
"TESTING_MODE": "Testaustila",
"SELECTION_MODE": "Valintatila",
"SELECTED_ROWS": "Valitut rivit",
"TASK_DETAILS_REDIRECTION": "Näytä tehtävätiedot tehtävää napsauttamalla",
"PROCESS_DETAILS_REDIRECTION": "Näyttää prosessin tiedot prosessia napsautettaessa",
"ACTION": {
"ACTION_TITLE": "Lisää toiminto",
"ACTION_MENU": "Toiminnon valikko",
"CONTEX_MENU": "Pikavalikko",
"ACTION_VISIBLE": "Näkyvissä",
"ACTION_DISABLE": "Poista käytöstä",
"ADD_BUTTON": "Lisää",
"KEY": "Avain",
"TITLE": "Otsikko",
"ICON": "Kuvake",
"TASK_ID": "Tehtävätunnus",
"PROCESS_ID": "Prosessiesiintymätunnus",
"ACTION_TYPE": "Toiminnon tyyppi"
}
}
}
+32 -17
View File
@@ -53,9 +53,11 @@
}
},
"APP_LAYOUT": {
"APP": "Application",
"APP_NAME": "Application Démo ADF",
"HOME": "Accueil",
"NODE-SELECTOR": "Sélecteur de nœud",
"SITES": "Sites",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Fil d'Ariane",
"NOTIFICATIONS": "Notifications",
@@ -76,6 +78,7 @@
"UPLOADER": "Chargeur",
"WEBSCRIPT": "Script Web",
"TAG": "Tag",
"PIPES": "Tuyaux",
"TRASHCAN": "Corbeille",
"SOCIAL": "Réseaux sociaux",
"SETTINGS": "Paramètres",
@@ -92,7 +95,9 @@
"ICONS": "Icônes",
"PEOPLE_GROUPS_CLOUD": "Cloud des personnes/groupes",
"PEOPLE_CLOUD": "Composant cloud des personnes",
"GROUPS_CLOUD": "Composant cloud des groupes"
"GROUPS_CLOUD": "Composant cloud des groupes",
"CONFIRM-DIALOG": "Boîte de dialogue de confirmation",
"COMMUNITY": "Communauté"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Personnaliser votre filtre"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Simple",
"MULTI": "Multi",
"PRESELECTED_VALUE": "Valeur présélectionnée"
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Nom",
"VERSION": "Version",
"VENDOR": "Fournisseur",
"LICENSE": "Licence",
"RUNTIME": "Java Runtime",
"DESCRIPTION": "Description"
}
"SINGLE": "Sélection unique",
"MULTI": "Sélection multiple",
"PRESELECTED_VALUE": "Présélection : ",
"ROLE": "Rôles : ",
"APP_NAME": "Nom de l'application",
"APP_FILTER_MODE": "Filtrer par nom d'application",
"ROLE_FILTER_MODE": "Filtrer par rôle",
"PRESELECT_VALIDATION": "Validation présélectionnée"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multisélection",
"TESTING_MODE": "Mode de test",
"SELECTION_MODE": "Mode de sélection"
"SELECTION_MODE": "Mode de sélection",
"SELECTED_ROWS": "Lignes sélectionnées",
"TASK_DETAILS_REDIRECTION": "Afficher les détails de la tâche en cliquant dessus",
"PROCESS_DETAILS_REDIRECTION": "Afficher les détails du processus en cliquant dessus",
"ACTION": {
"ACTION_TITLE": "Ajouter une action",
"ACTION_MENU": "Menu Action",
"CONTEX_MENU": "Menu contextuel",
"ACTION_VISIBLE": "Visible",
"ACTION_DISABLE": "Désactiver",
"ADD_BUTTON": "Ajouter",
"KEY": "Clé",
"TITLE": "Titre",
"ICON": "Icône",
"TASK_ID": "ID de la tâche",
"PROCESS_ID": "ID de l'instance de processus",
"ACTION_TYPE": "Type d'action"
}
}
}
+33 -18
View File
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "Applicazione",
"APP_NAME": "Applicazione demo ADF",
"HOME": "Home",
"NODE-SELECTOR": "Selezione nodo",
"SITES": "Siti",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Breadcrumb",
"NOTIFICATIONS": "Notifiche",
"TASK_LIST": "Elenco attività",
"PROCESS_LIST": "Elenco processi",
"PROCESS_CLOUD": "Cloud processo",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Login",
@@ -76,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Tubi",
"TRASHCAN": "Cestino",
"SOCIAL": "Social",
"SETTINGS": "Impostazioni",
@@ -92,7 +95,9 @@
"ICONS": "Icone",
"PEOPLE_GROUPS_CLOUD": "Cloud persone/gruppi",
"PEOPLE_CLOUD": "Componente Cloud persone",
"GROUPS_CLOUD": "Componente Cloud gruppi"
"GROUPS_CLOUD": "Componente Cloud gruppi",
"CONFIRM-DIALOG": "Finestra di conferma",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Personalizza il filtro"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Singolo",
"MULTI": "Multiplo",
"PRESELECTED_VALUE": "Valore preselezionato"
},
"ABOUT": {
"TITLE": "Plug-in",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Nome",
"VERSION": "Versione",
"VENDOR": "Fornitore",
"LICENSE": "Licenza",
"RUNTIME": "Runtime",
"DESCRIPTION": "Descrizione"
}
"SINGLE": "Selezione singola",
"MULTI": "Selezione multipla",
"PRESELECTED_VALUE": "Preselezione: ",
"ROLE": "Ruoli: ",
"APP_NAME": "Nome applicazione",
"APP_FILTER_MODE": "Filtra per nome applicazione",
"ROLE_FILTER_MODE": "Filtra per ruolo",
"PRESELECT_VALIDATION": "Convalida preselezione"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selezione multipla",
"TESTING_MODE": "Modalità di test",
"SELECTION_MODE": "Modalità di selezione"
"SELECTION_MODE": "Modalità di selezione",
"SELECTED_ROWS": "Righe selezionate",
"TASK_DETAILS_REDIRECTION": "Mostra dettagli compito dopo clic su compito",
"PROCESS_DETAILS_REDIRECTION": "Mostra i dettagli dopo il clic sul processo",
"ACTION": {
"ACTION_TITLE": "Aggiungi azione",
"ACTION_MENU": "Menu azione",
"CONTEX_MENU": "Menu contestuale",
"ACTION_VISIBLE": "Visibile",
"ACTION_DISABLE": "Disattiva",
"ADD_BUTTON": "Aggiungi",
"KEY": "Chiave",
"TITLE": "Titolo",
"ICON": "Icona",
"TASK_ID": "ID compito",
"PROCESS_ID": "ID istanza di processo",
"ACTION_TYPE": "Tipo di azione"
}
}
}
+33 -18
View File
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "アプリ",
"APP_NAME": "ADF デモアプリケーション",
"HOME": "ホーム",
"NODE-SELECTOR": "ノードセレクター",
"SITES": "サイト",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "階層リンク",
"NOTIFICATIONS": "通知",
"TASK_LIST": "タスクリスト",
"PROCESS_LIST": "プロセスリスト",
"PROCESS_CLOUD": "Process Cloud",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "ログイン",
@@ -76,6 +78,7 @@
"UPLOADER": "アップローダー",
"WEBSCRIPT": "Webscript",
"TAG": "タグ",
"PIPES": "パイプ",
"TRASHCAN": "ごみ箱",
"SOCIAL": "ソーシャル",
"SETTINGS": "設定",
@@ -92,7 +95,9 @@
"ICONS": "アイコン",
"PEOPLE_GROUPS_CLOUD": "メンバー/グループのクラウド",
"PEOPLE_CLOUD": "メンバーのクラウドコンポーネント",
"GROUPS_CLOUD": "グループのクラウドコンポーネント"
"GROUPS_CLOUD": "グループのクラウドコンポーネント",
"CONFIRM-DIALOG": "確認ダイアログ",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "フィルタのカスタマイズ"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "1 ",
"MULTI": "複数",
"PRESELECTED_VALUE": "事前選択値"
},
"ABOUT": {
"TITLE": "プラグイン",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "名前",
"VERSION": "バージョン",
"VENDOR": "ベンダー",
"LICENSE": "ライセンス",
"RUNTIME": "ランタイム",
"DESCRIPTION": "説明"
}
"SINGLE": "1 つ選択",
"MULTI": "複数選択",
"PRESELECTED_VALUE": "事前選択: ",
"ROLE": "役割: ",
"APP_NAME": "アプリケーション名",
"APP_FILTER_MODE": "アプリケーション名でフィルタ",
"ROLE_FILTER_MODE": "役割でフィルタ",
"PRESELECT_VALIDATION": "事前選択の検証"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "複数選択",
"TESTING_MODE": "テストモード",
"SELECTION_MODE": "選択モード"
"SELECTION_MODE": "選択モード",
"SELECTED_ROWS": "選択した行",
"TASK_DETAILS_REDIRECTION": "タスクのクリック時にタスクの詳細を表示",
"PROCESS_DETAILS_REDIRECTION": "プロセスのクリックでプロセスの詳細を表示",
"ACTION": {
"ACTION_TITLE": "処理の追加",
"ACTION_MENU": "処理メニュー",
"CONTEX_MENU": "コンテキストメニュー",
"ACTION_VISIBLE": "表示",
"ACTION_DISABLE": "無効",
"ADD_BUTTON": "追加",
"KEY": "キー",
"TITLE": "タイトル",
"ICON": "アイコン",
"TASK_ID": "タスク ID",
"PROCESS_ID": "プロセスインスタンス ID",
"ACTION_TYPE": "処理のタイプ"
}
}
}
+32 -17
View File
@@ -53,9 +53,11 @@
}
},
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demoprogam",
"HOME": "Hjem",
"NODE-SELECTOR": "Nodevelger",
"SITES": "Områder",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Søkebane",
"NOTIFICATIONS": "Varsler",
@@ -76,6 +78,7 @@
"UPLOADER": "Opplaster",
"WEBSCRIPT": "Webscript",
"TAG": "Tagg",
"PIPES": "Rør",
"TRASHCAN": "Søppelkurv",
"SOCIAL": "Sosial",
"SETTINGS": "Innstillinger",
@@ -92,7 +95,9 @@
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Person-/gruppesky",
"PEOPLE_CLOUD": "Personsky-komponent",
"GROUPS_CLOUD": "Gruppesky-kompontent"
"GROUPS_CLOUD": "Gruppesky-kompontent",
"CONFIRM-DIALOG": "Bekreftelsesdialog",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Tilpass filteret ditt"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Enkel",
"MULTI": "Flere",
"PRESELECTED_VALUE": "Forhåndsvalgt verdi"
},
"ABOUT": {
"TITLE": "Plugin-moduler",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Navn",
"VERSION": "Versjon",
"VENDOR": "Leverandør",
"LICENSE": "Lisens",
"RUNTIME": "Kjøretid",
"DESCRIPTION": "Beskrivelse"
}
"SINGLE": "Ett valg",
"MULTI": "Flere valg",
"PRESELECTED_VALUE": "Forhåndsvelg: ",
"ROLE": "Roller: ",
"APP_NAME": "Programnavn",
"APP_FILTER_MODE": "Filtrer etter programnavn",
"ROLE_FILTER_MODE": "Filtrer etter rolle",
"PRESELECT_VALIDATION": "Forhåndsvelg validering"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Flervalg",
"TESTING_MODE": "Testmodus",
"SELECTION_MODE": "Valgmodus"
"SELECTION_MODE": "Valgmodus",
"SELECTED_ROWS": "Valgte rader",
"TASK_DETAILS_REDIRECTION": "Vis oppgavedetaljer ved oppgaveklikk",
"PROCESS_DETAILS_REDIRECTION": "Vis prosessdetaljer ved prosessklikk",
"ACTION": {
"ACTION_TITLE": "Legg til handling",
"ACTION_MENU": "Handlingsmeny",
"CONTEX_MENU": "Kontekstmeny",
"ACTION_VISIBLE": "Synlig",
"ACTION_DISABLE": "Deaktiver",
"ADD_BUTTON": "Legg til",
"KEY": "Nøkkel",
"TITLE": "Tittel",
"ICON": "Ikon",
"TASK_ID": "Oppgave-ID",
"PROCESS_ID": "Prosesstilfelle-ID",
"ACTION_TYPE": "Handlingstype"
}
}
}
+33 -18
View File
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "App",
"APP_NAME": "ADF-demotoepassing",
"HOME": "Home",
"NODE-SELECTOR": "Selectiefunctie voor node",
"SITES": "Sites",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Navigatiepad",
"NOTIFICATIONS": "Meldingen",
"TASK_LIST": "Lijst met taken",
"PROCESS_LIST": "Lijst met processen",
"PROCESS_CLOUD": "Process Cloud",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Aanmelden",
@@ -76,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Pipes",
"TRASHCAN": "Prullenbak",
"SOCIAL": "Sociaal",
"SETTINGS": "Instellingen",
@@ -92,7 +95,9 @@
"ICONS": "Pictogrammen",
"PEOPLE_GROUPS_CLOUD": "Personen-/groepencloud",
"PEOPLE_CLOUD": "Component Personencloud",
"GROUPS_CLOUD": "Component Groepencloud"
"GROUPS_CLOUD": "Component Groepencloud",
"CONFIRM-DIALOG": "Bevestigingsdialoogvenster",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Uw filter aanpassen"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Eén",
"MULTI": "Multi",
"PRESELECTED_VALUE": "Vooraf geselecteerde waarde"
},
"ABOUT": {
"TITLE": "Plug-ins",
"TABLE_HEADERS": {
"ID": "Id",
"NAME": "Naam",
"VERSION": "Versie",
"VENDOR": "Leverancier",
"LICENSE": "Licentie",
"RUNTIME": "Runtime",
"DESCRIPTION": "Beschrijving"
}
"SINGLE": "Enkelvoudige selectie",
"MULTI": "Meervoudige selectie",
"PRESELECTED_VALUE": "Voorselecteren: ",
"ROLE": "Rollen: ",
"APP_NAME": "Toepassingsnaam",
"APP_FILTER_MODE": "Filteren op toepassingsnaam",
"ROLE_FILTER_MODE": "Filteren op rol",
"PRESELECT_VALIDATION": "Validatie voorselecteren"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multiselectie",
"TESTING_MODE": "Testmodus",
"SELECTION_MODE": "Selectiemodus"
"SELECTION_MODE": "Selectiemodus",
"SELECTED_ROWS": "Geselecteerde rijen",
"TASK_DETAILS_REDIRECTION": "Taakdetails weergeven bij klikken op taak",
"PROCESS_DETAILS_REDIRECTION": "Procesdetails weergeven bij klikken op proces",
"ACTION": {
"ACTION_TITLE": "Actie toevoegen",
"ACTION_MENU": "Actiemenu",
"CONTEX_MENU": "Contextmenu",
"ACTION_VISIBLE": "Zichtbaar",
"ACTION_DISABLE": "Uitschakelen",
"ADD_BUTTON": "Toevoegen",
"KEY": "Key",
"TITLE": "Titel",
"ICON": "Pictogram",
"TASK_ID": "Taak-ID",
"PROCESS_ID": "Procesinstantie-ID",
"ACTION_TYPE": "Actietype"
}
}
}
+329
View File
@@ -0,0 +1,329 @@
{
"APP": {
"INFO_DRAWER": {
"TITLE": "Szczegóły",
"COMMENTS": "Komentarze",
"PROPERTIES": "Właściwości",
"VERSIONS": "Wersje"
},
"HOME": {
"TITLE": "Składniki Angular dla Alfresco",
"DOCUMENTATION": "Dokumentacja"
},
"LOGOUT": {
"TITLE": "Strona wylogowywania",
"SUB_TITLE": "Wylogowanie przebiegło pomyślnie.",
"LOGIN": "Zaloguj",
"HOME": "Strona główna"
},
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "Zezwól na usunięcie",
"SHOW_COMMENTS": "Pokaż komentarze do wersji",
"ALLOW_DOWNLOAD": "Włącz pobieranie wersji",
"READ_ONLY": "Tylko do odczytu",
"COMMENTS": "Pokaż komentarze"
},
"PERSONAL-FILES": "Pliki osobiste",
"WARN-MULTIPLE-UPLOADS": "Wyświetl ostrzeżenie dla wielu operacji przesyłania.",
"CUSTOM-PERMISSION-MESSAGE": "Włącz komunikat o niestandardowych uprawnieniach",
"MEDIUM-TIME-FORMAT": "Włącz format czasu nośnika dla listy dokumentów",
"SEARCH": {
"RADIO": {
"NONE": "Brak",
"ALL": "Wszystkie",
"FOLDER": "Folder",
"DOCUMENT": "Dokument"
}
}
},
"title": "Witaj",
"VERSION": {
"NO_PERMISSION": "Nie masz uprawnień do zarządzania wersjami tej zawartości",
"NO_PERMISSION_EVENT": "Nie masz uprawnienia ${event.permission} do akcji ${event.action} typu ${event.type}.",
"CHOOSE_FILE": "Wybierz plik, aby wyświetlić jego wersje.",
"DIALOG": {
"CLOSE": "Zamknij",
"TITLE": "Zarządzaj wersjami"
}
},
"METADATA": {
"DIALOG": {
"CLOSE": "Zamknij",
"TITLE": "Metadane"
}
},
"APP_LAYOUT": {
"APP": "Aplikacja",
"APP_NAME": "Wersja demonstracyjna aplikacji ADF",
"HOME": "Strona główna",
"NODE-SELECTOR": "Selektor węzłów",
"SITES": "Witryny",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Ścieżka nawigacyjna",
"NOTIFICATIONS": "Powiadomienia",
"TASK_LIST": "Lista zadań",
"PROCESS_LIST": "Lista procesów",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Zaloguj",
"CUSTOM_SOURCES": "Źródła niestandardowe",
"DATATABLE": "Tabela danych",
"DATATABLE_LAZY": "Tabela danych (z opóźnieniem)",
"DOCUMENT_LIST": "Lista dokumentów",
"TEMPLATE": "Szablon",
"FORM": "Formularz",
"FORM_LIST": "Lista formularzy",
"FORM_LOADING": "Wczytywanie formularza",
"UPLOADER": "Program do przesyłania",
"WEBSCRIPT": "Skrypt internetowy",
"TAG": "Znacznik",
"PIPES": "Rury",
"TRASHCAN": "Kosz",
"SOCIAL": "Społecznościowy",
"SETTINGS": "Ustawienia",
"CONFIG-EDITOR": "Edytor konfiguracji",
"OVERLAY_VIEWER": "Przeglądarka nakładek",
"ABOUT": "Informacje",
"SEARCH": "Wyszukiwanie rozszerzone",
"EXTENDED_SEARCH_QUERY_BODY": "Wyszukiwanie rozszerzone z treścią zapytania",
"WORD_TO_SEARCH": "Szukany wyraz",
"SEARCH_CREATED_BY": "Utworzone przez",
"SEARCH_SERVICE_APPROACH": "Kliknij ten element, aby wyłączyć właściwość wejściową i skonfigurować korzystając z usługi",
"HEADER_DATA": "Dane nagłówka",
"TREE_VIEW": "Widok drzewa",
"ICONS": "Ikony",
"PEOPLE_GROUPS_CLOUD": "Chmura dla osób/grup",
"PEOPLE_CLOUD": "Składnik Chmura dla osób",
"GROUPS_CLOUD": "Składnik Chmura dla grup",
"CONFIRM-DIALOG": "Okno dialogowe potwierdzenia",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
"DELETE_PERMANENT": "Usuń trwale",
"RESTORE": "Przywróć"
},
"EMPTY_STATE": {
"TITLE": "Kosz jest pusty",
"FIRST_TEXT": "Usuwane elementy są przesyłane do kosza.",
"SECOND_TEXT": "Aby trwale usunąć elementy, opróżnij kosz."
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Wybór wielokrotny (przy użyciu pól wyboru)",
"THUMBNAILS": "Włącz miniatury",
"ALLOW_DROP_FILES": "Włącz upuszczanie plików w folderze",
"MULTIPLE_FILE_UPLOAD": "Przesyłanie wielu plików",
"FOLDER_UPLOAD": "Przesyłanie folderu",
"CUSTOM_FILTER": "Niestandardowy filtr rozszerzeń",
"MAX_SIZE": "Filtr rozmiaru maksymalnego",
"ENABLE_VERSIONING": "Włącz kontrolę wersji",
"DESCRIPTION_UPLOAD": "Włącz przesyłanie",
"ENABLE_INFINITE_SCROLL": "Włącz nieograniczone przewijanie",
"MULTISELECT_DESCRIPTION": "Używaj klawiszy Cmd (system Mac) lub Ctrl (system Windows), aby przełączać wybieranie wielu elementów.",
"RECENT": {
"EMPTY_STATE": {
"TITLE": "Lista bieżących plików jest pusta."
},
"TITLE": "Bieżące pliki"
},
"COLUMNS": {
"DISPLAY_NAME": "Nazwa wyświetlana",
"IS_LOCKED": "Blokada",
"TAG": "Znacznik",
"NODE_ID": "Identyfikator węzła",
"CREATED_BY": "Utworzone przez",
"CREATED_ON": "Data utworzenia",
"CREATED": "Utworzono",
"SIZE": "Rozmiar",
"DELETED_ON": "Usunięte",
"DELETED_BY": "Usunięte przez"
},
"TOOLBAR": {
"CARDVIEW": "Tryb widoku karty",
"SHARE_EDIT": "Edytuj ustawienia",
"NEW_FOLDER": "Nowy folder",
"EDIT_FOLDER": "Edytuj folder",
"DOWNLOAD": "Pobierz",
"DELETE": "Usuń",
"FAVORITES": "Dodaj do ulubionych",
"SHARE": "Udostępnij",
"THEME": "Wybierz motyw",
"SHOW_VERSION": "Pokaż wersję",
"HIDE_VERSION": "Ukryj wersję",
"LISTVIEW": "Tryb widoku listy",
"CREATE_LIBRARY": "Utwórz bibliotekę"
},
"ACTIONS": {
"VERSIONS": "Zarządzaj wersjami",
"LOCK": "Blokada",
"METADATA": "Informacje",
"DOWNLOAD": "Pobierz",
"PERMISSION": "Uprawnienie",
"FOLDER": {
"COPY": "Kopiuj",
"MOVE": "Przenieś",
"DELETE": "Usuń"
},
"DOCUMENT": {
"COPY": "Kopiuj",
"MOVE": "Przenieś",
"DELETE": "Usuń",
"PROCESS_ACTION": "Rozpocznij proces"
}
}
},
"DATATABLE": {
"RESET_DEFAULT": "Resetuj do domyślnych",
"ADD_ROW": "Dodaj wiersz",
"REPLACE_ROWS": "Zastąp wiersze",
"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."
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Nie wybrano raportu. Wybierz raport z listy."
},
"PS-TAB": {
"TASKS-TAB": "Zadania",
"PROCESSES-TAB": "Proces",
"REPORTS-TAB": "Raporty",
"SETTINGS-TAB": "Ustawienia",
"START-TASK": "Rozpocznij zadanie",
"START-PROCESS": "Rozpocznij proces",
"PROCESS-AUDIT-LOG": "Dziennik inspekcji procesu",
"TASK-AUDIT-LOG": "Dziennik inspekcji zadania",
"TASK-SHOW-HEADER": "Pokaż nagłówek szczegółów"
},
"PS_CLOUD_TAB": {
"APPS_TAB": "Aplikacja",
"SETTINGS_TAB": "Ustawienia"
},
"FORM-LIST": {
"STORE": "Magazyn",
"RESTORE": "Przywróć"
},
"FORM-LOADING": {
"FORM_DATA": "Dane formularza",
"FORM_DATA_MESSAGE": "Wprowadź wartości, aby wypełnić formularz.",
"TYPEAHEAD_PLACEHOLDER": "Wpisywanie z wyprzedzeniem",
"RADIO_PLACEHOLDER": "Przycisk radiowy",
"SELECT_PLACEHOLDER": "Menu rozwijane"
},
"LOGIN": {
"CONTENT_SERVICES": "Content Services",
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "Stopka logowania",
"SHOW_REMEMBERME": "Pokaż opcję „Zapamiętaj mnie”",
"SHOW_SUCCESS_ROUTE": "Pokaż ścieżkę powodzenia",
"CUSTOM_LOGO": "Logo niestandardowe"
},
"SEARCH": {
"RESULTS": "Wyniki wyszukiwania",
"NO_RESULT": "Brak wyników",
"FACET_FIELDS": {
"TYPE": "1: Typ",
"SIZE": "2: Rozmiar",
"CREATOR": "3: Twórca",
"MODIFIER": "4: Modyfikator",
"CREATED": "5: Utworzono"
},
"FACET_QUERIES": {
"MY_FACET_QUERIES": "Moje zapytania dotyczące aspektu",
"CREATED_THIS_YEAR": "1. Utworzone w tym roku",
"MIMETYPE": "2. Typ: HTML",
"XTRASMALL": "3. Rozmiar: bardzo mały",
"SMALL": "4. Rozmiar: mały",
"MEDIUM": "5. Rozmiar: średni",
"LARGE": "6. Rozmiar: duży",
"XTRALARGE": "7. Rozmiar: bardzo duży",
"XXTRALARGE": "8. Rozmiar: wyjątkowo duży"
}
},
"SOCIAL": {
"LIKE": "Składnik Like",
"RATING": "Składnik Rating"
},
"TAG": {
"LIST": "Wyświetl znaczniki Content Services",
"INSERT": "Wstaw identyfikator węzła",
"NODE_LIST": "Lista znaczników według identyfikatora węzła"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Dziedzicz uprawnienie",
"INHERITED_PERMISSIONS_BUTTON": "Odziedziczone uprawnienie"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Wstaw identyfikator aplikacji",
"APP_ID_TYPE_ERROR": "Identyfikator aplikacji musi być liczbą.",
"NUMBER_TYPE_ERROR": "Wartość musi być liczbą.",
"NUMBER_GREATER_THAN": "Wartość musi być większa od lub równa wartości {{ value }}"
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Strona początkowa"
}
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Wstaw identyfikator aplikacji",
"APP_ID_TYPE_ERROR": "Identyfikator aplikacji musi być liczbą.",
"NUMBER_GREATER_THAN": "Wartość musi być większa od lub równa wartości {{ value }}"
}
},
"GROUP-TITLE1-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie pierwsze",
"GROUP-TITLE2-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie drugie",
"ERROR_CONTENT": {
"507": {
"TITLE": "Dysk ACS pełny",
"DESCRIPTION": "Zawartość przekracza limit łącznego przydziału miejsca w magazynie skonfigurowany w sieci lub systemie",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Powrót do strony głównej"
}
}
},
"PROCESS_LIST_CLOUD_DEMO": {
"TITLE": "PROCESS LIST CLOUD DEMO",
"CUSTOMIZE_FILTERS": "Dostosuj swój filtr"
},
"TASK_LIST_CLOUD_DEMO": {
"CUSTOMIZE_FILTERS": "Dostosuj swój filtr"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Wybór pojedynczy",
"MULTI": "Wybór wielokrotny",
"PRESELECTED_VALUE": "Wstępny wybór: ",
"ROLE": "Role: ",
"APP_NAME": "Nazwa aplikacji",
"APP_FILTER_MODE": "Filtruj według nazwy aplikacji",
"ROLE_FILTER_MODE": "Filtruj według roli",
"PRESELECT_VALIDATION": "Sprawdzanie poprawności wstępnego wyboru"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Wybór wielokrotny",
"TESTING_MODE": "Tryb testowania",
"SELECTION_MODE": "Tryb wyboru",
"SELECTED_ROWS": "Wybrane wiersze",
"TASK_DETAILS_REDIRECTION": "Wyświetlaj szczegóły zadania po kliknięciu zadania",
"PROCESS_DETAILS_REDIRECTION": "Wyświetlaj szczegóły procesu po kliknięciu procesu",
"ACTION": {
"ACTION_TITLE": "Dodaj czynność",
"ACTION_MENU": "Menu czynności",
"CONTEX_MENU": "Menu kontekstowe",
"ACTION_VISIBLE": "Widoczne",
"ACTION_DISABLE": "Wyłącz",
"ADD_BUTTON": "Dodaj",
"KEY": "Klucz",
"TITLE": "Tytuł",
"ICON": "Ikona",
"TASK_ID": "Identyfikator zadania",
"PROCESS_ID": "Identyfikator wystąpienia procesu",
"ACTION_TYPE": "Typ czynności"
}
}
}
+33 -18
View File
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "Aplicativo",
"APP_NAME": "Aplicativo Demo ADF",
"HOME": "Página Inicial",
"NODE-SELECTOR": "Seletor de nó",
"SITES": "Sites",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Trilha de navegação",
"NOTIFICATIONS": "Notificações",
"TASK_LIST": "Lista de tarefas",
"PROCESS_LIST": "Lista de processos",
"PROCESS_CLOUD": "Process Cloud",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Login",
@@ -76,6 +78,7 @@
"UPLOADER": "Carregador",
"WEBSCRIPT": "Webscript",
"TAG": "Marca",
"PIPES": "Tubos",
"TRASHCAN": "Lixeira",
"SOCIAL": "Social",
"SETTINGS": "Configurações",
@@ -92,7 +95,9 @@
"ICONS": "Ícones",
"PEOPLE_GROUPS_CLOUD": "Nuvem de Pessoas/Grupo",
"PEOPLE_CLOUD": "Componente da Nuvem de Pessoas",
"GROUPS_CLOUD": "Componente da Nuvem de Grupos"
"GROUPS_CLOUD": "Componente da Nuvem de Grupos",
"CONFIRM-DIALOG": "Caixa de diálogo de confirmação",
"COMMUNITY": "Comunidade"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Personalizar seu filtro"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Único",
"MULTI": "Múltiplo",
"PRESELECTED_VALUE": "Valor pré-selecionado"
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Nome",
"VERSION": "Versão",
"VENDOR": "Fornecedor",
"LICENSE": "Licença",
"RUNTIME": "Tempo de execução",
"DESCRIPTION": "Descrição"
}
"SINGLE": "Seleção única",
"MULTI": "Seleção múltipla",
"PRESELECTED_VALUE": "Pré-seleção: ",
"ROLE": "Funções: ",
"APP_NAME": "Nome do aplicativo",
"APP_FILTER_MODE": "Filtrar por nome do aplicativo",
"ROLE_FILTER_MODE": "Filtrar por função",
"PRESELECT_VALIDATION": "Validação de pré-seleção"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Seleção Múltipla",
"TESTING_MODE": "Modo de Teste",
"SELECTION_MODE": "Modo de Seleção"
"SELECTION_MODE": "Modo de Seleção",
"SELECTED_ROWS": "Linhas selecionadas",
"TASK_DETAILS_REDIRECTION": "Exibir detalhes da tarefa ao clicar na tarefa",
"PROCESS_DETAILS_REDIRECTION": "Exibir detalhes do processo ao clicar no processo",
"ACTION": {
"ACTION_TITLE": "Adicionar ação",
"ACTION_MENU": "Menu de ação",
"CONTEX_MENU": "Menu de contexto",
"ACTION_VISIBLE": "Visível",
"ACTION_DISABLE": "Desativar",
"ADD_BUTTON": "Adicionar",
"KEY": "Chave",
"TITLE": "Título",
"ICON": "Ícone",
"TASK_ID": "ID de tarefa",
"PROCESS_ID": "ID de instância de processo",
"ACTION_TYPE": "Tipo de ação"
}
}
}
+34 -19
View File
@@ -12,7 +12,7 @@
},
"LOGOUT": {
"TITLE": "Страница выхода из системы",
"SUB_TITLE": "Вы не вышли из системы",
"SUB_TITLE": "Вы вышли из системы",
"LOGIN": "Войти",
"HOME": "Домашняя"
},
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "Приложение",
"APP_NAME": "Демонстрационное приложение ADF",
"HOME": "Домашняя",
"NODE-SELECTOR": "Селектор узлов",
"SITES": "Сайты",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Иерархия",
"NOTIFICATIONS": "Оповещения",
"TASK_LIST": "Список задач",
"PROCESS_LIST": "Список процессов",
"PROCESS_CLOUD": "Процесс в облаке",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Войти",
@@ -76,6 +78,7 @@
"UPLOADER": "Загрузчик",
"WEBSCRIPT": "Webscript",
"TAG": "Метка",
"PIPES": "Каналы",
"TRASHCAN": "Корзина",
"SOCIAL": "Социальный",
"SETTINGS": "Параметры",
@@ -92,7 +95,9 @@
"ICONS": "Значки",
"PEOPLE_GROUPS_CLOUD": "Облако пользователей/групп",
"PEOPLE_CLOUD": "Компонент облака «Пользователи»",
"GROUPS_CLOUD": "Компонент облака «Группы»"
"GROUPS_CLOUD": "Компонент облака «Группы»",
"CONFIRM-DIALOG": "Диалоговое окно подтверждения",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "Настройка фильтра"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Один",
"MULTI": "Несколько",
"PRESELECTED_VALUE": "Предустановленное значение"
},
"ABOUT": {
"TITLE": "Подключаемые модули",
"TABLE_HEADERS": {
"ID": "Идентификатор",
"NAME": "Имя",
"VERSION": "Версия",
"VENDOR": "Поставщик",
"LICENSE": "Лицензия",
"RUNTIME": "Среда выполнения",
"DESCRIPTION": "Описание"
}
"SINGLE": "Единичный выбор",
"MULTI": "Групповой выбор",
"PRESELECTED_VALUE": "Предварительный выбор: ",
"ROLE": "Роли: ",
"APP_NAME": "Имя приложения",
"APP_FILTER_MODE": "Фильтровать по имени приложения",
"ROLE_FILTER_MODE": "Фильтровать по роли",
"PRESELECT_VALIDATION": "Проверка предварительного выбора"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Выбор нескольких",
"TESTING_MODE": "Режим тестирования",
"SELECTION_MODE": "Режим выбора"
"SELECTION_MODE": "Режим выбора",
"SELECTED_ROWS": "Выбранные ряды",
"TASK_DETAILS_REDIRECTION": "Отображать подробные сведения о задаче при нажатии на задачу",
"PROCESS_DETAILS_REDIRECTION": "Показывать сведения о процессе при нажатии на процессе",
"ACTION": {
"ACTION_TITLE": "Добавить действие",
"ACTION_MENU": "Меню действий",
"CONTEX_MENU": "Контекстное меню",
"ACTION_VISIBLE": "Видимый",
"ACTION_DISABLE": "Отключить",
"ADD_BUTTON": "Добавить",
"KEY": "Ключ",
"TITLE": "Заголовок",
"ICON": "Значок",
"TASK_ID": "ИД задачи",
"PROCESS_ID": "Идентификатор экземпляра процесса",
"ACTION_TYPE": "Тип действия"
}
}
}
+329
View File
@@ -0,0 +1,329 @@
{
"APP": {
"INFO_DRAWER": {
"TITLE": "Detaljer",
"COMMENTS": "Kommentarer",
"PROPERTIES": "Egenskaper",
"VERSIONS": "Versioner"
},
"HOME": {
"TITLE": "Angular-komponenter till Alfresco",
"DOCUMENTATION": "Dokumentation"
},
"LOGOUT": {
"TITLE": "Utloggningssida",
"SUB_TITLE": "Du är nu utloggad",
"LOGIN": "Inloggning",
"HOME": "Hem"
},
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "Tillåt radering",
"SHOW_COMMENTS": "Visa kommentarer om versioner",
"ALLOW_DOWNLOAD": "Aktivera version nedladdning",
"READ_ONLY": "Skrivskyddad",
"COMMENTS": "Visa kommentarer"
},
"PERSONAL-FILES": "Personliga filer",
"WARN-MULTIPLE-UPLOADS": "Visa varning för flera uppladdningar",
"CUSTOM-PERMISSION-MESSAGE": "Aktivera anpassat behörighetsmeddelande",
"MEDIUM-TIME-FORMAT": "Aktivera mellantidsformat för dokumentlista",
"SEARCH": {
"RADIO": {
"NONE": "Ingen",
"ALL": "Alla",
"FOLDER": "Mapp",
"DOCUMENT": "Dokument"
}
}
},
"title": "Välkommen",
"VERSION": {
"NO_PERMISSION": "Du har inte behörighet att hantera versioner av det här innehållet",
"NO_PERMISSION_EVENT": "Du har inte ${event.permission} behörighet att ${event.action} ${event.type}",
"CHOOSE_FILE": "Välj en fil för att se dess versioner",
"DIALOG": {
"CLOSE": "Stäng",
"TITLE": "Hantera versioner"
}
},
"METADATA": {
"DIALOG": {
"CLOSE": "Stäng",
"TITLE": "Metadata"
}
},
"APP_LAYOUT": {
"APP": "Program",
"APP_NAME": "ADF-demoprogram",
"HOME": "Hem",
"NODE-SELECTOR": "Nodväljare",
"SITES": "Webbplatser",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Synlig sökväg",
"NOTIFICATIONS": "Aviseringar",
"TASK_LIST": "Uppgiftslista",
"PROCESS_LIST": "Processlista",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "Kortvy",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Inloggning",
"CUSTOM_SOURCES": "Anpassade källor",
"DATATABLE": "Datatabell",
"DATATABLE_LAZY": "Datatabell (lat)",
"DOCUMENT_LIST": "Dokumentlista",
"TEMPLATE": "Mall",
"FORM": "Formulär",
"FORM_LIST": "Formulärlista",
"FORM_LOADING": "Formulär läses in",
"UPLOADER": "Uppladdad av",
"WEBSCRIPT": "Webbskript",
"TAG": "Tagg",
"PIPES": "Pipes",
"TRASHCAN": "Papperskorg",
"SOCIAL": "Social",
"SETTINGS": "Inställningar",
"CONFIG-EDITOR": "Konfigurationseditor",
"OVERLAY_VIEWER": "Överlagringssvisare",
"ABOUT": "Om",
"SEARCH": "Utvidgad sökning",
"EXTENDED_SEARCH_QUERY_BODY": "Utvidgad sökning med frågetext",
"WORD_TO_SEARCH": "Sökord",
"SEARCH_CREATED_BY": "Skapad av",
"SEARCH_SERVICE_APPROACH": "Kontrollera den här för att avaktivera indataegenskap och konfigurera genom att använda tjänsten",
"HEADER_DATA": "Sidhuvuddata",
"TREE_VIEW": "Trädvy",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Personer/grupp moln",
"PEOPLE_CLOUD": "Personer moln-komponent",
"GROUPS_CLOUD": "Grupper moln-komponent",
"CONFIRM-DIALOG": "Dialogruta för bekräftelse",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
"DELETE_PERMANENT": "Radera permanent",
"RESTORE": "Återställ"
},
"EMPTY_STATE": {
"TITLE": "Papperskorgen är tom",
"FIRST_TEXT": "Objekt du raderar flyttas till papperskorgen.",
"SECOND_TEXT": "Töm papperskorgen för att radera objekt permanent"
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Flerval (med kryssrutor)",
"THUMBNAILS": "Aktivera miniatyrbilder",
"ALLOW_DROP_FILES": "Aktivera släpp filer i en mapp",
"MULTIPLE_FILE_UPLOAD": "Uppladdning av flera filer",
"FOLDER_UPLOAD": "Mappuppladdning",
"CUSTOM_FILTER": "Anpassade tilläggsfilter",
"MAX_SIZE": "Maxstorlek filter",
"ENABLE_VERSIONING": "Aktivera versionering",
"DESCRIPTION_UPLOAD": "Aktivera uppladdning",
"ENABLE_INFINITE_SCROLL": "Aktivera oändlig skrollning",
"MULTISELECT_DESCRIPTION": "Använd Cmd (Mac) eller Ctrl (Windows) för att växla val av flera objekt",
"RECENT": {
"EMPTY_STATE": {
"TITLE": "Listan med de senaste filerna är tom"
},
"TITLE": "De senaste filerna"
},
"COLUMNS": {
"DISPLAY_NAME": "Visa namn",
"IS_LOCKED": "Lås",
"TAG": "Tagg",
"NODE_ID": "Nod-ID",
"CREATED_BY": "Skapad av",
"CREATED_ON": "Skapad den",
"CREATED": "Skapad",
"SIZE": "Storlek",
"DELETED_ON": "Raderad",
"DELETED_BY": "Raderad av"
},
"TOOLBAR": {
"CARDVIEW": "Kortvyläge",
"SHARE_EDIT": "Redigera inställningar",
"NEW_FOLDER": "Ny mapp",
"EDIT_FOLDER": "Redigera mapp",
"DOWNLOAD": "Ladda ner",
"DELETE": "Radera",
"FAVORITES": "Lägg till favoriter",
"SHARE": "Dela",
"THEME": "Välj ett tema",
"SHOW_VERSION": "Visa version",
"HIDE_VERSION": "Dölj version",
"LISTVIEW": "Listvyläge",
"CREATE_LIBRARY": "Skapa bibliotek"
},
"ACTIONS": {
"VERSIONS": "Hantera versioner",
"LOCK": "Lås",
"METADATA": "Info",
"DOWNLOAD": "Ladda ner",
"PERMISSION": "Behörighet",
"FOLDER": {
"COPY": "Kopiera",
"MOVE": "Flytta",
"DELETE": "Radera"
},
"DOCUMENT": {
"COPY": "Kopiera",
"MOVE": "Flytta",
"DELETE": "Radera",
"PROCESS_ACTION": "Starta process"
}
}
},
"DATATABLE": {
"RESET_DEFAULT": "Återställ till standard",
"ADD_ROW": "Lägg till rad",
"REPLACE_ROWS": "Ersätt rader",
"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"
},
"ANALYTICS_REPORT": {
"NO_REPORT_MESSAGE": "Ingen rapport vald. Välj en rapport från listan"
},
"PS-TAB": {
"TASKS-TAB": "Uppgifter",
"PROCESSES-TAB": "Process",
"REPORTS-TAB": "Rapporter",
"SETTINGS-TAB": "Inställningar",
"START-TASK": "Starta uppgift",
"START-PROCESS": "Starta process",
"PROCESS-AUDIT-LOG": "Processgranskningslogg",
"TASK-AUDIT-LOG": "Uppgiftsgranskningslogg",
"TASK-SHOW-HEADER": "Visa detaljer rubrik"
},
"PS_CLOUD_TAB": {
"APPS_TAB": "Program",
"SETTINGS_TAB": "Inställningar"
},
"FORM-LIST": {
"STORE": "Lagra",
"RESTORE": "Återställ"
},
"FORM-LOADING": {
"FORM_DATA": "Formulärdata",
"FORM_DATA_MESSAGE": "Ange värden för att fylla formuläret",
"TYPEAHEAD_PLACEHOLDER": "Typeahead",
"RADIO_PLACEHOLDER": "Radioknapp",
"SELECT_PLACEHOLDER": "Dropdown"
},
"LOGIN": {
"CONTENT_SERVICES": "Content Services",
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "Inloggningssidfot",
"SHOW_REMEMBERME": "Visa kom ihåg mig",
"SHOW_SUCCESS_ROUTE": "Visa framgångsväg",
"CUSTOM_LOGO": "Anpassad logotyp"
},
"SEARCH": {
"RESULTS": "Sökresultat",
"NO_RESULT": "Inga resultat hittades",
"FACET_FIELDS": {
"TYPE": "1:Typ",
"SIZE": "2:Storlek",
"CREATOR": "3:Skapad av",
"MODIFIER": "4:Ändrad av",
"CREATED": "5:Skapad den"
},
"FACET_QUERIES": {
"MY_FACET_QUERIES": "Mina fasettförfrågningar",
"CREATED_THIS_YEAR": "1.Skapad det här året",
"MIMETYPE": "2.Typ: HTML",
"XTRASMALL": "3.Storlek: extra small",
"SMALL": "4.Storlek: small",
"MEDIUM": "5.Storlek: medium",
"LARGE": "6.Storlek: large",
"XTRALARGE": "7.Storlek: extra large",
"XXTRALARGE": "8.Storlek: XX large"
}
},
"SOCIAL": {
"LIKE": "Som komponent",
"RATING": "Klassificeringskomponent"
},
"TAG": {
"LIST": "Lista taggar Content Services",
"INSERT": "Infoga nod-ID",
"NODE_LIST": "Tagglista per nod-ID"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "Ärv behörighet",
"INHERITED_PERMISSIONS_BUTTON": "Behörighet ärvt"
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Infoga program-ID",
"APP_ID_TYPE_ERROR": "Program-ID måste vara ett nummer",
"NUMBER_TYPE_ERROR": "Värdet måste vara ett nummer",
"NUMBER_GREATER_THAN": "Värdet måste vara större än eller lika med {{ value }}"
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startsida"
}
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Infoga program-ID",
"APP_ID_TYPE_ERROR": "Program-ID måste vara ett nummer",
"NUMBER_GREATER_THAN": "Värdet måste vara större än eller lika med {{ value }}"
}
},
"GROUP-TITLE1-TRANSLATION-KEY": "Anpassad titelöversättning ett",
"GROUP-TITLE2-TRANSLATION-KEY": "Anpassad titelöversättning två",
"ERROR_CONTENT": {
"507": {
"TITLE": "ACS disk full",
"DESCRIPTION": "Innehållet överskrider övergripande kvotbegränsning som är konfigurerad för nätverket eller systemet",
"SECONDARY_BUTTON": {
"TEXT": ""
},
"RETURN_BUTTON": {
"TEXT": "Tillbaka hem"
}
}
},
"PROCESS_LIST_CLOUD_DEMO": {
"TITLE": "PROCESS LIST CLOUD DEMO",
"CUSTOMIZE_FILTERS": "Anpassa ditt filter"
},
"TASK_LIST_CLOUD_DEMO": {
"CUSTOMIZE_FILTERS": "Anpassa ditt filter"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "Enskilt val",
"MULTI": "Flerval",
"PRESELECTED_VALUE": "Förvälj: ",
"ROLE": "Roller: ",
"APP_NAME": "Programnamn",
"APP_FILTER_MODE": "Filterera på programnamn",
"ROLE_FILTER_MODE": "Filtrera på roll",
"PRESELECT_VALIDATION": "Förval validering"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Flerval",
"TESTING_MODE": "Testläge",
"SELECTION_MODE": "Urvalsläge",
"SELECTED_ROWS": "Valda rader",
"TASK_DETAILS_REDIRECTION": "Visa uppgiftsdetaljer vid klick på uppgift",
"PROCESS_DETAILS_REDIRECTION": "Visa processinformation vid processklick",
"ACTION": {
"ACTION_TITLE": "Lägg till åtgärd",
"ACTION_MENU": "Åtgärdsmeny",
"CONTEX_MENU": "Innehållsmeny",
"ACTION_VISIBLE": "Synlig",
"ACTION_DISABLE": "Avaktivera",
"ADD_BUTTON": "Lägg till",
"KEY": "Nyckel",
"TITLE": "Titel",
"ICON": "Ikon",
"TASK_ID": "Uppgifts-ID",
"PROCESS_ID": "Processinstans-ID",
"ACTION_TYPE": "Åtgärdstyp"
}
}
}
+33 -18
View File
@@ -53,15 +53,17 @@
}
},
"APP_LAYOUT": {
"APP": "APP",
"APP_NAME": "ADF 演示应用程序",
"HOME": "主页",
"NODE-SELECTOR": "节点选择器",
"SITES": "站点",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "面包屑",
"NOTIFICATIONS": "通知",
"TASK_LIST": "任务列表",
"PROCESS_LIST": "流程列表",
"PROCESS_CLOUD": "Process Cloud",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "登录",
@@ -76,6 +78,7 @@
"UPLOADER": "上传程序",
"WEBSCRIPT": "Webscript",
"TAG": "标签",
"PIPES": "管道",
"TRASHCAN": "垃圾桶",
"SOCIAL": "社交",
"SETTINGS": "设置",
@@ -92,7 +95,9 @@
"ICONS": "图标",
"PEOPLE_GROUPS_CLOUD": "人员/一组云",
"PEOPLE_CLOUD": "人员云组件",
"GROUPS_CLOUD": "组云组件"
"GROUPS_CLOUD": "组云组件",
"CONFIRM-DIALOG": "确认对话",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -290,25 +295,35 @@
"CUSTOMIZE_FILTERS": "自定义您的筛选器"
},
"PEOPLE_GROUPS_CLOUD": {
"SINGLE": "单个",
"MULTI": "多",
"PRESELECTED_VALUE": "预选值"
},
"ABOUT": {
"TITLE": "插件",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "名称",
"VERSION": "版本",
"VENDOR": "供应商",
"LICENSE": "许可证",
"RUNTIME": "运行时",
"DESCRIPTION": "说明"
}
"SINGLE": "单个选择",
"MULTI": "多重选择",
"PRESELECTED_VALUE": "预先选择: ",
"ROLE": "角色: ",
"APP_NAME": "应用程序名称",
"APP_FILTER_MODE": "按应用程序名称筛选",
"ROLE_FILTER_MODE": "按角色筛选",
"PRESELECT_VALIDATION": "预先选择验证"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "多重选择",
"TESTING_MODE": "测试模式",
"SELECTION_MODE": "选择模式"
"SELECTION_MODE": "选择模式",
"SELECTED_ROWS": "选定行",
"TASK_DETAILS_REDIRECTION": "单击任务时显示任务详情",
"PROCESS_DETAILS_REDIRECTION": "单击流程时显示流程详细信息",
"ACTION": {
"ACTION_TITLE": "添加操作",
"ACTION_MENU": "操作菜单",
"CONTEX_MENU": "上下文菜单",
"ACTION_VISIBLE": "可见",
"ACTION_DISABLE": "禁用",
"ADD_BUTTON": "添加",
"KEY": "Key",
"TITLE": "标题",
"ICON": "图标",
"TASK_ID": "任务 ID",
"PROCESS_ID": "流程实例 ID",
"ACTION_TYPE": "操作类型"
}
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,27 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { NgModule } from '@angular/core';
import { AcaMonacoModule } from 'adf-monaco-extension';
@NgModule({
imports: [
AcaMonacoModule
]
})
export class AppExtensionsModule {
}
+4 -2
View File
@@ -1,2 +1,4 @@
<router-outlet></router-outlet>
<router-outlet name="overlay"></router-outlet>
<div class="adf-demo-app-container">
<router-outlet></router-outlet>
<router-outlet name="overlay"></router-outlet>
</div>
+6 -12
View File
@@ -7,17 +7,11 @@ router-outlet[name='overlay'] + * {
right: 0;
}
@media (max-width: 425px) {
adf-content-node-selector {
.adf-content-node-selector-content-list {
.adf-data-table-cell {
display: none;
}
.adf-demo-app-container {
height: 100%;
width: 100%;
}
.adf-data-table-cell:first-child,
.adf-data-table-cell:nth-child(2) {
display: table-cell;
}
}
}
[dir='rtl'] .mat-icon {
transform: scale(-1, 1);
}
+6 -1
View File
@@ -16,7 +16,11 @@
*/
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
import { AuthenticationService, AlfrescoApiService, PageTitleService } from '@alfresco/adf-core';
import {
AuthenticationService,
AlfrescoApiService,
PageTitleService
} from '@alfresco/adf-core';
import { Router } from '@angular/router';
import { MatDialog } from '@angular/material';
@@ -33,6 +37,7 @@ export class AppComponent implements OnInit {
private authenticationService: AuthenticationService,
private router: Router,
private dialogRef: MatDialog) {
}
ngOnInit() {
+84 -25
View File
@@ -21,12 +21,12 @@ import { FormsModule } from '@angular/forms';
import { FlexLayoutModule } from '@angular/flex-layout';
import { ChartsModule } from 'ng2-charts';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule } from '@alfresco/adf-core';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule, CoreAutomationService } from '@alfresco/adf-core';
import { ExtensionsModule } from '@alfresco/adf-extensions';
import { AppComponent } from './app.component';
import { MaterialModule } from './material.module';
import { LoginComponent } from './components/login/login.component';
import { LogoutComponent } from './components/logout/logout.component';
import { AppLayoutComponent } from './components/app-layout/app-layout.component';
import { HomeComponent } from './components/home/home.component';
@@ -63,46 +63,93 @@ import { ContentModule } from '@alfresco/adf-content-services';
import { InsightsModule } from '@alfresco/adf-insights';
import { ProcessModule } from '@alfresco/adf-process-services';
import { AuthBearerInterceptor } from './services';
import { ProcessServicesCloudModule, GroupCloudModule } from '@alfresco/adf-process-services-cloud';
import { ProcessServicesCloudModule } from '@alfresco/adf-process-services-cloud';
import { AppExtensionsModule } from './app-extension.module';
import { TreeViewSampleComponent } from './components/tree-view/tree-view-sample.component';
import { AppExtensionsModule } from './extensions/extensions.module';
import { CloudLayoutComponent } from './components/app-layout/cloud/cloud-layout.component';
import { AppsCloudDemoComponent } from './components/app-layout/cloud/apps-cloud-demo.component';
import { ProcessesCloudDemoComponent } from './components/app-layout/cloud/processes-cloud-demo.component';
import { TaskDetailsCloudDemoComponent } from './components/app-layout/cloud/task-details-cloud-demo.component';
import { StartTaskCloudDemoComponent } from './components/app-layout/cloud/start-task-cloud-demo.component';
import { CloudBreadcrumbsComponent } from './components/app-layout/cloud/cloud-breadcrumb-component';
import { TasksCloudDemoComponent } from './components/app-layout/cloud/tasks-cloud-demo.component';
import { CloudFiltersDemoComponent } from './components/app-layout/cloud/cloud-filters-demo.component';
import { StartProcessCloudDemoComponent } from './components/app-layout/cloud/start-process-cloud-demo.component';
import { CloudLayoutComponent } from './components/cloud/cloud-layout.component';
import { AppsCloudDemoComponent } from './components/cloud/apps-cloud-demo.component';
import { TasksCloudDemoComponent } from './components/cloud/tasks-cloud-demo.component';
import { ProcessesCloudDemoComponent } from './components/cloud/processes-cloud-demo.component';
import { TaskDetailsCloudDemoComponent } from './components/cloud/task-details-cloud-demo.component';
import { CloudViewerComponent } from './components/cloud/cloud-viewer.component';
import { ProcessDetailsCloudDemoComponent } from './components/cloud/process-details-cloud-demo.component';
import { StartTaskCloudDemoComponent } from './components/cloud/start-task-cloud-demo.component';
import { StartProcessCloudDemoComponent } from './components/cloud/start-process-cloud-demo.component';
import { CloudBreadcrumbsComponent } from './components/cloud/cloud-breadcrumb-component';
import { CloudFiltersDemoComponent } from './components/cloud/cloud-filters-demo.component';
import { TemplateDemoComponent } from './components/template-list/template-demo.component';
import { PeopleGroupCloudDemoComponent } from './components/app-layout/cloud/people-groups-cloud-demo.component';
import { CloudSettingsComponent } from './components/app-layout/cloud/cloud-settings.component';
import { PeopleGroupCloudDemoComponent } from './components/cloud/people-groups-cloud-demo.component';
import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component';
import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/cloud-form-demo.component';
import { environment } from '../environments/environment';
import { AppCloudSharedModule } from './components/cloud/shared/cloud.shared.module';
import { DemoErrorComponent } from './components/error/demo-error.component';
import {
UserPreferenceCloudService,
PROCESS_FILTERS_SERVICE_TOKEN,
TASK_FILTERS_SERVICE_TOKEN
} from '@alfresco/adf-process-services-cloud';
import { registerLocaleData } from '@angular/common';
import localeFr from '@angular/common/locales/fr';
import localeDe from '@angular/common/locales/de';
import localeIt from '@angular/common/locales/it';
import localeEs from '@angular/common/locales/es';
import localeJa from '@angular/common/locales/ja';
import localeNl from '@angular/common/locales/nl';
import localePt from '@angular/common/locales/pt';
import localeNb from '@angular/common/locales/nb';
import localeRu from '@angular/common/locales/ru';
import localeCh from '@angular/common/locales/zh';
import localeAr from '@angular/common/locales/ar';
import localeCs from '@angular/common/locales/cs';
import localePl from '@angular/common/locales/pl';
import localeFi from '@angular/common/locales/fi';
import localeDa from '@angular/common/locales/da';
import localeSv from '@angular/common/locales/sv';
registerLocaleData(localeFr);
registerLocaleData(localeDe);
registerLocaleData(localeIt);
registerLocaleData(localeEs);
registerLocaleData(localeJa);
registerLocaleData(localeNl);
registerLocaleData(localePt);
registerLocaleData(localeNb);
registerLocaleData(localeRu);
registerLocaleData(localeCh);
registerLocaleData(localeAr);
registerLocaleData(localeCs);
registerLocaleData(localePl);
registerLocaleData(localeFi);
registerLocaleData(localeDa);
registerLocaleData(localeSv);
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
environment.e2e ? NoopAnimationsModule : BrowserAnimationsModule,
ReactiveFormsModule,
routing,
FormsModule,
HttpClientModule,
MaterialModule,
AppExtensionsModule,
FlexLayoutModule,
CoreModule.forRoot(),
ContentModule.forRoot(),
InsightsModule.forRoot(),
ProcessModule.forRoot(),
ProcessServicesCloudModule,
ExtensionsModule.forRoot(),
ThemePickerModule,
ChartsModule,
MonacoEditorModule.forRoot(),
ProcessServicesCloudModule,
AppExtensionsModule.forRoot(),
GroupCloudModule
AppCloudSharedModule,
MonacoEditorModule.forRoot()
],
declarations: [
AppComponent,
LoginComponent,
LogoutComponent,
AppLayoutComponent,
HomeComponent,
@@ -126,6 +173,7 @@ import { CloudSettingsComponent } from './components/app-layout/cloud/cloud-sett
SharedLinkViewComponent,
FormLoadingComponent,
DemoPermissionComponent,
DemoErrorComponent,
FormLoadingComponent,
ReportIssueComponent,
TreeViewSampleComponent,
@@ -134,19 +182,25 @@ import { CloudSettingsComponent } from './components/app-layout/cloud/cloud-sett
TasksCloudDemoComponent,
ProcessesCloudDemoComponent,
TaskDetailsCloudDemoComponent,
CloudViewerComponent,
ProcessDetailsCloudDemoComponent,
StartTaskCloudDemoComponent,
StartProcessCloudDemoComponent,
CloudBreadcrumbsComponent,
CloudFiltersDemoComponent,
TemplateDemoComponent,
PeopleGroupCloudDemoComponent,
CloudSettingsComponent
ConfirmDialogExampleComponent,
FormCloudDemoComponent,
ConfirmDialogExampleComponent
],
providers: [
{
provide: HTTP_INTERCEPTORS, useClass:
AuthBearerInterceptor, multi: true
},
{ provide: PROCESS_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService },
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService },
{ provide: AppConfigService, useClass: DebugAppConfigService }, // not use this service in production
{
provide: TRANSLATION_PROVIDER,
@@ -164,7 +218,8 @@ import { CloudSettingsComponent } from './components/app-layout/cloud/cloud-sett
source: 'resources/lazy-loading'
}
},
PreviewService
PreviewService,
CoreAutomationService
],
entryComponents: [
VersionManagerDialogAdapterComponent,
@@ -172,4 +227,8 @@ import { CloudSettingsComponent } from './components/app-layout/cloud/cloud-sett
],
bootstrap: [AppComponent]
})
export class AppModule {}
export class AppModule {
constructor(automationService: CoreAutomationService) {
automationService.setup();
}
}
+124 -62
View File
@@ -17,9 +17,14 @@
import { ModuleWithProviders } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AuthGuard, AuthGuardEcm, ErrorContentComponent, AuthGuardBpm } from '@alfresco/adf-core';
import {
AuthGuard,
AuthGuardEcm,
ErrorContentComponent,
AuthGuardBpm,
AuthGuardSsoRoleService
} from '@alfresco/adf-core';
import { AppLayoutComponent } from './components/app-layout/app-layout.component';
import { LoginComponent } from './components/login/login.component';
import { HomeComponent } from './components/home/home.component';
import { LogoutComponent } from './components/logout/logout.component';
import { ProcessServiceComponent } from './components/process-service/process-service.component';
@@ -39,18 +44,22 @@ import { DemoPermissionComponent } from './components/permissions/demo-permissio
import { ReportIssueComponent } from './components/report-issue/report-issue.component';
import { AppComponent } from './app.component';
import { TreeViewSampleComponent } from './components/tree-view/tree-view-sample.component';
import { CloudLayoutComponent } from './components/app-layout/cloud/cloud-layout.component';
import { ProcessesCloudDemoComponent } from './components/app-layout/cloud/processes-cloud-demo.component';
import { TaskDetailsCloudDemoComponent } from './components/app-layout/cloud/task-details-cloud-demo.component';
import { AppsCloudDemoComponent } from './components/app-layout/cloud/apps-cloud-demo.component';
import { TasksCloudDemoComponent } from './components/app-layout/cloud/tasks-cloud-demo.component';
import { StartTaskCloudDemoComponent } from './components/app-layout/cloud/start-task-cloud-demo.component';
import { StartProcessCloudDemoComponent } from './components/app-layout/cloud/start-process-cloud-demo.component';
import { AppsCloudDemoComponent } from './components/cloud/apps-cloud-demo.component';
import { PeopleGroupCloudDemoComponent } from './components/cloud/people-groups-cloud-demo.component';
import { CloudLayoutComponent } from './components/cloud/cloud-layout.component';
import { TasksCloudDemoComponent } from './components/cloud/tasks-cloud-demo.component';
import { ProcessesCloudDemoComponent } from './components/cloud/processes-cloud-demo.component';
import { StartTaskCloudDemoComponent } from './components/cloud/start-task-cloud-demo.component';
import { StartProcessCloudDemoComponent } from './components/cloud/start-process-cloud-demo.component';
import { TaskDetailsCloudDemoComponent } from './components/cloud/task-details-cloud-demo.component';
import { CloudViewerComponent } from './components/cloud/cloud-viewer.component';
import { ProcessDetailsCloudDemoComponent } from './components/cloud/process-details-cloud-demo.component';
import { TemplateDemoComponent } from './components/template-list/template-demo.component';
import { PeopleGroupCloudDemoComponent } from './components/app-layout/cloud/people-groups-cloud-demo.component';
import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/cloud-form-demo.component';
import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component';
import { DemoErrorComponent } from './components/error/demo-error.component';
export const appRoutes: Routes = [
{ path: 'login', component: LoginComponent },
{ path: 'login', loadChildren: 'app/components/login/login.module#AppLoginModule' },
{ path: 'logout', component: LogoutComponent },
{
path: 'settings',
@@ -59,8 +68,8 @@ export const appRoutes: Routes = [
{
path: 'files/:nodeId/view',
component: AppComponent,
canActivate: [ AuthGuardEcm ],
canActivateChild: [ AuthGuardEcm ],
canActivate: [AuthGuardEcm],
canActivateChild: [AuthGuardEcm],
outlet: 'overlay',
children: [
{
@@ -77,62 +86,75 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/blob-preview/blob-preview.module#BlobPreviewModule'
loadChildren: 'app/components/file-view/file-view.module#FileViewModule'
}
]
},
{ path: 'preview/s/:id', component: SharedLinkViewComponent },
{
path: 'breadcrumb',
canActivate: [AuthGuardEcm],
component: AppLayoutComponent,
loadChildren: 'app/components/breadcrumb-demo/breadcrumb-demo.module#AppBreadcrumbModule'
},
{
path: 'notifications',
component: AppLayoutComponent,
children: [
{
path: '',
loadChildren: 'app/components/notifications/notifications.module#AppNotificationsModule'
}
]
},
{
path: 'config-editor',
component: AppLayoutComponent,
children: [
{
path: '',
loadChildren: 'app/components/config-editor/config-editor.module#AppConfigEditorModule'
}
]
},
{
path: 'card-view',
component: AppLayoutComponent,
children: [
{
path: '',
loadChildren: 'app/components/card-view/card-view.module#AppCardViewModule'
}
]
},
{
path: 'header-data',
component: AppLayoutComponent,
children: [
{
path: '',
loadChildren: 'app/components/header-data/header-data.module#AppHeaderDataModule'
}
]
},
{
path: '',
component: AppLayoutComponent,
canActivate: [AuthGuard],
children: [
{
path: 'breadcrumb',
canActivate: [AuthGuardEcm],
loadChildren: 'app/components/breadcrumb-demo/breadcrumb-demo.module#AppBreadcrumbModule'
},
{
path: 'notifications',
children: [
{
path: '',
loadChildren: 'app/components/notifications/notifications.module#AppNotificationsModule'
}
]
},
{
path: 'config-editor',
children: [
{
path: '',
loadChildren: 'app/components/config-editor/config-editor.module#AppConfigEditorModule'
}
]
},
{
path: 'pipes',
children: [
{
path: '',
loadChildren: 'app/components/pipes/pipes.module#AppPipesModule'
}
]
},
{
path: 'card-view',
children: [
{
path: '',
loadChildren: 'app/components/card-view/card-view.module#AppCardViewModule'
}
]
},
{
path: 'sites',
children: [
{
path: '',
loadChildren: 'app/components/sites/sites.module#SitesModule'
}
]
},
{
path: 'header-data',
children: [
{
path: '',
loadChildren: 'app/components/header-data/header-data.module#AppHeaderDataModule'
}
]
},
{
path: '',
component: HomeComponent
@@ -143,6 +165,9 @@ export const appRoutes: Routes = [
},
{
path: 'cloud',
canActivate: [AuthGuardSsoRoleService],
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
children: [
{
path: '',
@@ -153,7 +178,13 @@ export const appRoutes: Routes = [
component: PeopleGroupCloudDemoComponent
},
{
path: ':applicationName',
path: 'community',
loadChildren: 'app/components/cloud/community/community.module#AppCommunityModule'
},
{
path: ':appName',
canActivate: [AuthGuardSsoRoleService],
data: { clientRoles: ['appName'], roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
children: [
{
path: '',
@@ -180,7 +211,16 @@ export const appRoutes: Routes = [
{
path: 'task-details/:taskId',
component: TaskDetailsCloudDemoComponent
},
{
path: 'task-details/:taskId/files/:nodeId/view',
component: CloudViewerComponent
},
{
path: 'process-details/:processInstanceId',
component: ProcessDetailsCloudDemoComponent
}
]
}
]
@@ -189,6 +229,10 @@ export const appRoutes: Routes = [
path: 'node-selector',
loadChildren: 'app/components/content-node-selector/content-node-selector.module#AppContentNodeSelectorModule'
},
{
path: 'confirm-dialog',
component: ConfirmDialogExampleComponent
},
{
path: 'settings-layout',
loadChildren: 'app/components/settings/settings.module#AppSettingsModule'
@@ -203,6 +247,11 @@ export const appRoutes: Routes = [
component: FilesComponent,
canActivate: [AuthGuardEcm]
},
{
path: 'extensions/document-list/presets',
canActivate: [AuthGuardEcm],
loadChildren: './components/document-list/extension-presets/extension-presets.module#ExtensionPresetsModule'
},
{
path: 'files/:id',
component: FilesComponent,
@@ -223,6 +272,10 @@ export const appRoutes: Routes = [
path: 'datatable',
loadChildren: 'app/components/datatable/datatable.module#AppDataTableModule'
},
{
path: 'datatable/dnd',
loadChildren: './components/datatable/drag-and-drop/datatable-dnd.module#AppDataTableDndModule'
},
{
path: 'search',
component: SearchResultComponent,
@@ -325,6 +378,7 @@ export const appRoutes: Routes = [
path: 'icons',
loadChildren: './components/icons/icons.module#AppIconsModule'
},
{ path: 'form-cloud', component: FormCloudDemoComponent },
{ path: 'form', component: FormComponent },
{ path: 'form-list', component: FormListComponent },
{ path: 'form-loading', component: FormLoadingComponent },
@@ -341,6 +395,10 @@ export const appRoutes: Routes = [
path: 'datatable-lazy',
loadChildren: 'app/components/lazy-loading/lazy-loading.module#LazyLoadingModule'
},
{
path: 'copy-content',
loadChildren: 'app/components/datatable/copy-content/datatable.module#AppDataTableCopyModule'
},
{
path: 'template-list',
component: TemplateDemoComponent
@@ -357,6 +415,10 @@ export const appRoutes: Routes = [
},
{
path: 'error/:id',
component: DemoErrorComponent
},
{
path: 'error/no-authorization',
component: ErrorContentComponent
},
{
@@ -1,51 +1,12 @@
<h3>{{ 'ABOUT.TITLE' | translate }}</h3>
<div class="adf-extension-details-container">
<mat-table [dataSource]="extensions$ | async">
<!-- $id Column -->
<ng-container matColumnDef="$id">
<mat-header-cell *matHeaderCellDef>{{ 'ABOUT.TABLE_HEADERS.ID' | translate }}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.$id}}</mat-cell>
</ng-container>
<adf-about-github-link
[url]="url"
[version]="version">
</adf-about-github-link>
<!-- $name Column -->
<ng-container matColumnDef="$name">
<mat-header-cell *matHeaderCellDef>{{ 'ABOUT.TABLE_HEADERS.NAME' | translate }}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.$name}}</mat-cell>
</ng-container>
<adf-about-product-version>
</adf-about-product-version>
<!-- $version Column -->
<ng-container matColumnDef="$version">
<mat-header-cell *matHeaderCellDef>{{ 'ABOUT.TABLE_HEADERS.VERSION' | translate }}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.$version}}</mat-cell>
</ng-container>
<!-- $vendor Column -->
<ng-container matColumnDef="$vendor">
<mat-header-cell *matHeaderCellDef>{{ 'ABOUT.TABLE_HEADERS.VENDOR' | translate }}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.$vendor}}</mat-cell>
</ng-container>
<!-- $license Column -->
<ng-container matColumnDef="$license">
<mat-header-cell *matHeaderCellDef>{{ 'ABOUT.TABLE_HEADERS.LICENSE' | translate }}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.$license}}</mat-cell>
</ng-container>
<!-- $runtime Column -->
<ng-container matColumnDef="$runtime">
<mat-header-cell *matHeaderCellDef>{{ 'ABOUT.TABLE_HEADERS.RUNTIME' | translate }}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.$runtime}}</mat-cell>
</ng-container>
<!-- $description Column -->
<ng-container matColumnDef="$description">
<mat-header-cell *matHeaderCellDef>{{ 'ABOUT.TABLE_HEADERS.DESCRIPTION' | translate }}</mat-header-cell>
<mat-cell *matCellDef="let element">{{element.$description}}</mat-cell>
</ng-container>
<mat-header-row *matHeaderRowDef="extensionColumns"></mat-header-row>
<mat-row *matRowDef="let row; columns: extensionColumns;"></mat-row>
</mat-table>
</div>
<adf-about></adf-about>
<adf-about-application-modules
[dependencies]="dependencies"
[showExtensions]="showExtensions">
</adf-about-application-modules>
@@ -16,9 +16,7 @@
*/
import { Component } from '@angular/core';
import { ExtensionRef } from '@alfresco/adf-extensions';
import { AppExtensionService } from '../../extensions/extension.service';
import { Observable } from 'rxjs';
import { name, version, commit, dependencies } from '../../../../../package.json';
@Component({
selector: 'app-about-page',
@@ -26,10 +24,13 @@ import { Observable } from 'rxjs';
styleUrls: ['about.component.scss']
})
export class AboutComponent {
extensionColumns: string[] = ['$id', '$name', '$version', '$vendor', '$license', '$runtime', '$description'];
extensions$: Observable<ExtensionRef[]>;
constructor(appExtensions: AppExtensionService) {
this.extensions$ = appExtensions.references$;
url = `https://github.com/Alfresco/${name}/commits/${commit}`;
version = version;
dependencies = dependencies;
showExtensions = true;
constructor() {
}
}
@@ -1,19 +1,12 @@
<adf-sidenav-layout [sidenavMin]="70" [sidenavMax]="220" [stepOver]="780" [hideSidenav]="hideSidenav"
[expandedSidenav]="expandedSidenav" (expanded)="setState($event)"
[position]="position">
[expandedSidenav]="expandedSidenav" (expanded)="setState($event)" [position]="position" data-automation-id="sidenav-layout">
<adf-sidenav-layout-header>
<ng-template let-toggleMenu="toggleMenu">
<adf-layout-header id="adf-header"
[title]="title | translate"
[redirectUrl]="redirectUrl"
[logo]="logo"
[tooltip]="tooltip | translate"
[showSidenavToggle]="showMenu"
[color]="color"
[position]="position"
(clicked)=toggleMenu($event)>
<adf-layout-header id="adf-header" [title]="title | translate" [redirectUrl]="redirectUrl" [logo]="logo"
[tooltip]="tooltip | translate" [showSidenavToggle]="showMenu" [color]="color" [position]="position"
(clicked)=toggleMenu($event)>
<div class="adf-app-layout-menu-spacer"></div>
@@ -21,10 +14,7 @@
<div class="adf-header-delimiexpandedSidenavter"></div>
<adf-userinfo
class="adf-app-layout-user-profile"
[menuPositionX]="'before'"
[menuPositionY]="'above'">
<adf-userinfo [menuPositionX]="'before'" [menuPositionY]="'above'">
</adf-userinfo>
<app-theme-picker></app-theme-picker>
@@ -35,6 +25,8 @@
<adf-language-menu></adf-language-menu>
</mat-menu>
<adf-notification-history menuPositionX="before" menuPositionY="above"></adf-notification-history>
</adf-layout-header>
</ng-template>
</adf-sidenav-layout-header>
@@ -42,17 +34,31 @@
<adf-sidenav-layout-navigation>
<ng-template let-isMenuMinimized="isMenuMinimized">
<mat-nav-list class="adf-sidenav-linklist">
<a mat-list-item *ngFor="let link of links" [attr.data-automation-id]="link.title | translate"
[routerLink]="link.href" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }"
class="adf-sidenav-link">
<mat-icon matListIcon class="adf-sidenav-menu-icon">{{link.icon}}</mat-icon>
<div class="adf-sidenav-menu-label" *ngIf="!isMenuMinimized()">{{link.title | translate }}</div>
</a>
<a mat-list-item adf-logout [enableRedirect]="enableRedirect" redirectUri="/logout"
class="adf-sidenav-link">
<mat-icon matListIcon class="adf-sidenav-menu-icon">exit_to_app</mat-icon>
<div class="adf-sidenav-menu-label" *ngIf="!isMenuMinimized()">Logout</div>
</a>
<ng-container *ngFor="let link of links">
<ng-container *ngIf="link.children">
<mat-list-item (click)="trigger.openMenu()" [attr.data-automation-id]="link.title | translate" class="adf-sidenav-link">
<mat-icon matListIcon>{{link.icon}}</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">{{link.title | translate }}</span>
<mat-icon class="adf-sidenav-link__expand-button" [matMenuTriggerData]="{links: link.children}"
rippleTrigger mat-icon-button #trigger="matMenuTrigger"
[matMenuTriggerFor]="nestedMenu">arrow_right</mat-icon>
</mat-list-item>
</ng-container>
<ng-container *ngIf="!link.children">
<mat-list-item [routerLink]="link.href"
routerLinkActive="adf-sidenav-link--active" [routerLinkActiveOptions]="{ exact: true }"
[attr.data-automation-id]="link.title | translate" class="adf-sidenav-link">
<mat-icon matListIcon >{{link.icon}}</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">{{link.title | translate }}</span>
</mat-list-item>
</ng-container>
</ng-container>
<mat-list-item adf-logout [enableRedirect]="enableRedirect" redirectUri="/logout" class="adf-sidenav-link" data-automation-id="Logout" >
<mat-icon matListIcon>exit_to_app</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">Logout</span>
</mat-list-item>
</mat-nav-list>
</ng-template>
@@ -66,3 +72,18 @@
</adf-sidenav-layout>
<app-log></app-log>
<mat-menu #nestedMenu="matMenu" xPosition="after" class="nestedMenu">
<ng-template matMenuContent let-links="links">
<button mat-menu-item *ngFor="let link of links"
class="adf-sidenav-link"
[attr.data-automation-id]="link.title | translate"
routerLinkActive="adf-sidenav-link--active"
[routerLink]="link.href"
[routerLinkActiveOptions]="{ exact: true }">
<mat-icon matListIcon>{{link.icon}}</mat-icon>
{{ link.title | translate }}
</button>
</ng-template>
</mat-menu>
@@ -1,9 +1,6 @@
@mixin adf-app-layout-theme($theme) {
$primary: map-get($theme, primary);
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);
$minimumAppWidth: 320px;
$toolbarHeight: 64px;
@media screen and ($mat-xsmall) {
app-search-bar {
@@ -17,44 +14,22 @@
}
}
.adf-app-layout-toolbar {
z-index: 998;
position: relative;
overflow: visible !important;
}
.adf-app-layout {
display: flex;
flex: 1;
min-width: $minimumAppWidth;
height: 100%;
.adf-nav-container {
display: block;
min-width: $minimumAppWidth;
height: 100%;
}
.adf-sidenav-linklist {
height: 100%;
overflow: auto;
padding-bottom: 8px;
box-sizing: border-box;
.adf-sidenav-link--active {
color: mat-color($primary);
}
.adf-sidenav-link {
&.adf-active {
color: mat-color($primary);
}
.adf-sidenav-menu-icon {
margin-right: 20px;
font-size: 14px;
}
.adf-sidenav-menu-label {
.mat-list-text {
font-size: 14px;
white-space: nowrap;
min-width: 120px;
padding: 0 10px;
}
}
@@ -62,34 +37,9 @@
height: 40px;
}
&-user-profile {
margin-right: 10px;
}
&-menu-spacer {
flex: 1 1 auto;
}
&-toolbar {
height: $toolbarHeight;
line-height: $toolbarHeight;
overflow: hidden;
mat-toolbar-row {
height: $toolbarHeight;
align-items: stretch;
justify-content: space-between;
}
.adf-toolbar-link {
min-width: 0;
line-height: $toolbarHeight;
&.adf-active {
background-color: rgba(0, 0, 0, 0.12);
}
}
}
}
@media screen and ($mat-small) {
@@ -112,4 +62,8 @@
flex: auto;
}
}
[dir='rtl'] .adf-sidenav-link__expand-button {
transform: rotateY(180deg);
}
}
@@ -15,9 +15,11 @@
* limitations under the License.
*/
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
import { UserPreferencesService, AppConfigService, AlfrescoApiService } from '@alfresco/adf-core';
import { Component, ViewEncapsulation, OnInit, OnDestroy } from '@angular/core';
import { UserPreferencesService, AppConfigService, AlfrescoApiService, UserPreferenceValues } from '@alfresco/adf-core';
import { HeaderDataService } from '../header-data/header-data.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@Component({
templateUrl: 'app-layout.component.html',
@@ -27,34 +29,52 @@ import { HeaderDataService } from '../header-data/header-data.service';
},
encapsulation: ViewEncapsulation.None
})
export class AppLayoutComponent implements OnInit {
export class AppLayoutComponent implements OnInit, OnDestroy {
private onDestroy$ = new Subject<boolean>();
links: Array<any> = [
{ href: '/home', icon: 'home', title: 'APP_LAYOUT.HOME' },
{
href: '/extensions', icon: 'extension', title: 'Extensions', children: [
{ href: '/extensions/document-list/presets', icon: 'extension', title: 'Document List' }
]
},
{ href: '/files', icon: 'folder_open', title: 'APP_LAYOUT.CONTENT_SERVICES' },
{ href: '/breadcrumb', icon: 'label', title: 'APP_LAYOUT.BREADCRUMB' },
{ href: '/notifications', icon: 'alarm', title: 'APP_LAYOUT.NOTIFICATIONS' },
{ href: '/card-view', icon: 'view_headline', title: 'APP_LAYOUT.CARD_VIEW' },
{ href: '/confirm-dialog', icon: 'view_headline', title: 'APP_LAYOUT.CONFIRM-DIALOG' },
{ href: '/header-data', icon: 'edit', title: 'APP_LAYOUT.HEADER_DATA' },
{ href: '/node-selector', icon: 'attachment', title: 'APP_LAYOUT.NODE-SELECTOR' },
{ href: '/sites', icon: 'format_list_bulleted', title: 'APP_LAYOUT.SITES' },
{ href: '/task-list', icon: 'assignment', title: 'APP_LAYOUT.TASK_LIST' },
{ href: '/process-list', icon: 'assignment', title: 'APP_LAYOUT.PROCESS_LIST' },
{ href: '/cloud', icon: 'cloud', title: 'APP_LAYOUT.PROCESS_CLOUD' },
{ href: '/cloud/people-group-cloud', icon: 'group', title: 'APP_LAYOUT.PEOPLE_GROUPS_CLOUD' },
{ href: '/activiti', icon: 'device_hub', title: 'APP_LAYOUT.PROCESS_SERVICES' },
{ href: '/cloud', icon: 'cloud', title: 'APP_LAYOUT.PROCESS_CLOUD', children: [
{ href: '/cloud/', icon: 'cloud', title: 'APP_LAYOUT.HOME' },
{ href: '/cloud/community', icon: 'cloud', title: 'APP_LAYOUT.COMMUNITY' },
{ href: '/form-cloud', icon: 'poll', title: 'APP_LAYOUT.FORM' },
{ href: '/cloud/people-group-cloud', icon: 'group', title: 'APP_LAYOUT.PEOPLE_GROUPS_CLOUD' }
]},
{ href: '/activiti', icon: 'device_hub', title: 'APP_LAYOUT.PROCESS_SERVICES', children: [
{ href: '/activiti', icon: 'vpn_key', title: 'APP_LAYOUT.APP' },
{ href: '/process-list', icon: 'assignment', title: 'APP_LAYOUT.PROCESS_LIST' },
{ href: '/form', icon: 'poll', title: 'APP_LAYOUT.FORM' },
{ href: '/form-list', icon: 'library_books', title: 'APP_LAYOUT.FORM_LIST' },
{ href: '/form-loading', icon: 'cached', title: 'APP_LAYOUT.FORM_LOADING' }
]},
{ href: '/login', icon: 'vpn_key', title: 'APP_LAYOUT.LOGIN' },
{ href: '/trashcan', icon: 'delete', title: 'APP_LAYOUT.TRASHCAN' },
{ href: '/dl-custom-sources', icon: 'extension', title: 'APP_LAYOUT.CUSTOM_SOURCES' },
{ href: '/datatable', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE' },
{ href: '/datatable-lazy', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE_LAZY' },
{ href: '/datatable', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE', children: [
{ href: '/datatable', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE' },
{ href: '/datatable-lazy', icon: 'view_module', title: 'APP_LAYOUT.DATATABLE_LAZY' },
{ href: '/datatable/dnd', icon: 'view_module', title: 'Drag and Drop' },
{ href: '/copy-content', icon: 'view_module', title: 'Copy Content' }
]},
{ href: '/template-list', icon: 'list_alt', title: 'APP_LAYOUT.TEMPLATE' },
{ href: '/form', icon: 'poll', title: 'APP_LAYOUT.FORM' },
{ href: '/form-list', icon: 'library_books', title: 'APP_LAYOUT.FORM_LIST' },
{ href: '/form-loading', icon: 'cached', title: 'APP_LAYOUT.FORM_LOADING' },
{ href: '/webscript', icon: 'extension', title: 'APP_LAYOUT.WEBSCRIPT' },
{ href: '/tag', icon: 'local_offer', title: 'APP_LAYOUT.TAG' },
{ href: '/social', icon: 'thumb_up', title: 'APP_LAYOUT.SOCIAL' },
{ href: '/pipes', icon: 'layers', title: 'APP_LAYOUT.PIPES' },
{ href: '/settings-layout', icon: 'settings', title: 'APP_LAYOUT.SETTINGS' },
{ href: '/config-editor', icon: 'code', title: 'APP_LAYOUT.CONFIG-EDITOR' },
{ href: '/extendedSearch', icon: 'search', title: 'APP_LAYOUT.SEARCH' },
@@ -68,6 +88,7 @@ export class AppLayoutComponent implements OnInit {
expandedSidenav = false;
position = 'start';
direction = 'ltr';
hideSidenav = false;
showMenu = true;
@@ -89,14 +110,42 @@ export class AppLayoutComponent implements OnInit {
this.expandedSidenav = expand;
}
this.headerService.hideMenu.subscribe((show) => this.showMenu = show);
this.headerService.color.subscribe((color) => this.color = color);
this.headerService.title.subscribe((title) => this.title = title);
this.headerService.logo.subscribe((path) => this.logo = path);
this.headerService.redirectUrl.subscribe((redirectUrl) => this.redirectUrl = redirectUrl);
this.headerService.tooltip.subscribe((tooltip) => this.tooltip = tooltip);
this.headerService.position.subscribe((position) => this.position = position);
this.headerService.hideSidenav.subscribe((hideSidenav) => this.hideSidenav = hideSidenav);
this.headerService.hideMenu
.pipe(takeUntil(this.onDestroy$))
.subscribe(show => this.showMenu = show);
this.headerService.color
.pipe(takeUntil(this.onDestroy$))
.subscribe(color => this.color = color);
this.headerService.title
.pipe(takeUntil(this.onDestroy$))
.subscribe(title => this.title = title);
this.headerService.logo
.pipe(takeUntil(this.onDestroy$))
.subscribe(path => this.logo = path);
this.headerService.redirectUrl
.pipe(takeUntil(this.onDestroy$))
.subscribe(redirectUrl => this.redirectUrl = redirectUrl);
this.headerService.tooltip
.pipe(takeUntil(this.onDestroy$))
.subscribe(tooltip => this.tooltip = tooltip);
this.headerService.position
.pipe(takeUntil(this.onDestroy$))
.subscribe(position => this.position = position);
this.headerService.hideSidenav
.pipe(takeUntil(this.onDestroy$))
.subscribe(hideSidenav => this.hideSidenav = hideSidenav);
}
ngOnDestroy() {
this.onDestroy$.next(true);
this.onDestroy$.complete();
}
constructor(
@@ -111,7 +160,7 @@ export class AppLayoutComponent implements OnInit {
setState(state) {
if (this.config.get('sideNav.preserveState')) {
this.userPreferences.set('expandedSidenav', state);
this.userPreferences.set(UserPreferenceValues.ExpandedSideNavStatus, state);
}
}
}
@@ -1,18 +0,0 @@
<div fxFlex fxLayout="column" class="adf-settings-container">
<mat-checkbox [color]="'primary'" [checked]="multiselect" (change)="toggleMultiselect()" data-automation-id="multiSelection">
{{ 'SETTINGS_CLOUD.MULTISELECTION' | translate }}
</mat-checkbox>
<mat-checkbox [color]="'primary'" [checked]="testingMode" (change)="toggleTestingMode()" data-automation-id="testingMode">
{{ 'SETTINGS_CLOUD.TESTING_MODE' | translate }}
</mat-checkbox>
<mat-form-field>
<mat-label>
{{ 'SETTINGS_CLOUD.SELECTION_MODE' | translate }}
</mat-label>
<mat-select [(ngModel)]="selectionMode" (selectionChange)="onSelectionModeChange()">
<mat-option *ngFor="let option of selectionModeOptions" [value]="option.value">
{{ option.title }}
</mat-option>
</mat-select>
</mat-form-field>
</div>
@@ -1,78 +0,0 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, OnInit } from '@angular/core';
import { CloudLayoutService } from './services/cloud-layout.service';
@Component({
selector: 'app-cloud-settings',
templateUrl: './cloud-settings.component.html',
styleUrls: ['./cloud-settings.component.scss']
})
export class CloudSettingsComponent implements OnInit {
multiselect: boolean;
selectionMode: string;
testingMode: boolean;
selectionModeOptions = [
{ value: '', title: 'None' },
{ value: 'single', title: 'Single' },
{ value: 'multiple', title: 'Multiple' }
];
constructor(private cloudLayoutService: CloudLayoutService) { }
ngOnInit() {
this.cloudLayoutService.getCurrentSettings()
.subscribe((settings) => this.setCurrentSettings(settings));
}
setCurrentSettings(settings) {
if (settings.multiselect !== undefined) {
this.multiselect = settings.multiselect;
}
if (settings.testingMode !== undefined) {
this.testingMode = settings.testingMode;
}
if (settings.selectionMode !== undefined) {
this.selectionMode = settings.selectionMode;
}
}
toggleMultiselect() {
this.multiselect = !this.multiselect;
this.setSetting();
}
toggleTestingMode() {
this.testingMode = !this.testingMode;
this.setSetting();
}
onSelectionModeChange() {
this.setSetting();
}
setSetting() {
this.cloudLayoutService.setCurrentSettings({
multiselect: this.multiselect,
testingMode: this.testingMode,
selectionMode: this.selectionMode
});
}
}
@@ -0,0 +1,56 @@
<div class="main-content">
<mat-tab-group>
<mat-tab label="Form" class="form-cloud-render">
<div class="adf-form-container">
<adf-cloud-form
[showRefreshButton]="false"
[form]="form"
(formSaved)="onFormSaved()"
(formError)="logErrors($event)">
</adf-cloud-form>
</div>
<div class="adf-console" #console>
<h3>Error log:</h3>
<p *ngFor="let error of errorFields">Error {{ error.name }} {{error.validationSummary.message |
translate}}</p>
</div>
</mat-tab>
<mat-tab label="Editor" class="form-cloud-editor">
<ngx-monaco-editor
id="adf-form-config-editor"
class="adf-form-config-editor"
[options]="editorOptions"
[(ngModel)]="formConfig"
(onInit)="onInitFormEditor($event)">
</ngx-monaco-editor>
<div class="adf-form-editor-buttons">
<button mat-raised-button id="adf-form-config-save" (click)="onSaveFormConfig()" color="primary">Save
form config
</button>
<button mat-raised-button id="adf-form-config-clear" (click)="onClearFormConfig()" color="primary">Clear
form config
</button>
</div>
<div class="adf-upload-config-button">
<a mat-raised-button color="primary" >
<mat-icon>file_upload</mat-icon>
<label for="upload-config-file">Upload JSON File</label>
<input
id="upload-config-file"
data-automation-id="upload-single-file"
type="file"
name="uploadConfig"
accept=".json"
(change)="onConfigAdded($event)">
</a>
</div>
</mat-tab>
</mat-tab-group>
</div>
@@ -0,0 +1,57 @@
.adf-form-container {
padding: 10px;
}
.adf-main-content {
padding: 0 15px;
}
.adf-card-view {
width: 30%;
display: inline-block;
}
.adf-console {
width: 60%;
display: inline-block;
vertical-align: top;
margin-left: 10px;
height: 500px;
overflow: scroll;
padding-bottom: 30px;
h3 {
margin-top: 0;
}
p {
display: block;
font-family: monospace, monospace;
margin: 0;
}
}
.adf-form-config-editor {
height: 500px !important;
}
.adf-form-editor-buttons {
display: flex;
justify-content: space-evenly;
}
.adf-upload-config-button {
display: flex;
justify-content: center;
input {
cursor: pointer;
height: 100%;
right: 0;
opacity: 0;
position: absolute;
top: 0;
width: 300px;
z-index: 4;
}
}
@@ -0,0 +1,106 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormFieldModel, NotificationService, FormRenderingService, CoreAutomationService, FormModel } from '@alfresco/adf-core';
import { FormCloudService, UploadCloudWidgetComponent } from '@alfresco/adf-process-services-cloud';
import { Subscription } from 'rxjs';
@Component({
templateUrl: 'cloud-form-demo.component.html',
styleUrls: ['cloud-form-demo.component.scss']
})
export class FormCloudDemoComponent implements OnInit, OnDestroy {
form: FormModel;
errorFields: FormFieldModel[] = [];
formConfig: string;
editor: any;
private subscriptions: Subscription[] = [];
editorOptions = {
theme: 'vs-dark',
language: 'json',
autoIndent: true,
formatOnPaste: true,
formatOnType: true,
automaticLayout: true
};
constructor(
private notificationService: NotificationService,
private formRenderingService: FormRenderingService,
private formService: FormCloudService,
private automationService: CoreAutomationService) {
this.formRenderingService.setComponentTypeResolver('upload', () => UploadCloudWidgetComponent, true);
}
logErrors(errorFields: FormFieldModel[]) {
this.errorFields = errorFields;
}
ngOnInit() {
this.formConfig = JSON.stringify(this.automationService.forms.getFormCloudDefinition());
this.parseForm();
}
onFormSaved() {
this.notificationService.openSnackMessage('Task has been saved successfully');
}
ngOnDestroy() {
this.subscriptions.forEach((subscription) => subscription.unsubscribe());
this.subscriptions = [];
}
onInitFormEditor(editor) {
this.editor = editor;
setTimeout(() => {
this.editor.getAction('editor.action.formatDocument').run();
}, 1000);
}
parseForm() {
this.form = this.formService.parseForm(JSON.parse(this.formConfig));
}
onSaveFormConfig() {
try {
this.parseForm();
} catch (error) {
this.notificationService.openSnackMessage('Wrong form configuration');
}
}
onClearFormConfig() {
this.formConfig = '';
}
onConfigAdded($event: any): void {
const file = $event.currentTarget.files[0];
const fileReader = new FileReader();
fileReader.onload = () => {
this.formConfig = <string> fileReader.result;
};
fileReader.readAsText(file);
this.onInitFormEditor(this.editor);
$event.target.value = '';
}
}
@@ -1,76 +0,0 @@
<mat-card class="adf-section">
<mat-card-title>
{{ 'APP_LAYOUT.PEOPLE_CLOUD' | translate}}
</mat-card-title>
<mat-card-content>
<br>
<mat-radio-group (change)="onChangePeopleMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="{{ peopleSingleMode }}">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" value="{{ peopleMultipleMode }}">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="people-control-options">
<mat-form-field class="adf-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ['ACTIVITI_ADMIN', "ACTIVITI_USER"]</mat-label>
<input matInput (input)="setPeopleRoles($event)" />
</mat-form-field>
<mat-form-field class="adf-preselect-value full">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.PRESELECTED_VALUE' | translate }}: {{ DEFAULT_PEOPLE_PLACEHOLDER }}</mat-label>
<input matInput (input)="setPeoplePreselectValue($event)" />
</mat-form-field>
</div>
<div>
<adf-cloud-people [preSelectUsers]="preSelectUsers" [roles]="peopleRoles" [mode]="peopleMode"></adf-cloud-people>
</div>
<div class="adf-people-list" *ngIf="canShowPeopleList()">
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectUsers" role="listitem">
<mat-icon mat-list-icon>person</mat-icon>
{{ item?.firstName }} {{ item?.lastName }}
</mat-list-item>
</mat-list>
</div>
</mat-card-content>
</mat-card>
<mat-card class="adf-section">
<mat-card-title>
{{ 'APP_LAYOUT.GROUPS_CLOUD' | translate}}
</mat-card-title>
<mat-card-content>
<br>
<mat-radio-group (change)="onChangeGroupsMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="{{ groupSingleMode }}">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" value="{{ groupMultipleMode }}">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="groups-control-options">
<mat-form-field class="adf-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ['ACTIVITI_ADMIN', "ACTIVITI_USER"]</mat-label>
<input matInput (input)="setGroupRoles($event)" />
</mat-form-field>
<mat-form-field class="adf-preselect-value full">
<mat-label>Preselect: {{ DEFAULT_GROUP_PLACEHOLDER }}</mat-label>
<input matInput (input)="setGroupsPreselectValue($event)" />
</mat-form-field>
</div>
<div>
<adf-cloud-group [mode]="groupMode" [roles]="groupRoles" [preSelectGroups]="preSelectGroup" (selectGroup)="onSelectGroup($event)"
(removeGroup)="onRemoveGroup($event)"></adf-cloud-group>
</div>
<div class="adf-group-list" *ngIf="canShowGroupList()">
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectGroup" role="listitem">
<mat-icon mat-list-icon>group</mat-icon>
{{ item.name }}
</mat-list-item>
</mat-list>
</div>
</mat-card-content>
</mat-card>
@@ -1,38 +0,0 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-process-filter
[appName]="applicationName"
[id]="filterId"
[filterProperties]="processFilterProperties"
(filterChange)="onFilterChange($event)"
(action)="onProcessFilterAction($event)">
</adf-cloud-edit-process-filter>
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list fxFlex class="adf-cloud-layout-overflow"
[applicationName]="editedFilter.appName"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionKey]="editedFilter.processDefinitionKey"
[id]="editedFilter.processInstanceId"
[status]="editedFilter.state"
[name]="editedFilter.processName"
[sorting]="sortArray"
[selectionMode]="selectionMode"
[multiselect]="multiselect"
(rowClick)="onRowClick($event)"
(rowsSelected)="onRowsSelected($event)"
#processCloud>
</adf-cloud-process-list>
<adf-pagination
[target]="processCloud"
(changePageSize)="onChangePageSize($event)"
(nextPage)="resetSelectedRows()"
(prevPage)="resetSelectedRows()">
</adf-pagination>
<div *ngIf="testingMode">
Selected rows:
<ul>
<li *ngFor="let row of selectedRows">{{ row.id }}</li>
</ul>
</div>
</div>
</div>
@@ -1,68 +0,0 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Injectable } from '@angular/core';
import { Observable, BehaviorSubject } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class CloudLayoutService {
private settings = {
multiselect: false,
testingMode: false,
selectionMode: 'single'
};
private filterTaskSubject: BehaviorSubject<any> = new BehaviorSubject({index: 0});
private filterTask$: Observable<any>;
private filterProcessSubject: BehaviorSubject<any> = new BehaviorSubject({index: 0});
private filterProcess$: Observable<any>;
private settingsSubject: BehaviorSubject<any> = new BehaviorSubject(this.settings);
private settings$: Observable<any>;
constructor() {
this.filterTask$ = this.filterTaskSubject.asObservable();
this.filterProcess$ = this.filterProcessSubject.asObservable();
this.settings$ = this.settingsSubject.asObservable();
}
getCurrentTaskFilterParam() {
return this.filterTask$;
}
setCurrentTaskFilterParam(param) {
this.filterTaskSubject.next(param);
}
getCurrentProcessFilterParam() {
return this.filterProcess$;
}
setCurrentProcessFilterParam(param) {
this.filterProcessSubject.next(param);
}
getCurrentSettings() {
return this.settings$;
}
setCurrentSettings(param) {
this.settingsSubject.next(param);
}
}
@@ -1,7 +0,0 @@
<adf-cloud-start-process
[appName]="applicationName"
[name]="processName"
(error)="openSnackMessage($event)"
(success)="onStartProcessSuccess()"
(cancel)="onCancelStartProcess()">
</adf-cloud-start-process>
@@ -1,12 +0,0 @@
<button data-automation-id="go-back" mat-icon-button (click)="onGoBack()">
<mat-icon>arrow_back</mat-icon> Go Back
</button>
<h4>Simple page to show the taskId: {{ taskId }} of the app: {{ applicationName }}</h4>
<adf-cloud-task-header
[appName]="applicationName"
[taskId]="taskId"
[readOnly]="readOnly">
</adf-cloud-task-header>
@@ -1,5 +0,0 @@
<adf-viewer
[showViewer]="true"
[blobFile]="content"
[displayName]="name">
</adf-viewer>
@@ -8,13 +8,6 @@
margin: 10px 0;
}
.adf-full-content-toolbar {
.adf-toolbar-title {
display: flex;
width: 100%;
.adf-breadcrumb {
width: 0;
}
}
.adf-full-content-toolbar .adf-toolbar-title .adf-breadcrumb {
width: 0;
}
@@ -4,7 +4,9 @@
<mat-card class="adf-card-view">
<adf-card-view
[properties]="properties"
[editable]="true">
[editable]="true"
[displayClearAction]="showClearDateAction"
[displayNoneOption]="showNoneOption">
</adf-card-view>
</mat-card>
@@ -22,6 +24,20 @@
(change)="toggleEditable()"
[checked]="isEditable">
Editable
</mat-slide-toggle><br>
<mat-slide-toggle
id="adf-toggle-clear-date"
[color]="'primary'"
(change)="toggleClearDate()"
[checked]="showClearDateAction">
Show clear date icon
</mat-slide-toggle><br>
<mat-slide-toggle
id="adf-toggle-none-option"
[color]="'primary'"
(change)="toggleNoneOption()"
[checked]="showNoneOption">
Show none option
</mat-slide-toggle>
</p>
@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, OnInit, ElementRef, ViewChild } from '@angular/core';
import { Component, OnInit, ElementRef, ViewChild, OnDestroy } from '@angular/core';
import {
CardViewTextItemModel,
CardViewDateItemModel,
@@ -27,29 +27,47 @@ import {
CardViewSelectItemModel,
CardViewUpdateService,
CardViewMapItemModel,
UpdateNotification
UpdateNotification,
DecimalNumberPipe
} from '@alfresco/adf-core';
import { of } from 'rxjs';
import { of, Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@Component({
templateUrl: './card-view.component.html',
styleUrls: ['./card-view.component.scss']
})
export class CardViewComponent implements OnInit {
export class CardViewComponent implements OnInit, OnDestroy {
@ViewChild('console') console: ElementRef;
isEditable = true;
properties: any;
logs: string[];
showClearDateAction = false;
showNoneOption = false;
constructor(private cardViewUpdateService: CardViewUpdateService) {
private onDestroy$ = new Subject<boolean>();
constructor(private cardViewUpdateService: CardViewUpdateService,
private decimalNumberPipe: DecimalNumberPipe) {
this.logs = [];
this.createCard();
}
respondToCardClick() {
this.logs.push(`clickable field`);
}
ngOnInit() {
this.cardViewUpdateService.itemUpdated$.subscribe(this.onItemChange.bind(this));
this.cardViewUpdateService.itemUpdated$
.pipe(takeUntil(this.onDestroy$))
.subscribe(this.onItemChange.bind(this));
}
ngOnDestroy() {
this.onDestroy$.next(true);
this.onDestroy$.complete();
}
createCard() {
@@ -68,7 +86,7 @@ export class CardViewComponent implements OnInit {
value: new Date(1983, 11, 24, 10, 0, 30),
key: 'date',
default: new Date(1983, 11, 24, 10, 0, 30),
format: 'DD.MM.YYYY',
format: 'shortDate',
editable: this.isEditable
}),
new CardViewDatetimeItemModel({
@@ -76,7 +94,7 @@ export class CardViewComponent implements OnInit {
value: new Date(1983, 11, 24, 10, 0, 0),
key: 'datetime',
default: new Date(1983, 11, 24, 10, 0, 0),
format: 'DD.MM.YYYY',
format: 'short',
editable: this.isEditable
}),
new CardViewBoolItemModel({
@@ -98,7 +116,8 @@ export class CardViewComponent implements OnInit {
value: 9.9,
key: 'float',
default: 0.0,
editable: this.isEditable
editable: this.isEditable,
pipes: [{ pipe: this.decimalNumberPipe}]
}),
new CardViewKeyValuePairsItemModel({
label: 'CardView Key-Value Pairs Item',
@@ -118,6 +137,17 @@ export class CardViewComponent implements OnInit {
value: new Map([['999', 'My Value']]),
key: 'map',
default: 'default map value'
}),
new CardViewTextItemModel({
label: 'This is clickable ',
value: 'click here',
key: 'click',
default: 'click here',
editable: this.isEditable,
clickable: true,
clickCallBack: () => {
this.respondToCardClick();
}
})
];
}
@@ -138,6 +168,14 @@ export class CardViewComponent implements OnInit {
this.createCard();
}
toggleClearDate() {
this.showClearDateAction = !this.showClearDateAction;
}
toggleNoneOption() {
this.showNoneOption = !this.showNoneOption;
}
reset() {
this.isEditable = true;
this.createCard();
@@ -1,7 +1,7 @@
<adf-toolbar>
<div fxLayout="column" fxLayoutAlign="center">
<div fxLayout="row">
<div class="adf-app-crumb">{{applicationName + ' >'}} </div>
<div class="adf-app-crumb">{{appName + ' >'}} </div>
<div class="adf-filter-crumb"> {{filterName | translate}}</div>
</div>
</div>
@@ -19,26 +19,24 @@ import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-cloud-breadcrumbs',
templateUrl: './cloud-breadcrumb-component.html',
styleUrls: ['cloud-breadcrumb-component.scss']
selector: 'app-cloud-breadcrumbs',
templateUrl: './cloud-breadcrumb-component.html',
styleUrls: ['cloud-breadcrumb-component.scss']
})
export class CloudBreadcrumbsComponent implements OnInit {
appName: string;
filterName: string;
applicationName: string;
filterName: string;
constructor(private route: ActivatedRoute) {}
constructor(private route: ActivatedRoute) { }
ngOnInit() {
this.route.parent.params.subscribe((
params) => {
this.applicationName = params.applicationName;
});
this.route.queryParams.subscribe((params) => {
if (params.filterName) {
this.filterName = params.filterName;
}
});
}
ngOnInit() {
this.route.parent.params.subscribe(params => {
this.appName = params.appName;
});
this.route.queryParams.subscribe(params => {
if (params.filterName) {
this.filterName = params.filterName;
}
});
}
}
@@ -46,8 +46,9 @@ export class CloudFiltersDemoComponent implements OnInit {
) {}
ngOnInit() {
this.currentTaskFilter$ = this.cloudLayoutService.getCurrentTaskFilterParam();
this.currentProcessFilter$ = this.cloudLayoutService.getCurrentProcessFilterParam();
this.currentTaskFilter$ = this.cloudLayoutService.taskFilter$;
this.currentProcessFilter$ = this.cloudLayoutService.processFilter$;
let root = '';
if (this.route.snapshot && this.route.snapshot.firstChild) {
root = this.route.snapshot.firstChild.url[0].path;
@@ -62,13 +63,13 @@ export class CloudFiltersDemoComponent implements OnInit {
}
onTaskFilterSelected(filter) {
this.cloudLayoutService.setCurrentTaskFilterParam({id: filter.id});
this.cloudLayoutService.setCurrentTaskFilterParam({id: filter && filter.id ? filter.id : ''});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: currentFilter });
}
onProcessFilterSelected(filter) {
this.cloudLayoutService.setCurrentProcessFilterParam({id: filter.id});
this.cloudLayoutService.setCurrentProcessFilterParam({id: filter && filter.id ? filter.id : ''});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: currentFilter });
}
@@ -24,7 +24,7 @@
</button>
</div>
</adf-sidebar-action-menu>
<app-cloud-filters-demo [appName]="applicationName"></app-cloud-filters-demo>
<app-cloud-filters-demo [appName]="appName"></app-cloud-filters-demo>
</ng-template>
</adf-sidenav-layout-navigation>
<adf-sidenav-layout-content>
@@ -26,7 +26,7 @@ import { CloudLayoutService } from './services/cloud-layout.service';
})
export class CloudLayoutComponent implements OnInit {
displayMenu = true;
applicationName: string;
appName: string;
constructor(
private router: Router,
@@ -37,7 +37,7 @@ export class CloudLayoutComponent implements OnInit {
ngOnInit() {
let root: string = '';
this.route.params.subscribe((params) => {
this.applicationName = params.applicationName;
this.appName = params.appName;
});
if (this.route.snapshot && this.route.snapshot.firstChild) {
@@ -56,10 +56,10 @@ export class CloudLayoutComponent implements OnInit {
}
onStartTask() {
this.router.navigate([`/cloud/${this.applicationName}/start-task/`]);
this.router.navigate([`/cloud/${this.appName}/start-task/`]);
}
onStartProcess() {
this.router.navigate([`/cloud/${this.applicationName}/start-process/`]);
this.router.navigate([`/cloud/${this.appName}/start-process/`]);
}
}
@@ -0,0 +1,3 @@
.activiti-form-viewer {
margin: 10px;
}
@@ -0,0 +1,4 @@
<adf-viewer
[overlayMode]="true"
[nodeId]="nodeId">
</adf-viewer>
@@ -15,26 +15,24 @@
* limitations under the License.
*/
import { ApiService } from './apiservice';
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Params } from '@angular/router/src/shared';
export class ProcessDefinitions {
@Component({
selector: 'app-cloud-viewer',
templateUrl: './cloud-viewer.component.html'
})
export class CloudViewerComponent implements OnInit {
api: ApiService = new ApiService();
nodeId: string;
constructor() {
constructor(private route: ActivatedRoute) {
}
async init(username, password) {
await this.api.login(username, password);
}
async getProcessDefinitions(appName) {
const path = '/' + appName + '-rb/v1/process-definitions';
const method = 'GET';
const queryParams = {};
const data = await this.api.performBpmOperation(path, method, queryParams, {});
return data;
ngOnInit() {
this.route.params.subscribe((params: Params) => {
this.nodeId = params['nodeId'];
});
}
}
@@ -0,0 +1,36 @@
<mat-tab-group fxFill class="adf-cloud-layout-tab-body">
<mat-tab label="{{'PS_CLOUD_TAB.APPS_TAB' | translate}}">
<div fxFill fxLayout>
<adf-sidenav-layout fxFlex [sidenavMin]="70" [sidenavMax]="270" [stepOver]="780">
<adf-sidenav-layout-navigation>
<ng-template>
<adf-sidebar-action-menu [expanded]="true" [width]="205" title="{{'ADF_SIDEBAR_ACTION_MENU.BUTTON.CREATE' | translate}}">
<mat-icon adf-sidebar-menu-title-icon>arrow_drop_down</mat-icon>
<div adf-sidebar-menu-options>
<button mat-menu-item data-automation-id="btn-start-task" (click)="onStartTask()">
<mat-icon>assessment</mat-icon>
<span>{{'ADF_SIDEBAR_ACTION_MENU.BUTTON.NEW_TASK' | translate}}</span>
</button>
</div>
<div adf-sidebar-menu-options>
<button mat-menu-item data-automation-id="btn-start-process" (click)="onStartProcess()">
<mat-icon>assessment</mat-icon>
<span>{{'ADF_SIDEBAR_ACTION_MENU.BUTTON.NEW_PROCESS' | translate}}</span>
</button>
</div>
</adf-sidebar-action-menu>
<app-community-cloud-filters-demo></app-community-cloud-filters-demo>
</ng-template>
</adf-sidenav-layout-navigation>
<adf-sidenav-layout-content>
<ng-template>
<router-outlet></router-outlet>
</ng-template>
</adf-sidenav-layout-content>
</adf-sidenav-layout>
</div>
</mat-tab>
<mat-tab label="{{'PS_CLOUD_TAB.SETTINGS_TAB' | translate}}">
<app-cloud-settings></app-cloud-settings>
</mat-tab>
</mat-tab-group>
@@ -0,0 +1,68 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, ViewEncapsulation } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { CloudLayoutService } from '../services/cloud-layout.service';
@Component({
templateUrl: './community-cloud.component.html',
styles: [`.adf-cloud-layout-overflow {
overflow: auto;
}
.adf-cloud-layout-tab-body .mat-tab-body-wrapper {
height: 100% !important;
}
`],
encapsulation: ViewEncapsulation.None
})
export class CommunityCloudComponent {
appName: string = '';
constructor(
private router: Router,
private route: ActivatedRoute,
private cloudLayoutService: CloudLayoutService
) { }
ngOnInit() {
let root: string = '';
if (this.route.snapshot && this.route.snapshot.firstChild) {
root = this.route.snapshot.firstChild.url[0].path;
}
this.route.queryParams.subscribe((params) => {
if (root === 'tasks' && params.id) {
this.cloudLayoutService.setCurrentTaskFilterParam({ id: params.id });
}
if (root === 'processes' && params.id) {
this.cloudLayoutService.setCurrentProcessFilterParam({ id: params.id });
}
});
}
onStartTask() {
this.router.navigate([`/cloud/community/start-task/`]);
}
onStartProcess() {
this.router.navigate([`/cloud/community/start-process/`]);
}
}
@@ -0,0 +1,31 @@
<mat-accordion>
<mat-expansion-panel [expanded]="expandTaskFilter" (opened)="onTaskFilterOpen()" (closed)="onTaskFilterClose()" data-automation-id='Task Filters'>
<mat-expansion-panel-header>
<mat-panel-title>
Task Filters
</mat-panel-title>
</mat-expansion-panel-header>
<adf-cloud-task-filters
*ngIf="expandTaskFilter"
[appName]="appName"
[showIcons]="true"
[filterParam]="currentTaskFilter$ | async"
(filterClick)="onTaskFilterSelected($event)">
</adf-cloud-task-filters>
</mat-expansion-panel>
<mat-expansion-panel [expanded]="expandProcessFilter" (opened)="onProcessFilterOpen()" (closed)="onProcessFilterClose()" data-automation-id='Process Filters'>
<mat-expansion-panel-header>
<mat-panel-title>
Process Filters
</mat-panel-title>
</mat-expansion-panel-header>
<adf-cloud-process-filters
*ngIf="expandProcessFilter"
[appName]="appName"
[showIcons]="true"
[filterParam]="currentProcessFilter$ | async"
(filterClick)="onProcessFilterSelected($event)">
</adf-cloud-process-filters>
</mat-expansion-panel>
</mat-accordion>
@@ -0,0 +1,95 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, ViewEncapsulation, Input, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Router, ActivatedRoute } from '@angular/router';
import { CloudLayoutService } from '../services/cloud-layout.service';
@Component({
selector: 'app-community-cloud-filters-demo',
templateUrl: './community-filters.component.html',
encapsulation: ViewEncapsulation.None
})
export class CommunityCloudFiltersDemoComponent implements OnInit {
@Input()
appName: string = 'community';
currentTaskFilter$: Observable<any>;
currentProcessFilter$: Observable<any>;
toggleTaskFilter = true;
toggleProcessFilter = true;
expandTaskFilter = true;
expandProcessFilter = false;
constructor(
private cloudLayoutService: CloudLayoutService,
private router: Router,
private route: ActivatedRoute
) {}
ngOnInit() {
this.currentTaskFilter$ = this.cloudLayoutService.taskFilter$;
this.currentProcessFilter$ = this.cloudLayoutService.processFilter$;
let root = '';
if (this.route.snapshot && this.route.snapshot.firstChild) {
root = this.route.snapshot.firstChild.url[0].path;
if (root === 'tasks') {
this.expandTaskFilter = true;
this.expandProcessFilter = false;
} else if (root === 'processes') {
this.expandProcessFilter = true;
this.expandTaskFilter = false;
}
}
}
onTaskFilterSelected(filter) {
this.cloudLayoutService.setCurrentTaskFilterParam({id: filter.id});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/community/tasks/`], { queryParams: currentFilter });
}
onProcessFilterSelected(filter) {
this.cloudLayoutService.setCurrentProcessFilterParam({id: filter.id});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/community/processes/`], { queryParams: currentFilter });
}
onTaskFilterOpen(): boolean {
this.expandTaskFilter = true;
this.expandProcessFilter = false;
return this.toggleTaskFilter;
}
onTaskFilterClose(): boolean {
return !this.toggleTaskFilter;
}
onProcessFilterOpen(): boolean {
this.expandProcessFilter = true;
this.expandTaskFilter = false;
return this.toggleProcessFilter;
}
onProcessFilterClose(): boolean {
return !this.toggleProcessFilter;
}
}
@@ -0,0 +1,25 @@
<button data-automation-id="go-back" mat-icon-button (click)="onGoBack()">
<mat-icon>arrow_back</mat-icon> Go Back
</button>
<h4 data-automation-id="process-details-header">Simple page to show the process instance: {{ processInstanceId }} of the app: {{ appName }}</h4>
<div class="adf-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="adf-cloud-layout-overflow"
[appName]="''"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
#taskCloud>
</adf-cloud-task-list>
<adf-cloud-process-header
class="adf-process-cloud-header"
[appName]="''"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -0,0 +1,14 @@
.adf {
&-process-cloud-container {
display: flex;
}
&-cloud-layout-overflow {
width:67%;
}
&-process-cloud-header {
margin-left: 10px;
width: 25%;
}
}
@@ -0,0 +1,49 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
@Component({
templateUrl: './community-process-details-cloud.component.html',
styleUrls: ['./community-process-details-cloud.component.scss']
})
export class CommunityProcessDetailsCloudDemoComponent {
processInstanceId: string;
appName: string;
constructor(private route: ActivatedRoute, private router: Router) {
this.route.params.subscribe((params) => {
this.processInstanceId = params.processInstanceId;
});
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
}
onGoBack() {
this.router.navigate([`/cloud/community/`]);
}
onRowClick(taskId: string) {
if (taskId) {
this.router.navigate([`/cloud/community/task-details/${taskId}`]);
}
}
}
@@ -0,0 +1,44 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-process-filter
[id]="filterId"
[appName]="'community'"
[filterProperties]="processFilterProperties.filterProperties"
[sortProperties]="processFilterProperties.sortProperties"
[actions]="processFilterProperties.actions"
(filterChange)="onFilterChange($event)"
(action)="onProcessFilterAction($event)">
</adf-cloud-edit-process-filter>
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list #processCloud
fxFlex
[appName]="''"
class="adf-cloud-layout-overflow"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionKey]="editedFilter.processDefinitionKey"
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
[selectionMode]="selectionMode"
[multiselect]="multiselect"
(rowClick)="onRowClick($event)"
(rowsSelected)="onRowsSelected($event)">
</adf-cloud-process-list>
<adf-pagination
[target]="processCloud"
(changePageSize)="onChangePageSize($event)"
(nextPage)="resetSelectedRows()"
(prevPage)="resetSelectedRows()">
</adf-pagination>
<div *ngIf="testingMode">
Selected rows:
<ul>
<li *ngFor="let row of selectedRows">{{ row.id }}</li>
</ul>
</div>
</div>
</div>
@@ -15,26 +15,28 @@
* limitations under the License.
*/
import { Component, ViewChild, OnInit } from '@angular/core';
import { Component, ViewChild, OnInit, OnDestroy } from '@angular/core';
import {
ProcessListCloudComponent,
ProcessFilterCloudModel,
ProcessListCloudSortingModel,
ProcessFiltersCloudComponent
ProcessFiltersCloudComponent,
ProcessFilterCloudService
} from '@alfresco/adf-process-services-cloud';
import { ActivatedRoute, Router } from '@angular/router';
import { UserPreferencesService, AppConfigService } from '@alfresco/adf-core';
import { CloudLayoutService } from './services/cloud-layout.service';
import { CloudLayoutService } from '../services/cloud-layout.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { Pagination } from '@alfresco/js-api';
@Component({
templateUrl: './processes-cloud-demo.component.html',
styleUrls: ['./processes-cloud-demo.component.scss']
templateUrl: './community-processes-cloud.component.html'
})
export class ProcessesCloudDemoComponent implements OnInit {
public static ACTION_SAVE_AS = 'SAVE_AS';
static PROCESS_FILTER_PROPERTY_KEYS = 'adf-edit-process-filter.properties';
export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
static PROCESS_FILTER_PROPERTY_KEYS = 'adf-edit-process-filter';
@ViewChild('processCloud')
processCloud: ProcessListCloudComponent;
@@ -42,7 +44,7 @@ export class ProcessesCloudDemoComponent implements OnInit {
@ViewChild('processFiltersCloud')
processFiltersCloud: ProcessFiltersCloudComponent;
applicationName: string = '';
appName: string = '';
isFilterLoaded: boolean;
filterId: string = '';
@@ -52,17 +54,23 @@ export class ProcessesCloudDemoComponent implements OnInit {
selectionMode: string;
selectedRows: string[] = [];
testingMode: boolean;
processFilterProperties: any[] = [];
processFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
editedFilter: ProcessFilterCloudModel;
private onDestroy$ = new Subject<boolean>();
constructor(
private route: ActivatedRoute,
private router: Router,
private cloudLayoutService: CloudLayoutService,
private userPreference: UserPreferencesService,
private processFilterCloudService: ProcessFilterCloudService,
private appConfig: AppConfigService) {
const properties = this.appConfig.get<Array<any>>(ProcessesCloudDemoComponent.PROCESS_FILTER_PROPERTY_KEYS);
const properties = this.appConfig.get<Array<any>>(
CommunityProcessesCloudDemoComponent.PROCESS_FILTER_PROPERTY_KEYS
);
if (properties) {
this.processFilterProperties = properties;
}
@@ -70,33 +78,49 @@ export class ProcessesCloudDemoComponent implements OnInit {
ngOnInit() {
this.isFilterLoaded = false;
this.route.parent.params.subscribe((params) => {
this.applicationName = params.applicationName;
this.appName = params.appName;
});
this.route.queryParams.subscribe((params) => {
this.isFilterLoaded = true;
this.onFilterChange(params);
this.filterId = params.id;
if (Object.keys(params).length > 0) {
this.isFilterLoaded = true;
this.onFilterChange(params);
this.filterId = params.id;
} else {
this.loadDefaultFilters();
}
});
this.cloudLayoutService.getCurrentSettings()
.subscribe((settings) => this.setCurrentSettings(settings));
this.cloudLayoutService
.settings$
.pipe(takeUntil(this.onDestroy$))
.subscribe(settings => this.setCurrentSettings(settings));
}
ngOnDestroy() {
this.onDestroy$.next(true);
this.onDestroy$.complete();
}
loadDefaultFilters() {
this.processFilterCloudService
.getProcessFilters('community')
.subscribe((filters: ProcessFilterCloudModel[]) => {
this.onFilterChange(filters[0]);
});
}
setCurrentSettings(settings) {
if (settings.multiselect !== undefined) {
if (settings) {
this.multiselect = settings.multiselect;
}
if (settings.testingMode !== undefined) {
this.testingMode = settings.testingMode;
}
if (settings.selectionMode !== undefined) {
this.selectionMode = settings.selectionMode;
}
}
onChangePageSize(event) {
onChangePageSize(event: Pagination) {
this.userPreference.paginationSize = event.maxItems;
}
@@ -104,19 +128,24 @@ export class ProcessesCloudDemoComponent implements OnInit {
this.selectedRows = [];
}
onRowClick($event) {
this.selectedRow = $event;
onRowClick(processInstanceId: string) {
this.router.navigate([`/cloud/community/process-details/${processInstanceId}`]);
}
onFilterChange(query: any) {
this.editedFilter = Object.assign({}, query);
this.sortArray = [new ProcessListCloudSortingModel({ orderBy: this.editedFilter.sort, direction: this.editedFilter.order })];
this.sortArray = [
new ProcessListCloudSortingModel({
orderBy: this.editedFilter.sort,
direction: this.editedFilter.order
})
];
}
onProcessFilterAction(filterAction: any) {
this.cloudLayoutService.setCurrentProcessFilterParam({ id: filterAction.filter.id });
if (filterAction.actionType === ProcessesCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/${this.applicationName}/processes/`], { queryParams: filterAction.filter });
if (filterAction.actionType === CommunityProcessesCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/community/processes/`], { queryParams: filterAction.filter });
}
}
@@ -0,0 +1,7 @@
<adf-cloud-start-process
[name]="processName"
[appName]="''"
(error)="openSnackMessage($event)"
(success)="onStartProcessSuccess()"
(cancel)="onCancelStartProcess()">
</adf-cloud-start-process>
@@ -0,0 +1,56 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { NotificationService, AppConfigService } from '@alfresco/adf-core';
import { CloudLayoutService } from '../services/cloud-layout.service';
@Component({
templateUrl: './community-start-process-cloud.component.html'
})
export class CommunityStartProcessCloudDemoComponent implements OnInit {
processName: string;
constructor(private appConfig: AppConfigService,
private cloudLayoutService: CloudLayoutService,
private notificationService: NotificationService,
private router: Router) {
}
ngOnInit() {
this.processName = this.appConfig.get<string>('adf-start-process.name');
}
onStartProcessSuccess() {
this.cloudLayoutService.setCurrentProcessFilterParam({ key: 'running-processes' });
this.router.navigate([`/cloud/community/processes`]);
}
onCancelStartProcess() {
this.cloudLayoutService.setCurrentProcessFilterParam({ key: 'all-processes' });
this.router.navigate([`/cloud/community/processes`]);
}
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(
event.response.body.message,
4000
);
}
}
@@ -0,0 +1,6 @@
<adf-cloud-start-task
[appName]="''"
(error)="openSnackMessage($event)"
(success)="onStartTaskSuccess()"
(cancel)="onCancelStartTask()">
</adf-cloud-start-task>
@@ -0,0 +1,49 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { NotificationService } from '@alfresco/adf-core';
import { CloudLayoutService } from '../services/cloud-layout.service';
@Component({
templateUrl: './community-start-task-cloud.component.html'
})
export class CommunityStartTaskCloudDemoComponent {
constructor(
private cloudLayoutService: CloudLayoutService,
private notificationService: NotificationService,
private router: Router) {
}
onStartTaskSuccess() {
this.cloudLayoutService.setCurrentTaskFilterParam({key: 'community'});
this.router.navigate([`/cloud/community/tasks`]);
}
onCancelStartTask() {
this.cloudLayoutService.setCurrentTaskFilterParam({key: 'community'});
this.router.navigate([`/cloud/community/tasks`]);
}
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(
event.response.body.message,
4000
);
}
}
@@ -1,34 +1,42 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-task-filter
[appName]="applicationName"
[id]="filterId"
[filterProperties]="taskFilterProperties"
[appName]="'community'"
[filterProperties]="taskFilterProperties.filterProperties"
[sortProperties]="taskFilterProperties.sortProperties"
[actions]="taskFilterProperties.actions"
(action)="onTaskFilterAction($event)"
(filterChange)="onFilterChange($event)">
</adf-cloud-edit-task-filter>
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-task-list #taskCloud
[applicationName]="editedFilter.appName"
fxFlex
[appName]="''"
class="adf-cloud-layout-overflow"
[processDefinitionId]="editedFilter.processDefinitionId"
[processInstanceId]="editedFilter.processInstanceId"
[name]="editedFilter.taskName"
[id]="editedFilter.taskId"
[parentTaskId]="editedFilter.parentTaskId"
[priority]="editedFilter.priority"
[owner]="editedFilter.owner"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[status]="editedFilter.state"
[assignee]="editedFilter.assignment"
[status]="editedFilter.status"
[assignee]="editedFilter.assignee"
[createdDate]="editedFilter.createdDate"
[dueDate]="editedFilter.dueDate"
[sorting]="sortArray"
[multiselect]="multiselect"
[selectionMode]="selectionMode"
(rowClick)="onRowClick($event)"
(rowsSelected)="onRowsSelected($event)">
</adf-cloud-task-list>
<adf-pagination [target]="taskCloud"
(changePageSize)="onChangePageSize($event)"
(nextPage)="resetSelectedRows()"
(prevPage)="resetSelectedRows()">
<adf-pagination
[target]="taskCloud"
(changePageSize)="onChangePageSize($event)"
(nextPage)="resetSelectedRows()"
(prevPage)="resetSelectedRows()">
</adf-pagination>
<div *ngIf="testingMode">
Selected rows:
@@ -0,0 +1,144 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, ViewChild, OnInit, OnDestroy } from '@angular/core';
import { TaskListCloudComponent, TaskListCloudSortingModel, TaskFilterCloudModel, TaskFilterCloudService } from '@alfresco/adf-process-services-cloud';
import { UserPreferencesService, AppConfigService } from '@alfresco/adf-core';
import { ActivatedRoute, Router } from '@angular/router';
import { CloudLayoutService } from '../services/cloud-layout.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { Pagination } from '@alfresco/js-api';
@Component({
templateUrl: './community-task-cloud.component.html',
styles: [`.adf-cloud-layout-tab-body .mat-tab-body-wrapper {
height: 100%;
}
`]
})
export class CommunityTasksCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
static TASK_FILTER_PROPERTY_KEYS = 'adf-edit-task-filter';
@ViewChild('taskCloud')
taskCloud: TaskListCloudComponent;
isFilterLoaded = false;
selectedRow: any;
sortArray: TaskListCloudSortingModel[];
editedFilter: TaskFilterCloudModel;
taskFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
filterId;
multiselect: boolean;
selectedRows: string[] = [];
testingMode: boolean;
selectionMode: string;
taskDetailsRedirection: boolean;
private onDestroy$ = new Subject<boolean>();
constructor(
private cloudLayoutService: CloudLayoutService,
private route: ActivatedRoute,
private router: Router,
private taskFilterCloudService: TaskFilterCloudService,
private userPreference: UserPreferencesService,
private appConfig: AppConfigService) {
const properties = this.appConfig.get<Array<any>>(CommunityTasksCloudDemoComponent.TASK_FILTER_PROPERTY_KEYS);
if (properties) {
this.taskFilterProperties = properties;
}
}
ngOnInit() {
this.isFilterLoaded = false;
this.route.queryParams.subscribe((params) => {
if (Object.keys(params).length > 0) {
this.isFilterLoaded = true;
this.onFilterChange(params);
this.filterId = params.id;
} else {
setTimeout( () => {
this.loadDefaultFilters();
});
}
});
this.cloudLayoutService
.settings$
.pipe(takeUntil(this.onDestroy$))
.subscribe(settings => this.setCurrentSettings(settings));
}
ngOnDestroy() {
this.onDestroy$.next(true);
this.onDestroy$.complete();
}
loadDefaultFilters() {
this.taskFilterCloudService
.getTaskListFilters('community')
.subscribe((filters: TaskFilterCloudModel[]) => {
this.onFilterChange(filters[0]);
});
}
setCurrentSettings(settings) {
if (settings) {
this.multiselect = settings.multiselect;
this.testingMode = settings.testingMode;
this.selectionMode = settings.selectionMode;
this.taskDetailsRedirection = settings.taskDetailsRedirection;
}
}
onChangePageSize(event: Pagination) {
this.userPreference.paginationSize = event.maxItems;
}
resetSelectedRows() {
this.selectedRows = [];
}
onRowClick(taskId: string) {
if (!this.multiselect && this.selectionMode !== 'multiple' && this.taskDetailsRedirection) {
this.router.navigate([`/cloud/community/task-details/${taskId}`]);
}
}
onRowsSelected(nodes) {
this.resetSelectedRows();
this.selectedRows = nodes.map((node) => node.obj.entry);
}
onFilterChange(filter: any) {
this.editedFilter = Object.assign({}, filter);
this.sortArray = [new TaskListCloudSortingModel({ orderBy: this.editedFilter.sort, direction: this.editedFilter.order })];
}
onTaskFilterAction(filterAction: any) {
this.cloudLayoutService.setCurrentTaskFilterParam({ id: filterAction.filter.id });
if (filterAction.actionType === CommunityTasksCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/community/tasks/`], { queryParams: filterAction.filter });
}
}
}
@@ -0,0 +1,21 @@
<h4 data-automation-id="task-details-header">Simple page to show the taskId: {{ taskId }} of the app: {{ appName }}</h4>
<div fxLayout="column" fxFill fxLayoutGap="2px">
<div fxLayout="row" fxFill>
<div fxLayout="column" fxFlex="80%">
<adf-cloud-task-form
[appName]="''"
[taskId]="taskId"
(cancelClick)="goBack()"
(taskClaimed)="onClaimTask()"
(taskCompleted)="onTaskCompleted()"
(taskUnclaimed)="onUnclaimTask()"
(formSaved)="onFormSaved()">
</adf-cloud-task-form>
</div>
<adf-cloud-task-header fxFlex
[appName]="''"
[taskId]="taskId">
</adf-cloud-task-header>
</div>
</div>
@@ -0,0 +1,20 @@
.adf {
&-task-detail-container {
display: flex;
}
&-task-title {
margin-left:15px;
}
&-task-control {
width:70%;
}
&-demop-card-container {
width:30%;
font-family: inherit;
}
}
@@ -0,0 +1,71 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService } from '@alfresco/adf-core';
@Component({
templateUrl: './community-task-details-cloud.component.html',
styleUrls: ['./community-task-details-cloud.component.scss']
})
export class CommunityTaskDetailsCloudDemoComponent {
taskId: string;
appName: string;
constructor(
private route: ActivatedRoute,
private router: Router,
private notificationService: NotificationService
) {
this.route.params.subscribe((params) => {
this.taskId = params.taskId;
});
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
}
isTaskValid(): boolean {
return this.appName !== undefined && this.taskId !== undefined;
}
goBack() {
this.router.navigate([`/cloud/community/`]);
}
onCompletedTask() {
this.goBack();
}
onUnclaimTask() {
this.goBack();
}
onClaimTask() {
this.goBack();
}
onTaskCompleted() {
this.goBack();
}
onFormSaved() {
this.notificationService.openSnackMessage('Task has been saved successfully');
}
}
@@ -0,0 +1,97 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { CommonModule } from '@angular/common';
import { CoreModule } from '@alfresco/adf-core';
import { FlexLayoutModule } from '@angular/flex-layout';
import {
ProcessServicesCloudModule,
LocalPreferenceCloudService,
PROCESS_FILTERS_SERVICE_TOKEN,
TASK_FILTERS_SERVICE_TOKEN
} from '@alfresco/adf-process-services-cloud';
import { CommunityCloudComponent } from './community-cloud.component';
import { CommunityTasksCloudDemoComponent } from './community-task-cloud.component';
import { CommunityCloudFiltersDemoComponent } from './community-filters.component';
import { CommunityProcessesCloudDemoComponent } from './community-processes-cloud.component';
import { CommunityStartProcessCloudDemoComponent } from './community-start-process-cloud.component';
import { CommunityStartTaskCloudDemoComponent } from './community-start-task-cloud.component';
import { CommunityProcessDetailsCloudDemoComponent } from './community-process-details-cloud.component';
import { CommunityTaskDetailsCloudDemoComponent } from './community-task-details-cloud.component';
import { AppCloudSharedModule } from '../shared/cloud.shared.module';
const routes: Routes = [
{
path: '',
component: CommunityCloudComponent,
children: [
{
path: 'tasks',
component: CommunityTasksCloudDemoComponent
},
{
path: 'processes',
component: CommunityProcessesCloudDemoComponent
},
{
path: 'start-task',
component: CommunityStartTaskCloudDemoComponent
},
{
path: 'start-process',
component: CommunityStartProcessCloudDemoComponent
},
{
path: 'task-details/:taskId',
component: CommunityTaskDetailsCloudDemoComponent
},
{
path: 'process-details/:processInstanceId',
component: CommunityProcessDetailsCloudDemoComponent
}
]
}
];
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
ProcessServicesCloudModule,
RouterModule.forChild(routes),
AppCloudSharedModule,
FlexLayoutModule
],
declarations: [
CommunityCloudComponent,
CommunityTasksCloudDemoComponent,
CommunityCloudFiltersDemoComponent,
CommunityProcessesCloudDemoComponent,
CommunityStartProcessCloudDemoComponent,
CommunityStartTaskCloudDemoComponent,
CommunityProcessDetailsCloudDemoComponent,
CommunityTaskDetailsCloudDemoComponent
],
providers: [
{ provide: PROCESS_FILTERS_SERVICE_TOKEN, useClass: LocalPreferenceCloudService },
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: LocalPreferenceCloudService }
]
})
export class AppCommunityModule {}
@@ -0,0 +1,105 @@
<mat-card class="adf-section">
<mat-card-title>
{{ 'APP_LAYOUT.PEOPLE_CLOUD' | translate}}
</mat-card-title>
<mat-card-content>
<br>
<mat-radio-group (change)="onChangePeopleMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" data-automation-id="adf-people-single-mode" value="{{ peopleSingleMode }}">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-people-multiple-mode" value="{{ peopleMultipleMode }}">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="people-control-options">
<mat-radio-group (change)="onChangePeopleFilterMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-people-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
</mat-radio-group>
<mat-form-field *ngIf="!isPeopleAppNameSelected()" class="adf-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"]</mat-label>
<input matInput (input)="setPeopleRoles($event)" data-automation-id="adf-people-roles-input" />
</mat-form-field>
<mat-form-field *ngIf="isPeopleAppNameSelected()" class="adf-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setPeopleAppName($event)" data-automation-id="adf-people-app-input" />
</mat-form-field>
<mat-form-field class="adf-preselect-value-full">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.PRESELECTED_VALUE' | translate }} {{ DEFAULT_PEOPLE_PLACEHOLDER }}</mat-label>
<input matInput (input)="setPeoplePreselectValue($event)" data-automation-id="adf-people-preselect-input" />
</mat-form-field>
<mat-checkbox class="adf-preselect-value" (change)="onChangePeopleValidation($event)">{{
'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }}</mat-checkbox>
</div>
<div>
<adf-cloud-people
[preSelectUsers]="preSelectUsers"
[validate]="peoplePreselectValidation"
[appName]="peopleAppName"
[roles]="peopleRoles"
[appName]="peopleAppName"
[title]="'ADF_TASK_LIST.START_TASK.FORM.LABEL.ASSIGNEE'"
[mode]="peopleMode"></adf-cloud-people>
</div>
<div class="adf-people-list" *ngIf="canShowPeopleList()">
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectUsers" role="listitem">
<mat-icon mat-list-icon>person</mat-icon>
{{ item?.firstName }} {{ item?.lastName }}
</mat-list-item>
</mat-list>
</div>
</mat-card-content>
</mat-card>
<mat-card class="adf-section">
<mat-card-title>
{{ 'APP_LAYOUT.GROUPS_CLOUD' | translate}}
</mat-card-title>
<mat-card-content>
<br>
<mat-radio-group (change)="onChangeGroupsMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" data-automation-id="adf-group-single-mode" value="{{ groupSingleMode }}">{{
'PEOPLE_GROUPS_CLOUD.SINGLE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-group-multiple-mode" value="{{ groupMultipleMode }}">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="groups-control-options">
<mat-radio-group (change)="onChangeGroupsFilterMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="appName">{{
'PEOPLE_GROUPS_CLOUD.APP_FILTER_MODE' | translate }}</mat-radio-button>
<mat-radio-button class="adf-people-multiple-mode" data-automation-id="adf-group-filter-role" value="role">{{
'PEOPLE_GROUPS_CLOUD.ROLE_FILTER_MODE' | translate }}</mat-radio-button>
</mat-radio-group>
<mat-form-field *ngIf="!isGroupAppNameSelected()" class="adf-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.ROLE' | translate }} ["ACTIVITI_ADMIN", "ACTIVITI_USER"]</mat-label>
<input matInput (input)="setGroupRoles($event)" data-automation-id="adf-group-roles-input"/>
</mat-form-field>
<mat-form-field *ngIf="isGroupAppNameSelected()" class="adf-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setGroupAppName($event)" data-automation-id="adf-group-app-input"/>
</mat-form-field>
<mat-form-field class="adf-preselect-value-full">
<mat-label>Preselect: {{ DEFAULT_GROUP_PLACEHOLDER }}</mat-label>
<input matInput (input)="setGroupsPreselectValue($event)" data-automation-id="adf-group-preselect-input" />
</mat-form-field>
</div>
<div>
<adf-cloud-group [mode]="groupMode" [roles]="groupRoles" [appName]="groupAppName" [preSelectGroups]="preSelectGroup"
(selectGroup)="onSelectGroup($event)" (removeGroup)="onRemoveGroup($event)"></adf-cloud-group>
</div>
<div class="adf-group-list" *ngIf="canShowGroupList()">
<mat-list role="list">
<mat-list-item *ngFor="let item of preSelectGroup" role="listitem">
<mat-icon mat-list-icon>group</mat-icon>
{{ item.name }}
</mat-list-item>
</mat-list>
</div>
</mat-card-content>
</mat-card>
@@ -16,10 +16,14 @@
.adf-preselect-value {
margin-right: 15px;
min-width: 330px;
min-width: 25%;
&-big {
width:60%;
}
&-full {
width:60%;
width:100%;
}
}
}
@@ -16,8 +16,9 @@
*/
import { Component, ViewEncapsulation } from '@angular/core';
import { PeopleCloudComponent, GroupCloudComponent, GroupModel } from '@alfresco/adf-process-services-cloud';
import { MatRadioChange } from '@angular/material';
import { PeopleCloudComponent, GroupCloudComponent } from '@alfresco/adf-process-services-cloud';
import { MatRadioChange, MatCheckboxChange } from '@angular/material';
import { IdentityGroupModel } from '@alfresco/adf-core';
@Component({
selector: 'app-people-groups-cloud',
@@ -27,17 +28,23 @@ import { MatRadioChange } from '@angular/material';
})
export class PeopleGroupCloudDemoComponent {
DEFAULT_FILTER_MODE: string = 'appName';
DEFAULT_GROUP_PLACEHOLDER: string = `[{"id": "1", "name":"activitiUserGroup"}]`;
DEFAULT_PEOPLE_PLACEHOLDER: string = `[{"email": "example@alfresco.com", "firstName":"Administrator", "lastName": "ADF"}]`;
DEFAULT_PEOPLE_PLACEHOLDER: string = `[{"id": "1", email": "user@user.com", "firstName":"user", "lastName": "lastName", "username": "user"}]`;
peopleMode: string = PeopleCloudComponent.MODE_SINGLE;
preSelectUsers: string[] = [];
peopleRoles: string[] = [];
peopleAppName: string;
peopleFilterMode: string = this.DEFAULT_FILTER_MODE;
peoplePreselectValidation: Boolean = false;
groupMode: string = GroupCloudComponent.MODE_SINGLE;
preSelectGroup: GroupModel[] = [];
selectedGroupList: GroupModel[] = [];
preSelectGroup: IdentityGroupModel[] = [];
selectedGroupList: IdentityGroupModel[] = [];
groupRoles: string[];
groupAppName: string;
groupFilterMode: string = this.DEFAULT_FILTER_MODE;
setPeoplePreselectValue(event: any) {
this.preSelectUsers = this.getArrayFromString(event.target.value);
@@ -55,6 +62,14 @@ export class PeopleGroupCloudDemoComponent {
this.groupRoles = this.getArrayFromString(event.target.value);
}
setPeopleAppName(event: any) {
this.peopleAppName = event.target.value;
}
setGroupAppName(event: any) {
this.groupAppName = event.target.value;
}
onChangePeopleMode(event: MatRadioChange) {
this.peopleMode = event.value;
this.preSelectUsers = [...this.preSelectUsers];
@@ -65,6 +80,45 @@ export class PeopleGroupCloudDemoComponent {
this.preSelectGroup = [...this.preSelectGroup];
}
onChangePeopleFilterMode(event: MatRadioChange) {
this.peopleFilterMode = event.value;
this.resetPeopleFilter();
}
onChangeGroupsFilterMode(event: MatRadioChange) {
this.groupFilterMode = event.value;
this.restGroupFilter();
}
isPeopleAppNameSelected() {
return this.peopleFilterMode === 'appName';
}
isGroupAppNameSelected() {
return this.groupFilterMode === 'appName';
}
resetPeopleFilter() {
if (this.isPeopleAppNameSelected()) {
this.peopleRoles = [];
} else {
this.peopleAppName = '';
}
}
restGroupFilter() {
if (this.isGroupAppNameSelected()) {
this.groupRoles = [];
} else {
this.groupAppName = '';
}
}
onChangePeopleValidation(event: MatCheckboxChange) {
this.peoplePreselectValidation = event.checked;
this.preSelectUsers = [...this.preSelectUsers];
}
isStringArray(str: string) {
try {
const result = JSON.parse(str);
@@ -91,11 +145,11 @@ export class PeopleGroupCloudDemoComponent {
return this.groupMode === GroupCloudComponent.MODE_MULTIPLE;
}
onRemoveGroup(group: GroupModel) {
onRemoveGroup(group: IdentityGroupModel) {
this.preSelectGroup = this.preSelectGroup.filter((value: any) => value.id !== group.id);
}
onSelectGroup(group: GroupModel) {
onSelectGroup(group: IdentityGroupModel) {
if (this.groupMode === GroupCloudComponent.MODE_MULTIPLE) {
this.preSelectGroup.push(group);
}
@@ -0,0 +1,25 @@
<button data-automation-id="go-back" mat-icon-button (click)="onGoBack()">
<mat-icon>arrow_back</mat-icon> Go Back
</button>
<h4 data-automation-id="process-details-header">Simple page to show the process instance: {{ processInstanceId }} of the app: {{ appName }}</h4>
<div class="adf-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="adf-cloud-layout-overflow"
[appName]="appName"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
#taskCloud>
</adf-cloud-task-list>
<adf-cloud-process-header
class="adf-process-cloud-header"
[appName]="appName"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -0,0 +1,14 @@
.adf {
&-process-cloud-container {
display: flex;
}
&-cloud-layout-overflow {
width:67%;
}
&-process-cloud-header {
margin-left: 10px;
width: 25%;
}
}
@@ -19,26 +19,31 @@ import { Component } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
@Component({
templateUrl: './task-details-cloud-demo.component.html',
styleUrls: ['./task-details-cloud-demo.component.scss']
templateUrl: './process-details-cloud-demo.component.html',
styleUrls: ['./process-details-cloud-demo.component.scss']
})
export class TaskDetailsCloudDemoComponent {
export class ProcessDetailsCloudDemoComponent {
taskId: string;
applicationName: string;
readOnly = false;
processInstanceId: string;
appName: string;
constructor(private route: ActivatedRoute, private router: Router) {
this.route.params.subscribe((params) => {
this.taskId = params.taskId;
this.processInstanceId = params.processInstanceId;
});
this.route.parent.params.subscribe((params) => {
this.applicationName = params.applicationName;
this.appName = params.appName;
});
}
onGoBack() {
this.router.navigate([`/cloud/${this.applicationName}/`]);
this.router.navigate([`/cloud/${this.appName}/`]);
}
onRowClick(taskId: string) {
if (taskId) {
this.router.navigate([`/cloud/${this.appName}/task-details/${taskId}`]);
}
}
}
@@ -0,0 +1,68 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-process-filter
[appName]="appName"
[id]="filterId"
[filterProperties]="processFilterProperties.filterProperties"
[sortProperties]="processFilterProperties.sortProperties"
[actions]="processFilterProperties.actions"
(filterChange)="onFilterChange($event)"
(action)="onProcessFilterAction($event)">
</adf-cloud-edit-process-filter>
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list #processCloud
fxFlex
class="adf-cloud-layout-overflow"
[appName]="editedFilter.appName"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionKey]="editedFilter.processDefinitionKey"
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
[selectionMode]="selectionMode"
[stickyHeader]="true"
[showActions]="actionMenu"
[showContextMenu]="contextMenu"
[multiselect]="multiselect"
(showRowActionsMenu)="onShowRowActionsMenu($event)"
(showRowContextMenu)="onShowRowContextMenu($event)"
(executeRowAction)="onExecuteRowAction($event)"
(rowClick)="onRowClick($event)"
(rowsSelected)="onRowsSelected($event)">
</adf-cloud-process-list>
<adf-pagination
[target]="processCloud"
(changePageSize)="onChangePageSize($event)"
(nextPage)="resetSelectedRows()"
(prevPage)="resetSelectedRows()">
</adf-pagination>
<div *ngIf="testingMode">
<div *ngIf="multiselect">
{{ 'SETTINGS_CLOUD.SELECTED_ROWS' | translate }}:
<ul>
<li *ngFor="let row of selectedRows">{{ row.id }}</li>
</ul>
</div>
<div *ngIf="actionMenu">
<span>{{ 'SETTINGS_CLOUD.ACTION.ACTION_MENU' | translate }}:</span>
<br>
<div *ngIf="selectedAction">
<span>{{ 'SETTINGS_CLOUD.ACTION.PROCESS_ID' | translate }}: {{ selectedAction.id }}</span><br>
<span>{{ 'SETTINGS_CLOUD.ACTION.ACTION_TYPE' | translate }}: {{ selectedAction.actionType }}</span>
</div>
</div>
<div *ngIf="contextMenu">
<span>{{ 'SETTINGS_CLOUD.ACTION.CONTEX_MENU' | translate }}:</span>
<br>
<div *ngIf="selectedContextAction">
<span>{{ 'SETTINGS_CLOUD.ACTION.PROCESS_ID' | translate }}: {{ selectedContextAction.id }}</span><br>
<span>{{ 'SETTINGS_CLOUD.ACTION.ACTION_TYPE' | translate }}: {{ selectedContextAction.actionType }}</span>
</div>
</div>
</div>
</div>
</div>
@@ -0,0 +1,190 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, ViewChild, OnInit, OnDestroy } from '@angular/core';
import {
ProcessListCloudComponent,
ProcessFilterCloudModel,
ProcessListCloudSortingModel,
ProcessFiltersCloudComponent
} from '@alfresco/adf-process-services-cloud';
import { ActivatedRoute, Router } from '@angular/router';
import { UserPreferencesService, AppConfigService, DataCellEvent } from '@alfresco/adf-core';
import { CloudLayoutService, CloudServiceSettings } from './services/cloud-layout.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { Pagination } from '@alfresco/js-api';
@Component({
templateUrl: './processes-cloud-demo.component.html',
styleUrls: ['./processes-cloud-demo.component.scss']
})
export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
static PROCESS_FILTER_PROPERTY_KEYS = 'adf-edit-process-filter';
@ViewChild('processCloud')
processCloud: ProcessListCloudComponent;
@ViewChild('processFiltersCloud')
processFiltersCloud: ProcessFiltersCloudComponent;
appName: string = '';
isFilterLoaded: boolean;
filterId: string = '';
sortArray: any = [];
selectedRow: any;
multiselect: boolean;
selectionMode: string;
selectedRows: string[] = [];
testingMode: boolean;
actionMenu: boolean;
contextMenu: boolean;
actions: any[] = [];
selectedAction: { id: number, name: string, actionType: string};
selectedContextAction: { id: number, name: string, actionType: string};
processFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
processDetailsRedirection: boolean;
editedFilter: ProcessFilterCloudModel;
private performAction$ = new Subject<any>();
private onDestroy$ = new Subject<boolean>();
constructor(
private route: ActivatedRoute,
private router: Router,
private cloudLayoutService: CloudLayoutService,
private userPreference: UserPreferencesService,
private appConfig: AppConfigService) {
const properties = this.appConfig.get<Array<any>>(ProcessesCloudDemoComponent.PROCESS_FILTER_PROPERTY_KEYS);
if (properties) {
this.processFilterProperties = properties;
}
}
ngOnInit() {
this.isFilterLoaded = false;
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
this.route.queryParams.subscribe((params) => {
this.isFilterLoaded = true;
this.onFilterChange(params);
this.filterId = params.id;
});
this.cloudLayoutService.settings$
.pipe(takeUntil(this.onDestroy$))
.subscribe(settings => this.setCurrentSettings(settings));
this.performContextActions();
}
ngOnDestroy() {
this.onDestroy$.next(true);
this.onDestroy$.complete();
}
setCurrentSettings(settings: CloudServiceSettings) {
if (settings) {
this.multiselect = settings.multiselect;
this.testingMode = settings.testingMode;
this.selectionMode = settings.selectionMode;
this.processDetailsRedirection = settings.processDetailsRedirection;
this.actionMenu = settings.actionMenu;
this.contextMenu = settings.contextMenu;
this.actions = settings.actions;
}
}
onChangePageSize(event: Pagination) {
this.userPreference.paginationSize = event.maxItems;
}
resetSelectedRows() {
this.selectedRows = [];
}
onRowClick(processInstanceId: string) {
if (!this.multiselect && this.selectionMode !== 'multiple' && this.processDetailsRedirection) {
this.router.navigate([`/cloud/${this.appName}/process-details/${processInstanceId}`]);
}
}
onFilterChange(query: any) {
this.editedFilter = Object.assign({}, query);
this.sortArray = [
new ProcessListCloudSortingModel({
orderBy: this.editedFilter.sort,
direction: this.editedFilter.order
})
];
}
onProcessFilterAction(filterAction: any) {
this.cloudLayoutService.setCurrentProcessFilterParam({ id: filterAction.filter.id });
if (filterAction.actionType === ProcessesCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: filterAction.filter });
}
}
onRowsSelected(nodes) {
this.resetSelectedRows();
this.selectedRows = nodes.map((node) => node.obj.entry);
}
onShowRowActionsMenu(event: DataCellEvent) {
event.value.actions = this.actions;
}
onShowRowContextMenu(event: DataCellEvent) {
event.value.actions = this.actions.map((action) => {
return {
data: event.value.row['obj'],
model: action,
subject: this.performAction$
};
});
}
onExecuteRowAction(row: any) {
const value = row.value.row['obj'].entry;
const action = row.value.action;
this.selectedAction = {id: value.id, name: value.name, actionType: action.title};
}
performContextActions() {
this.performAction$
.pipe(takeUntil(this.onDestroy$))
.subscribe((action: any) => {
if (action) {
this.onExecuteContextAction(action);
}
});
}
onExecuteContextAction(contextAction: any) {
const value = contextAction.data.entry;
const action = contextAction.model;
this.selectedContextAction = {id: value.id, name: value.name, actionType: action.title};
}
}
@@ -0,0 +1,80 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
export interface CloudServiceSettings {
multiselect: boolean;
actionMenu: boolean;
contextMenu: boolean;
testingMode: boolean;
taskDetailsRedirection: boolean;
processDetailsRedirection: boolean;
selectionMode: string;
actions: any[];
}
export interface FilterSettings {
id?: string;
index?: number;
key?: string;
}
export class ActionMenuModel {
constructor(
public key: string,
public icon: string,
public title: string,
public visible?: boolean,
public disabled?: boolean
) { }
}
@Injectable({
providedIn: 'root'
})
export class CloudLayoutService {
private settings: CloudServiceSettings = {
multiselect: false,
actionMenu: false,
contextMenu: false,
testingMode: false,
taskDetailsRedirection: true,
processDetailsRedirection: true,
selectionMode: 'single',
actions: []
};
taskFilter$ = new BehaviorSubject<FilterSettings>({index: 0});
processFilter$ = new BehaviorSubject<FilterSettings>({index: 0});
settings$ = new BehaviorSubject<CloudServiceSettings>(this.settings);
setCurrentTaskFilterParam(param: FilterSettings) {
this.taskFilter$.next(param);
}
setCurrentProcessFilterParam(param: FilterSettings) {
this.processFilter$.next(param);
}
setCurrentSettings(param: CloudServiceSettings) {
this.settings$.next(param);
}
}
@@ -0,0 +1,71 @@
<div fxFlex fxLayout="column" class="adf-settings-container">
<mat-slide-toggle [color]="'primary'" [checked]="multiselect" (change)="toggleMultiselect()" data-automation-id="multiSelection">
{{ 'SETTINGS_CLOUD.MULTISELECTION' | translate }}
</mat-slide-toggle>
<mat-slide-toggle [color]="'primary'" [checked]="actionMenu" (change)="toggleActionMenu()" data-automation-id="actionmenu">
{{ 'SETTINGS_CLOUD.ACTION.ACTION_MENU' | translate }}
</mat-slide-toggle>
<mat-slide-toggle [color]="'primary'" [checked]="contextMenu" (change)="toggleContextMenu()" data-automation-id="contextmenu">
{{ 'SETTINGS_CLOUD.ACTION.CONTEX_MENU' | translate }}
</mat-slide-toggle>
<mat-slide-toggle [color]="'primary'" [checked]="testingMode" (change)="toggleTestingMode()" data-automation-id="testingMode">
{{ 'SETTINGS_CLOUD.TESTING_MODE' | translate }}
</mat-slide-toggle>
<mat-slide-toggle [color]="'primary'" [checked]="taskDetailsRedirection" (change)="toggleTaskDetailsRedirection()" data-automation-id="taskDetailsRedirection">
{{ 'SETTINGS_CLOUD.TASK_DETAILS_REDIRECTION' | translate }}
</mat-slide-toggle>
<mat-slide-toggle [color]="'primary'" [checked]="processDetailsRedirection" (change)="toggleProcessDetailsRedirection()" data-automation-id="processDetailsRedirection">
{{ 'SETTINGS_CLOUD.PROCESS_DETAILS_REDIRECTION' | translate }}
</mat-slide-toggle>
<mat-form-field data-automation-id="selectionMode">
<mat-label>
{{ 'SETTINGS_CLOUD.SELECTION_MODE' | translate }}
</mat-label>
<mat-select [(ngModel)]="selectionMode" (selectionChange)="onSelectionModeChange()">
<mat-option *ngFor="let option of selectionModeOptions" [value]="option.value">
{{ option.title }}
</mat-option>
</mat-select>
</mat-form-field>
<mat-card *ngIf="actionMenu || contextMenu">
<mat-card-header>
<mat-card-title>{{ 'SETTINGS_CLOUD.ACTION.ACTION_TITLE' | translate }}</mat-card-title>
</mat-card-header>
<mat-card-content>
<form [formGroup]="actionMenuForm" fxLayout="row" fxLayoutAlign="space-around center" fxLayoutGap="20px">
<mat-form-field fxFlex="23%">
<input matInput formControlName="key" placeholder="{{ 'SETTINGS_CLOUD.ACTION.KEY' | translate }}">
</mat-form-field>
<mat-form-field fxFlex="23%">
<input matInput formControlName="title" placeholder="{{ 'SETTINGS_CLOUD.ACTION.TITLE' | translate }}">
</mat-form-field>
<mat-form-field fxFlex="23%">
<input matInput formControlName="icon" placeholder="{{ 'SETTINGS_CLOUD.ACTION.ICON' | translate }}"I>
</mat-form-field>
<mat-checkbox formControlName="visible">
{{ 'SETTINGS_CLOUD.ACTION.ACTION_VISIBLE' | translate }}
</mat-checkbox>
<mat-checkbox formControlName="disabled">
{{ 'SETTINGS_CLOUD.ACTION.ACTION_DISABLE' | translate }}
</mat-checkbox>
<button mat-raised-button (click)="addAction()">
{{ 'SETTINGS_CLOUD.ACTION.ADD_BUTTON' | translate }}
</button>
</form>
<div *ngIf="actions.length > 0">
<mat-chip-list #chipList>
<mat-chip *ngFor="let action of actions" [removable]="true">
{{action.title}}
<mat-icon
matChipRemove
(click)="removeAction(action)">
cancel
</mat-icon>
</mat-chip>
</mat-chip-list>
</div>
</mat-card-content>
</mat-card>
</div>

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