TETHYS - Data Publisher for Geoscience Austria is a digital data library and a data publisher for earth system science. Data can be georeferenced in time (date/time) and space (latitude, longitude, depth/height). #geology #data-publisher
Find a file
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
.gitea/workflows feat: Update CI workflow for reference validation tests and add environment variable configurations 2025-01-27 12:20:49 +01:00
app hotfix-feat(dataset): implement file upload with validation and error handling 2025-03-26 14:19:06 +01:00
bin - renamings to the new naming convetion for adonisjs version 6 2024-04-29 11:25:50 +02:00
commands feat: update API controllers, validations, and Vue components 2025-03-14 17:39:58 +01:00
config hotfix-feat(dataset): implement file upload with validation and error handling 2025-03-26 14:19:06 +01:00
contracts - npm updates 2024-04-30 11:50:50 +02:00
database feat: update API controllers, validations, and Vue components 2025-03-14 17:39:58 +01:00
providers feat: Integrate official drive_provider, update user profile features & UI improvements 2025-02-27 16:24:25 +01:00
public feat: update to vite.js, Refactor configuration files, remove unused assets, and clean up commented code: 2025-02-07 10:14:57 +01:00
resources hotfix-feat(dataset): implement file upload with validation and error handling 2025-03-26 14:19:06 +01:00
src - improved vies and controllers for rejecting datasets with email for reviewer and editor role 2024-09-26 13:51:35 +02:00
start hotfix-feat(dataset): implement file upload with validation and error handling 2025-03-26 14:19:06 +01:00
tests feat: Add alternate mimetype support, enhance validation for alternate mimetypes, and improve script loading performance 2025-02-13 15:49:09 +01:00
.babelrc - prettier formatting 2023-10-31 15:38:43 +01:00
.dockerignore - second commit 2023-03-17 16:13:37 +01:00
.editorconfig - added own provider for drive methods 2024-04-23 19:36:45 +02:00
.env.example feat: Update CI workflow for reference validation tests and add environment variable configurations 2025-01-27 12:20:49 +01:00
.eslintrc.json - prettier formatting 2023-10-31 15:38:43 +01:00
.gitignore 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
.prettierignore initial commit 2023-03-03 16:54:28 +01:00
.prettierrc - second commit 2023-03-17 16:13:37 +01:00
ace.js feat: update to vite.js, Refactor configuration files, remove unused assets, and clean up commented code: 2025-02-07 10:14:57 +01:00
adonisrc.ts feat: Integrate official drive_provider, update user profile features & UI improvements 2025-02-27 16:24:25 +01:00
clamd.conf - validate all file-upload via clamdscan (clamav), throw ValidationException in case of an error 2023-09-04 13:24:58 +02:00
components.d.ts - prettier format checking 2023-09-05 18:18:42 +02:00
docker-entrypoint.sh - validate all file-upload via clamdscan (clamav), throw ValidationException in case of an error 2023-09-04 13:24:58 +02:00
Dockerfile feat: update to vite.js, Refactor configuration files, remove unused assets, and clean up commented code: 2025-02-07 10:14:57 +01:00
freshclam.conf - validate all file-upload via clamdscan (clamav), throw ValidationException in case of an error 2023-09-04 13:24:58 +02:00
index.d.ts - update to AdonisJS 6 2024-03-14 20:25:27 +01:00
package-lock.json hotfix-feat(dataset): implement file upload with validation and error handling 2025-03-26 14:19:06 +01:00
package.json hotfix-feat(dataset): implement file upload with validation and error handling 2025-03-26 14:19:06 +01:00
postcss.config.cjs feat: update to vite.js, Refactor configuration files, remove unused assets, and clean up commented code: 2025-02-07 10:14:57 +01:00
readme.md - prettier formatting 2023-10-31 15:38:43 +01:00
tailwind.config.js feat(checkReferenceType): add check reference type feature 2025-03-17 17:26:29 +01:00
tsconfig.json feat: update to vite.js, Refactor configuration files, remove unused assets, and clean up commented code: 2025-02-07 10:14:57 +01:00
vite.config.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
webpack.config.cjs feat: update to vite.js, Refactor configuration files, remove unused assets, and clean up commented code: 2025-02-07 10:14:57 +01:00

Tethys Research Repository Backend System

Welcome to the Tethys Research Repository Backend System! This is the backend component responsible for managing datasets, users, and the core functionality of the Tethys Data Research Repository.

Table of Contents

Getting Started

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js and npm installed on your development machine.
  • A running PostgreSQL database instance.
  • AdonisJS CLI globally installed.

Installation

  1. Clone this repository:

    git clone https://gitea.geologie.ac.at/geolba/tethys.backend.git