tethys.backend/config
Arno Kaimbacher b93e46207f hotfix-feat(dataset): implement file upload with validation and error handling
- 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`.
2025-03-26 14:19:06 +01:00
..
app.ts feat: update API controllers, validations, and Vue components 2025-03-14 17:39:58 +01:00
auth.ts - npm updates 2024-04-30 11:50:50 +02:00
bodyparser.ts hotfix-feat(dataset): implement file upload with validation and error handling 2025-03-26 14:19:06 +01:00
cors.ts - update to AdonisJS 6 2024-03-14 20:25:27 +01:00
database.ts feat: Update .gitignore and refine TypeScript configuration; clean up commented code and enhance dataset validation; npm updates 2025-01-29 11:26:21 +01:00
drive.ts feat: Integrate official drive_provider, update user profile features & UI improvements 2025-02-27 16:24:25 +01:00
drive_self.ts feat: Integrate official drive_provider, update user profile features & UI improvements 2025-02-27 16:24:25 +01:00
hash.ts - npm added @japa/api-client, @japa/assert, @types/supertest 2024-04-25 15:17:22 +02:00
inertia.ts feat: update to vite.js, Refactor configuration files, remove unused assets, and clean up commented code: 2025-02-07 10:14:57 +01:00
logger.ts - added @adonisjs/mail 2024-09-16 17:59:46 +02:00
mail.ts feat: Update .gitignore and refine TypeScript configuration; clean up commented code and enhance dataset validation; npm updates 2025-01-29 11:26:21 +01:00
oai.ts - added own provider for drive methods 2024-04-23 19:36:45 +02:00
redis.ts - update to AdonisJS 6 2024-03-14 20:25:27 +01:00
rolePermission.ts initial commit 2023-03-03 16:54:28 +01:00
session.ts feat: Update .gitignore and refine TypeScript configuration; clean up commented code and enhance dataset validation; npm updates 2025-01-29 11:26:21 +01:00
shield.ts - renamings to the new naming convetion for adonisjs version 6 2024-04-29 11:25:50 +02:00
static.ts - update to AdonisJS 6 2024-03-14 20:25:27 +01:00
vite.ts feat: Add alternate mimetype support, enhance validation for alternate mimetypes, and improve script loading performance 2025-02-13 15:49:09 +01:00