mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-16 18:13:06 +00:00
* [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core (#4928) * [ADF-4738] [Process -Cloud] Move GroupCloudService to adf-core lib. * * Changed GroupModel to IdentityGroupModel * Updated unit tests the recent changes. * * Added documentation to the identityGroupService * Updated GroupInitial and GroupCoudcomponent doc. * * Created groupCount model. * Updated unit test to the recent changes * * After rebase updated doc * * Fixed comments. * [ADF-4497] ARIA role must be appropriate for the Breadcrumb element (#4986) * breadcrumb accessibility * translation * [ADF-4802] Login accessibility (#4988) * login button aria label * password toggle accessibility * translation * fix test * fix automation if * add missing export * [ADF-4811] - added extra method to open snackbar with interpolate arg… (#4989) * [ADF-4811] - added extra method to open snackbar with interpolate args for translated messages * [ADF-4811] - added extra parameter to show info * [ADF-4811] - added extra parameter to show info * [ADF-4811] added review changes * CI/CD Improvement - Create a release with tag when we merge master (#4991) * Create a release with tag when we merge master * Add release name with version * Documentation fix for Card View component (#4990) * Disable control flow e2e ADF (#4954) * update project script possible different JS-API * first commit no controll flow * second commit no controll flow * third commit no controll flow * 4 commit no controll flow * 5 commit no controll flow * 6 commit no controll flow * 7 commit no controll flow * 8 commit no controll flow * 9 commit no controll flow * 10 commit no controll flow * 11 commit no controll flow * 12 commit no controll flow * 13 commit no controll flow * 14 commit no controll flow * 15 commit no controll flow * 16 commit no controll flow * 17 commit no controll flow * 18 commit no controll flow * 19 commit no controll flow * 20 commit no controll flow * remove wdpromise, protractor promise and deferred promises * - fixed some incorrect “expect” calls - fixed some matchers - removed “return this;” when not needed - added a few more await-s * forgot a file * fix some failing tests * replaced driver calls with browser calls and enabled back waitForAngular * fix rightClick methods and hopefully some tests * fix settings-component * some more fixes for core and content tests * try to fix some more issues * linting * revert some changes, allowing download on headless chrome won’t work with multiple browser instances * fixes for Search tests * try to remove some wait calls * fix build * increase allScriptsTimeout and try another protractor and web driver version * improve navigation methods * some fixes for notification history and login sso * forgot a space * fix packages and enable some screenshots * navigation bar fixes * fix some test * some fixes for notification history and navigation bar use correct visibility method in attachFileWidget test * fix searching and another fix for navigation * try solve sso login * some more fixes * refactor async forEach into for..of * try fix for search tests * resolve rebabse problems * remove install * fix lint * fix core e2e * fix core e2e * fix core e2e * fix ps tests * fix some tests * fix core e2e * fix core e2e * fix core * fix some issues PS * fix core * fix core * fix some ps test * fix rebase issues * remove save * fix url regressed after rebase * fix url regressed after rebase * fix ps and core * fix lint * more parallel e2e ps * fix some ps cloud test * some cloud fix * fix lint * fix some test * remove files to be ignored * out-tsc * improve one cs test * fix candidate base app * fix ps test * remove click function * clean methods alrady present in browser action * try ugly wait * move wait * remove duplicate call * remove underscore * fix after review * fix imports * minor cosmetic fixes * fix comments test * add aria-sort (#4997) * [ADF-4816] Refactor About component (#5000) * [ADF-4816] Refactor About component * Update package.json * Add the npm publish as part of adf-cli (#5002) * Add a travis step to publish on npm (#5004) * [ADF-4799][ADF-4801] Automation tests for CardView clear date field and selectbox None option (#4993) * [ADF-4799] Automation for clear date button * [ADF-4801] Automate test for selectbox None option * add aria label and selected (#4999) * [ADF-4809] Automation for non-editable task details when completed (#5001) * [ADF-4976] Fix variable being referenced before initialization (#4977) * remove obsolete option from test-e2e * Enable the npm install on push branch * Npm publish the dist folder * Rebuild the libs after the next alpha * Change the version before building * Add the npmrc file in the correct folder and remove after publish * Remove the build all in the release job * Use the local npm publish command * cache the lib/dist * Change cli dist * Rollback mistake on update-version.sh * Clean the lib/dit * Clean the lib/dist * Revert change on update version * Rollback the 3.4 version * Run the clean before building * Run the deploy Pr only for PR * added a new version of candidatebaseapp with process ui workspace defined. (#5006) * rename subbprocess without capital letters * [ADF-4837] - Automation checkbox visibility e2e tests (#5010) * [ADF-4828] [ProcessListCloudComponent] Add action and context menu. (#5009) * * Demo on list com * [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu. * Exposed action and context menu. * Provided a way to in the demo shell to test action menu. * Added required transaltion on demo shell. * * Added doc * * Fixed comments. * fix clean script * [ADF-4846] Move to ADF the style overrides from ACA (#5016) * [ADF-4846] add $data-table-cell-link-color variable - move style fix needed on ACA to ADF * [ADF-4846] add $adf-permission-list-width variable - moved style fix for adf-permission-lists from ACA to ADF * [ADF-4850] Travis add check bundle size and docker publish (#5023) * Add a check bundle job after the release * Add a docker push step and update rancher * Split update rancher in a different job * Split update rancher in a different job * Install the adf-cli * Run docker publish and rancher update only on push * Use the adf-cli local code * Run the docker push before * [ADF-4825] Use ADF-CLI in ADF for versions and latest commit (#4994) * [ADF-4825] Use ADF-CLI in ADF for versions and latest commit * Add documentation * Update update-version.ts * Update release.sh * Update update-project.sh * Update release.sh * Update update-project.sh * Update release.sh * Update update-project.sh * Update README.md * Rebase branch * Update package.json * Update build.sh * Update package.json * Improve the docker log * Improve the docker log * Npm install latest adf-cli * Propose a correction to what appears to be a minor typo (#5026) * Propose a correction to what appears to be a minor typo removed the word 'a'. * Update extensibility.md * Use docker commands * Use the correct docker repo domain * echo rancher job * Check remote env if is full before to start the e2e CS (#5024) * add check remote env full * Update check-cs-env.js * revert change on dockerfile * Get the latest alpha before the install * fix content service document list action test (#5027) * fix content service document list action test * restore build.sh * perform twice movement mosue for right click for avoid bug in non headless chrome * change sso ref element present * change sso ref element present * fix release apha * fix permissions * [ADF-4847] Not able to find any user in Assignee field when creating a task (#5029) * [ADF-4847] Not able to find any user in Assignee field when creating a task Updated url to fetch composite user roles * [ADF-4847] Fixing failing E2E tests * release update commands pipeline * Run the update children project if is push or beta * Change the condition for master * [ADF-4816] Move localization keys for About component from demo-shell to core (#5007) * [ADF-4852] Make use of ADF-CLI command to update sha (#5032) * [ADF-4852] Make use of ADF-CLI command to update sha * Update build.sh * [ADF-4839] Document List - column name link accessibility (#5011) * accessibility * rename translation key * translation key name * link name component accessibility * generic translation * move codecov inside unit test to avoid the aftes success execution in any script stage * CI/CD allow a Travis cron job to create beta and update children proj… (#5033) * CI/CD allow a Travis cron job to create beta and update children projects * Update build.sh * Add condition for default jobs * [ADF-4544] Automation for form button refresh after action (#4835) * fix "ng lint" command (#5012) * update to latest js-api * fix the "ng lint" command * fix linting issues * fix lint issues * lint fixes * code fixes * fix html * fix html * update tests * test fixes * update tests * fix tests and api * fix code * [ADF-4845] Uploader - Expanded/collapsed state not exposed (#5015) * state accessibility * remove aria-disabled * fix scripts npm * add typscritp compiler in cli build * fix cli command use * Use the git token * lint missin install * move install in travis and out from lint.sh * [ADF-4843] - Automate more manual test cases for visibility chaining … (#5014) * [ADF-4843] - Automate more manual test cases for visibility chaining in ADF * fix lint * Cache the lib/dist for npm publish purpose * Try to create tag with token * [ADF-3723]Add visibility conditions on tabs - form rendering component tests (#5022) * Add visibility conditions on tabs - form rendering component tests * no message * Moved the suite to process-services-cloud folder * no message * accumulate common lib task in first job to avoid cache problems * change order check bundle * remove lib/dist from cache * [ADF-4854] sticky header for task list (#5036) * sticky header for task list * fix html * add docs * update code docs * [ADF-4840] Fixing failing tests on process-services-cloud (#5013) * [ADF-4840] Fixing dropdown-widget.e2e.ts-beforeEach and start-task-group-cloud.e2e.ts-afterAll * [ADF-4840] Testing with apps deployed with different permissions * [ADF-4840] Fixing edit-process-filters-component.e2e.ts * [ADF-4840] Add space to lib/process-services-cloud * [ADF-4840] Fixing people-group-cloud-filter-component and reverting changes to the appNames * [ADF-4840] Fixing start-task-custom-app-cloud * repair doc tools and polish the docs code (#5038) * set private access modifier * repair doc build tools * fix lit issues * re-generate version index * [ADF-4848] Form - fix tab visibility (#5021) * [ADF-4848] - fix tab visibility * add unit test * [ADF-4764] Hide placeholder in Amount Widget in readOnly mode (#5035) * [ADF-4764] Hide placeholder in Amount Widget in readOnly mode * add missing return type * Update .travis.yml * [ACTIVITI-3720] form variables enhancements (#5028) * support form variables on the model level * take 'variables.name' convention into account * move API to a proper place * unit tests and code fixes * unit tests for form field model * process variable interface * [ADF-4860] Travis add tag beta on cron job (#5042) * add the name and email values and push with the token * add the name and email values and push with the token * Release the beta in case the cron job runs * Create TAG_NPM based on the branch * [ADF-4855] Upload dialog - Buttons must have discernible text (#5040) * aria labels translation keys * actions aria label * announce confirmation content * Trigger alpha * Move the tag on the release sh * Run only the update children in case the tag is beta * Use enterprise token and npx to avoid install * [ADF-4823] added download and show preview for attach cloud widget (#4996) * [ADF-4823] fixed download and start fixing show preview * [ADF-4823] fixed preview files * [ADF-4823] - added unit test * [ADF-4823] - fixed lint problem * [ADF-4823] - rebased and fixed lint problem * added a new method in BrowserActions to check that the action menu is visible, and using that in the tests. * linting fixes * [ADF-4862] Upload dialog - reading order (#5045) * dialog container accessibility * upload container aria label translation key * focus on active upload dialog * test * add back removed aria-label * Use the correct adf-cli * [ACTIVITI-3739] make display show json types (#5046) * Fix the adf-cli with version option * Update the js api with the vjs version * [ADF-4828] Should display the custom action menu for Process Cloud List (#5030) * C315236 automated * updated the Title * changed the method name * Fixing Process Cloud tests (#5055) * Trigger alpha * Fixing people-group-cloud-component.e2e.ts * [DW-1328] added the create and delete role api for test preconditions (#5052) * added the create and delete role api for test preconditions * added the required visibility conditions, for the method to work consistently across apps * removed the visibility conditions that are not necessary * [ACTIVITI-3720] cloud form support for form variable mapping (#5044) * universal form model * parse variables correctly * turn group model into interface * remove console.log * interface instead of class * update form id type * improved form variable parsing * improved variable conversion * fix cloud tests * fix typings and code bugs * [ADF-4865] Upload Dialog - row actions not accessible by keyboard alone (#5051) * access upload dialog information by keyboard * upload files actions keyboard accessibility * aria labels translation keys * refractor styling * toggle action icons * update docs * e2e * e2e update action reference * [ADF-4831] DocumentList - filetype alternative text is not meaningful (#4998) * filetype alternative text * icons text translation key * icon text accessibility translation * fix e2e * add miscellaneous file type * [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks (#4995) * [ADF-4826] Process/Task list first displays "No Process/Task Found" and then loads the Process/Tasks * Initialized loader flag to true * Updated unit tests * fixed lint errors * [ADF-4794] Not able to attach a second file to a form after one has already been attached (#5058) * [ADF-4041] - fix People/Group preselected issues (#4866) * [ADF-4041] - fix People/Group preselected issues * [ADF-4041] - remove duplicated groups * [ADF-4041] - fix lint * [ADF-4041] - fix label overlay * [ADF-4041] - lint * [ADF-4041] - PR changes * clear timeout * remove unused property * clear timeout * fix default preselect user * [ADF-4867] adf-error-component refactor (#5056) * Refactor the adf-error-component Move the custom buttons on demoshell Fix unit test Remove usefull e2e * Add basic example * [ADF-4838] Upload Dialog - canceling a pending file cancels the file in progress (#5063) * add automation id * call cancel upload api only if file is not pending * tests * e2e * Use npx instead of absolute adf-cli path (#5053) * [DW-1478] E2e - Move 'filter' component from Admin Application (#5061) * [DW-1478] E2e - Move 'filter' component from Admin Application * Replace admin e2e framework methods with ADF reusable ones * Add return type for filter component method * Fix browser-actions errors * Remove clear() method from browser-actions * Add and rename edit filter components methods * Remove unused methods from browser-actions Add method to retrieve the application selected in Edit Process Filter * Fix called method in edit task filter component * [ADF-4798] - [adf-content-node-selector] File icons are not showing properly (#5054) * Log class in e2e plus check PS cloud CS works before run test (#5057) * check cs work on ps cloud add log class * fix env config * Use npx instead of absolute adf-cli path (#5053) (reverted from commit140f60b8dc) * Update package.json * fix FormRepresentationModel interface * [ADF-4878] Refactor, Split ADF About component (#5064) * Refactor, Split ADF About component * [ADF-4878] Add documentation * [ADF-4878] Rename Component * [ADF-4878] Implement comments * [ADF-4878] Update documentation for about components * [ADF-4888] DocumentList - cell header title is announced over cell value (#5068) * fix focus outline * focus on cell values * focus on size value if defined * row actions menu aria-label * temporary switch off the FormModel json typing * use custom chrome version with puppeteer (#5070) * use custom chrome version with puppeteer * pin to Chromium 76 * update code to trigger travis * update protractor * try remove extra env setting * try chrome 62 * upgrade to chrome 76, exclude 3 tests * add safety check for the focus * toggle tests * disable tests * disable flaky test * update names * disable flaky test * disable flaky test * disable test * disable test * fix name simpleapp * rename simpleApp to simpleapp project change * [ACTIVITI-3746] - fix form completion with tab fields (#5059) * [ACTIVITI-3746] - fix form completion with tab fields * fix lint * fix unit test * refractoring and PR changes * fix unit tests * [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu. (#5018) * * Demo on list com * [ADF-4828] [ADF] [ProcessListCloudComponent] Add action and context menu. * Exposed action and context menu. * Provided a way to in the demo shell to test action menu. * Added required transaltion on demo shell. * * Added doc * [ADF-4829] [ADF] [TaskListCloudComponent] Add action and context menu. * Exposed action and contect menu on tasklist page. * * Added documentation. * * Fixed typo * * After rebase * * Fixed failing e2e test on cloud demo tasklist * * Added providedIn in Task/process cloud service. * [ADF-4807] Automation tests for date min/max validation (#5008) * Trigger alpha * [ADF-4807] Automation tests for date min/max validation * Removing identityUser changes * Add as group suffix the travis build number (#5072) * * Fixed failing unit tests on process-services. (#5080) * [ADF-4892] DocumentList - set appropriate column aria-sort state (#5079) * set specific aria-sort state * return false when table has no sorting * move logic to component * aria sort method * tests * [ADF-3724]Create tests for visibility conditions on tabs on APS1 (#5065) * Create tests for visibility conditions on tabs on APS1 * Fix comments * Fix linting * Remove the final / * [ADF-3725]Add visibility conditions on tabs tests when completing a task (#5034) * Add visibility conditions on tabs tests when completing a task * Fix comments * Removing unused import. * Changed simpleapp * Rebase * Removed comment * Revert "Rebase" This reverts commit417b59f541. * Remove unused method * Updated the simpleapp and added superadminuser when deploying the apps (#5075) * updated the simpleapp with the process-variables required and added superadminuser when deploying the apps. * simpleapp updated with more process variables * simpleapp added with process variables (#5085) * [ADF-4868] [APS-1] adf-content-node-selector seems broken when we upload from External Alfresco content service (#5078) * [ADF-4829] - Add e2e tests for custom action menu in TaskList and ProcessList (#5081) * in progress custom action menu on tasklist * C315723 - automated * split into 2 methods, addAction, addDisabledAction * added superadminuser as aps_admin user when deploying the apps (#5087) * [ADF-4894] Json editor dialog (#5082) * move download-zip to its own folder * json dialog * update docs * update test * disable e2e test * json widget for the Form * remove deprecated test * fix tests, update display text name * [ADF-4858] Make sure process-services works with ng commands (#5067) * Process-services: Making sure you can run ng build process-services ng test process-services * Fix the path of the styles * move the file in the right place * Add the travis TAGS value to docker * Fix the process-service export * fix readonly attribute * remove old versions.json (#5089) * [ADF-4906] [ADF] Not able upload file from ACS when start process with form (#5094) * [ADF-4909] Hide about-plugins and about-product-versions sections whe… (#5095) * [ADF-4909] Hide about-plugins and about-product-versions sections when they are empty * [ADF-4909] Add missing unsubsciption * release docs * [ADF-4914] Fix update versions script on Generator and AMA (#5098) * [ADF-4913] Fix Gallery View in datatable Component (#5101) * Use the latest candidatebaseapp * Review documentation plus some tools fix (#5100) * review 3.5.0 doc * fix documentation * fix documentation * fix documentation * [ADF-4922] Fix update project script for Generator and Modeler (#5103) * [ADF-4810] sso public urls configuration (#5102) * update OAUTH schema and model * update demoshell config for public urls * update sso docs (#5104) * [ADF-4810][ADF-4824] get the latest @alfresco/js-api with SSO fixes (#5106) * generic text (#5105) * [APM-1412] Fix Json dialog on Form json widget (#5107) * [ADF-4921] upload widget fixes (#5109) * upload widget fixes * fix mocks * [ADF-4925] Fix process variable mapping in Form Cloud component (#5110) * [ADF-4873] Release note in draft. (#5093) * [ADF-4873] Release note in draft. * [ADF-4873] Compantibility matrix. * Update release notes * [ADF-4873] Added the authorization topic to release note. * Update RelNote350.md * Revert "[ADF-4925] Fix process variable mapping in Form Cloud component (#5110)" This reverts commit7c692137e3. * localization 3.5.0 (#5112) * [ADF-4905] StartProcessCloud - fix starting different process than se… (#5091) * [ADF-4905] StartProcessCloud - fix starting different process than selected in dropdown * fix process e2e test * revert e2e changes * [ADF-4810] fix sso settings (#5108) * fix sso settings * fix test * update-js-api * update-js-api * invert test order for some reason * fix focus outline (#5115) * sso settigs fix (#5114) * fix test * update-js-api * update-js-api * invert test order for some reason * split before save publicUrls * split before save publicUrls * [ADF-4810] split if publicUrls is not Array * [ADF-4810]better check for string * [ADF-4925] Fix Process Variable mapping in ADF forms (#5116) * bump 3.5.0
447 lines
28 KiB
Markdown
447 lines
28 KiB
Markdown
---
|
|
Title: Release notes v2.1.0
|
|
---
|
|
|
|
# Alfresco Application Development Framework, version 2.1.0 Release Note
|
|
|
|
These release notes provide information for the **2.1.0 release** of the Alfresco Application Development Framework.
|
|
|
|
This is the first **General Available** release of the Application Development Framework, which contains the Angular components to build a Web Application on top of the Alfresco Services.
|
|
The release can be found on GitHub at [this link.](https://github.com/Alfresco/alfresco-ng2-components/releases/tag/1.7.0)
|
|
|
|
## Contents
|
|
|
|
- [New name packages](#new-name-packages)
|
|
- [Goals for this release](#goals-for-this-release)
|
|
- [Notable new features](#notable-new-features)
|
|
- [1. Viewer Enhancements](#1-viewer-enhancements)
|
|
- [2. Upload file from CS widget](#2-upload-file-from-cs-widget)
|
|
- [3. Attach Folder from CS widget](#3-attach-folder-from-cs-widget)
|
|
- [4. Content metadata component enhancements](#4-content-metadata-component-enhancements)
|
|
- [5. Start process from a file](#5-start-process-from-a-file)
|
|
- [6. Start form process prefilling values](#6-start-form-process-prefilling-values)
|
|
- [7. Task List - Support custom HTML template and static columns](#7-task-list---support-custom-html-template-and-static-columns)
|
|
- [8. Sidebar action menu](#8-sidebar-action-menu)
|
|
- [9. Infinite pagination component enhancement](#9-infinite-pagination-component-enhancement)
|
|
- [10. App drop-down dialog selector](#10-app-drop-down-dialog-selector)
|
|
- [11. JS-API Governance](#11-js-api-governance)
|
|
- [12. Documentation](#12-documentation)
|
|
- [CI changes](#ci-changes)
|
|
- [References](#references)
|
|
- [Issues addressed](#issues-addressed)
|
|
- [Documentation](#documentation)
|
|
- [Feature](#feature)
|
|
- [Story](#story)
|
|
- [Bug](#bug)
|
|
- [New Feature](#new-feature)
|
|
- [Task](#task)
|
|
|
|
## New name packages
|
|
|
|
"@alfresco/adf-content-services" : "2.1.0"
|
|
"@alfresco/adf-process-services" : "2.1.0"
|
|
"@alfresco/adf-core" : "2.1.0"
|
|
"@alfresco/adf-insights" : "2.1.0"
|
|
|
|
Two new dependencies have been added:
|
|
|
|
"@mat-datetimepicker/core": "^1.0.1",
|
|
"@mat-datetimepicker/moment": "^1.0.1",
|
|
|
|
We will keep these packages until material data picker supports setting the time.
|
|
|
|
## Goals for this release
|
|
|
|
Continuing on our journey for ADF, this release had a big focus on enhancing the Alfresco Digital Business Platform story. We have added new features to enable deeper Process and Content integration between ACS and APS, meaning you can now browse and attach content from ACS in your APS Forms. We've also added more configuration around the Process Start [Form,](../../lib/process-services/task-list/models/form.model.ts) allowing you to pre-populate fields. This enables use cases to start processes directly from a document.
|
|
|
|
The [Content Metadata component](../content-services/components/content-metadata-card.component.md) also got a lot of new features: It now has full support for custom metadata and aspects. It's dynamic and has complex configuration to enable exactly which aspects and properties you want to show in your app. These are just a few highlights for this release. See the full details below.
|
|
|
|
This release builds on the one from last month and contains bug fixes and new features as listed below.
|
|
Please report issues with this release in the [issue tracker](https://github.com/Alfresco/alfresco-ng2-components/issues). You can collaborate on this release or share feedback by using the discussion tools on [Gitter](https://gitter.im/Alfresco/alfresco-ng2-components).
|
|
|
|
## Notable new features
|
|
|
|
Below are the most important new features of this release:
|
|
|
|
- Viewer Enhancements
|
|
- Upload file from CS widget
|
|
- Attach Folder from CS Widget
|
|
- [Content metadata component](../content-services/components/content-metadata-card.component.md) enhancements
|
|
- Start process from a file
|
|
- Start form process pre-filling value
|
|
- Task List - Support custom HTML template and static columns
|
|
- Sidebar action menu
|
|
- [Infinite pagination component](../core/components/infinite-pagination.component.md) enhancement
|
|
- App drop-down dialog selector
|
|
- JS-API Governance
|
|
- Documentation enhancements
|
|
|
|
### 1. Viewer Enhancements
|
|
|
|
In this release, the [Viewer component](../core/components/viewer.component.md) got improved styles and document processing enhancements:
|
|
|
|
- better handling of PDF documents
|
|
- improved fallback to PDF rendition of certain documents
|
|
- automatic fallback to Thumbnail when PDF rendition is not available (for example when viewing Apple Keynote/Pages/Numbers files)
|
|
- support for viewing Shared links with a new "sharedLinkId" property that allows the Viewer to display shared content (does not require authentication)
|
|
|
|
### 2. Upload file from CS widget
|
|
|
|

|
|
|
|
In this release we have re-enabled and improved the upload file widget of our [form component](../core/components/form.component.md).
|
|
We have added the option to choose the file to upload from a configured ECM repository of APS.
|
|
|
|
This allows you to start the navigation of ECM folders starting from a configured folder or just from the root. It also has an option to restrict the selection to files.
|
|
Sometimes you might want to allow the user to choose from all the sources. The new upload widget will show all the options in the menu when clicked.
|
|
It is also possible to make it work like a normal local file uploader by configuring it to allow only local files.
|
|
|
|
### 3. Attach Folder from CS widget
|
|
|
|

|
|
|
|
We have added the attach folder widget which is really useful in processes where you need to create your content in the ECM platform via APS .
|
|
As you can see this widget works like the attach file widget in terms of navigation through the folders and restricting the selection to folders.
|
|
|
|
### 4. Content metadata component enhancements
|
|
|
|

|
|
|
|
The purpose of the [content metadata component](../content-services/components/content-metadata-card.component.md) is to display the metadata belonging to a given node. Until now, the component was capable of displaying and making the basic properties editable, but with the latest enhancements, all of the system wide and custom aspects related to a particular node can be displayed and edited.
|
|
|
|
The component can be configured from the application configuration. This way, you can easily restrict the displayed metadata to a list of aspects or even further, to just a subset or properties belonging to an aspect.
|
|
|
|
For more information about the component see its [documentation](https://community.alfresco.com/docs/DOC-7301-introduction-to-the-new-content-metadata-component) or [this article](../content-services/components/content-metadata-card.component.md).
|
|
|
|
### 5. Start process from a file
|
|
|
|

|
|
|
|
After the repository is created in APS, you can see it in the Alfresco Repositories list. If the ID is set to 1 then all default values are fine. However, if it is set to something else, for example
|
|
_1002_ and the name is _alfresco_, you must set the property alfrescoRepositoryName in your app.config.json file to _alfresco-1002_:
|
|
|
|
{
|
|
name: 'Alfresco ADF Application'
|
|
},
|
|
ecmHost: '[http://](http://){hostname}{:port}/ecm',
|
|
bpmHost: '[http://](http://){hostname}{:port}/bpm',
|
|
logLevel: 'silent',
|
|
alfrescoRepositoryName : 'alfresco-1002'
|
|
|
|
You then need to pass the node via the input values object along with the other properties:
|
|
|
|
let node: MinimalNodeEntryEntity = this.nodesApiService.getNode(NODE_ID);
|
|
|
|
const formValues: FormValues = {
|
|
'file' : node
|
|
'field_one': 'example text'
|
|
};
|
|
|
|
Note that in the object above, the key file is the name of the attach file field in the start form of the process. The value of the file property must be a `MinimalNodeEntryEntity`:
|
|
|
|
<adf-start-process
|
|
[values]="formValues"
|
|
[appId]="YOUR_APP_ID" >
|
|
</adf-start-process>
|
|
|
|
For more information about this functionality see the documentation section linked below:
|
|
|
|
- [Attaching a File to the start form of the process](../process-services/components/start-process.component.md#attaching-a-file-to-the-start-form-of-the-process)
|
|
|
|
### 6. Start form process prefilling values
|
|
|
|
Here is an example of how to pass in form field values to initialize the start form that has been defined for the process:
|
|
|
|
const formValues: FormValues = {
|
|
'test_1': 'value_1',
|
|
'test_2': 'value_2',
|
|
'test_3': 'value_1',
|
|
'test_4': 'dropdown_id',
|
|
'test_5': 'dropdown_label',
|
|
'dropdown': {'id': 'dropdown_id', 'name': 'dropdown_label'}
|
|
};
|
|
|
|
<adf-start-process
|
|
[values]="formValues"
|
|
[appId]="YOUR_APP_ID" >
|
|
</adf-start-process>
|
|
|
|
With these settings, the start form will appear with the values above already filled in.
|
|
For more information about this functionality see the following link:
|
|
|
|
- [Custom data form example](../process-services/components/start-process.component.md#custom-data-example)
|
|
|
|
### 7. Task List - Support custom HTML template and static columns
|
|
|
|
With the previous ADF version, there was no way to combine a custom HTML template and static columns (configured in the **app.config.**json file, for example). With ADF 2.1.0 you can have both of them at the same time.
|
|
|
|
For instance, we can display the Assignee (custom HTML template) and Task Name (Static column)
|
|
|
|
The HTML contains a custom HTML template column
|
|
|
|
<adf-tasklist>
|
|
<data-columns>
|
|
<data-column key="assignee" title="ASSIGNEE">
|
|
<ng-template let-entry="$implicit">
|
|
<div>{{getFullName(entry.row.obj.assignee)}}</div>
|
|
</ng-template>
|
|
</data-column>
|
|
<data-columns>
|
|
</adf-tasklist>
|
|
|
|
app.config.json (contains a static column)
|
|
|
|
"adf-task-list": {
|
|
"presets": {
|
|
"default": [
|
|
{
|
|
"key": "name",
|
|
"type": "text",
|
|
"title": "NAME",
|
|
"sortable": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
This is the result:
|
|
|
|

|
|
|
|
### 8. Sidebar action menu
|
|
|
|
This component displays a sidebar-action menu information panel. It is basically just a layout with CSS styling.
|
|
There are three regions where you can add your own content, as shown in the example:
|
|
|
|
- sidebar-menu-title-icon
|
|
- sidebar-menu-options
|
|
- sidebar-menu-expand-icon
|
|
|
|
|
|
<adf-sidebar-action-menu title="Create">
|
|
<mat-icon sidebar-menu-title-icon>arrow_drop_down</mat-icon>
|
|
<div sidebar-menu-options>
|
|
<button mat-menu-item>
|
|
<span>New Task</span>
|
|
</button>
|
|
<button mat-menu-item>
|
|
<span>New Process</span>
|
|
</button>
|
|
</div>
|
|
</adf-sidebar-action-menu>
|
|
|
|
This is the result:
|
|
|
|

|
|
|
|
You can also use the same component for mobile content
|
|
|
|
<adf-sidebar-action-menu [expanded]="false">
|
|
<mat-icon sidebar-menu-expand-icon matTooltip="Create">queue</mat-icon>
|
|
<div sidebar-menu-options>
|
|
<button mat-menu-item (click)="onCreateClick('tasks')">
|
|
<span>New Task</span>
|
|
</button>
|
|
<button mat-menu-item (click)="onCreateClick('processes')">
|
|
<span>New Process</span>
|
|
</button>
|
|
</div>
|
|
</adf-sidebar-action-menu>
|
|
|
|
This is the result:
|
|
|
|

|
|
|
|
You can use the same component also to create a [Content Service](../core/services/content.service.md) menu as shown below:
|
|
|
|

|
|
|
|
For more information about this functionality see the following link:
|
|
|
|
- [Sidebar component](../core/components/sidebar-action-menu.component.md)
|
|
|
|
### 9. Infinite pagination component enhancement
|
|
|
|
We have added the [target] property in the [infinite pagination component](../core/components/infinite-pagination.component.md) to bring it in line with the [pagination component](../core/components/pagination.component.md). With this, the link between the infinite pagination and its target is simpler:
|
|
|
|
<adf-infinite-pagination
|
|
[target]="documentList"
|
|
[loading="documentList.infiniteLoading">
|
|
</adf-infinite-pagination>
|
|
|
|
For more information about the infinite pagination see the following links:
|
|
|
|
- [Infinite pagination component](../core/components/infinite-pagination.component.md)
|
|
- [Paginated component interface](../../lib/core/pagination/paginated-component.interface.ts)
|
|
|
|
### 10. App drop-down dialog selector
|
|
|
|

|
|
|
|
###
|
|
|
|
### 11. JS-API Governance
|
|
|
|
In order to enable the creation of new ADF component based on Alfresco Governance Services, we have updated the alfresco-js-api with all the governance core and classification API.
|
|
For more information about this functionality see the following links:
|
|
|
|
- [Governance Core](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-gs-core-rest-api)
|
|
- [Governance Classification](https://github.com/Alfresco/alfresco-js-api/tree/master/src/alfresco-gs-classification-rest-api)
|
|
|
|
### 12. Documentation
|
|
|
|
The Properties tables in the documentation are now updated with the type and the default value of any property.
|
|
|
|
## CI changes
|
|
|
|
In our constant commitment to improving the quality of ADF we have also introduced one new automatic check over all the PRs:
|
|
|
|

|
|
|
|
Codacy is a tool that checks the code style, security, duplication and complexity of any pull request. If you want more information on Codacy please visit their [website](https://community.alfresco.com/docs/DOC-7292/codacy.com)
|
|
|
|
Application generators (Yeoman)
|
|
Below are the most noteworthy changes in the generator:
|
|
|
|
- Support for silent mode ton enable generators to be used in shell scripts and automated scenarios
|
|
- All blueprints now also contain a basic Dockerfile to build docker images
|
|
- All blueprints are updated to the latest angular cli 1.6.5 dependencies
|
|
|
|
## References
|
|
|
|
Below you can find a brief list of references to help you start to use the new release.
|
|
|
|
[Official GitHub Project - alfresco-ng2-components](https://github.com/Alfresco/alfresco-ng2-components)
|
|
|
|
[Getting started guides with Alfresco Application Development Framework](https://community.alfresco.com/community/application-development-framework/pages/get-started)
|
|
|
|
Component catalog
|
|
|
|
[Gitter chat supporting Alfresco ADF](https://gitter.im/Alfresco/alfresco-ng2-components)
|
|
|
|
[ADF examples](https://github.com/Alfresco/adf-examples)
|
|
|
|
[List of all components](https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components)
|
|
|
|
[Alfresco-JS-API](https://github.com/Alfresco/alfresco-js-api)
|
|
|
|
[ADF App Generator ](https://github.com/Alfresco/generator-ng2-alfresco-app)
|
|
|
|
Please refer to the [official documentation](http://docs.alfresco.com/) for further details and suggestions.
|
|
|
|
## Issues addressed
|
|
|
|
Release Notes - Apps Development Framework - Version 2.1.
|
|
|
|
### Documentation
|
|
|
|
- \[[ADF-1734](https://issues.alfresco.com/jira/browse/ADF-1734)] - Article on how to use Forms with ACS
|
|
- \[[ADF-2058](https://issues.alfresco.com/jira/browse/ADF-2058)] - Search example new functionality article
|
|
- \[[ADF-2060](https://issues.alfresco.com/jira/browse/ADF-2060)] - sidebarTemplate missing documentation
|
|
- \[[ADF-2122](https://issues.alfresco.com/jira/browse/ADF-2122)] - Incorrect product naming reference on [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) Extensibility and Customisation page
|
|
- \[[ADF-2125](https://issues.alfresco.com/jira/browse/ADF-2125)] - App generator has wrong documentation
|
|
- \[[ADF-2160](https://issues.alfresco.com/jira/browse/ADF-2160)] - combined handler missing in [Content Action component](../content-services/components/content-action.component.md) documentation
|
|
- \[[ADF-2162](https://issues.alfresco.com/jira/browse/ADF-2162)] - [Notification service](../core/services/notification.service.md) missing screenshot
|
|
|
|
### Feature
|
|
|
|
- \[[ADF-1431](https://issues.alfresco.com/jira/browse/ADF-1431)] - [Destination Picker] Display path of the folder in search results
|
|
- \[[ADF-1880](https://issues.alfresco.com/jira/browse/ADF-1880)] - More configuration options for adf-start-process component
|
|
- \[[ADF-1986](https://issues.alfresco.com/jira/browse/ADF-1986)] - ACS Metadata editing (phase 2)
|
|
- \[[ADF-2049](https://issues.alfresco.com/jira/browse/ADF-2049)] - Separate CSS class when [`Pagination`](../../lib/content-services/document-list/models/document-library.model.ts) is empty
|
|
- \[[ADF-2052](https://issues.alfresco.com/jira/browse/ADF-2052)] - Enable IE11 support for generated projects
|
|
- \[[ADF-2097](https://issues.alfresco.com/jira/browse/ADF-2097)] - Sidebar Action Menu - New component
|
|
- \[[ADF-2102](https://issues.alfresco.com/jira/browse/ADF-2102)] - Task List - Provide a way to support custom html template and static columns at same time
|
|
- \[[ADF-2103](https://issues.alfresco.com/jira/browse/ADF-2103)] - Info Drawer - Provide a way to change the default active tab
|
|
- \[[ADF-2145](https://issues.alfresco.com/jira/browse/ADF-2145)] - Add the app routes files in the generator 2
|
|
- \[[ADF-2148](https://issues.alfresco.com/jira/browse/ADF-2148)] - Upgrade to latest version the Angular libraries
|
|
- \[[ADF-2158](https://issues.alfresco.com/jira/browse/ADF-2158)] - Viewer looks for other renditions when PDFs are not available
|
|
|
|
### Story
|
|
|
|
- \[[ADF-2136](https://issues.alfresco.com/jira/browse/ADF-2136)] - Configuration to display files from different API sources
|
|
|
|
### Bug
|
|
|
|
- \[[ADF-1752](https://issues.alfresco.com/jira/browse/ADF-1752)] - allowInfoDrawer property does not disable the feature when showInfoDrawer is set to true
|
|
- \[[ADF-1882](https://issues.alfresco.com/jira/browse/ADF-1882)] - Preview uploaded content in APS fails in form
|
|
- \[[ADF-1888](https://issues.alfresco.com/jira/browse/ADF-1888)] - [`ExternalContent`](../../lib/core/form/components/widgets/core/external-content.ts) is not exported in ActivitiFormModule
|
|
- \[[ADF-1889](https://issues.alfresco.com/jira/browse/ADF-1889)] - Viewer does not render PDF renditions unless urlFile ends with .pdf
|
|
- \[[ADF-1926](https://issues.alfresco.com/jira/browse/ADF-1926)] - [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) is not exported from ActivitiTaskListModule
|
|
- \[[ADF-1959](https://issues.alfresco.com/jira/browse/ADF-1959)] - Apps with description appear with larger size on the Processes Services page
|
|
- \[[ADF-1999](https://issues.alfresco.com/jira/browse/ADF-1999)] - Size values are not translated
|
|
- \[[ADF-2025](https://issues.alfresco.com/jira/browse/ADF-2025)] - Task List - The pagination should be fetched from the UserPreference
|
|
- \[[ADF-2051](https://issues.alfresco.com/jira/browse/ADF-2051)] - Involve people name is not displayed properly.
|
|
- \[[ADF-2053](https://issues.alfresco.com/jira/browse/ADF-2053)] - [Demo Shell]The Search Result Page is not refreshed after deleting a folder or a file
|
|
- \[[ADF-2061](https://issues.alfresco.com/jira/browse/ADF-2061)] - Destination picker search is broken
|
|
- \[[ADF-2067](https://issues.alfresco.com/jira/browse/ADF-2067)] - Not able to see the 'My tasks' filter when clicking on a newly created app.
|
|
- \[[ADF-2069](https://issues.alfresco.com/jira/browse/ADF-2069)] - Error is displayed on console when adding a description to a task.
|
|
- \[[ADF-2070](https://issues.alfresco.com/jira/browse/ADF-2070)] - 'Load more' on destination picker doesn't display correct content of folders in a site.
|
|
- \[[ADF-2071](https://issues.alfresco.com/jira/browse/ADF-2071)] - 'Load more' on destination picker doesn't display correct content of folders.
|
|
- \[[ADF-2072](https://issues.alfresco.com/jira/browse/ADF-2072)] - 'Load more' on destination picker doesn't display correct content of folders when login in as a simple user
|
|
- \[[ADF-2073](https://issues.alfresco.com/jira/browse/ADF-2073)] - Destination picker dropdown stops working when search field is not empty
|
|
- \[[ADF-2100](https://issues.alfresco.com/jira/browse/ADF-2100)] - Yeoman generated app can only preview one time
|
|
- \[[ADF-2113](https://issues.alfresco.com/jira/browse/ADF-2113)] - Custom Stencil - Adf is not defined
|
|
- \[[ADF-2115](https://issues.alfresco.com/jira/browse/ADF-2115)] - 'No process details found' message when clicking two times on the same process filter
|
|
- \[[ADF-2116](https://issues.alfresco.com/jira/browse/ADF-2116)] - Viewer shrinks custom extension layout
|
|
- \[[ADF-2119](https://issues.alfresco.com/jira/browse/ADF-2119)] - Document List - The pagination should be fetched from the UserPreference
|
|
- \[[ADF-2120](https://issues.alfresco.com/jira/browse/ADF-2120)] - Search Results Page - The pagination should be fetched from the UserPreference
|
|
- \[[ADF-2133](https://issues.alfresco.com/jira/browse/ADF-2133)] - DataTable layout is broken
|
|
- \[[ADF-2150](https://issues.alfresco.com/jira/browse/ADF-2150)] - QueryBody adf-search loop
|
|
- \[[ADF-2157](https://issues.alfresco.com/jira/browse/ADF-2157)] - Infinite scrolling doesn't work with document list
|
|
- \[[ADF-2170](https://issues.alfresco.com/jira/browse/ADF-2170)] - An empty file is not uploaded when Max size filter is set to
|
|
- \[[ADF-2173](https://issues.alfresco.com/jira/browse/ADF-2173)] - Translation is missing in task/process details
|
|
- \[[ADF-2174](https://issues.alfresco.com/jira/browse/ADF-2174)] - Menus background color is not properly displayed in black themes
|
|
- \[[ADF-2178](https://issues.alfresco.com/jira/browse/ADF-2178)] - Calendar on task details 'Due Date' is not translated
|
|
- \[[ADF-2179](https://issues.alfresco.com/jira/browse/ADF-2179)] - Start Task/Process - On the mobile device the width should be 90% not 66%
|
|
- \[[ADF-2183](https://issues.alfresco.com/jira/browse/ADF-2183)] - Translation is missing on delete warning messages when user has no permission.
|
|
- \[[ADF-2184](https://issues.alfresco.com/jira/browse/ADF-2184)] - User with permissions is not able to drag and drop a folder.
|
|
- \[[ADF-2185](https://issues.alfresco.com/jira/browse/ADF-2185)] - Metadata - An error message is displayed when saving a property with empty value
|
|
- \[[ADF-2186](https://issues.alfresco.com/jira/browse/ADF-2186)] - Metadata - The value is not saved when editing a property
|
|
- \[[ADF-2190](https://issues.alfresco.com/jira/browse/ADF-2190)] - Setting a processDefinitionId is not displaying the process list of all apps that contain more than one process.
|
|
- \[[ADF-2191](https://issues.alfresco.com/jira/browse/ADF-2191)] - Cannot start a process from Task App
|
|
- \[[ADF-2196](https://issues.alfresco.com/jira/browse/ADF-2196)] - Warning message doesn't appear when copying/moving a file/folder without permissions
|
|
- \[[ADF-2200](https://issues.alfresco.com/jira/browse/ADF-2200)] - User can't login anymore if it was redirected to login page after accessing a service on which it wasn't logged in
|
|
- \[[ADF-2205](https://issues.alfresco.com/jira/browse/ADF-2205)] - Translation is missing on 'parent name' when a task has no process parent
|
|
- \[[ADF-2208](https://issues.alfresco.com/jira/browse/ADF-2208)] - The width of the 'New Task' option is smaller then Create Task drop down
|
|
- \[[ADF-2209](https://issues.alfresco.com/jira/browse/ADF-2209)] - The 'Complete' button of a task that has a form is not properly field with colour when hover
|
|
- \[[ADF-2210](https://issues.alfresco.com/jira/browse/ADF-2210)] - Dynamic Table title is not aligned properly
|
|
- \[[ADF-2213](https://issues.alfresco.com/jira/browse/ADF-2213)] - Amount Widget is not aligned
|
|
- \[[ADF-2221](https://issues.alfresco.com/jira/browse/ADF-2221)] - Search fails on Content [`Node`](https://github.com/Alfresco/alfresco-js-api/blob/development/src/api/content-rest-api/docs/Node.md) Selector
|
|
- \[[ADF-2222](https://issues.alfresco.com/jira/browse/ADF-2222)] - The user profile window is not visible when only Content Services is enabled
|
|
|
|
### New Feature
|
|
|
|
- \[[ADF-325](https://issues.alfresco.com/jira/browse/ADF-325)] - Support for attach folder widget - 1698 Github
|
|
- \[[ADF-1795](https://issues.alfresco.com/jira/browse/ADF-1795)] - [Viewer] Toolbar Configuration template customisation
|
|
- \[[ADF-1796](https://issues.alfresco.com/jira/browse/ADF-1796)] - [Viewer] Info Drawer Configuration template customisation
|
|
- \[[ADF-1826](https://issues.alfresco.com/jira/browse/ADF-1826)] - Task Header - The priority property should be editable
|
|
- \[[ADF-2054](https://issues.alfresco.com/jira/browse/ADF-2054)] - Attach File in Forms doesn't work when content is selected from ACS
|
|
- \[[ADF-2091](https://issues.alfresco.com/jira/browse/ADF-2091)] - Generate JS-API for RM
|
|
- \[[ADF-2164](https://issues.alfresco.com/jira/browse/ADF-2164)] - Add docker configuration in the App Generator
|
|
|
|
### Task
|
|
|
|
- \[[ADF-1593](https://issues.alfresco.com/jira/browse/ADF-1593)] - Create a test case for ADF colour change options.
|
|
- \[[ADF-1607](https://issues.alfresco.com/jira/browse/ADF-1607)] - Create a test case on TestRail for the ADF settings.
|
|
- \[[ADF-1705](https://issues.alfresco.com/jira/browse/ADF-1705)] - Add test cases to cover pagination - new design
|
|
- \[[ADF-1775](https://issues.alfresco.com/jira/browse/ADF-1775)] - No input and No Output rename rule
|
|
- \[[ADF-1799](https://issues.alfresco.com/jira/browse/ADF-1799)] - [Test Automation] Review [user info component](../core/components/user-info.component.md) automated suite
|
|
- \[[ADF-1858](https://issues.alfresco.com/jira/browse/ADF-1858)] - [Test Automation] create [viewer component](../core/components/viewer.component.md) automated suite.
|
|
- \[[ADF-1892](https://issues.alfresco.com/jira/browse/ADF-1892)] - [Test Automation] implement [document list component](../content-services/components/document-list.component.md) - main suite.
|
|
- \[[ADF-1947](https://issues.alfresco.com/jira/browse/ADF-1947)] - Viewer with custom implementation.
|
|
- \[[ADF-1952](https://issues.alfresco.com/jira/browse/ADF-1952)] - Split the current test suites to test cases in Test Rail
|
|
- \[[ADF-1983](https://issues.alfresco.com/jira/browse/ADF-1983)] - Creation of a test case to cover ACS metadata editing
|
|
- \[[ADF-2056](https://issues.alfresco.com/jira/browse/ADF-2056)] - Update dependencies
|
|
- \[[ADF-2074](https://issues.alfresco.com/jira/browse/ADF-2074)] - [Test Automation] implement uploader component - main suite.
|
|
- \[[ADF-2084](https://issues.alfresco.com/jira/browse/ADF-2084)] - [Test Automation] create test for datatable
|
|
- \[[ADF-2090](https://issues.alfresco.com/jira/browse/ADF-2090)] - [Test Automation] Review [search component](../content-services/components/search.component.md) tests
|
|
- \[[ADF-2094](https://issues.alfresco.com/jira/browse/ADF-2094)] - Task [`Form`](../../lib/process-services/src/lib/task-list/models/form.model.ts) - Doesn't follow the specification
|
|
- \[[ADF-2095](https://issues.alfresco.com/jira/browse/ADF-2095)] - Start Task - The start button should have the primary colour
|
|
- \[[ADF-2096](https://issues.alfresco.com/jira/browse/ADF-2096)] - Info Drawer - Should use the Flex Css
|
|
- \[[ADF-2104](https://issues.alfresco.com/jira/browse/ADF-2104)] - Update Flex Layout to v2.0.0-beta.12
|
|
- \[[ADF-2172](https://issues.alfresco.com/jira/browse/ADF-2172)] - Adding of data-automation-id tag for 'Create' process/task button.
|
|
- \[[ADF-2188](https://issues.alfresco.com/jira/browse/ADF-2188)] - Provide a workaround to change the processName without changing the code.
|
|
|
|
Please refer to [the Alfresco issue tracker](https://issues.alfresco.com/jira/projects/ADF/issues/ADF-581?filter=allopenissues) for other known issues in this release. If you have more questions, please reply here or contact us using [gitter](https://gitter.im/Alfresco/alfresco-ng2-components).
|