mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
update 1.7.0 versions (#2158)
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
* [Properties](#properties-1)
|
||||
* [Events](#events-1)
|
||||
- [FileUploadingDialogComponent](#fileuploadingdialogcomponent)
|
||||
* [Properties](#properties-2)
|
||||
- [UploadService](#uploadservice)
|
||||
* [Configuration](#configuration)
|
||||
* [Ignore list configuration](#ignore-list-configuration)
|
||||
* [Events](#events-2)
|
||||
- [Build from sources](#build-from-sources)
|
||||
- [NPM scripts](#npm-scripts)
|
||||
@@ -200,13 +201,11 @@ This component should be used in combination with upload button or drag & drop a
|
||||
|
||||
Provides access to various APIs related to file upload features.
|
||||
|
||||
### Configuration
|
||||
### Ignore list configuration
|
||||
|
||||
There is the possibility to point out file name or file extension to be excluded from upload process into the app.config.json file, see [here](https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-core#appconfigservice) for more details.
|
||||
This will make it easy to avoid uploading of system files like : '.DS_Store'.
|
||||
By default the files already filtered out are : '.git', '.DS_Store' and 'desktop.ini'.
|
||||
It is possible to add any expression for filtering files like '*.txt'. The file name check is done via
|
||||
[minimatch library](https://www.npmjs.com/package/minimatch) so in excluded files list it is possible to add any expression accepted by this library.
|
||||
Is possible add an ignore list for files that you don't want to allow upload on your CS.
|
||||
The configuration of this service is saved in the ***app.config.json file***.If you want more details about the configuration service follow this [link](https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-core#appconfigservice).
|
||||
In the example below you can see how filtered out the : '.git', '.DS_Store' and 'desktop.ini'.
|
||||
|
||||
**app.config.json**
|
||||
|
||||
@@ -223,6 +222,10 @@ It is possible to add any expression for filtering files like '*.txt'. The file
|
||||
}
|
||||
```
|
||||
|
||||
Note:
|
||||
- Standard glob patterns work.
|
||||
- You can end patterns with a forward slash / to specify a directory.
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
|
10155
ng2-components/ng2-alfresco-upload/package-lock.json
generated
10155
ng2-components/ng2-alfresco-upload/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ng2-alfresco-upload",
|
||||
"description": "Alfresco Angular2 Upload Component",
|
||||
"version": "1.6.1",
|
||||
"version": "1.7.0",
|
||||
"author": "Alfresco Software, Ltd.",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist node_modules typings bundles coverage .npmrc",
|
||||
@@ -55,11 +55,11 @@
|
||||
"@angular/platform-browser-dynamic": "4.2.5",
|
||||
"@angular/router": "4.2.5",
|
||||
"@ngx-translate/core": "7.0.0",
|
||||
"alfresco-js-api": "~1.6.1",
|
||||
"alfresco-js-api": "1.7.0",
|
||||
"core-js": "2.4.1",
|
||||
"hammerjs": "2.0.8",
|
||||
"minimatch": "3.0.4",
|
||||
"ng2-alfresco-core": "1.6.1",
|
||||
"ng2-alfresco-core": "1.7.0",
|
||||
"reflect-metadata": "0.1.10",
|
||||
"rxjs": "5.1.0",
|
||||
"systemjs": "0.19.27",
|
||||
|
Reference in New Issue
Block a user