Fix some typo + add doc for mail and media library service
2 unresolved threads
2 unresolved threads
Merge request reports
Activity
1 # Media library service 2 3 ## What it does 4 5 This service allows to upload a file in the configured bucket of a defined instance of [Minio](https://min.io/) (compatible with S3). 2 3 ## What it does 4 5 This service allows to upload a file in the configured bucket of a defined instance of [Minio](https://min.io/) (compatible with S3). 6 7 ## How it works 8 9  10 11 The entrypoint of the service is a REST API provided by a [NestJS](https://github.com/nestjs/nest) application. The service uses the [Javascript MinIO SDK](https://docs.min.io/docs/javascript-client-quickstart-guide.html) to interact with a running instance of Minio. 12 13 Before uploading the file, it makes sure that the specified bucket is created. If it is not the case, it creates it with a `public read access`. 14 15 The files are classified in sub-buckets as following `/<specified-bucket-name>/<year-YYYY>/<month-MM>/`. 16 17 The uploaded files keep there original name but are prefixed by an md5 computed based on their content with gives the following pattern for file names: `<md5>-<original-name>`. This means that if we upload twice the exact same picture, with the same name there will be only on file stored in MinIO. 1 # Media library service 2 3 ## What it does 4 5 This service allows to upload a file in the configured bucket of a defined instance of [Minio](https://min.io/) (compatible with S3). changed this line in version 2 of the diff
By Fabien Forestier on 2019-06-12T15:26:28 (imported from GitLab project)
2 3 ## What it does 4 5 This service allows to upload a file in the configured bucket of a defined instance of [Minio](https://min.io/) (compatible with S3). 6 7 ## How it works 8 9  10 11 The entrypoint of the service is a REST API provided by a [NestJS](https://github.com/nestjs/nest) application. The service uses the [Javascript MinIO SDK](https://docs.min.io/docs/javascript-client-quickstart-guide.html) to interact with a running instance of Minio. 12 13 Before uploading the file, it makes sure that the specified bucket is created. If it is not the case, it creates it with a `public read access`. 14 15 The files are classified in sub-buckets as following `/<specified-bucket-name>/<year-YYYY>/<month-MM>/`. 16 17 The uploaded files keep there original name but are prefixed by an md5 computed based on their content with gives the following pattern for file names: `<md5>-<original-name>`. This means that if we upload twice the exact same picture, with the same name there will be only on file stored in MinIO. changed this line in version 2 of the diff
By Fabien Forestier on 2019-06-12T15:26:28 (imported from GitLab project)
added 1 commit
- 7482c05d - Rephrase some sentences and fix typos
By Fabien Forestier on 2019-06-12T15:26:29 (imported from GitLab project)
mentioned in commit 7932a042
By Nicolas Castejon on 2019-06-13T07:47:57 (imported from GitLab project)
Please register or sign in to reply