Compare commits

...
992 Commits
Author SHA1 Message Date
Mercy Chrysolite f03592f230 [AAE-2020] Add release version filter for process instances (#5581)
* [AAE-2020] Add release version filter for process instances

* Updated unit tests

* Updated unit test case

* Added translation key
2020-04-27 00:10:48 +01:00
davidcanonietoandEugenio Romano 8f68899ce0 [ADF-4900] Card View and Metadata Components refactoring (#5592)
* [ADF-4900] Card View and Metadata Components refactoring

* CSS linting

* Unit test excluded

* Rebase branch

* Fix unit tests

* Fix linting

* Fix e2e tests

* Fix 2e2 tests

* Fix process-services e2e tests

* More fixes

* Fix more e2e tests

* Fix unit test

* Improve flaky unit test

* Fix process services e2e tests

* Update Process Header Cloud Page

* Fix linting

* Fix timing issue

* Lintintg

* Fix selectors

* Fix e2e tests

* Fix timing issue

* Fix C260328

* Fix spellcheck

* save screenshot

* performance issue

* Fix unit tests and e2e tests

* fix e2e

* refactoring

* fix lint

* fix e2e

* Fix C309698

* fix other e2e

* fix lint

* increase timeout

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-04-27 00:09:52 +01:00
Urse Daniel ebfeb053ce [AAE-2321] Should not be able to start a process with space(s) in the beginning/end of process name (Process Services Cloud) (#5639)
* Changed the validator for process name - added a new regex that restricts having space(s) in the beginning/end of the name.

* Added new error message for whitespace regex.

* 1 new error message for whitespace

* Unit test for whitespace restriction (process name)
2020-04-26 11:14:36 +01:00
Vito 444ebcdfd8 [ACA-1894] - fixed missing behaviour for drag&drop (#5641) 2020-04-24 22:39:44 +01:00
Cilibiu Bogdan 697ce6e365 [MNT-21469] TreeView component has events on icon only (#5637)
* change mat-icon-button with mat-button

* align icon and label

* fix aria-label undefined value

* fix translation

* simplify html structure

* test
2020-04-24 15:08:19 +01:00
Vito d0f58600bc [DW-1669] [ADF-5107]- Added new api call for creating and starting a process in… (#5602)
* [DW-1669] - Added new api call for creating and starting a process instance

* [DW-1669] - fixed linting

* [DW-1669] - fixed process default issue

* [DW-1669] - fixed problem on start process cloud

* [DW-1669] - removed check on valid form as it might interact with the correct behaviour

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast

* [DW-1669] - removed wrong fdescribe

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast
2020-04-24 14:27:31 +01:00
VitoandEugenio Romano 6fea3b8cdd [ACA-1894] - added the possibility to filter whenever is possible by … (#5633)
* [ACA-1894] - added the possibility to filter whenever is possible by file path

* [ACA-1894] - fixed linting

* [ACA-1894] - reverted dynamic app config service refresh

* [ACA-1894] - added extra example in upload docs

* Update upload.service.md

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-04-24 14:25:49 +01:00
Eugenio Romano b9842ba12b add slower type method for user picker (#5632)
* add slower type method for user picker

* add slower type method for user picker

* slower

* other fixes

* remove slow digit

* fix some more test

* slow down

* fix some more test

* exclude test

* exclude C315268
2020-04-23 23:23:32 +01:00
davidcanonieto 86d6ecb49e [ADF-5120] Fix initialization error of PS cloud Services (#5634) 2020-04-23 17:59:44 +01:00
Baptiste Mahé 1f5215cd38 [ACA-2523] Fix text color of comment user icon (#5635) 2020-04-23 17:52:46 +01:00
Cristina Jalba 098b9881eb [ACA-3023]Refactor APS1 PO and ACS API calls of ADF testing package (#5629)
* Change the uploadFile method from ADF testing package

* Fix lint

* no message

* Fix a part of the tests

* Fix last tests

* Fix test

* Fix tests

* Fix test
2020-04-23 09:49:41 +01:00
dhrnandEugenio Romano 7fa9b59082 [ADF-5118] Enable E2E (#5628)
* Enable E2E

1. C305010
2. C311290
3. C317658

* * improved e2e

* * minor changes

* * upload fixed

* improve e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-04-22 13:59:44 +01:00
arditdomi b3c004eb46 [ACA-3174] Add custom icons for processes and tasks (#5631) 2020-04-22 13:39:45 +01:00
Maurizio Vitale 6485ad71b4 [ACA-3170]Task/Process Add the sticky header feature (#5630)
* Add the sticky header feature

* Add html
2020-04-22 13:34:51 +01:00
siva kumar ea1454dde0 [ACA-30333]FE - [Process-services] Create ADF task form. (#5611)
* [ACA-3033] FE - [Process-services] Create ADF task form.

* * Modifed task-from-template

* * Refactored details component with the task-form

* * Updated unit tests to the recent changes

* * Modified task-details component

* * Fixed failing tests

* * Fixed failing tests* Added doc

* * Fixed task-details-form e2e

* Fixed failing test on tas-details e2e

* * Fixed flaky process-services e2e

* * Fixed flaky e2e tests
2020-04-22 08:28:03 +01:00
dhrn fde037498f [AAE-1936] Attach File E2E APS1 (#5623)
* [AAE-1936] Attach File E2E APS1

* * minor changes

* * fix title
2020-04-21 21:31:26 +01:00
Baptiste Mahé f5c08f041e [ACA-2523] Update comment text colors (#5627) 2020-04-21 21:27:10 +01:00
Denys Vuika 122bd9face [ADF-5106] allow to redefine form widgets (APS 1.x and cloud) (#5601)
* create failing test

* fix form and start form widget registration

* update cloud form
2020-04-21 15:47:09 +01:00
arditdomi af7eb53251 [ACA-3080] Remove selecting first filter by default when no defaults … (#5619)
* [ACA-3080] Remove selecting first filter by default when no defaults are provided

* [ACA-3080] Fix demo shell, emit when filter is selected

* [ACA-3080] Align demo shell

* [ACA-3080] Align task filters demo shell, emit when task filter selected
2020-04-21 15:46:44 +01:00
Eugenio Romano 53b01ae594 better retry strategy for query service e2e (#5626)
* better retry API startegy

* better retry API startegy
2020-04-21 12:56:14 +01:00
Cristina Jalba 6462bbf35a [ACA-3040]Refactor/and move to testing package POs and API calls (#5607)
* Refactor/and move to testing package POs and API calls

* Remove method

* Add task list PO

* Use adf testing package APS1 calls

* Fix some tests

* Update new test

* Fix some process-services tests

* no message

* Fix 2 tests

* Create StartProcess page in ADF testing package; refactor process-services tests

* no message
2020-04-21 10:15:39 +01:00
Urse Daniel 7b37bb8a90 [ACA-3020] Start process on process cloud updated the labels (always floating) (#5603)
* unit tests for always floating labels. updated the styling to match the UX. created a new theme.

* update travis
2020-04-20 23:28:23 +01:00
Eugenio Romano f36cbd57ef Fix E2E run (#5624)
* Fix E2E run
remove not used report
Fix USERNAME AND PAS upload PS cloud e2e screenshot

* save report

* multiple 4 cs

* change test fix screenshot and others

* exclude other test
2020-04-20 17:54:03 +01:00
Urse Daniel bc2d7f16fd [AAE-2321] Should not be able to start a process with space as name (Process Services) (#5616)
* New regex validator for process name for checking if there is a space character as the first or the las one in the name.

* Added 2 new error messages for process name: Required and Pattern(no space in the beginning or the end). Changed the disabled start process button validation function.

* Unit test to disable the start button if the pattern validator for process name is raised.

* Added 2 new error messages for process start
2020-04-17 23:37:49 +01:00
Baptiste Mahé 3f69a6d3a9 [ACA-2556] Change checking and welcome colors in login button (#5618) 2020-04-17 17:06:23 +01:00
Baptiste Mahé 968235dff6 [ACA-2577] Change color of dropdown-breadcrumb current folder (#5621) 2020-04-17 17:05:35 +01:00
siva kumar 71ba89cbe7 [AAE-1948] Form Attach File cloud widget E2E (#5543)
* [AAE-1948] Form Attach File widget E2E AAE.

* * Modified attach content file e2e

* * Fixed comments.

* * Taking task and process name from resource file

* * Fixed comments

* * Used API to create process

* * Fixed comments

* * FIxed comments

* * Fixed comment
2020-04-17 17:03:32 +01:00
davidcanonieto a5a82eb649 [ADF-5116] Make ADF's pipeline GREEN again (#5620)
* [ADF-5116] Make ADF's pipeline GREEN again

* Fix more e2e tests

* Exclude test

* Fix last e2e test

* Fix C305008
2020-04-17 16:27:07 +01:00
Maurizio Vitale e53c46464b [ACA-2734] Fix API - Return an error in case the response isn't a json (#5622)
* Return an error in case the response isn't a json

* fix comma
2020-04-17 13:57:39 +01:00
Maurizio Vitale e56331fecb [ACA-2948] Add API to fetch the bpm properties (#5610)
* Add the api to fetch the bpm properties

* remove useless map

* Use latest api

* Use the BehaviorSubject

* filter the status true
2020-04-16 17:23:00 +01:00
Baptiste Mahé 55a5cc073b [ACA-2520] Opacity of tab label of info drawer set to 1 (#5615) 2020-04-16 14:42:24 +01:00
Baptiste Mahé b4399059dc [ACA-2523] Change comment colors (#5617) 2020-04-16 14:40:52 +01:00
Baptiste Mahé 0a9fb69498 [ADF-5114] Change dialog action button color (#5613) 2020-04-16 10:46:48 +01:00
Cristina Jalba 45b2857e1e Fix people-group-cloud-filter-component.e2e.ts (#5612)
* Fix people-group-cloud-filter-component.e2e.ts

* Fix lint
2020-04-16 10:18:54 +01:00
dhrn 4cdaced7bc [AAE-1929] Attach Folder APS1 E2E (#5606)
* [AAE-1929] Attach Folder APS1 E2E

* * updated selector

* * wait for spinner

* * wait for spinner
2020-04-15 16:02:41 +01:00
Baptiste Mahé bb74dbf9a0 [ACA-2476] Fix color contrast in mat-calendar (#5609) 2020-04-15 15:58:50 +01:00
Eugenio Romano 049cedfb26 fix aca update 2020-04-14 15:15:58 +01:00
Baptiste Mahé 25426dd044 [ACA-2493] Fix disabled create folder button color (#5605) 2020-04-14 14:18:10 +01:00
Arik Sidney Guggenheim d089283aa4 [#5561] Translate notification action value (#5604)
* [#5561] Translate action value

* Fix lint issues
2020-04-14 12:34:38 +01:00
siva kumar 63063699fd [ACA-3000][ACA-2999] FE - Provide way to show ContextMenu on Task/Process list (#5596)
* [ACA-3000] FE - Provide way to show ContextMenu on Task list

* * Updated docs

* * Added unit tests to the recent changes
2020-04-14 09:52:57 +01:00
Eugenio RomanoandMark Hulbert ecca9220f1 Review Documentation and tools doc (#5600)
* add exclude files property

* remove Unknown

* fix reviewer

* Update reviewChecker.js

* Update docs/README.md

Co-Authored-By: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>

Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com>
2020-04-09 11:55:33 +01:00
Urse Daniel 8962ce0419 [ACA-2983] Changed the labels from the inputs name and type to always floating (#5593)
* changed the label from the label name and type to always floating and switched the position of them.

* fix the double space issue

* added unit tests & created and used custom theme for scss

* added custom theme for start-process component

* removed the styleurl

* changet mat_get to mat-color

* update for travis
2020-04-09 10:56:42 +01:00
Baptiste Mahé d8869e3118 [AAE-2200] Add dynamic title to attach-file-widget-dialog (#5594)
* [AAE-2200] Refactor content node component action

* [AAE-2200] Add dynamique title to attach-file-widget-dialog

* [AAE-2200] Add unit test
2020-04-09 10:43:00 +01:00
Maurizio Vitale 83e362d31a Ability to check if loggedIn based on provider (#5598)
* Provide a way to check if loggedIn based on provider

* Fix the comments

* Add schema validation for provider
2020-04-08 16:43:36 +01:00
Baptiste Mahé e55d3e53bb [ADF-5105] Force color of header button of upload dialog (#5597) 2020-04-08 11:57:58 +01:00
Baptiste Mahé 263ed658db [ADF-5104] Change color of location text (#5595) 2020-04-08 11:56:42 +01:00
Eugenio Romano 5b04fed29f Improve owners file 2020-04-08 10:55:55 +01:00
dhrn 79cb328205 [ADF-1881] Consolidate NodeService and NodesApiService (#5591)
* [ADF-1881] Consolidate NodeService and NodesApiService

* * docs added
2020-04-06 15:21:54 +01:00
Eugenio Romano cbb7555175 change title and description 2020-04-06 14:10:40 +01:00
Eugenio Romano 5baba9bf0a modify logo ACA-2934 2020-04-06 14:09:19 +01:00
Urse Daniel 4f8aa8d4be added indeterminate state for the 'select all' checkbox + unit test. (#5590) 2020-04-06 13:01:03 +01:00
Urse Daniel 6d406d8a7d [ADF-4264] Fixed the breadcrumb when changing to custom site in node selector (#5589)
* unit test for veryfing if changing to a custom site the current breadcrumb folder is the title of the site.

* fixed the problem when changing to a custom site the breadcrumb current folder title is not changing. fixed the issue when navigating inside a node after changing to a custom site the path to the root in the breadcrumb was not the correct path.

* updated the styling for the data rows to match the styling of the breadcrumb

* if there is an error the loader should stop not only if there is a message. updated to fix the node-selector site problem when adding a non existing site, the loader would previously keep spinning even though in console was thrown an error but the clients never had an UI update about the issue.
2020-04-03 10:55:51 +01:00
Cristina Jalba 03a93e45d9 [ACA-2951]Add APS1 calls to adf testing package (#5566)
* Add APS1 calls to adf testing package

* no message

* Change to use AlfrescoApi instead of ApiService

* Refactor process-services tests to use API calls implementation from testing package

* Fix resource file

* no message

* Fix widget tests

* Fix tests

* no message

* Unblocking travis
2020-04-03 09:15:06 +01:00
Denys Vuika 179bdb2790 share link: add time debouncing (#5587)
* add time debouncing

* fix tests
2020-04-02 13:01:18 +01:00
Eugenio Romano e2d58e7a44 Update kerberos.md 2020-04-01 18:02:40 +01:00
Baptiste Mahé ec49a42ebc [ADF-5101] Change empty folder text display colors (#5586) 2020-04-01 16:29:16 +01:00
Baptiste Mahé 1e018b9476 [AAE-2200] Fix upload dialog title (#5583)
* [AAE-2200] Fix dialog title

* [AAE-2200] Title from translation ressources and refactor

* [AAE-2200] Add unit test for title

* [AAE-2200] Fix lint in test
2020-04-01 14:56:21 +01:00
Denys Vuika 53bddad833 fix shared link dialog regressions (#5585)
* code fixes

* fix typo
2020-04-01 14:54:38 +01:00
Eugenio Romano 7135951535 Update preparing-environment.md 2020-03-31 22:50:19 +01:00
Eugenio Romano 3c0bc247c1 Update preparing-environment.md 2020-03-31 22:49:50 +01:00
Eugenio Romano d466d5f55f Update preparing-environment.md 2020-03-31 22:49:20 +01:00
davidcanonieto c1bf8e4db9 [ADF-3726] Enable/disable Copy to clipboard in Metadata from config (#5578)
* [ADF-3726] Enable/disable Copy to clipboard in Metadata from config

* Update app.config.json

* Fix e2e tests
2020-03-31 14:10:52 +01:00
Baptiste Mahé 50f19c99f2 [ADF-5091] Fix undefined accent variable (#5584) 2020-03-31 13:52:25 +01:00
dhrn e06f871d73 [AAE-2202] Not able to search for files (#5569)
* [AAE-2202] Not able to search for files

* * fixd test

* * fixed panel test

* * fixed files search options

* * added docs
2020-03-31 11:36:35 +01:00
arditdomi 6564ef256e [ACA-2956] Add event emitter when processDefinition selection changes (for both APS and CLOUD) (#5579) 2020-03-31 09:50:51 +01:00
Maurizio Vitale f4f46d0c60 Start process: Make the title optional (#5580)
* Make the title optional

* Add the title on demoshell

* Remove the mat card and css

* Fix scss
2020-03-31 09:38:55 +01:00
Denys Vuika 01d0f777c0 share link: fix regression with expiration toggle (#5577)
* share link: fix regression with expiration toggle

* remove old method
2020-03-31 07:34:25 +01:00
Baptiste Mahé b26991014c [ADF-5095] Update text color of share dialog (#5575) 2020-03-30 19:18:04 +01:00
Baptiste Mahé 19ad789436 [ADF-5091] Change info drawer labels color (#5571) 2020-03-30 18:20:06 +01:00
Baptiste Mahé 53f2361658 [ADF-5093] Change datepicker color (#5573) 2020-03-30 18:19:44 +01:00
Baptiste Mahé e48bb60083 [ADF-5090] Change color of input button (#5570) 2020-03-30 18:18:12 +01:00
Baptiste Mahé cfc62abb2b [ADF-5094] Changed focused chip color (#5574) 2020-03-30 18:17:39 +01:00
Baptiste Mahé 56970d012c [ADF-5096] Icon on move dialog darker (#5576) 2020-03-30 18:16:59 +01:00
Baptiste Mahé 04b6a3e399 [ADF-5092] Change card view label color (#5572) 2020-03-30 18:16:22 +01:00
dhrn 7195a384e8 [AAE-2041] [APS-1] [ADF] download process audit log not working (#5568)
* [AAE-2041] [APS-1] [ADF] download process audit log not working

* * updates JS API

* * clean up
2020-03-30 09:36:21 +01:00
Urse Daniel 8f3f5b3879 [ADF-4933] Adding keydown event on data row to simulate double click when pressing 'enter' key (#5564)
* changing the event on row from keyup to keydown to fix the issue of reopening the file after closing ussing only keyboard (opening and closing the file by enter)

* Reverting the 'onRowKeyDown' to not make a breaking change and added a new method to handle the opening file using 'enter' key

* Added unit test - it should emit double click if keydown "enter key" on row

* Small changes for clean coding
2020-03-27 16:33:44 +00:00
Eugenio Romano d3ff9eda3f Update trigger-travis-children.sh 2020-03-27 13:00:20 +00:00
Eugenio Romano fc295e3dc3 Update trigger-travis-children.sh 2020-03-27 12:59:56 +00:00
siva kumar 779ea83b8e [AAE-2198] Error thrown on start process with pre-selected multiple files on start form. (#5567)
* [AAE-2198] Error thrown on start process with pre-selected multiple files on start form.

* * Removed unwanted method
2020-03-27 09:59:43 +00:00
davidcanonieto 6806504a65 [ADF-3726] Add copy to clipbouard support to card view properties (#5565) 2020-03-25 13:42:35 +00:00
dhrn 3f45e7b35d [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091 (#5562)
* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* tslint fxed

* [ACA-2368] UI Issues while editing Metadata in the Preview Page #1091

* * revert commits

* Revert "* revert commits"

This reverts commit fd0e86084cc4ac14870d9008400528f63a681c59.

* * unit test added
2020-03-25 11:06:40 +00:00
dhrn c684d5f50c [ADF-4341] Customise the property title into the InfoDrawer from configuration (#5556)
* [ADF-4341] Customise the property title into the InfoDrawer from configuration

* * docs added

* * removed unnecessary logic and docs updated
2020-03-25 11:05:11 +00:00
Denys Vuika 772188c13d calendar card item a11y fixes (#5563) 2020-03-24 11:02:33 +00:00
davidcanonieto 144da83d0e [ADF-4559] Add chips to multivalue metadata properties (#5552)
* [ADF-4559] Add chips to multivalue metadata properties

* Fix app config schema

* Restore app config

* Fix checkListIsSorted method

* Fix e2e datatable sorting

* Fix e2e tests

* Improve chips input
2020-03-23 13:02:01 +00:00
siva kumar 666dd45fa2 [AAE-1725] ADF Task filters - default filters should be recreated when they all get deleted. (#5551) 2020-03-23 10:59:30 +00:00
davidcanonieto 3fcf965eca [ADF-4673] Add editable property to metadata config (#5557)
* [ADF-4673] Add editable property to metadata config

* Add readonly mode for aspect oriented config

* Fix linting
2020-03-20 22:16:35 +00:00
Eugenio Romano 94f4b69b76 enforce types for forms cloud (#5371)
* enforce right type form cloud

* remove missing import

* fix selector
2020-03-20 21:33:43 +00:00
78c3db5db7 [ACA-2789] - edit button a11y fixes (#5399)
* fix: remove title property from button

* use tooltip instead of aria label

* fix aria label

Co-authored-by: Taylor Richards <taylor.richards@deque.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-03-20 21:31:30 +00:00
Denys Vuika fc6a80c45a [ACA-2566][ACA-2567] permissions a11y fixes (#5560)
* fix layout and a11y, cleanup html

* fix sorting announcer

* fix i18n issue for Actions column
2020-03-19 16:47:24 +00:00
Denys Vuika a04abd0041 fix share link dialog header a11y (#5559) 2020-03-19 11:11:13 +00:00
Baptiste Mahé 3fa95d6bd8 [AAE-1579] Fixing the style of the prefix of amount widget (#5546)
* [AAE-1579] Fix amount widget prefix

* top of prefix fixed in modeler

* [AAE-1579] prefix color get from theming

* [AAE-1579] fix color and removed useless include

* [AAE-1579] remove useless import and prefix red when input empty and required
2020-03-19 09:53:58 +00:00
Cilibiu Bogdan 983e01f70c [ADF-5087] Document List - custom sources 'where' clause not passed (#5558)
* pass document list where clause to custom sources

* update docs
2020-03-19 09:38:58 +00:00
5bcd326891 [ACA-2619][ACA-2616] a11y fixes for Share Link dialog (#5454)
* chore: proper disabling of fields for a11y

* component fixes

* update tests

* update tests

* fix aria labels

* aria-label fixes

* update layout

* update e2e tests

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: Cilibiu Bogdan <bogdan.cilibiu@ness.com>
2020-03-19 08:13:42 +00:00
Cristina Jalba 57c15a7542 [AAE-1772]Add CardSelectItemPage PO (#5555)
* Add CardSelectItemPage PO

* no message
2020-03-18 11:41:51 +00:00
Eugenio Romano 7c90c9b372 Improve css prebuilt creation and minimize (#5553)
* improve CSS creation strategy and minimize

* remove multiple select slow down test
2020-03-17 18:59:52 +00:00
Vito ec689cad3f AAE-1841 - added delete directive test (#5547)
* AAE-1841 - start adding e2e for delete directive

* AAE-1841 - added delete directive test

* AAE-1841 - fixed PR review
2020-03-17 18:57:04 +00:00
dhrn d720d36670 [ADF-4522] Metadata value is not rolled back upon error (#5550)
* * initial commit

* * removed breaking change

* * fixed ts

* * fixed minor changes

* * fixed changes

* * minor changes

* * fixed unit test

* * docs added

* * fixed date clear problem

* * fixed unit test
2020-03-17 10:47:08 +00:00
Eugenio Romano becf45d150 Update update-children.sh 2020-03-16 14:52:11 +00:00
dhrn c64396b2fe [AAE-1923] Form APS E2E (#5540)
* [AAE-1923] Form APS E2E

* * minor changes

* * fixed e2e
2020-03-16 11:49:11 +00:00
Mark SteadmanandEugenio Romano 8e5e5c90ac ACA 2618 - 2619 - Share Dialog - Physical Labels (#5439)
* chore: addition of physical labels to share dialog

* chore: addition of translated text

* chore: addition of expiration label

* Update content-node-share.dialog.scss

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-03-16 11:10:29 +00:00
dhrn acd9a33550 [AAE-1923] Multilingual form unit test (#5542)
* ps cloud translation fixed

* included only for form cloud
2020-03-16 11:05:52 +00:00
Cristina Jalba ea6ab300c4 [ADF-1895]Refactor date-time-picker and date-picker (#5544)
* Refactor date-time-picker and date-picker

* no message
2020-03-16 10:44:39 +00:00
dependabot[bot] 3c35c45406 Bump acorn from 6.2.0 to 6.4.1 (#5548)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.2.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.2.0...6.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-16 09:27:14 +00:00
dhrn 41597e271a [ADF-4522] Metadata value is not rolled back upon error (#5545) 2020-03-13 15:42:38 +00:00
Cristina Jalba 22d2a52f68 Retrieve href attribute of hyperlink (#5541) 2020-03-12 12:41:27 +00:00
Alexandra Abrudan c91458df79 [AAE-1846] [AAE-1857] automated e2e tests uploading folders (#5483)
* [AAE-1846] automated e2e tests - uploading a folder

* [AAE-1857] added automated e2e test upload folder with excluded file

* changed the script for cancel an uploading folder, added -b condition for the running tests for the uploadFolder method
2020-03-09 19:18:41 +00:00
arditdomi 8fcdc55595 [AAE-2126] Fix checkbox click testing method in datatable page (#5539) 2020-03-09 09:37:24 +00:00
dhrn 9599d834b0 [AAE-1953] Claim Reclaim Task AAE E2E (#5529)
* [AAE-1953] Claim Reclaim Task AAE E2E

* * fixed linting and fixed changes
2020-03-06 13:44:50 +00:00
Cristina Jalba 226b139d7a Create card-view-boolean-item page (#5537) 2020-03-06 10:21:39 +00:00
Eugenio Romano 2e976d013b remove duplicated test (#5536) 2020-03-06 00:18:56 +00:00
Eugenio Romano 6db04f1887 AAE-1951 - added extra test cases for start task and assignee (#5534)
* AAE-1951 - added extra test cases for start task and assignee

* AAE-1951 - fixed license
2020-03-05 17:37:34 +00:00
Eugenio Romano a70883378a [AAE-2107] Move e2e to Unit test (#5535)
* [AAE-2107] Move e2e to Unit test

* * fixed namings

* * more unit test added

* * minor changes
2020-03-05 16:47:59 +00:00
Eugenio Romano 0217f0c788 * Updated SimpleApp with new process (#5533) 2020-03-04 21:56:17 +00:00
Baptiste Mahé b3d8fb9609 [ADF-5085] Adding possibility to search for future dates search-date-range component (#5525)
* [ADF-5085] Remove maxDate and set the max of the from date to the to date

* [ADF-5085] Add maxDate optional setting

* [ADF-5085] Add unit test for maxDate

* [ADF-5085] Add documentation for maxDate setting

* [ADF-5085] Unit tests for default and today value

* [ADF-5085] Refactor
2020-03-04 11:29:29 +00:00
Alexandra Abrudan 24c728a8f5 [AAE-1880] e2e document-list selection mode (#5518)
* [AAE-1880] e2e document-list selection mode, open file/folder

* resolved comments: backtick, refactoring names, using dropdownPage, removing comments, wrapping the API

* added a new try-catch for beforeAll, fixed the error message

* changed the name of a method from clickDropdownWithOption to selectDropdownOption

* changed the method name from clickDropdown... to selectDropdownOption

* added the variable type for some methods, delete the let list and refactor accordingly
2020-03-03 18:50:36 +00:00
davidcanonieto 2b1a321baf [AAE-1977] Fix file uploaded after cancelling upload (#5532)
* [AAE-1977] Fix file uploaded after cancelling upload

* Add constants
2020-03-03 18:47:29 +00:00
Vito 45f023c93a AAE-1945 - Added extra form unit test (#5524)
* AAE-1945 - start adding test form rendering for task-details

* Added last unit test for AAE-1945

* AAE-1945 - removed wrong fdescribe

* AAE-1945 - fixed whitespace

* AAE-1945 - fixed wrong promise errored

* AAE-1945 - fixed failing unit test
2020-03-03 18:45:41 +00:00
Vito 359022de65 [AAE-2009] - Added visibility unit test for form (#5526)
* AAE-2009 - added visibility unit test for form widgets

* AAE-2009 - added visibility unit test for form widgets

* AAE-2009 - fixed id of mock form

* AAE-2009 - fixed linting
2020-03-03 16:59:01 +00:00
Cristina Jalba e96b89c821 [AAE-1746]Added 3 new processed to candidatebaseapp: errorStartEventProcess, er… (#5531)
* Added 3 new processed to candidatebaseapp: errorStartEventProcess, errorBoundaryEventProcess and errorExclusiveGateProcess, all with error events

* no message
2020-03-03 15:02:28 +00:00
siva kumar 351aadd518 * Updated process-display-json variable to http (#5530) 2020-03-03 12:15:31 +00:00
dhrn 5d408025b0 [AAE-1949] Form Attach File Widget AAE unit test (#5527)
* [AAE-1949] Form Attach File Widget AAE unit test

* [AAE-1949] Form Attach File Widget AAE unit test

* * fixed type

* * fixed second upload

* * fixed second upload
2020-03-02 17:57:17 +00:00
Alexandra Abrudan 133140d69b [AAE-1926] automated e2e tests - interacting with an attached file in an active & completed form (#5528) 2020-03-02 14:52:41 +00:00
Eugenio Romano 7a2af38699 [AAE-1884] e2e shared file and refactor custom sources (#5506)
* fix lint
e2e shared file and refactor custom sources
additional tests for search chip list (#5523)

* modify wait startegy

* fix metadata problem

* improve method retry

* login before to execute call

* login before to execute call
2020-03-02 10:28:38 +00:00
Vito 7c849d87f4 AAE-1941 - Added unit test for Number Widget (#5498)
* AAE-1938 - added first stack of visibility tests for form

* AAE-1941 - added number widget unit test

* fixed wrong import

* AAE-1941 - fixed unit test for form rendering
2020-02-28 16:10:07 +00:00
Denys Vuika 1e226d967e additional tests for search chip list (#5523) 2020-02-28 15:08:35 +00:00
Alexandra Abrudan e5efe74e5e [AAE-1797] added e2e automated tests (#5509)
* added e2e automation - [C260064] Should download only the last selection when changing pages in Single mode

* [AAE-1797] added e2e automated test- start a process within ACS

* refactoring with dropdownPage

* spellcheck refactoring
2020-02-28 15:06:24 +00:00
Vito 6bf8c17771 [AAE-1944] - Amount Widget Unit test (#5504)
* AAE-1944 - added unit test for amount widget

* AAE-1944 - fixed wrong header and lint problem
2020-02-28 14:04:26 +00:00
Baptiste Mahé 7a79d5bebf [AAE-1943] Dropdown widget unit test (#5513)
* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* [AAE-1943] C309672 and C309675 into unit tests

* [AAE-1943] C309680 automated

* [AAE-1943] C309682 automated
2020-02-28 14:03:13 +00:00
Denys Vuika a9b49a1eb7 [AAE-1883] document list preset unit tests (#5519)
* document list preset unit tests

* remove useless tests

* remove useless tests

* remove even more garbage

* remove junk
2020-02-28 13:26:01 +00:00
dhrn b5d443f2a8 [AAE-1950] and [AAE-1882] more unit test (#5521)
* [AAE-1882] Custom action unit test

* [AAE-1950] Filter E2E Community Unit test
2020-02-28 10:54:31 +00:00
dhrn 9d8479c259 [AAE-1921] Start Process e2e APS1 and removed [C280015] (#5522)
* [AAE-1921] Start Process e2e APS1

* removed C280015. unit test is there
2020-02-28 10:46:48 +00:00
Eugenio Romano a79313c773 fix cancel (#5520) 2020-02-27 21:13:36 +00:00
Vito 03fb9c32ec AAE-2073 - reverted partially the changes on the parsing form of form… (#5517)
* AAE-2073 - reverted partially the changes on the parsing form of form service

* AAE-2073 - reverted changes on form service
2020-02-27 20:40:53 +01:00
arditdomi 14529da097 [AAE-1729] Move task-process filters methods into adf-testing, refactor dropdowns to use dropdown material testing page (#5467)
* [AAE-1729] Move task-process filters methods into adf-testing

* [AAE-1729] Add default filters methods in testing package

* [AAE-1729] Refactor testing package and e2e to use Dropdown testing page

* [AAE-1729] Rename function

* [AAE-1729] Fix failing e2e, add click and select dropdown method

* [AAE-1729] Fix e2e

* [AAE-1729] fix e2e

* [AAE-1729] Add default filters methods in testing package

* [AAE-1729] Slow down upload speed, fix cancel upload e2e

* [AAE-1729] Undo slow down upload speed, fix cancel upload e2e
2020-02-27 13:51:36 +00:00
dhrn d2ec8ccee7 [ADF-000] fixed PS pipeline (#5516) 2020-02-26 23:49:54 +00:00
davidcanonieto 159f0f94f3 [AAE-1881] Add E2E tests for document list actions (#5514)
* [AAE-1881] Add E2E tests for document list actions

* Improve code

* Fixing my stupidity
2020-02-26 17:12:36 +00:00
Eugenio Romano e74e1e4ade Fix cancel E2E (#5501)
* fix

* fix upload and remove unused fikes

* fix upload and remove unused fikes

* clean more

* fix cancel test

* unify names

* fix size

* fix cancel

* different timeout
2020-02-26 15:33:45 +00:00
dhrn ae38f3f4ac [AAE-1955] [ADF-5082] [AAE-1969] and [AAE-1970] Search Unit test (#5508)
* initial commit

* [AAE-1955] Search Categories Unit test

* more unit added

* check box test added

* [AAE-1970] Search Search Filters Facet Container Uni Test

* * naming improvements
2020-02-26 15:05:27 +00:00
Denys Vuika 999e513087 add missing DataColumn module to DataTable (#5512)
* add missing DataColumn module to DataTable

* fix import path
2020-02-26 14:58:26 +00:00
Vito 1e67f50346 AAE-1938 - added first stack of visibility tests for form (#5489)
* AAE-1938 - added first stack of visibility tests for form

* AAE-1938 - fixed unit test after form service changes

* AAE-1938 - rebased with last development

* AAE-1938 - fixed failing e2e

* AAE-1938 - fixed mock definition to match updated service behaviour

* Fixed failing e2e

* AAE-1938 - try to fix cancel uploads
2020-02-26 14:46:01 +00:00
Maurizio Vitale 6ef07fe73f Ability to clean app using the like and interval time (#5515) 2020-02-26 13:09:53 +00:00
siva kumar 5fb7879900 [AAE-2021] Automate About component (#5499)
* * Added unit tests to the about-github-link component.
* Removed unused css

* * Added unit tests to the about module and prodcut-version components

* * Automated about page

* * Fixed comments

* * FIxed failing unit tests on attach-file-widget component.

* * After rebase
2020-02-26 12:35:50 +00:00
davidcanonieto 2cf36c2862 [AAE-1842] Automate C277196 Version manager permissions (#5510) 2020-02-25 14:16:10 +00:00
maurizio vitale 4f17698cd4 Remove exit 0 mystake 2020-02-25 12:09:16 +00:00
Maurizio Vitale 81efb07283 adf-cli Provide a way to pass buildArgs to the docker build (#5507)
* Provide a way to pass buildArgs to the docker build

* Create folder in case does not exist
2020-02-24 17:10:40 +00:00
davidcanonieto fcda1e3c7e [AAE-1940] Add unit tests for Radio Buttons Widget (#5505)
* [AAE-1940] Add unit tests for Radio Buttons Component

* Update tests
2020-02-24 15:45:35 +00:00
arditdomi 56474bc96e [AAE-1975] Add no results template when searching in People/Group clo… (#5479)
* [AAE-1975] Add no results template when searching in People/Group cloud component

* [AAE-1975] Add timeout for check no results e2e method

* [AAE-1975] Adapt unit tests, add no results checks

* [AAE-1975] Fix styling, remove error icon and red colour

* [AAE-1975] Remove timeout
2020-02-24 15:37:55 +00:00
dhrn 536e2587ea [AAE-1954] Search Unit test (#5503)
* [AAE-1954] Search Unit test

* * fixed comments
2020-02-24 11:21:42 +00:00
Baptiste Mahé 53e1940ee7 [AAE-2034] Display disabled radio button in read-only mode (#5500)
* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* Test disbled property
2020-02-24 11:19:56 +00:00
siva kumar 9219fa249c * Updated allwidgets form field ids* Used jsonplaceholder api to check service call. (#5502) 2020-02-24 10:11:43 +00:00
Eugenio Romano 2d0b571875 remove not needed spaces (#5495)
* remove not usefull spaces

* increase timeout

* increase timeout

* fix
2020-02-23 17:00:16 +00:00
arditdomi 9e0e2bdfa6 [AAE-1933] Add dropdown testing page (#5491)
* [AAE-1933] Add process and task filters testing methods - check option is visible in dropdown

* [AAE-1933] Add dropdown page

* [AAE-1933] Remove methods replaced by dropdown page

* [AAE-1933] Fix dropdown methods not working

* [AAE-1933] Fix e2e

* [AAE-1933] Fix task-form-cloud e2e
2020-02-23 14:02:15 +00:00
davidcanonieto 9898ad4401 [AAE-1939] Add unit tests to Text Widget (#5488)
* [AAE-1939] Add unit tests to Text Widget

* Improve code

* Improve toBeFalsy/toBeTruthy

* Configure TestBed only with needed modules
2020-02-23 12:38:46 +00:00
Eugenio RomanoandArik Sidney Guggenheim feebaebd6c [#5352] Fix broken pagination if totalItems is missing (#5473)
* [#5352] Fix broken pagination if totalItems is missing. This happens when a search query is executed against Solr and not the DB

* fix lint issues

Co-authored-by: Arik Sidney Guggenheim <ariksidney@outlook.com>
2020-02-21 12:12:28 +00:00
Baptiste Mahé b7de48c821 [ADF-5074] Scrollable card-view-textitem when value too long for display (#5480)
* ADF-5074 Scrollable non-multiline and full display for multiline

* ADF-5074 Refactor template

* ADF-5074 Scrollbar displayed only on overflow

* ADF-5074 adf-textitem-ellipsis is now replaced by adf-textitem-scroll

* ADF-5074 Scrollable non-multiline and full display for multiline

* ADF-5074 Refactor template

* ADF-5074 Scrollbar displayed only on overflow

* ADF-5074 adf-textitem-ellipsis is now replaced by adf-textitem-scroll
2020-02-21 11:02:45 +00:00
arditdomi 2283af2384 [AAE-2001] Remove APS_USER APS_ADMIN roles from app permissions (#5487)
* [AAE-2001] Remove APS_USER APS_ADMIN roles from app permissions

* [AAE-2001] Add processadminuser to simpleapp and candidatebaseapp
2020-02-21 10:58:06 +00:00
dhrn 73ba7a209d [ADF-5079] Claim task E2E (#5490)
* unified claim and requeue task

* * highlight filter added

* * removed unused method

* * improved test

* fixed conflicts
2020-02-21 10:49:08 +00:00
siva kumar bf11cd65ec [AAE-2021] Unit tests for about components (#5496)
* * Added unit tests to the about-github-link component.
* Removed unused css

* * Added unit tests to the about module and prodcut-version components

* * After rebase
2020-02-21 10:12:42 +00:00
davidcanonieto 2874e6469b [AAE-1925] Add unit tests for Task List Component (#5484) 2020-02-20 22:07:14 +00:00
Eugenio Romano 1847768b56 [AAE-1848] fix kebab case files and add tlsint rule (#5481)
* fix kebab case files and add tlsint rule

* headless

* m 2 in e2e

* download file in headless chrome

* fix budget

* fix import

* fix import
2020-02-20 21:08:42 +00:00
Baptiste Mahé 918d27bc8a C310322 to C310324 made in unit tests (#5493) 2020-02-20 15:29:04 +00:00
Gloria Broadbent de237d8481 DW-1321: Fix for Incomplete List of Languages - 5 languages were listed in English. They are correctly translated now. (#5494) 2020-02-20 15:18:12 +00:00
dhrn a256a6b7d5 [AAE-1952] Task › Edit task filters › Actions E2E Unit test (#5492)
* [AAE-1952] Task › Edit task filters › Actions E2E Unit test

* fixed error
2020-02-20 12:32:35 +00:00
dhrn 8fc69b89ec [AAE-1937] Process Filters E2E APS1 (#5478) 2020-02-19 10:49:14 +00:00
dhrn c12eee1f59 [ADF-5078] Start Task e2e (#5485)
* [ADF-5078] Start Task e2e

* * improved test

* * fixed import
2020-02-19 10:43:43 +00:00
maurizio vitale 2f89787b7a Use the build dist without stats and move the docker step on top 2020-02-18 13:32:51 +00:00
maurizio vitale 70829dc203 Fix unused of 2020-02-17 19:49:59 +00:00
Maurizio Vitale 72a942dec8 Core - Add the http interceptor (#5486)
* Add the interceptor

* Remove index
2020-02-17 16:22:10 +00:00
dhrn ffc17157a4 [AAE-1831] DataTable Unit test (#5475) 2020-02-14 14:32:40 +00:00
Vito d9ade815dd AAE-1794 - added extra unit test (#5477) 2020-02-14 13:20:25 +00:00
davidcanonieto d9cf24a4cb [AAE-1803] Add Unit tests for custom templates (#5474)
* [AAE-1803] Add Unit tests for custom templates

* Fix linting
2020-02-13 11:47:47 +00:00
dhrn 9435205653 [ADF-5080] Process List e2e (#5476) 2020-02-13 11:28:08 +00:00
dhrn 281b75b6bf [AAE-1839] Card View E2E (#5472) 2020-02-12 15:33:15 +00:00
Vito 498bc6032a ADF-5074 - reenabled test on upload (#5470) 2020-02-12 13:49:09 +00:00
dhrn 72d1fbbc1a [AAE-1838] Sidenav Unit test (#5468)
* [AAE-1838] Sidenav Unit test

* fixed linter
2020-02-12 09:08:28 +00:00
siva kumar c8c85891df * Updated simple app with the upload and json process (#5469) 2020-02-12 09:07:45 +00:00
Maurizio Vitale f882f0a6d8 fix the candidate base app 2020-02-11 14:59:17 +00:00
Alexandra Abrudan 2115d5bbfc corrected the name in json file for candidatebaseapp (#5466) 2020-02-11 14:30:19 +00:00
Alexandra Abrudan 12481c4238 update simple app wrong name (#5465) 2020-02-11 12:42:48 +00:00
arditdomi b49645316a [AAE-1764] Fix testing methods checking visibility of widgets (#5457)
* [AAE-1764] Fix testing methods checking visibility of widgets

* [AAE-1764] Fix e2e failing because of method refactoring

* [AAE-1764] Fix widget visibility e2e
2020-02-11 12:20:42 +00:00
Baptiste Mahé a3bf224173 5419 Permission panel shows first and last name of users (#5448) 2020-02-11 10:45:53 +00:00
dhrn 6d4ba891f5 [ADF-5068] APS › TaskList component › StartTask Component › Info Drawer test need to be automated (#5456)
* [ADF-5068] APS › TaskList component › StartTask Component › Info Drawer test need to be automated

* moved config file
2020-02-11 10:17:15 +00:00
Alexandra Abrudan 3a50dcb9d7 updated the simpleapp and candidatebase with the assignees that were … (#5458)
* updated the simpleapp and candidatebase with the assignees that were lost

* update task cloud visibility boolean form
2020-02-10 14:49:58 +00:00
davidcanonieto 1c016634b1 [AAE-1179] Fix Start Task with Groups E2E tests (#5464) 2020-02-10 14:49:39 +00:00
dhrn e46466a885 [ADF-5076] Automate tastrail case (#5463) 2020-02-10 14:02:57 +00:00
Eugenio Romano c84bb250fb Fix build scripts (#5461)
* improve check env script

* fix update script children
2020-02-10 00:33:14 +00:00
Denys Vuika a0926a38d8 Minor code and style fixes (#5398)
* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
2020-02-09 22:03:32 +00:00
Mark Steadman 3459c98bd0 [ACA-2602]- Datatable - Selected state properly announced (#5459)
* chore: selected row now announces state

* chore: removal of tabindex on icon button
2020-02-09 21:22:56 +00:00
Denys Vuika f54bc24317 [AAE-1695] reduce manual tests (#5455)
* tests cleanup

* cleanup search control tests

* EmptyContentComponent tests

* fix names

* search filter category test

* task list test and code polish

* process list tests and cleanup

* extra task-list tests

* extra start-task tests

* code cleanup
2020-02-08 01:08:34 +00:00
Baptiste Mahé a3cbf9bcd3 [ADF-4920] Fixed checkbox dropdown style when invalid (#5444)
* ADF-4920 Fixed checkbox dropdown style when invalid

* ADF-4920 Corrected misspelling
2020-02-07 17:19:27 +00:00
Chris Rodriguez 707b7fe6b3 chore: added always visible label to sort, i18n (#5438) 2020-02-07 17:16:48 +00:00
Eugenio Romano c663514538 fix propagate script 2020-02-07 17:15:08 +00:00
Eugenio Romano 1275fa6606 Update update-project.sh 2020-02-06 16:43:30 +00:00
VitoandEugenio Romano 88e961d12a [ADF-1653] [ADF-1651] - disabled download for external source and added download for same login content (#5450)
* ADF-1653 - disabled download for external content

* ADF-1653 - ADF-1651 - disabled download for external source and added download for same login content

* ADF-1653 - using downloadService instead of contentService

* improve solution

* improve solution

* fix unit

* add more unti test

* fix lint

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-02-06 15:07:59 +00:00
Adina Parpalita 7d04297e6e [ADF-5073] Sorted column header is incorrectly read by a screen reader (#5449)
* translate column title

* remove forgotten empty lines

* enable screenshots for investigating weirdly failing tests

* reenable the stages
2020-02-06 13:54:58 +00:00
Eugenio Romano 3896ce2472 bump 3.7.0 2020-02-06 13:36:24 +00:00
Mark Hulbert 5989671670 [ADF-5075] Update compatibility matrix for 3.7.0 (#5453) 2020-02-06 12:45:43 +00:00
Eugenio Romano 64254d988f Update .travis.yml 2020-02-06 11:32:25 +00:00
Geeta Mandakini Ayyalasomayajula 446e4bb37e AAE-1666 - updated simpleapp to test the multi-instance result collection (#5451)
* added 2 new forms 'mealform' and 'resultcollectionform' to simpleapp and updated the multiinstance-usertask process definition to have another task to display the output of the result collection.

* added the 2 new form names to the resources file.
2020-02-06 01:20:47 +00:00
Alexandra Abrudan 9276333352 [AAE-1453] added e2e tests for checking different configurations for people/group cloud widgets (#5446) 2020-02-06 01:18:30 +00:00
dhrn 4b1471d9c3 [ADF-5066] APS2 › Process List test need to be automated (#5441)
* [ADF-5066] APS2 › Process List test need to be automated

* fixed spell check error

* fixed errors

* taskname from resource

* fixed e2e

* fixed comments

* fixed declartions
2020-02-05 16:49:30 +00:00
Eugenio Romano a98249e07f update e2e test 2020-02-05 15:33:14 +00:00
Eugenio Romano 9f113ecd15 Update update-children.sh 2020-02-05 15:08:57 +00:00
Eugenio Romano 3cb525d060 Update RelNote370.md 2020-02-05 14:05:01 +00:00
Eugenio Romano 83c4e1d382 trigger build 2020-02-05 12:54:21 +00:00
ioan-sabau 2c9c564f3a #1256 Fix Icon alignment mismatch and the rows to have the same height. (#5447) 2020-02-05 12:04:18 +00:00
Maurizio Vitale bab4906632 [AAE-1539] People/Group - Add a formControl for the chip field (#5445)
* Add a formControl for the chip component

* on search reset the error and trim later on
2020-02-04 16:53:37 +00:00
Denys Vuika bd3957dcee [ADF-5065] people and group picker tests, clean code (#5442)
* cleanup component types

* more readable tests

* clean code

* C291998: render preselected people

* clean code

* extra tests and clean code

* fix test after rebase
2020-02-03 15:10:17 +00:00
arditdomi d9e0847b18 [AAE-1594][AAE-1631] Fix not able to search for specific users, valid… (#5429)
* [AAE-1594][AAE-1631] Fix not able to search for specific users, validation not working for partial username

* [AAE-1594][AAE-1631] Fix unit tests

* [AAE-1594] Refactor comparing preselcted user with keycloak user, add unit tests for search

* [AAE-1594] Add missing undefined check

* [AAE-1594] Ignore blank space user/groups search
2020-02-03 10:15:18 +00:00
Maurizio Vitale 0a25254691 Revert "allow admins to view cloud demos (#5436)" (#5437)
This reverts commit d37393b695.
2020-01-31 23:39:22 +00:00
Eugenio Romano cac31e372c Update .travis.yml 2020-01-31 16:18:23 +00:00
Denys Vuika d37393b695 allow admins to view cloud demos (#5436) 2020-01-31 11:47:18 +00:00
Denys Vuika 0256a16ea4 extra unit tests for breadcrumb (#5431) 2020-01-30 22:43:35 +00:00
Eugenio Romano a183ed8884 trigger child build after merge like JS-API (#5427) 2020-01-30 11:58:23 +00:00
Gloria Broadbent 80ae09d06a ALL LANGUAGES: Fully localised updated files for ADF 3.7 to fix LOC-187 (#5428) 2020-01-30 11:57:36 +00:00
Eugenio Romano c9d16dc9ca [AAE-1360] Remove DELETED status from process instances filter dropdown (#5423)
* remove not needed status

* fix unit

* Update app.config.json
2020-01-29 20:52:48 +00:00
Eugenio Romano 5d28a162c2 fix preselect user check (#5420) 2020-01-29 19:59:29 +00:00
Eugenio Romano 2434d9a09c fix image asset 2020-01-29 18:05:03 +00:00
Eugenio Romano abd3b0f1fe change user for cloud test (#5422) 2020-01-29 15:40:54 +00:00
davidcanonieto f551ad52a6 [AAE-1558] Update apps to use new structure (#5421) 2020-01-29 12:35:06 +00:00
arditdomi 95c7074d65 [AAE-1594] Fix partial group name of a valid group should not be valid, fix form-cloud able to search when people/group widget is readonly (#5417) 2020-01-29 09:23:03 +00:00
arditdomi 2e71bc6e27 [AAE-1532] Fix typing fast in search with roles gives wrong results in people/group cloud (#5418) 2020-01-29 09:17:51 +00:00
Eugenio Romano 46c54b7083 fix destroy worker and internalize css pdfjs (#5415) 2020-01-29 07:47:57 +00:00
Eugenio Romano e70b977a71 review documentation (#5407) 2020-01-28 18:06:25 +00:00
Francesco Corti 25e76facd6 Draft of ADF 3.7 release note (#5412)
Draft of ADF 3.7 release note
2020-01-28 18:06:16 +00:00
Eugenio Romano 64ba19a9ce vulnerability and license doc (#5409)
* vulnerability and license doc

* Update license-info-3.7.0.md
2020-01-28 18:05:33 +00:00
arditdomi 80f805801f [AAE-1562] Fix should not be able to search already selected user (#5414) 2020-01-28 17:54:01 +00:00
arditdomi 0ae55ba590 [AAE-1602][AAE-1594] Fix duplicated users issue when validation enabl… (#5413)
* [AAE-1602][AAE-1594] Fix duplicated users issue when validation enabled, fix partial username should not return a valid user

* [AAE-1602][AAE-1594] Fix removing incorrect invalid user/group when name or id matches
2020-01-28 15:05:26 +00:00
Denys Vuika d09373501f [AAE-1564][DW-1654] improved datatable schema (#5408)
* improved datatable schema

* collect all runtime columns
2020-01-28 14:08:18 +00:00
Eugenio Romano 1754baa111 fix release project cli and dependency (#5404) 2020-01-27 13:15:25 +01:00
Mark Hulbert 1bfead2cd3 [ADF-5048] Review UI strings (#5406) 2020-01-27 13:12:55 +01:00
Cilibiu Bogdan f8d3b29ff5 [ADF-5064] Info Drawer - More and Less Information buttons are reversed (#5405)
* display correct button for state

* update tests

* update tests
2020-01-27 13:07:44 +01:00
Eugenio RomanoandMark Steadman 3767ecb91c chore: hiding icon in table from SR users (#5403)
Co-authored-by: Mark Steadman <47225088+Steady5063@users.noreply.github.com>
2020-01-25 16:56:56 +01:00
Eugenio RomanoandMark Steadman 142e142ccb [ACA-2567] - sortable (#5402)
* chore: aca-2567 accessibility for sortable columns

* chore: sortable table accessibility update

* fix: refactor sortable table headers into function

* chore: updated sort by text

Co-authored-by: Mark Steadman <47225088+Steady5063@users.noreply.github.com>
2020-01-25 16:13:30 +01:00
Chris Rodriguez f27b94017a [ACA-2474] adding instructions to the calendar for use (#5387)
* chore: adding instructions to the calendar for use

* chore: updating lockfile

* chore: fixing package

* chore: updated html for test

* chore: adding instructions to the calendar for use

* chore: updating lockfile

* chore: fixing package

* Wchore: updated html for test

* chore: removed unnused random string gen

* chore: synced lockfile; removed unnused prop
2020-01-25 15:04:23 +01:00
Taylor 7d14e3fe86 [ACA-2605] - fix: add aria-label to toggle button (#5397)
* fix: add aria-label to toggle button

* fix: swap label to use translation key and pipe
2020-01-25 14:49:48 +01:00
Martin Muller f0189efd5a [ACA-2755] [SSO] Unable to access a private url after a public url was loaded in the same browser tab (#5363)
* If silentlogin do implicitLogin

* If silentlogin do implicitLogin

* Unit tests

* Unit tests Trigger new run

* Authguard should return true for canActive

* adjust unit test and allow AuthGuard CanActive for the SSO case

* adjust unit test and allow AuthGuard CanActive for the SSO case

* adjust unit test and allow AuthGuard CanActive for the SSO case

* adjust unit test and allow AuthGuard CanActive for the SSO case

* Add isPublicUrl logic to authguard

* adjust unit test and allow AuthGuard CanActive for the SSO case

* Allow canActive true for public urls like /settings

* fix redirect login for SSO

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* Try not using isPublicUrl from js-api as that triggers an implicit login already

* move sso silentlogin fix to ecm authguard

* Try only todo the implicitLogin if not logged in

* Try only todo the implicitLogin if not logged in

* Try only todo the implicitLogin if not logged in

* Try only todo the implicitLogin if not logged in

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* remove implicit flow parameter and pray that those process cloud tests are passing

* remove implicit flow parameter and pray that those process cloud tests are passing

* remove implicit flow parameter and pray that those process cloud tests are passing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* move authService stuff in the login component from ngOnInit to constructor

* move authService stuff in the login component from ngOnInit to constructor

* move authService stuff in the login component from ngOnInit to constructor

* move authService stuff in the login component from ngOnInit to constructor

* not use login component for silent login anymore!

* try figuring out why process cloud is failing

* try figuring out why process cloud is failing

* reuse is PublicUrl from js-api

* reuse is PublicUrl from js-api

* revert travis changes

* revert travis changes

* Check if oauth is enabled

* Check if oauth is enabled

* Check if oauth is enabled

* Check if oauth is enabled
2020-01-25 10:15:24 +01:00
Eugenio Romano 469a806894 fix share test and search condition (#5401) 2020-01-25 10:05:54 +01:00
Eugenio Romano 5e284d487c make the pipeline great again (#5400) 2020-01-24 21:48:12 +01:00
Eugenio Romano a01d838d65 remove flaky test (#5395) 2020-01-24 12:58:20 +00:00
Chris Rodriguez 4b102c1e7f [ACA-2475] keyboard trap (#5386)
* chore: added cdk keyboard trap to mat-datpicker

* chore: keyboard trap in datetimepicker
2020-01-24 11:08:02 +00:00
Cristina Jalba ea8353639c Adding process variables to an existent process definition (#5394) 2020-01-24 09:04:37 +00:00
Gloria Broadbent b0f0abe9f7 GERMAN: Fix for https://github.com/Alfresco/alfresco-ng2-components/issues/5379 as reported by georg-un (#5392) 2020-01-23 18:28:13 +00:00
Popovics András 3c95425322 Fix wrong import (#5393) 2020-01-23 17:50:06 +00:00
Eugenio Romano 05c1b72b1a remove update PR env (#5383) 2020-01-23 12:08:59 +00:00
Denys Vuika c7c1d76510 [AAE-936] injecting external settings for amount widget (#5389)
* injecting external settings for amount widget

* undo form changes
2020-01-23 11:59:40 +00:00
Chris Rodriguez deb2a0082f chore: removes calendar popup on focus (#5388) 2020-01-22 18:50:28 +00:00
Alexandra Abrudan 7b3b9b2515 [AAE-1152] fixed tests using single mode displayed as a tag too (#5385) 2020-01-22 14:57:09 +00:00
Maurizio Vitale a0caed0f99 [AAE-1501] EditProcessCloud/EditTaskCloud - Ability to fetch applications by role (#5380)
* ProcessFilter - Be able to fetch applications based on the role

* TaskFilter - be able to fetch the applications by role
2020-01-21 18:51:38 +00:00
Alexandra Abrudan f20e158eaf [AAE-1152] added e2e tests for People and Group of people - CloudWidgets (#5372)
* [AAE-1152] added e2e tests for People and Group of people - CloudWidgets

* [AAE-1152] made code more readable

* [AAE-1152] added public-api file

* Fixing import in index.ts

* refactoring and creating public-api file
2020-01-21 17:38:34 +00:00
arditdomi 3c3aa7599a [AAE-1372] Refactor People/Group cloud component (#5355)
* [AAE-1372] Fix read-only preselected users can be deleted

* [AAE-1372] Fix people/group cloud component readonly mode

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Clear invalid user in single mode after replacing with a valid user

* [AAE-1372] Add progress bar while validation loading. When user gets removed remove from validation

* [AAE-1372] Fix lint errors

* [AAE-1372] Fix single selection e2e

* [AAE-1372] Fix unit tests - people/group cloud components

* [AAE-1372] Fix e2e, set People/Group formControls invalid when has preselect errors

* [AAE-1372] Fix invalid form control bug
2020-01-21 13:37:57 +00:00
Eugenio Romano 91abe87ccc fix JWT error (#5376) 2020-01-20 17:24:11 +00:00
Silviu Popa e0bc43d933 [AAE-1235] - fix task completion with datetime form widget (#5340) 2020-01-17 14:38:56 +00:00
Marouan Bentaleb dac0f72b96 Adding amount row editor for dynamic table (#5366)
* Adding amount row editor for dynamic table

* Adding amount row editor for dynamic table
2020-01-15 15:26:30 +01:00
cristinaj fd74811639 [AAE-838]Add a method to wait until datatable contains less then a specific nr… (#5370)
* Add a method to wait until datatable contains less then a specific nr of rows. This could be useful for waiting for datatable to load when searching or filtering it

* Moved the method to pagination page

* Renamed the method
2020-01-15 14:44:40 +01:00
Cilibiu Bogdan b931c4a85c [ADF-5062] Content Node Selector - show inputs based on configuration (#5368)
* toggle search and dropdown list by configuration

* update docs

* tests

* fix inputs setter

* rename
2020-01-15 10:51:57 +01:00
Eugenio Romano 3cf12fca49 fix readonly attach file scenarios (#5365) 2020-01-14 00:14:11 +01:00
Eugenio Romano fd53531be7 unify rancher update strategy (#5367)
* unify rancher update strategy

* fix script

* fix script
2020-01-13 16:06:59 +01:00
Eugenio Romano a8c2a0b1e2 [AAE-1174] select first user info when open the first time (#5345)
* select first info user when open

* add early check to build the tabs

* fix lint

* try different solution
2020-01-13 11:24:03 +01:00
Maurizio Vitale 26677c6789 adf-cli command init-aae use the user based on the role (#5364)
* Reuse the common deployment and modeling api

* Add files to testing

* Pass parameters

* Travis initaae with correct parameters

* Travis initaae with correct parameters

* Add cli to the smart build
2020-01-10 17:02:16 +00:00
cristinaj 94e02c0552 [AAE-1361]Add complete task of a process method (#5359)
* Add complete task of a process method

* Removed completeTaskOfAProcess method. We will add this along with a proper refactoring

* Remove unnecessary check
2020-01-08 16:46:16 +00:00
Alex Bolboșenco 3ecf6a3663 [AAE-1336] add version on completeTaskForm (#5354)
* add version on completeTaskForm

* fix test
2020-01-08 14:52:33 +01:00
Eugenio Romano bea8c61d91 new js-api should be deployed if build is ok (#5362) 2020-01-08 14:52:05 +01:00
Eugenio Romano 2d7a566cc5 close dialog in the redirect (#5361) 2020-01-08 14:33:06 +01:00
Eugenio Romano ad9aaf2b40 add mp3 support mediatype viewer/thumbnail blob (#5357) 2020-01-07 16:13:49 +01:00
Gloria Broadbent 755c84c7a0 Fix for LOC-186 - mistranslation in French (#5358) 2020-01-07 13:41:41 +01:00
Alfresco Build User 124c198f15 Update ADF packages version 3.7.0-beta6 (#5356) 2020-01-07 11:18:45 +01:00
siva kumar 68df1ad440 [AAE-1351] [GroupCloudComponent] Validate pre-selected groups (#5353)
* * Added an input flag to validate preselected groups.
* Modified demo shell groups page.

* * Added unit tests to the recent changes.

* * Fixed comments
2020-01-03 10:29:29 +00:00
siva kumar 12d068c228 [AAE-1344] [FE] - Removed all pre-selected users on removing of single pre-selected user. (#5350)
* [AAE-1344] [FE] - Removed all preselected users on removing of single pre-selected user.

* * Fixed Search problem on admin manage permision dialog

* * Fixed failing unit test.

* * Fixed failing unit test on group component
2020-01-02 13:09:27 +00:00
Eugenio Romano 9c83c35e61 [ADF-5009] close all the dialogs after false canActivate event (#5312)
* close all the dialogs after false canActivate event

* Update auth-guard-bpm.service.spec.ts

* sso fix

* fix lint
2020-01-02 10:21:10 +00:00
Eugenio Romano d7e56b641e Update package.json (#5346) 2020-01-02 10:19:14 +00:00
arditdomi 133a5c3df6 [AAE-1137] Refactor delete process directive (#5317)
* [AAE-1137] Refactor delete process directive

* [AAE-1137] Fix unit tests

* [AAE-1137] Add can show directive output

* [AAE-1137] Remove from demo-shell, update documentation

* [AAE-1137] Refactor cancel process directive

* [AAE-1137] documentation typo

* [AAE-1137] Add unsubscription

* [AAE-1137] Fix build errors

* [AAE-1137] Remove unused declaration
2019-12-31 15:41:54 +00:00
dhrn aa12be15d4 [ADF-5043] Default adf-cloud-task-list and adf-cloud-process-list doesn't work (#5347) 2019-12-23 17:17:03 +01:00
Eugenio Romano d8c35c9af0 [ADF-5055] update pdfjs (#5344)
* update pdfjs

* fix

* fix test
2019-12-22 17:52:38 +01:00
mergify[bot] 50f8e58314 Merge pull request #5338 from Alfresco/dev-eromano-ADF-4980
[ADF-4980] Fix app prefix
2019-12-20 15:46:27 +00:00
arditdomi f97cf0f446 [AAE-1260] Add changes detection for ProcessHeaderCloud when a process gets cancelled (#5341)
* [AAE-1260] Add changes detection for ProcessHeaderCloud when a process is cancelled

* [AAE-1260] Add service documentation

* [AAE-1260] fix typo

* [AAE-1260] Fix unit tests

* [AAE-1260] delete process header cloud service
2019-12-20 12:17:44 +00:00
Eugenio Romano e4fbd2c3d6 update e2e 2019-12-20 11:56:12 +00:00
Eugenio Romano 9ea5bad807 fix test 2019-12-19 13:25:51 +00:00
Eugenio Romano 02ea026b6b enanche doc 2019-12-19 13:25:51 +00:00
Eugenio Romano aba7095d3d remove other PR code 2019-12-19 13:25:50 +00:00
Eugenio Romano 0c9726049a fix usage of prefix and remove localstorage use in favour of our internal service 2019-12-19 13:25:50 +00:00
Eugenio Romano ffef29fd77 Update auth-guard-bpm.service.spec.ts 2019-12-19 13:25:49 +00:00
Eugenio Romano 26be911753 close all the dialogs after false canActivate event 2019-12-19 13:25:49 +00:00
Eugenio Romano af51977db4 fix userinfo e2e (#5343) 2019-12-19 12:42:35 +00:00
mergify[bot] 2013e5a6b0 Merge pull request #5342 from Alfresco/dev-dhrn-ADF-5001
[ADF-5001] Process Audit File Log APS1 section wrong instruction for complete processes
2019-12-19 10:03:29 +00:00
cristinaj 5c1f02a1fd [AAE-865]Create card view text item PO (#5320)
* Create card view text item PO

* Changed back the puppeteer version

* Fix the rootElement locator

* no message

* Fix wrong rebase

* * Added unique data-automation-id on cardViewTextComponent.

* Changed data-automation-id for float
2019-12-19 08:50:34 +00:00
dhrn a097926a5d [ADF-5001] Process Audit File Log APS1 section wrong instruction for complete processes 2019-12-19 11:25:07 +05:30
davidcanonieto dead0087f4 [AAE-1022] Fix components to work on Community environments (#5296)
* [AAE-1022] Fix components to work on Community environments

* Remove appName input
2019-12-18 17:33:50 +00:00
mergify[bot] 0897d372a6 Merge pull request #5339 from Alfresco/dev-abolbosenco-AAE-1238
[AAE-1238] Re-enable appVersion check
2019-12-18 15:17:02 +00:00
Eugenio Romano 16b300d871 [AAE-1237] remove excluded test (#5336)
* remove excluded test

* move exclude list in e2e folder
2019-12-18 14:54:29 +00:00
Alex Bolboșenco f4005102db [AAE-1238] Re-enable appVersion check 2019-12-18 15:56:56 +02:00
Alex Bolboșenco ba9f14f90a [AAE-1238] Re-enable appVersion check 2019-12-18 15:54:24 +02:00
Eugenio Romano f5b6676bcd Update working-with-nodes-api-service.md (#5337) 2019-12-18 12:13:17 +00:00
mergify[bot] da3a51dbed Merge pull request #5332 from Alfresco/dev-siva-AAE-1200-add-edit-icon
[AAE-1200] AAE - FE - Provide a way to define icon on CardViewArrayItemComponent
2019-12-17 12:52:19 +00:00
cristinaj 46d976e318 [AAE-641]Add tests for assignee not able to release process task (#5233)
* Add tests for assignee not able to release process task

* Changed the assignee of assigneeprocess process definition from admin.adf to hruser

* Changed the process used and changed random user to hruser
2019-12-17 12:42:07 +00:00
sivakumar414ram 1ea7efab8e * Updated doc 2019-12-17 16:26:37 +05:30
sivakumar414ram 86bd37b159 * Updated unit tests 2019-12-17 16:26:37 +05:30
sivakumar414ram e3f7e3da09 * Add Edit icon 2019-12-17 16:26:36 +05:30
Alexandra Abrudan 2cc7fe7efe [AAE-1178] ADF - deleted un-necessary steps (#5335)
* [AAE-1178] e2e/pages/adf - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys()

* [AAE-1178] lib & cloud - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys()
2019-12-17 09:32:50 +00:00
Eugenio Romano 5c7cd57368 fix tag script 2019-12-17 09:26:11 +00:00
Eugenio Romano 3f4c5c94b4 Update README.md 2019-12-16 14:57:59 +00:00
cristinaj 9778ca67e7 [AAE-1180]Fix datatable tests (#5334)
* Fix datatable tests

* excluded some of the tests that depend on fixing the rendition service issue we have with ACS 6.2 => AAE-1237
2019-12-16 10:20:08 +00:00
maurizio vitale 89de7393d2 fix version error 2019-12-12 20:11:44 +00:00
Eugenio Romano 5bd75a8295 fix 2019-12-12 18:04:15 +00:00
Maurizio Vitale ac40353e77 temporary comment code (#5330) 2019-12-12 17:39:56 +00:00
Maurizio Vitale e1ff2909bd Fix the attach content from alfresco and local (#5328) 2019-12-12 13:41:40 +00:00
Snyk bot 4699f407e9 fix: package.json, package-lock.json & .snyk to reduce vulnerabilities (#5326)
The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-TREEKILL-536781
2019-12-12 12:13:35 +00:00
Geeta Mandakini Ayyalasomayajula 90c5e41d67 updated simpleapp - calledprocess - usertask with a due date from the datetime process variable (#5327) 2019-12-12 10:16:18 +00:00
Maurizio Vitale a8361b52cf Making sure the people does not change the original obj reference (#5325) 2019-12-11 20:57:58 +00:00
Maurizio Vitale 7519554ded Fix readonly Fix add remove (#5324)
* Fix readonly Fix add remove

* Remove useless unit test

* Remove useless code
2019-12-11 17:51:14 +00:00
Maurizio Vitale 88d89b4ca8 [AAE-1152] Making sure the people and group widget is working fine as part of form (#5322)
* Making sure the people and group widget is working fine as part of the form

* Be able to save a form with people and group

* Fix tslint

* Fix html error

* Fix unit test
2019-12-11 11:22:50 +00:00
cristinaj d8b703b6ef Fixed the process definition name (#5321) 2019-12-10 16:17:10 +00:00
Eugenio Romano 58ca03b077 missing asset 2019-12-10 14:09:15 +00:00
Eugenio Romano 703b96c9b0 [AAE-1152] Add People and Group component in the AAE Forms (#5314)
* firt version groupo component widget

* fix group

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix compilation issue

* fix problem update script

* multiple browser ps cloud

* add field assignment

* add field in form model

* no need subobject we need an issue to refactor the field model

* no need subobject we need an issue to refactor the field model

* fix unit test

* remove title modify

* revert

* fix lint

* exclude AAE-1179

* exclude tooltip e2e
2019-12-10 11:24:24 +00:00
Maurizio Vitale a63e487637 Use ecmHost in case of startFormEvent (#5318) 2019-12-10 11:11:05 +00:00
mergify[bot] acd5d78662 Merge pull request #5315 from Alfresco/dev-crisj-ADF-840
[AAE-840]Add method to start a process knowing the name and the processDefinition
2019-12-09 12:25:21 +00:00
siva kumar 84dac48d9b [ADF-5031][PeopleCloudComponent] [PeopleCloudComponent] Provide a way to make selected items read-only (not remove) (#5289)
* [DW-1618] Admin App -Application Instances - Able to delete all the admin users in Manage app permissions.

* [ADF-5031] [PeopleCloudComponent] Do not delete selected users completely.

* Added flag for not to remove last chip
* Added unit tests to the changes.

* * Added doc

* * Changed removeLastChip to remove

* * Added readonly strategy
* Removed remove input
* Updated unit tests

* * Added  tooltip
* Hiding remove icon.

* * Fixed unit tests
2019-12-09 10:40:33 +00:00
Cristina Jalba c2f7cdb516 Add method to start a process knowing the name and the processDefinition 2019-12-09 08:02:34 +02:00
mergify[bot] 57df944bbf Merge pull request #5313 from Alfresco/eromano-patch-2
Fix angular configuration demo shell
2019-12-07 19:01:43 +00:00
Eugenio Romano 57c5d7fc1a Fix angular configuration demo shell 2019-12-05 21:43:04 +00:00
mergify[bot] f3dedbf42c Merge pull request #5311 from Alfresco/mvitale-AAE-1121-kubectl-clean-app
Ability to clean the env passing apps name
2019-12-05 11:13:23 +00:00
Maurizio Vitale 43995e3795 fix lint 2019-12-05 10:29:58 +00:00
maurizio vitale b423eb8c51 Ability to clean the env passing apps name 2019-12-04 18:22:34 +00:00
maurizio vitale 9a91aa28a2 Pass to the deploy the infrastructure 2019-12-04 18:21:35 +00:00
cristinaj fcb83b8990 Add methods for form outcome buttons and info for simpleapp process and form (#5310) 2019-12-04 14:07:49 +00:00
siva kumar cc4c9bc567 [ADF-5034] [GroupCloudComponent] Provide a way to make pre-selected groups read-only. (#5306)
* Added readonly property to the IdentityGroupModel.
* Updated unit tests.
* Changed class to interface.
* Updated doc
2019-12-04 13:26:56 +00:00
mergify[bot] c01f2744b6 Merge pull request #5301 from Alfresco/dev-gmandakini-add-editjson-dialog
Add editjson dialog
2019-12-04 12:42:10 +00:00
gmandakini 4c9da11092 added a thrid optional partameter for clickField method in the FormFields to accomodate cssContainingText locators. 2019-12-04 11:17:45 +00:00
gmandakini 1260e779ad added edit-json-dialog definition to be used in process workspace. 2019-12-04 11:17:45 +00:00
Eugenio Romano 5c1aff4187 [AAE-991] ADF - Add CI build failure notification #801 (#5308)
* Update .travis.yml

* Update .travis.yml
2019-12-03 16:40:08 +00:00
Cilibiu Bogdan 79eb9365c8 [ADF-5007] Comments - textarea Escape event cannot be canceled (#5266)
* use keydown event

* cancel event propagation

* update tests
2019-12-03 14:11:21 +00:00
Geeta Mandakini Ayyalasomayajula f2cbd0cd9a update the resources file to have the connectors (#5307) 2019-12-03 12:18:50 +00:00
mergify[bot] ca36618464 Merge pull request #5264 from Alfresco/dev-pionnegru-ADF-5006
[ADF-5006] Datatable - custom cell template focus not working
2019-12-03 10:51:17 +00:00
AleAb25 f090fb51cb [ADF-5022] added automation for Display Value Widget (#5302)
* [ADF-5022] added automation for Display Value Widget

* [ADF-5022] fixed licences

* [ADF-5022] fixed test name format

* [ADF-5022] fixed import-BrowserVisibility and adding type for fieldId & re-write methods with try-catch for DisplayValue
2019-12-03 10:48:03 +00:00
cristinaj e949b8444c Remove datatable tests related to demo-shell only. (#5305) 2019-12-03 06:53:07 +00:00
Eugenio Romano 5d11aedbc3 Update .travis.yml (#5304) 2019-12-02 20:13:18 +00:00
Geeta Mandakini Ayyalasomayajula 0f6e420cdc Updated the rest url being used in the miltiinstance-servicetask, added the correlationkeys to the interrupting Start event and noninterrupting start event with in the Event Subprocess and added Throw event in the UI and the process variable as part of the message name in the Intermediate Massage Event. (#5303) 2019-12-02 18:08:15 +00:00
pionnegru 10b024e53a tests 2019-12-02 19:17:33 +02:00
pionnegru f06670f318 update docs 2019-12-02 19:17:33 +02:00
pionnegru 21d2d18d2e update column models 2019-12-02 19:17:32 +02:00
pionnegru 1784106e6b add focus parameter 2019-12-02 19:17:32 +02:00
pionnegru 7772f4a5e7 disable cell focus for actions template 2019-12-02 19:17:31 +02:00
pionnegru e4ae7b2466 enable focus from column definititon 2019-12-02 19:17:31 +02:00
Eugenio Romano 162e43fe3b Update protractor.conf.ts 2019-12-02 16:20:44 +00:00
Eugenio Romano fe802f29c0 Implement smart runner in ADF (#5300) 2019-12-02 14:59:16 +00:00
arditdomi b2ca28d3fd [ADF-5032] Add delete process directive (#5295) 2019-11-29 16:03:06 +00:00
Eugenio Romano 43f2c0bc65 Update .mergify.yml 2019-11-29 16:02:52 +00:00
Eugenio Romano e8477840b5 fix script 2019-11-29 15:55:41 +00:00
Geeta Mandakini Ayyalasomayajula 3d27323f5f updated the candidatebaseapp (#5298)
* updated the candidatebaseapp

* updated the resources file
2019-11-29 15:38:23 +00:00
Eugenio Romano cf83630573 [ADF-5033] Improve publish script (#5297)
* check if npm package is already present before to publish

* fix lint and remove duplicate password

* fix script
2019-11-29 14:51:46 +00:00
Eugenio Romano 8541591816 [ADF-5027] Fix APS rendition (#5285)
* fix APS rendition

* fix unit

* fix unit
2019-11-27 15:48:04 +00:00
Geeta Mandakini Ayyalasomayajula 094cf4ac0f updated multiinstance-completion process definition (#5290) 2019-11-27 12:07:52 +00:00
Eugenio Romano f95989809d Improve scripts after release (#5288)
* update scripts problems

* improve script

* fix alignment
2019-11-26 19:37:58 +00:00
dhrn 809b38aa2b [ADF-4823] [e2e] Displaying a file in a form does not work (#5069)
* [ADF-4823] [e2e] Displaying a file in a form does not work

* * delete removed

* * comments fixed

* * e2e fixed

* * await removed

* * form name fixed

* * rebase conflicts

* * fixed e2e
2019-11-26 11:11:04 +00:00
Cilibiu Bogdan 90402ac43d [ADF-5015] DocumentList - favorites properties (#5278)
* merge entry properties to target

* fix default properties undefined value

* tests
2019-11-26 09:53:35 +00:00
Eugenio Romano 0fb954dd11 gix tag script 2019-11-25 13:11:23 +00:00
Eugenio Romano 27934b847f improve tag script 2019-11-25 12:29:51 +00:00
Eugenio Romano a1a9f33dae improve tag script 2019-11-25 12:24:33 +00:00
Eugenio Romano 238f6e7ce9 improve tag script 2019-11-25 12:05:43 +00:00
Eugenio Romano 46e53105c2 improve travis conf for avoid multiple tag 2019-11-25 11:44:33 +00:00
Eugenio Romano 8a41da0506 bump 3.6.0 (#5283) 2019-11-25 11:03:35 +00:00
Silviu Popa 31e1fd8875 [AAE-459] ProcessCloud - set process definition pre-filled value for one result only (#5277)
* [AAE-459] ProcessCloud - disable process definition pre-fill

* refactor e2e test
2019-11-25 01:04:02 +00:00
Eugenio Romano 7d52449cad [LOC-168] Localization file 3.6.0 (#5281)
* Localization file 3.6.0

* remove not usefull test
2019-11-22 20:16:17 +00:00
Eugenio Romano a1d9ba2002 add 3.6.0 release license vulnerabilities info 2019-11-22 15:13:26 +00:00
Eugenio Romano 16054f9c10 [ADF-4943] Update dependencies (#5274)
* fix depenedencies

* fix date test

* fix date test
2019-11-22 14:50:21 +00:00
Francesco Corti eadfe12f5d [ADF-4945] Draft of the release note for 3.6.0. (#5272)
* Draft of the release note for 3.6.0.

* Update RelNote360.md
2019-11-22 14:19:50 +00:00
Denys Vuika 8e6e755ed1 Revert "[ADF-4861] Fix memory leak in Date widgets and Form Cloud Model (#5041)" (#5279)
This reverts commit 2def8d0557.
2019-11-22 14:03:49 +00:00
Eugenio Romano 1de2ff0cc9 [DOCS-5508] Add more info for kerberos (#5280)
* Add more info for kerberos

* fix

* Minor updates
2019-11-22 12:58:33 +00:00
dhrn e0f00dd7ae [ADF-5013] Dropdown does not display the default value (#5275)
* [ADF-5013] Dropdown does not display the default value

* Revert "[ADF-5013] Dropdown does not display the default value"

This reverts commit a18d2161

* * fixed e2e

* unit test added
2019-11-22 09:59:40 +00:00
siva kumar 5068cbf539 [ADF-5004] [CardViewTextItemComponent] Provide a way to have an icon for the clickable items (#5270)
* [ADF-5004] [CardViewTextItemComponent] Provide a way to have an icon for the clickable items.

* * FIxed failing unit tests* Modified task-details tests and add few more.
2019-11-22 09:37:32 +00:00
Denys Vuika e806e97c75 [AAE-207] support aps 1.x for upload reset (#5260)
* support aps 1.x for upload reset

* update test

* revert pdfjd change

* fix error reporting and crash from upload button

* i18n support for generic error

* fix test
2019-11-21 15:06:00 +00:00
Eugenio Romano c61de922af Fix ps e2e (#5262)
* fix ps e2e

* fix upload unit report

* fix cspell

* Update cspell.json

* fix e2e

* remove extra space

* fix e2e increase resolution

* try add a sleep before to cehck sorted in order to give datable time to refresh

* log order

* fix log

* change async ins ort

* remove sort testcase
2019-11-21 10:12:52 +00:00
Snyk bot 1ec827a90c fix: package.json, package-lock.json & .snyk to reduce vulnerabilities (#5271)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PDFJSDIST-469200


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-HTTPSPROXYAGENT-469131
2019-11-20 17:03:22 +00:00
davidcanonieto db55cdf997 [AAE-898] Fix Datetime card view model custom format (#5265)
* [AAE-898] Fix Datetime card view model custom format

* Fix e2e tests and rebase
2019-11-20 16:48:04 +00:00
arditdomi b016bf8167 [DW-1563] Complete button is not present for empty forms (#5269)
* [DW-1563] Complete button is not present for empty forms

* [DW-1563] Revert part of the changes

* [DW-1563] Remove unnecessary variable declaration
2019-11-20 15:32:25 +00:00
Silviu Popa 202764631a [ADF-5002] Datatable - fix focus selection for grid list (#5268)
* [ADF-5002] Datatable - fix focus selection for grid list

* fix faling e2e
2019-11-20 15:31:19 +00:00
Popovics András d87c9ec401 [AAE-880] Fix updater script in the cli (#5273) 2019-11-20 15:28:17 +00:00
Maurizio Vitale 037aab7ae1 [ADF-5008] Add an health checks on the services: (#5267)
* Add an health checks on the services:
deployment-service
modeling-service
dmn-service

* Refactoring
2019-11-20 14:54:53 +00:00
Martin Muller 9814e28027 Revert "Allow proper focus of last element after closing the dialog (#5234)" (#5261)
This reverts commit 0e2504a53f.
2019-11-18 15:13:28 +00:00
Eugenio Romano a6ad7a5ad0 Documentation update 3.6.0 (#5257)
* documentation update 3.6.0

* documentation update 3.6.0

* update missing doc
2019-11-18 12:34:28 +00:00
Mercy Chrysolite 7ca2f5d1e9 [ADF-4787] Invalid value of number field is parsed and fields with visibility conditions based on the number field are visible (#5255)
* add another field visibility condition

* * Fixed failing unit tests
2019-11-16 11:11:44 +00:00
Denys Vuika 173a160ee9 fix wrong import path 2019-11-15 14:52:33 +00:00
siva kumar ac4679fc10 [ADF-4994] Move realmRole functions inside JwtHelperService. (#5254)
* Moved Realm and client role function inside jwtHelperService.
* Updated unit tests.
2019-11-15 14:34:22 +00:00
Cilibiu Bogdan 81dcfa4341 [ADF-4995] Metadata - edit mode cannot be access via keyboard (#5253)
* use keydown over keyup

* fix test

* fix tests
2019-11-15 14:33:12 +00:00
Denys Vuika 3dd43ce9b5 [ADF-4997] no-duplicate-imports rule (#5256)
* no-duplicate-imports rule

* no-duplicate-imports rule
2019-11-15 13:38:01 +00:00
Denys Vuika a1169de915 improved form version check 2019-11-15 11:36:19 +00:00
Denys Vuika 161ba04367 fix 'standalone' spelling (#5252) 2019-11-14 22:08:45 +02:00
Denys Vuika 3644ba8b7c [DW-1486] form versioning and cloud service enhancements (#5248)
* support form versions retrieval

* rework cloud services, reduce code duplication

* revert app config changes

* fix api spelling error

* support task form versioning

* turn TaskDetailsCloudModel into interface

* remove commented code

* fix test

* update tests

* remove useless provider declarations
2019-11-14 15:04:21 +01:00
Geeta Mandakini Ayyalasomayajula 1f768eb22f updated the simpleapp with multiinstance processes (#5251)
* updated the simpleapp with multiinstance processes

* updated resources file
2019-11-14 12:19:26 +00:00
cristinaj 70dc7dcc9b Fixed start-visibility-form and start-task-visibility-form processes (#5250) 2019-11-14 08:52:04 +00:00
Silviu Popa adbee04c2c [AAE-849] improve search component (#5245) 2019-11-14 00:50:29 +01:00
swathikom c0c7f0cc1c Add getStatusByName in task list page (#5247) 2019-11-14 00:49:43 +01:00
AleAb25 6f42e0ea0e [AAE-485] - empty value for CardView Int Item e2e test (#5240)
* AAE-485 - empty value e2e test

* Updated test with try-catch block for AAE-485 / C321535
2019-11-13 19:44:05 +00:00
Denys Vuika cce4524274 upgrade node-sass to support node 12 (#5242) 2019-11-13 17:01:21 +00:00
siva kumar ae2caa8b90 * Used standalone prop to query tasks* Fixed typo standAlone to standalone.* Updated docs. (#5241) 2019-11-13 13:39:16 +00:00
arditdomi eb1f05dbeb [ADF-4979] Remove unnecessary demo shell required validation (#5244)
* [ADF-4979] Remove unnecessary demo shell required validation

* [ADF-4979] unused import
2019-11-13 12:44:40 +00:00
Silviu Popa b41514cad7 [AAE-463] - change dueDate render component (#5200)
* change dueDate render component

* fix tests

* fix lint

* rebase and add test

* split code into 2 declarations
2019-11-12 20:23:45 +01:00
Silviu Popa f20b78a2c5 [AAE-534] Search - extract search text input from SearchControlComponent (#5213)
* [AAE-534] - add search cloud component

* change doc file

* more changes on doc file

* remove empty scss file

* add animation and more customizations

* add preselect value property

* fix unit tests

* [AAE-534] Search - extract search text input from SearchControlComponent

* rename component and fix build

* fix import scss and lint

* change in doc files

* PR changes

* more changes

* add return type

* fix unit test
2019-11-12 20:22:48 +01:00
Geeta Mandakini Ayyalasomayajula c11ce016fa added the method to retrieve the processInstanceId based on the process instance name. (#5238) 2019-11-12 20:20:49 +01:00
Martin Muller 0e2504a53f Allow proper focus of last element after closing the dialog (#5234) 2019-11-12 20:18:42 +01:00
arditdomi 878b49fea1 [ADF-4979] TaskHeaderCloudComponent Add error emit when appName or taskId is not provided (#5236)
* [ADF-4979] Add error emit when appName or taskId are not provided in TaskHeaderCloudComponent

* [ADF-4979] Modify @Output description

* [ADF-4979] Remove unused onObservable complete code
2019-11-12 15:04:01 +00:00
Geeta Mandakini Ayyalasomayajula 63d640425e updated the simpleapp with fix for Processwithvariables and messageevents tests (#5239) 2019-11-12 10:45:52 +00:00
Geeta Mandakini Ayyalasomayajula f40c8770c5 updated the decision table mappings and form to process variable mappings for new tests written in process-workspace, noe that AAE-702 is resolved. (#5237) 2019-11-11 17:05:28 +00:00
Eugenio Romano 4f0cebe98b refactor cli and add new s3 (#5211) 2019-11-11 15:48:55 +01:00
Eugenio Romano 112e4acca8 fix visibility (#5230) 2019-11-11 15:48:36 +01:00
Denys Vuika 151f89ef22 update mergify config 2019-11-11 10:54:03 +00:00
Eugenio Romano abffab2549 [ImgBot] Optimize images (#1) (#5231)
* [ImgBot] Optimize images (#1)

*Total -- 9,220.45kb -> 7,285.60kb (20.98%)

/docs/docassets/images/adf-toolbar-01.png -- 3.71kb -> 0.80kb (78.4%)
/docs/docassets/images/search-component-simple-template.png -- 3.98kb -> 1.04kb (73.94%)
/docs/release-notes/images/Screen+Shot+2017-07-31+at+16.37.54.png -- 23.07kb -> 7.04kb (69.46%)
/docs/docassets/images/datatable-no-grow-cell.png -- 53.72kb -> 17.20kb (67.99%)
/docs/release-notes/images/Screen+Shot+2018-04-13+at+16.20.45.png -- 59.47kb -> 19.72kb (66.84%)
/docs/docassets/images/datatable.png -- 4.40kb -> 1.48kb (66.39%)
/docs/release-notes/images/form-style-sample.png -- 34.63kb -> 11.94kb (65.52%)
/docs/docassets/images/datatable-wrapped-text.png -- 79.20kb -> 27.35kb (65.47%)
/docs/docassets/images/datatable-expand-5.png -- 100.74kb -> 34.80kb (65.45%)
/docs/docassets/images/datatable-demo.png -- 4.47kb -> 1.55kb (65.28%)
/docs/docassets/images/datatable-truncated-text.png -- 60.89kb -> 21.98kb (63.91%)
/docs/docassets/images/tag2.png -- 4.58kb -> 1.66kb (63.71%)
/docs/docassets/images/search-facet-queries-groups.png -- 47.06kb -> 18.00kb (61.75%)
/docs/docassets/images/datatable-sticky-header.png -- 55.51kb -> 21.77kb (60.79%)
/docs/docassets/images/task-list-cloud-context-menu.png -- 46.63kb -> 18.41kb (60.53%)
/docs/docassets/images/task-list-cloud-action-menu.png -- 45.40kb -> 18.03kb (60.29%)
/docs/docassets/images/adf-cloud-start-task.png -- 10.38kb -> 4.13kb (60.18%)
/docs/release-notes/images/select-apps-dialog.png -- 47.35kb -> 18.97kb (59.92%)
/docs/release-notes/images/Screen+Shot+2017-09-04+at+13.15.18.png -- 36.53kb -> 14.67kb (59.83%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.28.48.png -- 45.60kb -> 18.61kb (59.2%)
/docs/docassets/images/edit-process-filter-cloud.component.png -- 9.08kb -> 3.74kb (58.8%)
/docs/docassets/images/action-menu-on-process-list.png -- 29.93kb -> 12.38kb (58.63%)
/docs/docassets/images/tag3.png -- 4.94kb -> 2.05kb (58.57%)
/docs/docassets/images/search-facet-intervals.png -- 29.05kb -> 12.05kb (58.53%)
/docs/docassets/images/context-menu-on-process-list.png -- 27.14kb -> 11.27kb (58.49%)
/docs/docassets/images/default-no-content-template.png -- 5.25kb -> 2.34kb (55.33%)
/docs/release-notes/images/default-no-content-template.png -- 5.25kb -> 2.34kb (55.33%)
/docs/docassets/images/text-default-widget.png -- 5.31kb -> 2.38kb (55.08%)
/docs/docassets/images/viewer-toolbar-actions.png -- 6.12kb -> 2.76kb (54.92%)
/docs/docassets/images/document-list-special-folder-icon.png -- 40.33kb -> 18.47kb (54.2%)
/docs/release-notes/images/pdf-thumbnails.png -- 139.45kb -> 70.75kb (49.26%)
/docs/docassets/images/adf-toolbar-02.png -- 5.94kb -> 3.06kb (48.47%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+16.21.35.png -- 11.92kb -> 6.26kb (47.47%)
/docs/docassets/images/group-cloud.component-single.png -- 2.05kb -> 1.08kb (47.43%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+01.06.36.png -- 16.11kb -> 8.66kb (46.22%)
/docs/docassets/images/adf-people-list.png -- 6.13kb -> 3.31kb (45.94%)
/docs/release-notes/images/Screen+Shot+2018-08-12+at+15.51.18.png -- 35.27kb -> 19.46kb (44.83%)
/docs/docassets/images/default-loading.png -- 6.60kb -> 3.64kb (44.77%)
/docs/release-notes/images/37604210-5d440be2-2b88-11e8-8119-6b8093dcd516.png -- 207.58kb -> 116.57kb (43.84%)
/docs/docassets/images/ConfirmDialog.png -- 6.78kb -> 3.86kb (43.05%)
/docs/docassets/images/no-permission-custom.png -- 6.74kb -> 3.86kb (42.67%)
/docs/release-notes/images/36539015-476f4972-17cd-11e8-8013-b60afecef49e.png -- 113.76kb -> 65.43kb (42.49%)
/docs/docassets/images/no-permission-default.png -- 6.88kb -> 3.97kb (42.27%)
/docs/docassets/images/group-cloud.component-multiple-mode.png -- 3.94kb -> 2.29kb (41.98%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.39.00.png -- 60.46kb -> 35.39kb (41.47%)
/docs/docassets/images/multi-value.pipe.png -- 10.87kb -> 6.41kb (41.03%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+00.12.55.png -- 49.23kb -> 29.27kb (40.54%)
/docs/release-notes/images/Screen+Shot+2017-07-31+at+20.16.25.png -- 100.62kb -> 60.23kb (40.14%)
/docs/docassets/images/multi-value-default.pipe.png -- 10.14kb -> 6.09kb (39.97%)
/docs/docassets/images/ContentMetadata.png -- 7.58kb -> 4.65kb (38.71%)
/docs/release-notes/images/Screen+Shot+2018-02-27+at+14.52.29.png -- 43.75kb -> 27.02kb (38.25%)
/docs/release-notes/images/pastedImage_2.png -- 44.39kb -> 27.49kb (38.08%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.16.12.png -- 52.41kb -> 32.58kb (37.83%)
/docs/release-notes/images/Screen+Shot+2017-10-09+at+16.01.46.png -- 138.90kb -> 88.16kb (36.53%)
/docs/docassets/images/adf-buttons-menu-desktop.png -- 9.14kb -> 5.83kb (36.25%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+01.13.54.png -- 5.29kb -> 3.43kb (35.16%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.54.59.png -- 42.49kb -> 27.73kb (34.72%)
/docs/docassets/images/social3.png -- 8.32kb -> 5.49kb (34.04%)
/lib/core/assets/images/ft_ic_folder_rule.svg -- 1.24kb -> 0.84kb (31.94%)
/docs/docassets/images/custom-loading.png -- 3.40kb -> 2.32kb (31.65%)
/docs/docassets/images/adf-toolbar-04.png -- 9.42kb -> 6.50kb (30.97%)
/docs/release-notes/images/security+check.png -- 10.11kb -> 7.04kb (30.41%)
/docs/docassets/images/select-apps-dialog.png -- 9.95kb -> 7.02kb (29.51%)
/docs/release-notes/images/Screenshot+2017-09-05+14.00.57.png -- 655.38kb -> 467.41kb (28.68%)
/docs/release-notes/images/bundle+size+check.png -- 7.52kb -> 5.38kb (28.44%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.14.34.png -- 150.25kb -> 107.94kb (28.16%)
/docs/docassets/images/notification-history-component.png -- 37.02kb -> 26.77kb (27.69%)
/docs/release-notes/images/Screen+Shot+2018-01-26+at+10.59.39.png -- 27.65kb -> 20.40kb (26.21%)
/docs/docassets/images/adf-cloud-process-header.png -- 14.43kb -> 10.69kb (25.97%)
/demo-shell/src/assets/images/adf-move-file-24px.svg -- 0.78kb -> 0.57kb (25.94%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.56.30.png -- 33.79kb -> 25.17kb (25.52%)
/assets/alfresco.png -- 8.01kb -> 5.97kb (25.45%)
/docs/docassets/images/search-facet-queries.png -- 37.79kb -> 28.40kb (24.83%)
/docs/docassets/images/adf-buttons-menu-mobile.png -- 11.60kb -> 8.76kb (24.52%)
/docs/docassets/images/login-customized-step-1.jpg -- 68.17kb -> 51.47kb (24.5%)
/docs/docassets/images/login-customized.jpg -- 69.84kb -> 52.92kb (24.23%)
/docs/docassets/images/document-action-download.png -- 12.13kb -> 9.20kb (24.11%)
/docs/docassets/images/search-facet-fields.png -- 38.10kb -> 29.25kb (23.22%)
/docs/release-notes/images/adf-process-instance-header-attachment.png -- 13.86kb -> 10.65kb (23.17%)
/docs/docassets/images/edit-task-filter-cloud.component.png -- 7.27kb -> 5.59kb (23.05%)
/docs/docassets/images/login.jpg -- 72.47kb -> 55.80kb (23%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+11.31.50.png -- 66.69kb -> 52.67kb (21.01%)
/lib/process-services/src/lib/process-list/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/lib/process-services/src/lib/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/lib/content-services/src/lib/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/lib/core/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/docs/docassets/images/custom-data-table-resolver.png -- 12.16kb -> 9.66kb (20.56%)
/docs/docassets/images/form-cloud-custom-outcomes.component.png -- 16.54kb -> 13.31kb (19.52%)
/lib/core/assets/images/background.svg -- 1.07kb -> 0.86kb (19.47%)
/e2e/resources/adf/share_profile_pic.png -- 105.25kb -> 84.98kb (19.26%)
/e2e/resources/adf/folderOne/share_profile_pic.png -- 105.25kb -> 84.98kb (19.26%)
/docs/docassets/images/infodrawerlayout.png -- 14.78kb -> 11.98kb (18.95%)
/docs/release-notes/images/customNavLogoImage-1533634269706-logo-icon.png -- 6.77kb -> 5.63kb (16.82%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+16.31.30.png -- 54.40kb -> 45.44kb (16.47%)
/lib/core/assets/images/ft_ic_folder_shortcut_link.svg -- 1.97kb -> 1.65kb (16.37%)
/lib/core/assets/images/ft_ic_folder.svg -- 6.45kb -> 5.40kb (16.22%)
/lib/core/assets/images/ft_ic_miscellaneous.svg -- 6.45kb -> 5.41kb (16.21%)
/lib/core/assets/images/ft_ic_folder_empty.svg -- 6.47kb -> 5.42kb (16.2%)
/lib/core/assets/images/ft_ic_ebook.svg -- 6.47kb -> 5.43kb (16.19%)
/lib/core/assets/images/ft_ic_database.svg -- 6.46kb -> 5.41kb (16.18%)
/lib/core/assets/images/ft_ic_website.svg -- 6.46kb -> 5.42kb (16.17%)
/lib/core/assets/images/ft_ic_raster_image.svg -- 6.49kb -> 5.44kb (16.16%)
/lib/core/assets/images/ft_ic_presentation.svg -- 6.48kb -> 5.43kb (16.13%)
/lib/core/assets/images/ft_ic_audio.svg -- 6.51kb -> 5.46kb (16.09%)
/lib/core/assets/images/ft_ic_document.svg -- 6.53kb -> 5.48kb (16.05%)
/lib/core/assets/images/ft_ic_video.svg -- 6.57kb -> 5.51kb (16.02%)
/lib/core/assets/images/ft_ic_form.svg -- 6.57kb -> 5.52kb (15.97%)
/lib/core/assets/images/ft_ic_vector_image.svg -- 6.60kb -> 5.55kb (15.92%)
/lib/core/assets/images/ft_ic_archive.svg -- 6.63kb -> 5.58kb (15.85%)
/lib/core/assets/images/ft_ic_spreadsheet.svg -- 6.84kb -> 5.76kb (15.8%)
/docs/docassets/images/document-actions.png -- 18.60kb -> 15.68kb (15.72%)
/lib/core/assets/images/ft_ic_link_folder.svg -- 2.23kb -> 1.88kb (15.56%)
/lib/core/assets/images/ft_ic_google_slides.svg -- 6.57kb -> 5.55kb (15.48%)
/lib/core/assets/images/ft_ic_google_docs.svg -- 6.63kb -> 5.61kb (15.4%)
/lib/core/assets/images/ft_ic_google_forms.svg -- 6.66kb -> 5.64kb (15.32%)
/lib/core/assets/images/ft_ic_google_drawings.svg -- 6.69kb -> 5.67kb (15.26%)
/lib/core/assets/images/ft_ic_google_sheets.svg -- 6.71kb -> 5.70kb (15.05%)
/lib/core/assets/images/ft_ic_ms_powerpoint.svg -- 7.34kb -> 6.25kb (14.76%)
/lib/core/assets/images/ft_ic_pdf.svg -- 6.86kb -> 5.85kb (14.75%)
/lib/core/assets/images/ft_ic_ms_word.svg -- 7.43kb -> 6.36kb (14.41%)
/lib/core/assets/images/ft_ic_ms_excel.svg -- 8.00kb -> 6.90kb (13.79%)
/demo-shell/src/favicon-96x96.png -- 9.60kb -> 8.39kb (12.54%)
/demo-shell/src/assets/logo.png -- 9.60kb -> 8.39kb (12.54%)
/lib/core/assets/images/logo.png -- 9.60kb -> 8.39kb (12.54%)
/docs/release-notes/images/pastedImage_1.png -- 182.63kb -> 163.10kb (10.69%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.15.41.png -- 68.65kb -> 62.05kb (9.61%)
/docs/release-notes/images/Screen+Shot+2018-03-05+at+15.13.43.png -- 190.55kb -> 172.39kb (9.53%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+10.58.23.png -- 5.87kb -> 5.33kb (9.17%)
/lib/core/assets/images/ft_ic_smart_folder.svg -- 3.04kb -> 2.77kb (8.87%)
/docs/release-notes/images/Screen+Shot+2017-08-01+at+16.49.37.png -- 53.64kb -> 49.00kb (8.65%)
/docs/release-notes/images/Screen+Shot+2017-10-09+at+15.51.31.png -- 137.13kb -> 125.59kb (8.42%)
/e2e/resources/adf/allFileTypes/c_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/e_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/a_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/b_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/d_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/lib/process-services/src/lib/assets/images/alfresco-flower.svg -- 4.33kb -> 4.02kb (7.19%)
/lib/core/assets/images/ft_ic_folder_disable.svg -- 0.61kb -> 0.57kb (6.76%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.16.45.png -- 65.54kb -> 61.11kb (6.76%)
/lib/core/assets/images/alfresco-logo.svg -- 14.65kb -> 13.68kb (6.62%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.16.57.png -- 67.59kb -> 63.27kb (6.39%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+09.42.03.png -- 34.85kb -> 32.89kb (5.62%)
/docs/docassets/images/CreateLibraryDialog.png -- 11.30kb -> 10.67kb (5.59%)
/e2e/resources/adf/share_profile_pic.jpg -- 227.82kb -> 215.85kb (5.25%)
/lib/core/assets/images/ft_ic_selected.svg -- 0.27kb -> 0.26kb (4.98%)
/docs/release-notes/images/Screen+Shot+2017-09-04+at+12.10.25.png -- 98.08kb -> 93.22kb (4.95%)
/docs/docassets/images/ConfirmDialogYesAll.png -- 8.41kb -> 8.12kb (3.45%)
/docs/release-notes/images/Screen+Shot+2018-06-24+at+18.40.41.png -- 65.92kb -> 63.87kb (3.12%)
/docs/release-notes/images/Angular-6.jpg -- 21.79kb -> 21.17kb (2.82%)
/e2e/resources/adf/activiti_profile_pic.png -- 5.36kb -> 5.22kb (2.66%)
/demo-shell/src/assets/fonts/material-icons/MaterialIcons-Regular.svg -- 275.06kb -> 267.87kb (2.61%)
/docs/docassets/images/social2.png -- 9.87kb -> 9.69kb (1.78%)
/docs/docassets/images/yeoman-alfresco-adf-app.jpg -- 7.01kb -> 6.89kb (1.66%)
/docs/docassets/images/group-cloud.component.png -- 15.48kb -> 15.24kb (1.58%)
/docs/docassets/images/app-started.jpg -- 13.01kb -> 13.01kb (0.03%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

* [ImgBot] Optimize images (#2)

*Total -- 9,220.45kb -> 7,285.60kb (20.98%)

/docs/docassets/images/adf-toolbar-01.png -- 3.71kb -> 0.80kb (78.4%)
/docs/docassets/images/search-component-simple-template.png -- 3.98kb -> 1.04kb (73.94%)
/docs/release-notes/images/Screen+Shot+2017-07-31+at+16.37.54.png -- 23.07kb -> 7.04kb (69.46%)
/docs/docassets/images/datatable-no-grow-cell.png -- 53.72kb -> 17.20kb (67.99%)
/docs/release-notes/images/Screen+Shot+2018-04-13+at+16.20.45.png -- 59.47kb -> 19.72kb (66.84%)
/docs/docassets/images/datatable.png -- 4.40kb -> 1.48kb (66.39%)
/docs/release-notes/images/form-style-sample.png -- 34.63kb -> 11.94kb (65.52%)
/docs/docassets/images/datatable-wrapped-text.png -- 79.20kb -> 27.35kb (65.47%)
/docs/docassets/images/datatable-expand-5.png -- 100.74kb -> 34.80kb (65.45%)
/docs/docassets/images/datatable-demo.png -- 4.47kb -> 1.55kb (65.28%)
/docs/docassets/images/datatable-truncated-text.png -- 60.89kb -> 21.98kb (63.91%)
/docs/docassets/images/tag2.png -- 4.58kb -> 1.66kb (63.71%)
/docs/docassets/images/search-facet-queries-groups.png -- 47.06kb -> 18.00kb (61.75%)
/docs/docassets/images/datatable-sticky-header.png -- 55.51kb -> 21.77kb (60.79%)
/docs/docassets/images/task-list-cloud-context-menu.png -- 46.63kb -> 18.41kb (60.53%)
/docs/docassets/images/task-list-cloud-action-menu.png -- 45.40kb -> 18.03kb (60.29%)
/docs/docassets/images/adf-cloud-start-task.png -- 10.38kb -> 4.13kb (60.18%)
/docs/release-notes/images/select-apps-dialog.png -- 47.35kb -> 18.97kb (59.92%)
/docs/release-notes/images/Screen+Shot+2017-09-04+at+13.15.18.png -- 36.53kb -> 14.67kb (59.83%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.28.48.png -- 45.60kb -> 18.61kb (59.2%)
/docs/docassets/images/edit-process-filter-cloud.component.png -- 9.08kb -> 3.74kb (58.8%)
/docs/docassets/images/action-menu-on-process-list.png -- 29.93kb -> 12.38kb (58.63%)
/docs/docassets/images/tag3.png -- 4.94kb -> 2.05kb (58.57%)
/docs/docassets/images/search-facet-intervals.png -- 29.05kb -> 12.05kb (58.53%)
/docs/docassets/images/context-menu-on-process-list.png -- 27.14kb -> 11.27kb (58.49%)
/docs/docassets/images/default-no-content-template.png -- 5.25kb -> 2.34kb (55.33%)
/docs/release-notes/images/default-no-content-template.png -- 5.25kb -> 2.34kb (55.33%)
/docs/docassets/images/text-default-widget.png -- 5.31kb -> 2.38kb (55.08%)
/docs/docassets/images/viewer-toolbar-actions.png -- 6.12kb -> 2.76kb (54.92%)
/docs/docassets/images/document-list-special-folder-icon.png -- 40.33kb -> 18.47kb (54.2%)
/docs/release-notes/images/pdf-thumbnails.png -- 139.45kb -> 70.75kb (49.26%)
/docs/docassets/images/adf-toolbar-02.png -- 5.94kb -> 3.06kb (48.47%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+16.21.35.png -- 11.92kb -> 6.26kb (47.47%)
/docs/docassets/images/group-cloud.component-single.png -- 2.05kb -> 1.08kb (47.43%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+01.06.36.png -- 16.11kb -> 8.66kb (46.22%)
/docs/docassets/images/adf-people-list.png -- 6.13kb -> 3.31kb (45.94%)
/docs/release-notes/images/Screen+Shot+2018-08-12+at+15.51.18.png -- 35.27kb -> 19.46kb (44.83%)
/docs/docassets/images/default-loading.png -- 6.60kb -> 3.64kb (44.77%)
/docs/release-notes/images/37604210-5d440be2-2b88-11e8-8119-6b8093dcd516.png -- 207.58kb -> 116.57kb (43.84%)
/docs/docassets/images/ConfirmDialog.png -- 6.78kb -> 3.86kb (43.05%)
/docs/docassets/images/no-permission-custom.png -- 6.74kb -> 3.86kb (42.67%)
/docs/release-notes/images/36539015-476f4972-17cd-11e8-8013-b60afecef49e.png -- 113.76kb -> 65.43kb (42.49%)
/docs/docassets/images/no-permission-default.png -- 6.88kb -> 3.97kb (42.27%)
/docs/docassets/images/group-cloud.component-multiple-mode.png -- 3.94kb -> 2.29kb (41.98%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.39.00.png -- 60.46kb -> 35.39kb (41.47%)
/docs/docassets/images/multi-value.pipe.png -- 10.87kb -> 6.41kb (41.03%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+00.12.55.png -- 49.23kb -> 29.27kb (40.54%)
/docs/release-notes/images/Screen+Shot+2017-07-31+at+20.16.25.png -- 100.62kb -> 60.23kb (40.14%)
/docs/docassets/images/multi-value-default.pipe.png -- 10.14kb -> 6.09kb (39.97%)
/docs/docassets/images/ContentMetadata.png -- 7.58kb -> 4.65kb (38.71%)
/docs/release-notes/images/Screen+Shot+2018-02-27+at+14.52.29.png -- 43.75kb -> 27.02kb (38.25%)
/docs/release-notes/images/pastedImage_2.png -- 44.39kb -> 27.49kb (38.08%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.16.12.png -- 52.41kb -> 32.58kb (37.83%)
/docs/release-notes/images/Screen+Shot+2017-10-09+at+16.01.46.png -- 138.90kb -> 88.16kb (36.53%)
/docs/docassets/images/adf-buttons-menu-desktop.png -- 9.14kb -> 5.83kb (36.25%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+01.13.54.png -- 5.29kb -> 3.43kb (35.16%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.54.59.png -- 42.49kb -> 27.73kb (34.72%)
/docs/docassets/images/social3.png -- 8.32kb -> 5.49kb (34.04%)
/lib/core/assets/images/ft_ic_folder_rule.svg -- 1.24kb -> 0.84kb (31.94%)
/docs/docassets/images/custom-loading.png -- 3.40kb -> 2.32kb (31.65%)
/docs/docassets/images/adf-toolbar-04.png -- 9.42kb -> 6.50kb (30.97%)
/docs/release-notes/images/security+check.png -- 10.11kb -> 7.04kb (30.41%)
/docs/docassets/images/select-apps-dialog.png -- 9.95kb -> 7.02kb (29.51%)
/docs/release-notes/images/Screenshot+2017-09-05+14.00.57.png -- 655.38kb -> 467.41kb (28.68%)
/docs/release-notes/images/bundle+size+check.png -- 7.52kb -> 5.38kb (28.44%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.14.34.png -- 150.25kb -> 107.94kb (28.16%)
/docs/docassets/images/notification-history-component.png -- 37.02kb -> 26.77kb (27.69%)
/docs/release-notes/images/Screen+Shot+2018-01-26+at+10.59.39.png -- 27.65kb -> 20.40kb (26.21%)
/docs/docassets/images/adf-cloud-process-header.png -- 14.43kb -> 10.69kb (25.97%)
/demo-shell/src/assets/images/adf-move-file-24px.svg -- 0.78kb -> 0.57kb (25.94%)
/docs/release-notes/images/Screen+Shot+2017-06-29+at+11.56.30.png -- 33.79kb -> 25.17kb (25.52%)
/assets/alfresco.png -- 8.01kb -> 5.97kb (25.45%)
/docs/docassets/images/search-facet-queries.png -- 37.79kb -> 28.40kb (24.83%)
/docs/docassets/images/adf-buttons-menu-mobile.png -- 11.60kb -> 8.76kb (24.52%)
/docs/docassets/images/login-customized-step-1.jpg -- 68.17kb -> 51.47kb (24.5%)
/docs/docassets/images/login-customized.jpg -- 69.84kb -> 52.92kb (24.23%)
/docs/docassets/images/document-action-download.png -- 12.13kb -> 9.20kb (24.11%)
/docs/docassets/images/search-facet-fields.png -- 38.10kb -> 29.25kb (23.22%)
/docs/release-notes/images/adf-process-instance-header-attachment.png -- 13.86kb -> 10.65kb (23.17%)
/docs/docassets/images/edit-task-filter-cloud.component.png -- 7.27kb -> 5.59kb (23.05%)
/docs/docassets/images/login.jpg -- 72.47kb -> 55.80kb (23%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+11.31.50.png -- 66.69kb -> 52.67kb (21.01%)
/lib/process-services/src/lib/process-list/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/lib/process-services/src/lib/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/lib/content-services/src/lib/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/lib/core/assets/images/empty_doc_lib.svg -- 25.91kb -> 20.58kb (20.57%)
/docs/docassets/images/custom-data-table-resolver.png -- 12.16kb -> 9.66kb (20.56%)
/docs/docassets/images/form-cloud-custom-outcomes.component.png -- 16.54kb -> 13.31kb (19.52%)
/lib/core/assets/images/background.svg -- 1.07kb -> 0.86kb (19.47%)
/e2e/resources/adf/share_profile_pic.png -- 105.25kb -> 84.98kb (19.26%)
/e2e/resources/adf/folderOne/share_profile_pic.png -- 105.25kb -> 84.98kb (19.26%)
/docs/docassets/images/infodrawerlayout.png -- 14.78kb -> 11.98kb (18.95%)
/docs/release-notes/images/customNavLogoImage-1533634269706-logo-icon.png -- 6.77kb -> 5.63kb (16.82%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+16.31.30.png -- 54.40kb -> 45.44kb (16.47%)
/lib/core/assets/images/ft_ic_folder_shortcut_link.svg -- 1.97kb -> 1.65kb (16.37%)
/lib/core/assets/images/ft_ic_folder.svg -- 6.45kb -> 5.40kb (16.22%)
/lib/core/assets/images/ft_ic_miscellaneous.svg -- 6.45kb -> 5.41kb (16.21%)
/lib/core/assets/images/ft_ic_folder_empty.svg -- 6.47kb -> 5.42kb (16.2%)
/lib/core/assets/images/ft_ic_ebook.svg -- 6.47kb -> 5.43kb (16.19%)
/lib/core/assets/images/ft_ic_database.svg -- 6.46kb -> 5.41kb (16.18%)
/lib/core/assets/images/ft_ic_website.svg -- 6.46kb -> 5.42kb (16.17%)
/lib/core/assets/images/ft_ic_raster_image.svg -- 6.49kb -> 5.44kb (16.16%)
/lib/core/assets/images/ft_ic_presentation.svg -- 6.48kb -> 5.43kb (16.13%)
/lib/core/assets/images/ft_ic_audio.svg -- 6.51kb -> 5.46kb (16.09%)
/lib/core/assets/images/ft_ic_document.svg -- 6.53kb -> 5.48kb (16.05%)
/lib/core/assets/images/ft_ic_video.svg -- 6.57kb -> 5.51kb (16.02%)
/lib/core/assets/images/ft_ic_form.svg -- 6.57kb -> 5.52kb (15.97%)
/lib/core/assets/images/ft_ic_vector_image.svg -- 6.60kb -> 5.55kb (15.92%)
/lib/core/assets/images/ft_ic_archive.svg -- 6.63kb -> 5.58kb (15.85%)
/lib/core/assets/images/ft_ic_spreadsheet.svg -- 6.84kb -> 5.76kb (15.8%)
/docs/docassets/images/document-actions.png -- 18.60kb -> 15.68kb (15.72%)
/lib/core/assets/images/ft_ic_link_folder.svg -- 2.23kb -> 1.88kb (15.56%)
/lib/core/assets/images/ft_ic_google_slides.svg -- 6.57kb -> 5.55kb (15.48%)
/lib/core/assets/images/ft_ic_google_docs.svg -- 6.63kb -> 5.61kb (15.4%)
/lib/core/assets/images/ft_ic_google_forms.svg -- 6.66kb -> 5.64kb (15.32%)
/lib/core/assets/images/ft_ic_google_drawings.svg -- 6.69kb -> 5.67kb (15.26%)
/lib/core/assets/images/ft_ic_google_sheets.svg -- 6.71kb -> 5.70kb (15.05%)
/lib/core/assets/images/ft_ic_ms_powerpoint.svg -- 7.34kb -> 6.25kb (14.76%)
/lib/core/assets/images/ft_ic_pdf.svg -- 6.86kb -> 5.85kb (14.75%)
/lib/core/assets/images/ft_ic_ms_word.svg -- 7.43kb -> 6.36kb (14.41%)
/lib/core/assets/images/ft_ic_ms_excel.svg -- 8.00kb -> 6.90kb (13.79%)
/demo-shell/src/favicon-96x96.png -- 9.60kb -> 8.39kb (12.54%)
/demo-shell/src/assets/logo.png -- 9.60kb -> 8.39kb (12.54%)
/lib/core/assets/images/logo.png -- 9.60kb -> 8.39kb (12.54%)
/docs/release-notes/images/pastedImage_1.png -- 182.63kb -> 163.10kb (10.69%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.15.41.png -- 68.65kb -> 62.05kb (9.61%)
/docs/release-notes/images/Screen+Shot+2018-03-05+at+15.13.43.png -- 190.55kb -> 172.39kb (9.53%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+10.58.23.png -- 5.87kb -> 5.33kb (9.17%)
/lib/core/assets/images/ft_ic_smart_folder.svg -- 3.04kb -> 2.77kb (8.87%)
/docs/release-notes/images/Screen+Shot+2017-08-01+at+16.49.37.png -- 53.64kb -> 49.00kb (8.65%)
/docs/release-notes/images/Screen+Shot+2017-10-09+at+15.51.31.png -- 137.13kb -> 125.59kb (8.42%)
/e2e/resources/adf/allFileTypes/c_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/e_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/a_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/b_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/e2e/resources/adf/allFileTypes/d_jpg_file.jpg -- 710.07kb -> 651.96kb (8.18%)
/lib/process-services/src/lib/assets/images/alfresco-flower.svg -- 4.33kb -> 4.02kb (7.19%)
/lib/core/assets/images/ft_ic_folder_disable.svg -- 0.61kb -> 0.57kb (6.76%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.16.45.png -- 65.54kb -> 61.11kb (6.76%)
/lib/core/assets/images/alfresco-logo.svg -- 14.65kb -> 13.68kb (6.62%)
/docs/release-notes/images/Screen+Shot+2018-06-25+at+11.16.57.png -- 67.59kb -> 63.27kb (6.39%)
/docs/release-notes/images/Screen+Shot+2017-09-05+at+09.42.03.png -- 34.85kb -> 32.89kb (5.62%)
/docs/docassets/images/CreateLibraryDialog.png -- 11.30kb -> 10.67kb (5.59%)
/e2e/resources/adf/share_profile_pic.jpg -- 227.82kb -> 215.85kb (5.25%)
/lib/core/assets/images/ft_ic_selected.svg -- 0.27kb -> 0.26kb (4.98%)
/docs/release-notes/images/Screen+Shot+2017-09-04+at+12.10.25.png -- 98.08kb -> 93.22kb (4.95%)
/docs/docassets/images/ConfirmDialogYesAll.png -- 8.41kb -> 8.12kb (3.45%)
/docs/release-notes/images/Screen+Shot+2018-06-24+at+18.40.41.png -- 65.92kb -> 63.87kb (3.12%)
/docs/release-notes/images/Angular-6.jpg -- 21.79kb -> 21.17kb (2.82%)
/e2e/resources/adf/activiti_profile_pic.png -- 5.36kb -> 5.22kb (2.66%)
/demo-shell/src/assets/fonts/material-icons/MaterialIcons-Regular.svg -- 275.06kb -> 267.87kb (2.61%)
/docs/docassets/images/social2.png -- 9.87kb -> 9.69kb (1.78%)
/docs/docassets/images/yeoman-alfresco-adf-app.jpg -- 7.01kb -> 6.89kb (1.66%)
/docs/docassets/images/group-cloud.component.png -- 15.48kb -> 15.24kb (1.58%)
/docs/docassets/images/app-started.jpg -- 13.01kb -> 13.01kb (0.03%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-11-10 15:45:03 +01:00
Suzana Dirla 192f93fdce [ADF-4984] Focus indicator is not clearly visible- mat-expansion-panel (#5217)
* [ADF-4984] make focused item visible

- the focus-fix will be done to all expansion-panels with upgrade to @angular/material 8.2.3

* [ADF-4984] make focused mat-expansion-panels visible

- get fix from @angular/material 8.2.3

* [ADF-4984] renaming
2019-11-08 18:26:35 +00:00
Denys Vuika 3fa6410e57 allow indexed access for DataRow objects (#5229) 2019-11-08 18:10:33 +00:00
swathikom 9d127a41e5 Update candidatebaseapp (#5228)
* Modified candidateuserprocess to have candidate users and removed admin.adf

* Updated security roles for candidatebaseapp with salesuser for ACTIVITY and APS user
2019-11-08 15:29:47 +00:00
davidcanonieto 2a76b0846d [AAE-485] Fix card view int item validator when value is empty (#5205)
* [AAE-485] Fix card view int item validator when value is empty

* Avoid creating a function every time we validate number

* Add return type to method
2019-11-08 16:06:22 +02:00
Suzana Dirla f0ac4b19ad [ADF-4986] Move or copy - Empty cells should not receive focus (#5226) 2019-11-08 16:02:42 +02:00
Denys Vuika 0c13f3d879 add missing typing information (#5227)
* add missing typing information

* typing fixes

* revert return type

* typing fixes
2019-11-08 16:02:05 +02:00
Eugenio Romano 2138ce600e Refactor e2e PS-CLOUD (#5224)
* refactor cloud test

* fix lint

* fix ecm test

* Update login-sso.page.ts

* fix redirect
2019-11-08 15:57:19 +02:00
Adina Parpalita b704df020d make error message more clear (#5225) 2019-11-08 10:07:02 +00:00
Denys Vuika 58aef5a029 try update the snyk settings 2019-11-07 19:35:10 +00:00
Denys Vuika 4d622dc0af enable mergify (#5221)
* enable mergify

* remove bundlesize check
2019-11-07 16:58:21 +00:00
swathikom 247d02bb76 Modified candidateuserprocess to have candidate users and removed admin.adf (#5220) 2019-11-07 16:08:53 +00:00
Martin Muller 66f088efea [ADF-4973] CLONE - Header - sidenav menu button expanded/collapsed state not exposed via ARIA (#5219)
* Calculating if sidenav is expanded or not

* Calculating if sidenav is expanded or not
2019-11-07 17:40:15 +02:00
Maurizio Vitale e458af0284 Fix the subject bug (#5218) 2019-11-06 20:45:53 +00:00
Eugenio Romano 5578b7b851 Should not redirect if is SilentLogin on (#5216)
* fix redirect

* fix lint

* remove false behaviour alrady tested in the new unit test

* Update auth-guard-base.ts
2019-11-06 11:56:01 +00:00
arditdomi 3c1097fb84 [ADF-4979] Add onChanges detection for Task Header Cloud component (#5208)
* [ADF-4979] Add onChanges detection for Task Header Cloud component

* [ADF-4979] Revert licenses.txt changes

* [ADF-4979] Documentation added for the taskError Event
2019-11-06 11:07:48 +00:00
Eugenio Romano 7d36400dbd Remove discovery (#5212)
* remove discovery

* remoce discovery test

* fix save remote

* use host acs to save screenshot

* fix e2e

* remove invalid test

* fix the package version
2019-11-05 14:15:54 +00:00
Cilibiu Bogdan 040fc52724 [ADF-2990] Datatable - access header row via keyboard (#5206)
* header row as adf-datatable-row

* remove tabindex if header is hidden

* adjust logic if no row data is passed

* skip row focus if disabled

* set active row index on header interaction

* take in account header row

* fix header row and cells focus

* tests

* fix reference

* fix tests
2019-11-04 08:08:15 +00:00
Eugenio Romano 5c4511e42b fix save remote script 2019-11-03 23:18:13 +00:00
Eugenio Romano d659073389 Update README.md 2019-11-02 01:28:00 +00:00
Eugenio Romano e8e483275c update package.json 2019-11-01 20:00:21 +00:00
Eugenio Romano 70fd3a1c60 Don't update rancher after charge js api 2019-11-01 07:51:23 +00:00
Eugenio Romano 5bb9efd2ea Update .travis.yml 2019-10-31 09:38:14 +00:00
Eugenio Romano 2e046945c7 [AAE-726] Add new return await rule (#5203)
* add new return await rule

* update tslint

* add lint exception
2019-10-30 19:29:43 +00:00
Denys Vuika a4730cd9cf [DW-1560] switch to ACTIVITI roles (#5175)
* switch to ACTIVITI roles

* double set of roles

* minor typing fixes

* use different account

* Revert "use different account"

This reverts commit 1f89fb490e8be1614fbdef391ddc8a536ec8de82.

* fix test
2019-10-30 17:28:01 +00:00
Eugenio Romano 65c66528de fix log (#5204) 2019-10-30 16:27:33 +00:00
cristinajandDenys Vuika 98e9e638c1 Add getProcessName (#5202)
* Add getProcessName

* Update lib/testing/src/lib/process-services-cloud/pages/start-process-cloud-component.page.ts

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>
2019-10-30 16:12:54 +00:00
arditdomi d3b9ae87b7 [AAE-641] Hide Release button when the task is assigned to a single user (#5192)
* [AAE-641] Hide Release button when the task is assigned to a single user

* [AAE-641] Fix unit tests

* [AAE-641] Fix unit tests
2019-10-30 15:55:01 +00:00
Silviu Popa d02d79c771 [ADF-4849] [APM-1226] - Automate boolean and number visibility conditions (#5043)
* [ADF-4849] [APM-1226] - Automate boolean and number  visibility conditions

* PR changes

* PR changes

* fix e2e and update simpleapp
2019-10-30 13:15:53 +00:00
Silviu Popa 7698fb8edb [AAE-534] Core - add search cloud component (#5193)
* [AAE-534] - add search cloud component

* change doc file

* more changes on doc file

* remove empty scss file

* add animation and more customizations

* add preselect value property

* fix unit tests
2019-10-30 07:44:37 +00:00
Cilibiu Bogdan af6bd0892c [ADF-2990] Datatable - row navigation (#5198)
* datatable row component

* add to module

* implement datatable row component

* use FocusKeyManager for arrows navigation

* tests

* prevent screen reader to announce undefined value

* prevent from bubbling up

* fix unit test

* fix row locator

* fix locator reference

* fix row reference locators

* fix locator xpath
2019-10-30 07:39:43 +00:00
Suzana Dirla a150e74366 [ADF-4936] Auth guard redirect fix (#5092)
* [ADF-4936] fix for auth guard with silent Login true

* [ADF-4936] check only for isOAuth...

* [ADF-4936] fix all auth guards when silent Login true

* [ADF-4936] unit tests

* [ADF-4936] fix doc info

* [ADF-4936] types and null checks

* [ADF-4936] fallback option in case silentLogin is missing from settings

* [ADF-4936] refactoring

* try to fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)

* Fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)

* [ADF-4936] show the error page when route path is unknown

* [ADF-4936] remove ssoImplicitLogin and do the redirectToUrl instead

-the implicit login concern is already in the JS-API

* [ADF-4936] refactor to simplify code

- the removed 'if' conditions cover all possible 'else' cases

* [ADF-4936] remove unneeded method
2019-10-29 15:16:08 +00:00
siva kumar 9c2bcdee1a [ADF- 4871][TaskHeaderCloudComponent] Add Candidate Users/Groups properties (#5189)
* [ADF-4871] [TaskHeaderCloudComponent] Add Candidate Users/Groups properties

* Added Candidate users/groups properties to the task heade cloud component.

* * Created CardViewArrayItemComponent
* Modified FullName pipe to return username or email incase fullname missing.
* Added candidate Users/Groups properties to the taskcloudheader component.
* Added two service into task-cloudservice
* Updated Demoshell card-view with new widget

* * Fixed failing unit test

* * Fixed comments.

* * Refactored CardViewArrayItem model
* Fixed comments.

* * Changed candidate group icon
2019-10-29 09:26:34 +00:00
siva kumar 1c6eb4d73d [ADF-4968 ] [TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states (#5191)
* [ADF-4968][TaskHeaderCloudComponent] Allow Assignee property to be clickable if the task in CREATED, ASSIGNED, SUSPENDED states

* * Added clickable to the parentName and ParentTask Id.

* * Fixed comments
2019-10-28 20:56:35 +00:00
Geeta Mandakini Ayyalasomayajula 4885e6bcee added methods to view file, assert on File title in the viewer and cl… (#5196)
* added methods to view file, assert on File title in the viewer and close viewer.

* moved the ViewerPage file to ADF testing package

* removed the unnecessary methods as using the methods of the ViewerPage class.
2019-10-28 20:02:47 +00:00
Eugenio Romano 27fa7a4725 [ADF-4957] Use Replace JS instead of sed to run e2e (#5160)
* use replace js

* Update app-config-replace.js

* update replace

* update replace

* fix folder
2019-10-28 16:51:36 +00:00
Eugenio Romano 450b20eca4 [ADF-4976] Fix cloud ps e2e errors (#5195)
* fix cloud ps e2e errors

* fix lint

* fix ps test add 200ms for animation

* Update processListPage.ts
2019-10-28 09:47:30 +00:00
Suzana Dirla 6119ce83de [ADF-4966] Keep table headers - visually hidden when showHeader false (#5170)
* [ADF-4966] Move or copy - Add table headers - visually hidden

- needed by screen readers

* [ADF-4966] use automatic column header translation

* [ADF-4966] move the fix to the datatable component

-improve accessibility - keep table headers-but visually hidden for showHeader false

* [ADF-4966] code review change

* [ADF-4966] fix array shallow copy on failing e2e-test

* [ADF-4966] improve accessibility only for list display

- fixes failing test
2019-10-25 15:46:45 +01:00
Suzana Dirla d35e8d8523 [ADF-4970] Improve breadcrumb accessibility (#5187)
* [ADF-4970] improve accessibility for dropdown-breadcrumb

- allow keyboard only control

* [ADF-4970] add accessibility improvements to breadcrumb.component

* [ADF-4970] more fixes & preventDefault for click event

* [ADF-4970] better keyboard-only experience when selecting a breadcrumb option

* [ADF-4970] set focus color on content-node-selector breadcrumb

* [ADF-4970] set aria-current to location

* [ADF-4970] extra check - fix unit test
2019-10-25 10:20:22 +01:00
Eugenio Romano 0aed1845a0 [AAE-520] order apps by name when retrieve from the server (#5184)
* order apps bby name when retrieve from the server

* fix order e2e
2019-10-25 02:28:26 +01:00
Geeta Mandakini Ayyalasomayajula 2e03dfa908 Added the process and form required to test terminate end event (#5188)
* added the process and form required to test terminate end event

* also added a form to test the upload local file for a standalone task.
2019-10-25 02:27:35 +01:00
Geeta Mandakini Ayyalasomayajula eefc201332 added test for the visible flag both for process list and task list action menu and context menu (#5190) 2019-10-25 01:07:18 +01:00
Martin MullerandDenys Vuika ef229dd300 [ADF-4973] CLONE - Header - sidenav menu button expanded/collapsed state not exposed via ARIA (#5179)
* Set aria expanded for the sidenav toggle bar

* Define initialSidenavExpanded which can be set in the demo shell than as taken the same true or false value as the sideNav.expandedSidenav value.

* Added some unit tests for the sidenav toggle aria-expanded behaviour

* Update lib/core/layout/components/header/header.component.ts

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* Update lib/core/layout/components/header/header.component.html

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* Update demo-shell/src/app/components/app-layout/app-layout.component.html

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* Update lib/core/layout/components/header/header.component.html

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* As suggested from Denys remove initialSidnavExpanded property as we already have expandedSidenav

* As suggested from Denys remove initialSidnavExpanded property as we already have expandedSidenav

* As suggested from Denys remove initialSidnavExpanded property as we already have expandedSidenav
2019-10-24 22:54:32 +01:00
Maurizio Vitale 6331979baa [ADF-4857] Be able to run ng build content-service (#5183)
* Be able to build conten with ng build content-service

* fix tslint

* The translate module is necessary

* Rollback the build commands

* Rollback

* Remove wrong imports

* Trigger the build
2019-10-24 19:23:30 +01:00
Denys Vuika 9fa1db063a fix types 2019-10-24 17:00:39 +01:00
Denys Vuika 7d12557a08 fix types 2019-10-24 15:08:11 +01:00
Eugenio Romano c8931f7b58 fix build process when JS-API trigger the build 2019-10-24 14:22:56 +01:00
Martin Muller da154bb58f [ADF-4972] CLONE - Header - sidenav menu button aria-label not translatable (#5178)
* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable

* Make aria label fron header sidenav toggle button translateable
2019-10-24 12:58:03 +01:00
Cilibiu Bogdan 7b52a31001 add aria label (#5186) 2019-10-24 10:29:46 +01:00
Eugenio Romano e667ec4f2f [AAE-174] Show radio box in text box when read only (#5182)
* show radio box in text box when read only

* show radio box in text box when read only
2019-10-23 12:23:11 +01:00
Geeta Mandakini Ayyalasomayajula 200e652f0d Adding new process, forms and decision tables for e2e tests on decisiontable mappings (#5177)
* adding new process, forms and decision tables for e2e tests on decision table mappings.

* added the process and form required to test terminate end event
2019-10-22 17:25:51 +01:00
Geeta Mandakini Ayyalasomayajula b7ec525b62 Added isChecked method to verify the status of checkbox widget (#5173)
* added method to assert on checkbox widget, isChecked

* removed unnecessary method

* added method in checkboxWidget

* moved the method to checkbox widget
2019-10-22 15:38:55 +01:00
Eugenio Romano 9f69a7d4ee add types and fix date probblem in process list (#5176) 2019-10-21 16:10:19 +01:00
arditdomi 1970b1da82 [ADF-4964] Add enter and escape events for updating card view properties (#5167)
* [ADF-4964] Add enter and escape events for updating card view properties

* [ADF-4964] Add unit tests
2019-10-21 14:22:16 +01:00
davidcanonieto 2a033507b3 [AAE-485] Fix card view int item validator (#5135)
* [AAE-485] Fix card view int item validator

* Improve code

* Fix unit tests

* Remove outdated test

* Fix login of int validator

* Fix e2e test

* fix linting
2019-10-21 11:18:55 +01:00
davidcanonieto f2c1778eda [ADF-4595] Change demo-shell style classes prefix (#5132)
* [ADF-4595] Change demo-shell style classes prefix

* Change more files

* Trigger e2e tests

* Fix e2e selectors

* Fix e2e tests

* Fix e2e tests
2019-10-18 17:35:01 +01:00
Maurizio Vitale 83094b43ff [DW-1320] Add visibility process def to simple app (#5169)
* Add visibility stuff

* Fix development
2019-10-18 15:04:50 +01:00
maurizio vitale 76df885932 Fix adf-cli 2019-10-18 12:55:19 +01:00
maurizio vitale 9cfa882bd9 bump bundlesize 2019-10-18 11:41:07 +01:00
Eugenio Romano 2e90fbd62a fix cli 2019-10-18 02:26:45 +01:00
dhrn baa0d6da30 [ADF-4947] Array type supported in data table columns (#5165)
* [WIP] [ADF-4947] Array type supported in data table columns

* * removed resolver for aria label

* * process services feature added

* * fixed docs
2019-10-18 00:01:52 +01:00
Martin Muller 12bbb993bd Show border when focus as wished in ACA-2504 (#5158) 2019-10-17 23:05:53 +01:00
arditdomi a0858e3c86 [ADF-4949] Add SUSPENDED state to the edit task filter (#5150)
* [ADF-4949] Add SUSPENDED state to the edit task filter

* [ADF-4949] Add unit test

* [ADF-4949] change order of status filters

* [ADF-4949] Change order of status filters

* [ADF-4949] Remove unnecessary unit test

* [ADF-4949] Add e2e for SUSPENDED filter

* [ADF-4949] fix lint errors
2019-10-17 23:05:28 +01:00
Eugenio Romano 2ef6dc46e0 [ADF-4954] Notification history persist (#5154)
* persist notification in storage

* add max stack check

* add max stack check

* fix folder
2019-10-17 22:54:50 +01:00
Cilibiu Bogdan a60fb744c4 [ADF-4965] Viewer - pass navigate before and next event (#5166)
* pass event

* update docs
2019-10-17 19:25:54 +01:00
Martin Muller 85cd6d9506 Add aria label and role LINK to app title (#5168) 2019-10-17 19:15:45 +01:00
maurizio vitale 3457294508 Increase the max bundle core to 130Kb 2019-10-17 17:08:57 +01:00
Maurizio Vitale 941df740d5 [ADF-4948] Move the resources config in the process cloud lib - Part 2 (#5143)
* Move the resources in the cloud lib

* Use adf cli

* Add missing process definitions

* Add debug points

* Print new class

* Use the resources under the adf-testing

* Use the resources from testing package

* Fix adf-testing bugs

* remove empty row

* Remove the npm install

* Remove log stuff

* Remove the console log

* Fix typo on process def names
Improve the debug e2e command

* Fix lowercase name

* Check the process cloud env and content env

* Add the new process definitions

* Add missing process definitions

* Use the latest simpleapp

* Rollback the bigFile

* Use relative link

* Trasnpile the adf-testing before using it
2019-10-17 14:31:58 +01:00
Cilibiu Bogdan ee5c90871a [ADF-4958] [ADF-4959] Info Drawer - Buttons don't have role and accessible by keyboard alone (#5161)
* actions accessibility

* lint

* access setEditMode by keyboard

* fix test

* update action automation id reference

* update element finder reference

* update automation id reference
2019-10-17 11:18:15 +01:00
Denys Vuika d7ab0417b8 [AAE-622] No implicit returns (#5157)
* enable noImplicitReturns rule

* type fixes

* fix return types

* fix return value

* fix tests

* fix visibility service

* update tests

* add missing types

* fix test
2019-10-17 09:35:39 +01:00
Eugenio Romano 48aca2d30f [ADF-4897] delete test-cookie after check (#5164)
* remove cookie test after check

* remove cookie test after check

* remove cookie test after check

* remove cookie test after check

* make nullable variable optional in cookie

* make nullable variable optional in cookie
2019-10-17 00:16:11 +01:00
Geeta Mandakini Ayyalasomayajula 313e535b8d [DW-1521] added message-events api methods (#5146)
* added message events api

* added export

* added the getProcessInstance method in the queryservice

* added form-cloud.service with method to submit the form.

* added form-cloud.service with method to submit the form.

* returning the error instead of throwing, which can be used in expected negative api assertions in the test.

* added getTaskByNAme method to filter a task by unique task-name within a process-instance

* linting fix

* made correlation key as optional parameter

* removed the unnecessary tslint disable statements

* removed the unnecessary tslint disable statements and reverted the throw error statement

* logging response is not needed

* added return type

* added return type
2019-10-16 21:18:07 +01:00
Roxana Diacenco 6389019561 [ADF-4960] Update clickCheckbox() method in Datatable component (#5159)
* Checked element is the input of type="checkbox"
2019-10-16 16:19:17 +01:00
Suzana Dirla e229ae820f [ADF-4962] Move or copy - Visual heading text - mark as a heading (#5163) 2019-10-16 15:28:46 +01:00
Cilibiu Bogdan 2f1a5943b6 panels header visual accessibility (#5162) 2019-10-16 12:52:06 +01:00
Cilibiu Bogdan 8bb8231a83 mark aria headings (#5155) 2019-10-15 15:23:55 +01:00
Eugenio Romano 210f1d8f59 [#4961] Angular v9 (ivy) compatibility fixes #5153 (#5156)
* Angular 9 compatibility: add explicit types to prevent automatic deep imports

If you do not provide an explicit return type to a function then TypeScript
will try to guess it and create a dynamic import type for the `.d.ts` files.

Often the imports incorrectly point to a path deep within a package,
rather than accessing the type via the correct public facing import.

From Angular v9, using ivy, such deep imports cause compilation
errors and will prevent this library from being used for ivy enabled
applications.

This commit fixes this problem for a component and a service that
the adf-core library exports.

* Angular 9 compatibility: import DOCUMENT from `@angular/common`

In Angular 7 importing `DOCUMENT` from `platform-browser` was
deprecated, and it was removed completely in Angular 8.

* fix type afterlast alpha

* fix type after last alpha

* fix types demo shell
2019-10-15 15:22:42 +01:00
Eugenio Romano a4424d17fc fix other insights paths 2019-10-14 18:42:36 +01:00
Eugenio Romano 0736a29d5c fix style issues (#5151) 2019-10-14 18:32:35 +01:00
Denys Vuika b3ca2166f0 upgrade js api (#5152)
* upgrade to latest js api

* add missing types

* remove useless function

* fix types

* enable strict mode

* Revert "enable strict mode"

This reverts commit 8e3f9c4563.
2019-10-14 18:28:01 +01:00
davidcanonieto 47ec01555a [ADF-4893] Fix visibility condition in datatable action menu (#5088)
* [ADF-4893] Fix visibility condition in datatable action menu

* Add filtering for when menu cache is disabled

* Fix unit test and improve code

* Fix linting

* Fix linting

* Add missing return type
2019-10-14 15:28:24 +01:00
Cilibiu Bogdan 1d7ef62095 [ADF-4953] Uploader - confirmation dialog actions should return focus to the upload dialog (#5148)
* trap confirmation dialog

* focus dialog when not in confirmation state

* test
2019-10-14 11:18:17 +01:00
Cilibiu Bogdan b1bccdb0e3 fix focus issues (#5147) 2019-10-14 11:00:01 +01:00
Maurizio Vitale 450e9dce89 Add the resources as part of testing (#5145) 2019-10-14 10:39:06 +01:00
Eugenio Romano 32561459c9 Fix style insights dev 2019-10-11 20:06:24 +01:00
maurizio vitale 82ae1e00d6 Fix the insight style path 2019-10-10 12:32:50 +01:00
Denys Vuika b1d0c50e88 [ADF-4926] fix attachments downloading (#5134)
* fix attachments downloading

* update code and tests
2019-10-10 12:06:36 +01:00
davidcanonieto 2def8d0557 [ADF-4861] Fix memory leak in Date widgets and Form Cloud Model (#5041)
* [ADF-4836] Fix memory leak in Date widgets and Form Cloud Model

* Remove unit tests based on old logic
2019-10-10 11:01:06 +01:00
Denys Vuika f731988ca6 [ADF-4911] migrate identity role service (#5096)
* migrate IdentityRoleService implementation

* update unit tests

* move interfaces to the origin

* move models to proper places

* migrate model to interface

* fix test

* update docs
2019-10-10 10:25:57 +01:00
Maurizio Vitale 3fc9390666 [ADF-4909] e2e - Move the resources as part of protractor params (#5086)
* Move the resources as part of protractor params

* Revert replace mistakes

* Remove the resources imports

* fix resources import
2019-10-10 10:22:11 +01:00
Maurizio Vitale 6860ab73ab [ADF-4859] Make sure the ng build insight works (#5141)
* Make sure the ng build insight works

* Fix styles
2019-10-10 09:57:20 +01:00
Maurizio Vitale 93419ffa7b [ADF-4916] Create the adf-cli init-aae-env command (#5099)
* Create the adf-cli command init-aae-env

* Remove the test app

* Add basic doc for the init-aae-env command
2019-10-09 21:27:03 +01:00
Cilibiu Bogdan 8da16ea1a7 [ADF-4937] Viewer - Drag and Drop is not operable with keyboard alone (#5126)
* add keyboard event logic

* tests

* fix outline visibility
2019-10-09 17:52:26 +01:00
Silviu Popa e0b1a3fe03 fix task header priority unit test (#5131) 2019-10-09 17:10:03 +01:00
Eugenio Romano 05ce529704 [AAE-550] Fix PS cloud test (#5139)
* fix PS cloud test

* fix spell

* separate e2e ps form ps-cloud
2019-10-09 13:57:03 +01:00
Eugenio Romano 798768a954 fix e2e apps names 2019-10-08 13:01:56 +01:00
Eugenio Romano a15b7e3db1 Update README.md 2019-10-08 10:36:06 +01:00
Cilibiu Bogdan 922e6ae3ab add aria-label attribute (#5138) 2019-10-08 10:30:06 +01:00
Nicolas Barithel e7bf3b5d56 fix travis url (#5136) 2019-10-08 10:28:29 +01:00
Eugenio Romano e5466f032a [ADF-4896] Merging AMA and ADF notifications for a better world (#5084)
* [ADF-4896] Merging AMA and ADF notifications for a better world

* Second part

* update package-lock
2019-10-07 16:25:01 +01:00
Eugenio Romano 6b57f21067 trigger build from API 2019-10-07 16:23:31 +01:00
Eugenio Romano 06c351cd7b imrove build release readme stauts (#5133) 2019-10-07 15:39:51 +01:00
Denys Vuika 84d939412c update package-lock 2019-10-07 11:06:32 +01:00
Andras Popovics ca79190880 Second part 2019-10-07 10:59:45 +01:00
Andras Popovics 14800ce399 [ADF-4896] Merging AMA and ADF notifications for a better world 2019-10-07 10:57:26 +01:00
Cilibiu Bogdan 922a85935e add sidebar button aria-expanded attribute (#5120) 2019-10-07 10:18:39 +01:00
sirReeall e550be6c25 Documentation - grammar corrections and rewording (#5123)
* Some grammar corrections and rewording

* Reworded tutorial paragraph and fixed typo
2019-10-07 10:09:50 +01:00
Cilibiu Bogdan b637cea059 focus dialog on files added (#5124) 2019-10-06 18:09:51 +01:00
Cilibiu Bogdan 6857213db6 trap focus for overlay viewer (#5127) 2019-10-06 18:08:15 +01:00
Suzana Dirla 9dd78b10f9 e2e fixes (#5129)
* fix e2e test [C260140] Copy - No permission folder

* Fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)
2019-10-06 18:05:52 +01:00
Cilibiu Bogdan 4a531dafcd don't use image path for alt text (#5130) 2019-10-06 18:04:50 +01:00
Suzana Dirla 3d604140d8 generic text (#5105) (#5121) 2019-10-02 18:56:10 +01:00
Eugenio Romano f45f6d0563 fix update children project 2019-09-30 21:41:40 +01:00
Eugenio Romano 2d58d2f458 bump 3.5.0 2019-09-30 17:34:25 +01:00
davidcanonieto 720e2035d8 [ADF-4925] Fix Process Variable mapping in ADF forms (#5116) 2019-09-30 16:08:48 +01:00
Eugenio Romano 20fa331d6f 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
2019-09-30 15:36:27 +01:00
Cilibiu Bogdan 9f22cb5cc7 fix focus outline (#5115) 2019-09-30 14:19:22 +01:00
Eugenio Romano bcacd8b42e [ADF-4810] fix sso settings (#5108)
* fix sso settings

* fix test

* update-js-api

* update-js-api

* invert test order for some reason
2019-09-30 13:32:17 +01:00
Silviu Popa c49e2dca7e [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
2019-09-30 13:31:22 +01:00
Eugenio Romano 4709cda51e localization 3.5.0 (#5112) 2019-09-30 12:00:59 +01:00
Denys Vuika fc325be1e9 Revert "[ADF-4925] Fix process variable mapping in Form Cloud component (#5110)"
This reverts commit 7c692137e3.
2019-09-30 11:44:44 +01:00
Francesco Corti fed2d0fa69 [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
2019-09-30 11:18:26 +01:00
davidcanonieto 7c692137e3 [ADF-4925] Fix process variable mapping in Form Cloud component (#5110) 2019-09-29 13:48:55 +01:00
Denys Vuika 178740bbde [ADF-4921] upload widget fixes (#5109)
* upload widget fixes

* fix mocks
2019-09-29 13:48:01 +01:00
davidcanonieto 7ebd287728 [APM-1412] Fix Json dialog on Form json widget (#5107) 2019-09-27 15:08:48 +01:00
Cilibiu Bogdan 492a8e72f1 generic text (#5105) 2019-09-27 10:55:40 +01:00
Suzana Dirla 46c0a27f51 [ADF-4810][ADF-4824] get the latest @alfresco/js-api with SSO fixes (#5106) 2019-09-27 10:51:14 +01:00
Cilibiu Bogdan 271c5f3d9c update sso docs (#5104) 2019-09-26 16:02:31 +01:00
Cilibiu Bogdan 82b0879b0f [ADF-4810] sso public urls configuration (#5102)
* update OAUTH schema and model

* update demoshell config for public urls
2019-09-26 13:37:48 +01:00
davidcanonieto aabfe19c51 [ADF-4922] Fix update project script for Generator and Modeler (#5103) 2019-09-26 13:36:57 +01:00
Eugenio Romano 3dc92beeb9 Review documentation plus some tools fix (#5100)
* review 3.5.0 doc

* fix documentation

* fix documentation

* fix documentation
2019-09-26 10:27:04 +01:00
Maurizio Vitale bfc7e91eb6 Use the latest candidatebaseapp 2019-09-26 08:52:39 +01:00
davidcanonieto 6ec6be36d5 [ADF-4913] Fix Gallery View in datatable Component (#5101) 2019-09-26 08:41:29 +01:00
davidcanonieto e610ae9766 [ADF-4914] Fix update versions script on Generator and AMA (#5098) 2019-09-24 21:18:59 +01:00
Eugenio Romano 9e27ba5f30 release docs 2019-09-24 17:45:03 +01:00
arditdomi 4b1ed97943 [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
2019-09-24 16:48:09 +01:00
dhrn a9b7c91a00 [ADF-4906] [ADF] Not able upload file from ACS when start process with form (#5094) 2019-09-24 15:19:26 +01:00
Eugenio Romano d00849a015 remove old versions.json (#5089) 2019-09-20 14:25:41 +01:00
Denys Vuika 7a3fdfb490 fix readonly attribute 2019-09-20 13:31:31 +01:00
maurizio vitale 89788afe58 Fix the process-service export 2019-09-20 12:16:53 +01:00
maurizio vitale 6bfe9725af Add the travis TAGS value to docker 2019-09-20 10:26:15 +01:00
Maurizio Vitale cd7e21a23d [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
2019-09-20 09:47:17 +01:00
Denys Vuika 90b2cee70d [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
2019-09-20 07:26:37 +01:00
Geeta Mandakini Ayyalasomayajula c15807a013 added superadminuser as aps_admin user when deploying the apps (#5087) 2019-09-19 15:15:29 +01:00
Geeta Mandakini Ayyalasomayajula 1527397b7b [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
2019-09-19 13:32:45 +01:00
dhrn c2af8a23f0 [ADF-4868] [APS-1] adf-content-node-selector seems broken when we upload from External Alfresco content service (#5078) 2019-09-19 11:48:05 +01:00
Geeta Mandakini Ayyalasomayajula b22a23a338 simpleapp added with process variables (#5085) 2019-09-19 11:28:15 +01:00
Geeta Mandakini Ayyalasomayajula 4606b45d58 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
2019-09-19 10:49:56 +01:00
cristinaj 70d877b0b9 [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
2019-09-18 19:12:17 +01:00
cristinaj 7d0d45cb59 [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 /
2019-09-18 17:25:24 +01:00
Cilibiu Bogdan d5b4caa5ed [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
2019-09-18 15:21:35 +01:00
siva kumar 30089f485f * Fixed failing unit tests on process-services. (#5080) 2019-09-17 12:42:08 +01:00
Maurizio Vitale b2966bc6f5 Add as group suffix the travis build number (#5072) 2019-09-17 12:41:35 +01:00
Marouan Bentaleb 8ee3e25caf [ADF-4807] Automation tests for date min/max validation (#5008)
* Trigger alpha

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

* Removing identityUser changes
2019-09-16 17:07:06 +01:00
siva kumar 53471eae84 [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.
2019-09-16 12:26:27 +01:00
Silviu Popa d89b61cff0 [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
2019-09-16 12:57:46 +03:00
Denys Vuika ae56d61ea3 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
2019-09-13 16:20:19 +01:00
Denys Vuika 77415d08a0 temporary switch off the FormModel json typing 2019-09-13 13:12:24 +01:00
Cilibiu Bogdan 5b11e52903 [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
2019-09-12 15:04:43 +01:00
arditdomi c2c883885e [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
2019-09-12 15:02:28 +01:00
Denys Vuika d90497a3f8 fix FormRepresentationModel interface 2019-09-12 13:40:38 +01:00
Eugenio Romano 04362c60c0 Update package.json 2019-09-11 11:27:06 +01:00
Eugenio Romano c860923691 Use npx instead of absolute adf-cli path (#5053)
(reverted from commit 140f60b8dc)
2019-09-10 16:07:52 +01:00
Eugenio Romano 327bc56c02 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
2019-09-09 17:25:10 +01:00
dhrn f698892973 [ADF-4798] - [adf-content-node-selector] File icons are not showing properly (#5054) 2019-09-09 15:48:12 +01:00
Roxana Diacenco 46247c6351 [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
2019-09-09 15:43:41 +01:00
Maurizio Vitale 140f60b8dc Use npx instead of absolute adf-cli path (#5053) 2019-09-09 15:00:04 +01:00
Cilibiu Bogdan 5b9f37d01f [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
2019-09-09 11:23:07 +01:00
Maurizio Vitale 4de00fd6ca [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
2019-09-07 10:29:19 +01:00
Silviu Popa 4d7c07ef93 [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
2019-09-05 18:47:41 +01:00
dhrn d5e7c0066b [ADF-4794] Not able to attach a second file to a form after one has already been attached (#5058) 2019-09-05 15:54:34 +01:00
mcchrys 0d7795aa6d [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
2019-09-05 14:40:23 +01:00
Cilibiu Bogdan bf6889ee54 [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
2019-09-05 11:50:28 +01:00
Cilibiu Bogdan ef09b077c4 [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
2019-09-05 11:08:46 +01:00
Denys Vuika 2360ccc6d5 [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
2019-09-04 20:14:21 +01:00
Geeta Mandakini Ayyalasomayajula 53dc5f0b91 [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
2019-09-04 18:43:39 +01:00
Marouan Bentaleb 9a5165599d Fixing Process Cloud tests (#5055)
* Trigger alpha

* Fixing people-group-cloud-component.e2e.ts
2019-09-04 17:48:34 +01:00
Geeta Mandakini Ayyalasomayajula 6aa6412be8 [ADF-4828] Should display the custom action menu for Process Cloud List (#5030)
* C315236 automated

* updated the Title

* changed the method name
2019-09-04 14:57:26 +01:00
maurizio vitale 77f159d62f Update the js api with the vjs version 2019-09-04 10:38:03 +01:00
maurizio vitale 8d095974a4 Fix the adf-cli with version option 2019-09-03 15:15:54 +01:00
Mario Romano e4448259f3 [ACTIVITI-3739] make display show json types (#5046) 2019-09-03 15:11:20 +01:00
maurizio vitale 406b9cd92a Use the correct adf-cli 2019-09-03 11:16:52 +01:00
Cilibiu Bogdan df0bb75324 [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
2019-09-03 11:11:47 +01:00
Vito 19a17ca6e6 [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
2019-09-03 11:10:40 +01:00
maurizio vitale c142371222 Use enterprise token and npx to avoid install 2019-09-03 10:33:41 +01:00
maurizio vitale 2b8703a74c Run only the update children in case the tag is beta 2019-09-02 16:27:41 +01:00
maurizio vitale 9cea94a853 Move the tag on the release sh 2019-09-02 14:50:52 +01:00
maurizio vitale dcd86ff3b3 Trigger alpha 2019-09-02 14:21:24 +01:00
Cilibiu Bogdan ddb5fb445c [ADF-4855] Upload dialog - Buttons must have discernible text (#5040)
* aria labels translation keys

* actions aria label

* announce confirmation content
2019-09-02 12:45:08 +01:00
maurizio vitale 27c36ad4a2 Create TAG_NPM based on the branch 2019-09-02 12:41:15 +01:00
maurizio vitale 8766dc18a6 Release the beta in case the cron job runs 2019-09-02 11:55:00 +01:00
Maurizio Vitale a2fedee05f [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
2019-09-02 11:26:55 +01:00
Denys Vuika ce50e9a3d3 [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
2019-09-02 11:20:54 +01:00
Eugenio Romano 42c9a2e833 Update .travis.yml 2019-09-02 10:56:46 +01:00
davidcanonieto 1cb4dfc1b8 [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
2019-08-31 00:30:13 +01:00
Silviu Popa be867b0c0c [ADF-4848] Form - fix tab visibility (#5021)
* [ADF-4848] - fix tab visibility

* add unit test
2019-08-30 19:31:12 +01:00
Denys Vuika 2b1250cae7 repair doc tools and polish the docs code (#5038)
* set private access modifier

* repair doc build tools

* fix lit issues

* re-generate version index
2019-08-30 17:26:10 +01:00
Marouan Bentaleb 3bebc7a18c [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
2019-08-30 16:32:14 +01:00
Denys Vuika 9e1a90adc8 [ADF-4854] sticky header for task list (#5036)
* sticky header for task list

* fix html

* add docs

* update code docs
2019-08-30 16:31:10 +01:00
Eugenio Romano 537d5b912f remove lib/dist from cache 2019-08-30 15:55:05 +01:00
Eugenio Romano 073ece2d02 change order check bundle 2019-08-30 15:30:04 +01:00
Eugenio Romano f69b3646ae accumulate common lib task in first job to avoid cache problems 2019-08-30 15:28:29 +01:00
cristinaj 31bec59a16 [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
2019-08-30 12:16:28 +01:00
maurizio vitale 505e8204e2 Try to create tag with token 2019-08-30 12:16:01 +01:00
maurizio vitale 52210594ad Cache the lib/dist for npm publish purpose 2019-08-30 12:03:53 +01:00
Silviu Popa a6ee26b35b [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
2019-08-30 11:51:56 +01:00
Eugenio Romano 52af042450 move install in travis and out from lint.sh 2019-08-30 10:44:21 +01:00
Eugenio Romano 6c81cbc832 lint missin install 2019-08-30 10:28:40 +01:00
maurizio vitale 9f7f6c0427 Use the git token 2019-08-30 10:21:50 +01:00
Eugenio Romano ee71866702 fix cli command use 2019-08-30 10:02:20 +01:00
Eugenio Romano b25d989853 add typscritp compiler in cli build 2019-08-29 21:10:28 +01:00
Eugenio Romano 6590b59de0 fix scripts npm 2019-08-29 20:15:10 +01:00
Cilibiu Bogdan d7ff927b79 [ADF-4845] Uploader - Expanded/collapsed state not exposed (#5015)
* state accessibility

* remove aria-disabled
2019-08-29 20:13:57 +01:00
Denys Vuika edc0945f39 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
2019-08-29 16:35:30 +01:00
Marouan Bentaleb 140c64b79f [ADF-4544] Automation for form button refresh after action (#4835) 2019-08-29 16:24:50 +01:00
maurizio vitale a588a64937 Add condition for default jobs 2019-08-29 15:54:13 +01:00
Maurizio Vitale ac28b959ee 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
2019-08-29 15:22:12 +01:00
Eugenio Romano 24e1794fb9 move codecov inside unit test to avoid the aftes success execution in any script stage 2019-08-29 15:14:54 +01:00
Cilibiu Bogdan f35f0466e6 [ADF-4839] Document List - column name link accessibility (#5011)
* accessibility

* rename translation key

* translation key name

* link name component accessibility

* generic translation
2019-08-29 15:07:01 +01:00
davidcanonieto e5f7d2f304 [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
2019-08-29 15:05:00 +01:00
davidcanonieto c6ddfe46cf [ADF-4816] Move localization keys for About component from demo-shell to core (#5007) 2019-08-29 14:59:07 +01:00
maurizio vitale df37455edd Change the condition for master 2019-08-29 12:50:29 +01:00
maurizio vitale 01ff4dfa52 Run the update children project if is push or beta 2019-08-29 12:45:22 +01:00
Eugenio Romano 43df299096 release update commands pipeline 2019-08-29 12:01:49 +01:00
Marouan Bentaleb cdfae95c2a [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
2019-08-29 09:46:47 +01:00
Eugenio Romano 64cecaa125 fix permissions 2019-08-29 08:21:56 +01:00
Eugenio Romano c35fee473b fix release apha 2019-08-29 01:01:29 +01:00
Eugenio Romano 609ae3a3ff 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
2019-08-28 23:25:06 +01:00
maurizio vitale 09d3710bcf Get the latest alpha before the install 2019-08-28 16:52:53 +01:00
maurizio vitale 36b76821d0 revert change on dockerfile 2019-08-28 16:06:18 +01:00
Eugenio Romano 151fef16f4 Check remote env if is full before to start the e2e CS (#5024)
* add check remote env full

* Update check-cs-env.js
2019-08-28 15:58:07 +02:00
maurizio vitale 88f9678571 echo rancher job 2019-08-28 14:26:41 +01:00
maurizio vitale 329a8a5348 Use the correct docker repo domain 2019-08-28 13:47:00 +01:00
maurizio vitale 29533e751d Use docker commands 2019-08-28 13:01:06 +01:00
Paul Roth c4adfd49c0 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
2019-08-28 13:49:18 +02:00
maurizio vitale 4c468530d9 Npm install latest adf-cli 2019-08-28 12:27:39 +01:00
maurizio vitale bfc132eeff Improve the docker log 2019-08-28 12:03:10 +01:00
maurizio vitale ee9ed24844 Improve the docker log 2019-08-28 12:02:37 +01:00
davidcanonieto 8a48738b99 [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
2019-08-28 11:01:00 +01:00
maurizio vitale 3aed425020 Run the docker push before 2019-08-27 17:00:22 +01:00
Maurizio Vitale d8961ea904 [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
2019-08-27 16:09:00 +01:00
Suzana Dirla bfc3f30674 [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
2019-08-27 14:56:01 +02:00
Eugenio Romano 30d03cf540 fix clean script 2019-08-27 10:30:35 +01:00
siva kumar 8c00919db0 [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.
2019-08-23 14:51:39 +01:00
Silviu Popa 8c159babe0 [ADF-4837] - Automation checkbox visibility e2e tests (#5010) 2019-08-22 11:48:30 +02:00
Eugenio Romano 73601dfcfb rename subbprocess without capital letters 2019-08-22 08:17:35 +01:00
Geeta Mandakini Ayyalasomayajula 027e29964c added a new version of candidatebaseapp with process ui workspace defined. (#5006) 2019-08-21 13:02:26 +01:00
maurizio vitale 9a90e58f0c Run the deploy Pr only for PR 2019-08-21 11:46:58 +01:00
maurizio vitale 8875113a4a Run the clean before building 2019-08-21 10:02:08 +01:00
maurizio vitale de5bf9dc88 Rollback the 3.4 version 2019-08-21 10:00:34 +01:00
maurizio vitale 3b4f3ae7b7 Revert change on update version 2019-08-20 23:22:25 +01:00
maurizio vitale ea2bfa8021 Clean the lib/dist 2019-08-20 23:02:29 +01:00
maurizio vitale 6918944a63 Clean the lib/dit 2019-08-20 22:59:02 +01:00
maurizio vitale 89b832ff18 Rollback mistake on update-version.sh 2019-08-20 22:37:52 +01:00
maurizio vitale 11e1bd7a59 Change cli dist 2019-08-20 22:18:46 +01:00
maurizio vitale 3aa2e56c02 cache the lib/dist 2019-08-20 22:02:47 +01:00
maurizio vitale 453461f8ca Use the local npm publish command 2019-08-20 21:45:04 +01:00
maurizio vitale 1407bff208 Remove the build all in the release job 2019-08-20 21:09:09 +01:00
maurizio vitale 7ab054f7e1 Add the npmrc file in the correct folder and remove after publish 2019-08-20 20:02:27 +01:00
maurizio vitale 9bd08f4968 Change the version before building 2019-08-20 17:47:22 +01:00
maurizio vitale e27e99b551 Rebuild the libs after the next alpha 2019-08-20 17:09:06 +01:00
maurizio vitale 1c37fdab81 Npm publish the dist folder 2019-08-20 16:05:06 +01:00
maurizio vitale 711a461f8b Enable the npm install on push branch 2019-08-20 15:12:32 +01:00
Eugenio Romano 0650502b8a remove obsolete option from test-e2e 2019-08-19 22:35:16 +01:00
georg-un f3ab69474d [ADF-4976] Fix variable being referenced before initialization (#4977) 2019-08-19 23:01:58 +02:00
Marouan Bentaleb 023476e14f [ADF-4809] Automation for non-editable task details when completed (#5001) 2019-08-19 22:55:25 +02:00
Cilibiu Bogdan 9960a37e9a add aria label and selected (#4999) 2019-08-19 22:53:25 +02:00
Marouan Bentaleb 643510ed45 [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
2019-08-19 22:50:33 +02:00
Maurizio Vitale 329f8b21bf Add a travis step to publish on npm (#5004) 2019-08-19 16:25:36 +01:00
Maurizio Vitale 6c969dda56 Add the npm publish as part of adf-cli (#5002) 2019-08-19 15:30:36 +01:00
davidcanonieto e7c0852051 [ADF-4816] Refactor About component (#5000)
* [ADF-4816] Refactor About component

* Update package.json
2019-08-19 15:29:16 +01:00
Cilibiu Bogdan f5c5e7cf9e add aria-sort (#4997) 2019-08-19 11:33:48 +01:00
Eugenio Romano 83412bb9b6 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
2019-08-17 14:32:02 +02:00
JT Smith 4f3cf669f2 Documentation fix for Card View component (#4990) 2019-08-15 14:46:02 +02:00
Maurizio Vitale e65a1db7e9 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
2019-08-15 14:31:11 +02:00
Vito 9873e9952a [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
2019-08-13 15:13:21 +01:00
Denys Vuika 9ca61975a5 add missing export 2019-08-13 10:23:17 +01:00
Cilibiu Bogdan 3453cacaea [ADF-4802] Login accessibility (#4988)
* login button aria label

* password toggle accessibility

* translation

* fix test

* fix automation if
2019-08-12 16:41:32 +01:00
Cilibiu Bogdan b176a43fba [ADF-4497] ARIA role must be appropriate for the Breadcrumb element (#4986)
* breadcrumb accessibility

* translation
2019-08-12 16:28:53 +01:00
siva kumar eb2811fdd0 [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.
2019-08-12 16:27:30 +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
3029 changed files with 121310 additions and 103756 deletions
+18
View File
@@ -0,0 +1,18 @@
# 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
# The `docs/*` pattern will match files like
# `docs/getting-started.md` but not further nested files like
# `docs/build-app/troubleshooting.md`.
/docs/ @m-hulbert @eromano
+5 -14
View File
@@ -3,32 +3,23 @@ node_modules
bundles
workspace.xml
.idea/
.env.*
.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
+20
View File
@@ -0,0 +1,20 @@
pull_request_rules:
- name: automatic merge for Dependabot pull requests
conditions:
- author=dependabot-preview[bot]
- status-success=continuous-integration/travis-ci/pr
- status-success=security/snyk - package.json (eromano (GitHub marketplace))
actions:
merge:
method: merge
- name: merge when all requested reviews are valid
conditions:
- status-success=continuous-integration/travis-ci/pr
- status-success=security/snyk - package.json (eromano (GitHub marketplace))
- '#approved-reviews-by>=1'
- '#changes-requested-reviews-by=0'
- '#commented-reviews-by=0'
- label!="do not merge"
actions:
merge:
method: merge
+13
View File
@@ -0,0 +1,13 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.0
ignore: {}
# patches apply the minimum changes required to fix a vulnerability
patch:
SNYK-JS-HTTPSPROXYAGENT-469131:
- '@alfresco/adf-cli > npm-registry-fetch > make-fetch-happen > https-proxy-agent':
patched: '2019-11-20T10:48:59.194Z'
- '@alfresco/js-api > @alfresco/adf-cli > npm-registry-fetch > make-fetch-happen > https-proxy-agent':
patched: '2019-11-20T10:48:59.194Z'
SNYK-JS-TREEKILL-536781:
- snyk > snyk-sbt-plugin > tree-kill:
patched: '2019-12-12T00:35:06.820Z'
+1
View File
@@ -1 +1,2 @@
_theming.scss
lib/core/viewer/components/pdf-viewer-host.component.scss
+94 -173
View File
@@ -1,12 +1,11 @@
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'
- '12.13.1'
install:
echo "no install"
@@ -15,24 +14,38 @@ branches:
only:
- master
- development
- /.*old-env.*/
- /.*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 & Lint & Build Dist
- name: Lint & Build Dist
if: type = pull_request OR type = api
- name: Lint & Build Dist & Release
if: (type = push OR type = cron) AND tag IS blank
- name: Update Rancher
if: (type = push AND tag IS blank) OR type = api
- name: Check bundle
if: type = push AND tag IS blank
- name: Unit test
if: (type != cron AND tag IS blank) OR type = api
- name: e2e Test
- name: Create Docker PR
- name: Deploy Docker PR
if: (type != cron AND tag IS blank) OR type = api
- name: Update Children Projects
if: branch = master AND type = push OR (tag =~ .*beta.*)
- name: Release beta tag
if: type = cron OR branch = master
- name: Trigger ADF child build
if: (branch = development AND type = push) OR type = api
addons:
chrome: stable
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
- export GIT_HASH=`git rev-parse HEAD`
before_install:
- export CHROME_BIN=chromium-browser
@@ -42,174 +55,82 @@ before_install:
jobs:
include:
- stage: Warm Up Cache & Lint & Build Dist
# Run Only for any PR
- stage: Lint & Build Dist
name: Lint & Build Dist
script:
- if [[ $TRAVIS_PULL_REQUEST == "false" ]];
then
./scripts/lint.sh || exit 1;
./scripts/npm-build-all.sh || exit 1;
else
./scripts/update-version.sh -gnu -alpha || exit 1;
npm install;
./scripts/lint.sh || exit 1;
rm -rf tmp && mkdir tmp;
git merge-base origin/$TRAVIS_BRANCH HEAD > ./tmp/devhead.txt;
./scripts/smart-build.sh -b $TRAVIS_BRANCH -gnu || exit 1;
fi;
npm run build:dist || exit 1;
./scripts/license-list-generator.sh || exit 1;
- stage: Unit test
name: core and extensions
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "core$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test core --watch=false || exit 1;
fi;
AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -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 and insights
script:
AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services$" || $TRAVIS_PULL_REQUEST == "false" ]];
then
ng test process-services --watch=false || exit 1;
fi;
AFFECTED_LIBS="$(./scripts/affected-libs.sh -gnu -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 -gnu -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 -gnu -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 -si || exit 1;);
else
(./scripts/start.sh -dev -t -ss -si || exit 1;);
fi;
- stage: Update children projects dependency #Update generator-ng2-alfresco-app
name: Update Generator
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/generator-ng2-alfresco-app'
- stage: Update children projects dependency # Test Update alfresco-content-app
name: Update ACA
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-content-app'
- stage: Update children projects dependency # Test Update adf-app-manager-ui
name: Update adf-app-manager-ui
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/adf-app-manager-ui'
- stage: Update children projects dependency # Test Update alfresco-ng2-components
name: Update alfresco-ng2-components
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-ng2-components'
- stage: Update children projects dependency # Test Update alfresco-modeler-app
name: Update alfresco modeler app
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-modeler-app'
- stage: Update children projects dependency # Test Update activiti-modeling-app
name: Update alfresco modeler activiti app
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Activiti/activiti-modeling-app'
- stage: Update children projects dependency # Test alfresco-admin-app
name: Update alfresco admin app
if: tag =~ .*beta.*
script: ./scripts/update-project.sh -gnu -t $GITHUB_TOKEN -n 'Alfresco/alfresco-admin-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 -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "core$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
node ./scripts/check-ps-env.js --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1;
node ./scripts/check-cs-env.js --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1;
./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" --folder core --skip-lint -save --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 -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
node ./scripts/check-ps-env.js --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1;
./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" --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 -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
node ./scripts/check-cs-env.js --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1;
./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" --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 -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "content-services$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
node ./scripts/check-cs-env.js --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1;
./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" --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 -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
node ./scripts/check-activiti-env.js --host "$E2E_HOST_BPM" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" --client 'activiti' || exit 1;
./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST_BPM" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" --folder process-services-cloud --skip-lint --use-dist -timeout 8000 || 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 -gnu -b $TRAVIS_BRANCH)";
if [[ $AFFECTED_LIBS =~ "process-services-cloud$" || $AFFECTED_E2E = "e2e" || $TRAVIS_PULL_REQUEST == "false" ]];
then
node ./scripts/check-ps-env.js --host "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" || exit 1;
./scripts/test-e2e-lib.sh -host localhost:4200 -proxy "$E2E_HOST" -u "$E2E_USERNAME" -p "$E2E_PASSWORD" -e "$E2E_EMAIL" --folder insights --skip-lint --use-dist || exit 1;
fi;
- stage: Create Docker and Deploy Docker PR
script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ];
then
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);
fi;
- if [ "$TRAVIS_PULL_REQUEST" != "false" ];
then
(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);
fi;
- ./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-npm.sh
- 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.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.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: Update Rancher
name: Update Rancher
script: ./scripts/travis/deploy/deploy.sh
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/npm-check-bundles.sh -v ${ADF_VERSION}
- stage: Trigger ADF child build
name: Trigger ADF child build
script: ./scripts/travis/update/trigger-travis-children.sh --branch $TRAVIS_BRANCH Alfresco $TRAVIS_ACCESS_TOKEN
notifications:
slack:
on_pull_requests: false
rooms:
secure: "qcTP/+rhVweMSZZAQMPz4sW7boS8XC0RX1SPYgg7hIfxBr9747WpRLkJ1sirkVaXI/6XfYAyl42CTfPmTuJxIC+co/NSnEDknwVsnKZd0O/ykTpo+mxIN4BTZX8dm+gELR5IEYQPs+Yki3ZnD9b+0mCK1yD8JallKCQeE2U9BhzZhP/Fn0ce35EulybNp3QQDaox0XC+7gadMdxlvK8mzP1scw76wRLtx25QLxxV+OwEw0bzyh8y3onfjHfnoDcUQWRTNdnjapzmgf1LNdC202A5kwp5sJggfSDr+ActRqaMvv4BbMsFpdan34B6zPQJfyZL1r8IB8O8BEKcAaOUVcTjnZAOom8kHS8F07/mo5xnNYmV8oNX2/egr1CiG4U0EAGF2XGqM+vetYnF88LTEzy84kVxmSwKGVfzlGOyTplMXJ1iCENndtfWm1AXhAFj5RSsSAZg6IStTM+mcpnC75moEwQtj8bTenwehHz1HQAjQX7xeTQo27SxDc7oqp1ReyXCllMjKxckjVGmp2j6yxn1Jl55kivBj57vluLtEtziOGluVELP5E2fV0VAuErNhnjLm4LJARVN76PQaTOXYwATVVJJDhb/77TesvxQsr3VfiROEKm7QB7IDFjghjLLisSX67JQ5+7K/qMlqf9+9hNw4n0v1eMylVjt+gyxspc="
on_failure: always
on_success: change
template:
- "Repo `%{repository_slug}` *%{result}* build (<%{build_url}|#%{build_number}>) for commit (<%{compare_url}|%{commit}>) on branch `%{branch}`."
- "Author: %{author} Execution time: *%{duration}*"
- "Message: %{message}"
cache:
directories:
+17
View File
@@ -0,0 +1,17 @@
specFile=$1;
configFile=$2;
findconfig() {
if [ -f "$1" ]; then
printf '%s\n' "${PWD%/}/$1"
elif [ "$PWD" = / ]; then
false
else
(cd .. && findconfig $1)
fi
}
DIR=$(dirname "$specFile")
cd $DIR
configFile=`findconfig "$configFile"`;
echo "$configFile";
+27
View File
@@ -0,0 +1,27 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "e2e",
"program": "${workspaceFolder}/node_modules/protractor/bin/protractor",
"args": [
"`${workspaceFolder}/.vscode/closest-config-finder.sh ${file} protractor.conf.ts`",
"--specs=${file}"
],
"envFile": "${workspaceFolder}/.env",
"console": "integratedTerminal",
"sourceMaps": true,
"smartStep": true,
"skipFiles": [
"${workspaceFolder}/node_modules/**/*.js",
"<node_internals>/**/*.js"
],
"internalConsoleOptions": "neverOpen"
}
]
}
+6 -6
View File
@@ -1,20 +1,21 @@
# Alfresco Application Development Framework (ADF)
| branch | status |
| --- | --- |
| master | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
| development | [![Build Status](https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=development)](https://travis-ci.org/Alfresco/alfresco-ng2-components) |
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d9eb873741da403bb3284778102372e7)](https://www.codacy.com/app/Alfresco/alfresco-ng2-components?utm_source=github.com&utm_medium=referral&utm_content=Alfresco/alfresco-ng2-components&utm_campaign=badger)
[![Join the chat at https://gitter.im/Alfresco/alfresco-ng2-components](https://badges.gitter.im/Alfresco/alfresco-ng2-components.svg)](https://gitter.im/Alfresco/alfresco-ng2-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<p>
<a title='Build Status Travis' href="https://travis-ci.org/Alfresco/alfresco-ng2-components">
<img src='https://travis-ci.org/Alfresco/alfresco-ng2-components.svg?branch=master' alt='travis
Status' />
</a>
<a href='https://codecov.io/gh/Alfresco/alfresco-ng2-components'>
<img src='http://img.shields.io/codecov/c/github/Alfresco/alfresco-ng2-components/master.svg?maxAge=2592000' alt='Coverage Status' />
</a>
<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
@@ -65,4 +66,3 @@ All components are supported in the following browsers:
* Due to a [known issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1188880) in Firefox, the Alfresco Upload Component does not currently support folder upload functionality on Firefox.
See the [Browser Support](BROWSER-SUPPORT.md) article for more details.
+92 -43
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"
],
@@ -100,12 +101,29 @@
"vendorChunk": true,
"buildOptimizer": true,
"verbose": false,
"budgets": [
{
"type": "bundle",
"name": "vendor",
"baseline": "4.2MB",
"warning": "4.5MB",
"error": "5.0MB"
}
],
"fileReplacements": [
{
"replace": "demo-shell/src/environments/environment.ts",
"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 +131,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 +165,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 +234,8 @@
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*"
"**/node_modules/**/*",
"package.json"
]
}
}
@@ -236,7 +262,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 +272,6 @@
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "versions.json",
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "**/*",
"input": "demo-shell/resources",
@@ -274,17 +294,17 @@
},
{
"glob": "**/*",
"input": "lib/process-services/assets",
"input": "lib/process-services/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/process-services-cloud/assets",
"input": "lib/process-services-cloud/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/content-services/assets",
"input": "lib/content-services/src/lib/assets",
"output": "/assets"
},
{
@@ -294,12 +314,12 @@
},
{
"glob": "**/*",
"input": "lib/content-services/i18n",
"input": "lib/content-services/src/lib/i18n",
"output": "/assets/adf-content-services/i18n"
},
{
"glob": "**/*",
"input": "lib/process-services/i18n",
"input": "lib/process-services/src/lib/i18n",
"output": "/assets/adf-process-services/i18n"
},
{
@@ -309,7 +329,7 @@
},
{
"glob": "**/*",
"input": "lib/insights/i18n",
"input": "lib/insights/src/lib/i18n",
"output": "/assets/adf-insights/i18n"
},
{
@@ -324,6 +344,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 +374,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 +389,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 +423,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 +441,6 @@
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "versions.json",
"input": "demo-shell/src",
"output": "/"
},
{
"glob": "**/*",
"input": "demo-shell/resources",
@@ -431,17 +463,17 @@
},
{
"glob": "**/*",
"input": "lib/process-services/assets",
"input": "lib/process-services/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/process-services-cloud/assets",
"input": "lib/process-services-cloud/src/lib/assets",
"output": "/assets"
},
{
"glob": "**/*",
"input": "lib/content-services/assets",
"input": "lib/content-services/src/lib/assets",
"output": "/assets"
},
{
@@ -451,12 +483,12 @@
},
{
"glob": "**/*",
"input": "lib/content-services/i18n",
"input": "lib/content-services/src/lib/i18n",
"output": "/assets/adf-content-services/i18n"
},
{
"glob": "**/*",
"input": "lib/process-services/i18n",
"input": "lib/process-services/src/lib/i18n",
"output": "/assets/adf-process-services/i18n"
},
{
@@ -466,7 +498,7 @@
},
{
"glob": "**/*",
"input": "lib/insights/i18n",
"input": "lib/insights/src/lib/i18n",
"output": "/assets/adf-insights/i18n"
},
{
@@ -489,7 +521,8 @@
"./demo-shell/src/tsconfig.app.json"
],
"exclude": [
"**/node_modules/**/*"
"**/node_modules/**/*",
"package.json"
]
}
}
@@ -516,14 +549,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/**/*"
]
@@ -575,7 +610,7 @@
},
"content-services": {
"root": "lib/content-services",
"sourceRoot": "lib/content-services",
"sourceRoot": "lib/content-services/src",
"projectType": "library",
"prefix": "adf",
"architect": {
@@ -594,7 +629,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/content-services/test.ts",
"main": "lib/content-services/src/test.ts",
"tsConfig": "lib/content-services/tsconfig.spec.json",
"karmaConfig": "lib/content-services/karma.conf.js",
"codeCoverage": true,
@@ -606,7 +641,7 @@
"options": {
"tsConfig": [
"lib/content-services/tsconfig.lib.json",
"lib/content-services/tsconfig.lib.json"
"lib/content-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
@@ -636,7 +671,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/process-services/test.ts",
"main": "lib/process-services/src/test.ts",
"tsConfig": "lib/process-services/tsconfig.spec.json",
"karmaConfig": "lib/process-services/karma.conf.js",
"codeCoverage": true,
@@ -648,7 +683,7 @@
"options": {
"tsConfig": [
"lib/process-services/tsconfig.lib.json",
"lib/process-services/tsconfig.lib.json"
"lib/process-services/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
@@ -708,7 +743,7 @@
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/extensions/tsconfig.lib.json",
"tsConfig": "lib/insights/tsconfig.lib.json",
"project": "lib/insights/ng-package.json"
},
"configurations": {
@@ -720,8 +755,8 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "lib/insights/test.ts",
"tsConfig": "lib/extensions/tsconfig.spec.json",
"main": "lib/insights/src/test.ts",
"tsConfig": "lib/insights/tsconfig.spec.json",
"karmaConfig": "lib/insights/karma.conf.js",
"codeCoverage": true,
"sourceMap": true
@@ -732,7 +767,7 @@
"options": {
"tsConfig": [
"lib/insights/tsconfig.lib.json",
"lib/insights/tsconfig.lib.json"
"lib/insights/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
@@ -812,6 +847,20 @@
}
}
}
},
"cli": {
"root": "lib/cli",
"sourceRoot": "lib/cli",
"projectType": "library",
"prefix": "adf",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "lib/cli/tsconfig.json"
}
}
}
}
},
"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
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

+15 -2
View File
@@ -126,8 +126,21 @@
"uncheck",
"subfolders",
"ECMBPM",
"candidateuserapp",
"processwithvariables"
"processwithvariables",
"dropdownrestprocess",
"devops",
"mouseenter",
"starteventform",
"formtotestvalidations",
"requirednumbervisibility",
"numbervisibilityprocess",
"booleanvisibilityprocess",
"booleanvisibility",
"processparent",
"uploadfileform",
"processwithstarteventform",
"processstring",
"typeahed"
],
"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.2.0-beta6",
"version": "3.7.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": ""
+33 -17
View File
@@ -63,7 +63,7 @@
"NOTIFICATIONS": "إعلامات",
"TASK_LIST": "قائمة المهام",
"PROCESS_LIST": "مهام عملية",
"PROCESS_CLOUD": "سحابة العملية",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "دخول",
@@ -78,6 +78,7 @@
"UPLOADER": "مُحمِّل",
"WEBSCRIPT": "برنامج الويب النصي",
"TAG": "علامة",
"PIPES": "أنابيب",
"TRASHCAN": "سلة المحذوفات",
"SOCIAL": "اجتماعي",
"SETTINGS": "إعدادات",
@@ -93,9 +94,16 @@
"TREE_VIEW": "طريقة عرض الشجرة",
"ICONS": "أيقونات",
"PEOPLE_GROUPS_CLOUD": "سحابة الأشخاص/المجموعة",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "عنوان مهمة السحابة",
"APP_NAME_INPUT": "اسم التطبيق",
"TASK_ID_INPUT": "معرف المهمة",
"FIND_TASK_BUTTON": "بحث عن المهمة"
},
"PEOPLE_CLOUD": "مكون سحابة الأشخاص",
"GROUPS_CLOUD": "مكون سحابة المجموعة",
"CONFIRM-DIALOG": "مربع حوار التأكيد"
"CONFIRM-DIALOG": "مربع حوار التأكيد",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -245,7 +253,7 @@
"RATING": "مكون التقييم"
},
"TAG": {
"LIST": "خدمات محتوى علامات القائمة",
"LIST": "Content Services علامات القائمة",
"INSERT": "إدراج معرف العقدة",
"NODE_LIST": "قائمة العلامات حسب معرف العقدة"
},
@@ -300,25 +308,33 @@
"APP_NAME": "اسم التطبيق",
"APP_FILTER_MODE": "التصفية حسب اسم التطبيق",
"ROLE_FILTER_MODE": "التصفية حسب الدور",
"PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة"
},
"ABOUT": {
"TITLE": "مكونات إضافية",
"TABLE_HEADERS": {
"ID": "المعرف",
"NAME": "الاسم",
"VERSION": "الإصدار",
"VENDOR": "المورد",
"LICENSE": "الترخيص",
"RUNTIME": "وقت التشغيل",
"DESCRIPTION": "الوصف"
}
"PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة",
"ALL_PRESELECTED_USERS": "كل المستخدمين المحددين مسبقًا",
"ALL_PRESELECTED_GROUPS": "كل المجموعات المحددة مسبقًا",
"INVALID_USERS": "المستخدمون غير الصالحين",
"INVALID_GROUPS": "مجموعات غير صالحة",
"READONLY_MODE": "وضع القراءة فقط"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "تحديد متعدد",
"TESTING_MODE": "وضع الاختبار",
"SELECTION_MODE": "وضع التحديد",
"SELECTED_ROWS": "الصفوف المحدّدة",
"TASK_DETAILS_REDIRECTION": "عرض تفاصيل المهمة عند النقر فوق المهمة",
"PROCESS_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": "نوع الإجراء"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Nástroj pro odesílání",
"WEBSCRIPT": "Webový skript",
"TAG": "Tag",
"PIPES": "Potrubí",
"TRASHCAN": "Koš",
"SOCIAL": "Sociální",
"SETTINGS": "Nastavení",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Stromová struktura",
"ICONS": "Ikony",
"PEOPLE_GROUPS_CLOUD": "Cloud osob/skupin",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Záhlaví úkolu cloudové komponenty",
"APP_NAME_INPUT": "Název aplikace",
"TASK_ID_INPUT": "ID úkolu",
"FIND_TASK_BUTTON": "Najít úkol"
},
"PEOPLE_CLOUD": "Součást cloudu osob",
"GROUPS_CLOUD": "Součást cloudu skupin",
"CONFIRM-DIALOG": "Dialogové okno s potvrzením"
"CONFIRM-DIALOG": "Dialogové okno s potvrzením",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"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"
},
"ABOUT": {
"TITLE": "Doplňky",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Název",
"VERSION": "Verze",
"VENDOR": "Dodavatel",
"LICENSE": "Licence",
"RUNTIME": "Délka",
"DESCRIPTION": "Popis"
}
"PRESELECT_VALIDATION": "Ověření předvolené hodnoty",
"ALL_PRESELECTED_USERS": "Všichni předvolení uživatelé",
"ALL_PRESELECTED_GROUPS": "Všechny předvolené skupiny",
"INVALID_USERS": "Neplatní uživatelé",
"INVALID_GROUPS": "Neplatné skupiny",
"READONLY_MODE": "Režim jen pro čtení"
},
"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"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Rør",
"TRASHCAN": "Papirkurv",
"SOCIAL": "Social",
"SETTINGS": "Indstillinger",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Trævisning",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Person/gruppecloud",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Opgaveheader for cloud",
"APP_NAME_INPUT": "Appnavn",
"TASK_ID_INPUT": "Opgave-id",
"FIND_TASK_BUTTON": "Find opgave"
},
"PEOPLE_CLOUD": "Personcloudkomponent",
"GROUPS_CLOUD": "Gruppecloudkomponent",
"CONFIRM-DIALOG": "Bekræftelsesdialogboks"
"CONFIRM-DIALOG": "Bekræftelsesdialogboks",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"APP_NAME": "Appnavn",
"APP_FILTER_MODE": "Filtrer efter appnavn",
"ROLE_FILTER_MODE": "Filtrer efter rolle",
"PRESELECT_VALIDATION": "Forudvælg validering"
},
"ABOUT": {
"TITLE": "Plug-ins",
"TABLE_HEADERS": {
"ID": "Id",
"NAME": "Navn",
"VERSION": "Version",
"VENDOR": "Leverandør",
"LICENSE": "Licens",
"RUNTIME": "Kørselstidspunkt",
"DESCRIPTION": "Beskrivelse"
}
"PRESELECT_VALIDATION": "Forudvælg validering",
"ALL_PRESELECTED_USERS": "Alle forudvalgte brugere",
"ALL_PRESELECTED_GROUPS": "Alle forudvalgte grupper",
"INVALID_USERS": "Ugyldige brugere",
"INVALID_GROUPS": "Ugyldige grupper",
"READONLY_MODE": "Skrivebeskyttet tilstand"
},
"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"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Pipes",
"TRASHCAN": "Papierkorb",
"SOCIAL": "Soziale Funktionen",
"SETTINGS": "Einstellungen",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Strukturansicht",
"ICONS": "Symbole",
"PEOPLE_GROUPS_CLOUD": "Personen-/Gruppen-Cloud",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Aufgaben-Header für Cloud",
"APP_NAME_INPUT": "Anwendungsname",
"TASK_ID_INPUT": "Aufgaben-ID",
"FIND_TASK_BUTTON": "Aufgabe suchen"
},
"PEOPLE_CLOUD": "Personen-Cloud-Komponente",
"GROUPS_CLOUD": "Gruppen-Cloud-Komponente",
"CONFIRM-DIALOG": "Bestätigungsdialog"
"CONFIRM-DIALOG": "Bestätigungsdialog",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"APP_NAME": "Anwendungsname",
"APP_FILTER_MODE": "Nach Anwendungsname filtern",
"ROLE_FILTER_MODE": "Nach Rolle filtern",
"PRESELECT_VALIDATION": "Vorauswahl-Prüfung"
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Name",
"VERSION": "Version",
"VENDOR": "Hersteller",
"LICENSE": "Lizenz",
"RUNTIME": "Laufzeit",
"DESCRIPTION": "Beschreibung"
}
"PRESELECT_VALIDATION": "Vorauswahl-Prüfung",
"ALL_PRESELECTED_USERS": "Alle vorausgewählten Benutzer",
"ALL_PRESELECTED_GROUPS": "Alle vorausgewählten Gruppen",
"INVALID_USERS": "Unzulässige Benutzer",
"INVALID_GROUPS": "Unzulässige Gruppen",
"READONLY_MODE": "Schreibgeschützter Modus"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Mehrfachauswahl",
"TESTING_MODE": "Testmodus",
"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"
"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"
}
}
}
+33 -16
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Pipes",
"TRASHCAN": "Trashcan",
"SOCIAL": "Social",
"SETTINGS": "Settings",
@@ -93,6 +94,12 @@
"TREE_VIEW": "Tree View",
"ICONS": "Icons",
"PEOPLE_GROUPS_CLOUD": "People/Group Cloud",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Task Header Cloud",
"APP_NAME_INPUT": "App name",
"TASK_ID_INPUT": "Task id",
"FIND_TASK_BUTTON": "Find Task"
},
"PEOPLE_CLOUD": "People Cloud Component",
"GROUPS_CLOUD": "Groups Cloud Component",
"CONFIRM-DIALOG": "Confirmation Dialog",
@@ -263,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Starting page"
}
},
"TASK_CONTEXT_MENU": "Task List Context Menu"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Insert App ID",
"APP_ID_TYPE_ERROR": "App ID must be a number",
"NUMBER_GREATER_THAN": "Value must be greater than or equal to {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Process List Context Menu"
},
"GROUP-TITLE1-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION ONE",
"GROUP-TITLE2-TRANSLATION-KEY": "CUSTOM TITLE TRANSLATION TWO",
@@ -301,25 +310,33 @@
"APP_NAME": "Application Name",
"APP_FILTER_MODE": "Filter by application name",
"ROLE_FILTER_MODE": "Filter by role",
"PRESELECT_VALIDATION": "Preselect validation"
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Name",
"VERSION": "Version",
"VENDOR": "Vendor",
"LICENSE": "License",
"RUNTIME": "Runtime",
"DESCRIPTION": "Description"
}
"PRESELECT_VALIDATION": "Preselect validation",
"ALL_PRESELECTED_USERS": "All Preselected Users",
"ALL_PRESELECTED_GROUPS": "All Preselected Groups",
"INVALID_USERS": "Invalid Users",
"INVALID_GROUPS": "Invalid Groups",
"READONLY_MODE": "Read-only Mode"
},
"SETTINGS_CLOUD": {
"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"
"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 -17
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Cargador",
"WEBSCRIPT": "Webscript",
"TAG": "Etiqueta",
"PIPES": "Tubos",
"TRASHCAN": "Papelera",
"SOCIAL": "Social",
"SETTINGS": "Configuración",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Vista de árbol",
"ICONS": "Iconos",
"PEOPLE_GROUPS_CLOUD": "Personas/Grupos en la nube",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Encabezados de tareas en componente nube",
"APP_NAME_INPUT": "Nombre de aplicación",
"TASK_ID_INPUT": "ID de tarea",
"FIND_TASK_BUTTON": "Buscar tarea"
},
"PEOPLE_CLOUD": "Componente en la nube de personas",
"GROUPS_CLOUD": "Componente en la nube de grupos",
"CONFIRM-DIALOG": "Cuadro de diálogo de confirmación"
"CONFIRM-DIALOG": "Cuadro de diálogo de confirmación",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -104,7 +112,7 @@
},
"EMPTY_STATE": {
"TITLE": "La papelera está vacía",
"FIRST_TEXT": "Los elementos que elimine se trasladan a la papelera.",
"FIRST_TEXT": "Los elementos que elimine se moverán a la papelera.",
"SECOND_TEXT": "Vacíe la papelera para eliminar los elementos permanentemente."
}
},
@@ -215,7 +223,7 @@
"PROCESS_SERVICES": "Process Services",
"LOGIN_FOOTER": "Pie del inicio de sesión",
"SHOW_REMEMBERME": "Mostrar opción para recordarme",
"SHOW_SUCCESS_ROUTE": "Permitir ruta correcta",
"SHOW_SUCCESS_ROUTE": "Mostrar ruta correcta",
"CUSTOM_LOGO": "Logotipo personalizado"
},
"SEARCH": {
@@ -300,25 +308,33 @@
"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"
},
"ABOUT": {
"TITLE": "Complementos",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Nombre",
"VERSION": "Versión",
"VENDOR": "Proveedor",
"LICENSE": "Licencia",
"RUNTIME": "Tiempo de ejecución",
"DESCRIPTION": "Descripción"
}
"PRESELECT_VALIDATION": "Preseleccionar validación",
"ALL_PRESELECTED_USERS": "Todos los usuarios preseleccionados",
"ALL_PRESELECTED_GROUPS": "Todos los grupos preseleccionados",
"INVALID_USERS": "Usuarios no válidos",
"INVALID_GROUPS": "Grupos no válidos",
"READONLY_MODE": "Modo de solo lectura"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selección múltiple",
"TESTING_MODE": "Modo de prueba",
"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"
"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"
}
}
}
+32 -16
View File
@@ -63,7 +63,7 @@
"NOTIFICATIONS": "Ilmoitukset",
"TASK_LIST": "Tehtäväluettelo",
"PROCESS_LIST": "Prosessiluettelo",
"PROCESS_CLOUD": "Prosessipilvi",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "Korttinäkymä",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Kirjaudu sisään",
@@ -78,6 +78,7 @@
"UPLOADER": "Lataustoiminto",
"WEBSCRIPT": "Verkkokomentosarja",
"TAG": "Tunniste",
"PIPES": "Putket",
"TRASHCAN": "Roskakori",
"SOCIAL": "Sosiaalinen",
"SETTINGS": "Asetukset",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Puunäkymä",
"ICONS": "Kuvakkeet",
"PEOPLE_GROUPS_CLOUD": "Ihmispilvi/Ryhmäpilvi",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Tehtävänimikepilvi",
"APP_NAME_INPUT": "Sovelluksen nimi",
"TASK_ID_INPUT": "Tehtävän tunnus",
"FIND_TASK_BUTTON": "Etsi tehtävä"
},
"PEOPLE_CLOUD": "Ihmispilvi-komponentti",
"GROUPS_CLOUD": "Ryhmäpilvi-komponentti",
"CONFIRM-DIALOG": "Vahvistusvalintaikkuna"
"CONFIRM-DIALOG": "Vahvistusvalintaikkuna",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"APP_NAME": "Sovelluksen nimi",
"APP_FILTER_MODE": "Suodata sovelluksen nimen perusteella",
"ROLE_FILTER_MODE": "Suodata roolin perusteella",
"PRESELECT_VALIDATION": "Vahvistus esivalittu"
},
"ABOUT": {
"TITLE": "Lisäosat",
"TABLE_HEADERS": {
"ID": "Tunnus",
"NAME": "Nimi",
"VERSION": "Versio",
"VENDOR": "Toimittaja",
"LICENSE": "Käyttöoikeus",
"RUNTIME": "Suorituspalvelu",
"DESCRIPTION": "Kuvaus"
}
"PRESELECT_VALIDATION": "Vahvistus esivalittu",
"ALL_PRESELECTED_USERS": "Kaikki esivalitut käyttäjät",
"ALL_PRESELECTED_GROUPS": "Kaikki esivalitut ryhmät",
"INVALID_USERS": "Kelpaamattomat käyttäjät",
"INVALID_GROUPS": "Kelpaamattomat ryhmät",
"READONLY_MODE": "Vain luku -tila"
},
"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"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Chargeur",
"WEBSCRIPT": "Script Web",
"TAG": "Tag",
"PIPES": "Tuyaux",
"TRASHCAN": "Corbeille",
"SOCIAL": "Réseaux sociaux",
"SETTINGS": "Paramètres",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Arborescence",
"ICONS": "Icônes",
"PEOPLE_GROUPS_CLOUD": "Cloud des personnes/groupes",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "En-tête de la tâche du composant cloud",
"APP_NAME_INPUT": "Nom de l'application",
"TASK_ID_INPUT": "ID de la tâche",
"FIND_TASK_BUTTON": "Trouver la tâche"
},
"PEOPLE_CLOUD": "Composant cloud des personnes",
"GROUPS_CLOUD": "Composant cloud des groupes",
"CONFIRM-DIALOG": "Boîte de dialogue de confirmation"
"CONFIRM-DIALOG": "Boîte de dialogue de confirmation",
"COMMUNITY": "Communauté"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"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"
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Nom",
"VERSION": "Version",
"VENDOR": "Fournisseur",
"LICENSE": "Licence",
"RUNTIME": "Java Runtime",
"DESCRIPTION": "Description"
}
"PRESELECT_VALIDATION": "Validation présélectionnée",
"ALL_PRESELECTED_USERS": "Tous les utilisateurs présélectionnés",
"ALL_PRESELECTED_GROUPS": "Tous les groupes présélectionnés",
"INVALID_USERS": "Utilisateurs non valides",
"INVALID_GROUPS": "Groupes non valides",
"READONLY_MODE": "Mode lecture seule"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multisélection",
"TESTING_MODE": "Mode de test",
"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"
"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"
}
}
}
+44 -28
View File
@@ -4,14 +4,14 @@
"TITLE": "Dettagli",
"COMMENTS": "Commenti",
"PROPERTIES": "Proprietà",
"VERSIONS": "Versione"
"VERSIONS": "Versioni"
},
"HOME": {
"TITLE": "Componenti angolari per Alfresco",
"DOCUMENTATION": "Documentazione"
},
"LOGOUT": {
"TITLE": "Pagina di uscita",
"TITLE": "Pagina di logout",
"SUB_TITLE": "Utente disconnesso",
"LOGIN": "Login",
"HOME": "Home"
@@ -19,7 +19,7 @@
"ADF_VERSION_MANAGER": {
"ALLOW_DELETE": "Consenti eliminazione",
"SHOW_COMMENTS": "Mostra commenti sulle versioni",
"ALLOW_DOWNLOAD": "Abilita download versioni",
"ALLOW_DOWNLOAD": "Abilita scaricamento versioni",
"READ_ONLY": "Sola lettura",
"COMMENTS": "Mostra commenti"
},
@@ -38,8 +38,8 @@
},
"title": "Benvenuto",
"VERSION": {
"NO_PERMISSION": "Non hai il permesso di gestire versioni di questo contenuto",
"NO_PERMISSION_EVENT": "Non hai il permesso ${event.permission} di ${event.action} ${event.type}",
"NO_PERMISSION": "Non si dispone dei permessi per gestire versioni di questo contenuto",
"NO_PERMISSION_EVENT": "Non si dispone dei permessi ${event.permission} di ${event.action} ${event.type}",
"CHOOSE_FILE": "Seleziona un file per visualizzarne le versioni",
"DIALOG": {
"CLOSE": "Chiudi",
@@ -61,7 +61,7 @@
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Breadcrumb",
"NOTIFICATIONS": "Notifiche",
"TASK_LIST": "Elenco attività",
"TASK_LIST": "Elenco compiti",
"PROCESS_LIST": "Elenco processi",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
@@ -78,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Tubi",
"TRASHCAN": "Cestino",
"SOCIAL": "Social",
"SETTINGS": "Impostazioni",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Vista struttura",
"ICONS": "Icone",
"PEOPLE_GROUPS_CLOUD": "Cloud persone/gruppi",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Cloud intestazione compito",
"APP_NAME_INPUT": "Nome applicazione",
"TASK_ID_INPUT": "ID compito",
"FIND_TASK_BUTTON": "Trova compito"
},
"PEOPLE_CLOUD": "Componente Cloud persone",
"GROUPS_CLOUD": "Componente Cloud gruppi",
"CONFIRM-DIALOG": "Finestra di conferma"
"CONFIRM-DIALOG": "Finestra di conferma",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -110,7 +118,7 @@
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Selezione multipla (con caselle di spunta)",
"THUMBNAILS": "Abilita anteprime",
"THUMBNAILS": "Abilita miniature",
"ALLOW_DROP_FILES": "Abilita trascinamento di file in una cartella",
"MULTIPLE_FILE_UPLOAD": "Caricamento di file multipli",
"FOLDER_UPLOAD": "Caricamento cartelle",
@@ -143,7 +151,7 @@
"SHARE_EDIT": "Modifica impostazioni",
"NEW_FOLDER": "Nuova cartella",
"EDIT_FOLDER": "Modifica cartella",
"DOWNLOAD": "Download",
"DOWNLOAD": "Scarica",
"DELETE": "Elimina",
"FAVORITES": "Aggiungi ai preferiti",
"SHARE": "Condividi",
@@ -157,7 +165,7 @@
"VERSIONS": "Gestione versioni",
"LOCK": "Blocca",
"METADATA": "Informazioni",
"DOWNLOAD": "Download",
"DOWNLOAD": "Scarica",
"PERMISSION": "Permesso",
"FOLDER": {
"COPY": "Copia",
@@ -255,8 +263,8 @@
},
"TASK_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Inserisci ID app",
"APP_ID_TYPE_ERROR": "L'ID app deve essere un numero",
"APP_ID_REQUIRED_ERROR": "Inserisci ID applicazione",
"APP_ID_TYPE_ERROR": "L'ID applicazione deve essere un numero",
"NUMBER_TYPE_ERROR": "Il valore deve essere un numero",
"NUMBER_GREATER_THAN": "Il valore deve essere maggiore o uguale a {{ value }}"
},
@@ -266,8 +274,8 @@
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Inserisci ID app",
"APP_ID_TYPE_ERROR": "L'ID app deve essere un numero",
"APP_ID_REQUIRED_ERROR": "Inserisci ID applicazione",
"APP_ID_TYPE_ERROR": "L'ID applicazione deve essere un numero",
"NUMBER_GREATER_THAN": "Il valore deve essere maggiore o uguale a {{ value }}"
}
},
@@ -300,25 +308,33 @@
"APP_NAME": "Nome applicazione",
"APP_FILTER_MODE": "Filtra per nome applicazione",
"ROLE_FILTER_MODE": "Filtra per ruolo",
"PRESELECT_VALIDATION": "Convalida preselezione"
},
"ABOUT": {
"TITLE": "Plug-in",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Nome",
"VERSION": "Versione",
"VENDOR": "Fornitore",
"LICENSE": "Licenza",
"RUNTIME": "Runtime",
"DESCRIPTION": "Descrizione"
}
"PRESELECT_VALIDATION": "Convalida preselezione",
"ALL_PRESELECTED_USERS": "Tutti gli utenti preselezionati",
"ALL_PRESELECTED_GROUPS": "Tutti i gruppi preselezionati",
"INVALID_USERS": "Utenti non validi",
"INVALID_GROUPS": "Gruppi non validi",
"READONLY_MODE": "Modalità sola lettura"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Selezione multipla",
"TESTING_MODE": "Modalità di test",
"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"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "アップローダー",
"WEBSCRIPT": "Webscript",
"TAG": "タグ",
"PIPES": "パイプ",
"TRASHCAN": "ごみ箱",
"SOCIAL": "ソーシャル",
"SETTINGS": "設定",
@@ -93,9 +94,16 @@
"TREE_VIEW": "ツリービュー",
"ICONS": "アイコン",
"PEOPLE_GROUPS_CLOUD": "メンバー/グループのクラウド",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "クラウドのタスクヘッダー",
"APP_NAME_INPUT": "アプリケーション名",
"TASK_ID_INPUT": "タスク ID",
"FIND_TASK_BUTTON": "タスクの検索"
},
"PEOPLE_CLOUD": "メンバーのクラウドコンポーネント",
"GROUPS_CLOUD": "グループのクラウドコンポーネント",
"CONFIRM-DIALOG": "確認ダイアログ"
"CONFIRM-DIALOG": "確認ダイアログ",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"APP_NAME": "アプリケーション名",
"APP_FILTER_MODE": "アプリケーション名でフィルタ",
"ROLE_FILTER_MODE": "役割でフィルタ",
"PRESELECT_VALIDATION": "事前選択の検証"
},
"ABOUT": {
"TITLE": "プラグイン",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "名前",
"VERSION": "バージョン",
"VENDOR": "ベンダー",
"LICENSE": "ライセンス",
"RUNTIME": "ランタイム",
"DESCRIPTION": "説明"
}
"PRESELECT_VALIDATION": "事前選択の検証",
"ALL_PRESELECTED_USERS": "選択されている全ユーザー",
"ALL_PRESELECTED_GROUPS": "選択されている全グループ",
"INVALID_USERS": "無効なユーザー",
"INVALID_GROUPS": "無効なグループ",
"READONLY_MODE": "読み取り専用モード"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "複数選択",
"TESTING_MODE": "テストモード",
"SELECTION_MODE": "選択モード",
"SELECTED_ROWS": "選択した行",
"TASK_DETAILS_REDIRECTION": "タスクのクリック時にタスクの詳細を表示",
"PROCESS_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": "処理のタイプ"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Opplaster",
"WEBSCRIPT": "Webscript",
"TAG": "Tagg",
"PIPES": "Rør",
"TRASHCAN": "Søppelkurv",
"SOCIAL": "Sosial",
"SETTINGS": "Innstillinger",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Trevisning",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Person-/gruppesky",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Oppgaveoverskrift for sky",
"APP_NAME_INPUT": "Navn på app",
"TASK_ID_INPUT": "Oppgave-ID",
"FIND_TASK_BUTTON": "Finn oppgave"
},
"PEOPLE_CLOUD": "Personsky-komponent",
"GROUPS_CLOUD": "Gruppesky-kompontent",
"CONFIRM-DIALOG": "Bekreftelsesdialog"
"CONFIRM-DIALOG": "Bekreftelsesdialog",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"APP_NAME": "Programnavn",
"APP_FILTER_MODE": "Filtrer etter programnavn",
"ROLE_FILTER_MODE": "Filtrer etter rolle",
"PRESELECT_VALIDATION": "Forhåndsvelg validering"
},
"ABOUT": {
"TITLE": "Plugin-moduler",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Navn",
"VERSION": "Versjon",
"VENDOR": "Leverandør",
"LICENSE": "Lisens",
"RUNTIME": "Kjøretid",
"DESCRIPTION": "Beskrivelse"
}
"PRESELECT_VALIDATION": "Forhåndsvelg validering",
"ALL_PRESELECTED_USERS": "Alle forhåndsvalgte brukere",
"ALL_PRESELECTED_GROUPS": "Alle forhåndsvalgte grupper",
"INVALID_USERS": "Ugyldige brukere",
"INVALID_GROUPS": "Ugyldige grupper",
"READONLY_MODE": "Skrivebeskyttet modus"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Flervalg",
"TESTING_MODE": "Testmodus",
"SELECTION_MODE": "Valgmodus",
"SELECTED_ROWS": "Valgte rader",
"TASK_DETAILS_REDIRECTION": "Vis oppgavedetaljer ved oppgaveklikk",
"PROCESS_DETAILS_REDIRECTION": "Vis prosessdetaljer ved prosessklikk"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Uploader",
"WEBSCRIPT": "Webscript",
"TAG": "Tag",
"PIPES": "Pipes",
"TRASHCAN": "Prullenbak",
"SOCIAL": "Sociaal",
"SETTINGS": "Instellingen",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Structuurweergave",
"ICONS": "Pictogrammen",
"PEOPLE_GROUPS_CLOUD": "Personen-/groepencloud",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Taakkop cloud",
"APP_NAME_INPUT": "App-naam",
"TASK_ID_INPUT": "Taak-id",
"FIND_TASK_BUTTON": "Taak zoeken"
},
"PEOPLE_CLOUD": "Component Personencloud",
"GROUPS_CLOUD": "Component Groepencloud",
"CONFIRM-DIALOG": "Bevestigingsdialoogvenster"
"CONFIRM-DIALOG": "Bevestigingsdialoogvenster",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"APP_NAME": "Toepassingsnaam",
"APP_FILTER_MODE": "Filteren op toepassingsnaam",
"ROLE_FILTER_MODE": "Filteren op rol",
"PRESELECT_VALIDATION": "Validatie voorselecteren"
},
"ABOUT": {
"TITLE": "Plug-ins",
"TABLE_HEADERS": {
"ID": "Id",
"NAME": "Naam",
"VERSION": "Versie",
"VENDOR": "Leverancier",
"LICENSE": "Licentie",
"RUNTIME": "Runtime",
"DESCRIPTION": "Beschrijving"
}
"PRESELECT_VALIDATION": "Validatie voorselecteren",
"ALL_PRESELECTED_USERS": "Alle voorgeselecteerde gebruikers",
"ALL_PRESELECTED_GROUPS": "Alle voorgeselecteerde groepen",
"INVALID_USERS": "Ongeldige gebruikers",
"INVALID_GROUPS": "Ongeldige groepen",
"READONLY_MODE": "Alleen-lezenmodus"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Multiselectie",
"TESTING_MODE": "Testmodus",
"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"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Program do przesyłania",
"WEBSCRIPT": "Skrypt internetowy",
"TAG": "Znacznik",
"PIPES": "Rury",
"TRASHCAN": "Kosz",
"SOCIAL": "Społecznościowy",
"SETTINGS": "Ustawienia",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Widok drzewa",
"ICONS": "Ikony",
"PEOPLE_GROUPS_CLOUD": "Chmura dla osób/grup",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Chmura nagłówka zadania",
"APP_NAME_INPUT": "Nazwa aplikacji",
"TASK_ID_INPUT": "Identyfikator zadania",
"FIND_TASK_BUTTON": "Znajdź zadanie"
},
"PEOPLE_CLOUD": "Składnik Chmura dla osób",
"GROUPS_CLOUD": "Składnik Chmura dla grup",
"CONFIRM-DIALOG": "Okno dialogowe potwierdzenia"
"CONFIRM-DIALOG": "Okno dialogowe potwierdzenia",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"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"
},
"ABOUT": {
"TITLE": "Dodatki typu plugin",
"TABLE_HEADERS": {
"ID": "Identyfikator",
"NAME": "Nazwa",
"VERSION": "Wersja",
"VENDOR": "Sprzedawca",
"LICENSE": "Licencja",
"RUNTIME": "Środowisko uruchomieniowe",
"DESCRIPTION": "Opis"
}
"PRESELECT_VALIDATION": "Sprawdzanie poprawności wstępnego wyboru",
"ALL_PRESELECTED_USERS": "Wszyscy wstępnie wybrani użytkownicy",
"ALL_PRESELECTED_GROUPS": "Wszystkie wstępnie wybrane grupy",
"INVALID_USERS": "Nieprawidłowi użytkownicy",
"INVALID_GROUPS": "Nieprawidłowe grupy",
"READONLY_MODE": "Tryb tylko do odczytu"
},
"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"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Carregador",
"WEBSCRIPT": "Webscript",
"TAG": "Marca",
"PIPES": "Tubos",
"TRASHCAN": "Lixeira",
"SOCIAL": "Social",
"SETTINGS": "Configurações",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Exibição em árvore",
"ICONS": "Ícones",
"PEOPLE_GROUPS_CLOUD": "Nuvem de Pessoas/Grupo",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Cabeçalho de tarefa da nuvem",
"APP_NAME_INPUT": "Nome do aplicativo",
"TASK_ID_INPUT": "ID da tarefa",
"FIND_TASK_BUTTON": "Localizar tarefa"
},
"PEOPLE_CLOUD": "Componente da Nuvem de Pessoas",
"GROUPS_CLOUD": "Componente da Nuvem de Grupos",
"CONFIRM-DIALOG": "Caixa de diálogo de confirmação"
"CONFIRM-DIALOG": "Caixa de diálogo de confirmação",
"COMMUNITY": "Comunidade"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"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"
},
"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"
}
"PRESELECT_VALIDATION": "Validação de pré-seleção",
"ALL_PRESELECTED_USERS": "Todos os usuários pré-selecionados",
"ALL_PRESELECTED_GROUPS": "Todos os grupos pré-selecionados",
"INVALID_USERS": "Usuários inválidos",
"INVALID_GROUPS": "Grupos inválidos",
"READONLY_MODE": "Modo somente leitura"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Seleção Múltipla",
"TESTING_MODE": "Modo de Teste",
"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"
"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"
}
}
}
+31 -15
View File
@@ -78,6 +78,7 @@
"UPLOADER": "Загрузчик",
"WEBSCRIPT": "Webscript",
"TAG": "Метка",
"PIPES": "Каналы",
"TRASHCAN": "Корзина",
"SOCIAL": "Социальный",
"SETTINGS": "Параметры",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Иерархическое представление",
"ICONS": "Значки",
"PEOPLE_GROUPS_CLOUD": "Облако пользователей/групп",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Облако заголовков задач",
"APP_NAME_INPUT": "Название приложения",
"TASK_ID_INPUT": "Идентификатор задачи",
"FIND_TASK_BUTTON": "Найти задачу"
},
"PEOPLE_CLOUD": "Компонент облака «Пользователи»",
"GROUPS_CLOUD": "Компонент облака «Группы»",
"CONFIRM-DIALOG": "Диалоговое окно подтверждения"
"CONFIRM-DIALOG": "Диалоговое окно подтверждения",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -300,25 +308,33 @@
"APP_NAME": "Имя приложения",
"APP_FILTER_MODE": "Фильтровать по имени приложения",
"ROLE_FILTER_MODE": "Фильтровать по роли",
"PRESELECT_VALIDATION": "Проверка предварительного выбора"
},
"ABOUT": {
"TITLE": "Подключаемые модули",
"TABLE_HEADERS": {
"ID": "Идентификатор",
"NAME": "Имя",
"VERSION": "Версия",
"VENDOR": "Поставщик",
"LICENSE": "Лицензия",
"RUNTIME": "Среда выполнения",
"DESCRIPTION": "Описание"
}
"PRESELECT_VALIDATION": "Проверка предварительного выбора",
"ALL_PRESELECTED_USERS": "Все заранее заданные пользователи",
"ALL_PRESELECTED_GROUPS": "Все заранее заданные группы",
"INVALID_USERS": "Недействительные пользователи",
"INVALID_GROUPS": "Недействительные группы",
"READONLY_MODE": "Режим только для чтения"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Выбор нескольких",
"TESTING_MODE": "Режим тестирования",
"SELECTION_MODE": "Режим выбора",
"SELECTED_ROWS": "Выбранные ряды",
"TASK_DETAILS_REDIRECTION": "Отображать подробные сведения о задаче при нажатии на задачу",
"PROCESS_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": "Тип действия"
}
}
}
+44 -28
View File
@@ -24,8 +24,8 @@
"COMMENTS": "Visa kommentarer"
},
"PERSONAL-FILES": "Personliga filer",
"WARN-MULTIPLE-UPLOADS": "Visa varning för flera uppladningar",
"CUSTOM-PERMISSION-MESSAGE": "Aktivera anpassat behörighetersmeddelande",
"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": {
@@ -59,12 +59,12 @@
"NODE-SELECTOR": "Nodväljare",
"SITES": "Webbplatser",
"CONTENT_SERVICES": "Content Services",
"BREADCRUMB": "Brödsmula",
"BREADCRUMB": "Synlig sökväg",
"NOTIFICATIONS": "Aviseringar",
"TASK_LIST": "Uppgiftslista",
"PROCESS_LIST": "Processlista",
"PROCESS_CLOUD": "Activiti Cloud",
"CARD_VIEW": "CardView",
"CARD_VIEW": "Kortvy",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Inloggning",
"CUSTOM_SOURCES": "Anpassade källor",
@@ -75,14 +75,15 @@
"FORM": "Formulär",
"FORM_LIST": "Formulärlista",
"FORM_LOADING": "Formulär läses in",
"UPLOADER": "Uppladdare",
"UPLOADER": "Uppladdad av",
"WEBSCRIPT": "Webbskript",
"TAG": "Tagg",
"PIPES": "Pipes",
"TRASHCAN": "Papperskorg",
"SOCIAL": "Social",
"SETTINGS": "Inställningar",
"CONFIG-EDITOR": "Konfigurationseditor",
"OVERLAY_VIEWER": "Överdragsvisare",
"OVERLAY_VIEWER": "Överlagringssvisare",
"ABOUT": "Om",
"SEARCH": "Utvidgad sökning",
"EXTENDED_SEARCH_QUERY_BODY": "Utvidgad sökning med frågetext",
@@ -93,9 +94,16 @@
"TREE_VIEW": "Trädvy",
"ICONS": "Ikoner",
"PEOPLE_GROUPS_CLOUD": "Personer/grupp moln",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "Uppgiftsrubrik för moln eller molnkomponent",
"APP_NAME_INPUT": "Programnamn",
"TASK_ID_INPUT": "Uppgifts-ID",
"FIND_TASK_BUTTON": "Hitta uppgift"
},
"PEOPLE_CLOUD": "Personer moln-komponent",
"GROUPS_CLOUD": "Grupper moln-komponent",
"CONFIRM-DIALOG": "Bekräftelsedialog"
"CONFIRM-DIALOG": "Dialogruta för bekräftelse",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -109,7 +117,7 @@
}
},
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Flera val (med kryssrutor)",
"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",
@@ -177,8 +185,8 @@
"ADD_ROW": "Lägg till rad",
"REPLACE_ROWS": "Ersätt rader",
"REPLACE_COLUMNS": "Ersätt kolumner",
"LOAD_NODE": "Ladda upp nod",
"MULTISELECT": "Flera val",
"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": {
@@ -208,7 +216,7 @@
"FORM_DATA_MESSAGE": "Ange värden för att fylla formuläret",
"TYPEAHEAD_PLACEHOLDER": "Typeahead",
"RADIO_PLACEHOLDER": "Radioknapp",
"SELECT_PLACEHOLDER": "DropDown"
"SELECT_PLACEHOLDER": "Dropdown"
},
"LOGIN": {
"CONTENT_SERVICES": "Content Services",
@@ -224,12 +232,12 @@
"FACET_FIELDS": {
"TYPE": "1:Typ",
"SIZE": "2:Storlek",
"CREATOR": "3:Skapat av",
"MODIFIER": "4:Ändrat av",
"CREATOR": "3:Skapad av",
"MODIFIER": "4:Ändrad av",
"CREATED": "5:Skapad den"
},
"FACET_QUERIES": {
"MY_FACET_QUERIES": "Mina facet-förfrågningar",
"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",
@@ -300,25 +308,33 @@
"APP_NAME": "Programnamn",
"APP_FILTER_MODE": "Filterera på programnamn",
"ROLE_FILTER_MODE": "Filtrera på roll",
"PRESELECT_VALIDATION": "Förval validering"
},
"ABOUT": {
"TITLE": "Plugins",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "Namn",
"VERSION": "Version",
"VENDOR": "Säljare",
"LICENSE": "Licens",
"RUNTIME": "Runtime",
"DESCRIPTION": "Beskrivning"
}
"PRESELECT_VALIDATION": "Förval validering",
"ALL_PRESELECTED_USERS": "Alla förvalda användare",
"ALL_PRESELECTED_GROUPS": "Alla förvalda grupper",
"INVALID_USERS": "Ogiltiga användare",
"INVALID_GROUPS": "Ogiltiga grupper",
"READONLY_MODE": "Skrivskyddat läge"
},
"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"
"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"
}
}
}
+37 -21
View File
@@ -78,6 +78,7 @@
"UPLOADER": "上传程序",
"WEBSCRIPT": "Webscript",
"TAG": "标签",
"PIPES": "管道",
"TRASHCAN": "垃圾桶",
"SOCIAL": "社交",
"SETTINGS": "设置",
@@ -93,9 +94,16 @@
"TREE_VIEW": "树视图",
"ICONS": "图标",
"PEOPLE_GROUPS_CLOUD": "人员/一组云",
"TASK_HEADER_CLOUD": {
"COMPONENT_NAME": "云的任务标题",
"APP_NAME_INPUT": "应用程序名称",
"TASK_ID_INPUT": "任务 id",
"FIND_TASK_BUTTON": "查找任务"
},
"PEOPLE_CLOUD": "人员云组件",
"GROUPS_CLOUD": "组云组件",
"CONFIRM-DIALOG": "确认对话"
"CONFIRM-DIALOG": "确认对话",
"COMMUNITY": "Community"
},
"TRASHCAN": {
"ACTIONS": {
@@ -103,9 +111,9 @@
"RESTORE": "恢复"
},
"EMPTY_STATE": {
"TITLE": "“垃圾”为空",
"FIRST_TEXT": "删除的项目移动到“垃圾”。",
"SECOND_TEXT": "清空“垃圾”以永久删除项目。"
"TITLE": "回收站为空",
"FIRST_TEXT": "删除的项目已移至回收站。",
"SECOND_TEXT": "清空回收站以永久删除项目。"
}
},
"DOCUMENT_LIST": {
@@ -129,7 +137,7 @@
"COLUMNS": {
"DISPLAY_NAME": "显示名称",
"IS_LOCKED": "锁定",
"TAG": "标",
"TAG": "标",
"NODE_ID": "节点 ID",
"CREATED_BY": "创建者",
"CREATED_ON": "创建日期",
@@ -245,9 +253,9 @@
"RATING": "评分组件"
},
"TAG": {
"LIST": "列表标 Content Services",
"LIST": "列表标 Content Services",
"INSERT": "插入节点 ID",
"NODE_LIST": "标列表(按节点 ID 排序)"
"NODE_LIST": "标列表(按节点 ID 排序)"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "继承权限",
@@ -300,25 +308,33 @@
"APP_NAME": "应用程序名称",
"APP_FILTER_MODE": "按应用程序名称筛选",
"ROLE_FILTER_MODE": "按角色筛选",
"PRESELECT_VALIDATION": "预先选择验证"
},
"ABOUT": {
"TITLE": "插件",
"TABLE_HEADERS": {
"ID": "ID",
"NAME": "名称",
"VERSION": "版本",
"VENDOR": "供应商",
"LICENSE": "许可证",
"RUNTIME": "运行时",
"DESCRIPTION": "说明"
}
"PRESELECT_VALIDATION": "预先选择验证",
"ALL_PRESELECTED_USERS": "所有预选用户",
"ALL_PRESELECTED_GROUPS": "所有预选组",
"INVALID_USERS": "无效用户",
"INVALID_GROUPS": "无效组",
"READONLY_MODE": "Read-only(只读)模式"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "多重选择",
"TESTING_MODE": "测试模式",
"SELECTION_MODE": "选择模式",
"SELECTED_ROWS": "选定行",
"TASK_DETAILS_REDIRECTION": "单击任务时显示任务详情",
"PROCESS_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
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="adf-demo-app-container">
<div class="app-demo-app-container">
<router-outlet></router-outlet>
<router-outlet name="overlay"></router-outlet>
</div>
+3 -14
View File
@@ -7,22 +7,11 @@ router-outlet[name='overlay'] + * {
right: 0;
}
.adf-demo-app-container {
.app-demo-app-container {
height: 100%;
width: 100%;
}
@media (max-width: 425px) {
adf-content-node-selector {
.adf-content-node-selector-content-list {
.adf-datatable-cell {
display: none;
}
.adf-datatable-cell:first-child,
.adf-datatable-cell:nth-child(2) {
display: table-cell;
}
}
}
[dir='rtl'] .mat-icon {
transform: scale(-1, 1);
}
+50 -30
View File
@@ -17,17 +17,16 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FlexLayoutModule } from '@angular/flex-layout';
import { ChartsModule } from 'ng2-charts';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule, CoreAutomationService } from '@alfresco/adf-core';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule, CoreAutomationService, AuthBearerInterceptor } 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';
@@ -52,7 +51,6 @@ import { MetadataDialogAdapterComponent } from './components/files/metadata-dial
import { ThemePickerModule } from './components/theme-picker/theme-picker';
import { routing } from './app.routes';
import { ReactiveFormsModule } from '@angular/forms';
import { TaskAttachmentsComponent } from './components/process-service/task-attachments.component';
import { ProcessAttachmentsComponent } from './components/process-service/process-attachments.component';
import { SharedLinkViewComponent } from './components/shared-link-view/shared-link-view.component';
@@ -63,8 +61,6 @@ import { MonacoEditorModule } from 'ngx-monaco-editor';
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 } from '@alfresco/adf-process-services-cloud';
import { AppExtensionsModule } from './app-extension.module';
import { TreeViewSampleComponent } from './components/tree-view/tree-view-sample.component';
import { CloudLayoutComponent } from './components/cloud/cloud-layout.component';
@@ -72,6 +68,7 @@ import { AppsCloudDemoComponent } from './components/cloud/apps-cloud-demo.compo
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 { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-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';
@@ -80,23 +77,54 @@ import { CloudBreadcrumbsComponent } from './components/cloud/cloud-breadcrumb-c
import { CloudFiltersDemoComponent } from './components/cloud/cloud-filters-demo.component';
import { TemplateDemoComponent } from './components/template-list/template-demo.component';
import { PeopleGroupCloudDemoComponent } from './components/cloud/people-groups-cloud-demo.component';
import { CloudSettingsComponent } from './components/cloud/cloud-settings.component';
import { NestedMenuPositionDirective } from './components/cloud/directives/nested-menu-position.directive';
import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component';
import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/cloud-form-demo.component';
import { CommunityCloudComponent } from './components/cloud/community/community-cloud.component';
import { CommunityTasksCloudDemoComponent } from './components/cloud/community/community-task-cloud.component';
import { CommunityCloudFiltersDemoComponent } from './components/cloud/community/community-filters.component';
import { CommunityStartProcessCloudDemoComponent } from './components/cloud/community/community-start-process-cloud.component';
import { CommunityStartTaskCloudDemoComponent } from './components/cloud/community/community-start-task-cloud.component';
import { CommunityProcessDetailsCloudDemoComponent } from './components/cloud/community/community-process-details-cloud.component';
import { CommunityProcessesCloudDemoComponent } from './components/cloud/community/community-processes-cloud.component';
import { CommunityTaskDetailsCloudDemoComponent } from './components/cloud/community/community-task-details-cloud.component';
import { environment } from '../environments/environment';
import { AppCloudSharedModule } from './components/cloud/shared/cloud.shared.module';
import { DemoErrorComponent } from './components/error/demo-error.component';
import {
ProcessServicesCloudModule
} 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,
@@ -112,11 +140,11 @@ import { CommunityTaskDetailsCloudDemoComponent } from './components/cloud/commu
ExtensionsModule.forRoot(),
ThemePickerModule,
ChartsModule,
AppCloudSharedModule,
MonacoEditorModule.forRoot()
],
declarations: [
AppComponent,
LoginComponent,
LogoutComponent,
AppLayoutComponent,
HomeComponent,
@@ -140,6 +168,7 @@ import { CommunityTaskDetailsCloudDemoComponent } from './components/cloud/commu
SharedLinkViewComponent,
FormLoadingComponent,
DemoPermissionComponent,
DemoErrorComponent,
FormLoadingComponent,
ReportIssueComponent,
TreeViewSampleComponent,
@@ -148,6 +177,7 @@ import { CommunityTaskDetailsCloudDemoComponent } from './components/cloud/commu
TasksCloudDemoComponent,
ProcessesCloudDemoComponent,
TaskDetailsCloudDemoComponent,
TaskHeaderCloudDemoComponent,
CloudViewerComponent,
ProcessDetailsCloudDemoComponent,
StartTaskCloudDemoComponent,
@@ -156,19 +186,9 @@ import { CommunityTaskDetailsCloudDemoComponent } from './components/cloud/commu
CloudFiltersDemoComponent,
TemplateDemoComponent,
PeopleGroupCloudDemoComponent,
CloudSettingsComponent,
NestedMenuPositionDirective,
ConfirmDialogExampleComponent,
FormCloudDemoComponent,
ConfirmDialogExampleComponent,
CommunityCloudComponent,
CommunityTasksCloudDemoComponent,
CommunityCloudFiltersDemoComponent,
CommunityProcessesCloudDemoComponent,
CommunityStartProcessCloudDemoComponent,
CommunityStartTaskCloudDemoComponent,
CommunityProcessDetailsCloudDemoComponent,
CommunityTaskDetailsCloudDemoComponent
ConfirmDialogExampleComponent
],
providers: [
{
+48 -52
View File
@@ -17,9 +17,14 @@
import { ModuleWithProviders } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AuthGuard, AuthGuardEcm, ErrorContentComponent, AuthGuardBpm, AuthGuardSsoRoleService } 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';
@@ -52,16 +57,10 @@ import { ProcessDetailsCloudDemoComponent } from './components/cloud/process-det
import { TemplateDemoComponent } from './components/template-list/template-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 { CommunityTasksCloudDemoComponent } from './components/cloud/community/community-task-cloud.component';
import { CommunityCloudComponent } from './components/cloud/community/community-cloud.component';
import { CommunityStartProcessCloudDemoComponent } from './components/cloud/community/community-start-process-cloud.component';
import { CommunityStartTaskCloudDemoComponent } from './components/cloud/community/community-start-task-cloud.component';
import { CommunityProcessDetailsCloudDemoComponent } from './components/cloud/community/community-process-details-cloud.component';
import { CommunityProcessesCloudDemoComponent } from './components/cloud/community/community-processes-cloud.component';
import { CommunityTaskDetailsCloudDemoComponent } from './components/cloud/community/community-task-details-cloud.component';
import { DemoErrorComponent } from './components/error/demo-error.component';
import { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-cloud-demo.component';
export const appRoutes: Routes = [
{ path: 'login', component: LoginComponent },
{ path: 'login', loadChildren: 'app/components/login/login.module#AppLoginModule' },
{ path: 'logout', component: LogoutComponent },
{
path: 'settings',
@@ -70,8 +69,8 @@ export const appRoutes: Routes = [
{
path: 'files/:nodeId/view',
component: AppComponent,
canActivate: [ AuthGuardEcm ],
canActivateChild: [ AuthGuardEcm ],
canActivate: [AuthGuardEcm],
canActivateChild: [AuthGuardEcm],
outlet: 'overlay',
children: [
{
@@ -88,7 +87,7 @@ export const appRoutes: Routes = [
children: [
{
path: '',
loadChildren: 'app/components/blob-preview/blob-preview.module#BlobPreviewModule'
loadChildren: 'app/components/file-view/file-view.module#FileViewModule'
}
]
},
@@ -121,6 +120,15 @@ export const appRoutes: Routes = [
}
]
},
{
path: 'pipes',
children: [
{
path: '',
loadChildren: 'app/components/pipes/pipes.module#AppPipesModule'
}
]
},
{
path: 'card-view',
children: [
@@ -159,8 +167,7 @@ export const appRoutes: Routes = [
{
path: 'cloud',
canActivate: [AuthGuardSsoRoleService],
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403'},
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
children: [
{
path: '',
@@ -170,40 +177,18 @@ export const appRoutes: Routes = [
path: 'people-group-cloud',
component: PeopleGroupCloudDemoComponent
},
{
path: 'task-header-cloud',
component: TaskHeaderCloudDemoComponent
},
{
path: 'community',
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
}
]
loadChildren: 'app/components/cloud/community/community.module#AppCommunityModule'
},
{
path: ':appName',
canActivate: [AuthGuardSsoRoleService],
data: { clientRoles: ['appName'], roles: ['ACTIVITI_USER'], redirectUrl: '/error/403'},
data: { clientRoles: ['appName'], roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
children: [
{
path: '',
@@ -432,19 +417,30 @@ export const appRoutes: Routes = [
canActivate: [AuthGuardBpm],
loadChildren: 'app/components/process-list-demo/process-list.module#AppProcessListModule'
},
{
path: 'error/:id',
component: ErrorContentComponent
},
{
path: 'error/no-authorization',
component: ErrorContentComponent
},
{
path: '**',
redirectTo: 'error/404'
}
]
},
{
path: 'error',
component: AppLayoutComponent,
children: [
{
path: '',
redirectTo: '/error/404',
pathMatch: 'full'
},
{
path: ':id',
component: DemoErrorComponent
}
]
},
{
path: '**',
redirectTo: 'error/404'
}
];
@@ -1 +1,12 @@
<adf-about></adf-about>
<adf-about-github-link
[url]="url"
[version]="version">
</adf-about-github-link>
<adf-about-product-version>
</adf-about-product-version>
<adf-about-application-modules
[dependencies]="dependencies"
[showExtensions]="showExtensions">
</adf-about-application-modules>
@@ -16,6 +16,7 @@
*/
import { Component } from '@angular/core';
import { name, version, commit, dependencies } from '../../../../../package.json';
@Component({
selector: 'app-about-page',
@@ -24,6 +25,11 @@ import { Component } from '@angular/core';
})
export class AboutComponent {
url = `https://github.com/Alfresco/${name}/commits/${commit}`;
version = version;
dependencies = dependencies;
showExtensions = true;
constructor() {
}
@@ -1,64 +1,64 @@
<adf-sidenav-layout [sidenavMin]="70" [sidenavMax]="220" [stepOver]="780" [hideSidenav]="hideSidenav" [direction]="direction"
[expandedSidenav]="expandedSidenav" (expanded)="setState($event)" [position]="position">
<adf-sidenav-layout [sidenavMin]="70" [sidenavMax]="220" [stepOver]="780" [hideSidenav]="hideSidenav"
[expandedSidenav]="expandedSidenav" (expanded)="setState($event)" [position]="position" data-automation-id="sidenav-layout">
<adf-sidenav-layout-header>
<ng-template let-toggleMenu="toggleMenu">
<ng-template let-toggleMenu="toggleMenu" let-isMenuMinimized="isMenuMinimized">
<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)>
[tooltip]="tooltip | translate" [showSidenavToggle]="showMenu" [expandedSidenav]="!isMenuMinimized()"
[color]="color" [position]="position" (clicked)=toggleMenu($event)>
<div class="adf-app-layout-menu-spacer"></div>
<div class="app-layout-menu-spacer"></div>
<app-search-bar fxFlex="0 1 auto"></app-search-bar>
<div class="adf-header-delimiexpandedSidenavter"></div>
<div class="app-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>
<button data-automation-id="language-menu-button" mat-icon-button [matMenuTriggerFor]="langMenu">
<mat-icon>language</mat-icon>
</button>
<mat-menu #langMenu="matMenu" class="adf-menu">
<mat-menu #langMenu="matMenu" class="app-menu">
<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>
<adf-sidenav-layout-navigation>
<ng-template let-isMenuMinimized="isMenuMinimized">
<mat-nav-list class="adf-sidenav-linklist">
<mat-nav-list class="app-sidenav-linklist">
<ng-container *ngFor="let link of links">
<a appNestedMenuPosition mat-list-item #appMenuTrigger *ngIf="link.children" [attr.data-automation-id]="link.title | translate"
class="adf-sidenav-link" [matMenuTriggerFor]="nestedMenu" [menuMinimized]="isMenuMinimized()"
[matMenuTriggerData]="{links: link.children}">
<ng-container *ngIf="link.children">
<mat-list-item (click)="trigger.openMenu()" [attr.data-automation-id]="link.title | translate" class="app-sidenav-link">
<mat-icon matListIcon>{{link.icon}}</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">{{link.title | translate }}</span>
<mat-icon class="app-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>
<mat-icon matListIcon class="adf-sidenav-menu-icon">{{link.icon}}</mat-icon>
<div class="adf-sidenav-menu-label" *ngIf="!isMenuMinimized()">
{{link.title | translate }}</div>
<mat-icon class="adf-menu-expand-icon">arrow_right</mat-icon>
</a>
<a mat-list-item *ngIf="!link.children" [attr.data-automation-id]="link.title | translate"
class="adf-sidenav-link" [routerLink]="link.href" routerLinkActive="active"
[routerLinkActiveOptions]="{ exact: true }">
<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>
<ng-container *ngIf="!link.children">
<mat-list-item [routerLink]="link.href"
routerLinkActive="app-sidenav-link--active" [routerLinkActiveOptions]="{ exact: true }"
[attr.data-automation-id]="link.title | translate" class="app-sidenav-link">
<mat-icon matListIcon >{{link.icon}}</mat-icon>
<span matLine *ngIf="!isMenuMinimized()">{{link.title | translate }}</span>
</mat-list-item>
</ng-container>
</ng-container>
<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>
<mat-list-item adf-logout [enableRedirect]="enableRedirect" redirectUri="/logout" class="app-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>
@@ -73,15 +73,16 @@
</adf-sidenav-layout>
<app-log></app-log>
<mat-menu #nestedMenu="matMenu" [xPosition]="'before'">
<mat-menu #nestedMenu="matMenu" xPosition="after" class="nestedMenu">
<ng-template matMenuContent let-links="links">
<button mat-menu-item *ngFor="let link of links"
class="app-sidenav-link"
[attr.data-automation-id]="link.title | translate"
routerLinkActive="active"
routerLinkActive="app-sidenav-link--active"
[routerLink]="link.href"
[routerLinkActiveOptions]="{ exact: true }">
<mat-icon matListIcon class="adf-sidenav-menu-icon">{{link.icon}}</mat-icon>
<mat-icon matListIcon>{{link.icon}}</mat-icon>
{{ link.title | translate }}
</button>
</ng-template>
@@ -1,9 +1,6 @@
@mixin adf-app-layout-theme($theme) {
@mixin 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,80 +14,32 @@
}
}
.adf-app-layout-toolbar {
z-index: 998;
position: relative;
overflow: visible !important;
}
.adf-app-layout {
.app-layout {
display: flex;
flex: 1;
min-width: $minimumAppWidth;
height: 100%;
.adf-nav-container {
display: block;
min-width: $minimumAppWidth;
height: 100%;
.app-sidenav-link--active {
color: mat-color($primary);
}
.adf-sidenav-linklist {
height: 100%;
overflow: auto;
padding-bottom: 8px;
box-sizing: border-box;
}
.adf-sidenav-link {
&.adf-active {
color: mat-color($primary);
}
.adf-sidenav-menu-icon {
margin-right: 20px;
font-size: 14px;
}
.adf-sidenav-menu-label {
.app-sidenav-link {
.mat-list-text {
font-size: 14px;
white-space: nowrap;
min-width: 120px;
padding: 0 10px;
}
}
.mat-nav-list .mat-list-item.adf-sidenav-link {
.mat-nav-list .mat-list-item.app-sidenav-link {
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) {
@@ -98,7 +47,7 @@
display: none;
}
.adf-menu {
.app-menu {
padding-top: 0;
}
}
@@ -113,4 +62,8 @@
flex: auto;
}
}
[dir='rtl'] .app-sidenav-link__expand-button {
transform: rotateY(180deg);
}
}
@@ -15,20 +15,22 @@
* limitations under the License.
*/
import { Component, ViewEncapsulation, OnInit } from '@angular/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',
styleUrls: ['app-layout.component.scss'],
host: {
'class': 'adf-app-layout'
'class': 'app-layout'
},
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' },
@@ -46,12 +48,15 @@ export class AppLayoutComponent implements OnInit {
{ 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: '/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: '/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: '/cloud/task-header-cloud', icon: 'cloud', title: 'APP_LAYOUT.TASK_HEADER_CLOUD.COMPONENT_NAME' }
]
},
{ 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' },
@@ -72,6 +77,7 @@ export class AppLayoutComponent implements OnInit {
{ 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' },
@@ -107,31 +113,52 @@ 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.userPreferencesService.select('textOrientation').subscribe((textOrientation) => {
this.direction = textOrientation;
});
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(
private userPreferences: UserPreferencesService,
private config: AppConfigService,
private alfrescoApiService: AlfrescoApiService,
private userPreferencesService: UserPreferencesService,
private headerService: HeaderDataService) {
if (this.alfrescoApiService.getInstance().isOauthConfiguration()) {
this.enableRedirect = false;
}
this.userPreferencesService.set('textOrientation', this.direction);
}
setState(state) {
@@ -1,8 +1,8 @@
<div class="main-content">
<mat-tab-group>
<mat-tab label="Form">
<div class="adf-form-container">
<mat-tab label="Form" class="form-cloud-render">
<div class="app-form-container">
<adf-cloud-form
[showRefreshButton]="false"
[form]="form"
@@ -11,29 +11,29 @@
</adf-cloud-form>
</div>
<div class="adf-console" #console>
<div class="app-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">
<mat-tab label="Editor" class="form-cloud-editor">
<ngx-monaco-editor
id="adf-form-config-editor"
class="adf-form-config-editor"
class="app-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
<div class="app-form-editor-buttons">
<button mat-raised-button id="app-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
<button mat-raised-button id="app-form-config-clear" (click)="onClearFormConfig()" color="primary">Clear
form config
</button>
</div>
<div class="adf-upload-config-button">
<div class="app-upload-config-button">
<a mat-raised-button color="primary" >
<mat-icon>file_upload</mat-icon>
<label for="upload-config-file">Upload JSON File</label>
@@ -1,17 +1,17 @@
.adf-form-container {
.app-form-container {
padding: 10px;
}
.adf-main-content {
.app-main-content {
padding: 0 15px;
}
.adf-card-view {
.app-card-view {
width: 30%;
display: inline-block;
}
.adf-console {
.app-console {
width: 60%;
display: inline-block;
vertical-align: top;
@@ -31,16 +31,16 @@
}
}
.adf-form-config-editor {
.app-form-config-editor {
height: 500px !important;
}
.adf-form-editor-buttons {
.app-form-editor-buttons {
display: flex;
justify-content: space-evenly;
}
.adf-upload-config-button {
.app-upload-config-button {
display: flex;
justify-content: center;
@@ -16,10 +16,9 @@
*/
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormFieldModel, NotificationService, FormRenderingService } from '@alfresco/adf-core';
import { FormCloud, FormCloudService, UploadCloudWidgetComponent } from '@alfresco/adf-process-services-cloud';
import { FormFieldModel, NotificationService, CoreAutomationService, FormModel } from '@alfresco/adf-core';
import { FormCloudService } from '@alfresco/adf-process-services-cloud';
import { Subscription } from 'rxjs';
import { formDefinition } from './demo-form';
@Component({
templateUrl: 'cloud-form-demo.component.html',
@@ -27,7 +26,7 @@ import { formDefinition } from './demo-form';
})
export class FormCloudDemoComponent implements OnInit, OnDestroy {
form: FormCloud;
form: FormModel;
errorFields: FormFieldModel[] = [];
formConfig: string;
editor: any;
@@ -44,9 +43,8 @@ export class FormCloudDemoComponent implements OnInit, OnDestroy {
constructor(
private notificationService: NotificationService,
private formRenderingService: FormRenderingService,
private formService: FormCloudService) {
this.formRenderingService.setComponentTypeResolver('upload', () => UploadCloudWidgetComponent, true);
private formService: FormCloudService,
private automationService: CoreAutomationService) {
}
logErrors(errorFields: FormFieldModel[]) {
@@ -54,7 +52,7 @@ export class FormCloudDemoComponent implements OnInit, OnDestroy {
}
ngOnInit() {
this.formConfig = formDefinition;
this.formConfig = JSON.stringify(this.automationService.forms.getFormCloudDefinition());
this.parseForm();
}
@@ -1,96 +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.
*/
export const formDefinition = `{
"formRepresentation": {
"id": "text-form",
"name": "test-start-form",
"version": 0,
"description": "",
"formDefinition": {
"tabs": [],
"fields": [
{
"id": "1511517333638",
"type": "container",
"fieldType": "ContainerRepresentation",
"name": "Label",
"tab": null,
"numberOfColumns": 2,
"fields": {
"1": [
{
"fieldType": "FormFieldRepresentation",
"id": "texttest",
"name": "texttest",
"type": "text",
"value": null,
"required": false,
"placeholder": "text",
"params": {
"existingColspan": 2,
"maxColspan": 6,
"inputMaskReversed": true,
"inputMask": "0#",
"inputMaskPlaceholder": "(0-9)"
}
}
],
"2": [{
"fieldType": "AttachFileFieldRepresentation",
"id": "attachfiletest",
"name": "attachfiletest",
"type": "upload",
"required": true,
"colspan": 2,
"placeholder": "attachfile",
"params": {
"existingColspan": 2,
"maxColspan": 2,
"fileSource": {
"serviceId": "local-file",
"name": "Local File"
},
"multiple": true,
"link": false
},
"visibilityCondition": {
}
}]
}
}
],
"outcomes": [],
"metadata": {
"property1": "value1",
"property2": "value2"
},
"variables": [
{
"name": "variable1",
"type": "string",
"value": "value1"
},
{
"name": "variable2",
"type": "string",
"value": "value2"
}
]
}
}}
`;
@@ -1,5 +0,0 @@
<adf-viewer
[showViewer]="true"
[blobFile]="content"
[displayName]="name">
</adf-viewer>
@@ -8,7 +8,7 @@
<h2>1. Standalone (fixed size)</h2>
<small>Component is used in the fixed-width layout</small>
<div class="adf-breadcrumb-container-restricted">
<div class="app-breadcrumb-container-restricted">
<adf-breadcrumb root="APP.PERSONAL-FILES" [target]="documentList" [folderNode]="documentList.folderNode">
</adf-breadcrumb>
</div>
@@ -57,7 +57,7 @@
Buttons do nothing and are present for layout purposes.
</small>
<adf-toolbar class="adf-full-content-toolbar">
<adf-toolbar class="app-full-content-toolbar">
<adf-toolbar-title fxFlex="0 1 auto">
<adf-breadcrumb root="APP.PERSONAL-FILES" [target]="documentList" [folderNode]="documentList.folderNode">
</adf-breadcrumb>
@@ -79,11 +79,11 @@
<h2>6. Dropdown Breadcrumb</h2>
<adf-dropdown-breadcrumb fxHide fxShow.lt-sm="true"
class="adf-files-breadcrumb"
class="app-files-breadcrumb"
[target]="documentList">
</adf-dropdown-breadcrumb>
<div class="adf-content">
<div class="app-content">
<adf-document-list #documentList currentFolderId="-my-">
</adf-document-list>
</div>
@@ -1,20 +1,13 @@
.adf-breadcrumb-container-restricted {
.app-breadcrumb-container-restricted {
width: 800px;
max-width: 800px;
border: 1px solid lightgray;
}
.adf-content {
.app-content {
margin: 10px 0;
}
.adf-full-content-toolbar {
.adf-toolbar-title {
display: flex;
width: 100%;
.adf-breadcrumb {
width: 0;
}
}
.app-full-content-toolbar .app-toolbar-title .app-breadcrumb {
width: 0;
}
@@ -1,27 +1,43 @@
<div class="adf-main-content">
<div class="app-main-content">
<h1>CardView Component</h1>
<mat-card class="adf-card-view">
<mat-card class="app-card-view">
<adf-card-view
[properties]="properties"
[editable]="true">
[editable]="isEditable"
[displayClearAction]="showClearDateAction"
[displayNoneOption]="showNoneOption">
</adf-card-view>
</mat-card>
<div class="adf-console" #console>
<div class="app-console" #console>
<h3>Changes log:</h3>
<p *ngFor="let log of logs">{{ log }}</p>
</div>
</div>
<p class="adf-toggle">
<p class="app-toggle">
<mat-slide-toggle
id="adf-toggle-editable"
id="app-toggle-editable"
[color]="'primary'"
(change)="toggleEditable()"
[checked]="isEditable">
Editable
</mat-slide-toggle><br>
<mat-slide-toggle
id="app-toggle-clear-date"
[color]="'primary'"
(change)="toggleClearDate()"
[checked]="showClearDateAction">
Show clear date icon
</mat-slide-toggle><br>
<mat-slide-toggle
id="app-toggle-none-option"
[color]="'primary'"
(change)="toggleNoneOption()"
[checked]="showNoneOption">
Show none option
</mat-slide-toggle>
</p>
@@ -1,13 +1,13 @@
.adf-main-content {
.app-main-content {
padding: 0 15px;
}
.adf-card-view {
.app-card-view {
width: 30%;
display: inline-block;
}
.adf-console {
.app-console {
width: 60%;
display: inline-block;
vertical-align: top;
@@ -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,23 +27,31 @@ import {
CardViewSelectItemModel,
CardViewUpdateService,
CardViewMapItemModel,
UpdateNotification
UpdateNotification,
DecimalNumberPipe,
CardViewArrayItemModel
} 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();
}
@@ -53,7 +61,14 @@ export class CardViewComponent implements OnInit {
}
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() {
@@ -63,8 +78,43 @@ export class CardViewComponent implements OnInit {
value: 'Spock',
key: 'name',
default: 'default bar',
editable: this.isEditable
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Protected value',
value: 'Spock',
key: 'name',
default: 'default bar',
multiline: false,
icon: 'icon',
editable: false
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Multiline',
value: 'Spock',
key: 'name',
default: 'default bar',
multiline: true,
icon: 'icon',
editable: this.isEditable
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Default Value',
value: '',
key: 'name',
default: 'default bar',
multiline: false,
icon: 'icon',
editable: this.isEditable
}),
new CardViewTextItemModel({
label: 'CardView Text Item - Multivalue (chips)',
value: [1, 2, 3],
key: 'name',
default: 'default bar',
multiline: true,
multivalued: true,
icon: 'icon',
editable: this.isEditable
}),
new CardViewDateItemModel({
@@ -72,7 +122,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({
@@ -80,7 +130,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({
@@ -90,6 +140,13 @@ export class CardViewComponent implements OnInit {
default: false,
editable: this.isEditable
}),
new CardViewBoolItemModel({
label: 'Agree to all terms and conditions',
value: true,
key: 'boolean',
default: false,
editable: this.isEditable
}),
new CardViewIntItemModel({
label: 'CardView Int Item',
value: 213,
@@ -102,13 +159,20 @@ export class CardViewComponent implements OnInit {
value: 9.9,
key: 'float',
default: 0.0,
editable: this.isEditable,
pipes: [{ pipe: this.decimalNumberPipe }]
}),
new CardViewKeyValuePairsItemModel({
label: 'CardView Key-Value Pairs Item',
value: [{ name: 'hey', value: 'you' }, { name: 'hey', value: 'you' }],
key: 'key-value-pairs',
editable: this.isEditable
}),
new CardViewKeyValuePairsItemModel({
label: 'CardView Key-Value Pairs Item',
value: [],
value: [{ name: 'hey', value: 'you' }, { name: 'hey', value: 'you' }],
key: 'key-value-pairs',
editable: this.isEditable
editable: false
}),
new CardViewSelectItemModel({
label: 'CardView Select Item',
@@ -130,9 +194,24 @@ export class CardViewComponent implements OnInit {
default: 'click here',
editable: this.isEditable,
clickable: true,
icon: 'close',
clickCallBack: () => {
this.respondToCardClick();
}
}),
new CardViewArrayItemModel({
label: 'CardView Array of items',
value: of([
{ icon: 'directions_bike', value: 'Zlatan' },
{ icon: 'directions_bike', value: 'Lionel Messi' },
{ value: 'Mohamed', directions_bike: 'save' },
{ value: 'Ronaldo' }
]),
key: 'array',
icon: 'edit',
default: 'Empty',
noOfItemsToDisplay: 2,
editable: this.isEditable
})
];
}
@@ -153,6 +232,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,8 +1,8 @@
<adf-toolbar>
<div fxLayout="column" fxLayoutAlign="center">
<div fxLayout="row">
<div class="adf-app-crumb">{{appName + ' >'}} </div>
<div class="adf-filter-crumb"> {{filterName | translate}}</div>
<div class="app-crumb">{{appName + ' >'}} </div>
<div class="app-filter-crumb"> {{filterName | translate}}</div>
</div>
</div>
</adf-toolbar>
@@ -1,8 +1,8 @@
.adf-app-crumb {
.app-app-crumb {
opacity: 0.5;
}
.adf-filter-crumb {
.app-filter-crumb {
opacity: 0.8;
margin-left: 5px;
}
@@ -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;
appName: string;
filterName: string;
constructor(private route: ActivatedRoute) {}
constructor(private route: ActivatedRoute) { }
ngOnInit() {
this.route.parent.params.subscribe((
params) => {
this.appName = params.appName;
});
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;
}
});
}
}
@@ -1,3 +1,3 @@
adf-cloud-task-filters .adf-filters__entry, adf-cloud-process-filters .adf-filters__entry {
app-cloud-task-filters .app-filters__entry, app-cloud-process-filters .app-filters__entry {
padding-left: 0 !important;
}
@@ -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,15 +63,11 @@ export class CloudFiltersDemoComponent implements OnInit {
}
onTaskFilterSelected(filter) {
this.cloudLayoutService.setCurrentTaskFilterParam({id: filter.id});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: currentFilter });
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: filter });
}
onProcessFilterSelected(filter) {
this.cloudLayoutService.setCurrentProcessFilterParam({id: filter.id});
const currentFilter = Object.assign({}, filter);
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: currentFilter });
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: filter });
}
onTaskFilterOpen(): boolean {
@@ -1,4 +1,4 @@
<mat-tab-group fxFill class="adf-cloud-layout-tab-body">
<mat-tab-group fxFill class="app-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">
@@ -1,7 +1,7 @@
.adf-cloud-layout-overflow {
.app-cloud-layout-overflow {
overflow: auto;
}
.adf-cloud-layout-tab-body .mat-tab-body-wrapper {
.app-cloud-layout-tab-body .mat-tab-body-wrapper {
height: 100%;
}
@@ -1,24 +0,0 @@
<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]="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>
</div>
@@ -1,7 +0,0 @@
.adf-settings-container {
padding: 20px 30px;
}
.adf-settings-container mat-form-field {
max-width: 200px;
}
@@ -15,32 +15,24 @@
* limitations under the License.
*/
import { Component, OnDestroy, OnInit } from '@angular/core';
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Subscription } from 'rxjs';
import { Params } from '@angular/router/src/shared';
@Component({
selector: 'app-cloud-viewer',
templateUrl: './cloud-viewer.component.html'
})
export class CloudViewerComponent implements OnInit, OnDestroy {
export class CloudViewerComponent implements OnInit {
nodeId: string;
private sub: Subscription;
constructor(private route: ActivatedRoute) {
}
ngOnInit() {
this.sub = this.route.params.subscribe((params: Params) => {
this.route.params.subscribe((params: Params) => {
this.nodeId = params['nodeId'];
});
}
ngOnDestroy() {
this.sub.unsubscribe();
}
}
@@ -1,4 +1,4 @@
<mat-tab-group fxFill class="adf-cloud-layout-tab-body">
<mat-tab-group fxFill class="app-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">
@@ -21,20 +21,18 @@ import { CloudLayoutService } from '../services/cloud-layout.service';
@Component({
templateUrl: './community-cloud.component.html',
styles: [`.adf-cloud-layout-overflow {
styles: [`.app-cloud-layout-overflow {
overflow: auto;
}
.adf-cloud-layout-tab-body .mat-tab-body-wrapper {
.app-cloud-layout-tab-body .mat-tab-body-wrapper {
height: 100% !important;
}
`],
encapsulation: ViewEncapsulation.None
encapsulation: ViewEncapsulation.None
})
export class CommunityCloudComponent {
appName: string = '';
constructor(
private router: Router,
private route: ActivatedRoute,
@@ -7,7 +7,6 @@
</mat-expansion-panel-header>
<adf-cloud-task-filters
*ngIf="expandTaskFilter"
[appName]="appName"
[showIcons]="true"
[filterParam]="currentTaskFilter$ | async"
(filterClick)="onTaskFilterSelected($event)">
@@ -22,7 +21,6 @@
</mat-expansion-panel-header>
<adf-cloud-process-filters
*ngIf="expandProcessFilter"
[appName]="appName"
[showIcons]="true"
[filterParam]="currentProcessFilter$ | async"
(filterClick)="onProcessFilterSelected($event)">
@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, ViewEncapsulation, Input, OnInit } from '@angular/core';
import { Component, ViewEncapsulation, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Router, ActivatedRoute } from '@angular/router';
import { CloudLayoutService } from '../services/cloud-layout.service';
@@ -26,9 +26,6 @@ import { CloudLayoutService } from '../services/cloud-layout.service';
})
export class CommunityCloudFiltersDemoComponent implements OnInit {
@Input()
appName: string = 'community';
currentTaskFilter$: Observable<any>;
currentProcessFilter$: Observable<any>;
@@ -45,8 +42,9 @@ export class CommunityCloudFiltersDemoComponent 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;
@@ -3,22 +3,20 @@
<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>
<h4 data-automation-id="process-details-header">Simple page to show the process instance: {{ processInstanceId }}</h4>
<div class="adf-process-cloud-container">
<div class="app-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="adf-cloud-layout-overflow"
[appName]="''"
class="app-cloud-layout-overflow"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
#taskCloud>
</adf-cloud-task-list>
<adf-cloud-process-header
class="adf-process-cloud-header"
[appName]="''"
class="app-process-cloud-header"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -1,4 +1,4 @@
.adf {
.app {
&-process-cloud-container {
display: flex;
}
@@ -25,16 +25,11 @@ import { ActivatedRoute, Router } from '@angular/router';
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() {
@@ -1,7 +1,6 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-process-filter
[id]="filterId"
[appName]="'community'"
[filterProperties]="processFilterProperties.filterProperties"
[sortProperties]="processFilterProperties.sortProperties"
[actions]="processFilterProperties.actions"
@@ -11,8 +10,7 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list #processCloud
fxFlex
[appName]="''"
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
[processDefinitionKey]="editedFilter.processDefinitionKey"
@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, ViewChild, OnInit } from '@angular/core';
import { Component, ViewChild, OnInit, OnDestroy } from '@angular/core';
import {
ProcessListCloudComponent,
ProcessFilterCloudModel,
@@ -27,12 +27,14 @@ import {
import { ActivatedRoute, Router } from '@angular/router';
import { UserPreferencesService, AppConfigService } from '@alfresco/adf-core';
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-processes-cloud.component.html'
})
export class CommunityProcessesCloudDemoComponent implements OnInit {
export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
static PROCESS_FILTER_PROPERTY_KEYS = 'adf-edit-process-filter';
@@ -42,9 +44,7 @@ export class CommunityProcessesCloudDemoComponent implements OnInit {
@ViewChild('processFiltersCloud')
processFiltersCloud: ProcessFiltersCloudComponent;
appName: string = '';
isFilterLoaded: boolean;
filterId: string = '';
sortArray: any = [];
selectedRow: any;
@@ -56,6 +56,8 @@ export class CommunityProcessesCloudDemoComponent implements OnInit {
editedFilter: ProcessFilterCloudModel;
private onDestroy$ = new Subject<boolean>();
constructor(
private route: ActivatedRoute,
private router: Router,
@@ -63,7 +65,10 @@ export class CommunityProcessesCloudDemoComponent implements OnInit {
private userPreference: UserPreferencesService,
private processFilterCloudService: ProcessFilterCloudService,
private appConfig: AppConfigService) {
const properties = this.appConfig.get<Array<any>>(CommunityProcessesCloudDemoComponent.PROCESS_FILTER_PROPERTY_KEYS);
const properties = this.appConfig.get<Array<any>>(
CommunityProcessesCloudDemoComponent.PROCESS_FILTER_PROPERTY_KEYS
);
if (properties) {
this.processFilterProperties = properties;
}
@@ -71,9 +76,6 @@ export class CommunityProcessesCloudDemoComponent implements OnInit {
ngOnInit() {
this.isFilterLoaded = false;
this.route.parent.params.subscribe((params) => {
this.appName = params.appName;
});
this.route.queryParams.subscribe((params) => {
if (Object.keys(params).length > 0) {
@@ -85,14 +87,23 @@ export class CommunityProcessesCloudDemoComponent implements OnInit {
}
});
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]);
});
this.processFilterCloudService
.getProcessFilters('community')
.subscribe((filters: ProcessFilterCloudModel[]) => {
this.onFilterChange(filters[0]);
});
}
setCurrentSettings(settings) {
@@ -103,7 +114,7 @@ export class CommunityProcessesCloudDemoComponent implements OnInit {
}
}
onChangePageSize(event) {
onChangePageSize(event: Pagination) {
this.userPreference.paginationSize = event.maxItems;
}
@@ -111,13 +122,18 @@ export class CommunityProcessesCloudDemoComponent implements OnInit {
this.selectedRows = [];
}
onRowClick(processInstanceId) {
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) {
@@ -1,6 +1,5 @@
<adf-cloud-start-process
[name]="processName"
[appName]="''"
(error)="openSnackMessage($event)"
(success)="onStartProcessSuccess()"
(cancel)="onCancelStartProcess()">
@@ -1,5 +1,4 @@
<adf-cloud-start-task
[appName]="''"
(error)="openSnackMessage($event)"
(success)="onStartTaskSuccess()"
(cancel)="onCancelStartTask()">
@@ -1,7 +1,6 @@
<div fxLayout="column" fxFill fxLayoutGap="2px">
<adf-cloud-edit-task-filter
[id]="filterId"
[appName]="'community'"
[filterProperties]="taskFilterProperties.filterProperties"
[sortProperties]="taskFilterProperties.sortProperties"
[actions]="taskFilterProperties.actions"
@@ -11,8 +10,7 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-task-list #taskCloud
fxFlex
[appName]="''"
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[processDefinitionId]="editedFilter.processDefinitionId"
[processInstanceId]="editedFilter.processInstanceId"
[name]="editedFilter.taskName"
@@ -15,11 +15,14 @@
* limitations under the License.
*/
import { Component, ViewChild, OnInit } from '@angular/core';
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',
@@ -28,8 +31,7 @@ import { CloudLayoutService } from '../services/cloud-layout.service';
}
`]
})
export class CommunityTasksCloudDemoComponent implements OnInit {
export class CommunityTasksCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
static TASK_FILTER_PROPERTY_KEYS = 'adf-edit-task-filter';
@@ -51,6 +53,8 @@ export class CommunityTasksCloudDemoComponent implements OnInit {
selectionMode: string;
taskDetailsRedirection: boolean;
private onDestroy$ = new Subject<boolean>();
constructor(
private cloudLayoutService: CloudLayoutService,
private route: ActivatedRoute,
@@ -79,14 +83,23 @@ export class CommunityTasksCloudDemoComponent implements OnInit {
}
});
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.taskFilterCloudService.getTaskListFilters('community').subscribe( (filters: TaskFilterCloudModel[]) => {
this.onFilterChange(filters[0]);
});
this.taskFilterCloudService
.getTaskListFilters('community')
.subscribe((filters: TaskFilterCloudModel[]) => {
this.onFilterChange(filters[0]);
});
}
setCurrentSettings(settings) {
@@ -98,7 +111,7 @@ export class CommunityTasksCloudDemoComponent implements OnInit {
}
}
onChangePageSize(event) {
onChangePageSize(event: Pagination) {
this.userPreference.paginationSize = event.maxItems;
}
@@ -106,7 +119,7 @@ export class CommunityTasksCloudDemoComponent implements OnInit {
this.selectedRows = [];
}
onRowClick(taskId) {
onRowClick(taskId: string) {
if (!this.multiselect && this.selectionMode !== 'multiple' && this.taskDetailsRedirection) {
this.router.navigate([`/cloud/community/task-details/${taskId}`]);
}
@@ -1,10 +1,9 @@
<h4 data-automation-id="task-details-header">Simple page to show the taskId: {{ taskId }} of the app: {{ appName }}</h4>
<h4 data-automation-id="task-details-header">Simple page to show the taskId: {{ taskId }}</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()"
@@ -14,7 +13,6 @@
</adf-cloud-task-form>
</div>
<adf-cloud-task-header fxFlex
[appName]="''"
[taskId]="taskId">
</adf-cloud-task-header>
</div>
@@ -1,11 +1,11 @@
.adf {
.app {
&-task-detail-container {
display: flex;
}
&-task-tiitle {
&-task-title {
margin-left:15px;
}
@@ -26,7 +26,6 @@ import { NotificationService } from '@alfresco/adf-core';
export class CommunityTaskDetailsCloudDemoComponent {
taskId: string;
appName: string;
constructor(
private route: ActivatedRoute,
@@ -36,13 +35,10 @@ export class CommunityTaskDetailsCloudDemoComponent {
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;
return this.taskId !== undefined;
}
goBack() {
@@ -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 {}
@@ -1,43 +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 { Directive, HostListener, Input } from '@angular/core';
@Directive({
selector: '[appNestedMenuPosition]'
})
export class NestedMenuPositionDirective {
@Input()
menuMinimized: string;
nestedMenuLeftPadding: string = '220px';
@HostListener('click', ['$event'])
onClick() {
const overlayContainer = (document.querySelector('.cdk-overlay-connected-position-bounding-box') as HTMLElement);
(document.querySelector('.cdk-overlay-pane') as HTMLElement).style.width = '100%';
if (!this.menuMinimized) {
setTimeout(() => {
overlayContainer.style.left = this.nestedMenuLeftPadding;
});
}
}
}
@@ -1,4 +1,4 @@
<mat-card class="adf-section">
<mat-card class="app-section">
<mat-card-title>
{{ 'APP_LAYOUT.PEOPLE_CLOUD' | translate}}
</mat-card-title>
@@ -6,56 +6,70 @@
<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 }}">{{
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-people-single-mode" value="single">{{
'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 }}">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-people-multiple-mode" value="multiple">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="people-control-options">
<div class="app-people-control-options">
<mat-radio-group (change)="onChangePeopleFilterMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="appName">{{
<mat-radio-button checked="true" class="app-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">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-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-form-field *ngIf="!isPeopleAppNameSelected()" class="app-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" />
<input matInput (input)="setPeopleRoles($event.target?.value)" data-automation-id="app-people-roles-input" />
</mat-form-field>
<mat-form-field *ngIf="isPeopleAppNameSelected()" class="adf-preselect-value">
<mat-form-field *ngIf="isPeopleAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setPeopleAppName($event)" data-automation-id="adf-people-app-input" />
<input matInput (input)="setPeopleAppName($event.target?.value)" data-automation-id="app-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 class="app-preselect-value-full">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.PRESELECTED_VALUE' | translate }} {{ DEFAULT_PEOPLE_PLACEHOLDER }}</mat-label>
<input matInput (input)="setPeoplePreselectValue($event.target?.value)" data-automation-id="app-people-preselect-input" />
</mat-form-field>
<mat-checkbox class="adf-preselect-value" (change)="onChangePeopleValidation($event)">{{
<mat-checkbox class="app-preselect-value" (change)="onChangePeopleValidation($event)">{{
'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }}</mat-checkbox>
<mat-checkbox data-automation-id="app-people-readonly" value="{{ peopleReadonly }}" (change)="onChangePeopleReadonly($event)">{{
'PEOPLE_GROUPS_CLOUD.READONLY_MODE' | translate }}</mat-checkbox>
</div>
<div>
<adf-cloud-people
[preSelectUsers]="preSelectUsers"
[readOnly]="peopleReadonly"
[validate]="peoplePreselectValidation"
[appName]="peopleAppName"
[roles]="peopleRoles"
[appName]="peopleAppName"
[title]="'ADF_TASK_LIST.START_TASK.FORM.LABEL.ASSIGNEE'"
[mode]="peopleMode"></adf-cloud-people>
[mode]="peopleMode"
(warning)="onUsersWarning($event)"></adf-cloud-people>
</div>
<div class="adf-people-list" *ngIf="canShowPeopleList()">
<div class="app-people-list" *ngIf="peopleMode === 'multiple'">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.ALL_PRESELECTED_USERS' | translate }}</h4>
<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 }}
{{item | fullName}}
</mat-list-item>
</mat-list>
<div *ngIf="invalidUsers.length > 0">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.INVALID_USERS' | translate }} <mat-icon>warning</mat-icon> </h4>
<mat-list role="list">
<mat-list-item *ngFor="let invalidUser of invalidUsers" role="listitem">
<mat-icon mat-list-icon>person</mat-icon>
{{invalidUser | fullName}}
</mat-list-item>
</mat-list>
</div>
</div>
</mat-card-content>
</mat-card>
<mat-card class="adf-section">
<mat-card class="app-section">
<mat-card-title>
{{ 'APP_LAYOUT.GROUPS_CLOUD' | translate}}
</mat-card-title>
@@ -63,43 +77,75 @@
<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 }}">{{
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-group-single-mode" value="single">{{
'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 }}">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-group-multiple-mode" value="multiple">{{
'PEOPLE_GROUPS_CLOUD.MULTI' | translate }}</mat-radio-button>
</mat-radio-group>
<div class="groups-control-options">
<div class="app-groups-control-options">
<mat-radio-group (change)="onChangeGroupsFilterMode($event)">
<mat-radio-button checked="true" class="adf-people-single-mode" value="appName">{{
<mat-radio-button checked="true" class="app-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">{{
<mat-radio-button class="app-people-multiple-mode" data-automation-id="app-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-form-field *ngIf="!isGroupAppNameSelected()" class="app-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"/>
<input matInput
(input)="setGroupRoles($event.target?.value)"
data-automation-id="app-group-roles-input"/>
</mat-form-field>
<mat-form-field *ngIf="isGroupAppNameSelected()" class="adf-preselect-value">
<mat-form-field *ngIf="isGroupAppNameSelected()" class="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setGroupAppName($event)" data-automation-id="adf-group-app-input"/>
<input matInput
(input)="setGroupAppName($event.target?.value)"
data-automation-id="app-group-app-input"/>
</mat-form-field>
<mat-form-field class="adf-preselect-value-full">
<mat-form-field class="app-preselect-value-full">
<mat-label>Preselect: {{ DEFAULT_GROUP_PLACEHOLDER }}</mat-label>
<input matInput (input)="setGroupsPreselectValue($event)" data-automation-id="adf-group-preselect-input" />
<input matInput
(input)="setGroupsPreselectValue($event.target?.value)"
data-automation-id="app-group-preselect-input" />
</mat-form-field>
<mat-checkbox class="app-preselect-value" (change)="onChangeGroupValidation($event)">
{{ 'PEOPLE_GROUPS_CLOUD.PRESELECT_VALIDATION' | translate }}
</mat-checkbox>
<mat-checkbox
data-automation-id="app-group-readonly"
value="{{ groupReadonly }}"
(change)="onChangeGroupReadonly($event)">
{{ 'PEOPLE_GROUPS_CLOUD.READONLY_MODE' | translate }}
</mat-checkbox>
</div>
<div>
<adf-cloud-group [mode]="groupMode" [roles]="groupRoles" [appName]="groupAppName" [preSelectGroups]="preSelectGroup"
(selectGroup)="onSelectGroup($event)" (removeGroup)="onRemoveGroup($event)"></adf-cloud-group>
<adf-cloud-group
[mode]="groupMode"
[readOnly]="groupReadonly"
[validate]="groupPreselectValidation"
[roles]="groupRoles"
[appName]="groupAppName"
[preSelectGroups]="preSelectGroup"
(warning)="onGroupsWarning($event)"></adf-cloud-group>
</div>
<div class="adf-group-list" *ngIf="canShowGroupList()">
<div class="app-group-list" *ngIf="groupMode === 'multiple'">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.ALL_PRESELECTED_GROUPS' | translate }}</h4>
<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 *ngIf="invalidGroups.length > 0">
<h4>{{ 'PEOPLE_GROUPS_CLOUD.INVALID_GROUPS' | translate }} <mat-icon>warning</mat-icon> </h4>
<mat-list role="list">
<mat-list-item *ngFor="let invalidGroup of invalidGroups" role="listitem">
<mat-icon mat-list-icon>group</mat-icon>
{{invalidGroup?.name}}
</mat-list-item>
</mat-list>
</div>
</div>
</mat-card-content>
</mat-card>
@@ -1,4 +1,4 @@
.adf {
.app {
&-section {
mat-card-title {
font-size:18px;
@@ -14,7 +14,7 @@
mat-card-content {
.adf-preselect-value {
.app-preselect-value {
margin-right: 15px;
min-width: 25%;
@@ -16,8 +16,9 @@
*/
import { Component, ViewEncapsulation } from '@angular/core';
import { PeopleCloudComponent, GroupCloudComponent, GroupModel } from '@alfresco/adf-process-services-cloud';
import { ComponentSelectionMode } from '@alfresco/adf-process-services-cloud';
import { MatRadioChange, MatCheckboxChange } from '@angular/material';
import { IdentityGroupModel, IdentityUserModel } from '@alfresco/adf-core';
@Component({
selector: 'app-people-groups-cloud',
@@ -31,73 +32,83 @@ export class PeopleGroupCloudDemoComponent {
DEFAULT_GROUP_PLACEHOLDER: string = `[{"id": "1", "name":"activitiUserGroup"}]`;
DEFAULT_PEOPLE_PLACEHOLDER: string = `[{"id": "1", email": "user@user.com", "firstName":"user", "lastName": "lastName", "username": "user"}]`;
peopleMode: string = PeopleCloudComponent.MODE_SINGLE;
preSelectUsers: string[] = [];
peopleMode: ComponentSelectionMode = 'single';
preSelectUsers: IdentityUserModel[] = [];
invalidUsers: IdentityUserModel[] = [];
peopleRoles: string[] = [];
peopleAppName: string;
peopleFilterMode: string = this.DEFAULT_FILTER_MODE;
peoplePreselectValidation: Boolean = false;
peoplePreselectValidation = false;
groupPreselectValidation = false;
peopleReadonly = false;
groupReadonly = false;
groupMode: string = GroupCloudComponent.MODE_SINGLE;
preSelectGroup: GroupModel[] = [];
selectedGroupList: GroupModel[] = [];
groupMode: ComponentSelectionMode = 'single';
preSelectGroup: IdentityGroupModel[] = [];
invalidGroups: IdentityGroupModel[] = [];
groupRoles: string[];
groupAppName: string;
groupFilterMode: string = this.DEFAULT_FILTER_MODE;
setPeoplePreselectValue(event: any) {
this.preSelectUsers = this.getArrayFromString(event.target.value);
setPeoplePreselectValue(value: string): void {
this.preSelectUsers = this.getArrayFromString(value);
}
setGroupsPreselectValue(event: any) {
this.preSelectGroup = this.getArrayFromString(event.target.value);
setGroupsPreselectValue(value: string): void {
this.preSelectGroup = this.getArrayFromString(value);
}
setPeopleRoles(event: any) {
this.peopleRoles = this.getArrayFromString(event.target.value);
setPeopleRoles(value: string): void {
this.peopleRoles = this.getArrayFromString(value);
}
setGroupRoles(event: any) {
this.groupRoles = this.getArrayFromString(event.target.value);
setGroupRoles(value: string): void {
this.groupRoles = this.getArrayFromString(value);
}
setPeopleAppName(event: any) {
this.peopleAppName = event.target.value;
setPeopleAppName(value: string): void {
this.peopleAppName = value;
}
setGroupAppName(event: any) {
this.groupAppName = event.target.value;
setGroupAppName(value: string): void {
this.groupAppName = value;
}
onChangePeopleMode(event: MatRadioChange) {
onChangePeopleMode(event: MatRadioChange): void {
this.peopleMode = event.value;
this.preSelectUsers = [...this.preSelectUsers];
}
onChangeGroupsMode(event: MatRadioChange) {
onChangePeopleReadonly(event: MatCheckboxChange): void {
this.peopleReadonly = event.checked;
}
onChangeGroupReadonly(event: MatCheckboxChange): void {
this.groupReadonly = event.checked;
}
onChangeGroupsMode(event: MatRadioChange): void {
this.groupMode = event.value;
this.preSelectGroup = [...this.preSelectGroup];
}
onChangePeopleFilterMode(event: MatRadioChange) {
onChangePeopleFilterMode(event: MatRadioChange): void {
this.peopleFilterMode = event.value;
this.resetPeopleFilter();
}
onChangeGroupsFilterMode(event: MatRadioChange) {
onChangeGroupsFilterMode(event: MatRadioChange): void {
this.groupFilterMode = event.value;
this.restGroupFilter();
}
isPeopleAppNameSelected() {
isPeopleAppNameSelected(): boolean {
return this.peopleFilterMode === 'appName';
}
isGroupAppNameSelected() {
isGroupAppNameSelected(): boolean {
return this.groupFilterMode === 'appName';
}
resetPeopleFilter() {
resetPeopleFilter(): void {
if (this.isPeopleAppNameSelected()) {
this.peopleRoles = [];
} else {
@@ -105,7 +116,7 @@ export class PeopleGroupCloudDemoComponent {
}
}
restGroupFilter() {
restGroupFilter(): void {
if (this.isGroupAppNameSelected()) {
this.groupRoles = [];
} else {
@@ -113,12 +124,23 @@ export class PeopleGroupCloudDemoComponent {
}
}
onChangePeopleValidation(event: MatCheckboxChange) {
onChangePeopleValidation(event: MatCheckboxChange): void {
this.peoplePreselectValidation = event.checked;
this.preSelectUsers = [...this.preSelectUsers];
}
isStringArray(str: string) {
onChangeGroupValidation(event: MatCheckboxChange): void {
this.groupPreselectValidation = event.checked;
}
onGroupsWarning(warning: any): void {
this.invalidGroups = warning.groups;
}
onUsersWarning(warning: any): void {
this.invalidUsers = warning.users;
}
isStringArray(str: string): boolean {
try {
const result = JSON.parse(str);
return Array.isArray(result);
@@ -127,46 +149,11 @@ export class PeopleGroupCloudDemoComponent {
}
}
private getArrayFromString(value: string) {
private getArrayFromString<T = any>(value: string): T[] {
if (this.isStringArray(value)) {
return JSON.parse(value);
} else {
return [];
}
}
canShowPeopleList() {
return this.peopleMode === GroupCloudComponent.MODE_MULTIPLE;
}
canShowGroupList() {
return this.groupMode === GroupCloudComponent.MODE_MULTIPLE;
}
onRemoveGroup(group: GroupModel) {
this.preSelectGroup = this.preSelectGroup.filter((value: any) => value.id !== group.id);
}
onSelectGroup(group: GroupModel) {
if (this.groupMode === GroupCloudComponent.MODE_MULTIPLE) {
this.preSelectGroup.push(group);
}
}
get peopleSingleMode() {
return PeopleCloudComponent.MODE_SINGLE;
}
get peopleMultipleMode() {
return PeopleCloudComponent.MODE_MULTIPLE;
}
get groupSingleMode() {
return GroupCloudComponent.MODE_SINGLE;
}
get groupMultipleMode() {
return GroupCloudComponent.MODE_MULTIPLE;
}
}
@@ -1,15 +1,14 @@
<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">
<div class="app-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[appName]="appName"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
@@ -17,9 +16,8 @@
</adf-cloud-task-list>
<adf-cloud-process-header
class="adf-process-cloud-header"
class="app-process-cloud-header"
[appName]="appName"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -1,4 +1,4 @@
.adf {
.app {
&-process-cloud-container {
display: flex;
}
@@ -11,4 +11,5 @@
margin-left: 10px;
width: 25%;
}
}
@@ -11,7 +11,7 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list #processCloud
fxFlex
class="adf-cloud-layout-overflow"
class="app-cloud-layout-overflow"
[appName]="editedFilter.appName"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
@@ -24,7 +24,13 @@
[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>
@@ -35,10 +41,28 @@
(prevPage)="resetSelectedRows()">
</adf-pagination>
<div *ngIf="testingMode">
Selected rows:
<ul>
<li *ngFor="let row of selectedRows">{{ row.id }}</li>
</ul>
<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>
@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, ViewChild, OnInit } from '@angular/core';
import { Component, ViewChild, OnInit, OnDestroy } from '@angular/core';
import {
ProcessListCloudComponent,
ProcessFilterCloudModel,
@@ -24,16 +24,20 @@ import {
} 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 { 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 {
export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
public static ACTION_DELETE = 'delete';
static PROCESS_FILTER_PROPERTY_KEYS = 'adf-edit-process-filter';
@ViewChild('processCloud')
@@ -52,11 +56,19 @@ export class ProcessesCloudDemoComponent implements OnInit {
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,
@@ -81,20 +93,30 @@ export class ProcessesCloudDemoComponent implements OnInit {
this.filterId = params.id;
});
this.cloudLayoutService.getCurrentSettings()
.subscribe((settings) => this.setCurrentSettings(settings));
this.cloudLayoutService.settings$
.pipe(takeUntil(this.onDestroy$))
.subscribe(settings => this.setCurrentSettings(settings));
this.performContextActions();
}
setCurrentSettings(settings) {
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) {
onChangePageSize(event: Pagination) {
this.userPreference.paginationSize = event.maxItems;
}
@@ -102,7 +124,7 @@ export class ProcessesCloudDemoComponent implements OnInit {
this.selectedRows = [];
}
onRowClick(processInstanceId) {
onRowClick(processInstanceId: string) {
if (!this.multiselect && this.selectionMode !== 'multiple' && this.processDetailsRedirection) {
this.router.navigate([`/cloud/${this.appName}/process-details/${processInstanceId}`]);
}
@@ -110,11 +132,21 @@ export class ProcessesCloudDemoComponent implements OnInit {
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_DELETE) {
this.cloudLayoutService.setCurrentProcessFilterParam({ index: 0 });
} else {
this.cloudLayoutService.setCurrentProcessFilterParam({ id: filterAction.filter.id });
}
if (filterAction.actionType === ProcessesCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/${this.appName}/processes/`], { queryParams: filterAction.filter });
}
@@ -124,4 +156,41 @@ export class ProcessesCloudDemoComponent implements OnInit {
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};
}
}
@@ -16,55 +16,65 @@
*/
import { Injectable } from '@angular/core';
import { Observable, BehaviorSubject } from 'rxjs';
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 = {
private settings: CloudServiceSettings = {
multiselect: false,
actionMenu: false,
contextMenu: false,
testingMode: false,
taskDetailsRedirection: true,
processDetailsRedirection: true,
selectionMode: 'single'
selectionMode: 'single',
actions: []
};
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>;
taskFilter$ = new BehaviorSubject<FilterSettings>({index: 0});
processFilter$ = new BehaviorSubject<FilterSettings>({index: 0});
settings$ = new BehaviorSubject<CloudServiceSettings>(this.settings);
constructor() {
this.filterTask$ = this.filterTaskSubject.asObservable();
this.filterProcess$ = this.filterProcessSubject.asObservable();
this.settings$ = this.settingsSubject.asObservable();
setCurrentTaskFilterParam(param: FilterSettings) {
this.taskFilter$.next(param);
}
getCurrentTaskFilterParam() {
return this.filterTask$;
setCurrentProcessFilterParam(param: FilterSettings) {
this.processFilter$.next(param);
}
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);
setCurrentSettings(param: CloudServiceSettings) {
this.settings$.next(param);
}
}
@@ -0,0 +1,71 @@
<div fxFlex fxLayout="column" class="app-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>
@@ -0,0 +1,7 @@
.app-settings-container {
padding: 20px 30px;
}
.app-settings-container mat-form-field {
max-width: 200px;
}
@@ -15,17 +15,24 @@
* limitations under the License.
*/
import { Component, OnInit } from '@angular/core';
import { CloudLayoutService } from './services/cloud-layout.service';
import { Component, OnInit, OnDestroy } from '@angular/core';
import { CloudLayoutService, ActionMenuModel } from '../services/cloud-layout.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { FormGroup, FormControl } from '@angular/forms';
@Component({
selector: 'app-cloud-settings',
templateUrl: './cloud-settings.component.html',
styleUrls: ['./cloud-settings.component.scss']
})
export class CloudSettingsComponent implements OnInit {
export class CloudSettingsComponent implements OnInit, OnDestroy {
private onDestroy$ = new Subject<boolean>();
multiselect: boolean;
actionMenu: boolean;
contextMenu: boolean;
actions: ActionMenuModel[] = [];
selectionMode: string;
testingMode: boolean;
taskDetailsRedirection: boolean;
@@ -37,11 +44,26 @@ export class CloudSettingsComponent implements OnInit {
{ value: 'multiple', title: 'Multiple' }
];
actionMenuForm = new FormGroup({
key: new FormControl(''),
title: new FormControl(''),
icon: new FormControl(''),
visible: new FormControl(true),
disabled: new FormControl(false)
});
constructor(private cloudLayoutService: CloudLayoutService) { }
ngOnInit() {
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();
}
setCurrentSettings(settings) {
@@ -51,6 +73,9 @@ export class CloudSettingsComponent implements OnInit {
this.selectionMode = settings.selectionMode;
this.taskDetailsRedirection = settings.taskDetailsRedirection;
this.processDetailsRedirection = settings.processDetailsRedirection;
this.actionMenu = settings.actionMenu;
this.contextMenu = settings.contextMenu;
this.actions = settings.actions;
}
}
@@ -78,9 +103,35 @@ export class CloudSettingsComponent implements OnInit {
this.setSetting();
}
toggleActionMenu() {
this.actionMenu = !this.actionMenu;
this.setSetting();
}
toggleContextMenu() {
this.contextMenu = !this.contextMenu;
this.setSetting();
}
addAction() {
this.actions.push(<ActionMenuModel> this.actionMenuForm.value);
this.actionMenuForm.get('key').reset();
this.actionMenuForm.get('title').reset();
this.actionMenuForm.get('icon').reset();
this.setSetting();
}
removeAction(removedAction: ActionMenuModel) {
this.actions = this.actions.filter((action: ActionMenuModel) => action.key !== removedAction.key);
this.setSetting();
}
setSetting() {
this.cloudLayoutService.setCurrentSettings({
multiselect: this.multiselect,
actionMenu: this.actionMenu,
contextMenu: this.contextMenu,
actions: this.actions,
testingMode: this.testingMode,
selectionMode: this.selectionMode,
taskDetailsRedirection: this.taskDetailsRedirection,
@@ -0,0 +1,39 @@
/*!
* @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 { CommonModule } from '@angular/common';
import { CloudSettingsComponent } from './cloud-settings.component';
import { MatDialogModule, MatInputModule, MatSelectModule, MatSlideToggleModule } from '@angular/material';
import { CoreModule } from '@alfresco/adf-core';
import { FlexLayoutModule } from '@angular/flex-layout';
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
MatDialogModule,
MatInputModule,
MatSelectModule,
MatSlideToggleModule,
FlexLayoutModule
],
declarations: [ CloudSettingsComponent ],
exports: [ CommonModule, CloudSettingsComponent]
})
export class AppCloudSharedModule {}
@@ -1,7 +1,10 @@
<adf-cloud-start-process
[appName]="appName"
[name]="processName"
[values]="formValues"
[variables]="variables"
(error)="openSnackMessage($event)"
(success)="onStartProcessSuccess()"
(formContentClicked)="onFormContentClicked($event)"
(cancel)="onCancelStartProcess()">
</adf-cloud-start-process>
@@ -19,6 +19,7 @@ import { Component, OnInit } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService, AppConfigService } from '@alfresco/adf-core';
import { CloudLayoutService } from './services/cloud-layout.service';
import { PreviewService } from 'app/services/preview.service';
@Component({
templateUrl: './start-process-cloud-demo.component.html',
@@ -28,10 +29,13 @@ export class StartProcessCloudDemoComponent implements OnInit {
appName;
processName: string;
formValues: string;
variables: any;
constructor(private appConfig: AppConfigService,
private cloudLayoutService: CloudLayoutService,
private route: ActivatedRoute,
private previewService: PreviewService,
private notificationService: NotificationService,
private router: Router) {
}
@@ -41,7 +45,9 @@ export class StartProcessCloudDemoComponent implements OnInit {
this.appName = params.appName;
});
this.processName = this.appConfig.get<string>('adf-start-process.name');
this.processName = this.appConfig.get<string>('adf-cloud-start-process.name');
this.formValues = this.appConfig.get<string>('adf-cloud-start-process.values');
this.variables = this.appConfig.get<string>('adf-cloud-start-process.variables');
}
onStartProcessSuccess() {
@@ -55,6 +61,10 @@ export class StartProcessCloudDemoComponent implements OnInit {
}
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(event.response.body.message);
this.notificationService.openSnackMessage(event.response.body.entry.message);
}
onFormContentClicked(resourceClicked: any) {
this.previewService.showResource(resourceClicked.nodeId);
}
}
@@ -7,13 +7,12 @@
[appName]="appName"
[taskId]="taskId"
(cancelClick)="goBack()"
(taskClaimed)="onClaimTask()"
(taskCompleted)="onTaskCompleted()"
(taskUnclaimed)="onUnclaimTask()"
(formContentClicked)="onFormContentClicked($event)"
(formSaved)="onFormSaved()">
</adf-cloud-task-form>
</div>
<adf-cloud-task-header fxFlex
<adf-cloud-task-header #taskHeader fxFlex
[appName]="appName"
[taskId]="taskId">
</adf-cloud-task-header>
@@ -1,11 +1,11 @@
.adf {
.app {
&-task-detail-container {
display: flex;
}
&-task-tiitle {
&-task-title {
margin-left:15px;
}
@@ -15,9 +15,11 @@
* limitations under the License.
*/
import { Component } from '@angular/core';
import { Component, ViewChild } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { NotificationService } from '@alfresco/adf-core';
import { TaskHeaderCloudComponent } from '@alfresco/adf-process-services-cloud';
import { PreviewService } from 'app/services/preview.service';
@Component({
templateUrl: './task-details-cloud-demo.component.html',
@@ -25,13 +27,17 @@ import { NotificationService } from '@alfresco/adf-core';
})
export class TaskDetailsCloudDemoComponent {
@ViewChild('taskHeader')
taskHeader: TaskHeaderCloudComponent;
taskId: string;
appName: string;
constructor(
private route: ActivatedRoute,
private router: Router,
private notificationService: NotificationService
private notificationService: NotificationService,
private previewService: PreviewService
) {
this.route.params.subscribe((params) => {
this.taskId = params.taskId;
@@ -50,24 +56,12 @@ export class TaskDetailsCloudDemoComponent {
this.router.navigate([`/cloud/${this.appName}/`]);
}
onCompletedTask() {
this.goBack();
}
onUnclaimTask() {
this.goBack();
}
onClaimTask() {
this.goBack();
}
onTaskCompleted() {
this.goBack();
}
onFormContentClicked(resourceId) {
this.router.navigate([`/cloud/${this.appName}/task-details/${this.taskId}/files/${resourceId.nodeId}/view`]);
onFormContentClicked(resourceClicked: any) {
this.previewService.showResource(resourceClicked.nodeId);
}
onFormSaved() {
@@ -0,0 +1,27 @@
<h2>{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.COMPONENT_NAME' | translate }}</h2>
<mat-form-field class="app-appName-input">
{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.APP_NAME_INPUT' | translate }}
<input matInput
[type]="'text'"
[formControl]="appNameFormControl"
(change)="updateTaskHeader()">
</mat-form-field>
<mat-form-field class="app-taskId-input">
{{ 'APP_LAYOUT.TASK_HEADER_CLOUD.TASK_ID_INPUT' | translate }}
<input matInput
[type]="'text'"
[formControl]="taskIdFormControl"
(change)="updateTaskHeader()">
</mat-form-field>
<mat-error *ngIf="errorMessage">{{errorMessage}}</mat-error>
<div>
<adf-cloud-task-header #taskHeader
[appName]="appName"
[taskId]="taskId"
(error)="onError($event)">
</adf-cloud-task-header>
</div>

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