Compare commits

...
585 Commits
Author SHA1 Message Date
Eugenio Romano c5d71c09e7 minor fix init script 2020-06-18 09:45:28 +01:00
davidcanonieto fe95673e0a [ADF-5160] Fix CardView Key-Value Pairs Item overflowing (#5790) 2020-06-17 16:52:23 +01:00
Silviu PopaandSilviu Popa 61d52bd8cd [ACA-3454] disable floating label for ammount (#5782)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-17 16:28:18 +01:00
Maurizio Vitale b92aa7dfd8 adf-cli k8s image - Be able to override image by label and namespace (#5786)
* Ability to set the image of pods based on label

* Use the namespaces as filter
2020-06-16 17:24:59 +01:00
Roxana Diacenco 6fc97895ab [ACA-3373] Update simpleapp (#5784)
* Add forms and processes for attach file widget e2e tests
in Process Cloud Service
2020-06-16 16:48:04 +01:00
Maurizio Vitale baab211790 Revert "Ability to set the image of pods based on label (#5781)" (#5783)
This reverts commit 5dc3e4c46b.
2020-06-16 14:42:46 +01:00
Maurizio Vitale 5dc3e4c46b Ability to set the image of pods based on label (#5781) 2020-06-16 14:28:35 +01:00
Iulia Burcă 3651cc0235 [ACA-3329] Refactor isCompleteFormButtonDisabled method (#5765)
* Refactor isCompleteFormButtonDisabled method

- Change the isCompleteFormButtonDisabled() method structure as per the Code Style E2E 03-01
- Replace the isCompleteFormButtonDisabled() with isCompleteFormButtonEnabled() in the tests
- Add lists with the default tasks and process filters name in order to use a variable instead of a string (ADW eg. in the breadcrumb checks)

* Add visibility wait in isCompleteFormButtonEnabled method

* Refactor isProcessListDisplayed method

- Change the isProcessListDisplayed() method structure as per the Code Style E2E 03-01
- Replace the checkProcessListIsDisplayed() with isProcessListDisplayed() in the tests

* Fix isCompleteFormButtonEnabled and isCancelButtonEnabled methods

* Fix isCompleteFormButtonEnabled method

* Create separate method to check for Complete button visibility

* fix tslint
2020-06-16 12:51:34 +01:00
Mercy Chrysolite 0349280d42 [ACA-3109] Change order of default process filters for DW (#5760)
* [ACA-3109] Change order of default process filters

* Updated strings to constants; Fixed failing e2e

* fixed lint

* Fixed failed e2e
2020-06-16 10:44:28 +02:00
Eugenio Romano 904c7eff7c fix start process testing (#5778) 2020-06-16 09:08:04 +01:00
Cristina Jalba 8fb93fe1c0 Check for presence of the element before getText() in BreadcrumbPage PO. (#5776) 2020-06-15 22:04:50 +01:00
arditdomi 7b52da55cb Fix attach file widget shows Local source when only link is enabled (#5775) 2020-06-15 13:45:48 +01:00
Eugenio Romano 6a20a7acef fix start process testing (#5774) 2020-06-12 18:41:40 +01:00
Eugenio Romano fec1b813e6 fix cli 2020-06-12 13:57:44 +01:00
Eugenio Romano 6e732ee9a4 fix parameter oauth cli 2020-06-11 23:56:35 +01:00
arditdomi d56bca3765 [ACA-3201] Fix datatable non-sortable with sortable columns are not aligned (#5771) 2020-06-11 18:13:01 +01:00
Denys Vuika 8025434de9 fix e2e tests and cleanup e2e typings (#5770)
* cleanup e2e typings

* fix e2e tests
2020-06-10 20:37:21 +01:00
Denys Vuika 98774395d2 fix imports (#5769) 2020-06-10 15:29:02 +01:00
arditdomi 3409cca8b8 [ADF-5157] Export default process name pipes (#5768) 2020-06-10 14:49:13 +01:00
Urse DanielandEugenio Romano c86b1937fe [ACA-3266] Improve version upload component (#5766)
* added new component to compare current and new file version of a node.

* update doc

* added more tests

* updated docs

* small fixes

* changed with typography

* Update version-comparison.component.md

* handle hiding the comparison component on demo shell if cancelled/uploaded a new file version

* small fixes

* added export the new component version-comparison

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-10 12:59:44 +01:00
siva kumar ea62b1e3bd [ACA-3416] Add Claim/Release actions on adf task form (#5753)
* [ACA-3255] FE - Claim a task

* * Added unit tests

* * Added unit tests
* Changed cloud directive names

* * Added/Updated documents

* * Added showReleaseClaim button flag
* Add unit test too

* * Used claim/release directive in task-header component.

* * Fixed unit test

* * Fixed one comment

* * After rebase

* * Fixed comments
2020-06-10 10:43:23 +01:00
Silviu PopaandSilviu Popa 77bbecea8e [ACA_3292] - Add queued task as part of default task filter (#5747)
* [ACA_3292] - Add queued task as default task filter

* don't emit event if the filter is undefined

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-06-10 11:45:02 +03:00
Eugenio Romano d263ee7142 Update test.config.js 2020-06-09 16:00:45 +01:00
siva kumar 295cb21043 * Fixed opacity error (#5764) 2020-06-09 15:07:43 +01:00
arditdomi 8a36e7fd3f [ACA-3348] Add default process name pipe (#5745)
* [ACA-3348] Add default process name pipe

* [ACA-3348] Add documentation

* [ACA-3348] Change transform function to recieve a process def parameter, Update documentation

* Change parameter type to fix build

* Fix lint errors

* Move unit test to the correct describe

* Fix lint errors

* Move from one core pipe to different for APS1 and Cloud

* Add Pipe to process cloud providers

* Update documentation

* Revert demo-shell default process name

* Fix pipe version in documentation

* e2e - select process definition and then type name

* Fix process services e2e

* Align process filters e2e

* Align start-task-form cloud e2e

* Use processInstance model instead of processDefinition as a parameter for transform function
2020-06-09 13:35:13 +01:00
siva kumar b161ceab26 [ACA-3358] Show user friendly error templates when there are no applications/processDefinitions (#5746)
* * Added empty template on start process component

* * Removed errorMessageId

* * Added unit tests to recent changes

* * Added doc

* * fixed comments

* * Used showError notification

* * After rebase

* * Fixed failing e2e

* * Fixed comments
2020-06-09 09:15:22 +01:00
Eugenio Romano fffa97c7f8 use new static drop actions 2020-06-09 01:25:08 +01:00
Eugenio Romano 76d391669c static async dropactions 2020-06-09 00:59:46 +01:00
Eugenio Romano a37423b74a add drop actions utils 2020-06-08 23:59:36 +01:00
Eugenio Romano 5e09bbc252 fix param 2020-06-08 21:11:16 +01:00
Baptiste Mahé 4b53c0e3be Hide WIP filter inside document-list (#5761) 2020-06-08 18:25:25 +01:00
Baptiste Mahé 6412697d96 [ACA-3407] New component : Filter Menu created and implemented inside the Document List (#5748)
* [ACA-3407] New component : Filter Menu, implemented inside the Document List

* [ACA-3407] Refactor click method

* [ACA-3407] Update Filter Icon style

* [ACA-3407] Add filter icon and update tooltip with column name
2020-06-08 09:46:45 +01:00
Eugenio Romano 482c3023f8 fix testConfig Logger 2020-06-08 09:25:23 +01:00
Eugenio Romano ffcd16aeaf improve api service configuration (#5759) 2020-06-08 07:24:28 +01:00
Eugenio Romano cafedf29f6 not use testconfig if is not present (#5758) 2020-06-08 00:10:13 +01:00
Eugenio Romano 8e241a9e8f add export missing model (#5757)
simplify api
2020-06-07 21:46:37 +01:00
dependabot[bot] 0257cf5748 Bump websocket-extensions from 0.1.3 to 0.1.4 (#5756)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-07 18:26:33 +01:00
Eugenio Romano 1c030d7b48 improve e2e configuration (#5752)
* improve e2e configuration

* fix login

* fix login

* use storage

* fix

* default oauth

* improve share file test and add baseShareUrl init in e2e

* some click script better usage
2020-06-06 20:12:54 +01:00
Mark Steadman 6f2ec24851 fix: addition of persistent label (#5754) 2020-06-05 18:51:59 +01:00
Mark Steadman c3ac45303f fix: updated heading markup for bread crumbs (#5755) 2020-06-05 18:51:28 +01:00
Cristina Jalba 492fba5f4e [ACA-2989]Add doubleClickRow method (#5728)
* Add doubleClickRow method

* Renamed the method to be in sync with the actions made

* Modified the columns parameter from 'any' to 'Column[]'

* no message

* Make Column abstract again

* Add locators snackbar action

* Unblock Travis

* no message
2020-06-05 17:41:08 +01:00
Eugenio RomanoandDenys Vuika a78f24ada1 [ACS-259] refactor login page (#5733)
* refator login page

* refator login page

* remove obsolete classes and move what is needed in the test pck

* fix const

* revert modify

* remove duplicate browser property

* fix build

* fix

* fix

* fix lint

* move drop action in testing
remove not necessary space
js-api centralize content

* first refactor use js-api

* fix protractor

* refactor test config

* simplify properties
fix namings

* ps cloud simplify
remove unused js files

* id fix

* fix search test
simplify environment var step 1

* fix lint

* first user iteration fix

* fix model

* unify use of apiService

* first step automatic user creation Identity

* refactor creation user content-services

* refactor creation user search

* refactor creation user core

* process service refactoring 1

* process service refactoring 1

* process service refactoring 2

* fix process

* appconfig

* fix process util

* fix gallery

* fix "this" reference issues

* fix incorrect import paths

* fix core

* some fixes

* allign

* fix some test
remove structure folder and move in actions

* fixes

* move folders in the right place

* fix

* fix rebase

* solve build issue

* fix e2e

* change init aae

* order api and some fixes

* fix possible not valid password

* fix some ps test

* replace host port also in objects

* Update app-config.service.ts

* fix process

* fix process test

* process service cloud fix

* fiexs

* modify init script

* fix two test

* remove unused property

* host issue

* not use npx

* fix ps cloud test

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-06-04 14:41:30 +01:00
Urse DanielandEugenio Romano f0df6b3a5f [ACA-3266] Improve version upload component (#5750)
* added new component to compare current and new file version of a node.

* update doc

* added more tests

* updated docs

* small fixes

* changed with typography

* Update version-comparison.component.md

* handle hiding the comparison component on demo shell if cancelled/uploaded a new file version

* small fixes

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-06-04 13:01:11 +01:00
davidcanonieto 13066a9a32 [ADF-5154] Add missing API endpoints to SitesService (#5751) 2020-06-04 12:40:31 +01:00
Maurizio Vitale d667c93ff3 Fix the obj reference (#5749) 2020-06-03 14:32:00 +01:00
Mercy Chrysolite 6890dea819 [ACA-3286] User gets error when removing the attached file (#5735) (#5744) 2020-06-02 18:38:18 +02:00
Baptiste Mahé 439e3c7a7c [ADF-5153] Transclusion exposed from the DataTable to the DocumentList (#5743)
* [ADF-5153] Transclusion exposed from the DataTable to the DocumentList

* [ADF-5153] Add flags to control transclusion

* [ADF-5153] Remove Ngif breaking the transclusion
2020-06-02 15:31:56 +01:00
Cristina Jalba 6b06fd6364 [ACA-3390]Add startProcessWithApplication method on StartProcessPage (#5741)
* Add startProcessWithApplication method on StartProcessPage

* Removed one method

* Fix comments
2020-06-02 10:31:32 +01:00
Popovics András 0a4f792854 [ACA-3074] Fix preselected file loading issue (#5739) 2020-06-02 09:45:39 +01:00
Iulia Burcă 2372710f3d [ACA-3332] Add Context menu click action for process and task list and selectRow for process list (#5730)
* Add click on context menu action

* Export context-menu class through public-api.ts

* Add isContextMenuDisplayed method

* Add select row method for process list

* Typo in context-menu class

* Move Context Menu class in core folder

* Add async and await to select process row method

* Remove return from select process row method

* Rename selectRow method for Process and Task list
2020-06-02 09:39:20 +01:00
arditdomi 3649e9239f [ACA-3368] Update datatable columns when presetColumn schema changes (#5732)
* [ACA-3368] Update datatable columns when presetColumn schema changes

* [ACA-3368] Add presetColumn change detection for task list

* [ACA-3368] Improve unit tests, fix comments

* [ACA-3368] More unit test improvements
2020-05-29 14:34:42 +01:00
Maurizio Vitale d782b5c4d2 Use the translation key (#5737) 2020-05-29 13:33:35 +01:00
Eugenio Romano 084dacde26 Revert "[ACA-3286] User gets error when removing the attached file (#5735)" (#5738)
This reverts commit 1565a49f68.
2020-05-29 11:58:49 +01:00
Mercy Chrysolite 1565a49f68 [ACA-3286] User gets error when removing the attached file (#5735) 2020-05-29 11:43:18 +01:00
siva kumar 84607de277 [ACA-3359]Disable processName/ProcessDefintions drop down if no application selected. (#5736) 2020-05-29 00:14:44 +01:00
Baptiste Mahé a9a801c34d [ADF-5150] Datatable sub-component each in its own folder (#5734) 2020-05-28 22:45:32 +01:00
Silviu PopaandSilviu Popa 75f2165f3f [ACA-2975] fix start process wrong response (#5726)
* [ACA-2975] fix process response object

* add unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-28 00:07:04 +01:00
Silviu PopaandSilviu Popa e715997a2d [ACA-3277] - remove unnecessary style (#5729)
Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-27 19:14:07 +01:00
Vito 6810f7a7a2 Fixed simple app for DT problem (#5731) 2020-05-27 19:11:33 +01:00
Mercy Chrysolite 66c2b0b125 [ACA-3271] START PROCESS button is inactive first time when process model is loaded (#5700)
* [ACA-3271] START PROCESS button is inactive first time when process model is loaded

* Fixed lint error

* Fixed failing unit tests
2020-05-27 15:00:51 +02:00
Eugenio Romano d8367b2655 Update start-process-cloud.component.md 2020-05-27 12:35:48 +01:00
Eugenio Romano 3a0efea65d Update start-process-cloud.component.md 2020-05-27 12:35:31 +01:00
siva kumar 0f5fd3574b [ACA-3304] FE - Add a drop down to select running application on start process component (#5702)
* [ACA-3304] FE - Add a drop down to select running application on start process component

* * Removed unwanted css

* * Added unit tests and updated docs

* * Fixed comments

* * Added way to test application dropdown in start-process

* * Fixed failing  unit tests

* * Removed all option* Fixed failing e2e
2020-05-27 12:23:36 +01:00
Eugenio Romano 63a9c1a5be fix peerDependencies testing 2020-05-26 22:22:46 +01:00
Eugenio Romano f4ee057193 Update login-sso.page.ts (#5725) 2020-05-26 20:03:30 +01:00
Cristina Jalba 97b8e995be [ACA-2989]Creating data-table-component PO to support all kind of columns, including custom (#5715)
* POC for refactoring data-table-component.page.ts [PO for datatable from adf testing package]. Currently the majority of the methods that we have on this class are working only on 'text' column type. The scope of this PR was to make them work on all types of columns (text, image, date, fileSize, location, json) and also custom columns that may be created on different applications or other pages.

* Set 'text' as default and add rootElement

* Remove comments
2020-05-26 11:56:10 +01:00
Iulia Burcă a8251fa7ef [ACA-3314] Add cancelButton and noFormTemplate form elements (#5723)
* Add method to click on task
2020-05-22 17:09:37 +01:00
Baptiste MahéandEugenio Romano 7a6a86e27e [AAE-2478] Long task title show ellipsis when too long and add tool tip to task title inside form (#5704)
* [AAE-2478] Keep long task title on one line with ellipsis

* [AAE-2478] Add tool tip to task title inside form

* [create preview]

* Update form.component.html

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-22 09:36:31 +01:00
Eugenio Romano 1f0a5ac87c entrypoint exec 2020-05-22 01:48:26 +01:00
Eugenio Romano 467d2b0f17 Update Dockerfile 2020-05-22 01:11:40 +01:00
Eugenio Romano 04114eeac5 Update entrypoint.sh (#5720) 2020-05-22 00:40:04 +01:00
Eugenio Romano 7b2d2677c3 Update Dockerfile 2020-05-22 00:37:31 +01:00
Alexandra Abrudan df6627a658 update simpleapp with different ids and names for messages in pools-processes (#5719) 2020-05-21 17:41:45 +01:00
Denys Vuika ae3ac440bc Ivy compatible test modules (#5718)
* ivy compatible core unit tests

* ivy compatible content tests

* ivy compatible process tests

* ivy compatible process cloud tests

* ivy compatible insights tests

* fix content test

* fix content test
2020-05-21 16:25:28 +01:00
arditdomi 9f2faee027 [ACA-3326] Create the default filters following the new order (#5713)
* [ACA-3326] Change default filters order

* [ACA-3326] Make selectRunningFilter method deprecated

* [ACA-3326] Add filter index as optional
2020-05-21 15:30:56 +01:00
davidcanonieto ac847313e3 [ACA-3317] Make About Github Link Component input properties optional (#5717)
* [ACA-3317] Make About Github Link Component input properties optional

* Update permission-list.component.html
2020-05-21 15:05:05 +01:00
Eugenio Romano 08811c7c60 [AAE-2666] fix dropdown rest (#5714)
* fix dropdown rest

* fix dropdown rest
2020-05-21 10:02:44 +01:00
Denys Vuikaandsivakumar414ram 654be10dd2 Pre-Angular 9 upgrade fixes (#5712)
* remove deprecated angular/http

* upgrade adf libs

* fix production builds

* ivy-compatible translate module usage

* improved module usage

* upgrade content services module

* fix process services tests

* upgrade process cloud tests

* lint fixes

* update core max size

* fix insights test module

* remove insights lazy loading workaround

* fix insights module exports

* * Fixed skipped form-cloud unit test and removed duplicated tests

* cleanup the use of services

Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-05-20 16:51:51 +01:00
Urse DanielandEugenio Romano 4cb3a876d9 [ACA-45] Drag and Drop a New Version (#5710)
* added a new input: file

* unit test - having singleFile option and a file as input, the type of the input for uploading should be button instead of file

* added a click event for the upload button and also handle if having a file as input, the type of the input should be 'button' instead of 'file'

* handling allowed for upload also for 'update' permissions over a dropped file. also emitting a new event for updating file version if i'm dropping a single file over another file.

* unit tests for handling dropping a file over another

* added a new input (file type)

* passing a file to adf-version-upload component

* new input as file and toggle new version if having that as input + unit test

* added new input as file for new version

* added new input to allow dropping a file over another to update it's version

* added a new variable for handling dropping a file over another one and also handle a new event when we update the file version

* pass a new dropped file to the dialog

* new message

* new method to allow isDropTarget for a file instead only to folders.

* new emitter for updating a file's version

* allows updating a file's version by dropping another file over it.

* refactor allowDropFiles

* update docs for drag&drop file into another file

* update for drag&drop a file over another file functionality

* made the allowDropFiles checking optional for isDropTarget property, only checking if the value is passed to the share-data-row

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-20 11:57:17 +01:00
Eugenio Romano 531d1d7345 fix build cli 2020-05-18 19:20:12 +01:00
Eugenio Romano 6f67c43f8c fix build cli 2020-05-18 18:31:18 +01:00
Eugenio Romano a23f000e53 fix build cli 2020-05-18 18:28:34 +01:00
Alexandra Abrudan 7b823834bc updated resources file with the new added processes & form (#5711) 2020-05-18 15:35:20 +01:00
Denys Vuika 347e64fd91 Pre-Angular upgrade fixes (#5709)
* code fixes

* code fixes

* more code fixes

* even more fixes

* add missing typescript for cli

* rollback info drawer test changes

* use npx for cli commands

* restore attach providers
2020-05-18 14:02:15 +01:00
davidcanonieto 1def8000f0 [ACA-3317] Split About component into smaller components (#5708) 2020-05-18 09:39:58 +01:00
davidcanonieto 22acd3f6e6 [ADF-5143] Fix Checkbox widget value parsing (#5706) 2020-05-14 23:52:09 +01:00
Cristina Jalba 5133705469 [ACA-3028]Move breacrumb page to adf testing package (#5705)
* Move breacrumb page to adf testing package

* no message
2020-05-14 23:51:34 +01:00
Maurizio Vitale 1043748765 Ability to chage the route (#5703) 2020-05-14 12:44:20 +01:00
arditdomi 7d4a956833 [ACA-3316] Fix process filters selection should reset if input changes to non ex… (#5698)
* [ACA-3316] Fix process filter should reset if input changes to non existing filter

* [ACA-3316] Add unit tests
2020-05-14 12:22:14 +01:00
78332449a5 [AAE-2200] Upload dialog title should match selected site. (#5648)
* [AAE-2200] content-node-selector-panel pass starting site and emit event onSiteChange

* [AAE-2200] content-node-selector handle siteChange event

* [AAE-2200] content-node-selector has good default title

* [AAE-2200] attach-file-widget-dialog handle siteChange event

* [AAE-2200] Minor fixes on attach-file-widget-dialog

* [AAE-2200] site-dropdown reload site list unfil it find its default site

* [AAE-2200] Fix title translation for attach-file-widget-dialog

* fix missing property description

* Unit test fix

* [AAE-2200] Fix title unit tests

* [AAE-2200] Fix sites-dropdown infinite loading

* [AAE-2200] Add content-node-selector-panel siteChange event unit tests

* [AAE-2200] Refactor sites-dropdown unit tests

* [AAE-2200] Refactor the 'allSitesLoaded' check

* [AAE-2200] Add sites-dorpdown default value unit tests

* [AAE-2200] Move getSiteFromNodePath method to sites service

* [create preview]

* [create preview]

* [AAE-2200] Better hasMoreItems check in sites-dropdown (fix unit test)

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Cano <david.cano.nieto@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-14 10:38:16 +01:00
Eugenio Romano c26b8e046c stabilize some e2e cloud (#5701)
* stabilize some e2e cloud

* Update protractor.conf.ts

* Update protractor.conf.ts

* improve some other test

* fix
2020-05-14 09:42:40 +01:00
Eugenio Romano bf729f60a2 [Impreove e2e] Dev delete sites e2e missing (#5695)
* fix e2e sites delete

* fix lint

* permamenent
2020-05-13 22:35:31 +01:00
Maurizio Vitale 0186d11fe8 Ability to evaluate an object as payload (#5697) 2020-05-13 22:19:07 +01:00
Denys Vuika 5621dbbb05 audit command for adf cli (#5699) 2020-05-13 22:13:16 +01:00
arditdomi a8c252db8b [ACA-3245] Fetch alfresco repo name from an API (#5676)
* [ACA-3245] Fetch alfresco repo name from an API

* [ACA-3245] Take the repo name from the API only when it is not defined in the app config

* [ACA-3245] Remo alfresco-1 as default in app.config service

* [ACA-3245] Remove passing null argument when calling getRepositories function

* [ACA-3245] Revert removing function parameter includeAccounts

* [ACA-3245] Add tenantId as optional

* [ACA-3245] Revert method

* [ACA-3245] Change both parameters to optional

* [ACA-3245] Rename param
2020-05-13 20:56:29 +01:00
Denys Vuika f6801b1997 [ADF-5106] fix stencil registration (#5694)
* customize services on the module level

* improved service registration
2020-05-13 19:31:49 +01:00
siva kumar 2b7943919d [ADF-5103] FE - Process/task filter - Backporting the components styles to ADF (#5614)
* * New Filters style

* * Improved css

* * Fixed wrong css selector

* * Fixed failing unit tests

* * Fixed failing tests
ests

* * FIXED E2E PROCESS-SERVICE TESTS

* * Fixed failing e2e

* * FIxed process-service cloud e2e

* * Removed xpath locator

* * New Filters style

* * Improved css
2020-05-13 14:43:05 +01:00
Eugenio RomanoandCilibiu Bogdan b76bb750dc [ACA-1606] use new api siteservice (#5693)
* use new apu siteservice

* refactor import

* added getSiteMembershipRequests

Co-authored-by: Cilibiu Bogdan <bogdan.cilibiu@ness.com>
2020-05-13 14:08:31 +01:00
siva kumar 6da489a7ff [ACA-3235] FE - Should not include invisible fields in payload on Start/Save adf-form. (#5681)
* [ACA-3235] FE - Should not include invisible fields in payload on Start/Save adf-form.

* * Added unit test to the recent changes
2020-05-13 10:26:12 +01:00
dhrn 78a91f9424 * fixed types (#5692) 2020-05-13 10:05:58 +01:00
Eugenio Romano 63d59f7ffd revert used by app method 2020-05-13 01:32:09 +01:00
Silviu PopaandSilviu Popa f850d7ed38 [AAE-2537] - fix mark as read notification (#5667)
* [AAE-2537] - fix mark as read notification

* lint

* fix unit test

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-13 01:20:19 +01:00
Silviu PopaandSilviu Popa 171089d1d6 [ACA-3273] - fix start process empty message (#5689)
* [ACA-3273] - fix start process empty message

* revert licenses changes

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-05-13 01:17:48 +01:00
Eugenio Romano da82180814 Update update-children.sh 2020-05-12 23:46:59 +01:00
Cristina Jalba 24786b54e3 [ACA-3269]Move notificationPage to adf testing package (#5687)
* Move notificationPage to adf testing package

* Fix lint

* Fix test

* Fix test

* Wait for snackbar to be closed in the tests

* Fix notification tests
2020-05-12 23:09:55 +01:00
f5fe125c9e [AAE-2557] - fixed variable mapping on start process (#5680)
* [AAE-2557] - fixed variable mapping on start process

* [AAE-2557] - fix for randomly failing e2e

* run

* uopdate process

* fix unit

* increase timeout

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

* [AAE-2557] - removed trailing whitespaces

* create only if change processes

* [create preview]

* trigger build

* [AAE-2557] - correct all filter on process filter selection

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-12 20:35:45 +01:00
Denys Vuika 6793c5c466 CLI: new licences command (#5690)
* new licences command

* remove old licences command
2020-05-12 19:56:45 +01:00
davidcanonieto b32f3f7f01 Fix resources path for releasing apps (#5691) 2020-05-12 18:15:18 +01:00
Alexandra Abrudan d331e32174 updating simpleapp with new processes with pools (#5688) 2020-05-12 16:16:04 +01:00
Baptiste Mahé 9b42a07de2 [AAE-2478] Add margin to the form title to avoid overlaping the buttons (#5685) 2020-05-12 11:55:25 +01:00
Eugenio Romano f72f82ed4a fix e2e (#5686)
* fix e2e

* Update notifications-component.e2e.ts

* fix e2e

* fix e2e

* try with interval

* Update version-actions.e2e.ts
2020-05-12 10:04:55 +01:00
Eugenio Romano 27fd18c40e Update Dockerfile 2020-05-11 18:21:12 +01:00
arditdomi 8ef91ce98d [ACA-3182] Extensions - Add property to define the parent route of an extension route reference (#5684) 2020-05-11 15:42:54 +01:00
Eugenio Romano c2a95d9394 remove test release task (#5683) 2020-05-11 13:58:01 +01:00
dhrn 85457d60d8 [ADF-5135] Eventual Consistency Helper for e2e tests. (#5668)
* [ADF-5135] Eventual Consistency Helper for e2e tests.

* [ADF-5135] Eventual Consistency Helper for e2e tests.
2020-05-11 11:38:51 +01:00
Baptiste Mahé c5b4888126 [ADF-5131] Radio buttons display below label (#5672) 2020-05-11 11:36:49 +01:00
Eugenio Romano 0fe8f4d11e update travis org com 2020-05-11 10:59:53 +01:00
Eugenio Romano 9e0b28b350 Update README.md 2020-05-11 10:56:53 +01:00
Eugenio Romano f46182a5a5 Update Dockerfile 2020-05-11 10:29:42 +01:00
Eugenio Romano 742c103cc0 Deploy PR on request (#5642)
* deploy PR on request

* [create peview]

* [create peview]

* script fix [create preview]

* [create peview]

* change creation preview

* [create peview]

* Update deploy-pr.sh

* [create peview]

* update node and dist

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create peview]

* [create preview]

* subfolder issue

* [create preview]

* [create preview]

* [create preview]

* [create preview]

* [create preview]

* [create preview]
2020-05-10 18:32:47 +01:00
Eugenio Romano 851e41eae2 Update update-children.sh 2020-05-07 17:37:59 +01:00
Eugenio Romano 48b48e7b06 Update trigger-travis-children.sh 2020-05-07 17:37:05 +01:00
Eugenio Romano ef9dfead59 Update README.md 2020-05-06 14:20:44 +01:00
dependabot[bot] 68db414cf8 Bump https-proxy-agent from 2.2.1 to 2.2.4 in /lib/cli (#5677)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-06 12:07:49 +01:00
Eugenio Romano e139b4c218 [AAE-2570] prepare script to change name development to develop (#5675)
* prepare script to change name development to develop

* travis for develop
2020-05-06 11:23:01 +01:00
Denys Vuika 94e2e83e73 ADF CLI fixes (#5674)
* safety checks and better path eval

* do not execute command on help

* rewrite 'update-version' command
2020-05-06 11:18:38 +01:00
Eugenio Romano 2db9fb0aa9 Update compatibility.md 2020-05-05 11:11:25 +01:00
Eugenio Romano 5bc7887cd4 fix update children 2020-05-04 21:18:48 +01:00
Eugenio Romano 672ef3d45d fix pre-publish.sh 2020-05-04 17:46:22 +01:00
Alfresco Build UserandEugenio Romano fa1e691bd2 Update JS-API packages version 3.8.0 (#5670)
* Update JS-API packages version 3.8.0-beta10

* bump 3.8.0

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-04 17:01:54 +01:00
Cilibiu Bogdan 373025c3b4 disable floating labels (#5669) 2020-05-04 16:42:33 +01:00
Cano 1a9259d00f Add content metadata to Release Note 2020-05-04 15:46:01 +01:00
Eugenio Romano 03f0a77e64 improve release note 2020-05-04 15:20:09 +01:00
Eugenio Romano 8346395175 better commit message 2020-05-04 11:34:45 +01:00
davidcanonieto 01c0f53b18 [ADF-5134] REGRESSION - Fix People and Group Components firing twice (#5666) 2020-05-03 12:53:04 +01:00
Eugenio Romano 7734e6dba9 Update start-task-group-cloud.e2e.ts 2020-05-01 19:34:37 +01:00
Eugenio Romano dae4c9b32e remove excluded test C260249 (#5664) 2020-05-01 13:02:31 +01:00
Eugenio Romano fb3ec899ef Update protractor.excludes.json 2020-05-01 12:00:46 +01:00
Eugenio Romano 3d9976ce52 add release reports (#5663) 2020-05-01 11:33:43 +01:00
Gloria Broadbent db7fedcf5e ALL 16 LANGUAGES - fix for LOC-212 - updated localised files for ADF 3.8 (#5662) 2020-05-01 11:23:08 +01:00
dhrnandEugenio Romano 7cc1ba6042 [ADF-5123] C315268 not working correctly (#5643)
* [ADF-5123] C315268 not working correctly

* * improved code

* * fixed process list error

* * fixed process list error

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-01 10:38:45 +01:00
Snyk bot 608abde10e [Snyk] Fix for 1 vulnerabilities (#5661)
* fix: package.json, package-lock.json & .snyk to reduce vulnerabilities


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746

* fix: package.json, package-lock.json & .snyk to reduce vulnerabilities


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746

* fix: package.json, package-lock.json & .snyk to reduce vulnerabilities


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
2020-05-01 09:53:50 +01:00
dhrn 7d2af84a58 [AAE-2505] [PS cloud] Should not allow to start the process if is not created (#5659)
* * fixed bug

* * cherry pick
2020-05-01 09:40:40 +01:00
VitoandEugenio Romano 1430314815 [ACA-3229] - fixed error on start process cloud when all the value a… (#5660)
* [ACA-3229] - fixed error on start process cloud when all the value are selected by default

* Update start-process-cloud.component.ts

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-04-30 22:55:24 +01:00
dependabot[bot] 1b530e3236 Bump jquery from 3.4.1 to 3.5.0 (#5658)
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-30 22:28:01 +01:00
davidcanonieto b77384331f [ADF-5122] Unexclude C309674 test (#5655)
* [ADF-5122] Unexclude C309674 test

* Improve affected libs script to run tests if tests exclussion changed
2020-04-30 14:47:18 +01:00
Eugenio Romano 6fb27aeb32 fix trigger script 2020-04-30 14:43:19 +01:00
davidcanonieto 7627b01bb1 [AAE-2487] Fix Checkbox Widget bug (#5657) 2020-04-30 13:19:33 +01:00
Eugenio Romano 5da20c10cb Update trigger-travis-children.sh 2020-04-30 11:41:27 +01:00
arditdomi f6f41de46f [ACA-3232] Fix console error expression has changed after it has… (#5656)
* [ACA-3232] Fix console error expression has been changed after it has been checked, remove unused method

* [ACA-3232] Remove not needed (this.)
2020-04-30 10:14:38 +01:00
Eugenio Romano 04a29ebc05 APS11 (#5654)
modify e2e for 1.11 APS
2020-04-29 18:20:14 +01:00
Francesco CortiandFrancesco Corti a67db94b25 PRODDEL-3086 - Release note in draft for 3.8.0. (#5652)
Co-authored-by: Francesco Corti <fcorti@MacBook-Pro.local>
2020-04-29 15:32:10 +01:00
dhrn 30dd6168d5 * start process error (#5653) 2020-04-29 15:27:16 +01:00
Vito f76e6a3516 [DW-1530] - created extra method for process definition key set on filters (#5651) 2020-04-29 11:35:03 +01:00
Cristina Jalba 7c0096eaa6 [ACA-3040]Modify some methods of start-process PO (#5650)
* Modify some methods of start-process PO

* Fix tests

* Fix test
2020-04-29 09:18:21 +01:00
Eugenio Romano c0664341a0 fix search string 2020-04-28 22:36:59 +01:00
Eugenio Romano bb17876ac8 fix e2e test after string changes 2020-04-28 19:12:35 +01:00
Eugenio Romano 47d0daaf24 documentation update (#5644)
* documentation update

* fix update children projects
2020-04-28 16:53:07 +01:00
Mark Hulbert d5b18cf4ff [ADF-5132] Review UI strings (#5649) 2020-04-28 16:52:33 +01:00
Eugenio Romano 831979a3f0 update children script 2020-04-28 13:42:11 +01:00
Eugenio Romano 438832d627 update dockerfile generation first step with more recent image 2020-04-28 12:51:43 +01:00
davidcanonieto b6072f806a [ADF-5129][ADF-5130] Fix Lock in Gallery view and Lock Dialog (#5646) 2020-04-28 08:50:06 +01:00
Vito 13e17f8673 [AAE-2456] - added lowercase random string generator for e2e tests (#5645) 2020-04-27 17:18:24 +01:00
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
2065 changed files with 62231 additions and 46684 deletions
+2 -21
View File
@@ -10,28 +10,9 @@
# precedence. When someone opens a pull request that only
# modifies JS files, only @js-owner and not the global
# owner(s) will be requested for a review.
e2e/* @eromano @cristinaj @gmandakini @marouanbentaleb
# You can also use email addresses if you prefer. They'll be
# used to look up users just like we do for commit author
# emails.
#*.go docs@example.com
docs/* @m-hulbert @eromano
# In this example, @doctocat owns any files in the build/logs
# directory at the root of the repository and any of its
# subdirectories.
#/build/logs/ @doctocat
/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/* docs@example.com
# In this example, @octocat owns any file in an apps directory
# anywhere in your repository.
#apps/ @octocat
# In this example, @doctocat owns any file in the `/docs`
# directory in the root of your repository.
#/docs/ @doctocat
/docs/ @m-hulbert @eromano
+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
+46
View File
@@ -0,0 +1,46 @@
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
version: v1.14.1
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'
SNYK-JS-LODASH-567746:
- snyk > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/dep-graph > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > inquirer > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-config > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-mvn-plugin > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nodejs-lockfile-parser > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nuget-plugin > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-go-plugin > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nodejs-lockfile-parser > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-nuget-plugin > dotnet-deps-parser > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > snyk-php-plugin > @snyk/composer-lockfile-parser > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/ruby-semver > lodash:
patched: '2020-05-01T00:35:43.233Z'
- snyk > @snyk/snyk-cocoapods-plugin > @snyk/cocoapods-lockfile-parser > @snyk/dep-graph > graphlib > lodash:
patched: '2020-05-01T00:35:43.233Z'
+1
View File
@@ -1 +1,2 @@
_theming.scss
lib/core/viewer/components/pdf-viewer-host.component.scss
+42 -52
View File
@@ -3,11 +3,9 @@ git:
quiet: true
language: node_js
dist: trusty
sudo: required
dist: bionic
node_js:
# Use the explicit NodeJS LTS version 8.9.4 to avoid any automatic upgrade of the version.
- '10.16.0'
- '12.16.3'
install:
echo "no install"
@@ -15,44 +13,42 @@ install:
branches:
only:
- master
- development
- develop
- /.*old-env.*/
- /.*next-release.*/
- /.*beta.*/
- /.*greenkeeper.*/
# TRAVIS_PULL_REQUEST == false means is running on dev branch and is not a PR
stages:
- 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: Deploy PR
if: type = pull_request && commit_message =~ /\[create preview\]/
- name: Check bundle
if: type = push AND tag IS blank
- name: Unit test
if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher
if: (type = push AND tag IS blank)
if: (branch != master AND type != cron AND tag IS blank) OR type = api
- name: e2e Test
if: (type != cron AND tag IS blank) OR type = api
- name: Update Rancher PR
if: type = pull_request
if: (branch != master AND 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
if: type = cron OR branch = master
- name: Trigger ADF child build
if: (branch = develop 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"
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
- export GIT_HASH=`git rev-parse HEAD`
services:
- xvfb
jobs:
include:
@@ -63,16 +59,13 @@ jobs:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
# Run Only on Development and master
# Run Only on develop and master
- stage: Lint & Build Dist & Release
name: Lint & Build Dist & Release
script:
- ./scripts/travis/build/build.sh || exit 1;
- ./scripts/lint.sh || exit 1;
- ./scripts/travis/release/release.sh
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
- echo "Running the docker with tag" $TAG_VERSION
- ./node_modules/@alfresco/adf-cli/bin/adf-cli docker-publish --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION,$TAGS" --pathProject "$(pwd)"
- ./scripts/travis/release/release-npm.sh
- stage: Unit test
@@ -80,7 +73,7 @@ jobs:
script: ./scripts/travis/unit-test/content.sh
- stage: Unit test
name: Unit test core extension demo
script: ./scripts/travis/unit-test/core-extension-demo.sh
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
@@ -90,7 +83,7 @@ jobs:
script: ./scripts/travis/update/update-children.sh
- stage: Release beta tag
script: ./scripts/travis/release/git-tag-beta.sh
script: ./scripts/travis/release/git-tag.sh
- stage: e2e Test
@@ -110,39 +103,36 @@ jobs:
script: ./scripts/travis/e2e/process-services-cloud-e2e.sh
- stage: Update Rancher
name: Update Rancher
script: ./scripts/travis/deploy/deploy.sh
- stage: Deploy PR
name: Deploy PR
script: ./scripts/travis/deploy/deploy-pr.sh
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)
- ./scripts/npm-check-bundles.sh -v ${ADF_VERSION}
- stage: Update Rancher
script:
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
- echo "Update rancher with docker tag" $TAG_VERSION --url $REPO_RANCHER --environment_name $REPO_RANCHER_ADF_NAME
- ./scripts/rancher-update.sh --access_key $RANCHER_TOKEN --secret_key $RANCHER_SECRET --url $REPO_RANCHER --environment_name $REPO_RANCHER_ADF_NAME --image docker:$DOCKER_REPOSITORY:$TAG_VERSION
- stage: Trigger ADF child build
name: Trigger ADF child build
script: ./scripts/travis/update/trigger-travis-children.sh --branch $TRAVIS_BRANCH Alfresco $TRAVIS_ACCESS_TOKEN
- stage: Update Rancher PR
name: Update Rancher PR
script: ./scripts/travis/deploy/deploy.sh
before_deploy:
# Set up git user name and tag this commit
- git config --local user.name "Alfresco"
- export TRAVIS_TAG=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
- echo "Create tag:" $TRAVIS_TAG
- git tag $TRAVIS_TAG
deploy:
provider: releases
api_key: $GITHUB_TOKEN
name: $TRAVIS_TAG
body: "Add the release note"
skip_cleanup: true
on:
branch: master
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"
}
]
}
-31
View File
@@ -1,41 +1,10 @@
# 1. Generate licenses
FROM node:11.9-alpine AS builder
WORKDIR /usr/src/alfresco
COPY package.json package.json
RUN mkdir -p ./licenses && \
yarn licenses list > ./licenses/licenses.txt && \
yarn licenses generate-disclaimer > ./licenses/disclaimer.txt
# 2. Generate image
FROM nginx:stable-alpine
LABEL version="3.0.0"
ARG GROUPNAME=Alfresco
ARG GROUPID=1000
ARG USERNAME=adf
ARG USERID=33011
ARG BUILD_NUMBER
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
COPY ./docker/entrypoint.sh /
WORKDIR /usr/share/nginx/html
COPY demo-shell/dist/ .
COPY --from=builder /usr/src/alfresco/licenses ./licenses
RUN addgroup -g ${GROUPID} ${GROUPNAME} && \
adduser -S -u ${USERID} -G ${GROUPNAME} -s "/bin/bash" ${USERNAME} && \
chown -R ${USERNAME}:${GROUPNAME} ./${BUILD_NUMBER}/app.config.json && \
chown -R ${USERNAME}:${GROUPNAME} /var/cache/nginx && \
touch /var/run/nginx.pid && \
chown -R ${USERNAME}:${GROUPNAME} /var/run/nginx.pid && \
chmod +x /entrypoint.sh && \
chown -R ${USERNAME}:${GROUPNAME} /entrypoint.sh
EXPOSE 8080
USER ${USERNAME}
ENTRYPOINT [ "/entrypoint.sh" ]
+3 -3
View File
@@ -2,8 +2,8 @@
| 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) |
| master | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=master)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
| develop | [![Build Status](https://travis-ci.com/Alfresco/alfresco-ng2-components.svg?branch=develop)](https://travis-ci.com/Alfresco/alfresco-ng2-components) |
[![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)
@@ -65,5 +65,5 @@ 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.
See the [Browser Support](BROWSER-SUPPORT.md) article for more details.
+33 -8
View File
@@ -101,6 +101,15 @@
"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",
@@ -252,6 +261,7 @@
},
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
@@ -285,17 +295,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"
},
{
@@ -305,7 +315,7 @@
},
{
"glob": "**/*",
"input": "lib/content-services/i18n",
"input": "lib/content-services/src/lib/i18n",
"output": "/assets/adf-content-services/i18n"
},
{
@@ -421,6 +431,7 @@
],
"assets": [
"demo-shell/src/assets",
"demo-shell/src/favicon-96x96.png",
"demo-shell/src/app.config.json",
{
"glob": "**/*",
@@ -454,17 +465,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"
},
{
@@ -474,7 +485,7 @@
},
{
"glob": "**/*",
"input": "lib/content-services/i18n",
"input": "lib/content-services/src/lib/i18n",
"output": "/assets/adf-content-services/i18n"
},
{
@@ -838,6 +849,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"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

+10 -1
View File
@@ -131,7 +131,16 @@
"devops",
"mouseenter",
"starteventform",
"formtotestvalidations"
"formtotestvalidations",
"requirednumbervisibility",
"numbervisibilityprocess",
"booleanvisibilityprocess",
"booleanvisibility",
"processparent",
"uploadfileform",
"processwithstarteventform",
"processstring",
"typeahed"
],
"dictionaries": [
"html",
+1
View File
@@ -6,6 +6,7 @@
"target": "es5",
"types":[
"jasmine",
"jasminewd2",
"node"
]
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "Alfresco-ADF-Angular-Demo",
"description": "Demo shell for Alfresco Angular components",
"version": "3.5.0",
"version": "3.8.0",
"author": "Alfresco Software, Ltd.",
"repository": {
"type": "git",
+17 -4
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": "دخول",
@@ -94,6 +94,12 @@
"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": "مربع حوار التأكيد",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "صفحة البدء"
}
},
"TASK_CONTEXT_MENU": "قائمة سياق قائمة المهام"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "إدراج معرف التطبيق",
"APP_ID_TYPE_ERROR": "يجب أن يكون معرف التطبيق رقمًا",
"NUMBER_GREATER_THAN": "يجب أن تكون القيمة أكبر من {{ value }} أو تساويها"
}
},
"PROCESS_CONTEXT_MENU": "قائمة سياق قائمة العمليات"
},
"GROUP-TITLE1-TRANSLATION-KEY": "الترجمة الأولى للعنوان المخصص",
"GROUP-TITLE2-TRANSLATION-KEY": "الترجمة الثانية للعنوان المخصص",
@@ -302,7 +310,12 @@
"APP_NAME": "اسم التطبيق",
"APP_FILTER_MODE": "التصفية حسب اسم التطبيق",
"ROLE_FILTER_MODE": "التصفية حسب الدور",
"PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة"
"PRESELECT_VALIDATION": "التحديد المسبق للتحقق من الصحة",
"ALL_PRESELECTED_USERS": "كل المستخدمين المحددين مسبقًا",
"ALL_PRESELECTED_GROUPS": "كل المجموعات المحددة مسبقًا",
"INVALID_USERS": "المستخدمون غير الصالحين",
"INVALID_GROUPS": "مجموعات غير صالحة",
"READONLY_MODE": "وضع القراءة فقط"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "تحديد متعدد",
+16 -3
View File
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Počáteční strana"
}
},
"TASK_CONTEXT_MENU": "Místní nabídka Seznam úkolů"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Vložit ID aplikace",
"APP_ID_TYPE_ERROR": "ID aplikace musí být číslo",
"NUMBER_GREATER_THAN": "Hodnota musí být rovna nebo větší než {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Místní nabídka Seznam procesů"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Vlastní překlad názvu 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Vlastní překlad názvu 2",
@@ -302,7 +310,12 @@
"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"
"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",
+17 -4
View File
@@ -63,7 +63,7 @@
"NOTIFICATIONS": "Meddelelser",
"TASK_LIST": "Opgaveliste",
"PROCESS_LIST": "Procesliste",
"PROCESS_CLOUD": "Activiti Cloud",
"PROCESS_CLOUD": "Proces Cloud",
"CARD_VIEW": "Kortvisning",
"PROCESS_SERVICES": "Process Services",
"LOGIN": "Log ind",
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startside"
}
},
"TASK_CONTEXT_MENU": "Opgave Liste Kontekst Menu"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Indsæt app-id",
"APP_ID_TYPE_ERROR": "App-id'et skal være et tal",
"NUMBER_GREATER_THAN": "Værdien skal være større end eller lig med {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Proces Liste Kontekst Menu"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Brugerdefineret titel oversættelse et",
"GROUP-TITLE2-TRANSLATION-KEY": "Brugerdefineret titel oversættelse to",
@@ -302,7 +310,12 @@
"APP_NAME": "Appnavn",
"APP_FILTER_MODE": "Filtrer efter appnavn",
"ROLE_FILTER_MODE": "Filtrer efter rolle",
"PRESELECT_VALIDATION": "Forudvælg validering"
"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",
+16 -3
View File
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startseite"
}
},
"TASK_CONTEXT_MENU": "Aufgabenlisten-Kontextmenü"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "App-ID einfügen",
"APP_ID_TYPE_ERROR": "App-ID muss eine Zahl sein",
"NUMBER_GREATER_THAN": "Wert muss größer oder gleich {{ value }} sein"
}
},
"PROCESS_CONTEXT_MENU": "Prozesslisten-Kontextmenü"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Übersetzung benutzerdefinierter Titel 2",
@@ -302,7 +310,12 @@
"APP_NAME": "Anwendungsname",
"APP_FILTER_MODE": "Nach Anwendungsname filtern",
"ROLE_FILTER_MODE": "Nach Rolle filtern",
"PRESELECT_VALIDATION": "Vorauswahl-Prüfung"
"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",
+19 -5
View File
@@ -21,7 +21,8 @@
"SHOW_COMMENTS": "Show comments on versions",
"ALLOW_DOWNLOAD": "Enable version download",
"READ_ONLY": "Read-only",
"COMMENTS": "Show comments"
"COMMENTS": "Show comments",
"VERSION_COMPARISON": "Show version comparison"
},
"PERSONAL-FILES": "Personal Files",
"WARN-MULTIPLE-UPLOADS": "Display warning for multiple uploads.",
@@ -94,6 +95,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",
@@ -113,7 +120,7 @@
"DOCUMENT_LIST": {
"MULTISELECT_CHECKBOXES": "Multiselect (with checkboxes)",
"THUMBNAILS": "Enable Thumbnails",
"ALLOW_DROP_FILES": "Enable Drop Files in a folder",
"ALLOW_DROP_FILES": "Enable Drop Files in a folder or a file",
"MULTIPLE_FILE_UPLOAD": "Multiple File Upload",
"FOLDER_UPLOAD": "Folder upload",
"CUSTOM_FILTER": "Custom extensions filter",
@@ -264,14 +271,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",
@@ -302,7 +311,12 @@
"APP_NAME": "Application Name",
"APP_FILTER_MODE": "Filter by application name",
"ROLE_FILTER_MODE": "Filter by role",
"PRESELECT_VALIDATION": "Preselect validation"
"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",
+18 -5
View File
@@ -94,6 +94,12 @@
"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",
@@ -106,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."
}
},
@@ -217,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": {
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Inicio de página"
}
},
"TASK_CONTEXT_MENU": "Menú de contexto Lista de tareas"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Insertar ID de aplicación",
"APP_ID_TYPE_ERROR": "El ID de aplicación debe ser un número",
"NUMBER_GREATER_THAN": "El valor debe ser igual o superior a {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menú de contexto Lista de procesos"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Traducción de título personalizado 1",
"GROUP-TITLE2-TRANSLATION-KEY": "Traducción de título personalizado 2",
@@ -302,7 +310,12 @@
"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"
"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",
+17 -4
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",
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Aloitussivu"
}
},
"TASK_CONTEXT_MENU": "Tehtäväluettelon pikavalikko"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Lisää sovellustunnus",
"APP_ID_TYPE_ERROR": "Sovellustunnuksen täytyy olla numero",
"NUMBER_GREATER_THAN": "Arvon täytyy olla yhtä suuri tai suurempi kuin {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Prosessiluettelon pikavalikko"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Oma otsikkokäännös yksi",
"GROUP-TITLE2-TRANSLATION-KEY": "Oma otsikkokäännös kaksi",
@@ -302,7 +310,12 @@
"APP_NAME": "Sovelluksen nimi",
"APP_FILTER_MODE": "Suodata sovelluksen nimen perusteella",
"ROLE_FILTER_MODE": "Suodata roolin perusteella",
"PRESELECT_VALIDATION": "Vahvistus esivalittu"
"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",
+16 -3
View File
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Démarrage de la page"
}
},
"TASK_CONTEXT_MENU": "Menu contextuel Liste des tâches"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Insérer l'ID d'application",
"APP_ID_TYPE_ERROR": "L'ID d'application doit être un numéro",
"NUMBER_GREATER_THAN": "La valeur doit être égale ou supérieure à {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu contextuel Liste des processus"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Titre personnalisé traduction un",
"GROUP-TITLE2-TRANSLATION-KEY": "Titre personnalisé traduction deux",
@@ -302,7 +310,12 @@
"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"
"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",
+29 -16
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",
@@ -94,6 +94,12 @@
"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",
@@ -112,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",
@@ -145,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",
@@ -159,7 +165,7 @@
"VERSIONS": "Gestione versioni",
"LOCK": "Blocca",
"METADATA": "Informazioni",
"DOWNLOAD": "Download",
"DOWNLOAD": "Scarica",
"PERMISSION": "Permesso",
"FOLDER": {
"COPY": "Copia",
@@ -257,21 +263,23 @@
},
"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 }}"
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Inizia da pagina"
}
},
"TASK_CONTEXT_MENU": "Menu di scelta rapida Elenco compiti"
},
"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 }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu di scelta rapida Elenco processi"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Custom Title Translation One",
"GROUP-TITLE2-TRANSLATION-KEY": "Custom Title Translation Two",
@@ -302,7 +310,12 @@
"APP_NAME": "Nome applicazione",
"APP_FILTER_MODE": "Filtra per nome applicazione",
"ROLE_FILTER_MODE": "Filtra per ruolo",
"PRESELECT_VALIDATION": "Convalida preselezione"
"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",
+16 -3
View File
@@ -94,6 +94,12 @@
"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": "確認ダイアログ",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "開始ページ"
}
},
"TASK_CONTEXT_MENU": "タスクリストのコンテキストメニュー"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "アプリケーション ID を挿入してください",
"APP_ID_TYPE_ERROR": "アプリケーション ID は数字でなければなりません",
"NUMBER_GREATER_THAN": "値は {{ value }} 以上でなければなりません"
}
},
"PROCESS_CONTEXT_MENU": "プロセスリストのコンテキストメニュー"
},
"GROUP-TITLE1-TRANSLATION-KEY": "カスタムのタイトル翻訳 1",
"GROUP-TITLE2-TRANSLATION-KEY": "カスタムのタイトル翻訳 2",
@@ -302,7 +310,12 @@
"APP_NAME": "アプリケーション名",
"APP_FILTER_MODE": "アプリケーション名でフィルタ",
"ROLE_FILTER_MODE": "役割でフィルタ",
"PRESELECT_VALIDATION": "事前選択の検証"
"PRESELECT_VALIDATION": "事前選択の検証",
"ALL_PRESELECTED_USERS": "選択されている全ユーザー",
"ALL_PRESELECTED_GROUPS": "選択されている全グループ",
"INVALID_USERS": "無効なユーザー",
"INVALID_GROUPS": "無効なグループ",
"READONLY_MODE": "読み取り専用モード"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "複数選択",
+16 -3
View File
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Starter side"
}
},
"TASK_CONTEXT_MENU": "Kontekstmeny for oppgaveliste"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Sett inn app-ID",
"APP_ID_TYPE_ERROR": "App-ID må være et tall",
"NUMBER_GREATER_THAN": "Verdien må være høyere enn eller lik {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Kontekstmeny for prosessliste"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Egendefinert tittel, oversettelse én",
"GROUP-TITLE2-TRANSLATION-KEY": "Egendefinert tittel, oversettelse to",
@@ -302,7 +310,12 @@
"APP_NAME": "Programnavn",
"APP_FILTER_MODE": "Filtrer etter programnavn",
"ROLE_FILTER_MODE": "Filtrer etter rolle",
"PRESELECT_VALIDATION": "Forhåndsvelg validering"
"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",
+16 -3
View File
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Beginpagina"
}
},
"TASK_CONTEXT_MENU": "Contextmenu lijst met taken"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "App-id invoegen",
"APP_ID_TYPE_ERROR": "App-id moet een getal zijn",
"NUMBER_GREATER_THAN": "Waarde moet groter zijn dan of gelijk zijn aan {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Contextmenu lijst met processen"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Aangepaste titel vertaling één",
"GROUP-TITLE2-TRANSLATION-KEY": "Aangepaste titel vertaling twee",
@@ -302,7 +310,12 @@
"APP_NAME": "Toepassingsnaam",
"APP_FILTER_MODE": "Filteren op toepassingsnaam",
"ROLE_FILTER_MODE": "Filteren op rol",
"PRESELECT_VALIDATION": "Validatie voorselecteren"
"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",
+16 -3
View File
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Strona początkowa"
}
},
"TASK_CONTEXT_MENU": "Menu kontekstowe listy zadań"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Wstaw identyfikator aplikacji",
"APP_ID_TYPE_ERROR": "Identyfikator aplikacji musi być liczbą.",
"NUMBER_GREATER_THAN": "Wartość musi być większa od lub równa wartości {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu kontekstowe listy procesów"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie pierwsze",
"GROUP-TITLE2-TRANSLATION-KEY": "Tytuł niestandardowy — tłumaczenie drugie",
@@ -302,7 +310,12 @@
"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"
"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",
+16 -3
View File
@@ -94,6 +94,12 @@
"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",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Iniciando a página"
}
},
"TASK_CONTEXT_MENU": "Menu de contexto da lista de tarefas"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Inserir ID do aplicativo",
"APP_ID_TYPE_ERROR": "O ID do aplicativo deve ser um número",
"NUMBER_GREATER_THAN": "O valor deve ser maior ou igual a {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Menu de contexto da lista de processamento"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Tradução um de título personalizado",
"GROUP-TITLE2-TRANSLATION-KEY": "Tradução dois de título personalizado",
@@ -302,7 +310,12 @@
"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"
"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",
+16 -3
View File
@@ -94,6 +94,12 @@
"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": "Диалоговое окно подтверждения",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Начальная страница"
}
},
"TASK_CONTEXT_MENU": "Контекстное меню списка задач"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Вставить идентификатор приложения",
"APP_ID_TYPE_ERROR": "Идентификатор приложения должен быть числом",
"NUMBER_GREATER_THAN": "Значение должно быть больше или равно {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Контекстное меню списка процессов"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Перевод пользовательского заголовка один",
"GROUP-TITLE2-TRANSLATION-KEY": "Перевод пользовательского заголовка два",
@@ -302,7 +310,12 @@
"APP_NAME": "Имя приложения",
"APP_FILTER_MODE": "Фильтровать по имени приложения",
"ROLE_FILTER_MODE": "Фильтровать по роли",
"PRESELECT_VALIDATION": "Проверка предварительного выбора"
"PRESELECT_VALIDATION": "Проверка предварительного выбора",
"ALL_PRESELECTED_USERS": "Все заранее заданные пользователи",
"ALL_PRESELECTED_GROUPS": "Все заранее заданные группы",
"INVALID_USERS": "Недействительные пользователи",
"INVALID_GROUPS": "Недействительные группы",
"READONLY_MODE": "Режим только для чтения"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "Выбор нескольких",
+16 -3
View File
@@ -94,6 +94,12 @@
"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": "Dialogruta för bekräftelse",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "Startsida"
}
},
"TASK_CONTEXT_MENU": "Innehållsmeny till uppgiftslista"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "Infoga program-ID",
"APP_ID_TYPE_ERROR": "Program-ID måste vara ett nummer",
"NUMBER_GREATER_THAN": "Värdet måste vara större än eller lika med {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "Innehållsmeny för processlista"
},
"GROUP-TITLE1-TRANSLATION-KEY": "Anpassad titelöversättning ett",
"GROUP-TITLE2-TRANSLATION-KEY": "Anpassad titelöversättning två",
@@ -302,7 +310,12 @@
"APP_NAME": "Programnamn",
"APP_FILTER_MODE": "Filterera på programnamn",
"ROLE_FILTER_MODE": "Filtrera på roll",
"PRESELECT_VALIDATION": "Förval validering"
"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",
+22 -9
View File
@@ -94,6 +94,12 @@
"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": "确认对话",
@@ -105,9 +111,9 @@
"RESTORE": "恢复"
},
"EMPTY_STATE": {
"TITLE": "“垃圾”为空",
"FIRST_TEXT": "删除的项目移动到“垃圾”。",
"SECOND_TEXT": "清空“垃圾”以永久删除项目。"
"TITLE": "回收站为空",
"FIRST_TEXT": "删除的项目已移至回收站。",
"SECOND_TEXT": "清空回收站以永久删除项目。"
}
},
"DOCUMENT_LIST": {
@@ -131,7 +137,7 @@
"COLUMNS": {
"DISPLAY_NAME": "显示名称",
"IS_LOCKED": "锁定",
"TAG": "标",
"TAG": "标",
"NODE_ID": "节点 ID",
"CREATED_BY": "创建者",
"CREATED_ON": "创建日期",
@@ -247,9 +253,9 @@
"RATING": "评分组件"
},
"TAG": {
"LIST": "列表标 Content Services",
"LIST": "列表标 Content Services",
"INSERT": "插入节点 ID",
"NODE_LIST": "标列表(按节点 ID 排序)"
"NODE_LIST": "标列表(按节点 ID 排序)"
},
"DEMO_PERMISSION": {
"INHERIT_PERMISSION_BUTTON": "继承权限",
@@ -264,14 +270,16 @@
},
"TOOLTIP_MESSAGE": {
"START_INPUT": "开始页面"
}
},
"TASK_CONTEXT_MENU": "任务列表上下文菜单"
},
"PROCESS_LIST_DEMO": {
"ERROR_MESSAGE": {
"APP_ID_REQUIRED_ERROR": "插入应用程序 ID",
"APP_ID_TYPE_ERROR": "应用程序 ID 必须为数字",
"NUMBER_GREATER_THAN": "值必须大于或等于 {{ value }}"
}
},
"PROCESS_CONTEXT_MENU": "流程列表上下文菜单"
},
"GROUP-TITLE1-TRANSLATION-KEY": "自定义标题翻译 1",
"GROUP-TITLE2-TRANSLATION-KEY": "自定义标题翻译 2",
@@ -302,7 +310,12 @@
"APP_NAME": "应用程序名称",
"APP_FILTER_MODE": "按应用程序名称筛选",
"ROLE_FILTER_MODE": "按角色筛选",
"PRESELECT_VALIDATION": "预先选择验证"
"PRESELECT_VALIDATION": "预先选择验证",
"ALL_PRESELECTED_USERS": "所有预选用户",
"ALL_PRESELECTED_GROUPS": "所有预选组",
"INVALID_USERS": "无效用户",
"INVALID_GROUPS": "无效组",
"READONLY_MODE": "Read-only(只读)模式"
},
"SETTINGS_CLOUD": {
"MULTISELECTION": "多重选择",
+42 -11
View File
@@ -2,7 +2,7 @@
"$schema": "../../lib/core/app-config/schema.json",
"ecmHost": "{protocol}//{hostname}{:port}",
"bpmHost": "{protocol}//{hostname}{:port}",
"identityHost": "{protocol}//{hostname}{:port}/auth/realms/alfresco",
"identityHost": "{protocol}//{hostname}{:port}/auth/admin/realms/alfresco",
"loginRoute": "login",
"providers": "ALL",
"contextRootBpm": "activiti-app",
@@ -22,7 +22,10 @@
"redirectSilentIframeUri": "{protocol}//{hostname}{:port}/assets/silent-refresh.html",
"redirectUri": "/",
"redirectUriLogout": "/logout",
"publicUrls": ["**/preview/s/*", "**/settings"]
"publicUrls": [
"**/preview/s/*",
"**/settings"
]
},
"application": {
"storagePrefix": "ADF",
@@ -81,23 +84,23 @@
},
{
"key": "cs",
"label": "Czech"
"label": "Čeština"
},
{
"key": "pl",
"label": "Polish"
"label": "Polski"
},
{
"key": "fi",
"label": "Finnish"
"label": "Suomi"
},
{
"key": "da",
"label": "Danish"
"label": "Dansk"
},
{
"key": "sv",
"label": "Swedish"
"label": "Svenska"
}
],
"search": {
@@ -378,7 +381,8 @@
"selector": "date-range",
"settings": {
"field": "cm:created",
"dateFormat": "DD-MMM-YY"
"dateFormat": "DD-MMM-YY",
"maxDate": "today"
}
}
},
@@ -459,6 +463,14 @@
"nocase": true
}
},
"folders": {
"excluded": [
".git"
],
"match-options": {
"nocase": true
}
},
"logLevel": "trace",
"activiti": {
"rest": {
@@ -752,7 +764,7 @@
},
"adf-cloud-start-process": {
"name": "My Default Cloud Name"
},
},
"adf-process-list": {
"presets": {
"default": [
@@ -814,9 +826,28 @@
"presets": {
"default": {
"exif:exif": "*"
}
},
"all-aspects": "*",
"custom-title": [{
"title": "Exif",
"items": [
{
"aspect": "exif:exif",
"editing": false,
"properties": [
"exif:pixelXDimension",
{
"title": "Custom YDimension Name",
"name": "exif:pixelYDimension"
}
]
}
]
}]
},
"multi-value-pipe-separator": ", "
"multi-value-pipe-separator": ", ",
"multi-value-chips": true,
"copy-to-clipboard-action": true
},
"sideNav": {
"expandedSidenav": true,
+8 -16
View File
@@ -17,13 +17,13 @@
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, NoopAnimationsModule } from '@angular/platform-browser/animations';
import { AppConfigService, TRANSLATION_PROVIDER, DebugAppConfigService, CoreModule, CoreAutomationService } from '@alfresco/adf-core';
import { TranslateModule } from '@ngx-translate/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';
@@ -51,19 +51,15 @@ 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';
import { DemoPermissionComponent } from './components/permissions/demo-permissions.component';
import { PreviewService } from './services/preview.service';
import { ReportIssueComponent } from './components/report-issue/report-issue.component';
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';
@@ -71,6 +67,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';
@@ -84,11 +81,8 @@ import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/
import { environment } from '../environments/environment';
import { AppCloudSharedModule } from './components/cloud/shared/cloud.shared.module';
import { DemoErrorComponent } from './components/error/demo-error.component';
import {
UserPreferenceCloudService,
PROCESS_FILTERS_SERVICE_TOKEN,
TASK_FILTERS_SERVICE_TOKEN
ProcessServicesCloudModule
} from '@alfresco/adf-process-services-cloud';
import { registerLocaleData } from '@angular/common';
@@ -137,6 +131,7 @@ registerLocaleData(localeSv);
MaterialModule,
AppExtensionsModule,
FlexLayoutModule,
TranslateModule.forRoot(),
CoreModule.forRoot(),
ContentModule.forRoot(),
InsightsModule.forRoot(),
@@ -182,6 +177,7 @@ registerLocaleData(localeSv);
TasksCloudDemoComponent,
ProcessesCloudDemoComponent,
TaskDetailsCloudDemoComponent,
TaskHeaderCloudDemoComponent,
CloudViewerComponent,
ProcessDetailsCloudDemoComponent,
StartTaskCloudDemoComponent,
@@ -199,8 +195,6 @@ registerLocaleData(localeSv);
provide: HTTP_INTERCEPTORS, useClass:
AuthBearerInterceptor, multi: true
},
{ provide: PROCESS_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService },
{ provide: TASK_FILTERS_SERVICE_TOKEN, useClass: UserPreferenceCloudService },
{ provide: AppConfigService, useClass: DebugAppConfigService }, // not use this service in production
{
provide: TRANSLATION_PROVIDER,
@@ -217,9 +211,7 @@ registerLocaleData(localeSv);
name: 'lazy-loading',
source: 'resources/lazy-loading'
}
},
PreviewService,
CoreAutomationService
}
],
entryComponents: [
VersionManagerDialogAdapterComponent,
+5 -1
View File
@@ -58,6 +58,7 @@ import { TemplateDemoComponent } from './components/template-list/template-demo.
import { FormCloudDemoComponent } from './components/app-layout/cloud/form-demo/cloud-form-demo.component';
import { ConfirmDialogExampleComponent } from './components/confirm-dialog/confirm-dialog-example.component';
import { DemoErrorComponent } from './components/error/demo-error.component';
import { TaskHeaderCloudDemoComponent } from './components/cloud/task-header-cloud-demo.component';
export const appRoutes: Routes = [
{ path: 'login', loadChildren: 'app/components/login/login.module#AppLoginModule' },
{ path: 'logout', component: LogoutComponent },
@@ -167,7 +168,6 @@ export const appRoutes: Routes = [
path: 'cloud',
canActivate: [AuthGuardSsoRoleService],
data: { roles: ['ACTIVITI_USER'], redirectUrl: '/error/403' },
children: [
{
path: '',
@@ -177,6 +177,10 @@ export const appRoutes: Routes = [
path: 'people-group-cloud',
component: PeopleGroupCloudDemoComponent
},
{
path: 'task-header-cloud',
component: TaskHeaderCloudDemoComponent
},
{
path: 'community',
loadChildren: 'app/components/cloud/community/community.module#AppCommunityModule'
@@ -1,12 +1,11 @@
<adf-about-github-link
[url]="url"
[version]="version">
</adf-about-github-link>
<adf-about-github-link [application]="application" [url]="url" [version]="version"></adf-about-github-link>
<adf-about-product-version>
</adf-about-product-version>
<adf-about-server-settings></adf-about-server-settings>
<adf-about-product-version> </adf-about-product-version>
<adf-about-application-modules
[dependencies]="dependencies"
[showExtensions]="showExtensions">
[showExtensions]="showExtensions"
>
</adf-about-application-modules>
@@ -15,22 +15,32 @@
* limitations under the License.
*/
import { Component } from '@angular/core';
import { name, version, commit, dependencies } from '../../../../../package.json';
import { Component, OnInit } from '@angular/core';
import {
name,
version,
commit,
dependencies
} from '../../../../../package.json';
import { AppConfigService } from '@alfresco/adf-core';
@Component({
selector: 'app-about-page',
templateUrl: './about.component.html',
styleUrls: ['about.component.scss']
})
export class AboutComponent {
export class AboutComponent implements OnInit {
url = `https://github.com/Alfresco/${name}/commits/${commit}`;
version = version;
dependencies = dependencies;
showExtensions = true;
application = '';
constructor() {
constructor(private appConfigService: AppConfigService) {}
ngOnInit() {
this.application = this.appConfigService.get<string>(
'application.name'
);
}
}
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [AboutComponent]
@@ -2,10 +2,10 @@
[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" [expandedSidenav]="expandedSidenav"
[tooltip]="tooltip | translate" [showSidenavToggle]="showMenu" [expandedSidenav]="!isMenuMinimized()"
[color]="color" [position]="position" (clicked)=toggleMenu($event)>
<div class="app-layout-menu-spacer"></div>
@@ -48,12 +48,15 @@ export class AppLayoutComponent implements OnInit, OnDestroy {
{ 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' },
@@ -16,13 +16,16 @@
*/
import { Component, OnDestroy, OnInit } from '@angular/core';
import { FormFieldModel, NotificationService, FormRenderingService, CoreAutomationService, FormModel } from '@alfresco/adf-core';
import { FormCloudService, UploadCloudWidgetComponent } from '@alfresco/adf-process-services-cloud';
import { FormFieldModel, NotificationService, CoreAutomationService, FormModel, FormRenderingService } from '@alfresco/adf-core';
import { FormCloudService, CloudFormRenderingService } from '@alfresco/adf-process-services-cloud';
import { Subscription } from 'rxjs';
@Component({
templateUrl: 'cloud-form-demo.component.html',
styleUrls: ['cloud-form-demo.component.scss']
styleUrls: ['cloud-form-demo.component.scss'],
providers: [
{ provide: FormRenderingService, useClass: CloudFormRenderingService }
]
})
export class FormCloudDemoComponent implements OnInit, OnDestroy {
@@ -43,10 +46,8 @@ export class FormCloudDemoComponent implements OnInit, OnDestroy {
constructor(
private notificationService: NotificationService,
private formRenderingService: FormRenderingService,
private formService: FormCloudService,
private automationService: CoreAutomationService) {
this.formRenderingService.setComponentTypeResolver('upload', () => UploadCloudWidgetComponent, true);
}
logErrors(errorFields: FormFieldModel[]) {
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -4,7 +4,7 @@
<mat-card class="app-card-view">
<adf-card-view
[properties]="properties"
[editable]="true"
[editable]="isEditable"
[displayClearAction]="showClearDateAction"
[displayNoneOption]="showNoneOption">
</adf-card-view>
@@ -78,8 +78,43 @@ export class CardViewComponent implements OnInit, OnDestroy {
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({
@@ -105,6 +140,13 @@ export class CardViewComponent implements OnInit, OnDestroy {
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,
@@ -118,14 +160,20 @@ export class CardViewComponent implements OnInit, OnDestroy {
key: 'float',
default: 0.0,
editable: this.isEditable,
pipes: [{ pipe: this.decimalNumberPipe}]
pipes: [{ pipe: this.decimalNumberPipe }]
}),
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
}),
new CardViewKeyValuePairsItemModel({
label: 'CardView Key-Value Pairs Item',
value: [{ name: 'hey', value: 'you' }, { name: 'hey', value: 'you' }],
key: 'key-value-pairs',
editable: false
}),
new CardViewSelectItemModel({
label: 'CardView Select Item',
value: 'one',
@@ -146,17 +194,24 @@ export class CardViewComponent implements OnInit, OnDestroy {
default: 'click here',
editable: this.isEditable,
clickable: true,
icon: 'close',
clickCallBack: () => {
this.respondToCardClick();
}
}),
new CardViewArrayItemModel({
label: 'CardView Array of items',
value: of(['Zlatan', 'Lionel Messi', 'Mohamed', 'Ronaldo']),
value: of([
{ icon: 'directions_bike', value: 'Zlatan' },
{ icon: 'directions_bike', value: 'Lionel Messi' },
{ value: 'Mohamed', directions_bike: 'save' },
{ value: 'Ronaldo' }
]),
key: 'array',
icon: 'directions_bike',
icon: 'edit',
default: 'Empty',
noOfItemsToDisplay: 2
noOfItemsToDisplay: 2,
editable: this.isEditable
})
];
}
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [CardViewComponent]
@@ -63,15 +63,11 @@ export class CloudFiltersDemoComponent implements OnInit {
}
onTaskFilterSelected(filter) {
this.cloudLayoutService.setCurrentTaskFilterParam({id: filter && filter.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 && filter.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 {
@@ -16,8 +16,7 @@
*/
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { Params } from '@angular/router/src/shared';
import { ActivatedRoute, Params } from '@angular/router';
@Component({
selector: 'app-cloud-viewer',
@@ -33,8 +33,6 @@ import { CloudLayoutService } from '../services/cloud-layout.service';
})
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>;
@@ -3,14 +3,13 @@
<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="app-process-cloud-container">
<adf-cloud-task-list
fxFlex
class="app-cloud-layout-overflow"
[appName]="''"
[processInstanceId]="processInstanceId"
(rowClick)="onRowClick($event)"
#taskCloud>
@@ -18,7 +17,6 @@
<adf-cloud-process-header
class="app-process-cloud-header"
[appName]="''"
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -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,7 +10,6 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-process-list #processCloud
fxFlex
[appName]="''"
class="app-cloud-layout-overflow"
[initiator]="editedFilter.initiator"
[processDefinitionId]="editedFilter.processDefinitionId"
@@ -19,7 +17,7 @@
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[businessKey]="editedFilter['businessKey']"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
@@ -44,15 +44,13 @@ export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
@ViewChild('processFiltersCloud')
processFiltersCloud: ProcessFiltersCloudComponent;
appName: string = '';
isFilterLoaded: boolean;
filterId: string = '';
sortArray: any = [];
selectedRow: any;
multiselect: boolean;
selectionMode: string;
selectedRows: string[] = [];
selectedRows: any[] = [];
testingMode: boolean;
processFilterProperties: any = { filterProperties: [], sortProperties: [], actions: [] };
@@ -79,10 +77,6 @@ export class CommunityProcessesCloudDemoComponent implements OnInit, OnDestroy {
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) {
this.isFilterLoaded = true;
@@ -1,6 +1,5 @@
<adf-cloud-start-process
[name]="processName"
[appName]="''"
(error)="openSnackMessage($event)"
(success)="onStartProcessSuccess()"
(cancel)="onCancelStartProcess()">
@@ -34,7 +34,7 @@ export class CommunityStartProcessCloudDemoComponent implements OnInit {
}
ngOnInit() {
this.processName = this.appConfig.get<string>('adf-start-process.name');
this.processName = this.appConfig.get<string>('adf-start-process-cloud.name');
}
onStartProcessSuccess() {
@@ -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,7 +10,6 @@
<div fxLayout="column" fxFlex fxLayoutAlign="space-between" *ngIf="editedFilter">
<adf-cloud-task-list #taskCloud
fxFlex
[appName]="''"
class="app-cloud-layout-overflow"
[processDefinitionId]="editedFilter.processDefinitionId"
[processInstanceId]="editedFilter.processInstanceId"
@@ -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>
@@ -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() {
@@ -73,7 +73,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
ProcessServicesCloudModule,
RouterModule.forChild(routes),
AppCloudSharedModule,
@@ -6,9 +6,9 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangePeopleMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-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="app-people-multiple-mode" data-automation-id="app-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="app-people-control-options">
@@ -20,37 +20,51 @@
</mat-radio-group>
<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="app-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="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setPeopleAppName($event)" data-automation-id="app-people-app-input" />
<input matInput (input)="setPeopleAppName($event.target?.value)" data-automation-id="app-people-app-input" />
</mat-form-field>
<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)" data-automation-id="app-people-preselect-input" />
<input matInput (input)="setPeoplePreselectValue($event.target?.value)" data-automation-id="app-people-preselect-input" />
</mat-form-field>
<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="app-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>
@@ -63,9 +77,9 @@
<mat-card-content>
<br>
<mat-radio-group (change)="onChangeGroupsMode($event)">
<mat-radio-button checked="true" class="app-people-single-mode" data-automation-id="app-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="app-people-multiple-mode" data-automation-id="app-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="app-groups-control-options">
@@ -77,29 +91,61 @@
</mat-radio-group>
<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="app-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="app-preselect-value">
<mat-label>{{ 'PEOPLE_GROUPS_CLOUD.APP_NAME' | translate }}</mat-label>
<input matInput (input)="setGroupAppName($event)" data-automation-id="app-group-app-input"/>
<input matInput
(input)="setGroupAppName($event.target?.value)"
data-automation-id="app-group-app-input"/>
</mat-form-field>
<mat-form-field class="app-preselect-value-full">
<mat-label>Preselect: {{ DEFAULT_GROUP_PLACEHOLDER }}</mat-label>
<input matInput (input)="setGroupsPreselectValue($event)" data-automation-id="app-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="app-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>
@@ -16,9 +16,9 @@
*/
import { Component, ViewEncapsulation } from '@angular/core';
import { PeopleCloudComponent, GroupCloudComponent } from '@alfresco/adf-process-services-cloud';
import { ComponentSelectionMode } from '@alfresco/adf-process-services-cloud';
import { MatRadioChange, MatCheckboxChange } from '@angular/material';
import { IdentityGroupModel } from '@alfresco/adf-core';
import { IdentityGroupModel, IdentityUserModel } from '@alfresco/adf-core';
@Component({
selector: 'app-people-groups-cloud',
@@ -32,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;
groupMode: ComponentSelectionMode = 'single';
preSelectGroup: IdentityGroupModel[] = [];
selectedGroupList: 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 {
@@ -106,7 +116,7 @@ export class PeopleGroupCloudDemoComponent {
}
}
restGroupFilter() {
restGroupFilter(): void {
if (this.isGroupAppNameSelected()) {
this.groupRoles = [];
} else {
@@ -114,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);
@@ -128,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: IdentityGroupModel) {
this.preSelectGroup = this.preSelectGroup.filter((value: any) => value.id !== group.id);
}
onSelectGroup(group: IdentityGroupModel) {
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,4 +1,3 @@
<button data-automation-id="go-back" mat-icon-button (click)="onGoBack()">
<mat-icon>arrow_back</mat-icon> Go Back
</button>
@@ -22,4 +21,3 @@
[processInstanceId]="processInstanceId">
</adf-cloud-process-header>
</div>
@@ -11,4 +11,5 @@
margin-left: 10px;
width: 25%;
}
}
@@ -19,7 +19,7 @@
[id]="editedFilter.processInstanceId"
[status]="editedFilter.status"
[name]="editedFilter.processName"
[businessKey]="editedFilter.businessKey"
[businessKey]="editedFilter['businessKey']"
[lastModifiedFrom]="editedFilter.lastModifiedFrom"
[lastModifiedTo]="editedFilter.lastModifiedTo"
[sorting]="sortArray"
@@ -37,6 +37,7 @@ import { Pagination } from '@alfresco/js-api';
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')
@@ -53,7 +54,7 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
selectedRow: any;
multiselect: boolean;
selectionMode: string;
selectedRows: string[] = [];
selectedRows: any[] = [];
testingMode: boolean;
actionMenu: boolean;
contextMenu: boolean;
@@ -140,7 +141,12 @@ export class ProcessesCloudDemoComponent implements OnInit, OnDestroy {
}
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 });
}
@@ -25,7 +25,7 @@ import { FlexLayoutModule } from '@angular/flex-layout';
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
MatDialogModule,
MatInputModule,
MatSelectModule,
@@ -5,5 +5,6 @@
[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',
@@ -34,6 +35,7 @@ export class StartProcessCloudDemoComponent implements OnInit {
constructor(private appConfig: AppConfigService,
private cloudLayoutService: CloudLayoutService,
private route: ActivatedRoute,
private previewService: PreviewService,
private notificationService: NotificationService,
private router: Router) {
}
@@ -61,4 +63,8 @@ export class StartProcessCloudDemoComponent implements OnInit {
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(event.response.body.entry.message);
}
onFormContentClicked(resourceClicked: any) {
this.previewService.showResource(resourceClicked.nodeId);
}
}
@@ -8,8 +8,6 @@
[taskId]="taskId"
(cancelClick)="goBack()"
(taskCompleted)="onTaskCompleted()"
(taskClaimed)="onTaskClaimed()"
(taskUnclaimed)="onTaskUnclaimed()"
(formContentClicked)="onFormContentClicked($event)"
(formSaved)="onFormSaved()">
</adf-cloud-task-form>
@@ -60,14 +60,6 @@ export class TaskDetailsCloudDemoComponent {
this.goBack();
}
onTaskClaimed() {
this.taskHeader.ngOnInit();
}
onTaskUnclaimed() {
this.taskHeader.ngOnInit();
}
onFormContentClicked(resourceClicked: any) {
this.previewService.showResource(resourceClicked.nodeId);
}
@@ -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>
@@ -0,0 +1,16 @@
.app {
&-appName-input {
width: 500px;
margin-right: 50px;
}
&-taskId-input {
width: 500px;
}
&-find-task-button {
background-color: #ff9800;
margin-left: 30px;
}
}
@@ -0,0 +1,49 @@
/*!
* @license
* Copyright 2019 Alfresco Software, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Component, ViewChild } from '@angular/core';
import { TaskHeaderCloudComponent } from '@alfresco/adf-process-services-cloud';
import { FormControl } from '@angular/forms';
@Component({
templateUrl: './task-header-cloud-demo.component.html',
styleUrls: ['./task-header-cloud-demo.component.scss']
})
export class TaskHeaderCloudDemoComponent {
@ViewChild('taskHeader')
taskHeader: TaskHeaderCloudComponent;
appName: string;
taskId: string;
errorMessage;
appNameFormControl = new FormControl('');
taskIdFormControl = new FormControl('');
constructor() {}
updateTaskHeader() {
this.errorMessage = undefined;
this.appName = this.appNameFormControl.value;
this.taskId = this.taskIdFormControl.value;
}
onError(error) {
this.errorMessage = error;
}
}
@@ -27,6 +27,7 @@
[createdDate]="editedFilter.createdDate"
[dueDate]="editedFilter.dueDate"
[sorting]="sortArray"
[standalone]="editedFilter.standalone"
[multiselect]="multiselect"
[selectionMode]="selectionMode"
[stickyHeader]="true"
@@ -30,6 +30,7 @@ import { takeUntil } from 'rxjs/operators';
export class TasksCloudDemoComponent implements OnInit, OnDestroy {
public static ACTION_SAVE_AS = 'saveAs';
public static ACTION_DELETE = 'delete';
static TASK_FILTER_PROPERTY_KEYS = 'adf-edit-task-filter';
@ViewChild('taskCloud')
@@ -133,7 +134,13 @@ export class TasksCloudDemoComponent implements OnInit, OnDestroy {
}
onTaskFilterAction(filterAction: any) {
this.cloudLayoutService.setCurrentTaskFilterParam({ id: filterAction.filter.id });
if (filterAction.actionType === TasksCloudDemoComponent.ACTION_DELETE) {
this.cloudLayoutService.setCurrentTaskFilterParam({ index: 0 });
} else {
this.cloudLayoutService.setCurrentTaskFilterParam({ id: filterAction.filter.id });
}
if (filterAction.actionType === TasksCloudDemoComponent.ACTION_SAVE_AS) {
this.router.navigate([`/cloud/${this.appName}/tasks/`], { queryParams: filterAction.filter });
}
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
MonacoEditorModule
],
@@ -227,5 +227,24 @@
</adf-content-node-selector-panel>
</div>
</mat-expansion-panel>
<mat-expansion-panel>
<mat-expansion-panel-header>
<mat-panel-title>
<h2>shows files</h2>
</mat-panel-title>
<mat-panel-description>
<label class="app-content-node-selector-demo-basic-label">
Shows files in search result
</label>
</mat-panel-description>
</mat-expansion-panel-header>
<div class="app-content-node-selector-demo-basic-table">
<adf-content-node-selector-panel
[currentFolderId]="'-root-'"
[showFilesInResult]="true">
</adf-content-node-selector-panel>
</div>
</mat-expansion-panel>
</mat-accordion>
</main>
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [ContentNodeSelectorComponent]
@@ -16,8 +16,7 @@
*/
import { Component, Input } from '@angular/core';
import { DataColumn, DataRow } from '@alfresco/adf-core';
import { ObjectDataTableAdapter } from '@alfresco/adf-core';
import { DataColumn, DataRow, ObjectDataTableAdapter } from '@alfresco/adf-core';
export class FilteredDataAdapter extends ObjectDataTableAdapter {
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -49,7 +49,7 @@
<div>
<p>{{ 'DATATABLE.MULTISELECT_DESCRIPTION'| translate }}</p>
<mat-form-field>
<mat-select placeholder="Selection Mode" [(ngModel)]="selectionMode" name="food">
<mat-select placeholder="Selection Mode" [(ngModel)]="selectionMode" name="food" data-automation-id="datatable-selection-mode">
<mat-option *ngFor="let mode of selectionModes" [value]="mode.value">
{{mode.viewValue}}
</mat-option>
@@ -32,7 +32,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild()
],
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [DataTableDnDComponent]
@@ -34,10 +34,10 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes),
ContentModule.forChild(),
ExtensionsModule.forChild()
ExtensionsModule
],
declarations: [
ExtensionPresetsComponent,
@@ -24,10 +24,9 @@ import {
ElementRef,
OnDestroy
} from '@angular/core';
import { NodeEntry } from '@alfresco/js-api';
import { NodeEntry, Node } from '@alfresco/js-api';
import { BehaviorSubject, Subject } from 'rxjs';
import { AlfrescoApiService } from '@alfresco/adf-core';
import { Node } from '@alfresco/js-api';
import { takeUntil } from 'rxjs/operators';
@Component({
@@ -49,7 +49,7 @@
[color]="'primary'"
(change)="toggleMulti()"
[checked]="multi">
multi accordion
Multi accordion
</mat-slide-toggle>
</p>
@@ -59,7 +59,7 @@
[color]="'primary'"
(change)="toggleReadOnly()"
[checked]="isReadOnly">
Editable
Read Only
</mat-slide-toggle>
</p>
@@ -108,7 +108,7 @@
<mat-card>
<mat-card-content>
<adf-version-manager [node]="node"
(uploadError)="uploadError($event)">
(uploadError)="onUploadError($event)">
</adf-version-manager>
</mat-card-content>
</mat-card>
@@ -328,7 +328,7 @@
[allowRightSidebar]="allowRightSidebar"
[allowLeftSidebar]="allowLeftSidebar"
[urlFile]="urlFile"
(showViewerChange)="onViewerVisibilityChanged($event)"
(showViewerChange)="onViewerVisibilityChanged()"
[sidebarLeftTemplate]="sidebarLeftTemplate"
[sidebarRightTemplate]="sidebarRightTemplate">
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
InfoDrawerModule,
ContentDirectiveModule,
ContentMetadataModule,
@@ -1,7 +1,7 @@
<adf-toolbar>
<adf-toolbar-title>
<mat-form-field>
<mat-select [(ngModel)]="selectedSource">
<mat-select [(ngModel)]="selectedSource" data-automation-id="custom-sources-select">
<mat-option *ngFor="let source of sources" [value]="source.value">
{{ source.title }}
</mat-option>
@@ -33,7 +33,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild(),
CoreModule,
ContentModule.forChild()
],
declarations: [CustomSourcesComponent]
@@ -41,7 +41,8 @@
[versioning]="versioning"
[adf-check-allowable-operation]="'create'"
[adf-nodes]="disableDragArea ? getCurrentDocumentListNode() : []"
(beginUpload)="onBeginUpload($event)">
(beginUpload)="onBeginUpload($event)"
(updateFileVersion)="onUploadNewVersion($event)">
<div *ngIf="errorMessage" class="app-error-message">
<button (click)="resetError()" mat-icon-button>
<mat-icon>highlight_off</mat-icon>
@@ -113,7 +114,9 @@
<mat-icon>get_app</mat-icon>
</button>
<button mat-icon-button
data-automation-id="delete-toolbar-button"
adf-check-allowable-operation="delete"
permanent=true
[adf-nodes]="documentList.selection"
title="{{ 'DOCUMENT_LIST.TOOLBAR.DELETE' | translate }}"
(delete)="onDeleteActionSuccess($event)"
@@ -318,6 +321,7 @@
<data-column
title="{{'DOCUMENT_LIST.COLUMNS.IS_LOCKED' | translate}}"
key="id"
[focus]="false"
class="app-desktop-only adf-ellipsis-cell">
<ng-template let-entry="$implicit">
<button mat-icon-button [adf-node-lock]="entry.row.node.entry" class="app-lock-button">
@@ -443,7 +447,7 @@
<adf-infinite-pagination
[hidden]="!infiniteScrolling"
[target]="documentList"
[loading]="documentList.infiniteLoading">
[loading]="documentList.loading">
{{ 'ADF-DOCUMENT-LIST.LAYOUT.LOAD_MORE' | translate }}
</adf-infinite-pagination>
</adf-upload-drag-area>
@@ -562,8 +566,8 @@
</section>
<section>
<mat-slide-toggle id="adf-document-list-enable-drop-files" [color]="'primary'" [(ngModel)]="allowDropFiles"
(click)="toggleAllowDropFiles()">
<mat-slide-toggle id="adf-document-list-enable-drop-files" [color]="'primary'" [checked]="allowDropFiles"
(change)="toggleAllowDropFiles()">
{{'DOCUMENT_LIST.ALLOW_DROP_FILES' | translate}}
</mat-slide-toggle>
</section>
@@ -29,8 +29,9 @@
}
}
.app-datatable-card .app-lock-button {
.adf-datatable-card .app-lock-button {
top: -10px;
position: absolute;
}
.app-site-container-style {
@@ -23,7 +23,7 @@ import { Location } from '@angular/common';
import { MatDialog } from '@angular/material';
import { ActivatedRoute, Params, Router } from '@angular/router';
import { MinimalNodeEntity, NodePaging, Pagination, MinimalNodeEntryEntity, SiteEntry } from '@alfresco/js-api';
import { MinimalNodeEntity, NodePaging, Pagination, MinimalNodeEntryEntity, SiteEntry, SearchEntry } from '@alfresco/js-api';
import {
AlfrescoApiService, AuthenticationService, AppConfigService, AppConfigValues, ContentService, TranslationService,
FileUploadEvent, FolderCreatedEvent, LogService, NotificationService,
@@ -48,7 +48,6 @@ import { MetadataDialogAdapterComponent } from './metadata-dialog-adapter.compon
import { Subject } from 'rxjs';
import { PreviewService } from '../../services/preview.service';
import { debounceTime, takeUntil } from 'rxjs/operators';
import { SearchEntry } from '@alfresco/js-api';
const DEFAULT_FOLDER_TO_SHOW = '-my-';
@@ -76,9 +75,9 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
toolbarColor = 'default';
selectionModes = [
{ value: 'none', viewValue: 'None' },
{ value: 'single', viewValue: 'Single' },
{ value: 'multiple', viewValue: 'Multiple' }
{value: 'none', viewValue: 'None'},
{value: 'single', viewValue: 'Single'},
{value: 'multiple', viewValue: 'Multiple'}
];
// The identifier of a node. You can also use one of these well-known aliases: -my- | -shared- | -root-
@@ -238,6 +237,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
}
toggleAllowDropFiles() {
this.allowDropFiles = !this.allowDropFiles;
this.documentList.reload();
}
@@ -323,7 +323,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
getCurrentDocumentListNode(): MinimalNodeEntity[] {
if (this.documentList.folderNode) {
return [{ entry: this.documentList.folderNode }];
return [{entry: this.documentList.folderNode}];
} else {
return [];
}
@@ -374,8 +374,8 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
});
}
openSnackMessage(event: any) {
this.notificationService.openSnackMessage(event);
openSnackMessage(message: string) {
this.notificationService.showError(message);
}
emitReadyEvent(event: NodePaging) {
@@ -428,7 +428,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
if (this.contentService.hasAllowableOperations(contentEntry, 'update')) {
this.dialog.open(VersionManagerDialogAdapterComponent, {
data: { contentEntry: contentEntry, showComments: showComments, allowDownload: allowDownload },
data: {contentEntry: contentEntry, showComments: showComments, allowDownload: allowDownload},
panelClass: 'adf-version-manager-dialog',
width: '630px'
});
@@ -592,6 +592,27 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
this.logService.log(event);
}
onUploadNewVersion(ev) {
const contentEntry = ev.detail.data.node.entry;
const showComments = this.showVersionComments;
const allowDownload = this.allowVersionDownload;
const newFileVersion = ev.detail.files[0].file;
if (this.contentService.hasAllowableOperations(contentEntry, 'update')) {
this.dialog.open(VersionManagerDialogAdapterComponent, {
data: {
contentEntry: contentEntry, showComments: showComments, allowDownload: allowDownload,
newFileVersion: newFileVersion, showComparison: true
},
panelClass: 'adf-version-manager-dialog',
width: '630px'
});
} else {
const translatedErrorMessage: any = this.translateService.instant('OPERATION.ERROR.PERMISSION');
this.openSnackMessage(translatedErrorMessage);
}
}
getFileFiltering(): string {
return this.acceptedFilesTypeShow ? this.acceptedFilesType : '*';
}
@@ -7,7 +7,7 @@
</section>
<section>
<mat-slide-toggle id="adf-version-manager-switch-download"color="primary" [(ngModel)]="allowDownload">
<mat-slide-toggle id="adf-version-manager-switch-download" color="primary" [(ngModel)]="allowDownload">
{{'APP.ADF_VERSION_MANAGER.ALLOW_DOWNLOAD' | translate}}
</mat-slide-toggle>
</section>
@@ -18,11 +18,24 @@
</mat-slide-toggle>
</section>
<section *ngIf="newFileVersion">
<mat-slide-toggle id="adf-version-manager-switch-comparison" color="primary" [(ngModel)]="showVersionComparison">
{{'APP.ADF_VERSION_MANAGER.VERSION_COMPARISON' | translate}}
</mat-slide-toggle>
</section>
<section mat-dialog-content *ngIf="!readOnly">
<adf-version-manager [node]="contentEntry" [allowDownload]="allowDownload" [showComments]="showComments" (uploadError)="uploadError($event)"></adf-version-manager>
<adf-version-manager [node]="contentEntry"
(uploadCancel)="hideVersionComparison($event)"
(uploadSuccess)="hideVersionComparison($event)"
[showVersionComparison]="showVersionComparison"
[newFileVersion]="newFileVersion"
[allowDownload]="allowDownload"
[showComments]="showComments"
(uploadError)="uploadError($event)"></adf-version-manager>
</section>
<section mat-dialog-content *ngIf="readOnly">
<adf-version-list [node]="contentEntry" [showActions]="false" ></adf-version-list>
<adf-version-list [node]="contentEntry" [showActions]="false"></adf-version-list>
</section>
<footer mat-dialog-actions fxLayout="row" fxLayoutAlign="end center">
@@ -16,9 +16,9 @@
*/
import { Component, Inject, ViewEncapsulation } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { MinimalNodeEntryEntity } from '@alfresco/js-api';
import { MatSnackBar } from '@angular/material';
import { MatSnackBar } from '@angular/material/snack-bar';
@Component({
templateUrl: './version-manager-dialog-adapter.component.html',
@@ -27,24 +27,34 @@ import { MatSnackBar } from '@angular/material';
export class VersionManagerDialogAdapterComponent {
public contentEntry: MinimalNodeEntryEntity;
public newFileVersion: File;
showComments = true;
allowDownload = true;
readOnly = false;
showVersionComparison = false;
constructor(@Inject(MAT_DIALOG_DATA) data: any,
private snackBar: MatSnackBar,
private containingDialog?: MatDialogRef<VersionManagerDialogAdapterComponent>) {
this.contentEntry = data.contentEntry;
this.newFileVersion = data.hasOwnProperty('newFileVersion') ? data.newFileVersion : this.newFileVersion;
this.showComments = data.hasOwnProperty('showComments') ? data.showComments : this.showComments;
this.allowDownload = data.hasOwnProperty('allowDownload') ? data.allowDownload : this.allowDownload;
}
uploadError(errorMessage: string) {
this.snackBar.open(errorMessage, '', { duration: 4000 });
this.snackBar.open(errorMessage, '', {duration: 4000});
}
close() {
this.containingDialog.close();
}
hideVersionComparison(isCancelled: boolean | Node) {
if (isCancelled) {
this.showVersionComparison = false;
this.newFileVersion = null;
}
}
}
@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Observable, of } from 'rxjs';
import { Observable, of, Subject } from 'rxjs';
import { Injectable } from '@angular/core';
import {
AlfrescoApiService,
@@ -24,7 +24,6 @@ import {
FormService,
FormOutcomeEvent
} from '@alfresco/adf-core';
import { Subject } from 'rxjs';
@Injectable()
export class FakeFormService extends FormService {
@@ -16,7 +16,8 @@
*/
import { Component, Inject, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
import { FormModel, FormFieldModel, FormService, FormOutcomeEvent, NotificationService, CoreAutomationService } from '@alfresco/adf-core';
import { FormModel, FormFieldModel, FormService, FormOutcomeEvent, NotificationService, CoreAutomationService, FormRenderingService } from '@alfresco/adf-core';
import { ProcessFormRenderingService } from '@alfresco/adf-process-services';
import { InMemoryFormService } from '../../services/in-memory-form.service';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
@@ -26,7 +27,8 @@ import { takeUntil } from 'rxjs/operators';
templateUrl: 'form.component.html',
styleUrls: ['form.component.scss'],
providers: [
{ provide: FormService, useClass: InMemoryFormService }
{ provide: FormService, useClass: InMemoryFormService },
{ provide: FormRenderingService, useClass: ProcessFormRenderingService }
],
encapsulation: ViewEncapsulation.None
})
@@ -32,7 +32,7 @@ const routes: Routes = [
imports: [
CommonModule,
RouterModule.forChild(routes),
CoreModule.forChild()
CoreModule
],
declarations: [HeaderDataComponent]
})
@@ -1,36 +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 { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { HomeComponent } from './home.component';
import { CoreModule } from '@alfresco/adf-core';
describe('HomeComponent', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [CoreModule.forRoot()],
declarations: [HomeComponent],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
});
});
it ('should work', () => {
const fixture = TestBed.createComponent(HomeComponent);
expect(fixture.componentInstance instanceof HomeComponent).toBe(true, 'should create HomeComponent');
});
});
@@ -31,7 +31,7 @@ const routes: Routes = [
@NgModule({
imports: [
CommonModule,
CoreModule.forChild(),
CoreModule,
RouterModule.forChild(routes)
],
declarations: [IconsComponent]

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