forked from geolba/tethys.backend
- Implemented file upload functionality for datasets using multipart requests. - Added file size and type validation using VineJS. - Added file name length validation. - Added file scan to remove infected files. - Implemented aggregated upload limit to prevent exceeding the server's capacity. - Added error handling for file upload failures, including temporary file cleanup. - Updated the `DatasetController` to handle file uploads, validation, and database transactions. - Updated the `bodyparser.ts` config to process the file upload manually. - Updated the `api.ts` routes to fetch the statistic data. - Updated the `main.ts` store to fetch the statistic data. - Updated the `Dashboard.vue` to display the submitters only for administrator role. - Updated the `CardBoxWidget.vue` to display the submitters. - Updated the `ServerError.vue` to use the LayoutGuest.vue. - Updated the `AuthController.ts` and `start/routes.ts` to handle the database connection errors. - Updated the `app/exceptions/handler.ts` to handle the database connection errors. - Updated the `package.json` to use the correct version of the `@adonisjs/bodyparser`. |
||
---|---|---|
.. | ||
traits | ||
appconfig.ts | ||
backup_code.ts | ||
base_model.ts | ||
collection.ts | ||
collection_role.ts | ||
coverage.ts | ||
dataset.ts | ||
dataset_identifier.ts | ||
dataset_reference.ts | ||
description.ts | ||
DocumentXmlCache.ts | ||
file.ts | ||
hash_value.ts | ||
language.ts | ||
license.ts | ||
mime_type.ts | ||
permission.ts | ||
person.ts | ||
project.ts | ||
role.ts | ||
subject.ts | ||
title.ts | ||
totp_secret.ts | ||
types.ts | ||
user.ts | ||
user_role.ts |