tethys.backend/app/Controllers/Http/Admin
Arno Kaimbacher a3031169ca
All checks were successful
CI / container-job (push) Successful in 36s
feat: Add alternate mimetype support, enhance validation for alternate mimetypes, and improve script loading performance
- mime_type.ts: Added a new column `public alternate_mimetype: string;`
- MimetypeController.ts: Extended validation and storage logic to accommodate the new `alternate_mimetype` attribute
- adonisrc.ts: Integrated new validation rule to validate user-provided mimetypes
- vite.ts: Set `defer: true` for script attributes to improve loading performance
- update_1_to_mime_types.ts: Added migration for the new `alternate_mimetype` column in the database
- UI improvements: Updated components such as AsideMenuLayer.vue, FormCheckRadioGroup.vue, MimeTypeInput.vue, NavBar.vue (lime-green background), NavBarMenu.vue, SectionBannerStarOnGitea.vue, Admin/mimetype/Create.vue, Admin/mimetype/Delete.vue, Admin/mimetype/Index.vue
- allowed_extensions_mimetype.ts: Enhanced rule to also check for alternate mimetypes
- referenceValidation.ts: Improved validation to allow only ISBNs with a '-' delimiter
- package-lock.json: Updated npm dependencie
2025-02-13 15:49:09 +01:00
..
AdminuserController.ts feat: Enhance dataset management and improve frontend components 2024-11-29 15:46:26 +01:00
FileController.ts initial commit 2023-03-03 16:54:28 +01:00
HomeController.ts - update to AdonisJS 6 2024-03-14 20:25:27 +01:00
LicenseController.ts - improved vies and controllers for rejecting datasets with email for reviewer and editor role 2024-09-26 13:51:35 +02:00
mailsettings_controller.ts - added @adonisjs/mail 2024-09-16 17:59:46 +02:00
MimetypeController.ts feat: Add alternate mimetype support, enhance validation for alternate mimetypes, and improve script loading performance 2025-02-13 15:49:09 +01:00
RoleController.ts - replaced validation library @adonisjs/validator with @vinejs/vine (performance) 2024-05-16 13:47:06 +02:00